/* The new site: a 1970s product catalog laid over a live lava lamp. */

@font-face {
  font-family: "Fraunces";
  src: url("fonts/fraunces.woff2") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("fonts/fraunces-italic.woff2") format("woff2");
  font-weight: 300 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("fonts/instrument-sans.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

/* The lamp's colors, set by the wax buttons. Registered so they blend. */
@property --wax {
  syntax: "<color>";
  inherits: true;
  initial-value: #ff1f5a;
}
@property --liquid {
  syntax: "<color>";
  inherits: true;
  initial-value: #3d0866;
}

:root {
  --wax: #ff1f5a;
  --liquid: #3d0866;
  --paper: #f1e6d1;
  --paper-2: #e6d6b9;
  --ink: #1d1123;
  --ink-2: #4c3f53;
  --ink-3: #7a6b7c;
  --rule: rgba(29, 17, 35, 0.17);
  --cream: #fff3df;
  --cream-2: rgba(255, 243, 223, 0.8);
  --metal-text: #a7a7b1;
  --base-h: 104px;
  --max: 1240px;
  --sheet-r: clamp(28px, 4vw, 56px);
  --display: "Fraunces", "Cooper Black", Georgia, serif;
  --sans: "Instrument Sans", "Segoe UI Variable Text", "Segoe UI", system-ui, sans-serif;
  transition: --wax 1.1s ease, --liquid 1.1s ease;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  /* Shows only before the lamp's first frame. */
  background: color-mix(in srgb, var(--liquid) 70%, #000);
  color: var(--ink);
  font: 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--wax); color: var(--ink); }

a { color: inherit; }

img { max-width: 100%; height: auto; display: block; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px); }

/* Small labels, in the body face. */
.label {
  font-family: var(--sans);
  font-weight: 600;
}

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.defs { position: absolute; width: 0; height: 0; }

:focus-visible { outline: 2px solid var(--wax); outline-offset: 3px; }
.paper :focus-visible { outline-color: var(--ink); }

/* The lamp behind everything. The canvas covers the viewport; the lamp's
   floor sits on top of the base, which page.js tells the lamp. */
.stage {
  position: fixed;
  inset: 0;
  height: 100vh;
  height: 100svh;
  z-index: 0;
  overflow: hidden;
}
.stage canvas,
.stage-poster,
.stage video {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}
.stage-poster,
.stage video {
  height: calc(100% - var(--base-h));
  object-fit: cover;
  object-position: center bottom;
}
.stage canvas { opacity: 0; transition: opacity 1.4s ease; }
.stage canvas.on { opacity: 1; }

header.cap, main, footer { position: relative; z-index: 1; }

/* Top bar, over the lamp. */
header.cap {
  position: absolute;
  inset: 0 0 auto;
  z-index: 3;
  color: var(--cream);
}
.cap-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 84px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--display);
  font-size: 23px;
  font-weight: 700;
  font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 48;
  letter-spacing: -0.01em;
}
.brand img { width: 30px; height: 30px; }
nav.links { display: flex; gap: 28px; margin-left: auto; }
nav.links a {
  text-decoration: none;
  font-size: 15px;
  color: var(--cream-2);
  transition: color 0.15s ease;
}
nav.links a:hover { color: var(--cream); }

/* Buttons */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  padding: 0 28px;
  border-radius: 999px;
  font: 600 16px/1 var(--sans);
  text-decoration: none;
  white-space: nowrap;
  border: 2.5px solid transparent;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.btn:active { transform: translateY(1px); }
.btn.small {
  height: 40px;
  padding: 0 18px;
  font-size: 14px;
  color: var(--cream);
  border-color: rgba(255, 243, 223, 0.38);
}
.btn.small:hover { background: rgba(255, 243, 223, 0.1); }
.btn.ghost { color: var(--cream); border-color: rgba(255, 243, 223, 0.42); }
.btn.ghost:hover { background: rgba(255, 243, 223, 0.1); border-color: var(--cream); }
.btn.line { color: var(--ink); border-color: var(--ink); }
.btn.line:hover { background: rgba(29, 17, 35, 0.06); }
.btn.ink { color: var(--cream); background: var(--liquid); }
.btn.ink:hover { background: color-mix(in srgb, var(--liquid) 80%, #000); }

/* The wax button: a pill of wax that buds off drops on hover, which melt
   back into it through the goo filter. */
.btn.wax {
  color: var(--ink);
  isolation: isolate;
  padding: 0 32px;
  border: none;
  /* The wax glows like it does in the lamp: its light added to the liquid
     around it, mixed in linear light as the shader does. */
  box-shadow: 0 0 30px 10px color-mix(in srgb-linear, var(--wax) 30%, var(--liquid));
  transition: transform 0.45s cubic-bezier(.3, 1.8, .45, 1);
}
/* Bubbly: it swells a little under the cursor and squashes when pressed. */
.btn.wax:hover { transform: scale(1.04); }
.btn.wax:active { transform: scale(0.96, 0.92); transition-duration: 0.12s; }
.btn.wax .btn-text {
  position: relative;
  text-shadow: 0 1px 0 color-mix(in srgb, var(--wax) 40%, #fff);
}
.btn.wax .goo {
  position: absolute;
  inset: 0;
  z-index: -1;
  filter: url(#goo);
}
/* The wax is lighter on top and darker below, with the gloss on top of
   that from the filter. */
.btn.wax .goo::before,
.btn.wax .goo i {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: linear-gradient(180deg,
    color-mix(in srgb, var(--wax) 78%, #fff) 0%,
    var(--wax) 48%,
    color-mix(in srgb, var(--wax) 72%, #000) 100%);
}
.btn.wax .goo i {
  background: radial-gradient(circle at 40% 35%,
    color-mix(in srgb, var(--wax) 80%, #fff), var(--wax) 55%,
    color-mix(in srgb, var(--wax) 78%, #000));
}
.btn.wax .goo::before { inset: 0; }
.btn.wax .goo i { width: 24px; height: 24px; transition: transform 0.6s cubic-bezier(.3, 1.6, .5, 1); }
/* At rest the drops hide inside the pill, clear of its edge. */
.btn.wax .goo i:nth-child(1) { left: 14%; bottom: 10px; }
.btn.wax .goo i:nth-child(2) { left: 42%; top: 9px; width: 28px; height: 28px; }
.btn.wax .goo i:nth-child(3) { left: 66%; bottom: 12px; width: 20px; height: 20px; }
.btn.wax .goo i:nth-child(4) { right: 9%; top: 12px; width: 18px; height: 18px; }
.btn.wax:hover .goo i,
.btn.wax:focus-visible .goo i { animation: drip 2.4s ease-in-out infinite; }
.btn.wax:hover .goo i:nth-child(2),
.btn.wax:focus-visible .goo i:nth-child(2) { animation-name: rise; animation-delay: -0.6s; }
.btn.wax:hover .goo i:nth-child(3),
.btn.wax:focus-visible .goo i:nth-child(3) { animation-delay: -1.3s; animation-duration: 2.9s; }
.btn.wax:hover .goo i:nth-child(4),
.btn.wax:focus-visible .goo i:nth-child(4) { animation-name: rise; animation-delay: -1.9s; animation-duration: 2.2s; }
@keyframes drip {
  0%, 100% { transform: translateY(0) scale(1); }
  45% { transform: translateY(25px) scale(0.92, 1.08); }
  60% { transform: translateY(22px) scale(1); }
}
@keyframes rise {
  0%, 100% { transform: translateY(0) scale(1); }
  45% { transform: translateY(-26px) scale(0.92, 1.08); }
  60% { transform: translateY(-23px) scale(1); }
}

/* Hero: a window onto the lamp. */
.window { color: var(--cream); }
.hero {
  position: relative;
  min-height: calc(100vh - var(--base-h));
  min-height: calc(100svh - var(--base-h));
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 0 96px;
}
/* A veil of the liquid's color behind the words, so they read over bright
   wax: deepest behind them, lighter and more saturated further out. With
   Neon Rose it's rgb(53 5 108 / 50%) to rgb(66 9 132 / 25%), which older
   browsers get for every color. */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(110% 80% at 8% 30%, rgb(53 5 108 / 50%), rgb(66 9 132 / 25%) 62%);
  background: radial-gradient(110% 80% at 8% 30%,
    oklch(from var(--liquid) calc(l * 0.97) calc(c * 1.08) h / 50%),
    oklch(from var(--liquid) calc(l * 1.1) calc(c * 1.2) h / 25%) 62%);
}
.hero-copy { position: relative; width: 100%; padding-top: 50px; }
h1 {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  color: var(--cream);
  text-shadow: 0 2px 50px rgba(10, 3, 18, 0.45);
}
.h1-big {
  display: block;
  font-size: clamp(54px, 9.4vw, 152px);
  line-height: 0.88;
  letter-spacing: -0.035em;
  font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144;
}
.h1-small {
  display: block;
  margin-top: 0.3em;
  font-size: clamp(26px, 3.4vw, 54px);
  line-height: 1.05;
  font-style: italic;
  font-weight: 340;
  letter-spacing: -0.015em;
  font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 72;
}
.lead {
  max-width: 33em;
  margin: 30px 0 36px;
  font-size: clamp(17px, 1.3vw, 19.5px);
  color: var(--cream-2);
  text-shadow: 0 1px 24px rgba(10, 3, 18, 0.5);
}
.cta { display: flex; flex-wrap: wrap; gap: 14px; }

.hint {
  position: absolute;
  right: clamp(16px, 4vw, 40px);
  bottom: 26px;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--cream);
  text-shadow: 0 1px 12px rgba(10, 3, 18, 0.8);
}
.hint-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 1.5px solid var(--cream);
  animation: hint 2.6s ease-in-out infinite;
}
@keyframes hint {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(14px, -6px); }
}

/* The lamp's base, where the visitor tries the lamp. The wax glows on
   its top edge. */
.base {
  position: relative;
  z-index: 2;
  color: var(--cream);
  background: #191919;
  box-shadow: inset 0 18px 30px -22px var(--wax);
}
.base-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px clamp(18px, 2.2vw, 40px);
  min-height: var(--base-h);
  padding-top: 16px;
  padding-bottom: 16px;
}
.ctl { display: flex; flex-direction: column; gap: 9px; }
.ctl[hidden], .hint[hidden] { display: none !important; }
.engrave {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  line-height: 1;
  color: var(--metal-text);
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.7);
}
.pro {
  font-style: normal;
  font-size: 11px;
  padding: 3px 6px 3px;
  border-radius: 3px;
  color: var(--ink);
  background: var(--wax);
  text-shadow: none;
}
.ctl:first-child { flex-direction: column; }
.jewels { display: flex; gap: 12px; align-items: center; }
.ctl:first-child .jewels { min-height: 34px; }
.jewel {
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  background:
    radial-gradient(circle at 34% 28%, rgba(255, 255, 255, 0.6) 0 7%, transparent 9%),
    radial-gradient(circle at 52% 64%, var(--j-wax) 0 27%, transparent 29%),
    radial-gradient(circle at 50% 50%, color-mix(in srgb, var(--j-liquid) 75%, #fff) 0, var(--j-liquid) 70%);
  box-shadow:
    inset 0 0 0 1.5px rgba(0, 0, 0, 0.55),
    inset 0 -4px 6px rgba(0, 0, 0, 0.4),
    0 1px 0 rgba(255, 255, 255, 0.14);
  transition: box-shadow 0.25s ease, transform 0.2s ease;
}
.jewel:hover { transform: translateY(-1px); }
.jewel[aria-checked="true"] {
  box-shadow:
    inset 0 0 0 1.5px rgba(0, 0, 0, 0.55),
    inset 0 -4px 6px rgba(0, 0, 0, 0.4),
    0 0 0 3px #191919,
    0 0 0 5px var(--j-wax),
    0 0 20px 2px var(--j-wax);
}
.readout {
  display: inline-grid;
  font-size: 15px;
  line-height: 1;
  color: var(--cream);
  white-space: nowrap;
}
.readout > * { grid-area: 1 / 1; }
.readout > span { visibility: hidden; }
.ctl:first-child { display: grid; grid-template-columns: auto auto; column-gap: 16px; align-items: center; }
.ctl:first-child .engrave { grid-column: 1 / -1; }

.seg {
  display: flex;
  gap: 2px;
  padding: 3px;
  border-radius: 11px;
  background: #0d0d0d;
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.7), 0 1px 0 rgba(255, 255, 255, 0.09);
}
.seg button {
  position: relative;
  padding: 8px 13px 8px 22px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #b4b4be;
  font: 600 13px/1 var(--sans);
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}
/* A small lamp in each key that lights up when it's on. */
.seg button::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 50%;
  width: 5px;
  height: 5px;
  margin-top: -2.5px;
  border-radius: 50%;
  background: #45464e;
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}
.seg button:hover { color: var(--cream); }
.seg button[aria-checked="true"] {
  color: #fff;
  background: linear-gradient(180deg, #5a5c65, #3f4148);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 2px 5px rgba(0, 0, 0, 0.55);
}
.seg button[aria-checked="true"]::before {
  background: var(--wax);
  box-shadow: 0 0 8px 1px var(--wax);
}

.live {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  line-height: 1.4;
  color: var(--metal-text);
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.7);
}
.live b { color: var(--cream); font-weight: 700; }
.live .stats { display: block; color: #7f808a; min-height: 1.35em; }
.led {
  flex: none;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--wax);
  box-shadow: 0 0 10px 1px var(--wax);
  animation: led 2.4s ease-in-out infinite;
}
@keyframes led { 50% { opacity: 0.45; } }

/* Paper: the catalog pages that slide over the lamp. */
.paper {
  position: relative;
  color: var(--ink);
  background-color: var(--paper);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .11 0 0 0 0 .06 0 0 0 0 .13 .22 0 0 0 -.06'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  padding: clamp(84px, 11vw, 160px) 0;
}
/* Sheets round off where the lamp shows behind them. */
#looks { border-radius: 0 0 var(--sheet-r) var(--sheet-r); }
#pricing { border-radius: var(--sheet-r) var(--sheet-r) 0 0; }
.faq { border-radius: 0 0 var(--sheet-r) var(--sheet-r); }
#how { padding-bottom: clamp(48px, 6vw, 80px); }
#pricing { padding-bottom: clamp(48px, 6vw, 80px); }

.eyebrow {
  margin: 0 0 18px;
  font-size: 20px;
  color: var(--ink-3);
}
.eyebrow.light {
  color: color-mix(in srgb, var(--wax) 45%, #fff);
  text-shadow: 0 1px 16px rgba(10, 3, 18, 0.75);
}

h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(46px, 6.6vw, 108px);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.032em;
  font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144;
}
h2 em {
  font-style: italic;
  font-weight: 320;
  color: var(--liquid);
  font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144;
}
.window h2 em { color: inherit; }

.statement {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 0 24px;
  align-items: end;
  margin-bottom: clamp(64px, 8vw, 120px);
}
.statement .eyebrow { grid-column: 1 / -1; }
.statement h2 { grid-column: 1 / 8; }
.statement-body {
  grid-column: 8 / 13;
  margin: 0;
  font-size: 18.5px;
  line-height: 1.6;
  color: var(--ink-2);
}

.specs {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0 clamp(24px, 3.4vw, 56px);
  border-top: 2px solid var(--ink);
}
.specs li {
  position: relative;
  padding: 30px 0 44px;
  border-bottom: 1px solid var(--rule);
}
.specs svg {
  display: block;
  width: 38px;
  height: 38px;
  margin-bottom: 22px;
  fill: none;
  stroke: var(--liquid);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.specs h3 {
  margin: 0 0 10px;
  font-family: var(--display);
  font-size: 27px;
  font-weight: 650;
  line-height: 1.1;
  letter-spacing: -0.012em;
  font-variation-settings: "SOFT" 100, "WONK" 0, "opsz" 48;
}
.specs p { margin: 0; color: var(--ink-2); font-size: 16px; max-width: 28em; }

/* The app, as figures in a catalog. */
.looks { padding-top: clamp(48px, 6vw, 80px); }
.h2-wide { max-width: 13em; margin-bottom: clamp(56px, 8vw, 110px); }
/* Screenshot and caption side by side, with room for the color block
   that sticks out behind the screenshot. */
.plate {
  display: grid;
  grid-template-columns: minmax(0, 2.1fr) minmax(0, 1fr);
  gap: 32px clamp(56px, 7vw, 112px);
  align-items: end;
  margin: 0 0 clamp(72px, 10vw, 140px);
}
.plate:last-child { margin-bottom: 0; }
.plate-img { position: relative; isolation: isolate; }
/* A block of the liquid's color offset behind the screenshot, like a
   misregistered print. */
.plate-img::before {
  content: "";
  position: absolute;
  inset: 22px -22px -22px 22px;
  z-index: -1;
  border-radius: 14px;
  background: var(--liquid);
}
.plate-img img {
  border-radius: 12px;
  box-shadow: 0 0 0 1px rgba(29, 17, 35, 0.12), 0 34px 70px -34px rgba(29, 17, 35, 0.6);
}
.plate figcaption { max-width: 24em; font-size: 16px; color: var(--ink-2); padding-bottom: 6px; }
.plate figcaption strong {
  display: block;
  margin-bottom: 8px;
  font-family: var(--display);
  font-size: 30px;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: var(--ink);
  font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 72;
}
.plate-b { grid-template-columns: minmax(0, 1fr) minmax(0, 2.1fr); }
.plate-b .plate-img { grid-column: 2; grid-row: 1; }
.plate-b figcaption { grid-column: 1; grid-row: 1; justify-self: end; }
.plate-b .plate-img::before { inset: 22px 22px -22px -22px; background: var(--wax); }
.plate-c { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); padding-left: 8%; }
.plate-c figcaption { align-self: center; }

/* The price, over the lamp. */
.price-window {
  min-height: 92vh;
  min-height: 92svh;
  display: flex;
  align-items: center;
  text-align: center;
  padding: 120px 0;
}
.price-window .wrap { width: 100%; }
.price-big {
  font-size: clamp(110px, 21vw, 340px);
  line-height: 0.8;
  letter-spacing: -0.05em;
  color: var(--cream);
  text-shadow: 0 4px 80px rgba(10, 3, 18, 0.45);
}
.price-sub {
  margin: 34px auto 0;
  font-size: clamp(17px, 1.4vw, 20px);
  color: var(--cream-2);
  text-shadow: 0 1px 24px rgba(10, 3, 18, 0.6);
}

/* Free and Pro side by side. */
.compare-wrap { overflow-x: auto; margin: 0 auto; max-width: 960px; }
.compare {
  width: 100%;
  border-collapse: collapse;
  font-size: 16.5px;
}
.compare th, .compare td { padding: 16px 18px; text-align: center; }
.compare tbody th { text-align: left; font-weight: 500; padding-left: 0; }
.compare tbody tr { border-top: 1px solid var(--rule); }
.compare tbody tr:first-child { border-top: 2px solid var(--ink); }
.compare thead th { vertical-align: bottom; padding-bottom: 24px; }
.compare td { width: 22%; color: var(--ink-2); }
.compare .pro-col { background: #faf3e6; box-shadow: inset 1px 0 0 var(--rule), inset -1px 0 0 var(--rule); }
.compare thead .pro-col { border-radius: 16px 16px 0 0; }
.compare tfoot .pro-col { border-radius: 0 0 16px 16px; }
.compare tfoot td { padding-top: 28px; padding-bottom: 28px; }
.tier {
  display: block;
  font-family: var(--display);
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 72;
}
.tier-price { display: block; margin-top: 6px; font-size: 15px; color: var(--ink-3); }
.tier-price small { font-size: 12px; }
.yes, .no {
  position: relative;
  display: inline-block;
  width: 18px;
  height: 18px;
  overflow: hidden;
  font-style: normal;
  color: transparent;
  vertical-align: middle;
}
/* A drop of wax. */
.yes::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 50% 50% 50% 50% / 58% 58% 42% 42%;
  background:
    radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.55) 0 14%, transparent 16%),
    var(--liquid);
}
.no::before {
  content: "";
  position: absolute;
  left: 3px;
  right: 3px;
  top: 8px;
  height: 2px;
  background: var(--ink-3);
  opacity: 0.6;
}
.compare .btn { height: 48px; padding: 0 22px; font-size: 15px; }
.fine {
  max-width: 960px;
  margin: 28px auto 0;
  font-size: 14px;
  color: var(--ink-3);
}

/* FAQ */
.faq { padding-top: clamp(48px, 6vw, 80px); }
.faq-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 48px;
  align-items: start;
}
.faq-grid > div:first-child { position: sticky; top: 48px; }
.faq-list { border-bottom: 1px solid var(--rule); }
details { border-top: 1px solid var(--rule); }
details:first-child { border-top: 2px solid var(--ink); }
summary {
  position: relative;
  padding: 24px 48px 24px 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--display);
  font-size: clamp(20px, 1.9vw, 25px);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.01em;
  font-variation-settings: "SOFT" 100, "WONK" 0, "opsz" 36;
}
summary::-webkit-details-marker { display: none; }
summary::before,
summary::after {
  content: "";
  position: absolute;
  right: 6px;
  top: 50%;
  width: 16px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.3s ease;
}
summary::after { transform: rotate(90deg); }
details[open] summary::after { transform: rotate(0deg); }
details p { margin: -6px 0 26px; max-width: 36em; color: var(--ink-2); }
details a { color: var(--liquid); text-underline-offset: 3px; }

/* The end of the page: the lamp's pool, then its base again. */
.outro {
  min-height: 78vh;
  min-height: 78svh;
  display: flex;
  align-items: center;
  text-align: center;
  padding: 120px 0 160px;
}
.outro .wrap { width: 100%; }
.outro h2 {
  font-size: clamp(64px, 11vw, 184px);
  color: var(--cream);
  text-shadow: 0 4px 80px rgba(10, 3, 18, 0.45);
}
.outro .price-sub { margin-top: 18px; }
.outro .cta { justify-content: center; margin-top: 34px; }

footer.foot .base-inner { justify-content: space-between; }
.engrave-text {
  font-size: 14px;
  color: var(--metal-text);
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.7);
}
footer nav { display: flex; gap: 24px; font-size: 14px; }
footer nav a { color: var(--cream-2); text-decoration: none; }
footer nav a:hover { color: var(--cream); }

/* Entrance */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.9s ease, transform 0.9s cubic-bezier(.2, .7, .2, 1); }
.ready .reveal { opacity: 1; transform: none; }
.ready .reveal:nth-child(2) { transition-delay: 0.08s; }
.ready .reveal:nth-child(3) { transition-delay: 0.2s; }
.ready .reveal:nth-child(4) { transition-delay: 0.3s; }
.ready .hint { transition-delay: 1.2s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hint-dot, .led, .btn.wax .goo i { animation: none !important; }
  .btn.wax:hover, .btn.wax:active { transform: none; }
  .stage canvas { transition: none; }
}

@media (hover: none) {
  .hint { display: none; }
}

@media (max-width: 1320px) {
  .live .stats { display: none; }
}

@media (max-width: 980px) {
  nav.links { display: none; }
  .cap-inner { justify-content: space-between; }
  .statement h2, .statement-body { grid-column: 1 / -1; }
  .statement-body { margin-top: 28px; }
  .specs { grid-template-columns: 1fr 1fr; }
  .plate, .plate-b, .plate-c { grid-template-columns: minmax(0, 1fr); padding-left: 0; }
  .plate .plate-img, .plate figcaption { grid-column: 1 !important; grid-row: auto !important; justify-self: start !important; }
  .plate figcaption { margin-top: 28px; max-width: 34em; }
  .plate-c .plate-img { max-width: 440px; }
  .faq-grid { grid-template-columns: 1fr; gap: 28px; }
  .faq-grid > div:first-child { position: static; }
  .live { margin-left: 0; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .cap-inner { height: 72px; gap: 12px; }
  /* The full name stays on one line next to the button. */
  .brand { font-size: 18px; gap: 8px; white-space: nowrap; }
  .brand img { width: 26px; height: 26px; }
  .cap .btn.small { height: 38px; padding: 0 14px; font-size: 13px; }
  .hero { padding: 104px 0 64px; justify-content: flex-start; }
  .cta .btn { width: 100%; }
  .btn.wax { white-space: normal; text-align: center; line-height: 1.2; }
  .specs { grid-template-columns: 1fr; }
  /* One row of controls that scrolls sideways, so the lamp keeps the
     screen. */
  .base:not(.foot) .base-inner {
    flex-wrap: nowrap;
    gap: 22px;
    overflow-x: auto;
    scrollbar-width: none;
    padding-top: 14px;
    padding-bottom: 14px;
  }
  .base:not(.foot) .base-inner::-webkit-scrollbar { display: none; }
  .base:not(.foot) .base-inner::after { content: ""; flex: none; width: 1px; }
  .ctl { flex: none; }
  .live { flex: none; }
  .seg button { padding: 8px 9px 8px 18px; font-size: 12.5px; }
  .seg button::before { left: 7px; }
  .plate-img::before { inset: 12px -10px -12px 12px; }
  .plate-b .plate-img::before { inset: 12px 12px -12px -10px; }
  .compare { font-size: 14.5px; }
  .compare th, .compare td { padding: 13px 8px; }
  .compare td { width: 84px; }
  .tier-price small { display: block; }
  .tier { font-size: 26px; }
  .compare .btn { padding: 0 14px; height: 44px; font-size: 14px; }
  footer.foot .base-inner { flex-direction: column; align-items: flex-start; justify-content: center; }
}
