:root {
  --bg: #fbf3ea;
  --raised: #f4e8da;
  --card: #fffbf6;
  --ink: #231f1c;
  --ink-2: #6e625a;
  --ink-3: #857568;
  --line: rgba(35, 31, 28, 0.08);
  --accent: #8f8881;      /* pebble grey: the selection ring */
  --green: #34c759;
  --orange: #ff9f0a;
  --font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --rounded: ui-rounded, "SF Pro Rounded", system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, monospace;
  color-scheme: light;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
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: 400 17px/1.55 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
button { font-family: inherit; }
code { font: 0.86em var(--mono); background: var(--raised); padding: 2px 6px; border-radius: 6px; }
.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* ---------- Nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 243, 234, 0.74);
  backdrop-filter: blur(20px) saturate(170%);
  -webkit-backdrop-filter: blur(20px) saturate(170%);
}
.nav::after {
  content: "";
  position: absolute;
  inset: 100% 0 auto;
  height: 16px;
  background: linear-gradient(rgba(251, 243, 234, 0.9), transparent);
  opacity: 0;
  transition: opacity 200ms ease;
  pointer-events: none;
}
.nav.scrolled::after { opacity: 1; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 650; font-size: 18px; letter-spacing: -0.01em; }
.tag-free {
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--raised);
  color: var(--ink-2);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a, .lang {
  padding: 8px 12px;
  border-radius: 10px;
  color: var(--ink-2);
  font: 500 14px/1.2 var(--font);
  transition: color 120ms ease, background-color 120ms ease;
}
.nav-links a:hover, .lang:hover { color: var(--ink); background: var(--raised); }
.icon-link svg { width: 18px; height: 18px; }
.lang { margin-left: 4px; border: 0; background: transparent; cursor: pointer; font-weight: 600; }

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 48px;
  padding: 0 22px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 600;
  transition: transform 160ms cubic-bezier(.2, .8, .2, 1), background-color 120ms ease;
  -webkit-tap-highlight-color: transparent;
}
.btn svg { width: 17px; height: 17px; }
.btn:active { transform: scale(0.96); transition-duration: 60ms; }
.btn-dark { background: var(--ink); color: var(--bg); box-shadow: 0 10px 24px -10px rgba(35, 31, 28, 0.6); }
.btn-dark:hover { background: #3a332f; }
.btn-soft { background: var(--raised); color: var(--ink); }
.btn-soft:hover { background: #ecdccb; }
.btn-light { background: var(--bg); color: var(--ink); }
.btn-light:hover { background: #fff; }


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

.hero { padding-top: 64px; text-align: center; }
h1 {
  margin: 0;
  font-size: clamp(46px, 8.6vw, 96px);
  line-height: 1;
  letter-spacing: -0.045em;
  font-weight: 700;
}
/* A tiny switcher sits inside the headline: three windows, the middle one picked. */
.mini-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.07em;
  height: 0.62em;
  padding: 0 0.1em;
  border-radius: 0.16em;
  background: var(--raised);
  box-shadow: inset 0 0 0 1px var(--line);
  vertical-align: 0.12em;
}
.mini-switch i { width: 0.34em; height: 0.26em; border-radius: 0.05em; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.mini-switch b {
  width: 0.4em;
  height: 0.42em;
  border-radius: 0.08em;
  background: var(--ink);
  box-shadow: 0 0 0 0.035em var(--card), 0 0 0 0.075em var(--accent);
}

.lead { margin: 24px auto 0; max-width: 36ch; color: var(--ink-2); font-size: 19px; line-height: 1.5; }
.actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

/* ---------- The Mac ---------- */

.demo-wrap { margin-top: 64px; }
.mac-frame {
  position: relative;
  max-width: 980px;
  margin: 0 auto;
  border-radius: 28px;
  background: #1d1a18;
  padding: 10px;
  box-shadow: 0 50px 90px -50px rgba(35, 31, 28, 0.7);
}
/* Built at 960×600 and scaled to fit, so the demo keeps its proportions. */
.mac {
  position: relative;
  width: 960px;
  height: 600px;
  border-radius: 20px;
  overflow: hidden;
  transform-origin: top left;
  user-select: none;
  -webkit-user-select: none;
}
.wallpaper { position: absolute; inset: 0; transition: transform 700ms cubic-bezier(.2, .8, .2, 1), filter 500ms ease; }
.wallpaper svg { width: 100%; height: 100%; }
.mac.locked .wallpaper { transform: scale(1.04); filter: saturate(0.9) blur(2px); }

/* Lock screen */
.lock {
  position: absolute;
  inset: 0;
  z-index: 40;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 70px;
  color: rgba(255, 250, 245, 0.97);
  text-shadow: 0 1px 14px rgba(120, 60, 40, 0.28);
  transition: opacity 360ms ease, transform 520ms cubic-bezier(.2, .8, .2, 1), filter 360ms ease;
}
.mac:not(.locked) .lock { opacity: 0; transform: translateY(-36px) scale(0.97); filter: blur(8px); pointer-events: none; }
.lock-date { font: 600 22px/1.2 var(--rounded); }
.lock-time { font: 700 118px/0.95 var(--rounded); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.lock-note {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 340px;
  margin-top: 40px;
  padding: 12px 16px;
  border-radius: 22px;
  background: rgba(255, 246, 238, 0.36);
  backdrop-filter: blur(26px) saturate(140%);
  -webkit-backdrop-filter: blur(26px) saturate(140%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3), 0 20px 40px -24px rgba(90, 40, 20, 0.5);
  color: var(--ink);
  text-shadow: none;
  text-align: left;
}
.lock-note b { display: block; font-size: 13px; }
.lock-note span { display: block; font-size: 13px; color: rgba(35, 31, 28, 0.78); }
.unlock {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  margin-top: auto;
  margin-bottom: 34px;
  padding: 10px 22px;
  border: 0;
  border-radius: 999px;
  background: rgba(96, 54, 38, 0.3);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 120ms ease, background-color 120ms ease;
  text-shadow: none;
}
.unlock small { font-size: 11px; font-weight: 500; opacity: 0.75; }
.unlock:hover { background: rgba(96, 54, 38, 0.42); }
.unlock:active { transform: scale(0.96); transition-duration: 60ms; }

/* Desktop */
.desktop { position: absolute; inset: 0; transition: opacity 420ms ease 120ms; }
.mac.locked .desktop { opacity: 0; pointer-events: none; }
.menubar {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 28px;
  padding: 0 16px;
  background: rgba(255, 245, 236, 0.45);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  color: rgba(35, 31, 28, 0.88);
  font-size: 13px;
  font-weight: 500;
}
.mb-left, .mb-right { display: flex; align-items: center; gap: 18px; }
.mb-left span { color: rgba(35, 31, 28, 0.75); }
.mb-right svg { width: 15px; height: 15px; }
.mb-right .mb-ferry { width: 17px; height: 17px; }
.mb-right { font-variant-numeric: tabular-nums; }

/* Windows */
.windows { position: absolute; inset: 0; z-index: 1; }
.win {
  position: absolute;
  border-radius: 12px;
  background: #fffdf9;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(35, 31, 28, 0.1), 0 18px 36px -18px rgba(70, 35, 20, 0.45);
  transform-origin: 50% 100%;
  will-change: transform;
  transition: box-shadow 200ms ease;
}
.win.front { box-shadow: 0 0 0 1px rgba(35, 31, 28, 0.12), 0 30px 60px -22px rgba(70, 35, 20, 0.6); }
.win-bar {
  position: relative;
  display: flex;
  align-items: center;
  height: 30px;
  padding: 0 12px;
  background: #f6efe6;
  color: var(--ink-3);
  font-size: 12px;
  font-weight: 600;
  cursor: grab;
}
.win.front .win-bar { color: var(--ink); }
.win-bar.dragging { cursor: grabbing; }
.lights { display: flex; gap: 7px; }
.lights i { width: 11px; height: 11px; border-radius: 50%; background: #d8cdc2; }
.win.front .lights i:nth-child(1) { background: #e8664f; }
.win.front .lights i:nth-child(2) { background: #e8b14f; }
.win.front .lights i:nth-child(3) { background: #6fbf73; }
.win-title { position: absolute; left: 70px; right: 70px; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.win-body { position: absolute; inset: 30px 0 0; overflow: hidden; color: var(--ink); }

/* Window contents */
.notes { display: grid; grid-template-columns: 140px 1fr; height: 100%; }
.notes aside { padding: 12px; background: #f7efe4; font-size: 11.5px; color: var(--ink-2); }
.notes aside p { margin: 0 0 8px; padding: 4px 8px; border-radius: 6px; }
.notes aside p.on { background: rgba(232, 163, 61, 0.25); color: var(--ink); font-weight: 600; }
.notes article { padding: 16px 20px; font-size: 13px; line-height: 1.55; }
.notes h4 { margin: 0 0 8px; font-size: 17px; letter-spacing: -0.01em; }
.notes ol { margin: 0; padding-left: 18px; color: var(--ink-2); }
.notes s { color: var(--ink-3); }

.browser .url { margin: 8px auto; width: 60%; height: 22px; border-radius: 7px; background: #f3ece3; font-size: 11px; color: var(--ink-3); display: grid; place-items: center; }
.browser .page { padding: 18px 22px; background: linear-gradient(135deg, #3d7be8, #6aa0f0); color: #fff; }
.browser .page h4 { margin: 0; font-size: 20px; letter-spacing: -0.02em; }
.browser .page p { margin: 4px 0 0; font-size: 12px; opacity: 0.85; }
.browser .cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 14px 22px; }
.browser .cards div { height: 74px; border-radius: 10px; background: #f3ece3; display: flex; align-items: flex-end; padding: 8px; font-size: 11px; font-weight: 600; color: var(--ink-2); }

.code { height: 100%; padding: 14px 16px; background: #1f1c1a; color: #f6ece2; font: 12px/1.65 var(--mono); white-space: pre; }
.code .k { color: #e8664f; } .code .s { color: #8bc48a; } .code .c { color: #8a7e74; } .code .f { color: #8fc1e3; }

.mail { display: grid; grid-template-columns: 200px 1fr; height: 100%; }
.mail ul { margin: 0; padding: 6px; list-style: none; background: #f7efe4; }
.mail li { padding: 8px 10px; border-radius: 8px; font-size: 11.5px; color: var(--ink-2); }
.mail li b { display: block; color: var(--ink); font-size: 12px; }
.mail li.on { background: rgba(63, 165, 138, 0.18); }
.mail article { padding: 16px 20px; font-size: 13px; color: var(--ink-2); line-height: 1.55; }
.mail article h4 { margin: 0 0 8px; color: var(--ink); font-size: 16px; }

.photos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; padding: 10px; }
.photos i { aspect-ratio: 4 / 3; border-radius: 6px; }

.toast {
  position: absolute;
  left: 50%;
  top: 44px;
  z-index: 30;
  padding: 10px 16px;
  border-radius: 14px;
  background: rgba(35, 31, 28, 0.86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #fff;
  font-size: 13.5px;
  font-weight: 550;
  white-space: nowrap;
  opacity: 0;
  transform: translate(-50%, -10px);
  transition: opacity 240ms ease, transform 360ms cubic-bezier(.2, .8, .2, 1);
  pointer-events: none;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Harbor Dock ---------- */

.dock {
  position: absolute;
  left: 50%;
  bottom: 8px;
  z-index: 25;
  display: flex;
  align-items: flex-end;
  gap: 10px;
  padding: 7px 10px;
  border-radius: 20px;
  background: rgba(255, 248, 240, 0.5);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.55), 0 12px 30px -14px rgba(70, 35, 20, 0.45);
  transform: translateX(-50%);
}
.dock a { position: relative; display: block; width: 52px; height: 52px; transition: transform 140ms cubic-bezier(.2, .8, .2, 1); -webkit-tap-highlight-color: transparent; }
.dock a:hover { transform: translateY(-3px); }
.dock a:active { transform: translateY(-3px) scale(0.92); transition-duration: 60ms; }
.dock a img { width: 100%; height: 100%; }
.dock a.running::after { content: ""; position: absolute; left: 50%; bottom: -5px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: rgba(35, 31, 28, 0.6); }

.dock-label {
  position: absolute;
  bottom: 80px;
  z-index: 26;
  padding: 4px 10px;
  border-radius: 8px;
  background: rgba(35, 31, 28, 0.82);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  transform: translateX(-50%);
  pointer-events: none;
}

.dock-preview {
  position: absolute;
  bottom: 74px;
  z-index: 26;
  padding: 12px;
  border-radius: 18px;
  background: rgba(251, 243, 234, 0.82);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.6), 0 0 0 1px rgba(35, 31, 28, 0.06), 0 20px 40px -18px rgba(70, 35, 20, 0.5);
  transform-origin: 50% 100%;
}
.dp-head { display: flex; align-items: center; gap: 7px; margin: 0 4px 10px; font-size: 12.5px; font-weight: 650; }
.dp-head img { width: 18px; height: 18px; }
.dp-head span { color: var(--ink-3); font-weight: 500; }
.dp-cards { display: flex; gap: 8px; }
.dp-card { width: 150px; padding: 6px; border: 0; border-radius: 12px; background: transparent; font: inherit; color: inherit; text-align: center; cursor: pointer; transition: transform 100ms ease; }
.dp-card:hover { background: var(--card); box-shadow: inset 0 0 0 2px var(--accent); }
.dp-card:active { transform: scale(0.97); transition-duration: 50ms; }
.dp-card .mini { height: 90px; border-radius: 6px; background: #fffdf9; box-shadow: 0 0 0 1px rgba(35, 31, 28, 0.1), 0 3px 8px -3px rgba(60, 30, 20, 0.3); overflow: hidden; position: relative; }
.dp-card small { display: block; margin-top: 5px; font-size: 11px; font-weight: 550; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- Switcher ---------- */

.switcher { position: absolute; inset: 0; z-index: 30; display: grid; place-items: center; pointer-events: none; }
.switcher.open { pointer-events: auto; }
.sw-panel {
  max-width: 900px;
  padding: 16px;
  border-radius: 24px;
  background: rgba(251, 243, 234, 0.8);
  backdrop-filter: blur(28px) saturate(160%);
  -webkit-backdrop-filter: blur(28px) saturate(160%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.6), 0 0 0 1px rgba(35, 31, 28, 0.06), 0 30px 60px -20px rgba(60, 30, 20, 0.45);
  opacity: 0;
  will-change: transform, opacity;
}
.sw-search {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  margin-bottom: 12px;
  padding: 0 12px;
  border-radius: 11px;
  background: var(--card);
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: 15px;
  font-weight: 550;
}
.sw-search svg { width: 15px; height: 15px; color: var(--ink-3); }
.sw-search span:empty::before { content: attr(data-placeholder); color: var(--ink-3); }
.caret { width: 2px; height: 17px; margin-left: -6px; border-radius: 1px; background: var(--accent); }
.sw-grid { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; width: calc(var(--cols, 4) * 168px + (var(--cols, 4) - 1) * 8px); margin: 0 auto; }
.sw-tile { position: relative; z-index: 1; flex: none; width: 168px; padding: 8px; border-radius: 14px; cursor: pointer; transition: transform 90ms ease; }
.sw-tile:active { transform: scale(0.97); transition-duration: 40ms; }
.sw-thumb { position: relative; height: 96px; border-radius: 7px; overflow: hidden; background: #fffdf9; box-shadow: 0 0 0 1px rgba(35, 31, 28, 0.1), 0 3px 8px -3px rgba(60, 30, 20, 0.3); }
.sw-thumb.minimized { opacity: 0.55; }
.sw-badge { position: absolute; top: 5px; right: 5px; z-index: 2; padding: 1px 6px; border-radius: 999px; background: var(--card); box-shadow: 0 0 0 1px var(--line); font-size: 10px; font-weight: 700; color: var(--ink); }
.sw-cap { display: flex; align-items: center; justify-content: center; gap: 5px; margin-top: 7px; font-size: 11.5px; font-weight: 500; color: var(--ink-2); }
.sw-cap span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sw-tile.sel .sw-cap { color: var(--ink); font-weight: 650; }
.app-dot { flex: none; display: grid; place-items: center; width: 14px; height: 14px; border-radius: 4px; color: #fff; font-size: 8.5px; font-weight: 800; }
.sw-ring { position: absolute; left: 0; top: 0; z-index: 0; border-radius: 14px; background: var(--card); box-shadow: inset 0 0 0 2px var(--accent), 0 6px 14px -6px rgba(60, 30, 20, 0.25); will-change: transform; }
.sw-empty { padding: 40px 120px; color: var(--ink-2); font-size: 14px; font-weight: 600; }
.sw-hints { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 14px; margin-top: 12px; color: var(--ink-3); font-size: 11px; font-weight: 550; }
.sw-hints span { display: flex; align-items: center; gap: 5px; }
kbd {
  display: inline-grid;
  place-items: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 5px;
  background: var(--card);
  box-shadow: inset 0 0 0 1px var(--line), 0 1px 0 rgba(35, 31, 28, 0.08);
  color: var(--ink-2);
  font: 600 10.5px/1 var(--font);
}
/* Scaled-down copy of a window inside a tile */
.clone { position: absolute; left: 0; top: 0; transform-origin: 0 0; pointer-events: none; }
.clone .win { position: relative; left: 0 !important; top: 0 !important; transform: none !important; box-shadow: none; }

/* Demo controls */
.demo-controls { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 22px; }
.demo-hint { margin: 0; color: var(--ink-2); font-size: 15px; text-align: center; }
.demo-hint kbd { font-size: 12px; height: 22px; min-width: 22px; }
.try {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 40px;
  padding: 0 16px 0 10px;
  border: 0;
  border-radius: 999px;
  background: var(--raised);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 120ms ease, background-color 120ms ease;
  -webkit-tap-highlight-color: transparent;
}
.try:hover { background: #ecdccb; }
.try:active { transform: scale(0.95); transition-duration: 50ms; }
.try kbd { height: 24px; min-width: 24px; font-size: 12px; }
.try span { margin-left: 4px; }

/* ---------- Features ---------- */

.section { padding-top: 140px; }
h2 {
  margin: 0 auto;
  max-width: 18ch;
  text-align: center;
  font-size: clamp(32px, 4.6vw, 52px);
  line-height: 1.06;
  letter-spacing: -0.035em;
  font-weight: 700;
}
.sub { margin: 18px auto 0; max-width: 52ch; color: var(--ink-2); text-align: center; font-size: 17px; }
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 52px 28px; margin-top: 64px; text-align: center; }
.feature { display: flex; flex-direction: column; align-items: center; }
.tile {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 18px;
  background: var(--raised);
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line);
}
.tile svg { width: 26px; height: 26px; }
.feature h3 { margin: 16px 0 0; font-size: 18px; letter-spacing: -0.015em; font-weight: 650; }
.feature p { margin: 4px 0 0; max-width: 22ch; color: var(--ink-2); font-size: 15px; line-height: 1.45; }

/* ---------- Numbers ---------- */

.numbers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 860px; margin: 48px auto 0; }
.numbers div { padding: 28px 20px; border-radius: 24px; background: var(--raised); box-shadow: inset 0 0 0 1px var(--line); text-align: center; }
.numbers b { display: block; font-size: 44px; line-height: 1; letter-spacing: -0.04em; font-weight: 700; font-variant-numeric: tabular-nums; }
.numbers span { display: block; margin-top: 8px; color: var(--ink-2); font-size: 14.5px; }

/* ---------- CTA ---------- */

.cta { display: flex; flex-direction: column; align-items: center; padding: 64px 28px 56px; border-radius: 36px; background: var(--ink); color: var(--bg); text-align: center; }
.cta img { margin-bottom: 22px; }
.cta h2 { color: var(--bg); }
.cta > p { margin: 12px 0 28px; color: rgba(251, 243, 234, 0.7); font-size: 18px; }
.cta .cta-note { margin: 22px 0 0; max-width: 46ch; color: rgba(251, 243, 234, 0.55); font-size: 14px; }

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

.faq { max-width: 720px; margin: 44px auto 0; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; font-size: 17px; font-weight: 600; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: none;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--ink-3);
  border-bottom: 2px solid var(--ink-3);
  transform: rotate(45deg) translateY(-3px);
  transition: transform 250ms cubic-bezier(.2, .8, .2, 1);
}
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.faq p { margin: 0 0 22px; color: var(--ink-2); font-size: 16px; }

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

.footer { margin-top: 120px; padding-top: 28px; padding-bottom: 44px; border-top: 1px solid var(--line); }
.footer-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-brand { display: flex; align-items: center; gap: 8px; font-weight: 650; font-size: 15px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--ink-2); font-size: 14px; }
.footer-links a:hover { color: var(--ink); }
.disclaimer a { text-decoration: underline; text-underline-offset: 2px; }
.disclaimer + .disclaimer { margin-top: 6px; }
.disclaimer { margin: 16px 0 0; max-width: 80ch; color: var(--ink-3); font-size: 12.5px; line-height: 1.5; }

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

@media (max-width: 900px) {
  .features { grid-template-columns: repeat(2, 1fr); gap: 44px 20px; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  .hero { padding-top: 40px; }
  .nav-links a[href^="#"] { display: none; }
  .demo-wrap { margin-top: 44px; padding: 0 10px; }
  .mac-frame { padding: 6px; border-radius: 18px; }
  .section { padding-top: 100px; }
  .numbers { grid-template-columns: 1fr; }
  .cta { padding: 48px 20px 44px; border-radius: 28px; }
}

/* ---------- Accessibility ---------- */

@media (prefers-reduced-motion: reduce) {
  .lock, .wallpaper, .desktop { transition: opacity 200ms ease !important; transform: none !important; filter: none !important; }
  .toast { transition: opacity 200ms ease; transform: translate(-50%, 0); }
}
@media (prefers-reduced-transparency: reduce) {
  .nav { background: var(--bg); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .lock-note, .unlock, .menubar, .toast, .dock, .dock-preview, .sw-panel { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .lock-note { background: #f6e3d6; }
  .menubar { background: #f6e3d6; }
  .dock { background: #f4e8da; }
  .dock-preview, .sw-panel { background: var(--bg); }
}
@media (prefers-contrast: more) {
  :root { --ink-2: #3f3631; --ink-3: #5f544c; --line: rgba(35, 31, 28, 0.35); }
  .sw-panel, .dock-preview { box-shadow: 0 0 0 1.5px var(--ink-2), 0 30px 60px -20px rgba(60, 30, 20, 0.45); }
}
