/* Panewise — panewise.app */
:root {
  --bg: #fbfbfd;
  --bg-2: #f2f3f8;
  --ink: #12131a;
  --ink-2: #4a4d5c;
  --ink-3: #7c8091;
  --line: rgba(18, 19, 26, 0.09);
  --card: #ffffff;
  --accent: #2f5fe0;
  --accent-ink: #ffffff;
  --accent-soft: rgba(47, 95, 224, 0.1);
  --indigo: #23308f;
  --sky: #4fb3f5;
  --glass: rgba(255, 255, 255, 0.72);
  --shadow: 0 1px 2px rgba(15, 20, 50, 0.06), 0 12px 40px -12px rgba(15, 20, 50, 0.18);
  --shadow-lg: 0 2px 4px rgba(15, 20, 50, 0.05), 0 40px 90px -30px rgba(20, 30, 90, 0.35);
  --radius: 18px;
  --serif: "Instrument Serif", "New York", ui-serif, Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, monospace;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0b0c12;
    --bg-2: #12131c;
    --ink: #f3f4f8;
    --ink-2: #b4b8c8;
    --ink-3: #868a9c;
    --line: rgba(255, 255, 255, 0.09);
    --card: #161823;
    --accent: #5b8bff;
    --accent-soft: rgba(91, 139, 255, 0.14);
    --glass: rgba(28, 30, 42, 0.72);
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 12px 40px -12px rgba(0, 0, 0, 0.6);
    --shadow-lg: 0 2px 4px rgba(0, 0, 0, 0.3), 0 40px 90px -30px rgba(0, 0, 0, 0.8);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0b0c12; --bg-2: #12131c; --ink: #f3f4f8; --ink-2: #b4b8c8; --ink-3: #868a9c;
  --line: rgba(255, 255, 255, 0.09); --card: #161823; --accent: #5b8bff; --accent-soft: rgba(91, 139, 255, 0.14);
  --glass: rgba(28, 30, 42, 0.72);
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 12px 40px -12px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 2px 4px rgba(0, 0, 0, 0.3), 0 40px 90px -30px rgba(0, 0, 0, 0.8);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(720px, 100% - 32px); margin-inline: auto; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 28px; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 600; letter-spacing: -0.01em; }
.brand:hover { text-decoration: none; }
.brand img { width: 28px; height: 28px; }
.nav-links { display: flex; gap: 24px; margin-left: auto; font-size: 15px; }
.nav-links a { color: var(--ink-2); }
.nav-links a:hover { color: var(--ink); text-decoration: none; }
@media (max-width: 720px) { .nav-links { display: none; } .nav .btn { margin-left: auto; } }

.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 10px 18px; border-radius: 999px;
  font: 600 15px/1 var(--sans); letter-spacing: -0.005em;
  background: var(--ink); color: var(--bg);
  border: 0; cursor: pointer;
  transition: transform 0.2s cubic-bezier(.2,.8,.2,1), box-shadow 0.2s, background 0.2s;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); box-shadow: 0 8px 24px -8px color-mix(in srgb, var(--ink) 50%, transparent); }
.btn:active { transform: translateY(0); }
.btn.big { padding: 15px 26px; font-size: 17px; }
.btn.accent { background: linear-gradient(180deg, #4a78ff, #2f5fe0); color: #fff; box-shadow: 0 1px 0 rgba(255,255,255,.25) inset, 0 10px 30px -10px rgba(47,95,224,.7); }
.btn.outline { background: transparent; color: var(--ink); box-shadow: 0 0 0 1px var(--line) inset; }
.btn svg { width: 17px; height: 17px; }

/* ---------- hero ---------- */
.hero { position: relative; padding: 88px 0 40px; text-align: center; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto; height: 720px; z-index: -1;
  background:
    radial-gradient(40% 50% at 30% 30%, color-mix(in srgb, var(--sky) 28%, transparent), transparent 70%),
    radial-gradient(45% 55% at 72% 25%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 70%),
    radial-gradient(40% 40% at 50% 60%, color-mix(in srgb, var(--indigo) 14%, transparent), transparent 70%);
  filter: blur(20px);
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.02em;
  color: var(--accent); background: var(--accent-soft);
  padding: 6px 12px; border-radius: 999px;
}
h1, h2, h3 { margin: 0; letter-spacing: -0.02em; }
h1 {
  font: 400 clamp(46px, 8vw, 92px)/0.98 var(--serif);
  letter-spacing: -0.025em;
  margin: 22px auto 0;
  max-width: 13ch;
}
h1 em, h2 em { font-style: italic; color: var(--accent); }
.lede { font-size: clamp(18px, 2.2vw, 21px); color: var(--ink-2); max-width: 36em; margin: 22px auto 0; line-height: 1.5; }
.cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }
.fine { margin-top: 14px; font-size: 13px; color: var(--ink-3); }

/* ---------- the demo screen ---------- */
.stage { margin: 64px auto 0; width: min(1040px, 100%); perspective: 2000px; }
.screen {
  position: relative; aspect-ratio: 16 / 10; border-radius: 22px; overflow: hidden;
  background:
    radial-gradient(80% 90% at 15% 10%, #7fc8ff 0%, transparent 60%),
    radial-gradient(70% 80% at 90% 20%, #5a7dff 0%, transparent 60%),
    radial-gradient(90% 90% at 50% 110%, #1d2a8a 0%, transparent 70%),
    linear-gradient(160deg, #3d6cf0, #22308f);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255,255,255,.08) inset;
  user-select: none; -webkit-user-select: none;
  container-type: inline-size;
}
.menubar {
  position: absolute; inset: 0 0 auto; height: 3.4cqw; min-height: 14px;
  background: rgba(255,255,255,.22); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  display: flex; align-items: center; gap: 2.2cqw; padding: 0 2cqw;
  font: 600 1.35cqw/1 var(--sans); color: rgba(255,255,255,.95);
}
.menubar span:not(:first-child) { font-weight: 500; opacity: .85; }
.menubar .mb-right { margin-left: auto; display: flex; gap: 1.6cqw; align-items: center; }
.mb-icon { width: 1.8cqw; height: 1.8cqw; border-radius: .45cqw; background: url(assets/favicon-64.png) center/cover; }

.desk { position: absolute; inset: 3.4cqw 0 0; }
.win {
  position: absolute; border-radius: 1.2cqw; overflow: hidden;
  background: #fff; color: #1b1d26;
  box-shadow: 0 .3cqw 1cqw rgba(0,0,0,.18), 0 2.5cqw 6cqw -1.5cqw rgba(10,20,80,.5), 0 0 0 1px rgba(0,0,0,.06);
  transition: left .6s cubic-bezier(.22,1,.36,1), top .6s cubic-bezier(.22,1,.36,1),
              width .6s cubic-bezier(.22,1,.36,1), height .6s cubic-bezier(.22,1,.36,1),
              opacity .4s, transform .6s cubic-bezier(.22,1,.36,1);
}
.win .bar { height: 3.2cqw; display: flex; align-items: center; gap: .7cqw; padding: 0 1.2cqw; background: #f4f5f8; border-bottom: 1px solid rgba(0,0,0,.06); }
.win .bar i { width: 1cqw; height: 1cqw; border-radius: 50%; background: #ff5f57; }
.win .bar i:nth-child(2) { background: #febc2e; }
.win .bar i:nth-child(3) { background: #28c840; }
.win .bar b { margin-left: 1cqw; font: 600 1.2cqw/1 var(--sans); color: #5b5f6e; }
.win .body { position: absolute; inset: 3.2cqw 0 0; padding: 2cqw; }
.sk { height: .9cqw; border-radius: .5cqw; background: #e6e8ef; margin-bottom: 1.1cqw; }
.sk.t { height: 1.8cqw; width: 55%; background: #d4d8e4; margin-bottom: 1.8cqw; }
.sk.a { background: #c7d5ff; }
.sk.w9 { width: 92%; } .sk.w7 { width: 72%; } .sk.w8 { width: 84%; } .sk.w5 { width: 50%; } .sk.w6 { width: 64%; }

/* document window (the one we snap) */
.w-doc { left: 22%; top: 9%; width: 52%; height: 78%; z-index: 3; }
/* mail window — revealed when picked */
.w-mail { left: 50.5%; top: .8%; width: 49%; height: 98.4%; z-index: 2; opacity: 0; transform: scale(.96); }
.w-mail .body { display: grid; grid-template-columns: 34% 1fr; gap: 1.6cqw; padding: 0; }
.w-mail .list { border-right: 1px solid rgba(0,0,0,.06); padding: 1.6cqw; }
.w-mail .row { display: flex; gap: .9cqw; margin-bottom: 1.5cqw; }
.w-mail .row::before { content: ""; flex: none; width: 2.4cqw; height: 2.4cqw; border-radius: 50%; background: #dfe6ff; }
.w-mail .row div { flex: 1; }
.w-mail .row .sk { margin-bottom: .6cqw; }
.w-mail .read { padding: 2cqw 2cqw 0 0; }

/* drop preview */
.ghost {
  position: absolute; left: .6%; top: 1%; width: 49%; height: 98%; border-radius: 1.4cqw;
  background: rgba(255,255,255,.22); border: 1px solid rgba(255,255,255,.55);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  opacity: 0; transform: scale(.9); transform-origin: 0 50%;
  transition: opacity .3s, transform .45s cubic-bezier(.22,1,.36,1);
}
.ghost.on { opacity: 1; transform: none; }

/* picker */
.picker {
  position: absolute; left: 51%; top: 2.5%; width: 47.5%; height: 95%;
  border-radius: 1.6cqw; padding: 2.4cqw 2.2cqw;
  background: rgba(246,247,252,.72); backdrop-filter: blur(24px) saturate(160%); -webkit-backdrop-filter: blur(24px) saturate(160%);
  box-shadow: 0 2cqw 5cqw -1cqw rgba(10,20,80,.45), 0 0 0 1px rgba(255,255,255,.6) inset;
  opacity: 0; transform: translateY(1.5cqw) scale(.98);
  transition: opacity .35s, transform .5s cubic-bezier(.22,1,.36,1);
  color: #1b1d26; z-index: 4;
}
.picker.on { opacity: 1; transform: none; }
.picker.out { opacity: 0; transform: scale(1.02); transition: opacity .3s, transform .4s; }
.p-title { font: 600 1.45cqw/1.2 var(--sans); }
.p-search {
  margin: 1.4cqw 0 1.8cqw; height: 3.2cqw; border-radius: .9cqw; background: rgba(255,255,255,.85);
  box-shadow: 0 0 0 1px rgba(0,0,0,.06); display: flex; align-items: center; padding: 0 1.1cqw;
  font: 500 1.25cqw/1 var(--sans); color: #1b1d26;
}
.p-search::before { content: ""; width: 1.2cqw; height: 1.2cqw; margin-right: .8cqw; border: .2cqw solid #8a8fa1; border-radius: 50%; }
.p-search .ph { color: #9a9eae; }
.p-search .caret { width: 1px; height: 1.5cqw; background: var(--accent); margin-left: 1px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.p-label { font: 600 1cqw/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: #7a7f92; margin-bottom: 1cqw; }
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4cqw; }
.card { transition: opacity .3s, transform .4s cubic-bezier(.22,1,.36,1), filter .3s; }
.card.hide { opacity: .18; filter: grayscale(1); transform: scale(.96); }
.card .th {
  aspect-ratio: 16/10.5; border-radius: .9cqw; background: #fff; overflow: hidden; position: relative;
  box-shadow: 0 0 0 1px rgba(0,0,0,.06), 0 .6cqw 1.4cqw -.6cqw rgba(0,0,0,.25);
  transition: box-shadow .25s, transform .25s;
}
.card .th::before { content: ""; position: absolute; inset: 0 0 auto; height: 14%; background: #f1f2f6; }
.card .th::after { content: ""; position: absolute; left: 10%; right: 22%; top: 30%; height: 8%; border-radius: 4px; background: var(--c, #dde3f5); box-shadow: 0 1.8cqw 0 #eceef4, 0 3.3cqw 0 #eceef4, -0cqw 4.8cqw 0 #eceef4; }
.card.sel .th { box-shadow: 0 0 0 .25cqw var(--accent), 0 1cqw 2cqw -.6cqw rgba(47,95,224,.6); transform: translateY(-.2cqw); }
.card .nm { display: flex; align-items: center; gap: .6cqw; margin-top: .8cqw; font: 600 1.1cqw/1 var(--sans); }
.card .nm i { width: 1.5cqw; height: 1.5cqw; border-radius: .4cqw; background: var(--c, #ccc); }
.card .nm kbd { margin-left: auto; font: 600 .9cqw/1 var(--sans); color: #8a8fa1; }

/* divider */
.divider {
  position: absolute; left: calc(50% - .3cqw); top: 4%; height: 92%; width: .6cqw; border-radius: 1cqw; z-index: 6;
  background: #fff; box-shadow: 0 0 0 1px rgba(47,95,224,.35), 0 0 1.4cqw rgba(79,140,255,.95), 0 0 .4cqw rgba(79,140,255,.9);
  overflow: hidden; opacity: 0; transform: scaleY(.1); transition: opacity .3s, transform .6s cubic-bezier(.22,1,.36,1);
}
.divider.on { opacity: 1; transform: none; }
.divider::after {
  content: ""; position: absolute; left: 0; right: 0; height: 30%; top: -30%;
  background: linear-gradient(180deg, transparent, #fff, rgba(120,170,255,1), #fff, transparent);
  animation: sweep 1.8s linear infinite;
}
@keyframes sweep { to { top: 100%; } }
.swap {
  position: absolute; left: 50%; top: 50%; width: 3.4cqw; height: 3.4cqw; margin: -1.7cqw 0 0 -1.7cqw; z-index: 7;
  border-radius: 50%; background: rgba(255,255,255,.96); box-shadow: 0 0 0 .15cqw rgba(47,95,224,.5), 0 .4cqw 1.2cqw rgba(10,20,80,.35);
  display: grid; place-items: center; font: 700 1.6cqw/1 var(--sans); color: #2f5fe0;
  opacity: 0; transform: scale(.4); transition: opacity .3s .15s, transform .45s .15s cubic-bezier(.34,1.56,.64,1);
}
.swap.on { opacity: 1; transform: none; }

/* pointer */
.cursor {
  position: absolute; z-index: 10; width: 2.2cqw; height: 2.2cqw; left: 48%; top: 14%;
  transition: left .9s cubic-bezier(.45,0,.2,1), top .9s cubic-bezier(.45,0,.2,1), transform .15s;
  filter: drop-shadow(0 .2cqw .3cqw rgba(0,0,0,.35));
}
.cursor.down { transform: scale(.88); }

/* keys overlay */
.keys {
  position: absolute; left: 50%; bottom: 4%; transform: translateX(-50%) translateY(1cqw); z-index: 9;
  display: flex; gap: .6cqw; padding: .8cqw 1.1cqw; border-radius: 1.2cqw;
  background: rgba(15,18,35,.55); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  color: #fff; font: 600 1.25cqw/1 var(--sans); opacity: 0; transition: opacity .25s, transform .35s;
}
.keys.on { opacity: 1; transform: translateX(-50%); }
.keys span { min-width: 2.4cqw; text-align: center; padding: .55cqw .7cqw; border-radius: .6cqw; background: rgba(255,255,255,.14); box-shadow: 0 -.15cqw 0 rgba(0,0,0,.25) inset; }

.caption { margin-top: 22px; font-size: 15px; color: var(--ink-3); min-height: 1.5em; transition: opacity .3s; }

/* ---------- sections ---------- */
section { padding: 120px 0; }
section.alt { background: var(--bg-2); }
.sec-head { text-align: center; max-width: 720px; margin: 0 auto 64px; }
.sec-head .kicker { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
h2 { font: 400 clamp(38px, 5.4vw, 60px)/1.04 var(--serif); letter-spacing: -0.02em; margin-top: 14px; }
.sec-head p { color: var(--ink-2); font-size: 19px; margin: 18px 0 0; }

.ways { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 860px) { .ways { grid-template-columns: 1fr; } }
.way { background: var(--card); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.way h3 { font-size: 20px; margin: 22px 0 8px; }
.way p { margin: 0; color: var(--ink-2); font-size: 16px; }

/* mini illustrations */
.mini { aspect-ratio: 16/10; border-radius: 12px; position: relative; overflow: hidden;
  background: linear-gradient(160deg, #6f9bff, #2a3aa3); box-shadow: 0 0 0 1px var(--line); container-type: inline-size; }
.mini .m { position: absolute; background: rgba(255,255,255,.95); border-radius: 2.5cqw; box-shadow: 0 1cqw 3cqw -1cqw rgba(0,0,0,.4); }
.mini .m::before { content: ""; position: absolute; inset: 0 0 auto; height: 9cqw; max-height: 14%; background: #eef0f5; border-radius: 2.5cqw 2.5cqw 0 0; }
.mini .g { position: absolute; border-radius: 2.5cqw; background: rgba(255,255,255,.25); border: 1px dashed rgba(255,255,255,.75); }
.mini .bar { position: absolute; left: 50%; top: 5%; transform: translateX(-50%); display: flex; gap: 2cqw; padding: 2cqw; border-radius: 3cqw; background: rgba(255,255,255,.85); box-shadow: 0 1cqw 3cqw -1cqw rgba(0,0,0,.4); }
.mini .bar b { width: 9cqw; height: 6cqw; border-radius: 1cqw; background: #dfe5f7; display: flex; gap: .8cqw; padding: .8cqw; }
.mini .bar b i { flex: 1; background: #9db4f5; border-radius: .5cqw; }
.mini .bar b.on { box-shadow: 0 0 0 .6cqw var(--accent); }
.mini .bar b i.w2 { flex: 1.6; }
.mini .k { position: absolute; left: 50%; bottom: 10%; transform: translateX(-50%); display: flex; gap: 1.5cqw; }
.mini .k span { font: 600 5cqw/1 var(--sans); color: #fff; padding: 2cqw 2.6cqw; border-radius: 1.8cqw; background: rgba(10,15,40,.45); box-shadow: 0 -.5cqw 0 rgba(0,0,0,.25) inset; }

/* feature rows */
.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (max-width: 860px) { .features { grid-template-columns: 1fr; } }
.feat { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.feat .ic { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.feat .ic svg { width: 21px; height: 21px; }
.feat h3 { font-size: 20px; margin: 18px 0 8px; }
.feat p { margin: 0; color: var(--ink-2); font-size: 16px; }
.feat.wide { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: center; padding: 40px; }
@media (max-width: 860px) { .feat.wide { grid-template-columns: 1fr; padding: 28px; } }
.feat.wide h3 { font: 400 34px/1.1 var(--serif); letter-spacing: -0.01em; margin-top: 18px; }
.feat ul { margin: 16px 0 0; padding: 0; list-style: none; color: var(--ink-2); font-size: 16px; }
.feat li { padding-left: 26px; position: relative; margin: 8px 0; }
.feat li::before { content: ""; position: absolute; left: 2px; top: 8px; width: 12px; height: 7px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }

kbd, .kbd {
  font: 600 13px/1 var(--sans); color: var(--ink); display: inline-flex; align-items: center; justify-content: center;
  min-width: 26px; height: 26px; padding: 0 7px; border-radius: 7px;
  background: var(--card); border: 1px solid var(--line); box-shadow: 0 1px 0 var(--line);
}

/* shortcuts */
.shortcuts { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; }
@media (max-width: 760px) { .shortcuts { grid-template-columns: 1fr; } }
.sc { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.sc .ks { display: flex; gap: 4px; flex-wrap: wrap; justify-content: flex-end; }
.sc span:first-child { color: var(--ink-2); }

/* privacy band */
.privacy { display: grid; grid-template-columns: auto 1fr; gap: 40px; align-items: center; }
@media (max-width: 760px) { .privacy { grid-template-columns: 1fr; text-align: center; } .privacy .lock { margin: 0 auto; } }
.lock { width: 120px; height: 120px; border-radius: 32px; display: grid; place-items: center;
  background: linear-gradient(160deg, #4a78ff, #23308f); color: #fff; box-shadow: var(--shadow-lg); }
.lock svg { width: 54px; height: 54px; }
.privacy h2 { margin-top: 0; }
.privacy p { color: var(--ink-2); font-size: 18px; margin: 14px 0 0; }

/* faq */
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 18px 0; font-size: 18px; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 300 26px/1 var(--sans); color: var(--ink-3); transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 20px; color: var(--ink-2); }

/* download band */
.get { text-align: center; padding: 130px 0; position: relative; isolation: isolate; overflow: hidden; }
.get::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(50% 70% at 50% 100%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 70%); }
.get img.appicon { width: 128px; height: 128px; margin: 0 auto 28px; filter: drop-shadow(0 20px 30px rgba(35,48,143,.35)); }
.get h2 { margin-top: 0; }
.get p { color: var(--ink-2); font-size: 19px; margin: 16px auto 0; max-width: 32em; }
.reqs { display: flex; gap: 10px 24px; justify-content: center; flex-wrap: wrap; margin-top: 22px; font-size: 14px; color: var(--ink-3); }
.reqs span { display: inline-flex; align-items: center; gap: 7px; }
.reqs svg { width: 15px; height: 15px; color: #2fae63; }

/* footer */
footer { border-top: 1px solid var(--line); padding: 40px 0 56px; font-size: 14px; color: var(--ink-3); }
footer .wrap { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
footer nav { display: flex; gap: 22px; margin-left: auto; }
footer a { color: var(--ink-2); }

/* doc pages */
.doc { padding: 72px 0 110px; }
.doc h1 { font-size: clamp(42px, 6vw, 64px); max-width: none; margin: 0; }
.doc .updated { color: var(--ink-3); margin-top: 12px; font-size: 15px; }
.doc h2 { font: 600 22px/1.3 var(--sans); letter-spacing: -0.01em; margin: 48px 0 12px; }
.doc p, .doc li { color: var(--ink-2); }
.doc li { margin: 6px 0; }
.doc .card-note { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 28px; box-shadow: var(--shadow); margin-top: 32px; }
.doc .card-note p { margin: 0; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s cubic-bezier(.22,1,.36,1), transform .8s cubic-bezier(.22,1,.36,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .divider::after, .p-search .caret { animation: none; }
}
.screen.noanim *, .screen.noanim { transition: none !important; }
.card .nm kbd { min-width: 0; height: auto; padding: .25cqw .45cqw; border: 0; border-radius: .35cqw; background: rgba(0,0,0,.06); box-shadow: none; font: 600 .9cqw/1 var(--sans); color: #8a8fa1; }

/* ---------- wide screens ---------- */
/* Side-by-side hero: the copy on the left, the demo on the right, both above the fold. */
@media (min-width: 1200px) {
  .hero { padding: 72px 0 40px; }
  .wrap { width: min(1440px, 100% - 96px); }
  .hero .hero-grid {
    display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: center;
    text-align: left;
  }
  .hero h1 { margin-left: 0; font-size: clamp(56px, 4.6vw, 84px); max-width: none; }
  .hero h1 span { display: block; white-space: nowrap; }
  .hero .lede { margin-left: 0; font-size: 19px; }
  .hero .cta { justify-content: flex-start; }
  .hero .stage { margin: 0; width: 100%; }
  .hero .caption { text-align: center; }
}
/* Large displays: scale the whole page so it doesn't sit in a narrow strip. */
@media (min-width: 1800px) { html { zoom: 1.15; } }
@media (min-width: 2200px) { html { zoom: 1.3; } }
@media (min-width: 2700px) { html { zoom: 1.5; } }

/* ---------- reach: Snap Assist line, permissions, Homebrew ---------- */
.assist { margin: 14px auto 0; font-size: 16px; color: var(--ink-3); }
.assist strong { color: var(--ink); font-weight: 600; }
.perm { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.perm li { color: var(--ink-2); font-size: 16px; padding-left: 18px; position: relative; }
.perm li::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.perm strong { color: var(--ink); }
.brew { display: inline-flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 18px; font-size: 14px; color: var(--ink-3); }
.brew code { font: 500 14px/1 ui-monospace, "SF Mono", Menlo, monospace; color: var(--ink); background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; }
.brew .copy { font: 600 13px/1 var(--sans); color: var(--accent); background: var(--accent-soft); border: 0; border-radius: 999px; padding: 8px 12px; cursor: pointer; }
.fine a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
@media (min-width: 1200px) { .hero .assist { margin-left: 0; } }
footer nav { flex-wrap: wrap; }

/* ---------- comparison pages ---------- */
.compare .kicker-line { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin: 0 0 14px; }
.compare h1 em { font-style: italic; color: var(--accent); }
.compare .lede-doc { font-size: 19px; color: var(--ink-2); margin-top: 20px; line-height: 1.55; }
.compare ol li, .compare ul li { margin: 10px 0; }
.compare kbd, .perm kbd { display: inline-flex; align-items: center; justify-content: center; min-width: 1.6em; padding: 1px 6px; margin: 0 1px; border-radius: 6px; border: 1px solid var(--line); background: var(--card); font: 600 .85em/1.4 var(--sans); color: var(--ink); }
.cmp { width: 100%; border-collapse: collapse; margin: 28px 0 8px; font-size: 15px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.cmp th, .cmp td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); color: var(--ink-2); vertical-align: top; }
.cmp thead th { color: var(--ink); font-weight: 600; background: var(--bg-2); }
.cmp tbody tr:last-child td { border-bottom: 0; }
.cmp td:first-child { color: var(--ink); }
.compare .small { font-size: 14px; color: var(--ink-3); }
.get-inline { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-3); }
@media (max-width: 560px) { .cmp { font-size: 13px; } .cmp th, .cmp td { padding: 10px; } }

/* ---------- real recording ---------- */
.real { margin: 0; aspect-ratio: 16 / 10; border-radius: 16px; overflow: hidden; background: #0b0c12;
        border: 1px solid var(--line); box-shadow: 0 40px 90px -30px rgba(10,20,60,.55), 0 12px 30px -12px rgba(0,0,0,.35); }
.real video { width: 100%; height: 100%; display: block; object-fit: cover; }
.feat .shot { width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.compare .shot { width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--line); box-shadow: var(--shadow); margin: 24px 0 8px; }
