/* ===== Tokens ===== */
:root {
  --cream: #FAF9F5;
  --cream-dark: #F1EEE9;
  --cream-card: #F4F2F0;
  --white: #FFFFFF;
  --ink: #1A1A1A;
  --anthracite: #1C1C1C;
  --card-dark: #171717;
  --border-dark: #232323;
  --border-dark-2: #3A3A3A;
  --accent: #F26419;
  --accent-deep: #C83C00;
  --green: #F26419;
  --muted: #737373;
  --muted-2: #A3A3A3;
  --line: rgba(0,0,0,.07);
  --line-strong: rgba(0,0,0,.12);
  --radius: 6px;
  --font: 'Onest', 'Helvetica Neue', Arial, sans-serif;
  --nav-h: 62px;
  --announce-h: 44px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p { margin: 0; }
ul { list-style: none; margin: 0; padding: 0; }
address { font-style: normal; }
.muted { color: var(--muted); }

.ic { width: 16px; height: 16px; display: inline-block; vertical-align: middle; flex: none; }
.ic-20 { width: 20px; height: 20px; }
.ic-12 { width: 12px; height: 12px; }
.c-green { color: var(--green); }
.c-blue { color: #3B82F6; }
.c-orange { color: #F97316; }

/* ===== Layout ===== */
.wrap {
  position: relative;
  max-width: 1360px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}
/* Dashed vertical guide lines at the container edges */
section > .wrap::before, section > .wrap::after, .band > section > .wrap::before, .band > section > .wrap::after, .footer > .wrap::before, .footer > .wrap::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 1px;
  background-image: linear-gradient(to bottom, var(--guide, rgba(0,0,0,.1)) 0 4px, transparent 4px 9px);
  background-size: 1px 9px;
  pointer-events: none;
}
section > .wrap::before, .band > section > .wrap::before, .footer > .wrap::before { left: 0; }
section > .wrap::after, .band > section > .wrap::after, .footer > .wrap::after { right: 0; }
.dark { --guide: rgba(255,255,255,.1); }
.band.is-dark { --guide: rgba(255,255,255,.1); }

/* ===== Type ===== */
.h1 {
  font-size: clamp(38px, 4vw, 57.6px);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.04em;
  color: var(--ink);
}
.h2 {
  font-size: clamp(30px, 2.8vw, 40px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.h2-sm { font-size: 30px; letter-spacing: -0.02em; }
.dim { color: var(--muted-2); }
.dark .dim, .band.is-dark .dim { color: rgba(255,255,255,.35); }
.lead {
  font-size: 18px;
  line-height: 28px;
  color: var(--muted);
  max-width: 672px;
  margin-top: 20px;
}
.dark .lead, .band.is-dark .lead { color: var(--muted-2); }
.label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--muted);
  padding-bottom: 10px;
  margin-bottom: 36px;
  border-bottom: 1px dashed var(--line-strong);
  min-width: 190px;
}
.label .ic { width: 11px; height: 11px; color: var(--green); }
.dark .label, .band.is-dark .label { color: var(--muted-2); border-color: rgba(255,255,255,.14); }
.dark .label .ic { color: #fff; }
.eyebrow-mono { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.65); }
.tag-mono { font-size: 11px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  padding: 12px 24px;
  border: 1px solid transparent;
  border-radius: 0;
  white-space: nowrap;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.btn .ic { width: 15px; height: 15px; }
.btn-solid { background: var(--anthracite); color: #fff; }
.btn-solid:hover { background: #000; }
.btn-outline { background: #fff; color: var(--ink); border-color: #D6D3CD; }
.btn-outline:hover { border-color: var(--ink); }
.btn-dark { background: rgba(20,20,20,.9); color: #fff; }
.btn-ghost { background: transparent; color: #fff; border-color: var(--border-dark-2); }
.btn-ghost:hover { border-color: #fff; }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { background: var(--cream-dark); }
.btn-sm { padding: 8px 20px; }
.btn-lg { padding: 12px 24px; min-height: 46px; }
.btn-xs { padding: 9px 16px; font-size: 13px; }

/* ===== Orbs ===== */
.orb {
  width: 78px; height: 78px; border-radius: 50%; flex: none;
  background: radial-gradient(circle at 35% 30%, #ffb380 0, #F26419 25%, #9a3200 60%, #4a1600 100%);
  box-shadow: inset -8px -10px 22px rgba(0,0,0,.45), inset 6px 6px 14px rgba(255,255,255,.25), 0 10px 30px rgba(242,100,25,.25);
  animation: orbSpin 9s linear infinite;
}
.orb-sm { width: 18px; height: 18px; box-shadow: inset -2px -3px 6px rgba(0,0,0,.45), inset 2px 2px 4px rgba(255,255,255,.3); }
@keyframes orbSpin { to { filter: hue-rotate(10deg) brightness(1.05); } }

/* ===== Reveal ===== */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ===== Header ===== */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; }
.announce { background: #000; color: #fff; height: var(--announce-h); font-size: 14px; transition: margin-top .35s var(--ease); }
.announce-inner { display: flex; align-items: center; justify-content: center; gap: 12px; height: 100%; }
.announce-orb { width: 20px; height: 20px; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #555, #000 70%); box-shadow: 0 0 0 1px #333; position: relative; }
.announce-orb::after { content: ""; position: absolute; inset: 5px; border-radius: 50%; border: 1px dotted rgba(255,255,255,.5); }
.announce-text { color: rgba(255,255,255,.85); }
.announce-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; }
.site-header.scrolled .announce { margin-top: calc(-1 * var(--announce-h)); }

.nav {
  height: var(--nav-h);
  background: rgba(250,249,245,.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: background .4s var(--ease), color .4s var(--ease);
  color: var(--ink);
}
.nav-inner { display: flex; align-items: center; height: 100%; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 20px; letter-spacing: -0.02em; margin-right: auto; }
.brand-mark { width: 26px; height: 26px; object-fit: contain; transition: filter .4s; }
.brand-word { transition: opacity .3s, width .3s; white-space: nowrap; overflow: hidden; display: inline-block; }
.site-header.scrolled .brand-word { width: 0; opacity: 0; }
.nav-links { display: flex; align-items: center; gap: 4px; position: absolute; left: 50%; transform: translateX(-50%); }
.nav-links > li { position: relative; }
.nav-links > li > a { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 500; padding: 8px 16px; color: #555; transition: color .2s; }
.nav-links > li > a:hover { color: var(--ink); }
.nav-links .ic { width: 14px; height: 14px; opacity: .8; }
.nav-actions { display: flex; align-items: center; gap: 6px; }
.nav-actions .btn-outline { margin-left: 8px; }
.nav-actions .btn-solid { margin-left: 2px; }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; color: #555; transition: color .2s; }
.icon-btn:hover { color: var(--ink); }
.menu-toggle { display: none; }

/* dark nav state */
.site-header.on-dark .nav { background: rgba(28,28,28,.82); color: #fff; }
.site-header.on-dark .nav-links > li > a { color: #B5B5B5; }
.site-header.on-dark .nav-links > li > a:hover { color: #fff; }
.site-header.on-dark .icon-btn { color: #B5B5B5; }
.site-header.on-dark .brand-mark { filter: none; }
.site-header.on-dark .btn-outline { background: transparent; color: #fff; border-color: var(--border-dark-2); }
.site-header.on-dark .btn-solid { background: #fff; color: var(--ink); }

/* Mega menu */
.menu {
  position: absolute; left: 0; top: calc(100% + 10px);
  min-width: 1312px;
  background: var(--cream);
  color: var(--ink);
  padding: 44px 0 0;
  border-top: 1px solid var(--line);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
  pointer-events: none;
}
.nav-links > li:nth-child(1) .menu { left: -420px; }
.nav-links > li:nth-child(2) .menu, .nav-links > li:nth-child(4) .menu { left: -16px; min-width: 560px; }
.has-menu:hover .menu { opacity: 1; visibility: visible; transform: none; pointer-events: auto; }
.menu-cols { display: grid; grid-template-columns: 1fr 1fr 1fr 400px; gap: 0; padding: 0 24px 40px; }
.menu-sm .menu-cols { grid-template-columns: 1fr 1fr; }
.menu-col { padding: 0 32px 0 0; border-left: 1px solid var(--line); padding-left: 32px; }
.menu-col:first-child { border-left: 0; padding-left: 0; }
.menu-head { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 26px; }
.menu-col a { display: block; font-size: 15px; color: var(--ink); padding: 8px 0; transition: color .2s; }
.menu-col a:hover { color: var(--green); }
.menu-more { color: var(--muted) !important; display: inline-flex !important; align-items: center; gap: 6px; }
.menu-feature { background: var(--cream-dark); padding: 12px; }
.menu-feature-img { position: relative; aspect-ratio: 376/316; overflow: hidden; background: #111; }
.menu-feature-img img:first-child { width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.menu-feature-logo { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); width: 130px !important; height: auto !important; opacity: 1 !important; object-fit: contain; }
.menu-feature-foot { display: flex; justify-content: space-between; align-items: center; font-size: 15px; margin-top: 14px; }
.menu-feature-foot .muted { font-size: 12px; }
.menu-feature-link { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; margin-top: 8px; }

.mobile-menu { display: none; }

/* ===== Floating dock ===== */
.dock {
  position: fixed; left: 50%; bottom: 20px; transform: translate(-50%, 120px);
  z-index: 90;
  display: flex; align-items: center; gap: 8px;
  padding: 8px 8px 8px 20px;
  background: rgba(16,16,16,.92);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 999px;
  box-shadow: 0 20px 50px rgba(0,0,0,.35);
  backdrop-filter: blur(12px);
  transition: transform .5s var(--ease), opacity .5s;
  opacity: 0;
}
.dock.show { transform: translate(-50%, 0); opacity: 1; }
.dock-logos { display: flex; align-items: center; gap: 18px; }
.dock-logos img { height: 16px; width: auto; max-width: 70px; object-fit: contain; opacity: .9; }
.dock-sep { width: 1px; height: 28px; background: rgba(255,255,255,.18); margin: 0 10px; }
.dock-btn { display: inline-flex; align-items: center; gap: 10px; background: #fff; color: var(--ink); font-size: 14px; font-weight: 500; padding: 10px 16px; border-radius: 999px; transition: transform .2s; white-space: nowrap; }
@media (max-width: 640px) {
  .dock { padding: 6px; gap: 6px; }
  .dock-logos, .dock-sep { display: none; }
  .dock-btn { padding: 10px 14px; }
}
.dock-btn:hover { transform: translateY(-1px); }
.dock-btn-wide { padding: 6px 6px 6px 6px; }
.dock-arrow { width: 24px; height: 24px; border-radius: 50%; border: 1px solid #D6D3CD; display: inline-flex; align-items: center; justify-content: center; }
.dock-arrow .ic { width: 12px; height: 12px; }

/* ===== Avatars ===== */
.avs { display: inline-flex; align-items: center; }
.avs img, .avs i { width: 26px; height: 26px; border-radius: 50%; border: 2px solid #fff; margin-left: -8px; object-fit: cover; background: #333; color: #fff; font-style: normal; font-size: 10px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; }
.avs img:first-child, .avs i:first-child { margin-left: 0; }
.avs i:nth-child(2) { background: #5a5a5a; } .avs i:nth-child(3) { background: #444; } .avs i:nth-child(4) { background: #2e2e2e; }
.avs-lg img, .avs-lg i { width: 36px; height: 36px; border-color: var(--anthracite); font-size: 12px; }

/* Channel tiles (small colored squares used in mockups) */
.t { display: inline-block; width: 16px; height: 16px; border-radius: 3px; background: #ddd; flex: none; }
.t1 { background: #4285F4; } .t2 { background: #E1306C; } .t3 { background: #0A66C2; } .t4 { background: #FF0000; } .t5 { background: #10A37F; }
.chs { display: inline-flex; gap: 4px; }
.chs .t { width: 14px; height: 14px; }

/* ===== Mini tables ===== */
.mini { width: 100%; border-collapse: collapse; font-size: 12px; }
.mini th { text-align: left; font-weight: 400; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 10px 12px; border-bottom: 1px solid var(--line); }
.mini td { padding: 11px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; white-space: nowrap; }
.mini td small { display: block; color: var(--muted); font-size: 10px; margin-top: 2px; }
.mini .av { display: inline-flex; width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 1px solid var(--line); align-items: center; justify-content: center; font-size: 9px; font-weight: 600; margin-right: 6px; vertical-align: middle; }
.mini .bar { display: block; width: 24px; height: 5px; border-radius: 3px; background: #ddd; position: relative; overflow: hidden; }
.mini .bar::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: var(--w); background: #bbb; }
.mini tr.you td { background: rgba(242,100,25,.08); }
.mini tr.you .bar::after { background: var(--green); }
.mini tr.you em { font-style: normal; font-size: 9px; border: 1px solid var(--line-strong); padding: 1px 4px; margin-left: 6px; border-radius: 3px; color: var(--muted); }
.mini .st { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--green); margin-right: 4px; }
.mini .st-d { background: #ccc; }
.mini .avs i { width: 18px; height: 18px; margin-left: -6px; border-width: 1.5px; }
.mini .avs { margin-right: 4px; }
.mini .avs i:nth-child(1) { background: #7b5; } .mini .avs i:nth-child(2) { background: #58a; } .mini .avs i:nth-child(3) { background: #c85; }
.mini .g { color: var(--green); }
.mini tr.fade td { opacity: .45; }
.mini-dark th { color: rgba(255,255,255,.45); border-color: rgba(255,255,255,.06); }
.mini-dark td { border-color: rgba(255,255,255,.06); color: rgba(255,255,255,.85); background: rgba(255,255,255,.03); }
.mini-dark tr:nth-child(even) td { background: rgba(255,255,255,.05); }
.mini-dark .av { background: #2a2a2a; border-color: rgba(255,255,255,.1); color: #fff; }
.mini-dark .chip-x { font-size: 10px; padding: 2px 8px; background: rgba(255,255,255,.08); color: rgba(255,255,255,.6); border-radius: 3px; }

/* ===== Browser frame ===== */
.browser { background: #fff; border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 10px 30px rgba(0,0,0,.06); overflow: hidden; }
.browser-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: var(--cream); border-bottom: 1px solid var(--line); position: relative; }
.browser-bar i { width: 8px; height: 8px; border-radius: 50%; background: #d8d5cf; }
.browser-bar span { position: absolute; left: 50%; transform: translateX(-50%); font-size: 10px; color: var(--muted); background: #fff; border: 1px solid var(--line); padding: 2px 10px; border-radius: 3px; }

/* Dark variants of mockups (band morph) */
.band.is-dark .browser { background: #1F1F1F; border-color: rgba(255,255,255,.08); box-shadow: 0 10px 30px rgba(0,0,0,.4); }
.band.is-dark .browser-bar { background: #262626; border-color: rgba(255,255,255,.06); }
.band.is-dark .browser-bar i { background: #3a3a3a; }
.band.is-dark .browser-bar span { background: #1F1F1F; border-color: rgba(255,255,255,.08); color: rgba(255,255,255,.5); }
.band.is-dark .mini th { color: rgba(255,255,255,.45); border-color: rgba(255,255,255,.06); }
.band.is-dark .mini td { color: rgba(255,255,255,.85); border-color: rgba(255,255,255,.06); }
.band.is-dark .mini td small { color: rgba(255,255,255,.4); }
.band.is-dark .mini .av { background: #2a2a2a; border-color: rgba(255,255,255,.1); color: #fff; }
.band.is-dark .mini .bar { background: #333; }
.band.is-dark .mini tr.you td { background: rgba(242,100,25,.1); }
.band.is-dark .mini tr.you em { color: rgba(255,255,255,.6); border-color: rgba(255,255,255,.2); }
