@font-face {
  font-family: "Inter Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("/site-assets/fonts/inter-cyrillic-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Inter Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("/site-assets/fonts/inter-latin-wght-normal.woff2") 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;
}

@font-face {
  font-family: "Inter Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("/site-assets/fonts/inter-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, 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;
}

:root {
  color-scheme: dark;
  --bg: #08090a;
  --surface: #0f1011;
  --surface-2: #141516;
  --surface-3: #1b1c1e;
  --fg: #f7f8f8;
  --fg-2: #d0d6e0;
  --muted: #8a8f98;
  --faint: #62666d;
  --primary: #e5e5e6;
  --line: rgba(255, 255, 255, 0.05);
  --line-2: rgba(255, 255, 255, 0.08);
  --line-3: rgba(255, 255, 255, 0.12);
  --live: #4cb782;
  --hold: #d9a441;
  --error: #ff5c5c;
  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 12px;
  --r-xl: 20px;
  --s-xs: 6px;
  --s-sm: 14px;
  --s-md: 24px;
  --s-lg: 36px;
  --s-xl: 128px;
  --shadow-sm: rgba(0, 0, 0, 0.4) 0 2px 4px 0;
  --shadow-inner: rgba(0, 0, 0, 0.2) 0 0 12px 0 inset;
  --page-max: 1344px;
  --outer: 46px;
  --inset: 32px;
  --header-h: 72px;
  --font: "Inter Variable", Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html[data-pending-lang] { background: var(--bg); }
html[data-pending-lang] body { visibility: hidden; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
  background: var(--bg);
}

body {
  margin: 0;
  padding-top: var(--header-h);
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-feature-settings: "ss01", "ss02", "cv01", "cv03";
  font-size: 15px;
  line-height: 24px;
  letter-spacing: -0.165px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }

.sprite { display: none; }

.ico {
  width: 16px;
  height: 16px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ico-xs { width: 13px; height: 13px; }
.ico-md { width: 20px; height: 20px; stroke-width: 1.5; }

.page {
  width: 100%;
  max-width: calc(var(--page-max) + var(--outer) * 2);
  margin-inline: auto;
  padding-inline: var(--outer);
}

.inset { padding-inline: var(--inset); }

/* Navigation: logo left, anchors + divider + actions right, transparent until scrolled */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: linear-gradient(180deg, rgba(8, 9, 10, 0.9) 0%, rgba(8, 9, 10, 0) 100%);
  border-bottom: 1px solid transparent;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.nav.is-scrolled {
  background-color: rgba(8, 9, 10, 0.82);
  background-image: none;
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom-color: var(--line);
}

.nav.is-open {
  position: fixed;
  inset: 0 0 auto;
  width: 100%;
  background-color: var(--bg);
  background-image: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom-color: transparent;
  transition: none;
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: calc(var(--page-max) + var(--outer) * 2);
  height: var(--header-h);
  margin-inline: auto;
  padding-inline: calc(var(--outer) + var(--inset) - 1px);
}

.brand {
  flex: 1;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 590;
  letter-spacing: -0.2px;
  color: var(--fg);
}

.brand span { white-space: nowrap; }

.brand-mark { width: 20px; height: 20px; flex: none; color: var(--fg); }

.nav-links { display: flex; align-items: center; gap: 2px; }

.nav-links a,
.nav-anchor {
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding: 0 12px;
  border: 0;
  border-radius: 9999px;
  background: transparent;
  color: var(--muted);
  font: 510 13px/20px var(--font);
  letter-spacing: -0.13px;
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.15s ease, background-color 0.15s ease;
}

.nav-links a:hover,
.nav-anchor:hover { color: var(--fg); background: rgba(255, 255, 255, 0.05); }

.nav-divider { width: 1px; height: 16px; margin-inline: 8px; background: var(--line-3); }

.nav-actions { display: flex; align-items: center; gap: 4px; }

.lang-toggle { min-width: 40px; justify-content: center; letter-spacing: 0.2px; }

.nav-actions .btn-sm { margin-left: 8px; }

.nav-burger {
  display: none;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-left: 4px;
  padding: 0;
  border: 0;
  border-radius: 9999px;
  background: transparent;
  color: var(--fg);
  cursor: pointer;
}

.nav-burger:hover { background: rgba(255, 255, 255, 0.05); }
.nav-burger [hidden] { display: none; }
.nav-burger svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
}
.nav-burger .burger-close { display: none; }
.nav-burger[aria-expanded="true"] .burger-open { display: none; }
.nav-burger[aria-expanded="true"] .burger-close { display: block; }

.nav-links a[aria-current="page"] { color: var(--fg); background: rgba(255, 255, 255, 0.05); }

.mobile-menu {
  position: fixed;
  top: var(--header-h);
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 40;
  display: flex;
  flex-direction: column;
  padding: 8px calc(var(--outer) + var(--inset) - 1px) 32px;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--bg);
}

.mobile-menu[hidden] { display: none; }

.mobile-menu-list { display: flex; flex-direction: column; }

.menu-label {
  margin: 28px 0 4px;
  color: var(--muted);
  font-size: 13px;
  line-height: 20px;
  font-weight: 510;
}

.mobile-menu-list .menu-label:first-child { margin-top: 12px; }

.mobile-menu-list a {
  display: block;
  padding: 7px 0;
  border: 0;
  background: transparent;
  color: var(--fg);
  font-size: 32px;
  line-height: 1.15;
  letter-spacing: -0.022em;
  font-weight: 510;
}

.menu-lang {
  align-self: flex-start;
  margin-top: 28px;
  height: 32px;
  padding: 0 12px;
  border: 0;
  border-radius: 9999px;
  background: transparent;
  color: var(--muted);
  font: 510 13px/20px var(--font);
  letter-spacing: 0.2px;
  cursor: pointer;
}

.menu-lang:hover { color: var(--fg); background: rgba(255, 255, 255, 0.05); }

html.menu-open,
body.menu-open { overflow: hidden; }

.page-hero { padding-top: 96px; padding-bottom: 72px; }
.page-kicker { margin-bottom: 16px; color: var(--faint); font-size: 14px; line-height: 20px; font-weight: 510; }
.page-title {
  max-width: 18ch;
  margin-left: -2px;
  font-size: 56px;
  line-height: 1.05;
  letter-spacing: -0.022em;
  font-weight: 510;
  text-wrap: balance;
}
.page-lead { max-width: 46ch; margin-top: 24px; color: var(--muted); font-size: 17px; line-height: 26px; }
.subpage-block { padding-top: 0; border-top: 0; }
.subpage-block .fs-header, .subpage-block > .h2 { display: none; }
.legal-page { padding-top: 96px; padding-bottom: 128px; }
.legal-page .page-lead { max-width: 62ch; }

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  min-width: 127px;
  padding: 0 20px;
  border-radius: 9999px;
  font-size: 15px;
  line-height: 24px;
  font-weight: 510;
  letter-spacing: -0.165px;
  white-space: nowrap;
  transition: background-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.btn-primary {
  background: var(--primary);
  color: var(--bg);
  border: 1px solid var(--primary);
  box-shadow: rgba(0, 0, 0, 0.01) 0 5px 2px 0, rgba(0, 0, 0, 0.04) 0 3px 2px 0, rgba(0, 0, 0, 0.07) 0 1px 1px 0, rgba(0, 0, 0, 0.08) 0 0 1px 0;
}

.btn-primary:hover { background: #ffffff; border-color: #ffffff; }

.btn-secondary {
  background: transparent;
  color: var(--fg);
  box-shadow: rgba(255, 255, 255, 0.03) 0 0 0 1px inset, rgba(255, 255, 255, 0.04) 0 1px 0 0 inset, rgba(0, 0, 0, 0.6) 0 0 0 1px, rgba(0, 0, 0, 0.1) 0 4px 4px 0;
  background-color: rgba(255, 255, 255, 0.02);
}

.btn-secondary:hover { background-color: rgba(255, 255, 255, 0.05); }

.btn-sm {
  min-height: 32px;
  min-width: 0;
  padding: 0 14px;
  font-size: 13px;
  line-height: 20px;
}

/* Hero */

.hero {
  position: relative;
  padding-top: 200px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -64px -20vw auto;
  height: 720px;
  z-index: -1;
  background: radial-gradient(ellipse 50% 60% at 30% 0%, rgba(255, 255, 255, 0.05), transparent 70%);
  pointer-events: none;
}

.display {
  max-width: 980px;
  margin-left: -2px;
  font-size: 64px;
  line-height: 1.06;
  letter-spacing: -0.022em;
  font-weight: 510;
  text-wrap: balance;
}

.hero-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--s-md);
  margin-top: 32px;
}

.hero-lead {
  max-width: 378px;
  color: var(--muted);
  font-size: 15px;
  line-height: 24px;
  letter-spacing: -0.165px;
  text-wrap: pretty;
}

.hero-news {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: none;
  height: 32px;
  padding: 0 12px 0 4px;
  border-radius: 9999px;
  color: var(--fg-2);
  font-size: 13px;
  line-height: 20px;
  font-weight: 510;
  box-shadow: var(--line-2) 0 0 0 1px inset;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.hero-news:hover { color: var(--fg); background: rgba(255, 255, 255, 0.04); }

.hero-news-tag {
  padding: 2px 8px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--fg);
  font-size: 12px;
  line-height: 20px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* Same geometry as the linear.app hero frame: 1320×720 app, 60px buffer, 112px below, cropped on the right. */
.hero-stage {
  position: relative;
  margin-top: 70px;
  padding-bottom: 112px;
  overflow: hidden;
}

.hero-stage::before {
  content: "";
  position: absolute;
  inset: 0 12px;
  z-index: -1;
  background:
    radial-gradient(52.5% 57.5% at 50% 100%, rgba(8, 9, 10, 0) 0%, rgba(8, 9, 10, 0.5) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0) 60%);
  border-radius: 6px;
}

.frame-wrap {
  position: relative;
  padding-inline: 60px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, #000 62%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 62%, transparent 100%);
}

.frame-wrap::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  width: 360px;
  background: linear-gradient(90deg, rgba(8, 9, 10, 0) 0%, rgba(8, 9, 10, 0.8) 100%);
  pointer-events: none;
}

.app-frame {
  position: relative;
  display: grid;
  grid-template-columns: 232px 1fr;
  width: 1320px;
  height: 720px;
  margin: 0 auto;
  padding: 8px;
  overflow: hidden;
  background: #090a0b;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  font-size: 13px;
  line-height: 18px;
  letter-spacing: -0.1px;
  color: var(--fg-2);
  user-select: none;
}

.app-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  border-radius: inherit;
  background: radial-gradient(420px circle at var(--glow-x, 50%) var(--glow-y, -20%), rgba(255, 255, 255, 0.06), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.app-frame::after {
  content: "";
  position: absolute;
  inset: 0 10% auto;
  z-index: 3;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.22), transparent);
  pointer-events: none;
}

@media (pointer: fine) {
  .app-frame.is-glowing::before { opacity: 1; }
}

/* App mock: sidebar */

.app-side {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px 10px 8px 4px;
  background: transparent;
}

.app-club {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  color: var(--fg);
  font-weight: 590;
}

.app-club-mark {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 5px;
  background: var(--fg);
  color: var(--bg);
  font-size: 11px;
  font-weight: 650;
}

.app-club-name { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.app-search {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 6px 0 10px;
  padding: 6px 8px;
  border-radius: var(--r-md);
  color: var(--faint);
  box-shadow: var(--line-2) 0 0 0 1px inset;
}

.app-search span { flex: 1; }

kbd {
  padding: 0 5px;
  border-radius: var(--r-sm);
  background: var(--surface-3);
  color: var(--muted);
  font: 500 11px/16px var(--font);
}

.app-nav li {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 30px;
  padding: 0 8px;
  border-radius: 6px;
  color: var(--muted);
  font-weight: 510;
  white-space: nowrap;
}

.app-nav li:has(.app-nav-btn) {
  height: auto;
  padding: 0;
}

.app-nav-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  height: 30px;
  margin: 0;
  padding: 0 8px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: 510;
  text-align: start;
  cursor: pointer;
}

.app-nav-btn:hover,
.app-nav li.is-active .app-nav-btn { color: var(--fg); }

.app-nav li span { flex: 1; overflow: hidden; text-overflow: ellipsis; }
.app-nav li.is-active { background: rgba(255, 255, 255, 0.06); color: var(--fg); }
.app-nav em { font-style: normal; color: var(--faint); font-size: 12px; }

.app-nav-label {
  margin: 14px 8px 4px;
  color: var(--faint);
  font-size: 12px;
  font-weight: 510;
}

.app-side-foot {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding: 6px 8px;
  color: var(--faint);
  font-size: 12px;
}

.dot { width: 7px; height: 7px; border-radius: 50%; flex: none; }
.dot-live { background: var(--live); box-shadow: 0 0 0 3px rgba(76, 183, 130, 0.15); }

/* App mock: main */

.app-main {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.2);
}

.app-panel {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}

.app-panel[hidden] { display: none !important; }
.app-panel > * { flex-shrink: 0; }

/* App mock: shared controls of the inner screens */

.chip-primary { background: var(--primary); color: var(--bg); }

.app-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 28px;
  padding: 0 10px;
  border-radius: 6px;
  color: var(--fg-2);
  font-size: 12px;
  font-weight: 510;
  white-space: nowrap;
  box-shadow: var(--line-2) 0 0 0 1px inset;
}

.app-btn.is-solid { background: rgba(255, 255, 255, 0.1); color: var(--fg); box-shadow: none; }
.app-btn-icon { width: 28px; padding: 0; }
.app-btn-ghost { box-shadow: none; color: var(--muted); }
.app-btn-ghost.is-danger { color: #f97066; }
.app-btn-danger { background: rgba(240, 68, 56, 0.16); color: #fda29b; box-shadow: none; }
.app-btn-letter { width: 28px; padding: 0; }
.app-btn-group { display: inline-flex; gap: 4px; }
.ico-prev { transform: rotate(90deg); }
.ico-next { transform: rotate(-90deg); }

.app-switch {
  display: inline-flex;
  overflow: hidden;
  border-radius: 7px;
  box-shadow: var(--line-3) 0 0 0 1px inset;
}

.app-switch > span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 28px;
  padding: 0 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 510;
}

.app-switch > span + span { border-left: 1px solid var(--line-2); }
.app-switch > .is-active { background: rgba(255, 255, 255, 0.07); color: var(--fg); }

.app-filters,
.app-filterbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 14px 20px 0;
  color: var(--faint);
}

.app-select,
.app-input {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-width: 132px;
  height: 28px;
  padding: 0 10px;
  border-radius: 6px;
  color: var(--fg-2);
  font-size: 12px;
  box-shadow: var(--line-2) 0 0 0 1px inset;
}

.app-input { justify-content: flex-start; width: 250px; color: var(--faint); }
.app-divider { width: 1px; height: 18px; background: var(--line-2); }

.metrics-ico .metric > span { display: inline-flex; align-items: center; gap: 6px; }
.metric strong.is-live { color: var(--live); }

.app-seg {
  display: inline-flex;
  align-self: flex-start;
  gap: 2px;
  margin: 14px 20px 0;
  padding: 2px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: var(--line-2) 0 0 0 1px inset;
}

.app-seg > span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 26px;
  padding: 0 12px;
  border-radius: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 510;
}

.app-seg > .is-active { background: rgba(255, 255, 255, 0.09); color: var(--fg); }
.app-seg em { font-style: normal; color: var(--faint); }

/* App mock: weekly bookings calendar */

.app-cal {
  display: flex;
  flex-direction: column;
  min-height: 0;
  margin: 14px 20px 20px;
  overflow: hidden;
  border-radius: var(--r-md);
  box-shadow: var(--line-2) 0 0 0 1px inset;
}

.app-cal-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
}

.app-cal-bar strong { color: var(--fg); font-size: 14px; font-weight: 590; }
.app-cal-eyebrow { margin: 0 0 2px; color: var(--faint); font-size: 11px; }
.app-cal-actions { display: flex; align-items: center; gap: 8px; }

.app-cal-grid {
  display: grid;
  grid-template-columns: 56px repeat(7, minmax(0, 1fr));
  grid-template-rows: 44px 360px;
}

.app-cal-corner,
.app-cal-day {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-bottom: 1px solid var(--line);
  color: var(--faint);
  font-size: 12px;
}

.app-cal-day { border-left: 1px solid var(--line); }
.app-cal-day strong {
  display: grid;
  place-items: center;
  min-width: 24px;
  height: 24px;
  border-radius: 9999px;
  color: var(--fg-2);
  font-size: 13px;
  font-weight: 560;
}

.app-cal-day.is-today { color: var(--fg); }
.app-cal-day.is-today strong { background: var(--fg); color: var(--bg); }

.app-cal-times { position: relative; }
.app-cal-times span {
  position: absolute;
  right: 8px;
  transform: translateY(4px);
  color: var(--faint);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}

.app-cal-col {
  position: relative;
  border-left: 1px solid var(--line);
  background: repeating-linear-gradient(to bottom, transparent 0 59px, var(--line) 59px 60px);
}

.app-cal-col.is-today { background-color: rgba(255, 255, 255, 0.015); }

.app-ev {
  position: absolute;
  left: 3px;
  right: 3px;
  display: flex;
  flex-direction: column;
  gap: 1px;
  overflow: hidden;
  padding: 5px 7px;
  border-radius: 6px;
  border-left: 3px solid var(--live);
  background: rgba(76, 183, 130, 0.1);
  color: var(--fg-2);
  font-size: 10px;
  line-height: 14px;
}

.app-ev[style*="width"] { right: auto; }
.app-ev.is-wait { border-left-color: var(--hold); background: rgba(217, 164, 65, 0.12); }
.app-ev > * { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.app-ev b { color: var(--fg-2); font-weight: 600; }
.app-ev strong { color: var(--fg); font-size: 12px; line-height: 17px; font-weight: 600; }
.app-ev i { font-style: normal; color: var(--muted); }

.app-now {
  position: absolute;
  left: 0;
  right: 0;
  z-index: 2;
  height: 2px;
  background: #f04438;
}

.app-now i {
  position: absolute;
  top: -3px;
  left: -4px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #f04438;
}

/* App mock: admin tables */

.app-box {
  margin: 14px 20px 0;
  border-radius: var(--r-md);
  box-shadow: var(--line-2) 0 0 0 1px inset;
}

.app-box > header {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
}

.app-box > header strong { color: var(--fg); font-size: 14px; font-weight: 590; }
.app-box > header span { color: var(--faint); font-size: 12px; }

.app-tr {
  display: grid;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 6px 16px;
  border-bottom: 1px solid var(--line);
  color: var(--fg-2);
  font-size: 13px;
}

.app-tr:last-child { border-bottom: 0; }
.app-tr-head { min-height: 32px; color: var(--faint); font-size: 11px; font-weight: 510; }
.app-tr b { color: var(--fg); font-weight: 560; font-variant-numeric: tabular-nums; }
.app-tr-ses { grid-template-columns: 1fr 1.4fr 0.6fr 1fr 0.7fr 150px; }
.app-tr-hist { grid-template-columns: 1.3fr 1.2fr 0.8fr 0.7fr 0.8fr; }
.app-tr-cl { grid-template-columns: 1.4fr 1.2fr 0.9fr 0.5fr 0.9fr 72px; }

.app-cell { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.app-cell small { color: var(--faint); font-size: 11px; }
.app-badge { align-self: flex-start; padding: 0 6px; border-radius: 4px; background: rgba(255, 255, 255, 0.06); color: var(--muted) !important; }
.app-path { color: var(--muted) !important; }

.app-who { display: inline-flex; align-items: center; gap: 6px; min-width: 0; }
.app-who.is-empty, .app-who.is-empty b { color: var(--muted); font-weight: 510; }
small.app-who { color: var(--muted); font-size: 11px; }

.app-dur { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); }
.app-sum { color: var(--live) !important; }
.app-acts { display: flex; justify-content: flex-end; gap: 6px; }

.app-chip {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 8px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
  font-size: 11px;
  font-weight: 510;
}

.app-chip.is-ok { background: rgba(76, 183, 130, 0.14); color: #75e0a7; }
.app-chip.is-wait { background: rgba(217, 164, 65, 0.16); color: #fec84b; }
.app-chip.is-vip { background: rgba(158, 119, 237, 0.18); color: #bdb4fe; }

.app-person { display: flex; align-items: center; gap: 10px; min-width: 0; }
.app-person > i {
  display: grid;
  place-items: center;
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--surface-3);
  color: var(--fg-2);
  font-size: 12px;
  font-style: normal;
  font-weight: 590;
}

.app-person > span { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.app-person small { color: var(--faint); font-size: 11px; }
.app-date { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); }

.app-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 52px;
  padding: 0 20px;
  border-bottom: 1px solid var(--line);
}

.app-title { display: flex; align-items: baseline; gap: 12px; color: var(--fg); font-size: 15px; font-weight: 590; }
.app-crumb { color: var(--faint); font-size: 12px; font-weight: 450; }

.app-top-actions { display: flex; align-items: center; gap: 14px; color: var(--muted); }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 26px;
  padding: 0 10px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 510;
}

.chip-ghost { color: var(--fg-2); box-shadow: var(--line-3) 0 0 0 1px inset; }

.app-bell { position: relative; display: inline-flex; }
.app-bell i { position: absolute; top: -1px; right: -1px; width: 6px; height: 6px; border-radius: 50%; background: var(--fg); }

.avatar {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--surface-3);
  color: var(--fg-2);
  font-size: 11px;
  font-weight: 590;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 18px 20px 0;
  border-radius: var(--r-md);
  box-shadow: var(--line-2) 0 0 0 1px inset;
}

.metric {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 16px;
  color: var(--muted);
  font-size: 12px;
}

.metric + .metric { border-left: 1px solid var(--line-2); }
.metric strong { color: var(--fg); font-size: 20px; line-height: 26px; font-weight: 560; letter-spacing: -0.3px; }
.metric small { color: var(--faint); font-size: 12px; font-weight: 450; letter-spacing: 0; }

.tables {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding: 16px 20px 20px;
}

.tcard {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 0;
  padding: 14px;
  border-radius: var(--r-md);
  background: var(--surface-2);
  box-shadow: var(--line-2) 0 0 0 1px inset, var(--shadow-inner);
}

.tcard header { display: flex; align-items: center; justify-content: space-between; gap: 8px; }

.tname { display: inline-flex; align-items: center; gap: 8px; color: var(--fg); font-weight: 590; font-size: 14px; }
.tname::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--faint); opacity: 0.6; }
.is-busy .tname::before { background: var(--live); opacity: 1; box-shadow: 0 0 0 3px rgba(76, 183, 130, 0.14); }
.is-hold .tname::before { background: var(--hold); opacity: 1; }
.is-busy { box-shadow: rgba(255, 255, 255, 0.1) 0 0 0 1px inset, var(--shadow-inner); }

.ttype { color: var(--faint); font-size: 12px; }

.tclient { color: var(--fg); font-weight: 510; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tclient-empty { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); }

.tlive { display: flex; align-items: baseline; justify-content: space-between; }
.ttimer { color: var(--fg); font-size: 22px; line-height: 28px; font-weight: 560; letter-spacing: -0.4px; font-variant-numeric: tabular-nums; }
.tcost { color: var(--fg-2); font-weight: 510; font-variant-numeric: tabular-nums; }

.tstate { display: flex; align-items: center; gap: 8px; min-height: 28px; color: var(--muted); font-weight: 510; }
.is-hold .tstate { color: var(--hold); }
.tlight { display: inline-flex; align-items: center; gap: 4px; color: var(--faint); font-size: 12px; font-weight: 450; }

.tbook { display: flex; flex-direction: column; gap: 2px; font-size: 12px; color: var(--muted); }
.tbook-label { color: var(--faint); font-size: 11px; }
.tbook-row b { color: var(--fg-2); font-weight: 560; }
.tbook-row u { color: var(--fg-2); text-decoration-color: rgba(255, 255, 255, 0.25); text-underline-offset: 2px; }
.tbook-empty { color: var(--faint); }

.tlimit { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 12px; white-space: nowrap; }
.bar { flex: 1; height: 4px; border-radius: 9999px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: inherit; background: var(--fg-2); }

.ttag, .tmoved { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 12px; }

.tcard footer, .tseg { display: flex; gap: 6px; margin-top: auto; }
.tseg + footer { margin-top: 0; }

.tbtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex: 1;
  height: 28px;
  padding: 0 8px;
  border-radius: 6px;
  color: var(--fg-2);
  font-size: 12px;
  font-weight: 510;
  white-space: nowrap;
  box-shadow: var(--line-2) 0 0 0 1px inset;
}

.tseg .tbtn:not(.tbtn-main) { flex: 0 0 42px; }
.tbtn-main { background: var(--primary); color: var(--bg); box-shadow: none; }
.is-busy .tbtn-main { background: rgba(255, 255, 255, 0.08); color: var(--fg); }
.tbtn-ghost { color: var(--muted); box-shadow: none; background: rgba(255, 255, 255, 0.03); }

/* Logo carousel: full-bleed marquee, edges fade, caption under the row */

.logos { margin-top: 8px; }

.logos-marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.logos-train {
  display: flex;
  width: max-content;
  animation: logos-scroll 48s linear infinite;
}

.logos-marquee.is-paused .logos-train { animation-play-state: paused; }

.logos-track {
  display: flex;
  align-items: center;
  gap: 72px;
  margin: 0;
  padding: 0 72px 0 0;
  list-style: none;
}

.logo {
  color: #f7f8f8;
  font-size: 22px;
  line-height: 28px;
  font-weight: 590;
  letter-spacing: -0.3px;
  white-space: nowrap;
}

.logo-wide { font-weight: 700; letter-spacing: 0.16em; font-size: 16px; }
.logo-light { font-weight: 380; font-size: 24px; letter-spacing: -0.4px; font-style: italic; }
.logo-mono { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 18px; font-weight: 600; letter-spacing: -0.4px; }

.logos-caption {
  margin: 32px auto 0;
  max-width: 920px;
  padding-inline: var(--outer);
  color: #8a8f98;
  font-size: 13px;
  line-height: 20px;
  font-weight: 510;
  letter-spacing: 0.14em;
  text-align: center;
  text-transform: uppercase;
}

@keyframes logos-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Statement */

.statement { padding-top: 96px; }

.h2-statement {
  max-width: 1100px;
  margin-left: -2px;
  font-size: 48px;
  line-height: 1.1;
  letter-spacing: -0.022em;
  font-weight: 510;
  text-wrap: pretty;
}

.h2-statement .muted { color: var(--faint); }

/* Benefits: three 468px figure columns */

.benefits { padding-top: 136px; }

.benefits-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding-inline: var(--inset);
}

.benefit {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 468px;
  padding-inline: var(--inset);
  border-right: 1px solid var(--line-2);
}

.benefit:first-child { padding-left: 0; }
.benefit:last-child { padding-right: 0; border-right: 0; }

.fig {
  position: absolute;
  top: 0;
  left: var(--inset);
  color: var(--faint);
  font-size: 13px;
  line-height: 20px;
  font-variant-numeric: tabular-nums;
}

.benefit:first-child .fig { left: 0; }

.benefit-art {
  flex: 1;
  display: grid;
  place-items: center;
  min-height: 0;
  overflow: hidden;
}

.fig-svg { width: 220px; height: 220px; }
.fig-line { fill: none; stroke: rgba(255, 255, 255, 0.16); stroke-width: 1.2; }
.fig-strong { fill: none; stroke: rgba(255, 255, 255, 0.55); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.fig-dash { stroke-dasharray: 3 5; }
.fig-dot { fill: var(--fg-2); }
.fig-fill { fill: rgba(255, 255, 255, 0.12); stroke: rgba(255, 255, 255, 0.55); stroke-width: 1.4; }

.benefit .h4 { margin-top: var(--s-md); }
.benefit p { max-width: 368px; margin-top: var(--s-xs); color: var(--muted); text-wrap: balance; }

.keyline {
  height: 1px;
  margin-top: 160px;
  background: var(--line-2);
  box-shadow: 0 1px 0 #000;
}

/* Feature sections: 128px padding, title | description, full-width illustration */

.feature-section { padding-block: 128px; }
.feature-section + .feature-section { border-top: 1px solid var(--line); }

.fs-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  padding-bottom: 96px;
}

.fs-title { padding-right: 32px; }
.fs-desc p { max-width: 38ch; color: var(--muted); font-size: 16px; line-height: 24px; letter-spacing: 0; }
.fs-desc { padding-top: 34px; }

.fs-next {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: var(--s-md);
  color: var(--fg-2);
  font-size: 14px;
  line-height: 20px;
  font-weight: 510;
  transition: color 0.15s ease, gap 0.15s ease;
}

.fs-next:hover { color: var(--fg); gap: 10px; }

.h2 {
  margin-left: -2px;
  font-size: 48px;
  line-height: 1.04;
  letter-spacing: -0.022em;
  font-weight: 510;
  text-wrap: balance;
}

.h3 { font-size: 20px; line-height: 26.6px; letter-spacing: -0.24px; font-weight: 510; }
.h4 { font-size: 16px; line-height: 24px; letter-spacing: -0.1px; font-weight: 510; color: var(--fg); }

.fs-panel {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-bottom: 0;
  border-radius: 12px 12px 0 0;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 60%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 60%, transparent 100%);
}

.fs-panel-flat {
  min-height: 0;
  padding: var(--inset);
  background: transparent;
  border: 0;
  -webkit-mask-image: none;
  mask-image: none;
}

.fs-split {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: center;
  min-height: 480px;
}

.fs-split-rev { grid-template-columns: 1fr 1.15fr; }

.fs-art {
  display: grid;
  place-items: center;
  align-self: stretch;
  padding: 56px var(--s-md);
  background:
    radial-gradient(ellipse 70% 60% at 50% 40%, rgba(255, 255, 255, 0.035), transparent 70%),
    linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 100% 32px,
    linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 32px 100%;
  border-right: 1px solid var(--line);
}

.fs-split-rev .fs-art { border-right: 0; border-left: 1px solid var(--line); }

.fs-copy { padding: 56px; }
.fs-copy p { max-width: 44ch; margin-top: var(--s-sm); color: var(--muted); }

.fs-grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-md); }

.fs-roles { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-md); }

.fs-footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.fs-footer-label {
  display: flex;
  align-items: center;
  height: 28px;
  margin-top: 36px;
  color: var(--faint);
  font-size: 14px;
  font-weight: 510;
  font-variant-numeric: tabular-nums;
}

.fs-footer-items {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  padding-top: 36px;
  font-size: 14px;
  line-height: 20px;
}

.ingredient { color: var(--fg-2); font-weight: 510; }
.ingredient-plus { color: var(--faint); }

.panel {
  position: relative;
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: rgba(255, 255, 255, 0.06) 0 0 0 1px inset;
  overflow: hidden;
}

.panel-pad { padding: var(--s-md); }

.checks { display: grid; gap: 10px; margin-top: var(--s-md); }
.checks li { display: flex; align-items: center; gap: 10px; color: var(--fg-2); }
.checks .ico { color: var(--muted); }


/* Transfer dialog */

.dialog {
  width: min(360px, 100%);
  padding: 18px;
  border-radius: var(--r-lg);
  background: var(--surface-2);
  box-shadow: rgba(255, 255, 255, 0.08) 0 0 0 1px inset, rgba(0, 0, 0, 0.5) 0 24px 48px -12px;
  font-size: 13px;
  line-height: 18px;
  color: var(--fg-2);
}

.dialog-head { display: flex; align-items: center; justify-content: space-between; color: var(--fg); font-size: 15px; }
.dialog-head strong { font-weight: 590; }
.dialog-head .ico { color: var(--faint); }
.dialog-sub { margin-top: 4px; color: var(--muted); }

.pick { display: grid; gap: 6px; margin-top: 16px; }

.pick li {
  display: grid;
  grid-template-columns: 1fr auto 16px;
  align-items: center;
  gap: 10px;
  height: 38px;
  padding: 0 12px;
  border-radius: var(--r-md);
  box-shadow: var(--line-2) 0 0 0 1px inset;
}

.pick li em { color: var(--faint); font-style: normal; font-size: 12px; }
.pick li.is-on { background: rgba(255, 255, 255, 0.06); box-shadow: rgba(255, 255, 255, 0.18) 0 0 0 1px inset; color: var(--fg); }
.pick li.is-on .ico { color: var(--fg); }
.pick li.is-off { opacity: 0.45; }

.dialog-foot { display: flex; justify-content: flex-end; gap: 8px; margin-top: 16px; }

.btn-mini {
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 14px;
  border-radius: 9999px;
  background: var(--primary);
  color: var(--bg);
  font-size: 13px;
  font-weight: 510;
}

.btn-mini-ghost { background: transparent; color: var(--fg-2); box-shadow: var(--line-3) 0 0 0 1px inset; }

/* Timeline */

.timeline { padding: var(--s-md); font-size: 12px; line-height: 16px; overflow-x: auto; }
.tl-head, .tl-row { display: grid; grid-template-columns: 88px 1fr; min-width: 760px; }

.tl-head { padding-bottom: 10px; color: var(--faint); font-variant-numeric: tabular-nums; }
.tl-head { grid-template-columns: 88px repeat(8, 1fr); }

.tl-row { height: 52px; align-items: center; border-top: 1px solid var(--line); }
.tl-name { color: var(--fg-2); font-weight: 510; font-size: 13px; }

.tl-track {
  position: relative;
  height: 100%;
  background: linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 12.5% 100%;
}

.tl-now { position: absolute; top: 0; bottom: 0; width: 1px; background: rgba(255, 255, 255, 0.45); }
.tl-row:first-of-type .tl-now::before { content: ""; }

.bk {
  position: absolute;
  top: 8px;
  bottom: 8px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1px;
  padding: 0 10px;
  overflow: hidden;
  border-radius: 6px;
  font-weight: 510;
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: rgba(255, 255, 255, 0.1) 0 0 0 1px inset;
  color: var(--fg);
}

.bk span { overflow: hidden; text-overflow: ellipsis; }
.bk em { color: var(--muted); font-style: normal; font-weight: 450; font-size: 11px; overflow: hidden; text-overflow: ellipsis; }
.bk-ok { border-left: 2px solid var(--live); }
.bk-wait { border-left: 2px solid var(--faint); background: rgba(255, 255, 255, 0.03); }
.bk-pay { border-left: 2px solid var(--hold); }

/* Phone (Mini App) */

.phone {
  width: 290px;
  padding: 10px;
  border-radius: 36px;
  background: #050506;
  box-shadow: rgba(255, 255, 255, 0.1) 0 0 0 1px inset, rgba(0, 0, 0, 0.6) 0 30px 60px -20px;
  font-size: 13px;
  line-height: 18px;
}

.phone-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px 10px;
  color: var(--fg);
  font-weight: 590;
}

.phone-bar .ico { color: var(--muted); }

.phone-body {
  display: grid;
  gap: 12px;
  padding: 14px;
  border-radius: 28px;
  background: var(--surface-2);
}

.seg {
  display: flex;
  padding: 3px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: var(--line-2) 0 0 0 1px inset;
}

.seg span {
  flex: 1;
  padding: 5px 0;
  border-radius: 9999px;
  color: var(--muted);
  text-align: center;
  font-size: 12px;
  font-weight: 510;
}

.seg .is-on { background: rgba(255, 255, 255, 0.1); color: var(--fg); }

.slots-label { color: var(--faint); font-size: 12px; }

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

.slots span {
  padding: 7px 0;
  border-radius: var(--r-md);
  text-align: center;
  color: var(--fg-2);
  font-weight: 510;
  font-variant-numeric: tabular-nums;
  box-shadow: var(--line-2) 0 0 0 1px inset;
}

.slots .is-on { background: var(--primary); color: var(--bg); box-shadow: none; }
.slots .is-off { color: var(--faint); text-decoration: line-through; opacity: 0.6; }

.promo { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: var(--r-md); background: rgba(255, 255, 255, 0.03); color: var(--fg-2); font-size: 12px; }
.promo .ico { color: var(--muted); }

.phone-total { display: flex; justify-content: space-between; color: var(--muted); }
.phone-total strong { color: var(--fg); font-weight: 590; }

.phone-cta {
  padding: 11px 0;
  border-radius: 9999px;
  background: var(--primary);
  color: var(--bg);
  text-align: center;
  font-weight: 590;
}

/* Money */

.mini-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 13px; font-weight: 510; }
.mini-meta { color: var(--faint); font-weight: 450; }

.pill-status {
  padding: 2px 10px;
  border-radius: 9999px;
  color: var(--fg-2);
  font-size: 12px;
  box-shadow: var(--line-3) 0 0 0 1px inset;
}

.quote { display: flex; flex-direction: column; gap: 2px; margin-top: 18px; }
.quote strong { color: var(--fg); font-size: 40px; line-height: 44px; letter-spacing: -0.88px; font-weight: 510; font-variant-numeric: tabular-nums; }
.quote span { color: var(--muted); font-size: 14px; }

.breakdown { margin-top: var(--s-md); font-size: 14px; }

.breakdown li {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr auto;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  color: var(--fg-2);
  font-variant-numeric: tabular-nums;
}

.breakdown li span:nth-child(2), .breakdown li span:nth-child(3) { color: var(--muted); }
.breakdown li b { font-weight: 560; color: var(--fg); }
.breakdown li.muted, .breakdown li.muted b { color: var(--muted); }

.bars {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  align-items: end;
  gap: 10px;
  height: 196px;
  margin-top: var(--s-md);
}

.bars span {
  position: relative;
  height: var(--h);
  border-radius: 6px 6px 2px 2px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: rgba(255, 255, 255, 0.06) 0 0 0 1px inset;
}

.bars span.is-on { background: var(--fg-2); }

.bars i {
  position: absolute;
  bottom: -22px;
  left: 0;
  right: 0;
  color: var(--faint);
  font-style: normal;
  font-size: 12px;
  text-align: center;
}

.fs-grid2 .panel:last-child { padding-bottom: 46px; }

/* Roles */

.card {
  padding: 0 24px 28px;
  border-radius: var(--r-md);
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.card-tag {
  display: inline-block;
  margin-top: 24px;
  margin-bottom: var(--s-sm);
  color: var(--muted);
  font-size: 13px;
  font-weight: 510;
}

.card ul { display: grid; gap: 8px; margin-top: var(--s-sm); }
.card li { position: relative; padding-left: 16px; color: var(--muted); }
.card li::before { content: ""; position: absolute; left: 0; top: 11px; width: 6px; height: 1px; background: var(--faint); }


/* Changelog */

.changelog { padding-block: 128px; border-top: 1px solid var(--line); }

.cl-row {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 64px;
  margin-top: 96px;
  padding-top: 40px;
}

.cl-line {
  position: absolute;
  top: 4px;
  left: var(--inset);
  right: var(--inset);
  height: 1px;
  background: linear-gradient(90deg, var(--line-3), var(--line-3) 70%, transparent);
}

.cl-item { position: relative; display: flex; flex-direction: column; gap: 8px; }

.cl-dot {
  position: absolute;
  top: -40px;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--bg);
  box-shadow: var(--fg-2) 0 0 0 1.5px inset;
}

.cl-item:first-of-type .cl-dot { background: var(--fg); box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.08); }
.cl-item p { color: var(--muted); font-size: 14px; line-height: 21px; }
.cl-item time { margin-top: 8px; color: var(--faint); font-size: 13px; font-variant-numeric: tabular-nums; }

/* Testimonials: one row, a wide pale card and a yellow card beside it */

.customers { padding-block: 128px; border-top: 1px solid var(--line); }

.quote-row {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 8px;
  align-items: stretch;
  padding-inline: var(--inset);
}

.quote-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 48px;
  min-height: 460px;
  margin: 0;
  padding: 36px;
  border: 0;
  border-radius: 12px;
  color: #08090a;
}

.quote-primary {
  background:
    linear-gradient(0deg, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.4)),
    linear-gradient(180deg, #b2d5ff 0%, #dfd1ff 100%);
}

.quote-secondary { background: #e4f222; }
.quote-extra { display: none; background: #f7f8f8; }

.quote-card blockquote {
  margin: 0;
  color: #08090a;
  font-size: 28px;
  line-height: 1.25;
  letter-spacing: -0.03em;
  font-weight: 510;
  text-wrap: pretty;
}

.quote-primary blockquote {
  max-width: 16em;
  font-size: 40px;
  line-height: 1.15;
  letter-spacing: -0.035em;
}

.quote-card figcaption {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: auto;
}

.quote-mark { font-size: 18px; font-weight: 650; letter-spacing: -0.03em; }
.quote-person { display: flex; flex-direction: column; gap: 2px; }
.quote-person strong { font-size: 15px; font-weight: 510; }
.quote-person span { font-size: 14px; line-height: 20px; opacity: 0.6; }

.quote-foot {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin-top: 48px;
  padding-inline: var(--inset);
}

.quote-foot p {
  margin: 0;
  max-width: 560px;
  color: var(--muted);
  font-size: 22px;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.quote-foot a { color: var(--fg); white-space: nowrap; }

/* Prefooter + footer */

.prefooter {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  margin-block: 224px;
  text-align: center;
}

.prefooter-title { margin-left: 0; }
.prefooter .hero-actions { justify-content: center; margin-top: 16px; }

.footer { border-top: 1px solid var(--line-2); color: var(--muted); }

.footer-inner {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  align-items: start;
  padding-block: 56px;
}

.footer-brand { display: inline-flex; align-items: center; gap: 10px; grid-column: span 3; color: var(--fg); font-weight: 590; }

.footer-col { display: flex; flex-direction: column; gap: 2px; font-size: 13px; line-height: 20px; }
.footer-col h4 { margin-bottom: 22px; color: var(--fg); font-size: 13px; font-weight: 510; }
.footer-col a { display: inline-flex; align-items: center; min-height: 28px; color: var(--muted); transition: color 0.15s ease; }
.footer-col a:hover, .footer-col a[aria-current] { color: var(--fg); }

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  grid-column: 1 / -1;
  margin-top: 80px;
  color: var(--faint);
  font-size: 13px;
  line-height: 20px;
}

.footer-legal span { margin-right: auto; }
.footer-legal a { transition: color 0.15s ease; }
.footer-legal a:hover { color: var(--fg); }

/* Legal stubs */

.legal {
  width: min(560px, calc(100vw - 32px));
  padding: 24px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  background: var(--surface);
  color: var(--fg-2);
  box-shadow: rgba(0, 0, 0, 0.6) 0 24px 64px -16px;
}

.legal::backdrop { background: rgba(0, 0, 0, 0.6); backdrop-filter: blur(4px); }
.legal-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; color: var(--fg); }
.legal p { color: var(--muted); }

.legal-close {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 9999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.legal-close:hover { color: var(--fg); background: rgba(255, 255, 255, 0.05); }

/* Reveal */

.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.1, 1); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .fs-next { transition: none; }
  .logos-train { animation: none; }
}

/* Faint film grain over the page */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Responsive: linear.app breakpoints 1440 / 1280 / 1024 / 768 / 640 */

@media (max-width: 1280px) {
  :root { --outer: 24px; }
  .hero { padding-top: 124px; }
  .display { font-size: 56px; line-height: 1.1; }
  .hero-stage { padding-bottom: 28px; }
  .frame-wrap { padding-inline: 32px; }
  .h2, .h2-statement { font-size: 40px; line-height: 1.1; }
  .quote-primary blockquote { font-size: 32px; }
}

@media (max-width: 1024px) {
  :root { --outer: 28px; --inset: 8px; }
  .nav-links, .nav-divider, .nav-actions .lang-toggle { display: none; }
  .nav-burger { display: grid; margin-left: 2px; }
  .nav-inner, .mobile-menu { padding-inline: 16px; }
  .nav-inner { gap: 4px; }
  .brand { gap: 8px; }
  .nav-actions { gap: 0; }
  .nav-login { padding-inline: 8px; }
  .nav-actions .btn-sm { margin-left: 2px; padding-inline: 10px; }
  .page-hero { padding-top: 72px; padding-bottom: 48px; }
  .page-title { font-size: 40px; }
  .hero { padding-top: 92px; }
  .hero-row { flex-direction: column; align-items: flex-start; gap: 20px; }
  .frame-wrap { padding-inline: 28px; }
  .benefits { padding-top: 96px; }
  .benefits-row {
    display: flex;
    gap: 12px;
    margin-inline: calc(var(--outer) * -1);
    padding-inline: calc(var(--outer) + var(--inset));
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: calc(var(--outer) + var(--inset));
    scrollbar-width: none;
  }
  .benefits-row::-webkit-scrollbar { display: none; }
  .benefit, .benefit:first-child, .benefit:last-child {
    flex: 0 0 328px;
    height: 440px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--r-md);
    background: var(--surface);
    scroll-snap-align: start;
  }
  .fig, .benefit:first-child .fig { left: 24px; top: 20px; }
  .fig-svg { width: 180px; height: 180px; }
  .keyline { margin-top: 64px; }
  .feature-section { padding-block: 96px; }
  .fs-header { grid-template-columns: 1fr; padding-bottom: 64px; }
  .fs-desc { padding-top: 24px; }
  .fs-split, .fs-split-rev { grid-template-columns: 1fr; }
  .fs-art { border-right: 0; border-bottom: 1px solid var(--line); }
  .fs-split-rev .fs-art { order: -1; border-left: 0; }
  .fs-grid2, .fs-roles { grid-template-columns: 1fr; }
  .fs-panel-flat { padding: var(--inset) 0; }
  .fs-footer { grid-template-columns: 1fr; }
  .fs-footer-items { padding-top: 12px; }
  .changelog, .customers { padding-block: 96px; }
  .cl-row { grid-template-columns: repeat(2, 1fr); gap: 48px 32px; margin-top: 64px; padding-top: 0; }
  .cl-line, .cl-dot { display: none; }
  .quote-row {
    display: flex;
    gap: 8px;
    margin-inline: calc(var(--outer) * -1);
    padding-inline: calc(var(--outer) + var(--inset));
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: calc(var(--outer) + var(--inset));
    scrollbar-width: none;
  }
  .quote-row::-webkit-scrollbar { display: none; }
  .quote-extra { display: flex; }
  .quote-card { flex: 0 0 min(360px, 82vw); min-height: 320px; padding: 28px; scroll-snap-align: start; }
  .quote-primary blockquote { font-size: 26px; }
  .quote-foot { flex-direction: column; align-items: flex-start; gap: 16px; }
  .prefooter { margin-block: 128px; }
  .footer-inner { grid-template-columns: repeat(4, 1fr); row-gap: 48px; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .cl-row { grid-template-columns: 1fr; gap: 36px; }
  .prefooter { margin-block: 96px; }
}

@media (max-width: 640px) {
  :root { --outer: 16px; --header-h: 64px; }
  .mobile-menu-list a { font-size: 28px; }
  .page-title { font-size: 32px; }
  .hero { padding-top: 72px; }
  .display { font-size: 38px; line-height: 1.1; }
  .hero-actions .btn { flex: 1 1 auto; }
  .hero-stage { margin-top: 36px; padding-bottom: 30px; }
  .frame-wrap { height: 360px; padding-inline: 18px; }
  .app-frame { transform-origin: 0 0; transform: scale(0.5); margin: 0; }
  .logos-track { gap: 40px; padding-right: 40px; }
  .logo { font-size: 18px; }
  .logo-wide { font-size: 14px; }
  .logo-light { font-size: 20px; }
  .logos-caption { letter-spacing: 0.08em; }
  .changelog, .customers { padding-block: 64px; }
  .quote-primary blockquote { font-size: 22px; }
  .footer-legal { margin-top: 48px; }
  .statement { padding-top: 64px; }
  .h2, .h2-statement { font-size: 32px; line-height: 1.125; }
  .feature-section { padding-block: 48px 64px; }
  .fs-header { padding-top: 40px; padding-bottom: 48px; }
  .fs-copy { padding: 32px 24px; }
  .breakdown li { grid-template-columns: 1fr auto; }
  .breakdown li span:nth-child(2), .breakdown li span:nth-child(3) { display: none; }
  .quote strong { font-size: 32px; line-height: 36px; }
  .footer-inner { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 380px) {
  .nav-inner, .mobile-menu { padding-inline: 12px; }
  .brand { gap: 6px; font-size: 14px; }
  .nav-login { padding-inline: 6px; }
  .nav-actions .btn-sm { padding-inline: 8px; font-size: 12px; }
}

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

.now-page, .now-article { padding-bottom: 96px; }
.now-column { max-width: 720px; margin-inline: auto; }
.now-filters { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; justify-content: space-between; margin-bottom: 40px; }
.now-filter-row { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.now-filter-row a { color: var(--muted); font-size: 14px; }
.now-filter-row a[aria-current="page"] { color: var(--fg); }
.now-search input {
  width: 180px;
  height: 36px;
  border: 0;
  border-bottom: 1px solid var(--line-2);
  background: transparent;
  color: var(--fg);
  font: inherit;
  font-size: 14px;
}
.now-search input:focus { outline: none; border-bottom-color: var(--fg); }
.now-empty { color: var(--muted); margin: 24px 0; }
.now-group { margin-top: 48px; }
.now-group-head { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; margin-bottom: 16px; }
.now-group-head h2 { font-size: 22px; font-weight: 510; }
.now-more { color: var(--muted); font-size: 14px; }
.now-list { display: flex; flex-direction: column; gap: 28px; }
.now-card { display: flex; flex-direction: column; gap: 12px; color: inherit; }
.now-card img, .now-cover { width: 100%; height: auto; border-radius: 12px; background: var(--surface); }
.now-card-copy { display: flex; flex-direction: column; gap: 6px; }
.now-card-copy strong { font-size: 22px; font-weight: 510; letter-spacing: -0.02em; }
.now-card-copy span, .now-meta { color: var(--muted); font-size: 15px; line-height: 1.45; }
.now-article .page-title { margin-top: 12px; }
.now-article .now-meta { margin: 12px 0 28px; }
.now-article h2 { margin: 36px 0 12px; font-size: 22px; font-weight: 510; }
.now-article p { margin: 0 0 16px; color: var(--fg-2); font-size: 17px; line-height: 1.55; }
.now-article .page-kicker a { color: inherit; }

@media (max-width: 640px) {
  .now-filters { align-items: stretch; }
  .now-search input { width: 100%; }
  .now-card-copy strong { font-size: 20px; }
}
