/* Lapis — withlapis.ca
   Palette comes from the logo: royal and signal are the two mark blues, ink is the wordmark navy.
   Type is one family (Archivo); the width axis does the expressive work. */

:root {
  --royal: #0039AC;
  --signal: #0368FD;
  --sky: #7DB2FF;
  --ink: #011F55;
  --mist: #EDF1F8;
  --line: #CDD6E6;
  --muted: #45557A;
  --paper: #FFFFFF;

  --gutter: 16px;
  --wrap: 1320px;
  --radius: 3px;
  --header-h: 64px;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: clamp(1.45rem, 1.2rem + 1vw, 1.8rem);
  --step-3: clamp(1.95rem, 1.4rem + 2.4vw, 3.3rem);
  --step-4: clamp(2.4rem, 1.2rem + 6.2vw, 5.4rem);
}

@media (min-width: 720px) {
  :root { --gutter: 32px; --header-h: 72px; }
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: var(--step-0);
  line-height: 1.6;
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 800; line-height: 1.05; text-wrap: balance; }
ul { margin: 0; padding: 0; list-style: none; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }

.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: #fff; color: var(--ink); padding: 10px 14px; }
.skip:focus { left: 8px; }

:focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; }
.on-blue :focus-visible { outline-color: #fff; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 26px;
  border-radius: var(--radius);
  font: 700 1.0625rem/1 "Archivo", sans-serif; font-stretch: 108%;
  text-decoration: none; white-space: nowrap;
  background: var(--royal); color: #fff;
  transition: background-color .15s, color .15s;
}
.btn:hover { background: var(--ink); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--sky); color: var(--ink); }
.btn--small { min-height: 40px; padding: 0 16px; font-size: 0.95rem; }

.textlink { font-weight: 600; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.textlink:hover { text-decoration-color: var(--sky); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--royal); color: #fff;
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; }
.brand { display: block; flex: none; }
.brand img { height: 30px; width: auto; }
@media (min-width: 720px) { .brand img { height: 34px; } }
.nav { display: flex; align-items: center; gap: 28px; }
.nav__links { display: none; gap: 28px; }
.nav__links a { text-decoration: none; font-weight: 600; font-size: 0.975rem; }
.nav__links a:hover { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; }
@media (min-width: 900px) { .nav__links { display: flex; } }

/* ---------- hero ---------- */
/* A still, faint photo under the blue gives texture; the only movement is inside the house. */
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--royal); color: #fff; }
.hero__film {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover;
  opacity: .24; mix-blend-mode: luminosity;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, var(--royal) 0%, rgba(0, 57, 172, .92) 40%, rgba(0, 57, 172, .5) 100%);
}
.hero .wrap {
  display: grid; gap: 36px;
  padding-top: 28px; padding-bottom: 0;
}
@media (min-width: 900px) {
  .hero::before { background: linear-gradient(90deg, rgba(0, 57, 172, .9) 0%, rgba(0, 57, 172, .8) 34%, rgba(0, 57, 172, .34) 72%, rgba(0, 57, 172, .55) 100%); }
  .hero .wrap {
    grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 48px;
    padding-top: 56px; min-height: calc(100svh - var(--header-h));
  }
  .hero__copy { align-self: center; padding-bottom: 56px; }
}
.hero h1 {
  font-size: clamp(2.4rem, 0.6rem + 4.9vw, 4.75rem);
  font-stretch: 116%;
  letter-spacing: -0.025em;
  line-height: 0.98;
  max-width: 11.5em;
}
.hero__lede { margin-top: 24px; max-width: 32em; font-size: var(--step-1); line-height: 1.5; color: #DCE6FA; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 32px; }
.hero__note { margin-top: 14px; font-size: var(--step--1); color: #C3D2F2; }

/* The house: the logo's silhouette, filled with footage. Roof angles match the mark exactly. */
.house { position: relative; aspect-ratio: 310 / 340; width: calc(100% + 2 * var(--gutter)); margin: 0 calc(-1 * var(--gutter)); }
@media (min-width: 600px) and (max-width: 899px) { .house { width: 100%; max-width: 560px; margin: 0 auto; } }
@media (min-width: 900px) {
  .house { aspect-ratio: 310 / 368; margin: 0; width: min(46vw, 660px, calc((100svh - var(--header-h) - 56px) * 0.8424)); }
}
.house__media {
  position: absolute; inset: 0;
  clip-path: polygon(0% 19.02%, 36.13% 0%, 100% 38.7%, 100% 100%, 0% 100%);
  background: var(--ink);
}
.house__media video, .house__media img { width: 100%; height: 100%; object-fit: cover; }
.house__band {
  position: absolute; inset: 0; pointer-events: none;
  background: var(--signal);
  clip-path: polygon(36.13% 0%, 100% 38.7%, 100% 54%, 36.13% 15.3%);
}

@media (prefers-reduced-motion: no-preference) {
  .house__media { animation: rise 1.1s cubic-bezier(.2, .8, .2, 1) both .1s; }
  .house__band { animation: settle .55s cubic-bezier(.3, .9, .3, 1) both 1s; }
}
@keyframes rise {
  from { clip-path: polygon(0% 100%, 36.13% 100%, 100% 100%, 100% 100%, 0% 100%); }
  to   { clip-path: polygon(0% 19.02%, 36.13% 0%, 100% 38.7%, 100% 100%, 0% 100%); }
}
@keyframes settle {
  from { transform: translate(-6%, -9%); opacity: 0; }
  to   { transform: none; opacity: 1; }
}

/* ---------- sections ---------- */
.section { padding: 72px 0; }
@media (min-width: 900px) { .section { padding: 112px 0; } }
.section--mist { background: var(--mist); }
.section--blue { background: var(--royal); color: #fff; }

.section h2 { font-size: var(--step-3); font-stretch: 114%; letter-spacing: -0.02em; }
.intro { max-width: 33em; margin-top: 20px; color: var(--muted); font-size: var(--step-1); line-height: 1.5; }
.section--blue .intro { color: #DCE6FA; }

.split { display: grid; gap: 40px; }
@media (min-width: 900px) {
  .split { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 72px; align-items: start; }
  .split__aside { position: sticky; top: calc(var(--header-h) + 40px); }
}

/* ---------- the quote sheet ---------- */
.quote { background: #fff; border: 1px solid var(--line); box-shadow: 0 1px 0 var(--line), 0 18px 40px -24px rgba(1, 31, 85, .35); }
.quote__head {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 16px;
  padding: 22px 20px 18px; border-bottom: 3px solid var(--ink);
}
.quote__head img { height: 26px; width: auto; }
.quote__title { text-align: right; }
.quote__title strong { display: block; font-size: 1.6rem; font-stretch: 125%; line-height: 1; letter-spacing: -0.01em; }
.quote__title span { font-size: var(--step--1); color: var(--muted); }
.quote__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 20px; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.quote__row h3 { font-size: 1.0625rem; font-weight: 700; font-stretch: 104%; line-height: 1.3; }
.quote__row p { grid-column: 1; margin: 0; color: var(--muted); font-size: 0.97rem; line-height: 1.5; }
.quote__row .inc { grid-column: 2; grid-row: 1; align-self: baseline; font-size: var(--step--1); color: var(--muted); }
@media (max-width: 480px) { .quote__row { gap: 4px 12px; } .quote__row .inc { font-size: 0.78rem; } }
.quote__total {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 16px;
  padding: 22px 20px; background: var(--mist);
}
.quote__total span { font-weight: 700; font-size: 1.0625rem; line-height: 1.3; }
.quote__total strong { font-size: clamp(2.4rem, 2rem + 2vw, 3.2rem); font-stretch: 125%; line-height: 1; color: var(--royal); }
.quote__foot { padding: 14px 20px 18px; font-size: var(--step--1); color: var(--muted); border-top: 1px solid var(--line); }
@media (min-width: 720px) {
  .quote__head, .quote__row, .quote__total, .quote__foot { padding-left: 32px; padding-right: 32px; }
}

/* ---------- how it works ---------- */
.steps { display: grid; gap: 36px; margin: 52px 0 0; padding: 0; list-style: none; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px 40px; } }
@media (min-width: 1000px) { .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.step { border-top: 2px solid var(--ink); padding-top: 18px; }
.step__num { display: block; font-size: 3.4rem; font-weight: 300; font-stretch: 125%; line-height: 1; color: var(--signal); margin-bottom: 18px; }
.step h3 { font-size: var(--step-1); font-stretch: 108%; margin-bottom: 10px; }
.step p { color: var(--muted); }

/* ---------- the guarantee ---------- */
.guarantee .split { gap: 44px; }
@media (min-width: 900px) { .guarantee .split { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); align-items: center; } }
.guarantee h2 { font-size: var(--step-3); }
.cert {
  position: relative; background: #fff; color: var(--ink);
  padding: 28px 22px 26px;
  outline: 1px solid rgba(255, 255, 255, .5); outline-offset: 8px;
}
@media (min-width: 720px) { .cert { padding: 44px 48px 40px; } }
.cert__head { display: flex; align-items: center; gap: 14px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.cert__head img { height: 40px; width: auto; flex: none; }
.cert__head h3 { font-size: 1.35rem; font-stretch: 118%; }
.cert__promise { margin: 22px 0 26px; font-size: clamp(1.3rem, 1.1rem + 0.9vw, 1.6rem); font-weight: 700; font-stretch: 106%; line-height: 1.32; letter-spacing: -0.005em; }
.cert__cols { display: grid; gap: 22px; }
@media (min-width: 640px) { .cert__cols { grid-template-columns: 1fr 1fr; gap: 28px; } }
.cert__cols h4 { font-size: 1rem; font-weight: 700; margin-bottom: 10px; }
.cert__cols li { position: relative; padding-left: 20px; margin-bottom: 8px; font-size: 0.97rem; line-height: 1.45; color: var(--muted); }
.cert__cols li::before { content: ""; position: absolute; left: 0; top: .52em; width: 8px; height: 8px; background: var(--signal); }
.cert__fine { margin-top: 22px; font-size: var(--step--1); color: var(--muted); }

/* ---------- about ---------- */
.about__body { font-size: var(--step-1); line-height: 1.55; max-width: 34em; }
.about__body p { margin-bottom: 1.1em; }
.trades { margin-top: 36px; color: var(--muted); font-size: var(--step-0); }

/* regions: one column per part of the country, with the local time there right now */
.regions { display: grid; margin: 52px 0 0; padding: 0; list-style: none; }
@media (min-width: 640px) { .regions { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; } }
@media (min-width: 1000px) { .regions { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0 32px; } }
.regions li { display: flex; flex-direction: column; border-top: 2px solid var(--ink); padding: 16px 0 24px; }
.regions h3 { font-size: var(--step-1); font-stretch: 108%; line-height: 1.2; margin-bottom: 8px; }
.regions p { margin: 0; color: var(--muted); font-size: 0.97rem; line-height: 1.45; }
.regions .regions__time { margin-top: auto; padding-top: 12px; color: var(--royal); font-weight: 600; font-size: var(--step--1); font-variant-numeric: tabular-nums; }
.regions__time:empty { display: none; }

/* ---------- faq ---------- */
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 20px 0; font-weight: 700; font-size: var(--step-1); font-stretch: 104%; line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 14px; height: 14px;
  background:
    linear-gradient(var(--royal), var(--royal)) center / 14px 2px no-repeat,
    linear-gradient(var(--royal), var(--royal)) center / 2px 14px no-repeat;
  transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 22px; max-width: 38em; color: var(--muted); }

/* ---------- closing ---------- */
/* A still photo as texture: grayscale, faint, under the brand blue. Nothing moves behind text. */
.closing { position: relative; overflow: hidden; isolation: isolate; background: var(--royal); color: #fff; }
@media (min-width: 900px) { .closing { padding: 152px 0; } }
.closing__film {
  position: absolute; inset: 0; z-index: -1;
  width: 100%; height: 100%; object-fit: cover;
  opacity: .2; mix-blend-mode: luminosity;
}
.closing::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, var(--royal) 0%, rgba(0, 57, 172, .55) 55%, rgba(0, 57, 172, 0) 100%);
}
.closing .wrap { display: grid; gap: 28px; }
@media (min-width: 900px) { .closing .wrap { grid-template-columns: minmax(0, 1.3fr) auto; align-items: end; gap: 72px; } }
.closing h2 { font-size: var(--step-4); font-stretch: 116%; letter-spacing: -0.025em; line-height: 0.98; }
.closing__side p { margin-top: 14px; color: #DCE6FA; }

/* ---------- dark sections ---------- */
.section--ink { background: var(--ink); color: #fff; }
.section--ink .intro { color: #C3D2F2; }
.on-dark :focus-visible { outline-color: #fff; }

/* ---------- promise band (under the hero) ---------- */
.promises { background: var(--ink); color: #fff; padding: 40px 0 44px; }
@media (min-width: 900px) { .promises { padding: 56px 0 60px; } }
.promises__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 20px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 900px) { .promises__list { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px; } }
.promises li { border-left: 3px solid var(--signal); padding-left: 16px; }
.promises strong { display: block; font-size: clamp(1.9rem, 1.1rem + 3.2vw, 3.7rem); font-weight: 800; font-stretch: 112%; line-height: 1; letter-spacing: -0.02em; white-space: nowrap; }
@media (min-width: 900px) { .promises strong { font-stretch: 125%; } }
.promises li { min-width: 0; }
.promises span { display: block; margin-top: 10px; max-width: 19em; color: #C3D2F2; font-size: 0.97rem; line-height: 1.4; }

/* ---------- problems ---------- */
.pain__grid { display: grid; margin-top: 40px; }
@media (min-width: 720px) { .pain__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; } }
.pain__item { border-top: 1px solid var(--line); padding: 26px 0 28px; }
.pain__item h3 { font-size: var(--step-2); font-stretch: 112%; line-height: 1.12; letter-spacing: -0.01em; margin-bottom: 10px; }
.pain__item p { color: var(--muted); max-width: 30em; }
.pain__turn { margin-top: 28px; font-size: var(--step-1); font-weight: 600; }

/* ---------- what lands on your phone ---------- */
.phone-demo { align-items: center; }
@media (min-width: 900px) { .phone-demo { grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); } }
.ticks { margin-top: 28px; }
.ticks li { position: relative; padding-left: 24px; margin-bottom: 10px; line-height: 1.45; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .5em; width: 8px; height: 8px; background: var(--signal); }
.demo-note { margin-top: 26px; font-size: var(--step--1); color: #8FA6D6; }

.phone {
  position: relative; width: 300px; max-width: 82vw; aspect-ratio: 300 / 620; margin: 8px auto 0;
  padding: 10px; border-radius: 48px; background: #070B18;
  box-shadow: 0 0 0 2px #24345F, 0 50px 90px -40px rgba(0, 0, 0, .8);
}
.phone__screen {
  position: relative; height: 100%; overflow: hidden; border-radius: 38px;
  display: flex; flex-direction: column; gap: 10px; padding: 52px 12px 16px;
  background: linear-gradient(rgba(1, 31, 85, .35), rgba(1, 31, 85, .8)), url("/assets/hero.jpg?v=11") center / cover;
  color: #fff;
}
.phone__notch { position: absolute; top: 12px; left: 50%; width: 92px; height: 26px; margin-left: -46px; border-radius: 20px; background: #070B18; }
.phone__time { margin: 0; text-align: center; font-size: 4.2rem; font-weight: 500; line-height: 1; letter-spacing: -0.02em; }
.phone__date { margin: 4px 0 14px; text-align: center; font-size: 0.88rem; color: #E5ECFA; }
.notif { border-radius: 18px; padding: 11px 13px 12px; background: rgba(255, 255, 255, .9); color: var(--ink); }
.notif__app { display: flex; align-items: center; gap: 7px; font-size: 0.74rem; color: var(--muted); }
.notif__app img { width: 14px; height: auto; }
.notif__app time { margin-left: auto; }
.notif strong { display: block; margin-top: 5px; font-size: 0.93rem; line-height: 1.25; }
.notif p { margin: 2px 0 0; font-size: 0.83rem; line-height: 1.35; color: #33415F; }
.lead-card { border-radius: 18px; padding: 14px; background: #fff; color: var(--ink); }
.lead-card__head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.lead-card__head strong { font-size: 1.05rem; }
.lead-card__head span { font-size: 0.75rem; color: var(--muted); }
.lead-card dl { display: grid; gap: 0; margin: 8px 0 12px; }
.lead-card dl div { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; border-top: 1px solid #E3E8F2; font-size: 0.82rem; }
.lead-card dt { color: var(--muted); }
.lead-card dd { margin: 0; font-weight: 600; text-align: right; }
.lead-card__call { display: block; padding: 10px; border-radius: 12px; background: var(--royal); color: #fff; text-align: center; font-weight: 700; font-size: 0.9rem; }

/* the one moment of motion here: the enquiry arrives when the phone scrolls into view */
@media (prefers-reduced-motion: no-preference) {
  .phone.is-armed .notif { opacity: 0; transform: translateY(-18px) scale(.98); }
  .phone.is-armed .lead-card { opacity: 0; transform: translateY(18px); }
  .phone.is-live .notif { opacity: 1; transform: none; transition: opacity .45s ease .25s, transform .55s cubic-bezier(.2, .8, .2, 1) .25s; }
  .phone.is-live .lead-card { opacity: 1; transform: none; transition: opacity .5s ease 1.1s, transform .6s cubic-bezier(.2, .8, .2, 1) 1.1s; }
}

/* ---------- comparison ---------- */
.compare { width: 100%; margin-top: 40px; border-collapse: collapse; background: #fff; border: 1px solid var(--line); }
.compare th, .compare td { padding: 18px 22px; text-align: left; vertical-align: top; border-top: 1px solid var(--line); line-height: 1.4; }
.compare thead th, .compare thead td { border-top: 0; padding-top: 16px; padding-bottom: 16px; }
.compare thead th:nth-child(2) { color: var(--muted); font-weight: 600; font-size: 0.97rem; }
.compare thead th:nth-child(3) { background: var(--royal); }
.compare thead img { height: 22px; width: auto; }
.compare tbody th { width: 22%; font-weight: 700; }
.compare tbody td:nth-child(2) { color: var(--muted); }
.compare tbody td:nth-child(3) { background: #F2F6FF; font-weight: 600; box-shadow: inset 3px 0 0 var(--royal); }
@media (max-width: 719px) {
  .compare, .compare tbody { display: block; }
  .compare thead { display: none; }
  .compare tr { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border-top: 1px solid var(--line); }
  .compare tbody tr:first-child { border-top: 0; }
  .compare tbody th { grid-column: 1 / -1; width: auto; padding: 16px 16px 4px; border-top: 0; }
  .compare td { padding: 8px 16px 16px; border-top: 0; font-size: 0.95rem; }
  .compare td::before { content: attr(data-label); display: block; margin-bottom: 4px; font-size: 0.75rem; font-weight: 600; color: var(--muted); }
  .compare tbody td:nth-child(3)::before { color: var(--royal); }
}

/* ---------- honest note ---------- */
.honest__wrap { display: grid; gap: 24px; }
@media (min-width: 900px) { .honest__wrap { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 72px; align-items: start; } }
.honest__body p { font-size: var(--step-1); line-height: 1.55; max-width: 32em; }
.honest__body .btn { margin-top: 12px; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: #C3D2F2; padding: 44px 0; font-size: 0.95rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px 40px; }
.site-footer img { height: 28px; width: auto; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 10px 28px; }
.site-footer a { text-decoration: none; color: #fff; }
.site-footer a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- booking page (Calendly inline embed) ---------- */
/* White page so Calendly's own card sits on it cleanly; heading and points line up with that card. */
.book { padding: 36px 0 64px; background: #fff; }
@media (min-width: 900px) { .book { padding: 64px 0 96px; } }
.book__head { max-width: 40em; }
@media (min-width: 900px) { .book__head { margin: 0 auto; text-align: center; } }
.book h1 { font-size: var(--step-3); font-stretch: 114%; letter-spacing: -0.02em; }
.book__lede { margin-top: 14px; font-size: var(--step-1); line-height: 1.5; color: var(--muted); }
.book__embed { margin: 20px calc(-1 * var(--gutter)) 0; min-width: 320px; min-height: 700px; }
@media (min-width: 720px) { .book__embed { margin: 12px 0 0; } }
.book__embed iframe { display: block; }
.book__msg { margin: 0 var(--gutter); padding: 28px 24px; background: var(--mist); }
.book__msg h2 { font-size: var(--step-2); font-stretch: 110%; margin-bottom: 10px; }
.book__msg p { color: var(--muted); max-width: 34em; }
.book__embed:has(.book__msg:not([hidden])) { min-height: 0; }
@media (min-width: 720px) { .book__msg { margin: 24px auto 0; max-width: 800px; } }
.book__points { display: grid; max-width: 800px; margin: 28px auto 0; border-top: 2px solid var(--ink); }
@media (min-width: 900px) { .book__points { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; } }
.book__points li { position: relative; padding: 14px 0 14px 22px; border-bottom: 1px solid var(--line); line-height: 1.45; color: var(--muted); }
@media (min-width: 900px) { .book__points li { border-bottom: 0; } }
.book__points li::before { content: ""; position: absolute; left: 0; top: 1.3em; width: 8px; height: 8px; background: var(--signal); }

/* ---------- 404 ---------- */
.lost { padding: 96px 0 120px; }
.lost h1 { font-size: var(--step-4); font-stretch: 116%; letter-spacing: -0.025em; }
.lost p { margin: 20px 0 32px; color: var(--muted); font-size: var(--step-1); }
