/* TreePlanters prototype – site styles
   Colour comes from the supplied logo (leaf #58A52B, wordmark #328203). */

:root {
  /* Three colours: black, white, leaf green. Everything else is an opacity of these. */
  --black: #0b0f0c;
  --leaf: #58a52b;
  --leaf-light: #8fd05f;    /* leaf green lifted for text on black (AA) */
  --leaf-deep: #328203;
  --leaf-ink: var(--leaf-light);
  --forest: var(--black);
  --forest-2: rgba(255,255,255,.06);
  --ink: #f5f5f2;                      /* text */
  --ink-2: rgba(255,255,255,.74);
  --ink-3: rgba(255,255,255,.52);
  --paper: var(--black);               /* page background */
  --paper-2: rgba(255,255,255,.04);
  --pale: rgba(255,255,255,.05);
  --pale-2: rgba(88,165,43,.22);
  --white: rgba(255,255,255,.06);      /* glass surface base */
  --line: rgba(255,255,255,.12);
  --line-2: rgba(255,255,255,.18);
  --focus: #ffffff;
  --glass-bg: linear-gradient(180deg, rgba(255,255,255,.09), rgba(255,255,255,.04));
  --glass-edge: inset 0 1px 0 rgba(255,255,255,.16);

  --font-display: "Space Grotesk", "Geist", "Segoe UI", system-ui, sans-serif;
  --font-body: "Space Grotesk", "Geist", "Segoe UI", system-ui, -apple-system, sans-serif;

  --w: 1520px;
  --gutter: 24px;
  --r-s: 6px;
  --r-m: 12px;
  --r-l: 18px;
  --r-xl: 28px;

  --nav-h: 64px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 28px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  overflow-x: clip;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4, p, ul, ol, dl, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
table { border-collapse: collapse; width: 100%; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; text-decoration: none;
}
.skip:focus { top: 12px; }

/* ---------- Type ---------- */
.h1, .h2, .h3 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.02;
  text-wrap: balance;
  color: var(--ink);
}
.h1 { font-size: clamp(42px, 6.4vw, 84px); font-weight: 500; letter-spacing: -0.045em; }
.h2 { font-size: clamp(32px, 4.2vw, 56px); }
.h3 { font-size: clamp(22px, 2.2vw, 28px); line-height: 1.15; letter-spacing: -0.02em; }
.h4 { font-family: var(--font-display); font-weight: 500; font-size: 20px; line-height: 1.2; letter-spacing: -0.015em; }
.eyebrow {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--ink-3);
  margin-bottom: 18px;
}
.eyebrow--accent { color: var(--leaf-ink); }
.lede { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.5; color: var(--ink-2); max-width: 36em; }
.body { color: var(--ink-2); max-width: 38em; }
.small { font-size: 15px; color: var(--ink-3); }
.on-dark, .on-dark .h1, .on-dark .h2, .on-dark .h3, .on-dark .h4 { color: #fff; }
.on-dark .lede, .on-dark .body { color: rgba(255,255,255,.72); }
.on-dark .eyebrow { color: rgba(255,255,255,.55); }
.on-dark .eyebrow--accent { color: #8fd05f; }

.link {
  color: var(--ink);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
  text-decoration-color: var(--line-2);
  transition: text-decoration-color .15s, color .15s;
}
.link:hover { text-decoration-color: var(--leaf); color: var(--leaf-ink); }
.on-dark .link { color: #fff; text-decoration-color: rgba(255,255,255,.3); }
.on-dark .link:hover { color: #8fd05f; text-decoration-color: #8fd05f; }

/* ---------- Layout ---------- */
.wrap { width: min(100% - 2 * var(--gutter), var(--w)); margin-inline: auto; }
.section { padding-block: clamp(64px, 9vw, 128px); }
.section--tight { padding-block: clamp(40px, 6vw, 80px); }
.section--pale { background: var(--pale); }
.section--white { background: var(--white); }
.section--forest { background: var(--forest); }
.section-head { max-width: 42em; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head .lede { margin-top: 20px; }
.grid { display: grid; gap: var(--gutter); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 26px;
  border-radius: 999px;
  font-weight: 500; font-size: 16px; text-decoration: none;
  transition: background-color .15s, color .15s, transform .15s, box-shadow .15s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--ink); color: #fff; }
.btn--primary:hover { background: #2b2f2c; }
.on-dark .btn--primary { background: #fff; color: var(--ink); }
.on-dark .btn--primary:hover { background: var(--pale-2); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: #000; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--pale); }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.on-dark .btn--ghost { color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.3); }
.on-dark .btn--ghost:hover { box-shadow: inset 0 0 0 1px #fff; }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 15px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---------- Floating navigation (liquid glass) ---------- */
.nav-wrap { position: sticky; top: 12px; z-index: 50; padding-inline: var(--gutter); }
.nav {
  width: min(100%, var(--w));
  margin-inline: auto;
  min-height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 8px 10px 8px 18px;
  border-radius: 999px;
  background: rgba(246, 245, 241, .98);           /* opaque fallback */
  box-shadow: 0 1px 0 rgba(255,255,255,.8) inset, 0 0 0 1px rgba(0,0,0,.06);
}
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .nav {
    background: linear-gradient(180deg, rgba(255,255,255,.78), rgba(246,245,241,.62));
    -webkit-backdrop-filter: blur(20px) saturate(1.4);
    backdrop-filter: blur(20px) saturate(1.4);
  }
}
.nav__logo { display: inline-flex; align-items: center; border-radius: 8px; }
.nav__logo img { height: 36px; width: auto; }
.nav__links { display: flex; gap: 2px; }
.nav__links a {
  display: inline-block; padding: 10px 14px; border-radius: 999px;
  font-weight: 500; font-size: 15px; text-decoration: none; color: var(--ink-2);
  transition: background-color .15s, color .15s;
}
.nav__links a:hover { background: rgba(0,0,0,.05); color: var(--ink); }
.nav__links a[aria-current="page"] { color: var(--ink); background: rgba(0,0,0,.07); }
.nav__actions { display: flex; gap: 8px; align-items: center; }
.nav__actions .btn { min-height: 44px; padding: 0 18px; font-size: 15px; }
.nav__toggle {
  display: none; width: 44px; height: 44px; border-radius: 999px; align-items: center; justify-content: center;
}
.nav__toggle span { display: block; width: 20px; height: 2px; background: var(--ink); position: relative; }
.nav__toggle span::before, .nav__toggle span::after {
  content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: var(--ink);
}
.nav__toggle span::before { top: -6px; } .nav__toggle span::after { top: 6px; }

@media (max-width: 900px) {
  .nav { padding: 8px 8px 8px 14px; }
  .nav__toggle { display: inline-flex; }
  .nav__links, .nav__actions .btn--ghost { display: none; }
}
@media (min-width: 901px) { .nav__panel { display: none; } }
@media (max-width: 480px) {
  .nav__logo img { height: 30px; }
  .nav__actions .btn--primary { display: none; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--forest); margin-top: calc(-1 * var(--nav-h) - 12px); padding-top: calc(var(--nav-h) + 12px + clamp(40px, 6vw, 96px)); padding-bottom: clamp(48px, 6vw, 88px); }
.hero .small { color: rgba(255,255,255,.55); }
.hero .hero__caption { color: rgba(255,255,255,.5); }
.hero .hero__labels { color: rgba(255,255,255,.78); }
.hero__grid { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
@media (min-width: 980px) { .hero__grid { grid-template-columns: 7fr 5fr; gap: 48px; } }
.hero__copy .eyebrow { margin-bottom: 22px; }
.hero__copy .lede { margin-top: 28px; }
.hero__copy .btn-row { margin-top: 36px; }
.hero__copy .small { margin-top: 20px; }

.hero__visual { position: relative; display: grid; justify-items: center; }
.hero__glow {
  position: absolute; inset: -10% -20%;
  background: radial-gradient(closest-side at 50% 55%, rgba(88,165,43,.46), rgba(88,165,43,.12) 55%, rgba(88,165,43,0) 72%);
  pointer-events: none;
}
.phone {
  position: relative; z-index: 1;
  width: clamp(300px, 21vw, 400px);
  aspect-ratio: 9 / 18.6;
  border-radius: 48px;
  background: #1a1f1b;
  padding: 12px;
  box-shadow:
    0 50px 100px rgba(0,0,0,.55),
    0 0 0 1px rgba(255,255,255,.22) inset,
    0 1px 0 rgba(255,255,255,.6) inset;   /* glass-edge reflection */
}
.phone::before {
  /* thin edge highlight down the left bezel */
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(115deg, rgba(255,255,255,.35) 0%, rgba(255,255,255,0) 22%, rgba(255,255,255,0) 80%, rgba(255,255,255,.12) 100%);
  mask: linear-gradient(#000, #000) content-box, linear-gradient(#000, #000);
  -webkit-mask: linear-gradient(#000, #000) content-box, linear-gradient(#000, #000);
  mask-composite: exclude; -webkit-mask-composite: xor; padding: 2px;
}
.phone__screen {
  width: 100%; height: 100%; border-radius: 38px; overflow: hidden; background: #f3f4f6; position: relative;
}
.phone__screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.phone__panel { position: absolute; inset: 0; display: none; }
.phone__panel.is-active { display: block; }
.phone__missing {
  height: 100%; display: flex; flex-direction: column; justify-content: center; gap: 10px;
  padding: 28px; background: var(--paper); color: var(--ink-2); text-align: left;
}
.phone__missing strong { font-family: var(--font-display); font-size: 22px; font-weight: 500; color: var(--ink); letter-spacing: -.02em; }
.phone__missing .tag { align-self: flex-start; }

.hero__caption { margin-top: 18px; font-size: 14px; color: var(--ink-3); text-align: center; }
.hero__labels { margin-top: 8px; font-size: 15px; color: var(--ink-2); text-align: center; min-height: 1.5em; }

/* segmented control – the one optional glass control over the hero visual */
.seg {
  position: relative; z-index: 2;
  display: inline-flex; gap: 2px; padding: 4px; border-radius: 999px;
  margin-top: -30px;
  background: rgba(30,34,31,.96);
  box-shadow: 0 1px 0 rgba(255,255,255,.18) inset, 0 8px 24px rgba(0,0,0,.4), 0 0 0 1px rgba(255,255,255,.12);
}
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .seg { background: rgba(40,45,41,.55); -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3); }
}
.seg button {
  padding: 9px 18px; border-radius: 999px; font-weight: 500; font-size: 15px; color: rgba(255,255,255,.7);
  transition: background-color .15s, color .15s;
}
.seg button:hover { color: #fff; }
.seg button[aria-selected="true"] { background: #fff; color: var(--ink); }

/* hero entrance – one orchestrated moment */
@media (prefers-reduced-motion: no-preference) {
  .hero__copy > * { animation: rise .7s cubic-bezier(.2,.7,.2,1) both; }
  .hero__copy > :nth-child(2) { animation-delay: .06s; }
  .hero__copy > :nth-child(3) { animation-delay: .12s; }
  .hero__copy > :nth-child(4) { animation-delay: .18s; }
  .hero__copy > :nth-child(5) { animation-delay: .24s; }
  .hero__visual { animation: rise .9s .15s cubic-bezier(.2,.7,.2,1) both; }
  @keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
}

/* ---------- Strips ---------- */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--white); }
.strip__list { display: flex; flex-wrap: wrap; gap: 10px 26px; padding-block: 18px; font-size: 14px; color: var(--ink-2); align-items: center; }
.strip__list li { display: inline-flex; align-items: center; gap: 10px; }
.strip__list li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--leaf); flex: none; }
.strip--essentials { background: var(--paper); color: var(--ink); border-top: 0; }
.strip--essentials .strip__list { color: var(--ink); font-weight: 500; font-size: 15px; justify-content: space-between; }

/* ---------- What you get tiles (staggered) ---------- */
.tiles { display: grid; gap: var(--gutter); }
@media (min-width: 900px) {
  .tiles { grid-template-columns: repeat(3, 1fr); align-items: start; }
  .tiles > :nth-child(2) { margin-top: 56px; }
  .tiles > :nth-child(3) { margin-top: 112px; }
}
.tile { background: var(--white); border-radius: var(--r-l); padding: 32px 28px 36px; border: 1px solid var(--line); }
.tile__label { font-weight: 500; font-size: 12px; letter-spacing: .04em; color: var(--ink-3); margin-bottom: 44px; }
.tile .h3 { margin-bottom: 14px; }
.tile .body { font-size: 16px; }
.tile__visual { margin: 0 -28px 28px; border-radius: 0; overflow: hidden; border-bottom: 1px solid var(--line); background: #f3f4f6; }
.tile__visual img { width: 100%; height: 200px; object-fit: cover; object-position: left top; }

.app-shot {
  margin-top: clamp(40px, 6vw, 72px);
  max-width: 980px;
  border-radius: var(--r-l); overflow: hidden; background: #1a1f1b; padding: 10px;
  box-shadow: 0 30px 60px rgba(0,0,0,.18);
}
.app-shot img { border-radius: 16px; width: 100%; max-height: 520px; object-fit: cover; object-position: top; }
.app-shot__caption { font-size: 14px; color: var(--ink-3); margin-top: 14px; }
@media (max-width: 700px) {
  .app-shot { padding: 6px; border-radius: 14px; }
  .app-shot img { max-height: none; object-fit: contain; border-radius: 8px; }
}

/* ---------- Trees every year ---------- */
.trees { display: grid; gap: 48px; align-items: center; }
@media (min-width: 900px) { .trees { grid-template-columns: 5fr 6fr; } }
.ring { position: relative; width: min(380px, 80vw); margin-inline: auto; }
.ring svg { width: 100%; height: auto; }
.ring__label {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; gap: 6px;
}
.ring__num { font-family: var(--font-display); font-weight: 400; font-size: clamp(64px, 9vw, 112px); line-height: .9; letter-spacing: -.05em; color: var(--ink); }
.ring__text { font-weight: 500; font-size: 12px; letter-spacing: .04em; color: var(--ink-3); max-width: 10em; }
.ring__caption { margin: 20px 0 0; text-align: center; font-size: 14px; color: var(--ink-3); }
.ring__plans { display: flex; justify-content: center; gap: 36px; margin-top: 24px; font-size: 15px; color: var(--ink-3); }
.ring__plans b { display: block; font-family: var(--font-display); font-weight: 400; font-size: 32px; color: var(--ink); letter-spacing: -.03em; line-height: 1; margin-bottom: 6px; }

/* ---------- Plans ---------- */
.plans { display: grid; gap: 16px; }
@media (min-width: 880px) { .plans { grid-template-columns: repeat(3, 1fr); } }
.plan {
  background: var(--white); border-radius: var(--r-l); padding: 32px 28px; border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 0;
}
.plan__name { font-family: var(--font-display); font-weight: 500; font-size: 22px; letter-spacing: -.02em; }
.plan__price { font-family: var(--font-display); font-weight: 400; font-size: clamp(36px, 3.4vw, 48px); letter-spacing: -.04em; line-height: 1; margin-top: 18px; }
.plan__price small { font-family: var(--font-body); font-weight: 500; font-size: 17px; letter-spacing: 0; color: var(--ink-3); margin-left: 4px; }
.plan__lines { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); display: grid; gap: 12px; color: var(--ink-2); font-size: 16px; }
.plan__lines li { display: flex; gap: 10px; align-items: flex-start; }
.plan__lines li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%; background: var(--pale-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.5l2.5 2.5L13 6.5' fill='none' stroke='%232b6b05' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/18px no-repeat; }
.plan .btn { margin-top: 30px; }
.plans-note { margin-top: 28px; max-width: 60em; font-size: 15px; color: var(--ink-3); }
.plans-note + .plans-note { margin-top: 12px; }

/* ---------- Steps ---------- */
.steps { display: grid; gap: 0; counter-reset: step; border-top: 1px solid var(--line); }
.steps li { counter-increment: step; display: grid; grid-template-columns: 64px 1fr; gap: 16px; padding: 24px 0; border-bottom: 1px solid var(--line); align-items: start; }
.steps li::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-display); font-weight: 400; font-size: 26px; letter-spacing: -.03em; color: var(--ink-3); line-height: 1.1;
}
.steps li p { color: var(--ink-2); max-width: 40em; }
.steps--dark { border-color: rgba(255,255,255,.14); }
.steps--dark li { border-color: rgba(255,255,255,.14); }
.steps--dark li::before { color: rgba(255,255,255,.5); }
.steps--dark li p { color: rgba(255,255,255,.8); }

.split { display: grid; gap: 40px; align-items: start; }
@media (min-width: 900px) { .split { grid-template-columns: 5fr 7fr; gap: 64px; } }
.split--rev > :first-child { order: 2; }
@media (min-width: 900px) { .split--rev > :first-child { order: 0; } }

/* ---------- Offers band tiles ---------- */
.offer-tiles { display: grid; gap: 16px; }
@media (min-width: 760px) { .offer-tiles { grid-template-columns: 1fr 1fr; } }
.offer-tile { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-l); padding: 30px 28px; display: grid; gap: 12px; align-content: start; }
.offer-tile p { color: var(--ink-2); }
.offer-tile .link { margin-top: 8px; justify-self: start; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; align-items: center;
  padding: 20px 4px; font-family: var(--font-display); font-weight: 500; font-size: 19px; letter-spacing: -.015em; line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line-2);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28'%3E%3Cpath d='M14 8v12M8 14h12' stroke='%230f1310' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--ink-3); }
.faq details > p { padding: 0 4px 24px; color: var(--ink-2); max-width: 44em; }
.faq details > p + p { margin-top: -12px; }

/* ---------- Closing band ---------- */
.closing { text-align: center; }
.closing .wrap > * { margin-inline: auto; }
.closing .eyebrow { margin-bottom: 20px; }
.closing .lede { margin-top: 24px; max-width: 30em; }
.closing .btn-row { justify-content: center; margin-top: 36px; }

/* ---------- Side-menu pages ---------- */
.page-head { padding-block: clamp(48px, 7vw, 104px) clamp(32px, 4vw, 56px); }
.page-head .lede { margin-top: 24px; }
.page-head .h1 { font-size: clamp(38px, 5.4vw, 72px); }
.sidebar-layout { display: grid; gap: 40px; align-items: start; }
.sidebar-layout > * { min-width: 0; }
@media (min-width: 980px) { .sidebar-layout { grid-template-columns: 240px 1fr; gap: 64px; } }
.side-menu { position: sticky; top: calc(var(--nav-h) + 28px); display: grid; gap: 2px; }
.side-menu a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 8px; font-weight: 500; font-size: 15px; color: var(--ink-3); text-decoration: none; }
.side-menu a::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: transparent; box-shadow: inset 0 0 0 1px var(--line-2); flex: none; transition: background-color .15s; }
.side-menu a:hover { color: var(--ink); }
.side-menu a.is-active { color: var(--ink); }
.side-menu a.is-active::before { background: var(--leaf); box-shadow: none; }
@media (max-width: 979px) {
  .side-menu { position: sticky; top: calc(var(--nav-h) + 20px); z-index: 20; display: flex; gap: 6px; overflow-x: auto; background: var(--paper); padding: 10px 0; margin: 0 calc(-1 * var(--gutter)); padding-inline: var(--gutter); border-bottom: 1px solid var(--line); scrollbar-width: none; }
  .side-menu::-webkit-scrollbar { display: none; }
  .side-menu a { white-space: nowrap; padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); }
  .side-menu a::before { display: none; }
  .side-menu a.is-active { border-color: var(--ink); background: var(--ink); color: #fff; }
}
.block { padding-block: clamp(40px, 5vw, 72px); border-top: 1px solid var(--line); }
.block:first-child { border-top: 0; padding-top: 0; }
.block .section-head { margin-bottom: clamp(28px, 4vw, 44px); }

.feature-list { display: grid; gap: 16px; }
@media (min-width: 760px) { .feature-list { grid-template-columns: repeat(3, 1fr); } }
.feature { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-m); padding: 24px 22px; }
.feature .h4 { margin-bottom: 10px; }
.feature p { font-size: 16px; color: var(--ink-2); }
.feature-list--2 { grid-template-columns: 1fr; }
@media (min-width: 760px) { .feature-list--2 { grid-template-columns: 1fr 1fr; } }

.trust-line { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-m); padding: 18px 22px; display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; font-size: 15px; color: var(--ink-2); margin-bottom: 28px; }
.trust-line p { max-width: 60em; }

/* ---------- Compare table ---------- */
.compare-controls { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; font-size: 15px; font-weight: 500; }
.compare-controls input { width: 18px; height: 18px; accent-color: var(--ink); }
.table-wrap { overflow-x: auto; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-m); }
.compare { min-width: 640px; font-size: 15px; }
.compare caption { text-align: left; padding: 18px 20px 6px; font-weight: 600; color: var(--ink-3); font-size: 14px; }
.compare th, .compare td { padding: 14px 20px; text-align: left; border-top: 1px solid var(--line); vertical-align: top; }
.compare thead th { border-top: 0; font-family: var(--font-display); font-size: 18px; font-weight: 500; letter-spacing: -.02em; background: var(--white); position: sticky; top: 0; }
.compare thead th:first-child { font-family: var(--font-body); font-size: 14px; font-weight: 600; color: var(--ink-3); }
.compare tbody th { font-weight: 500; color: var(--ink-2); width: 40%; }
.compare .group th { background: var(--pale); font-weight: 500; color: var(--ink); font-size: 13px; letter-spacing: .03em; }
.compare td { color: var(--ink); }
.compare td .yes { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-2); font-weight: 500; }
.compare td .yes::before { content: ""; width: 18px; height: 18px; border-radius: 50%; background: var(--pale-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.5l2.5 2.5L13 6.5' fill='none' stroke='%232b6b05' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/18px no-repeat; }
.compare.is-diff tr.same { display: none; }
.compare tr.diff td { font-weight: 600; }

/* ---------- Fees list ---------- */
.fees { display: grid; gap: 0; border-top: 1px solid var(--line); max-width: 52em; }
.fees li { padding: 20px 0; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.fees li b { color: var(--ink); font-weight: 600; }
.fees-close { margin-top: 24px; font-family: var(--font-display); font-weight: 500; font-size: 20px; letter-spacing: -.02em; }

/* ---------- Plan-by-plan box ---------- */
.box { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-l); padding: 28px; }
.box__title { font-family: var(--font-display); font-weight: 500; font-size: 22px; letter-spacing: -.02em; margin-bottom: 8px; }
.box__intro { color: var(--ink-2); font-size: 16px; margin-bottom: 20px; }
.box dl { display: grid; gap: 0; border-top: 1px solid var(--line); }
.box dl > div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.box dt { font-weight: 600; }
.box dd { margin: 0; color: var(--ink-2); text-align: right; }
.box dd b { font-family: var(--font-display); font-weight: 400; font-size: 22px; color: var(--ink); margin-right: 6px; letter-spacing: -.03em; }

/* ---------- Promises ---------- */
.promises { display: grid; gap: 16px; }
@media (min-width: 760px) { .promises { grid-template-columns: repeat(3, 1fr); } }
.promise { background: var(--pale); border-radius: var(--r-m); padding: 24px 22px; }
.promise b { display: block; font-family: var(--font-display); font-weight: 500; font-size: 20px; letter-spacing: -.02em; margin-bottom: 8px; }
.promise p { font-size: 16px; color: var(--ink-2); }
.issued-band { background: var(--pale); border-radius: var(--r-m); padding: 16px 20px; font-size: 15px; color: var(--ink-2); margin-top: 24px; }
.issued-band ul { display: flex; flex-wrap: wrap; gap: 8px 28px; }

/* ---------- Review markers ---------- */
.tbc {
  background: #fff3c4; color: #5c4300; padding: 1px 6px; border-radius: 4px; font-weight: 600; font-size: .92em;
  border-bottom: 2px dotted #c89b00; cursor: help;
}
.tag { display: inline-block; font-size: 12px; font-weight: 700; padding: 3px 8px; border-radius: 999px; background: #fff3c4; color: #5c4300; }
[data-review]:not(.side-menu) { position: relative; }   /* the sticky side menu is already positioned */
.phone__screen .phone__panel[data-review] { position: absolute; }
body.show-review [data-review] { outline: 2px dashed #c89b00; outline-offset: 6px; }
body.show-review [data-review]::after {
  content: attr(data-review); position: absolute; top: -10px; left: 0; transform: translateY(-100%);
  background: #c89b00; color: #1a1300; font-size: 12px; font-weight: 700; padding: 3px 8px; border-radius: 6px; z-index: 5; max-width: 90vw;
}
.review-toggle { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-3); }
.review-toggle input { accent-color: #c89b00; width: 16px; height: 16px; }

/* toast for unresolved destinations */
.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); z-index: 90;
  background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 12px; font-size: 15px; max-width: min(90vw, 480px);
  opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s;
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
@media (prefers-reduced-motion: reduce) { .toast { transition: none; } }

/* ---------- Motion safety ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
}


/* =====================================================================
   GLASS THEME (revision 3): one continuous black page, every surface is
   translucent glass over a fixed soft glow. Opaque fallback via @supports.
   ===================================================================== */
body { background: var(--black); color: var(--ink); }
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(900px 600px at 78% 6%, rgba(88,165,43,.22), transparent 70%),
    radial-gradient(700px 700px at 12% 60%, rgba(255,255,255,.05), transparent 70%),
    radial-gradient(800px 500px at 85% 95%, rgba(88,165,43,.10), transparent 70%);
}
::selection { background: rgba(88,165,43,.45); color: #fff; }
:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

/* no more alternating bands */
.section--pale, .section--white, .section--forest, .hero, .strip, .strip--essentials, .footer, .page-head { background: transparent; }
.hero { margin-top: 0; padding-top: clamp(40px, 6vw, 96px); }
.hero__glow { background: radial-gradient(closest-side at 50% 55%, rgba(88,165,43,.40), rgba(88,165,43,.10) 55%, rgba(88,165,43,0) 72%); }
.strip { border-color: var(--line); }
.strip--essentials { border-top: 0; }
.strip__list, .strip--essentials .strip__list { color: var(--ink-2); }
.strip--essentials .strip__list { color: var(--ink); }
.hero .small, .hero .hero__caption, .hero .hero__labels { color: var(--ink-3); }
.hero .hero__labels { color: var(--ink-2); }
.eyebrow { color: var(--ink-3); }
.eyebrow--accent { color: var(--leaf-light); }
.link { color: var(--ink); text-decoration-color: rgba(255,255,255,.3); }
.link:hover { color: var(--leaf-light); text-decoration-color: var(--leaf-light); }
.small, .plans-note { color: var(--ink-3); }

/* glass surface */
.glass,
.tile, .plan, .feature, .box, .offer-tile, .promise, .table-wrap, .trust-line, .issued-band,
.app-shot, .phone__missing, .side-menu a, .toast {
  background: rgba(22, 26, 23, .96);           /* opaque fallback */
  border: 1px solid var(--line);
  box-shadow: var(--glass-edge), 0 20px 50px rgba(0,0,0,.35);
}
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .glass,
  .tile, .plan, .feature, .box, .offer-tile, .promise, .table-wrap, .trust-line, .issued-band,
  .app-shot, .phone__missing, .side-menu a, .toast {
    background: var(--glass-bg);
    -webkit-backdrop-filter: blur(18px) saturate(1.2);
    backdrop-filter: blur(18px) saturate(1.2);
  }
}
.box[style] { background: var(--glass-bg) !important; border-color: var(--line) !important; }
.trust-line { color: var(--ink-2); }
.issued-band { color: var(--ink-2); }
.promise p, .feature p, .offer-tile p, .tile .body, .box__intro, .box dd { color: var(--ink-2); }
.promise, .feature, .tile, .plan, .offer-tile, .box { box-shadow: var(--glass-edge); }
.app-shot { padding: 10px; }
.app-shot img { border-radius: 12px; }

/* buttons: white on black, black text on white */
.btn--primary, .btn--ink, .on-dark .btn--primary { background: #fff; color: var(--black); }
.btn--primary:hover, .btn--ink:hover, .on-dark .btn--primary:hover { background: rgba(255,255,255,.86); }
.btn--light { background: #fff; color: var(--black); }
.btn--ghost, .on-dark .btn--ghost { color: var(--ink); box-shadow: inset 0 0 0 1px rgba(255,255,255,.28); }
.btn--ghost:hover, .on-dark .btn--ghost:hover { box-shadow: inset 0 0 0 1px #fff; }

/* checks and icons on black */
.plan__lines li::before,
.compare td .yes::before {
  background: rgba(88,165,43,.22) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.5l2.5 2.5L13 6.5' fill='none' stroke='%238fd05f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/18px no-repeat;
}
.plan__lines { color: var(--ink-2); }
.plan__price small { color: var(--ink-3); }
.faq summary::after {
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.22);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28'%3E%3Cpath d='M14 8v12M8 14h12' stroke='%23ffffff' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
}
.faq summary:hover { color: var(--leaf-light); }
.faq details > p { color: var(--ink-2); }
.steps li::before { color: var(--ink-3); }
.steps li p { color: var(--ink-2); }
.fees li { color: var(--ink-2); }
.fees li b { color: var(--ink); }

/* side menu */
.side-menu a { background: transparent; border: 0; box-shadow: none; }
.side-menu a::before { box-shadow: inset 0 0 0 1px rgba(255,255,255,.3); }
.side-menu a.is-active::before { background: var(--leaf); box-shadow: none; }
@media (max-width: 979px) {
  .side-menu { background: rgba(11,15,12,.85); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-color: var(--line); }
  .side-menu a { background: rgba(255,255,255,.06); border: 1px solid var(--line); color: var(--ink-2); }
  .side-menu a.is-active { background: #fff; border-color: #fff; color: var(--black); }
}

/* compare table */
.compare caption { color: var(--ink-3); }
.compare thead th { background: rgba(22,26,23,.96); color: var(--ink); }
.compare thead th:first-child { color: var(--ink-3); }
.compare tbody th { color: var(--ink-2); }
.compare .group th { background: rgba(255,255,255,.06); color: var(--ink); }
.compare td { color: var(--ink); }
.compare td .yes { color: var(--ink-2); }
.compare-controls input { accent-color: var(--leaf); }

/* phone */
.phone { background: #1a1f1b; }
.phone__missing { color: var(--ink-2); border: 0; border-radius: 0; box-shadow: none; }
.phone__missing strong { color: var(--ink); }
.phone__missing .tag { background: rgba(255,255,255,.12); color: var(--ink); }

/* nav: light glass so the supplied logo keeps its own greens legible */
.nav {
  background: #faf9f5;
  outline: 1px solid rgba(31,45,28,.24);
}
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .nav { background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(250,249,245,.94)); }
}
.nav__links a { color: #3d433f; }
.nav__links a:hover { color: #0f1310; background: rgba(0,0,0,.05); }
.nav__links a[aria-current="page"] { color: #0f1310; background: rgba(0,0,0,.08); }
.nav .btn--primary { background: var(--black); color: #fff; }
.nav .btn--primary:hover { background: #2b2f2c; }
.nav .btn--ghost { color: #0f1310; box-shadow: inset 0 0 0 1px rgba(0,0,0,.18); }
.nav .btn--ghost:hover { box-shadow: inset 0 0 0 1px #0f1310; }
.nav__toggle span, .nav__toggle span::before, .nav__toggle span::after { background: #0f1310; }

.review-toggle { color: var(--ink-3); }

/* toast + review chip stay readable */
.toast { color: var(--ink); }
.tbc { background: rgba(255,224,130,.92); color: #3d2e00; border-bottom-color: #c89b00; }
.tag { background: rgba(255,224,130,.92); color: #3d2e00; }

/* active hero tab: black text on the white pill */
.seg button[aria-selected="true"] { background: #fff; color: var(--black); }
.toast { background: rgba(22,26,23,.96); }

/* wider gutters on large screens */
@media (min-width: 1300px) { :root { --gutter: 40px; } }
@media (max-width: 979px) { .phone { width: min(330px, 80vw); } }

/* =====================================================================
   Revision 4: calmer strips and a single "What you get" panel
   ===================================================================== */
/* trust: one quiet line, thin separators instead of bullets */
.strip { border: 0; }
.strip .strip__list { padding-block: 26px 0; gap: 8px 0; font-size: 14px; color: var(--ink-3); }
.strip .strip__list li::before { display: none; }
.strip .strip__list li + li { padding-left: 18px; margin-left: 18px; border-left: 1px solid var(--line-2); line-height: 1.2; }
.strip .strip__list .link { color: var(--ink-2); font-weight: 500; }
.strip .strip__list .link:hover { color: var(--leaf-light); }

/* essentials: one glass panel, four cells */
.strip--essentials { padding-block: 28px 0; }
.strip--essentials .strip__list {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; padding: 0;
  border-radius: var(--r-l); overflow: hidden;
  background: rgba(22,26,23,.96); border: 1px solid var(--line); box-shadow: var(--glass-edge);
}
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .strip--essentials .strip__list { background: var(--glass-bg); -webkit-backdrop-filter: blur(18px) saturate(1.2); backdrop-filter: blur(18px) saturate(1.2); }
}
.strip--essentials .strip__list li {
  display: block; padding: 26px 28px; margin: 0; border: 0;
  font-family: var(--font-display); font-weight: 500; font-size: 19px; letter-spacing: -.015em; color: var(--ink);
}
.strip--essentials .strip__list li + li { border-left: 1px solid var(--line); padding-left: 28px; margin-left: 0; }
@media (max-width: 900px) {
  .strip--essentials .strip__list { grid-template-columns: 1fr 1fr; }
  .strip--essentials .strip__list li:nth-child(3) { border-left: 0; }
  .strip--essentials .strip__list li:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 520px) {
  .strip--essentials .strip__list { grid-template-columns: 1fr; }
  .strip--essentials .strip__list li + li { border-left: 0; border-top: 1px solid var(--line); }
  .strip--essentials .strip__list li { padding: 20px 24px; font-size: 17px; }
  .strip .strip__list li + li { border-left: 0; padding-left: 0; margin-left: 0; }
  .strip .strip__list { flex-direction: column; align-items: flex-start; gap: 10px; }
  .strip--essentials .strip__list { flex-direction: unset; }
}

/* what you get: one panel, three columns, no stagger */
.tiles {
  display: grid; grid-template-columns: 1fr; gap: 0;
  border-radius: var(--r-l); overflow: hidden;
  background: rgba(22,26,23,.96); border: 1px solid var(--line); box-shadow: var(--glass-edge);
}
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .tiles { background: var(--glass-bg); -webkit-backdrop-filter: blur(18px) saturate(1.2); backdrop-filter: blur(18px) saturate(1.2); }
}
@media (min-width: 900px) {
  .tiles { grid-template-columns: repeat(3, 1fr); }
  .tiles > :nth-child(2), .tiles > :nth-child(3) { margin-top: 0; }
  .tiles > .tile + .tile { border-left: 1px solid var(--line); }
}
@media (max-width: 899px) {
  .tiles > .tile + .tile { border-top: 1px solid var(--line); }
}
.tile { background: transparent; border: 0; box-shadow: none; border-radius: 0; padding: 36px 32px 40px; -webkit-backdrop-filter: none; backdrop-filter: none; }
.tile__label { margin-bottom: 56px; }
/* trust line: tighter, link sits at the right edge */
.strip:not(.strip--essentials) .strip__list { font-size: 13px; flex-wrap: nowrap; align-items: center; }
.strip:not(.strip--essentials) .strip__list li + li { padding-left: 14px; margin-left: 14px; }
.strip:not(.strip--essentials) .strip__list li:last-child { margin-left: auto; padding-left: 0; border-left: 0; }
@media (max-width: 1100px) {
  .strip:not(.strip--essentials) .strip__list { flex-wrap: wrap; gap: 10px 0; }
  .strip:not(.strip--essentials) .strip__list li:last-child { margin-left: 14px; padding-left: 14px; border-left: 1px solid var(--line-2); }
}
@media (max-width: 520px) {
  .strip:not(.strip--essentials) .strip__list li:last-child { margin-left: 0; padding-left: 0; border-left: 0; }
}


/* =====================================================================
   THEME TOGGLE: dark is the default; [data-theme="light"] flips tokens.
   ===================================================================== */
.ring__track { stroke: var(--line); }
.theme-toggle {
  width: 44px; height: 44px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center;
  color: #0f1310; transition: background-color .15s;
}
.theme-toggle:hover { background: rgba(0,0,0,.06); }
.theme-toggle svg { width: 20px; height: 20px; display: block; }
.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }
:root[data-theme="light"] .theme-toggle .icon-sun { display: block; }
:root[data-theme="light"] .theme-toggle .icon-moon { display: none; }
@media (prefers-reduced-motion: no-preference) {
  body, .tile, .plan, .feature, .box, .offer-tile, .promise, .table-wrap, .trust-line, .issued-band { transition: background-color .25s, color .25s, border-color .25s; }
}

:root[data-theme="light"] {
  --black: #0b0f0c;
  --leaf-light: #2b6b05;                 /* green text on light */
  --forest-2: rgba(0,0,0,.05);
  --ink: #0f1310;
  --ink-2: rgba(15,19,16,.74);
  --ink-3: rgba(15,19,16,.54);
  --paper: #f6f5f1;
  --paper-2: rgba(0,0,0,.04);
  --pale: rgba(0,0,0,.04);
  --pale-2: rgba(88,165,43,.18);
  --white: rgba(255,255,255,.6);
  --line: rgba(15,19,16,.10);
  --line-2: rgba(15,19,16,.16);
  --focus: #0f1310;
  --glass-bg: linear-gradient(180deg, rgba(255,255,255,.72), rgba(255,255,255,.46));
  --glass-edge: inset 0 1px 0 rgba(255,255,255,.9);
}
:root[data-theme="light"] body { background: var(--paper); color: var(--ink); }
:root[data-theme="light"] body::before {
  background:
    radial-gradient(900px 600px at 78% 6%, rgba(88,165,43,.20), transparent 70%),
    radial-gradient(700px 700px at 12% 60%, rgba(0,0,0,.04), transparent 70%),
    radial-gradient(800px 500px at 85% 95%, rgba(88,165,43,.10), transparent 70%);
}
:root[data-theme="light"] ::selection { background: rgba(88,165,43,.3); color: #0f1310; }

/* text that was pinned to white */
:root[data-theme="light"] .on-dark,
:root[data-theme="light"] .on-dark .h1, :root[data-theme="light"] .on-dark .h2,
:root[data-theme="light"] .on-dark .h3, :root[data-theme="light"] .on-dark .h4 { color: var(--ink); }
:root[data-theme="light"] .on-dark .lede, :root[data-theme="light"] .on-dark .body { color: var(--ink-2); }
:root[data-theme="light"] .on-dark .eyebrow { color: var(--ink-3); }
:root[data-theme="light"] .on-dark .eyebrow--accent, :root[data-theme="light"] .eyebrow--accent { color: var(--leaf-light); }
:root[data-theme="light"] .on-dark .link, :root[data-theme="light"] .link { color: var(--ink); text-decoration-color: rgba(15,19,16,.3); }
:root[data-theme="light"] .on-dark .link:hover, :root[data-theme="light"] .link:hover { color: var(--leaf-light); text-decoration-color: var(--leaf-light); }

/* surfaces: opaque fallback becomes light */
:root[data-theme="light"] .glass,
:root[data-theme="light"] .tile, :root[data-theme="light"] .plan, :root[data-theme="light"] .feature, :root[data-theme="light"] .box,
:root[data-theme="light"] .offer-tile, :root[data-theme="light"] .promise, :root[data-theme="light"] .table-wrap, :root[data-theme="light"] .trust-line,
:root[data-theme="light"] .issued-band, :root[data-theme="light"] .app-shot, :root[data-theme="light"] .toast,
:root[data-theme="light"] .strip--essentials .strip__list, :root[data-theme="light"] .tiles {
  background: rgba(255,255,255,.96);
  box-shadow: var(--glass-edge), 0 20px 50px rgba(15,19,16,.08);
}
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  :root[data-theme="light"] .glass,
  :root[data-theme="light"] .tile, :root[data-theme="light"] .plan, :root[data-theme="light"] .feature, :root[data-theme="light"] .box,
  :root[data-theme="light"] .offer-tile, :root[data-theme="light"] .promise, :root[data-theme="light"] .table-wrap, :root[data-theme="light"] .trust-line,
  :root[data-theme="light"] .issued-band, :root[data-theme="light"] .app-shot, :root[data-theme="light"] .toast,
  :root[data-theme="light"] .strip--essentials .strip__list, :root[data-theme="light"] .tiles { background: var(--glass-bg); }
}
:root[data-theme="light"] .tile { background: transparent; box-shadow: none; }
:root[data-theme="light"] .box[style] { background: var(--glass-bg) !important; }
:root[data-theme="light"] .app-shot { background: rgba(255,255,255,.7); }
:root[data-theme="light"] .phone__missing { background: #f6f5f1; }

/* buttons invert */
:root[data-theme="light"] .btn--primary, :root[data-theme="light"] .btn--ink, :root[data-theme="light"] .on-dark .btn--primary, :root[data-theme="light"] .btn--light { background: var(--black); color: #fff; }
:root[data-theme="light"] .btn--primary:hover, :root[data-theme="light"] .btn--ink:hover, :root[data-theme="light"] .btn--light:hover { background: #2b2f2c; }
:root[data-theme="light"] .btn--ghost, :root[data-theme="light"] .on-dark .btn--ghost { color: var(--ink); box-shadow: inset 0 0 0 1px rgba(15,19,16,.22); }
:root[data-theme="light"] .btn--ghost:hover, :root[data-theme="light"] .on-dark .btn--ghost:hover { box-shadow: inset 0 0 0 1px var(--ink); }

/* icons */
:root[data-theme="light"] .plan__lines li::before,
:root[data-theme="light"] .compare td .yes::before {
  background: rgba(88,165,43,.18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.5l2.5 2.5L13 6.5' fill='none' stroke='%232b6b05' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/18px no-repeat;
}
:root[data-theme="light"] .faq summary::after {
  box-shadow: inset 0 0 0 1px rgba(15,19,16,.2);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28'%3E%3Cpath d='M14 8v12M8 14h12' stroke='%230f1310' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
}

/* side menu, table, strips */
:root[data-theme="light"] .side-menu a::before { box-shadow: inset 0 0 0 1px rgba(15,19,16,.25); }
@media (max-width: 979px) {
  :root[data-theme="light"] .side-menu { background: rgba(246,245,241,.88); }
  :root[data-theme="light"] .side-menu a { background: rgba(255,255,255,.7); color: var(--ink-2); }
  :root[data-theme="light"] .side-menu a.is-active { background: var(--black); border-color: var(--black); color: #fff; }
}
:root[data-theme="light"] .compare thead th { background: rgba(255,255,255,.97); }
:root[data-theme="light"] .compare .group th { background: rgba(15,19,16,.05); }
:root[data-theme="light"] .seg button[aria-selected="true"] { background: #fff; color: var(--black); }
:root[data-theme="light"] .toast { color: var(--ink); }
:root[data-theme="light"] .tbc, :root[data-theme="light"] .tag { background: #fff0b8; color: #3d2e00; }
:root[data-theme="light"] .phone__missing .tag { background: #fff0b8; color: #3d2e00; }

/* =====================================================================
   GLASS EDGE: the flat 1px border becomes a gradient rim that catches
   light top-left and fades, with a faint reflection bottom-right.
   ===================================================================== */
.tiles, .strip--essentials .strip__list, .plan, .feature, .box, .offer-tile, .promise,
.table-wrap, .trust-line, .issued-band, .app-shot, .nav, .seg, .toast {
  position: relative;
  border-color: transparent;
}
.strip--essentials .strip__list, .tiles, .table-wrap { isolation: isolate; }
.tiles::before, .strip--essentials .strip__list::before, .plan::before, .feature::before, .box::before,
.offer-tile::before, .promise::before, .table-wrap::before, .trust-line::before, .issued-band::before,
.app-shot::before, .nav::before, .seg::before, .toast::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; z-index: 2;
  background: linear-gradient(135deg,
    rgba(255,255,255,.55) 0%, rgba(255,255,255,.18) 22%, rgba(255,255,255,.06) 48%,
    rgba(255,255,255,.05) 62%, rgba(255,255,255,.30) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
/* softer, deeper surface shadow so the rim reads as an edge, not a line */
.tiles, .strip--essentials .strip__list, .plan, .feature, .box, .offer-tile, .promise, .table-wrap, .trust-line, .issued-band, .app-shot {
  box-shadow: inset 0 1px 0 rgba(255,255,255,.10), inset 0 -1px 0 rgba(0,0,0,.25), 0 24px 60px rgba(0,0,0,.35);
}
.nav::before { background: linear-gradient(135deg, rgba(255,255,255,.95) 0%, rgba(255,255,255,.5) 25%, rgba(255,255,255,.25) 55%, rgba(255,255,255,.75) 100%); }
.nav { box-shadow: 0 14px 40px rgba(0,0,0,.45); }
.seg::before { background: linear-gradient(135deg, rgba(255,255,255,.5), rgba(255,255,255,.1) 40%, rgba(255,255,255,.08) 60%, rgba(255,255,255,.3)); }
.seg { box-shadow: 0 8px 24px rgba(0,0,0,.4); }

/* internal dividers fade at both ends instead of running edge to edge */
.tiles > .tile + .tile, .strip--essentials .strip__list li + li, .compare tbody th, .compare td {
  border-color: var(--line);
}
@media (min-width: 900px) {
  .tiles > .tile + .tile { border-left: 0; }
  .tiles > .tile + .tile::before { content: ""; position: absolute; left: 0; top: 12%; bottom: 12%; width: 1px; background: linear-gradient(180deg, transparent, var(--line-2), transparent); }
  .tile { position: relative; }
}
.strip--essentials .strip__list li { position: relative; }
.strip--essentials .strip__list li + li { border-left: 0; }
@media (min-width: 521px) {
  .strip--essentials .strip__list li + li::before { content: ""; position: absolute; left: 0; top: 18%; bottom: 18%; width: 1px; background: linear-gradient(180deg, transparent, var(--line-2), transparent); }
}
@media (max-width: 900px) { .strip--essentials .strip__list li:nth-child(3)::before { display: none; } }

/* light theme rim */
:root[data-theme="light"] .tiles::before, :root[data-theme="light"] .strip--essentials .strip__list::before,
:root[data-theme="light"] .plan::before, :root[data-theme="light"] .feature::before, :root[data-theme="light"] .box::before,
:root[data-theme="light"] .offer-tile::before, :root[data-theme="light"] .promise::before, :root[data-theme="light"] .table-wrap::before,
:root[data-theme="light"] .trust-line::before, :root[data-theme="light"] .issued-band::before, :root[data-theme="light"] .app-shot::before,
:root[data-theme="light"] .toast::before {
  background: linear-gradient(135deg, rgba(255,255,255,1) 0%, rgba(255,255,255,.7) 25%, rgba(15,19,16,.06) 55%, rgba(15,19,16,.12) 100%);
}
:root[data-theme="light"] .tiles, :root[data-theme="light"] .strip--essentials .strip__list, :root[data-theme="light"] .plan,
:root[data-theme="light"] .feature, :root[data-theme="light"] .box, :root[data-theme="light"] .offer-tile, :root[data-theme="light"] .promise,
:root[data-theme="light"] .table-wrap, :root[data-theme="light"] .trust-line, :root[data-theme="light"] .issued-band, :root[data-theme="light"] .app-shot {
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 24px 60px rgba(15,19,16,.08);
}

/* phone frame: smoked glass with a gradient rim instead of a solid bezel */
.phone {
  background: linear-gradient(160deg, rgba(60,68,62,.55), rgba(15,19,16,.78));
  -webkit-backdrop-filter: blur(22px) saturate(1.2); backdrop-filter: blur(22px) saturate(1.2);
  box-shadow: 0 50px 100px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.18), inset 0 -1px 0 rgba(0,0,0,.35);
}
.phone::before {
  padding: 1.5px;
  background: linear-gradient(135deg,
    rgba(255,255,255,.85) 0%, rgba(255,255,255,.35) 18%, rgba(255,255,255,.10) 45%,
    rgba(255,255,255,.08) 62%, rgba(255,255,255,.55) 100%);
  mask-composite: exclude; -webkit-mask-composite: xor;
}
.phone__screen { box-shadow: inset 0 0 0 1px rgba(0,0,0,.35); }
:root[data-theme="light"] .phone {
  background: linear-gradient(160deg, rgba(255,255,255,.55), rgba(15,19,16,.22));
  box-shadow: 0 40px 90px rgba(15,19,16,.22), inset 0 1px 0 rgba(255,255,255,.9), inset 0 -1px 0 rgba(15,19,16,.15);
}
:root[data-theme="light"] .phone::before {
  background: linear-gradient(135deg, rgba(255,255,255,1) 0%, rgba(255,255,255,.8) 22%, rgba(15,19,16,.10) 55%, rgba(15,19,16,.22) 100%);
}
:root[data-theme="light"] .phone__screen { box-shadow: inset 0 0 0 1px rgba(15,19,16,.12); }
.app-shot { background: linear-gradient(160deg, rgba(60,68,62,.45), rgba(15,19,16,.7)); }
:root[data-theme="light"] .app-shot { background: linear-gradient(160deg, rgba(255,255,255,.7), rgba(15,19,16,.12)); }

/* =====================================================================
   SIDE MENU: a glass panel with a green active bar, not a plain list
   ===================================================================== */
@media (min-width: 980px) {
  .side-menu {
    position: sticky; top: calc(var(--nav-h) + 28px);
    display: grid; gap: 4px; padding: 10px;
    border-radius: var(--r-l); border: 1px solid transparent;
    background: rgba(22,26,23,.96);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.10), inset 0 -1px 0 rgba(0,0,0,.25), 0 24px 60px rgba(0,0,0,.35);
  }
  @supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
    .side-menu { background: var(--glass-bg); -webkit-backdrop-filter: blur(18px) saturate(1.2); backdrop-filter: blur(18px) saturate(1.2); }
  }
  .side-menu::before {
    content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; z-index: 2;
    background: linear-gradient(135deg, rgba(255,255,255,.55) 0%, rgba(255,255,255,.18) 22%, rgba(255,255,255,.06) 48%, rgba(255,255,255,.05) 62%, rgba(255,255,255,.30) 100%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor; mask-composite: exclude;
  }
  .side-menu a {
    position: relative; display: flex; align-items: center; gap: 14px;
    padding: 13px 16px 13px 18px; border-radius: 12px;
    font-size: 15px; font-weight: 500; color: var(--ink-3); text-decoration: none;
    transition: background-color .15s, color .15s;
  }
  .side-menu a::before {
    content: ""; position: absolute; left: 6px; top: 50%; width: 3px; height: 0; border-radius: 2px;
    background: var(--leaf); transform: translateY(-50%); box-shadow: none;
    transition: height .18s;
  }
  .side-menu a:hover { color: var(--ink); background: rgba(255,255,255,.05); }
  .side-menu a.is-active { color: var(--ink); background: rgba(255,255,255,.08); }
  .side-menu a.is-active::before { height: 18px; }
  .side-menu a::after {
    content: ""; margin-left: auto; width: 6px; height: 6px; border-radius: 50%;
    border: 1px solid var(--line-2); opacity: .9; flex: none;
  }
  .side-menu a.is-active::after { background: var(--leaf); border-color: var(--leaf); }

  :root[data-theme="light"] .side-menu {
    background: rgba(255,255,255,.96);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 24px 60px rgba(15,19,16,.08);
  }
  @supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
    :root[data-theme="light"] .side-menu { background: var(--glass-bg); }
  }
  :root[data-theme="light"] .side-menu::before {
    background: linear-gradient(135deg, rgba(255,255,255,1) 0%, rgba(255,255,255,.7) 25%, rgba(15,19,16,.06) 55%, rgba(15,19,16,.12) 100%);
  }
  :root[data-theme="light"] .side-menu a:hover { background: rgba(15,19,16,.04); }
  :root[data-theme="light"] .side-menu a.is-active { background: rgba(15,19,16,.06); }
}
/* mobile bar: glass pills with the same rim feel */
@media (max-width: 979px) {
  .side-menu a { position: relative; border-color: transparent; box-shadow: inset 0 1px 0 rgba(255,255,255,.14), inset 0 0 0 1px rgba(255,255,255,.10); }
  .side-menu a.is-active { box-shadow: none; }
  :root[data-theme="light"] .side-menu a { box-shadow: inset 0 1px 0 rgba(255,255,255,.9), inset 0 0 0 1px rgba(15,19,16,.12); }
  :root[data-theme="light"] .side-menu a.is-active { box-shadow: none; }
}
@media (min-width: 980px) { .side-menu a::before { position: absolute; } }

/* =====================================================================
   NAV: real glass rim, no heavy shadow
   ===================================================================== */
.nav {
  background: rgba(246,245,241,.94);
  border: 1px solid transparent;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), inset 0 -1px 0 rgba(15,19,16,.06), 0 10px 30px rgba(0,0,0,.18);
}
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .nav { background: linear-gradient(180deg, rgba(255,255,255,.72), rgba(246,245,241,.52)); -webkit-backdrop-filter: blur(22px) saturate(1.4); backdrop-filter: blur(22px) saturate(1.4); }
}
.nav::before {
  padding: 1px;
  background: linear-gradient(135deg, rgba(255,255,255,1) 0%, rgba(255,255,255,.75) 20%, rgba(255,255,255,.35) 45%, rgba(255,255,255,.30) 60%, rgba(255,255,255,.9) 100%);
}
:root[data-theme="light"] .nav {
  background: rgba(255,255,255,.9);
  box-shadow: inset 0 1px 0 rgba(255,255,255,1), 0 10px 30px rgba(15,19,16,.06);
}
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  :root[data-theme="light"] .nav { background: linear-gradient(180deg, rgba(255,255,255,.62), rgba(255,255,255,.34)); }
}
:root[data-theme="light"] .nav::before {
  background: linear-gradient(135deg, rgba(255,255,255,1) 0%, rgba(255,255,255,.8) 22%, rgba(15,19,16,.07) 55%, rgba(15,19,16,.14) 100%);
}
:root[data-theme="light"] .nav__links a[aria-current="page"] { background: rgba(15,19,16,.06); }
:root[data-theme="light"] .nav .btn--ghost { box-shadow: inset 0 0 0 1px rgba(15,19,16,.16); }

/* desktop screenshot: centred under the three-column panel, paired with the phone frame */
.app-shot { max-width: 900px; margin-left: auto; margin-right: auto; margin-top: clamp(48px, 6vw, 80px); border-radius: 22px; padding: 12px; }
.app-shot img { border-radius: 12px; max-height: 520px; object-fit: cover; object-position: top; }
.app-shot::before { padding: 1.5px; }
@media (max-width: 700px) { .app-shot { padding: 8px; border-radius: 16px; } .app-shot img { max-height: none; object-fit: contain; border-radius: 8px; } }


/* =====================================================================
   Hero caption spacing: room between the control and the labels
   ===================================================================== */
.hero .hero__labels { margin-top: 26px; font-size: 14px; line-height: 1.6; max-width: 34em; margin-inline: auto; }
.hero .hero__caption { margin-top: 10px; font-size: 13px; }

/* =====================================================================
   MOTION: one reveal per element, interaction feedback, nothing constant
   except a very slow breath on the hero glow.
   ===================================================================== */
@media (prefers-reduced-motion: no-preference) {
  /* scroll reveal (class added by JS; without JS nothing is hidden) */
  .reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
  .reveal.is-in { opacity: 1; transform: none; }

  /* hover lift on glass surfaces */
  .plan, .feature, .box, .offer-tile, .promise, .tile, .strip--essentials .strip__list li {
    transition: transform .3s cubic-bezier(.2,.7,.2,1), background-color .3s, box-shadow .3s;
  }
  .plan::before, .feature::before, .box::before, .offer-tile::before, .promise::before { transition: opacity .3s; opacity: .85; }
  .plan:hover, .feature:hover, .box:hover, .offer-tile:hover, .promise:hover { transform: translateY(-4px); }
  .plan:hover::before, .feature:hover::before, .box:hover::before, .offer-tile:hover::before, .promise:hover::before { opacity: 1; }
  .plan:hover, .feature:hover, .box:hover, .offer-tile:hover, .promise:hover {
    box-shadow: inset 0 1px 0 rgba(255,255,255,.18), inset 0 -1px 0 rgba(0,0,0,.25), 0 34px 70px rgba(0,0,0,.45);
  }
  :root[data-theme="light"] .plan:hover, :root[data-theme="light"] .feature:hover, :root[data-theme="light"] .box:hover,
  :root[data-theme="light"] .offer-tile:hover, :root[data-theme="light"] .promise:hover {
    box-shadow: inset 0 1px 0 rgba(255,255,255,1), 0 34px 70px rgba(15,19,16,.12);
  }
  .tile:hover { background: rgba(255,255,255,.04); }
  :root[data-theme="light"] .tile:hover { background: rgba(255,255,255,.5); }
  .strip--essentials .strip__list li:hover { background: rgba(255,255,255,.04); }
  :root[data-theme="light"] .strip--essentials .strip__list li:hover { background: rgba(255,255,255,.5); }

  /* buttons */
  .btn { transition: background-color .2s, color .2s, transform .2s cubic-bezier(.2,.7,.2,1), box-shadow .2s; }
  .btn:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(0,0,0,.28); }
  .btn:active { transform: translateY(0) scale(.98); box-shadow: none; }
  :root[data-theme="light"] .btn:hover { box-shadow: 0 10px 24px rgba(15,19,16,.16); }
  .btn--ghost:hover { box-shadow: inset 0 0 0 1px #fff, 0 10px 24px rgba(0,0,0,.2); }
  :root[data-theme="light"] .btn--ghost:hover { box-shadow: inset 0 0 0 1px var(--ink), 0 10px 24px rgba(15,19,16,.1); }

  /* nav + theme toggle */
  .nav__links a { transition: background-color .2s, color .2s, transform .2s; }
  .nav__links a:hover { transform: translateY(-1px); }
  .theme-toggle svg { transition: transform .5s cubic-bezier(.2,.7,.2,1), opacity .3s; }
  .theme-toggle:hover svg { transform: rotate(20deg) scale(1.08); }

  /* links: underline slides in */
  .link { background: linear-gradient(currentColor, currentColor) no-repeat 0 100% / 0 1px; text-decoration: none; transition: background-size .3s cubic-bezier(.2,.7,.2,1), color .2s; padding-bottom: 3px; }
  .link:hover { background-size: 100% 1px; }

  /* hero phone: crossfade between screens, gentle float on hover */
  .phone__panel { display: block; opacity: 0; transition: opacity .35s ease; pointer-events: none; }
  .phone__panel.is-active { opacity: 1; pointer-events: auto; }
  .phone { transition: transform .6s cubic-bezier(.2,.7,.2,1); }
  .hero__visual:hover .phone { transform: translateY(-6px); }
  .seg button { transition: background-color .25s, color .25s, transform .2s; }
  .seg button:active { transform: scale(.96); }

  /* hero glow: a very slow breath */
  .hero__glow { animation: breathe 9s ease-in-out infinite; transform-origin: 50% 55%; }
  @keyframes breathe { 0%, 100% { opacity: .85; transform: scale(1); } 50% { opacity: 1; transform: scale(1.05); } }

  /* the 12-month ring draws itself in, number counts up (JS), hover brightens */
  .ring__reveal { stroke-dasharray: 1056; stroke-dashoffset: 1056; }
  .ring.is-in .ring__reveal { animation: ringDraw 1.6s cubic-bezier(.3,.6,.2,1) .15s forwards; }
  @keyframes ringDraw { to { stroke-dashoffset: 0; } }
  .ring svg { transition: transform .8s cubic-bezier(.2,.7,.2,1); }
  .ring:hover svg { transform: rotate(15deg); }
  .ring__segments { transition: stroke .3s; }
  .ring:hover .ring__segments { stroke: #6fc03a; }
  .ring__num { display: inline-block; transition: transform .4s; }
  .ring:hover .ring__num { transform: scale(1.04); }

  /* FAQ answers slide in */
  .faq details[open] > p { animation: faqIn .35s cubic-bezier(.2,.7,.2,1) both; }
  @keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
  .faq summary::after { transition: transform .3s cubic-bezier(.2,.7,.2,1), background-color .2s; }
  .faq summary:hover::after { background-color: rgba(255,255,255,.08); }

  /* side menu bar */
  .side-menu a::before { transition: height .25s cubic-bezier(.2,.7,.2,1); }
  .side-menu a::after { transition: background-color .25s, border-color .25s, transform .25s; }
  .side-menu a.is-active::after { transform: scale(1.15); }

  /* steps: number brightens on hover */
  .steps li::before { transition: color .25s, transform .25s; }
  .steps li:hover::before { color: var(--leaf-light); transform: translateX(2px); }
}


/* =====================================================================
   SIDE MENU: one liquid indicator that slides between items
   ===================================================================== */
@media (min-width: 980px) {
  .side-menu { z-index: 1; }
  .side-menu a { position: relative; z-index: 1; background: transparent !important; }
  .side-menu a::before { display: none; }          /* bar now lives on the pill */
  .side-menu a::after { transition: border-color .3s, background-color .3s; }
  .side-menu a.is-active::after { background: transparent; border-color: transparent; }  /* dot now lives on the pill */
  .side-menu__pill {
    position: absolute; left: 10px; right: 10px; top: 0; z-index: 0; pointer-events: none;
    height: var(--h, 0px);
    transform: translateY(var(--y, 0px)) scale(var(--sx, 1), var(--sy, 1));
    transform-origin: 50% 50%;
    border-radius: 12px;
    background: rgba(255,255,255,.08);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
    opacity: 0;
  }
  .side-menu__pill.is-ready { opacity: 1; }
  .side-menu__pill::before {
    content: ""; position: absolute; left: 6px; top: 50%; width: 3px; height: 18px; border-radius: 2px;
    background: var(--leaf); transform: translateY(-50%);
  }
  .side-menu__pill::after {
    content: ""; position: absolute; right: 16px; top: 50%; width: 6px; height: 6px; border-radius: 50%;
    background: var(--leaf); transform: translateY(-50%) scale(1.15);
  }
  :root[data-theme="light"] .side-menu__pill { background: rgba(15,19,16,.06); box-shadow: inset 0 1px 0 rgba(255,255,255,.8); }

  @media (prefers-reduced-motion: no-preference) {
    .side-menu__pill {
      transition:
        transform .62s cubic-bezier(.3, 1.35, .45, 1),
        height .62s cubic-bezier(.3, 1.35, .45, 1),
        opacity .3s;
    }
    .side-menu__pill.is-moving { --sx: .97; --sy: 1.14; }
    .side-menu__pill.is-moving::before { height: 26px; transition: height .25s; }
    .side-menu__pill::before { transition: height .35s cubic-bezier(.3,1.35,.45,1); }
  }
}
@media (max-width: 979px) { .side-menu__pill { display: none; } }


/* =====================================================================
   FAQ: smooth open/close (JS wraps the answer in .faq__body)
   ===================================================================== */
.faq__body { overflow: hidden; }
.faq__body > p { padding: 0 4px 24px; color: var(--ink-2); max-width: 44em; }
.faq__body > p + p { margin-top: -12px; }
.faq details[open] > p { animation: none; }
.faq details.is-closing summary::after { transform: rotate(0deg); }
.faq summary { transition: color .2s; }
@media (prefers-reduced-motion: no-preference) {
  .faq summary::after { transition: transform .35s cubic-bezier(.3,1.2,.4,1), background-color .2s; }
}

/* =====================================================================
   FOOTER
   ===================================================================== */
.footer { background: transparent; border-top: 1px solid var(--line); padding: 0 clamp(20px, 4vw, 40px); font-size: 15px; color: var(--ink-3); }
.footer__panel { max-width: 1520px; margin-inline: auto; padding-top: clamp(48px, 6vw, 88px); }
.footer__main { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.footer__brand img { height: clamp(56px, 6vw, 88px); width: auto; display: block; }
.footer__main .btn { padding: 18px 30px; font-size: 17px; border-radius: 16px; }

.footer__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px 32px; margin-top: clamp(36px, 5vw, 64px); padding-block: clamp(28px, 3.5vw, 44px); border-block: 1px solid var(--line); }
.footer__row a { display: inline-flex; align-items: center; gap: 12px; font-size: clamp(16px, 1.5vw, 22px); font-weight: 600; letter-spacing: .01em; text-transform: uppercase; color: var(--ink); text-decoration: none; transition: color .2s; }
.footer__row a::after { content: ""; width: .65em; height: .65em; flex: none; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 10 10 2M4 2h6v6' fill='none' stroke='black' stroke-width='2'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 10 10 2M4 2h6v6' fill='none' stroke='black' stroke-width='2'/%3E%3C/svg%3E") center / contain no-repeat; transition: transform .25s; }
.footer__row a:hover, .footer__row a:focus-visible { color: var(--leaf-light); }
.footer__row a:hover::after { transform: translate(3px, -3px); }

.footer__base { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; padding-block: 28px; }
@media (min-width: 1200px) { .footer__base { flex-wrap: nowrap; } }
.footer__meta { display: flex; flex-direction: column; gap: 14px; flex: 1 1 auto; min-width: 0; }
.footer__legal { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 13px; }
.footer__legal a { color: var(--ink-3); text-decoration: none; transition: color .2s; }
.footer__legal a:hover, .footer__legal a:focus-visible { color: var(--ink); }
.footer__copy { margin: 0; font-size: 13px; color: var(--ink-3); }

/* DIGIQAL credit: grey by default, brand colours on hover; white logo on the dark theme, colour logo on the light theme */
.footer__credit { display: inline-flex; align-items: center; gap: 12px; flex: none; white-space: nowrap; color: var(--ink-3); text-decoration: none; }
.footer__credit span { text-transform: uppercase; text-align: right; font-size: 11px; line-height: 1.25; letter-spacing: .04em; transition: color .3s; }
.footer__credit img { height: 24px; width: auto; display: block; filter: grayscale(1); opacity: .55; transition: filter .3s, opacity .3s; }
.footer__credit .dq-logo--dark { display: none; }
:root[data-theme="light"] .footer__credit .dq-logo--dark { display: block; }
:root[data-theme="light"] .footer__credit .dq-logo--white { display: none; }
.footer__credit:hover img, .footer__credit:focus-visible img { filter: none; opacity: 1; }
.footer__credit:hover span, .footer__credit:focus-visible span { color: var(--ink); }

@media (max-width: 700px) {
  .footer { padding-bottom: 20px; }
  .footer__panel { padding-top: 48px; }
  .footer__main { gap: 24px; }
  .footer__main .btn { width: 100%; }
  .footer__row { display: block; margin-top: 32px; padding: 0; border-bottom: 0; }
  .footer__row a { display: flex; width: 100%; justify-content: space-between; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 18px; }
  .footer__row a:last-child { display: none; }          /* "Open your account" is already the button above */
  .footer__base { gap: 0 16px; margin-top: 28px; padding-block: 0; }
  .footer__meta { display: contents; }
  .footer__legal { order: 1; flex: 0 0 100%; gap: 12px 20px; margin-bottom: 24px; padding: 0 64px 24px 0; border-bottom: 1px solid var(--line); }   /* right padding keeps the docked back-to-top button clear */
  .footer__copy { order: 2; flex: 1 1 0; min-width: 0; font-size: 11.5px; line-height: 1.4; }
  .footer__rights { display: block; }
  .footer__credit { order: 3; gap: 8px; }
  .footer__credit span { font-size: 9.5px; }
  .footer__credit img { height: 18px; }
}

/* =====================================================================
   BACK TO TOP (docks above the footer legal area, see site.js)
   ===================================================================== */
.to-top { --lift: 0px; position: fixed; right: clamp(16px, 2.4vw, 32px); bottom: clamp(16px, 2.4vw, 32px); z-index: 40; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; color: var(--ink); cursor: pointer; opacity: 0; transform: translateY(12px); pointer-events: none;
  border: 1px solid rgba(255,255,255,.22);
  background: linear-gradient(145deg, rgba(255,255,255,.16), rgba(255,255,255,.04));
  -webkit-backdrop-filter: blur(18px) saturate(1.6); backdrop-filter: blur(18px) saturate(1.6);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), inset 0 -1px 0 rgba(255,255,255,.06), 0 10px 28px rgba(0,0,0,.35);
  transition: opacity .3s, transform .2s ease-out, background .25s, box-shadow .25s; }
.to-top.is-visible { opacity: 1; transform: translateY(calc(var(--lift) * -1)); pointer-events: auto; }
.to-top:hover, .to-top:focus-visible { background: linear-gradient(145deg, rgba(255,255,255,.28), rgba(255,255,255,.1)); }
:root[data-theme="light"] .to-top { border-color: rgba(255,255,255,.9); background: linear-gradient(145deg, rgba(255,255,255,.6), rgba(255,255,255,.22)); box-shadow: inset 0 1px 0 #fff, inset 0 -1px 0 rgba(15,19,16,.06), 0 10px 28px rgba(15,19,16,.14); }
:root[data-theme="light"] .to-top:hover, :root[data-theme="light"] .to-top:focus-visible { background: linear-gradient(145deg, rgba(255,255,255,.8), rgba(255,255,255,.4)); }

/* buttons use the display face */
.btn { font-family: var(--font-display); font-weight: 600; letter-spacing: -.005em; }
/* the glass rules set .toast to position:relative, which made the hidden toast take space after the footer */
.toast { position: fixed; }

/* =====================================================================
   MOBILE MENU: full-screen glass overlay (panel sits outside .nav so its blur works)
   ===================================================================== */
@media (max-width: 900px) {
  .nav { flex-wrap: nowrap; }
  .nav-wrap .nav { position: relative; z-index: 2; }
  .nav-wrap .nav__panel {
    position: fixed; inset: 0; z-index: 1; width: 100%; height: 100vh; height: 100dvh;
    display: flex; flex-direction: column; justify-content: center;
    padding: 96px clamp(24px, 6vw, 40px) max(32px, env(safe-area-inset-bottom)); overflow-y: auto;
    border-radius: 0; box-shadow: none;
    background: rgba(8,12,9,.5);
    -webkit-backdrop-filter: blur(34px) saturate(1.5); backdrop-filter: blur(34px) saturate(1.5);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .3s ease, transform .3s ease, visibility 0s linear .3s;
  }
  .nav-wrap .nav__panel::before { display: none; }
  .nav-wrap.is-open .nav__panel { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .nav-wrap .nav__panel a:not(.btn) { display: block; text-decoration: none; padding: 14px 4px; border-radius: 0; background: none; color: var(--ink); font-family: var(--font-display); font-weight: 600; font-size: clamp(32px, 9vw, 44px); letter-spacing: -.03em; line-height: 1.1; border-bottom: 1px solid var(--line); }
  .nav-wrap .nav__panel a[aria-current="page"]:not(.btn) { color: var(--leaf-light); }
  .nav-wrap .nav__panel a:not(.btn):nth-last-of-type(3) { margin-bottom: 40px; }
  .nav-wrap .nav__panel .btn { display: flex; min-height: 60px; padding: 0 28px; margin: 0; font-size: 17px; }
  .nav-wrap .nav__panel .btn--primary { margin-bottom: 14px; }
  html.nav-open { overflow: hidden; }   /* html only: overflow on body would turn it into a scroll container and break the sticky header */
  :root[data-theme="light"] .nav-wrap .nav__panel { background: rgba(255,255,255,.55); }
  :root[data-theme="light"] .nav-wrap .nav__panel a:not(.btn) { border-bottom-color: rgba(15,19,16,.12); }
}

/* =====================================================================
   MOBILE SECTION BAR: floating glass pill
   ===================================================================== */
@media (max-width: 979px) {
  .side-menu { margin: 0 0 20px; padding: 6px; border-radius: 999px; border: 1px solid rgba(255,255,255,.18); background: rgba(22,28,24,.42); -webkit-backdrop-filter: blur(22px) saturate(1.5); backdrop-filter: blur(22px) saturate(1.5); box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 12px 32px rgba(0,0,0,.35); top: calc(var(--nav-h) + 24px); }
  .side-menu::before { display: none; }
  .side-menu a { background: transparent !important; border: 0 !important; box-shadow: none !important; color: var(--ink-2); padding: 9px 16px; }
  .side-menu a.is-active { background: #fff !important; color: var(--black) !important; }
  :root[data-theme="light"] .side-menu { background: rgba(255,255,255,.55); border-color: rgba(255,255,255,.9); box-shadow: inset 0 1px 0 #fff, 0 12px 32px rgba(15,19,16,.1); }
  :root[data-theme="light"] .side-menu a { color: var(--ink-2); }
  :root[data-theme="light"] .side-menu a.is-active { background: var(--black) !important; color: #fff !important; }
}

/* small screens: button pairs stack at full width with equal size */
@media (max-width: 560px) {
  .btn-row { flex-direction: column; align-items: stretch; gap: 12px; }
  .btn-row .btn { width: 100%; min-height: 56px; }
}

/* small screens: app-screen switcher fits on one line; trust strip becomes a tidy list */
@media (max-width: 560px) {
  .seg { display: flex; width: 100%; }
  .seg button { flex: 1 1 auto; padding: 10px 8px; font-size: 13.5px; white-space: nowrap; text-align: center; }
  .strip:not(.strip--essentials) .strip__list { flex-direction: column; align-items: flex-start; gap: 12px; padding-block: 28px 0; font-size: 14.5px; }
  .strip:not(.strip--essentials) .strip__list li { display: flex; align-items: center; gap: 12px; }
  .strip:not(.strip--essentials) .strip__list li::before { display: block; }
  .strip:not(.strip--essentials) .strip__list li + li { padding-left: 0; margin-left: 0; border-left: 0; }
}

/* small screens: essentials list keeps equal padding on every row (the trust-strip rule was zeroing it for rows 2+) */
@media (max-width: 520px) {
  .strip--essentials .strip__list li, .strip--essentials .strip__list li + li { padding: 20px 24px; }
}

/* ring label is centred on the circle itself, not on the circle plus its caption */
.ring__label { inset: 0 0 auto 0; aspect-ratio: 1; }

/* to-confirm copy reads as normal text; the yellow marker only shows in review mode (?review=1) */
:root:root:root .tbc { background: none; color: inherit; padding: 0; border: 0; border-radius: 0; font-weight: inherit; font-size: inherit; cursor: inherit; }
:root:root:root body.show-review .tbc { background: #fff0b8; color: #3d2e00; padding: 1px 6px; border-radius: 4px; font-weight: 600; font-size: .92em; border-bottom: 2px dotted #c89b00; cursor: help; }

/* =====================================================================
   MENU TOGGLE: two-line icon that morphs into a close cross
   ===================================================================== */
.nav .nav__toggle { position: relative; border: 1px solid var(--line-2); background: rgba(255,255,255,.06); }
.nav .nav__toggle span, .nav .nav__toggle span::before, .nav .nav__toggle span::after { position: absolute; left: 50%; top: 50%; height: 1.75px; border-radius: 2px; background: var(--ink); transition: transform .3s ease, width .3s ease, opacity .2s; }
.nav .nav__toggle span { width: 0; height: 0; background: none; }
.nav .nav__toggle span::before { content: ""; width: 20px; margin-left: -10px; transform: translateY(-4px); }
.nav .nav__toggle span::after { content: ""; width: 13px; margin-left: -10px; transform: translateY(4px); }
.nav .nav__toggle[aria-expanded="true"] span::before { transform: rotate(45deg); }
.nav .nav__toggle[aria-expanded="true"] span::after { width: 20px; transform: rotate(-45deg); }
:root[data-theme="light"] .nav .nav__toggle { background: rgba(255,255,255,.5); }
