/* ============================================================
   Seedlings — landing page. Own design system, separate from the
   main Polaris Interactive site by design (each app gets its own).
   Fonts are self-hosted: the site CSP allows 'self' only.
   ============================================================ */

@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-var.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Karla";
  src: url("../fonts/karla-var.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Caveat";
  src: url("../fonts/caveat-var.woff2") format("woff2");
  font-weight: 500 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper:      #FCF9F2;
  --paper-deep: #F5EFE1;
  --card:       #FFFFFF;
  --kraft:      #EFE6D2;
  --kraft-line: #DFD1B2;
  --ink:        #2B3A55;
  --ink-soft:   #5C6982;
  --ink-faint:  #8C95A6;
  --emerald:    #00795F;
  --emerald-br: #009473;
  --emerald-bg: #E4F1EB;
  --tape:        rgba(96, 190, 165, 0.85);
  --rule:       #E6E0D2;
  --shadow:     0 18px 40px -22px rgba(43, 58, 85, 0.35);
  --shadow-lift:0 26px 60px -24px rgba(43, 58, 85, 0.45);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper:      #171B21;
    --paper-deep: #1E232B;
    --card:       #212630;
    --kraft:      #2B2A24;
    --kraft-line: #46412E;
    --ink:        #EFE9DC;
    --ink-soft:   #B4BAC6;
    --ink-faint:  #848C9A;
    --emerald:    #63CFAB;
    --emerald-br: #4FC29C;
    --emerald-bg: #1A2E29;
    --tape:        rgba(79, 194, 156, 0.62);
    --rule:       #333845;
    --shadow:     0 18px 40px -22px rgba(0, 0, 0, 0.7);
    --shadow-lift:0 26px 60px -24px rgba(0, 0, 0, 0.8);
  }
}
:root[data-theme="dark"] {
  --paper:      #171B21;
  --paper-deep: #1E232B;
  --card:       #212630;
  --kraft:      #2B2A24;
  --kraft-line: #46412E;
  --ink:        #EFE9DC;
  --ink-soft:   #B4BAC6;
  --ink-faint:  #848C9A;
  --emerald:    #63CFAB;
  --emerald-br: #4FC29C;
  --emerald-bg: #1A2E29;
  --tape:        rgba(79, 194, 156, 0.62);
  --rule:       #333845;
  --shadow:     0 18px 40px -22px rgba(0, 0, 0, 0.7);
  --shadow-lift:0 26px 60px -24px rgba(0, 0, 0, 0.8);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Karla", ui-sans-serif, system-ui, -apple-system, sans-serif;
  font-size: 17.5px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.wrap { width: min(1120px, 100% - 48px); margin-inline: auto; }
.narrow { width: min(46rem, 100% - 48px); margin-inline: auto; }
.center { text-align: center; }

h1, h2, h3 {
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  font-optical-sizing: auto;
  letter-spacing: -0.018em;
  text-wrap: balance;
  margin: 0;
}
h1 { font-weight: 700; font-size: clamp(2.7rem, 7vw, 4.5rem); line-height: 1.02; }
h2 { font-weight: 600; font-size: clamp(1.9rem, 4.2vw, 2.9rem); line-height: 1.12; }
h3 { font-weight: 600; font-size: 1.3rem; line-height: 1.25; }
p  { margin: 0; }

.hand {
  font-family: "Caveat", ui-rounded, cursive;
  font-size: 1.32rem;
  color: var(--emerald);
  line-height: 1.35;
}
.eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--emerald);
}

/* ---------- buttons ---------- */
.cta {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--emerald-br); color: #fff;
  font-weight: 700; font-size: 1.02rem;
  padding: 16px 30px; border-radius: 999px;
  text-decoration: none; border: none; cursor: pointer;
  box-shadow: var(--shadow);
  transition: transform .18s ease, box-shadow .18s ease;
}
.cta:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.cta:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
:root[data-theme="dark"] .cta, :root:not([data-theme="light"]) .cta { color: #10221C; }
@media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) .cta { color: #fff; } }
.cta-sub { font-size: 14.5px; color: var(--ink-soft); margin-top: 12px; }

/* Pre-launch state: same pill, nothing to click yet. */
.cta--soon { cursor: default; }
.cta--soon:hover { transform: none; box-shadow: var(--shadow); }

/* ---------- device shots (no tape: owner call, 2026-08-26) ---------- */
.shot { position: relative; display: inline-block; }
.shot img {
  display: block; width: 100%; height: auto;
  /* Tighter than the original 0 22px 34px: a wide blur bled outside the
     layout box and got clipped by `body { overflow-x: hidden }` on narrow
     viewports, which read as the shadow changing shape on resize. */
  filter: drop-shadow(0 12px 20px rgba(43, 58, 85, 0.22));
}

/* ---------- hero ---------- */
header.hero { padding: clamp(56px, 8vw, 104px) 0 clamp(40px, 6vw, 72px); }
.hero-grid {
  display: grid; gap: clamp(32px, 5vw, 64px);
  grid-template-columns: 1.06fr 0.94fr; align-items: center;
}
.hero-copy > * + * { margin-top: 20px; }
.hero-lede { font-size: clamp(1.08rem, 1.6vw, 1.28rem); color: var(--ink-soft); max-width: 33ch; }
.brandline {
  display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap;
  font-family: "Fraunces", Georgia, serif; font-weight: 600;
}
.brandline .name { font-size: 1.15rem; }
.brandline .sub {
  font-family: "Karla", sans-serif; font-size: 12.5px; font-weight: 700;
  letter-spacing: 0.13em; text-transform: uppercase; color: var(--ink-faint);
}

/* Flow layout, not absolute positioning: the annotations used to be
   absolutely placed and collided with the phones at some widths. Now the
   phones sit in a flex row and the notes sit in normal flow beneath, so
   nothing can overlap at any viewport size. */
.collage { display: flex; flex-direction: column; gap: 18px; align-items: stretch; }
/* No overlap and no percentage offsets: the phones used to overlap by -7%
   with a 7% top margin, so the front phone's drop-shadow fell across the
   other one's screen and BOTH offsets changed with viewport width — the
   shadow smudge appeared to move and grow as the page resized. Side by
   side with a fixed gap, each shadow lands only on the page background. */
.shots { display: flex; justify-content: center; align-items: flex-start; gap: 5%; }
.shots .c-home  { width: 46%; rotate: -3deg; }
.shots .c-share { width: 46%; rotate: 3.5deg; margin-top: 26px; }
.collage-notes {
  display: flex; justify-content: space-between; gap: 18px;
  flex-wrap: wrap; padding: 0 4px;
}
.collage-notes .hand { max-width: 17ch; }
.collage-notes .hand:last-child { text-align: right; }

/* ---------- contrast band ---------- */
.band { background: var(--paper-deep); padding: clamp(56px, 7vw, 92px) 0; }
.contrast {
  display: grid; gap: 28px; grid-template-columns: 1fr 1fr; margin-top: 36px;
}
.panel {
  background: var(--card); border: 1px solid var(--rule);
  border-radius: 18px; padding: 28px 28px 30px;
}
.panel.then { background: var(--kraft); border-color: var(--kraft-line); }
.panel h3 { margin-bottom: 12px; }
.panel ul { margin: 0; padding-left: 1.1rem; color: var(--ink-soft); }
.panel li { margin-top: 9px; }
.panel.now ul { color: var(--ink); }

/* ---------- verb sections ---------- */
.verb { padding: clamp(60px, 8vw, 104px) 0; border-bottom: 1px solid var(--rule); }
.verb--last { border-bottom: none; }
.verb-grid {
  display: grid; gap: clamp(32px, 5vw, 72px);
  grid-template-columns: 1fr 1fr; align-items: center;
}
.verb:nth-of-type(even) .verb-shot { order: -1; }
.verb-copy > * + * { margin-top: 18px; }
.verb-copy ul { margin: 0; padding-left: 1.15rem; color: var(--ink-soft); }
.verb-copy li { margin-top: 10px; }
.verb-copy li strong { color: var(--ink); }
.verb-shot { display: flex; justify-content: center; }
.verb-shot .shot { width: min(320px, 78%); }

/* ---------- trust / privacy ---------- */
.trust-grid { display: grid; gap: 22px; grid-template-columns: repeat(3, 1fr); margin-top: 36px; }
.trust {
  background: var(--card); border: 1px solid var(--rule);
  border-radius: 16px; padding: 24px 24px 26px;
}
.trust .k {
  font-family: "Fraunces", serif; font-weight: 600; font-size: 1.06rem; margin-bottom: 8px;
}
.trust p { color: var(--ink-soft); font-size: 16px; }

/* ---------- pricing ---------- */
.soft-note { color: var(--ink-soft); margin-top: 16px; }
.prices { display: grid; gap: 20px; grid-template-columns: repeat(3, 1fr); margin-top: 36px; }
.prices-note { margin-top: 22px; }
.price {
  position: relative; background: var(--card); border: 1px solid var(--rule);
  border-radius: 18px; padding: 26px 24px 28px; text-align: center;
}
.price.feature {
  border-color: var(--emerald-br); border-width: 2px; background: var(--emerald-bg);
  /* extra head room so the "Founding price" pill, which straddles the top
     edge, never touches the LIFETIME label beneath it */
  padding-top: 46px;
}
.price .tier {
  font-size: 12px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--ink-faint);
}
.price .amt {
  font-family: "Fraunces", serif; font-weight: 700;
  font-size: 2.3rem; line-height: 1.1; margin-top: 8px;
  font-variant-numeric: tabular-nums;
}
.price .per { font-size: 14.5px; color: var(--ink-soft); }
.price .crown {
  position: absolute; top: -13px; left: 50%; translate: -50% 0;
  background: var(--emerald-br); color: #fff; font-size: 11.5px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; padding: 5px 13px; border-radius: 999px;
}
:root[data-theme="dark"] .price .crown, :root:not([data-theme="light"]) .price .crown { color: #10221C; }

/* ---------- closing ---------- */
.close { padding: clamp(64px, 9vw, 116px) 0; text-align: center; }
.close > * + * { margin-top: 20px; }
.close-lede { color: var(--ink-soft); max-width: 34ch; margin-inline: auto; }

footer {
  border-top: 1px solid var(--rule); padding: 32px 0 56px;
  font-size: 14.5px; color: var(--ink-soft);
}
footer .frow { display: flex; flex-wrap: wrap; gap: 10px 26px; align-items: center; }
footer a { color: var(--emerald); }
.fine { color: var(--ink-faint); }

/* ---------- motion ---------- */
/* Hidden state only when JS is running (html.js), so content is never
   lost if scripts fail — same pattern as the main site. */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }
/* (.collage .shot was still ".taped" here in the source after the rename —
   the selector matched nothing, so the phones lost their entrance. Fixed.) */
.hero-copy > *, .collage .shot, .collage .hand { animation: rise .8s cubic-bezier(.2,.7,.3,1) both; }
.hero-copy > *:nth-child(1) { animation-delay: .05s; }
.hero-copy > *:nth-child(2) { animation-delay: .13s; }
.hero-copy > *:nth-child(3) { animation-delay: .21s; }
.hero-copy > *:nth-child(4) { animation-delay: .29s; }
.collage .c-home  { animation-delay: .2s; }
.collage .c-share { animation-delay: .34s; }
.collage .hand    { animation-delay: .5s; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 880px) {
  .hero-grid, .verb-grid, .contrast { grid-template-columns: 1fr; }
  .verb:nth-of-type(even) .verb-shot { order: 0; }
  .trust-grid, .prices { grid-template-columns: 1fr; }
  .collage-notes { justify-content: center; text-align: center; }
  .collage-notes .hand:last-child { text-align: center; }
  .hero-lede { max-width: none; }
}
@media (max-width: 560px) {
  body { font-size: 16.5px; }
  .wrap, .narrow { width: calc(100% - 36px); }
}
