/* Layout: quiet, airy page; one loud object — a Mac desktop with the live wheel.
   Then a bento of real captures, a "buy us a coffee" block, five questions.
   Black/white UI, colour only where the product is. */
:root {
  --bg: #ffffff;
  --soft: #f4f5f7;
  --ink: #0b0c10;
  --muted: #6b6e78;
  --line: #e6e7eb;
  --btn: #0b0c10;
  --btn-ink: #ffffff;
  --amber: #f29a1d;
  --sans: "Geist", "SF Pro Display", -apple-system, "Helvetica Neue", sans-serif;
  --mono: "Geist Mono", ui-monospace, Menlo, monospace;
  --ease: cubic-bezier(.2, .8, .2, 1);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --bg: #0a0a0c; --soft: #141418; --ink: #f2f2f4; --muted: #9a9ca6; --line: #24252b; --btn: #f2f2f4; --btn-ink: #0a0a0c; color-scheme: dark; }
}
:root[data-theme="dark"] { --bg: #0a0a0c; --soft: #141418; --ink: #f2f2f4; --muted: #9a9ca6; --line: #24252b; --btn: #f2f2f4; --btn-ink: #0a0a0c; color-scheme: dark; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.55 var(--sans); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 10px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 46px; padding: 0 24px; border-radius: 999px; background: var(--btn); color: var(--btn-ink); font-weight: 500; font-size: 0.98rem; border: 0; cursor: pointer; transition: transform .2s var(--ease), opacity .2s; }
.btn:hover { transform: translateY(-1px); opacity: .92; }
.btn-sm { height: 36px; padding: 0 16px; font-size: 0.9rem; }
.btn-os { width: 21px; height: 21px; fill: currentColor; flex: none; }
.btn-wide { width: 100%; height: 52px; font-size: 1.02rem; }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink); opacity: 1; }
.req { font-size: 0.86rem; color: var(--muted); display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 4px 12px; }
.req a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; }
.req a:hover { text-decoration-color: var(--ink); }
:root[data-os="mobile"] [data-other] { display: none; }

/* ---------- Nav ---------- */
.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; padding: 0 max(16px, calc((100vw - 1120px) / 2)); background: color-mix(in srgb, var(--bg) 78%, transparent); backdrop-filter: blur(18px) saturate(180%); -webkit-backdrop-filter: blur(18px) saturate(180%); }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 1.08rem; letter-spacing: -0.02em; }
.logo img { border-radius: 50%; filter: drop-shadow(0 2px 5px rgba(20, 22, 40, 0.16)); transition: transform .5s cubic-bezier(.2, 1.6, .4, 1), filter .3s; }
.logo:hover img { transform: rotate(-10deg) scale(1.08); filter: drop-shadow(0 4px 12px rgba(242, 154, 29, 0.45)); }
.nav nav { display: flex; gap: 28px; font-size: 0.92rem; color: var(--muted); margin-left: auto; margin-right: 12px; }
.nav nav a:hover { color: var(--ink); }

/* ---------- Hero ---------- */
.hero { max-width: 1120px; margin: 0 auto; padding: clamp(56px, 9vw, 112px) 16px 0; text-align: center; display: grid; justify-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 0.9rem; color: var(--muted); padding: 6px 14px 6px 8px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); }
.hero h1 { font-size: clamp(3.2rem, 9.5vw, 7.6rem); font-weight: 600; letter-spacing: -0.055em; line-height: 0.95; margin-top: 26px; max-width: 12ch; text-wrap: balance; }
.lede { max-width: 56rem; margin-top: 24px; font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--ink); text-wrap: balance; }
.lede-sub { margin-top: 6px; font-size: clamp(1rem, 1.4vw, 1.12rem); color: var(--muted); }
.cta { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 32px; }

/* ---------- The desktop: our wallpaper, menu bar, files, Dock and the wheel ---------- */
.desktop { --size: clamp(280px, 40vw, 440px); position: relative; width: 100%; margin-top: clamp(48px, 7vw, 80px); aspect-ratio: 16 / 10; min-height: calc(var(--size) + 170px); border-radius: clamp(14px, 1.8vw, 22px); overflow: hidden; isolation: isolate; background: #1e2c6e url("/assets/wallpaper.jpg") center 55% / cover; box-shadow: 0 50px 110px -40px rgba(30, 40, 110, 0.55), 0 0 0 1px rgba(0,0,0,0.08), 0 0 0 9px color-mix(in srgb, var(--ink) 6%, transparent); text-align: left; }
.menubar { position: absolute; top: 0; left: 0; right: 0; height: 28px; display: flex; align-items: center; gap: 16px; padding: 0 14px; font-size: 0.78rem; color: #fff; background: rgba(12, 18, 50, 0.24); backdrop-filter: blur(24px) saturate(160%); -webkit-backdrop-filter: blur(24px) saturate(160%); text-shadow: 0 1px 1px rgba(0,0,0,0.15); z-index: 5; }
.menubar b { font-weight: 600; }
.mb-mark { width: 13px; height: 13px; border-radius: 4px; background: rgba(255,255,255,0.92); }
.mb-right { margin-left: auto; display: flex; align-items: center; gap: 13px; }
.mb-right i { display: block; }
.mb-bolt { width: 9px; height: 13px; background: #fff; clip-path: polygon(64% 0, 8% 58%, 44% 58%, 30% 100%, 92% 40%, 56% 40%); }
.mb-wifi { width: 15px; height: 11px; background: #fff; clip-path: polygon(50% 100%, 0 30%, 15% 12%, 50% 0, 85% 12%, 100% 30%); border-radius: 3px; }
.mb-batt { width: 22px; height: 11px; border: 1.5px solid #fff; border-radius: 3px; position: relative; }
.mb-batt::after { content: ""; position: absolute; inset: 1.5px 5px 1.5px 1.5px; background: #fff; border-radius: 1px; }
.mb-clock { font-variant-numeric: tabular-nums; white-space: nowrap; }

.files { position: absolute; top: 46px; right: clamp(10px, 2.4vw, 28px); display: grid; gap: 6px; justify-items: center; z-index: 4; }
.file { display: grid; justify-items: center; gap: 5px; width: 88px; padding: 6px 4px; border: 0; border-radius: 8px; background: transparent; color: #fff; font: 500 0.72rem var(--sans); text-shadow: 0 1px 3px rgba(0,0,0,0.6); cursor: grab; position: relative; }
.file:hover .ficon, .file[aria-pressed="true"] .ficon { outline: 3px solid rgba(255,255,255,0.35); outline-offset: 3px; border-radius: 6px; }
.file[aria-pressed="true"] .fname { background: #2f6fed; border-radius: 4px; text-shadow: none; }
.file:active { cursor: grabbing; }
.fname { max-width: 100%; padding: 1px 5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ficon { width: 52px; height: 52px; display: grid; place-items: center; position: relative; }
.ficon img { width: 100%; height: 100%; object-fit: cover; }
/* Photo: a thumbnail with a white border, like Finder shows images */
.ficon.photo img { border: 2.5px solid #fff; border-radius: 3px; box-shadow: 0 3px 8px rgba(0,0,0,0.35); height: 44px; width: 52px; }
/* Video: frame thumbnail with a play badge */
.ficon.video img { border-radius: 4px; height: 36px; width: 52px; box-shadow: 0 3px 8px rgba(0,0,0,0.35); }
.ficon.video i { position: absolute; width: 18px; height: 18px; border-radius: 50%; background: rgba(0,0,0,0.55); backdrop-filter: blur(4px); }
.ficon.video i::after { content: ""; position: absolute; left: 7px; top: 5px; border-left: 6px solid #fff; border-top: 4px solid transparent; border-bottom: 4px solid transparent; }
/* Documents: a white page with a folded corner and a coloured label */
.ficon.doc { width: 40px; height: 52px; background: #fff; border-radius: 3px; box-shadow: 0 3px 8px rgba(0,0,0,0.35); clip-path: polygon(0 0, 70% 0, 100% 22%, 100% 100%, 0 100%); }
.ficon.doc::before { content: ""; position: absolute; top: 0; right: 0; width: 30%; height: 22%; background: #d8dae2; clip-path: polygon(0 0, 100% 100%, 0 100%); }
.ficon.doc i { position: absolute; left: 7px; right: 7px; top: 17px; height: 12px; background: repeating-linear-gradient(#d9dbe3 0 2px, transparent 2px 5px); }
.ficon.doc b { position: absolute; left: 0; right: 0; bottom: 6px; margin: 0 5px; border-radius: 3px; font: 700 0.56rem var(--sans); color: #fff; text-align: center; padding: 1px 0; text-shadow: none; }
.ficon.pdf b { background: #e5352b; }
.ficon.web b { background: #0b0c10; font-size: 0.66rem; }
.ficon.plus { width: 44px; height: 44px; border-radius: 10px; background: rgba(255,255,255,0.18); border: 1.5px dashed rgba(255,255,255,0.85); font-size: 1.4rem; font-weight: 300; }
.file.own input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }

.dock { position: absolute; left: 50%; bottom: 8px; transform: translateX(-50%); display: flex; align-items: center; gap: 7px; padding: 6px 8px; border-radius: 16px; background: rgba(255,255,255,0.2); border: 1px solid rgba(255,255,255,0.35); backdrop-filter: blur(24px) saturate(160%); -webkit-backdrop-filter: blur(24px) saturate(160%); z-index: 4; }
.dock i, .dock img { width: 34px; height: 34px; border-radius: 9px; display: block; }
.dock .d1 { background: linear-gradient(180deg, #6ec6ff, #1f7fe0); }
.dock .d2 { background: linear-gradient(180deg, #ffd66b, #ff9d2e); }
.dock .d3 { background: linear-gradient(180deg, #7ef0a0, #23b35c); }
.dock .d4 { background: linear-gradient(180deg, #ff8fb1, #ff3b6b); }
.dock .d5 { background: linear-gradient(180deg, #c6c9d6, #8b8fa1); }
.dock .sep { width: 1px; height: 30px; border-radius: 0; background: rgba(255,255,255,0.45); }
.dock img { width: 40px; height: 40px; margin: -3px; filter: drop-shadow(0 2px 4px rgba(0,0,0,0.25)); }

.hint { position: absolute; left: 50%; bottom: 62px; transform: translateX(-50%); font-size: 0.8rem; color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,0.45); white-space: nowrap; transition: opacity .3s; }
.demo-note { margin-top: 18px; font-size: 0.88rem; color: var(--muted); max-width: 36rem; }

/* ---------- The wheel ---------- */
.wheel { position: absolute; left: 50%; top: calc(50% - 6px); width: var(--size); height: var(--size); transform: translate(-50%, -50%); }
.wheel.over .hub { transform: translate(-50%, -50%) scale(1.08); box-shadow: 0 0 0 3px rgba(255,255,255,0.9), 0 0 40px rgba(255,255,255,0.55); }
.glass { color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,0.25); background: rgba(255,255,255,0.18); backdrop-filter: blur(24px) saturate(170%); -webkit-backdrop-filter: blur(24px) saturate(170%); border: 1px solid rgba(255,255,255,0.5); box-shadow: inset 0 1px 1px rgba(255,255,255,0.75), inset 0 -12px 26px rgba(255,255,255,0.10), 0 16px 40px rgba(0,0,0,0.2); }
.hub { position: absolute; left: 50%; top: 50%; width: calc(var(--size) * 0.40); height: calc(var(--size) * 0.40); border-radius: 50%; transform: translate(-50%, -50%); display: grid; place-items: center; text-align: center; z-index: 2; transition: transform .4s cubic-bezier(.2, 1.4, .4, 1), box-shadow .3s; }
.hub-inner { display: grid; justify-items: center; gap: 4px; width: 86%; }
.hub .bolt { width: 34%; filter: drop-shadow(0 6px 12px rgba(240,130,15,0.5)); }
.hub .title { font-weight: 600; font-size: clamp(0.74rem, 1.2vw, 0.9rem); }
.hub .sub { font-size: clamp(0.64rem, 1vw, 0.76rem); opacity: .85; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hub .badge { font: 500 0.66rem var(--mono); padding: 2px 8px; border-radius: 999px; background: rgba(255,255,255,0.22); }
.hub .thumb { width: 46%; aspect-ratio: 1; border-radius: 18%; object-fit: cover; box-shadow: 0 6px 16px rgba(0,0,0,0.25); }
.hub .filetile { width: 40%; aspect-ratio: 1; border-radius: 22%; display: grid; place-items: center; font: 600 0.8rem var(--sans); color: #fff; box-shadow: 0 6px 16px rgba(0,0,0,0.25); }
.hub .big, .hub .pct { font-weight: 700; font-size: clamp(1.2rem, 2.3vw, 1.8rem); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.hub .big { color: #b6ffd2; }

.progress { position: absolute; left: 27%; top: 27%; width: 46%; height: 46%; transform: rotate(-90deg); z-index: 3; pointer-events: none; opacity: 0; transition: opacity .3s; }
.progress circle { fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 0 100; filter: drop-shadow(0 0 4px rgba(255,255,255,0.9)); }
.wheel.running .progress { opacity: 1; }

.drops { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.drop { --x: 0px; --y: 0px; --c: #0a84ff; position: absolute; left: 50%; top: 50%; width: calc(var(--size) * 0.15); height: calc(var(--size) * 0.15); margin: calc(var(--size) * -0.075) 0 0 calc(var(--size) * -0.075); border-radius: 50%; display: grid; place-items: center; cursor: pointer; pointer-events: auto; font: 700 clamp(0.62rem, 1.05vw, 0.8rem) var(--sans); letter-spacing: 0.01em; transform: translate(0, 0) scale(0.3); opacity: 0; transition: transform .6s cubic-bezier(.2, 1.35, .35, 1), opacity .3s, box-shadow .25s, background .25s; transition-delay: var(--delay, 0ms); }
.drop.in { transform: translate(var(--x), var(--y)) scale(1); opacity: 1; }
.drop svg { width: 42%; height: 42%; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
/* "Borde de color": the glass brightens, a whisper of colour inside the edge, a pastel halo. */
.drop:hover, .drop:focus-visible { outline: none; transition-delay: 0ms; transform: translate(var(--x), var(--y)) scale(1.13); background: rgba(255,255,255,0.36); box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--c) 50%, white), inset 0 1px 1px rgba(255,255,255,0.9), 0 0 26px 5px color-mix(in srgb, var(--c) 55%, white); }
.drop .tip { position: absolute; top: 110%; left: 50%; transform: translateX(-50%); white-space: nowrap; font: 500 0.72rem var(--sans); color: #fff; background: rgba(10,10,14,0.72); padding: 3px 8px; border-radius: 6px; opacity: 0; pointer-events: none; transition: opacity .15s; text-shadow: none; z-index: 6; }
.drop:hover .tip, .drop:focus-visible .tip { opacity: 1; }

/* ---------- Sections ---------- */
.section { max-width: 1120px; margin: 0 auto; padding: clamp(96px, 13vw, 168px) 16px 0; }
.section.narrow { max-width: 760px; }
.section h2, .final h2 { font-size: clamp(2.3rem, 5.6vw, 4.4rem); font-weight: 600; letter-spacing: -0.045em; line-height: 1.02; text-wrap: balance; }
.section h2 span { color: var(--muted); }

.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; margin-top: clamp(40px, 6vw, 64px); }
.tile { margin: 0; grid-column: span 3; border-radius: 26px; overflow: hidden; background: var(--soft); display: grid; grid-template-rows: auto 1fr; }
.tile.t-wide { grid-column: span 4; }
.tile.t-narrow { grid-column: span 2; }
.tile.t-text { grid-template-rows: none; align-content: end; gap: 12px; padding: 32px; background: var(--ink); color: var(--bg); min-height: 300px; }
.tile > img, .tile .compare { width: 100%; height: clamp(240px, 28vw, 340px); object-fit: cover; object-position: center; }
.tile figcaption { padding: 18px 22px 22px; color: var(--muted); font-size: 0.95rem; }
.tile figcaption b { display: block; color: var(--ink); font-weight: 600; font-size: 1.05rem; margin-bottom: 2px; }
.tile .big { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 600; letter-spacing: -0.035em; line-height: 1.08; }
.tile.t-text p:last-child { opacity: .7; }

.compare { --pos: 50%; position: relative; overflow: hidden; background: repeating-conic-gradient(#e9eaee 0 25%, #ffffff 0 50%) 0 0 / 18px 18px; }
.compare img { width: 100%; height: 100%; object-fit: cover; }
.compare > img:first-child { clip-path: inset(0 calc(100% - var(--pos)) 0 0); position: absolute; inset: 0; z-index: 1; }
.compare .after { position: relative; }
.compare input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; z-index: 3; margin: 0; }
.compare .handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; background: #fff; z-index: 2; box-shadow: 0 0 10px rgba(0,0,0,0.3); }
.compare .handle::after { content: "‹ ›"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 36px; height: 36px; border-radius: 50%; background: #fff; color: #0b0c10; display: grid; place-items: center; font-size: 0.85rem; font-weight: 600; letter-spacing: 2px; box-shadow: 0 4px 14px rgba(0,0,0,0.25); }

/* ---------- Support: buy us a coffee ---------- */
.support { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 56px); align-items: center; margin-top: clamp(40px, 6vw, 64px); padding: clamp(24px, 4vw, 48px); border-radius: 30px; background: var(--soft); }
.support-lead { font-size: clamp(1.1rem, 1.8vw, 1.3rem); line-height: 1.45; }
.perks { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 10px; color: var(--muted); }
.perks li { display: flex; align-items: center; gap: 10px; }
.perks li::before { content: ""; width: 18px; height: 18px; flex: none; border-radius: 50%; background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E") center / 12px no-repeat; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .perks li:not(.ask)::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a0a0c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E"); } }
:root[data-theme="dark"] .perks li:not(.ask)::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a0a0c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E"); }
.perks li.ask::before { background: var(--amber) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 11px no-repeat; }
.perks li.ask a { color: var(--ink); font-weight: 500; text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--amber) 60%, transparent); text-underline-offset: 3px; }
.perks li.ask a:hover { text-decoration-color: var(--amber); }
.teams { margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.95rem; }
.teams a { color: var(--ink); font-weight: 600; white-space: nowrap; }
.teams a:hover { text-decoration: underline; text-underline-offset: 3px; }
.coffee { display: grid; gap: 14px; padding: 22px; border-radius: 24px; background: var(--bg); box-shadow: 0 20px 50px -24px rgba(20, 20, 40, 0.25), 0 0 0 1px var(--line); }
.cups { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.cup { display: grid; justify-items: center; align-content: start; gap: 2px; padding: 12px 4px 12px; border-radius: 18px; border: 0; background: var(--soft); color: var(--ink); font: inherit; cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s, background .2s; }
.cup:hover { transform: translateY(-2px); }
.cup:hover img { transform: scale(1.06) rotate(-3deg); }
.cup[aria-pressed="true"] { box-shadow: inset 0 0 0 2px var(--ink); background: var(--bg); }
.cup img { width: 64px; height: 64px; margin-bottom: 4px; filter: drop-shadow(0 6px 8px rgba(60, 35, 10, 0.18)); transition: transform .35s cubic-bezier(.2, 1.6, .4, 1); }
.cup b { font-size: 1.2rem; font-weight: 600; letter-spacing: -0.03em; line-height: 1.2; text-align: center; }
.cup[data-amount="free"] b { font-size: 0.92rem; letter-spacing: -0.01em; padding: 3px 0 2px; }
.cup small { font-size: 0.74rem; color: var(--muted); text-align: center; line-height: 1.25; }
.coffee-note { font-size: 0.82rem; color: var(--muted); text-align: center; }
.more { margin-top: 22px; color: var(--muted); font-size: 0.95rem; text-align: center; }
.more a { color: var(--ink); }

.faq { margin-top: 40px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 0; font-size: 1.12rem; font-weight: 500; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 300; font-size: 1.5rem; line-height: 1; color: var(--muted); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 24px; color: var(--muted); max-width: 40rem; }
.faq a.inline { color: var(--ink); font-weight: 500; white-space: nowrap; text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; }

.final { max-width: 1120px; margin: clamp(96px, 13vw, 168px) auto 0; padding: 0 16px; display: grid; justify-items: center; gap: 22px; text-align: center; scroll-margin-top: 80px; }
.final-icon { border-radius: 50%; filter: drop-shadow(0 18px 30px rgba(30, 30, 60, 0.14)); }
.versions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; width: 100%; max-width: 1080px; margin-top: 12px; }
.version { scroll-margin-top: 96px; }
.version { position: relative; display: grid; justify-items: center; gap: 6px; padding: 30px 24px 26px; border-radius: 26px; background: var(--soft); text-align: center; }
.version .os { width: 30px; height: 30px; fill: var(--ink); margin-bottom: 4px; }
.version h3 { font-size: 1.35rem; font-weight: 600; letter-spacing: -0.03em; }
.vreq { font-size: 0.9rem; color: var(--ink); }
.vnote { font-size: 0.86rem; color: var(--muted); margin-bottom: 12px; }
.version .yours { position: absolute; top: 14px; right: 14px; font-size: 0.72rem; font-weight: 500; padding: 3px 9px; border-radius: 999px; background: var(--ink); color: var(--bg); display: none; }
.version.is-yours { background: var(--bg); box-shadow: inset 0 0 0 2px var(--ink); }
.version.is-yours .yours { display: block; }

.foot { max-width: 1120px; margin: 120px auto 0; padding: 28px 16px calc(32px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; color: var(--muted); font-size: 0.86rem; }
.foot-links { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.foot-links a:hover { color: var(--ink); }
.langs { display: flex; flex-wrap: wrap; gap: 4px; }
.langs a { padding: 4px 10px; border-radius: 999px; }
.langs a:hover { color: var(--ink); }
.langs a[aria-current="true"] { color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }

/* ---------- Thunder Business ---------- */
.hero-sm { padding-bottom: 0; }
.hero-sm h1 { font-size: clamp(2.8rem, 7.5vw, 5.6rem); }
.hero-sm .lede { max-width: 40rem; color: var(--muted); }
.section.narrow-wide { padding-top: clamp(56px, 8vw, 96px); }
.who { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.who-card { padding: 24px 26px; border-radius: 22px; background: var(--soft); }
.who-card b { display: block; font-size: 1.1rem; margin-bottom: 4px; }
.who-card p { color: var(--muted); }
.who-card.dark { background: var(--ink); color: var(--bg); }
.who-card.dark p { color: color-mix(in srgb, var(--bg) 70%, transparent); }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 14px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 30px 26px 26px; border-radius: 26px; background: var(--bg); box-shadow: 0 0 0 1px var(--line); }
.plan.featured { box-shadow: 0 0 0 2px var(--ink), 0 30px 60px -30px rgba(20, 20, 40, 0.3); }
.plan .tag { position: absolute; top: -12px; left: 26px; font-size: 0.74rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--amber); color: #fff; }
.plan h3 { font-size: 1.4rem; font-weight: 600; letter-spacing: -0.03em; }
.plan .range { color: var(--muted); font-size: 0.92rem; }
.price { display: grid; margin: 22px 0 6px; }
.price b { font-size: 2.6rem; font-weight: 600; letter-spacing: -0.05em; line-height: 1; }
.price span { color: var(--muted); font-size: 0.86rem; margin-top: 6px; }
.plan .perks { margin: 18px 0 26px; flex: 1; font-size: 0.94rem; align-content: start; }
.plan .perks li { align-items: flex-start; }
.plan .perks li::before { margin-top: 3px; }
.plans-note { margin-top: 18px; text-align: center; color: var(--muted); font-size: 0.88rem; }

/* ---------- Legal pages ---------- */
.legal { max-width: 760px; margin: 0 auto; padding: clamp(48px, 8vw, 96px) 16px 0; }
.legal h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 600; letter-spacing: -0.045em; line-height: 1.05; }
.legal h2 { font-size: 1.25rem; font-weight: 600; letter-spacing: -0.02em; margin: 40px 0 10px; }
.legal p, .legal li, .legal dd { color: color-mix(in srgb, var(--ink) 82%, var(--bg)); }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 20px; display: grid; gap: 8px; margin: 12px 0; }
.legal a { text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; }
.legal a:hover { text-decoration-color: var(--ink); }
.legal .updated { margin-top: 14px; color: var(--muted); font-size: 0.9rem; }
.legal .intro { margin-top: 28px; padding: 18px 22px; border-radius: 18px; background: var(--soft); }
.legal dl { display: grid; grid-template-columns: max-content 1fr; gap: 8px 24px; margin: 18px 0 0; padding: 20px 22px; border-radius: 18px; background: var(--soft); }
.legal dt { color: var(--muted); }
.legal dd { margin: 0; }
.legal code { font: 0.88em var(--mono); padding: 1px 6px; border-radius: 6px; background: var(--soft); }

.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); z-index: 30; max-width: min(92vw, 460px); padding: 12px 18px; border-radius: 14px; background: var(--ink); color: var(--bg); font-size: 0.92rem; text-align: center; box-shadow: 0 18px 40px rgba(0,0,0,0.25); }

/* Scroll-driven entrance where supported; everything is visible otherwise. */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% cover 22%; }
  }
}
@keyframes rise { from { opacity: .15; transform: translateY(36px) scale(.98); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .drop { transition: opacity .2s; } html { scroll-behavior: auto; } .logo img { transition: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .versions { grid-template-columns: minmax(0, 1fr); max-width: 480px; }
  .bento { grid-template-columns: minmax(0, 1fr); }
  .tile, .tile.t-wide, .tile.t-narrow, .tile.t-text { grid-column: auto; }
  .support { grid-template-columns: minmax(0, 1fr); }
  .plans { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .nav nav { display: none; }
  .mb-hide { display: none; }
}
@media (max-width: 640px) {
  .desktop { --size: min(74vw, 320px); aspect-ratio: auto; height: calc(var(--size) + 250px); }
  .wheel { top: calc(50% + 22px); }
  .files { top: 34px; left: 0; right: 0; grid-auto-flow: column; justify-content: center; gap: 0; }
  .file { width: 64px; font-size: 0.6rem; }
  .ficon { transform: scale(.78); margin: -5px 0; }
  .menubar > span:not(.mb-mark):not(.mb-right) { display: none; }
  .dock i:nth-child(n+3):not(.sep) { display: none; }
  .hint { bottom: 58px; }
  .cups { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
  .cups .cup { flex: 0 0 calc((100% - 12px) / 3); }
  .cup { padding: 10px 4px; }
  .versions, .who { grid-template-columns: minmax(0, 1fr); }
  .legal dl { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .legal dd { margin-bottom: 8px; }
}
