:root {
  color-scheme: light;
  --ink: #16251c;
  --lime: #c8f26d;
  --lime-deep: #91ae4d;
  --calista-white: #fbfcfa;
  --white: #ffffff;
  --border: #e3e9e3;
  --muted: #526057;
  --soft: #f1f4f1;
  --review: #2251a2;
  --review-bg: #eaf2ff;
  --confirmed: #16784b;
  --confirmed-bg: #e7f7ee;
  --danger: #6a2320;
  --danger-bg: #ffe9e7;
  --max-width: 1180px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --shadow: 0 24px 64px rgba(22, 37, 28, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--calista-white);
  color: var(--ink);
  font-family: Inter, Manrope, ui-sans-serif, system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--review);
  outline-offset: 4px;
}

img {
  display: block;
  max-width: 100%;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 20;
  transform: translateY(-180%);
  border-radius: 8px;
  background: var(--ink);
  color: var(--white);
  padding: 10px 14px;
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  clip-path: inset(50%);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(227, 233, 227, 0.88);
  background: rgba(251, 252, 250, 0.92);
  backdrop-filter: blur(16px);
}

.nav-shell,
.container {
  width: min(calc(100% - 40px), var(--max-width));
  margin: 0 auto;
}

.nav-shell {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-size: 1.14rem;
  font-weight: 800;
  letter-spacing: -0.035em;
  text-decoration: none;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  flex: 0 0 auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 0.92rem;
  font-weight: 650;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--ink);
}

.nav-cta {
  border: 1px solid var(--ink);
  border-radius: 10px;
  padding: 8px 13px;
}

.language-picker {
  position: relative;
  margin-left: -12px;
}

.language-picker::after {
  position: absolute;
  top: 50%;
  right: 9px;
  width: 5px;
  height: 5px;
  border-right: 1px solid var(--muted);
  border-bottom: 1px solid var(--muted);
  content: "";
  pointer-events: none;
  transform: translateY(-70%) rotate(45deg);
}

.language-picker select {
  width: 52px;
  border: 0;
  border-radius: 8px;
  appearance: none;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 0.76rem;
  font-weight: 750;
  letter-spacing: 0.04em;
  padding: 7px 20px 7px 8px;
}

.language-picker select:hover {
  background-color: var(--soft);
  color: var(--ink);
}

.language-picker select:focus-visible {
  outline: 3px solid var(--review);
  outline-offset: 2px;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 92px 0 84px;
}

.hero::before {
  position: absolute;
  top: -250px;
  right: -180px;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 242, 109, 0.36), transparent 68%);
  content: "";
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(340px, 0.98fr);
  align-items: center;
  gap: clamp(48px, 8vw, 96px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 24px;
  height: 3px;
  border-radius: 999px;
  background: var(--lime-deep);
  content: "";
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.08;
  text-wrap: balance;
}

h1 {
  max-width: 720px;
  margin-bottom: 24px;
  font-size: clamp(3.15rem, 6.7vw, 6.25rem);
  letter-spacing: -0.025em;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.65rem);
  letter-spacing: -0.055em;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.22rem;
  letter-spacing: -0.025em;
}

.hero-copy {
  max-width: 625px;
  margin: 0 0 32px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 12px 19px;
  font-weight: 760;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--lime);
  color: var(--ink);
}

.button-secondary {
  border-color: var(--border);
  background: var(--white);
}

.microcopy {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.store-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 14px;
  margin-top: 14px;
}

.store-badge {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 100%;
  text-decoration: none;
}

.store-badge img {
  display: block;
  width: auto;
  max-width: 100%;
  height: 46px;
  object-fit: contain;
}

.store-badge img[src="google-play-badge.png"] {
  height: 69px;
  margin: -11.5px 0;
}

.phone-shell {
  position: relative;
  width: min(100%, 438px);
  margin: 0 auto;
  border: 1px solid var(--border);
  border-radius: 34px;
  background: var(--white);
  box-shadow: var(--shadow);
  padding: 16px;
}

.phone-screen {
  min-height: 560px;
  border-radius: 24px;
  background: var(--calista-white);
  padding: 28px 22px 22px;
}

.app-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
}

.app-topbar strong {
  font-size: 1.3rem;
  letter-spacing: -0.04em;
}

.avatar {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--lime);
  font-size: 0.76rem;
  font-weight: 800;
}

.app-heading {
  margin-bottom: 20px;
}

.app-heading small {
  display: block;
  color: var(--muted);
  font-size: 0.73rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.app-heading span {
  display: block;
  margin-top: 4px;
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: -0.05em;
}

.proposal-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 13px;
  margin-bottom: 10px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--white);
  padding: 15px;
}

.proposal-icon {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 12px;
  background: var(--soft);
  font-size: 1.08rem;
}

.proposal-card strong,
.proposal-card small {
  display: block;
}

.proposal-card strong {
  font-size: 0.93rem;
}

.proposal-card small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.35;
}

.add-control {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 9px;
  background: var(--lime);
  font-weight: 800;
}

.evidence-note {
  margin-top: 16px;
  border-radius: 14px;
  background: var(--review-bg);
  color: var(--review);
  padding: 13px 15px;
  font-size: 0.76rem;
  font-weight: 650;
}

.section {
  padding: 90px 0;
}

.section-dark {
  background: var(--ink);
  color: var(--white);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 44px;
}

.section-heading p {
  max-width: 660px;
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.section-dark .section-heading p,
.section-dark .eyebrow {
  color: #cdd5cf;
}

.steps-grid,
.feature-grid,
.trust-grid {
  display: grid;
  gap: 18px;
}

.steps-grid {
  grid-template-columns: repeat(3, 1fr);
}

.step-card,
.feature-card,
.trust-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--white);
  padding: 26px;
}

.step-number {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  margin-bottom: 48px;
  border-radius: 10px;
  background: var(--lime);
  font-size: 0.85rem;
  font-weight: 850;
}

.step-card p,
.feature-card p,
.trust-card p {
  margin: 0;
  color: var(--muted);
}

.feature-grid {
  grid-template-columns: repeat(2, 1fr);
}

.feature-card {
  min-height: 220px;
}

.feature-label {
  display: inline-block;
  margin-bottom: 48px;
  border-radius: 8px;
  background: var(--soft);
  color: var(--muted);
  padding: 6px 9px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.trust-grid {
  grid-template-columns: repeat(3, 1fr);
}

.trust-card {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.05);
}

.trust-card p {
  color: #cdd5cf;
}

.trust-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-bottom: 34px;
  border-radius: 13px;
  background: var(--lime);
  color: var(--ink);
  font-weight: 900;
}

.cta-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 36px;
  border-radius: var(--radius-lg);
  background: var(--lime);
  padding: clamp(34px, 6vw, 64px);
}

.cta-panel h2 {
  max-width: 720px;
  margin-bottom: 12px;
}

.cta-panel p {
  max-width: 660px;
  margin: 0;
}

.cta-panel .button {
  background: var(--ink);
  color: var(--white);
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 46px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr 0.75fr;
  gap: 40px;
}

.footer-intro {
  max-width: 430px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-title {
  margin: 0 0 12px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 8px;
  font-size: 0.9rem;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--ink);
  text-decoration: underline;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 42px;
  border-top: 1px solid var(--border);
  padding-top: 24px;
  color: var(--muted);
  font-size: 0.78rem;
}

.legal-hero {
  padding: 72px 0 48px;
}

.legal-hero h1 {
  max-width: 820px;
  margin-bottom: 18px;
  font-size: clamp(2.7rem, 6vw, 5.2rem);
}

.legal-hero p {
  max-width: 690px;
  margin: 0;
  color: var(--muted);
}

.draft-notice {
  margin: 28px 0 0;
  border: 1px solid #b8d2ff;
  border-radius: var(--radius-sm);
  background: var(--review-bg);
  color: var(--review);
  padding: 16px 18px;
  font-size: 0.9rem;
  font-weight: 650;
}

.legal-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 760px);
  align-items: start;
  gap: 60px;
  padding: 24px 0 92px;
}

.legal-toc {
  position: sticky;
  top: 112px;
  display: grid;
  gap: 8px;
  font-size: 0.86rem;
}

.legal-toc strong {
  margin-bottom: 6px;
}

.legal-toc a {
  color: var(--muted);
  text-decoration: none;
}

.legal-toc a:hover {
  color: var(--ink);
}

.legal-content section {
  scroll-margin-top: 110px;
  margin-bottom: 46px;
}

.legal-content h2 {
  margin-bottom: 14px;
  font-size: 1.7rem;
  letter-spacing: -0.035em;
}

.legal-content p,
.legal-content li {
  color: var(--muted);
}

.legal-content ul,
.legal-content ol {
  padding-left: 22px;
}

.legal-content code {
  border-radius: 6px;
  background: var(--soft);
  padding: 2px 6px;
  color: var(--ink);
  font-size: 0.9em;
}

.contact-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--white);
  padding: 24px;
}

.contact-card a {
  font-weight: 750;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  background: var(--confirmed-bg);
  color: var(--confirmed);
  padding: 6px 10px;
  font-size: 0.78rem;
  font-weight: 800;
}

.status-pill::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  content: "";
}

@media (max-width: 900px) {
  .site-nav {
    gap: 14px;
  }

  .site-nav a:not(.nav-cta) {
    display: none;
  }

  .hero-grid,
  .cta-panel {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 58px;
  }

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

  .step-number,
  .feature-label {
    margin-bottom: 30px;
  }

  .legal-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .legal-toc {
    position: static;
    grid-template-columns: repeat(2, 1fr);
    border-bottom: 1px solid var(--border);
    padding-bottom: 28px;
  }

  .legal-toc strong {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  .nav-shell,
  .container {
    width: min(calc(100% - 28px), var(--max-width));
  }

  .nav-shell {
    min-height: 68px;
    gap: 10px;
  }

  .site-nav {
    margin-left: auto;
  }

  .language-picker {
    margin-left: 0;
  }

  .hero,
  .section {
    padding: 68px 0;
  }

  h1 {
    font-size: clamp(2.75rem, 15vw, 4.4rem);
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .phone-shell {
    width: 100%;
  }

  .feature-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: 0;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .legal-toc {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
