/* Klip landing — pine/paper editorial: fluid type scale, 8pt section rhythm, 20/16 radius family, one button system */
:root {
  --pine: #0a1e14;
  --pine-2: #0e271b;
  --paper: #f5efe0;
  --sage: #cbdccf;
  --leaf: #7ee2a8;
  --amber: #e9b44c;
  --amber-ink: #1a1405;
  --paper-ink: #14261c;
  --line: rgba(245, 239, 224, 0.16);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --r1: 16px;
  --r2: 20px;
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-6: 48px;
  --space-8: 64px;
  --space-10: 80px;
  --shadow-card: 0 8px 24px rgba(0, 0, 0, 0.25);
  --shadow-lift: 0 16px 40px rgba(0, 0, 0, 0.35);
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth; scroll-padding-top: 96px;
  scrollbar-width: thin; scrollbar-color: rgba(245, 239, 224, 0.28) transparent;
}
body {
  margin: 0;
  font-family: "Inter Tight", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: clamp(1rem, 0.94rem + 0.3vw, 1.0625rem); line-height: 1.6;
  background: var(--pine); color: var(--paper);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
img { max-width: 100%; }

/* ---------- backdrop: dither art + lighting scrims + grain ---------- */
.bg-fixed {
  position: fixed; inset: -6% 0; z-index: -3;
  background-color: var(--pine);
  background-image:
    linear-gradient(to bottom, rgba(10,30,20,0) 52%, var(--pine) 96%),
    radial-gradient(70% 46% at 50% 0%, rgba(233,180,76,0.12), transparent 70%),
    url("assets/bg-dither.png");
  background-size: 100% 100%, 100% 60%, 1440px auto;
  background-position: center, center top, center top;
  background-repeat: no-repeat;
  will-change: transform;
}
.bg-sky { position: fixed; inset: 0; z-index: -2; pointer-events: none; background: url("assets/bg-dither.png") center top / 1440px auto repeat-y; opacity: 0.22; -webkit-mask-image: linear-gradient(to bottom, black 0%, transparent 45%); mask-image: linear-gradient(to bottom, black 0%, transparent 45%); will-change: transform; }
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(10,30,20,0.42), rgba(10,30,20,0.72) 40%, rgba(10,30,20,0.9)),
    radial-gradient(60% 40% at 50% 0%, rgba(233,180,76,0.14), transparent 70%),
    radial-gradient(50% 30% at 50% 100%, rgba(126,226,168,0.1), transparent 70%);
}
.grain { position: fixed; inset: 0; z-index: 50; pointer-events: none; opacity: 0.05; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* ---------- type: fluid scale, consistent tracking/leading ---------- */
h1, h2, h3 { font-family: "Fraunces", Georgia, serif; font-weight: 600; letter-spacing: -0.02em; line-height: 1.08; margin: 0; text-wrap: balance; text-shadow: 0 2px 24px rgba(0,0,0,0.55); }
.hero .sub, .lede, .card p, .faq-row .a p, .wall-card figcaption, .wip-card p { text-wrap: pretty; }
.panel h2, .final h2 { font-size: clamp(1.875rem, 1.5rem + 1.9vw, 2.5rem); line-height: 1.08; letter-spacing: -0.02em; text-wrap: balance; }
.card h3 { font-size: clamp(1.125rem, 1.05rem + 0.35vw, 1.25rem); line-height: 1.3; letter-spacing: -0.015em; }
.lede { color: var(--sage); font-size: clamp(1rem, 0.96rem + 0.35vw, 1.125rem); line-height: 1.65; max-width: 680px; margin: 16px 0 0; text-shadow: 0 1px 12px rgba(0,0,0,0.6); }
code, kbd { font-family: ui-monospace, "SF Mono", monospace; font-size: 0.86em; background: rgba(0,0,0,0.45); border: 1px solid var(--line); border-radius: 8px; padding: 2px 7px; }

/* ---------- ONE button: primary / ghost / small ---------- */
.dl-btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  height: 52px; padding: 0 28px; min-width: 200px;
  background: var(--amber); color: var(--amber-ink);
  font: 700 15.5px "Inter Tight", sans-serif; text-decoration: none;
  border: 0; border-radius: 999px; cursor: pointer; overflow: hidden; white-space: nowrap;
  box-shadow: 0 6px 24px rgba(233,180,76,0.3);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background-color 0.2s, border-color 0.2s;
}
.dl-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 32px rgba(233,180,76,0.45); }
.dl-btn:focus-visible { transform: translateY(-2px); box-shadow: 0 10px 32px rgba(233,180,76,0.45); }
.dl-btn:active { transform: translateY(0) scale(0.97); }
.dl-btn.ghost { background: rgba(245,239,224,0.1); color: var(--paper); border: 1px solid var(--line); box-shadow: none; }
.dl-btn.ghost:hover, .dl-btn.ghost:focus-visible { background: rgba(245,239,224,0.16); border-color: rgba(233,180,76,0.5); box-shadow: 0 10px 28px rgba(0,0,0,0.35); }
.dl-btn.ghost:active { transform: translateY(0) scale(0.97); background: rgba(245,239,224,0.2); box-shadow: none; }
.dl-btn.small { height: 42px; padding: 0 22px; min-width: 0; font-size: 14px; }
.dl-btn:disabled, .dl-btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; transform: none; box-shadow: none; }
.dl-btn.ghost:disabled, .dl-btn.ghost[aria-disabled="true"] { background: rgba(245,239,224,0.06); border-color: var(--line); }
.dl-text { transition: opacity 0.15s linear 0.06s; }
.dl-apple { position: absolute; display: flex; color: var(--leaf); transform: scale(0.5); opacity: 0; transition: opacity 0.15s linear, transform 0.25s var(--ease); filter: drop-shadow(0 0 8px rgba(126,226,168,0.6)); }
@media (hover: hover) {
  .dl-btn:hover .dl-text { opacity: 0; transition-delay: 0.08s; }
  .dl-btn:hover .dl-apple { opacity: 1; transform: scale(1.15); transition: opacity 0.12s linear, transform 0.22s var(--ease); }
}

*:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }
:focus:not(:focus-visible) { outline: none; }
::selection { background: var(--amber); color: var(--amber-ink); }
.dl-btn:focus-visible { outline-offset: 4px; }
.nav-wrap { position: fixed; top: 14px; left: 0; right: 0; z-index: 100; display: flex; flex-direction: column; align-items: center; padding: 0 16px; }
.nav-pill {
  display: flex; align-items: center; gap: 16px;
  height: 68px; padding: 0 12px 0 20px; width: 100%; max-width: 760px; justify-content: space-between;
  background: rgba(10, 30, 20, 0.7);
  backdrop-filter: saturate(1.6) blur(20px); -webkit-backdrop-filter: saturate(1.6) blur(20px);
  border: 1px solid var(--line); border-radius: 999px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.35);
  transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.nav-pill.scrolled { background: rgba(10, 30, 20, 0.88); border-color: rgba(245, 239, 224, 0.22); box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45); }
.brand { display: flex; align-items: center; gap: 8px; color: var(--paper); text-decoration: none; font-weight: 700; font-size: 17px; }
.brand img { border-radius: 8px; }
.nav-links { display: flex; gap: 2px; }
.nav-links a { position: relative; color: rgba(245,239,224,0.9); text-decoration: none; font-size: 14px; font-weight: 500; padding: 10px 13px; border-radius: 999px; transition: color 0.2s, background-color 0.2s; text-shadow: 0 1px 8px rgba(0,0,0,0.5); }
.nav-links a:hover, .nav-links a:focus-visible { color: var(--paper); background: rgba(245,239,224,0.08); }
.nav-links a::after { content: ""; position: absolute; left: 13px; right: 13px; bottom: 5px; height: 2px; border-radius: 2px; background: var(--amber); transform: scaleX(0); transition: transform 0.28s var(--ease), height 0.2s var(--ease), box-shadow 0.2s var(--ease); }
.nav-links a:hover::after, .nav-links a:focus-visible::after { transform: scaleX(0.55); }
.nav-links a.active::after { transform: scaleX(1); }
.nav-links a.active:hover::after { height: 4px; box-shadow: 0 0 10px rgba(233,180,76,0.8); }
/* download expands inline: 0fr -> 1fr grid trick, smooth both ways */
.nav-burger { display: none; background: none; border: 0; border-radius: 12px; color: var(--paper); cursor: pointer; padding: 12px; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; transition: background-color 0.2s; }
.nav-burger:hover, .nav-burger:focus-visible { background: rgba(245,239,224,0.08); }
.nav-burger svg { width: 20px; height: 20px; }
.skip { position: fixed; top: -60px; left: 16px; z-index: 200; background: var(--amber); color: var(--amber-ink); font-weight: 700; font-size: 14px; padding: 10px 18px; border-radius: 999px; text-decoration: none; transition: top 0.2s var(--ease); }
.skip:focus { top: 12px; }
.nav-mobile { display: none; flex-direction: column; gap: 4px; margin-top: 8px; padding: 8px; width: 100%; max-width: 760px; background: rgba(10,30,20,0.94); backdrop-filter: saturate(1.4) blur(20px); -webkit-backdrop-filter: saturate(1.4) blur(20px); border: 1px solid var(--line); border-radius: var(--r2); box-shadow: 0 24px 64px rgba(0,0,0,0.5); }
.nav-mobile.open { display: flex; animation: menuIn 0.25s var(--ease); }
.nav-mobile a { display: flex; align-items: center; min-height: 44px; color: var(--paper); text-decoration: none; padding: 10px 14px; border-radius: var(--r1); font-size: 15px; font-weight: 500; transition: background-color 0.2s; }
.nav-mobile a:hover, .nav-mobile a:focus-visible { background: rgba(245,239,224,0.1); }
.nav-mobile a:active { background: rgba(245,239,224,0.16); }

/* ---------- layout rhythm: 8pt grid ---------- */
main { display: block; }
.panel { max-width: 1080px; margin: 0 auto; padding: clamp(48px, 6vw, 80px) 20px 0; }
.hero { max-width: 1080px; margin: 0 auto; text-align: center; padding: 150px 20px 0; }
.hero h1 { font-size: clamp(2.5rem, 1.5rem + 4.5vw, 4rem); line-height: 1.02; letter-spacing: -0.025em; max-width: 16ch; margin: 0 auto; }
.hero h1 u { text-decoration: none; background: linear-gradient(var(--amber), var(--amber)) left bottom / 0% 3px no-repeat; padding-bottom: 8px; transition: background-size 0.9s var(--ease) 1s; }
.hero h1.in u { background-size: 100% 3px; }
.hero .sub { max-width: 68ch; margin: 24px auto 0; color: var(--sage); font-size: clamp(1rem, 0.96rem + 0.35vw, 1.125rem); line-height: 1.65; text-shadow: 0 1px 12px rgba(0,0,0,0.6); }
.hero .sub strong { color: var(--paper); }
.app-duo { display: flex; gap: 48px; justify-content: center; flex-wrap: wrap; margin: 0 auto 32px; }
.app-mini { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.app-mini img { width: 72px; height: 72px; border-radius: 22%; box-shadow: 0 10px 32px rgba(0,0,0,0.5); transition: transform 0.3s var(--ease); }
.app-mini img:hover { transform: scale(1.06) rotate(-2deg); }
.app-mini .tag { margin: 0; color: var(--amber); font-weight: 600; font-size: 14px; }
.badges { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 24px; }
.badges span { font-size: 13px; font-weight: 600; padding: 8px 16px; border-radius: 999px; background: rgba(10,30,20,0.55); border: 1px solid var(--line); color: var(--paper); text-shadow: 0 1px 8px rgba(0,0,0,0.6); }
.flow-strip p { text-shadow: 0 1px 8px rgba(0,0,0,0.6); }

/* flow strip: numbers, no cards */
.flow-strip { display: flex; gap: 32px; justify-content: center; flex-wrap: wrap; max-width: 900px; margin: 48px auto 0; padding: 24px 0 0; border-top: 1px solid var(--line); }
.flow-strip div { display: flex; gap: 16px; align-items: baseline; max-width: 260px; text-align: left; }
.flow-strip .n { font-family: "Fraunces", serif; color: var(--amber); font-size: 22px; }
.flow-strip p { margin: 0; font-size: 14px; color: var(--sage); }
.flow-strip strong { color: var(--paper); }

/* ---------- video spotlight ---------- */
.spot { position: relative; height: 180vh; margin-top: 24px; }
.spot-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 24px; overflow: hidden; padding: 0 20px; }
.spot-veil { position: absolute; inset: 0; background: rgba(10,30,20,0); backdrop-filter: blur(0px); -webkit-backdrop-filter: blur(0px); -webkit-mask-image: linear-gradient(to bottom, transparent, black 14%, black 86%, transparent); mask-image: linear-gradient(to bottom, transparent, black 14%, black 86%, transparent); }
.spot-frame { position: relative; z-index: 2; width: min(960px, 92vw); transform: scale(0.96); border-radius: var(--r2); overflow: hidden; border: 1px solid var(--line); background: #000; box-shadow: 0 24px 72px rgba(0,0,0,0.5); }
.spot-frame video { display: block; width: 100%; aspect-ratio: 1280 / 832; cursor: pointer; }
.spot-mute { position: absolute; right: 14px; bottom: 14px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: rgba(10,30,20,0.6); color: var(--paper); cursor: pointer; backdrop-filter: blur(8px); display: flex; align-items: center; justify-content: center; transition: transform 0.2s var(--ease); }
.spot-mute:hover, .spot-mute:focus-visible { transform: scale(1.08); }
.spot-mute:active { transform: scale(0.95); }
.spot-mute svg { width: 20px; height: 20px; }
.spot-mute .ic-on { display: none; }
.spot-mute.live .ic-on { display: block; }
.spot-mute.live .ic-muted { display: none; }

/* ---------- compatibility wall ---------- */
.wall-panel { max-width: none; padding-left: 0; padding-right: 0; }
.wall-panel h2, .wall-panel .lede { max-width: 1080px; margin-left: auto; margin-right: auto; padding-left: 20px; padding-right: 20px; }
.wall-panel .lede { margin-top: 16px; }
.wall-track { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 24px max(20px, calc((100vw - 1080px) / 2 + 20px)) 8px; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, transparent, black 6%, black 94%, transparent); mask-image: linear-gradient(90deg, transparent, black 6%, black 94%, transparent); }
.wall-track::-webkit-scrollbar { display: none; }
.wall-card { flex: 0 0 340px; max-width: 78vw; scroll-snap-align: center; margin: 0; }
.wall-img { display: flex; align-items: center; justify-content: center; aspect-ratio: 16 / 9; }
.wall-img img { width: 96px; height: 96px; object-fit: contain; filter: drop-shadow(0 0 18px rgba(126,226,168,0.35)); }
/* wide text-mark logos carry padding/letterforms: compensate so all read the same size */
.wall-img img[src*="wps-"],
.wall-img img[src*="googledocs"] { width: 116px; height: 116px; }
.wall-card figcaption { margin-top: 16px; font-size: 15px; line-height: 1.6; color: var(--sage); max-width: 52ch; }
.wall-card figcaption strong { color: var(--paper); }
.wall-ctrl { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 16px; margin-top: 24px; padding: 0 20px; }
.wall-dots { display: flex; align-items: center; gap: 8px; background: rgba(245,239,224,0.08); border: 1px solid var(--line); padding: 8px 16px; border-radius: 999px; }
.wall-dots button { width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; border: 0; border-radius: 8px; background: none; cursor: pointer; padding: 0; }
.wall-dots button::after { content: ""; width: 6px; height: 6px; border-radius: 999px; background: rgba(245,239,224,0.4); transition: width 0.3s var(--ease), background 0.3s; }
.wall-dots button:hover::after { background: rgba(245,239,224,0.7); }
.wall-dots button.on::after { width: 24px; background: var(--amber); }
.wall-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: rgba(245,239,224,0.08); color: var(--paper); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: transform 0.2s var(--ease), background 0.2s; font-size: 15px; }
.wall-btn:hover, .wall-btn:focus-visible { transform: scale(1.08); background: rgba(245,239,224,0.14); }
.wall-btn:active { transform: scale(0.95); }
.wall-btn svg { width: 16px; height: 16px; }

/* ---------- features: uniform grid, one card language ---------- */
.bento { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 24px; margin-top: 24px; }
.card { background: var(--pine-2); border: 1px solid var(--line); border-radius: var(--r2); padding: 24px; box-shadow: var(--shadow-card); transition: border-color 0.25s, transform 0.25s var(--ease), box-shadow 0.25s; }
.card:hover { border-color: rgba(233,180,76,0.45); transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.card:focus-within { border-color: rgba(233,180,76,0.45); }
.card h3 { font-size: clamp(1.125rem, 1.05rem + 0.35vw, 1.25rem); line-height: 1.3; letter-spacing: -0.015em; margin: 0 0 8px; }
.card p { margin: 0; color: var(--sage); font-size: 15px; line-height: 1.6; }

/* ---------- FAQ: scattered glass pills ---------- */
.faq { display: flex; flex-direction: column; gap: 16px; margin-top: 24px; }
.faq-row { display: flex; }
.faq-row.left { justify-content: flex-start; }
.faq-row.right { justify-content: flex-end; }
.faq-row details { width: 100%; max-width: 560px; }
.faq-row summary { display: flex; align-items: center; gap: 14px; cursor: pointer; list-style: none; }
.faq-row summary::-webkit-details-marker { display: none; }
.q-pill { flex: 1; min-width: 0; background: rgba(245,239,224,0.07); border: 1px solid var(--line); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); color: var(--paper); font-weight: 600; font-size: 16px; line-height: 1.4; padding: 16px 32px; border-radius: 999px; transition: transform 0.25s var(--ease), border-color 0.25s; }
.faq-row details:hover .q-pill { transform: translateY(-2px); border-color: rgba(233,180,76,0.4); }
.faq-row details[open] .q-pill { border-color: rgba(233,180,76,0.55); }
.faq-row details[open]:hover .q-pill { border-color: rgba(233,180,76,0.7); }
.q-plus { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid rgba(245,239,224,0.45); color: var(--paper); display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 300; line-height: 1; padding-bottom: 3px; transition: transform 0.3s var(--ease), background 0.3s, border-color 0.3s, color 0.3s; }
/* + ink sits ~1.7px low in Inter Tight: bottom padding lifts content only, ring stays centered; composes with open-state rotate */
.faq-row details[open] .q-plus { transform: rotate(45deg); background: var(--amber); border-color: var(--amber); color: var(--amber-ink); }
.faq-row .a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.3s var(--ease); }
.faq-row details[open] .a { grid-template-rows: 1fr; }
.faq-row .a > div { overflow: hidden; opacity: 0; transform: translateY(-6px); transition: opacity 0.25s var(--ease), transform 0.3s var(--ease); }
.faq-row details[open] .a > div { opacity: 1; transform: none; }
.faq-row .a p { margin: 0; padding: 16px 32px 0; color: var(--sage); font-size: 15px; line-height: 1.6; }

/* ---------- final ---------- */
.final { text-align: center; padding: clamp(48px, 6vw, 80px) 20px 0; max-width: 720px; margin: 0 auto; }
.final-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 24px; }

/* ---------- slim footer + wordmark ---------- */
footer { margin-top: clamp(48px, 6vw, 80px); border-top: 1px solid var(--line); background: rgba(10,30,20,0.8); backdrop-filter: blur(16px); padding: 40px 20px 0; overflow: hidden; }
.foot-row { max-width: 1080px; margin: 0 auto; display: flex; gap: 16px 32px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.foot-brand { display: flex; align-items: center; gap: 16px; font-weight: 700; }
.foot-brand img { border-radius: 8px; }
.foot-brand small { display: block; font-weight: 400; color: var(--sage); font-size: 13px; }
.foot-links { display: flex; gap: 4px 8px; flex-wrap: wrap; }
.foot-links a { color: var(--sage); text-decoration: none; font-size: 14px; padding: 8px 10px; border-radius: var(--r1); transition: color 0.2s, background 0.2s; }
.foot-links a:hover, .foot-links a:focus-visible { color: var(--paper); background: rgba(245,239,224,0.08); }
.wordmark { font-family: "Fraunces", serif; font-weight: 700; font-size: clamp(96px, 23vw, 300px); letter-spacing: -0.04em; line-height: 0.85; text-align: center; color: rgba(245,239,224,0.07); margin: 32px 0 -0.12em; user-select: none; }
.copy { text-align: center; color: var(--sage); font-size: 13px; margin: 0; padding: 16px 0 24px; position: relative; }

/* ---------- license plans: symmetric bundle-over-duo ---------- */
.plans { max-width: 1080px; margin: 0 auto; padding: 150px 20px 0; text-align: center; }
.plans-head h1 { font-size: clamp(2.5rem, 1.5rem + 4.5vw, 4rem); line-height: 1.02; letter-spacing: -0.025em; max-width: 16ch; margin: 0 auto; }
.plans-head .lede { margin-left: auto; margin-right: auto; }
.plans-head .badges { margin-top: 20px; }
.plans-grid { display: flex; flex-direction: column; align-items: center; gap: 24px; margin-top: 36px; }
.plan { background: var(--pine-2); border: 1px solid var(--line); border-radius: var(--r2); box-shadow: var(--shadow-card); padding: 28px 28px 30px; width: 100%; max-width: 560px; text-align: center; transition: border-color 0.25s, transform 0.25s var(--ease), box-shadow 0.25s; }
.plan:hover { border-color: rgba(233,180,76,0.45); transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.plan.featured { border-color: rgba(233,180,76,0.55); box-shadow: var(--shadow-lift); }
.plan-badge { display: inline-block; margin: 0 0 12px; padding: 6px 14px; border-radius: 999px; background: var(--amber); color: var(--amber-ink); font-size: 13px; font-weight: 700; }
.plan-badge.blue { background: #4d9fff; color: #06121f; }
.plan.wide { max-width: 840px; margin-left: auto; margin-right: auto; }
.plan h2 { font-size: clamp(1.5rem, 1.3rem + 0.8vw, 1.875rem); }
.plan-price { font-family: "Fraunces", Georgia, serif; font-weight: 600; font-size: 2rem; line-height: 1.1; letter-spacing: -0.02em; margin: 8px 0 0; text-shadow: 0 2px 24px rgba(0,0,0,0.55); }
.plan-for { color: var(--sage); font-size: 15px; line-height: 1.6; margin: 8px 0 0; text-wrap: pretty; }
.plan-list { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; text-align: left; }
.plan-list li { position: relative; padding-left: 28px; color: var(--sage); font-size: 15px; line-height: 1.55; }
.plan-list li::before { content: "✓"; position: absolute; left: 2px; top: 0; color: var(--leaf); font-weight: 700; }
.plans-duo { display: flex; gap: 24px; justify-content: center; align-items: stretch; width: 100%; max-width: 840px; }
.plans-duo .plan { flex: 1 1 0; max-width: none; }
.plan .dl-btn { width: 100%; min-width: 0; margin-top: 22px; }
.plan-fine { font-size: 13px; line-height: 1.5; color: rgba(203,220,207,0.78); margin: 14px 0 0; }
.plans-note { color: var(--sage); font-size: 15px; margin: 8px 0 0; text-shadow: 0 1px 8px rgba(0,0,0,0.6); }
.plans-fine { color: rgba(203,220,207,0.78); font-size: 13px; line-height: 1.5; margin: 0; }
/* seal buttons: same lift/glow/press as .dl-btn, icon stays visible (no hover swap) */
.dl-seal { display: inline-flex; flex: 0 0 auto; margin-right: 10px; transform-origin: center; }
.dl-seal .seal-shield { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.dl-seal .seal-check { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.dl-btn.ghost .dl-seal .seal-shield,
.dl-btn.ghost .dl-seal .seal-check { stroke: currentColor; }
.dl-apple .dl-seal { margin-right: 0; }
@media (hover: hover) {
  .dl-btn.has-seal:hover .dl-text { opacity: 1; }
  .dl-btn.has-seal:hover .dl-seal,
  .dl-btn:hover .dl-apple .dl-seal { animation: sealPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1); }
}
/* hover never fires for keyboard/touch: same pop on focus + press (reduced-motion kill below still wins) */
.dl-btn.has-seal:focus-visible .dl-seal,
.dl-btn.has-seal:active .dl-seal,
.dl-btn:focus-visible .dl-apple .dl-seal,
.dl-btn:active .dl-apple .dl-seal { animation: sealPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1); }
@keyframes sealPop {
  0% { transform: scale(1) rotate(0deg); }
  45% { transform: scale(1.22) rotate(-6deg); }
  75% { transform: scale(0.95) rotate(2deg); }
  100% { transform: scale(1) rotate(0deg); }
}
@media (prefers-reduced-motion: reduce) {
  .dl-btn.has-seal:hover .dl-seal,
  .dl-btn:hover .dl-apple .dl-seal,
  .dl-btn.has-seal:focus-visible .dl-seal,
  .dl-btn:active .dl-apple .dl-seal { animation: none; }
}

/* ---------- license WIP (legacy, unused) ---------- */
.wip { min-height: 70vh; display: flex; align-items: center; justify-content: center; padding: 140px 20px 60px; }
.wip-card { text-align: center; background: var(--pine-2); border: 1px solid var(--line); border-radius: var(--r2); box-shadow: var(--shadow-card); padding: 56px 48px; max-width: 520px; }
.wip-card h1 { font-size: 40px; margin: 12px 0 10px; }
.wip-card p { color: var(--sage); }
.wip-card .dl-btn { margin-top: 18px; }
.wip-card .fine { font-size: 13px; line-height: 1.5; color: rgba(203,220,207,0.78); margin: 18px 0 0; }

/* ---------- page-open choreography ---------- */
@keyframes navDrop { from { opacity: 0; transform: translateY(-18px); } to { opacity: 1; transform: none; } }
@keyframes riseIn { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes popIn { from { opacity: 0; transform: scale(0.8); } to { opacity: 1; transform: scale(1); } }
@keyframes menuIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.nav-pill { animation: navDrop 0.7s var(--ease) backwards; }
.hero .app-mini:first-child { animation: popIn 0.55s var(--ease) 0.1s backwards; }
.hero .app-mini:last-child { animation: popIn 0.55s var(--ease) 0.2s backwards; }
.hero h1 { animation: riseIn 0.7s var(--ease) 0.3s backwards; }
.hero .sub { animation: riseIn 0.7s var(--ease) 0.45s backwards; }
.hero .badges { animation: riseIn 0.7s var(--ease) 0.55s backwards; }
.hero .flow-strip { animation: riseIn 0.7s var(--ease) 0.65s backwards; }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- webkit scrollbar: thin pine-on-transparent ---------- */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(245, 239, 224, 0.22); border-radius: 999px; border: 2px solid var(--pine); }
::-webkit-scrollbar-thumb:hover { background: rgba(245, 239, 224, 0.36); }

@media (max-width: 860px) {
  .nav-links, .nav-pill > .dl-btn { display: none; }
  .nav-burger { display: block; }
  .bento { grid-template-columns: 1fr; }
  .hero { padding-top: 130px; }
  .faq-row.left, .faq-row.right { justify-content: center; }
  .faq-row details { max-width: none; }
  .q-pill { font-size: 15px; padding: 16px 24px; }
  .app-duo { gap: 24px; }
  .flow-strip { gap: 16px; }
  .wip-card { padding: 40px 24px; }
  .plans { padding-top: 130px; }
  .foot-row { align-items: flex-start; }
}
@media (max-width: 640px) {
  .plans-duo { flex-direction: column; align-items: center; }
  .plans-duo .plan { width: 100%; }
  .plan { padding: 24px 20px 26px; }
}
@media (min-width: 561px) and (max-width: 860px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .spot { height: auto; }
  .spot-sticky { position: static; height: auto; padding: 40px 20px; }
}
@media (forced-colors: active) {
  .dl-btn, .q-pill, .card, .plan, .nav-pill, .nav-mobile { border: 1px solid ButtonText; }
}
