/* archdating.com, drawn from the app's own design system.

   The palette is the app's "sand and sea": warm paper by day, the same shore at
   night, one deep teal that means "do this". Fraunces speaks, Instrument Sans
   explains, Outfit sets the one word "arch". Sentence case everywhere -- no
   all-caps labels and no tracked-out eyebrows, as in the app -- and depth comes
   from surface lightness, never from shadows.

   No external fonts, scripts or trackers: the fonts are the app's own, served
   from here. */

/* ------------------------------------------------------------------ fonts */

@font-face { font-family: "Fraunces Display"; src: url("fonts/fraunces-display-semibold.woff") format("woff"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Fraunces Display"; src: url("fonts/fraunces-display-medium.woff") format("woff"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Fraunces Text"; src: url("fonts/fraunces-text-regular.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("fonts/instrument-sans-regular.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("fonts/instrument-sans-medium.woff") format("woff"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("fonts/instrument-sans-semibold.woff") format("woff"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Outfit"; src: url("fonts/outfit-semibold.woff") format("woff"); font-weight: 600; font-display: swap; }

/* ----------------------------------------------------------------- tokens */

:root {
  /* ArchColor, light. */
  --night: #f6f1e8;        /* page */
  --stone: #fffdf9;        /* cards */
  --raised: #ece3d4;       /* elevated bands, outgoing bubbles */
  --ink: #1e2621;          /* limestone */
  --mortar: #6a665e;
  --lamp: #13615e;         /* the one colour that invites action */
  --on-lamp: #f4fbf8;
  --ember: #a2622f;        /* Premium, sparingly */
  --verdigris: #52795f;    /* connection only */
  --hairline: rgba(106, 102, 94, .18);
  --quiet: rgba(106, 102, 94, .12);
  --bezel: #1e2621;
  --sun: #fbf4ea;

  /* The quarry materials the app uses where a photograph would be. */
  --slate: #e4e0da;  --slate-2: #dad5ce;
  --clay: #eddcce;   --clay-2: #e2cdb9;
  --moss: #dfe3d8;   --moss-2: #cfd6c6;
  --ash: #e6e2dc;    --ash-2: #d9d3cb;
  --emberstone: #f2dfcd; --emberstone-2: #e6ccb2;
  --linen: #efe9de;  --linen-2: #e4dacb;

  --serif: "Fraunces Display", "Iowan Old Style", Georgia, serif;
  --serif-text: "Fraunces Text", "Iowan Old Style", Georgia, serif;
  --sans: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --mark-font: "Outfit", var(--sans);

  /* ArchRadius. */
  --r-photo: 24px;
  --r-card: 20px;
  --r-control: 12px;
  --r-detail: 8px;

  --wrap: 1180px;
  --gutter: clamp(20px, 5vw, 48px);
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --night: #141a18;
    --stone: #1e2624;
    --raised: #28322f;
    --ink: #eef2ec;
    --mortar: #98a29a;
    --lamp: #5fafa6;
    --on-lamp: #10201e;
    --ember: #d3904f;
    --verdigris: #86ad90;
    --hairline: rgba(152, 162, 154, .16);
    --quiet: rgba(152, 162, 154, .14);
    --bezel: #2f3a37;
    --sun: #8d7a64;

    --slate: #2f3138;  --slate-2: #282a30;
    --clay: #3e332a;   --clay-2: #362c24;
    --moss: #2c3630;   --moss-2: #262f2a;
    --ash: #383a3e;    --ash-2: #303236;
    --emberstone: #46332a; --emberstone-2: #3d2c24;
    --linen: #4a4640;  --linen-2: #413e38;
  }
}

/* ------------------------------------------------------------------- base */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--night);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }

a { color: var(--lamp); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { text-decoration-thickness: 2px; }

:focus-visible { outline: 2px solid var(--lamp); outline-offset: 3px; border-radius: 4px; }

::selection { background: var(--lamp); color: var(--on-lamp); }

p { margin: 0 0 1em; }

h1, h2, h3 { margin: 0; font-weight: 600; text-wrap: balance; }
.lede, .statement { text-wrap: pretty; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }

.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus { left: var(--gutter); top: 12px; z-index: 10; background: var(--stone); color: var(--ink); padding: 8px 14px; border-radius: var(--r-control); }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ------------------------------------------------------------------- type */

.display {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(3.25rem, 8.4vw, 6.75rem);
  line-height: .98;
  letter-spacing: -.025em;
}

.title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.125rem, 4.6vw, 3.625rem);
  line-height: 1.04;
  letter-spacing: -.02em;
}

.title-s {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  line-height: 1.12;
  letter-spacing: -.012em;
}

.statement {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.75rem, 3.7vw, 3rem);
  line-height: 1.16;
  letter-spacing: -.015em;
}

.lede { font-size: clamp(1.125rem, 1.6vw, 1.3125rem); line-height: 1.55; color: var(--ink); }
.quiet { color: var(--mortar); }
.small { font-size: .9375rem; line-height: 1.55; }
.caption { font-size: .8125rem; line-height: 1.45; color: var(--mortar); }

/* A short label above a heading. Sentence case and untracked, like the app. */
.kicker { display: block; margin: 0 0 18px; font: 500 .9375rem/1.4 var(--sans); color: var(--mortar); }
.kicker b { color: var(--lamp); font-weight: 600; }

/* ---------------------------------------------------------------- buttons */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px;
  border-radius: var(--r-control);
  font: 600 1rem/1 var(--sans);
  text-decoration: none;
  white-space: nowrap;
  transition: transform .15s ease-out, background-color .15s ease-out;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: scale(.98); }
.btn-lamp { background: var(--lamp); color: var(--on-lamp); }
.btn-lamp:hover { background: color-mix(in srgb, var(--lamp) 90%, var(--ink)); }
.btn-quiet { background: var(--quiet); color: var(--ink); }
.btn-quiet:hover { background: color-mix(in srgb, var(--quiet) 70%, var(--mortar) 30%); }
.btn-stone { background: var(--stone); color: var(--ink); }
.btn .arrow { transition: transform .2s ease-out; }
.btn:hover .arrow { transform: translateX(3px); }

.text-link { font-weight: 600; text-decoration: none; display: inline-flex; gap: 8px; align-items: baseline; }
.text-link:hover { text-decoration: underline; }

/* ---------------------------------------------------------------- the mark */

.mark { fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; }

.wordmark { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.wordmark svg { width: 30px; height: auto; color: var(--lamp); }
.wordmark span { font: 600 1.5rem/1 var(--mark-font); letter-spacing: -.01em; transform: translateY(-1px); }
.wordmark:hover { text-decoration: none; }

/* --------------------------------------------------------------- header */

.site-head { position: relative; z-index: 5; }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 84px; }

.nav { display: flex; align-items: center; gap: 30px; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 1rem; }
.nav a:hover { color: var(--lamp); }
.nav a[aria-current="page"] { color: var(--lamp); }
.nav .btn { min-height: 44px; padding: 0 18px; font-size: .9375rem; color: var(--on-lamp); }
.nav .btn:hover { color: var(--on-lamp); }

.menu { display: none; }

@media (max-width: 860px) {
  .nav { display: none; }
  .menu { display: block; }
  .menu summary {
    list-style: none; cursor: pointer;
    display: inline-flex; align-items: center; gap: 8px;
    min-height: 44px; padding: 0 16px; border-radius: var(--r-control);
    background: var(--quiet); font-weight: 600; font-size: .9375rem;
  }
  .menu summary::-webkit-details-marker { display: none; }
  .menu[open] summary { background: var(--raised); }
  .menu-panel {
    position: absolute; left: var(--gutter); right: var(--gutter); top: 76px;
    background: var(--stone); border-radius: var(--r-card);
    padding: 10px; display: grid;
  }
  .menu-panel a { padding: 14px 14px; border-radius: var(--r-control); color: var(--ink); text-decoration: none; font-weight: 500; font-size: 1.0625rem; }
  .menu-panel a:hover { background: var(--quiet); }
  .menu-panel a + a { border-top: 1px solid var(--hairline); }
  .menu-panel .btn { margin-top: 8px; color: var(--on-lamp); border-top: 0; }
}

/* ---------------------------------------------------------------- sections */

.section { padding: clamp(64px, 8vw, 112px) 0; }
.section-tight { padding: clamp(48px, 6vw, 80px) 0; }
.band { background: var(--raised); }
.band-stone { background: var(--stone); }
.rule-top { border-top: 1px solid var(--hairline); }

.split { display: grid; grid-template-columns: repeat(12, 1fr); gap: 32px clamp(24px, 4vw, 64px); align-items: start; }
.col-5 { grid-column: span 5; }
.col-6 { grid-column: span 6; }
.col-7 { grid-column: span 7; }
.col-4 { grid-column: span 4; }
.col-8 { grid-column: span 8; }
.push-1 { grid-column-start: 2; }
.push-7 { grid-column-start: 7; }
.at-7 { grid-column: 7 / span 6; }
.at-8 { grid-column: 8 / span 5; }
.center-y { align-items: center; }

@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .col-4, .col-5, .col-6, .col-7, .col-8 { grid-column: auto; }
  .push-1, .push-7, .at-7, .at-8 { grid-column: auto; }
  .m-after { order: 2; }
}

.measure { max-width: 34rem; }
.measure-s { max-width: 28rem; }

/* ------------------------------------------------------------------- hero */

.hero { padding: clamp(24px, 4vw, 48px) 0 clamp(64px, 8vw, 104px); overflow: hidden; }
.hero .split { align-items: center; }
.hero .display { margin-bottom: 30px; }
.hero .lede { max-width: 31rem; margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }
.hero-note { font-size: .875rem; color: var(--mortar); margin: 0; }

/* The phone stands under the five stones: "held". */
.held { position: relative; max-width: 560px; margin: 0 auto; }
.held .stones { position: absolute; top: 0; left: 0; width: 100%; height: auto; }
.held .phone { position: relative; width: 50%; margin: 21% auto 0; }

@media (max-width: 900px) {
  .held { max-width: 440px; }
  .held .phone { width: 60%; }
}

/* The stones settle in on load, the way the app's arch fills. */
@media (prefers-reduced-motion: no-preference) {
  .held .stones path { animation: settle .9s cubic-bezier(.2,.7,.2,1) both; }
  .held .stones path:nth-child(2) { animation-delay: .08s; }
  .held .stones path:nth-child(3) { animation-delay: .16s; }
  .held .stones path:nth-child(4) { animation-delay: .24s; }
  .held .stones path:nth-child(5) { animation-delay: .32s; }
  .draw path { stroke-dasharray: 200; stroke-dashoffset: 200; animation: draw 1.4s .2s cubic-bezier(.4,0,.2,1) forwards; }
}
@keyframes settle { from { opacity: 0; transform: translateY(-18px); } to { opacity: 1; transform: none; } }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ------------------------------------------------------------------ phone */

/* A phone drawn from the app's own surfaces. Everything inside is sized in
   container units, so the screen scales as one piece. */
.phone { container-type: inline-size; }
.frame {
  aspect-ratio: 9 / 19.2;
  background: var(--bezel);
  border-radius: 15cqw;
  padding: 3.2cqw;
}
.screen {
  position: relative;
  height: 100%;
  background: var(--night);
  border-radius: 12cqw;
  overflow: hidden;
  display: flex; flex-direction: column;
  font-family: var(--sans);
  color: var(--ink);
}
.screen .island { position: absolute; top: 3.2cqw; left: 50%; transform: translateX(-50%); width: 30cqw; height: 8.4cqw; border-radius: 6cqw; background: var(--bezel); }
.status { display: flex; justify-content: space-between; align-items: center; padding: 4.4cqw 8cqw 0 9cqw; height: 13cqw; font-weight: 600; font-size: 4.1cqw; }
.status i { display: inline-block; width: 6.4cqw; height: 3.2cqw; border: .45cqw solid var(--ink); border-radius: 1.1cqw; position: relative; }
.status i::after { content: ""; position: absolute; inset: .45cqw 1.4cqw .45cqw .45cqw; background: var(--ink); border-radius: .4cqw; }
.screen-body { flex: 1; padding: 4cqw 6.4cqw 0; overflow: hidden; }

.app-title { font-family: var(--serif); font-weight: 600; font-size: 7.6cqw; line-height: 1.15; letter-spacing: -.01em; margin: 1.5cqw 0 3.4cqw; }
.slots { width: 34cqw; height: auto; margin-bottom: 7cqw; }
.slots path { fill: var(--lamp); }
.slots .open { fill: var(--quiet); }

.pcard { background: var(--stone); border-radius: 6.4cqw; padding: 2.4cqw 2.4cqw 4.6cqw; }
.pphoto { position: relative; aspect-ratio: 4 / 4.3; border-radius: 5cqw; overflow: hidden; }
.pphoto svg { width: 100%; height: 100%; }
.pname { font-family: var(--serif); font-weight: 600; font-size: 6.2cqw; line-height: 1.15; margin: 3.6cqw 2.2cqw 2.2cqw; }
.chips { display: flex; flex-wrap: wrap; gap: 1.6cqw; margin: 0 2.2cqw 3.6cqw; }
.chips span { background: var(--quiet); border-radius: 10cqw; padding: 1.1cqw 2.8cqw; font-weight: 500; font-size: 3.15cqw; }
.pq { font-family: var(--serif-text); font-size: 4.2cqw; line-height: 1.35; color: var(--mortar); margin: 0 2.2cqw 1.2cqw; }
.pa { font-size: 4.5cqw; line-height: 1.4; margin: 0 2.2cqw; }

.tabbar { display: grid; grid-template-columns: repeat(5, 1fr); background: var(--raised); padding: 2.6cqw 1.6cqw 6.4cqw; }
.tabbar span { display: grid; justify-items: center; gap: 1.1cqw; font-size: 2.65cqw; font-weight: 500; color: var(--mortar); padding: 1.1cqw 0; border-radius: 3.5cqw; }
.tabbar svg { width: 6.4cqw; height: 6.4cqw; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.tabbar .on { color: var(--lamp); background: color-mix(in srgb, var(--ink) 7%, transparent); }
.tabbar .on svg { stroke-width: 2.25; }

/* A conversation, for the second phone. */
.thread-head { display: flex; align-items: center; gap: 3cqw; padding: 1cqw 0 3.6cqw; border-bottom: 1px solid var(--hairline); margin-bottom: 3cqw; }
.thread-head .avatar { width: 10.5cqw; height: 10.5cqw; border-radius: 50%; overflow: hidden; flex: none; }
.thread-head b { font-family: var(--serif); font-weight: 600; font-size: 5.6cqw; }
.dayline { text-align: center; font-size: 3.2cqw; color: var(--mortar); margin: 2.4cqw 0 3cqw; }
.bubble { max-width: 78%; padding: 2.6cqw 3.8cqw; border-radius: 4.8cqw; font-size: 3.9cqw; line-height: 1.38; margin-bottom: 2cqw; }
.bubble.in { background: var(--stone); border-bottom-left-radius: 1.6cqw; }
.bubble.out { background: var(--raised); margin-left: auto; border-bottom-right-radius: 1.6cqw; }
.mini-plan { background: var(--stone); border-radius: 5cqw; padding: 3.6cqw 4cqw; margin: 1cqw 0 2cqw auto; width: 82%; }
.mini-plan b { display: block; font-family: var(--serif); font-weight: 600; font-size: 4.4cqw; margin-bottom: 2cqw; }
.mini-plan div { display: grid; grid-template-columns: 11cqw 1fr; gap: 1.4cqw; font-size: 3.3cqw; line-height: 1.35; padding: 1.4cqw 0; border-top: 1px solid var(--hairline); }
.mini-plan div span:first-child { color: var(--mortar); }
.composer { margin: auto 0 0; display: flex; gap: 2cqw; align-items: center; padding: 3cqw 0 6cqw; }
.composer span { flex: 1; background: var(--stone); border-radius: 6cqw; padding: 2.8cqw 4cqw; font-size: 3.7cqw; color: var(--mortar); }
.composer i { width: 9.5cqw; height: 9.5cqw; border-radius: 50%; background: var(--lamp); flex: none; }

/* --------------------------------------------------------------- statement */

.statement-wrap { max-width: 62rem; }
.statement em { font-style: normal; color: var(--lamp); }

/* -------------------------------------------------------------- a day on arch */

.day { list-style: none; margin: 40px 0 0; padding: 0; }
.day li { display: grid; grid-template-columns: 7.5rem 1fr; gap: 0 24px; padding: 26px 0; border-top: 1px solid var(--hairline); }
.day li:last-child { border-bottom: 1px solid var(--hairline); }
.day time { font-family: var(--serif); font-weight: 500; font-size: 1.5rem; line-height: 1.2; color: var(--lamp); letter-spacing: -.01em; }
.day h3 { font: 600 1.1875rem/1.35 var(--sans); margin: 0 0 6px; }
.day p { margin: 0; color: var(--mortar); }
@media (max-width: 520px) { .day li { grid-template-columns: 1fr; gap: 6px; } }

.phone-stage { display: flex; justify-content: center; padding: 8px 0; }
.phone-stage .phone { width: min(320px, 82vw); }
.sticky { position: sticky; top: 32px; }
@media (max-width: 900px) { .sticky { position: static; } }

/* ----------------------------------------------------------- questionnaire */

.qcard { background: var(--stone); border-radius: var(--r-card); padding: clamp(24px, 3.4vw, 40px); }
.qcard .count { font-size: .875rem; color: var(--mortar); margin-bottom: 18px; display: flex; justify-content: space-between; }
.progress { height: 4px; border-radius: 4px; background: var(--quiet); margin-bottom: 26px; overflow: hidden; }
.progress i { display: block; height: 100%; width: 6.25%; background: var(--lamp); border-radius: 4px; }
.qcard h3 { font-family: var(--serif); font-weight: 600; font-size: clamp(1.375rem, 2.2vw, 1.75rem); line-height: 1.2; letter-spacing: -.01em; margin-bottom: 22px; }
.option { display: block; padding: 15px 18px; border-radius: var(--r-control); background: var(--quiet); margin-bottom: 8px; font-size: 1.0625rem; }
.option.chosen { background: var(--lamp); color: var(--on-lamp); }

.deciders { list-style: none; padding: 0; margin: 34px 0 0; counter-reset: d; }
.deciders li { counter-increment: d; display: grid; grid-template-columns: 2.4rem 1fr; padding: 16px 0; border-top: 1px solid var(--hairline); font-family: var(--serif-text); font-size: 1.25rem; line-height: 1.35; }
.deciders li::before { content: counter(d); font: 500 1.25rem/1.35 var(--serif); color: var(--lamp); }

/* ----------------------------------------------------------------- prompts */

.prompts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; align-items: start; }
.prompt { background: var(--stone); border-radius: var(--r-card); padding: 28px 28px 30px; }
.prompt:nth-child(2) { margin-top: 56px; }
.prompt:nth-child(3) { margin-top: 20px; }
.prompt .q { font-family: var(--serif-text); color: var(--mortar); font-size: 1.1875rem; line-height: 1.35; margin-bottom: 12px; }
.prompt .a { font-size: 1.25rem; line-height: 1.45; margin: 0; }
.prompt .who { display: flex; gap: 10px; align-items: center; margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--hairline); font-size: .875rem; color: var(--mortar); }
.prompt .who i { width: 28px; height: 28px; border-radius: 50%; display: block; flex: none; }
@media (max-width: 900px) {
  .prompts { grid-template-columns: 1fr; }
  .prompt:nth-child(n) { margin-top: 0; }
}

/* ---------------------------------------------------------------- planner */

.plan { background: var(--stone); border-radius: var(--r-card); overflow: hidden; }
.plan-map { aspect-ratio: 16 / 9; background: var(--night); }
.plan-map svg { width: 100%; height: 100%; }
.plan-body { padding: 26px 28px 28px; }
.plan-body h3 { font-family: var(--serif); font-weight: 600; font-size: 1.625rem; line-height: 1.2; letter-spacing: -.01em; margin-bottom: 4px; }
.plan-body .caption { margin-bottom: 18px; }
.stop { display: grid; grid-template-columns: 4.5rem 1fr; gap: 14px; padding: 15px 0; border-top: 1px solid var(--hairline); }
.stop time { color: var(--mortar); font-size: .9375rem; padding-top: 2px; }
.stop b { display: block; font-weight: 600; }
.stop span { color: var(--mortar); font-size: .9375rem; }
.plan-actions { display: flex; gap: 10px; margin-top: 18px; }
.plan-actions span { flex: 1; text-align: center; padding: 13px; border-radius: var(--r-control); font-weight: 600; font-size: .9375rem; background: var(--quiet); }
.plan-actions span:first-child { background: var(--lamp); color: var(--on-lamp); }

.ticks { list-style: none; padding: 0; margin: 30px 0 0; }
.ticks li { padding: 14px 0 14px 34px; border-top: 1px solid var(--hairline); position: relative; }
.ticks li::before {
  content: ""; position: absolute; left: 4px; top: 22px; width: 14px; height: 8px;
  border-left: 2px solid var(--lamp); border-bottom: 2px solid var(--lamp); transform: rotate(-45deg);
}
.ticks b { font-weight: 600; }

/* --------------------------------------------------------- what we left out */

.omit { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 clamp(24px, 4vw, 56px); margin-top: 48px; }
.omit div { padding: 26px 0 30px; border-top: 1px solid var(--hairline); }
.omit s {
  display: inline-block; font-family: var(--serif); font-weight: 600; font-size: clamp(1.5rem, 2.4vw, 1.875rem);
  line-height: 1.15; letter-spacing: -.01em; text-decoration: none; position: relative; margin-bottom: 10px; color: var(--ink);
}
.omit s::after { content: ""; position: absolute; left: -2px; right: -4px; top: 42%; height: 2px; background: var(--lamp); transform: rotate(-2deg); }
.omit p { margin: 0; color: var(--mortar); }
@media (max-width: 900px) { .omit { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .omit { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------- premium */

.premium { background: var(--stone); border-radius: 28px; padding: clamp(28px, 5vw, 64px); }
.premium .kicker { color: var(--ember); }
.benefits { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
.benefits li { padding: 20px 0; border-top: 1px solid var(--hairline); }
.benefits b { display: block; font-family: var(--serif); font-weight: 600; font-size: 1.375rem; line-height: 1.2; margin-bottom: 6px; letter-spacing: -.01em; }
.benefits span { color: var(--mortar); }
@media (max-width: 700px) { .benefits { grid-template-columns: 1fr; } }

/* -------------------------------------------------------------------- faq */

.faq { margin-top: 40px; border-bottom: 1px solid var(--hairline); }
.faq details { border-top: 1px solid var(--hairline); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 24px 0; font: 600 1.1875rem/1.35 var(--sans);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 14px; height: 14px; margin-right: 4px;
  background:
    linear-gradient(var(--ink), var(--ink)) center / 14px 2px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 2px 14px no-repeat;
  transition: transform .2s ease-out;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--lamp); }
.faq .answer { padding: 0 0 26px; max-width: 44rem; color: var(--mortar); }
.faq .answer p:last-child { margin-bottom: 0; }
.faq .answer strong { color: var(--ink); font-weight: 600; }

/* --------------------------------------------------------------- the CTA */

.cta { background: var(--lamp); color: var(--on-lamp); border-radius: 28px; padding: clamp(36px, 6vw, 80px); position: relative; overflow: hidden; }
.cta .title { max-width: 14ch; margin-bottom: 20px; }
.cta p { max-width: 30rem; opacity: .9; }
.cta .btn { margin-top: 12px; }
.cta .cta-mark { position: absolute; right: -4%; bottom: -16%; width: min(48%, 520px); color: var(--on-lamp); opacity: .16; }
.cta a:not(.btn) { color: var(--on-lamp); }

/* ---------------------------------------------------------- inner pages */

.page-head { padding: clamp(40px, 7vw, 96px) 0 clamp(40px, 6vw, 72px); }
.page-head .display { font-size: clamp(2.75rem, 7vw, 5.5rem); margin-bottom: 24px; }
.page-head .lede { max-width: 38rem; }

.chapter { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px clamp(24px, 4vw, 64px); padding: clamp(48px, 6vw, 88px) 0; border-top: 1px solid var(--hairline); }
.chapter > header { grid-column: span 4; }
.chapter > .body { grid-column: 6 / span 7; }
.chapter .num { display: block; font: 500 1.125rem/1 var(--serif); color: var(--lamp); margin-bottom: 14px; }
.chapter h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(1.875rem, 3.2vw, 2.625rem); line-height: 1.08; letter-spacing: -.018em; }
.chapter .body > p:first-child { font-size: 1.1875rem; line-height: 1.55; }
.chapter h3 { font: 600 1.0625rem/1.4 var(--sans); margin: 28px 0 6px; }
.chapter ul { padding-left: 1.1rem; }
.chapter li { margin-bottom: .5em; }
@media (min-width: 901px) {
  .chapter > header { position: sticky; top: 32px; align-self: start; }
}
@media (max-width: 900px) {
  .chapter { grid-template-columns: 1fr; }
  .chapter > header, .chapter > .body { grid-column: auto; }
}

.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 32px; margin: 8px 0 0; }
.facts div { padding: 22px 0; border-top: 1px solid var(--hairline); }
.facts b { display: block; font-family: var(--serif); font-weight: 600; font-size: clamp(2rem, 3.4vw, 2.75rem); line-height: 1.05; letter-spacing: -.02em; color: var(--lamp); margin-bottom: 8px; }
.facts span { color: var(--mortar); font-size: .9375rem; }
@media (max-width: 800px) { .facts { grid-template-columns: 1fr 1fr; } }

.qlist { list-style: none; padding: 0; margin: 20px 0 0; counter-reset: q; }
.qlist li { counter-increment: q; display: grid; grid-template-columns: 2.4rem 1fr; padding: 11px 0; border-top: 1px solid var(--hairline); font-size: 1rem; }
.qlist li::before { content: counter(q); color: var(--mortar); font-variant-numeric: tabular-nums; }
.qlist .group { display: block; counter-increment: none; font-weight: 600; padding-top: 22px; border-top: 0; }
.qlist .group::before { content: none; }
.qlist li.decides::after { content: "Decides"; grid-column: 2; justify-self: start; margin-top: 6px; font-size: .75rem; font-weight: 600; color: var(--lamp); background: color-mix(in srgb, var(--lamp) 12%, transparent); padding: 3px 9px; border-radius: 20px; }

.note { background: var(--stone); border-radius: var(--r-card); padding: 22px 24px; margin: 24px 0; }
.note p:last-child { margin: 0; }

.pull { font-family: var(--serif-text); font-size: clamp(1.375rem, 2.3vw, 1.75rem); line-height: 1.35; color: var(--ink); margin: 0; }

.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.tile { background: var(--stone); border-radius: var(--r-card); padding: 28px; }
.tile h3 { font-family: var(--serif); font-weight: 600; font-size: 1.375rem; line-height: 1.2; margin-bottom: 8px; letter-spacing: -.01em; }
.tile p { color: var(--mortar); margin: 0; }
@media (max-width: 900px) { .tiles { grid-template-columns: 1fr; } }

.danger-box { background: var(--lamp); color: var(--on-lamp); border-radius: var(--r-card); padding: clamp(24px, 4vw, 40px); margin-bottom: clamp(32px, 5vw, 56px); }
.danger-box h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(1.75rem, 3vw, 2.375rem); line-height: 1.1; margin-bottom: 10px; }
.danger-box p { margin: 0; max-width: 40rem; opacity: .92; }
.danger-box a { color: var(--on-lamp); }

.contact-card { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; background: var(--stone); border-radius: var(--r-card); padding: clamp(24px, 4vw, 40px); }
.contact-card h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 6px; }
.contact-card p { margin: 0; color: var(--mortar); max-width: 34rem; }

/* ------------------------------------------------------------- footer */

.site-foot { padding: 64px 0 40px; border-top: 1px solid var(--hairline); margin-top: clamp(24px, 3vw, 40px); }
.foot-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; }
.foot-grid p { color: var(--mortar); font-size: .9375rem; max-width: 22rem; margin-top: 18px; }
.foot-grid h2 { font: 600 .9375rem/1.4 var(--sans); margin: 0 0 14px; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; }
.foot-grid li { margin-bottom: 10px; }
.foot-grid a { color: var(--mortar); text-decoration: none; font-size: .9375rem; }
.foot-grid a:hover { color: var(--ink); text-decoration: underline; }
.foot-grid a.wordmark, .foot-grid a.wordmark:hover { color: var(--ink); text-decoration: none; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--hairline); font-size: .8125rem; color: var(--mortar); }
.foot-base a { color: var(--mortar); }
@media (max-width: 800px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > div:first-child { grid-column: 1 / -1; } }

/* ------------------------------------------------------- the legal pages */

.legal-wrap { max-width: 46rem; margin: 0 auto; padding: 24px var(--gutter) 40px; }
.legal-wrap h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(2.25rem, 5vw, 3.25rem); line-height: 1.08; letter-spacing: -.02em; margin: 24px 0 12px; }
.legal-wrap h2 { font-family: var(--serif); font-weight: 600; font-size: 1.5rem; line-height: 1.2; letter-spacing: -.01em; margin: 2.75rem 0 .75rem; padding-top: 1.5rem; border-top: 1px solid var(--hairline); }
.legal-wrap h3 { font: 600 1.0625rem/1.4 var(--sans); margin: 1.6rem 0 .4rem; }
.legal-wrap p, .legal-wrap li { overflow-wrap: anywhere; }
.legal-wrap li { margin: 0 0 .6rem; }
.legal-wrap ul, .legal-wrap ol { padding-left: 1.2rem; }
.legal-wrap .meta, .legal-wrap .links { color: var(--mortar); font-size: .9375rem; }
.legal-wrap .lede { font-size: 1.125rem; }
.toc { margin: 2rem 0; padding: 1.25rem 1.5rem; background: var(--stone); border-radius: var(--r-card); }
.toc h2 { margin: 0 0 .6rem; padding: 0; border: 0; font: 600 1rem/1.4 var(--sans); }
/* The section titles carry their own numbers, so the list does not add a second set. */
.toc ol { margin: 0; padding: 0; list-style: none; columns: 2; column-gap: 2rem; font-size: .9375rem; }
.toc a { text-decoration: none; }
.toc a:hover { text-decoration: underline; }
.toc li { margin: 0 0 .35rem; break-inside: avoid; }
@media (max-width: 560px) { .toc ol { columns: 1; } }
.meta-row { margin: 0 0 .35rem; font-size: .9375rem; }

/* A blank still to fill. Loud on purpose: it must never be published. */
mark { background: #ffe58a; color: #1d1b19; padding: 0 .2em; border-radius: 3px; }

/* ---------------------------------------------------- drawn photographs */

/* Arch's design build draws photographs from its quarry materials rather than
   fetching any. These do the same: a few flat shapes, the app's own tones. */
.sc-sky { fill: var(--emberstone); }
.sc-sky2 { fill: var(--linen); }
.sc-sun { fill: var(--sun); }
.sc-far { fill: var(--moss); }
.sc-hill { fill: var(--moss-2); }
.sc-water { fill: var(--slate-2); }
.sc-line { fill: none; stroke: var(--sun); stroke-width: 3; stroke-linecap: round; opacity: .8; }
.sc-ink { fill: var(--ink); opacity: .55; }
.sc-inkline { fill: none; stroke: var(--ink); stroke-width: 7; stroke-linecap: round; opacity: .55; }
.sc-road { fill: none; stroke: var(--stone); stroke-linecap: round; }
.sc-park { fill: var(--moss-2); }
.sc-route { fill: none; stroke: var(--lamp); stroke-width: 3; stroke-dasharray: 2 9; stroke-linecap: round; }
.sc-home { fill: var(--mortar); stroke: var(--stone); stroke-width: 4; }
.sc-pin { fill: var(--lamp); }
.sc-pin-dot { fill: var(--on-lamp); }
.dot-clay { background: var(--clay-2); } .dot-moss { background: var(--moss-2); } .dot-ember { background: var(--emberstone-2); }

/* ------------------------------------------------------------- about */

.name-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 0; background: var(--stone); border-radius: 28px; overflow: hidden; margin-top: 8px; }
.name-panel figure { margin: 0; padding: clamp(28px, 5vw, 56px); display: grid; align-content: center; justify-items: center; gap: 18px; min-height: 280px; }
.name-panel figure + figure { background: var(--raised); }
.name-panel svg { color: var(--lamp); }
.name-panel .big-mark { width: min(220px, 60%); }
.name-panel .big-slots { width: min(260px, 70%); }
.name-panel .big-slots path { fill: var(--lamp); }
.name-panel figcaption { font-size: .875rem; color: var(--mortar); text-align: center; }
@media (max-width: 700px) { .name-panel { grid-template-columns: 1fr; } }

.wont { list-style: none; padding: 0; margin: 0; }
.wont li { padding: 16px 0 16px 36px; border-top: 1px solid var(--hairline); position: relative; font-size: 1.125rem; }
.wont li::before, .wont li::after { content: ""; position: absolute; left: 6px; top: 50%; width: 16px; height: 2px; background: var(--lamp); }
.wont li::before { transform: rotate(45deg); }
.wont li::after { transform: rotate(-45deg); }

/* ------------------------------------------------------------- legal */

.lang-switch { text-align: right; margin: 8px 0 0; }

/* -------------------------------------------------------------- not found */

.lost { min-height: 60vh; display: grid; align-content: center; justify-items: start; gap: 18px; }
.lost svg { width: 120px; color: var(--lamp); margin-bottom: 12px; }
