:root {
  --bg: #edf4f3;
  --card: rgba(255, 255, 255, 0.9);
  --text: #1e3a3a;
  --muted: #3a6660;
  --line: #c6e0dd;
  --brand: #3f8c86;
  --brand-dark: #2e6e69;
  --brand-light: #cfe8e6;
  --hero-bg: #1b3835;
  --pill: #e4f4f2;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Manrope", "Avenir Next", "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration-color: rgba(63, 140, 134, 0.4);
  text-underline-offset: 0.16em;
  text-decoration-thickness: 1.5px;
}

a:hover {
  color: var(--brand-dark);
  text-decoration-color: rgba(63, 140, 134, 0.75);
}

a:focus-visible {
  outline: 2px solid rgba(63, 140, 134, 0.5);
  outline-offset: 2px;
  border-radius: 6px;
}

.container {
  width: min(940px, 92vw);
  margin: 0 auto;
}

/* ── HEADER ── */

.site-header {
  background: var(--hero-bg);
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.site-header .container {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 14px 8px 10px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.06);
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
  color: #ffffff;
  text-decoration: none;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.brand:hover {
  color: #ffffff;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-1px);
}

.brand-logo {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 5px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.06);
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 700;
  font-size: 0.93rem;
  text-decoration: none;
  transition: background 160ms ease, color 160ms ease;
}

.nav-links a:hover {
  color: #ffffff;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.1);
}

.nav-links a:focus-visible {
  outline-offset: 1px;
}

.header-download {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 16px;
  border-radius: 10px;
  background: var(--brand);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.92rem;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 6px 18px -8px rgba(63, 140, 134, 0.7);
  transition: background 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.header-download:hover {
  background: var(--brand-dark);
  color: #ffffff;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 10px 22px -8px rgba(63, 140, 134, 0.8);
}

/* ── HERO ── */

.hero-band {
  background: var(--hero-bg);
  padding: 60px 0 52px;
  position: relative;
  overflow: hidden;
}

.hero-band::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -80px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(63, 140, 134, 0.22) 0%, transparent 65%);
  pointer-events: none;
}

.hero-band::after {
  content: "";
  position: absolute;
  bottom: -80px;
  left: -60px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(79, 158, 153, 0.14) 0%, transparent 65%);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  align-items: start;
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin-bottom: 8px;
  text-transform: uppercase;
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--brand);
}

.hero-band .eyebrow {
  color: rgba(207, 232, 230, 0.85);
}

h1,
h2 {
  margin-top: 0;
}

.hero-band h1 {
  margin-bottom: 14px;
  line-height: 1.15;
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  letter-spacing: -0.035em;
  color: #ffffff;
}

.hero-band > .container > p,
.hero-lead {
  margin: 0;
  color: rgba(207, 232, 230, 0.8);
  font-size: 1.05rem;
  max-width: 58ch;
}

.hero-actions {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-pills {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill {
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(207, 232, 230, 0.1);
  border: 1px solid rgba(207, 232, 230, 0.2);
  color: rgba(207, 232, 230, 0.85);
  font-size: 0.82rem;
  font-weight: 700;
}

/* ── HERO PANEL ── */

.hero-panel {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  padding: 16px;
}

.hero-panel-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.hero-panel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 4px rgba(63, 140, 134, 0.25);
}

.hero-panel-title {
  font-size: 0.88rem;
  font-weight: 800;
  color: rgba(207, 232, 230, 0.85);
  letter-spacing: 0.02em;
}

.hero-panel-list {
  display: grid;
  gap: 8px;
}

.hero-panel-item {
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.05);
  padding: 12px 14px;
}

.hero-panel-item h2 {
  margin: 0 0 4px;
  font-size: 0.96rem;
  color: #e8f5f4;
}

.hero-panel-item p {
  margin: 0;
  font-size: 0.88rem;
  color: rgba(207, 232, 230, 0.65);
}

/* ── BUTTONS ── */

.button {
  display: inline-block;
  padding: 11px 18px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 8px 22px -10px rgba(63, 140, 134, 0.7);
}

.button-primary:hover {
  background: var(--brand-dark);
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 12px 26px -10px rgba(63, 140, 134, 0.75);
}

.button-secondary {
  background: rgba(207, 232, 230, 0.18);
  border-color: rgba(207, 232, 230, 0.3);
  color: rgba(232, 245, 244, 0.9);
}

.button-secondary:hover {
  background: rgba(207, 232, 230, 0.26);
  color: #ffffff;
  text-decoration: none;
  transform: translateY(-1px);
}

.button-appstore {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border-color: rgba(255, 255, 255, 0.3);
  color: #1b3835;
  box-shadow: 0 8px 24px -10px rgba(0, 0, 0, 0.35);
}

.button-appstore:hover {
  background: #f0faf9;
  color: #1b3835;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 12px 28px -10px rgba(0, 0, 0, 0.4);
}

.button-secondary-light {
  background: var(--brand-light);
  border-color: #b0d8d5;
  color: #1e3a3a;
}

.button-secondary-light:hover {
  background: #bde4e1;
  color: #1e3a3a;
  text-decoration: none;
  transform: translateY(-1px);
}

/* ── MAIN CONTENT ── */

.main-content {
  padding: 36px 0 44px;
}

/* ── FEATURE GRID ── */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 0;
}

.feature-card {
  background: var(--card);
  border: 1px solid rgba(198, 224, 221, 0.85);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 4px 18px -10px rgba(30, 58, 58, 0.12);
}

.feature-card h2 {
  font-size: 1.05rem;
  margin-bottom: 6px;
  color: var(--text);
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* ── INFO SECTION ── */

.info-section {
  margin-top: 14px;
  background: var(--card);
  border: 1px solid rgba(198, 224, 221, 0.85);
  border-radius: 20px;
  padding: 26px 24px;
  box-shadow: 0 4px 18px -10px rgba(30, 58, 58, 0.1);
}

.section-heading {
  margin-bottom: 6px;
}

.section-heading h2 {
  margin-bottom: 8px;
  font-size: clamp(1.35rem, 2.8vw, 1.9rem);
  letter-spacing: -0.02em;
  color: var(--text);
}

.section-heading p:last-child {
  margin: 0;
  color: var(--muted);
}

.step-grid {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.step-card {
  background: var(--bg);
  border: 1px solid rgba(198, 224, 221, 0.9);
  border-radius: 14px;
  padding: 18px;
}

.step-number {
  display: inline-flex;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--brand-light);
  color: var(--brand-dark);
  font-weight: 800;
  font-size: 0.9rem;
}

.step-card h3 {
  margin: 10px 0 6px;
  font-size: 1rem;
  color: var(--text);
}

.step-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.93rem;
}

.trust-grid {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.trust-card {
  background: var(--bg);
  border: 1px solid rgba(198, 224, 221, 0.9);
  border-radius: 14px;
  padding: 18px;
}

.trust-card h3 {
  margin: 0 0 6px;
  font-size: 1rem;
  color: var(--text);
}

.trust-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.93rem;
}

/* ── CTA BAND ── */

.cta-band {
  margin-top: 14px;
  border-radius: 20px;
  border: 1px solid rgba(63, 140, 134, 0.3);
  background: linear-gradient(135deg, #1b3835 0%, #1f4440 100%);
  padding: 28px 26px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
  box-shadow: 0 8px 32px -12px rgba(30, 58, 58, 0.35);
}

.cta-band .eyebrow {
  color: rgba(207, 232, 230, 0.75);
}

.cta-band h2 {
  margin-bottom: 8px;
  font-size: clamp(1.25rem, 2.4vw, 1.7rem);
  color: #ffffff;
  letter-spacing: -0.02em;
}

.cta-band p:last-child {
  margin: 0;
  color: rgba(207, 232, 230, 0.7);
}

.cta-band-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

/* ── DOC PAGES ── */

.doc {
  max-width: 760px;
  padding: 42px 36px;
  margin-top: 42px;
  margin-bottom: 24px;
  background: var(--card);
  border: 1px solid rgba(198, 224, 221, 0.85);
  border-radius: 20px;
  box-shadow: 0 6px 28px -14px rgba(30, 58, 58, 0.16);
}

.doc h1 {
  margin-bottom: 8px;
  color: var(--text);
}

.doc h2 {
  margin-top: 30px;
  margin-bottom: 8px;
  font-size: 1.15rem;
  color: var(--text);
}

.muted {
  color: var(--muted);
}

/* ── FOOTER ── */

.site-footer {
  background: var(--hero-bg);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  margin-top: 0;
}

.footer-links {
  min-height: 68px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 20px;
}

.footer-links a {
  color: rgba(207, 232, 230, 0.65);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
}

.footer-links a:hover {
  color: rgba(207, 232, 230, 1);
}

/* ── RESPONSIVE ── */

@media (max-width: 640px) {
  .site-header .container {
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 0;
    gap: 10px;
  }

  .header-download {
    order: -1;
    align-self: flex-end;
    position: absolute;
    top: 14px;
    right: 4vw;
  }

  .hero-band {
    padding: 40px 0 36px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
  }

  .doc {
    padding: 28px 20px;
  }

  .cta-band {
    grid-template-columns: 1fr;
  }

  .cta-band-actions {
    justify-content: flex-start;
  }

  .nav-links {
    width: 100%;
    flex-wrap: wrap;
  }
}

@media (max-width: 840px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .step-grid {
    grid-template-columns: 1fr;
  }

  .trust-grid {
    grid-template-columns: 1fr;
  }
}
