@font-face {
  font-family: "Recursive";
  src: url("/fonts/recursive.woff2") format("woff2");
  font-weight: 300 900;
  font-display: swap;
}
@font-face {
  font-family: "Maple Mono";
  src: url("/fonts/maple-mono-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Roboto";
  src: url("/fonts/roboto.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: dark;
  /* bookcloth: the badge green, deepened */
  --cloth: #1b302b;
  --cloth-deep: #152621;
  --cloth-lit: #2e5e57;
  /* the launcher icon background behind the dog (ic_launcher_background) */
  --icon-bg: #1d2b28;
  --ink: #f4eee2;
  --ink-2: #c3d0c8;
  --ink-3: #93a89e;
  --gold: #d9963e;
  --gold-hi: #e8b66a;
  --sable: #a5652a;
  --rule: rgba(244, 238, 226, 0.13);
  --rule-gold: rgba(217, 150, 62, 0.42);
  --blocked: #e5634f;
  --done: #6db57a;
  --working: #e0a23b;
  --idle: #6f7a74;
  /* the app's own surfaces (Theme.kt) */
  --app-bg: #121614;
  --app-c: #1a211e;
  --app-low: #161c19;
  --app-high: #212a26;
  --app-highest: #2a3530;
  --app-muted: #a9b1ab;
  --app-outline-v: #26302b;
  --sheepdog-surface: #1f3330;
  --on-primary: #1a1208;

  --gutter: clamp(16px, 4vw, 48px);
  --margin: 76px;
  --casual: "CASL" 1, "MONO" 0;
  --linear: "CASL" 0, "MONO" 0;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--cloth);
  color: var(--ink);
  font-family: "Recursive", ui-sans-serif, system-ui, sans-serif;
  font-variation-settings: var(--linear);
  font-size: 17px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* cloth grain */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.09;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.95 0 0 0 0 0.93 0 0 0 0 0.88 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
}
main, header, footer { position: relative; z-index: 1; }

::selection { background: var(--gold); color: var(--on-primary); }
:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 3px; border-radius: 6px; }
html { scrollbar-color: var(--cloth-lit) var(--cloth-deep); }
::-webkit-scrollbar { width: 12px; height: 10px; }
::-webkit-scrollbar-track { background: var(--cloth-deep); }
::-webkit-scrollbar-thumb { background: var(--cloth-lit); border-radius: 10px; border: 3px solid var(--cloth-deep); }

a { color: var(--gold-hi); text-decoration-thickness: 1px; text-underline-offset: 0.22em; }
a:hover { color: var(--ink); }
code, pre, kbd { font-family: "Maple Mono", ui-monospace, monospace; font-variation-settings: normal; font-weight: 400; }
p code, li code, summary code { font-size: 0.88em; color: var(--gold-hi); background: rgba(18, 22, 20, 0.55); padding: 0.1em 0.35em; border-radius: 5px; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--gold); color: var(--on-primary); padding: 10px 14px; border-radius: 10px; font-weight: 650; }
.skip:focus { top: 12px; }

/* ---- ledger page: a gutter, a double margin rule, entries hung in the margin */
.wrap {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.wrap::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  left: calc(var(--gutter) + var(--margin) - 22px);
  width: 4px;
  border-left: 1px solid var(--rule-gold);
  border-right: 1px solid var(--rule-gold);
  pointer-events: none;
}
.wrap::before { display: none; }

/* ---- header */
.top { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--cloth) 88%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--rule); }
.top__in { display: flex; align-items: center; justify-content: space-between; height: 64px; padding-left: var(--gutter); }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; }
.brand__badge { width: 34px; height: 34px; border-radius: 50%; background: var(--icon-bg); box-shadow: inset 0 0 0 1px rgba(244, 238, 226, 0.14); display: grid; place-items: center; overflow: hidden; }
.brand__badge svg { width: 30px; height: 30px; margin-top: 6px; }
.brand__name { font-variation-settings: var(--casual); font-weight: 800; font-size: 20px; letter-spacing: -0.01em; }
.top__nav { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 30px); font-size: 15px; }
.top__nav a { color: var(--ink-2); text-decoration: none; }
.top__nav a:hover { color: var(--ink); }
.top__gh { display: inline-flex; align-items: center; gap: 8px; }
.top__gh svg { width: 18px; height: 18px; }
@media (max-width: 760px) {
  .top__nav a:not(.top__gh) { display: none; }
}

/* ---- hero */
.hero { padding: clamp(28px, 3vw, 44px) 0 clamp(56px, 8vw, 110px); }
.hero__in { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.hero__copy { max-width: 640px; }
.hero__title {
  font-variation-settings: var(--casual);
  font-weight: 850;
  font-size: clamp(2.9rem, 6.1vw, 5.6rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
}
.hero__herdr { color: var(--gold); }
.hero__lede { margin-top: 26px; font-size: clamp(1.06rem, 1.35vw, 1.22rem); line-height: 1.6; color: var(--ink-2); max-width: 34em; }

.hero__lede a { color: var(--ink); text-decoration-color: var(--gold); }
.hero__lede a:hover { color: var(--gold-hi); }
.hero__lede .omarchy-mark { color: var(--ink-2); text-decoration: none; white-space: nowrap; }
.hero__lede .omarchy-mark:hover { color: var(--gold-hi); }
.omarchy-logo { height: 0.95em; width: 0.95em; vertical-align: -0.12em; }

/* tally: the herd counted in strokes, mirrored from the phone */
.tally { display: flex; flex-wrap: wrap; gap: 6px 26px; margin-top: 28px; padding: 12px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.tally__item { display: inline-flex; align-items: center; gap: 10px; font-variation-settings: var(--casual); font-size: 15px; color: var(--ink-3); transition: color 0.4s; }
.tally__item.is-live { color: var(--ink); }
.tally__marks { width: 40px; height: 24px; overflow: visible; }
.tally__marks line { stroke-width: 2.4; stroke-linecap: round; }
.tally__marks .new { stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw 0.5s var(--ease-out) forwards; }
.tally__marks .zero { stroke: var(--ink-3); opacity: 0.5; stroke-dasharray: 2 4; }
[data-tally="blocked"] line { stroke: var(--blocked); }
[data-tally="done"] line { stroke: var(--done); }
[data-tally="working"] line { stroke: var(--working); }
@keyframes draw { to { stroke-dashoffset: 0; } }

.get { margin-top: 30px; display: grid; gap: 16px; }
.get__row { display: grid; gap: 8px; }
.get__where { font-size: 14px; color: var(--ink-3); font-variation-settings: var(--casual); }
.get__actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  height: 50px; padding: 0 22px;
  border-radius: 16px;
  font: inherit; font-size: 16px; font-weight: 650;
  text-decoration: none; white-space: nowrap;
}
.btn svg { width: 20px; height: 20px; }
.btn--gold { background: var(--gold); color: var(--on-primary); box-shadow: 0 10px 22px -12px rgba(0, 0, 0, 0.6), inset 0 -2px 0 rgba(0, 0, 0, 0.12); transition: background 0.2s, transform 0.2s var(--ease-out); }
.btn--gold:hover { background: var(--gold-hi); color: var(--on-primary); transform: translateY(-1px); }
.btn--gold:active { transform: translateY(1px); }
.btn--soon { color: var(--ink-3); border: 1px dashed rgba(244, 238, 226, 0.28); cursor: default; font-weight: 500; }
.btn--soon { position: relative; }
.g-play { display: inline-flex; align-items: baseline; gap: 0.32em; }
.btn .g-logo { width: auto; height: 0.74em; flex: none; align-self: baseline; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* a paper sticker slapped on the corner, one corner peeling */
.sticker {
  position: absolute; top: -21px; right: -20px; z-index: 2;
  max-width: 104px; padding: 4px 9px 5px; border-radius: 3px;
  background: linear-gradient(315deg, transparent 6.4px, #f3e4bb 6.4px);
  color: #3a2810; font-variation-settings: var(--casual); font-weight: 750; font-size: 12px; line-height: 1.15; letter-spacing: 0; white-space: normal; text-align: center;
  transform: rotate(8deg); filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.4));
  pointer-events: none;
}
.sticker::after { content: ""; position: absolute; right: 0; bottom: 0; width: 9px; height: 9px; background: linear-gradient(315deg, transparent 50%, #c8ad6e 50%); border-radius: 0 0 2px 0; }
@media (max-width: 640px) { .sticker { right: -8px; } }
.btn--soon em { font-style: normal; font-size: 13px; opacity: 0.85; margin-left: -2px; }

.cmd { display: flex; align-items: center; min-width: 0; background: var(--app-bg); border: 1px solid rgba(244, 238, 226, 0.08); border-radius: 14px; padding-left: 16px; }
.cmd + .cmd { margin-top: 10px; }
.cmd code { flex: 1; min-width: 0; overflow-x: auto; white-space: nowrap; font-size: 14px; padding: 14px 0; color: var(--ink); scrollbar-width: none; }
.cmd code::-webkit-scrollbar { display: none; }
.cmd__p { color: var(--gold); margin-right: 6px; user-select: none; }
.cmd__copy { flex: none; width: 48px; height: 48px; display: grid; place-items: center; border: 0; background: none; color: var(--ink-3); cursor: pointer; border-radius: 12px; }
.cmd__copy svg { width: 19px; height: 19px; }
.cmd__copy:hover { color: var(--ink); }
.cmd__copy.is-done { color: var(--done); }

.req { margin-top: 18px; font-size: 15px; color: var(--ink-3); }
.req a { color: var(--ink-2); }
.req a:hover { color: var(--gold-hi); }
.req--lede { font-size: 1.1rem; color: var(--ink-2); }
.req--lede a { color: var(--gold-hi); }

.omarchy { margin-top: 12px; display: flex; align-items: baseline; gap: 12px; font-size: 15px; color: var(--ink-3); }
.omarchy a { color: var(--ink-2); }
.omarchy a:hover { color: var(--gold-hi); }
/* gold-foil stamp, pressed into the cloth */
.stamp { display: inline-block; flex: none; padding: 2px 9px 3px; border: 1.5px solid var(--gold); border-radius: 6px; color: var(--gold); font-variation-settings: var(--casual); font-weight: 750; font-size: 13px; line-height: 1.4; letter-spacing: 0.01em; transform: rotate(-2deg); white-space: nowrap; }
.path h3 .stamp { vertical-align: 4px; margin-left: 8px; }
@media (max-width: 640px) { .omarchy { flex-direction: column; gap: 6px; } }

.hero__stage { position: relative; display: flex; justify-content: flex-end; }

/* herdr, the thing the phone drives, running in a terminal behind it */
.tw {
  --t-bg: #0f1211; --t-side: #131716; --t-line: #262c2a; --t-text: #d3d7d2; --t-muted: #7f8984; --t-dim: #5d6662;
  --t-accent: #7aa2f7; --t-red: #f7768e; --t-yellow: #e0af68; --t-green: #9ece6a;
  /* measured from the sketch: terminal 1000 x 680, sidebar 24%, spaces box 57% of the height */
  position: absolute; top: 0; left: 0; width: 100%; aspect-ratio: 1000 / 680;
  container-type: inline-size;
  display: grid; grid-template-columns: 24% minmax(0, 1fr);
  background: var(--t-bg); color: var(--t-text);
  border: 1px solid rgba(244, 238, 226, 0.16); border-radius: 12px; overflow: hidden;
  box-shadow: 0 30px 60px -28px rgba(0, 0, 0, 0.7);
  font-family: "Maple Mono", ui-monospace, monospace; font-variation-settings: normal;
  user-select: none;
}
.tw__side, .tw__main { font-size: clamp(9px, 1.55cqw, 12px); line-height: 1.36; }
.tw b { font-weight: 400; }
.tw__side { display: grid; grid-template-rows: 57% minmax(0, 1fr); gap: 1.2cqw; padding: 1cqw 0 1cqw 1cqw; min-width: 0; min-height: 0; }
.tw__box { background: var(--t-side); border: 1px solid var(--t-line); border-radius: 1.4cqw; overflow: hidden; min-height: 0; }
.tw__h { padding: 0.8em 1.2em 0.5em; color: var(--t-muted); }
.tw__space, .tw__agent { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0.7em; padding: 0.2em 1.2em; min-width: 0; }
.tw__space.is-on, .tw__agent.is-on { background: #1b211f; }
.tw__space b, .tw__agent b { display: block; color: var(--t-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tw__space small, .tw__agent small { display: block; font-size: 1em; color: var(--t-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tw__space.is-on small { color: var(--t-accent); }
.tw__dot { width: 0.5em; height: 0.5em; margin-top: 0.45em; border-radius: 50%; background: var(--t-dim); }
.tw [data-s="working"] .tw__dot { background: var(--t-yellow); }
.tw [data-s="blocked"] .tw__dot { background: var(--t-red); }
.tw [data-s="done"] .tw__dot { background: var(--t-green); }
.tw__agent > i { font-style: normal; color: var(--t-dim); }
.tw__agent[data-s="working"] > i, .tw__agent[data-s="working"] small { color: var(--t-yellow); }
.tw__agent[data-s="blocked"] > i, .tw__agent[data-s="blocked"] small { color: var(--t-red); }
.tw__agent[data-s="done"] > i, .tw__agent[data-s="done"] small { color: var(--t-green); }
.tw__agent.flash { animation: twflash 0.9s ease-out; }
@keyframes twflash { from { background: rgba(244, 238, 226, 0.14); } }
.tw__main { display: flex; flex-direction: column; min-width: 0; min-height: 0; padding: 1cqw 1cqw 1cqw 0.6cqw; }
.tw__tabs { display: flex; gap: 0.4cqw; height: 4.1cqw; flex: none; padding: 0.35cqw; background: var(--t-side); color: var(--t-muted); border: 1px solid var(--t-line); border-radius: 1.2cqw; }
.tw__tabs span { display: grid; place-items: center; width: 10.3cqw; border: 1px solid var(--t-line); border-radius: 0.8cqw; }
.tw__tabs span.is-on { width: 11.4cqw; background: #1d3a5c; border-color: var(--t-accent); color: #dbe6ff; }
.tw__pane { flex: 1; min-height: 0; display: flex; flex-direction: column; padding: 1.2cqw 1cqw 0.4cqw calc(46.5cqw - 24cqw - 1.6cqw); }
/* the visible part above the phone: newest lines push the old ones up */
.tw__log { flex: 1; min-height: 0; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-start; }
.tw__log .a { color: var(--t-text); }
.tw__log .a::before { content: "\25CF  "; color: var(--t-text); }
.tw__log > div { white-space: pre; overflow: hidden; text-overflow: ellipsis; }
.tw__log .u { color: var(--t-text); }
.tw__log .u::before { content: "> "; color: var(--t-muted); }
.tw__log .t::before { content: "\25CF  "; color: var(--t-green); }
.tw__log .t em { font-style: normal; color: var(--t-text); }
.tw__log .o { color: var(--t-muted); }
.tw__log .sp { color: #d98a6a; }
.tw__log .sp span { color: var(--t-dim); }
.tw__log .q { color: var(--t-text); }
.tw__log .qd { color: var(--t-muted); }
.tw__log .qo { color: var(--t-muted); }
.tw__log .qo.is-on { color: var(--t-accent); }
.tw__log .box { color: var(--t-yellow); }
.tw__input { margin-top: auto; color: var(--t-muted); }
.tw__rule { height: 1px; background: var(--t-line); margin: 0.4em 0; }
.tw__input b { color: var(--t-text); }
.tw__cursor { display: inline-block; width: 0.6em; height: 1.1em; vertical-align: -2px; background: var(--t-text); animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.tw__status { color: var(--t-dim); }
.tw__status span { color: var(--t-yellow); }
.tw__log .typing::after { content: ""; display: inline-block; width: 0.6em; height: 1.1em; margin-left: 1px; vertical-align: -2px; background: var(--t-text); }

/* terminal is the back layer, the phone sits high and left on it (sketch: phone 11.7%..44.2% wide,
   top 11% of the terminal height, bottom sticking out below). The stage is the terminal plus that overhang. */
@media (min-width: 1081px) {
  .hero__in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .hero__stage {
    --extra: 16px;
    display: block; width: calc(100% + var(--extra)); aspect-ratio: 1000 / 757;
  }
  .hero__stage .phone { position: absolute; left: 11.7%; top: 9.9%; }
}
@media (min-width: 1280px) {
  .hero__stage { --extra: clamp(32px, calc((100vw - 1280px) / 2 + 32px), 300px); }
}
@media (max-width: 1080px) { .tw { display: none; } }

/* ---- phone */
.phone { position: relative; z-index: 1; }
.phone__body {
  zoom: var(--pz, 0.72);
  width: 404px; padding: 12px; border-radius: 54px;
  background: linear-gradient(160deg, #2b302e, #0d0f0e 40%, #1c201e);
  box-shadow: 0 50px 90px -30px rgba(0, 0, 0, 0.75), 0 18px 40px -20px rgba(0, 0, 0, 0.6), inset 0 0 0 1.5px rgba(255, 255, 255, 0.07);
}

.screen {
  position: relative; width: 380px; height: 824px; overflow: hidden; border-radius: 42px;
  background: var(--app-bg); color: var(--ink);
  font-family: "Roboto", system-ui, sans-serif; font-variation-settings: normal;
  font-size: 14px; line-height: 20px; letter-spacing: 0.25px;
  user-select: none;
}
.screen svg { display: block; }
.screen::before { content: ""; position: absolute; top: 12px; left: 50%; width: 11px; height: 11px; margin-left: -5.5px; border-radius: 50%; background: #050605; z-index: 40; box-shadow: inset 0 0 0 2px #151817; }

.sb { position: absolute; top: 0; left: 0; right: 0; height: 34px; padding: 6px 26px 0; display: flex; justify-content: space-between; align-items: center; font-weight: 500; font-size: 14px; z-index: 30; }
.sb__icons { display: flex; align-items: center; gap: 6px; }
.sb__notif { width: 14px; height: 14px; color: var(--ink); opacity: 0; transition: opacity 0.3s; }
.sb__notif svg { width: 14px; height: 14px; }
.screen.has-notif .sb__notif { opacity: 1; }
.sb__wifi { width: 15px; height: 12px; background: var(--ink); clip-path: polygon(50% 100%, 0 25%, 15% 10%, 50% 0, 85% 10%, 100% 25%); }
.sb__bat { width: 22px; height: 11px; border-radius: 3px; border: 1.5px solid var(--ink); position: relative; }
.sb__bat::after { content: ""; position: absolute; inset: 1.5px 5px 1.5px 1.5px; background: var(--ink); border-radius: 1px; }

.view { position: absolute; inset: 34px 0 0; display: flex; flex-direction: column; background: var(--app-bg); }

/* top app bar */
.tab { height: 64px; flex: none; display: flex; align-items: center; padding: 0 4px 0 16px; }
.logo { width: 30px; height: 30px; border-radius: 50%; background: var(--icon-bg); overflow: hidden; display: grid; place-items: center; margin-right: 12px; flex: none; }
.logo svg { width: 28px; height: 28px; margin-top: 7px; }
.tab__title { font-size: 22px; line-height: 28px; letter-spacing: 0; flex: 1; }
.tab__acts { display: flex; align-items: center; }
.ib { width: 48px; height: 48px; display: grid; place-items: center; color: var(--ink); flex: none; }
.ib svg { width: 24px; height: 24px; }
.ib--gold { color: var(--gold); }
.ib--sm { width: 44px; height: 44px; color: var(--app-muted); }
.avatar { width: 32px; height: 32px; margin: 0 8px 0 4px; border-radius: 50%; background: #8a5220; color: var(--ink); display: grid; place-items: center; font-style: normal; font-weight: 500; font-size: 15px; }

.chips { display: flex; gap: 8px; padding: 6px 14px; flex: none; }
.pill { border-radius: 999px; background: var(--app-high); padding: 9px 16px; font-size: 14px; font-weight: 500; letter-spacing: 0.1px; white-space: nowrap; transition: background 0.3s; }
.pill--on { background: var(--cloth-lit); }

.list { flex: 1; min-height: 0; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: 92px; overflow: hidden; }
.ws { display: flex; align-items: center; padding: 14px 22px 2px; white-space: nowrap; }
.ws__label { color: var(--gold); font-size: 14px; font-weight: 500; letter-spacing: 0.1px; }
.ws__meta { font-size: 12px; font-weight: 500; letter-spacing: 0.5px; color: var(--app-muted); margin-left: 8px; transition: color 0.4s; }
.ws__meta.is-att { color: var(--blocked); }

.card {
  --sc: var(--idle);
  margin: 5px 14px; border-radius: 20px; background: var(--app-c);
  display: flex; align-items: center; padding: 14px 18px 14px 14px;
  transition: background-color 0.5s ease;
  will-change: transform;
}
.card[data-status="working"] { --sc: var(--working); }
.card[data-status="done"] { --sc: var(--done); }
.card[data-status="blocked"] { --sc: var(--blocked); }
.card.is-att { background: color-mix(in srgb, var(--sc) 9%, var(--app-c)); }
.card__t { margin-left: 12px; flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.card__row { display: flex; align-items: center; gap: 6px; }
.card__title { flex: 1; min-width: 0; font-size: 16px; line-height: 24px; letter-spacing: 0.15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card.is-att .card__title { font-weight: 600; }
.card__sub { font-size: 12px; line-height: 16px; letter-spacing: 0.4px; color: var(--app-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color 0.4s; }
.card.is-att .card__sub { color: var(--sc); }
.card__note { font-size: 12px; line-height: 16px; letter-spacing: 0.4px; color: var(--sable); }
.prio { font-size: 11px; line-height: 16px; font-weight: 500; letter-spacing: 0.5px; padding: 2px 8px; border-radius: 8px; background: rgba(111, 122, 116, 0.18); color: var(--app-muted); }
.prio--high { background: rgba(217, 150, 62, 0.18); color: var(--gold); }

/* KindBadge: the agent's logo on a tile in its status color, pulsing while it works */
.kb { --sc: var(--idle); --s: 40px; width: var(--s); height: var(--s); flex: none; border-radius: calc(var(--s) * 0.3); background: color-mix(in srgb, var(--sc) 14%, transparent); display: grid; place-items: center; color: var(--sc); transition: background-color 0.5s, color 0.5s; }
.kb--36 { --s: 36px; margin-right: 10px; }
.kb svg { width: calc(var(--s) * 0.55); height: calc(var(--s) * 0.55); }
.kb[data-status="working"], .card[data-status="working"] .kb { --sc: var(--working); }
.kb[data-status="done"], .card[data-status="done"] .kb { --sc: var(--done); }
.kb[data-status="blocked"], .card[data-status="blocked"] .kb { --sc: var(--blocked); }
.kb[data-status="working"] svg, .card[data-status="working"] .kb svg { animation: pulse 0.9s ease-in-out infinite alternate; }
@keyframes pulse { from { opacity: 1; } to { opacity: 0.45; } }

.dot { --sc: var(--idle); width: 7px; height: 7px; border-radius: 50%; background: var(--sc); display: inline-block; flex: none; }
.dot[data-status="working"] { --sc: var(--working); animation: pulse 0.9s ease-in-out infinite alternate; }
.dot[data-status="done"] { --sc: var(--done); }
.dot[data-status="blocked"] { --sc: var(--blocked); }

.fab { position: absolute; right: 16px; bottom: 96px; width: 56px; height: 56px; border-radius: 20px; background: var(--gold); color: var(--on-primary); display: grid; place-items: center; box-shadow: 0 6px 14px -4px rgba(0, 0, 0, 0.5); }
.fab svg { width: 24px; height: 24px; }

.navbar { position: absolute; left: 0; right: 0; bottom: 0; height: 80px; padding-bottom: 8px; background: var(--app-low); display: flex; }
.nb { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; font-size: 12px; line-height: 16px; font-weight: 500; letter-spacing: 0.5px; color: var(--app-muted); }
.nb i { width: 64px; height: 32px; border-radius: 16px; display: grid; place-items: center; }
.nb svg { width: 24px; height: 24px; }
.nb--on { color: var(--ink); }
.nb--on i { background: var(--sheepdog-surface); }
.gesture { position: absolute; left: 50%; bottom: 7px; width: 108px; height: 4px; margin-left: -54px; border-radius: 2px; background: rgba(244, 238, 226, 0.55); z-index: 30; }

/* heads-up notification */
.hu {
  position: absolute; z-index: 25; top: 40px; left: 8px; right: 8px;
  background: #262c2a; border-radius: 26px; padding: 14px 18px 12px;
  box-shadow: 0 14px 30px -10px rgba(0, 0, 0, 0.7);
  transform: translateY(-140%); opacity: 0;
  transition: transform 0.55s var(--ease-out), opacity 0.35s;
}
.hu.is-in { transform: none; opacity: 1; }
.hu__head { display: flex; align-items: center; gap: 6px; font-size: 12px; line-height: 16px; color: var(--app-muted); }
.hu__icon { width: 20px; height: 20px; border-radius: 50%; background: var(--sable); display: grid; place-items: center; color: #fff; }
.hu__icon svg { width: 14px; height: 14px; }
.hu.is-blocked .hu__icon, .hu__icon--red { background: var(--blocked); }
.hu__app { color: var(--ink); }
.hu__title { margin-top: 8px; font-size: 15px; line-height: 20px; font-weight: 500; letter-spacing: 0.1px; color: var(--ink); }
.hu__text { font-size: 14px; line-height: 20px; color: var(--app-muted); }
.hu__actions { display: flex; gap: 22px; margin-top: 10px; font-size: 14px; font-weight: 500; color: var(--gold-hi); }
.hu.is-blocked .hu__actions, .notif--blocked .hu__actions { color: #f08a78; }

/* agent screen */
.view--agent { transform: translateX(100%); transition: transform 0.5s var(--ease-out); z-index: 10; box-shadow: -20px 0 40px rgba(0, 0, 0, 0.45); }
.screen.is-agent .view--agent { transform: none; }
.view--home { transition: transform 0.5s var(--ease-out), filter 0.5s; }
.screen.is-agent .view--home { transform: translateX(-22%); filter: brightness(0.6); }
.tab--agent { padding: 0 4px 0 4px; }
.tab__two { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.tab__name { font-size: 16px; line-height: 24px; font-weight: 500; letter-spacing: 0.15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tab__sub { display: flex; align-items: center; gap: 8px; font-size: 12px; line-height: 16px; font-weight: 500; letter-spacing: 0.3px; color: var(--app-muted); white-space: nowrap; }
.convo { flex: 1; min-height: 0; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; gap: 14px; padding: 16px 18px; }
.msg-user { align-self: flex-end; max-width: 300px; background: var(--sheepdog-surface); border-radius: 20px; padding: 10px 16px; font-size: 16px; line-height: 24px; letter-spacing: 0.5px; }
.msg-ai { font-size: 16px; line-height: 25px; letter-spacing: 0.2px; }
.msg-ai code { font-family: "Maple Mono", ui-monospace, monospace; font-variation-settings: normal; font-size: 14.5px; color: #e8b66a; background: #1e2622; padding: 1px 4px; border-radius: 4px; }
.tool { font-size: 13.5px; line-height: 19px; color: var(--app-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tool b { font-weight: 600; color: rgba(244, 238, 226, 0.8); }
.tool::before { content: ""; display: inline-block; width: 9px; height: 9px; margin: 0 7px 1px 1px; border-radius: 50%; background: rgba(109, 181, 122, 0.8); vertical-align: middle; }
.working { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.working svg { width: 18px; height: 18px; color: var(--gold); animation: pulse 0.8s ease-in-out infinite alternate; }
.working span { background: linear-gradient(90deg, var(--app-muted) 0%, var(--app-muted) 35%, #ccd1cc 50%, var(--app-muted) 65%, var(--app-muted) 100%); background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 2.4s linear infinite; }
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: -50% 0; } }
.enter { animation: rise 0.45s var(--ease-out) both; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } }

.dock:empty { display: none; }
.pc { margin: 8px 10px 0; border-radius: 24px; background: var(--app-c); padding: 16px 18px; animation: rise 0.5s var(--ease-out) both; }
.pc__tag { display: flex; align-items: center; gap: 8px; font-size: 12px; line-height: 16px; font-weight: 500; letter-spacing: 0.5px; color: var(--app-muted); }
.pc__title { margin-top: 10px; font-size: 17px; line-height: 25px; letter-spacing: 0; }
.pc__code { margin-top: 10px; background: var(--app-low); border-radius: 12px; padding: 12px; font-family: "Maple Mono", ui-monospace, monospace; font-size: 12.5px; line-height: 18px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pc__opts { margin-top: 10px; }
.opt { display: flex; align-items: flex-start; gap: 12px; padding: 10px 6px; margin: 4px 0; border-radius: 12px; border: 1px solid transparent; font-size: 15.5px; line-height: 21px; transition: border-color 0.25s; }
.opt i { width: 24px; height: 24px; margin-top: 1px; flex: none; border-radius: 6px; background: var(--app-highest); color: var(--app-muted); display: grid; place-items: center; font-style: normal; font-size: 12px; font-weight: 500; transition: background 0.25s, color 0.25s; }
.opt.is-on { border-color: rgba(217, 150, 62, 0.7); }
.opt.is-on i { background: var(--gold); color: var(--on-primary); }
.opt + .opt { box-shadow: 0 -0.5px 0 var(--app-outline-v); }
.pc__other { padding: 12px 6px; font-size: 15.5px; box-shadow: 0 -0.5px 0 var(--app-outline-v); }
.pc__bar { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; }
.skipb { background: var(--app-highest); border-radius: 999px; padding: 9px 18px; font-size: 14px; font-weight: 500; }
.sendb { height: 40px; padding: 0 24px; border-radius: 999px; display: grid; place-items: center; font-size: 14px; font-weight: 500; background: rgba(244, 238, 226, 0.12); color: rgba(244, 238, 226, 0.38); transition: background 0.25s, color 0.25s; }
.sendb.is-on { background: var(--gold); color: var(--on-primary); }
.pc__sent { display: flex; align-items: center; gap: 10px; margin-top: 14px; color: var(--app-muted); }
.spin { width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--gold); border-right-color: transparent; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(1turn); } }

.composer { flex: none; padding: 8px 12px 30px; }
.ctx { display: flex; align-items: center; gap: 8px; padding: 0 14px 6px; }
.ctx__bar { position: relative; flex: 1; height: 3px; border-radius: 2px; background: var(--app-highest); }
.ctx__bar i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 2px; background: var(--done); }
.ctx__bar b { position: absolute; left: 40%; top: -2px; bottom: -2px; width: 1px; background: rgba(169, 177, 171, 0.6); }
.ctx__txt { font-size: 11px; line-height: 16px; font-weight: 500; letter-spacing: 0.5px; color: var(--app-muted); }
.comp { display: flex; align-items: center; padding: 6px; border-radius: 26px; background: var(--app-c); }
.comp__ph { flex: 1; min-width: 0; padding: 0 4px; font-size: 16px; color: var(--app-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.comp__ph.is-typing { color: var(--ink); direction: rtl; text-align: left; }
.msg-user.is-pending { opacity: 0.6; }
.send { width: 40px; height: 40px; margin: 4px; border-radius: 50%; background: var(--app-highest); color: var(--app-muted); display: grid; place-items: center; flex: none; transition: background 0.3s, color 0.3s; }
.send svg { width: 22px; height: 22px; }
.send.is-stop { background: var(--ink); color: var(--app-bg); }
.send.is-stop svg { width: 20px; height: 20px; }

.tap { position: absolute; z-index: 35; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; background: rgba(244, 238, 226, 0.28); opacity: 0; pointer-events: none; }
.tap.is-on { animation: tap 0.6s ease-out; }
@keyframes tap { 0% { opacity: 0.9; transform: scale(0.4); } 100% { opacity: 0; transform: scale(1.5); } }

/* ---- sections */
.sec { padding: clamp(72px, 9vw, 128px) 0; }
.sec__title { font-variation-settings: var(--casual); font-weight: 800; font-size: clamp(2.1rem, 4.2vw, 3.4rem); line-height: 1.04; letter-spacing: -0.03em; max-width: 18em; }
.sec__lede { margin-top: 16px; font-size: 1.1rem; color: var(--ink-2); max-width: 40em; }

.how { background: var(--cloth-deep); }
.steps { list-style: none; margin: clamp(36px, 5vw, 60px) 0 0; padding: 0; }
.step { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 20px clamp(28px, 5vw, 72px); align-items: center; padding: 34px 0 34px var(--margin); border-top: 1px solid var(--rule); }
.step:last-child { border-bottom: 1px solid var(--rule); }
.step--zero { display: block; padding: 22px 0 22px var(--margin); }
.step--zero .step__n { top: 16px; font-size: 2.2rem; color: var(--ink-3); }
.step--zero p { margin: 0; color: var(--ink-2); max-width: 46em; }
.step--zero .omarchy { margin-top: 12px; }
.step--zero b { color: var(--ink); font-weight: 650; }
.step__n { position: absolute; left: 0; top: 26px; width: 44px; text-align: center; font-variation-settings: var(--casual); font-weight: 850; font-size: 3.1rem; line-height: 1; color: var(--gold); }
.step h3 { font-variation-settings: var(--casual); font-weight: 750; font-size: 1.5rem; letter-spacing: -0.015em; }
.step p { margin-top: 10px; color: var(--ink-2); max-width: 36em; }

.term { margin: 0; background: var(--app-bg); border: 1px solid rgba(244, 238, 226, 0.07); border-radius: 18px; padding: 18px 20px; font-size: 14px; line-height: 1.75; overflow-x: auto; white-space: pre; }
.term__c { color: var(--ink); }
.term__o { color: var(--ink-3); }
.term--tight { flex: 1; min-width: 0; }
.pair { display: flex; align-items: center; gap: 18px; }
.qr { width: 132px; height: 132px; flex: none; background: var(--ink); border-radius: 14px; padding: 9px; color: var(--app-bg); }
.qr rect { fill: currentColor; }
.mini { display: grid; gap: 8px; max-width: 420px; font-family: "Roboto", system-ui, sans-serif; font-variation-settings: normal; }
.mcard { display: flex; align-items: center; gap: 12px; background: var(--app-c); border-radius: 20px; padding: 12px 16px 12px 12px; }
.mcard--att[data-status="done"] { background: color-mix(in srgb, var(--done) 9%, var(--app-c)); }
.mcard--att[data-status="blocked"] { background: color-mix(in srgb, var(--blocked) 9%, var(--app-c)); }
.mcard__t { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.mcard__t b { font-weight: 400; font-size: 15.5px; line-height: 22px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mcard--att .mcard__t b { font-weight: 600; }
.mcard__t small { font-size: 12px; letter-spacing: 0.4px; color: var(--app-muted); }
.c-done { color: var(--done) !important; }
.c-blocked { color: var(--blocked) !important; }

/* features */
.spec { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 72px); align-items: center; margin-top: clamp(40px, 5vw, 64px); }
.spec h3 { font-variation-settings: var(--casual); font-weight: 800; font-size: clamp(1.6rem, 2.6vw, 2.2rem); line-height: 1.1; letter-spacing: -0.02em; }
.spec p { margin-top: 14px; color: var(--ink-2); font-size: 1.06rem; }
.spec__art { display: grid; gap: 14px; font-family: "Roboto", system-ui, sans-serif; font-variation-settings: normal; padding: clamp(18px, 3vw, 34px); background: var(--app-bg); border-radius: 30px; }
.notif { background: #262c2a; border-radius: 24px; padding: 14px 18px; }
.notif:nth-child(2) { margin-left: clamp(0px, 4vw, 44px); }
.notif .hu__actions { color: #f08a78; }
.notif__reply { margin-top: 12px; display: flex; align-items: center; gap: 10px; background: #1b201e; border-radius: 22px; padding: 4px 4px 4px 16px; font-size: 14px; color: var(--ink); }
.notif__reply span { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.notif__reply .send { margin: 0; width: 36px; height: 36px; }
.send--on { background: var(--gold); color: var(--on-primary); }

.register { list-style: none; margin: clamp(48px, 6vw, 80px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(28px, 5vw, 72px); }
.register li { position: relative; padding: 24px 0 26px 40px; border-top: 1px solid var(--rule); }
.register h3 { font-variation-settings: var(--casual); font-weight: 700; font-size: 1.22rem; letter-spacing: -0.01em; }
.register p { margin-top: 6px; color: var(--ink-2); font-size: 1rem; }
.mark { position: absolute; top: 26px; width: 22px; height: 22px; background: no-repeat center / contain; }
.register li .mark { left: 0; }
.mark--blocked { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M4 4.5 18 17.5M17.5 4 4.5 18' stroke='%23e5634f' stroke-width='2.6' stroke-linecap='round' fill='none'/%3E%3C/svg%3E"); }
.mark--done { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M3.5 12 9 17.5 19 4.5' stroke='%236db57a' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E"); }
.mark--working { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M17.6 7.2A7.5 7.5 0 1 0 18.4 13' stroke='%23e0a23b' stroke-width='2.6' stroke-linecap='round' fill='none'/%3E%3C/svg%3E"); }
.mark--idle { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M4 11.5h14' stroke='%2393a89e' stroke-width='2.6' stroke-linecap='round' fill='none'/%3E%3C/svg%3E"); }

.compat { margin-top: clamp(48px, 6vw, 80px); padding-top: 28px; border-top: 1px solid var(--rule-gold); }
.compat h3 { font-variation-settings: var(--casual); font-weight: 800; font-size: clamp(1.5rem, 2.4vw, 2rem); letter-spacing: -0.02em; }
.compat__cols { margin-top: 22px; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px clamp(28px, 5vw, 72px); }
.compat__head { font-size: 14px; color: var(--ink-3); font-variation-settings: var(--casual); margin-bottom: 10px; }
.compat__names { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.compat__names li { padding: 8px 16px; border: 1.5px solid rgba(244, 238, 226, 0.5); border-radius: 12px; font-variation-settings: var(--casual); font-weight: 700; font-size: 1.12rem; }
.compat__names small { font-family: "Maple Mono", ui-monospace, monospace; font-weight: 400; font-size: 13px; color: var(--ink-3); margin-left: 6px; }
.compat__col > p:not(.compat__head) { color: var(--ink-2); }
@media (max-width: 900px) { .compat__cols { grid-template-columns: minmax(0, 1fr); } }

/* install */
.install { background: var(--cloth-deep); }
.paths { margin-top: clamp(36px, 5vw, 56px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.path { padding: 30px clamp(18px, 2.4vw, 32px) 34px; min-width: 0; }
.path:first-child { padding-left: 0; }
.path + .path { border-left: 1px solid var(--rule); }
.path h3 { font-variation-settings: var(--casual); font-weight: 750; font-size: 1.45rem; letter-spacing: -0.015em; }
.path p { margin: 10px 0 18px; color: var(--ink-2); }
.path--phone .get__actions { flex-direction: column; align-items: flex-start; }
.link { font-weight: 600; }

/* privacy: the drenched page */
.privacy { background: var(--cloth-lit); }
.privacy .wrap::before { border-color: rgba(244, 238, 226, 0.22); }
.route { list-style: none; margin: clamp(36px, 5vw, 56px) 0 0; padding: 0; display: flex; align-items: stretch; }
.route li { display: flex; flex-direction: column; justify-content: center; }
.route li:not(.route__wire) { padding: 16px 20px; border: 1.5px solid rgba(244, 238, 226, 0.7); border-radius: 16px; background: rgba(18, 22, 20, 0.22); }
.route b { font-variation-settings: var(--casual); font-weight: 750; font-size: 1.15rem; }
.route small { font-size: 13px; color: var(--ink); }
.route__wire { flex: 1; min-width: 70px; position: relative; text-align: center; padding: 0 10px; }
.route__wire::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 2px dashed var(--gold-hi); }
.route__wire span, .route__wire small { position: relative; display: block; }
.route__wire span { transform: translateY(-14px); font-weight: 650; font-size: 14px; color: var(--gold-hi); }
.route__wire small { transform: translateY(12px); }
.vows { list-style: none; margin: clamp(40px, 5vw, 64px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(28px, 5vw, 72px); }
.vows li { padding: 22px 0 26px; border-top: 1px solid rgba(244, 238, 226, 0.24); }
.vows h3 { font-variation-settings: var(--casual); font-weight: 750; font-size: 1.25rem; }
.vows p { margin-top: 6px; color: var(--ink); }
.privacy p code { background: rgba(18, 22, 20, 0.35); }

/* faq */
.faq__in { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.faq .sec__title { position: sticky; top: 100px; }
.qa details { border-top: 1px solid var(--rule); }
.qa details:last-child { border-bottom: 1px solid var(--rule); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 20px 0; font-variation-settings: var(--casual); font-weight: 700; font-size: 1.2rem; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ""; flex: none; width: 14px; height: 14px; background: linear-gradient(var(--gold), var(--gold)) center / 14px 2px no-repeat, linear-gradient(var(--gold), var(--gold)) center / 2px 14px no-repeat; transition: transform 0.3s var(--ease-out); }
.qa details[open] summary::after { transform: rotate(45deg); }
.qa summary:hover { color: var(--gold-hi); }
.qa details p { padding: 0 0 22px; color: var(--ink-2); max-width: 40em; }

/* footer */
.foot { background: var(--cloth-deep); border-top: 1px solid var(--rule); padding: clamp(64px, 8vw, 110px) 0 40px; }
.foot__in { padding-left: var(--gutter); }
.foot__close { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 26px; }
.foot__badge { width: 72px; height: 72px; border-radius: 50%; background: var(--icon-bg); box-shadow: inset 0 0 0 1px rgba(244, 238, 226, 0.14); overflow: hidden; display: grid; place-items: center; flex: none; }
.foot__badge svg { width: 66px; height: 66px; margin-top: 16px; }
.foot__line { font-variation-settings: var(--casual); font-weight: 850; font-size: clamp(1.9rem, 4vw, 3.2rem); letter-spacing: -0.03em; line-height: 1.05; flex: 1 1 380px; }
.foot__links { margin-top: 56px; display: flex; flex-wrap: wrap; gap: 10px 28px; padding-top: 22px; border-top: 1px solid var(--rule); }
.foot__links a { color: var(--ink-2); text-decoration: none; font-weight: 600; }
.foot__links a:hover { color: var(--gold-hi); }
.foot__fine { margin-top: 18px; font-size: 14px; color: var(--ink-3); }

/* ---- responsive */
@media (max-width: 1080px) {
  .hero__in { grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr); }
  .phone { --pz: 0.8; }
  .paths { grid-template-columns: 1fr 1fr; }
  .path--phone { grid-column: 1 / -1; border-left: 0 !important; border-top: 1px solid var(--rule); padding-left: 0; }
}
@media (max-width: 900px) {
  :root { --margin: 44px; }
  .hero__in { grid-template-columns: minmax(0, 1fr); }
  .hero__copy { max-width: none; }
  .hero__stage { margin-top: 18px; }
  .phone { --pz: 0.86; }
  .step, .spec { grid-template-columns: minmax(0, 1fr); }
  .step__n { font-size: 2.2rem; left: 0; width: 34px; top: 32px; }
  .register li .mark { left: 0; }
  .register, .vows { grid-template-columns: minmax(0, 1fr); }
  .faq__in { grid-template-columns: minmax(0, 1fr); }
  .faq .sec__title { position: static; }
  .route { flex-direction: column; align-items: flex-start; }
  .route__wire { min-height: 76px; text-align: left; padding: 0 0 0 26px; display: flex; flex-direction: column; justify-content: center; margin-left: 22px; }
  .route__wire::before { left: 0; right: auto; top: 0; bottom: 0; border-top: 0; border-left: 2px dashed var(--gold-hi); }
  .route__wire span, .route__wire small { transform: none; }
}
@media (max-width: 640px) {
  :root { --margin: 30px; }
  body { font-size: 16px; }
  .wrap::before { left: calc(var(--gutter) + var(--margin) - 16px); }
  .get__row { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .paths { grid-template-columns: minmax(0, 1fr); }
  .path, .path:first-child { padding-left: 0; padding-right: 0; }
  .path + .path { border-left: 0; border-top: 1px solid var(--rule); }
  .step__n { font-size: 1.6rem; width: 22px; left: 0; }
  .register li .mark { width: 16px; height: 16px; left: 0; top: 29px; }
  .register li { padding-left: 28px; }
  .pair { flex-direction: column; align-items: flex-start; }
  .phone { --pz: 0.78; }
  .tally { gap: 6px 18px; }
}
@media (max-width: 380px) {
  .phone { --pz: 0.72; }
  .btn { padding: 0 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}
@media (max-width: 900px) {
  .hero__stage { justify-content: center; }
}
