@charset "UTF-8";
/* Gelato site (W-11). One stylesheet for every page.
   Dark only. SF Pro via the system stack. No web fonts. */

:root {
  color-scheme: dark;
  --bg: #0a0b10;
  --bg-raise: #12141c;
  --fg: #f5f4f0;
  --mid: #c3c4cf;
  --mute: #9193a3;
  --line: rgba(255, 255, 255, .1);
  --line-strong: rgba(255, 255, 255, .18);
  --pro: #a080f0;
  --pro-ink: #150d2b;
  /* The brand gradient, one pass, for the Pro lozenge. Same four gels as --band. */
  --pro-band: linear-gradient(100deg, #40c0e0, #a080f0 36%, #ff6090 70%, #ffb020);
  --focus: #40c0e0;
  --gel: #a9c8ff;               /* the picked gel; script changes it */
  --band: linear-gradient(90deg, #40c0e0, #a080f0, #ff6090, #ffb020, #ff6090, #a080f0, #40c0e0);

  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;

  --t-display: clamp(2.75rem, 7.4vw, 5.75rem);
  --t-h2: clamp(2rem, 4.6vw, 3.5rem);
  --t-h3: clamp(1.375rem, 2.2vw, 1.75rem);
  --t-lead: clamp(1.125rem, 1.7vw, 1.375rem);
  --t-body: 1.0625rem;
  --t-small: .875rem;

  --gutter: 24px;
  --section: clamp(96px, 15vw, 208px);
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 400 var(--t-body)/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.mono { font-family: var(--mono); font-size: .92em; letter-spacing: -.01em; }

.wrap {
  max-width: 1168px;
  margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}
.wrap.wide { max-width: 1320px; }

/* The band: the icon's gels, 3px, top of every page */
.band { position: fixed; inset: 0 0 auto; height: 3px; background: var(--band); z-index: 30; }

/* ---------- Type ---------- */
.display { font-size: var(--t-display); font-weight: 700; letter-spacing: -.04em; line-height: .98; text-wrap: balance; }
h2, .h2 { font-size: var(--t-h2); font-weight: 700; letter-spacing: -.035em; line-height: 1.04; text-wrap: balance; }
h3, .h3 { font-size: var(--t-h3); font-weight: 600; letter-spacing: -.02em; line-height: 1.15; }
.lead { font-size: var(--t-lead); line-height: 1.4; color: var(--mid); max-width: 34em; text-wrap: pretty; }
.small { font-size: var(--t-small); color: var(--mute); }
.eyebrow { font-size: var(--t-small); font-weight: 600; color: var(--mute); letter-spacing: .01em; }
p { text-wrap: pretty; }

/* ---------- Pro badge ----------
   Titles only: nav, page titles, plan names. Never inside a sentence. */
.pro {
  display: inline-block;
  font-size: .5em;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  line-height: 1;
  padding: .3em .5em .28em .56em;
  border-radius: .42em;
  background: var(--pro-band);
  color: var(--pro-ink);
  vertical-align: .42em;
  margin-left: .22em;
}
.pro.sm { font-size: .6875rem; vertical-align: .12em; margin-left: .3em; }

[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  height: 48px; padding: 0 26px;
  border-radius: 999px; border: 0;
  background: var(--fg); color: #0a0b10;
  font: 600 1.0625rem/1 var(--sans); letter-spacing: -.01em;
  cursor: pointer;
  transition: transform .18s var(--ease), background .18s;
}
.btn:hover { background: #fff; transform: translateY(-1px); }
.btn:active { transform: scale(.98); }
.btn.sm { height: 34px; padding: 0 16px; font-size: .875rem; }
.btn.quiet { background: rgba(255, 255, 255, .1); color: var(--fg); }
.btn.quiet:hover { background: rgba(255, 255, 255, .16); }
.link { font-weight: 600; color: var(--fg); display: inline-flex; align-items: center; gap: .35em; }
.link::after { content: "\2192"; transition: transform .2s var(--ease); }
.link:hover::after { transform: translateX(4px); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 3px; z-index: 20;
  transition: background .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.scrolled .nav { background: rgba(10, 11, 16, .78); -webkit-backdrop-filter: saturate(160%) blur(18px); backdrop-filter: saturate(160%) blur(18px); border-color: var(--line); }
.nav .wrap { display: flex; align-items: center; height: 60px; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.125rem; letter-spacing: -.02em; margin-right: auto; }
.brand img { width: 30px; height: 30px; border-radius: 7px; }
.nav a.item { font-size: .9375rem; color: var(--mid); transition: color .15s; white-space: nowrap; }
.nav a.item:hover, .nav a.item[aria-current] { color: var(--fg); }
@media (max-width: 640px) {
  .nav .wrap { gap: 18px; }
  .nav a.item.opt { display: none; }
  .brand span { display: none; }
}

/* ---------- Sections ---------- */
.s { padding-block: var(--section); position: relative; }
.s.tight { padding-block: calc(var(--section) * .6); }
.center { text-align: center; }
.center .lead { margin-inline: auto; }
.stack > * + * { margin-top: 20px; }
.stack > .actions { margin-top: 32px; }
.center .actions { justify-content: center; }

/* ---------- Hero ---------- */
.hero { padding-top: clamp(64px, 10vw, 128px); padding-bottom: 0; text-align: center; }
.hero .lead { margin-inline: auto; margin-top: 24px; }
.hero .actions { justify-content: center; margin-top: 36px; }
.hero .small { margin-top: 18px; }

/* A real screenshot, shown as a window. No border, no card. */
.shot { position: relative; margin-top: clamp(56px, 8vw, 104px); perspective: 1800px; }
.shot::before {
  content: ""; position: absolute; inset: 8% 6% 0; z-index: -1;
  background: radial-gradient(60% 60% at 50% 40%, var(--gel), transparent 70%);
  opacity: calc(.12 + var(--p, 1) * .2); filter: blur(60px);
  transition: background .6s;
}
.shot img {
  width: 100%; border-radius: clamp(10px, 1.6vw, 22px);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 40px 120px -20px rgba(0, 0, 0, .8);
  transform-origin: 50% 100%;
  transform: rotateX(calc((1 - var(--p, 1)) * 16deg)) scale(calc(.88 + var(--p, 1) * .12));
  will-change: transform;
}
.shot.flat img { transform: none; }
figcaption { margin-top: 16px; font-size: var(--t-small); color: var(--mute); text-align: center; }

/* ---------- Levels per light ---------- */
.levels { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 7vw, 104px); align-items: center; }
.gels { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.gel {
  width: 44px; height: 44px; border-radius: 50%; border: 0; padding: 0; cursor: pointer;
  background: var(--c); position: relative;
  transition: transform .25s var(--ease);
}
.gel::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid transparent; transition: border-color .2s; }
.gel:hover { transform: scale(1.08); }
.gel[aria-checked="true"]::after { border-color: var(--fg); }
.gelname { margin-top: 22px; display: flex; align-items: baseline; gap: 12px; font-size: 1.25rem; font-weight: 600; letter-spacing: -.02em; }
.gelname .mono { color: var(--mute); font-weight: 400; font-size: 1rem; }

.lights > li { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 4px 20px; align-items: center; padding: 26px 0; border-top: 1px solid var(--line); }
.lights > li:last-child { border-bottom: 1px solid var(--line); }
.lens {
  width: 56px; height: 56px; border-radius: 50%; grid-row: span 2;
  background: radial-gradient(circle at 50% 45%, #fff, var(--gel) 42%, color-mix(in srgb, var(--gel) 55%, #000) 100%);
  box-shadow: 0 0 44px -4px var(--gel);
  transition: background .5s, box-shadow .5s;
}
.lights .name { font-weight: 600; letter-spacing: -.01em; }
.vals { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.v { display: grid; gap: 4px; min-width: 0; }
.v i { font-style: normal; font-size: .8125rem; color: var(--mute); }
.v em { font-style: normal; font-size: clamp(1.5rem, 3vw, 2.125rem); font-weight: 600; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; transition: opacity .3s; }
.v u { display: block; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, .1); position: relative; overflow: hidden; text-decoration: none; }
.v u::after { content: ""; position: absolute; inset: 0; background: var(--h); transform-origin: 0 50%; transform: scaleX(calc(var(--w) / 100)); transition: transform .5s var(--ease); }
.v.empty em { opacity: .32; }
@media (max-width: 860px) {
  .levels { grid-template-columns: 1fr; }
  .lights > li { grid-template-columns: 40px minmax(0, 1fr); gap: 4px 16px; }
  .lens { width: 40px; height: 40px; }
}

.num {
  font-size: clamp(4rem, 9vw, 7rem); font-weight: 700; letter-spacing: -.05em; line-height: .9;
  background: var(--band); background-size: 300% 100%; background-position: calc(var(--i, 0) * 28%) 0;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: 20px; width: max-content;
}
.points { margin-top: 24px; max-width: 24em; border-top: 1px solid var(--line); }
.points li { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: var(--t-small); color: var(--mid); }
.points b { display: block; color: var(--fg); font-weight: 600; }
.chip { display: inline-block; font-family: var(--mono); font-size: .8125rem; color: var(--mid); padding: 6px 12px; border-radius: 8px; background: rgba(255, 255, 255, .07); white-space: nowrap; }
/* ---------- Fixture Families ---------- */
.family { margin-top: clamp(56px, 9vw, 120px); position: relative; }
.family svg { display: block; width: 100%; height: auto; overflow: visible; }
.family .o { fill: var(--bg); stroke: #8d91a3; stroke-width: 1.25; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.family .d { fill: none; stroke: #5d6174; stroke-width: 1; vector-effect: non-scaling-stroke; }
.family .cl { fill: none; stroke: #4b4f62; stroke-width: .75; stroke-dasharray: 12 3 2 3; vector-effect: non-scaling-stroke; }
.family .gnd { stroke: var(--line-strong); stroke-width: 1; vector-effect: non-scaling-stroke; }
.family .ln { fill: var(--bg); stroke: #6f7386; stroke-width: 1; vector-effect: non-scaling-stroke; transition: fill .6s var(--ease), stroke .6s; transition-delay: calc(var(--n) * 110ms + 120ms); }
.family .glow { opacity: 0; transition: opacity 1s var(--ease); transition-delay: calc(var(--n) * 110ms); }
.family.lit .ln { fill: color-mix(in srgb, var(--gel) 86%, #fff); stroke: var(--gel); }
.family.lit .glow { opacity: 1; }
.fam-labels { position: relative; height: 1.4em; margin-top: 12px; font-family: var(--mono); font-size: .75rem; color: var(--mute); }
.fam-labels span { position: absolute; top: 0; translate: -50% 0; white-space: nowrap; }
@media (max-width: 860px) { .fam-labels { display: none; } }
.family-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; margin-top: 20px; font-size: var(--t-small); color: var(--mute); }

/* ---------- Gelato Pro on the home page ---------- */
.prohome { position: relative; overflow: clip; }
.prohome::before { content: ""; position: absolute; left: 50%; top: 4%; width: min(900px, 120vw); height: 360px; translate: -50% 0; background: var(--pro-band); filter: blur(120px); opacity: .13; border-radius: 50%; z-index: -1; }
.prohome .kicker { font-size: 1.25rem; font-weight: 700; letter-spacing: -.02em; margin-bottom: 18px; }
.prohome .lead { margin-top: 20px; }
.wire { display: flex; align-items: center; gap: 16px; margin-top: clamp(40px, 6vw, 72px); font-family: var(--mono); font-size: .8125rem; color: var(--mid); white-space: nowrap; }
.wire i { flex: 1; min-width: 24px; height: 2px; border-radius: 2px; background: var(--pro-band); position: relative; overflow: hidden; }
.wire i::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, #fff, transparent); width: 22%; translate: -100% 0; }
.wire b { font-weight: 500; color: var(--fg); padding: 7px 12px; border-radius: 8px; background: rgba(255, 255, 255, .07); }
@media (prefers-reduced-motion: no-preference) {
  .wire i::after { animation: wire 2.8s var(--ease) infinite; }
  @keyframes wire { to { translate: 460% 0; } }
}
.prohome .also { margin-top: 44px; color: var(--mute); font-size: var(--t-small); }
.prohome .actions { margin-top: 28px; }

.ticks { margin-top: 24px; display: grid; gap: 10px; color: var(--mid); }
.ticks li { padding-left: 28px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .48em; width: 12px; height: 6px; border-left: 2px solid var(--fg); border-bottom: 2px solid var(--fg); transform: rotate(-45deg); opacity: .7; }

/* ---------- Feature rows (Pro page) ---------- */
.feature { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.feature.flip > .text { order: 2; }
.feature .num { font-size: clamp(3rem, 6vw, 4.5rem); }
.feature h2 { font-size: clamp(1.875rem, 3.6vw, 2.75rem); margin-bottom: 14px; }
.feature p { color: var(--mid); max-width: 24em; }
.feature .shot { margin-top: 0; }
.feature .chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
@media (max-width: 860px) {
  .feature { grid-template-columns: 1fr; }
  .feature.flip > .text { order: 0; }
}

/* Plain columns: a short title and one line each. No boxes. */
.cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px clamp(28px, 5vw, 72px); margin-top: clamp(40px, 6vw, 72px); }
.cols h3 { font-size: 1.125rem; font-weight: 600; letter-spacing: -.01em; margin-bottom: 6px; }
.cols p { color: var(--mid); font-size: 1rem; }
.cols.ruled > li { border-top: 1px solid var(--line); padding-top: 20px; }
@media (max-width: 860px) { .cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .cols { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- Pricing ---------- */
/* How to pay: three real radios, so the page works with scripts off (the figures for the checked one show through :has()). */
.seg-set { border: 0; padding: 0; margin: 36px 0 0; min-width: 0; }
.seg { position: relative; display: inline-flex; max-width: 100%; padding: 4px; border-radius: 999px; background: rgba(255, 255, 255, .08); }
.seg input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.seg label { display: inline-flex; align-items: center; height: 38px; padding: 0 20px; border-radius: 999px; color: var(--mid); font: 600 .9375rem/1 var(--sans); cursor: pointer; transition: background .2s, color .2s; }
.seg label:hover { color: var(--fg); }
.seg input:checked + label { background: var(--fg); color: #0a0b10; }
.seg input:focus-visible + label { outline: 2px solid var(--focus); outline-offset: 3px; }
@media (max-width: 400px) { .seg label { padding: 0 14px; } }
/* A figure holds its pound text (.static) for scripts off, and a dash until Paddle answers. */
.static { display: none; }
.fig .dash { color: var(--mute); }
.when-year, .when-outright { display: none; }
main:has(#period-year:checked) .when-month, main:has(#period-outright:checked) .when-month { display: none; }
main:has(#period-year:checked) .when-year, main:has(#period-outright:checked) .when-outright { display: block; }
/* Without :has(), checkout.js says which is checked in data-period; with neither, Monthly is all that shows (a noscript style hides the switch). */
@supports not selector(:has(*)) {
  main[data-period="year"] .when-month, main[data-period="outright"] .when-month { display: none; }
  main[data-period="year"] .when-year, main[data-period="outright"] .when-outright { display: block; }
}
.offer { max-width: 46rem; margin: 28px auto 0; color: var(--mid); font-size: var(--t-small); }
.offer strong { color: var(--fg); }
.offer.holding { visibility: hidden; } /* blank space held for a line that fills in once Paddle has answered */
.buy-status { margin-top: 20px; color: var(--mute); font-size: var(--t-small); }
.plans { display: grid; grid-template-columns: 1fr 1fr; margin-top: clamp(40px, 6vw, 72px); text-align: left; }
.plan { padding-right: clamp(20px, 5vw, 72px); }
.plan + .plan { padding-right: 0; padding-left: clamp(20px, 5vw, 72px); border-left: 1px solid var(--line); }
.plan h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); }
.plan .for { color: var(--mid); margin-top: 8px; }
.price { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.price b { font-size: clamp(3.25rem, 7vw, 5rem); font-weight: 700; letter-spacing: -.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.price b { margin-left: -.05em; } /* optical: the big digits' side bearing */
.price > span { color: var(--mute); }
.plan h2 .pro { font-size: .34em; vertical-align: .9em; }
.price .was { order: -1; font-size: clamp(1.5rem, 3vw, 2rem); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.price .was s { text-decoration-thickness: .06em; }
.then { margin-top: 8px; min-height: 1.5em; color: var(--mute); font-size: var(--t-small); }
.plan .note { margin-top: 10px; min-height: 1.5em; color: var(--mute); font-size: var(--t-small); max-width: 26em; }
.plan .note .fig { color: var(--mid); font-variant-numeric: tabular-nums; }
.plan .vat { margin-top: 2px; color: var(--mute); font-size: var(--t-small); min-height: 1.5em; }
.plan .btn { margin-top: 22px; }
.plan .ticks { margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line); }
.student { margin-top: 56px; }
button.link { padding: 0; border: 0; background: none; font: inherit; font-weight: 600; cursor: pointer; }
@media (max-width: 640px) {
  .plans { grid-template-columns: 1fr; }
  .plan { padding: 0 0 48px; }
  .plan + .plan { padding: 48px 0 0; border-left: 0; border-top: 1px solid var(--line); }
}
.faq { max-width: 760px; margin: clamp(40px, 6vw, 72px) auto 0; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; font-size: 1.1875rem; font-weight: 600; letter-spacing: -.015em; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; translate: 0 -54%; font-size: 1.5rem; font-weight: 400; color: var(--mute); transition: rotate .25s var(--ease); }
.faq details[open] summary::after { rotate: 45deg; }
.faq details p { color: var(--mid); padding: 0 40px 24px 0; max-width: 38em; }
.faq a, .inline { text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; }

/* ---------- Close and footer ---------- */
.close { text-align: center; padding-block: var(--section); position: relative; overflow: clip; }
.close::before { content: ""; position: absolute; left: 50%; bottom: -260px; width: min(1100px, 130vw); height: 520px; translate: -50% 0; background: var(--band); filter: blur(110px); opacity: .22; border-radius: 50%; z-index: -1; }
.close .actions { justify-content: center; margin-top: 36px; }
.close .small { margin-top: 20px; }

footer { border-top: 1px solid var(--line); padding-block: 44px 56px; font-size: var(--t-small); color: var(--mute); }
footer .row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
footer .brand { font-size: 1rem; color: var(--fg); margin-right: auto; }
footer .brand img { width: 24px; height: 24px; border-radius: 6px; }
footer nav { display: flex; flex-wrap: wrap; gap: 10px 24px; }
footer nav a:hover { color: var(--fg); }
footer .legal { margin-top: 28px; max-width: 62em; line-height: 1.5; }

/* ---------- Motion ----------
   Everything is complete at rest. Motion is added only when script is
   running and the reader has not asked for less. */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
  .js [data-reveal].in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
  .shot img { transform: none; }
}

/* ---------- Products ----------
   One system, one light per product. Set data-product on <html> for a
   product's own page, or on a section of the studio home. Everything
   that glows (band, numerals, shot glow, close) follows these three. */
[data-product="gelato"] { --band: linear-gradient(90deg, #40c0e0, #a080f0, #ff6090, #ffb020, #ff6090, #a080f0, #40c0e0); --gel: #a9c8ff; }
[data-product="exeunt"] { --band: linear-gradient(90deg, #6a7282, #b9a274, #e9c785, #f8e6b8, #e9c785, #b9a274, #6a7282); --gel: #e9c785; --focus: #e9c785; }
[data-product="focus-mate"] { --band: linear-gradient(90deg, #ff7448, #f0789a, #ff6b7a, #ffb020, #ff6b7a, #f0789a, #ff7448); --gel: #ff7448; --focus: #ff7448; }

/* Product name with its icon: page titles and the studio home. */
.kicker { display: flex; align-items: center; gap: 12px; font-size: 1.25rem; font-weight: 700; letter-spacing: -.02em; margin-bottom: 18px; }
.kicker img { width: 40px; height: 40px; border-radius: 9px; }
.hero .kicker { justify-content: center; }
.kicker .state { font-size: var(--t-small); font-weight: 600; color: var(--mute); letter-spacing: 0; }
.brand .mark { width: 26px; height: 26px; color: var(--fg); }
.brand img.plain { border-radius: 0; }

/* A device picture that is not a Mac window. */
.shot.phone img { width: min(300px, 62vw); margin-inline: auto; border-radius: 0; box-shadow: none; }
.shot.phone::before { inset: 10% 18% 6%; }
.feature .shot.phone { justify-self: center; width: 100%; }

/* Studio home: one product per screen. */
.product { border-top: 1px solid var(--line); }
.product h2 { margin-bottom: 16px; }
.product .actions { margin-top: 28px; }

/* One price, no plans. */
.oneprice { text-align: center; }
.oneprice .price { justify-content: center; }
.oneprice .lead { margin: 20px auto 0; }
.oneprice .actions { justify-content: center; margin-top: 32px; }
.platforms { display: flex; justify-content: center; gap: 8px; margin-top: 22px; }

/* ---------- Paper: the light theme, for the studio home ----------
   Same parts, light ground. Set data-look="paper" on <html>.
   Product pages stay dark. Screenshots stay dark on both. */
[data-look="paper"] {
  color-scheme: light;
  --bg: #f3f0e8;
  --bg-raise: #fbf9f4;
  --fg: #15161b;
  --mid: #474956;
  --mute: #6c6e7c;
  --line: rgba(21, 22, 27, .12);
  --line-strong: rgba(21, 22, 27, .22);
  --focus: #15161b;
}
[data-look="paper"] [data-product] { --focus: #15161b; }
[data-look="paper"] .btn { color: var(--bg); }
[data-look="paper"] .btn:hover { background: #000; }
[data-look="paper"] .btn.quiet { background: rgba(21, 22, 27, .08); color: var(--fg); }
[data-look="paper"] .btn.quiet:hover { background: rgba(21, 22, 27, .14); }
[data-look="paper"].scrolled .nav { background: rgba(243, 240, 232, .8); }
[data-look="paper"] .chip { background: rgba(21, 22, 27, .06); }
[data-look="paper"] .shot img { box-shadow: 0 0 0 1px rgba(21, 22, 27, .1), 0 40px 90px -30px rgba(21, 22, 27, .45); }
[data-look="paper"] .shot.phone img { box-shadow: none; }
[data-look="paper"] .shot::before { opacity: .55; }

/* ---------- Features: five steps, Gelato Pro folded in ----------
   <html data-pro="on|off">. The switch sets it. Pro parts fold away when
   it is off; the page is complete, Pro showing, without script. */
.probar { position: sticky; top: 75px; z-index: 15; display: none; justify-content: center; margin-top: 40px; pointer-events: none; }
.js .probar { display: flex; }
.switch {
  pointer-events: auto; display: inline-flex; align-items: center; gap: 12px;
  height: 46px; padding: 0 20px 0 9px; border-radius: 999px; border: 1px solid var(--line-strong);
  background: rgba(18, 20, 28, .84); -webkit-backdrop-filter: saturate(160%) blur(18px); backdrop-filter: saturate(160%) blur(18px);
  color: var(--fg); font: 600 .9375rem/1 var(--sans); letter-spacing: -.01em; cursor: pointer;
  box-shadow: 0 12px 40px -12px rgba(0, 0, 0, .7);
}
.switch .track { width: 46px; height: 28px; border-radius: 999px; background: rgba(255, 255, 255, .18); position: relative; flex: none; }
.switch .track::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--pro-band); opacity: 0; transition: opacity .3s; }
.switch .track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .4); transition: translate .3s var(--ease); }
.switch[aria-checked="true"] .track::before { opacity: 1; }
.switch[aria-checked="true"] .track::after { translate: 18px 0; }
.switch .pro { margin-left: .1em; }

.feature h2 .pro { font-size: .34em; vertical-align: .9em; }
.feature .lede { font-size: 1.125rem; }

/* A Pro part inside a step. Folds to nothing when Pro is off. */
.addon { display: grid; grid-template-rows: 1fr; max-width: 24em; margin-top: 30px; transition: grid-template-rows .5s var(--ease), opacity .35s, margin-top .5s var(--ease), visibility 0s; }
.addon > div { overflow: hidden; min-height: 0; }
.addon section { padding-top: 16px; position: relative; }
.addon section::before { content: ""; position: absolute; inset: 0 0 auto; height: 2px; border-radius: 2px; background: var(--pro-band); }
.addon section + section { margin-top: 22px; }
.feature .also { max-width: 24em; margin-top: 30px; }
.feature .also section { padding-top: 16px; border-top: 1px solid var(--line); }
.feature .also section + section { margin-top: 22px; }
.feature .also h3 { font-size: 1.125rem; font-weight: 600; letter-spacing: -.01em; margin-bottom: 4px; }
.feature .also p { font-size: 1rem; }
.addon h3 { font-size: 1.125rem; font-weight: 600; letter-spacing: -.01em; margin-bottom: 4px; }
.addon p { font-size: 1rem; }
.addon .chips { margin-top: 14px; }
[data-pro="off"] .addon { grid-template-rows: 0fr; opacity: 0; margin-top: 0; visibility: hidden; transition: grid-template-rows .5s var(--ease), opacity .3s, margin-top .5s var(--ease), visibility 0s .5s; }

/* A picture with a Pro version on top of it. */
.shot.swap img + img { position: absolute; inset: 0; height: 100%; object-fit: cover; object-position: 0 0; transition: opacity .5s var(--ease); }
[data-pro="off"] .shot.swap img + img { opacity: 0; }

/* A step that is all Pro. */
.prooff { display: none; margin-top: 18px; }
.prooff .btn { margin-top: 18px; }
[data-pro="off"] .prooff { display: block; }
.allpro .shot { transition: opacity .5s, filter .5s; }
[data-pro="off"] .allpro .shot { opacity: .28; filter: saturate(.2); }

/* ---------- Home: the five steps, one line each ---------- */
.five { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 36px clamp(20px, 3vw, 40px); margin-top: clamp(48px, 7vw, 88px); }
.five > li { border-top: 1px solid var(--line); padding-top: 22px; }
.five .num { font-size: clamp(2.75rem, 4.6vw, 3.75rem); margin-bottom: 16px; }
.five h3 { font-size: 1.25rem; font-weight: 700; letter-spacing: -.02em; margin-bottom: 6px; }
.five h3 .pro { font-size: .625rem; vertical-align: .3em; }
.five p { color: var(--mid); font-size: 1rem; }
.five + .actions { margin-top: clamp(36px, 5vw, 56px); }
@media (max-width: 960px) { .five { grid-template-columns: 1fr 1fr 1fr; } }
@media (max-width: 640px) {
  .five { grid-template-columns: 1fr; gap: 0; }
  .five > li { display: grid; grid-template-columns: 52px minmax(0, 1fr); column-gap: 16px; padding-block: 18px; }
  .five .num { grid-row: span 2; margin: 0; font-size: 2.75rem; }
}
.prohome .for { margin-top: 44px; color: var(--mute); font-size: var(--t-small); }

/* Sections that exist only with Gelato Pro switched on */
[data-pro="off"] .proonly { display: none; }

/* ---------- Auto Palettes: ruled rows, a name and a line, then the labels ---------- */
.auto { margin-top: clamp(28px, 4vw, 44px); border-top: 1px solid var(--line); }
.auto > li { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 14px clamp(24px, 5vw, 64px); align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); }
.auto :is(h3, h4) { font-size: 1.125rem; font-weight: 600; letter-spacing: -.01em; margin-bottom: 4px; }
.auto p { color: var(--mid); font-size: 1rem; max-width: 26em; }
.auto .chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.auto .more { font-size: var(--t-small); color: var(--mute); margin-left: 4px; }
@media (max-width: 760px) { .auto > li { grid-template-columns: 1fr; } }
.autoblock { margin-top: clamp(56px, 8vw, 96px); }
.autotitle { font-size: clamp(1.625rem, 3vw, 2.25rem); font-weight: 700; letter-spacing: -.025em; }
.autolead { margin-top: 12px; color: var(--mid); font-size: 1.125rem; max-width: 32em; }

/* Auto Palettes on Home: one row at a time. Without the script the three rows stay stacked. */
.autotabs { display: none; }
.js .autotabs { display: flex; flex-wrap: wrap; gap: 0 32px; margin-top: clamp(24px, 3.5vw, 36px); box-shadow: inset 0 -1px 0 var(--line); }
.autotabs button { position: relative; font: inherit; font-size: 1.0625rem; font-weight: 600; letter-spacing: -.01em; color: var(--mid); background: none; border: 0; min-height: 44px; padding: 10px 0 14px; cursor: pointer; transition: color .25s var(--ease); }
.autotabs button::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px; background: var(--pro-band); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.autotabs button:hover { color: var(--fg); }
.autotabs button[aria-selected="true"] { color: var(--fg); }
.autotabs button[aria-selected="true"]::after { transform: scaleX(1); }
.js .auto.carousel { display: flex; margin-top: 0; border: 0; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; }
.js .auto.carousel::-webkit-scrollbar { display: none; }
.js .auto.carousel > li { flex: 0 0 100%; min-width: 0; scroll-snap-align: start; scroll-snap-stop: always; border: 0; }
.js .auto.carousel h4 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.js .auto.carousel p:not(.sum) { font-size: 1.125rem; }
@media (max-width: 760px) {
  .js .autotabs { flex-wrap: nowrap; gap: 24px; overflow-x: auto; scrollbar-width: none; margin-right: calc(var(--gutter, 24px) * -1); padding-right: 24px; }
  .js .auto.carousel { margin-top: 22px; }
  .js .autotabs::-webkit-scrollbar { display: none; }
  .autotabs button { flex: none; white-space: nowrap; }
  .js .auto.carousel > li { align-content: start; }
}

/* Auto Palettes drawings */
.auto > li { padding: clamp(28px, 4vw, 44px) 0; }
.g { min-width: 0; font-family: var(--mono); font-size: .8125rem; color: var(--mid); }
.plist { display: grid; grid-template-columns: repeat(2, max-content); gap: 9px 28px; }
.plist li { display: flex; align-items: center; gap: 9px; white-space: nowrap; }
.plist i { width: 10px; height: 10px; border-radius: 50%; background: var(--c); flex: none; box-shadow: 0 0 10px -1px var(--c); }
.plist i.all { background: #fff; box-shadow: 0 0 10px -1px #fff; }
.plist i.openi { background: none; box-shadow: none; border: 1.5px solid var(--line-strong); }
.plist .head { grid-column: 1 / -1; color: var(--fg); padding-bottom: 4px; }
.g-emit, .g-wheel { display: flex; align-items: center; gap: clamp(18px, 3vw, 36px); flex-wrap: wrap; }
.array { display: grid; justify-items: center; gap: 12px; }
.array .cap { font-size: .75rem; color: var(--mute); }
.disc { position: relative; width: 132px; height: 132px; border-radius: 50%; border: 1px solid var(--line-strong); background: radial-gradient(circle at 50% 40%, rgba(255,255,255,.07), rgba(255,255,255,.02)); }
.disc span { position: absolute; left: 50%; top: 50%; width: 22px; height: 22px; margin: -11px; border-radius: 50%; background: var(--c); box-shadow: 0 0 16px -2px var(--c); transform: rotate(calc(var(--n) * 45deg)) translateY(-42px); }
:is(.g-emit, .g-wheel) .to { width: clamp(24px, 4vw, 56px); height: 2px; border-radius: 2px; background: linear-gradient(90deg, transparent, var(--line-strong)); }
.g-share { display: grid; gap: 0; width: max-content; max-width: 100%; }
.g-share .r { position: relative; display: grid; grid-template-columns: repeat(3, 64px) auto; align-items: center; justify-items: center; height: 24px; }
.g-share .r.head { height: auto; align-items: end; padding-bottom: 12px; }
.g-share .r:not(.head)::before { content: ""; position: absolute; left: 32px; right: 0; top: 50%; height: 1px; background: var(--line); }
.g-share .lamp { display: grid; justify-items: center; gap: 8px; }
.g-share .cap { font-size: .6875rem; color: var(--mute); white-space: nowrap; }
.disc.mini { width: 46px; height: 46px; }
.disc.mini span { width: 8px; height: 8px; margin: -4px; box-shadow: 0 0 8px -1px var(--c); transform: rotate(var(--a)) translateY(-14px); }
.g-share b { position: relative; width: 10px; height: 10px; border-radius: 50%; background: var(--c); box-shadow: 0 0 10px -1px var(--c); }
.g-share b.off { width: 4px; height: 4px; background: var(--bg); box-shadow: 0 0 0 5px var(--bg); }
.g-share .nm { position: relative; justify-self: start; margin-left: 14px; padding: 0 0 0 8px; background: var(--bg); white-space: nowrap; }
.g-share .sum { margin-top: 14px; font-size: .75rem; color: var(--mute); }
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] .g-share .r:not(.head) { opacity: 0; translate: -8px 0; transition: opacity .5s var(--ease), translate .5s var(--ease); transition-delay: calc(.25s + var(--i) * 60ms); }
  .js [data-reveal].in .g-share .r:not(.head) { opacity: 1; translate: 0 0; }
}
.autonote { margin-top: 14px; color: var(--mute); font-size: 1.0625rem; max-width: 34em; }
.g .sum { margin-top: 14px; font-size: .75rem; color: var(--mute); max-width: none; }
.g .sum.up { margin: 0 0 10px; }
.g-zoom .zr { display: flex; align-items: flex-end; gap: clamp(16px, 3.5vw, 36px); }
.g-zoom span { display: grid; justify-items: center; gap: 12px; white-space: nowrap; }
.g-zoom i { width: var(--s); height: var(--s); border-radius: 50%; background: radial-gradient(circle, #fff 0, rgba(255,255,255,.82) 55%, rgba(255,255,255,.3) 100%); box-shadow: 0 0 calc(var(--s) * .5) -2px rgba(255,255,255,.55); }
.g-pad .pad { display: grid; grid-template-columns: repeat(3, 76px); gap: 6px; }
.g-pad .pad span { display: grid; gap: 2px; padding: 9px 10px 10px; border-radius: 8px; background: rgba(255, 255, 255, .07); color: var(--fg); }
.g-pad .pad b { font-weight: 400; font-size: .6875rem; color: var(--mute); }
.g-tick ul { display: grid; gap: 10px; }
.g-tick li { display: flex; align-items: center; gap: 12px; color: var(--mute); }
.g-tick li.on { color: var(--fg); }
.g-tick i { position: relative; flex: none; width: 16px; height: 16px; border-radius: 5px; box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.g-tick .on i { background: var(--pro-band); box-shadow: none; }
.g-tick .on i::after { content: ""; position: absolute; left: 5px; top: 2px; width: 4px; height: 8px; border: solid #14151a; border-width: 0 2px 2px 0; rotate: 45deg; }
.g-zoom .sh { margin-top: 30px; flex-wrap: wrap; row-gap: 18px; }
.g-zoom .sh i { width: 56px; height: 56px; display: grid; place-items: center; background: none; box-shadow: inset 0 0 0 1px rgba(255,255,255,.16); }
.g-zoom .sh i::after { content: ""; width: var(--w); height: var(--h); border-radius: 1px; background: #fff; box-shadow: 0 0 14px -2px rgba(255,255,255,.5); }
.g-zoom .gb { margin-top: 30px; align-items: flex-start; flex-wrap: wrap; row-gap: 18px; }
.g-zoom .gb svg { width: 56px; height: 56px; }
.g-zoom .gb .rim { fill: #0c0c10; stroke: rgba(255,255,255,.2); stroke-width: .7; }
.g-zoom .gb .lit { fill: #fff; filter: drop-shadow(0 0 2px rgba(255,255,255,.55)); }
@media (max-width: 520px) { .g-zoom .sh { display: grid; grid-template-columns: repeat(2, max-content); gap: 20px 36px; } }
.g-tick ul + .sum.up { margin-top: 18px; }
.g-steps { display: grid; gap: 12px; width: 100%; max-width: 440px; }
.g-steps .sr { display: grid; grid-template-columns: 4.6em minmax(0, 1fr); align-items: center; gap: 14px; }
.g-steps .ticks { position: relative; height: 1.2em; font-size: .6875rem; color: var(--mute); }
.g-steps .ticks span { position: absolute; left: var(--k); translate: -50% 0; }
.g-steps .bar { position: relative; height: 26px; border-radius: 13px; background: linear-gradient(90deg, #fff, var(--c)); box-shadow: 0 0 22px -8px var(--c); }
.g-steps .bar b { position: absolute; left: var(--k); top: 50%; width: 16px; height: 16px; margin: -8px; border-radius: 50%; background: color-mix(in srgb, var(--c) var(--k), #fff); border: 2.5px solid #14151a; box-shadow: 0 0 0 1.5px rgba(255,255,255,.85); }
.g-steps .sum { margin-top: 4px; max-width: none; white-space: nowrap; padding-left: calc(4.6em + 14px); font-size: .75rem; color: var(--mute); }
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] .g-steps .bar { clip-path: inset(0 100% 0 0 round 13px); transition: clip-path .9s var(--ease); transition-delay: calc(.2s + var(--i) * 90ms); }
  .js [data-reveal].in .g-steps .bar { clip-path: inset(0 0 0 0 round 13px); }
  .js [data-reveal] .g-steps .bar b { scale: 0; transition: scale .4s var(--ease); transition-delay: calc(.6s + var(--i) * 90ms + var(--j) * 120ms); }
  .js [data-reveal].in .g-steps .bar b { scale: 1; }
}
.wheel { position: absolute; inset: -1px; width: calc(100% + 2px); height: calc(100% + 2px); overflow: visible; }
.wheel path { fill: none; stroke: var(--c); stroke-width: 20; filter: drop-shadow(0 0 5px color-mix(in srgb, var(--c) 60%, transparent)); }
.wheel path.open { stroke: var(--line-strong); stroke-width: 1.2; filter: none; }
.wheel .spin { transform-origin: 66px 66px; }
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] .wheel .spin { rotate: -80deg; transition: rotate 1.4s var(--ease) .2s; }
  .js [data-reveal].in .wheel .spin { rotate: 0deg; }
}
@media (max-width: 520px) {
  .g-share .r { grid-template-columns: repeat(3, 56px) auto; }
  :is(.g-emit, .g-wheel) .to { display: none; }
}

/* ---------- Reading pages (W-11b) ----------
   Help, Release Notes, Privacy, Terms, Refunds, Support and the like: a
   left-aligned title, one column no wider than 40em, hairlines between
   entries. No hero picture, and nothing on the body text reveals. */
.read { padding-block: clamp(56px, 9vw, 112px) clamp(72px, 10vw, 128px); }
.read .col { max-width: 40em; }
.read h1 { font-size: clamp(2.25rem, 5.4vw, 3.75rem); font-weight: 700; letter-spacing: -.04em; line-height: 1.02; text-wrap: balance; }
.read .lede { margin-top: 20px; font-size: var(--t-lead); line-height: 1.4; color: var(--mid); text-wrap: pretty; }
.read .actions { margin-top: 28px; }
.read section { margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--line); }
.read h2 { font-size: clamp(1.375rem, 2.4vw, 1.75rem); letter-spacing: -.025em; line-height: 1.15; margin-bottom: 14px; }
.read h3 { font-size: 1.125rem; letter-spacing: -.01em; margin: 24px 0 6px; }
.read p, .read li { color: var(--mid); }
.read p + p, .read p + ul, .read ul + p, .read p + ol, .read ol + p { margin-top: 14px; }
.read ul { list-style: disc; padding-left: 1.3em; }
.read ol { list-style: decimal; padding-left: 1.5em; }
.read li + li { margin-top: 6px; }
.read a:not(.btn):not(.link) { color: var(--fg); text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; }
.read a:not(.btn):not(.link):hover { text-decoration-color: var(--fg); }
.read strong, .read b { color: var(--fg); font-weight: 600; }
.read code, .read kbd { font-family: var(--mono); font-size: .9em; color: var(--fg); }
.read .updated { margin-top: 20px; font-size: var(--t-small); color: var(--mute); }
.read .table-scroll { overflow-x: auto; margin-top: 16px; }
.read table { border-collapse: collapse; font-size: var(--t-small); min-width: 100%; }
.read th, .read td { text-align: left; padding: 10px 16px 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--mid); }
.read th { color: var(--fg); font-weight: 600; }
.read .topics > li { padding: 18px 0; border-top: 1px solid var(--line); }
.read .topics { list-style: none; padding: 0; margin-top: 8px; }
.read .topics > li:last-child { border-bottom: 1px solid var(--line); }
.read .topics b { display: block; }

/* Release notes: newest first, one hairline between versions. The markers in the page belong to scripts/add-release-notes.sh. */
.read .releases section { margin-top: 28px; padding-top: 28px; }

/* A feature page's hero: centred, one picture. */
.hero.page .display { font-size: clamp(2.5rem, 6.4vw, 5rem); }
.hero.page + .s { padding-top: clamp(72px, 10vw, 144px); }
.feature .plain { max-width: 26em; }
.feature .plain + .plain { margin-top: 14px; }
.drawing { width: 100%; min-width: 0; }
.drawing svg { display: block; width: 100%; height: auto; overflow: visible; }
.drawing .cap { margin-top: 14px; font-size: var(--t-small); color: var(--mute); }

/* Centre note */
.note-line { margin-top: 18px; color: var(--mute); font-size: var(--t-small); }

/* Thanks: the licence is on its way. A native progress bar in the page's accent. */
progress { display: block; width: 100%; max-width: 20em; height: 6px; margin-top: 24px; accent-color: var(--fg); }
progress[hidden] { display: none; }
.read .releases-none { color: var(--mute); }
.read #thanks-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
