/* GBY Media — shared styles.
   Layout: a holdings register. Big plain headline, then each business and app
   as a row with its category, platform and live status. Legal pages reuse the
   same header and footer with a single readable text column. */
:root {
  --bg: #f4f6f8;
  --surface: #ffffff;
  --ink: #0b1220;
  --muted: #586273;
  --line: #dde2e8;
  --accent: #2440e8;
  --accent-ink: #ffffff;
  --live: #0f8a4f;
  --review: #b26a00;
  --soon: #5b6573;
  --display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --body: "Geist", "Segoe UI", system-ui, -apple-system, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --radius: 14px;
  --max: 1120px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0a0e14; --surface: #111823; --ink: #edf1f6; --muted: #8e98a7; --line: #212a37;
    --accent: #7088ff; --accent-ink: #0a0e14; --live: #3ccf8a; --review: #f0a63a; --soon: #8e98a7;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0a0e14; --surface: #111823; --ink: #edf1f6; --muted: #8e98a7; --line: #212a37;
  --accent: #7088ff; --accent-ink: #0a0e14; --live: #3ccf8a; --review: #f0a63a; --soon: #8e98a7;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 17px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.wrap {
  max-width: var(--max); margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}

/* Header */
.site-head { border-bottom: 1px solid var(--line); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 18px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 700 19px/1 var(--display); letter-spacing: -0.01em; }
.brand-mark {
  width: 30px; height: 30px; border-radius: 8px; background: var(--ink); color: var(--bg);
  display: grid; place-items: center; font: 700 13px/1 var(--mono); letter-spacing: 0.02em;
}
.nav { display: flex; gap: 22px; font-size: 15px; }
.nav a { text-decoration: none; color: var(--muted); }
.nav a:hover { color: var(--ink); }

/* Hero */
.hero { padding-block: clamp(56px, 10vw, 112px) clamp(40px, 7vw, 72px); }
.eyebrow { font: 500 13px/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin: 0 0 22px; }
.hero h1 {
  font: 700 clamp(40px, 7.2vw, 84px)/1.02 var(--display); letter-spacing: -0.035em;
  margin: 0; max-width: 15ch; text-wrap: balance;
}
.hero h1 span { color: var(--accent); }
.hero p.lede { font-size: clamp(18px, 2vw, 21px); color: var(--muted); max-width: 58ch; margin: 26px 0 0; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 13px 20px; border-radius: 999px;
  font: 500 15px/1 var(--body); text-decoration: none; border: 1px solid var(--line); background: var(--surface);
  transition: transform .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-1px); border-color: var(--ink); }
.btn.primary { background: var(--ink); color: var(--bg); border-color: var(--ink); }

/* Register */
.section { padding-block: clamp(36px, 6vw, 64px); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.section-head h2 { font: 700 clamp(26px, 3.4vw, 36px)/1.1 var(--display); letter-spacing: -0.02em; margin: 0; }
.section-head .count { font: 500 13px/1 var(--mono); color: var(--muted); letter-spacing: 0.04em; }

.register { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.row {
  display: grid; grid-template-columns: 64px minmax(0, 1.2fr) minmax(0, 2fr) 170px 28px;
  align-items: center; gap: 22px; padding: 22px 4px; border-bottom: 1px solid var(--line);
  text-decoration: none; color: inherit; position: relative;
}
a.row:hover { background: var(--surface); }
a.row:hover .arrow { transform: translate(3px, -3px); color: var(--accent); }
.tile {
  width: 64px; height: 64px; border-radius: 15px; display: grid; place-items: center; overflow: hidden;
  font: 700 22px/1 var(--display); letter-spacing: -0.02em;
}
.tile img { width: 100%; height: 100%; object-fit: cover; }
.name { min-width: 0; }
.name strong { display: block; font: 600 20px/1.2 var(--display); letter-spacing: -0.01em; }
.name small { display: block; font: 500 12px/1.4 var(--mono); color: var(--muted); letter-spacing: 0.04em; text-transform: uppercase; margin-top: 6px; }
.desc { color: var(--muted); margin: 0; min-width: 0; }
.status { display: inline-flex; align-items: center; gap: 8px; font: 500 13px/1.2 var(--mono); color: var(--muted); white-space: nowrap; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; flex: none; }
.status.live { color: var(--live); }
.status.review { color: var(--review); }
.status.soon { color: var(--soon); }
.arrow { font: 400 20px/1 var(--body); color: var(--muted); transition: transform .15s ease, color .15s ease; justify-self: end; }

/* About strip */
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.fact { background: var(--surface); padding: 26px; }
.fact b { display: block; font: 700 22px/1.2 var(--display); letter-spacing: -0.01em; margin-bottom: 6px; }
.fact span { color: var(--muted); font-size: 15px; }

/* Footer */
.site-foot { border-top: 1px solid var(--line); margin-top: clamp(40px, 8vw, 80px); }
.site-foot .wrap { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-block: 32px 40px; font-size: 14px; color: var(--muted); }
.site-foot nav { display: flex; gap: 18px; flex-wrap: wrap; }
.site-foot a { text-decoration: none; }
.site-foot a:hover { color: var(--ink); }

/* Document pages (privacy, support) */
.doc { padding-block: clamp(40px, 8vw, 80px) 0; }
.doc .crumbs { font: 500 13px/1 var(--mono); color: var(--muted); letter-spacing: 0.04em; margin: 0 0 18px; }
.doc .crumbs a { text-decoration: none; }
.doc h1 { font: 700 clamp(34px, 5vw, 52px)/1.05 var(--display); letter-spacing: -0.03em; margin: 0 0 12px; text-wrap: balance; }
.doc .updated { color: var(--muted); margin: 0 0 40px; font-size: 15px; }
.doc .body { max-width: 68ch; }
.doc h2 { font: 650 22px/1.3 var(--display); letter-spacing: -0.01em; margin: 40px 0 10px; }
.doc p, .doc li { color: var(--ink); }
.doc ul { padding-left: 20px; }
.doc li + li { margin-top: 6px; }
.doc .callout { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; margin: 0 0 8px; }
.doc .callout p { margin: 0; }
.app-head { display: flex; align-items: center; gap: 18px; margin-bottom: 18px; }
.app-head .tile { width: 72px; height: 72px; border-radius: 17px; }
.app-head h1 { margin: 0; }

@media (max-width: 860px) {
  .row { grid-template-columns: 56px minmax(0, 1fr) 24px; grid-template-areas: "tile name arrow" "tile desc arrow" "tile status arrow"; row-gap: 8px; align-items: start; }
  .tile { grid-area: tile; width: 56px; height: 56px; border-radius: 13px; }
  .name { grid-area: name; }
  .desc { grid-area: desc; }
  .status { grid-area: status; }
  .arrow { grid-area: arrow; align-self: center; }
  .facts { grid-template-columns: 1fr; }
  .nav { gap: 16px; }
}
@media (max-width: 420px) { .nav a.hide-sm { display: none; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
