/*
 * MyGameClub website. A neutral near-black ground, the customer screen's red as the one accent, Inter (the
 * product's own face) at five sizes, and one 4px corner everywhere. Surfaces are told apart by a step in
 * tone, never by a line or a shadow. Elements marked data-ui are pieces of the product and keep its look.
 */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/assets/fonts/inter-cyrillic-wght-normal.woff2?v=71d5ee93cc) format('woff2-variations');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/assets/fonts/inter-latin-ext-wght-normal.woff2?v=34b9c504ca) format('woff2-variations');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/assets/fonts/inter-latin-wght-normal.woff2?v=3100e775e8) format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* Ground, two surfaces a tone apart, ink and a soft ink that still reads at 7:1. */
  --ground: #0f0f10;
  --surface-1: #18181a;
  --surface-2: #212124;
  --surface-3: #2c2c30;
  --ink: #f3f3f1;
  --muted: #a7a7ad;
  --paper: #f3f3f1;
  --paper-ink: #111112;
  /* The red of the customer screen, deepened a step so that white on it reads at 4.9:1. */
  --red: #d92b25;
  --red-press: #b81f1a;
  --red-ink: #ffffff;
  --red-soft: #f6d4d2;

  --step-small: 0.875rem;
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --step-head: clamp(2rem, 1.3rem + 3.2vw, 4rem);
  --step-display: clamp(2rem, 0.5rem + 6.6vw, 7rem);

  --radius: 4px;
  --gutter: clamp(16px, 2.4vw, 32px);
  --header: 64px;
  --section: clamp(120px, 14vw, 220px);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header) + 16px);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: var(--step-body);
  line-height: 1.5;
  font-feature-settings: 'cv11', 'ss01';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

img { max-width: 100%; height: auto; display: block; }
svg { flex: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 520; text-wrap: balance; }
h2 { font-size: var(--step-head); line-height: 1.02; letter-spacing: -0.035em; }
h3 { font-size: var(--step-body); line-height: 1.3; letter-spacing: -0.01em; font-weight: 600; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
a { color: var(--ink); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--red); color: var(--red-ink); }

.wrap { width: calc(100% - 2 * var(--gutter)); max-width: 1440px; margin-inline: auto; }
.anchor { position: relative; top: calc(-1 * var(--header)); display: block; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip {
  position: absolute; left: var(--gutter); top: -100px; z-index: 100;
  background: var(--red); color: var(--red-ink);
  padding: 10px 16px; border-radius: var(--radius);
  font-weight: 600; text-decoration: none;
}
.skip:focus { top: 12px; }

.icon { width: 24px; height: 24px; }

/* Buttons: one flat red fill, one corner. */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  border: 0; border-radius: var(--radius);
  background: var(--red); color: var(--red-ink);
  font: inherit; font-weight: 600; text-decoration: none; white-space: nowrap;
  cursor: pointer;
  transition: background-color 160ms var(--ease-out), transform 160ms var(--ease-out);
}
.button:hover { background: var(--red-press); text-decoration: none; }
.button:active { transform: translateY(1px) scale(0.98); }
.button:focus-visible { outline-color: var(--ink); }
.button-small { min-height: 44px; padding: 0 18px; font-size: var(--step-small); }
.text-link { font-weight: 600; text-decoration: underline; text-underline-offset: 0.25em; transition: color 160ms; }
.text-link:hover { color: var(--muted); }

/* Header: a plain bar. Wordmark, five links, the languages, one action. */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--ground); }
.header-inner { display: flex; align-items: center; gap: 32px; height: var(--header); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 650; font-size: var(--step-body); letter-spacing: -0.015em; }
.brand-mark { width: 28px; height: 28px; }
.nav { display: flex; gap: 28px; margin-right: auto; }
.nav a { color: var(--muted); text-decoration: none; font-size: var(--step-small); font-weight: 500; transition: color 160ms; }
.nav a:hover { color: var(--ink); }
.header-actions { display: flex; align-items: center; gap: 20px; }
.langs { display: flex; gap: 4px; }
.langs a { display: inline-flex; align-items: center; min-height: 36px; padding: 0 8px; color: var(--muted); text-decoration: none; font-size: var(--step-small); font-weight: 500; border-radius: var(--radius); transition: color 160ms, background-color 160ms; }
.langs a:hover { color: var(--ink); background: var(--surface-1); }
.langs a[aria-current='page'] { color: var(--ink); background: var(--surface-2); }
.menu-button { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; border: 0; border-radius: var(--radius); background: var(--surface-2); color: var(--ink); cursor: pointer; }
.menu-button .icon-close { display: none; }
.site-header.is-open .menu-button .icon-open { display: none; }
.site-header.is-open .menu-button .icon-close { display: block; }

@media (max-width: 1080px) {
  .nav { display: none; }
  .header-actions { margin-left: auto; }
  .menu-button { display: inline-flex; }
  .site-header.is-open .nav {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; top: var(--header); left: 0; right: 0;
    padding: 8px var(--gutter) 24px; background: var(--surface-1);
  }
  .site-header.is-open .nav a { font-size: var(--step-lead); color: var(--ink); padding: 12px 0; }
}
@media (max-width: 640px) {
  .header-actions .langs { display: none; }
  .header-actions { gap: 10px; }
  .header-cta { padding: 0 14px; }
}

/* Hero: the title in the upper left, one sentence and the action, then the PC map itself. */
.hero { padding-top: clamp(32px, 5vw, 72px); }
.hero-text { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 40px; align-items: end; }
.hero h1 { grid-column: 1 / -1; font-size: var(--step-display); line-height: 0.98; letter-spacing: -0.045em; font-weight: 540; }
.lines .line { display: block; overflow: clip; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.lines [data-line] { display: block; }
.hero-lead { grid-column: 1 / span 6; font-size: var(--step-lead); line-height: 1.35; letter-spacing: -0.01em; max-width: 38ch; }
.hero-act { grid-column: 8 / -1; display: grid; gap: 20px; justify-items: start; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.hero-facts { list-style: none; display: grid; gap: 4px; color: var(--muted); font-size: var(--step-small); }
.hero-shot { margin-top: clamp(40px, 5vw, 72px); }
.hero-shot img { width: 100%; border-radius: var(--radius); background: var(--surface-1); }

@media (max-width: 760px) {
  .hero-text { row-gap: 28px; }
  .lines .line { display: inline; }
  .lines [data-line] { display: inline; }
  .hero-lead, .hero-act { grid-column: 1 / -1; }
  .hero-shot { margin-top: 40px; aspect-ratio: 4 / 5; overflow: clip; border-radius: var(--radius); }
  .hero-shot img { width: 100%; height: 100%; object-fit: cover; object-position: 24% 0; }
}

/* Section rhythm */
.demo, .features, .customer, .how, .pricing, .faq, .contact { padding-top: var(--section); }
.demo-head, .features-head, .how-head, .pricing-head, .faq-head { display: grid; gap: 24px; }
.demo-head p, .features-head p, .how-head p, .pricing-head p, .faq-head p { max-width: 52ch; }

/* The working PC map, a piece of the product. Its colours are the admin panel's own. */
.demo-head { max-width: 1040px; margin-inline: auto; }
.demo-head h2 { font-size: var(--step-head); }
.demo-panel {
  --p-bg: #141312; --p-s1: #1b1a18; --p-s2: #242220; --p-s3: #2d2a27; --p-line: #2f2c29; --p-line-2: #433e39;
  --p-text: #ececea; --p-text-2: #a8a39d; --p-free: #7db07a; --p-busy: #e8a33d; --p-paused: #7f9dbf; --p-ending: #d9774a;
  position: relative;
  max-width: 1040px; margin: 48px auto 0;
  display: grid; grid-template-columns: minmax(0, 62fr) minmax(0, 38fr);
  border-radius: 10px; overflow: clip;
  background: var(--p-bg); color: var(--p-text);
  font-size: 14px; line-height: 1.4; font-variant-numeric: tabular-nums;
}
.dm { padding: 22px; display: grid; gap: 16px; align-content: start; }
.dm-head { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--p-text-2); }
.dm-head b { color: var(--p-text); font-weight: 600; }
.dm-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.pc {
  display: grid; gap: 2px; align-content: start; min-height: 112px; padding: 10px 12px 10px 13px;
  text-align: left; font: inherit; color: inherit; cursor: pointer;
  background: var(--p-s1); border: 1px solid var(--p-line); border-left: 3px solid var(--state, var(--p-line-2)); border-radius: 6px;
  transition: background-color 140ms, border-color 140ms, transform 140ms var(--ease-out);
}
.pc:hover { background: var(--p-s2); }
.pc:active { transform: scale(0.98); }
.pc[aria-pressed='true'] { background: var(--p-s2); border-color: var(--p-text); border-left-color: var(--state, var(--p-line-2)); outline: 1px solid var(--p-text); outline-offset: -1px; }
.pc-free { --state: var(--p-free); }
.pc-busy { --state: var(--p-busy); }
.pc-paused { --state: var(--p-paused); }
.pc-ending { --state: var(--p-ending); }
.pc-top { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; }
.pc-top { flex-wrap: wrap; }
.pc-top b { font-weight: 650; white-space: nowrap; }
.pc-sum { font-weight: 600; }
.pc-who { color: var(--p-text-2); }
.pc-time { color: var(--p-text-2); }
.pc-time strong { color: var(--p-text); font-size: 20px; font-weight: 650; letter-spacing: -0.01em; }
.pc-ending .pc-time strong { color: var(--p-ending); }
.pc-free { color: var(--p-text); }
.pc .pc-free::before, .dot { content: ''; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--p-free); margin-right: 7px; vertical-align: 1px; }
.pc-game { color: var(--p-text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: auto; padding-top: 4px; }
.dm-bill { background: var(--p-s1); border: 1px solid var(--p-line); border-radius: 6px; padding: 14px 16px; display: grid; gap: 6px; min-height: 148px; align-content: start; }
.dm-bill-title { font-weight: 650; }
.dm-bill-empty { color: var(--p-text-2); }
.dm-line { display: flex; justify-content: space-between; gap: 12px; color: var(--p-text-2); }
.dm-line b { color: var(--p-text); font-weight: 600; white-space: nowrap; }
.dm-line.is-discount b { color: var(--p-free); }
.dm-total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 6px; padding: 10px 12px; border-radius: 6px; background: var(--p-s3); font-weight: 600; }
.dm-total b { font-size: 20px; }
.dc { background: var(--p-s1); padding: 22px 22px 64px; display: grid; gap: 4px; align-content: start; position: relative; }
.dc-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; }
.dc-name { color: var(--p-text-2); }
.dc-seg { display: inline-flex; padding: 2px; gap: 2px; background: var(--p-bg); border: 1px solid var(--p-line); border-radius: 6px; }
.dc-seg button { font: inherit; color: var(--p-text-2); background: none; border: 0; border-radius: 4px; padding: 6px 10px; cursor: pointer; transition: background-color 140ms, color 140ms; }
.dc-seg button:hover { color: var(--p-text); }
.dc-seg button[aria-checked='true'] { background: var(--p-s3); color: var(--p-text); }
.dc-button { font: inherit; font-weight: 600; color: var(--p-text); background: var(--p-s2); border: 1px solid var(--p-line-2); border-radius: 6px; min-height: 36px; min-width: 36px; padding: 0 14px; cursor: pointer; transition: background-color 140ms, transform 140ms var(--ease-out); }
.dc-button:hover:not(:disabled) { background: var(--p-s3); }
.dc-button:active:not(:disabled) { transform: scale(0.96); }
.dc-button:disabled, .dc-switch:disabled, .dc-seg button:disabled { opacity: 0.4; cursor: default; }
.dc-button[data-act='start'] { background: var(--p-busy); color: #1e1406; border-color: var(--p-busy); }
.dc-button[data-act='start']:hover:not(:disabled) { background: #efb256; }
.dc-step { display: inline-flex; align-items: center; gap: 8px; }
.dc-step .dc-button { padding: 0; width: 36px; font-size: 18px; }
.dc-count { min-width: 1.5em; text-align: center; font-weight: 600; }
.dc-switch { position: relative; width: 44px; height: 26px; border-radius: 13px; border: 1px solid var(--p-line-2); background: var(--p-bg); cursor: pointer; padding: 0; transition: background-color 160ms; }
.dc-switch span { position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--p-text-2); transition: transform 160ms var(--ease-out), background-color 160ms; }
.dc-switch[aria-checked='true'] { background: var(--p-paused); border-color: var(--p-paused); }
.dc-switch[aria-checked='true'] span { transform: translateX(18px); background: #fff; }
.dc-link { position: absolute; left: 22px; bottom: 20px; color: var(--p-text); font-weight: 600; }
.dm-noscript { display: none; }
html:not(.js) .dc { display: none; }
html:not(.js) .demo-panel { grid-template-columns: minmax(0, 1fr); }
html:not(.js) .dm-noscript { display: block; padding: 0 22px 22px; color: var(--p-text-2); }
.demo-hint { max-width: 1040px; margin: 20px auto 0; color: var(--muted); font-size: var(--step-small); }

@media (max-width: 860px) {
  .demo-panel { grid-template-columns: minmax(0, 1fr); margin-top: 32px; }
  .dm { padding: 16px; }
  .dm-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dc { padding: 12px 16px 64px; }
  .dc-row { min-height: 52px; }
  .dc-link { left: 16px; }
}

/* The capabilities as a command menu, scaled up until it is the section. */
.features-head { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-items: end; }
.features-head h2 { grid-column: 1 / span 8; }
.features-head p { grid-column: 9 / -1; }
.cmd { margin-top: 56px; }
.cmd-search {
  display: block; width: 100%; height: 1.9em; padding: 0 16px;
  font: inherit; font-size: var(--step-lead); font-weight: 450; letter-spacing: -0.02em;
  color: var(--ink); background: var(--surface-1); border: 0; border-radius: var(--radius);
  -webkit-appearance: none; appearance: none;
}
.cmd-search::placeholder { color: var(--muted); }
.cmd-search:focus { outline: 2px solid var(--ink); outline-offset: 0; }
.cmd-search::-webkit-search-cancel-button { filter: invert(1); }
.cmd-list { list-style: none; margin-top: 16px; }
.cmd-item { border-radius: var(--radius); transition: background-color 200ms var(--ease-out); }
.cmd-item h3 { font-size: inherit; font-weight: inherit; }
.cmd-row {
  display: block; width: 100%; padding: 0.12em 16px 0.14em; text-align: left; cursor: pointer;
  font: inherit; font-size: var(--step-head); font-weight: 480; line-height: 1.1; letter-spacing: -0.035em;
  color: var(--ink); background: none; border: 0; border-radius: var(--radius);
  transition: color 160ms, background-color 160ms, transform 200ms var(--ease-out);
}
.cmd-row:hover { background: var(--surface-1); }
.cmd-row:focus-visible { outline-offset: -2px; }
.cmd-detail { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--gutter); padding: 8px 16px 32px; font-size: var(--step-body); }
.cmd-words { display: grid; gap: 18px; align-content: start; max-width: 52ch; }
.cmd-points { list-style: none; display: grid; gap: 8px; }
.cmd-points li { padding-left: 1.1em; position: relative; }
.cmd-points li::before { content: ''; position: absolute; left: 0; top: 0.6em; width: 0.4em; height: 0.4em; background: currentColor; border-radius: 1px; }
.cmd-shot img { width: 100%; border-radius: var(--radius); }
.cmd-detail:not(:has(.cmd-shot)) .cmd-words { grid-column: 1 / -1; max-width: 72ch; }
.cmd-empty { padding: 24px 16px; color: var(--muted); font-size: var(--step-lead); }
/* With the script, one row is open at a time and sits on a red block. */
.js .cmd-item:not([data-selected]) .cmd-detail { display: none; }
.js .cmd-item[data-selected] { background: var(--red); color: var(--red-ink); }
.js .cmd-item[data-selected] .cmd-row { color: var(--red-ink); }
.js .cmd-item[data-selected] .cmd-row:hover { background: none; }
.js .cmd-item[data-selected] .cmd-row:focus-visible { outline-color: var(--red-ink); }
.js .cmd-item[data-selected] .cmd-detail { padding-top: 8px; }
html:not(.js) .cmd-item { padding-bottom: 8px; }

@media (max-width: 860px) {
  .features-head h2, .features-head p { grid-column: 1 / -1; }
  .cmd { margin-top: 36px; }
  .cmd-search { height: 56px; }
  .cmd-row { padding: 0.18em 12px; }
  .cmd-detail { grid-template-columns: minmax(0, 1fr); padding: 4px 12px 24px; }
}

/* PC 7's screens, full-bleed, each sliding up over the last. */
.customer-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-items: end; padding-bottom: 48px; }
.customer-head h2 { grid-column: 1 / span 6; }
.customer-lead { grid-column: 8 / span 4; max-width: 34ch; }
.curtain { position: relative; }
.curtain-frame { position: sticky; top: var(--header); margin: 0; height: calc(100svh - var(--header)); overflow: clip; background: #000; }
.curtain-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.frame-1 img { object-position: 100% 50%; }
.curtain-frame figcaption {
  position: absolute; left: var(--gutter); bottom: var(--gutter); max-width: min(46ch, calc(100% - 2 * var(--gutter)));
  padding: 12px 16px; border-radius: var(--radius);
  background: rgb(10 10 11 / 0.88); color: #fff; font-size: var(--step-small); line-height: 1.45;
}
.customer-note { padding-top: 20px; color: var(--muted); font-size: var(--step-small); }
@media (max-width: 760px) {
  .customer-head h2, .customer-lead { grid-column: 1 / -1; }
  .customer-head { row-gap: 20px; padding-bottom: 32px; }
  .curtain-frame { height: 88svh; }
  .frame-1 img { object-position: 94% 50%; }
  .frame-2 img { object-position: 50% 50%; }
  .frame-3 img { object-position: 100% 50%; }
}

/* Setup: four statements on the left, one fragment on a red stage that changes with each. */
.how-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); }
.how-head { grid-column: 1 / span 9; }
.how-text { grid-column: 1 / span 5; }
.how-stage-col { grid-column: 7 / -1; }
.how-stage { position: sticky; top: 14vh; margin-top: 8vh; display: grid; place-items: center; aspect-ratio: 1; max-height: 72vh; margin-left: auto; background: var(--red); border-radius: var(--radius); }
.how-steps { list-style: none; margin-top: 4vh; }
.how-step { min-height: 64vh; display: grid; align-content: center; gap: 16px; }
.how-step h3 { font-size: var(--step-lead); line-height: 1.15; letter-spacing: -0.025em; font-weight: 520; color: var(--muted); transition: color 300ms; }
.how-step p { color: var(--muted); max-width: 46ch; transition: color 300ms; }
.how-step.is-active h3, .how-step.is-active p { color: var(--ink); }
html:not(.js) .how-step h3, html:not(.js) .how-step p { color: var(--ink); }
.how-req { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 16px var(--gutter); padding: 32px; margin-top: 12vh; background: var(--surface-1); border-radius: var(--radius); }
.how-req h3 { font-size: var(--step-lead); font-weight: 520; letter-spacing: -0.02em; }
.how-req-list { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px var(--gutter); }

.stage-ui {
  --p-bg: #141312; --p-s1: #1b1a18; --p-s2: #242220; --p-line: #2f2c29; --p-text: #ececea; --p-text-2: #a8a39d; --p-free: #7db07a; --p-busy: #e8a33d;
  position: relative; width: min(78%, 420px); aspect-ratio: 1 / 1.02;
  background: var(--p-bg); color: var(--p-text); border-radius: 10px; font-size: 14px; line-height: 1.4; font-variant-numeric: tabular-nums;
}
.st { position: absolute; inset: 0; padding: 24px; display: grid; gap: 10px; align-content: start; opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity 360ms var(--ease-out), transform 360ms var(--ease-out), visibility 0s 360ms; }
.stage-ui[data-active='0'] [data-state='0'], .stage-ui[data-active='1'] [data-state='1'], .stage-ui[data-active='2'] [data-state='2'], .stage-ui[data-active='3'] [data-state='3'] { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.st-title { font-size: 17px; font-weight: 650; margin-bottom: 6px; }
.st-muted, .st-label, .st-small { color: var(--p-text-2); }
.st-label { font-size: 13px; margin-top: 4px; }
.st-field { background: var(--p-s1); border: 1px solid var(--p-line); border-radius: 6px; padding: 9px 12px; }
.st-rows { list-style: none; display: grid; background: var(--p-s1); border: 1px solid var(--p-line); border-radius: 6px; }
.st-rows li { display: flex; justify-content: space-between; gap: 10px; padding: 9px 12px; }
.st-rows li + li { border-top: 1px solid var(--p-line); } /* taste-skill-ignore: a row divider inside the data-ui fragment */
.st-rows b { font-weight: 600; }
.st-rows b.wait { color: var(--p-text-2); font-weight: 500; }
.dot-busy { background: var(--p-busy); }
.st-ok { margin-top: 6px; }
.st-small { font-size: 13px; }
.st-code { font-size: 44px; font-weight: 650; letter-spacing: 0.14em; line-height: 1.1; }
.st-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.st-button { justify-self: start; margin-top: 8px; background: var(--p-busy); color: #1e1406; font-weight: 600; border-radius: 6px; padding: 9px 16px; }
.st-mini { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.st-mini span { height: 26px; border-radius: 4px; background: var(--p-s1); border: 1px solid var(--p-line); border-left: 3px solid var(--p-free); }

@media (max-width: 860px) {
  .how-grid { grid-template-columns: minmax(0, 1fr); }
  .how-text, .how-stage-col, .how-head { grid-column: 1; }
  .how-stage-col { grid-row: 2; position: sticky; top: var(--header); z-index: 2; margin-top: 32px; background: var(--ground); padding-bottom: 12px; }
  .how-text { display: contents; }
  .how-head { grid-row: 1; }
  .how-steps { grid-row: 3; margin-top: 0; }
  .how-req, .how-req-list { grid-template-columns: minmax(0, 1fr); }
  .how-req { margin-top: 32px; padding: 24px; }
  .how-stage { position: static; aspect-ratio: auto; height: 46svh; max-height: none; margin-top: 0; }
  .stage-ui { width: min(86%, 360px); aspect-ratio: auto; height: calc(100% - 32px); overflow: clip; }
  .st { padding: 16px; gap: 8px; }
  .how-step { min-height: 52svh; }
}

/* Pricing: the plan names on the left, one stage on the right whose figure never moves. */
.pricing-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 48px; align-items: start; }
.plans-col { grid-column: 1 / span 6; display: grid; gap: 56px; }
.plan-names { display: grid; justify-items: start; gap: 4px; }
.plan-names button {
  font: inherit; font-size: var(--step-head); font-weight: 480; line-height: 1.1; letter-spacing: -0.035em;
  color: var(--muted); background: none; border: 0; padding: 0.05em 0 0.05em 0.55em; cursor: pointer; position: relative; text-align: left;
  transition: color 200ms;
}
.plan-names button::before { content: ''; position: absolute; left: 0; top: 0.5em; width: 0.3em; height: 0.3em; border-radius: 50%; background: var(--red); opacity: 0; transform: scale(0.4); transition: opacity 200ms, transform 200ms var(--ease-out); }
.plan-names button:hover { color: var(--ink); }
.plan-names button[aria-selected='true'] { color: var(--ink); }
.plan-names button[aria-selected='true']::before { opacity: 1; transform: none; }
.plan-stage { grid-column: 8 / -1; display: grid; gap: 64px; }
.plan { display: grid; gap: 24px; justify-items: start; }
.plan-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 20px; }
.price { font-size: var(--step-display); font-weight: 520; line-height: 0.95; letter-spacing: -0.05em; }
.period { color: var(--muted); font-size: var(--step-body); }
.plan-text { font-size: var(--step-body); max-width: 46ch; }
.plan-points { list-style: none; display: grid; gap: 8px; max-width: 46ch; }
.plan-points li { padding-left: 1.1em; position: relative; }
.plan-points li::before { content: ''; position: absolute; left: 0; top: 0.6em; width: 0.4em; height: 0.4em; background: var(--red); border-radius: 1px; }
.js .plan-stage.is-tabbed { gap: 0; }
.js .plan-stage.is-tabbed .plan { grid-area: 1 / 1; transition: opacity 200ms var(--ease-out); }
.js .plan-stage.is-tabbed .plan[aria-hidden='true'] { opacity: 0; visibility: hidden; }
.js .plan-stage.is-tabbed .plan-name { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.plan-name { font-size: var(--step-lead); font-weight: 600; }
.pricing-note { margin-top: 56px; color: var(--muted); font-size: var(--step-small); max-width: 90ch; }
.pricing-note a { color: var(--ink); }
@media (max-width: 860px) {
  .plans-col, .plan-stage { grid-column: 1 / -1; }
  .plans-col { gap: 32px; }
  .plan .button { width: 100%; }
}

/* Questions: the heading holds still on the left, the tiles scroll past. */
.faq-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-items: start; }
.faq-head { grid-column: 1 / span 4; position: sticky; top: calc(var(--header) + 32px); justify-items: start; }
.faq-list { grid-column: 5 / -1; display: grid; gap: 8px; }
.faq-list details { background: var(--surface-1); border-radius: var(--radius); transition: background-color 220ms var(--ease-out), color 220ms; }
.faq-list details:hover { background: var(--surface-2); }
.faq-list summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 72px; padding: 18px 24px; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary h3 { font-size: var(--step-lead); font-weight: 520; letter-spacing: -0.015em; }
.faq-list summary:focus-visible { outline-offset: -4px; }
.plus { position: relative; width: 16px; height: 16px; flex: none; }
.plus::before, .plus::after { content: ''; position: absolute; left: 0; top: 6.5px; width: 16px; height: 3px; background: currentColor; transition: transform 220ms var(--ease-out); }
.plus::after { transform: rotate(90deg); }
.faq-list details[open] { background: var(--red); color: var(--red-ink); }
.faq-list details[open] .plus::after { transform: rotate(0deg); }
.faq-list details p { padding: 0 24px 24px; max-width: 58ch; font-size: var(--step-body); }
@media (max-width: 860px) {
  .faq-head, .faq-list { grid-column: 1 / -1; }
  .faq-head { position: static; margin-bottom: 32px; }
  .faq-list { gap: 6px; }
  .faq-list summary { min-height: 64px; padding: 16px 20px; }
  .faq-list details p { padding: 0 20px 20px; font-size: 1rem; }
}

/* The request form as a coupon to clip out for the free trial. */
.coupon {
  position: relative; display: grid; grid-template-columns: minmax(0, 46fr) minmax(0, 54fr);
  background: var(--red); color: var(--red-ink); border-radius: var(--radius);
  margin-bottom: var(--section);
}
.coupon-stub { display: grid; align-content: space-between; gap: 40px; padding: clamp(28px, 4vw, 56px); }
.coupon-stub h2 { font-size: var(--step-head); }
.coupon-lead { margin-top: 24px; max-width: 40ch; }
.coupon-facts { list-style: none; display: grid; gap: 6px; font-weight: 600; }
.form-card { padding: clamp(28px, 4vw, 56px); border-left: 5px dotted var(--ground); }
.notch { position: absolute; left: calc(46% - 14px); width: 28px; height: 28px; border-radius: 50%; background: var(--ground); }
.notch-top { top: -14px; }
.notch-bottom { bottom: -14px; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 12px; }
.field { display: grid; gap: 6px; }
.field-wide { grid-column: 1 / -1; }
.field label { font-size: var(--step-small); font-weight: 600; }
.optional { font-weight: 400; }
.field input, .field textarea {
  width: 100%; min-height: 52px; padding: 13px 14px;
  font: inherit; font-size: 1rem; color: var(--paper-ink);
  background: #fff; border: 0; border-radius: var(--radius);
  -webkit-appearance: none; appearance: none;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input::placeholder, .field textarea::placeholder { color: #6b6b70; }
.field input:focus, .field textarea:focus { outline: 3px solid var(--paper-ink); outline-offset: 0; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; } /* taste-skill-ignore: the hidden honeypot field, not a rule */
.submit {
  display: block; width: 100%; min-height: 56px; margin-top: 18px;
  font: inherit; font-weight: 600; color: #fff; background: var(--paper-ink); border: 0; border-radius: var(--radius); cursor: pointer;
  transition: background-color 160ms, transform 160ms var(--ease-out);
}
.submit:hover { background: #2a2a2d; }
.submit:active { transform: scale(0.99); }
.submit:disabled { opacity: 0.7; cursor: progress; }
.submit:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.consent { margin-top: 14px; font-size: var(--step-small); line-height: 1.5; }
.consent a, .coupon a { color: var(--red-ink); }
.notice { display: none; padding: 16px 18px; margin-bottom: 20px; border-radius: var(--radius); font-weight: 600; background: var(--paper); color: var(--paper-ink); }
.notice:target, .notice.is-visible { display: block; }
.notice:focus { outline: none; }
#sent:target ~ .lead-form, .form-card.is-sent .lead-form { display: none; }
.direct h3 { font-size: var(--step-small); font-weight: 600; margin-bottom: 10px; }
.contact-list { list-style: none; display: grid; gap: 8px; }
.contact-list li { display: flex; flex-wrap: wrap; gap: 4px 12px; }
.contact-label { min-width: 84px; font-size: var(--step-small); padding-top: 2px; }
@media (max-width: 900px) {
  .coupon { grid-template-columns: minmax(0, 1fr); }
  .form-card { border-left: 0; border-top: 5px dotted var(--ground); }
  .notch { top: auto; bottom: auto; left: auto; }
  .notch-top { left: -14px; top: var(--cut, 50%); }
  .notch-bottom { right: -14px; top: var(--cut, 50%); }
  .coupon .notch { display: none; }
}
@media (max-width: 560px) {
  .fields { grid-template-columns: minmax(0, 1fr); }
}

/* The footer: the last two rows of a board of tiles. */
.site-footer { padding: 8px; }
.tiles { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 8px; }
.tile { border-radius: var(--radius); background: var(--surface-1); padding: 24px; min-height: 220px; display: grid; align-content: space-between; gap: 20px; }
.tile h2 { font-size: var(--step-small); font-weight: 600; letter-spacing: 0; line-height: 1.4; color: var(--muted); }
.tile ul { list-style: none; display: grid; gap: 6px; }
.tile a { text-decoration: none; }
.tile a:hover { text-decoration: underline; }
.tile-statement { grid-column: 1 / span 4; }
.tile-say { font-size: var(--step-lead); line-height: 1.25; letter-spacing: -0.015em; max-width: 22ch; }
.tile-docs { font-size: var(--step-small); }
.tile-small { font-size: var(--step-small); color: var(--muted); }
.langs-footer { margin-left: -8px; }
.tile-nav { grid-column: 5 / span 3; }
.tile-time { grid-column: 8 / span 2; }
.tile-clock { display: grid; gap: 4px; }
.tile-city { font-size: var(--step-body); }
.tile-hours { font-size: var(--step-head); font-weight: 520; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; line-height: 1; }
.tile-contact { grid-column: 10 / span 3; font-size: var(--step-lead); overflow-wrap: anywhere; }
.tile-word {
  grid-column: 1 / span 8; min-height: 320px; place-content: center; text-align: center;
  background: var(--paper); color: var(--paper-ink);
  font-size: var(--step-display); font-weight: 560; letter-spacing: -0.05em; line-height: 1; overflow: clip;
}
.tile-invite {
  grid-column: 9 / span 4; min-height: 320px; align-content: space-between;
  background: var(--red); color: var(--red-ink); text-decoration: none;
  font-size: var(--step-lead); line-height: 1.15; letter-spacing: -0.02em; font-weight: 520;
  transition: background-color 200ms;
}
.tile-invite:hover { background: var(--red-press); text-decoration: none !important; }
.tile-invite .arrow { justify-self: end; width: 56px; height: 56px; transition: transform 260ms var(--ease-out); }
.tile-invite:hover .arrow { transform: translate(6px, -6px); }
@media (max-width: 900px) {
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
  .tile { padding: 20px; min-height: 0; align-content: start; }
  .tile-word { grid-column: 1 / -1; grid-row: 1; min-height: 160px; font-size: var(--step-head); align-content: center; }
  .tile-invite { grid-column: 1 / -1; grid-row: 2; min-height: 160px; }
  .tile-nav { grid-column: 1; grid-row: 3; }
  .tile-contact { grid-column: 2; grid-row: 3; font-size: var(--step-body); }
  .tile-time { grid-column: 1; grid-row: 4; }
  .tile-statement { grid-column: 2; grid-row: 4; }
}
@media (max-width: 520px) {
  .tile-time, .tile-statement, .tile-nav, .tile-contact { grid-column: 1 / -1; grid-row: auto; }
}

/* Legal pages */
.legal { padding: clamp(40px, 6vw, 80px) 0 var(--section); }
.legal-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (max-width: 960px) { .legal-layout { grid-template-columns: minmax(0, 1fr); } }
@media (min-width: 961px) { .legal-aside { position: sticky; top: calc(var(--header) + 32px); max-height: calc(100vh - var(--header) - 48px); overflow-y: auto; } }
.aside-title { color: var(--muted); font-size: var(--step-small); font-weight: 600; margin-bottom: 10px; }
.doc-links { list-style: none; display: grid; gap: 2px; margin-bottom: 32px; }
.doc-links a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; color: var(--muted); text-decoration: none; font-size: var(--step-small); font-weight: 500; border-radius: var(--radius); }
.doc-links a .icon { width: 18px; height: 18px; }
.doc-links a:hover { color: var(--ink); background: var(--surface-1); }
.doc-links a[aria-current='page'] { color: var(--red-ink); background: var(--red); }
.toc ol { list-style: none; display: grid; gap: 2px; counter-reset: toc; }
.toc li { counter-increment: toc; }
.toc a { display: flex; gap: 8px; padding: 5px 12px; color: var(--muted); text-decoration: none; font-size: var(--step-small); line-height: 1.45; border-radius: var(--radius); }
.toc a::before { content: counter(toc) '.'; min-width: 1.4em; font-variant-numeric: tabular-nums; }
.toc a:hover { color: var(--ink); }
@media (max-width: 960px) {
  .doc-links { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 0; }
  .doc-links a { background: var(--surface-1); }
  .doc-links a .icon { display: none; }
  .legal-aside .aside-title { display: none; }
  .toc { display: none; }
}
.legal-doc { max-width: 760px; }
.legal-doc h1 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.25rem); letter-spacing: -0.035em; line-height: 1.05; font-weight: 540; }
.legal-meta { color: var(--muted); font-size: var(--step-small); margin-top: 16px; }
.legal-doc section { padding-top: 12px; }
.legal-doc h2 { font-size: var(--step-lead); letter-spacing: -0.015em; line-height: 1.25; margin: 36px 0 14px; display: flex; gap: 10px; font-weight: 600; }
.legal-doc h2 .num { color: var(--muted); font-variant-numeric: tabular-nums; }
.legal-doc p, .legal-doc li { font-size: var(--step-body); line-height: 1.65; }
.legal-doc .legal-intro { margin-top: 32px; padding: 24px; background: var(--surface-1); border-radius: var(--radius); }
.legal-doc .legal-intro p + p { margin-top: 12px; }
.legal-doc p + p, .legal-doc p + ul, .legal-doc ul + p { margin-top: 14px; }
.legal-doc ul { list-style: none; display: grid; gap: 8px; }
.legal-doc ul li { position: relative; padding-left: 22px; }
.legal-doc ul li::before { content: ''; position: absolute; left: 4px; top: 0.68em; width: 6px; height: 6px; border-radius: 1px; background: var(--red); }
.field-value { font-weight: 600; }
/* A seller or contact detail that is not set yet: visible on purpose so it is not missed. */
.placeholder { color: var(--red-ink); font-weight: 600; white-space: nowrap; background: var(--red); border-radius: 2px; padding: 0 4px; }

/* 404 */
.not-found { padding: clamp(80px, 12vw, 160px) 0; min-height: calc(100vh - 560px); }
.not-found .code { font-size: var(--step-display); font-weight: 540; letter-spacing: -0.05em; line-height: 1; color: var(--red); }
.not-found h1 { font-size: var(--step-head); letter-spacing: -0.035em; line-height: 1.05; margin-top: 16px; font-weight: 520; }
.not-found .section-lead { max-width: 46ch; margin-top: 20px; font-size: var(--step-lead); }
.not-found .hero-actions { margin-top: 36px; }

/* Motion. Everything is in the HTML and visible without the script; the hidden starting states apply only
   under .js and only when the visitor has not asked for less motion. */
@media (prefers-reduced-motion: no-preference) {
  .js .lines [data-line] { transform: translateY(105%); animation: line-up 900ms var(--ease-out) forwards; animation-delay: 150ms; }
  .js .lines .line-2 { animation-delay: 260ms; }
  .js [data-hero] { opacity: 0; transform: translateY(20px); animation: rise 800ms var(--ease-out) forwards; animation-delay: 620ms; }
  .js .hero-shot[data-hero] { animation-delay: 760ms; animation-duration: 1100ms; }
  .js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
  .js .how-step { opacity: 0.001; transform: translateY(24px); transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out); }
  .js .how-step.is-in { opacity: 1; transform: none; }
  @supports (animation-timeline: view()) {
    .hero-shot img { animation: settle linear both; animation-timeline: view(); animation-range: exit 0% exit 100%; }
  }
}
@keyframes line-up { to { transform: none; } }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes settle { to { transform: scale(0.94) translateY(4%); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

@media print {
  .site-header, .skip, .form-card, .langs, .legal-aside, .site-footer { display: none !important; }
  body { background: #fff; color: #000; }
  .legal-layout { display: block; }
  .legal-doc p, .legal-doc li, .legal-meta { color: #000; }
}
