/* CampusWatch marketing site. Colors come from the CampusWatch logo. */

:root {
  --navy-950: #040a18;
  --navy-900: #071226;
  --navy-800: #0c1c3c;
  --navy-700: #13295a;
  --blue: #2b8bff;
  --blue-600: #1a6fe8;
  --blue-700: #0e55c8;
  --sky: #8fd2ff;

  --ink: #0b1830;
  --ink-2: #33415c;
  --muted: #5b6a84;
  --line: #e1e7f1;
  --bg: #ffffff;
  --bg-alt: #f4f7fc;

  --c-att: #2b8bff;
  --c-pass: #8b5cf6;
  --c-game: #f59e0b;
  --c-flex: #10b981;

  --ok: #16a34a;
  --warn: #f59e0b;
  --bad: #ef4444;

  --radius: 18px;
  --shadow: 0 30px 60px -20px rgba(8, 20, 50, .35), 0 12px 24px -12px rgba(8, 20, 50, .2);
  --font: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 68px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: -.02em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.ic {
  width: 1.1em; height: 1.1em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 560px) { .wrap { padding: 0 16px; } }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: #fff; color: var(--ink); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 22px; border-radius: 999px;
  font: 700 15.5px/1 var(--font); text-decoration: none; white-space: nowrap;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #3a9bff, var(--blue-700));
  box-shadow: 0 8px 24px -8px rgba(43, 139, 255, .7), inset 0 1px 0 rgba(255,255,255,.25);
}
.btn-primary:hover { box-shadow: 0 12px 30px -8px rgba(43, 139, 255, .85), inset 0 1px 0 rgba(255,255,255,.25); }
.btn-ghost { color: #fff; background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.22); }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 8px; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(4, 10, 24, .92);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.nav-row { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; }
.brand .wordmark { width: auto; height: 21px; }
.footer .brand .wordmark { height: 19px; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a:not(.btn) { color: rgba(255,255,255,.78); text-decoration: none; font-size: 15px; font-weight: 600; }
.nav-links a:not(.btn):hover { color: #fff; }
.nav-toggle { display: none; background: none; border: 0; color: #fff; font-size: 24px; padding: 8px; cursor: pointer; }

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: absolute; left: 0; right: 0; top: 68px;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px 16px 18px;
    background: var(--navy-950);
    box-shadow: 0 24px 40px -20px rgba(0,0,0,.7);
    border-bottom: 1px solid rgba(255,255,255,.08);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a:not(.btn) { padding: 13px 4px; border-bottom: 1px solid rgba(255,255,255,.07); font-size: 16px; }
  .nav-cta { margin-top: 14px; justify-content: center; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  color: #fff;
  background: var(--navy-950);
  margin-top: -69px;
  padding: 141px 0 96px;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(143, 210, 255, .14) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 75%);
}
.hero-glow {
  position: absolute; inset: -20% -10% auto auto; width: 70%; height: 120%;
  background:
    radial-gradient(closest-side, rgba(43, 139, 255, .38), transparent 70%) 70% 30% / 70% 70% no-repeat,
    radial-gradient(closest-side, rgba(143, 210, 255, .18), transparent 70%) 20% 70% / 60% 60% no-repeat;
  filter: blur(10px);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  gap: 56px; align-items: center;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--acc, var(--blue-600));
}
.eyebrow .ic { width: 16px; height: 16px; }
.eyebrow-dark { color: var(--sky); }
.hero h1 { font-size: clamp(44px, 6.4vw, 76px); font-weight: 800; margin: 18px 0 22px; letter-spacing: -.035em; }
.grad {
  background: linear-gradient(100deg, #bfe6ff 0%, var(--blue) 45%, #5ab0ff 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { font-size: 18.5px; color: rgba(255,255,255,.76); max-width: 560px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.hero-pills a {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px 8px 10px; border-radius: 999px;
  font-size: 14px; font-weight: 600; text-decoration: none; color: rgba(255,255,255,.88);
  background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12);
  transition: background .2s;
}
.hero-pills a:hover { background: rgba(255,255,255,.1); }
.hero-pills .ic { color: var(--acc); width: 17px; height: 17px; }

.live-dot {
  width: 8px; height: 8px; border-radius: 50%; background: #34d399; flex: none;
  box-shadow: 0 0 0 0 rgba(52, 211, 153, .6);
  animation: ping 2s infinite;
}
@keyframes ping { 70% { box-shadow: 0 0 0 8px rgba(52, 211, 153, 0); } 100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); } }

.hero-visual { position: relative; }
.float-card {
  position: absolute; display: flex; align-items: center; gap: 12px;
  padding: 12px 16px; border-radius: 14px;
  background: #fff; color: var(--ink); box-shadow: var(--shadow);
  font-size: 13px; line-height: 1.3;
  animation: bob 6s ease-in-out infinite;
}
.float-card b { display: block; font-size: 14px; }
.float-card span { color: var(--muted); }
.float-card .ic { width: 34px; height: 34px; padding: 8px; border-radius: 10px; color: #fff; background: linear-gradient(135deg, #34d399, #059669); }
.float-card-a { right: -22px; top: -26px; }
@keyframes bob { 50% { transform: translateY(-8px); } }

@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero { padding: 125px 0 80px; }
  .float-card-a { right: 12px; }
}

/* ---------- Window frame shared by every mock ---------- */
.win {
  border-radius: var(--radius); overflow: hidden;
  background: #fff; box-shadow: var(--shadow);
  border: 1px solid rgba(12, 28, 60, .08);
  font-size: 13px; line-height: 1.35; color: var(--ink);
  user-select: none;
}
.win-bar {
  display: flex; align-items: center; gap: 7px;
  height: 36px; padding: 0 14px;
  background: #eef2f8; border-bottom: 1px solid var(--line);
}
.win-bar i { width: 11px; height: 11px; border-radius: 50%; background: #d4dbe7; }
.win-bar i:nth-child(1) { background: #ff6b6b; }
.win-bar i:nth-child(2) { background: #ffc24b; }
.win-bar i:nth-child(3) { background: #3ed17a; }
.win-title { margin-left: 10px; font-size: 12px; font-weight: 700; color: var(--muted); }

.win-dark { background: #0b1732; border-color: rgba(255,255,255,.1); color: #e8f0ff; }
.win-dark .win-bar { background: #0f1f42; border-bottom-color: rgba(255,255,255,.08); }
.win-dark .win-title { color: rgba(232,240,255,.6); }

.pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 800; letter-spacing: .02em; white-space: nowrap; }
.pill-live { color: #34d399; background: rgba(52, 211, 153, .12); }

/* Live School (hero) */
.live { padding: 16px 18px 14px; transition: opacity .4s ease; }
.live.resetting { opacity: .2; }
.live-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.live-clock { font-size: 26px; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.live-sub { font-size: 12px; color: rgba(232,240,255,.55); }
.live-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 14px 0; }
.live-stats div { padding: 9px 11px; border-radius: 12px; background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px rgba(255,255,255,.07); }
.live-stats b { display: block; font-size: 20px; font-variant-numeric: tabular-nums; }
.live-stats span { font-size: 11px; color: rgba(232,240,255,.55); }
.live-stats .is-red b { color: #ff7b7b; }
.map { position: relative; border-radius: 12px; background: #0e1d3e; box-shadow: inset 0 0 0 1px rgba(255,255,255,.07); padding: 8px; }
.map-svg { width: 100%; height: auto; display: block; }
.m-hall { fill: rgba(143, 210, 255, .07); }
.m-rooms rect { fill: rgba(43, 139, 255, .16); stroke: rgba(143, 210, 255, .35); stroke-width: 1.2; transition: fill .6s ease, stroke .6s ease; }
.m-rooms .m-space rect { fill: rgba(255,255,255,.04); stroke: rgba(255,255,255,.18); stroke-dasharray: 4 4; }
.m-rooms .is-missing rect { fill: rgba(239, 68, 68, .2); stroke: rgba(255, 123, 123, .75); }
.m-rooms .is-flash rect { fill: rgba(52, 211, 153, .3); stroke: #34d399; }
.m-num { font-size: 13px; font-weight: 800; fill: rgba(232,240,255,.8); font-family: var(--font); }
.m-count { font-size: 17px; font-weight: 700; fill: #fff; text-anchor: middle; font-family: var(--font); }
.m-missing circle { fill: #ff5a5a; }
.m-missing .m-ping { fill: none; stroke: #ff5a5a; stroke-width: 2; transform-origin: 96px 34px; animation: ring 1.6s ease-out infinite; }
.m-missing.gone { opacity: 0; transition: opacity .4s; }
@keyframes ring { from { transform: scale(1); opacity: 1; } to { transform: scale(2.6); opacity: 0; } }
.m-walkers circle { fill: #a78bfa; stroke: #fff; stroke-width: 2; filter: drop-shadow(0 0 6px rgba(167, 139, 250, .9)); }
.feed {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px;
}
.feed li:nth-child(n+3) { display: none; }
.feed li {
  display: flex; gap: 10px; align-items: center;
  min-width: 0; padding: 9px 12px; border-radius: 11px;
  background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px rgba(255,255,255,.09);
  animation: slideIn .45s cubic-bezier(.2,.8,.2,1);
}
.feed li i { width: 8px; height: 8px; border-radius: 50%; flex: none; background: #34d399; }
.feed .k-pass i { background: #a78bfa; }
.feed .k-late i { background: var(--warn); }
.feed .k-miss i { background: #ff5a5a; }
.feed .k-back i { background: var(--sky); }
.feed li > div { min-width: 0; }
.feed b { display: block; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.feed span { display: block; font-size: 11px; color: rgba(232,240,255,.55); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@keyframes slideIn { from { opacity: 0; transform: translateY(10px) scale(.97); } }
.legend { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 10px; padding-left: 4px; font-size: 11px; color: rgba(232,240,255,.55); }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 10px; height: 10px; border-radius: 3px; }
.lg-room { background: rgba(43, 139, 255, .45); }
.lg-pass { background: #a78bfa; border-radius: 50% !important; }
.lg-miss { background: #ff5a5a; border-radius: 50% !important; }

@media (max-width: 560px) {
  .live { padding: 12px; }
  .live-stats { grid-template-columns: repeat(2, 1fr); }
  .feed { grid-template-columns: 1fr; }
  .feed li:nth-child(n+2) { display: none; }
  .float-card { display: none; }
}

/* ---------- Strip ---------- */
.strip { background: var(--navy-900); color: rgba(255,255,255,.7); border-top: 1px solid rgba(255,255,255,.06); }
.strip-row { display: flex; align-items: center; gap: 28px; padding-top: 22px; padding-bottom: 22px; flex-wrap: wrap; }
.strip p { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--sky); }
.strip ul { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.strip li { font-weight: 600; font-size: 15px; color: rgba(255,255,255,.82); }

/* ---------- Sections ---------- */
.section { padding: 104px 0; }
.section.alt { background: var(--bg-alt); }
.section-head { max-width: 720px; margin-bottom: 52px; }
.section-head h2 { font-size: clamp(32px, 4.4vw, 50px); font-weight: 800; margin-top: 12px; }
.section-lead { margin-top: 16px; font-size: 18.5px; color: var(--muted); }
@media (max-width: 700px) { .section { padding: 72px 0; } .section-head { margin-bottom: 36px; } }

/* Product overview cards */
.cards-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 1080px) { .cards-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .cards-4 { grid-template-columns: 1fr; } }
.p-card {
  position: relative; display: flex; flex-direction: column; gap: 12px;
  padding: 26px 24px 24px; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line);
  text-decoration: none; overflow: hidden;
  transition: transform .2s ease, box-shadow .25s ease, border-color .25s ease;
}
.p-card::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: var(--acc);
}
.p-card:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -24px rgba(8, 20, 50, .35); border-color: color-mix(in srgb, var(--acc) 40%, var(--line)); }
.p-icon {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px;
  color: var(--acc); background: color-mix(in srgb, var(--acc) 13%, #fff);
}
.p-icon .ic { width: 24px; height: 24px; }
.p-card h3 { font-size: 19px; font-weight: 800; }
.p-card p { color: var(--ink-2); font-size: 15.5px; }
.p-for { font-size: 13px; color: var(--muted); font-weight: 600; margin-top: auto; }
.p-more { display: inline-flex; align-items: center; gap: 6px; font-size: 14.5px; font-weight: 700; color: var(--acc); }
.p-card:hover .p-more .ic { transform: translateX(3px); }
.p-more .ic { transition: transform .2s; }

/* Product detail sections */
.product-grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: 64px; align-items: center; }
.product-grid.flip .product-copy { order: 2; }
@media (max-width: 1000px) {
  .product-grid { grid-template-columns: 1fr; gap: 44px; }
  .product-grid.flip .product-copy { order: 0; }
}
.product-copy h2 { font-size: clamp(30px, 3.8vw, 44px); font-weight: 800; margin: 14px 0 18px; }
.product-copy > p:not(.eyebrow):not(.for-line) { color: var(--ink-2); font-size: 17.5px; }
.checks { display: grid; gap: 11px; margin-top: 26px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; color: var(--ink-2); }
.checks .ic {
  width: 22px; height: 22px; padding: 4px; margin-top: 1px; border-radius: 50%;
  color: #fff; background: var(--acc); stroke-width: 3;
}
.for-line { margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 15px; color: var(--muted); }
.for-line b { color: var(--ink); }
.product-visual { position: relative; }
.product-visual::before {
  content: ""; position: absolute; inset: 8% -4% -6% 6%;
  border-radius: 32px; background: var(--acc); opacity: .14; filter: blur(40px);
}
.product-visual .win { position: relative; }

/* ---------- App mocks ---------- */
.app { display: grid; grid-template-columns: 50px minmax(0, 1fr); min-height: 380px; }
.app-side {
  display: flex; flex-direction: column; align-items: center; gap: 16px;
  padding: 14px 0; background: var(--navy-800); color: rgba(255,255,255,.5);
}
.app-side img { margin-bottom: 6px; }
.app-side .ic { width: 18px; height: 18px; }
.app-side .ic.on { color: #fff; width: 34px; height: 34px; padding: 8px; border-radius: 10px; background: var(--acc); margin: -8px 0; }
.app-main { padding: 16px; background: #f6f8fc; min-width: 0; position: relative; }
.app-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
.app-h { font-size: 16px; font-weight: 800; }
.app-s { font-size: 12px; color: var(--muted); }
.btn-fake {
  display: inline-block; padding: 7px 12px; border-radius: 9px;
  font-size: 12px; font-weight: 700; color: #fff; background: var(--acc); white-space: nowrap;
}
.btn-fake-quiet { color: var(--ink-2); background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.mini-label { font-size: 10.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0 0 7px; display: block; }
@media (max-width: 560px) {
  .app { grid-template-columns: 1fr; min-height: 0; }
  .app-side { display: none; }
  .app-main { padding: 12px; }
}

/* Attendance: My Classroom */
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 12px; }
.kpi { padding: 8px 10px; border-radius: 10px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.kpi b { display: block; font-size: 18px; font-variant-numeric: tabular-nums; }
.kpi span { font-size: 10.5px; color: var(--muted); font-weight: 600; }
.kpi:nth-child(1) b { color: var(--ok); }
.kpi:nth-child(2) b { color: #d97706; }
.kpi:nth-child(3) b { color: var(--c-pass); }
.roster { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.stu {
  display: flex; align-items: center; gap: 8px; min-width: 0;
  padding: 8px; border-radius: 11px; background: #fff;
  box-shadow: inset 0 0 0 1px var(--line);
  transition: box-shadow .3s, background .3s;
}
.stu .av {
  width: 28px; height: 28px; border-radius: 50%; flex: none;
  display: grid; place-items: center; font-size: 10.5px; font-weight: 800;
  color: #fff; background: #94a3b8; transition: background .3s;
}
.stu .nm { font-size: 12px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stu .st { font-size: 10.5px; color: var(--muted); font-weight: 600; white-space: nowrap; }
.stu > div { min-width: 0; }
.stu.s-present .av { background: var(--ok); }
.stu.s-present .st { color: var(--ok); }
.stu.s-late .av { background: var(--warn); }
.stu.s-late .st { color: #d97706; }
.stu.s-out .av { background: var(--c-pass); }
.stu.s-out .st { color: var(--c-pass); }
.stu.s-wait { background: #f8fafc; box-shadow: inset 0 0 0 1px var(--line); }
.stu.s-wait .nm { color: var(--muted); }
.stu.tap { animation: tap .7s ease; }
@keyframes tap { 0% { box-shadow: inset 0 0 0 2px var(--ok), 0 0 0 0 rgba(22, 163, 74, .45); } 100% { box-shadow: inset 0 0 0 1px var(--line), 0 0 0 12px rgba(22, 163, 74, 0); } }
@media (max-width: 560px) { .roster { grid-template-columns: repeat(2, minmax(0, 1fr)); } .kpis { grid-template-columns: repeat(2, 1fr); } }

/* Hall Pass: My class */
.meter { display: grid; gap: 5px; min-width: 130px; font-size: 11.5px; font-weight: 600; color: var(--muted); text-align: right; }
.meter b { color: var(--ink); font-variant-numeric: tabular-nums; }
.meter i { display: block; height: 7px; border-radius: 99px; background: #e5eaf3; overflow: hidden; }
.meter em { display: block; height: 100%; border-radius: 99px; background: var(--acc); transition: width .5s ease, background .3s; }
.meter em.hot { background: var(--warn); }
.pass-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pick { display: grid; gap: 5px; margin-bottom: 12px; }
.pick li {
  padding: 7px 10px; border-radius: 9px; background: #fff; font-weight: 600; font-size: 12.5px;
  box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .2s, background .2s;
  display: flex; justify-content: space-between; align-items: center; gap: 8px;
}
.pick li.sel { background: color-mix(in srgb, var(--acc) 10%, #fff); box-shadow: inset 0 0 0 2px var(--acc); }
.pick li.away { color: var(--muted); }
.pick li.away::after { content: "Out"; font-size: 10px; font-weight: 800; color: #fff; background: var(--c-pass); padding: 2px 7px; border-radius: 99px; }
.dests { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.dests span {
  padding: 8px; border-radius: 9px; text-align: center; font-weight: 700; font-size: 12px;
  background: #fff; box-shadow: inset 0 0 0 1px var(--line); transition: all .2s;
}
.dests span.press { color: #fff; background: var(--acc); box-shadow: none; transform: scale(.96); }
.outs { display: grid; gap: 6px; }
.outs li {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 9px 10px; border-radius: 10px; background: #fff;
  box-shadow: inset 0 0 0 1px var(--line), inset 3px 0 0 var(--acc);
  animation: slideIn .4s cubic-bezier(.2,.8,.2,1);
}
.outs b { display: block; font-size: 12.5px; }
.outs small { font-size: 11px; color: var(--muted); }
.outs .tm { font-weight: 800; font-variant-numeric: tabular-nums; font-size: 13px; }
.outs .back { font-size: 10.5px; font-weight: 700; color: var(--acc); background: color-mix(in srgb, var(--acc) 12%, #fff); padding: 3px 8px; border-radius: 7px; margin-left: 6px; }
.outs .empty { box-shadow: none; background: transparent; color: var(--muted); font-size: 12px; animation: none; }
.blocked {
  position: absolute; left: 16px; right: 16px; bottom: 16px;
  padding: 12px 14px; border-radius: 12px;
  background: #fff7ed; color: #7c2d12; font-size: 12.5px;
  box-shadow: 0 16px 30px -12px rgba(124, 45, 18, .35), inset 0 0 0 1px #fed7aa;
  animation: slideIn .35s cubic-bezier(.2,.8,.2,1);
}
.blocked b { color: #9a3412; }
.blocked-btns { display: flex; justify-content: flex-end; gap: 6px; margin-top: 8px; }
.blocked .btn-fake { background: #ea580c; }
.blocked .btn-fake-quiet { background: #fff; color: #7c2d12; }
.blocked[hidden] { display: none; }
@media (max-width: 560px) { .pass-grid { grid-template-columns: 1fr; } .meter { min-width: 100px; } .blocked { left: 12px; right: 12px; bottom: 12px; } }

/* Game Workers */
.pill-open { color: #b45309; background: #fef3c7; }
.games { display: grid; gap: 8px; }
.game {
  display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 12px; align-items: center;
  padding: 10px 12px; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1px var(--line);
}
.g-date { text-align: center; border-radius: 9px; background: #f1f5fb; padding: 5px 0; line-height: 1.1; }
.g-date small { display: block; font-size: 9.5px; font-weight: 800; color: var(--muted); letter-spacing: .06em; }
.g-date b { font-size: 17px; }
.g-name { font-weight: 800; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.g-meta { font-size: 11px; color: var(--muted); }
.slots { display: flex; gap: 4px; margin-top: 6px; flex-wrap: wrap; }
.slot {
  width: 24px; height: 24px; border-radius: 7px; display: grid; place-items: center;
  font-size: 9px; font-weight: 800; color: #fff; background: #3b82f6;
  transition: background .3s, transform .3s;
}
.slot.open { background: transparent; color: #94a3b8; box-shadow: inset 0 0 0 1.5px #cbd5e1; border: 0; }
.slot.open::before { content: "+"; font-size: 13px; font-weight: 600; }
.slot.pop { animation: pop .5s ease; }
@keyframes pop { 40% { transform: scale(1.25); } }
.chip { font-size: 11px; font-weight: 800; padding: 4px 9px; border-radius: 99px; white-space: nowrap; }
.chip.red { color: #b91c1c; background: #fee2e2; }
.chip.amber { color: #b45309; background: #fef3c7; }
.chip.green { color: #15803d; background: #dcfce7; }
.payroll {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  margin-top: 10px; padding: 12px 14px; border-radius: 12px;
  background: var(--navy-800); color: #fff;
}
.payroll .mini-label { color: rgba(255,255,255,.55); margin: 0; }
.payroll b { font-size: 20px; font-variant-numeric: tabular-nums; }
.exports { display: flex; gap: 6px; }
.exports span { font-size: 11px; font-weight: 700; padding: 5px 9px; border-radius: 8px; background: rgba(255,255,255,.1); }
.activity {
  display: flex; align-items: center; gap: 9px; margin-top: 10px;
  padding: 9px 12px; border-radius: 10px; min-height: 38px;
  background: #fff; box-shadow: inset 0 0 0 1px var(--line);
  font-size: 12px; font-weight: 600; color: var(--ink-2);
}
.activity i { width: 8px; height: 8px; border-radius: 50%; flex: none; background: var(--acc); box-shadow: 0 0 0 4px color-mix(in srgb, var(--acc) 18%, transparent); }
.activity span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.activity span.new { animation: slideIn .4s cubic-bezier(.2,.8,.2,1); }
@media (max-width: 560px) {
  .game { grid-template-columns: 40px minmax(0, 1fr); }
  .game .chip { grid-column: 2; justify-self: start; }
  .exports span:nth-child(n+2) { display: none; }
  .activity span { white-space: normal; }
}

/* Flex */
.pill-flex { color: #047857; background: #d1fae5; }
.pill-flex.closed { color: #334155; background: #e2e8f0; }
.classes { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cls {
  position: relative; padding: 11px 12px 12px; border-radius: 12px; background: #fff;
  box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .3s, background .3s;
}
.cls .t { font-weight: 800; font-size: 13px; }
.cls .w { font-size: 11px; color: var(--muted); margin-bottom: 9px; }
.cls .bar { height: 6px; border-radius: 99px; background: #e8edf5; overflow: hidden; }
.cls .bar em { display: block; height: 100%; background: var(--acc); border-radius: 99px; transition: width .6s ease, background .3s; }
.cls .left { display: flex; justify-content: space-between; margin-top: 6px; font-size: 11px; font-weight: 700; color: var(--muted); font-variant-numeric: tabular-nums; }
.cls.full .bar em { background: #94a3b8; }
.cls.full .left b { color: var(--bad); }
.cls.mine { background: color-mix(in srgb, var(--acc) 8%, #fff); box-shadow: inset 0 0 0 2px var(--acc); }
.cls.mine::after {
  content: "You're in"; position: absolute; top: 10px; right: 10px;
  font-size: 10px; font-weight: 800; color: #fff; background: var(--acc); padding: 3px 8px; border-radius: 99px;
}
@media (max-width: 460px) { .classes { grid-template-columns: 1fr; } .cls:nth-child(n+4) { display: none; } }

/* ---------- Platform ---------- */
.platform { background: var(--navy-950); color: #fff; position: relative; overflow: hidden; }
.platform::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(60% 50% at 80% 0%, rgba(43, 139, 255, .22), transparent 70%),
              radial-gradient(40% 40% at 0% 100%, rgba(143, 210, 255, .1), transparent 70%);
}
.platform .wrap { position: relative; }
.platform .section-lead { color: rgba(255,255,255,.65); }
.cards-feat { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 1080px) { .cards-feat { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cards-feat { grid-template-columns: 1fr; } }
.f-card {
  padding: 24px; border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.025));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.09);
  transition: box-shadow .25s, transform .2s;
}
.f-card:hover { box-shadow: inset 0 0 0 1px rgba(143, 210, 255, .35); transform: translateY(-3px); }
.f-icon {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; margin-bottom: 16px;
  color: var(--sky); background: rgba(43, 139, 255, .16); box-shadow: inset 0 0 0 1px rgba(143, 210, 255, .2);
}
.f-icon .ic { width: 22px; height: 22px; }
.f-card h3 { font-size: 17.5px; font-weight: 800; margin-bottom: 8px; }
.f-card p { font-size: 15px; color: rgba(255,255,255,.66); }
.f-card p a { color: #fff; font-weight: 600; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; }
@media (max-width: 1000px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.steps li { position: relative; padding: 26px 24px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.step-n {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; margin-bottom: 18px;
  font-weight: 800; color: #fff; background: linear-gradient(135deg, #3a9bff, var(--blue-700));
  box-shadow: 0 8px 18px -8px rgba(43, 139, 255, .8);
}
.steps h3 { font-size: 18px; font-weight: 800; margin-bottom: 8px; }
.steps p { font-size: 15.5px; color: var(--ink-2); }

/* ---------- Team ---------- */
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 900px) { .team { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .team { gap: 14px; } }
.member {
  position: relative; padding: 14px 14px 22px; border-radius: 22px;
  background: #fff; border: 1px solid var(--line);
  transition: transform .2s, box-shadow .25s;
}
.member:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -26px rgba(8, 20, 50, .4); }
.headshot {
  position: relative; aspect-ratio: 1 / 1; border-radius: 14px; overflow: hidden; margin-bottom: 18px;
  background:
    radial-gradient(80% 80% at 70% 20%, rgba(143, 210, 255, .55), transparent 60%),
    linear-gradient(145deg, var(--blue-600), var(--navy-800));
}
.headshot::before {
  content: attr(data-initials);
  position: absolute; inset: 0; display: grid; place-items: center;
  font-size: clamp(40px, 7vw, 72px); font-weight: 800; letter-spacing: -.03em; color: rgba(255,255,255,.92);
}
.headshot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.headshot img.missing { display: none; }
.role-tag {
  position: absolute; top: 26px; right: 26px;
  font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  color: var(--navy-900); background: rgba(255,255,255,.92); padding: 5px 10px; border-radius: 99px;
  box-shadow: 0 4px 12px -4px rgba(0,0,0,.3);
}
.member h3 { font-size: 22px; font-weight: 800; padding: 0 6px; }
.member p { color: var(--muted); font-weight: 600; font-size: 15px; padding: 2px 6px 0; }
@media (max-width: 560px) {
  .member { padding: 10px 10px 16px; border-radius: 18px; }
  .headshot { margin-bottom: 12px; }
  .role-tag { top: 18px; right: 18px; font-size: 10.5px; padding: 4px 8px; }
  .member h3 { font-size: 18px; padding: 0 4px; }
  .member p { font-size: 13.5px; padding: 2px 4px 0; }
}

/* ---------- CTA ---------- */
.cta { position: relative; overflow: hidden; background: var(--navy-950); color: #fff; padding: 104px 0; text-align: center; }
.cta .hero-glow { inset: -30% 0 auto 15%; width: 70%; }
.cta-inner { position: relative; display: flex; flex-direction: column; align-items: center; }
.cta-logo { width: 300px; max-width: 80%; height: auto; margin-bottom: 34px; filter: drop-shadow(0 20px 40px rgba(43, 139, 255, .3)); }
.cta h2 { font-size: clamp(32px, 4.6vw, 54px); font-weight: 800; max-width: 760px; }
.cta p { margin-top: 16px; font-size: 19px; color: rgba(255,255,255,.72); }
.cta .hero-ctas { justify-content: center; }
@media (max-width: 560px) { .cta { padding: 76px 0; } .cta .btn { width: 100%; justify-content: center; } }

/* ---------- Footer ---------- */
.footer { background: var(--navy-950); color: rgba(255,255,255,.6); border-top: 1px solid rgba(255,255,255,.07); font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; padding-top: 56px; padding-bottom: 40px; }
.footer-brand p { margin-top: 12px; }
.footer h4 { color: #fff; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 14px; }
.footer nav a { display: block; text-decoration: none; padding: 4px 0; }
.footer nav a:hover { color: #fff; }
.footer-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding-top: 22px; padding-bottom: 32px; border-top: 1px solid rgba(255,255,255,.07); font-size: 13.5px; }
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* ---------- Scroll reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
