/* Senja site. Hubot Sans Expanded carries times, phases and places; Mona Sans everything else,
   as in the app. The page is the ground the sun sets over: burnt brown, warmed by the hero's light. */

@font-face { font-family: "Hubot Expanded"; src: url(fonts/hubot_expanded_light.woff2) format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Hubot Expanded"; src: url(fonts/hubot_expanded_regular.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Mona Sans"; src: url(fonts/mona_regular.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Mona Sans"; src: url(fonts/mona_medium.woff2) format("woff2"); font-weight: 500; font-display: swap; }

:root {
  /* The ground follows the hero's hour (main.js); these are golden hour, the no-script page. */
  --ground: #2b170d;
  --ground-2: #331c10;
  --ground-3: #3d2213;
  --deep: #1d0f08;
  --nav-bg: rgba(37, 20, 11, .78);
  --nav-ring: rgba(60, 33, 18, .9);
  --mark-ink: #3d2112;
  --ivory: #f7e8d6;
  --ivory-2: #d9c2aa;
  --ivory-3: #b39880;
  --amber: #ffb777;
  --ember: #a94d16;
  --midnight: #101e2b;
  --gutter: clamp(20px, 5vw, 72px);
  --wide: 1240px;
  --display: "Hubot Expanded", "Mona Sans", system-ui, sans-serif;
  --text: "Mona Sans", system-ui, sans-serif;
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 .9 0 0 0 0 .8 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E");

  /* Set by main.js from the sun's altitude; these are golden hour, the no-script frame. */
  --sky-top: #e89a6e;
  --sky-low: #ffae74;
  --haze: #9a5a35;
  --hero-ink: #26140a;
  --hero-ink-2: rgba(38, 20, 10, .72);
  --horizon: 62%;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--ground) var(--grain);
  background-size: 220px 220px;
  color: var(--ivory);
  font: 400 17px/1.55 var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, dl, dd, figure { margin: 0; }
h2, h3 { text-wrap: balance; }
p, dd { text-wrap: pretty; }
ul { padding: 0; list-style: none; }
button, select, input { font: inherit; color: inherit; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 50; padding: 10px 16px; border-radius: 12px; background: var(--ivory); color: var(--ground); }
.skip:focus { top: 16px; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 6px; }

/* ---------- Nav: one contained bar, the app's own tray in miniature ---------- */
.nav {
  position: fixed; z-index: 40; top: 14px; left: 50%;
  translate: -50% 0;
  width: min(calc(100% - 28px), 980px);
  display: flex; align-items: center; gap: 12px;
  padding: 8px 8px 8px 18px;
  border-radius: 999px;
  background: var(--nav-bg);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  backdrop-filter: blur(14px) saturate(1.3);
  box-shadow: inset 0 1px 0 rgba(255, 220, 190, .12), 0 0 0 1px var(--nav-ring), 0 6px 14px -8px rgba(20, 8, 2, .7);
  animation: nav-in .9s cubic-bezier(.2, .8, .2, 1) both;
}
@keyframes nav-in { from { translate: -50% -14px; } }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 400 19px/1 var(--display); letter-spacing: .01em; }
/* The app's own launcher icon, at the corner radius a phone gives it. */
.mark { width: 32px; height: 32px; flex: none; border-radius: 9px; }
.nav nav { display: flex; gap: 2px; margin-left: auto; }
.nav nav a {
  text-decoration: none; font-size: 15px; color: var(--ivory-2);
  padding: 10px 14px; border-radius: 999px;
  transition: color .2s, background-color .2s;
}
.nav nav a:hover { color: var(--ivory); background: rgba(255, 220, 190, .07); }
.nav nav a.is-here { color: var(--ivory); }

/* The Play link: plain text until there is a real listing to link to. */
.play { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; text-decoration: none; }
.play:not([href]) { cursor: default; color: var(--ivory-3); }
.play--nav { font-size: 14px; padding: 10px 16px; }
.play[href] {
  color: var(--deep); background: var(--amber); border-radius: 999px; font-weight: 500;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 2px 3px -1px rgba(169, 77, 22, .5);
  transition: background-color .2s;
}
.play[href]:hover { background: #ffc794; }
.play--nav:not([href]) { margin-left: 4px; }

/* ---------- Hero: the live instrument ---------- */
.hero {
  position: relative; isolation: isolate;
  height: max(100svh, 680px);
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto minmax(0, 1fr) auto;
  grid-template-areas: "copy readout" "scene scene" "scrub scrub";
  padding: 112px var(--gutter) 28px;
  color: var(--hero-ink);
  background:
    linear-gradient(to bottom,
      var(--sky-top) 0%,
      var(--sky-low) calc(var(--horizon) - 60px),
      var(--haze) var(--horizon),
      var(--ground) calc(var(--horizon) + 170px),
      var(--ground) 100%);
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--grain); background-size: 220px 220px;
  pointer-events: none;
}
.hero-copy { grid-area: copy; max-width: 760px; }
.hero.is-dark .hero-copy, .hero.is-dark .readout { text-shadow: 0 1px 2px rgba(12, 18, 30, .35); }
h1 {
  font: 300 clamp(40px, 6.4vw, 96px)/1.02 var(--display);
  letter-spacing: -.012em;
}
.lede { margin-top: 20px; max-width: 30em; font-size: clamp(16px, 1.3vw, 19px); color: var(--hero-ink-2); }

.readout { grid-area: readout; text-align: right; padding-top: 6px; min-width: 15ch; }
.readout-phase { font: 300 clamp(20px, 1.9vw, 28px)/1.1 var(--display); }
.readout-time { font: 300 clamp(40px, 4.4vw, 64px)/1.05 var(--display); font-variant-numeric: tabular-nums; margin-top: 4px; }
.readout-meta { margin-top: 8px; font-size: 14px; color: var(--hero-ink-2); font-variant-numeric: tabular-nums; }
.readout-meta span + span::before { content: "\00B7"; margin: 0 .5em; }

.scene-wrap { grid-area: scene; position: relative; z-index: -1; min-height: 0; margin: 0 calc(var(--gutter) * -1); }
.scene { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.ring { fill: none; stroke: var(--ivory); stroke-opacity: .32; stroke-width: 1.5; }
.path { fill: none; stroke: var(--path-ink, #3a1c0c); stroke-opacity: .5; stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.path-under { fill: none; stroke: var(--ivory); stroke-opacity: .2; stroke-width: 2; stroke-dasharray: 2 9; stroke-linecap: round; }
.hour { fill: var(--path-ink, #3a1c0c); fill-opacity: .7; }
.hour-under { fill: var(--ivory); fill-opacity: .25; }
.sun { fill: #fff8ef; }

.scrub { grid-area: scrub; color: var(--ivory); max-width: var(--wide); width: 100%; justify-self: center; }
.scrub-head { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.place { position: relative; display: inline-flex; align-items: center; }
.place select {
  appearance: none; -webkit-appearance: none; field-sizing: content;
  background: transparent; border: 0; cursor: pointer;
  font: 400 clamp(22px, 2.2vw, 30px)/1.2 var(--display);
  padding: 6px 26px 6px 0; border-radius: 8px;
}
.place select option { background: var(--ground); color: var(--ivory); font-family: var(--text); font-size: 16px; }
.place svg { position: absolute; right: 4px; width: 16px; height: 16px; pointer-events: none; fill: none; stroke: var(--amber); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.scrub-summary { color: var(--ivory-2); font-size: 15px; font-variant-numeric: tabular-nums; }
.jumps { margin-left: auto; display: flex; gap: 4px; flex-wrap: wrap; }
.jumps button {
  border: 0; background: transparent; cursor: pointer;
  padding: 10px 14px; border-radius: 999px; font-size: 15px; color: var(--ivory-2);
  transition: background-color .2s, color .2s;
}
.jumps button:hover { color: var(--ivory); background: rgba(255, 220, 190, .08); }
.jumps button[data-jump="now"] { color: var(--ivory); box-shadow: inset 0 0 0 1px rgba(255, 220, 190, .28); }

.track { position: relative; margin-top: 46px; height: 64px; }
.ticks { position: absolute; left: 14px; right: 14px; top: 10px; height: 26px; display: flex; justify-content: space-between; align-items: flex-end; pointer-events: none; }
.ticks i { display: block; width: 2px; height: 10px; border-radius: 2px; background: currentColor; }
.ticks i.h { height: 20px; width: 2.5px; }
.bubble {
  position: absolute; bottom: 100%; left: 50%; margin-bottom: -4px;
  translate: -50% 0;
  padding: 6px 12px; border-radius: 999px;
  background: var(--ivory); color: var(--deep);
  font: 400 15px/1.2 var(--display); white-space: nowrap; font-variant-numeric: tabular-nums;
  pointer-events: none;
}
.track input {
  position: absolute; inset: 0 0 auto; width: 100%; height: 46px; margin: 0;
  appearance: none; -webkit-appearance: none; background: transparent; cursor: grab; touch-action: pan-y;
}
.track input:active { cursor: grabbing; }
.track input::-webkit-slider-runnable-track { height: 46px; background: transparent; }
.track input::-moz-range-track { height: 46px; background: transparent; }
.track input::-webkit-slider-thumb {
  -webkit-appearance: none; width: 28px; height: 28px; margin-top: 9px; border-radius: 50%;
  background: var(--ivory) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28'%3E%3Cpath d='M11.5 10 7.5 14l4 4M16.5 10l4 4-4 4' fill='none' stroke='%232b170d' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/28px no-repeat;
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--ground) 55%, transparent), 0 2px 3px rgba(20, 8, 2, .45);
}
.track input::-moz-range-thumb {
  width: 28px; height: 28px; border: 0; border-radius: 50%;
  background: var(--ivory) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28'%3E%3Cpath d='M11.5 10 7.5 14l4 4M16.5 10l4 4-4 4' fill='none' stroke='%232b170d' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/28px no-repeat;
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--ground) 55%, transparent), 0 2px 3px rgba(20, 8, 2, .45);
}
.track input:focus-visible { outline: none; }
.track input:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 3px var(--amber), 0 2px 3px rgba(20, 8, 2, .45); }
.track input:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 3px var(--amber), 0 2px 3px rgba(20, 8, 2, .45); }
.track-labels { position: absolute; left: 14px; right: 14px; top: 44px; height: 20px; font-size: 13px; color: var(--ivory-3); font-variant-numeric: tabular-nums; }
.track-labels span { position: absolute; translate: -50% 0; white-space: nowrap; }

@media (max-width: 860px) {
  .nav nav { display: none; }
  .play--nav { margin-left: auto !important; }
  .hero {
    height: auto; min-height: 100svh;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto minmax(0, 1fr) auto;
    grid-template-areas: "copy" "readout" "scene" "scrub";
    padding-top: 100px;
  }
  h1 { font-size: clamp(29px, 8.6vw, 64px); }
  .lede { margin-top: 14px; }
  .readout { text-align: left; padding-top: 16px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 14px; }
  .readout-time { order: -1; margin: 0; font-size: clamp(34px, 9vw, 52px); }
  .readout-meta { flex-basis: 100%; margin-top: 2px; }
  .scene-wrap { min-height: 0; aspect-ratio: 1200 / 540; margin: 6px calc(var(--gutter) * -0.6) 0; }
  .jumps { margin-left: -12px; }
  .jumps button { padding: 10px 12px; }
  .track { margin-top: 38px; }
  .scrub-head { gap: 6px 18px; }
}
@media (max-width: 860px) and (min-height: 700px) {
  .scene-wrap { aspect-ratio: auto; min-height: 190px; }
}
@media (max-width: 520px) {
  .jumps { margin-left: 0; width: 100%; justify-content: space-between; gap: 0; }
  .jumps button { padding: 10px 8px; }
}
@media (max-width: 400px) {
  .play--nav { font-size: 13px; padding: 10px 12px; }
  .jumps button { font-size: 14px; padding: 10px 6px; }
}

/* ---------- Uses ---------- */
.uses { padding: clamp(56px, 8vw, 110px) 0 clamp(40px, 6vw, 80px); overflow: hidden; }
.marquee { display: flex; width: max-content; animation: drift 70s linear infinite; }
.uses:hover .marquee { animation-play-state: paused; }
.marquee-row { display: flex; flex: none; }
.marquee-row li {
  display: flex; align-items: center; white-space: nowrap;
  font: 300 clamp(26px, 3.4vw, 48px)/1.2 var(--display); color: var(--ivory-2);
}
.marquee-row li::after {
  content: ""; width: 22px; height: 12px; margin: 0 clamp(22px, 2.6vw, 40px);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 12'%3E%3Cpath d='M5 10a6 6 0 0 1 12 0z' fill='%23ffb777'/%3E%3C/svg%3E") center/contain no-repeat;
}
@keyframes drift { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee { animation: none; display: block; width: auto; padding: 0 var(--gutter); }
  .marquee-row { flex-wrap: wrap; row-gap: 8px; }
  .marquee-row li { white-space: normal; font-size: clamp(22px, 5.6vw, 44px); }
  .marquee-row[aria-hidden] { display: none; }
}

/* ---------- Features: chapters beside one phone ---------- */
.features { position: relative; padding: 20px var(--gutter) clamp(60px, 8vw, 120px); }
.arcs { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.arcs path { fill: none; stroke: var(--amber); stroke-opacity: .075; stroke-width: 1.5; stroke-linecap: round; }
.features-grid { position: relative; max-width: var(--wide); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 420px); gap: clamp(32px, 6vw, 110px); }
.chapter { min-height: 86vh; display: flex; flex-direction: column; justify-content: center; max-width: 34rem; padding: 40px 0; }
.chapter h2 { font: 300 clamp(30px, 3.3vw, 48px)/1.1 var(--display); letter-spacing: -.01em; }
.chapter p { margin-top: 20px; color: var(--ivory-2); font-size: clamp(16px, 1.2vw, 18px); }
.chapter .tier { margin-top: 22px; font: 500 15px/1.4 var(--text); color: var(--ivory-3); }
.chapter .tier--golden { color: var(--amber); }
.chapter .note { margin-top: 14px; font-size: 15px; color: var(--ivory-3); }
.chapter h2, .chapter p { transition: opacity .5s; }
.js .chapter:not(.is-on) h2, .js .chapter:not(.is-on) p { opacity: .5; }

.device {
  position: relative; border-radius: 46px; padding: 10px;
  background: linear-gradient(160deg, var(--ground-3), var(--deep) 60%);
  box-shadow: inset 0 1px 0 rgba(255, 220, 190, .18), inset 0 0 0 1px rgba(255, 220, 190, .06), 0 18px 30px -18px rgba(10, 4, 1, .8);
}
.device img { border-radius: 36px; width: 100%; aspect-ratio: 9 / 20; object-fit: cover; }
.stage { position: sticky; top: 0; height: 100vh; padding: 88px 0 24px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 18px; }
.device--stage { width: min(100%, 360px, calc(45vh - 75px)); }
.device--stage .shot { position: absolute; inset: 10px; width: calc(100% - 20px); opacity: 0; transition: opacity .55s ease; }
.device--stage .shot:first-child { position: relative; inset: auto; width: 100%; }
.device--stage .shot.is-on { opacity: 1; }
.stage-note { font-size: 13px; color: var(--ivory-3); text-align: center; max-width: 30ch; }
.inline-shot { display: none; }
.shots-note { display: none; }

@media (max-width: 899px) {
  .features-grid { grid-template-columns: 1fr; }
  .stage { display: none; }
  .chapter { min-height: 0; padding: 48px 0; max-width: 40rem; margin: 0 auto; }
  .js .chapter:not(.is-on) h2, .js .chapter:not(.is-on) p { opacity: 1; }
  .chapter h2 { font-size: clamp(25px, 6.6vw, 40px); }
  .inline-shot { display: block; width: min(300px, 74vw); margin: 36px auto 0; }
  .shots-note { display: block; max-width: 40rem; margin: 0 auto; font-size: 14px; color: var(--ivory-3); }
}

/* ---------- Widgets ---------- */
.widgets { padding: clamp(70px, 9vw, 140px) var(--gutter); text-align: center; background: linear-gradient(to bottom, transparent, var(--ground-2) 30%, var(--ground-2) 70%, transparent); }
.widgets h2, .honest h2, .golden h2 { font: 300 clamp(32px, 4vw, 60px)/1.08 var(--display); letter-spacing: -.012em; }
.widgets-lede { margin: 18px auto 0; max-width: 34em; color: var(--ivory-2); }
.widget-row { margin: clamp(32px, 4vw, 56px) auto 0; max-width: var(--wide); display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.5vw, 36px); align-items: start; }
/* Size switch: one lit segment that slides to the size chosen. Only shown when it can work. */
.size-switch {
  position: relative; display: none; grid-template-columns: repeat(3, 1fr);
  margin: 36px auto 0; padding: 4px; width: min(100%, 330px); border-radius: 999px;
  background: rgba(255, 210, 170, .05);
  box-shadow: inset 0 0 0 1px rgba(255, 210, 170, .08);
}
.js .size-switch { display: grid; }
.size-switch::before {
  content: ""; position: absolute; top: 4px; bottom: 4px; left: 4px;
  width: calc((100% - 8px) / 3); border-radius: 999px; background: var(--ivory);
  translate: calc(var(--i, 1) * 100%) 0;
  transition: translate .35s cubic-bezier(.3, .7, .2, 1);
}
.size-switch button {
  position: relative; z-index: 1; border: 0; background: none; cursor: pointer;
  padding: 10px 0; border-radius: 999px; font-size: 15px; color: var(--ivory-2);
  transition: color .3s;
}
.size-switch button:hover { color: var(--ivory); }
.size-switch button[aria-pressed="true"] { color: var(--deep); font-weight: 500; }
@media (prefers-reduced-motion: reduce) { .size-switch::before { transition: none; } }

/* Each widget at its real proportions: small is half a wide one's width, large is taller. */
.widget-art { display: flex; justify-content: center; align-items: flex-start; }
.ws { display: none; width: 100%; filter: drop-shadow(0 10px 12px rgba(10, 4, 1, .4)); }
.ws-small { width: 50%; }
.widget-row[data-size="small"] .ws-small,
.widget-row[data-size="wide"] .ws-wide,
.widget-row[data-size="large"] .ws-large { display: block; animation: settle .4s cubic-bezier(.2, .8, .2, 1); }
@keyframes settle { from { opacity: .35; transform: scale(.97); } }
@media (prefers-reduced-motion: reduce) { .ws { animation: none !important; } }
.widget figcaption { margin-top: 18px; font-size: 14px; color: var(--ivory-3); }
.widget figcaption span { display: block; font: 400 18px/1.3 var(--display); color: var(--ivory); margin-bottom: 2px; }
@media (max-width: 899px) {
  .widget-row { grid-template-columns: 1fr; max-width: 460px; gap: 40px; }
}

/* ---------- Honest ledger ---------- */
.honest { padding: clamp(70px, 9vw, 140px) var(--gutter); max-width: calc(var(--wide) + var(--gutter) * 2); margin: 0 auto; }
.honest-lede { margin-top: 18px; color: var(--ivory-2); max-width: 36em; }
.ledger { margin-top: clamp(40px, 5vw, 64px); }
.ledger-head, .ledger-row { display: grid; grid-template-columns: minmax(150px, .7fr) 1fr 1fr; gap: clamp(20px, 3vw, 48px); align-items: start; }
.ledger-head { padding: 0 28px 16px; }
.lh { display: flex; align-items: center; gap: 12px; font: 400 18px/1.2 var(--display); }
.lh svg { width: 28px; height: 20px; flex: none; }
.g-sun { fill: var(--amber); }
.g-sun--set { fill: var(--ivory-3); }
.g-line { stroke: var(--ivory-2); stroke-width: 1.6; stroke-linecap: round; }
.lh--stop { color: var(--ivory-2); }
.ledger-row { padding: 24px 28px; border-radius: 22px; transition: background-color .25s; }
.ledger-row:nth-child(even) { background: rgba(255, 210, 170, .035); }
.ledger-row:hover { background: rgba(255, 210, 170, .07); }
.ledger-row h3 { font: 400 18px/1.35 var(--display); }
.ledger-row p { color: var(--ivory); }
.ledger-row p + p { color: var(--ivory-2); }
@media (max-width: 760px) {
  .ledger-head { display: none; }
  .ledger-row { grid-template-columns: 1fr; gap: 10px; padding: 22px 20px; }
  .ledger-row h3 { margin-bottom: 4px; }
  .ledger-row p::before { content: attr(data-label); display: block; font-size: 13px; font-weight: 500; color: var(--ivory-3); margin-bottom: 2px; }
  .ledger-row p:first-of-type::before { color: var(--amber); }
}

/* ---------- Free & Golden ---------- */
.golden { padding: clamp(70px, 9vw, 140px) var(--gutter); max-width: calc(var(--wide) + var(--gutter) * 2); margin: 0 auto; }
.golden-intro { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 24px clamp(32px, 5vw, 80px); align-items: end; margin-bottom: clamp(40px, 5vw, 64px); }
.golden-intro p { color: var(--ivory-2); max-width: 28em; }
.golden-intro strong { color: var(--ivory); font-weight: 500; }
.compare { border-radius: 26px; overflow: hidden; background: rgba(255, 210, 170, .03); position: relative; }
.compare::before {
  /* Golden's column is lit, the way a lamp falls on one side of the table. */
  content: ""; position: absolute; top: 0; bottom: 0; right: 0; width: calc(var(--gc) + var(--pad) + var(--gap) / 2);
  background: linear-gradient(to bottom, rgba(255, 183, 119, .13), rgba(255, 183, 119, .05));
  pointer-events: none;
}
.compare { --fc: minmax(0, 300px); --gc: 300px; --pad: 28px; --gap: 24px; }
.compare-row { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) var(--fc) var(--gc); gap: var(--gap); align-items: center; padding: 16px var(--pad); }
.compare-row:nth-child(even) { background: rgba(255, 210, 170, .03); }
.compare-row > span:nth-child(2), .compare-row > span:nth-child(3) { font-size: 15px; color: var(--ivory-2); }
.compare-row > .col-golden { color: var(--ivory); }
.compare-head { padding-top: 22px; padding-bottom: 18px; }
.compare-head span { font: 400 18px/1.2 var(--display) !important; color: var(--ivory) !important; }
.compare-head .col-golden { color: var(--amber) !important; }
i.yes, i.no { display: inline-block; vertical-align: middle; }
i.yes { width: 22px; height: 12px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 12'%3E%3Cpath d='M5 10a6 6 0 0 1 12 0z' fill='%23ffb777'/%3E%3Cpath d='M1 11h20' stroke='%23d9c2aa' stroke-width='1.4' stroke-linecap='round'/%3E%3C/svg%3E") center/contain no-repeat; }
i.no { width: 14px; height: 2px; border-radius: 2px; background: var(--ivory-3); opacity: .6; }
@media (max-width: 899px) {
  .golden-intro { grid-template-columns: 1fr; }
  .compare { --fc: 150px; --gc: 160px; --pad: 20px; --gap: 16px; }
}
@media (max-width: 520px) {
  .compare { --fc: 78px; --gc: 92px; --pad: 14px; --gap: 10px; }
  .compare-row { padding: 14px var(--pad); font-size: 15px; }
  .compare-row > span:nth-child(2), .compare-row > span:nth-child(3) { font-size: 13.5px; }
  .compare-head span { font-size: 15px !important; }
}

/* ---------- Privacy ---------- */
.privacy { padding: clamp(70px, 9vw, 140px) var(--gutter); max-width: calc(var(--wide) + var(--gutter) * 2); margin: 0 auto; }
.privacy h2 { font: 300 clamp(30px, 3.8vw, 56px)/1.12 var(--display); letter-spacing: -.01em; max-width: 22em; color: var(--ivory-2); }
.privacy h2 span { color: var(--ivory); }
.privacy-list { margin-top: clamp(40px, 5vw, 64px); display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 3vw, 44px); }
/* One house detail runs through these marks: a small sun sitting on its horizon. */
.pi { display: block; width: 40px; height: 40px; margin: 0 0 14px -4px; overflow: visible; }
.pi-line { fill: none; stroke: var(--ivory-2); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.pi-cover { fill: var(--ground); }
.pi-sun { fill: var(--amber); }
.privacy-list dt { font: 400 18px/1.2 var(--display); color: var(--amber); }
.privacy-list dd { margin-top: 10px; color: var(--ivory-2); font-size: 16px; }
.text-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 44px; text-decoration: none; color: var(--ivory); font-weight: 500; padding: 10px 0; }
.text-link svg { width: 14px; height: 14px; fill: none; stroke: var(--amber); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: translate .25s cubic-bezier(.2, .8, .2, 1); }
.text-link:hover svg { translate: 3px -3px; }
@media (max-width: 899px) { .privacy-list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .privacy-list { grid-template-columns: 1fr; } }

/* ---------- Privacy policy: a reading page in the same world ---------- */
.legal {
  max-width: calc(1120px + var(--gutter) * 2); margin: 0 auto;
  padding: 150px var(--gutter) clamp(70px, 9vw, 120px);
  display: grid; grid-template-columns: 250px minmax(0, 44rem); gap: 28px clamp(40px, 6vw, 96px);
  grid-template-areas: "head head" "toc body"; justify-content: center;
}
.legal-head { grid-area: head; padding-bottom: clamp(20px, 3vw, 40px); }
.legal-head h1 { font-size: clamp(40px, 5.4vw, 80px); }
.legal-head p { margin-top: 14px; color: var(--ivory-3); font-size: 15px; }
.legal-toc { grid-area: toc; position: sticky; top: 110px; align-self: start; }
.legal-toc ol { list-style: none; margin: 0; padding: 0; counter-reset: toc; }
.legal-toc li { counter-increment: toc; }
.legal-toc a {
  display: grid; grid-template-columns: 2.1em 1fr; padding: 7px 10px; border-radius: 10px;
  text-decoration: none; font-size: 15px; line-height: 1.35; color: var(--ivory-3);
  transition: color .2s, background-color .2s;
}
.legal-toc a::before { content: counter(toc); font-variant-numeric: tabular-nums; color: var(--ivory-3); opacity: .7; }
.legal-toc a:hover { color: var(--ivory); background: rgba(255, 210, 170, .05); }
.legal-body { grid-area: body; }
.legal-body section { scroll-margin-top: 110px; padding-top: clamp(36px, 4vw, 52px); }
.legal-body h2 { font: 400 clamp(22px, 2vw, 28px)/1.25 var(--display); margin-bottom: 16px; }
.legal-body p, .legal-body li { color: var(--ivory-2); }
.legal-body p + p { margin-top: 14px; }
.legal-body strong { color: var(--ivory); font-weight: 500; }
.legal-body a { color: var(--ivory); text-decoration-color: rgba(255, 183, 119, .55); text-underline-offset: 3px; overflow-wrap: anywhere; transition: text-decoration-color .2s; }
.legal-body a:hover { text-decoration-color: var(--amber); }
.legal-body ul { padding-left: 1.2em; list-style: disc; }
.legal-body li { margin-top: 12px; }
.legal-body li::marker { color: var(--amber); }
.legal-lede { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.55; color: var(--ivory) !important; }
.legal-credits p { font-size: 15px; color: var(--ivory-3) !important; }
@media (max-width: 899px) {
  .legal { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "body"; padding-top: 120px; }
  .legal-toc { display: none; }
}
.dusk--quiet { padding-top: clamp(40px, 6vw, 70px); }
.dusk--quiet .setting-sun { translate: -50% 40%; }

/* ---------- Footer: the sun sets behind the name ---------- */
.dusk { position: relative; overflow: hidden; padding: clamp(60px, 8vw, 110px) var(--gutter) 0; background: var(--grain), linear-gradient(to bottom, var(--ground), var(--deep) 70%); background-size: 220px 220px, auto; text-align: center; }
.dusk-top, .dusk-cols { position: relative; z-index: 2; max-width: 52rem; margin: 0 auto; }
.dusk-line { font: 300 clamp(22px, 2.4vw, 34px)/1.3 var(--display); }
.dusk-line em { font-style: normal; color: var(--amber); }
.play--big { margin-top: 22px; font-size: 17px; }
.play--big[href] { padding: 14px 24px; }
.dusk-cols { margin-top: clamp(36px, 5vw, 56px); }
.dusk-cols ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px 28px; }
.dusk-cols ul a { display: inline-block; padding: 8px 0; text-decoration: none; color: var(--ivory-2); transition: color .2s; }
.dusk-cols ul a:hover { color: var(--ivory); }

.horizon { position: relative; margin: clamp(30px, 5vw, 60px) calc(var(--gutter) * -1) 0; height: clamp(150px, 22vw, 330px); overflow: hidden; }
.setting-sun {
  position: absolute; left: 50%; bottom: 0; z-index: 0;
  width: clamp(170px, 24vw, 380px); aspect-ratio: 1; border-radius: 50%;
  translate: -50% var(--sun-y, 30%);
  background: radial-gradient(circle at 50% 32%, #ffd9a3 0%, #ffb777 34%, #e9853f 66%, #a94d16 100%);
}
.setting-sun::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--grain); background-size: 160px; opacity: .35; mix-blend-mode: soft-light; }
.wordmark {
  position: absolute; z-index: 1; left: 50%; bottom: 0; translate: -50% 13%;
  font: 300 clamp(60px, 20vw, 320px)/1 var(--display);
  letter-spacing: .14em; padding-left: .14em;
  white-space: nowrap; color: var(--mark-ink);
}
