/* Burrow - helloburrow.com
   Stillwater: Onest for words, Geist Mono for numbers and labels, porcelain and ink.
   The page is one day: each section's background picks up where the last one ended, dawn to night. */

@font-face { font-family: "Onest"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("../fonts/onest-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2190-2199, U+2212, U+2215, U+2248, U+FEFF, U+FFFD; }
@font-face { font-family: "Onest"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("../fonts/onest-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Onest"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("../fonts/onest-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0460-052F, U+0490-0491, U+04B0-04B1, U+1C80-1C88, U+2116, U+2DE0-2DFF, U+A640-A69F; }
@font-face { font-family: "Geist Mono"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("../fonts/geist-mono-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2190-2199, U+2212, U+2215, U+2248, U+FEFF, U+FFFD; }
@font-face { font-family: "Geist Mono"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("../fonts/geist-mono-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Geist Mono"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("../fonts/geist-mono-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0460-052F, U+0490-0491, U+04B0-04B1, U+1C80-1C88, U+2116, U+2DE0-2DFF, U+A640-A69F; }

:root {
  --ink: #11151C;
  --ink-2: #4A5462;
  --ink-3: #6B7584;
  --porcelain: #F2F4F7;
  --paper: #FFFFFF;
  --line: #E1E5EA;
  --moon: #F4EFE2;
  --night-ink: #F2F4F7;
  --night-ink-2: #B9C1D6;
  --night-line: rgba(242, 244, 247, .14);
  --indigo: #4A56D0;
  --teal: #17907F;
  --amber: #C17B20;
  --gem: #58B7DB;
  --lake: #2D6A9A;

  --sans: "Onest", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --gutter: 20px;
  --wrap: 1180px;
  --radius-card: 28px;
  --ease: cubic-bezier(.22, .8, .2, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --shadow-card: 0 1px 0 rgba(17, 21, 28, .04), 0 24px 48px -28px rgba(17, 21, 28, .28);
  --shadow-float: 0 0 0 1px rgba(17, 21, 28, .05), 0 30px 60px -24px rgba(17, 21, 28, .35), 0 10px 20px -12px rgba(17, 21, 28, .18);

  color-scheme: light;
}
@media (min-width: 768px) { :root { --gutter: 32px; } }
@media (min-width: 1200px) { :root { --gutter: 40px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: #E8E2EE; color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.5;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, picture { display: block; max-width: 100%; }
figure { margin: 0; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--lake); outline-offset: 3px; border-radius: 6px; }
.tone-night :focus-visible { outline-color: #9CC4F0; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 999px; text-decoration: none; font-weight: 500; }
.skip:focus { top: 12px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }

/* ------------------------------------------------------------ type */
.eyebrow { font: 500 12.5px/1.2 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); margin: 0 0 18px; }
.tone-night .eyebrow { color: var(--night-ink-2); }
.display { font-weight: 600; font-size: clamp(46px, 7.6vw, 100px); line-height: .96; letter-spacing: -.045em; margin: 0; text-wrap: balance; }
.h2 { font-weight: 600; font-size: clamp(38px, 6.2vw, 80px); line-height: 1; letter-spacing: -.04em; margin: 0; text-wrap: balance; }
.h3 { font-weight: 600; font-size: clamp(24px, 2.6vw, 34px); line-height: 1.1; letter-spacing: -.025em; margin: 0; text-wrap: balance; }
.lede { font-size: clamp(18px, 1.9vw, 22px); line-height: 1.5; color: var(--ink-2); margin: 22px 0 0; max-width: 34em; text-wrap: pretty; }
.tone-night .lede { color: var(--night-ink-2); }
.center { text-align: center; }
.center .lede { margin-left: auto; margin-right: auto; }
.mono { font-family: var(--mono); }
.pro-tag { display: inline-block; font: 600 10.5px/1 var(--mono); letter-spacing: .09em; text-transform: uppercase; color: #fff; background: var(--ink);
  border-radius: 999px; padding: 5px 8px 4px; vertical-align: 3px; margin-left: 6px; white-space: nowrap; }
.tone-night .pro-tag { background: var(--night-ink); color: var(--ink); }
.free-tag { display: inline-block; font: 600 10.5px/1 var(--mono); letter-spacing: .09em; text-transform: uppercase; color: var(--ink-2);
  border: 1.5px solid currentColor; border-radius: 999px; padding: 4px 7px 3px; vertical-align: 3px; margin-left: 6px; }

/* ------------------------------------------------------------ nav */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background-color .4s, color .4s, box-shadow .4s; }
.nav__in { display: flex; align-items: center; gap: 20px; height: 60px; }
.nav.is-stuck { background: rgba(242, 244, 247, .72); -webkit-backdrop-filter: saturate(1.6) blur(18px); backdrop-filter: saturate(1.6) blur(18px);
  box-shadow: 0 1px 0 rgba(17, 21, 28, .06); }
.nav.is-dark { color: var(--night-ink); }
.nav.is-dark.is-stuck { background: rgba(18, 24, 41, .68); box-shadow: 0 1px 0 rgba(242, 244, 247, .08); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; font-size: 19px; letter-spacing: -.02em; }
.brand img { width: 30px; height: 30px; border-radius: 8px; box-shadow: 0 0 0 1px rgba(17, 21, 28, .08); }
.nav__links { display: none; margin: 0 0 0 auto; padding: 0; list-style: none; gap: 26px; }
.nav__links a { text-decoration: none; font-size: 14.5px; font-weight: 500; opacity: .78; transition: opacity .2s; }
.nav__links a:hover { opacity: 1; }
.nav__cta { margin-left: auto; }
@media (min-width: 900px) { .nav__links { display: flex; } .nav__cta { margin-left: 8px; } }

/* ------------------------------------------------------------ the store button ("coming soon" until the app is live) */
.store { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; background: var(--ink); color: #fff; border-radius: 16px;
  padding: 11px 20px 11px 15px; min-height: 56px; box-shadow: 0 14px 30px -14px rgba(17, 21, 28, .5); }
.store svg { width: 26px; height: 26px; flex: none; }
.store__t { display: flex; flex-direction: column; line-height: 1.1; text-align: left; }
.store__t small { font: 500 10.5px/1.2 var(--mono); letter-spacing: .12em; text-transform: uppercase; opacity: .72; }
.store__t span { font-weight: 600; font-size: 18px; letter-spacing: -.015em; }
.tone-night .store { background: var(--night-ink); color: var(--ink); box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .6); }
.store--sm { min-height: 38px; padding: 7px 14px; border-radius: 999px; box-shadow: none; gap: 8px; }
.store--sm .store__t span { font-size: 14px; font-weight: 600; }
.store--sm svg { width: 16px; height: 16px; }
.nav.is-dark .store--sm { background: var(--night-ink); color: var(--ink); }
a.store-live { display: inline-block; }
a.store-live img { height: 56px; width: auto; }
a.store-live--sm img { height: 38px; }
.store-note { font: 400 14px/1.5 var(--sans); color: var(--ink-2); margin: 14px 0 0; }
.tone-night .store-note { color: var(--night-ink-2); }

/* ------------------------------------------------------------ sections and the sky */
.sec { position: relative; padding: clamp(80px, 9vw, 132px) 0; }
.tone-night { color: var(--night-ink); }
.sky-dawn { background: linear-gradient(180deg, #E8E2EE 0%, #EEDCE2 38%, #F6D3BD 70%, #F6CFB5 100%); }
.sky-morning { background: linear-gradient(180deg, #D6DEC2 0, #E2E8DA 70px, #E5ECF2 260px, #E3EBF4 100%); }
.sky-late { background: linear-gradient(180deg, #E3EBF4 0%, #E6EDF5 50%, #E9F0F5 100%); }
.sky-midday { background: linear-gradient(180deg, #E9F0F5 0%, #E1EAF3 50%, #DCE7F2 100%); }
.sky-golden { background: linear-gradient(180deg, #DCE7F2 0%, #E4E1DF 30%, #EED9C4 70%, #F3D2AC 100%); }
.sky-sunset { background: linear-gradient(180deg, #F3D2AC 0%, #ECBBA4 22%, #D9AAA8 40%, #B4A6C4 58%, #7E7EA2 74%, #454B74 88%, #262F50 100%); }
.sky-night { background: linear-gradient(180deg, #262F50 0%, #222B4A 50%, #1E2643 100%); }
.sky-night2 { background: linear-gradient(180deg, #1E2643 0%, #1A2139 100%); }
.sky-deep { background: linear-gradient(180deg, #1A2139 0%, #151B30 60%, #121829 100%); }
.sky-deep2 { background: #121829; }
.sky-end { background: linear-gradient(180deg, #121829 0%, #161D33 60%, #1B2340 100%); }
.stars { position: absolute; inset: 0; pointer-events: none; background: url("../img/stars.svg") 0 0 / 1200px 900px repeat; opacity: .75; }
.stars--fade { -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 40%); mask-image: linear-gradient(180deg, transparent 0, #000 40%); }
.stars::after { content: ""; position: absolute; inset: 0; background: url("../img/stars.svg") 300px 200px / 900px 675px repeat; opacity: .5; }
.has-motion .stars::after { animation: twinkle 7s ease-in-out infinite alternate; }
@keyframes twinkle { from { opacity: .15; } to { opacity: .7; } }

.cloud { position: absolute; width: 220px; aspect-ratio: 420 / 120; background: url("../img/cloud.svg") center / contain no-repeat; opacity: .7; pointer-events: none; }
.has-motion .cloud { animation: drift 60s linear infinite alternate; }
@media (max-width: 899px) { .cloud { display: none; } .cloud.cloud--m { display: block; } }
@keyframes drift { from { transform: translateX(-30px); } to { transform: translateX(40px); } }

/* reveal on scroll */
.has-motion [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform 1.1s var(--ease); }
.has-motion [data-reveal].is-in { opacity: 1; transform: none; }
.has-motion [data-reveal="2"] { transition-delay: .08s; }
.has-motion [data-reveal="3"] { transition-delay: .16s; }
.has-motion [data-reveal="4"] { transition-delay: .24s; }

/* ------------------------------------------------------------ the phone */
.phone { --pw: min(72vw, 320px); --u: calc(var(--pw) / 402); position: relative; flex: none;
  width: calc(var(--pw) + 22 * var(--u)); padding: calc(11 * var(--u)); border-radius: calc(68 * var(--u)); background: #16191F;
  box-shadow: 0 0 0 calc(1.6 * var(--u)) #9EA3AB, 0 0 0 calc(3.2 * var(--u)) #5B6068,
    0 calc(60 * var(--u)) calc(110 * var(--u)) calc(-30 * var(--u)) rgba(17, 21, 28, .42),
    0 calc(24 * var(--u)) calc(48 * var(--u)) calc(-20 * var(--u)) rgba(17, 21, 28, .25); }
.tone-night .phone { box-shadow: 0 0 0 calc(1.6 * var(--u)) #6E7480, 0 0 0 calc(3.2 * var(--u)) #3A3F49,
    0 calc(60 * var(--u)) calc(110 * var(--u)) calc(-30 * var(--u)) rgba(0, 0, 0, .6); }
.phone::before, .phone::after { content: ""; position: absolute; width: calc(4 * var(--u)); background: #7C818A; border-radius: 4px; }
.phone::before { left: calc(-5 * var(--u)); top: calc(190 * var(--u)); height: calc(62 * var(--u)); box-shadow: 0 calc(-80 * var(--u)) 0 0 #7C818A; }
.phone::after { right: calc(-5 * var(--u)); top: calc(230 * var(--u)); height: calc(96 * var(--u)); }
@media (min-width: 768px) { .phone { --pw: 330px; } }
@media (min-width: 1200px) { .phone { --pw: 350px; } }
.screen { position: relative; width: var(--pw); height: calc(874 * var(--u)); border-radius: calc(57 * var(--u)); overflow: hidden; background: var(--porcelain);
  isolation: isolate; transform: translateZ(0); }
.screen .shot, .screen .shot img { position: absolute; left: 0; top: 0; width: 100%; height: 100%; }
.sb { position: absolute; z-index: 20; left: 0; right: 0; top: calc(18 * var(--u)); height: calc(22 * var(--u)); display: flex; align-items: center;
  justify-content: space-between; padding: 0 calc(30 * var(--u)) 0 calc(48 * var(--u)); color: var(--ink); pointer-events: none; }
.sb b { font: 600 calc(17 * var(--u))/1 var(--sans); letter-spacing: -.01em; }
.sb svg { width: calc(66 * var(--u)); height: auto; }
.sb--light { color: #fff; }
.island { position: absolute; z-index: 21; top: calc(11 * var(--u)); left: 50%; width: calc(124 * var(--u)); height: calc(36 * var(--u));
  margin-left: calc(-62 * var(--u)); border-radius: 999px; background: #000; }
.home-ind { position: absolute; z-index: 21; bottom: calc(8 * var(--u)); left: 50%; width: calc(140 * var(--u)); height: calc(5 * var(--u));
  margin-left: calc(-70 * var(--u)); border-radius: 9px; background: rgba(17, 21, 28, .85); }
.home-ind--light { background: rgba(255, 255, 255, .9); }

/* demo controls (WCAG 2.2.2: anything that moves for more than five seconds can be paused) */
.demo { position: relative; }
.demo-toggle { position: absolute; z-index: 30; right: -6px; bottom: -6px; width: 40px; height: 40px; border-radius: 50%; border: 0; cursor: pointer;
  display: none; place-items: center; background: rgba(255, 255, 255, .86); color: var(--ink);
  box-shadow: 0 0 0 1px rgba(17, 21, 28, .08), 0 8px 18px -8px rgba(17, 21, 28, .4); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.has-motion .demo-toggle { display: grid; }
.demo-toggle svg { width: 14px; height: 14px; }
.demo-toggle .i-play { display: none; }
.demo-toggle[aria-pressed="true"] .i-play { display: block; }
.demo-toggle[aria-pressed="true"] .i-pause { display: none; }
.tone-night .demo-toggle { background: rgba(242, 244, 247, .9); }

/* the tap */
.tap { position: absolute; z-index: 15; left: 0; top: 0; width: calc(44 * var(--u)); height: calc(44 * var(--u)); margin: calc(-22 * var(--u)) 0 0 calc(-22 * var(--u));
  border-radius: 50%; background: rgba(17, 21, 28, .18); box-shadow: 0 0 0 calc(2 * var(--u)) rgba(255, 255, 255, .9); opacity: 0; transform: scale(.6); pointer-events: none; }
.tap.is-on { animation: tap .7s var(--ease) forwards; }
@keyframes tap { 0% { opacity: 0; transform: scale(.5); } 25% { opacity: 1; transform: scale(1); } 60% { opacity: .8; transform: scale(.88); } 100% { opacity: 0; transform: scale(1.5); } }

/* states: no JS or reduced motion shows the [data-static] frame; JS with motion shows the live layers */
.demo [data-live] { display: none; }
.has-motion .demo.is-ready [data-live] { display: block; }
.has-motion .demo.is-ready [data-static] { display: none; }
.fade { transition: opacity .55s var(--ease-io); }
.is-hidden { opacity: 0; }

/* ------------------------------------------------------------ hero */
.hero { position: relative; overflow: hidden; padding-top: 104px; }
.hero__copy { position: relative; z-index: 3; text-align: center; }
.hero__copy .lede { max-width: 30em; margin-left: auto; margin-right: auto; }
.hero__cta { margin-top: 30px; display: flex; flex-direction: column; align-items: center; }
.hero__sun { position: absolute; z-index: 0; left: 50%; top: 540px; width: 560px; height: 560px; margin-left: -280px; border-radius: 50%;
  background: radial-gradient(circle, #FCE6CF 0 26%, rgba(251, 230, 210, .55) 27% 52%, rgba(251, 230, 210, 0) 70%); }
.scene { --pw: min(68vw, 300px); --u: calc(var(--pw) / 402); position: relative; z-index: 2; height: calc(var(--pw) * 2.17 * .80 + 40px); margin-top: 56px; }
@media (min-width: 768px) { .scene { --pw: 330px; } }
@media (min-width: 1200px) { .scene { --pw: 350px; } }
.scene .phone { position: absolute; left: 50%; top: 0; transform: translateX(-50%); z-index: 2; }
.land { position: absolute; left: 0; right: 0; pointer-events: none; }
.land img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 100%; }
.land--back { z-index: 1; bottom: 70px; height: clamp(240px, 36vw, 460px); }
.land--front { z-index: 3; bottom: 0; height: clamp(200px, 26vw, 330px); }
.scene .phone { --pw: inherit; }
.hero__marko { position: absolute; z-index: 4; bottom: 4px; left: calc(50% - var(--pw) / 2 - 150px); width: clamp(150px, 20vw, 270px); }
.hero__marko .mound { position: absolute; left: -12%; right: -12%; bottom: -4%; height: 34%; }
.hero__marko picture { position: relative; }
.bubble { position: absolute; z-index: 5; background: #fff; color: var(--ink); border-radius: 22px; padding: 14px 16px 15px; width: 210px;
  font-weight: 500; font-size: 15px; line-height: 1.32; letter-spacing: -.01em; box-shadow: var(--shadow-float); margin: 0; }
.bubble::after { content: ""; position: absolute; width: 22px; height: 22px; background: #fff; transform: rotate(45deg); border-radius: 0 0 5px 0; }
.bubble--down::after { bottom: -9px; left: var(--tail, 50%); margin-left: -11px; }
.hero__marko .bubble { bottom: 96%; left: 4%; }
@media (max-width: 767px) {
  .scene { --pw: min(62vw, 280px); height: calc(var(--pw) * 2.17 * .80 + 24px); margin-top: 44px; }
  .hero__marko { left: 2px; width: 112px; bottom: 2px; }
  .hero__marko .bubble { width: 178px; font-size: 13px; padding: 10px 12px 11px; border-radius: 16px; bottom: 30%; left: 96%; }
  .hero__marko .bubble::after { bottom: auto; top: 50%; left: -6px; margin: -9px 0 0; width: 18px; height: 18px; border-radius: 0 0 0 4px; }
}
@media (min-width: 768px) and (max-width: 1023px) { .hero__marko { left: calc(50% - var(--pw) / 2 - 190px); } }
.hero-mist { height: 0; }

/* timer overlays on the running screen (snapshot pixels / 3 = u) */
.ov { position: absolute; z-index: 3; white-space: nowrap; }
.ov-clock { left: calc(16 * var(--u)); top: calc(240.4 * var(--u)); font: 300 calc(108 * var(--u))/1 var(--mono); letter-spacing: -.06em; color: #151A3A;
  font-variant-numeric: tabular-nums; }
.ov-clock .cp { letter-spacing: -.2em; }   /* the app pulls the colon's sides in 0.14 em more */
.ov-since { left: calc(22 * var(--u)); top: calc(185.1 * var(--u)); font: 400 calc(12.8 * var(--u))/1 var(--mono); color: #485390; letter-spacing: -.01em; }
.ov-bar { left: calc(22 * var(--u)); top: calc(373.3 * var(--u)); width: calc(358 * var(--u)); height: calc(5.8 * var(--u)); border-radius: 9px; background: #C7CEF4; overflow: hidden; }
.ov-bar i { position: absolute; top: 0; bottom: 0; left: 0; border-radius: 9px; }
.ov-bar .b-done { width: 70%; background: #4A56D0; z-index: 2; }
.ov-bar .b-sess { width: 70%; background: #8798E4; z-index: 1; transition: width .9s linear; }
.ov-week, .ov-close { top: calc(390.8 * var(--u)); font: 400 calc(12.8 * var(--u))/1 var(--mono); color: #39437E; letter-spacing: -.01em; }
.ov-week { left: calc(21.4 * var(--u)); }
.ov-close { right: calc(22.8 * var(--u)); }

/* ------------------------------------------------------------ steps */
.steps { display: grid; gap: 14px; margin: 56px 0 0; padding: 0; list-style: none; counter-reset: s; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
@media (min-width: 1024px) { .steps { gap: 20px; } }
.step { background: rgba(255, 255, 255, .62); border-radius: var(--radius-card); padding: 26px 26px 28px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .7) inset, var(--shadow-card);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.step__n { font: 500 13px/1 var(--mono); letter-spacing: .1em; color: var(--ink-2); display: flex; align-items: center; gap: 10px; }
.step__n svg { width: 22px; height: 22px; color: var(--ink); }
.step h3 { margin: 18px 0 8px; }
.step p { margin: 0; color: var(--ink-2); }

/* ------------------------------------------------------------ split feature (copy + phone) */
.split { display: grid; gap: 56px; align-items: center; }
.split__media { display: flex; justify-content: center; position: relative; }
@media (min-width: 1024px) {
  .split { grid-template-columns: 1fr 1fr; gap: 72px; }
  .split--flip .split__copy { order: 2; }
}
.points { list-style: none; margin: 36px 0 0; padding: 0; display: grid; gap: 22px; }
.points li { display: grid; grid-template-columns: 34px 1fr; gap: 14px; align-items: start; }
.points .ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: rgba(255, 255, 255, .7); box-shadow: 0 0 0 1px rgba(17, 21, 28, .06); }
.tone-night .points .ic { background: rgba(242, 244, 247, .1); box-shadow: 0 0 0 1px rgba(242, 244, 247, .12); }
.points .ic svg { width: 18px; height: 18px; }
.points b { display: block; font-weight: 600; font-size: 18px; letter-spacing: -.015em; }
.points span { display: block; color: var(--ink-2); margin-top: 3px; font-size: 16px; line-height: 1.5; }
.tone-night .points span { color: var(--night-ink-2); }
.points span.pro-tag, .tone-night .points span.pro-tag { display: inline-block; margin: 0 0 0 6px; font-size: 10.5px; line-height: 1; color: var(--ink); vertical-align: 2px; }
.points span.pro-tag { color: #fff; }
.tone-night .points span.pro-tag { color: var(--ink); }

/* the reflection flow: three bands per screen (header fades, question slides, buttons fade) */
.rf { position: absolute; inset: 0; transition: opacity .5s var(--ease-io); }
.band { position: absolute; left: 0; right: 0; overflow: hidden; }
.band .full { position: absolute; left: 0; width: 100%; height: calc(874 * var(--u)); }
.band .full > img:not(.sel) { position: absolute; inset: 0; width: 100%; height: 100%; }
.band--hd { top: 0; height: calc(180 * var(--u)); }
.band--hd .full { top: 0; }
.band--bd { top: calc(180 * var(--u)); height: calc(590 * var(--u)); }
.band--bd .full { top: calc(-180 * var(--u)); }
.band--ft { top: calc(770 * var(--u)); bottom: 0; }
.band--ft .full { top: calc(-770 * var(--u)); }
.rq { position: absolute; inset: 0; transition: transform .62s var(--ease-io), opacity .62s var(--ease-io); }
.rq.is-next { transform: translateX(100%); }
.rq.is-prev { transform: translateX(-100%); }
.rh, .rfoot { position: absolute; inset: 0; transition: opacity .45s var(--ease-io); }
.band .sel { position: absolute; z-index: 2; opacity: 0; transition: opacity .18s ease-out; max-width: none; }
.band .sel.is-on { opacity: 1; }
.sel--rating { left: calc(233.3 * var(--u)); top: calc(383.3 * var(--u)); width: calc(82 * var(--u)); height: calc(104 * var(--u)); }
.sel--mood { left: calc(233.3 * var(--u)); top: calc(287.3 * var(--u)); width: calc(82 * var(--u)); height: calc(103.3 * var(--u)); }
.typed { position: absolute; z-index: 2; left: calc(38.7 * var(--u)); top: calc(332.8 * var(--u)); font: 400 calc(16.8 * var(--u))/1 var(--sans);
  color: #11151C; letter-spacing: -.005em; white-space: nowrap; }
.typed .caret { display: inline-block; width: calc(1.6 * var(--u)); height: calc(19 * var(--u)); background: var(--lake); vertical-align: calc(-3.6 * var(--u)); margin-left: 1px;
  animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }

/* question kinds */
.kinds { margin-top: clamp(96px, 12vw, 160px); }
.kinds__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 44px 0 0; padding: 0; list-style: none; }
@media (min-width: 700px) { .kinds__grid { grid-template-columns: repeat(4, 1fr); gap: 16px; } }
.kind { position: relative; background: rgba(255, 255, 255, .78); border-radius: 22px; padding: 20px 18px 20px; box-shadow: var(--shadow-card); min-height: 142px; }
.kind__ic { width: 36px; height: 36px; border-radius: 11px; background: var(--porcelain); display: grid; place-items: center; box-shadow: 0 0 0 1px var(--line) inset; }
.kind__ic svg { width: 18px; height: 18px; }
.kind h3 { font-size: 18px; font-weight: 600; letter-spacing: -.015em; margin: 16px 0 4px; }
.kind p { margin: 0; font-size: 14.5px; line-height: 1.4; color: var(--ink-2); }
.kind .pro-tag, .kind .free-tag { position: absolute; top: 18px; right: 16px; margin: 0; }
.tpl { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.tpl__label { font: 500 12.5px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); margin-right: 6px; width: 100%; }
@media (min-width: 700px) { .tpl__label { width: auto; } }
.chip { display: inline-block; font-size: 15px; font-weight: 500; padding: 9px 14px; border-radius: 14px; background: rgba(255, 255, 255, .7); box-shadow: 0 0 0 1.5px var(--line) inset; }
.ask { margin: 28px 0 0; color: var(--ink-2); max-width: 46em; }
.ask b { color: var(--ink); font-weight: 600; }
.builder { display: grid; gap: 40px; margin-top: 56px; align-items: center; }
@media (min-width: 1024px) { .builder { grid-template-columns: auto 1fr; gap: 72px; } }
.builder .phone { margin: 0 auto; }
.builder__sheet { position: absolute; left: 50%; bottom: -40px; width: 112%; max-width: 420px; transform: translateX(-50%); border-radius: 22px; overflow: hidden;
  box-shadow: var(--shadow-float); display: none; }

/* ------------------------------------------------------------ bento */
.bento { display: grid; gap: 16px; margin-top: 56px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .bento { grid-template-columns: repeat(6, 1fr); gap: 20px; } }
.card { position: relative; background: var(--paper); border-radius: var(--radius-card); box-shadow: var(--shadow-card); overflow: hidden; display: flex; flex-direction: column; }
.card__head { padding: 26px 26px 0; }
.card__head h3 { font-size: 21px; font-weight: 600; letter-spacing: -.02em; margin: 0; }
.card__head p { margin: 6px 0 0; color: var(--ink-2); font-size: 15.5px; line-height: 1.45; max-width: 30em; }
.card__media { margin-top: auto; padding: 20px 14px 0; position: relative; }
.card__media img { width: 100%; border-radius: 18px 18px 0 0; }
.card__media--inset { padding: 18px 18px 18px; margin-bottom: auto; }
.card__media--inset img { border-radius: 16px; box-shadow: 0 0 0 1px var(--line); }
@media (min-width: 1100px) {
  .c-week { grid-column: span 4; grid-row: span 2; }
  .c-year { grid-column: span 2; grid-row: span 2; }
  .c-ins { grid-column: span 3; }
  .c-chart { grid-column: span 3; }
  .c-hist { grid-column: span 3; }
  .c-recap { grid-column: span 3; }
}
@media (min-width: 760px) and (max-width: 1099px) { .c-week { grid-column: span 2; } }
.crop { overflow: hidden; }
.crop img { width: 100%; }
.c-year .card__media { padding: 18px 0 0; margin-bottom: auto; }
.c-year .card__media img { border-radius: 0; }
.c-hist .card__media, .c-recap .card__media { max-height: 420px; overflow: hidden; -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent); mask-image: linear-gradient(180deg, #000 70%, transparent); }

/* reveal curtains (Year in minutes dots, the focus line) */
.curtain { position: absolute; z-index: 2; background: #fff; transform-origin: 100% 50%; transform: scaleX(0); pointer-events: none; }
.has-motion .curtained .curtain { transform: scaleX(1); }
.has-motion .curtained.is-shown .curtain { transform: scaleX(0); transition: transform 2.4s var(--ease-io); }

/* the week timeline (drawn here, in the app's own style) */
.tl { padding: 22px 22px 26px; --hour: 15px; }
@media (min-width: 560px) { .tl { --hour: 17px; } }
@media (min-width: 1100px) { .tl { --hour: 19px; padding: 26px 30px 30px; } }
.tl__top { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; flex-wrap: wrap; }

.tl__range { font-weight: 600; font-size: 19px; letter-spacing: -.015em; }
.tl__sum { font: 400 14px/1.2 var(--mono); color: var(--ink-3); margin-top: 4px; }
.tl__seg { display: inline-flex; background: var(--porcelain); border-radius: 12px; padding: 3px; font-size: 13.5px; font-weight: 500; color: var(--ink-3); }
.tl__seg span { padding: 6px 11px; border-radius: 9px; }
.tl__seg .on { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(17, 21, 28, .1); }
.tl__grid { position: relative; display: grid; grid-template-columns: 34px repeat(7, 1fr); column-gap: 6px; margin-top: 18px; }
.tl__dh { text-align: center; font-size: 13px; color: var(--ink-2); line-height: 1.2; padding-bottom: 8px; }
.tl__dh b { display: block; font: 500 15px/1.5 var(--mono); color: var(--ink); }
.tl__dh.today b { width: fit-content; min-width: 26px; margin: 0 auto; background: var(--ink); color: #fff; border-radius: 999px; padding: 0 7px; }
.tl__hours { position: relative; height: calc(15 * var(--hour)); }
.tl__hours span { position: absolute; right: 2px; font: 400 11px/1 var(--mono); color: var(--ink-3); transform: translateY(-50%); }
.tl__col { position: relative; height: calc(15 * var(--hour)); background: repeating-linear-gradient(180deg, var(--line) 0 1px, transparent 1px calc(var(--hour) * 3)); border-radius: 0; }
.tl__col.today { background-color: #F1F3F6; border-radius: 10px; }
.blk { position: absolute; left: 2px; right: 2px; top: calc((var(--s) - 7) * var(--hour)); height: calc((var(--e) - var(--s)) * var(--hour)); min-height: 5px; border-radius: 6px; }
.blk.dw { background: var(--indigo); } .blk.rd { background: var(--teal); } .blk.gt { background: var(--amber); }
.has-motion .tl.is-live .blk { opacity: 0; transform: translateY(-6px) scaleY(.6); transform-origin: 50% 0; transition: opacity .35s ease-out, transform .5s var(--ease); }
.has-motion .tl.is-live .blk.is-on { opacity: 1; transform: none; }
.tl__tot { text-align: center; font: 500 14px/1 var(--mono); padding-top: 10px; color: var(--ink); }
.tl__tot small { font-size: 11px; color: var(--ink-3); font-weight: 400; }
.tl__legend { display: flex; justify-content: center; gap: 18px; margin-top: 18px; font-size: 14px; color: var(--ink-2); flex-wrap: wrap; }
.tl__legend i { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 7px; vertical-align: 1px; }
.card .demo-toggle { right: 14px; bottom: 14px; }
@media (max-width: 480px) { .has-motion .tl .tl__legend { justify-content: flex-start; padding-right: 48px; } .tl .tl__seg { display: none; } .tl .tl__tot { font-size: 11.5px; letter-spacing: -.04em; } .tl .tl__grid { grid-template-columns: 28px repeat(7, 1fr); column-gap: 4px; } }

/* ------------------------------------------------------------ lock screens */
.lock { background: linear-gradient(180deg, #1E2C44 0, #1E2C44 calc(47 * var(--u)), transparent calc(47 * var(--u))),
  linear-gradient(180deg, #5F7996 calc(310 * var(--u)), #96AABE calc(613 * var(--u)), #B4C4D3 100%); }
.lock .lock-top { position: absolute; left: 0; top: calc(47 * var(--u)); width: 100%; height: calc(263.4 * var(--u)); }
.lock .lock-top img { width: 100%; height: 100%; }
.lockbtn { position: absolute; z-index: 4; bottom: calc(30 * var(--u)); width: calc(50 * var(--u)); height: calc(50 * var(--u)); border-radius: 50%;
  background: rgba(20, 26, 40, .42); display: grid; place-items: center; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.lockbtn svg { width: calc(22 * var(--u)); height: calc(22 * var(--u)); }
.lockbtn--l { left: calc(45 * var(--u)); } .lockbtn--r { right: calc(45 * var(--u)); }
.notif { position: absolute; z-index: 6; left: calc(10 * var(--u)); right: calc(10 * var(--u)); top: calc(560 * var(--u)); display: flex; gap: calc(11 * var(--u));
  padding: calc(13 * var(--u)) calc(15 * var(--u)) calc(14 * var(--u)) calc(13 * var(--u)); border-radius: calc(24 * var(--u));
  background: rgba(250, 251, 253, .9); -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: 0 calc(16 * var(--u)) calc(34 * var(--u)) calc(-12 * var(--u)) rgba(17, 21, 28, .45); color: var(--ink); }
.notif img { width: calc(38 * var(--u)); height: calc(38 * var(--u)); border-radius: calc(9 * var(--u)); flex: none; margin-top: calc(1 * var(--u)); }
.notif__t { flex: 1; min-width: 0; }
.notif__h { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.notif__h b { font-weight: 600; font-size: calc(15 * var(--u)); letter-spacing: -.01em; }
.notif__h span { font-size: calc(12.5 * var(--u)); color: #7B8594; }
.notif p { margin: calc(2 * var(--u)) 0 0; font-size: calc(14.2 * var(--u)); line-height: 1.3; }
.has-motion .notif-live { transform: translateY(calc(70 * var(--u))) scale(.92); opacity: 0; transition: transform .7s var(--ease), opacity .45s ease-out; }
.has-motion .notif-live.is-on { transform: none; opacity: 1; }

.la { position: absolute; z-index: 5; left: calc(12 * var(--u)); width: calc(378 * var(--u)); bottom: calc(96 * var(--u)); height: calc(150 * var(--u)); }
.la img { width: 100%; height: 100%; }
.la .ov-la { position: absolute; left: calc(15.6 * var(--u)); top: calc(52.1 * var(--u)); font: 400 calc(35.3 * var(--u))/1 var(--mono); color: #fff; letter-spacing: -.06em; white-space: nowrap; }
.la .ov-la-week { position: absolute; left: calc(15.7 * var(--u)); top: calc(121.8 * var(--u)); font: 400 calc(11.8 * var(--u))/1 var(--mono); color: #A7B0BC; white-space: nowrap; }

/* Dynamic Island, compact (drawn here, after the app's island snapshot) */
.di { display: inline-flex; align-items: center; justify-content: space-between; gap: 40px; width: 210px; height: 40px; padding: 0 16px 0 9px; border-radius: 999px; background: #000; color: #fff;
  box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .6); }
.di__dot { width: 24px; height: 24px; border-radius: 50%; background: #22243A; display: grid; place-items: center; }
.di__dot::after { content: ""; width: 14px; height: 14px; border-radius: 50%; background: #8B93F2; }
.di b { font: 400 20px/1 var(--mono); letter-spacing: -.02em; }

.widgets { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; width: 100%; max-width: 380px; margin: 0 auto; }
.widgets .w-wide { grid-column: span 2; }
.widgets img { width: 100%; filter: drop-shadow(0 18px 24px rgba(0, 0, 0, .35)); }
.lock-stage { display: grid; gap: 40px; justify-items: center; }
@media (min-width: 720px) { .lock-stage { grid-template-columns: auto 1fr; align-items: center; gap: 40px; } }
@media (min-width: 1024px) { .lock-stage { gap: 56px; } }
.cap { display: block; text-align: center; font: 500 12px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--night-ink-2); margin-top: 14px; }
.side-stack { display: grid; gap: 40px; justify-items: center; }

/* sunset: a breath of sky between day and night */
.sunset { position: relative; height: clamp(260px, 52vh, 540px); overflow: hidden; }
@media (max-width: 600px) { .sunset { height: 300px; } .sunset__sun { width: 220px; height: 220px; margin-left: -110px; } }
.sunset__sun { position: absolute; left: 50%; top: 30%; width: 300px; height: 300px; margin-left: -150px; border-radius: 50%;
  background: radial-gradient(circle, #FBDDBB 0 24%, rgba(251, 214, 182, .5) 25% 50%, rgba(251, 214, 182, 0) 70%); }
.split__media .marko-side { position: absolute; z-index: 3; width: 170px; left: calc(50% - 330px); bottom: -34px; }
@media (max-width: 1023px) { .split__media .marko-side { left: calc(50% - 250px); bottom: -40px; width: 130px; } }
@media (max-width: 560px) { .split__media .marko-side { left: -6px; width: 112px; bottom: -44px; } }

/* ------------------------------------------------------------ Marko */
.marko-stage { position: relative; }
.marko-stage .marko-side { position: absolute; z-index: 3; width: clamp(120px, 15vw, 190px); left: -6%; bottom: -24px; }
.gems { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.gem-pill { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 10px; border-radius: 999px; background: rgba(242, 244, 247, .1); box-shadow: 0 0 0 1px rgba(242, 244, 247, .14) inset; font-size: 15px; }
.gem-pill svg { width: 18px; height: 18px; }
.icons-row { display: flex; gap: clamp(10px, 2.4vw, 14px); margin-top: 34px; flex-wrap: wrap; align-items: flex-end; }
.icons-row figure { margin: 0; text-align: center; }
.icons-row img { width: clamp(50px, 13vw, 62px); height: clamp(50px, 13vw, 62px); border-radius: 15px; box-shadow: 0 12px 24px -12px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .08); }
.icons-row figcaption { font-size: 12.5px; color: var(--night-ink-2); margin-top: 8px; }
.wear-shots .shot { transition: opacity .9s var(--ease-io); }

/* ------------------------------------------------------------ privacy */
.priv { display: grid; gap: 16px; margin-top: 56px; }
@media (min-width: 760px) { .priv { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .priv { grid-template-columns: repeat(4, 1fr); gap: 20px; } }
.pcard { border-radius: var(--radius-card); padding: 26px 24px 28px; background: rgba(242, 244, 247, .06); box-shadow: 0 0 0 1px var(--night-line) inset; }
.pcard__ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(242, 244, 247, .1); }
.pcard__ic svg { width: 20px; height: 20px; }
.pcard h3 { font-size: 20px; font-weight: 600; letter-spacing: -.02em; margin: 20px 0 8px; }
.pcard p { margin: 0; color: var(--night-ink-2); font-size: 15.5px; line-height: 1.5; }
.priv-proof { display: grid; gap: 28px; margin-top: 44px; align-items: center; }
@media (min-width: 900px) { .priv-proof { grid-template-columns: 1.1fr 1fr; gap: 56px; } }
.priv-proof figure { margin: 0; }
.priv-proof figure { max-width: 520px; }
.priv-proof img { border-radius: 22px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7); }
.priv-proof figcaption { font: 500 12px/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--night-ink-2); margin-top: 14px; }
.textlink { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; border-bottom: 1.5px solid currentColor; padding-bottom: 2px; }
.textlink svg { width: 14px; height: 14px; }

/* ------------------------------------------------------------ Pro */
.plans { display: grid; gap: 16px; margin-top: 56px; }
@media (min-width: 720px) { .plans { grid-template-columns: 1fr 1fr; gap: 16px; } }
@media (min-width: 1024px) { .plans { gap: 20px; } }
.plan { border-radius: 30px; padding: 32px 28px 34px; }
.plan--free { background: rgba(242, 244, 247, .06); box-shadow: 0 0 0 1px var(--night-line) inset; }
.plan--pro { background: var(--porcelain); color: var(--ink); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .7); position: relative; overflow: hidden; }
.plan--pro::before { content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(88, 183, 219, .22), rgba(88, 183, 219, 0) 70%); }
.plan h3 { font-size: 26px; font-weight: 600; letter-spacing: -.025em; margin: 0; }
.plan__sub { margin: 6px 0 0; color: var(--night-ink-2); font-size: 15.5px; }
.plan--pro .plan__sub { color: var(--ink-2); }
.plan ul { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 13px; }
.plan li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: 16px; line-height: 1.45; }
.plan li svg { width: 18px; height: 18px; margin-top: 3px; }
.plan--free li svg { color: var(--night-ink-2); }
.plan--pro li svg { color: var(--indigo); }
.fine { margin: 26px 0 0; font-size: 14.5px; color: var(--night-ink-2); max-width: 52em; line-height: 1.6; }

/* ------------------------------------------------------------ FAQ */
.faq { margin-top: 48px; border-top: 1px solid var(--night-line); }
.faq details { border-bottom: 1px solid var(--night-line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 2px;
  font-weight: 600; font-size: clamp(17px, 1.8vw, 20px); letter-spacing: -.015em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 12px; height: 12px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: translateY(-3px) rotate(45deg); transition: transform .3s var(--ease); opacity: .7; }
.faq details[open] summary::after { transform: translateY(3px) rotate(225deg); }
.faq .a { padding: 0 2px 24px; color: var(--night-ink-2); max-width: 46em; }
.faq .a p { margin: 0 0 10px; }
.faq .a a { color: var(--night-ink); }
.faq-wrap { max-width: 880px; }

/* ------------------------------------------------------------ the end: back at the burrow */
.end { position: relative; overflow: hidden; padding: clamp(96px, 12vw, 160px) 0 0; background: linear-gradient(180deg, #1B2340 0%, #1B2341 50%, #1C2443 100%); }
.end__copy .lede { margin-left: auto; margin-right: auto; }
.end__copy { position: relative; z-index: 3; text-align: center; }
.end__moon { position: absolute; z-index: 0; right: 8%; top: 44px; width: 70px; height: 70px; border-radius: 50%; background: transparent;
  box-shadow: 18px -8px 0 0 var(--moon); filter: drop-shadow(0 0 24px rgba(244, 239, 226, .25)); }
@media (max-width: 600px) { .end__moon { right: 14%; top: 22px; width: 44px; height: 44px; box-shadow: 11px -5px 0 0 var(--moon); } }
.end__scene { position: relative; height: clamp(300px, 34vw, 440px); margin-top: 40px; }
.end__scene .land--back { bottom: 70px; height: clamp(200px, 26vw, 340px); }
.end__scene .land--front { height: clamp(180px, 22vw, 280px); }
.end__marko { position: absolute; z-index: 4; left: 50%; bottom: 10px; width: clamp(150px, 17vw, 230px); transform: translateX(-50%); }
.end__marko .mound { position: absolute; left: -22%; right: -22%; bottom: 3%; height: 34%; }
.end__marko .bubble { bottom: 92%; left: 64%; width: 190px; }
@media (max-width: 600px) { .end__marko .bubble { left: auto; right: 70%; width: 160px; font-size: 13.5px; } .end__marko { left: 62%; } }
.foot { position: relative; z-index: 5; background: #141A2E; color: var(--night-ink-2); padding: 34px 0 40px; font-size: 14.5px; }
.foot__in { display: grid; gap: 22px; }
@media (min-width: 900px) { .foot__in { grid-template-columns: 1fr auto; align-items: center; } }
.foot .brand { color: var(--night-ink); font-size: 17px; }
.foot .brand img { width: 26px; height: 26px; }
.foot__links { display: flex; flex-wrap: wrap; gap: 0 10px; margin: 0 -10px; padding: 0; list-style: none; }
.foot__links a { display: inline-block; padding: 12px 10px; text-decoration: none; color: var(--night-ink); opacity: .85; }
.foot__links a:hover { opacity: 1; text-decoration: underline; }
.foot__legal { margin: 0; font-size: 13px; line-height: 1.6; opacity: .85; }
.foot__legal p { margin: 4px 0 0; }

/* ------------------------------------------------------------ legal and support pages */
.page { background: linear-gradient(180deg, #E8E2EE 0, #EDE8F0 180px, var(--porcelain) 420px); min-height: 100vh; }
.page-head { padding-top: 132px; padding-bottom: 40px; }
@media (max-width: 600px) { .page-head { padding-top: 108px; } }
.page-head .h2 { font-size: clamp(40px, 6vw, 68px); }
.page-head .lede { max-width: 38em; }
.doc { background: var(--paper); border-radius: 30px; box-shadow: var(--shadow-card); padding: clamp(20px, 5vw, 64px); margin-bottom: 80px; }
@media (max-width: 600px) { .doc { border-radius: 24px; } .toc ol { gap: 6px; } }
.doc__grid { display: grid; gap: 40px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1024px) { .doc__grid { grid-template-columns: 230px minmax(0, 1fr); gap: 64px; } }
.toc { font-size: 14.5px; }
.toc b { display: block; font: 500 12px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 14px; }
.toc ol { margin: 0; padding: 0 0 0 18px; display: grid; gap: 8px; color: var(--ink-2); }
.toc a { text-decoration: none; }
.toc a:hover { text-decoration: underline; }
@media (min-width: 1024px) { .toc { position: sticky; top: 90px; align-self: start; } }
.prose { max-width: 44em; font-size: 16.5px; line-height: 1.65; color: #2A313C; }
.prose h2 { font-size: 26px; font-weight: 600; letter-spacing: -.02em; color: var(--ink); margin: 52px 0 14px; line-height: 1.2; scroll-margin-top: 90px; }
.prose h2:first-child { margin-top: 0; }
.prose section + section { margin-top: 52px; }
.prose h3 { font-size: 19px; font-weight: 600; letter-spacing: -.015em; color: var(--ink); margin: 30px 0 8px; }
.prose p { margin: 0 0 14px; }
.prose ul, .prose ol { margin: 0 0 16px; padding-left: 22px; }
.prose li { margin: 6px 0; }
.prose a { color: var(--lake); text-underline-offset: 2px; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose table { width: 100%; border-collapse: collapse; margin: 8px 0 22px; font-size: 15px; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 12px 14px 12px 0; border-bottom: 1px solid var(--line); min-width: 140px; }
.prose th { font: 600 12px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
/* narrow screens: each row of a .stack table becomes a small card, with the column name above each cell */
@media (max-width: 640px) {
  .prose table.stack, .prose table.stack tbody, .prose table.stack tr, .prose table.stack td { display: block; width: auto; }
  .prose table.stack { overflow: visible; border-top: 1px solid var(--line); }
  .prose table.stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .prose table.stack tr { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .prose table.stack td { min-width: 0; padding: 4px 0; border: 0; }
  .prose table.stack td::before { content: attr(data-label); display: block; margin-bottom: 2px; font: 600 11px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
}
.callout { background: var(--porcelain); border-radius: 18px; padding: 18px 20px; margin: 0 0 22px; box-shadow: 0 0 0 1px var(--line) inset; }
.callout p:last-child { margin-bottom: 0; }
.meta-line { font: 400 14px/1.5 var(--mono); color: var(--ink-3); margin: 18px 0 0; }
.contact-card { display: grid; gap: 6px; background: var(--ink); color: #fff; border-radius: 24px; padding: 26px 26px 28px; margin: 0 0 40px; }
.contact-card a { color: #fff; font-weight: 600; font-size: clamp(20px, 2.4vw, 26px); letter-spacing: -.02em; }
.contact-card span { color: #B9C1D6; font-size: 15px; }
.qa { border-top: 1px solid var(--line); }
.qa details { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; padding: 18px 0; font-weight: 600; font-size: 18px; letter-spacing: -.012em; display: flex; justify-content: space-between; gap: 16px; align-items: center; color: var(--ink); }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ""; flex: none; width: 10px; height: 10px; border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3); transform: translateY(-3px) rotate(45deg); transition: transform .3s var(--ease); }
.qa details[open] summary::after { transform: translateY(3px) rotate(225deg); }
.qa .a { padding: 0 0 18px; }
.page-foot { background: #141A2E; }
.e404 { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 120px var(--gutter) 80px; }
.e404 img { width: 180px; margin: 0 auto 10px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
@media print {
  .nav, .foot, .end__scene, .toc { display: none !important; }
  .page { background: #fff; }
  .doc { box-shadow: none; padding: 0; }
}
