/* Make Room website: "Dusk stack".
   Colours are the app's own (DESIGN.md), light and dark. One self-hosted
   typeface, Mona Sans (SIL Open Font License, see /fonts/OFL.txt), used at
   different widths. No scripts, no third-party requests. */

@font-face {
  font-family: "Mona Sans";
  src: url("/fonts/mona-sans.woff2") format("woff2");
  font-weight: 200 900;
  font-stretch: 75% 125%;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --bg: #F2F4F7;
  --surface: #FFFFFF;
  --hairline: #E3E7ED;
  --separator: #EEF1F5;
  --ink: #18212C;
  --ink2: #5B6676;
  --accent: #3E6A96;
  --accent-soft: #E3ECF5;
  --accent-ink: #2C4E72;
  --delete: #B4513D;

  /* The sky behind the hero: mist by day, dusk by night */
  --sky-top: #E7EDF5;
  --glow: rgba(167, 180, 240, 0.22);
  --stars: 0;

  /* Night band (the privacy section): always the app's dark colours */
  --night-bg: #111317;
  --night-top: #171C30;
  --night-ink: #ECE8E1;
  --night-ink2: #A0A6AF;
  --night-accent: #A7B4F0;
  --night-line: #2B3038;

  --text: "Mona Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Type scale (about a fourth, 1.333) */
  --step--1: 0.882rem;  /* 15 */
  --step-0: 1.0625rem;  /* 17 */
  --step-1: 1.25rem;    /* 20 */
  --step-2: clamp(1.5rem, 1.2rem + 1vw, 1.875rem);   /* 24 → 30 */
  --step-3: clamp(2rem, 1.4rem + 2.4vw, 3.25rem);    /* 32 → 52 */
  --step-4: clamp(2.6rem, 1.5rem + 4.6vw, 5.25rem);  /* 42 → 84 */

  /* Spacing (8 pt rhythm) */
  --s1: 8px; --s2: 16px; --s3: 24px; --s4: 32px; --s5: 48px; --s6: 64px; --s7: 96px; --s8: 128px;
  --gutter: clamp(20px, 5vw, 72px);
  --section: clamp(88px, 11vw, 160px);

  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111317;
    --surface: #1A1D22;
    --hairline: #2B3038;
    --separator: #23272D;
    --ink: #ECE8E1;
    --ink2: #A0A6AF;
    --accent: #A7B4F0;
    --accent-soft: #2A2F3E;
    --accent-ink: #C9D2F6;
    --delete: #EE9A8E;

    --sky-top: #171C30;
    --glow: rgba(167, 180, 240, 0.20);
    --stars: 1;

    --night-bg: #161A24;
    --night-top: #1B2238;
  }
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: var(--s4);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--text);
  font-size: var(--step-0);
  font-weight: 420;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img { display: block; max-width: 100%; height: auto; }

h1, h2, h3 { margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}
a:hover { text-decoration-thickness: 2px; }

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

::selection { background: var(--accent-soft); color: var(--ink); }

.skip {
  position: absolute;
  left: var(--gutter);
  top: -100px;
  z-index: 10;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}
.skip:focus { top: var(--s2); }

.wrap {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding-inline: var(--gutter);
}

/* Headings: Mona Sans, wide */
.display {
  font-stretch: 118%;
  font-weight: 760;
  font-size: var(--step-4);
  line-height: 0.98;
  letter-spacing: -0.03em;
}
.title {
  font-stretch: 114%;
  font-weight: 720;
  font-size: var(--step-3);
  line-height: 1.04;
  letter-spacing: -0.025em;
}
.subtitle {
  font-stretch: 108%;
  font-weight: 660;
  font-size: var(--step-1);
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.lede {
  color: var(--ink2);
  font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.1875rem);
  line-height: 1.6;
  max-width: 34em;
}

/* ---------- Sky (top of every page) ---------- */
body.sky {
  position: relative;
  background-color: var(--bg);
  background-image:
    radial-gradient(60% 46% at 76% 30%, var(--glow), transparent 70%),
    linear-gradient(180deg, var(--sky-top) 0, var(--bg) 1000px);
  background-repeat: no-repeat;
}
body.sky::before {
  /* A few quiet stars, at night only */
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 760px;
  pointer-events: none;
  opacity: var(--stars);
  background:
    radial-gradient(1.6px 1.6px at 12% 14%, rgba(255,255,255,.65), transparent 70%),
    radial-gradient(1.2px 1.2px at 31% 7%, rgba(255,255,255,.45), transparent 70%),
    radial-gradient(1.4px 1.4px at 47% 22%, rgba(255,255,255,.35), transparent 70%),
    radial-gradient(1.6px 1.6px at 63% 5%, rgba(255,255,255,.55), transparent 70%),
    radial-gradient(1.2px 1.2px at 82% 11%, rgba(255,255,255,.5), transparent 70%),
    radial-gradient(1.6px 1.6px at 93% 27%, rgba(255,255,255,.4), transparent 70%);
}
body.sky--page {
  background-image: linear-gradient(180deg, var(--sky-top) 0, var(--bg) 520px);
}
body.sky--page::before { height: 420px; }
body > * { position: relative; }

/* ---------- Header and footer ---------- */
.top {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s3);
  padding-block: var(--s3);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
  font-stretch: 112%;
  font-weight: 720;
  font-size: 1.1875rem;
  letter-spacing: -0.01em;
}
.brand img, .brand picture { width: 34px; height: 34px; border-radius: 9px; }
.top > nav { display: flex; gap: clamp(20px, 3vw, 36px); }
.top > nav a {
  color: var(--ink2);
  font-weight: 540;
  font-size: var(--step--1);
  text-decoration: none;
  padding-block: 6px;
}
.top > nav a:hover { color: var(--ink); }
.top > nav a[aria-current="page"] {
  color: var(--ink);
  box-shadow: inset 0 -1.5px 0 var(--accent);
}

.foot {
  border-top: 1px solid var(--hairline);
  padding-block: var(--s5) var(--s6);
  display: grid;
  gap: var(--s3);
  color: var(--ink2);
  font-size: var(--step--1);
}
.foot .brand { font-size: 1.0625rem; }
.foot nav { display: flex; flex-wrap: wrap; gap: var(--s1) var(--s4); }
.foot nav a { color: var(--ink2); text-decoration: none; }
.foot nav a:hover { color: var(--ink); }
@media (min-width: 760px) {
  .foot { grid-template-columns: 1fr auto auto; align-items: center; gap: var(--s5); }
}

/* ---------- Phone frame around a real screenshot ---------- */
.phone {
  --w: 240px;
  position: relative;
  width: var(--w);
  padding: calc(var(--w) * 0.032);
  border-radius: calc(var(--w) * 0.16);
  background: linear-gradient(145deg, #2C3038, #0E1013 52%, #22262C);
  box-shadow:
    inset 0 0 0 1.5px rgba(255, 255, 255, 0.10),
    0 44px 80px -36px rgba(24, 33, 44, 0.50),
    0 18px 30px -20px rgba(24, 33, 44, 0.35);
  box-sizing: content-box;
}
.phone img {
  width: 100%;
  aspect-ratio: 1206 / 2622;
  object-fit: cover;
  border-radius: calc(var(--w) * 0.128);
  background: #F2F4F7;
}
.phone::after {
  /* Dynamic Island */
  content: "";
  position: absolute;
  left: 50%;
  top: calc(var(--w) * 0.064);
  width: calc(var(--w) * 0.30);
  height: calc(var(--w) * 0.088);
  transform: translateX(-50%);
  border-radius: 999px;
  background: #000;
}
@media (prefers-color-scheme: dark) {
  .phone {
    box-shadow:
      inset 0 0 0 1.5px rgba(255, 255, 255, 0.13),
      0 48px 100px -36px rgba(0, 0, 0, 0.85);
  }
}

/* ---------- Home: hero ---------- */
.hero {
  display: grid;
  gap: var(--s5);
  padding-block: var(--s4) var(--s7);
}
.hero .display { margin-bottom: var(--s3); max-width: 11ch; }
.hero .lede { margin-bottom: var(--s4); }

.soon {
  display: grid;
  gap: 2px;
  padding: 2px 0 2px var(--s2);
  border-left: 2px solid var(--accent);
}
.soon strong { font-stretch: 110%; font-weight: 660; }
.soon span { color: var(--ink2); font-size: var(--step--1); }

/* The stack: three real screens, fanned like the app icon's cards */
.stack {
  position: relative;
  height: clamp(420px, 112vw, 520px);
  margin-inline: calc(var(--gutter) * -1);
}
.stack .phone {
  --w: clamp(176px, 46vw, 214px);
  position: absolute;
  top: 50%;
  left: 50%;
}
.stack .front { z-index: 2; transform: translate(-50%, -50%); }
.stack .left  { transform: translate(-88%, -47%) rotate(-7deg) scale(0.84); }
.stack .right { transform: translate(-12%, -47%) rotate(7deg) scale(0.84); }

/* The one entrance moment: the two back screens fan out from behind */
@media (prefers-reduced-motion: no-preference) {
  .stack .left  { animation: fan-left 1.1s cubic-bezier(.2, .8, .2, 1) .25s both; }
  .stack .right { animation: fan-right 1.1s cubic-bezier(.2, .8, .2, 1) .25s both; }
}
@keyframes fan-left {
  from { transform: translate(-50%, -50%) rotate(0deg) scale(0.92); opacity: 0; }
  to   { transform: translate(-88%, -47%) rotate(-7deg) scale(0.84); opacity: 1; }
}
@keyframes fan-right {
  from { transform: translate(-50%, -50%) rotate(0deg) scale(0.92); opacity: 0; }
  to   { transform: translate(-12%, -47%) rotate(7deg) scale(0.84); opacity: 1; }
}

@media (min-width: 960px) {
  .hero {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    align-items: center;
    gap: var(--s4);
    padding-block: clamp(32px, 6vh, 80px) var(--s8);
    min-height: min(820px, calc(100vh - 90px));
  }
  .stack { height: min(72vh, 660px); min-height: 560px; margin-inline: 0; }
  .stack .phone { --w: clamp(220px, 19vw, 276px); }
  .stack .left  { transform: translate(-108%, -48%) rotate(-9deg) scale(0.88); }
  .stack .right { transform: translate(8%, -48%) rotate(8deg) scale(0.88); }
  @keyframes fan-left {
    from { transform: translate(-50%, -50%) rotate(0deg) scale(0.92); opacity: 0; }
    to   { transform: translate(-108%, -48%) rotate(-9deg) scale(0.88); opacity: 1; }
  }
  @keyframes fan-right {
    from { transform: translate(-50%, -50%) rotate(0deg) scale(0.92); opacity: 0; }
    to   { transform: translate(8%, -48%) rotate(8deg) scale(0.88); opacity: 1; }
  }
}

/* ---------- Home: feature rows (text beside a phone) ---------- */
.feature {
  display: grid;
  gap: var(--s6);
  padding-block: var(--section);
  border-top: 1px solid var(--hairline);
}
.feature .title { margin-bottom: var(--s3); max-width: 14ch; }
.feature .lede { margin-bottom: var(--s5); }
.feature figure { margin: 0; justify-self: center; }
.feature .phone { --w: clamp(220px, 62vw, 280px); }
@media (min-width: 960px) {
  .feature {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: var(--s7);
  }
  .feature--flip figure { order: -1; }
  .feature .phone { --w: clamp(240px, 21vw, 290px); }
}

/* The three steps (a real sequence, so they're numbered) */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--s4);
  counter-reset: step;
  max-width: 34em;
}
.steps li {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  column-gap: var(--s2);
  counter-increment: step;
}
.steps li::before {
  content: counter(step);
  grid-row: span 2;
  font-stretch: 125%;
  font-weight: 300;
  font-size: 1.75rem;
  line-height: 1.1;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.steps h3 { margin-bottom: 4px; }
.steps p { color: var(--ink2); }
.aside-note {
  margin-top: var(--s4);
  padding-top: var(--s3);
  border-top: 1px solid var(--hairline);
  color: var(--ink2);
  max-width: 34em;
}

/* ---------- Home: the night band (privacy) ---------- */
.night {
  --ink: var(--night-ink);
  --ink2: var(--night-ink2);
  --accent: var(--night-accent);
  --hairline: var(--night-line);
  position: relative;
  color: var(--ink);
  background:
    radial-gradient(50% 70% at 50% 0%, rgba(167, 180, 240, 0.16), transparent 70%),
    linear-gradient(180deg, var(--night-top), var(--night-bg));
  padding-block: var(--section);
  text-align: center;
}
.night::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(1.4px 1.4px at 14% 22%, rgba(255,255,255,.5), transparent 70%),
    radial-gradient(1.2px 1.2px at 28% 64%, rgba(255,255,255,.35), transparent 70%),
    radial-gradient(1.6px 1.6px at 71% 18%, rgba(255,255,255,.55), transparent 70%),
    radial-gradient(1.2px 1.2px at 86% 58%, rgba(255,255,255,.4), transparent 70%),
    radial-gradient(1.4px 1.4px at 54% 84%, rgba(255,255,255,.3), transparent 70%);
}
.night .wrap { position: relative; }
.night .title {
  font-size: clamp(2.25rem, 1.4rem + 3.6vw, 4.25rem);
  max-width: 14ch;
  margin: 0 auto var(--s4);
}
.night .lede { margin: 0 auto var(--s4); }
.night a { color: var(--accent); }
.night :focus-visible { outline-color: var(--night-accent); }

/* ---------- Home: price ---------- */
.price {
  padding-block: var(--section);
  display: grid;
  gap: var(--s5);
}
.price .title { max-width: 12ch; }
.plans { display: grid; gap: var(--s3); }
.plan { padding: var(--s4); border-radius: 24px; }
.plan h3 { margin-bottom: var(--s1); }
.plan p { color: var(--ink2); }
.plan p + p { margin-top: var(--s1); }
.plan--free { border: 1px solid var(--hairline); }
.plan--pro { background: var(--accent-soft); }
.plan--pro p { color: var(--accent-ink); }
@media (min-width: 960px) {
  .price { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: var(--s7); align-items: start; }
  .plans { grid-template-columns: 1fr 1fr; }
  .plan { padding: var(--s5) var(--s4); }
}

/* ---------- Home: closing ---------- */
.closing {
  padding-block: var(--s7) var(--section);
  border-top: 1px solid var(--hairline);
  display: grid;
  justify-items: center;
  text-align: center;
  gap: var(--s3);
}
.closing img { width: 96px; height: 96px; border-radius: 22px; box-shadow: 0 20px 40px -24px rgba(24, 33, 44, 0.45); }
.closing p { color: var(--ink2); }

/* ---------- Text pages: privacy, support, 404 ---------- */
.page-head { padding-block: var(--s5) var(--s6); }
.page-head .display { margin-bottom: var(--s2); }
.page-head .lede { max-width: 30em; }

.doc {
  display: grid;
  gap: var(--s5);
  padding-bottom: var(--section);
}
.toc { font-size: var(--step--1); }
.toc h2 {
  font-size: var(--step--1);
  font-weight: 620;
  color: var(--ink2);
  margin-bottom: var(--s1);
}
.toc ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px var(--s3);
}
.toc a {
  display: block;
  padding-block: 6px;
  color: var(--ink);
  text-decoration: none;
}
.toc a:hover { color: var(--accent); }

.prose { max-width: 38em; }
.prose > h2,
.prose .sec h2 {
  font-stretch: 112%;
  font-weight: 700;
  font-size: var(--step-2);
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin: var(--s6) 0 var(--s2);
  padding-top: var(--s4);
  border-top: 1px solid var(--hairline);
}
.prose > h2:first-of-type,
.prose > .sec:first-of-type h2 { margin-top: var(--s5); }
.prose > h3,
.prose .qa h3 {
  font-stretch: 104%;
  font-weight: 640;
  font-size: var(--step-1);
  line-height: 1.35;
  margin: var(--s4) 0 6px;
}
.prose p { margin-bottom: var(--s2); }
.prose > h2 + p, .prose > h3 + p { margin-top: 0; }

.card {
  background: var(--surface);
  border-radius: 24px;
  padding: var(--s4);
  margin-bottom: var(--s4);
}
@media (prefers-color-scheme: light) {
  .card { box-shadow: 0 1px 0 var(--hairline), 0 24px 48px -32px rgba(24, 33, 44, 0.28); }
}
.card p { margin: 0; }
.card p + p { margin-top: var(--s1); }

.contact .email {
  display: inline-block;
  font-stretch: 114%;
  font-weight: 700;
  font-size: clamp(1.125rem, 0.55rem + 3.2vw, 2rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
  overflow-wrap: break-word;
  margin-bottom: var(--s2);
}
.contact p { color: var(--ink2); }

@media (min-width: 960px) {
  .doc { grid-template-columns: 220px minmax(0, 1fr); gap: var(--s7); align-items: start; }
  .toc { position: sticky; top: var(--s4); padding-top: var(--s1); }
  .toc ol { grid-template-columns: 1fr; }
  .prose > h2:first-of-type,
  .prose > .sec:first-of-type h2 { margin-top: var(--s5); }
}

.missing {
  min-height: 70vh;
  display: grid;
  align-content: center;
  justify-items: start;
  gap: var(--s3);
  padding-block: var(--s7);
}
.missing .lede a { color: var(--accent); }


/* ==========================================================
   Phones and small tablets (under 960 px). The laptop layout
   above this width is unchanged.
   ========================================================== */

/* Dropdowns (questions and policy sections) are plain <details>:
   no JavaScript. On a laptop they always show their content. */
details.qa, details.sec { display: block; }
.qa > summary, .sec > summary { display: block; list-style: none; }
.qa > summary::-webkit-details-marker,
.sec > summary::-webkit-details-marker { display: none; }

@supports selector(::details-content) {
  @media (min-width: 960px) {
    .qa::details-content, .sec::details-content { content-visibility: visible; }
    .qa > summary, .sec > summary { pointer-events: none; }
  }
}

/* The phone menu: hidden on laptops */
.menu { display: none; }

@media (max-width: 959px) {
  /* Header: brand on the left, one Menu button on the right */
  .top > nav { display: none; }
  .menu { display: block; position: relative; }
  .menu > summary {
    list-style: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: 40px;
    padding: 0 14px 0 18px;
    border-radius: 999px;
    background: var(--surface);
    box-shadow: inset 0 0 0 1px var(--hairline);
    color: var(--ink);
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
    -webkit-tap-highlight-color: transparent;
  }
  .menu > summary::-webkit-details-marker { display: none; }
  .menu > summary::after,
  .qa > summary::after,
  .sec > summary::after {
    content: "";
    flex: none;
    width: 7px;
    height: 7px;
    border-right: 1.75px solid var(--ink2);
    border-bottom: 1.75px solid var(--ink2);
    transform: translateY(-2px) rotate(45deg);
    transition: transform 0.2s ease;
  }
  .menu[open] > summary::after,
  .qa[open] > summary::after,
  .sec[open] > summary::after { transform: translateY(2px) rotate(-135deg); }

  .menu-panel {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    z-index: 20;
    width: 228px;
    padding: 6px;
    display: grid;
    border-radius: 20px;
    background: var(--surface);
    box-shadow: 0 1px 0 var(--hairline), 0 28px 50px -22px rgba(24, 33, 44, 0.38);
  }
  @media (prefers-color-scheme: dark) {
    .menu-panel { box-shadow: inset 0 0 0 1px var(--hairline), 0 28px 60px -20px rgba(0, 0, 0, 0.75); }
  }
  .menu-panel a {
    display: block;
    padding: 12px 14px;
    border-radius: 14px;
    color: var(--ink);
    font-size: 1.0625rem;
    font-weight: 540;
    text-decoration: none;
  }
  .menu-panel a + a { box-shadow: 0 -1px 0 var(--separator); }
  .menu-panel a:hover, .menu-panel a:active { background: var(--accent-soft); box-shadow: none; }
  .menu-panel a[aria-current="page"] { color: var(--accent); font-weight: 650; }

  /* Questions and policy sections fold into dropdowns */
  .toc { display: none; }
  .qa, .sec { border-top: 1px solid var(--hairline); }
  .qa:has(+ h2), .qa:last-of-type, .sec:last-of-type { border-bottom: 1px solid var(--hairline); }
  .qa > summary, .sec > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--s2);
    padding: 15px 2px 15px 0;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }
  .prose .qa h3,
  .prose .sec h2,
  .prose > .sec:first-of-type h2 {
    margin: 0;
    padding: 0;
    border: 0;
    font-stretch: 104%;
    font-weight: 640;
    font-size: 1.0625rem;
    line-height: 1.35;
    letter-spacing: -0.005em;
    text-wrap: pretty;
  }
  .qa > p, .sec > p { color: var(--ink2); }
  .qa > p:last-child, .sec > p:last-child { padding-bottom: var(--s2); }
  .prose > h2 {
    margin: var(--s5) 0 var(--s1);
    padding: 0;
    border: 0;
    font-size: 1.25rem;
  }
  .prose > h2:first-of-type { margin-top: var(--s4); }
  .prose > h2 + p { margin-top: var(--s1); }
  .prose > .sec:first-of-type { margin-top: var(--s4); }
}

@media (max-width: 959px) and (prefers-reduced-motion: no-preference) {
  .menu[open] .menu-panel { animation: drop-in 0.18s cubic-bezier(.2, .8, .2, 1); }
  .qa[open] > p, .sec[open] > p { animation: fade-in 0.22s ease-out; }
}
@keyframes drop-in {
  from { opacity: 0; transform: translateY(-6px) scale(0.98); }
  to   { opacity: 1; transform: none; }
}
@keyframes fade-in {
  from { opacity: 0; transform: translateY(-3px); }
  to   { opacity: 1; transform: none; }
}

/* Phones: calmer type sizes and tighter spacing */
@media (max-width: 759px) {
  :root { --section: 72px; }
  body { font-size: 1rem; line-height: 1.55; }

  .display { font-size: 2.25rem; line-height: 1.02; letter-spacing: -0.028em; }
  .title { font-size: 1.75rem; line-height: 1.08; }
  .subtitle { font-size: 1.0625rem; }
  .lede { font-size: 1rem; line-height: 1.55; }

  .top { padding-block: 14px; }
  .brand { gap: 10px; font-size: 1.0625rem; }
  .brand img, .brand picture { width: 30px; height: 30px; border-radius: 8px; }

  .hero { gap: var(--s4); padding-block: var(--s2) 56px; }
  .hero .display { margin-bottom: var(--s2); }
  .hero .lede { margin-bottom: var(--s3); }
  .stack { height: 400px; }
  .stack .phone { --w: 168px; }

  .feature { gap: 40px; }
  .feature .title { margin-bottom: var(--s2); }
  .feature .lede { margin-bottom: var(--s4); }
  .feature .phone { --w: 220px; }
  .steps { gap: var(--s3); }
  .steps li { grid-template-columns: 2rem 1fr; column-gap: 12px; }
  .steps li::before { font-size: 1.375rem; }
  .aside-note { margin-top: var(--s3); padding-top: var(--s2); }

  .night .title { font-size: 2rem; margin-bottom: var(--s2); }
  .night .lede { margin-bottom: var(--s3); }

  .price { gap: var(--s3); }
  .plans { gap: 12px; }
  .plan { padding: 20px 22px; border-radius: 20px; }

  .closing { padding-block: 56px var(--section); gap: var(--s2); }
  .closing img { width: 64px; height: 64px; border-radius: 15px; }

  .foot { padding-block: var(--s4) var(--s5); gap: var(--s2); }

  .page-head { padding-block: var(--s2) var(--s3); }
  .page-head .display { margin-bottom: 6px; }
  .doc { gap: 0; padding-bottom: var(--section); }
  .card { padding: 20px 22px; border-radius: 20px; margin-bottom: var(--s3); }
  .contact .email { font-size: 1.25rem; margin-bottom: var(--s1); }
  .prose p { margin-bottom: 12px; }

  .missing { min-height: 60vh; gap: var(--s2); }
}
