/* The business site (pro.gabaritou.live; docs/product/business-site.md). Gabaritou's fresh-look tokens (take2.css --gb-*). */
:root {
  --gb-logo-bg: #051032;
  --gb-bg: #0F1E2E;
  --gb-card: #16304A;
  --gb-raised: #1F3D5C;
  --gb-line: rgba(159, 179, 200, 0.35);
  --gb-text: #EAF0F6;
  --gb-muted: #9FB3C8;
  --gb-action: #3DDC84;
  --gb-action-text: #08281A;
  --gb-prize: #F5A524;
  --gb-live: #E5484D;
  --gb-link: #7DB8FF;
  --wrap: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 84px; }
body { margin: 0; background: var(--gb-bg); color: var(--gb-text); font: 17px/1.55 Roboto, Helvetica, Arial, sans-serif; }
a { color: var(--gb-link); }
img { max-width: 100%; display: block; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* header */
.site-head { background: var(--gb-logo-bg); position: sticky; top: 0; z-index: 5; border-bottom: 1px solid var(--gb-line); }
.site-head .wrap { display: flex; align-items: center; gap: 28px; height: 68px; }
.logo { text-decoration: none; }
.logo img { height: 48px; width: auto; }
.logo small { display: block; color: var(--gb-muted); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; margin-top: -4px; padding-left: 58px; margin-top: -6px; }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { color: var(--gb-text); text-decoration: none; font-size: 15px; opacity: .85; }
.nav a:hover, .nav a.on { opacity: 1; color: var(--gb-action); }
.lang { display: flex; border: 1px solid var(--gb-line); border-radius: 999px; overflow: hidden; font-size: 13px; }
.lang a { padding: 4px 10px; color: var(--gb-muted); text-decoration: none; }
.lang a.on { background: var(--gb-raised); color: var(--gb-text); }
.btn { display: inline-block; padding: 12px 22px; border-radius: 10px; font-weight: 700; text-decoration: none; font-size: 16px; border: 2px solid transparent; }
.btn-primary { background: var(--gb-action); color: var(--gb-action-text); }
.btn-ghost { border-color: var(--gb-line); color: var(--gb-text); }
.btn-small { padding: 7px 14px; font-size: 14px; }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid var(--gb-line); color: var(--gb-text); border-radius: 8px; padding: 6px 10px; font-size: 18px; }

/* hero */
.hero { padding: 72px 0 56px; background: radial-gradient(1200px 500px at 75% 20%, #1F3D5C 0%, var(--gb-bg) 60%); }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.eyebrow { color: var(--gb-action); font-weight: 700; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; margin: 0 0 12px; }
h1 { font-size: 46px; line-height: 1.12; margin: 0 0 18px; }
h2 { font-size: 32px; line-height: 1.2; margin: 0 0 12px; }
h3 { font-size: 20px; margin: 0 0 8px; }
.lead { font-size: 20px; color: var(--gb-muted); margin: 0 0 28px; max-width: 34em; }
.ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.note-line { margin-top: 18px; font-size: 14px; color: var(--gb-muted); }
.note-line b { color: var(--gb-text); }

/* phone frames with the store screenshots */
.phone { width: 260px; aspect-ratio: 9/16; border-radius: 34px; border: 8px solid #0a1522; box-shadow: 0 30px 60px rgba(0,0,0,.45), 0 0 0 1px var(--gb-line); overflow: hidden; background: #0a1522; }
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.phones { display: flex; justify-content: center; position: relative; }
.phones .phone + .phone { margin-left: -70px; margin-top: 60px; transform: rotate(4deg); }
.phones .phone:first-child { transform: rotate(-4deg); z-index: 1; }
.video-badge { position: absolute; left: 50%; bottom: -14px; transform: translateX(-50%); z-index: 2; background: var(--gb-action); color: var(--gb-action-text); font-weight: 700; padding: 8px 16px; border-radius: 999px; font-size: 14px; white-space: nowrap; box-shadow: 0 8px 20px rgba(0,0,0,.4); }

/* sections */
section { padding: 64px 0; }
section.alt { background: #0c1926; }
.section-head { max-width: 40em; margin-bottom: 32px; }
.section-head p { color: var(--gb-muted); margin: 0; }
.grid { display: grid; gap: 20px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--gb-card); border: 1px solid var(--gb-line); border-radius: 16px; padding: 24px; }
.card p { color: var(--gb-muted); margin: 0; }
.card ul { margin: 12px 0 0; padding-left: 20px; color: var(--gb-muted); }
.card li { margin: 4px 0; }
.card .btn { margin-top: 18px; }
.step-n { width: 36px; height: 36px; border-radius: 50%; background: var(--gb-raised); color: var(--gb-action); font-weight: 800; display: grid; place-items: center; margin-bottom: 12px; }
.icon { font-size: 28px; margin-bottom: 10px; }
.tag { display: inline-block; font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 6px; background: var(--gb-raised); color: var(--gb-prize); margin-left: 6px; vertical-align: middle; }
.audience { padding: 32px; }
.audience h3 { font-size: 24px; }
.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.trust div { border-left: 3px solid var(--gb-action); padding: 4px 0 4px 16px; }
.trust p { color: var(--gb-muted); margin: 0; font-size: 15px; }
.split { display: grid; grid-template-columns: 1fr 300px; gap: 48px; align-items: center; }
.pill-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.pill { border: 1px solid var(--gb-line); border-radius: 999px; padding: 6px 14px; font-size: 14px; color: var(--gb-text); background: var(--gb-raised); }
.pill.off { color: var(--gb-muted); background: none; }
.pilot { background: linear-gradient(120deg, #16304A, #1F3D5C); border: 1px solid var(--gb-line); border-radius: 20px; padding: 40px; display: flex; gap: 32px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.pilot p { color: var(--gb-muted); margin: 0; max-width: 36em; }
.mock-report { background: var(--gb-bg); border: 1px solid var(--gb-line); border-radius: 12px; padding: 18px; font-size: 14px; }
.mock-report .row { display: flex; justify-content: space-between; padding: 7px 0; border-bottom: 1px solid var(--gb-line); color: var(--gb-muted); }
.mock-report .row b { color: var(--gb-text); }
.mock-report .bar { height: 8px; border-radius: 4px; background: var(--gb-raised); margin-top: 6px; overflow: hidden; }
.mock-report .bar i { display: block; height: 100%; background: var(--gb-action); }
.fine { font-size: 13px; color: var(--gb-muted); }

/* footer */
.site-foot { border-top: 1px solid var(--gb-line); padding: 36px 0; color: var(--gb-muted); font-size: 14px; }
.site-foot .wrap { display: flex; gap: 32px; justify-content: space-between; flex-wrap: wrap; }
.site-foot a { color: var(--gb-text); text-decoration: none; }
.play-strip { background: var(--gb-raised); padding: 14px 0; text-align: center; font-size: 15px; }
.play-strip a { color: var(--gb-action); font-weight: 700; }

/* the video (a dialog) */
.video-badge { border: 0; cursor: pointer; font: inherit; font-weight: 700; }
dialog.video { padding: 0; border: 0; background: #000; border-radius: 12px; max-width: min(92vw, 420px); }
dialog.video::backdrop { background: rgba(0,0,0,.75); }
dialog.video video { display: block; width: 100%; max-height: 82vh; }
dialog.video form { position: absolute; top: 6px; right: 6px; margin: 0; }
dialog.video button { background: rgba(0,0,0,.6); color: #fff; border: 0; border-radius: 50%; width: 34px; height: 34px; font-size: 18px; cursor: pointer; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 8px; top: 8px; z-index: 10; background: var(--gb-action); color: var(--gb-action-text); padding: 8px 12px; border-radius: 8px; }

@media (max-width: 860px) {
  body { font-size: 16px; }
  .nav, .site-head .lang, .site-head .btn { display: none; }
  .menu-btn { display: block; }
  .site-head.open .wrap { flex-wrap: wrap; height: auto; padding-top: 12px; padding-bottom: 12px; }
  .site-head.open .nav { display: flex; flex-direction: column; gap: 14px; width: 100%; margin: 8px 0 0; }
  .site-head.open .lang, .site-head.open .btn { display: flex; }
  .hero { padding: 40px 0 48px; }
  .hero .wrap, .split { grid-template-columns: 1fr; gap: 36px; }
  h1 { font-size: 32px; }
  h2 { font-size: 26px; }
  .lead { font-size: 18px; }
  .g2, .g3, .g4, .trust { grid-template-columns: 1fr; }
  .phone { width: 200px; }
  .phones .phone + .phone { margin-left: -60px; }
  section { padding: 44px 0; }
  .pilot { padding: 26px; }
  .split .phones { order: -1; }
}

/* the home's hero on desktop: the match on a TV, the game on the phone (the second screen) */
.hero-tv .wrap { grid-template-columns: .95fr 1.05fr; }
.scene { position: relative; padding: 0 40px 70px 0; }
.tv { position: relative; }
.tv-screen { position: relative; aspect-ratio: 16/9; border: 12px solid #05080d; border-radius: 14px; overflow: hidden; box-shadow: 0 30px 70px rgba(0,0,0,.5), 0 0 0 1px var(--gb-line); background: #000; }
.pitch { width: 100%; height: 100%; display: block; }
.tv-stand { width: 34%; height: 14px; margin: 0 auto; background: linear-gradient(#05080d, #0a1522); border-radius: 0 0 10px 10px; }
.tv-score { position: absolute; top: 12px; left: 12px; display: flex; align-items: center; gap: 8px; background: rgba(5,16,50,.92); color: #fff; font-size: 13px; padding: 4px 10px; border-radius: 6px; }
.tv-score .t { font-weight: 700; letter-spacing: .05em; }
.tv-score .clock { color: var(--gb-prize); margin-left: 4px; font-variant-numeric: tabular-nums; }
.tv-live { position: absolute; top: 12px; right: 12px; color: #fff; background: var(--gb-live); font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 4px; }
.tv-qr { position: absolute; left: 12px; bottom: 12px; display: flex; gap: 8px; align-items: center; background: rgba(5,16,50,.92); color: #fff; font-size: 11px; line-height: 1.3; padding: 6px 10px 6px 6px; border-radius: 8px; }
.tv-qr b { color: var(--gb-action); font-size: 12px; }
.qr { width: 52px; height: 52px; display: block; }
.phone-scene { position: absolute; right: 0; bottom: 0; width: 170px; border-width: 6px; border-radius: 26px; z-index: 2; }
.scene .video-badge { left: 38%; bottom: 8px; }
.phones-mobile { display: none; }
@media (max-width: 860px) {
  .hero-tv .wrap { grid-template-columns: 1fr; }
  .scene { display: none; }
  .phones-mobile { display: flex; }
}
