/* Fourth Watch, a page of logvan.com */

@font-face { font-family: "Newsreader"; src: url(fonts/newsreader-latin-opsz-normal.woff2) format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url(fonts/newsreader-latin-opsz-italic.woff2) format("woff2"); font-weight: 200 800; font-style: italic; font-display: swap; }
@font-face { font-family: "Figtree"; src: url(fonts/figtree-latin-wght-normal.woff2) format("woff2"); font-weight: 300 900; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url(fonts/jetbrains-mono-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; }

:root {
  --sky: #0c0d2e;
  --sky-deep: #06071a;
  --mist: #edebff;
  --muted: #aca8d6;
  --faint: #7d79a8;
  --rule: rgba(237, 235, 255, .12);
  --teal: #52e0be;
  --violet: #9888ff;
  --lantern: #ffd27f;
  --dawn: #f2a66d;
  --pane: rgba(22, 21, 58, .72);

  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --sans: "Figtree", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  /* iPhone chrome (status bar, banners, Lock Screen) uses the system font where there is one. */
  --ios: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Figtree", sans-serif;
  --ios-round: ui-rounded, "SF Pro Rounded", -apple-system, "Figtree", sans-serif;

  --measure: 34rem;
  --gutter: clamp(16px, 5vw, 48px);
  --page: 1160px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: #160f3a; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  color: var(--mist);
  font: 400 1.0625rem/1.6 var(--sans);
  background: #160f3a; /* the sky gradient's bottom color, a seamless base behind the fixed layer */
  -webkit-font-smoothing: antialiased;
  /* clip (not hidden) trims horizontal overflow without making body a scroll
     container, which on iOS would break the fixed sky layer and leave a seam */
  overflow-x: clip;
}

/* The sky stays put while the page scrolls (a fixed layer works on iPhone too). */
body::before {
  content: "";
  position: fixed; top: 0; left: 0; right: 0;
  height: 100vh;    /* fallback; iOS treats this as the large viewport */
  height: 100lvh;   /* large viewport height, so the sky covers under the iOS dynamic toolbar */
  z-index: -1;
  transform: translateZ(0);            /* promote to its own GPU layer so iOS keeps it steady, not drifting, on scroll */
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  background:
    radial-gradient(55rem 40rem at 4% -6%, rgba(82, 224, 190, .22), transparent 70%),
    radial-gradient(65rem 48rem at 102% 8%, rgba(152, 136, 255, .30), transparent 70%),
    radial-gradient(50rem 50rem at 35% 60%, rgba(64, 110, 235, .13), transparent 70%),
    radial-gradient(60rem 42rem at 92% 104%, rgba(214, 92, 200, .16), transparent 70%),
    linear-gradient(180deg, #080920, var(--sky) 45%, #160f3a);
}

a { color: inherit; text-decoration-color: rgba(237, 235, 255, .35); text-underline-offset: .2em; }
a:hover { text-decoration-color: var(--lantern); }
:focus-visible { outline: 2px solid var(--lantern); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: var(--page); margin: 0 auto; padding: 0 var(--gutter); }

/* logvan menu bar — matches logvan.com */
.menubar {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; gap: 22px;
  height: 30px; padding: 0 var(--gutter);
  font: 400 13px/1 var(--sans);
  color: var(--mist);
  background: rgba(20, 20, 26, .55);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.menubar .home { color: var(--mist); font-weight: 700; text-decoration: none; }
.menubar .menus { display: flex; gap: 22px; color: rgba(237, 235, 255, .85); }
.menubar .menus a { text-decoration: none; }
.menubar .menus a:hover { color: var(--mist); }
.menubar .right { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.menubar .right .app { color: rgba(237, 235, 255, .85); }
.menubar #clock { font-variant-numeric: tabular-nums; color: rgba(237, 235, 255, .92); }
@media (max-width: 620px) { .menubar .menus, .menubar .app { display: none; } }

/* type */
h1, h2, h3 { font-family: var(--serif); font-weight: 380; letter-spacing: -0.012em; margin: 0; }
h1 { font-size: clamp(3rem, 2rem + 5.2vw, 6.25rem); line-height: .98; font-variation-settings: "opsz" 72; }
h2 { font-size: clamp(2.2rem, 1.6rem + 2.6vw, 3.6rem); line-height: 1.04; font-variation-settings: "opsz" 60; text-wrap: balance; }
h3 { font-size: 1.35rem; line-height: 1.2; font-variation-settings: "opsz" 24; }
p { margin: 0; max-width: var(--measure); }
.lede { font-size: clamp(1.2rem, 1rem + .8vw, 1.5rem); line-height: 1.4; color: var(--mist); text-wrap: pretty; }
.kicker { font: 600 .8rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--teal); margin-bottom: 1.1rem; }

section { padding: clamp(4.5rem, 3rem + 7vw, 9rem) 0; }
section + section { border-top: 1px solid var(--rule); }
.head { text-align: center; }
.head > * { margin-left: auto; margin-right: auto; }
.head .lede { margin-top: 1.1rem; max-width: 36rem; }
.head p:not(.lede):not(.kicker) { margin-top: 1rem; color: var(--muted); max-width: 38rem; }

/* ------------------------------------------------------------------
   iPhone 17 Pro, drawn in CSS. Everything inside scales with the
   phone's width (container units), so one frame works at any size.
   1pt = the screen's width / 440, like a 6.9" iPhone.
   ------------------------------------------------------------------ */
.iphone { --w: 330px; width: var(--w); margin: 0; container-type: inline-size; flex: none; }
.iphone .body {
  --pt: calc(93.2cqw / 440);
  position: relative;
  padding: 1cqw;                                   /* the aluminium band */
  border-radius: 16.4cqw;
  background:
    linear-gradient(135deg, rgba(255,255,255,.32), rgba(255,255,255,0) 22%, rgba(255,255,255,0) 78%, rgba(255,255,255,.22)),
    linear-gradient(160deg, #46506f, #232a42 45%, #3b4562);
  box-shadow:
    0 0 0 .25cqw rgba(0,0,0,.55),
    0 4cqw 10cqw rgba(2, 2, 18, .55),
    0 12cqw 26cqw rgba(70, 50, 170, .2);
}
.iphone .body::before {                              /* black glass border around the display */
  content: ""; position: absolute; inset: 1cqw; border-radius: 15.4cqw; background: #000;
  box-shadow: inset 0 0 0 .2cqw rgba(255,255,255,.07);
}
.iphone .screen {
  position: relative; margin: 2.4cqw;
  aspect-ratio: 1320 / 2868;
  border-radius: 13cqw; overflow: hidden; background: var(--sky);
  isolation: isolate;
}
.iphone .screen > img { display: block; width: 100%; height: 100%; object-fit: cover; }
.iphone .screen::after {                             /* a faint reflection on the glass */
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 5;
  background: linear-gradient(118deg, rgba(255,255,255,.07), rgba(255,255,255,0) 34%);
}
.iphone .island {
  position: absolute; z-index: 4; top: calc(var(--pt) * 11); left: 50%; transform: translateX(-50%);
  width: calc(var(--pt) * 126); height: calc(var(--pt) * 37); border-radius: 999px; background: #000;
}
.iphone .status {
  position: absolute; z-index: 3; top: calc(var(--pt) * 11); left: 0; right: 0; height: calc(var(--pt) * 37);
  display: grid; grid-template-columns: 1fr calc(var(--pt) * 126) 1fr; align-items: center;
  font: 600 calc(var(--pt) * 17)/1 var(--ios); color: #fff; letter-spacing: -.01em;
}
.iphone .status .time { justify-self: center; padding-left: calc(var(--pt) * 10); }
.iphone .status .icons { grid-column: 3; justify-self: center; display: flex; align-items: center; gap: calc(var(--pt) * 6); padding-right: calc(var(--pt) * 6); }
.iphone .status svg { fill: #fff; color: #fff; display: block; }
.iphone .status .sig { width: calc(var(--pt) * 18); }
.iphone .status .wifi { width: calc(var(--pt) * 16); }
.iphone .status .batt { width: calc(var(--pt) * 27); }
.iphone .home-bar {
  position: absolute; z-index: 4; bottom: calc(var(--pt) * 8); left: 50%; transform: translateX(-50%);
  width: calc(var(--pt) * 146); height: calc(var(--pt) * 5); border-radius: 99px; background: rgba(255,255,255,.85);
}
.iphone .btn { position: absolute; width: .9cqw; border-radius: .5cqw; background: linear-gradient(90deg, #2a3150, #59638a); }
.iphone .btn.action   { left: -.7cqw; top: 22%; height: 7%; }
.iphone .btn.vol-up   { left: -.7cqw; top: 32%; height: 11%; }
.iphone .btn.vol-down { left: -.7cqw; top: 45%; height: 11%; }
.iphone .btn.side     { right: -.7cqw; top: 35%; height: 16%; background: linear-gradient(270deg, #2a3150, #59638a); }
.iphone .btn.camera   { right: -.5cqw; top: 63%; height: 9%; width: .7cqw; background: linear-gradient(270deg, #1b2036, #3c4462); }
.iphone figcaption { margin-top: 1.2rem; text-align: center; color: var(--muted); font-size: .98rem; }

/* A notification banner (iOS style) drawn over a screenshot. */
.banner {
  position: absolute; z-index: 6; top: calc(var(--pt) * 56); left: calc(var(--pt) * 10); right: calc(var(--pt) * 10);
  display: grid; grid-template-columns: calc(var(--pt) * 38) 1fr auto; gap: calc(var(--pt) * 10); align-items: center;
  padding: calc(var(--pt) * 13) calc(var(--pt) * 14);
  border-radius: calc(var(--pt) * 26);
  background: rgba(58, 54, 96, .62);
  backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%);
  box-shadow: 0 calc(var(--pt) * 10) calc(var(--pt) * 30) rgba(0,0,0,.35), inset 0 0 0 1px rgba(255,255,255,.14);
  font: 400 calc(var(--pt) * 15)/1.3 var(--ios); color: #fff; letter-spacing: -.01em;
}
.banner img { width: calc(var(--pt) * 38); height: calc(var(--pt) * 38); border-radius: calc(var(--pt) * 9); }
.banner b { display: block; font-weight: 600; }
.banner span { color: rgba(255,255,255,.85); }
.banner time { align-self: start; font-size: calc(var(--pt) * 13); color: rgba(255,255,255,.6); }
@media (prefers-reduced-motion: no-preference) {
  .banner { animation: drop .8s cubic-bezier(.2, .9, .25, 1.15) both; animation-timeline: view(); animation-range: entry 20% cover 40%; }
  @keyframes drop { from { opacity: 0; transform: translateY(-40%) scale(.94); } to { opacity: 1; transform: none; } }
}

/* hero */
.hero { padding-top: clamp(3rem, 2rem + 5vw, 6rem); padding-bottom: clamp(4rem, 3rem + 6vw, 8rem); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.app-icon { width: 96px; height: 96px; border-radius: 22.5%; box-shadow: 0 14px 40px rgba(0,0,0,.45), 0 0 0 1px rgba(255,255,255,.1); }
.hero h1 { margin-top: 1.75rem; }
.hero .lede { margin-top: 1.4rem; max-width: 30rem; }
.cta { margin-top: 2.4rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.store {
  display: inline-flex; align-items: center; gap: .6rem;
  height: 56px; padding: 0 1.3rem 0 1.05rem; border-radius: 14px;
  background: #000; color: #fff; text-decoration: none;
  box-shadow: 0 0 0 1px rgba(255,255,255,.28), 0 12px 32px rgba(152, 136, 255, .22);
  font: 600 1.45rem/1 var(--ios); letter-spacing: -.02em;
}
.store svg { width: 30px; height: 30px; }
.store span { display: grid; }
.store small { font: 500 .72rem/1.2 var(--ios); letter-spacing: 0; opacity: .9; }
.store:hover { background: #111; box-shadow: 0 0 0 1px rgba(255,255,255,.45), 0 12px 32px rgba(152, 136, 255, .3); }
.fine { color: var(--faint); font-size: .92rem; line-height: 1.5; }

.hero-phones { position: relative; width: 470px; height: 690px; }
.hero-phones .iphone { position: absolute; }
.hero-phones .front { --w: 320px; left: 0; top: 0; z-index: 2; }
.hero-phones .back { --w: 280px; right: 0; top: 70px; z-index: 1; filter: brightness(.82); transform: rotate(4deg); }
@media (max-width: 960px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero .text { text-align: center; }
  .hero .text > * { margin-left: auto; margin-right: auto; }
  .cta { justify-content: center; }
  .hero-phones { justify-self: center; }
}
@media (max-width: 520px) {
  .hero-phones { width: 100%; max-width: 360px; height: auto; aspect-ratio: 470 / 690; }
  .hero-phones .front { --w: 68%; }
  .hero-phones .back { --w: 54%; top: 10%; right: 3%; }
}

/* sync: two phones and a notification */
.sync .pair { margin-top: clamp(3rem, 6vw, 4.5rem); display: flex; justify-content: center; align-items: flex-start; gap: clamp(.75rem, 3vw, 2rem); }
.sync .iphone { --w: min(320px, 42vw); }
.sync .iphone.right { margin-top: 3.5rem; }
.sync .arc { width: clamp(60px, 9vw, 120px); align-self: center; margin-top: -6rem; }
@media (max-width: 720px) { .sync .arc { display: none; } .sync .iphone.right { margin-top: 2rem; } }
.points { list-style: none; padding: 0; margin: clamp(3rem, 6vw, 4.5rem) auto 0; max-width: 62rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 1.5rem 2.5rem; }
.points li { color: var(--muted); }
.points b { display: block; color: var(--mist); font-weight: 650; margin-bottom: .25rem; }

/* Lock Screen with the Live Activity */
.lockscreen .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.lockscreen .text p:not(.kicker) { margin-top: 1.2rem; color: var(--muted); }
.lockscreen .text p.lede { color: var(--mist); }
.lockscreen .text b { color: var(--mist); font-weight: 600; }
.lock-phone { --w: 330px; }
@media (max-width: 860px) {
  .lockscreen .wrap { grid-template-columns: 1fr; }
  .lock-phone { justify-self: center; --w: min(330px, 78vw); }
}
.lock {
  position: absolute; inset: 0; z-index: 1;
  font-family: var(--ios); color: #fff;
  background:
    radial-gradient(120% 60% at 20% 8%, rgba(82, 224, 190, .38), transparent 60%),
    radial-gradient(110% 70% at 95% 30%, rgba(152, 136, 255, .55), transparent 65%),
    radial-gradient(90% 60% at 10% 85%, rgba(214, 92, 200, .30), transparent 70%),
    linear-gradient(180deg, #0a0c2a, #1c1550 60%, #120c33);
}
.lock-date { position: absolute; top: calc(var(--pt) * 92); width: 100%; text-align: center; font: 600 calc(var(--pt) * 21)/1 var(--ios); opacity: .92; }
.lock-clock {
  position: absolute; top: calc(var(--pt) * 112); width: 100%; text-align: center;
  font: 700 calc(var(--pt) * 112)/1 var(--ios-round); letter-spacing: -.03em; font-variant-numeric: tabular-nums;
  color: rgba(255,255,255,.94);
}
.activity {
  position: absolute; left: calc(var(--pt) * 14); right: calc(var(--pt) * 14); bottom: calc(var(--pt) * 136);
  display: grid; grid-template-columns: 1fr calc(var(--pt) * 136); gap: calc(var(--pt) * 12); align-items: center;
  padding: calc(var(--pt) * 14) calc(var(--pt) * 16);
  border-radius: calc(var(--pt) * 24);
  background: rgb(20, 28, 61);                       /* the Live Activity's own background (night sea) */
  box-shadow: 0 calc(var(--pt) * 8) calc(var(--pt) * 28) rgba(0,0,0,.35);
}
.a-title { display: flex; align-items: center; gap: calc(var(--pt) * 5); font: 600 calc(var(--pt) * 15)/1.3 var(--ios); color: rgba(255,255,255,.9); }
.a-title svg { width: calc(var(--pt) * 16); fill: #ffd480; }
.a-timer { font: 600 calc(var(--pt) * 34)/1.15 var(--ios-round); font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.a-sub { font-size: calc(var(--pt) * 12); line-height: 1.35; color: rgba(255,255,255,.8); white-space: nowrap; }
.a-buttons { display: grid; gap: calc(var(--pt) * 8); }
.a-btn {
  display: flex; align-items: center; justify-content: center; gap: calc(var(--pt) * 4);
  padding: calc(var(--pt) * 9) calc(var(--pt) * 6); border-radius: 999px;
  font: 600 calc(var(--pt) * 12)/1 var(--ios); white-space: nowrap;
  background: rgba(255,255,255,.25); color: #fff;
}
.a-btn.primary { background: rgba(255,255,255,.95); color: rgb(33, 51, 102); }
.a-btn svg { width: calc(var(--pt) * 14); fill: currentColor; }
.lock-actions { position: absolute; left: calc(var(--pt) * 46); right: calc(var(--pt) * 46); bottom: calc(var(--pt) * 48); display: flex; justify-content: space-between; }
.lock-actions span {
  width: calc(var(--pt) * 50); height: calc(var(--pt) * 50); border-radius: 50%; display: grid; place-items: center;
  background: rgba(30, 26, 60, .45); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.lock-actions svg { width: calc(var(--pt) * 22); fill: #fff; }

/* insights gallery: swipe on a phone, all four side by side on a wide screen */
.gallery { margin-top: clamp(3rem, 6vw, 4.5rem); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.gallery::-webkit-scrollbar { display: none; }
.gallery ol {
  list-style: none; margin: 0 auto; padding: 1rem var(--gutter) 3rem;
  display: grid; grid-auto-flow: column; grid-auto-columns: 256px; gap: clamp(1.25rem, 3vw, 2.5rem);
  width: max-content; max-width: none;
}
.gallery li { scroll-snap-align: center; }
.gallery .iphone { --w: 256px; }
.gallery h3 { margin-top: 1.6rem; text-align: center; }
.gallery p { margin: .45rem auto 0; text-align: center; color: var(--muted); font-size: .98rem; max-width: 15rem; }
@media (min-width: 1180px) { .gallery ol { width: auto; justify-content: center; } }

/* growth */
.growth .wrap { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(2rem, 7vw, 7rem); align-items: center; }
.growth .iphone { --w: 330px; }
.growth .lede { margin-top: 1.1rem; }
.checks { list-style: none; padding: 0; margin: 1.8rem 0 0; display: grid; gap: .95rem; max-width: 32rem; }
.checks li { position: relative; padding-left: 2rem; color: var(--muted); }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 1.25rem; height: 1.25rem; border-radius: 50%;
  background: rgba(255, 210, 127, .16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m5.5 10.5 3 3 6-7' fill='none' stroke='%23ffd27f' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 80% no-repeat;
}
@media (max-width: 860px) {
  .growth .wrap { grid-template-columns: 1fr; }
  .growth .iphone { justify-self: center; --w: min(330px, 78vw); order: 2; }
}

/* small features, as iOS-style tiles */
.more h2 { text-align: center; }
.tiles { list-style: none; padding: 0; margin: clamp(2.5rem, 5vw, 3.5rem) 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(15.5rem, 1fr)); gap: 1rem; }
.tiles li {
  padding: 1.4rem 1.4rem 1.5rem; border-radius: 26px;
  background: rgba(30, 28, 72, .55);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.07);
}
.tiles h3 { margin-top: 1rem; font: 650 1.05rem/1.3 var(--sans); letter-spacing: 0; }
.tiles p { margin-top: .35rem; color: var(--muted); font-size: .97rem; line-height: 1.5; }
.glyph {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px;
  background: linear-gradient(160deg, #8f7dff, #5a4bd6);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 6px 16px rgba(80, 60, 200, .35);
}
.tiles li:nth-child(4n+2) .glyph { background: linear-gradient(160deg, #5be8c5, #22a68b); box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 6px 16px rgba(30, 160, 130, .3); }
.tiles li:nth-child(4n+3) .glyph { background: linear-gradient(160deg, #ffd88a, #e9a24f); box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 6px 16px rgba(220, 150, 60, .3); }
.tiles li:nth-child(4n+4) .glyph { background: linear-gradient(160deg, #f59ad6, #c2569e); box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 6px 16px rgba(190, 80, 150, .3); }
.glyph svg { width: 26px; height: 26px; fill: #fff; color: #fff; }
@media (max-width: 560px) {
  .tiles { grid-template-columns: 1fr 1fr; gap: .75rem; }
  .tiles li { padding: 1.1rem 1rem 1.2rem; border-radius: 22px; }
  .tiles h3 { font-size: .98rem; margin-top: .8rem; }
  .tiles p { font-size: .9rem; }
  .glyph { width: 40px; height: 40px; border-radius: 10px; }
  .glyph svg { width: 22px; height: 22px; }
}

/* why the fourth watch */
.why {
  text-align: center;
  background: radial-gradient(48rem 26rem at 50% 38%, rgba(255, 210, 127, .07), transparent 70%);
}
.why h2 { max-width: 16ch; margin: 0 auto; }
.ribbon { margin: clamp(2.5rem, 5vw, 4rem) auto 0; max-width: 980px; }
.ribbon svg { display: block; width: 100%; height: auto; overflow: visible; }
.watches { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: .9rem; }
.watches div { padding: 0 .25rem; color: var(--faint); font-size: .92rem; line-height: 1.3; }
.watches b { display: block; font: 400 1.1rem/1.2 var(--serif); color: var(--muted); }
.watches .fourth b { color: var(--lantern); }
.watches .fourth { color: var(--muted); }
.now { margin-top: 1.4rem; color: var(--muted); font-size: .98rem; min-height: 1.6em; }
.verse { margin: clamp(3rem, 6vw, 4.5rem) auto 0; max-width: 40rem; }
.verse blockquote { margin: 0; font: italic 400 clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem)/1.25 var(--serif); font-variation-settings: "opsz" 48; }
.verse cite { display: block; margin-top: 1rem; font: 400 .95rem var(--sans); color: var(--faint); font-style: normal; }
.why .story { margin: 2.5rem auto 0; text-align: left; max-width: var(--measure); color: var(--muted); }
.why .story p + p { margin-top: 1rem; }
.why .story q { color: var(--mist); font-style: italic; font-family: var(--serif); font-size: 1.12em; }

/* privacy */
.privacy .wrap { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 6vw, 6rem); }
.privacy ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 1.1rem; }
.privacy li { padding-left: 1.6rem; position: relative; color: var(--muted); }
.privacy li::before { content: ""; position: absolute; left: 0; top: .55em; width: .55rem; height: .55rem; border-radius: 50%; background: var(--teal); box-shadow: 0 0 10px rgba(82, 224, 190, .6); }
.privacy li b { color: var(--mist); font-weight: 600; }
.privacy .link { margin-top: 1.75rem; }
@media (max-width: 860px) { .privacy .wrap { grid-template-columns: 1fr; } }

/* help */
.help .wrap { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 6vw, 6rem); }
.help details { border-bottom: 1px solid var(--rule); }
.help details:first-child { border-top: 1px solid var(--rule); }
.help summary { cursor: pointer; list-style: none; padding: 1.1rem 2rem 1.1rem 0; position: relative; font-weight: 600; }
.help summary::-webkit-details-marker { display: none; }
.help summary::after { content: "+"; position: absolute; right: .25rem; top: 50%; transform: translateY(-50%); font: 300 1.5rem/1 var(--sans); color: var(--muted); transition: transform .2s; }
.help details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.help details p { padding: 0 0 1.25rem; color: var(--muted); }
.help .contact { margin-top: 1.5rem; color: var(--muted); }
@media (max-width: 860px) { .help .wrap { grid-template-columns: 1fr; } }

/* footer: the logvan prompt */
footer { border-top: 1px solid var(--rule); padding: 2.5rem 0 3rem; font: 400 .9rem/1.6 var(--mono); color: var(--faint); }
footer .wrap { display: grid; gap: .75rem; }
footer .prompt { color: var(--muted); }
footer .prompt .cursor { display: inline-block; width: .55em; height: 1.05em; vertical-align: -.15em; background: var(--muted); margin-left: .35em; }
@media (prefers-reduced-motion: no-preference) { footer .prompt .cursor { animation: blink 1.1s steps(1) infinite; } @keyframes blink { 50% { opacity: 0; } } }
footer nav { display: flex; flex-wrap: wrap; gap: .4rem 1.5rem; }
footer .dedication { font-family: var(--sans); color: var(--faint); }

/* privacy policy page */
.policy { padding-top: clamp(3rem, 2rem + 4vw, 5rem); }
.policy .wrap { max-width: 46rem; }
.policy h1 { font-size: clamp(2.6rem, 2rem + 3vw, 4rem); }
.policy .dates { margin-top: .75rem; color: var(--faint); }
.policy h2 { font-size: 1.7rem; margin-top: 2.75rem; }
.policy p, .policy li { color: var(--muted); max-width: none; }
.policy p { margin-top: .9rem; }
.policy ul { padding-left: 1.2rem; margin: .9rem 0 0; }
.policy li { margin: .45rem 0; }
.policy strong { color: var(--mist); font-weight: 600; }
.policy .summary { margin-top: 2.25rem; padding: 1.5rem 1.6rem; border-radius: 22px; background: var(--pane); box-shadow: inset 0 0 0 1px var(--rule); }
.policy .summary h2 { margin-top: 0; }
.policy .back { display: inline-block; margin-bottom: 2rem; color: var(--muted); }
