/* Advaya site. Tokens are the app's two tones (advaya-app spec 5.1): night for inward days, day for outward days,
   each the other's accent. Which one shows is decided by the Inward / Outward control in the hero, with :has(),
   so there is no script anywhere on the site. DESIGN.md explains the rules. */

@font-face {
  font-family: "Cormorant Garamond";
  src: url("/fonts/cormorant-garamond-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("/fonts/cormorant-garamond-500-italic.woff2") format("woff2");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Albert Sans";
  src: url("/fonts/albert-sans.woff2") format("woff2-variations"), url("/fonts/albert-sans.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Tiro Devanagari Sanskrit";
  src: url("/fonts/tiro-devanagari-sanskrit.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0900-097F, U+200C-200D, U+25CC;
}

/* Registered so the tones can fade when the day turns. Browsers without @property just switch. */
@property --ground { syntax: "<color>"; inherits: true; initial-value: #141A3C; }
@property --ink { syntax: "<color>"; inherits: true; initial-value: #EEF1F5; }
@property --soft { syntax: "<color>"; inherits: true; initial-value: #AEB6D6; }
@property --line { syntax: "<color>"; inherits: true; initial-value: #2E3768; }
@property --edge { syntax: "<color>"; inherits: true; initial-value: #535B8A; }
@property --ring { syntax: "<color>"; inherits: true; initial-value: #2E3768; }
@property --wipe { syntax: "<length>"; inherits: true; initial-value: calc(100vw + 34vh); }

:root {
  --night-ground: #141A3C;
  --night-ink: #EEF1F5;
  --night-soft: #AEB6D6;
  --night-line: #2E3768;
  --night-edge: #535B8A;
  --night-ring: #2E3768;
  --day-ground: #EEF1F5;
  --day-ink: #141A3C;
  --day-soft: #535B7A;
  --day-line: #D3D9E6;
  --day-edge: #AEB6D6;
  --day-ring: #C3CADB;
  --sit-ground: #0E1330;
  --sit-ring-far: #1E2550;
  --sit-ring-near: #252D60;

  --ground: var(--night-ground);
  --ink: var(--night-ink);
  --soft: var(--night-soft);
  --line: var(--night-line);
  --edge: var(--night-edge);
  --ring: var(--night-ring);
  --wipe: calc(100vw + 34vh);

  --display: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --body: "Albert Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --deva: "Tiro Devanagari Sanskrit", "Kohinoor Devanagari", "Noto Serif Devanagari", serif;
  --gutter: clamp(20px, 5vw, 64px);
  --swing: cubic-bezier(0.6, 0, 0.3, 1);

  color-scheme: dark;
  transition: --ground 0.3s linear 0.4s, --ink 0.3s linear 0.4s, --soft 0.3s linear 0.4s, --line 0.3s linear 0.4s, --edge 0.3s linear 0.4s, --ring 0.3s linear 0.4s, --wipe 1.1s var(--swing);
}
:root:has(#path-outward:checked) {
  --ground: var(--day-ground);
  --ink: var(--day-ink);
  --soft: var(--day-soft);
  --line: var(--day-line);
  --edge: var(--day-edge);
  --ring: var(--day-ring);
  --wipe: 0px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--night-ground); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; overflow-x: clip; font: 400 1.0625rem/1.6 var(--body); color: var(--ink); -webkit-font-smoothing: antialiased; }
/* The ground: night everywhere, and a day layer wiped in along the logo's 18 degree line (tan 18 x 100vh = 32.5vh). */
body::before, body::after { content: ""; position: fixed; inset: 0; pointer-events: none; }
body::before { z-index: -2; background: var(--night-ground); }
body::after { z-index: -1; background: var(--day-ground); clip-path: polygon(var(--wipe) 0, 300vw 0, 300vw 100%, calc(var(--wipe) - 32.5vh) 100%); }

h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote, fieldset { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-color: var(--edge); text-underline-offset: 4px; }
a:hover { text-decoration-color: var(--ink); }
em { font-style: italic; }
strong { font-weight: 600; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 5; padding: 12px 16px; border-radius: 999px; background: var(--ink); color: var(--ground); text-decoration: none; font-weight: 600; }
.skip:focus { top: 12px; }
.wrap { width: min(100% - 2 * var(--gutter), 1180px); margin-inline: auto; }
.serif { font-family: var(--display); font-size: 1.06em; }
.deva { font-family: var(--deva); font-weight: 400; }
.if-out { display: none; }
:root:has(#path-outward:checked) .if-in { display: none; }
:root:has(#path-outward:checked) .if-out { display: block; animation: rise 0.9s ease 0.3s both; }
:root:has(#path-outward:checked) span.if-out { display: inline; }
:root:has(#path-outward:checked) svg.if-out { display: inline-block; }
:root:has(#path-inward:checked:focus) .if-in { animation: rise 0.9s ease 0.3s both; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ───── type ───── */
h1, h2, h3, blockquote, .display { font-family: var(--display); font-weight: 500; }
h1 { font-size: clamp(2.6rem, 11vw, 3.4rem); line-height: 1.02; max-width: 16em; text-wrap: balance; }
h2 { font-size: clamp(2rem, 7.5vw, 2.6rem); line-height: 1.08; max-width: 16em; text-wrap: balance; }
h3 { font-size: 1.5rem; line-height: 1.15; }
p { max-width: 36em; }
.lede { font-size: 1.125rem; line-height: 1.55; }
.cite { font: 500 1.0625rem/1.35 var(--display); color: var(--soft); }
.pointer { font-size: 1.125rem; line-height: 1.5; }
.caption { font-size: 0.875rem; line-height: 1.45; color: var(--soft); }
.label { display: flex; align-items: center; gap: 8px; font: 600 0.75rem/1.3 var(--body); letter-spacing: 0.16em; text-transform: uppercase; color: var(--soft); }
.label svg { width: 16px; height: 16px; flex: none; color: var(--ink); }
@media (min-width: 900px) {
  h1 { font-size: clamp(3.2rem, 4.9vw, 4.4rem); }
  h2 { font-size: clamp(2.5rem, 3.6vw, 3.1rem); }
  .lede { font-size: 1.1875rem; }
}

/* ───── header and the ring ───── */
.stage { position: relative; isolation: isolate; overflow: clip; }
.ring { --d: min(133vw, 760px); position: absolute; z-index: -1; width: var(--d); height: var(--d); left: calc(50% - var(--d) / 2); top: calc(var(--d) * -0.48); pointer-events: none; transition: top 1.4s var(--swing); }
.ring circle { fill: none; stroke: var(--ring); stroke-width: 1.5px; vector-effect: non-scaling-stroke; }
:root:has(#path-outward:checked) .ring { top: calc(100% - var(--d) * 0.52); }
@media (min-width: 900px) {
  .ring { left: calc(50% + min(100% - 2 * var(--gutter), 1180px) * 0.225 + 19.8px - var(--d) / 2); }
}
.top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 16px; padding-block: 12px; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; text-decoration: none; font: 500 1.5rem/1 var(--display); letter-spacing: 0.005em; }
.brand img { width: 34px; height: 34px; flex: none; }
.brand__what { display: none; color: var(--soft); font: 400 0.875rem/1.1 var(--body); letter-spacing: 0; }
.top nav ul, .foot ul { display: flex; align-items: center; gap: 4px; }
.top nav a { display: inline-flex; align-items: center; min-height: 44px; padding-inline: 12px; text-decoration: none; font-weight: 600; font-size: 1rem; }
.top nav a:hover { text-decoration: underline; text-decoration-color: var(--edge); text-underline-offset: 6px; }
.top nav .wide { display: none; }
@media (min-width: 380px) { .brand__what { display: inline; } }
@media (min-width: 520px) { .top nav .wide { display: block; } }

/* ───── the mark above each h2, and the path glyph ───── */
.mark { display: block; height: 16px; margin-bottom: 24px; color: var(--ink); }
.mark svg { width: 16px; height: 16px; }
.knock { fill: var(--ground); }

/* ───── hero ───── */
.hero { display: grid; gap: 48px; padding-block: 24px 72px; }
.hero__text { display: grid; gap: 24px; align-content: start; }
.eyebrow { display: flex; align-items: baseline; gap: 12px; color: var(--soft); font-size: 1rem; }
.eyebrow .deva { font-size: 1.25rem; color: var(--ink); }
.hero h1 em { display: block; }
.turn { border: 0; min-width: 0; padding: 0; }
.turn legend { padding: 0; margin-bottom: 4px; font: 600 1.0625rem/1.4 var(--body); }
.turn__how { color: var(--soft); font-size: 0.875rem; line-height: 1.45; margin-bottom: 16px; }
.sides { display: flex; gap: 12px; max-width: 448px; }
.side { position: relative; flex: 1; max-width: 220px; display: flex; align-items: center; justify-content: center; gap: 8px; height: 48px; border: 1.5px solid var(--edge); border-radius: 999px; font: 600 1.0625rem/1 var(--body); cursor: pointer; }
.side svg { width: 16px; height: 16px; }
.side input { position: absolute; width: 1px; height: 1px; opacity: 0; margin: 0; }
.side:has(input:checked) { background: var(--ink); color: var(--ground); border-color: var(--ink); }
.side:has(input:focus-visible) { outline: 2px solid var(--ink); outline-offset: 3px; }
.now { margin-top: 32px; }
.now__verse { margin-top: 32px; font-size: clamp(1.9rem, 7.4vw, 2.3rem); line-height: 1.18; letter-spacing: 0.005em; max-width: 20em; }
.now .cite { margin-top: 16px; }
.now .pointer { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line); }
.now__note { margin-top: 24px; font-size: 0.875rem; line-height: 1.45; color: var(--soft); }
.now__about { margin-top: 12px; font-size: 0.875rem; line-height: 1.45; color: var(--soft); }
@media (min-width: 900px) {
  .hero { grid-template-columns: 0.9fr 1.1fr; gap: 72px; align-items: start; min-height: min(86vh, 860px); padding-top: 72px; }
  .now__verse { font-size: clamp(2.3rem, 3.1vw, 2.8rem); }
}
@supports not selector(:has(a)) { .turn, .now__note, .turn-only { display: none; } }

/* ───── sections ───── */
.band { border-top: 1px solid var(--line); padding-block: clamp(72px, 11vw, 136px); }
.band h3 { margin-bottom: 8px; }
.band p + h3 { margin-top: 32px; }
.band h2 + p, .band__head p + p { margin-top: 24px; }
.cols { display: grid; gap: 48px; }
@media (min-width: 900px) {
  .cols { grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
}

/* the day */
.plan__title { font: 500 1.75rem/1.15 var(--display); margin-bottom: 24px; max-width: none; }
.plan { max-width: 520px; width: 100%; }
.plan__list { display: block; }
.plan__row { position: relative; }
.plan__row::before { content: ""; position: absolute; left: 75.25px; width: 1.5px; top: 0; bottom: 0; background: var(--line); }
.plan__row--sit::before { top: 50%; }
.plan__row--last::before { bottom: auto; height: 24px; }
.plan__row--sit { display: grid; grid-template-columns: 52px 16px 1fr; column-gap: 16px; align-items: center; padding-bottom: 12px; }
.plan__time { text-align: right; font-family: var(--display); font-variant-numeric: lining-nums tabular-nums; font-weight: 500; font-size: 1.0625rem; }
.dot { position: relative; width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid var(--soft); background: var(--ground); }
.dot--sit { background: var(--ink); border-color: var(--ink); }
.plan__box { border: 1px solid var(--line); border-radius: 16px; padding: 12px 16px; display: grid; gap: 4px; }
.plan__box strong { font-weight: 600; }
.plan__box span { font-size: 0.875rem; line-height: 1.45; color: var(--soft); }
.pause summary { display: grid; grid-template-columns: 52px 16px 1fr auto; column-gap: 16px; align-items: center; min-height: 48px; cursor: pointer; list-style: none; }
.pause summary::-webkit-details-marker { display: none; }
.pause__word { font-weight: 600; }
.pause__ring { font-size: 0.875rem; color: var(--soft); text-decoration: underline; text-decoration-color: var(--edge); text-underline-offset: 4px; }
.pause[open] .pause__ring { display: none; }
.pause[open] .dot { background: var(--ink); border-color: var(--ink); }
.pause__line { margin: 8px 0 16px 100px; font: 500 1.5rem/1.22 var(--display); animation: rise 0.9s ease both; }
.plan figcaption { margin-top: 24px; max-width: 28em; }
@media (min-width: 900px) { .pause__line { font-size: 1.625rem; } }

/* the texts */
.month { display: grid; gap: 48px; margin-top: 48px; }
.weeks { border-bottom: 1px solid var(--line); }
.week { border-top: 1px solid var(--line); }
.week summary { display: grid; grid-template-columns: 16px 1fr auto; column-gap: 12px; row-gap: 4px; align-items: center; min-height: 56px; padding-block: 12px; cursor: pointer; list-style: none; }
.week summary::-webkit-details-marker { display: none; }
.week summary > svg { width: 16px; height: 16px; }
.week__theme { grid-column: 2 / 4; grid-row: 2; font: 500 1.5rem/1.15 var(--display); }
.week__body { padding: 0 0 24px 28px; display: grid; gap: 12px; }
.week__body blockquote { font-size: 1.5rem; line-height: 1.22; max-width: 28em; }
.week__body .pointer { max-width: 28em; }
.month__grid svg { width: 208px; max-width: 100%; height: auto; color: var(--soft); }
.month__grid figcaption { margin-top: 12px; max-width: 24em; }
.month:has(#week-1[open]) .row-1, .month:has(#week-2[open]) .row-2, .month:has(#week-3[open]) .row-3, .month:has(#week-4[open]) .row-4 { color: var(--ink); }
.own { margin-top: 72px; display: grid; gap: 16px; }
.own > div { display: grid; gap: 24px; align-content: start; }
.own h3 { margin: 0; }
@media (min-width: 520px) {
  .week summary { grid-template-columns: 16px auto 1fr auto; }
  .week__theme { grid-column: 3; grid-row: 1; }
}
@media (min-width: 768px) { .month__grid svg { width: 260px; } }
@media (min-width: 900px) {
  .month { grid-template-columns: 1.25fr 0.75fr; gap: 72px; align-items: start; }
  .month__grid svg { width: 312px; }
  .own { grid-template-columns: 1fr 1fr; gap: 72px; }
}

/* the app: phone previews */
.devices { margin-top: 48px; }
.devices__grid { display: grid; justify-items: center; row-gap: 16px; --pw: 220px; }
.devices__row { display: contents; }
.devices__texts { display: contents; }
.device__text { width: 100%; max-width: var(--pw); display: grid; align-content: start; gap: 8px; margin-bottom: 32px; }
.device__text h3 { margin: 0; }
.devices__grid .phone--now { order: 1; } .devices__grid .t-now { order: 2; }
.devices__grid .phone--sit { order: 3; } .devices__grid .t-sit { order: 4; }
.devices__grid .phone--pause { order: 5; } .devices__grid .t-pause { order: 6; }
.devices figcaption { margin-top: 24px; }
@media (min-width: 640px) {
  .devices__grid { --pw: min(200px, calc((100vw - 2 * var(--gutter) - 48px) / 3)); grid-template-columns: repeat(3, var(--pw)); justify-content: center; column-gap: 24px; row-gap: 24px; }
  .devices__grid > *, .devices__row > *, .devices__texts > * { order: 0 !important; }
  .device__text { max-width: var(--pw); }
}
@media (min-width: 900px) { .devices__grid { --pw: 232px; column-gap: 40px; } }
@media (min-width: 1180px) { .devices__grid { --pw: 264px; column-gap: 64px; } }

.phone { --u: calc(var(--pw) / 390); position: relative; width: var(--pw); aspect-ratio: 390 / 844; border: 1.5px solid var(--edge); border-radius: calc(56 * var(--u)); overflow: hidden; background: var(--ground); color: var(--ink); font-family: var(--body); line-height: 1.3; text-align: left; }
.phone > * { position: absolute; margin: 0; max-width: none; }
.phone p { max-width: none; }
.phone svg { max-width: none; }
.p-ring { left: calc(-65 * var(--u)); top: calc(-250 * var(--u)); width: calc(520 * var(--u)); height: calc(520 * var(--u)); }
:root:has(#path-outward:checked) .p-ring { top: calc(574 * var(--u)); }
.p-ring circle { fill: none; stroke: var(--ring); stroke-width: 1.5px; }
.p-col { left: calc(28 * var(--u)); right: calc(28 * var(--u)); top: calc(72 * var(--u)); }
.p-col > * { position: static; }
.p-label { display: flex; align-items: center; gap: calc(10 * var(--u)); font-size: calc(12 * var(--u)); font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--soft); }
.p-label svg { width: calc(16 * var(--u)); height: calc(16 * var(--u)); color: var(--ink); flex: none; }
.p-verse { margin-top: calc(54 * var(--u)); font: 500 calc(35 * var(--u))/1.18 var(--display); letter-spacing: 0.005em; }
.p-cite { margin-top: calc(26 * var(--u)); font: 500 calc(15 * var(--u))/1.3 var(--display); color: var(--soft); text-decoration: underline; text-decoration-color: var(--edge); text-underline-offset: calc(4 * var(--u)); }
.p-pointer { margin-top: calc(26 * var(--u)); padding-top: calc(26 * var(--u)); border-top: 1px solid var(--line); font-size: calc(18 * var(--u)); line-height: 1.5; }
.p-next { left: calc(28 * var(--u)); right: calc(28 * var(--u)); bottom: calc(186 * var(--u)); display: flex; justify-content: space-between; align-items: baseline; gap: calc(8 * var(--u)); font-size: calc(15 * var(--u)); color: var(--soft); }
.p-next span + span { color: var(--ink); text-align: right; }
.p-btn { left: calc(28 * var(--u)); right: calc(28 * var(--u)); bottom: calc(112 * var(--u)); height: calc(56 * var(--u)); border-radius: calc(28 * var(--u)); background: var(--ink); color: var(--ground); display: flex; align-items: center; justify-content: center; font-size: calc(17 * var(--u)); font-weight: 600; }
.p-tabs { left: 0; right: 0; bottom: 0; height: calc(84 * var(--u)); display: flex; border-top: 1px solid var(--line); background: var(--ground); font-size: calc(11 * var(--u)); font-weight: 600; color: var(--soft); }
.p-tabs span { flex: 1; display: flex; flex-direction: column; align-items: center; gap: calc(5 * var(--u)); padding-top: calc(12 * var(--u)); }
.p-tabs span:first-child { color: var(--ink); }
.p-tabs svg { width: calc(24 * var(--u)); height: calc(24 * var(--u)); }

.phone--sit { --ink: var(--night-ink); --soft: var(--night-soft); --edge: var(--night-edge); background: var(--sit-ground); }
.s-rings { left: calc(-115 * var(--u)); top: calc(20 * var(--u)); width: calc(620 * var(--u)); height: calc(620 * var(--u)); }
.s-rings circle { fill: none; stroke-width: 1.5px; }
.s-rings .far { stroke: var(--sit-ring-far); }
.s-rings .near { stroke: var(--sit-ring-near); }
.s-ring { left: calc(50% - 140 * var(--u)); top: calc(190 * var(--u)); width: calc(280 * var(--u)); height: calc(280 * var(--u)); border: 2px solid var(--ink); border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: calc(6 * var(--u)); }
.s-ring p { position: static; }
.s-time { font: 500 calc(68 * var(--u))/1 var(--display); font-variant-numeric: lining-nums tabular-nums; }
.s-rem { font-size: calc(13 * var(--u)); letter-spacing: 0.14em; text-transform: uppercase; color: var(--soft); }
.s-line { left: calc(36 * var(--u)); right: calc(36 * var(--u)); top: calc(520 * var(--u)); text-align: center; font: italic 500 calc(27 * var(--u))/1.28 var(--display); }
.s-bottom { left: calc(28 * var(--u)); right: calc(28 * var(--u)); bottom: calc(52 * var(--u)); display: flex; justify-content: space-between; align-items: center; }
.s-hide { height: calc(48 * var(--u)); display: flex; align-items: center; font-size: calc(15 * var(--u)); color: var(--soft); }
.s-end { height: calc(48 * var(--u)); padding: 0 calc(30 * var(--u)); border: 1.5px solid var(--edge); border-radius: calc(24 * var(--u)); display: flex; align-items: center; font-size: calc(16 * var(--u)); font-weight: 600; }

.pa-rings { left: calc(-255 * var(--u)); top: calc(-28 * var(--u)); width: calc(900 * var(--u)); height: calc(900 * var(--u)); }
.pa-rings circle { fill: none; stroke-width: 1.5px; }
.pa-rings .c1 { stroke: var(--line); } .pa-rings .c2 { stroke: var(--ring); } .pa-rings .c3 { stroke: var(--ink); }
.pa-label { left: 0; right: 0; top: calc(76 * var(--u)); text-align: center; font-size: calc(12 * var(--u)); font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--soft); font-variant-numeric: lining-nums; }
.pa-line { left: calc(44 * var(--u)); right: calc(44 * var(--u)); top: calc(322 * var(--u)); height: calc(200 * var(--u)); display: flex; align-items: center; justify-content: center; text-align: center; font: 500 calc(30 * var(--u))/1.2 var(--display); }
.pa-note { left: 0; right: 0; bottom: calc(130 * var(--u)); text-align: center; font-size: calc(14 * var(--u)); color: var(--soft); }
.pa-btn { left: calc(28 * var(--u)); right: calc(28 * var(--u)); bottom: calc(56 * var(--u)); height: calc(56 * var(--u)); border-radius: calc(28 * var(--u)); background: var(--ink); color: var(--ground); display: flex; align-items: center; justify-content: center; font-size: calc(17 * var(--u)); font-weight: 600; }

.set { margin-top: 72px; }
.set dl { display: grid; gap: 24px; margin-top: 24px; }
.set dt { font-weight: 600; margin-bottom: 4px; }
.set dd { color: var(--soft); font-size: 0.875rem; line-height: 1.55; }
@media (min-width: 700px) { .set dl { grid-template-columns: 1fr 1fr; gap: 32px 48px; } }
@media (min-width: 1100px) { .set dl { grid-template-columns: repeat(4, 1fr); gap: 32px; } }

/* said plainly */
.plain { display: grid; gap: 32px; margin-top: 48px; }
.plain h3 { margin-bottom: 8px; }
@media (min-width: 900px) { .plain { grid-template-columns: repeat(3, 1fr); gap: 48px; } }

/* no count */
.quiet__list { display: grid; }
.quiet__list li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; min-height: 48px; padding-block: 16px; border-top: 1px solid var(--line); }
.quiet__list li:last-child { border-bottom: 1px solid var(--line); }
.quiet__list svg { width: 24px; height: 24px; color: var(--soft); margin-top: 0; }
.more { margin-top: 24px; }

/* get it */
.get { text-align: center; }
.get > .wrap { display: grid; justify-items: center; }
.get__logo { width: 120px; height: 120px; margin-bottom: 32px; }
.get h2 { margin-inline: auto; }
.get p { margin: 24px auto 0; }
.stores { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; width: 100%; }
.stores li { width: min(100%, 320px); }
.store { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; height: 56px; padding: 0 24px; border-radius: 999px; text-align: left; text-decoration: none; font-weight: 600; }
.store__glyph { width: 24px; height: 24px; flex: none; }
.store__text { display: grid; line-height: 1.2; }
.store__lead { font-size: 0.8125rem; font-weight: 400; }
.store__name { font-weight: 600; font-size: 1.0625rem; }
.store--live { background: var(--ink); color: var(--ground); }
.store--soon { border: 1.5px dashed var(--edge); color: var(--ink); }
.store--soon .store__lead { color: var(--soft); }
@media (min-width: 700px) { .stores li { width: auto; } .store { width: auto; } }

/* footer */
.foot { border-top: 1px solid var(--line); padding-block: 48px 72px; color: var(--soft); font-size: 0.875rem; }
.foot__grid { display: grid; gap: 24px; }
.foot .brand { color: var(--ink); }
.foot__say { margin-top: 8px; max-width: 30em; }
.foot__say .deva { color: var(--ink); font-size: 1.125rem; }
.foot ul { flex-wrap: wrap; gap: 0 16px; }
.foot li a { display: inline-flex; align-items: center; min-height: 44px; }
.foot__small { margin-top: 32px; font-size: 0.875rem; max-width: 44em; }
@media (min-width: 760px) { .foot__grid { grid-template-columns: minmax(0, 1.3fr) auto; align-items: start; } }

/* small pages: always night */
.doc { max-width: 40em; padding-block: 48px 112px; }
.doc h1 { margin-bottom: 8px; }
.doc .updated { font-size: 0.875rem; color: var(--soft); }
.doc .summary { margin-block: 32px; padding-block: 24px; border-block: 1px solid var(--line); font: italic 500 1.375rem/1.4 var(--display); max-width: none; }
.doc h2 { margin-top: 48px; margin-bottom: 8px; font-size: 1.5rem; line-height: 1.2; }
.doc p + p, .doc ul { margin-top: 12px; }
.doc ul { display: grid; gap: 12px; padding-left: 20px; list-style: disc; max-width: 36em; }
.lost { text-align: center; display: grid; justify-items: center; gap: 16px; padding-block: 72px 112px; }
.lost img { margin-bottom: 16px; }
.lost p { margin-inline: auto; }

@media (prefers-reduced-motion: reduce) {
  :root, .ring { transition: none; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
