@font-face {
  font-family: 'Cormorant Garamond';
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/cormorant-garamond-latin-500-normal.woff2) format('woff2');
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/cormorant-garamond-latin-500-italic.woff2) format('woff2');
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/cormorant-garamond-latin-600-normal.woff2) format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-weight: 100 900;
  font-display: swap;
  src: url(/fonts/inter-latin-wght-normal.woff2) format('woff2');
}

/* The browser's palette, see docs/branding.md in the browser repo. Gold is for
   accents only; curtain red is not used here at all. */
:root {
  --abyss: #0B1530;
  --deep: #13244A;
  --tide: #2B5C9E;
  --hydro: #4FA3E0;
  --spray: #8CCBF2;
  --foam: #E8F1FB;
  --gold: #D4AF37;
  --gold-dark: #A8862A;
  --champagne: #E6C981;
  --ink: rgba(232, 241, 251, .78);
  --ink-soft: rgba(232, 241, 251, .62);
  --glass: rgba(19, 36, 74, .45);
  --glass-edge: rgba(230, 201, 129, .2);
  --line: rgba(232, 241, 251, .1);
  --serif: 'Cormorant Garamond', 'Cormorant', Garamond, serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --gutter: clamp(16px, 4vw, 40px);
  color-scheme: dark;
  background: var(--abyss);
  scroll-behavior: smooth;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  background:
      radial-gradient(ellipse 60% 40% at 15% 30%, rgba(43, 92, 158, .16), transparent 70%),
      radial-gradient(ellipse 50% 35% at 85% 55%, rgba(43, 92, 158, .14), transparent 70%),
      radial-gradient(ellipse 70% 30% at 50% 90%, rgba(212, 175, 55, .05), transparent 70%),
      var(--abyss);
  color: var(--ink);
  font: 400 17px/1.65 var(--sans);
  font-variant-numeric: lining-nums;
  margin: 0;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--spray);
  text-decoration-color: rgba(140, 203, 242, .4);
  text-underline-offset: 3px;
}

a:hover {
  text-decoration-color: currentColor;
}

:focus-visible {
  border-radius: 6px;
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

::selection {
  background: rgba(212, 175, 55, .35);
  color: #fff;
}

h1,
h2,
h3 {
  color: var(--foam);
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: .005em;
  line-height: 1.05;
  margin: 0;
}

h2 {
  font-size: clamp(40px, 5.4vw, 68px);
  text-wrap: balance;
}

h2 em {
  background: linear-gradient(100deg, var(--champagne), var(--gold) 55%, var(--champagne));
  background-clip: text;
  color: transparent;
  font-style: italic;
  padding-right: .06em;
}

h3 {
  font-size: 28px;
}

p {
  margin: 0;
}

code {
  color: var(--champagne);
  font: 500 .9em/1.4 ui-monospace, 'JetBrains Mono', 'Cascadia Code', monospace;
}

.skip {
  background: var(--gold);
  border-radius: 999px;
  color: var(--abyss);
  font-weight: 600;
  left: 16px;
  padding: 10px 18px;
  position: fixed;
  top: -60px;
  z-index: 100;
}

.skip:focus {
  top: 16px;
}

/* Buttons */

.button {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 999px;
  display: inline-flex;
  font: 600 15px/1 var(--sans);
  gap: 10px;
  letter-spacing: .01em;
  padding: 16px 26px;
  text-decoration: none;
  transition: transform 250ms var(--ease-out), box-shadow 250ms, border-color 250ms, background 250ms;
}

.button svg {
  fill: none;
  height: 18px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  width: 18px;
}

.button:hover {
  transform: translateY(-2px);
}

.button.gold {
  background: linear-gradient(135deg, var(--champagne), var(--gold) 50%, var(--gold-dark));
  box-shadow: 0 10px 30px rgba(212, 175, 55, .25), inset 0 1px 0 rgba(255, 255, 255, .45);
  color: var(--abyss);
}

.button.gold:hover {
  box-shadow: 0 16px 44px rgba(212, 175, 55, .38), inset 0 1px 0 rgba(255, 255, 255, .45);
}

.button.glass {
  backdrop-filter: blur(14px) saturate(140%);
  background: rgba(11, 21, 48, .5);
  border-color: var(--glass-edge);
  color: var(--foam);
}

.button.glass:hover {
  border-color: var(--champagne);
}

.button.small {
  border-color: var(--glass-edge);
  color: var(--foam);
  font-size: 14px;
  padding: 10px 18px;
}

.button.small:hover {
  border-color: var(--champagne);
}

/* Header: hidden over the hero, which carries its own logo, then slides in. */

#bar {
  align-items: center;
  backdrop-filter: blur(18px) saturate(150%);
  background: rgba(11, 21, 48, .72);
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 32px;
  height: 64px;
  inset: 0 0 auto;
  opacity: 0;
  padding: 0 var(--gutter);
  position: fixed;
  transform: translateY(-100%);
  transition: transform 450ms var(--ease-out), opacity 300ms;
  z-index: 50;
}

#bar.solid,
#bar:focus-within {
  opacity: 1;
  transform: none;
}

.brand {
  align-items: center;
  color: var(--foam);
  display: flex;
  font: 600 24px/1 var(--serif);
  gap: 10px;
  text-decoration: none;
}

#bar nav {
  display: flex;
  gap: 28px;
  margin-left: auto;
}

#bar nav a {
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: color 200ms;
}

#bar nav a:hover {
  color: var(--champagne);
}

/* The stage. The same pieces make the hero and the new tab page in the
   browser mock-up, so sizes are in container units. */

.theatre,
.ntp {
  container-type: size;
  overflow: hidden;
}

.stage-canvas,
.frame,
.lamps {
  height: 100%;
  inset: 0;
  pointer-events: none;
  position: absolute;
  width: 100%;
}

/* Darker edges pull the eye to the middle of the stage. */
.frame::before {
  background: radial-gradient(ellipse 75% 70% at 50% 45%, transparent 55%, rgba(5, 10, 26, .55));
  content: '';
  inset: 0;
  position: absolute;
}

.curtain {
  animation: sway 11s ease-in-out infinite alternate;
  background: url(/art/focalors_curtain.svg) left top / auto 100% no-repeat;
  height: 100%;
  left: min(0px, calc(17cqw - 31.5cqh));
  position: absolute;
  top: 0;
  transform-origin: 50% 0;
  width: 31.5cqh;
}

.curtain.right {
  animation-delay: -5s;
  animation-name: sway-right;
  left: auto;
  right: min(0px, calc(17cqw - 31.5cqh));
  transform: scaleX(-1);
}

@keyframes sway {
  from { rotate: -.25deg; }
  to { rotate: .35deg; }
}

@keyframes sway-right {
  from { rotate: .25deg; }
  to { rotate: -.35deg; }
}

.valance {
  background: url(/art/focalors_valance.svg) 0 0 / auto 100% repeat-x;
  height: clamp(28px, 12cqh, 150px);
  inset: 0 0 auto;
  position: absolute;
}

/* A stage lantern seen from below: a dark barrel, its lens and the flare it
   throws into the haze. */
.lamp {
  --glow: 0;
  height: 26px;
  position: absolute;
  width: 20px;
}

.lamp::before {
  background: linear-gradient(90deg, #02060F, #1D3566 40%, #050C20);
  border-bottom: 2px solid var(--gold);
  border-radius: 3px 3px 9px 9px;
  content: '';
  inset: 0;
  position: absolute;
}

.lamp::after {
  background:
      radial-gradient(circle, #fff 0 3px, rgba(255, 246, 220, .95) 5px, rgba(230, 201, 129, .55) 11px, transparent 30px),
      linear-gradient(90deg, transparent, rgba(255, 246, 220, .7) 45%, rgba(255, 246, 220, .7) 55%, transparent) center / 100% 2px no-repeat;
  content: '';
  height: 64px;
  left: 50%;
  opacity: var(--glow);
  position: absolute;
  top: 100%;
  translate: -50% -50%;
  width: 150px;
}

/* Hero */

.hero {
  align-items: center;
  background: radial-gradient(ellipse 80% 70% at 50% 34%, #1D3566, var(--deep) 45%, var(--abyss) 80%, #070E22);
  display: flex;
  flex-direction: column;
  isolation: isolate;
  justify-content: center;
  min-height: max(100svh, 720px);
  overflow: hidden;
  padding: clamp(96px, 14vh, 160px) var(--gutter) max(19svh, 140px);
  position: relative;
}

.theatre {
  inset: 0;
  position: absolute;
  z-index: -1;
}

/* The opening: the main curtain flies out, then the lights come on. */
.drape {
  animation: rise 1100ms var(--ease-out) 150ms forwards;
  background:
      linear-gradient(transparent calc(100% - 10px), var(--gold) calc(100% - 10px), var(--gold-dark)),
      repeating-linear-gradient(90deg, #081430, #11285A 3.5%, #081430 7%);
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 10;
}

@keyframes rise {
  to { transform: translateY(-102%); }
}

.hero-copy {
  align-items: center;
  animation: enter 1100ms var(--ease-out) 600ms backwards;
  display: flex;
  flex-direction: column;
  max-width: 760px;
  text-align: center;
}

@keyframes enter {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
}

.mark {
  filter: drop-shadow(0 10px 40px rgba(79, 163, 224, .35));
  height: clamp(60px, 9vh, 92px);
  margin-bottom: 18px;
  width: auto;
}

.eyebrow,
.tagline {
  color: var(--champagne);
  font: 500 15px/1.3 var(--sans);
  letter-spacing: .28em;
  text-shadow: 0 2px 16px rgba(11, 21, 48, .9);
  text-transform: uppercase;
}

.eyebrow {
  font-size: 12px;
  opacity: .85;
}

.shimmer {
  animation: shimmer 9s ease-in-out 2s infinite;
  background: linear-gradient(105deg, var(--foam) 40%, #FFF6DC 48%, var(--champagne) 50%, var(--foam) 58%) 100% 0 / 300% 100%;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 6px 34px rgba(11, 21, 48, .9));
  font-size: clamp(76px, 14vw, 172px);
  letter-spacing: .01em;
  line-height: .95;
  margin: 10px 0 2px;
}

@keyframes shimmer {
  0%, 70% { background-position: 100% 0; }
  100% { background-position: 0 0; }
}

.flourish {
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  height: 1px;
  margin: 18px auto 16px;
  position: relative;
  width: 220px;
}

.flourish::after {
  background: var(--gold);
  box-shadow: 0 0 12px var(--gold);
  content: '';
  height: 7px;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
  width: 7px;
}

.lede {
  color: var(--foam);
  font-size: clamp(17px, 1.5vw, 19px);
  margin-top: 22px;
  max-width: 36em;
  opacity: .9;
  text-shadow: 0 2px 20px rgba(11, 21, 48, .95);
  text-wrap: pretty;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 34px;
}

.fineprint {
  color: var(--ink-soft);
  font-size: 13px;
  margin-top: 20px;
  text-shadow: 0 2px 12px rgba(11, 21, 48, .95);
}

.scroll-cue {
  animation: bob 2.6s ease-in-out infinite;
  bottom: 28px;
  color: var(--champagne);
  left: 50%;
  opacity: .8;
  position: absolute;
  translate: -50% 0;
}

.scroll-cue svg {
  fill: none;
  height: 28px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
  width: 28px;
}

@keyframes bob {
  50% { transform: translateY(6px); }
}

/* Sections */

.section {
  margin: 0 auto;
  max-width: 1200px;
  padding: clamp(96px, 12vw, 160px) var(--gutter) 0;
}

.heading {
  max-width: 620px;
}

.heading.center {
  margin: 0 auto;
  max-width: 720px;
  text-align: center;
}

.act {
  align-items: center;
  color: var(--gold);
  display: inline-flex;
  font: 600 12px/1 var(--sans);
  gap: 12px;
  letter-spacing: .28em;
  margin-bottom: 22px;
  text-transform: uppercase;
}

.act::before {
  background: var(--gold);
  box-shadow: 0 0 10px var(--gold);
  content: '';
  height: 6px;
  rotate: 45deg;
  width: 6px;
}

.intro {
  font-size: 18px;
  margin-top: 22px;
  text-wrap: pretty;
}

.panel,
.card {
  backdrop-filter: blur(16px) saturate(140%);
  background: linear-gradient(160deg, rgba(29, 53, 102, .5), rgba(11, 21, 48, .55));
  border: 1px solid var(--glass-edge);
  border-radius: 22px;
  box-shadow: 0 30px 70px rgba(3, 8, 22, .45), inset 0 1px 0 rgba(255, 255, 255, .05);
}

.note {
  color: var(--ink-soft);
  font-size: 13.5px;
  line-height: 1.6;
}

/* Programme cards */

.cards {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 64px;
}

.card {
  padding: 34px 30px 36px;
  position: relative;
  transition: transform 400ms var(--ease-out), border-color 300ms;
}

.card::before {
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  content: '';
  height: 1px;
  inset: -1px 20% auto;
  opacity: 0;
  position: absolute;
  transition: opacity 300ms;
}

.card:hover {
  border-color: rgba(230, 201, 129, .4);
  transform: translateY(-4px);
}

.card:hover::before {
  opacity: 1;
}

.card h3 {
  margin: 22px 0 12px;
}

.icon {
  align-items: center;
  background: radial-gradient(circle at 50% 35%, #1D3566, var(--abyss));
  border: 1px solid rgba(212, 175, 55, .55);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(212, 175, 55, .07), 0 8px 24px rgba(3, 8, 22, .5);
  display: flex;
  height: 56px;
  justify-content: center;
  width: 56px;
}

.icon svg {
  fill: none;
  height: 26px;
  stroke: var(--champagne);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
  width: 26px;
}

/* Two-column acts */

.split {
  align-items: center;
  display: grid;
  gap: clamp(40px, 6vw, 88px);
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
}

.split.flip {
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
}

.split.flip .heading {
  order: 2;
}

.ticks,
.steps {
  display: grid;
  gap: 12px;
  list-style: none;
  margin: 30px 0 0;
  padding: 0;
}

.ticks li {
  padding-left: 30px;
  position: relative;
}

.ticks li::before {
  border: solid var(--gold);
  border-width: 0 1.8px 1.8px 0;
  content: '';
  height: 11px;
  left: 6px;
  position: absolute;
  rotate: 45deg;
  top: 6px;
  width: 6px;
}

.steps {
  counter-reset: step;
  gap: 18px;
}

.steps li {
  counter-increment: step;
  padding-left: 52px;
  position: relative;
}

.steps li::before {
  align-items: center;
  border: 1px solid rgba(212, 175, 55, .6);
  border-radius: 50%;
  color: var(--champagne);
  content: counter(step);
  display: flex;
  font: 600 18px/1 var(--serif);
  height: 34px;
  justify-content: center;
  left: 0;
  position: absolute;
  top: -3px;
  width: 34px;
}

.steps b,
.ticks b {
  color: var(--foam);
  font-weight: 600;
}

/* Ad blocking chart: one bar per site. The outlined track is the page
   without blocking, the fill is what Focalors still downloads. Tracks share
   one scale, set by the largest page. */

.chart {
  margin: 0;
  padding: 32px clamp(20px, 3vw, 36px) 30px;
}

.chart figcaption {
  align-items: baseline;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  justify-content: space-between;
  margin-bottom: 26px;
}

.chart figcaption strong {
  color: var(--foam);
  font: 600 24px/1.1 var(--serif);
}

.legend {
  align-items: center;
  color: var(--ink-soft);
  display: flex;
  font-size: 13px;
  gap: 8px;
}

.swatch {
  border-radius: 3px;
  display: inline-block;
  height: 10px;
  width: 18px;
}

.swatch.with {
  background: linear-gradient(90deg, var(--tide), var(--hydro));
}

.swatch.without {
  border: 1px solid rgba(232, 241, 251, .4);
  margin-left: 10px;
}

.bars {
  display: grid;
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.bars li {
  align-items: center;
  column-gap: 16px;
  display: grid;
  font-size: 14px;
  grid-template-columns: 132px minmax(0, 1fr) 132px;
}

.site {
  color: var(--foam);
}

.track {
  border: 1px solid rgba(232, 241, 251, .3);
  border-radius: 4px;
  display: block;
  height: 12px;
  padding: 1px;
  width: calc(var(--without) / 4104 * 100%);
}

.fill {
  background: linear-gradient(90deg, var(--tide), var(--hydro));
  border-radius: 3px;
  display: block;
  height: 100%;
  transition: width 1400ms var(--ease-out) 200ms;
  width: calc(var(--with) / var(--without) * 100%);
}

.js .chart:not(.in) .fill {
  width: 0;
}

.value {
  color: var(--ink-soft);
  font-variant-numeric: tabular-nums;
  text-align: right;
  white-space: nowrap;
}

.value b {
  color: var(--foam);
  font-weight: 600;
  margin-left: 6px;
}

.stats {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr 1fr;
  margin-top: 30px;
  padding-top: 26px;
}

.stats strong {
  color: var(--champagne);
  display: block;
  font: 500 40px/1 var(--serif);
  margin-bottom: 8px;
}

.stats span {
  color: var(--ink);
  display: block;
  font-size: 14px;
  line-height: 1.5;
}

.chart .note {
  margin-top: 24px;
}

/* Sync flow */

.flow {
  align-items: center;
  display: grid;
  gap: 0 6px;
  grid-template-columns: auto 1fr auto 1fr auto;
  padding: 44px clamp(20px, 3vw, 36px) 32px;
}

.device,
.server {
  align-items: center;
  display: flex;
  flex-direction: column;
  font-size: 14px;
  gap: 10px;
  text-align: center;
}

.device svg,
.server svg {
  fill: none;
  stroke: var(--spray);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.device svg {
  height: 44px;
  width: 58px;
}

.device span,
.server span {
  color: var(--foam);
  font-weight: 500;
}

.server {
  background: rgba(11, 21, 48, .6);
  border: 1px solid rgba(212, 175, 55, .35);
  border-radius: 18px;
  gap: 6px;
  padding: 18px 20px;
}

.server svg {
  height: 46px;
  stroke: var(--champagne);
  width: 46px;
}

.server code {
  font-size: 12px;
  margin-top: 4px;
  opacity: .8;
}

.server small {
  color: var(--ink-soft);
  font-size: 12px;
}

.wire {
  background: repeating-linear-gradient(90deg, rgba(140, 203, 242, .45) 0 6px, transparent 6px 12px);
  height: 2px;
  margin: 0 6px 34px;
  min-width: 36px;
  position: relative;
}

.packet {
  animation: travel 3.2s linear infinite;
  background: var(--gold);
  border-radius: 2px;
  box-shadow: 0 0 10px var(--gold);
  height: 8px;
  left: 0;
  position: absolute;
  rotate: 45deg;
  top: -3px;
  width: 8px;
}

.packet.late {
  animation-delay: -1.6s;
}

.wire.reverse .packet {
  animation-direction: reverse;
}

@keyframes travel {
  from { left: 0; opacity: 0; }
  15%, 85% { opacity: 1; }
  to { left: calc(100% - 8px); opacity: 0; }
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  grid-column: 1 / -1;
  justify-content: center;
  list-style: none;
  margin: 36px 0 0;
  padding: 0;
}

.chips li {
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--foam);
  display: flex;
  font-size: 13.5px;
  gap: 10px;
  padding: 7px 14px 7px 8px;
}

/* A switch in the "on" position, like the sync card in Settings. */
.chips li::before {
  background: radial-gradient(circle at calc(100% - 7px) 50%, var(--abyss) 4.5px, transparent 5px), var(--gold);
  border-radius: 999px;
  content: '';
  height: 14px;
  width: 26px;
}

.flow .note {
  border-top: 1px solid var(--line);
  grid-column: 1 / -1;
  margin-top: 26px;
  padding-top: 20px;
  text-align: center;
}

/* Browser mock-up */

.window {
  background: var(--deep);
  border: 1px solid rgba(232, 241, 251, .12);
  border-radius: 16px;
  box-shadow:
      0 60px 120px rgba(2, 6, 16, .7),
      0 0 0 1px rgba(0, 0, 0, .3),
      0 0 120px rgba(79, 163, 224, .12);
  margin: 64px auto 0;
  max-width: 1040px;
  overflow: hidden;
  transform-origin: 50% 0;
}

.tabstrip {
  align-items: flex-end;
  background: var(--abyss);
  display: flex;
  gap: 4px;
  height: 42px;
  padding: 0 14px;
}

.dots {
  align-self: center;
  display: flex;
  gap: 7px;
  margin-right: 14px;
}

.dots i {
  background: rgba(232, 241, 251, .2);
  border-radius: 50%;
  height: 11px;
  width: 11px;
}

.tab {
  align-items: center;
  border-radius: 10px 10px 0 0;
  color: var(--ink-soft);
  display: flex;
  font-size: 12.5px;
  gap: 8px;
  height: 34px;
  padding: 0 16px;
  width: 190px;
}

.tab.active {
  background: var(--deep);
  color: var(--foam);
}

.toolbar {
  align-items: center;
  display: flex;
  gap: 12px;
  padding: 7px 14px 9px;
}

.omnibox {
  background: rgba(11, 21, 48, .7);
  border-radius: 999px;
  color: var(--ink-soft);
  flex: 1;
  font-size: 12.5px;
  padding: 7px 16px;
}

.shield {
  align-items: center;
  color: var(--champagne);
  display: flex;
  font-size: 12px;
  font-weight: 600;
  gap: 4px;
}

.shield svg {
  fill: rgba(212, 175, 55, .2);
  height: 18px;
  stroke: var(--gold);
  stroke-width: 2;
  width: 18px;
}

.ntp {
  aspect-ratio: 16 / 9;
  background: radial-gradient(ellipse 80% 70% at 50% 34%, #1D3566, var(--deep) 45%, var(--abyss) 80%, #070E22);
  position: relative;
}

.ntp .lamp {
  scale: .6;
}

.ntp-content {
  align-items: center;
  display: flex;
  flex-direction: column;
  inset: 0 0 18%;
  justify-content: center;
  padding-top: 6cqh;
  position: absolute;
}

.clock {
  background: linear-gradient(105deg, var(--foam) 40%, #FFF6DC 48%, var(--champagne) 50%, var(--foam) 58%) 100% 0 / 300% 100%;
  animation: shimmer 9s ease-in-out infinite;
  background-clip: text;
  color: transparent;
  font: 500 16cqh/1 var(--serif);
  font-variant-numeric: lining-nums tabular-nums;
}

.ntp .flourish {
  margin: 2.2cqh auto 2cqh;
  width: 22cqw;
}

.date {
  color: var(--champagne);
  font: 500 2.8cqh/1 var(--serif);
  letter-spacing: .22em;
  text-transform: uppercase;
}

.ntp-search,
.ntp-stats {
  backdrop-filter: blur(12px);
  background: rgba(11, 21, 48, .55);
  border: 1px solid var(--glass-edge);
  border-radius: 999px;
}

.ntp-search {
  align-items: center;
  color: rgba(232, 241, 251, .6);
  display: flex;
  font-size: max(10px, 2.5cqh);
  gap: 1.6cqh;
  height: 8cqh;
  margin-top: 6cqh;
  padding: 0 3cqh;
  width: 52cqw;
}

.ntp-search svg {
  fill: none;
  height: 3cqh;
  stroke: var(--gold);
  stroke-linecap: round;
  stroke-width: 2;
  width: 3cqh;
}

.ntp-stats {
  bottom: 4cqh;
  color: var(--ink);
  font-size: max(9px, 2.1cqh);
  left: 50%;
  padding: 1.2cqh 2.6cqh;
  position: absolute;
  translate: -50% 0;
  white-space: nowrap;
}

.ntp-stats b {
  color: var(--champagne);
  font-weight: 600;
}

.facts {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 56px;
}

.fact {
  border-left: 1px solid var(--line);
  padding: 4px 26px;
}

.fact:first-child {
  border-left: 0;
}

.fact strong {
  color: var(--foam);
  display: block;
  font: 600 22px/1.2 var(--serif);
  margin-bottom: 8px;
}

.fact span {
  display: block;
  font-size: 14.5px;
  line-height: 1.55;
}

/* At a glance */

.glance {
  margin: 56px auto 0;
  max-width: 900px;
  padding: 10px clamp(20px, 3vw, 40px);
}

.glance div {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 24px;
  grid-template-columns: 180px 1fr;
  padding: 18px 0;
}

.glance div:first-child {
  border-top: 0;
}

.glance dt {
  color: var(--champagne);
  font: 600 21px/1.4 var(--serif);
}

.glance dd {
  margin: 0;
}

/* Install */

.install {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 56px;
}

.install .panel {
  display: flex;
  flex-direction: column;
  padding: 30px 28px;
}

.install h3 {
  margin-bottom: 12px;
}

.install p {
  font-size: 15px;
}

.code {
  align-items: center;
  background: rgba(5, 10, 26, .7);
  border: 1px solid var(--line);
  border-radius: 12px;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  margin: 20px 0 22px;
  padding: 8px 8px 8px 16px;
}

.code code {
  min-width: 0;
  overflow-x: auto;
  white-space: nowrap;
}

.code code::before {
  color: var(--ink-soft);
  content: '$ ';
}

.code button {
  background: none;
  border: 1px solid var(--glass-edge);
  border-radius: 8px;
  color: var(--champagne);
  cursor: pointer;
  font: 500 12px/1 var(--sans);
  padding: 8px 12px;
  transition: border-color 200ms;
}

.code button:hover {
  border-color: var(--champagne);
}

.more {
  font-size: 14.5px;
  font-weight: 500;
  margin-top: auto;
  text-decoration: none;
}

.more::after {
  content: ' \2192';
}

.roadmap {
  counter-reset: none;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  list-style: none;
  margin: 80px 0 0;
  padding: 0;
  position: relative;
}

.roadmap::before {
  background: linear-gradient(90deg, var(--gold) 0 50%, rgba(232, 241, 251, .15) 70%);
  content: '';
  height: 1px;
  left: 10%;
  position: absolute;
  right: 10%;
  top: 7px;
}

.roadmap li {
  align-items: center;
  display: flex;
  flex-direction: column;
  font-size: 13.5px;
  gap: 4px;
  padding: 0 8px;
  position: relative;
  text-align: center;
}

.roadmap li::before {
  background: var(--abyss);
  border: 1.5px solid rgba(232, 241, 251, .3);
  content: '';
  height: 14px;
  margin-bottom: 14px;
  rotate: 45deg;
  width: 14px;
}

.roadmap .done::before {
  background: var(--gold);
  border-color: var(--gold);
  box-shadow: 0 0 12px rgba(212, 175, 55, .6);
}

.roadmap .next::before {
  animation: pulse 2.4s ease-in-out infinite;
  border-color: var(--gold);
}

@keyframes pulse {
  50% { box-shadow: 0 0 0 6px rgba(212, 175, 55, .15); }
}

.roadmap b {
  color: var(--foam);
  font: 600 19px/1.2 var(--serif);
}

.roadmap span {
  color: var(--ink-soft);
}

/* Footer */

footer {
  align-items: center;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 28px 40px;
  grid-template-columns: 1fr auto;
  margin: clamp(110px, 14vw, 180px) auto 0;
  max-width: 1200px;
  padding: 44px var(--gutter) 52px;
}

.footer-brand {
  align-items: center;
  display: flex;
  gap: 16px;
}

.footer-brand strong {
  color: var(--foam);
  font: 600 26px/1 var(--serif);
}

.footer-brand p {
  color: var(--ink-soft);
  font-size: 14px;
  margin-top: 6px;
}

footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
}

footer nav a {
  color: var(--ink);
  font-size: 14px;
  text-decoration: none;
}

footer nav a:hover {
  color: var(--champagne);
}

.colophon {
  color: var(--ink-soft);
  font-size: 13px;
  grid-column: 1 / -1;
}

/* Scroll reveals, only when the script is there to undo them. */

.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 900ms var(--ease-out), transform 1100ms var(--ease-out);
}

.js .reveal.in {
  opacity: 1;
  transform: none;
}

.js .window.reveal {
  transform: perspective(1600px) rotateX(14deg) translateY(40px) scale(.96);
  transition-duration: 1400ms;
}

.js .window.reveal.in {
  transform: none;
}

.cards .reveal:nth-child(2),
.facts .reveal:nth-child(2),
.install .reveal:nth-child(2) {
  transition-delay: 120ms;
}

.cards .reveal:nth-child(3),
.facts .reveal:nth-child(3),
.install .reveal:nth-child(3) {
  transition-delay: 240ms;
}

.facts .reveal:nth-child(4) {
  transition-delay: 360ms;
}

/* Layout below desktop width */

@media (max-width: 980px) {
  #bar nav {
    display: none;
  }

  #bar .button {
    margin-left: auto;
  }

  .cards,
  .install {
    grid-template-columns: 1fr;
    max-width: 560px;
  }

  .split,
  .split.flip {
    grid-template-columns: minmax(0, 1fr);
  }

  .split.flip .heading {
    order: 0;
  }

  .facts {
    gap: 28px 0;
    grid-template-columns: 1fr 1fr;
  }

  .fact:nth-child(3) {
    border-left: 0;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  .hero .curtain {
    left: min(0px, calc(8cqw - 31.5cqh));
  }

  .hero .curtain.right {
    left: auto;
    right: min(0px, calc(8cqw - 31.5cqh));
  }

  .eyebrow,
  .tagline {
    letter-spacing: .18em;
  }

  .bars li {
    grid-template-columns: 1fr auto;
    row-gap: 6px;
  }

  .track {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .stats {
    grid-template-columns: 1fr;
  }

  .flow {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .wire {
    height: 40px;
    margin: 8px 0;
    min-width: 0;
    width: 2px;
    background: repeating-linear-gradient(180deg, rgba(140, 203, 242, .45) 0 6px, transparent 6px 12px);
  }

  .packet {
    animation-name: travel-down;
    left: -3px;
  }

  @keyframes travel-down {
    from { top: 0; opacity: 0; }
    15%, 85% { opacity: 1; }
    to { top: calc(100% - 8px); opacity: 0; }
  }

  .tab:not(.active),
  .dots {
    display: none;
  }

  .facts {
    grid-template-columns: 1fr;
  }

  .fact {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 20px 0 0;
  }

  .fact:first-child {
    border-top: 0;
  }

  .glance div {
    gap: 4px;
    grid-template-columns: 1fr;
  }

  .roadmap {
    gap: 22px;
    grid-template-columns: 1fr;
    margin-top: 60px;
  }

  .roadmap::before {
    display: none;
  }

  .roadmap li {
    align-items: start;
    display: grid;
    gap: 2px 16px;
    grid-template-columns: 14px 1fr;
    text-align: left;
  }

  .roadmap li::before {
    grid-row: 1 / 3;
    margin: 6px 0 0;
  }

  footer {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  :root {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 1ms !important;
    transition-delay: 0ms !important;
  }

  .drape {
    display: none;
  }

  .js .reveal,
  .js .window.reveal {
    opacity: 1;
    transform: none;
  }

  .packet {
    left: calc(50% - 4px);
  }
}
