@font-face {
  font-family: "Instrument Sans";
  src: url("assets/fonts/InstrumentSans.woff2") format("woff2");
  font-weight: 400 700;
  font-stretch: 75% 100%;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #f4f7f5;
  --surface: #ffffff;
  --ink: #13202e;
  --muted: #566271;
  --line: #dce3df;
  --mint: #1fa971;
  --blue: #2459e0;
  --blue-press: #1c47b8;

  --font: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1160px;
  --radius-lg: 22px;
  --radius-md: 12px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  font-weight: 420;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding-left: max(24px, env(safe-area-inset-left, 0px));
  padding-right: max(24px, env(safe-area-inset-right, 0px));
}

h1, h2, h3 {
  font-stretch: 86%;
  font-weight: 620;
  letter-spacing: -0.022em;
  line-height: 1.04;
}
h1 { font-size: clamp(2.6rem, 5.4vw, 4.4rem); text-wrap: balance; }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); text-wrap: balance; }
h3 { font-size: 1.22rem; line-height: 1.2; letter-spacing: -0.01em; }

p { max-width: 62ch; }

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: 10px;
  z-index: 100;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

kbd {
  font-family: var(--font);
  font-size: 0.82em;
  font-weight: 560;
  display: inline-block;
  min-width: 1.7em;
  text-align: center;
  padding: 0.05em 0.4em;
  margin: 0 0.08em;
  border-radius: 6px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 1px 0 var(--line);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 1rem;
  font-weight: 580;
  text-decoration: none;
  transition: background-color 0.15s, border-color 0.15s, transform 0.1s;
}
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-press); }
.btn-quiet { background: transparent; border-color: var(--line); color: var(--ink); }
.btn-quiet:hover { border-color: #b9c4bf; background: rgba(255, 255, 255, 0.6); }
.btn-small { min-height: 38px; padding: 0 16px; font-size: 0.92rem; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 247, 245, 0.82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  padding-top: env(safe-area-inset-top, 0px);
  transition: border-color 0.2s;
}
.site-header.scrolled { border-bottom-color: var(--line); }

.nav {
  height: 64px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 620;
  font-size: 1.08rem;
  font-stretch: 90%;
  margin-right: auto;
}
.brand img { border-radius: 7px; }
.nav-links { display: flex; gap: 28px; list-style: none; }
.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
}
.nav-links a:hover { color: var(--ink); }

/* ---------- Hero ---------- */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 48px;
  align-items: center;
  padding-top: 72px;
  padding-bottom: 96px;
}
.hero-copy h1 { max-width: 12ch; }
.lede {
  margin-top: 22px;
  font-size: 1.2rem;
  line-height: 1.5;
  color: var(--muted);
  max-width: 34ch;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.fineprint { margin-top: 18px; font-size: 0.9rem; color: var(--muted); }

.hero-demo { display: flex; flex-direction: column; align-items: center; gap: 18px; }

.device-stage {
  width: 100%;
  position: relative;
  height: calc(560px * var(--scale, 1));
}
.device {
  position: absolute;
  left: 50%;
  top: 0;
  width: 820px;
  transform: translateX(-50%) scale(var(--scale, 1));
  transform-origin: top center;
  perspective: 1800px;
}

.lid {
  transform-origin: 50% 100%;
  transform: rotateX(0deg);
  transform-style: preserve-3d;
}
.bezel {
  position: relative;
  background: #1d2127;
  border-radius: 22px 22px 6px 6px;
  padding: 16px 16px 20px;
  box-shadow: inset 0 0 0 1.5px #3a3f47, 0 30px 60px -30px rgba(19, 32, 46, 0.45);
}
.camera {
  position: absolute;
  top: 6px;
  left: 50%;
  width: 6px;
  height: 6px;
  margin-left: -3px;
  border-radius: 50%;
  background: #3b4250;
}
.screen {
  position: relative;
  height: 494px;
  border-radius: 8px;
  overflow: hidden;
  background: #0a0c0f;
}
.wallpaper {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 80% at 18% 20%, #9fe3c8 0%, transparent 60%),
    radial-gradient(70% 90% at 85% 90%, #8fb0f5 0%, transparent 62%),
    radial-gradient(50% 60% at 70% 20%, #cfe9f0 0%, transparent 70%),
    linear-gradient(135deg, #b9ead5, #a9c3f3);
}
.menubar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 12px;
  font-size: 12px;
  color: #13202e;
  background: rgba(255, 255, 255, 0.42);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 2;
}
.mb-left, .mb-right { display: flex; align-items: center; gap: 14px; }
.mb-left b { font-weight: 650; }
.mb-logo { width: 11px; height: 11px; border-radius: 50%; background: #13202e; opacity: 0.8; }
.mb-tray { display: inline-flex; align-items: center; gap: 3px; font-weight: 600; font-variant-numeric: tabular-nums; }
.mb-tray svg { width: 15px; height: 15px; }

.app-window {
  position: absolute;
  left: 44px;
  top: 64px;
  width: 360px;
  height: 250px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 40px -18px rgba(19, 32, 46, 0.4);
}
.aw-bar { display: flex; gap: 6px; padding: 11px 12px; }
.aw-bar i { width: 10px; height: 10px; border-radius: 50%; background: #d6dbe0; }
.aw-lines { padding: 10px 22px; display: grid; gap: 12px; }
.aw-lines span { height: 9px; border-radius: 5px; background: #e3e8ec; }
.aw-lines span:nth-child(1) { width: 60%; background: #d4dae0; height: 12px; }
.aw-lines span:nth-child(3) { width: 85%; }
.aw-lines span:nth-child(4) { width: 70%; }
.aw-lines span:nth-child(5) { width: 40%; }

.screen-off {
  position: absolute;
  inset: 0;
  background: #0a0c0f;
  opacity: 0;
  pointer-events: none;
  z-index: 5;
}

.base {
  position: relative;
  height: 20px;
  width: 104%;
  margin-left: -2%;
  background: linear-gradient(#e2e6ea, #b9c0c7);
  border-radius: 2px 2px 14px 14px;
  box-shadow: 0 18px 30px -16px rgba(19, 32, 46, 0.35);
}
.thumb {
  position: absolute;
  top: 0;
  left: 50%;
  width: 120px;
  height: 7px;
  margin-left: -60px;
  border-radius: 0 0 8px 8px;
  background: #a9b1b9;
}

.demo-controls { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.demo-hint { font-size: 0.92rem; color: var(--muted); }

/* Lid + panel choreography (driven by classes set in script.js) */
.device.closed .lid { transform: rotateX(-86deg); }
.device.closed .screen-off { opacity: 1; }
.device.animate .lid { transition: transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1); }
.device.animate .screen-off { transition: opacity 0.45s ease 0.75s; }
.device.closing .lid { transition: transform 0.55s cubic-bezier(0.5, 0, 0.75, 0.6); }
.device.closing .screen-off { transition: opacity 0.2s ease; }

/* ---------- TaskPop panel (the live demo) ---------- */

.tp-panel {
  --p-accent: #2459e0;
  --p-text: #1d1d1f;
  --p-text-2: rgba(60, 60, 67, 0.62);
  --p-hover: rgba(0, 0, 0, 0.045);
  --p-chip: rgba(0, 0, 0, 0.06);
  --p-line: rgba(0, 0, 0, 0.09);
  --p-green: #30c15a;
  width: 300px;
  display: flex;
  flex-direction: column;
  background: rgba(250, 251, 252, 0.84);
  backdrop-filter: blur(30px) saturate(170%);
  -webkit-backdrop-filter: blur(30px) saturate(170%);
  border-radius: 14px;
  box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.14), 0 22px 50px -12px rgba(19, 32, 46, 0.4);
  color: var(--p-text);
  font-size: 13px;
  overflow: hidden;
}
.tp-panel.in-device {
  position: absolute;
  right: 10px;
  top: 34px;
  bottom: 12px;
  z-index: 3;
  opacity: 0;
  transform: translateX(26px);
  transition: opacity 0.22s ease, transform 0.32s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.tp-panel.in-device.shown { opacity: 1; transform: none; }
.tp-panel.standalone { display: none; }

.tp-head { display: flex; justify-content: space-between; align-items: flex-start; padding: 15px 14px 8px; }
.tp-head h4 { font-size: 20px; font-weight: 700; letter-spacing: -0.3px; line-height: 1.1; }
.tp-sub { font-size: 11px; color: var(--p-text-2); margin-top: 2px; }
.tp-actions { display: flex; gap: 5px; }
.tp-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: none;
  background: var(--p-chip);
  display: grid;
  place-items: center;
  color: var(--p-text-2);
}
.tp-icon svg { width: 11px; height: 11px; }
.tp-progress { height: 3px; margin: 4px 14px 10px; border-radius: 2px; background: var(--p-chip); overflow: hidden; }
.tp-bar { height: 100%; width: 0; background: var(--p-green); border-radius: 2px; transition: width 0.3s ease; }
.tp-divider { height: 1px; background: var(--p-line); }
.tp-list { flex: 1; overflow-y: auto; padding: 6px; min-height: 0; }
.tp-list::-webkit-scrollbar { width: 0; }

.tp-row {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 7px 8px;
  border-radius: 7px;
}
.tp-row:hover { background: var(--p-hover); }
.tp-check {
  flex: none;
  width: 16px;
  height: 16px;
  margin-top: 1px;
  border-radius: 50%;
  border: 1.5px solid rgba(60, 60, 67, 0.42);
  background: transparent;
  display: grid;
  place-items: center;
  padding: 0;
  transition: background-color 0.15s, border-color 0.15s, transform 0.12s;
}
.tp-check:hover { border-color: var(--p-green); }
.tp-check:active { transform: scale(0.86); }
.tp-check svg { width: 9px; height: 9px; display: none; }
.tp-row.done .tp-check { background: var(--p-green); border-color: var(--p-green); }
.tp-row.done .tp-check svg { display: block; }
.tp-col { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.tp-title { font-size: 12.5px; line-height: 17px; word-break: break-word; }
.tp-row.done .tp-title { color: var(--p-text-2); text-decoration: line-through; }
.tp-meta { display: flex; gap: 4px; flex-wrap: wrap; }
.tp-chip {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 10px;
  line-height: 15px;
  padding: 0 6px;
  border-radius: 8px;
  background: var(--p-chip);
  color: var(--p-text-2);
}
.tp-chip svg, .chip svg { width: 9px; height: 9px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.tp-chip.soon { color: var(--p-accent); }
.tp-star {
  flex: none;
  width: 18px;
  height: 18px;
  border: none;
  background: transparent;
  display: grid;
  place-items: center;
  padding: 0;
  color: var(--p-text-2);
  opacity: 0;
}
.tp-star svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linejoin: round; }
.tp-row:hover .tp-star, .tp-star:focus-visible { opacity: 1; }
.tp-row.important .tp-star { opacity: 1; color: #ff9f0a; }
.tp-row.important .tp-star svg { fill: currentColor; }
.tp-section {
  display: flex;
  justify-content: space-between;
  padding: 12px 10px 3px;
  font-size: 10.5px;
  font-weight: 600;
  color: var(--p-text-2);
}
.tp-input {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 14px;
}
.tp-plus { width: 17px; height: 17px; flex: none; }
.tp-input input {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  background: transparent;
  font: inherit;
  font-size: 12.5px;
  color: var(--p-text);
}
.tp-input input::placeholder { color: var(--p-text-2); }
.tp-input input:focus-visible { outline: none; }
.tp-input:focus-within { box-shadow: inset 0 0 0 2px rgba(36, 89, 224, 0.35); border-radius: 0 0 14px 14px; }

/* ---------- Features (spec sheet) ---------- */

.features {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 104px 0;
}
.features-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr);
  gap: 64px;
  align-items: start;
}
.features-intro { position: sticky; top: 112px; }
.features-intro h2 { max-width: 11ch; }
.features-intro p { margin-top: 18px; color: var(--muted); font-size: 1.08rem; max-width: 36ch; }

.spec { list-style: none; border-top: 1px solid var(--line); }
.spec-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
  gap: 32px;
  align-items: center;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}
.spec-text p { margin-top: 8px; color: var(--muted); font-size: 0.98rem; }
.spec-visual { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }

.frag-setting {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  width: 100%;
  max-width: 280px;
  padding: 10px 14px;
  background: var(--paper);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
}
.switch { width: 34px; height: 20px; border-radius: 10px; background: #cfd6d3; position: relative; flex: none; }
.switch::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25); }
.switch.on { background: var(--blue); }
.switch.on::after { left: 16px; }

.keys { flex-direction: row; flex-wrap: wrap; gap: 10px; }
.key {
  min-width: 58px;
  height: 58px;
  padding: 0 12px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  font-weight: 560;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 3px 0 var(--line);
  margin: 0;
}
.key small { font-size: 0.6rem; color: var(--muted); font-weight: 500; margin-top: 2px; }
.keys.small .key { min-width: 44px; height: 44px; font-size: 1rem; }
.keys.small .key.wide { min-width: 76px; }

.frag-row {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  max-width: 290px;
  padding: 10px 14px;
  background: var(--paper);
  border-radius: var(--radius-md);
  font-size: 0.92rem;
}
.frag-check { width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid #9aa6a1; flex: none; }
.frag-check.done { background: var(--mint); border-color: var(--mint); position: relative; }
.frag-check.done::after { content: ""; position: absolute; left: 4.5px; top: 2px; width: 4px; height: 7px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.frag-title { flex: 1; }
.frag-title.struck { color: var(--muted); text-decoration: line-through; }
.frag-star { width: 15px; height: 15px; fill: #ff9f0a; }
.frag-typed {
  font-size: 0.9rem;
  color: var(--muted);
  padding-left: 14px;
}
.caret-text::after { content: ""; display: inline-block; width: 1.5px; height: 1em; background: var(--blue); margin-left: 2px; vertical-align: -2px; }
.frag-chips { display: flex; gap: 6px; padding-left: 4px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.78rem;
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--paper);
  color: var(--muted);
}

.notif {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
  max-width: 330px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(246, 248, 247, 0.96);
  box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.1), 0 14px 30px -16px rgba(19, 32, 46, 0.35);
  font-size: 0.86rem;
  line-height: 1.35;
}
.notif img { border-radius: 7px; flex: none; }
.notif-body { flex: 1; display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.notif-app { font-size: 0.74rem; color: var(--muted); }
.notif-text { color: var(--muted); font-size: 0.8rem; }
.notif-time { font-size: 0.72rem; color: var(--muted); }
.notif-actions { display: flex; gap: 6px; margin-top: 8px; }
.notif-actions span {
  font-size: 0.76rem;
  font-weight: 560;
  padding: 3px 10px;
  border-radius: 7px;
  background: rgba(19, 32, 46, 0.07);
}

.segmented { display: inline-flex; padding: 3px; border-radius: 9px; background: var(--paper); font-size: 0.86rem; }
.segmented span { padding: 4px 14px; border-radius: 7px; color: var(--muted); }
.segmented span.active { background: var(--surface); color: var(--ink); box-shadow: 0 1px 2px rgba(19, 32, 46, 0.16); }

/* ---------- Privacy ---------- */

.privacy { padding-top: 104px; padding-bottom: 32px; }
.privacy-card {
  background: var(--ink);
  color: #eef3f0;
  border-radius: var(--radius-lg);
  padding: 56px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 24px 56px;
}
.privacy-copy h2 { max-width: 13ch; }
.privacy-copy p { margin-top: 18px; color: #b7c3be; font-size: 1.05rem; }
.privacy-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-content: center;
}
.privacy-list li {
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid rgba(238, 243, 240, 0.18);
  font-size: 0.95rem;
  font-weight: 500;
}
.privacy-list li::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mint);
  margin-right: 9px;
  vertical-align: 2px;
}
.path { grid-column: 1 / -1; font-size: 0.9rem; color: #95a39d; }
.path code {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.86rem;
  color: #dfe7e3;
  background: rgba(238, 243, 240, 0.08);
  padding: 2px 8px;
  border-radius: 6px;
  word-break: break-all;
}

/* ---------- Install ---------- */

.install { padding-top: 96px; padding-bottom: 104px; }
.install h2 { max-width: 22ch; }
.steps {
  list-style: none;
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin-top: 48px;
}
.steps li {
  counter-increment: step;
  border-top: 2px solid var(--ink);
  padding-top: 18px;
}
.steps li::before {
  content: counter(step);
  display: block;
  font-size: 2.4rem;
  font-weight: 640;
  font-stretch: 80%;
  line-height: 1;
  color: var(--mint);
  margin-bottom: 14px;
}
.steps p { margin-top: 8px; color: var(--muted); font-size: 0.96rem; }

/* ---------- Download ---------- */

.download {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 104px 0;
}
.download-inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.download-icon { width: 112px; height: 112px; }
.download h2 { margin-top: 20px; }
.download-sub { margin-top: 12px; color: var(--muted); }

.builds {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 280px));
  gap: 16px;
  margin-top: 40px;
}
.build {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 4px;
  padding: 26px 24px 22px;
  border-radius: 18px;
  border: 1.5px solid var(--line);
  background: var(--paper);
  text-decoration: none;
  transition: border-color 0.15s, background-color 0.15s;
}
.build:hover { border-color: #a9b6b0; }
.build.recommended { border-color: var(--blue); background: #f2f6ff; }
.build-badge {
  position: absolute;
  top: -12px;
  left: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  background: var(--blue);
  color: #fff;
  padding: 3px 10px;
  border-radius: 999px;
}
.build-name { font-size: 1.35rem; font-weight: 640; font-stretch: 88%; letter-spacing: -0.01em; }
.build-desc { color: var(--muted); font-size: 0.92rem; }
.build-cta {
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-weight: 580;
  font-size: 0.94rem;
}
.build-desc { margin-bottom: 16px; }
.build-cta { margin-top: auto; }
.build.recommended .build-cta { background: var(--blue); }
.download-note { min-height: 1.5em; margin-top: 16px; font-size: 0.92rem; color: var(--muted); }

.which-mac { margin-top: 8px; max-width: 560px; }
.which-mac summary { cursor: pointer; color: var(--blue); font-weight: 560; list-style: none; }
.which-mac summary::-webkit-details-marker { display: none; }
.which-mac p { margin-top: 10px; color: var(--muted); font-size: 0.95rem; }

/* ---------- FAQ ---------- */

.faq {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr);
  gap: 64px;
  padding-top: 104px;
  padding-bottom: 112px;
}
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
  font-size: 1.08rem;
  font-weight: 560;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "";
  flex: none;
  width: 11px;
  height: 11px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: translateY(-3px) rotate(45deg);
  transition: transform 0.2s;
}
.faq-list details[open] summary::after { transform: translateY(3px) rotate(-135deg); }
.faq-list details p { padding: 0 0 22px; color: var(--muted); }

/* ---------- Footer ---------- */

.site-footer { padding: 36px 0 44px; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-brand { display: flex; align-items: center; gap: 10px; font-weight: 620; font-stretch: 90%; }
.footer-brand img { border-radius: 6px; }
.site-footer p { color: var(--muted); font-size: 0.92rem; }
.site-footer a { color: var(--ink); font-weight: 560; }

/* ---------- Responsive ---------- */

@media (max-width: 1020px) {
  .hero { grid-template-columns: 1fr; padding-top: 48px; gap: 40px; }
  .hero-copy { text-align: center; display: flex; flex-direction: column; align-items: center; }
  .hero-copy h1 { max-width: 14ch; }
  .hero-actions { justify-content: center; }
  .features-grid, .faq { grid-template-columns: 1fr; gap: 36px; }
  .features-intro { position: static; }
  .features-intro h2 { max-width: 16ch; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; }
  .privacy-card { grid-template-columns: 1fr; padding: 40px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav { gap: 16px; }
  .nav-links { display: none; }
  .hero { padding-bottom: 72px; }
  .lede { font-size: 1.1rem; }
  .device-stage { display: none; }
  .tp-panel.standalone { display: flex; width: 100%; max-width: 340px; height: 440px; }
  #replayBtn, .hint-keys { display: none; }
  .spec-row { grid-template-columns: 1fr; gap: 18px; padding: 26px 0; }
  .features, .download { padding: 72px 0; }
  .privacy { padding-top: 72px; }
  .privacy-card { padding: 32px 24px; }
  .install { padding-top: 72px; padding-bottom: 72px; }
  .steps { grid-template-columns: 1fr; }
  .builds { grid-template-columns: 1fr; width: 100%; max-width: 340px; gap: 22px; }
  .faq { padding-top: 72px; padding-bottom: 80px; }
  .key { min-width: 50px; height: 50px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
