/* ClearSlate landing page. Self-hosted fonts, no third-party requests. */

@font-face {
  font-family: 'Space Grotesk';
  font-weight: 300 700;
  font-display: swap;
  src: url(assets/SpaceGrotesk-normal-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Space Grotesk';
  font-weight: 300 700;
  font-display: swap;
  src: url(assets/SpaceGrotesk-normal-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Space Mono';
  font-weight: 400;
  font-display: swap;
  src: url(assets/SpaceMono-normal-400-latin.woff2) format('woff2');
}

:root {
  --blue: #115FF5;
  --red: #FA4221;
  --red-ink: #D9330F;      /* red with AA contrast for small text on white */
  --green: #00BC77;
  --green-deep: #00905B;
  --ink: #181818;
  --text: #383838;
  --muted: #6B6C70;
  --paper: #F6F6F7;
  --white: #FFFFFF;
  --line: #E6E6E9;
  --dark: #121212;
  --dark-2: #1C1C1C;
  --dark-line: #2E2E2E;
  --dark-text: #CBCCD0;

  --sans: 'Space Grotesk', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Space Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  --radius: 14px;
  --radius-lg: 28px;
  --wrap: 1160px;
  --gutter: clamp(16px, 4vw, 40px);
  --shadow: 0 1px 2px rgba(0,0,0,.04), 0 12px 40px -12px rgba(0,0,0,.18);
  --shadow-lg: 0 60px 120px -40px rgba(0,0,0,.35), 0 24px 48px -24px rgba(0,0,0,.25);
  --ease: cubic-bezier(.2,.7,.2,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { color: var(--ink); font-weight: 500; letter-spacing: -.035em; margin: 0; }
p { margin: 0; }
kbd {
  font-family: var(--mono);
  font-size: .78em;
  padding: .12em .45em;
  border-radius: 6px;
  border: 1px solid currentColor;
  opacity: .9;
  white-space: nowrap;
}
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.br-lg { display: none; }
@media (min-width: 760px) { .br-lg { display: inline; } }

/* ---------- Dots: the brand mark ---------- */
.d { display: inline-block; width: 10px; height: 10px; border-radius: 50%; flex: none; }
.d--blue { background: var(--blue); }
.d--red { background: var(--red); }
.d--green { background: var(--green); }
.d--grey { background: #555; }
.d--white { background: #fff; }
.dots { display: inline-flex; gap: 5px; }
.dots--lg .d { width: 16px; height: 16px; }
.dots--lg { gap: 8px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink);
}
.eyebrow--muted { color: var(--muted); }
.lede { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.5; color: var(--text); max-width: 34em; }
.dim { opacity: .5; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 500 16px/1 var(--sans);
  letter-spacing: -.01em;
  padding: 15px 22px;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s;
  min-height: 48px;
}
.btn svg { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-1px); }
.btn--red { background: var(--red); color: #fff; box-shadow: 0 10px 30px -10px rgba(250,66,33,.7); }
.btn--red:hover { background: #ec3816; box-shadow: 0 14px 34px -10px rgba(250,66,33,.8); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ghost { color: var(--ink); border-color: rgba(0,0,0,.14); background: rgba(255,255,255,.5); }
.btn--ghost:hover { background: #fff; }
.btn--sm { padding: 10px 16px; font-size: 14px; min-height: 40px; }
.btn--lg { padding: 18px 30px; font-size: 18px; }

/* ---------- Chips ---------- */
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 13px; letter-spacing: .01em;
  padding: 7px 13px; border-radius: 999px;
  border: 1px solid rgba(0,0,0,.14);
  background: rgba(255,255,255,.6);
  color: var(--ink);
}
.chip .d { width: 8px; height: 8px; }
.chips--light .chip { border-color: rgba(255,255,255,.55); background: transparent; color: #fff; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246,246,247,.78);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.nav.is-scrolled { border-bottom-color: var(--line); }
.nav__inner { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand__name { font-weight: 500; font-size: 19px; letter-spacing: -.03em; }
.nav__links { display: flex; gap: 28px; margin-left: auto; font-size: 15px; }
.nav__links a { text-decoration: none; color: var(--text); }
.nav__links a:hover { color: var(--red-ink); }
@media (max-width: 760px) {
  .nav__links { display: none; }
  .nav .btn { margin-left: auto; }
}

/* ---------- Glows ---------- */
.glow { position: absolute; border-radius: 50%; filter: blur(90px); pointer-events: none; width: 520px; height: 520px; opacity: .16; }
.glow--blue { background: var(--blue); }
.glow--red { background: var(--red); }
.glow--green { background: var(--green); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(48px, 8vw, 96px) 0 0; overflow: hidden; text-align: center; }
.hero .glow--blue { left: -180px; top: 520px; }
.hero .glow--red { left: 35%; top: 640px; }
.hero .glow--green { right: -160px; top: 460px; opacity: .14; }
.hero__copy { position: relative; display: flex; flex-direction: column; align-items: center; }
.hero h1 { font-size: clamp(42px, 7.2vw, 84px); line-height: 1; letter-spacing: -.05em; margin-top: 22px; }
.hero .lede { margin-top: 22px; }
.hero__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }
.hero .chips { justify-content: center; margin-top: 28px; }

.hero__stage { position: relative; margin-top: clamp(40px, 6vw, 72px); }
.hero__clip { perspective: 2200px; max-height: min(640px, 52vw); overflow: hidden; padding: 0 2px; margin: 0 -2px; }
@media (max-width: 760px) { .hero__clip { max-height: none; } }
.theme-switch {
  position: absolute; z-index: 3; right: calc(var(--gutter) + 16px); top: -52px;
  display: inline-flex; padding: 4px; border-radius: 999px; background: rgba(255,255,255,.7);
  border: 1px solid var(--line);
}
.theme-switch button {
  font: 500 13px/1 var(--mono); border: 0; background: none; cursor: pointer;
  padding: 8px 12px; border-radius: 999px; color: var(--muted);
}
.theme-switch button.is-on { background: var(--ink); color: #fff; }
@media (max-width: 760px) { .theme-switch { position: static; margin-bottom: 14px; } }

.browser {
  margin: 0;
  border-radius: 16px 16px 0 0;
  background: #fff;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform-origin: 50% 0;
  transform: rotateX(var(--tilt, 16deg));
  transition: transform .1s linear;
  border: 1px solid rgba(0,0,0,.06);
  border-bottom: 0;
}
.browser__bar {
  display: flex; align-items: center; gap: 18px;
  height: 40px; padding: 0 14px;
  background: #ECECEE; border-bottom: 1px solid #E0E0E3;
  transition: background-color .3s;
}
.browser__lights { display: inline-flex; gap: 7px; }
.browser__lights i { width: 11px; height: 11px; border-radius: 50%; background: #D3D3D6; }
.browser__tab {
  display: inline-flex; align-items: center; gap: 8px; align-self: flex-end;
  font-size: 12.5px; color: var(--text);
  background: var(--paper); padding: 7px 40px 8px 12px; border-radius: 10px 10px 0 0;
  transition: background-color .3s, color .3s;
}
.browser__screen { position: relative; overflow: hidden; background: var(--paper); }
.browser__screen .shot { width: 100%; height: auto; transition: opacity .4s var(--ease); }
.browser__screen .shot--dark { position: absolute; inset: 0; }
.shot--dark { opacity: 0; }
.browser.is-dark .shot--dark { opacity: 1; }
.browser.is-dark .browser__bar { background: #202020; border-color: #111; }
.browser.is-dark .browser__lights i { background: #444; }
.browser.is-dark .browser__tab { background: #2C2C2C; color: var(--dark-text); }
.browser.is-dark .browser__screen { background: #2C2C2C; }
/* fade the screenshot into the page */
.hero__stage::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 30%;
  background: linear-gradient(to bottom, rgba(246,246,247,0), var(--paper));
  pointer-events: none;
}

/* ---------- Promise strip ---------- */
.promise { padding: 28px 0 8px; }
.promise__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.promise__item { padding: 28px 20px; display: flex; flex-direction: column; gap: 6px; }
.promise__item + .promise__item { border-left: 1px solid var(--line); }
.promise__item strong { font-size: clamp(32px, 4vw, 46px); font-weight: 500; letter-spacing: -.05em; color: var(--ink); line-height: 1; }
.promise__item span { font-size: 15px; color: var(--muted); line-height: 1.4; }
@media (max-width: 760px) {
  .promise__grid { grid-template-columns: 1fr 1fr; }
  .promise__item:nth-child(3) { border-left: 0; }
  .promise__item:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section--tint { background: #EEEEF0; }
.section__head { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 18px; margin-bottom: clamp(40px, 6vw, 64px); }
.section__head--left { text-align: left; align-items: flex-start; }
.section h2, .dark h2, .final h2 { font-size: clamp(34px, 5vw, 58px); line-height: 1.02; letter-spacing: -.045em; }

/* ---------- Features ---------- */
.feature {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: center; gap: 40px;
  border-radius: var(--radius-lg);
  padding: clamp(32px, 5vw, 64px);
  color: #fff;
  margin-bottom: 24px;
  min-height: 460px;
}
.feature--blue { background: var(--blue); }
.feature--red { background: var(--red); }
.feature--green { background: var(--green-deep); }
.feature::before { content: ""; position: absolute; width: 560px; height: 560px; border-radius: 50%; filter: blur(90px); opacity: .4; pointer-events: none; }
.feature--blue::before { background: #7FB0FF; right: -120px; top: -220px; }
.feature--red::before { background: #FFB199; left: -220px; bottom: -280px; }
.feature--green::before { background: #6BF0BD; right: -200px; bottom: -260px; }
.feature__copy { position: relative; display: flex; flex-direction: column; gap: 20px; }
.feature .eyebrow { color: #fff; }
.feature h3 { color: #fff; font-size: clamp(36px, 4.6vw, 56px); line-height: .98; letter-spacing: -.045em; }
.feature p { font-size: 18px; line-height: 1.55; opacity: .92; max-width: 26em; }
.feature__media { position: relative; align-self: stretch; display: flex; align-items: center; justify-content: center; }
.feature__media img { border-radius: 18px; box-shadow: var(--shadow-lg); }
.feature__media--tall img { max-height: 520px; width: auto; transform: rotate(-2deg); }
.feature__media--wide { margin-right: calc(-1 * clamp(32px, 5vw, 64px) - 60px); }
.feature__media--wide img { border-radius: 18px 0 0 18px; }
.feature__media--tasks img { max-width: 360px; transform: rotate(2deg); }
.feature--red .feature__copy { order: 0; }
@media (max-width: 860px) {
  .feature { grid-template-columns: 1fr; min-height: 0; }
  .feature__media--wide { margin-right: calc(-1 * clamp(32px, 5vw, 64px)); }
  .feature__media--tall img { max-height: 380px; }
}

/* ---------- Dark privacy band ---------- */
.dark { position: relative; overflow: hidden; background: var(--dark); color: var(--dark-text); padding: clamp(80px, 11vw, 140px) 0; }
.dark h2, .dark h3 { color: #fff; }
.dark .eyebrow { color: #fff; opacity: .85; }
.glow--dark { width: 700px; height: 700px; right: -200px; top: -300px; opacity: .22; }
.glow--dark2 { width: 600px; height: 600px; left: -260px; bottom: -200px; opacity: .14; }
.lede--dark { color: var(--dark-text); }
.dark .wrap { position: relative; }

.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.pillar {
  background: var(--dark-2); border: 1px solid var(--dark-line); border-radius: var(--radius);
  padding: 28px 24px; display: flex; flex-direction: column; gap: 12px;
}
.pillar h3 { font-size: 22px; letter-spacing: -.025em; }
.pillar p { font-size: 15.5px; line-height: 1.55; color: #A9AAAE; }
.pillar__icon { width: 30px; height: 30px; fill: none; stroke: #fff; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 8px; }
.pillar:nth-child(1) .pillar__icon { stroke: var(--green); }
.pillar:nth-child(2) .pillar__icon { stroke: var(--red); }
.pillar:nth-child(3) .pillar__icon { stroke: var(--blue); filter: brightness(1.5); }
@media (max-width: 1000px) { .pillars { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .pillars { grid-template-columns: 1fr; } }

.ledger { margin-top: 64px; border: 1px solid var(--dark-line); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 44px); background: rgba(255,255,255,.02); }
.ledger__title { font-size: 26px; margin-bottom: 20px; }
.ledger__rows { margin: 0; }
.ledger__row { display: grid; grid-template-columns: 240px 1fr; gap: 24px; padding: 18px 0; border-top: 1px solid var(--dark-line); }
.ledger__row dt { display: flex; align-items: center; gap: 12px; color: #fff; font-weight: 500; }
.ledger__row dd { margin: 0; color: #A9AAAE; }
.ledger__row dd strong { color: #fff; font-weight: 500; }
.ledger__note { margin-top: 20px; padding-top: 20px; border-top: 1px dashed var(--dark-line); font-size: 14.5px; color: #8B8C90; max-width: 60em; }
@media (max-width: 680px) { .ledger__row { grid-template-columns: 1fr; gap: 6px; } }

.dotdemo { margin-top: 64px; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 48px; align-items: center; }
.dotdemo__copy { display: flex; flex-direction: column; gap: 18px; }
.dotdemo h3 { font-size: clamp(36px, 4.4vw, 54px); line-height: 1; letter-spacing: -.045em; }
.dotdemo p { color: #A9AAAE; }
.mock { display: grid; grid-template-columns: 1fr 2fr 1.2fr; gap: 10px; padding: 12px; background: #2C2C2C; border-radius: 18px; box-shadow: var(--shadow-lg); }
.mock__panel { background: #181818; border-radius: 12px; padding: 16px 14px; min-height: 240px; display: flex; flex-direction: column; gap: 4px; position: relative; }
.mock__title { color: #fff; font-size: 17px; padding-left: 22px; margin-top: -2px; }
.mock__dot {
  position: absolute; left: 12px; top: 18px; width: 14px; height: 14px; border-radius: 50%;
  border: 0; padding: 0; cursor: pointer;
  box-shadow: 0 0 0 0 rgba(255,255,255,.4);
  transition: background-color .25s, box-shadow .25s, transform .2s;
}
.mock__dot::after { content: ""; position: absolute; inset: -10px; border-radius: 50%; } /* bigger tap target */
.mock__dot:hover { transform: scale(1.2); }
.mock__panel:not(.is-blurred) .mock__dot { animation: ping 2.4s ease-out 1s 3; }
.is-blurred .mock__dot { background: #555; animation: none; }
.mock__body { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; font-size: 13.5px; color: #CBCCD0; transition: filter .35s var(--ease), opacity .35s; }
.mock__body b { color: #fff; font-weight: 600; }
.is-blurred .mock__body { filter: blur(6px); opacity: .55; user-select: none; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(255,255,255,.45); } 100% { box-shadow: 0 0 0 12px rgba(255,255,255,0); } }
@media (max-width: 860px) {
  .dotdemo { grid-template-columns: 1fr; }
  .mock { grid-template-columns: 1fr 1fr; }
  .mock__panel--wide { grid-column: 1 / -1; order: -1; min-height: 0; }
  .mock__panel { min-height: 170px; }
}

/* ---------- Permissions ---------- */
.perms { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.perm { background: #fff; border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 12px; border: 1px solid var(--line); }
.perm code { font-family: var(--mono); font-size: 14px; color: var(--blue); background: rgba(17,95,245,.07); align-self: flex-start; padding: 4px 9px; border-radius: 6px; }
.perm p { font-size: 15.5px; line-height: 1.55; }
.perm--wide { grid-column: 1 / -1; border-left: 4px solid var(--red); }
.perm--wide code { color: var(--red-ink); background: rgba(250,66,33,.08); }
.perm--wide p { max-width: 62em; }
@media (max-width: 1000px) { .perms { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .perms { grid-template-columns: 1fr; } }

/* ---------- Customise ---------- */
.custom { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; align-items: center; }
.custom__copy { display: flex; flex-direction: column; gap: 22px; }
.custom .eyebrow { color: var(--ink); }
.specs { list-style: none; padding: 0; margin: 8px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.specs li { background: #fff; border-radius: var(--radius); padding: 18px 16px; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.specs strong { font-size: 40px; line-height: 1; font-weight: 500; letter-spacing: -.05em; color: var(--red); }
.specs span { font-size: 14px; color: var(--muted); line-height: 1.4; }
.ticks { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.ticks li { padding-left: 30px; position: relative; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .32em; width: 18px; height: 18px; border-radius: 5px; background: var(--green);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect width='24' height='24' rx='6'/%3E%3C/svg%3E");
}
.ticks li::after {
  content: ""; position: absolute; left: 5px; top: calc(.32em + 4px); width: 8px; height: 5px;
  border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg);
}
.custom__media { position: relative; padding-bottom: 18%; }
.custom__settings { width: 78%; border-radius: 18px; box-shadow: var(--shadow-lg); }
.custom__mono { position: absolute; right: 0; bottom: 0; width: 62%; border-radius: 14px; box-shadow: var(--shadow-lg); border: 6px solid #2C2C2C; }
@media (max-width: 900px) {
  .custom { grid-template-columns: 1fr; }
  .specs { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 480px) {
  .specs strong { font-size: 30px; }
  .specs li { padding: 14px 12px; }
}

/* ---------- Little things: a shortcut sheet ---------- */
.shortcuts { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; }
.shortcuts__head { display: flex; flex-direction: column; gap: 18px; position: sticky; top: 110px; }
.keys { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.keys li {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 20px 0; border-bottom: 1px solid var(--line);
  transition: padding .25s var(--ease);
}
.keys li:hover { padding-left: 10px; }
.keys li:hover .keys__how kbd { border-color: var(--ink); }
.keys__what { font-size: 19px; color: var(--ink); letter-spacing: -.015em; line-height: 1.3; }
.keys__what small { display: block; font-size: 14.5px; color: var(--muted); letter-spacing: 0; margin-top: 3px; }
.keys__how { display: flex; gap: 5px; flex: none; }
.keys__how kbd {
  font-size: 13.5px; min-width: 34px; text-align: center; padding: 7px 10px;
  background: #fff; color: var(--ink); opacity: 1;
  border: 1px solid #D6D6DA; border-bottom-width: 2px; border-radius: 8px;
  transition: border-color .2s;
}
@media (max-width: 900px) {
  .shortcuts { grid-template-columns: 1fr; gap: 36px; }
  .shortcuts__head { position: static; }
}
@media (max-width: 480px) {
  .keys li { align-items: flex-start; gap: 14px; }
  .keys__what { font-size: 17px; }
  .keys__how kbd { padding: 5px 8px; min-width: 28px; font-size: 12.5px; }
}

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 48px; align-items: start; }
.faq .section__head { position: sticky; top: 100px; margin: 0; }
.faq__list { display: flex; flex-direction: column; gap: 10px; }
details { background: #fff; border-radius: var(--radius); border: 1px solid var(--line); transition: box-shadow .2s; }
details[open] { box-shadow: var(--shadow); }
summary {
  list-style: none; cursor: pointer; padding: 20px 56px 20px 22px; position: relative;
  font-weight: 500; font-size: 18px; color: var(--ink); letter-spacing: -.015em;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 12px; height: 12px; margin-top: -6px;
  background:
    linear-gradient(var(--red), var(--red)) center / 12px 2px no-repeat,
    linear-gradient(var(--red), var(--red)) center / 2px 12px no-repeat;
  transition: transform .25s var(--ease);
}
details[open] summary::after { transform: rotate(45deg); }
details p { padding: 0 22px 22px; color: var(--text); max-width: 40em; }
@media (max-width: 860px) {
  .faq { grid-template-columns: 1fr; gap: 0; }
  .faq .section__head { position: static; margin-bottom: 32px; }
}

/* ---------- Final CTA ---------- */
.final { position: relative; overflow: hidden; padding: clamp(96px, 12vw, 160px) 0; text-align: center; }
.final__inner { position: relative; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.glow--final1 { left: 10%; top: 20%; }
.glow--final2 { right: 10%; bottom: 0; }

/* ---------- Footer ---------- */
.foot { border-top: 1px solid var(--line); padding: 32px 0; font-size: 14.5px; color: var(--muted); }
.foot__inner { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.foot p { flex: 1 1 280px; }
.foot nav { display: flex; gap: 20px; }
.foot a { color: var(--ink); }
.foot nav a { text-decoration: none; }
.foot nav a:hover { color: var(--red-ink); }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .browser { transform: none !important; }
  .mock__dot { animation: none !important; }
}

.faq__sub { font-size: 15px; color: var(--muted); }
details p a { color: var(--red-ink); }
details p kbd { font-size: .8em; }
