/* Living Wall site. System fonts only, no frameworks. */
:root {
  color-scheme: dark;
  --bg: #06130c;
  --bg-2: #0a1d13;
  --panel: rgba(214, 240, 200, .045);
  --panel-2: rgba(214, 240, 200, .07);
  --line: rgba(214, 240, 200, .11);
  --line-2: rgba(214, 240, 200, .18);
  --text: #edf3e6;
  --muted: #aebfac;
  --dim: #7f957e;
  --leaf: #a3e36f;
  --leaf-2: #6fbf52;
  --leaf-ink: #0b2412;
  --moss: #1c3a22;
  --radius: 18px;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --serif: ui-serif, "New York", "Iowan Old Style", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 17px/1.6 var(--sans); letter-spacing: -.003em;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--leaf); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--leaf); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { margin: 0; font-weight: 600; }
h1, h2 { font-family: var(--serif); letter-spacing: -.02em; }
p { margin: 0; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 14px; border-radius: 10px; background: var(--leaf); color: var(--leaf-ink); }
.skip:focus { top: 12px; }

/* Platform-specific actions. Without JS, the Mac path shows. */
.not-mac-only { display: none !important; }
.not-mac .not-mac-only { display: flex !important; }
.not-mac .mac-only { display: none !important; }
.not-mac .site-header .not-mac-only { display: inline-flex !important; }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 44px; padding: 0 20px; border-radius: 999px; border: 1px solid transparent;
  font: 600 15px/1 var(--sans); letter-spacing: -.005em; color: var(--text);
  cursor: pointer; text-decoration: none !important; white-space: nowrap;
  transition: transform .2s var(--ease), background-color .2s, box-shadow .2s, border-color .2s;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary {
  background: linear-gradient(180deg, #b6ee86, #8fd65d); color: var(--leaf-ink);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .5) inset, 0 10px 30px -10px rgba(150, 225, 100, .55);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 1px 0 rgba(255, 255, 255, .5) inset, 0 14px 34px -10px rgba(150, 225, 100, .7); }
.btn-ghost { background: var(--panel); border-color: var(--line-2); }
.btn-ghost:hover { background: var(--panel-2); }
.btn-small { min-height: 36px; padding: 0 15px; font-size: 14px; }

/* ----------------------------------------------------------------- header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background-color .3s, border-color .3s, backdrop-filter .3s;
}
.site-header.scrolled {
  background: rgba(6, 19, 12, .72); border-color: var(--line);
  -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3);
}
.header-row { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 9px; color: var(--text); font-weight: 650; font-size: 17px; letter-spacing: -.01em; }
.brand:hover { text-decoration: none; }
.brand-mark { width: 24px; height: 24px; color: var(--leaf); }
.site-header nav { display: flex; gap: 24px; margin-left: auto; }
.site-header nav a { color: var(--muted); font-size: 14.5px; }
.site-header nav a:hover { color: var(--text); text-decoration: none; }
@media (max-width: 760px) { .site-header nav { display: none; } .site-header .btn { margin-left: auto; } }

/* ------------------------------------------------------------------- hero */
.hero { position: relative; padding: clamp(28px, 5vw, 64px) 0 clamp(40px, 6vw, 80px); isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: -64px 0 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 50% at 50% 0%, rgba(120, 190, 90, .16), transparent 70%),
    radial-gradient(40% 40% at 85% 55%, rgba(60, 140, 90, .12), transparent 70%),
    radial-gradient(40% 40% at 10% 70%, rgba(70, 120, 60, .10), transparent 70%);
}
.hero-copy { text-align: center; }
.eyebrow { font: 600 12.5px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--leaf); margin-bottom: 18px; }
.hero h1 { font-size: clamp(40px, 6vw, 70px); line-height: 1.02; max-width: 15ch; margin: 0 auto; text-wrap: balance; }
.lede { max-width: 40em; margin: 22px auto 0; color: var(--muted); font-size: clamp(17px, 1.6vw, 19.5px); text-wrap: pretty; }

.cta-row { margin-top: 32px; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.cta { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.cta .btn-primary { min-height: 52px; padding: 0 26px; font-size: 16.5px; }
.cta-alt { display: flex; gap: 8px; }
.not-mac .cta-alt { display: flex; }
.cta-note { color: var(--dim); font-size: 13.5px; text-align: center; max-width: 34em; }
.limits { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 8px; margin: 0; padding: 0; list-style: none; font-size: 13px; color: var(--muted); }
.limits li { padding: 5px 11px; border: 1px solid var(--line); border-radius: 999px; background: var(--panel); }
.limits li:last-child { border-color: transparent; background: none; padding-left: 4px; }

/* The Mac-desktop frame */
.hero-demo { margin-top: clamp(32px, 4vw, 48px); }
.device { margin: 0; }
.screen {
  --ar: 1440 / 900;
  position: relative; aspect-ratio: var(--ar); overflow: hidden;
  border-radius: clamp(10px, 1.4vw, 18px);
  background: #0a1c12 center / cover no-repeat;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, .08),
    0 0 0 clamp(5px, .8vw, 10px) #0c120e,
    0 0 0 calc(clamp(5px, .8vw, 10px) + 1px) rgba(255, 255, 255, .09),
    0 40px 90px -30px rgba(0, 0, 0, .85),
    0 80px 140px -60px rgba(80, 160, 80, .25);
  margin: clamp(5px, .8vw, 10px);
  contain: layout paint;
}
.stage { position: absolute; left: 0; top: 0; transform-origin: 0 0; }
.stage > .poster, .stage > .wall { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.stage > .wall { opacity: 0; transition: opacity .6s ease; pointer-events: none; }
.is-live .stage > .wall { opacity: 1; }
.poster { background: #0a1c12; }

.menubar {
  position: absolute; left: 0; right: 0; top: 0; height: 26px; z-index: 3;
  display: flex; align-items: center; justify-content: space-between; padding: 0 16px;
  background: rgba(10, 22, 15, .42);
  -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2);
}
.mb-left, .mb-right { display: flex; align-items: center; gap: 14px; }
.mb-left i { display: block; width: 38px; height: 7px; border-radius: 4px; background: rgba(255, 255, 255, .28); }
.mb-left i:first-child { width: 14px; height: 14px; border-radius: 50%; background: rgba(255, 255, 255, .5); }
.mb-right svg { width: 16px; height: 16px; color: #e9ffd9; filter: drop-shadow(0 0 4px rgba(163, 227, 111, .6)); }
.mb-right b { display: block; width: 26px; height: 7px; border-radius: 4px; background: rgba(255, 255, 255, .28); }
[data-layout="compact"] .menubar { height: 36px; }
[data-layout="compact"] .mb-left i { height: 9px; width: 50px; }
[data-layout="compact"] .mb-right svg { width: 22px; height: 22px; }

.desktop { position: absolute; inset: 0; z-index: 2; }
.icon {
  position: absolute; left: 0; top: 0; width: var(--size); padding: 0; margin: 0; border: 0; background: none;
  color: #fff; font: 500 var(--label)/1.25 var(--sans); cursor: grab; touch-action: none;
  will-change: transform; -webkit-tap-highlight-color: transparent; -webkit-user-select: none; user-select: none;
}
.icon svg { width: var(--size); height: var(--size); filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .35)); pointer-events: none; transition: transform .18s ease, filter .18s ease; }
.icon span {
  position: absolute; left: 50%; top: calc(var(--size) + 5px); transform: translateX(-50%);
  padding: 1px 5px; white-space: nowrap; pointer-events: none; letter-spacing: .01em;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .8), 0 0 5px rgba(0, 0, 0, .4);
}
.icon.held { cursor: grabbing; z-index: 5; }
.icon.held svg { filter: drop-shadow(0 9px 12px rgba(0, 0, 0, .45)); transform: scale(1.06); }
.icon:focus-visible { outline: 3px solid var(--leaf); outline-offset: 6px; border-radius: 10px; }
.js .icon { pointer-events: none; }
.is-live .icon { pointer-events: auto; }

.ghost {
  position: absolute; left: 0; top: 0; z-index: 6; width: 34px; height: 34px; pointer-events: none;
  opacity: 0; transition: opacity .25s ease, transform .22s var(--ease);
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .5));
}
[data-layout="compact"] .ghost { width: 42px; height: 42px; }
.ghost.show { opacity: 1; }
.ghost.press { transition: opacity .25s ease; }
.ghost.press path { transform: scale(.9); transform-origin: 5px 3px; }

.hint {
  position: absolute; left: 50%; bottom: 6%; z-index: 7; transform: translate(-50%, 8px);
  padding: 9px 16px; border-radius: 999px; font-size: 14px; font-weight: 600; color: #fff;
  background: rgba(8, 20, 13, .66); border: 1px solid rgba(255, 255, 255, .16);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  opacity: 0; transition: opacity .5s ease, transform .5s var(--ease); pointer-events: none; white-space: nowrap;
}
.hint.show { opacity: 1; transform: translate(-50%, 0); }

.gate {
  position: absolute; inset: auto 0 0 0; z-index: 8; display: flex; flex-direction: column; align-items: center; gap: 12px;
  padding: 40px 20px 22px; text-align: center; font-size: 14.5px; color: #fff;
  background: linear-gradient(transparent, rgba(5, 15, 9, .85));
}
.gate[hidden] { display: none; }
.gate p { max-width: 32em; text-shadow: 0 1px 2px rgba(0, 0, 0, .6); }

.demo-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; margin: 22px 10px 0; }
.demo-label { color: var(--dim); font-size: 13.5px; max-width: 38em; }
.switches { display: flex; gap: 6px; padding: 5px; border-radius: 999px; background: var(--panel); border: 1px solid var(--line); }
.switch {
  display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 14px; border: 0; border-radius: 999px;
  background: transparent; color: var(--muted); font: 500 13.5px/1 var(--sans); cursor: pointer; white-space: nowrap;
}
.switch i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, .25); transition: background .2s, box-shadow .2s; }
.switch[aria-pressed="true"] { background: rgba(255, 255, 255, .08); color: var(--text); }
.switch[aria-pressed="true"] i { background: var(--leaf); box-shadow: 0 0 8px rgba(163, 227, 111, .8); }
.switch:disabled { opacity: .5; cursor: default; }
.switch-tour[aria-pressed="true"] i { background: #ffd27a; box-shadow: 0 0 8px rgba(255, 210, 122, .7); }

.is-capture .menubar, .is-capture .desktop, .is-capture .ghost, .is-capture .hint { display: none !important; }

/* --------------------------------------------------------------- sections */
.section { padding: clamp(72px, 10vw, 128px) 0; border-top: 1px solid var(--line); }
.section-tight { padding: clamp(56px, 8vw, 96px) 0; }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.section h2 { font-size: clamp(30px, 4.2vw, 48px); line-height: 1.08; text-wrap: balance; }
.section-lede { margin-top: 18px; color: var(--muted); font-size: 18px; max-width: 40em; }
h3 { font-size: 19px; letter-spacing: -.012em; line-height: 1.3; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step { position: relative; padding: 28px 26px 30px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); }
.step-n {
  display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 22px; border-radius: 50%;
  font: 600 15px/1 var(--serif); color: var(--leaf); background: rgba(163, 227, 111, .1); border: 1px solid rgba(163, 227, 111, .3);
}
.step p { margin-top: 10px; color: var(--muted); font-size: 16px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

.feature { padding: 28px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); overflow: hidden; }
.feature p { margin-top: 10px; color: var(--muted); font-size: 16px; }
.feature-wide { display: grid; grid-template-columns: minmax(240px, 1fr) 2.4fr; gap: 28px; align-items: center; margin-bottom: 18px; }
.strip { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.strip li { position: relative; }
.strip img, .compare img, .theme img { width: 100%; height: auto; border-radius: 12px; aspect-ratio: 1000 / 573; object-fit: cover; background: var(--moss); }
.strip span {
  position: absolute; left: 10px; bottom: 10px; padding: 4px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 600;
  background: rgba(6, 19, 12, .7); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.feature-grid { display: grid; grid-template-columns: 1.35fr 1fr 1fr; gap: 18px; }
@media (max-width: 980px) {
  .feature-wide { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .feature-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .feature-grid { grid-template-columns: 1fr; }
  .strip { grid-template-columns: 1fr; }
  .feature { padding: 22px; }
}

.compare { --cut: 50%; position: relative; margin-top: 20px; border-radius: 12px; overflow: hidden; }
.compare img { display: block; border-radius: 0; }
.compare-top { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--cut)) 0 0); }
.compare::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: var(--cut); width: 2px; margin-left: -1px;
  background: rgba(255, 255, 255, .85); box-shadow: 0 0 10px rgba(0, 0, 0, .5); pointer-events: none;
}
.compare-tag { position: absolute; top: 10px; padding: 3px 9px; border-radius: 999px; font-size: 12px; font-weight: 600; background: rgba(6, 19, 12, .7); pointer-events: none; }
.compare-tag-l { left: 10px; } .compare-tag-r { right: 10px; }
.compare input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.compare:focus-within { outline: 2px solid var(--leaf); outline-offset: 3px; }

.facts { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; font-size: 14.5px; color: var(--text); }
.facts li { display: flex; gap: 10px; align-items: baseline; }
.facts li::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--leaf); transform: translateY(-2px); }

.menu-mock {
  margin-top: 20px; padding: 6px; border-radius: 12px; display: grid; gap: 2px;
  background: rgba(20, 34, 25, .8); border: 1px solid var(--line-2); box-shadow: 0 18px 40px -20px rgba(0, 0, 0, .8);
}
.menu-row {
  display: flex; align-items: center; justify-content: space-between; min-height: 44px; padding: 0 12px; border: 0; border-radius: 8px;
  background: transparent; color: var(--text); font: 500 15px/1 var(--sans); cursor: pointer;
}
.menu-row:hover { background: rgba(255, 255, 255, .05); }
.menu-row i { position: relative; width: 38px; height: 22px; border-radius: 999px; background: rgba(255, 255, 255, .16); transition: background .2s; }
.menu-row i::after { content: ""; position: absolute; left: 2px; top: 2px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .25s var(--ease); box-shadow: 0 1px 3px rgba(0, 0, 0, .4); }
.menu-row[aria-pressed="true"] i { background: var(--leaf-2); }
.menu-row[aria-pressed="true"] i::after { transform: translateX(16px); }
.menu-row:disabled { opacity: .55; cursor: default; }

.reqs { margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.reqs > div { padding: 26px 24px; border-left: 1px solid var(--line); }
.reqs > div:first-child { border-left: 0; }
.reqs dt { font-weight: 600; font-size: 16.5px; }
.reqs dd { margin: 8px 0 0; color: var(--muted); font-size: 15px; }
@media (max-width: 980px) {
  .reqs { grid-template-columns: 1fr 1fr; }
  .reqs > div:nth-child(3) { border-left: 0; }
  .reqs > div:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .reqs { grid-template-columns: 1fr; }
  .reqs > div { border-left: 0; }
  .reqs > div + div { border-top: 1px solid var(--line); }
}

.privacy { background: radial-gradient(80% 60% at 50% 0%, rgba(90, 160, 80, .09), transparent 70%), var(--bg-2); }
.privacy-inner > div:first-child { max-width: 760px; }
.privacy-points { list-style: none; margin: 44px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.privacy-points li { display: flex; gap: 16px; }
.privacy-points svg { flex: none; width: 26px; height: 26px; fill: none; stroke: var(--leaf); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-top: 2px; }
.privacy-points p { margin-top: 8px; color: var(--muted); font-size: 16px; }
.privacy-more { margin-top: 36px; }
@media (max-width: 860px) { .privacy-points { grid-template-columns: 1fr; gap: 26px; } }

.themes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 16px; align-items: start; }
.theme { display: flex; flex-direction: column; gap: 14px; padding: 12px 12px 18px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); }
.theme > div:last-child { padding: 0 6px; }
.theme p { margin-top: 2px; font-size: 14px; color: var(--dim); }
.theme-now p { color: var(--leaf); }
.theme img { aspect-ratio: 16 / 10; }
.blob { aspect-ratio: 16 / 10; border-radius: 12px; position: relative; overflow: hidden; background: #0d1d15; }
.blob::before, .blob::after { content: ""; position: absolute; border-radius: 50%; filter: blur(22px); opacity: .75; animation: drift 14s ease-in-out infinite alternate; }
.blob-a::before { width: 70%; height: 80%; left: -10%; top: 20%; background: #3d6f8f; }
.blob-a::after  { width: 60%; height: 60%; right: -10%; top: -10%; background: #c9b27a; animation-delay: -5s; }
.blob-b::before { width: 80%; height: 70%; left: 10%; top: 30%; background: #6a4f8e; }
.blob-b::after  { width: 50%; height: 50%; left: -10%; top: -5%; background: #d98b6a; animation-delay: -3s; }
.blob-c::before { width: 75%; height: 75%; right: -15%; bottom: -20%; background: #2f6b5a; }
.blob-c::after  { width: 55%; height: 55%; left: 0; top: 0; background: #b9c8d6; animation-delay: -8s; }
@keyframes drift { to { transform: translate(8%, -6%) scale(1.08); } }
@media (max-width: 980px) { .themes { grid-template-columns: 1fr 1fr; } .theme-now { grid-column: 1 / -1; } }
@media (max-width: 560px) { .themes { grid-template-columns: 1fr 1fr; gap: 10px; } .theme-soon h3 { font-size: 16px; } }

.download { border-top: 0; padding-top: 0; }
.download-card {
  position: relative; text-align: center; padding: clamp(40px, 6vw, 72px) clamp(20px, 5vw, 64px);
  border-radius: 26px; border: 1px solid var(--line-2); overflow: hidden;
  background:
    radial-gradient(70% 90% at 50% 0%, rgba(140, 210, 100, .18), transparent 70%),
    linear-gradient(180deg, #0f2a1a, #0a1d13);
}
.download-mark { width: 44px; height: 44px; margin: 0 auto 22px; color: var(--leaf); }
.download-card h2 { font-size: clamp(30px, 4vw, 44px); }
.download-card > p { margin: 14px auto 0; max-width: 34em; color: var(--muted); }
.download-actions { margin-top: 28px; display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; }
.fine { margin-top: 20px !important; font-size: 13px; color: var(--dim) !important; }

.faq-wrap { max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative;
  font-size: 18px; font-weight: 600; letter-spacing: -.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; margin-top: -7px;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform .25s var(--ease);
}
.faq details[open] summary::after { transform: rotate(225deg); margin-top: -2px; }
.faq details p { padding: 0 0 24px; color: var(--muted); max-width: 44em; }

/* ----------------------------------------------------------------- footer */
.site-footer { border-top: 1px solid var(--line); padding: 44px 0 calc(44px + env(safe-area-inset-bottom)); font-size: 14.5px; }
.footer-row { display: grid; grid-template-columns: 1fr auto; gap: 18px 32px; align-items: start; }
.footer-brand p { margin-top: 8px; color: var(--dim); }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 26px; }
.footer-links a { color: var(--muted); }
.footer-links a:hover { color: var(--text); }
.footer-fine { grid-column: 1 / -1; color: var(--dim); font-size: 12.5px; }
@media (max-width: 640px) { .footer-row { grid-template-columns: 1fr; } }

/* ------------------------------------------------------- stub pages (doc) */
.doc { padding: clamp(48px, 8vw, 96px) 0; }
.doc .wrap { max-width: 780px; }
.doc h1 { font-size: clamp(34px, 5vw, 52px); line-height: 1.05; }
.doc h2 { font-size: 26px; margin-top: 44px; }
.doc p, .doc li { color: var(--muted); }
.doc p { margin-top: 14px; }
.doc ol, .doc ul { padding-left: 22px; }
.doc li { margin-top: 8px; }
.doc strong { color: var(--text); font-weight: 600; }
.doc .note { margin-top: 28px; padding: 14px 18px; border-radius: 12px; border: 1px dashed rgba(255, 210, 122, .45); background: rgba(255, 210, 122, .06); color: #f1dcae; font-size: 14.5px; }

/* --------------------------------------------------------- scroll reveals */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.steps .reveal:nth-child(2), .privacy-points .reveal:nth-child(2), .themes .reveal:nth-child(2), .feature-grid .reveal:nth-child(2) { transition-delay: .08s; }
.steps .reveal:nth-child(3), .privacy-points .reveal:nth-child(3), .themes .reveal:nth-child(3), .feature-grid .reveal:nth-child(3) { transition-delay: .16s; }
.themes .reveal:nth-child(4) { transition-delay: .24s; }

/* ------------------------------------------------------------ phone sizes */
@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero h1 { font-size: clamp(36px, 11vw, 48px); }
  .cta, .cta .btn-primary { width: 100%; }
  .cta-alt { width: 100%; }
  .cta-alt .btn { flex: 1; }
  .screen { margin: 4px; }
  .demo-bar { margin: 16px 0 0; flex-direction: column-reverse; align-items: stretch; }
  .switches { justify-content: space-between; }
  .switch { flex: 1; justify-content: center; padding: 0 8px; }
  .limits { font-size: 12.5px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .blob::before, .blob::after { animation: none; }
  .btn, .hint, .ghost, .stage > .wall { transition: none; }
}

/* Poster capture (build step only, ?capture): the wall fills the viewport at 1:1. */
.capture .site-header, .capture main > :not(.hero), .capture .site-footer, .capture .hero-copy, .capture .demo-bar { display: none !important; }
.capture .hero { isolation: auto; }
.is-capture .screen { position: fixed; inset: 0; z-index: 1000; margin: 0; border-radius: 0; aspect-ratio: auto; box-shadow: none; }

/* Phone: show the live demo before the actions, so it is in the first screen. */
@media (max-width: 640px) {
  .hero { display: flex; flex-direction: column; padding-top: 20px; }
  .hero-copy { display: contents; }
  .hero-copy > * { padding-left: var(--gutter); padding-right: var(--gutter); }
  .hero .eyebrow { order: 1; margin-bottom: 12px; }
  .hero h1 { order: 2; font-size: clamp(34px, 10vw, 44px); }
  .hero .lede { order: 3; margin-top: 14px; font-size: 16.5px; }
  .hero-demo { order: 4; margin-top: 22px; }
  .hero .cta-row { order: 5; margin-top: 26px; width: 100%; }
}
