/* FanCam AI website. Colours mirror fancamai/Support/FanCamTheme.swift. */
:root {
  --bg: #08090b;
  --surface: #131418;
  --surface-2: #1c1e23;
  --stroke: rgba(255, 255, 255, 0.1);
  --stroke-strong: rgba(255, 255, 255, 0.18);
  --text: #ffffff;
  --text-2: rgba(255, 255, 255, 0.7);
  --text-3: rgba(255, 255, 255, 0.5);
  --yellow: #fabd29;
  --yellow-soft: rgba(250, 189, 41, 0.14);
  --yellow-ink: #1c1400;
  --red: #e0261f;
  --blue: #2e7aeb;
  --green: #26b36e;
  --radius: 14px;
  --radius-lg: 22px;
  --wrap: 1160px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
a { color: var(--yellow); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -0.025em; margin: 0 0 0.5em; font-weight: 800; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 5.4vw, 4.4rem); letter-spacing: -0.035em; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); }
h3 { font-size: 1.15rem; letter-spacing: -0.01em; font-weight: 700; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; padding-left: max(20px, env(safe-area-inset-left)); padding-right: max(20px, env(safe-area-inset-right)); }
.narrow { max-width: 820px; }
.muted { color: var(--text-2); }
.hl { color: var(--yellow); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--yellow); color: var(--yellow-ink); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(8, 9, 11, 0.78);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--stroke);
}
.header-row { display: flex; align-items: center; gap: 24px; height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-weight: 800; font-size: 1.1rem; letter-spacing: -0.02em; text-decoration: none; }
.logo img { border-radius: 8px; }
.main-nav { display: flex; gap: 22px; margin-left: auto; }
.main-nav a { color: var(--text-2); text-decoration: none; font-size: 0.95rem; font-weight: 500; }
.main-nav a:hover { color: var(--text); }
@media (max-width: 760px) {
  .main-nav { display: none; }
  .header-row .btn-small { margin-left: auto; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--yellow); color: var(--yellow-ink);
  font-weight: 700; text-decoration: none; border-radius: 999px;
  padding: 12px 22px; transition: transform 0.15s ease, background 0.15s ease;
}
.btn:hover { background: #ffcb4a; transform: translateY(-1px); }
.btn-small { padding: 8px 16px; font-size: 0.92rem; white-space: nowrap; }
.btn-store {
  display: inline-flex; align-items: center; gap: 12px;
  background: #000; color: #fff; text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.35); border-radius: 12px;
  padding: 10px 20px 10px 16px; min-height: 58px;
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
.btn-store:hover { transform: translateY(-1px); border-color: var(--yellow); box-shadow: 0 8px 30px rgba(250, 189, 41, 0.18); }
.btn-store svg { width: 26px; height: 32px; }
.btn-store span { display: flex; flex-direction: column; font-size: 1.45rem; font-weight: 600; line-height: 1.05; letter-spacing: -0.02em; }
.btn-store small { font-size: 0.72rem; font-weight: 500; letter-spacing: 0.01em; }
.btn-store-lg { transform: scale(1.08); }
.btn-store-lg:hover { transform: scale(1.08) translateY(-1px); }

.cta-row { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin: 28px 0 0; }
.qr-card { display: flex; align-items: center; gap: 12px; padding: 8px 14px 8px 8px; border: 1px solid var(--stroke); border-radius: 14px; background: var(--surface); }
.qr-card img { border-radius: 8px; background: #fff; }
.qr-card p { margin: 0; font-size: 0.82rem; line-height: 1.35; color: var(--text-2); }
@media (max-width: 900px), (hover: none) { .qr-card { display: none; } }

.eyebrow {
  display: inline-block; margin: 0 0 18px;
  padding: 6px 12px; border-radius: 8px;
  background: var(--yellow-soft); color: var(--yellow);
  font-size: 0.76rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase;
}

/* Hero */
.hero {
  position: relative; padding: 72px 0 64px;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(250, 189, 41, 0.16), transparent 60%),
    radial-gradient(800px 600px at 0% 30%, rgba(46, 122, 235, 0.14), transparent 60%);
}
.hero-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.lede { font-size: 1.22rem; color: var(--text-2); max-width: 34em; margin-top: 18px; }
.hero-meta { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 0; margin: 24px 0 0; color: var(--text-3); font-size: 0.92rem; }
.hero-meta li::before { content: "✓"; color: var(--green); font-weight: 800; margin-right: 7px; }
.hero-media { position: relative; }
.hero-input {
  position: absolute; left: -26px; bottom: -30px;
  display: flex; align-items: center; gap: 12px;
  padding: 8px 16px 8px 8px; border-radius: 16px;
  background: rgba(19, 20, 24, 0.92); border: 1px solid var(--stroke-strong);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5); font-size: 0.9rem; color: var(--text-2);
  backdrop-filter: blur(10px);
}
.hero-input img { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; object-position: 50% 30%; }
.hero-input strong { color: var(--text); }
@media (max-width: 900px) {
  .hero { padding: 40px 0 56px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-input { left: 12px; bottom: -26px; max-width: calc(100% - 80px); }
}

/* Big screen frame */
.screen { margin: 0; }
.screen-inner {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  background: #000; aspect-ratio: 864 / 496;
  border: 1px solid var(--stroke-strong);
  box-shadow: 0 0 0 6px #111215, 0 0 0 7px var(--stroke), 0 30px 80px rgba(0, 0, 0, 0.55), 0 0 120px rgba(250, 189, 41, 0.08);
}
.screen video { width: 100%; height: 100%; object-fit: cover; }
.screen figcaption { margin-top: 14px; color: var(--text-3); font-size: 0.9rem; text-align: center; }
.sound-toggle {
  position: absolute; right: 12px; bottom: 12px;
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer;
  background: rgba(0, 0, 0, 0.55); color: #fff; border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(6px);
}
.sound-toggle svg, .play-toggle svg { width: 20px; height: 20px; }
.play-toggle {
  position: absolute; left: 12px; bottom: 12px;
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer;
  background: rgba(0, 0, 0, 0.55); color: #fff; border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(6px);
}
.play-toggle .i-pause { display: none; }
.play-toggle[aria-pressed="true"] .i-pause { display: block; }
.play-toggle[aria-pressed="true"] .i-play { display: none; }
.hero .play-toggle { left: auto; right: 12px; bottom: 60px; }
.sound-toggle .wave { display: none; }
.sound-toggle[aria-pressed="true"] .wave { display: block; }
.sound-toggle[aria-pressed="true"] .mute { display: none; }

/* Facts strip */
.facts { border-block: 1px solid var(--stroke); background: var(--surface); }
.facts-row { display: grid; grid-template-columns: repeat(4, 1fr); }
.facts-row div { padding: 26px 12px; text-align: center; border-left: 1px solid var(--stroke); }
.facts-row div:first-child { border-left: 0; }
.facts-row strong { display: block; font-size: 2rem; font-weight: 800; color: var(--yellow); letter-spacing: -0.03em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.facts-row span { color: var(--text-2); font-size: 0.92rem; }
@media (max-width: 640px) {
  .facts-row { grid-template-columns: repeat(2, 1fr); }
  .facts-row div:nth-child(3) { border-left: 0; }
  .facts-row div:nth-child(n + 3) { border-top: 1px solid var(--stroke); }
}

/* Sections */
.section { padding: 96px 0; }
.section-alt { background: linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%); border-top: 1px solid var(--stroke); }
.section-lede { color: var(--text-2); font-size: 1.1rem; max-width: 40em; }
.section-link { margin-top: 32px; font-weight: 600; }
@media (max-width: 640px) { .section { padding: 64px 0; } }

.steps { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; }
.steps li { background: var(--surface); border: 1px solid var(--stroke); border-radius: var(--radius); padding: 24px; }
.steps p { color: var(--text-2); margin: 0; font-size: 0.97rem; }
.step-n { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--yellow); color: var(--yellow-ink); font-weight: 800; margin-bottom: 16px; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

.example { display: grid; grid-template-columns: 0.42fr auto 1.4fr; gap: 28px; align-items: center; margin-top: 40px; }
.example-input { position: relative; }
.example-input img { border-radius: var(--radius); border: 1px solid var(--stroke-strong); width: 100%; height: auto; }
.example-arrow { font-size: 2.4rem; color: var(--yellow); font-weight: 800; }
.tag { position: absolute; left: 10px; top: 10px; background: rgba(0, 0, 0, 0.7); color: #fff; font-size: 0.75rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; letter-spacing: 0.04em; }
@media (max-width: 760px) {
  .example { grid-template-columns: 1fr; gap: 16px; }
  .example-input { max-width: 200px; }
  .example-arrow { transform: rotate(90deg); justify-self: start; margin-left: 80px; }
}

.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 40px; }
.features article { padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--stroke); }
.features article::before { content: ""; display: block; width: 28px; height: 4px; border-radius: 2px; background: var(--yellow); margin-bottom: 18px; }
.features p { color: var(--text-2); margin: 0; font-size: 0.95rem; }
@media (max-width: 1000px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }

.sport-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 40px; }
.sport-card {
  display: block; padding: 24px; border-radius: var(--radius); text-decoration: none; color: var(--text);
  background: var(--surface-2); border: 1px solid var(--stroke); transition: border-color 0.15s ease, transform 0.15s ease;
}
.sport-card:hover { border-color: var(--yellow); transform: translateY(-2px); }
.sport-card .score { display: inline-block; font-weight: 800; font-size: 1.5rem; font-variant-numeric: tabular-nums; padding: 4px 12px; border-radius: 8px; background: #000; border: 1px solid var(--stroke-strong); margin-bottom: 16px; }
.sport-card p { color: var(--text-2); margin: 0; font-size: 0.95rem; }
@media (max-width: 900px) { .sport-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .sport-grid { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.ticks { list-style: none; padding: 0; margin: 24px 0 0; }
.ticks li { padding: 12px 0 12px 32px; position: relative; color: var(--text-2); border-bottom: 1px solid var(--stroke); }
.ticks li::before { content: "●"; position: absolute; left: 4px; color: var(--red); font-size: 0.8rem; top: 15px; }
.ticks strong { color: var(--text); }
.still { margin: 0; }
.still img { border-radius: var(--radius-lg); border: 1px solid var(--stroke-strong); width: 100%; height: auto; }
.still figcaption { color: var(--text-3); font-size: 0.9rem; margin-top: 10px; text-align: center; }

.price-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 320px)); gap: 18px; margin-top: 36px; }
.price-card { padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--stroke); }
.price-card-hl { border-color: var(--yellow); box-shadow: 0 0 0 1px var(--yellow) inset; }
.price { font-size: 2.6rem; font-weight: 800; letter-spacing: -0.03em; margin: 0 0 6px; line-height: 1.1; }
.price small { font-size: 1rem; color: var(--text-2); font-weight: 600; letter-spacing: 0; }
.price-card p:last-child { color: var(--text-2); margin: 0; }
.fine { color: var(--text-3); font-size: 0.92rem; margin-top: 22px; }
@media (max-width: 560px) { .price-grid { grid-template-columns: 1fr; } }

/* FAQ */
.faq { margin-top: 28px; border-top: 1px solid var(--stroke); }
.faq details { border-bottom: 1px solid var(--stroke); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 14px; font-size: 1.6rem; color: var(--yellow); font-weight: 400; transition: transform 0.2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary h3 { margin: 0; font-size: 1.08rem; }
.faq-a { color: var(--text-2); padding: 0 0 18px; }
.faq-a p { margin: 0; }

.final-cta {
  text-align: center; padding: 110px 0 120px; border-top: 1px solid var(--stroke);
  background: radial-gradient(700px 360px at 50% 0%, rgba(250, 189, 41, 0.16), transparent 70%);
}
.final-cta h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.final-cta p { color: var(--text-2); font-size: 1.15rem; margin-bottom: 32px; }
.final-cta .updated { color: var(--text-3); font-size: 0.82rem; margin: 36px 0 0; }

/* Articles & sport pages */
.article { padding: 32px 0 96px; }
.sport-hero { padding: 32px 0 24px; background: radial-gradient(800px 400px at 90% -20%, rgba(250, 189, 41, 0.14), transparent 60%); }
.sport-hero + .article { padding-top: 24px; }
.article h1 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); margin-top: 8px; }
.article h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-top: 2.2em; }
.article p, .article li { color: var(--text-2); }
.article strong { color: var(--text); }
.article ul { padding-left: 1.2em; }
.article li { margin-bottom: 0.5em; }
.article .screen, .article .still, .article .example { margin: 36px 0; }
.byline { color: var(--text-3); font-size: 0.9rem; }
.answer { font-size: 1.15rem; border-left: 3px solid var(--yellow); padding: 4px 0 4px 20px; margin: 24px 0; }
.answer p { color: var(--text); }
.answer p:last-child { margin-bottom: 0; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 12px 0 18px; font-size: 0.85rem; color: var(--text-3); }
.crumbs li + li::before { content: "/"; margin-right: 6px; }
.crumbs a { color: var(--text-2); text-decoration: none; }
.crumbs a:hover { color: var(--text); }

.howto, .ideas { list-style: none; padding: 0; counter-reset: h; }
.howto li, .ideas li { counter-increment: h; position: relative; padding: 4px 0 8px 56px; margin-bottom: 18px; }
.howto li::before, .ideas li::before {
  content: counter(h); position: absolute; left: 0; top: 0;
  width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px;
  background: var(--surface-2); border: 1px solid var(--stroke-strong); color: var(--yellow); font-weight: 800;
}
.howto h3, .ideas h3 { margin-bottom: 4px; color: var(--text); }
.howto p, .ideas p { margin: 0; }

.table-wrap { overflow-x: auto; margin: 20px 0; border: 1px solid var(--stroke); border-radius: var(--radius); }
table { border-collapse: collapse; width: 100%; font-size: 0.95rem; min-width: 520px; }
th, td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--stroke); vertical-align: top; }
thead th { background: var(--surface-2); color: var(--text); }
tbody th { color: var(--text); font-weight: 600; }
td { color: var(--text-2); }
tr:last-child th, tr:last-child td { border-bottom: 0; }

.spec { display: grid; gap: 12px; margin: 20px 0; }
.spec div { display: grid; grid-template-columns: 140px 1fr; gap: 16px; padding: 14px 18px; background: var(--surface); border: 1px solid var(--stroke); border-radius: 12px; }
.spec dt { font-weight: 700; }
.spec dd { margin: 0; color: var(--text-2); }
@media (max-width: 560px) { .spec div { grid-template-columns: 1fr; gap: 4px; } }

.board {
  display: inline-flex; align-items: center; gap: 14px; flex-wrap: wrap;
  margin: 8px 0 4px; padding: 10px 16px; border-radius: 12px;
  background: rgba(0, 0, 0, 0.75); border: 1px solid var(--stroke-strong);
  font-weight: 700; font-variant-numeric: tabular-nums;
}
.board strong { font-size: 1.4rem; letter-spacing: 0.04em; }
.board .team { display: inline-flex; align-items: center; gap: 8px; }
.board .clock { color: var(--text-2); font-size: 0.9rem; padding-left: 14px; border-left: 1px solid var(--stroke-strong); }
.dot { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.dot-blue { background: var(--blue); }
.dot-red { background: var(--red); }
.live { background: var(--red); color: #fff; font-size: 0.75rem; padding: 3px 8px; border-radius: 5px; letter-spacing: 0.06em; }
.live::before { content: "●"; margin-right: 5px; font-size: 0.6rem; vertical-align: 1px; }

.cta-box {
  display: grid; grid-template-columns: auto 1fr; gap: 18px 20px; align-items: center;
  margin: 56px 0 0; padding: 28px; border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(250, 189, 41, 0.14), rgba(46, 122, 235, 0.08)); border: 1px solid rgba(250, 189, 41, 0.35);
}
.cta-box img { border-radius: 14px; }
.cta-box h2 { margin: 0 0 4px; font-size: 1.4rem; }
.cta-box p { margin: 0; }
.cta-box-actions { grid-column: 1 / -1; display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }

.related { margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--stroke); }
.related h2 { font-size: 1rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--text-3); margin: 0 0 14px; }
.related ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.related a { display: inline-block; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--stroke-strong); color: var(--text); text-decoration: none; font-size: 0.92rem; }
.related a:hover { border-color: var(--yellow); }

/* Footer */
.site-footer { border-top: 1px solid var(--stroke); padding: 64px 0 28px; background: #060708; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 36px; }
.footer-grid h2 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--text-3); margin: 6px 0 14px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 9px; }
.footer-grid a:not(.logo):not(.btn-store) { color: var(--text-2); text-decoration: none; font-size: 0.94rem; }
.footer-grid a:not(.logo):not(.btn-store):hover { color: var(--text); }
.footer-grid .muted { font-size: 0.94rem; margin: 14px 0 20px; max-width: 26em; }
.footer-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--stroke); color: var(--text-3); font-size: 0.82rem; }
.footer-base p { margin: 0; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > div:first-child { grid-column: 1 / -1; } }

/* Mobile sticky download bar */
.sticky-cta {
  position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 60;
  display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 12px;
  background: rgba(19, 20, 24, 0.94); border: 1px solid var(--stroke-strong); border-radius: 18px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.6); backdrop-filter: blur(14px);
  transform: translateY(140%); transition: transform 0.3s ease;
}
.sticky-cta.show { transform: none; }
.sticky-cta img { border-radius: 10px; }
.sticky-cta span { display: flex; flex-direction: column; line-height: 1.25; margin-right: auto; }
.sticky-cta small { color: var(--text-2); font-size: 0.8rem; }
@media (min-width: 761px) { .sticky-cta { display: none !important; } }

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

@media (max-width: 480px) {
  .board .clock { border-left: 0; padding-left: 0; flex-basis: 100%; }
}

/* Three-beat storyboard (frames from one real output) */
.beats { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.beats li { background: var(--surface); border: 1px solid var(--stroke); border-radius: var(--radius); overflow: hidden; }
.beats img { width: 100%; height: auto; aspect-ratio: 480 / 276; object-fit: cover; }
.beats h3 { display: flex; align-items: center; gap: 10px; margin: 16px 18px 6px; }
.beats h3 span { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: var(--yellow); color: var(--yellow-ink); font-size: 0.85rem; }
.beats p { margin: 0 18px 18px; color: var(--text-2); font-size: 0.95rem; }
.article .beats { margin: 28px 0; }
@media (max-width: 760px) { .beats { grid-template-columns: 1fr; } }

.example-small { display: grid; grid-template-columns: 180px 1fr; gap: 24px; align-items: center; margin: 20px 0 8px; }
.example-small p { margin: 0; }
@media (max-width: 560px) { .example-small { grid-template-columns: 1fr; } .example-small .example-input { max-width: 180px; } }
.article .screen:first-of-type { margin-top: 8px; }
.article > .wrap > .cta-row { margin: 0 0 8px; }

/* Cookie consent banner (only rendered when a GA4 ID is configured) */
.consent {
  position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 70;
  max-width: 560px; margin: 0 auto; padding: 16px 18px;
  background: rgba(19, 20, 24, 0.97); border: 1px solid var(--stroke-strong); border-radius: 16px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.6); backdrop-filter: blur(14px);
}
.consent p { margin: 0 0 12px; font-size: 0.92rem; color: var(--text-2); }
.consent-actions { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }
.consent-actions .btn { padding: 9px 20px; font-size: 0.95rem; min-width: 110px; }
.btn-outline { background: transparent; color: var(--text); border: 1px solid var(--stroke-strong); }
.btn-outline:hover { background: var(--surface-2); }
body.consent-open .sticky-cta { display: none; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: var(--text-2); cursor: pointer; font-size: 0.94rem; text-align: left; }
.link-btn:hover { color: var(--text); text-decoration: underline; }
.consent-actions button { font: inherit; cursor: pointer; }
.consent-actions .btn:not(.btn-outline) { border: 0; }
