/* BilliardFlow marketing site (redesigned with version 132 to match the app's new look from version 130).
   Light pages in the app's own style: Inter, a pale slate page, white rounded cards with soft shadows, the dark
   navy pill and tournament-green buttons, and the dotted floor of the Live View. The website-booking band and the
   footer stay dark. Every colour is a token below, with dark-mode values for visitors who prefer dark. */
:root {
  --page: #f1f5f9;
  --surface: #ffffff;
  --soft: #f1f5f9;
  --line: #e2e8f0;
  --line-2: #eef2f6;
  --fg: #0f172a;
  --fg-2: #475569;
  --fg-3: #64748b;
  --brand: #065f46;          /* tournament green: primary buttons */
  --brand-hover: #047857;
  --brand-ink: #ffffff;
  --brand-soft: #e3f4ec;
  --pill: #0f172a;           /* the navy pill of the app's menu */
  --pill-ink: #ffffff;
  --link: #0b6b8f;
  --sky: #38bdf8;            /* chalk blue: running clocks */
  --sky-soft: #e0f2fe;
  --amber: #b45309; --amber-soft: #fdf1d8;
  --violet: #6d28d9; --violet-soft: #ede9fe;
  --red: #b42318; --red-soft: #fde8e7;
  --dot: #cbd5e1;            /* the floor plan's dots */
  --night: #0f172a; --night-2: #1e293b; --night-line: #334155; --night-fg: #f8fafc; --night-fg-2: #94a3b8;
  --card-shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 2px 8px rgba(15, 23, 42, .04);
  --shot-shadow: 0 1px 2px rgba(15, 23, 42, .06), 0 24px 48px -20px rgba(15, 23, 42, .28);

  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --fs-xs: .8125rem;    /* 13px labels, badges, legal */
  --fs-sm: .9375rem;    /* 15px secondary text, buttons, nav */
  --fs-base: 1.0625rem; /* 17px body */
  --fs-md: 1.1875rem;   /* 19px lead text */
  --fs-lg: 1.375rem;    /* 22px small headings */
  --fs-xl: 1.75rem;     /* 28px h3 */
  --fs-2xl: clamp(2rem, 4.2vw, 2.875rem);   /* h2 */
  --fs-display: clamp(2.6rem, 6.4vw, 4.75rem);
  --tap: 44px;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 16px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --page: #0b1120; --surface: #111a2e; --soft: #1b263d; --line: #24324b; --line-2: #1b263d;
    --fg: #f8fafc; --fg-2: #a3b0c2; --fg-3: #8291a7; --brand: #10b981; --brand-hover: #34d399; --brand-ink: #04211a; --brand-soft: #0f2a22;
    --pill: #f8fafc; --pill-ink: #0f172a; --link: #7dd3fc; --sky-soft: #0c2a3d; --amber: #f5b94a; --amber-soft: #2c220d;
    --violet: #c4b5fd; --violet-soft: #221a36; --red: #f2887f; --red-soft: #3a1714; --dot: #24324b;
    --card-shadow: 0 1px 2px rgba(0, 0, 0, .4); --shot-shadow: 0 24px 48px -20px rgba(0, 0, 0, .8);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --page: #0b1120; --surface: #111a2e; --soft: #1b263d; --line: #24324b; --line-2: #1b263d;
  --fg: #f8fafc; --fg-2: #a3b0c2; --fg-3: #8291a7; --brand: #10b981; --brand-hover: #34d399; --brand-ink: #04211a; --brand-soft: #0f2a22;
  --pill: #f8fafc; --pill-ink: #0f172a; --link: #7dd3fc; --sky-soft: #0c2a3d; --amber: #f5b94a; --amber-soft: #2c220d;
  --violet: #c4b5fd; --violet-soft: #221a36; --red: #f2887f; --red-soft: #3a1714; --dot: #24324b;
  --card-shadow: 0 1px 2px rgba(0, 0, 0, .4); --shot-shadow: 0 24px 48px -20px rgba(0, 0, 0, .8);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--page); color: var(--fg); font: 400 var(--fs-base)/1.6 var(--font); font-feature-settings: "cv11"; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; border-radius: 6px; }
h1, h2, h3, h4 { font-weight: 700; letter-spacing: -.025em; line-height: 1.1; text-wrap: balance; margin: 0; }
h2 { font-size: var(--fs-2xl); }
h3 { font-size: var(--fs-xl); letter-spacing: -.02em; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: var(--fs-xs); color: var(--brand); }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.lead { font-size: var(--fs-md); color: var(--fg-2); max-width: 62ch; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--surface); padding: 8px 12px; z-index: 50; }
.skip:focus { left: 8px; }
.logo .only-dark { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .logo .only-light { display: none; } :root:not([data-theme="light"]) .logo .only-dark { display: block; } }
:root[data-theme="dark"] .logo .only-light { display: none; } :root[data-theme="dark"] .logo .only-dark { display: block; }

/* Buttons, as in the app */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font: 600 var(--fs-sm)/1 var(--font); min-height: var(--tap); padding: 13px 20px; border-radius: 11px;
  border: 1px solid transparent; text-decoration: none; cursor: pointer; transition: transform .15s, background .15s, border-color .15s, box-shadow .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-brand, .btn-accent { background: var(--brand); color: var(--brand-ink); box-shadow: 0 2px 6px rgba(6, 95, 70, .22); }
.btn-brand:hover, .btn-accent:hover { background: var(--brand-hover); box-shadow: 0 8px 20px -6px rgba(6, 95, 70, .45); }
.btn-ghost { background: var(--surface); border-color: var(--line); color: var(--fg); }
.btn-ghost:hover { border-color: var(--fg-3); }
.btn-night { background: var(--night-fg); color: var(--night); }

/* Header */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: color-mix(in srgb, var(--page) 86%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.site-header.scrolled { border-color: var(--line); box-shadow: 0 8px 24px -16px rgba(15, 23, 42, .25); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; padding-block: 14px; }
.logo img { display: block; width: 190px; height: auto; }
.nav { display: flex; gap: 6px; margin-left: auto; align-items: center; }
.nav a:not(.btn) { color: var(--fg-2); text-decoration: none; font-weight: 500; font-size: var(--fs-sm); padding: 10px 12px; border-radius: 10px; }
.nav a:not(.btn):hover { background: var(--soft); color: var(--fg); }
.nav .btn { white-space: nowrap; padding: 11px 16px; margin-left: 8px; }
@media (max-width: 900px) { .nav .hide-sm { display: none; } }
@media (max-width: 440px) { .site-header .wrap { gap: 12px; } .logo img { width: 150px; } .nav .btn { padding-inline: 13px; } }

/* Hero: the page is the Live View's dotted floor */
.hero { position: relative; padding-block: clamp(40px, 7vw, 88px) clamp(48px, 7vw, 96px); overflow: hidden;
  background: radial-gradient(var(--dot) 1.2px, transparent 1.3px) 0 0 / 22px 22px, var(--page); }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 40%; background: linear-gradient(transparent, var(--page)); pointer-events: none; }
.hero .wrap { position: relative; z-index: 1; }
.hero-copy { max-width: 820px; margin-inline: auto; text-align: center; display: grid; justify-items: center; gap: 0; }
.soon-tag { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 22px; padding: 7px 14px 7px 10px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--card-shadow); color: var(--fg-2); font-weight: 500; font-size: var(--fs-xs); }
.soon-tag i { width: 8px; height: 8px; border-radius: 50%; background: #10b981; box-shadow: 0 0 0 4px rgba(16, 185, 129, .18); animation: soon-pulse 2s ease-in-out 3; }
.soon-tag b { color: var(--fg); font-weight: 600; }
@media (max-width: 560px) { .soon-tag .more { display: none; } }
@keyframes soon-pulse { 50% { opacity: .35; } }
.hero h1 { font-size: var(--fs-display); letter-spacing: -.04em; line-height: 1.02; }
.hero h1 em { font-style: normal; color: var(--brand); }
.hero .lead { margin-top: 22px; }
.hero-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }
.hero-note { margin-top: 16px; font-size: var(--fs-xs); color: var(--fg-3); }
.stage { position: relative; margin-top: clamp(40px, 6vw, 64px); }
.app-frame { position: relative; z-index: 1; border-radius: 20px; padding: 8px; background: color-mix(in srgb, var(--surface) 70%, transparent); border: 1px solid var(--line); box-shadow: var(--shot-shadow); }
.app-frame img { border-radius: 13px; border: 1px solid var(--line-2); }

/* Floating cards over the hero picture: a ticking table and today's takings */
.float { position: absolute; z-index: 2; border-radius: 16px; box-shadow: 0 24px 48px -16px rgba(15, 23, 42, .45); font-variant-numeric: tabular-nums; }
.live-table { left: clamp(-24px, -2vw, 0px); top: 34%; width: 220px; padding: 14px 16px 16px; background: #0f172a; color: #fff; border: 2px solid #1e293b; }
.live-table .row { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.live-table b { font-size: var(--fs-base); font-weight: 700; }
.tag { font-size: 11px; font-weight: 700; letter-spacing: .06em; padding: 2px 8px; border-radius: 999px; background: #e0f2fe; color: #0c4a6e; }
.live-table .clock { font-size: 2.25rem; font-weight: 600; letter-spacing: -.02em; line-height: 1.1; margin-top: 8px; color: var(--sky); }
.live-table .sofar { font-size: var(--fs-xs); color: #94a3b8; }
.live-table .sofar strong { color: #fff; font-size: var(--fs-sm); }
.take-card { right: clamp(-24px, -2vw, 0px); bottom: 14%; width: 230px; padding: 16px 18px; background: var(--surface); border: 1px solid var(--line); color: var(--fg); }
.take-card small { display: flex; justify-content: space-between; align-items: center; color: var(--fg-2); font-size: var(--fs-xs); }
.take-card small i { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); font-style: normal; font-weight: 700; }
.take-card strong { display: block; font-size: 2rem; font-weight: 700; letter-spacing: -.03em; margin-top: 6px; }
.take-card span { font-size: var(--fs-xs); color: var(--fg-3); }
@media (max-width: 760px) { .float { position: relative; inset: auto; } .floats { display: flex; gap: 12px; justify-content: center; margin-top: 16px; flex-wrap: wrap; } .live-table, .take-card { width: min(100%, 240px); } }

/* What it fixes: four stat-style cards, like the cards under the app's Timeline */
.fixes { padding-bottom: clamp(56px, 8vw, 96px); }
.fixes ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.fixes li { display: grid; gap: 8px; align-content: start; min-width: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--card-shadow); }
.fixes .ico { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--soft); margin-bottom: 6px; }
.fixes .ico svg { width: 20px; height: 20px; }
.fixes strong { font-size: var(--fs-md); font-weight: 650; letter-spacing: -.015em; line-height: 1.25; }
.fixes span { color: var(--fg-2); font-size: var(--fs-sm); }
@media (max-width: 960px) { .fixes ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .fixes ul { grid-template-columns: minmax(0, 1fr); } }

/* Sections */
.section { padding-block: clamp(64px, 9vw, 112px); }
.section.alt { background: var(--surface); border-block: 1px solid var(--line); }
.section-head { display: grid; gap: 14px; margin-bottom: clamp(36px, 5vw, 56px); max-width: 760px; }
.section-head.center { margin-inline: auto; text-align: center; justify-items: center; }
.feature { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.feature + .feature { margin-top: clamp(72px, 10vw, 120px); }
.feature.flip { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); }
.feature.flip .feature-copy { order: 2; }
.feature-copy { display: grid; gap: 16px; min-width: 0; justify-items: start; }
.feature-copy p { color: var(--fg-2); }
.ticks { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 10px; }
.ticks li { padding-left: 30px; position: relative; color: var(--fg-2); }
.ticks li::before { content: ""; position: absolute; left: 0; top: .3em; width: 18px; height: 18px; border-radius: 50%; background: var(--brand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23065f46' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }
.ticks b { font-weight: 600; color: var(--fg); }
.addon { display: inline-flex; gap: 6px; align-items: center; font-size: var(--fs-xs); font-weight: 600; padding: 4px 11px; border-radius: 999px; background: var(--violet-soft); color: var(--violet); }
.shot { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shot-shadow); background: var(--surface); }
.shot-stack { position: relative; padding-bottom: 14%; }
.shot-stack .shot-over { position: absolute; width: 46%; right: -3%; bottom: 0; }
@media (max-width: 860px) {
  .feature, .feature.flip { grid-template-columns: minmax(0, 1fr); }
  .feature.flip .feature-copy { order: 0; }
  .shot-stack .shot-over { right: 0; }
}

/* The app's four live cards (under the floor plan and the Timeline), drawn as a strip */
.mini-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; width: 100%; margin-top: 4px; }
.mini-cards div { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; box-shadow: var(--card-shadow); }
.mini-cards small { display: block; font-size: var(--fs-xs); color: var(--fg-3); }
.mini-cards b { font-size: var(--fs-lg); font-weight: 700; letter-spacing: -.02em; }
.mini-cards b span { font-size: var(--fs-xs); font-weight: 500; color: var(--fg-3); }

/* Customer badges, as the app draws them */
.badges { display: flex; flex-wrap: wrap; gap: 6px; }
.badge { font-size: 11.5px; font-weight: 700; letter-spacing: .05em; padding: 3px 9px; border-radius: 999px; }
.b-new { background: #157347; color: #fff; }
.b-vip { background: #1c1606; color: #f2c14e; }
.b-ret { background: #0f7f86; color: #fff; }
.b-reg { background: #6d3fc0; color: #fff; }
.b-top { background: #f6c443; color: #2a1b00; }
.b-whale { background: #0f3550; color: #cfe8f7; }
.b-loyal { background: #065f46; color: #fff; }
.b-black { background: #b42318; color: #fff; }
.b-walk { background: #5b1a16; color: #ffd0cb; }

/* Head office tabs: the app's segmented control */
.tabs { display: inline-flex; flex-wrap: wrap; gap: 2px; padding: 3px; border-radius: 12px; background: var(--soft); border: 1px solid var(--line); }
.tabs button { font: 500 var(--fs-sm)/1 var(--font); min-height: 40px; padding: 10px 14px; border-radius: 9px; border: 0; background: transparent; color: var(--fg-2); cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--surface); color: var(--fg); font-weight: 600; box-shadow: 0 1px 3px rgba(15, 23, 42, .12); }

/* Devices */
.phones { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 2.5vw, 28px); align-items: start; }
.phone { border: 7px solid #0f172a; border-radius: 34px; overflow: hidden; background: #0f172a; box-shadow: var(--shot-shadow); }
.phone img { border-radius: 27px; }
.phones figure { margin: 0; display: grid; gap: 12px; }
.phones figcaption { text-align: center; font-size: var(--fs-sm); color: var(--fg-2); font-weight: 500; }
.phones figure:nth-child(even) { margin-top: 44px; }
@media (max-width: 720px) { .phones { grid-template-columns: repeat(2, minmax(0, 1fr)); } .phones figure:nth-child(even) { margin-top: 24px; } }
.modes { margin-top: clamp(56px, 8vw, 96px); display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(24px, 4vw, 48px); align-items: center; }
.modes-split { position: relative; aspect-ratio: 16 / 10; max-width: 100%; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shot-shadow); }
.modes-split img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.modes-split .dark { clip-path: inset(0 0 0 var(--split, 50%)); }
.modes-split input { position: absolute; inset: auto 0 14px; width: 60%; margin: 0 auto; accent-color: var(--brand); }
.modes-split::after { content: ""; position: absolute; top: 0; bottom: 0; left: var(--split, 50%); width: 2px; background: var(--sky); pointer-events: none; }
@media (max-width: 860px) { .modes { grid-template-columns: minmax(0, 1fr); } }

/* Under the hood: the technical side */
.stack { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 6px; }
.stack li { list-style: none; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: var(--fs-sm); font-weight: 600; box-shadow: var(--card-shadow); }
.stack li small { font-weight: 500; color: var(--fg-3); font-size: var(--fs-xs); }
.stack { padding: 0; margin-block: 6px 0; }
.arch { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; align-items: stretch; margin-bottom: clamp(32px, 5vw, 48px); }
.arch-box { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; box-shadow: var(--card-shadow); display: grid; gap: 6px; align-content: start; }
.arch-box + .arch-box { margin-left: 40px; }
.arch-box + .arch-box::before { content: ""; position: absolute; left: -41px; top: 50%; width: 40px; height: 2px; background: repeating-linear-gradient(90deg, var(--fg-3) 0 6px, transparent 6px 10px); }
.arch-box + .arch-box::after { content: ""; position: absolute; left: -9px; top: calc(50% - 5px); border: 6px solid transparent; border-left-color: var(--fg-3); border-right: 0; }
.arch-box h3 { font-size: var(--fs-lg); }
.arch-box .k { font-size: var(--fs-xs); font-weight: 600; color: var(--brand); }
.arch-box p { color: var(--fg-2); font-size: var(--fs-sm); }
.arch-db { display: flex; gap: 6px; margin-top: 8px; flex-wrap: wrap; }
.arch-db span { font-size: 12px; font-weight: 600; padding: 4px 8px; border-radius: 8px; background: var(--brand-soft); color: var(--brand); }
@media (max-width: 860px) {
  .arch { grid-template-columns: minmax(0, 1fr); }
  .arch-box + .arch-box { margin-left: 0; margin-top: 36px; }
  .arch-box + .arch-box::before { left: 50%; top: -37px; width: 2px; height: 36px; background: repeating-linear-gradient(180deg, var(--fg-3) 0 6px, transparent 6px 10px); }
  .arch-box + .arch-box::after { left: calc(50% - 5px); top: -9px; border: 6px solid transparent; border-top-color: var(--fg-3); border-bottom: 0; }
}
.tech { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.tech > div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: grid; gap: 8px; align-content: start; min-width: 0; box-shadow: var(--card-shadow); }
.tech .ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--soft); color: var(--fg); margin-bottom: 4px; }
.tech .ico svg { width: 20px; height: 20px; }
.tech h3 { font-size: var(--fs-md); font-weight: 650; letter-spacing: -.015em; }
.tech p { color: var(--fg-2); font-size: var(--fs-sm); }
@media (max-width: 960px) { .tech { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .tech { grid-template-columns: minmax(0, 1fr); } }

/* Trust */
.trust { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.trust div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: grid; gap: 6px; align-content: start; min-width: 0; box-shadow: var(--card-shadow); }
.trust h3 { font-size: var(--fs-md); font-weight: 650; }
.trust p { color: var(--fg-2); font-size: var(--fs-sm); }
@media (max-width: 860px) { .trust { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Pricing: the three plan cards, then the addons */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: grid; gap: 8px; align-content: start; min-width: 0; box-shadow: var(--card-shadow); }
.plan h3 { font-size: var(--fs-md); font-weight: 650; }
.plan .price { font-size: 2.5rem; font-weight: 700; letter-spacing: -.03em; color: var(--fg); line-height: 1.1; }
.plan .price small { font-size: var(--fs-sm); font-weight: 500; letter-spacing: 0; color: var(--fg-3); }
.plan p { color: var(--fg-2); font-size: var(--fs-sm); }
.plan-mid { border: 2px solid var(--brand); }
.addons-head { font-size: var(--fs-lg); margin-top: clamp(40px, 6vw, 64px); text-align: center; }
.addons-lead { color: var(--fg-2); text-align: center; margin: 8px 0 24px; }
.addons { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.addons div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: grid; gap: 10px; align-content: start; justify-items: start; min-width: 0; box-shadow: var(--card-shadow); }
.addons p { color: var(--fg-2); font-size: var(--fs-sm); }
@media (max-width: 860px) { .plans, .addons { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { .trust { grid-template-columns: minmax(0, 1fr); } }

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 860px; margin-inline: auto; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--card-shadow); transition: border-color .25s; }
.faq details:hover { border-color: var(--fg-3); }
.faq summary { cursor: pointer; padding: 18px 20px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: var(--fs-lg); line-height: 1; color: var(--fg-3); display: inline-block; transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 20px 18px; color: var(--fg-2); max-width: 70ch; }

/* Register interest */
.trial-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.steps { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 16px; counter-reset: s; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 36px 1fr; gap: 12px; color: var(--fg-2); }
.steps li::before { content: counter(s); font-weight: 700; line-height: 36px; text-align: center; width: 36px; height: 36px; border-radius: 50%; background: var(--pill); color: var(--pill-ink); }
.steps b { color: var(--fg); display: block; font-weight: 600; }
form.card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: clamp(20px, 3vw, 32px); display: grid; grid-template-columns: 1fr 1fr; gap: 16px; box-shadow: var(--shot-shadow); }
.field { display: grid; gap: 6px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: var(--fs-sm); }
.field label small { font-weight: 400; font-size: var(--fs-xs); color: var(--fg-3); }
input, select, textarea { font: inherit; color: var(--fg); background: var(--page); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; width: 100%; }
textarea { min-height: 110px; resize: vertical; }
input:user-invalid { border-color: var(--red); }
.form-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.form-foot p { font-size: var(--fs-sm); color: var(--fg-2); flex: 1 1 260px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
button[disabled] { opacity: .6; cursor: progress; transform: none; }
.form-msg { grid-column: 1 / -1; padding: 14px 16px; border-radius: 10px; background: var(--brand-soft); color: var(--fg); }
.form-msg.err { background: var(--amber-soft); }
form.card.done > :not(.form-msg) { display: none; }
.form-msg:focus { outline: none; }
.form-msg code { font-family: inherit; font-weight: 700; user-select: all; }
@media (max-width: 860px) { .trial-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { form.card { grid-template-columns: minmax(0, 1fr); } }

/* Footer */
.site-footer { background: var(--night); color: var(--night-fg-2); padding-block: 48px; font-size: var(--fs-sm); }
.site-footer .wrap { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.site-footer a { color: var(--night-fg); text-decoration: none; display: inline-block; padding-block: 10px; }
.site-footer a:hover { text-decoration: underline; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; }
.site-footer h4 { margin: 0 0 12px; color: var(--night-fg); font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0; }
.site-footer .legal { grid-column: 1 / -1; border-top: 1px solid var(--night-line); padding-top: 20px; font-size: var(--fs-xs); }
.site-footer .legal a { padding-block: 0; }
.site-footer .foot-logo { width: 220px; margin-bottom: 18px; }
@media (max-width: 720px) { .site-footer .wrap { grid-template-columns: 1fr 1fr; } .site-footer .wrap > :first-child { grid-column: 1 / -1; } }

/* Legal pages */
.legal-page { padding-block: 56px 80px; }
.legal-page .wrap { max-width: 780px; display: grid; gap: 16px; }
.legal-page h1 { font-size: clamp(2.2rem, 6vw, 3.4rem); letter-spacing: -.035em; }
.legal-page h2 { font-size: var(--fs-xl); margin-top: 18px; }
.legal-page p, .legal-page li { color: var(--fg-2); }
.placeholder { background: var(--amber-soft); color: var(--amber); padding: 0 4px; border-radius: 4px; font-weight: 700; }

/* Website booking: a dark band, the customer's journey in three real steps */
.webbook { background: var(--night); color: var(--night-fg); }
.webbook .eyebrow { color: #34d399; }
.webbook .lead { color: var(--night-fg-2); }
.webbook .shot { border-color: var(--night-line); box-shadow: 0 18px 50px -20px rgba(0, 0, 0, .8); }
.web-flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: clamp(20px, 3vw, 36px); grid-template-areas: "live form" "done form"; align-items: start; }
.web-flow li { display: grid; gap: 12px; min-width: 0; }
.wf-live { grid-area: live; } .wf-form { grid-area: form; } .wf-done { grid-area: done; }
.wf-step { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--night-fg); }
.wf-step span { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: var(--fs-sm); background: var(--night-fg); color: var(--night); }
.web-more { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 48px); margin-top: clamp(40px, 6vw, 64px); align-items: start; }
.webbook .ticks li { color: var(--night-fg-2); }
.webbook .ticks b { color: var(--night-fg); }
.webbook .ticks li::before { background-color: rgba(52, 211, 153, .16); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%2334d399' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.demo-card { display: grid; grid-template-columns: 120px 1fr; gap: 20px; align-items: center; background: var(--night-2); border: 1px solid var(--night-line); border-radius: 18px; padding: 20px; }
.demo-card h3 { font-size: var(--fs-xl); color: var(--night-fg); }
.demo-card p { color: var(--night-fg-2); font-size: var(--fs-sm); margin-block: 8px 16px; }
.demo-phone { border-radius: 16px; border: 5px solid #020617; }
.feature.web-ev { margin-top: clamp(40px, 6vw, 64px); }
.webbook .feature-copy p:not(.eyebrow) { color: var(--night-fg-2); }
.webbook .feature-copy h3 { color: var(--night-fg); }
.webbook code { font-size: .92em; background: var(--night-2); border: 1px solid var(--night-line); border-radius: 6px; padding: 1px 6px; color: var(--night-fg); }
@media (max-width: 860px) {
  .web-flow { grid-template-columns: minmax(0, 1fr); grid-template-areas: "live" "form" "done"; }
  .web-more { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 420px) { .demo-card { grid-template-columns: 1fr; } .demo-phone { width: 140px; } }

/* ---------- Motion ----------
   Everything here sits under html.motion, which a tiny inline script adds only when the visitor
   hasn't asked for reduced motion. Without it the page is fully static and fully visible. */
:root { --ease-out: cubic-bezier(.16, 1, .3, 1); }
.scroll-bar { position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; background: var(--brand); transform-origin: 0 50%; transform: scaleX(var(--progress, 0)); pointer-events: none; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes stage-in { from { opacity: 0; transform: perspective(1400px) translateY(60px) rotateX(8deg) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes pop-in { from { opacity: 0; transform: translateY(16px) scale(.9); } to { opacity: 1; transform: none; } }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
.motion .hero-copy > * { animation: rise .9s var(--ease-out) both; }
.motion .hero-copy > :nth-child(2) { animation-delay: .08s; }
.motion .hero-copy > :nth-child(3) { animation-delay: .16s; }
.motion .hero-copy > :nth-child(4) { animation-delay: .26s; }
.motion .hero-copy > :nth-child(5) { animation-delay: .36s; }
.motion .app-frame { animation: stage-in 1.2s var(--ease-out) .3s both; }
.motion .live-table { animation: pop-in .7s var(--ease-out) 1s both, float 6s ease-in-out 1.8s infinite; }
.motion .take-card { animation: pop-in .7s var(--ease-out) 1.2s both, float 7s ease-in-out 2.2s infinite; }
.motion .stage { will-change: transform; }
.motion .reveal { opacity: 0; transform: translateY(32px); transition: opacity .8s var(--ease-out) var(--d, 0s), transform .9s var(--ease-out) var(--d, 0s); }
.motion .reveal.from-left { transform: translateX(-40px); }
.motion .reveal.from-right { transform: translateX(40px); }
.motion .reveal.zoom { transform: translateY(40px) scale(.96); }
.motion .reveal.in, .motion-done .reveal { opacity: 1; transform: none; }
@media (max-width: 860px) { .motion .reveal.from-left, .motion .reveal.from-right { transform: translateY(32px); } }
.motion .shot { transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out); }
@media (hover: hover) { .motion .feature .shot:hover, .motion .web-flow .shot:hover { transform: translateY(-6px); box-shadow: 0 32px 64px -24px rgba(15, 23, 42, .45); } }
.motion .phone { transition: transform .5s var(--ease-out); }
@media (hover: hover) { .motion .phones figure:hover .phone { transform: translateY(-8px) rotate(-1deg); } }
#ho-shot img { transition: opacity .35s ease, transform .5s var(--ease-out); }
#ho-shot.swapping img { opacity: 0; transform: scale(.985); }
@keyframes faq-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.motion .faq details[open] p { animation: faq-in .4s var(--ease-out); }
