/* Quicksand, self-hosted.
 *
 * The same TTF the app bundles (Resources/Fonts/Quicksand.ttf), converted to
 * WOFF2 by Scripts/make-webfont.py. Self-hosted rather than pulled from Google:
 * the wordmark then renders identically in the app and on the site, it can't
 * fail because a CDN is blocked, the page makes no third-party request — which
 * is the whole pitch — and the CSP needs no exception for it.
 *
 * One variable file covers 300–700, so every weight costs nothing extra.
 */
@font-face {
  font-family: "Quicksand";
  src: url("/assets/fonts/quicksand.woff2") format("woff2-variations"),
       url("/assets/fonts/quicksand.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

/* Glade — website styles.
 *
 * Ported from the Claude Design project (Landing / About / Contact .dc.html),
 * which is the visual source of truth. The design files are React previews; this
 * is the same language as plain CSS, so the site needs no build step.
 *
 * Colours match Sources/Glade/Design/Theme.swift. If one changes there, change
 * it here — it is the same brand, and people move between them.
 */

/* ── Tokens ──────────────────────────────────────────────────────────────── */

:root {
  /* Ink */
  --ink:        #33402f;
  --ink-warm:   #3a3328;
  --ink-green:  #3a4334;
  --body:       #5c5443;
  --body-soft:  #6b6353;
  --muted:      #655f51;

  /* Surfaces */
  --surface:    #fffdf7;
  --panel:      #f6f1e6;
  --sand:       #e9e3d6;

  /* Brand */
  --sky:        #9cc0d6;
  --sky-deep:   #436378;
  --sage:       #a9c389;
  --sage-deep:  #7c9a6f;
  --sage-text:  #4c6641;
  --grass:      #6f9050;
  --wheat:      #c8b48a;
  --wheat-deep: #b08a55;
  --clay:       #bd7a63;

  /* The 150° sky → sage gradient the whole product is built on. */
  --brand: linear-gradient(150deg, var(--sky), var(--sage));
  --brand-strong: linear-gradient(150deg, #4f7492, #5f7d45);

  --hairline:  rgba(90, 80, 60, .14);
  --hairline-2: rgba(90, 80, 60, .22);

  /* The design's layered daylight wash, sky at the top, sand at the foot. */
  --daylight: linear-gradient(180deg, #bcd4e0 0%, #d4dcd2 26%, #e6dfd0 48%, var(--sand) 100%);

  --lift-sm: 0 14px 30px -18px rgba(60, 52, 36, .30);
  --lift-md: 0 22px 44px -22px rgba(50, 46, 34, .45);
  --lift-lg: 0 30px 60px -24px rgba(60, 52, 36, .45);
  --glow:    0 14px 30px -10px rgba(90, 120, 90, .55);

  --measure: 66ch;

  /* Light-only colours, named so the dark set can answer each one. */
  --page:        var(--panel);
  --nav-bg:      rgba(247, 250, 248, .5);
  --nav-edge:    rgba(255, 255, 255, .7);
  --nav-link:    #5c6452;
  --nav-hover:   rgba(90, 100, 75, .09);
  --chip-bg:     rgba(255, 253, 247, .5);
  --frame-bg:    linear-gradient(170deg, #f3ede0, #e7e0d1);
  --frame-grain: rgba(120, 108, 84, .1);
  --note-paper:  #efe6bf;
  --note-ink:    #5b5334;
  --field:       linear-gradient(180deg, #cfe0e8 0%, #d4e1d2 46%, #bcd1a4 100%);
  --field-ink:   #2f3a2b;
  --field-body:  #4a5240;
  --band-ink:    #2f3a2b;
  --band-body:   #454a3c;
  --band-press:  #36402d;
  --footer-green: #4d6733;
  --grass-mini:  linear-gradient(180deg, #bcd9e6 0%, #cfe0d8 52%, #aecb86 100%);
  --card-edge:   rgba(90, 80, 60, .12);
  --card-lift:   rgba(60, 50, 30, .45);
  /* Translucent paper: tiles, FAQ rows, the help search, pricing cards. */
  --glass:       rgba(255, 253, 247, .62);
  --glass-2:     rgba(255, 253, 247, .74);
  --glass-3:     rgba(255, 253, 247, .9);
  --glass-edge:  rgba(255, 255, 255, .55);
  /* The canvas dots, as the app draws them: ink at 12%, then the layer at 40%. */
  --dots:        rgba(51, 64, 47, .12);
  --hill-1:      #a9c187;
  --hill-2:      #7f9d5b;
  --hill-3:      #4d6733;
  --tree-1:      #5f7e44;
  --tree-2:      #6f9050;
  --trunk:       #7a6346;
  --field-sun:   #f6e6b0;

  color-scheme: light;
}

/* The night half: the app's own dark palette (Sources/Shared/Palette.swift),
   so the site and the Mac window are the same forest at night. */
[data-theme="dark"] {
  --ink:        #eef3ef;
  --ink-warm:   #e8e2d6;
  --ink-green:  #e4ecdf;
  --body:       #aeb9b0;
  --body-soft:  #9aa69d;
  --muted:      #7f8d85;

  --surface:    #2a3531;
  --panel:      #2d3935;
  --sand:       #1d2623;

  --sky-deep:   #9cc0d6;
  --sage-text:  #b9d19c;
  --hairline:   rgba(220, 230, 225, .14);
  --hairline-2: rgba(220, 230, 225, .22);

  --daylight: linear-gradient(180deg, #26333a 0%, #242e2b 40%, #1e2622 100%);

  --lift-sm: 0 14px 30px -18px rgba(0, 0, 0, .55);
  --lift-md: 0 22px 44px -22px rgba(0, 0, 0, .65);
  --lift-lg: 0 30px 60px -24px rgba(0, 0, 0, .7);
  --glow:    0 14px 30px -10px rgba(120, 160, 120, .35);

  --page:        #1d2623;
  --nav-bg:      rgba(42, 53, 49, .6);
  --nav-edge:    rgba(220, 230, 225, .16);
  --nav-link:    #aeb9b0;
  --nav-hover:   rgba(220, 230, 225, .08);
  --chip-bg:     rgba(42, 53, 49, .7);
  --frame-bg:    linear-gradient(170deg, #202925, #161d1a);
  --frame-grain: rgba(220, 230, 225, .08);
  --note-paper:  #4a4330;
  --note-ink:    #eee6c8;
  --field:       linear-gradient(180deg, #26333a 0%, #24302b 46%, #2b3a27 100%);
  --field-ink:   #eef3ef;
  --field-body:  #aeb9b0;
  --band-ink:    #eef3ef;
  --band-body:   #aeb9b0;
  --band-press:  #dfe6df;
  --footer-green: #24331c;
  --grass-mini:  linear-gradient(180deg, #26333a 0%, #253028 52%, #3f5630 100%);
  --card-edge:   rgba(220, 230, 225, .1);
  --card-lift:   rgba(0, 0, 0, .6);
  --glass:       rgba(42, 53, 49, .62);
  --glass-2:     rgba(42, 53, 49, .78);
  --glass-3:     rgba(45, 57, 53, .94);
  --glass-edge:  rgba(220, 230, 225, .12);
  --dots:        rgba(238, 243, 239, .12);
  --hill-1:      #3f5630;
  --hill-2:      #2f4326;
  --hill-3:      #1f2e1a;
  --tree-1:      #2b3f22;
  --tree-2:      #34502a;
  --trunk:       #4a3d2c;
  --field-sun:   #f3e8c6;

  color-scheme: dark;
}

/* ── Base ────────────────────────────────────────────────────────────────── */

/* The canvas dots the app draws behind everything, fixed so they don't
   scroll with the page — a table the pages sit on. */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(var(--dots) 1.2px, transparent 1.2px);
  background-size: 6px 6px;
  opacity: .4;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  /* Column flex + `margin-top:auto` on the footer keeps short pages (contact,
     404) from leaving a band of empty ground under the footer. */
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--daylight);
  background-attachment: fixed;
  color: var(--ink-warm);
  position: relative;
  font-family: -apple-system, "SF Pro Display", "SF Pro Text", "Helvetica Neue", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { margin: 0; color: var(--ink); text-wrap: balance; }
h1 { font-size: clamp(38px, 5.6vw, 60px); line-height: 1.05; letter-spacing: -.035em; font-weight: 600; }
h2 { font-size: clamp(28px, 3.8vw, 40px); line-height: 1.08; letter-spacing: -.03em; font-weight: 600; }
h3 { font-size: 19px; letter-spacing: -.01em; font-weight: 600; }

p { margin: 0; text-wrap: pretty; }
a { color: var(--sky-deep); text-underline-offset: 2px; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--sage-text); outline-offset: 3px; border-radius: 6px;
}
img { max-width: 100%; height: auto; display: block; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 40px; }
.narrow { max-width: 760px; margin: 0 auto; padding: 0 40px; }

.eyebrow {
  font-size: 13px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--sage-text);
  margin-bottom: 16px;
}

/* ── The mark ────────────────────────────────────────────────────────────── */

/* The app icon, in its small optical size, as on the phone:
   the light tile by day, the dark one at night. Images from
   Scripts/icons/make-icons.sh. */
.mark { display: grid; flex: none; }
.mark img { grid-area: 1 / 1; display: block; width: 100%; height: 100%; }
.mark .dk { display: none; }
[data-theme="dark"] .mark .lt { display: none; }
[data-theme="dark"] .mark .dk { display: block; }

/* ── Floating pill nav ───────────────────────────────────────────────────── */

.pillnav {
  position: fixed; top: 20px; left: 50%;
  transform: translateX(-50%);
  z-index: 40;
  display: flex; align-items: center; gap: 10px;
  padding: 9px 11px 9px 18px;
  border-radius: 24px;
  background: var(--nav-bg);
  backdrop-filter: blur(18px) saturate(1.3);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  box-shadow: 0 12px 34px -12px rgba(60, 72, 55, .4), inset 0 0 0 .5px var(--nav-edge);
  font-family: Quicksand, -apple-system, system-ui, sans-serif;
  max-width: calc(100vw - 32px);
}
.pillnav .home {
  display: flex; align-items: center; gap: 9px;
  padding-right: 6px; text-decoration: none;
}
.pillnav .home .mark { width: 28px; height: 28px; }
.pillnav .home span {
  font-size: 17px; font-weight: 600; letter-spacing: .01em; color: var(--ink-green);
}
.pillnav .links { display: flex; align-items: center; gap: 4px; }
.pillnav .links a {
  font-size: 14px; font-weight: 500; letter-spacing: .02em;
  color: var(--nav-link); text-decoration: none;
  padding: 7px 13px; border-radius: 14px;
  transition: background .15s, color .15s;
}
.pillnav .links a:hover { background: var(--nav-hover); color: var(--ink-green); }
.pillnav .cta {
  white-space: nowrap;
  font-size: 14px; font-weight: 600; letter-spacing: .02em;
  color: #fff; text-decoration: none;
  padding: 9px 18px; border-radius: 16px;
  background: var(--brand-strong);
  box-shadow: 0 6px 14px -4px rgba(90, 120, 90, .5);
  transition: filter .15s;
}
.pillnav .cta:hover { filter: brightness(1.05); }

/* ── Buttons ─────────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 11px;
  font-size: 17px; font-weight: 600;
  padding: 17px 38px; border-radius: 18px;
  text-decoration: none; border: 0; cursor: pointer;
  font-family: inherit;
  transition: transform .18s cubic-bezier(.2,.9,.3,1), filter .18s;
}
.btn-brand {
  color: #fff;
  background: var(--brand-strong);
  box-shadow: 0 22px 46px -12px rgba(70, 110, 80, .6), inset 0 2px 0 rgba(255, 255, 255, .55);
}
.btn-brand:hover { transform: translateY(-2px); filter: brightness(1.04); }
.btn-quiet {
  color: var(--sky-deep);
  background: transparent;
  box-shadow: inset 0 0 0 1.5px var(--sky);
}
.btn-quiet:hover { background: rgba(156, 192, 214, .14); }

/* ── Sections ────────────────────────────────────────────────────────────── */

.hero { padding: 170px 0 0; text-align: center; }
.hero .lede {
  font-size: clamp(17px, 2vw, 20px); line-height: 1.55;
  color: var(--body); max-width: 600px;
  margin: 24px auto 0;
}
.hero .actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 34px; }
.hero .fineprint { margin-top: 16px; font-size: 14.5px; color: var(--muted); }

section { padding: 100px 0; }
section > .wrap > .lede,
section > .narrow > .lede {
  font-size: 17px; line-height: 1.6; color: var(--body);
  max-width: var(--measure); margin-top: 18px;
}
.centered { text-align: center; }
.centered .lede { margin-left: auto; margin-right: auto; }

/* ── Cards ───────────────────────────────────────────────────────────────── */

.cards {
  /* Cards read left-aligned even inside a centered section, as in the design. */
  text-align: left;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(272px, 1fr));
  gap: 22px;
  margin-top: 48px;
}
.card {
  background: var(--glass);
  border-radius: 18px;
  padding: 28px;
  box-shadow: inset 0 0 0 .5px var(--hairline), var(--lift-sm);
}
.card h3 { margin: 18px 0 9px; }
.card p { font-size: 14.5px; line-height: 1.55; color: var(--body-soft); }

/* The rounded gradient tile every feature icon sits in. */
.tile {
  width: 46px; height: 46px; border-radius: 13px;
  display: grid; place-items: center;
  box-shadow: 0 12px 24px -10px rgba(60, 72, 55, .5), inset 0 1px 0 rgba(255, 255, 255, .4);
}
.tile-sky   { background: linear-gradient(150deg, var(--sky), #7fa8c0); }
.tile-sage  { background: linear-gradient(150deg, var(--sage), var(--sage-deep)); }
.tile-wheat { background: linear-gradient(150deg, var(--wheat), var(--wheat-deep)); }

/* ── Checklist ───────────────────────────────────────────────────────────── */

.checks { display: flex; flex-direction: column; gap: 14px; margin-top: 28px; }
.check { display: flex; align-items: flex-start; gap: 13px; }
.check .dot {
  width: 26px; height: 26px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  background: rgba(169, 195, 137, .28);
  color: var(--sage-text);
  margin-top: 1px;
}
.check p { font-size: 15.5px; line-height: 1.5; color: var(--body); }

/* ── Pricing ─────────────────────────────────────────────────────────────── */

.plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 48px;
  /* Stretch, not start: four tiers with different numbers of features would
     otherwise end at four different heights and scatter the buy buttons. */
  align-items: stretch;
}
.plan {
  position: relative;
  background: var(--glass-2);
  border-radius: 20px;
  padding: 28px 26px;
  box-shadow: inset 0 0 0 .5px var(--hairline), var(--lift-sm);
}
.plan.featured {
  background: var(--surface);
  box-shadow: inset 0 0 0 1.5px var(--sky), var(--lift-md);
}
.plan .badge {
  position: absolute; top: -11px; left: 26px;
  font-size: 11.5px; font-weight: 700; letter-spacing: .03em;
  color: #fff; padding: 4px 11px; border-radius: 20px;
  background: var(--brand-strong);
  box-shadow: 0 6px 14px -5px rgba(90, 120, 90, .5);
}
.plan .name { font-size: 20px; font-weight: 600; color: var(--ink); letter-spacing: -.015em; }
.plan .tag { font-size: 13px; color: var(--muted); margin-top: 2px; }
.plan .price {
  font-size: 34px; font-weight: 700; color: var(--ink);
  letter-spacing: -.03em; margin-top: 18px;
  font-variant-numeric: tabular-nums;
}
.plan .price small { font-size: 15px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan ul { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.plan li {
  font-size: 14.5px; line-height: 1.45; color: var(--body-soft);
  padding-left: 24px; position: relative;
}
.plan li::before {
  content: ""; position: absolute; left: 2px; top: 7px;
  width: 11px; height: 6px;
  border-left: 2px solid var(--sage-text);
  border-bottom: 2px solid var(--sage-text);
  transform: rotate(-45deg);
}

/* ── The grass field ─────────────────────────────────────────────────────── */

.field {
  position: relative;
  margin-top: 120px;
  overflow: hidden;
  background: var(--field);
}
.field .content {
  position: relative; z-index: 3;
  padding: 90px 40px 240px;
  text-align: center; max-width: 640px; margin: 0 auto;
}
.field h2 { font-size: clamp(34px, 4.6vw, 46px); color: var(--field-ink); }
.field .lede { font-size: 18px; color: var(--field-body); margin: 16px 0 34px; }
.field svg.hills {
  position: absolute; left: 0; right: 0; bottom: 0;
  width: 100%; height: 280px; display: block;
}

/* ── Footers ─────────────────────────────────────────────────────────────── */

footer {
  margin-top: auto;
  padding: 30px 40px;
  background: var(--sand);
  border-top: .5px solid var(--hairline);
}
footer.green { background: var(--footer-green); border-top: 0; }
footer .row {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  max-width: 1080px; margin: 0 auto;
  font-size: 13px; color: var(--muted);
}
footer .brand { display: flex; align-items: center; gap: 9px; }
footer .brand .mark { width: 24px; height: 24px; }
footer .brand span { font-weight: 600; color: var(--body); }
footer .spacer { flex: 1; }
footer a { color: var(--body-soft); text-decoration: none; }
footer a:hover { color: var(--ink-green); }
footer.green .row { color: rgba(255, 253, 247, .82); }
footer.green .brand span, footer.green a:hover { color: #fffdf7; }
footer.green a { color: rgba(255, 253, 247, .92); }

/* ── Prose (privacy, terms, help) ────────────────────────────────────────── */

.prose { padding: 150px 0 90px; }
.prose h1 { font-size: clamp(34px, 4.4vw, 46px); }
/* Legal pages read as one column; the 1080 grid is for marketing. */
.prose > .wrap { max-width: 820px; }
.prose .updated { margin-top: 10px; color: var(--muted); font-size: 15px; }
.prose h2 {
  font-size: 24px; font-weight: 600; letter-spacing: -.02em;
  margin: 46px 0 12px; padding-top: 22px;
  border-top: .5px solid var(--hairline);
}
.prose h3 { font-size: 17.5px; margin: 26px 0 8px; }
.prose p, .prose li { max-width: var(--measure); color: var(--body); }
.prose p + p { margin-top: 14px; }
.prose ul, .prose ol { margin: 14px 0; padding-left: 22px; }
.prose li { margin: 7px 0; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose .callout {
  margin: 24px 0; padding: 20px 22px;
  border-radius: 16px;
  background: var(--glass);
  box-shadow: inset 0 0 0 .5px var(--hairline);
  border-left: 3px solid var(--sage-deep);
  max-width: var(--measure);
}

.tablewrap { overflow-x: auto; margin: 18px 0; }
table { border-collapse: collapse; width: 100%; min-width: 440px; font-size: 15px; }
th { text-align: left; font-weight: 600; color: var(--ink); padding: 0 16px 10px 0; border-bottom: .5px solid var(--hairline); }
td { padding: 12px 16px 12px 0; border-bottom: .5px solid var(--hairline); vertical-align: top; color: var(--body); }

/* ── Contact form ────────────────────────────────────────────────────────── */

.contact-grid {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px;
  align-items: start;
}
.channels { display: flex; flex-direction: column; gap: 14px; margin-top: 34px; }
.channel { display: flex; align-items: center; gap: 14px; }
.channel .tile { width: 44px; height: 44px; }
.channel .label { font-size: 13px; color: var(--muted); font-weight: 500; }
.channel .value { font-size: 15.5px; font-weight: 600; color: var(--ink-green); }
.channel a.value { text-decoration: none; }

.formcard {
  background: var(--panel);
  border-radius: 22px; padding: 30px;
  box-shadow: var(--lift-lg), inset 0 0 0 .5px var(--glass-edge);
}
.formcard label {
  font-size: 13px; font-weight: 600; color: var(--body);
  display: block; margin-bottom: 7px;
}
.formcard .row2 { display: flex; gap: 14px; margin-bottom: 16px; }
.formcard .row2 > div { flex: 1; min-width: 0; }
.formcard input, .formcard textarea {
  width: 100%; border: 0; outline: 0; border-radius: 12px;
  background: var(--surface);
  box-shadow: inset 0 0 0 .5px var(--hairline-2);
  padding: 0 14px; font-size: 15px; color: var(--ink-warm);
  font-family: inherit;
}
.formcard input { height: 46px; }
.formcard textarea {
  height: 128px; resize: vertical; padding: 13px 14px;
  line-height: 1.5; margin-bottom: 22px;
}
.formcard input:focus, .formcard textarea:focus {
  box-shadow: inset 0 0 0 1.5px var(--sky);
  outline: none;
}
.topics { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.topics label {
  display: inline-flex; align-items: center; margin: 0;
  font-size: 13px; font-weight: 600;
  padding: 7px 14px; border-radius: 20px; cursor: pointer;
  color: var(--sage-text);
  box-shadow: inset 0 0 0 1.3px rgba(76, 102, 65, .55);
  transition: all .15s;
}
.topics input { position: absolute; opacity: 0; width: 0; height: 0; }
.topics input:checked + label,
.topics label:has(input:checked) {
  color: #fff; background: var(--brand-strong);
  box-shadow: 0 6px 14px -5px rgba(90, 120, 90, .5);
}
.formcard .send {
  width: 100%; height: 50px; border-radius: 14px;
  background: var(--brand-strong);
  display: flex; align-items: center; justify-content: center; gap: 9px;
  box-shadow: var(--glow), inset 0 1.5px 0 rgba(255, 255, 255, .5);
  font-size: 16px; font-weight: 600; color: #fff;
}
.formcard .send:hover { filter: brightness(1.04); }

/* ── Team ────────────────────────────────────────────────────────────────── */

.team { display: flex; justify-content: center; gap: 26px; margin-top: 36px; flex-wrap: wrap; }
.member { display: flex; flex-direction: column; align-items: center; gap: 11px; }
.member .face {
  width: 64px; height: 64px; border-radius: 50%;
  box-shadow: inset 0 0 0 .5px rgba(0, 0, 0, .08), 0 8px 18px -6px rgba(60, 72, 55, .4);
}
.member .name { font-size: 15px; font-weight: 600; color: var(--ink); }
.member .role { font-size: 13px; color: var(--muted); }

/* ── Motion & small screens ──────────────────────────────────────────────── */

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

@media (max-width: 820px) {
  .contact-grid { grid-template-columns: 1fr; gap: 34px; }
}
/* Below this the pill can't hold wordmark + links + button without clipping the
   button. The links go; every page's footer carries the same navigation. */
@media (max-width: 560px) {
  .pillnav .links { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap, .narrow { padding: 0 22px; }
  .hero { padding-top: 140px; }
  section { padding: 68px 0; }
  .pillnav { gap: 6px; padding: 8px 9px 8px 14px; }
  .pillnav .links a { padding: 6px 9px; font-size: 13.5px; }
  .pillnav .cta { padding: 8px 13px; font-size: 13.5px; }
  .field .content { padding: 68px 22px 190px; }
}

/* ── Help centre ─────────────────────────────────────────────────────────── */

.searchbox { position: relative; max-width: 520px; margin: 30px auto 0; }
.searchbox svg {
  position: absolute; left: 20px; top: 50%; transform: translateY(-50%);
  color: var(--muted); pointer-events: none;
}
.searchbox input {
  width: 100%; height: 58px;
  border: 0; outline: 0; border-radius: 18px;
  background: var(--glass-3);
  box-shadow: 0 16px 36px -18px rgba(60, 72, 55, .45), inset 0 0 0 .5px var(--hairline);
  padding: 0 22px 0 52px;
  font-size: 16px; font-family: inherit; color: var(--ink-warm);
}
.searchbox input:focus {
  box-shadow: 0 16px 36px -18px rgba(60, 72, 55, .45), inset 0 0 0 1.6px var(--sky);
}

.cats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
  margin-top: 34px;
}
.cat {
  border-radius: 18px; padding: 20px 18px;
  background: var(--glass-2);
  box-shadow: 0 14px 30px -20px rgba(60, 72, 55, .4), inset 0 0 0 .5px var(--hairline);
  border: 0; font-family: inherit; text-align: left; cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease;
}
.cat:hover { transform: translateY(-3px); box-shadow: 0 24px 44px -22px rgba(60, 72, 55, .5); }
.cat[aria-pressed="true"] {
  box-shadow: 0 14px 30px -20px rgba(60, 72, 55, .4), inset 0 0 0 1.4px var(--sage-text);
}
.cat .tile { width: 44px; height: 44px; }
.cat .title { display: block; font-size: 15px; font-weight: 600; color: var(--ink); margin-top: 13px; }
.cat .count { display: block; font-size: 12.5px; color: var(--muted); margin-top: 3px; }
.tile-plum { background: linear-gradient(150deg, #c2a3b8, #a07d96); }

.faqlist { display: flex; flex-direction: column; gap: 11px; margin-top: 16px; }
.faqlist .heading {
  font-size: 14px; font-weight: 700; letter-spacing: .04em;
  color: var(--sage-text); margin-bottom: 6px;
}
details.faq {
  border-radius: 17px; overflow: hidden;
  background: var(--glass);
  box-shadow: 0 14px 30px -22px rgba(60, 72, 55, .4), inset 0 0 0 .5px var(--hairline);
}
details.faq[open] { background: var(--glass-3); }
details.faq summary {
  display: flex; align-items: center; gap: 16px;
  padding: 19px 22px; cursor: pointer; user-select: none;
  font-size: 16px; font-weight: 600; color: var(--ink); letter-spacing: -.01em;
  list-style: none;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary .chev {
  flex: none; margin-left: auto;
  width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center;
  color: var(--muted);
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
details.faq[open] summary .chev {
  transform: rotate(180deg); color: var(--sky-deep);
  background: rgba(156, 192, 214, .16);
}
details.faq .answer { padding: 0 22px 21px; }
details.faq .answer p { font-size: 15px; line-height: 1.66; color: var(--body); }
details.faq .answer p + p { margin-top: 12px; }
details.faq .answer strong { color: var(--ink); font-weight: 600; }
details.faq .answer ul { margin: 12px 0 0; padding-left: 20px; }
details.faq .answer li { font-size: 15px; line-height: 1.6; color: var(--body); margin: 6px 0; }

.noresults { text-align: center; padding: 40px 20px; color: var(--muted); }
.noresults .big { font-size: 16px; font-weight: 600; color: var(--body); margin-bottom: 6px; }

.helpcta {
  border-radius: 22px; padding: 34px 36px; margin-top: 44px;
  background: linear-gradient(150deg, rgba(156, 192, 214, .22), rgba(169, 195, 137, .2));
  box-shadow: inset 0 0 0 .5px var(--glass-edge);
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
}
.helpcta .t { font-size: 21px; font-weight: 600; letter-spacing: -.015em; color: var(--ink); }
.helpcta p { font-size: 15px; color: var(--body); margin-top: 7px; line-height: 1.55; }
.helpcta .go {
  white-space: nowrap; text-decoration: none;
  display: inline-flex; align-items: center; gap: 9px;
  height: 50px; padding: 0 26px; border-radius: 14px;
  background: var(--brand-strong); color: #fff;
  font-size: 15px; font-weight: 600;
  box-shadow: var(--glow);
}
.helpcta .go:hover { filter: brightness(1.04); }

@media (max-width: 820px) { .cats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) {
  .cats { grid-template-columns: 1fr; }
  .helpcta { padding: 26px 24px; }
  .helpcta .go { width: 100%; justify-content: center; }
}

/* ── Hero canvas ─────────────────────────────────────────────────────────── */

/* A drawn impression of the app, the way the design does it — not a screenshot
 * pretending to be one. Everything sizes off the frame's own width (cqw), so it
 * stays in proportion from 380px to 980px without a single media query.
 */
.frame {
  container-type: inline-size;
  position: relative;
  width: min(940px, 100%);
  aspect-ratio: 940 / 520;
  margin: 54px auto 0;
  border-radius: 22px;
  overflow: hidden;
  background: var(--frame-bg);
  box-shadow: 0 60px 120px -40px rgba(20, 24, 20, .55), inset 0 0 0 .5px var(--card-edge);
  text-align: left;
}
.frame .grain {
  position: absolute; inset: 0; opacity: .5;
  background-image: radial-gradient(var(--frame-grain) .8px, transparent .8px);
  background-size: 5px 5px;
}

.frame .chrome {
  position: relative; z-index: 3;
  height: 10.9cqw; max-height: 48px;
  display: flex; align-items: center; gap: 1.4cqw;
  padding: 0 1.7cqw;
}
.frame .lights { display: flex; gap: .75cqw; }
.frame .lights i { width: 1.17cqw; height: 1.17cqw; border-radius: 50%; }
.frame .grovechip {
  display: flex; align-items: center; gap: .75cqw;
  height: 3cqw; padding: 0 1.4cqw 0 1.1cqw;
  border-radius: 1cqw;
  background: var(--chip-bg);
  box-shadow: inset 0 0 0 .5px var(--hairline-2);
  color: var(--body);
  font-size: 1.33cqw; font-weight: 600; white-space: nowrap;
}
.frame .avatar {
  margin-left: auto;
  width: 3cqw; height: 3cqw; border-radius: 50%;
  background: linear-gradient(140deg, #c8b48a, #9a8a66);
  box-shadow: inset 0 0 0 .5px rgba(0, 0, 0, .12);
}

.frame .cardwrap { position: absolute; z-index: 2; }
.frame .c {
  border-radius: 1.5cqw; overflow: hidden;
  background: var(--surface);
  box-shadow: 0 3cqw 5cqw -2.4cqw var(--card-lift), inset 0 0 0 .5px var(--card-edge);
}
.frame .c .thumb { position: relative; aspect-ratio: 16 / 10; }
.frame .c .thumb .play {
  position: absolute; inset: 0; margin: auto;
  width: 4.2cqw; height: 4.2cqw; border-radius: 50%;
  background: var(--glass-3);
  display: grid; place-items: center;
}
.frame .c .thumb .dur {
  position: absolute; right: .8cqw; bottom: .8cqw;
  font-size: .95cqw; font-weight: 600; color: #fff;
  padding: .2cqw .6cqw; border-radius: .6cqw;
  background: rgba(30, 26, 18, .55);
}
.frame .c .body { padding: 1cqw 1.1cqw 1.1cqw; }
.frame .c .dom { display: flex; align-items: center; gap: .55cqw; font-size: 1.06cqw; color: var(--muted); }
.frame .c .dom i { width: .95cqw; height: .95cqw; border-radius: 50%; flex: none; }
.frame .c .t {
  font-size: 1.38cqw; font-weight: 600; color: var(--ink); margin-top: .45cqw;
  line-height: 1.25; letter-spacing: -.01em;
}
.frame .c .tags { display: flex; gap: .5cqw; flex-wrap: wrap; margin-top: .8cqw; }
.frame .c .tags span {
  font-size: .96cqw; font-weight: 600;
  padding: .28cqw .75cqw; border-radius: 1cqw;
}
.frame .note {
  border-radius: 1.5cqw; padding: 1.3cqw 1.4cqw;
  background: var(--note-paper);
  font-size: 1.28cqw; line-height: 1.45; color: var(--note-ink);
  box-shadow: 0 3cqw 5cqw -2.4cqw var(--card-lift), inset 0 0 0 .5px var(--card-edge);
}
.frame .grassmini {
  aspect-ratio: 1; border-radius: 1.5cqw; overflow: hidden;
  background: var(--grass-mini);
  box-shadow: 0 3cqw 5cqw -2.4cqw var(--card-lift), inset 0 0 0 .5px var(--card-edge);
  position: relative;
}


@media (max-width: 640px) { .frame { margin-top: 36px; border-radius: 16px; } }

/* ── Share sheet illustration ────────────────────────────────────────────── */

.sheet {
  width: min(420px, 100%);
  margin: 46px auto 0;
  text-align: left;
  border-radius: 20px;
  padding: 18px;
  background: var(--glass-2);
  backdrop-filter: blur(18px) saturate(1.3);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  box-shadow: var(--lift-lg), inset 0 0 0 .5px var(--glass-edge);
}
.sheet .grab {
  width: 36px; height: 5px; border-radius: 3px;
  background: var(--hairline-2);
  margin: -6px auto 14px;
}
.sheet .from {
  display: flex; align-items: center; gap: 11px;
  padding-bottom: 14px; margin-bottom: 12px;
  border-bottom: .5px solid var(--hairline);
}
.sheet .from .shot {
  width: 42px; height: 42px; border-radius: 10px; flex: none;
  background: linear-gradient(160deg, #e8b98a, #c98b6a);
  box-shadow: inset 0 0 0 .5px rgba(0, 0, 0, .1);
}
.sheet .from .t { font-size: 14.5px; font-weight: 600; color: var(--ink); }
.sheet .from .u { font-size: 12.5px; color: var(--muted); }

.sheet .apps { display: flex; gap: 14px; padding: 2px 0 14px; }
.sheet .app { text-align: center; width: 56px; }
.sheet .app .ic {
  width: 46px; height: 46px; border-radius: 12px; margin: 0 auto;
  display: grid; place-items: center;
  box-shadow: 0 8px 18px -8px rgba(60, 72, 55, .5), inset 0 1px 0 rgba(255, 255, 255, .35);
}
.sheet .app .n { font-size: 11px; color: var(--body-soft); margin-top: 6px; }
.sheet .app.on .n { color: var(--ink); font-weight: 600; }
.sheet .app.on .ic { box-shadow: 0 0 0 2.5px var(--sage-text), 0 10px 22px -8px rgba(90, 120, 90, .6); }

.sheet .row {
  display: flex; align-items: center; gap: 10px;
  border-radius: 13px; padding: 12px 14px;
  background: rgba(169, 195, 137, .18);
  box-shadow: inset 0 0 0 .5px rgba(124, 154, 111, .35);
}
.sheet .row .lbl { font-size: 14px; font-weight: 600; color: var(--ink-green); }
.sheet .row .tag {
  margin-left: auto;
  font-size: 11.5px; font-weight: 600; color: var(--sky-deep);
  padding: 3px 9px; border-radius: 10px;
  background: rgba(156, 192, 214, .28);
}

/* ── Two-column feature split ────────────────────────────────────────────── */

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split .lede { max-width: none; }

.grovecard {
  border-radius: 20px; overflow: hidden;
  background: var(--surface);
  box-shadow: var(--lift-lg), inset 0 0 0 .5px var(--hairline);
}
.grovecard .cover {
  height: 150px; position: relative;
  display: flex; align-items: flex-end; justify-content: space-between;
  padding: 0 20px 16px;
  background: linear-gradient(155deg, var(--sage), var(--sage-deep));
}
.grovecard .cover .name {
  color: #fffdf7; font-size: 19px; font-weight: 600; letter-spacing: -.015em;
  text-shadow: 0 1px 8px rgba(40, 50, 30, .35);
}
.grovecard .cover .count {
  font-size: 12px; font-weight: 600; color: rgba(255, 253, 247, .92);
  padding: 4px 10px; border-radius: 12px;
  background: rgba(30, 40, 25, .28);
}
/* People first, and only people — the point of the section is who is here,
   not another row of chrome. */
.grovecard .foot { display: flex; align-items: center; gap: 14px; padding: 18px 20px; }
.grovecard .faces { display: flex; flex: none; }
.grovecard .faces i {
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 13px; font-weight: 700; font-style: normal; color: #fff;
  box-shadow: 0 0 0 2.5px var(--surface);
}
.grovecard .faces i + i { margin-left: -8px; }
.grovecard .who { font-size: 13px; color: var(--muted); line-height: 1.35; }
.grovecard .who b {
  display: block;
  font-size: 14px; font-weight: 600; color: var(--ink);
}

@media (max-width: 820px) { .split { grid-template-columns: 1fr; gap: 34px; } }

/* The bookmarklet: a thing you drag, so it should look like a thing. */
.bookmarklet {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 11px 20px; border-radius: 13px;
  background: var(--brand-strong);
  color: #fff; font-size: 14.5px; font-weight: 600;
  text-decoration: none; cursor: grab;
  box-shadow: 0 10px 22px -10px rgba(60, 90, 60, .6), inset 0 1px 0 rgba(255, 255, 255, .3);
}
.bookmarklet:active { cursor: grabbing; }
.bookmarklet:hover { filter: brightness(1.06); }

/* ── The landing cinematic ───────────────────────────────────────────────────
 *
 * A tall track with a sticky viewport in it. Every layer's transform is a
 * function of one scroll-progress number, set by assets/landing.js. The CSS
 * here only says where things sit and how they're painted — never *when*, so
 * the two can't disagree about the sequence.
 */

.cinema { position: relative; height: 360vh; }
.cinema .stage {
  position: sticky; top: 0;
  height: 100vh; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}

/* No sticky trickery for anyone who asked for less motion: the track collapses
   to one screen showing the end of the sequence. */
.cinema.still { height: auto; }
.cinema.still .stage { position: relative; height: 88vh; }
.cinema.still .headline,
.cinema.still .cursor,
.cinema.still .hint { display: none; }

.cinema .headline {
  position: absolute; top: 14vh; left: 0; right: 0;
  text-align: center; padding: 0 40px;
  z-index: 7; pointer-events: none;
}
.cinema .headline h1 { font-size: clamp(40px, 6.4vw, 74px); line-height: 1.02; }

.cinema .frame-wrap {
  position: absolute; left: 50%; top: 50%;
  width: min(940px, 90vw);
  z-index: 2;
  transform: translate(-50%, -50%);
}
.cinema .frame-wrap .frame { margin: 0; }

/* The pointer that drifts across and clicks a card. */
.cinema .frame-wrap { position: absolute; }
.cinema .cursor { position: absolute; z-index: 8; pointer-events: none; }
.cinema .cursor .ring {
  position: absolute; left: 6px; top: 6px;
  width: 34px; height: 34px; border-radius: 50%;
  border: 2px solid rgba(124, 154, 111, .9);
  transform: translate(-50%, -50%) scale(.3);
}

.cinema .detail {
  position: absolute; left: 50%; top: 50%;
  width: min(760px, 88vw);
  z-index: 6; opacity: 0;
  transform: translate(-50%, -50%) scale(.92);
}
.detailcard {
  display: flex; min-height: 340px;
  border-radius: 22px; overflow: hidden;
  background: var(--panel);
  box-shadow: 0 60px 120px -30px rgba(30, 24, 14, .6), inset 0 0 0 .5px var(--glass-edge);
}
.detailcard .art { flex: 1.35; position: relative; overflow: hidden; }
.detailcard .art svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.detailcard .read { flex: 1; padding: 30px 28px; display: flex; flex-direction: column; }
.detailcard .site { display: flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--muted); }
.detailcard .site i { width: 9px; height: 9px; border-radius: 50%; background: var(--sky); flex: none; }
.detailcard h3 { font-size: 23px; line-height: 1.15; letter-spacing: -.02em; margin: 12px 0 10px; }
.detailcard p { font-size: 14px; line-height: 1.6; color: var(--body-soft); }
.detailcard .chips { display: flex; gap: 6px; margin-top: auto; padding-top: 20px; }
.detailcard .chips span {
  font-size: 11.5px; font-weight: 600;
  padding: 4px 11px; border-radius: 20px;
}

/* The dusk overview the sequence lands on. */
.cinema .groves {
  position: absolute; left: 50%; top: 50%;
  width: min(980px, 88vw); height: min(580px, 78vh);
  z-index: 4; opacity: 0;
  transform: translate(-50%, -50%) scale(1.32);
  border-radius: 26px; overflow: hidden;
  background: radial-gradient(120% 90% at 50% 8%, #3d5566 0%, #2b3b46 45%, #1e2a33 100%);
  box-shadow: 0 60px 120px -30px rgba(14, 20, 26, .7), inset 0 0 0 .5px rgba(255, 255, 255, .12);
}
.cinema .groves .star { position: absolute; border-radius: 50%; background: #f3e8c6; box-shadow: 0 0 3px rgba(243, 232, 198, .7); }
.cinema .groves .grove { position: absolute; transform: translate(-50%, -50%); text-align: center; }
.cinema .groves .grove .glow {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%); border-radius: 50%;
}
.cinema .groves .grove .label {
  position: absolute; left: 50%; bottom: -6px; transform: translateX(-50%);
  white-space: nowrap;
}
.cinema .groves .grove .label b {
  display: block; font-size: 14px; font-weight: 600; color: #f2f5ee;
  text-shadow: 0 1px 8px rgba(0, 0, 0, .55);
}
.cinema .groves .grove .label span { font-size: 11.5px; color: rgba(242, 245, 238, .6); }
/* The headline the sequence lands on: as big as the opening one, so the
   overview reads as the second act rather than a caption under a picture.
   The groves sit lower to leave it room. */
/* The headline and the groves panel are laid out as one group: headline,
   a short gap, then the panel, the pair centred in the screen but never up
   under the nav. Percentages here are of the stage's height. */
.cinema .stage {
  --gh-head: 230px;   /* headline + subline, roughly */
  --gh-h: min(520px, 100% - var(--gh-head) - 140px);
  --gh-top: max(96px, (100% - var(--gh-head) - var(--gh-h)) / 2);
}
.cinema .groves-head { top: var(--gh-top); z-index: 9; }
.cinema .groves-head h2 {
  font-size: clamp(36px, 5.6vw, 66px); line-height: 1.04; letter-spacing: -.035em;
}
.cinema .groves-head .w {
  display: inline-block; opacity: 0; visibility: hidden;
}
.cinema .groves-head .sub {
  margin: 18px auto 0; max-width: 34ch; opacity: 0;
  font-size: clamp(15px, 1.5vw, 18px); line-height: 1.5; color: var(--body);
}
.cinema .groves { top: calc(var(--gh-top) + var(--gh-head) + var(--gh-h) / 2); height: var(--gh-h); }
.cinema.still .groves-head { display: block; }
.cinema.still .groves-head .w,
.cinema.still .groves-head .sub { opacity: 1; visibility: visible; }

.cinema .hint {
  position: absolute; bottom: 34px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 7px;
  z-index: 7; pointer-events: none;
  font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase;
  font-weight: 600; color: var(--muted);
  animation: drift 2.4s ease-in-out infinite alternate;
}

@keyframes drift { from { transform: translate(-50%, 0); } to { transform: translate(-50%, -8px); } }

/* ── Reveal on scroll ────────────────────────────────────────────────────── */

[data-reveal] { transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
[data-reveal].pre { opacity: 0; transform: translateY(30px); }

/* ── The shortcut band ───────────────────────────────────────────────────── */

.band {
  border-radius: 24px;
  padding: 52px 46px;
  background: linear-gradient(150deg, rgba(156, 192, 214, .5), rgba(169, 195, 137, .45));
  box-shadow: inset 0 0 0 .5px var(--glass-edge);
  display: flex; align-items: center; gap: 46px;
}
.band .words { flex: 1; min-width: 0; }
.band h2 { font-size: clamp(26px, 3.2vw, 34px); color: var(--band-ink); }
.band p { font-size: 16px; line-height: 1.55; color: var(--band-body); margin: 14px 0 24px; }
.band .press { display: flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 500; color: var(--band-press); flex-wrap: wrap; }
.band kbd {
  font: inherit; font-weight: 600;
  background: var(--glass-3);
  border-radius: 7px; padding: 6px 11px;
  box-shadow: 0 2px 0 rgba(90, 80, 60, .18);
}

@media (max-width: 860px) {
  .band { flex-direction: column; gap: 30px; padding: 38px 26px; }
  .detailcard { flex-direction: column; min-height: 0; }
  .detailcard .art { min-height: 170px; }
}

/* ── Discover cards on the landing page ──────────────────────────────────── */

.discover-card { padding: 0; overflow: hidden; position: relative; }
.discover-card { display: flex; flex-direction: column; }
.discover-card .cover {
  height: 150px; position: relative;
  display: flex; align-items: flex-end;
  overflow: hidden;
}
/* A few of the grove's own saves, drifting on the cover. */
.discover-card .mini {
  position: absolute;
  border-radius: 9px;
  box-shadow: 0 10px 22px -10px rgba(40, 40, 30, .55), inset 0 0 0 .5px rgba(255, 255, 255, .35);
  animation: driftY 4s ease-in-out infinite alternate;
}
.discover-card .mini:nth-of-type(2) { animation-duration: 5.2s; animation-delay: -1.4s; }
.discover-card .mini:nth-of-type(3) { animation-duration: 4.6s; animation-delay: -2.6s; }
@keyframes driftY { from { translate: 0 0; } to { translate: 0 -6px; } }
@media (prefers-reduced-motion: reduce) { .discover-card .mini { animation: none; } }
/* A scrim under the name. Two of these covers are pale, and white-on-pale with
   a text shadow is not contrast — it's a blur. */
.discover-card .cover::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 62px;
  background: linear-gradient(to top, rgba(28, 34, 26, .58), rgba(28, 34, 26, 0));
}
.discover-card .cover .who { position: relative; z-index: 1; }
.discover-card .cover .who {
  padding: 14px 16px;
  font-size: 13px; font-weight: 600; color: #fff;
  text-shadow: 0 1px 6px rgba(0, 0, 0, .45);
}
.discover-card .meta {
  display: flex; flex-direction: column; gap: 2px;
  padding: 15px 17px 16px;
  padding-right: 76px;
  /* Fills the rest of the stretched card, so three cards of different title
     lengths still end level with each other. */
  flex: 1;
}
.discover-card .meta .t { font-size: 16px; font-weight: 600; color: var(--ink); letter-spacing: -.01em; }
.discover-card .meta .n { font-size: 13px; color: var(--muted); }
.discover-card .sun {
  position: absolute; right: 15px; bottom: 15px;
  display: inline-flex; align-items: center; gap: 5px;
  height: 32px; padding: 0 12px; border-radius: 16px;
  background: rgba(224, 168, 62, .16);
  color: #835a24;
  font-size: 13px; font-weight: 600;
  font-variant-numeric: tabular-nums;
}

/* ── Plan cards ──────────────────────────────────────────────────────────── */

.plan { display: flex; flex-direction: column; }
.plan .price { margin-bottom: 4px; }
.plan-cta {
  /* Pushed to the bottom of a stretched card, so all four line up. */
  margin-top: auto;
  display: flex; align-items: center; justify-content: center;
  height: 46px; border-radius: 14px;
  padding-top: 0;
  font-size: 14.5px; font-weight: 600;
  text-decoration: none;
  transition: filter .15s, background .15s;
}
.plan ul { margin-bottom: 22px; }
.plan-cta:hover { filter: brightness(1.05); }
.plan.featured .plan-cta {
  box-shadow: 0 14px 28px -10px rgba(60, 80, 100, .55), inset 0 1.5px 0 rgba(255, 255, 255, .4);
}

/* Four tiers need to breathe; three across is the widest that reads. */
.plans { grid-template-columns: repeat(auto-fit, minmax(228px, 1fr)); }

/* The nav knows which page you're on. */
.pillnav .links a[aria-current="page"] {
  background: rgba(90, 100, 75, .12);
  color: var(--ink-green);
}

/* A quieter, smaller sibling of .btn — for a link out of a section rather than
   the main call to action. */
.btn-sm {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14.5px; font-weight: 600;
  padding: 11px 20px; border-radius: 14px;
  text-decoration: none; border: 0; cursor: pointer;
  color: var(--sky-deep);
  background: var(--surface);
  box-shadow: inset 0 0 0 1.4px rgba(78, 113, 141, .35), var(--lift-sm);
  transition: transform .16s cubic-bezier(.2,.9,.3,1), box-shadow .16s;
}
.btn-sm:hover {
  transform: translateY(-1px);
  box-shadow: inset 0 0 0 1.4px var(--sky-deep), var(--lift-md);
}

/* Off-screen rather than display:none — a bot reading the DOM fills it in, a
   screen reader is told to skip it, and nobody sees it. */
.honeypot { position: absolute; left: -9999px; opacity: 0; }


/* ── Illustrated thumbs ──────────────────────────────────────────────────── */
/* The same four pictures the app shows before you've saved anything: a soft
   symbol on a wash, set down and to the right, as SampleCards draws it. */

.frame .c .thumb .art {
  position: absolute; right: -6%; bottom: -14%;
  width: 62%; height: auto; opacity: .55;
  color: #fff; fill: currentColor;
}

/* ── The field, by day and by night ──────────────────────────────────────── */

.field .hills .h1 { fill: var(--hill-1); }
.field .hills .h2 { fill: var(--hill-2); }
.field .hills .h3 { fill: var(--hill-3); }
.field .hills .t1 { fill: var(--tree-1); }
.field .hills .t2 { fill: var(--tree-2); }
.field .hills .trunk { fill: var(--trunk); }
.field .hills .sun, .field .hills .moon, .field .hills .stars { fill: var(--field-sun); }
.field .hills .moon, .field .hills .stars { display: none; }
[data-theme="dark"] .field .hills .sun { display: none; }
[data-theme="dark"] .field .hills .moon, [data-theme="dark"] .field .hills .stars { display: block; }

/* ── Theme switch, top right ─────────────────────────────────────────────── */

.themeswitch {
  position: fixed; top: 22px; right: 22px; z-index: 41;
  display: inline-grid; place-items: center;
  width: 40px; height: 40px; border-radius: 14px;
  border: 0; background: transparent; padding: 0;
  cursor: pointer;
  color: var(--nav-link);
  transition: color .15s, transform .15s;
}
.themeswitch:hover { color: var(--ink-green); transform: translateY(-1px); }
.themeswitch svg { width: 18px; height: 18px; }
.themeswitch .sun  { display: none; }
.themeswitch .moon { display: block; }
[data-theme="dark"] .themeswitch .sun  { display: block; }
[data-theme="dark"] .themeswitch .moon { display: none; }
@media (max-width: 640px) { .themeswitch { top: 14px; right: 14px; } }

/* ── The menu, on narrow screens ─────────────────────────────────────────────
   Below 560px the pill keeps the wordmark and the button; the circle beside
   it — the theme switch on wider screens — opens a menu with the links and
   the theme. */

.menubtn {
  display: none; place-items: center;
  position: fixed; top: 14px; right: 16px; z-index: 41;
  width: 46px; height: 46px; border-radius: 23px;
  border: 0; padding: 0; cursor: pointer;
  color: var(--ink-green);
  background: var(--nav-bg);
  backdrop-filter: blur(18px) saturate(1.3);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  box-shadow: 0 12px 34px -12px rgba(60, 72, 55, .4), inset 0 0 0 .5px var(--nav-edge);
}
.menubtn svg { width: 20px; height: 20px; overflow: visible; }
.menubtn path { transition: transform .22s ease; transform-origin: 12px 12px; }
.menubtn[aria-expanded="true"] .top    { transform: translateY(4px) rotate(45deg); }
.menubtn[aria-expanded="true"] .bottom { transform: translateY(-4px) rotate(-45deg); }

.navmenu {
  position: fixed; z-index: 40;
  top: 68px; left: 16px; right: 16px;
  display: flex; flex-direction: column; gap: 2px;
  padding: 8px;
  border-radius: 22px;
  background: var(--nav-bg);
  backdrop-filter: blur(24px) saturate(1.3);
  -webkit-backdrop-filter: blur(24px) saturate(1.3);
  box-shadow: 0 12px 34px -12px rgba(60, 72, 55, .4), inset 0 0 0 .5px var(--nav-edge);
  font-family: Quicksand, -apple-system, system-ui, sans-serif;
}
.navmenu[hidden] { display: none; }
.navmenu a, .navmenu .navtheme {
  font: inherit; font-size: 17px; font-weight: 500; letter-spacing: .02em;
  color: var(--nav-link); text-decoration: none; text-align: left;
  padding: 13px 16px; border-radius: 14px;
}
.navmenu a:hover, .navmenu a[aria-current="page"], .navmenu .navtheme:hover {
  background: var(--nav-hover); color: var(--ink-green);
}
/* The theme, last, under a hairline: names the theme it switches to. */
.navmenu .navtheme {
  display: flex; align-items: center; gap: 12px;
  margin-top: 6px; border: 0; background: transparent; cursor: pointer;
  box-shadow: 0 -1px 0 var(--nav-edge);
  border-radius: 0 0 14px 14px;
}
.navmenu .navtheme svg { width: 18px; height: 18px; flex: none; }
.navtheme .sun, .navtheme .to-light { display: none; }
[data-theme="dark"] .navtheme .sun, [data-theme="dark"] .navtheme .to-light { display: inline; }
[data-theme="dark"] .navtheme .moon, [data-theme="dark"] .navtheme .to-dark { display: none; }

@media (max-width: 560px) {
  .pillnav {
    top: 14px; left: 16px; right: 70px;
    transform: none; max-width: none;
    height: 46px; box-sizing: border-box;
    padding: 0 5px 0 12px;
  }
  .pillnav .home { margin-right: auto; }
  .menubtn { display: inline-grid; }
  .themeswitch { display: none; }
}
@media (min-width: 561px) { .navmenu { display: none !important; } }
