/* Solvannis Life OS site. Brand colors from solvannis-brand-2026-09-30/brand-kit/colors.css */
@font-face { font-family: "Figtree"; src: url("fonts/Figtree.ttf") format("truetype"); font-weight: 300 900; font-display: swap; }

:root {
  --dawn: #f7ca78; --amber: #efa24b; --champagne: #e9d8b8; --ocean: #776b5b;
  --ink: #111416; --ink-2: #171b1b; --surface: #1d2224; --surface-2: #252b2d;
  --text: #f5f1e9; --muted: #c5c2ba; --line: #3a3f3e;
  --teal: #205d59; --mist: #a5d8cd;
  --sans: "Figtree", system-ui, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --r: 18px; --gutter: 16px; --max: 1200px;
  --sky-top: #0d1220; --sky-mid: #3b2a3a; --sky-low: #d9824a;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: var(--text); font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--dawn); }
h1, h2, h3 { line-height: 1.1; margin: 0 0 .5em; font-weight: 600; letter-spacing: -.02em; }
h1 em, h2 em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--dawn); letter-spacing: 0; }
h2 { font-size: clamp(2rem, 6vw, 3.6rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--dawn); color: var(--ink); padding: 10px 14px; border-radius: 8px; z-index: 99; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--dawn); outline-offset: 3px; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 600; color: var(--amber); margin-bottom: .8em; }
.sub { color: var(--muted); font-size: 1.08rem; max-width: 40em; }
section { padding: 72px var(--gutter); }
.section-head { max-width: var(--max); margin: 0 auto 36px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 0; cursor: pointer;
  background: linear-gradient(135deg, var(--dawn), var(--amber)); color: #1a1208; font: 600 1rem var(--sans); text-decoration: none;
  box-shadow: 0 8px 30px -10px rgba(239,162,75,.7); transition: transform .2s, box-shadow .2s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 34px -10px rgba(239,162,75,.85); }
.btn-ghost { background: rgba(255,255,255,.06); color: var(--text); box-shadow: inset 0 0 0 1px rgba(255,255,255,.22); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1px var(--dawn); }
.btn-small { min-height: 44px; padding: 0 16px; font-size: .92rem; }
.btn-wide { width: 100%; }
.link { background: none; border: 0; color: var(--dawn); font: 500 .95rem var(--sans); cursor: pointer; min-height: 44px; padding: 0 6px; text-decoration: underline; text-underline-offset: 3px; }

/* Header */
.top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 16px; padding: 10px var(--gutter);
  background: rgba(17,20,22,.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid rgba(255,255,255,.06); }
.brand { display: inline-flex; align-items: center; min-height: 44px; }
.brand img { width: 128px; }
.nav { display: none; gap: 26px; margin-left: auto; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 500; min-height: 44px; display: inline-flex; align-items: center; }
.nav a:hover { color: var(--text); }
.top .btn-small { margin-left: auto; }

/* Sky + sun (hero and launch) */
.sky { position: absolute; inset: 0; overflow: hidden; z-index: -1;
  background: linear-gradient(180deg, var(--sky-top) 0%, var(--sky-mid) 55%, var(--sky-low) 82%, #1a1414 82.2%, #0f1012 100%); }
.sun { position: absolute; left: 50%; top: 82%; width: min(46vw, 420px); aspect-ratio: 1; border-radius: 50%; translate: -50% calc(-50% + var(--sun-y, 30%));
  background: radial-gradient(circle, #fff3d6 0%, var(--dawn) 34%, var(--amber) 60%, rgba(239,162,75,0) 71%);
  filter: blur(1px); animation: rise 3.2s cubic-bezier(.2,.7,.2,1) both; }
.horizon { position: absolute; left: 0; right: 0; top: 82%; bottom: 0;
  background: linear-gradient(180deg, rgba(247,202,120,.35), rgba(17,20,22,0) 60%); mask: repeating-linear-gradient(180deg, #000 0 2px, transparent 2px 7px); }
.glints { position: absolute; inset: 0; background: radial-gradient(1px 1px at 20% 20%, #fff8, transparent), radial-gradient(1px 1px at 70% 12%, #fff6, transparent), radial-gradient(1px 1px at 85% 35%, #fff5, transparent), radial-gradient(1px 1px at 35% 8%, #fff7, transparent); animation: fade 4s ease both; }
@keyframes rise { from { translate: -50% 40%; opacity: .2; } to { translate: -50% calc(-50% + var(--sun-y, 30%)); opacity: 1; } }
@keyframes fade { to { opacity: .15; } }

/* Hero */
@property --sky-top { syntax: "<color>"; inherits: true; initial-value: #0d1220; }
@property --sky-mid { syntax: "<color>"; inherits: true; initial-value: #3b2a3a; }
@property --sky-low { syntax: "<color>"; inherits: true; initial-value: #d9824a; }
.hero { position: relative; isolation: isolate; min-height: calc(100svh - 64px); padding: 40px var(--gutter) 56px; display: grid; gap: 36px; align-content: center; justify-items: center; }
.hero-copy { max-width: 600px; text-align: center; }
.hero h1 { font-size: clamp(2.6rem, 11vw, 5.2rem); line-height: 1.08; }
.hero h1 em { display: inline-block; padding-bottom: .1em; }
.lede { font-size: 1.15rem; color: #efe8da; max-width: 30em; margin-inline: auto; }
.cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin: 26px 0 0; }
/* hero: painted sunrise over the sea, same scene as the logo (drawn in site.js) */
.sea-sky { background: linear-gradient(180deg, #120d12 0%, #3a1d1c 34%, #a4501f 58%, #f2a043 70%, #2a1710 70.2%, #120c0a 100%); }
.sea { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.sea-sky::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,8,10,.55), rgba(10,8,10,0) 42%); pointer-events: none; }
@media (min-width: 1000px) { .sea-sky::after { background: linear-gradient(90deg, rgba(10,8,10,.6), rgba(10,8,10,.15) 45%, rgba(10,8,10,0) 60%); } }
.veil { position: absolute; inset: 0; background: #070a14; animation: veil 3.4s ease-out both; }
@keyframes veil { from { opacity: .85; } to { opacity: 0; } }

/* devices: every size comes from the stage width, so nothing can be cropped */
.stage { --lw: 70; --pw: 28; position: relative; container-type: inline-size; width: 100%; max-width: 780px; aspect-ratio: 100 / 60; transition: transform .5s ease-out;
  transform: perspective(1600px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }
.stage-glow { position: absolute; inset: -8% -4% -12%; background: radial-gradient(ellipse at 50% 70%, rgba(247,202,120,.28), transparent 62%); pointer-events: none; }
.par { position: absolute; bottom: 0; }
.par-laptop { left: 0; width: calc(var(--lw) * 1cqw); }
.par-phone { right: 0; width: calc(var(--pw) * 1cqw); }
.laptop, .phone { margin: 0; container-type: inline-size; }
.laptop-lid { position: relative; padding: 1.7cqw 1.5cqw 2cqw; border-radius: 2.4cqw 2.4cqw .5cqw .5cqw; background: #08090a; box-shadow: inset 0 0 0 .3cqw #7d8186, inset 0 0 0 .45cqw #1b1d1f, 0 5cqw 9cqw -3cqw rgba(0,0,0,.75); }
.laptop-lid::before { content: ""; position: absolute; z-index: 2; left: 50%; top: .3cqw; width: 10.5cqw; height: 2.1cqw; translate: -50% 0; border-radius: 0 0 1.2cqw 1.2cqw; background: #08090a; }
.laptop-lid::after { content: ""; position: absolute; z-index: 3; left: 50%; top: .85cqw; width: .55cqw; aspect-ratio: 1; translate: -50% 0; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #3a4a66, #0b0d12 70%); }
.laptop-lid .screen { aspect-ratio: 1800 / 1125; border-radius: .5cqw; }
.laptop-base { position: relative; height: 2.2cqw; width: 106%; margin-left: -3%; border-radius: 0 0 2.6cqw 2.6cqw / 0 0 1.5cqw 1.5cqw; background: linear-gradient(#e3e5e8, #b9bcc1 45%, #8f9298); box-shadow: 0 1.4cqw 2.4cqw -1cqw rgba(0,0,0,.7); }
.laptop-base::before { content: ""; position: absolute; left: 50%; top: 0; width: 15%; height: .75cqw; translate: -50% 0; border-radius: 0 0 1cqw 1cqw; background: linear-gradient(#8a8d93, #c9ccd1); }
.phone { position: relative; }
.phone-in { position: relative; padding: 3.7cqw; border-radius: 15.3cqw; background: linear-gradient(150deg, #cfd0d2, #6f7276 22%, #2c2e31 50%, #8a8d91 78%, #c4c5c8); box-shadow: 0 8cqw 12cqw -5cqw rgba(0,0,0,.8); }
.phone-in::before { content: ""; position: absolute; inset: 1cqw; border-radius: 14.3cqw; background: #030303; box-shadow: inset 0 0 0 .25cqw #1a1b1d; }
.phone-in::after { content: ""; position: absolute; z-index: 2; left: 50%; top: 6cqw; width: 26.5cqw; height: 7.8cqw; translate: -50% 0; border-radius: 99cqw; background: #000; }
.phone-in .screen { aspect-ratio: 440 / 956; border-radius: 11.6cqw; --st: 5.6%; }
/* every device screen: a tall capture that glides down on a timer (site.js), never on page scroll */
.screen { position: relative; display: block; overflow: hidden; width: 100%; background: #14100d; }
.as-img { position: absolute; left: 0; top: var(--st, 0); width: 100%; height: auto; max-width: none; will-change: transform; }
.sb { position: absolute; z-index: 1; left: 0; right: 0; top: 0; height: 5.6%; background: #110e0d; }
.sb::before { content: "9:41"; position: absolute; left: 8cqw; top: 5.8cqw; font: 600 4.2cqw/1 var(--sans, system-ui); color: #fff; }
.sb::after { content: ""; position: absolute; right: 8cqw; top: 5.9cqw; width: 17cqw; height: 4cqw; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34 8' fill='%23fff'%3E%3Crect x='0' y='5' width='2' height='3' rx='.5'/%3E%3Crect x='4' y='3.5' width='2' height='4.5' rx='.5'/%3E%3Crect x='8' y='2' width='2' height='6' rx='.5'/%3E%3Crect x='12' y='0' width='2' height='8' rx='.5'/%3E%3Crect x='18' y='.5' width='14' height='7' rx='2' fill='none' stroke='%23fff' stroke-opacity='.6'/%3E%3Crect x='19.5' y='2' width='11' height='4' rx='1'/%3E%3C/svg%3E") right / contain no-repeat; }
.phone::before, .phone::after { content: ""; position: absolute; top: 0; bottom: 0; width: 1.1%; pointer-events: none; }
.phone::before { left: -.8%; border-radius: 3px 0 0 3px; background: linear-gradient(#a9acb0, #6e7175); -webkit-mask: linear-gradient(transparent 0 15%, #000 15% 18.5%, transparent 18.5% 24%, #000 24% 31%, transparent 31% 33%, #000 33% 40%, transparent 40%); mask: linear-gradient(transparent 0 15%, #000 15% 18.5%, transparent 18.5% 24%, #000 24% 31%, transparent 31% 33%, #000 33% 40%, transparent 40%); }
.phone::after { right: -.8%; border-radius: 0 3px 3px 0; background: linear-gradient(#6e7175, #a9acb0); -webkit-mask: linear-gradient(transparent 0 25%, #000 25% 35%, transparent 35% 62%, #000 62% 69%, transparent 69%); mask: linear-gradient(transparent 0 25%, #000 25% 35%, transparent 35% 62%, #000 62% 69%, transparent 69%); }
.dev-enter { animation: dev-in 1.1s cubic-bezier(.16,1,.3,1) var(--d, 0s) both, bob 7s ease-in-out calc(var(--d, 0s) + 1.2s) infinite; }
.par-phone .dev-enter { animation-name: dev-in, bob2; }
@keyframes dev-in { from { opacity: 0; transform: translateY(70px) scale(.95); } }
@keyframes bob { 50% { translate: 0 -.8cqw; } }
@keyframes bob2 { 50% { translate: 0 -1.6cqw; } }
.enter { animation: enter .9s cubic-bezier(.16,1,.3,1) var(--d, 0s) both; }
.dev-enter.enter { animation: dev-in 1.1s cubic-bezier(.16,1,.3,1) var(--d, 0s) both, bob 7s ease-in-out calc(var(--d, 0s) + 1.2s) infinite; }
.par-phone .dev-enter.enter { animation: dev-in 1.1s cubic-bezier(.16,1,.3,1) var(--d, 0s) both, bob2 6s ease-in-out calc(var(--d, 0s) + 1.2s) infinite; }
@keyframes enter { from { opacity: 0; transform: translateY(26px); } }

/* Promise strip under the hero */
.promise { list-style: none; margin: 0; padding: 22px var(--gutter); display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; max-width: var(--max); margin-inline: auto; color: var(--muted); font-size: .98rem; border-bottom: 1px solid var(--line); }
.promise b { color: var(--text); font-weight: 600; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s ease; transition-delay: calc(var(--i, 0) * 70ms); }
.reveal.in { opacity: 1; transform: none; }

/* A day: sky shifts per step */
.day { position: relative; transition: background 1.2s ease; background: linear-gradient(180deg, var(--ink), var(--day-sky, #2a2230) 40%, var(--ink)); }
.day[data-sky="dawn"] { --day-sky: #3a2530; }
.day[data-sky="morning"] { --day-sky: #1f3442; }
.day[data-sky="noon"] { --day-sky: #23404a; }
.day[data-sky="golden"] { --day-sky: #4a3220; }
.day[data-sky="dusk"] { --day-sky: #2d2140; }
.day[data-sky="night"] { --day-sky: #121a2a; }
.day-head { max-width: var(--max); margin: 0 auto 28px; }
.day-grid { max-width: var(--max); margin: 0 auto; }
.day-stage { display: none; }
.day-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 44px; }
.step-time { display: inline-block; align-self: flex-start; font: 600 .82rem var(--sans); letter-spacing: .1em; color: var(--ink); background: var(--dawn); padding: 4px 12px; border-radius: 999px; margin-bottom: 12px; }
.step h3 { font-size: 1.6rem; }
.step p { color: var(--muted); }
.step-img { aspect-ratio: 16 / 10; border-radius: 12px; box-shadow: 0 24px 60px -24px #000, 0 0 0 1px rgba(255,255,255,.08); }

/* Make it yours */
.bento { max-width: var(--max); margin: 0 auto; display: grid; gap: 14px; grid-template-columns: 1fr; }
.tile { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; }
.tile-copy { padding: 20px; }
.tile-copy p { color: var(--muted); margin: 0; }
.scene-view img { width: 100%; aspect-ratio: 1800 / 1125; transition: opacity .35s; }
.scene-picks { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.scene-picks button, .chips button { min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface-2); color: var(--text); font: 500 .92rem var(--sans); cursor: pointer; }
.scene-picks button[aria-pressed="true"], .chips button[aria-pressed="true"] { background: var(--dawn); color: var(--ink); border-color: var(--dawn); }
.ic { width: 1.2em; height: 1.2em; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* phones tile: the whole phone, every time */
.tile-phone { background: linear-gradient(180deg, #3a2a2a, #1d2224 70%); }
.phone-row { display: flex; gap: 3.2%; justify-content: center; align-items: flex-end; padding: 6px 16px 22px; }
.phone-row .phone { flex: 0 1 30%; max-width: 170px; }
.phone-row .phone:nth-child(even) { translate: 0 -10px; }
.phone-row .phone-4 { display: none; }
.phone-row .phone-in { box-shadow: 0 6cqw 8cqw -4cqw rgba(0,0,0,.7); }

/* small vignettes */
.vig { height: 200px; display: grid; place-items: center; position: relative; background: radial-gradient(ellipse at 50% 120%, rgba(239,162,75,.16), transparent 70%), var(--surface-2); border-bottom: 1px solid var(--line); overflow: hidden; }
.vig-lock { background: radial-gradient(circle at 50% 45%, rgba(165,216,205,.14), transparent 60%), var(--surface-2); }
.lock-badge { position: relative; z-index: 1; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 20px; color: #1a1208; background: linear-gradient(135deg, var(--dawn), var(--amber)); box-shadow: 0 14px 30px -10px rgba(239,162,75,.7); }
.lock-badge .ic { width: 32px; height: 32px; stroke-width: 1.9; }
.vig-lock .ring { position: absolute; left: 50%; top: 50%; width: 120px; height: 120px; margin: -60px 0 0 -60px; border-radius: 50%; border: 1px dashed rgba(165,216,205,.5); animation: spin 22s linear infinite; }
.vig-lock .r2 { width: 176px; height: 176px; margin: -88px 0 0 -88px; border-color: rgba(247,202,120,.3); animation-direction: reverse; animation-duration: 32s; }
@keyframes spin { to { rotate: 360deg; } }
.vig-tags { position: absolute; left: 0; right: 0; bottom: 12px; display: flex; justify-content: center; gap: 8px; }
.vig-tags span, .off-chip { font: 600 .78rem var(--sans); padding: 5px 12px; border-radius: 999px; background: rgba(0,0,0,.35); color: var(--text); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); }
.vig-tags span { display: block; }
.vig-lock .vig-tags { bottom: 10px; }

.vig-mem .pola { grid-area: 1 / 1; margin: 0; width: 138px; padding: 6px 6px 22px; background: #efe5d3; color: #3b2f22; border-radius: 6px; font: 500 .72rem var(--sans); text-align: center; box-shadow: 0 12px 24px -8px rgba(0,0,0,.7); }
.vig-mem .pola img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 3px; }
.vig-mem figcaption { position: absolute; left: 0; right: 0; bottom: 4px; }
.vig-mem .pola { position: relative; }
.vig-mem .p1 { rotate: -9deg; translate: -84px 6px; }
.vig-mem .p2 { rotate: 7deg; translate: 84px 10px; }
.vig-mem .p3 { rotate: -1deg; translate: 0 -4px; }

.vig-backup { gap: 12px; align-content: center; padding: 0 18px; }
.file-row { display: flex; align-items: center; gap: 10px; width: min(100%, 280px); padding: 10px 12px; border-radius: 14px; background: rgba(0,0,0,.32); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); }
.file-row > .ic:first-child { width: 26px; height: 26px; color: var(--dawn); }
.file-row div { flex: 1; min-width: 0; line-height: 1.25; }
.file-row b { display: block; font-size: .92rem; }
.file-row small { color: var(--muted); font-size: .78rem; }
.file-row > .ic:last-child { width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: var(--teal); color: #fff; stroke-width: 2.4; }
.vig-btns { display: flex; gap: 8px; }
.chip-btn { font: 600 .82rem var(--sans); padding: 8px 14px; border-radius: 999px; background: linear-gradient(135deg, var(--dawn), var(--amber)); color: #1a1208; }
.chip-btn.ghost { background: rgba(255,255,255,.06); color: var(--text); box-shadow: inset 0 0 0 1px rgba(255,255,255,.22); }

.vig-offline { gap: 10px; align-content: center; justify-items: start; padding: 0 22px; }
.off-chip { display: inline-flex; align-items: center; gap: 8px; }
.off-chip .ic { color: var(--dawn); }
.vig-offline ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: .92rem; }
.vig-offline li { display: flex; align-items: center; gap: 10px; }
.vig-offline li .ic { width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: var(--teal); color: #fff; stroke-width: 2.4; }

/* Boards */
.chips { max-width: var(--max); margin: 0 auto 22px; display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.chips button { white-space: nowrap; }
.board-grid { max-width: var(--max); margin: 0 auto; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr; gap: 14px; }
.board { position: relative; perspective: 1400px; transition: transform .3s; }
.board[hidden] { display: none; }
@media (hover: hover) { .board:not(.flipped):hover { transform: translateY(-5px); } .board:not(.flipped):hover .front { border-color: rgba(247,202,120,.55); box-shadow: 0 18px 40px -22px #000; } }
.flip { position: relative; display: grid; height: 100%; transform-style: preserve-3d; transition: transform .6s cubic-bezier(.3,.7,.2,1); }
.board.flipped .flip { transform: rotateY(180deg); }
.face { grid-area: 1 / 1; display: flex; flex-direction: column; border-radius: var(--r); overflow: hidden; background: var(--surface); border: 1px solid var(--line); -webkit-backface-visibility: hidden; backface-visibility: hidden; transition: border-color .3s, box-shadow .3s; }
.front { cursor: pointer; }
/* Safari can ignore backface-visibility; hide the turned-away face at the flip's midpoint. */
.face { transition: border-color .3s, box-shadow .3s, visibility 0s .3s; }
.board:not(.flipped) .back, .board.flipped .front { visibility: hidden; }
.back { transform: rotateY(180deg); padding: 18px; background: linear-gradient(160deg, rgba(247,202,120,.12), var(--surface) 55%); border-color: rgba(247,202,120,.4); }
.board-shot { position: relative; overflow: hidden; }
.board img { aspect-ratio: 1800 / 1125; transition: transform .6s; }
.board:hover .front img { transform: scale(1.04); }
.flip-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin: 0 0 4px; padding: 0 16px 0 12px; border-radius: 999px; border: 1.5px solid rgba(247,202,120,.55); cursor: pointer; font: 700 .9rem var(--sans); color: var(--dawn); background: rgba(247,202,120,.08); transition: background .2s, border-color .2s; }
@media (hover: hover) { .flip-btn:hover { background: rgba(247,202,120,.18); border-color: var(--dawn); } }
.flip-btn .ic, .flip-back .ic { width: 20px; height: 20px; flex: none; }
.flip-btn:focus-visible, .flip-back:focus-visible, .add:focus-visible, .back .link:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.board-body { padding: 16px 18px 6px; flex: 1; display: flex; flex-direction: column; align-items: flex-start; }
.board-body p { flex: 1; }
/* Every front is as tall as the tallest front (site.js sets --front-h), so the buttons and prices line up. */
.face { min-height: var(--front-h, 0); }
.board-body h3 { margin: 0 0 4px; }
.board-body p { color: var(--muted); font-size: .95rem; margin: 0 0 12px; }
.back-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.back-head h3 { margin: 0; font-size: 1.35rem; }
.back-line { margin: 4px 0 12px; color: var(--text); font-size: .98rem; }
.feat { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 9px; }
.feat li { display: grid; gap: 1px; padding-left: 14px; position: relative; font-size: .93rem; line-height: 1.4; }
.feat li::before { content: ""; position: absolute; left: 0; top: .5em; width: 6px; height: 6px; border-radius: 50%; background: var(--dawn); }
.feat b { color: var(--dawn); font-weight: 700; }
.feat span { color: #d9d3c6; }
.back-foot { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.flip-back { flex: 1 0 100%; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; border-radius: 999px; border: 1.5px solid var(--dawn); background: transparent; color: var(--dawn); font: 700 .92rem var(--sans); cursor: pointer; }
.back-foot .link { margin-right: auto; }
@media (prefers-reduced-motion: reduce) {
  .board, .flip { transition: none; }
  .board.flipped .flip { transform: none; }
  .back { transform: none; opacity: 0; transition: opacity .3s; }
  .front { transition: opacity .3s; }
  .board.flipped .back { opacity: 1; }
  .board.flipped .front { opacity: 0; }
}
/* Every width: the card is as tall as the face you can see. The hidden face leaves the flow, so the front has no empty gap; a flipped card grows and its neighbours keep their size. */
.board-grid { align-items: start; }
.board:not(.flipped) .back, .board.flipped .front { position: absolute; inset: 0; }
.board-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 0 18px 16px; margin-top: auto; }
.board-price { font-weight: 600; }
.board-price small { color: var(--amber); font-weight: 600; margin-left: 6px; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; }
.add { min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--text); font: 600 .9rem var(--sans); cursor: pointer; }
.add[aria-pressed="true"] { background: var(--teal); border-color: var(--mist); color: #fff; }

/* Pricing */
.tiers { max-width: var(--max); margin: 0 auto 36px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.tier { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; }
.tier h3 { font-size: 1rem; color: var(--muted); font-weight: 500; }
.tier p { margin: 0; color: var(--muted); font-size: .9rem; }
.tier .price { font-size: 2rem; font-weight: 700; color: var(--text); margin-bottom: 4px; }
s { color: var(--muted); font-size: .55em; font-weight: 400; }
.tier-hot { border-color: var(--dawn); background: linear-gradient(160deg, rgba(247,202,120,.14), var(--surface) 60%); }
.tiers .tier:last-child { grid-column: 1 / -1; }
.builder { max-width: var(--max); margin: 0 auto; display: grid; gap: 18px; }
.builder-pick, .builder-total { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; }
.pick-list { list-style: none; padding: 0; margin: 0 0 8px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.pick-list button { width: 100%; min-height: 48px; text-align: left; padding: 8px 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface-2); color: var(--text); font: 500 .95rem var(--sans); cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 6px; }
.pick-list button span { color: var(--muted); font-size: .82rem; }
.pick-list button[aria-pressed="true"] { border-color: var(--dawn); background: rgba(247,202,120,.14); }
.pick-list button[aria-pressed="true"]::after { content: "✓"; color: var(--dawn); }
.builder-total { box-shadow: 0 -10px 40px -10px #000; }
.total-count { color: var(--muted); margin: 0; }
.total-price { font-size: 2.6rem; font-weight: 700; margin: 0; }
.total-how { color: var(--muted); margin: 4px 0; }
.total-save { color: var(--mist); font-weight: 600; min-height: 1.6em; }
.fine { color: var(--muted); font-size: .85rem; margin: 12px 0 0; }

/* Upgrade glow grid */
.upgrade { max-width: var(--max); margin: 0 auto; display: grid; gap: 28px; align-items: center; }
.glow-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 8px; }
.glow-grid span { min-height: 48px; padding: 0 10px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--line); display: grid; place-items: center; text-align: center; font: 600 .85rem var(--sans); color: #8a8c86; transition: all .6s; }
.glow-grid span.on { background: linear-gradient(135deg, var(--dawn), var(--amber)); color: #1a1208; border-color: transparent; box-shadow: 0 0 22px rgba(247,202,120,.45); }

/* Try */
.try-frame { position: relative; max-width: var(--max); margin: 0 auto; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: #000; }
.try-frame img { opacity: .35; aspect-ratio: 4/5; object-fit: cover; object-position: left top; }
@media (min-width: 700px) { .try-frame img { aspect-ratio: 16/10; } }
.try-cover { position: absolute; inset: 0; background: radial-gradient(circle at center, rgba(10,12,13,.85), rgba(10,12,13,.35) 70%); display: grid; place-content: center; justify-items: center; gap: 12px; padding: 16px; text-align: center; }
.try-frame iframe { display: block; width: 100%; height: min(82vh, 820px); border: 0; background: #111; }

/* FAQ */
.faq-list { max-width: 820px; margin: 0 auto; }
details { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; list-style: none; padding: 18px 36px 18px 0; font-weight: 600; font-size: 1.08rem; position: relative; min-height: 44px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font-size: 1.5rem; color: var(--dawn); transition: rotate .3s; }
details[open] summary::after { rotate: 45deg; }
details p { color: var(--muted); padding-bottom: 12px; }
.faq .section-head { max-width: 820px; }

/* Launch */
.launch { position: relative; isolation: isolate; text-align: center; padding: 110px var(--gutter) 150px; overflow: hidden; }
.sky-set { --sky-top: #111416; --sky-mid: #2c1f2a; --sky-low: #b8633a; }
.sky-set .sun { --sun-y: 10%; animation: none; }
.launch-inner { max-width: 560px; margin: 0 auto; }
.launch .sub { margin: 0 auto 20px; }
.launch-form { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.launch-form input { flex: 1 1 220px; min-height: 48px; border-radius: 999px; border: 1px solid var(--line); background: rgba(0,0,0,.4); color: var(--text); padding: 0 18px; font: 400 1rem var(--sans); }
.form-msg { min-height: 1.6em; margin-top: 12px; }

/* Footer */
.foot { padding: 34px var(--gutter); border-top: 1px solid var(--line); display: grid; gap: 10px; justify-items: center; text-align: center; color: var(--muted); font-size: .9rem; }
.foot nav { display: flex; gap: 18px; }
.foot nav a { color: var(--muted); min-height: 44px; display: inline-flex; align-items: center; }

/* Peek dialog */
.peek { width: min(960px, calc(100vw - 24px)); padding: 0; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); color: var(--text); }
.peek::backdrop { background: rgba(5,6,7,.75); backdrop-filter: blur(6px); }
.peek img { width: 100%; }
.peek-copy { padding: 20px; }
.peek-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.peek-price { font-size: 1.5rem; font-weight: 700; }
.peek-close { position: absolute; right: 10px; top: 10px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(0,0,0,.6); color: #fff; font-size: 1.6rem; cursor: pointer; }


/* Finishing: browser surfaces, type, touch feedback */
::selection { background: var(--dawn); color: var(--ink); }
html { scrollbar-color: #4a4440 var(--ink); accent-color: var(--amber); }
section[id] { scroll-margin-top: 64px; }
h1, h2, h3 { text-wrap: balance; }
.sub, .tile-copy p, .step p, details p { text-wrap: pretty; }
.price, .total-price, .board-price, .peek-price, .pick-list span { font-variant-numeric: tabular-nums; }
.btn:active, .add:active, .chips button:active, .scene-picks button:active, .pick-list button:active { transform: scale(.97); }
.badge { display: inline-block; font: 600 .85rem var(--sans); color: var(--ink); background: var(--dawn); padding: 5px 14px; border-radius: 999px; margin: 0 0 1em; }

/* Wider screens */
@media (min-width: 700px) {
  :root { --gutter: 32px; }
  section { padding: 110px var(--gutter); }
  .board-grid { grid-template-columns: repeat(2, 1fr); }
  .tiers { grid-template-columns: repeat(5, 1fr); }
  .tiers .tier:last-child { grid-column: auto; }
  .pick-list { grid-template-columns: repeat(3, 1fr); }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .tile-scene, .tile-phone { grid-column: 1 / -1; }
  .phone-row .phone-4 { display: block; }
  .promise { grid-template-columns: repeat(4, auto); justify-content: space-between; }
}
@media (min-width: 1000px) {
  .nav { display: flex; }
  .top .btn-small { margin-left: 8px; }
  .hero { grid-template-columns: 5fr 7fr; gap: 24px; justify-items: stretch; align-items: center; padding: 48px max(var(--gutter), calc((100vw - 1360px) / 2)) 56px; }
  .hero-copy { text-align: left; max-width: 520px; justify-self: end; }
  .lede { margin-inline: 0; }
  .cta-row { justify-content: flex-start; }
  .hero .sun { left: 68%; width: 640px; }
  .stage { --lw: 74; --pw: 24; aspect-ratio: 100 / 52; justify-self: start; }
  .bento { grid-template-columns: repeat(6, 1fr); }
  .tile-scene { grid-column: 1 / 5; grid-row: 1; }
  .tile-lock { grid-column: 5 / 7; grid-row: 1; }
  .tile-lock .vig { flex: 1; min-height: 240px; }
  .tile-phone { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1.6fr; align-items: center; }
  .tile-phone .tile-copy { padding: 36px; }
  .tile-phone .tile-copy h3 { font-size: 1.8rem; }
  .phone-row { padding: 28px 36px 28px 0; }
  .phone-row .phone { max-width: 190px; flex-basis: 23%; }
  .tile-mem, .tile-backup, .tile-offline { grid-column: span 2; }
  .board-grid { grid-template-columns: repeat(3, 1fr); }
  .builder { grid-template-columns: 1.6fr 1fr; align-items: start; }
  .builder-total { position: sticky; top: 90px; }
  .upgrade { grid-template-columns: 1fr 1fr; }
  /* sticky story: the screen on the left changes as you scroll the steps */
  .day-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 56px; }
  .day-stage { display: block; position: sticky; top: 110px; align-self: start; }
  .stage-frame { position: relative; border-radius: 14px 14px 4px 4px; padding: 10px 9px 12px; background: #08090a; box-shadow: inset 0 0 0 1.5px #7d8186, 0 40px 90px -30px #000; }
  .stage-frame::after { content: ""; position: absolute; left: -3%; right: -3%; top: 100%; height: 12px; border-radius: 0 0 14px 14px / 0 0 8px 8px; background: linear-gradient(#e3e5e8, #9a9da3); box-shadow: 0 14px 22px -10px rgba(0,0,0,.7); }
  .stage-screen { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 3px; background: #0b0d0e; }
  .stage-img { opacity: 0; transition: opacity .6s; }
  .stage-img.on { opacity: 1; }
  .clock-chip { display: inline-block; margin-bottom: 14px; font: 300 2.6rem var(--sans); letter-spacing: -.02em; color: var(--dawn); }
  .day-steps { gap: 0; }
  .step { min-height: 72vh; display: flex; flex-direction: column; justify-content: center; opacity: .35; transition: opacity .5s; }
  .step.active { opacity: 1; }
  .step-img { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

.bundles { list-style: none; padding: 0; max-width: var(--max); margin: 0 auto 36px; display: grid; grid-template-columns: 1fr; gap: 12px; }
.bundle { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; display: flex; flex-direction: column; gap: 6px; }
.bundle h3 { font-size: 1.05rem; margin: 0; }
.bundle p { margin: 0; color: var(--muted); font-size: .9rem; }
.bundle .price { font-size: 1.8rem; font-weight: 700; color: var(--text); }
.bundle .bundle-bonus { color: var(--dawn); }
.bundle .btn { margin-top: auto; }
.bundle-big { border-color: var(--dawn); }
@media (min-width: 700px) { .bundles { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .bundles { grid-template-columns: repeat(3, 1fr); } }
