/* ClamDown landing page.
   Palette comes from the app icon: pearl lid, navy-to-teal night, a mint seam that means "running".
   Mint is a signal, not decoration: it appears only where something is on or working. */

:root {
  --paper: #f2f5f9;
  --paper-2: #e8edf4;
  --pearl: #ffffff;
  --ink: #0f1e3a;
  --ink-2: #44526b;
  --ink-3: #6b7890;
  --line: #d3dae5;
  --navy: #0e2766;
  --teal: #1d8796;
  --mint: #11896a;          /* text-safe mint on paper */
  --mint-glow: #6ff0b8;     /* light, used on dark surfaces only */
  --focus: #1d6fe0;
  --stage-1: #0e2766;
  --stage-2: #165b78;
  --stage-ink: #e9f1fb;
  --stage-ink-2: #a9bdd6;
  --radius-l: 28px;
  --radius-m: 14px;
  --wrap: 1180px;
  --font: "Mona Sans", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0a1426;
    --paper-2: #0f1c33;
    --pearl: #13223d;
    --ink: #e8eef7;
    --ink-2: #a8b6cc;
    --ink-3: #8393ac;
    --line: #22324f;
    --mint: #5fdcaa;
    --focus: #7cb2ff;
    --stage-1: #0b1f52;
    --stage-2: #114a63;
    color-scheme: dark;
  }
}

:root[data-theme="dark"] {
  --paper: #0a1426;
  --paper-2: #0f1c33;
  --pearl: #13223d;
  --ink: #e8eef7;
  --ink-2: #a8b6cc;
  --ink-3: #8393ac;
  --line: #22324f;
  --mint: #5fdcaa;
  --focus: #7cb2ff;
  --stage-1: #0b1f52;
  --stage-2: #114a63;
  color-scheme: dark;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.125rem;
  line-height: 1.55;
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }

h1, h2, h3 {
  margin: 0;
  font-weight: 720;
  font-stretch: 116%;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.6rem, 5vw, 4.5rem); line-height: 1; font-weight: 780; font-stretch: 118%; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.9rem); line-height: 1.06; }
h3 { font-size: 1.3rem; line-height: 1.2; font-stretch: 108%; letter-spacing: -0.01em; }
p { margin: 0 0 1em; max-width: 64ch; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

code {
  font-family: var(--mono);
  font-size: 0.86em;
  padding: 0.1em 0.38em;
  border-radius: 6px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  white-space: nowrap;
}

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

.wrap { width: min(100% - 2 * clamp(20px, 5vw, 56px), var(--wrap)); margin-inline: auto; }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 10;
  background: var(--ink); color: var(--paper); padding: 10px 14px; border-radius: 10px;
}
.skip:focus { top: 12px; }

/* Buttons and links */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 24px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-weight: 650; font-size: 1.05rem; text-decoration: none;
  border: 0; cursor: pointer;
  box-shadow: 0 1px 0 rgb(255 255 255 / .15) inset, 0 10px 24px -12px rgb(14 39 102 / .55);
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 1px 0 rgb(255 255 255 / .15) inset, 0 14px 28px -12px rgb(14 39 102 / .65); }
.btn:active { transform: translateY(0); }
.btn--small { padding: 9px 16px; font-size: 0.95rem; }

.link {
  color: var(--ink);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, var(--ink) 30%, transparent);
  text-underline-offset: 4px;
  text-decoration-thickness: 2px;
}
.link:hover { text-decoration-color: var(--ink); }

/* Navigation */
.nav {
  position: sticky; top: 0; z-index: 5;
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}
.nav__row { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 720; font-stretch: 112%; font-size: 1.12rem; }
.nav__links { display: flex; gap: 24px; margin-left: auto; font-size: 0.98rem; }
.nav__links a { text-decoration: none; color: var(--ink-2); }
.nav__links a:hover { color: var(--ink); }
.nav__github { display: inline-flex; align-items: center; gap: 7px; }
@media (max-width: 720px) {
  .nav__links { display: none; }
  .nav__row .btn { margin-left: auto; }
}

/* Hero */
.hero { padding: clamp(40px, 7vw, 96px) 0 clamp(64px, 8vw, 120px); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 5.4fr) minmax(0, 6.6fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.lead { font-size: clamp(1.15rem, 1.6vw, 1.32rem); color: var(--ink-2); margin-top: 28px; max-width: 34ch; }
.features { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 10px; max-width: 46ch; color: var(--ink); font-size: 1rem; line-height: 1.45; }
.features li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; align-items: start; }
.features li::before {
  content: ""; width: 20px; height: 20px; margin-top: 1px; border-radius: 50%;
  background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.6 2.6L14 7.6' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat;
}
.cta { display: inline-flex; flex-direction: column; align-items: center; gap: 16px; margin-top: 36px; }
.meta { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 6px 18px; color: var(--ink-3); font-size: 0.95rem; }
.meta li[hidden] { display: none; }
@media (max-width: 960px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); }
  .lead { max-width: 46ch; }
}

/* The stage: the one bold moment on the page */
.stage {
  margin: 0;
  padding: clamp(22px, 3.4vw, 44px);
  border-radius: var(--radius-l);
  background:
    radial-gradient(120% 90% at 85% 110%, rgb(31 140 150 / .55), transparent 60%),
    linear-gradient(160deg, var(--stage-1), var(--stage-2));
  color: var(--stage-ink);
  box-shadow: 0 40px 80px -40px rgb(14 39 102 / .6), 0 0 0 1px rgb(255 255 255 / .06) inset;
}
.stage__scene { position: relative; }
.laptop { width: 100%; height: auto; }
/* The terminal sits in the free top-right corner; the open lid leans into the top-left. */
.stage__scene .term { position: absolute; top: 0; right: 0; width: 58%; }
@media (max-width: 600px) {
  .stage__scene .term { position: static; width: auto; margin-top: -8px; }
}
.laptop__shadow { fill: rgb(0 10 30 / .35); filter: blur(6px); }
.laptop__hinge { fill: #cfd6e3; }
.laptop__screen { fill: #dff0ff; transition: opacity .6s ease; }
.laptop__spill { fill: url(#g-spill); transition: opacity .6s ease; }
.laptop__lid {
  transform-box: view-box;
  transform-origin: 96px 232px;
  transform: rotate(-104deg);
  transition: transform 1.3s cubic-bezier(.55, .05, .25, 1);
}
.laptop__seam { opacity: 0; transition: opacity .5s ease .9s; }

.stage[data-lid="closed"] .laptop__lid { transform: rotate(0deg); }
.stage[data-lid="closed"] .laptop__spill,
.stage[data-lid="closed"] .laptop__screen { opacity: 0; }
.stage[data-lid="closed"][data-awake="true"] .laptop__seam { opacity: 1; animation: seam 3.2s ease-in-out 1.4s infinite; }
@keyframes seam { 50% { opacity: .62; } }

.term {
  border-radius: var(--radius-m);
  background: rgb(5 14 36 / .62);
  border: 1px solid rgb(255 255 255 / .1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  overflow: hidden;
  transition: opacity .6s ease, filter .6s ease;
}
.term__bar { display: flex; align-items: center; gap: 12px; padding: 12px 18px; border-bottom: 1px solid rgb(255 255 255 / .07); font-size: 0.82rem; color: var(--stage-ink-2); }
.term__dots { display: flex; gap: 6px; }
.term__dots i { width: 10px; height: 10px; border-radius: 50%; background: rgb(255 255 255 / .18); }
.term__title { font-family: var(--mono); }
.term__time { margin-left: auto; font-family: var(--mono); font-variant-numeric: tabular-nums; }
.term__body {
  list-style: none; margin: 0; padding: 16px 20px 18px;
  font-family: var(--mono); font-size: 0.76rem; line-height: 1.6;
  height: calc(1.6em * 7 + 34px);
  overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
  color: #cfe0f5;
}
.term__body li { white-space: pre; overflow: hidden; text-overflow: ellipsis; }
.term__body .ok { color: var(--mint-glow); }
.term__body .dim { color: #7f95b5; }
.term__body .event { color: #ffd78a; }
.term__body .warn { color: #ffab9a; }
.stage[data-awake="false"] .term { opacity: .55; filter: saturate(.3); }

.stage__controls { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 28px; }
.btn--ghost {
  background: rgb(255 255 255 / .1); color: var(--stage-ink);
  box-shadow: 0 0 0 1px rgb(255 255 255 / .18) inset;
  padding: 11px 20px; font-size: 0.98rem;
}
.btn--ghost:hover { background: rgb(255 255 255 / .16); box-shadow: 0 0 0 1px rgb(255 255 255 / .28) inset; }
.stage :focus-visible { outline-color: var(--mint-glow); }

.switch { display: inline-flex; align-items: center; gap: 12px; cursor: pointer; font-weight: 600; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch__track {
  position: relative; width: 50px; height: 30px; border-radius: 999px;
  background: rgb(255 255 255 / .2);
  transition: background .2s ease;
}
.switch__thumb {
  position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%;
  background: #fff; box-shadow: 0 2px 6px rgb(0 0 0 / .3);
  transition: transform .2s ease;
}
.switch input:checked + .switch__track { background: #22b884; }
.switch input:checked + .switch__track .switch__thumb { transform: translateX(20px); }
.switch input:focus-visible + .switch__track { outline: 3px solid var(--mint-glow); outline-offset: 3px; }
.switch input:disabled ~ * { opacity: .55; cursor: not-allowed; }

.readouts {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px;
  margin: 28px 0 0; padding-top: 22px; border-top: 1px solid rgb(255 255 255 / .12);
}
.readouts div { min-width: 0; }
.readouts dt { font-size: 0.8rem; color: var(--stage-ink-2); }
.readouts dd { margin: 2px 0 0; font-weight: 650; font-stretch: 108%; font-variant-numeric: tabular-nums; font-size: 1.02rem; white-space: nowrap; }
.readouts dd.is-on { color: var(--mint-glow); }
.readouts dd small { display: block; font-size: 0.78rem; font-weight: 450; font-stretch: 100%; color: var(--stage-ink-2); }
.stage__caption { margin-top: 22px; font-size: 0.92rem; color: var(--stage-ink-2); min-height: 1.5em; }
@media (max-width: 520px) {
  .readouts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Pain: the half-open-laptop habit, then the fix */
.pain { padding: clamp(64px, 8vw, 112px) 0; border-top: 1px solid var(--line); }
.pain__intro { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.pain__text { color: var(--ink-2); }
.pain__pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 3vw, 32px); margin-top: clamp(36px, 5vw, 64px); }
.pain__pair[hidden] { display: none; }
.pain__pair figure { margin: 0; }
.pain__pair img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius-l); box-shadow: 0 30px 60px -36px rgb(14 39 102 / .55); }
.pain__pair figcaption { margin-top: 14px; color: var(--ink-2); font-size: 1rem; max-width: 40ch; }
.pain__pair figcaption strong { color: var(--ink); font-weight: 650; }
@media (max-width: 860px) { .pain__intro { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .pain__pair { grid-template-columns: minmax(0, 1fr); } }

/* Social posts about the half-open-laptop habit */
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 28px); align-items: start; margin-top: clamp(36px, 5vw, 64px); }
.post { min-width: 0; }
.posts blockquote { margin: 0 !important; min-width: 0; }
.post > blockquote.twitter-tweet:not(.twitter-tweet-rendered) {
  position: relative;
  padding: 22px 24px; border-radius: var(--radius-m);
  background: var(--pearl); border: 1px solid var(--line); color: var(--ink-2);
  font-size: 1rem;
}
.posts .twitter-tweet-rendered { width: 100% !important; max-width: 100% !important; }
.post[data-state="ready"] > blockquote.twitter-tweet:not(.twitter-tweet-rendered) { display: none; }

/* While the post loads: a placeholder card the size of a post, with a shimmer and a label. */
.post[data-state="loading"] > blockquote.twitter-tweet:not(.twitter-tweet-rendered) {
  min-height: 380px; overflow: hidden;
  background: linear-gradient(100deg, var(--pearl) 30%, var(--paper-2) 50%, var(--pearl) 70%) 0 0 / 300% 100%;
  animation: post-shimmer 1.6s linear infinite;
}
.post[data-state="loading"] > blockquote.twitter-tweet:not(.twitter-tweet-rendered) > * { visibility: hidden; }
.post[data-state="loading"] > blockquote.twitter-tweet:not(.twitter-tweet-rendered)::after {
  content: "Loading post from X…";
  position: absolute; left: 24px; bottom: 20px;
  color: var(--ink-3); font-size: 0.9rem;
}
@keyframes post-shimmer { to { background-position: -300% 0; } }

/* If X never answers: say so and keep the description and link usable. */
.post[data-state="failed"] > blockquote.twitter-tweet:not(.twitter-tweet-rendered)::before {
  content: "Couldn’t load this post from X.";
  display: block; margin-bottom: 8px;
  color: var(--ink); font-weight: 650;
}
@media (max-width: 960px) { .posts { grid-template-columns: minmax(0, 1fr); max-width: 560px; } }

/* Cloud sessions compared with ClamDown */
.cloud { padding: clamp(64px, 8vw, 112px) 0; background: var(--pearl); border-block: 1px solid var(--line); }
.cloud__intro { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.cloud__text { color: var(--ink-2); }
.compare { margin-top: clamp(32px, 4vw, 56px); }
.compare__head, .compare__row { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 4fr) minmax(0, 4fr); gap: 24px; padding: 18px 0; }
.compare__head { padding-top: 0; border-bottom: 1px solid var(--ink); font-size: 0.9rem; color: var(--ink-3); }
.compare__head span:last-child { color: var(--mint); font-weight: 650; }
.compare__row { border-bottom: 1px solid var(--line); color: var(--ink-2); }
.compare__row > span:first-child { color: var(--ink); font-weight: 650; }
.compare__row > span:last-child { color: var(--ink); font-weight: 560; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 860px) { .cloud__intro { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) {
  .compare__head { display: none; }
  .compare__row { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .compare__row > span:nth-child(2)::before { content: "Cloud session: "; color: var(--ink-3); }
  .compare__row > span:nth-child(3)::before { content: "ClamDown: "; color: var(--mint); font-weight: 650; }
}

/* Why */
.why { padding: clamp(64px, 8vw, 112px) 0; border-top: 1px solid var(--line); }
.why__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.why__text { color: var(--ink-2); }
.uses { margin: 28px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; color: var(--ink); font-weight: 560; }
.uses li { display: flex; gap: 12px; align-items: baseline; }
.uses li::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--mint); transform: translateY(-2px); }
@media (max-width: 860px) { .why__grid { grid-template-columns: minmax(0, 1fr); } }

/* Safety rules */
.safety { padding: clamp(64px, 8vw, 112px) 0; background: var(--pearl); border-block: 1px solid var(--line); }
.safety__title { max-width: 22ch; }
.rules { margin-top: clamp(32px, 4vw, 56px); }
.rules__head, .rule {
  display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 5fr) minmax(0, 2fr);
  gap: 24px; padding: 18px 0;
}
.rules__head { font-size: 0.9rem; color: var(--ink-3); padding-top: 0; border-bottom: 1px solid var(--ink); }
.rule { border-bottom: 1px solid var(--line); color: var(--ink-2); }
.rule__when { color: var(--ink); font-weight: 650; }
.rule__value { color: var(--ink); font-weight: 650; font-stretch: 108%; font-variant-numeric: tabular-nums; }
.rule__value small { display: block; font-weight: 450; font-stretch: 100%; color: var(--ink-3); font-size: 0.86rem; margin-top: 2px; }
@media (max-width: 760px) {
  .rules__head { display: none; }
  .rule { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .rule__value { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; margin-top: 4px; }
  .rule__value small { margin-top: 0; }
}

/* Fan curve */
.fans { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 72px); margin-top: clamp(64px, 8vw, 104px); align-items: start; }
.fans__text { color: var(--ink-2); }
.fans__text h3 { color: var(--ink); margin-bottom: 18px; max-width: 20ch; font-size: clamp(1.4rem, 2.2vw, 1.75rem); }
@media (max-width: 860px) { .fans { grid-template-columns: minmax(0, 1fr); } }

.chart { margin: 0; }
.chart figcaption { display: grid; gap: 4px; margin-bottom: 14px; }
.chart__title { font-weight: 650; }
.chart__desc { color: var(--ink-3); font-size: 0.95rem; }
.chart__plot { position: relative; }
.chart__plot svg { width: 100%; height: auto; overflow: visible; touch-action: pan-y; }
.chart__grid line { stroke: var(--line); stroke-width: 1; }
.chart__grid .chart__base { stroke: var(--ink-3); }
.chart__ylabels text, .chart__xlabels text { fill: var(--ink-3); font-size: 13px; font-family: var(--font); }
.chart__ylabels text { text-anchor: end; }
.chart__xlabels text { text-anchor: middle; }
.chart__line { fill: none; stroke: var(--mint); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.chart__area { fill: var(--mint); opacity: .09; }
.chart__knees circle { fill: var(--pearl); stroke: var(--mint); stroke-width: 2.5; }
.chart__knees text { fill: var(--ink); font-size: 13px; font-weight: 650; font-family: var(--font); }
.chart__cursor[hidden] { display: none; }
.chart__crosshair { stroke: var(--ink-3); stroke-width: 1; stroke-dasharray: 3 3; }
.chart__dot { fill: var(--mint); stroke: var(--pearl); stroke-width: 2; }
.chart__tip {
  position: absolute; top: 0; transform: translate(-50%, -110%);
  padding: 8px 12px; border-radius: 10px;
  background: var(--ink); color: var(--paper);
  font-size: 0.86rem; line-height: 1.35; white-space: nowrap; pointer-events: none;
  font-variant-numeric: tabular-nums;
}
.chart__tip strong { font-weight: 650; }
.chart__table { margin-top: 16px; font-size: 0.95rem; color: var(--ink-2); }
.chart__table summary { cursor: pointer; color: var(--ink); font-weight: 600; width: fit-content; }
.chart__table table { margin-top: 12px; border-collapse: collapse; width: 100%; max-width: 420px; }
.chart__table th, .chart__table td { text-align: left; padding: 8px 12px 8px 0; border-bottom: 1px solid var(--line); }
.chart__table th { color: var(--ink-3); font-weight: 500; }

/* Menu bar mock */
.menu { padding: clamp(64px, 8vw, 112px) 0; }
.menu__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.menu__text h2 { margin-bottom: 22px; }
.menu__text { color: var(--ink-2); }
.menu__text h2 { color: var(--ink); }
.menu__mock {
  position: relative;
  padding: 0 0 32px;
  border-radius: var(--radius-l);
  background: linear-gradient(170deg, #1b3f8f, #1d8796 120%);
  overflow: hidden;
  min-height: 330px;
}
.menubar {
  display: flex; justify-content: flex-end; align-items: center; gap: 18px;
  height: 34px; padding: 0 22px;
  background: rgb(255 255 255 / .22);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  color: #fff; font-size: 0.86rem; font-weight: 550;
}
.menubar__time { order: 2; }
.menubar__item { display: grid; place-items: center; width: 30px; height: 24px; border-radius: 6px; }
.menubar__item--active { background: rgb(255 255 255 / .28); }
.dropdown {
  position: absolute; right: 52px; top: 40px; width: min(280px, 80%);
  padding: 8px;
  border-radius: 12px;
  background: rgb(246 248 252 / .9);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  color: #1b2333;
  box-shadow: 0 18px 40px -12px rgb(0 0 0 / .45), 0 0 0 .5px rgb(0 0 0 / .18);
  font-size: 0.92rem;
}
.dropdown__item { display: flex; justify-content: space-between; padding: 6px 12px; border-radius: 6px; }
.dropdown__item:first-child { background: #2f6fe4; color: #fff; }
.dropdown__item--muted { color: #6b7385; }
.dropdown kbd { font-family: var(--font); color: #8a91a1; }
.dropdown hr { border: 0; border-top: 1px solid rgb(0 0 0 / .1); margin: 5px 10px; }
@media (max-width: 860px) { .menu__grid { grid-template-columns: minmax(0, 1fr); } .menu__mock { order: 2; } }

/* Install steps: a real sequence, so it is numbered */
.install { padding: clamp(64px, 8vw, 112px) 0; border-top: 1px solid var(--line); }
.steps { list-style: none; counter-reset: step; margin: clamp(32px, 4vw, 52px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); }
.steps li { counter-increment: step; color: var(--ink-2); }
.steps li::before {
  content: counter(step);
  display: grid; place-items: center;
  width: 44px; height: 44px; margin-bottom: 20px;
  border-radius: 50%;
  border: 2px solid var(--ink);
  color: var(--ink); font-weight: 720; font-stretch: 112%;
}
.steps li:last-child::before { background: var(--ink); color: var(--paper); }
.steps h3 { color: var(--ink); margin-bottom: 10px; }
@media (max-width: 860px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* Trust */
.trust { padding: clamp(64px, 8vw, 112px) 0; background: var(--pearl); border-block: 1px solid var(--line); }
.trust__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.trust__text { color: var(--ink-2); }
.can { margin: 0 0 1em; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.can li { padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--ink); }
@media (max-width: 860px) { .trust__grid { grid-template-columns: minmax(0, 1fr); } }

/* FAQ */
.faq { padding: clamp(64px, 8vw, 112px) 0; }
.faq__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.faq__list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; gap: 20px; align-items: center;
  padding: 20px 0; font-weight: 650; font-size: 1.12rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 12px; height: 12px;
  border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3);
  transform: rotate(45deg) translate(-3px, -3px);
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(225deg) translate(-3px, -3px); }
.faq details p { color: var(--ink-2); padding-bottom: 22px; }
@media (max-width: 860px) { .faq__grid { grid-template-columns: minmax(0, 1fr); } }

/* Closing */
.closing { padding: clamp(72px, 9vw, 128px) 0; border-top: 1px solid var(--line); }
.closing__inner { display: grid; justify-items: center; text-align: center; gap: 26px; }
.closing__inner img { width: 160px; height: 160px; filter: drop-shadow(0 24px 30px rgb(14 39 102 / .3)); }
.closing h2 { max-width: 18ch; }
.closing__meta { color: var(--ink-3); font-size: 0.95rem; margin: 0; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--ink-3); font-size: 0.92rem; }
.footer__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; }
.footer nav { display: flex; gap: 20px; }
.footer a { color: var(--ink-2); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
}
