:root {
  color-scheme: light;
  --navy-950: #071b35;
  --navy-900: #041a38;
  --navy-850: #0b2948;
  --navy-800: #133b5e;
  --green: #12e982;
  --green-strong: #00c875;
  --forest: #007a4a;
  --gold: #e1ad24;
  --white: #ffffff;
  --canvas: #fffef9;
  --muted: #66736c;
  --line: #e5e9dd;
  --surface: #ffffff;
  --soft-green: #e9fff4;
  --soft-gold: #fff8de;
  --shadow: 0 24px 60px rgba(4, 26, 56, 0.11);
  --radius-lg: 32px;
  --radius-md: 22px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 15% 5%, rgba(18, 233, 130, 0.17), transparent 27rem),
    radial-gradient(circle at 90% 20%, rgba(225, 173, 36, 0.11), transparent 24rem),
    var(--canvas);
  color: var(--navy-950);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(4,26,56,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(4,26,56,.035) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, black, transparent 75%);
  content: "";
  pointer-events: none;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--white);
  color: var(--navy-950);
  transform: translateY(-150%);
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  background: rgba(255, 254, 249, 0.82);
  backdrop-filter: blur(18px);
  transition: border-color .2s ease, background .2s ease;
}

.site-header.scrolled {
  border-color: var(--line);
  background: rgba(255, 254, 249, 0.96);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: -.02em;
}

.brand img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.brand span span {
  color: var(--forest);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  color: var(--navy-950);
  font-size: .92rem;
  font-weight: 700;
}

.nav-links a {
  transition: color .2s ease;
}

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

.age-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 50px;
  min-height: 36px;
  padding: 5px 12px;
  border: 1px solid rgba(225, 173, 36, .5);
  border-radius: 999px;
  background: var(--soft-gold);
  color: #765706;
  font-weight: 900;
}

.menu-button {
  display: none;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  color: var(--navy-950);
  cursor: pointer;
}

.menu-button svg {
  width: 22px;
  height: 22px;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 86px 0 72px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, .75fr);
  align-items: center;
  gap: clamp(56px, 8vw, 110px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 22px;
  color: var(--forest);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 30px;
  height: 2px;
  background: currentColor;
  content: "";
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 25px;
  font-size: clamp(3rem, 6.7vw, 6.25rem);
  line-height: .96;
  letter-spacing: -.065em;
}

h1 em {
  color: var(--forest);
  font-style: normal;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 650px;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.24rem);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 21px;
  border: 1px solid transparent;
  border-radius: 15px;
  font-weight: 850;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

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

.button-primary {
  background: var(--green);
  color: #03130d;
  box-shadow: 0 14px 34px rgba(32, 243, 160, .17);
}

.button-secondary {
  border-color: #d8dfd4;
  background: rgba(255,255,255,.82);
  color: var(--navy-950);
}

.wallet-stage {
  position: relative;
  min-height: 530px;
}

.logo-orbit {
  position: absolute;
  top: -25px;
  right: -30px;
  width: 315px;
  height: 315px;
  border: 1px solid rgba(0, 122, 74, .18);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(18, 233, 130, .2), transparent 66%);
}

.logo-orbit::before,
.logo-orbit::after {
  position: absolute;
  border: 1px solid rgba(4,26,56,.07);
  border-radius: inherit;
  content: "";
}

.logo-orbit::before { inset: 34px; }
.logo-orbit::after { inset: 68px; }

.hero-logo {
  position: absolute;
  top: 11px;
  right: 3px;
  z-index: 2;
  width: 260px;
  filter: drop-shadow(0 25px 35px rgba(4,26,56,.2));
}

.wallet-card {
  position: absolute;
  right: 36px;
  bottom: 0;
  z-index: 3;
  width: min(100%, 390px);
  padding: 23px;
  border: 1px solid rgba(225,173,36,.55);
  border-radius: 28px;
  background: linear-gradient(155deg, #ffffff, #f4fff9);
  box-shadow: var(--shadow);
  transform: rotate(-2deg);
}

.wallet-top,
.wallet-balance,
.activity-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.wallet-label,
.activity-row span {
  color: var(--muted);
  font-size: .82rem;
}

.live-pill {
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--soft-green);
  color: var(--forest);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.wallet-balance {
  margin: 22px 0 25px;
  align-items: flex-end;
}

.wallet-balance strong {
  display: block;
  font-size: 2.7rem;
  line-height: 1;
  letter-spacing: -.05em;
}

.wallet-balance small {
  display: block;
  margin-top: 7px;
  color: var(--muted);
}

.credit-mark {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 15px;
  background: linear-gradient(135deg, var(--green), #76ffd0);
  color: #052319;
  font-weight: 950;
}

.activity-list {
  display: grid;
  gap: 10px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.activity-row {
  min-height: 45px;
  padding: 0 13px;
  border-radius: 12px;
  border: 1px solid #e9eee6;
  background: rgba(255,255,255,.9);
}

.activity-row strong {
  font-size: .9rem;
}

.disclaimer-strip {
  border-block: 1px solid rgba(225,173,36,.28);
  background: var(--soft-gold);
}

.disclaimer-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 19px;
  align-items: center;
  padding-block: 24px;
}

.disclaimer-icon {
  display: grid;
  width: 45px;
  height: 45px;
  place-items: center;
  border: 1px solid rgba(225,173,36,.55);
  background: #fffdf1;
  border-radius: 14px;
  color: #765706;
  font-weight: 950;
}

.disclaimer-inner p {
  margin: 0;
  color: #56655d;
  font-size: .94rem;
}

.disclaimer-inner strong {
  color: var(--navy-950);
}

.section {
  padding: 104px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: .85fr 1fr;
  gap: 40px;
  align-items: end;
  margin-bottom: 46px;
}

.section-heading h2,
.legal-hero h1 {
  margin-bottom: 0;
  font-size: clamp(2.4rem, 5vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -.05em;
}

.section-heading p {
  max-width: 590px;
  margin-bottom: 5px;
  color: var(--muted);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.feature-card {
  min-height: 230px;
  padding: 27px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  transition: transform .22s ease, border-color .22s ease;
}

.feature-card:hover {
  border-color: rgba(0,122,74,.32);
  transform: translateY(-5px);
}

.feature-number {
  display: inline-grid;
  width: 42px;
  height: 42px;
  margin-bottom: 35px;
  place-items: center;
  border: 1px solid rgba(0,122,74,.2);
  border-radius: 13px;
  background: var(--soft-green);
  color: var(--forest);
  font-size: .76rem;
  font-weight: 900;
}

.feature-card h3 {
  margin-bottom: 9px;
  font-size: 1.18rem;
}

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

.workflow {
  border-block: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(233,255,244,.82), rgba(255,254,249,.9));
}

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

.step {
  position: relative;
  padding: 12px 50px 8px 0;
  counter-increment: step;
}

.step:not(:last-child)::after {
  position: absolute;
  top: 30px;
  right: 25px;
  width: 1px;
  height: calc(100% - 40px);
  background: linear-gradient(var(--green), transparent);
  content: "";
  opacity: .35;
}

.step::before {
  display: block;
  margin-bottom: 28px;
  color: var(--forest);
  content: "0" counter(step);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .12em;
}

.step h3 {
  margin-bottom: 10px;
  font-size: 1.4rem;
}

.step p {
  max-width: 285px;
  margin: 0;
  color: var(--muted);
}

.legal-links-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.legal-link-card {
  display: flex;
  min-height: 195px;
  flex-direction: column;
  justify-content: space-between;
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,.82);
  transition: background .2s ease, border-color .2s ease;
}

.legal-link-card:hover {
  border-color: rgba(0,122,74,.28);
  background: var(--soft-green);
}

.legal-link-card h3 {
  margin-bottom: 10px;
}

.legal-link-card p {
  margin: 0;
  color: var(--muted);
  font-size: .92rem;
}

.card-arrow {
  align-self: flex-end;
  color: var(--forest);
  font-size: 1.3rem;
}

.site-footer {
  padding: 36px 0 30px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: center;
}

.footer-brand p {
  max-width: 620px;
  margin: 9px 0 0;
  font-size: .87rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
  font-size: .87rem;
  font-weight: 700;
}

.footer-links a:hover {
  color: var(--forest);
}

.copyright {
  margin: 26px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: .8rem;
}

/* Legal pages */
.legal-hero {
  padding: 74px 0 54px;
  border-bottom: 1px solid var(--line);
}

.legal-hero h1 {
  max-width: 900px;
  margin-bottom: 20px;
}

.legal-hero .lead {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 1.12rem;
}

.legal-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 760px);
  gap: 76px;
  align-items: start;
  padding: 64px 0 100px;
}

.legal-aside {
  position: sticky;
  top: 112px;
}

.legal-aside p {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: .85rem;
}

.legal-aside nav {
  display: grid;
  gap: 8px;
}

.legal-aside a {
  padding: 8px 12px;
  border-left: 2px solid var(--line);
  color: var(--muted);
  font-size: .88rem;
}

.legal-aside a:hover {
  border-color: var(--forest);
  color: var(--navy-950);
}

.legal-content section {
  scroll-margin-top: 115px;
}

.legal-content section + section {
  margin-top: 47px;
  padding-top: 47px;
  border-top: 1px solid var(--line);
}

.legal-content h2 {
  margin-bottom: 17px;
  font-size: clamp(1.55rem, 3vw, 2.05rem);
  line-height: 1.2;
  letter-spacing: -.03em;
}

.legal-content h3 {
  margin: 28px 0 8px;
  font-size: 1.08rem;
}

.legal-content p,
.legal-content li {
  color: #495b52;
}

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

.legal-content li + li {
  margin-top: 10px;
}

.notice {
  margin: 25px 0;
  padding: 19px 21px;
  border: 1px solid rgba(225,173,36,.38);
  border-radius: 16px;
  background: var(--soft-gold);
}

.notice strong {
  color: #765706;
}

.deletion-steps {
  display: grid;
  gap: 13px;
  margin: 27px 0;
  padding: 0;
  list-style: none;
  counter-reset: delete-step;
}

.deletion-steps li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 15px;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--white);
  counter-increment: delete-step;
}

.deletion-steps li::before {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 12px;
  background: var(--soft-green);
  color: var(--forest);
  content: counter(delete-step);
  font-weight: 900;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 24px;
  color: var(--forest);
  font-weight: 800;
}

.request-form {
  margin: 28px 0 12px;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--line);
  border-top: 4px solid var(--green-strong);
  border-radius: 24px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.request-form h3 {
  margin: 0 0 6px;
  font-size: 1.4rem;
}

.request-form > p {
  margin-bottom: 24px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.field {
  display: grid;
  gap: 7px;
}

.field-wide {
  grid-column: 1 / -1;
}

.field label,
.field-label {
  color: var(--navy-950);
  font-size: .9rem;
  font-weight: 800;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  border: 1px solid #cfd8cc;
  border-radius: 14px;
  background: var(--white);
  color: var(--navy-950);
  font: inherit;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.field textarea {
  min-height: 110px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--green-strong);
  outline: none;
  box-shadow: 0 0 0 4px rgba(18,233,130,.14);
}

.field small {
  color: var(--muted);
  font-size: .78rem;
}

.checkbox-field {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 11px;
  align-items: start;
  margin: 22px 0;
  color: #495b52;
  cursor: pointer;
}

.checkbox-field input {
  width: 20px;
  height: 20px;
  margin: 3px 0 0;
  accent-color: var(--forest);
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.request-form button {
  border: 0;
  cursor: pointer;
}

.request-form button:disabled {
  cursor: wait;
  opacity: .62;
  transform: none;
}

.form-status {
  flex: 1;
  min-width: 220px;
  margin: 0;
  color: var(--muted);
  font-size: .9rem;
}

.form-status[data-state="success"] {
  color: var(--forest);
  font-weight: 800;
}

.form-status[data-state="error"] {
  color: #b22e43;
  font-weight: 800;
}

.hp-field {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
}

@media (max-width: 900px) {
  .hero-grid,
  .section-heading,
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .hero-grid { gap: 35px; }
  .wallet-stage { min-height: 470px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .section-heading { gap: 16px; }
  .legal-layout { gap: 35px; }
  .legal-aside { position: static; }
  .legal-aside nav { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .nav-wrap { min-height: 70px; }
  .brand img { width: 45px; height: 45px; }
  .menu-button { display: inline-flex; }
  .nav-links {
    position: absolute;
    top: 70px;
    right: 14px;
    left: 14px;
    display: none;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(255,254,249,.99);
    box-shadow: var(--shadow);
  }
  .nav-links.open {
    display: grid;
    grid-template-columns: 1fr auto;
  }
  .nav-links a { padding: 7px 4px; }
  .age-chip { grid-column: 2; grid-row: 1 / span 3; align-self: center; }
  .hero { padding: 62px 0 48px; }
  h1 { font-size: clamp(2.8rem, 15vw, 4.5rem); }
  .wallet-stage { min-height: 410px; }
  .logo-orbit { right: -65px; width: 280px; height: 280px; }
  .hero-logo { right: -25px; width: 230px; }
  .wallet-card { right: 0; width: 94%; padding: 19px; }
  .wallet-balance strong { font-size: 2.2rem; }
  .section { padding: 78px 0; }
  .feature-grid,
  .steps,
  .legal-links-grid,
  .footer-grid { grid-template-columns: 1fr; }
  .step { padding: 12px 0 30px; }
  .step:not(:last-child)::after {
    top: auto;
    right: auto;
    bottom: 12px;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, var(--green), transparent);
  }
  .footer-links { justify-content: flex-start; }
  .legal-hero { padding: 52px 0 40px; }
  .legal-aside nav { grid-template-columns: 1fr; }
  .legal-layout { padding: 44px 0 76px; }
  .form-grid { grid-template-columns: 1fr; }
  .field-wide { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
