:root {
  --ivory: #fffff0;
  --gunmetal: #1f262a;
  --gunmetal-deep: #111719;
  --gunmetal-soft: #252e32;
  --muted: #8c989e;
  --muted-dark: #5b676d;
  --gold: #c89a65;
  --gold-soft: #d9b386;
  --line: rgba(200, 154, 101, 0.28);
  --line-soft: rgba(255, 255, 240, 0.09);
  --card: #20282c;
  --card-deep: #171d20;
  --green: #67b27a;
  --max: 1240px;
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.3);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--gunmetal-deep);
  color: var(--ivory);
  font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,240,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,240,.018) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.5), transparent 72%);
  z-index: -1;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.shell { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.skip-link {
  position: fixed; left: 16px; top: 12px; z-index: 1000;
  padding: 10px 14px; background: var(--ivory); color: var(--gunmetal-deep);
  border-radius: 8px; transform: translateY(-160%); transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background .25s ease, border-color .25s ease, backdrop-filter .25s ease;
}
.site-header.is-scrolled {
  background: rgba(17, 23, 25, .92);
  border-color: var(--line-soft);
  backdrop-filter: blur(16px);
}
.header-inner { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; width: 252px; min-width: 190px; }
.brand img { width: 100%; height: auto; }
.site-nav { display: flex; align-items: center; gap: 28px; font-size: .79rem; font-weight: 700; letter-spacing: .04em; }
.site-nav > a:not(.button) { color: #d0d5d4; text-decoration: none; transition: color .2s ease; }
.site-nav > a:not(.button):hover, .site-nav > a:not(.button):focus-visible { color: var(--gold-soft); }
.menu-toggle { display: none; width: 44px; height: 44px; background: transparent; border: 1px solid var(--line); border-radius: 12px; padding: 11px; }
.menu-toggle span { display: block; height: 1.5px; margin: 4px 0; background: var(--ivory); transition: transform .2s ease, opacity .2s ease; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 22px; border: 1px solid var(--gold);
  border-radius: 999px; background: var(--gold); color: #171b1d;
  text-decoration: none; font-weight: 800; font-size: .82rem; letter-spacing: .025em;
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.button:hover, .button:focus-visible { transform: translateY(-2px); background: var(--gold-soft); border-color: var(--gold-soft); }
.button-small { min-height: 42px; padding-inline: 18px; font-size: .73rem; }
.text-link { display: inline-flex; align-items: center; gap: 9px; color: #d2d7d6; text-decoration: none; font-size: .82rem; font-weight: 700; }
.text-link:hover, .text-link:focus-visible { color: var(--gold-soft); }

.hero { min-height: 100vh; padding: 166px 0 64px; position: relative; overflow: hidden; }
.hero::after {
  content: ""; position: absolute; right: -10%; top: 19%; width: 46vw; height: 46vw; max-width: 660px; max-height: 660px;
  border: 1px solid rgba(200,154,101,.09); border-radius: 50%; z-index: -1;
}
.hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: 72px; }
.eyebrow, .section-kicker {
  color: var(--gold-soft); text-transform: uppercase; letter-spacing: .18em;
  font-weight: 800; font-size: .68rem;
}
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 9px 13px; border: 1px solid var(--line); border-radius: 999px; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(103,178,122,.1); }
.hero h1 { max-width: 730px; margin: 25px 0 18px; font-size: clamp(3.35rem, 6.2vw, 6.7rem); line-height: .98; letter-spacing: -.055em; font-weight: 600; }
.hero h1 span { color: var(--gold); font-family: "Playfair Display", Georgia, serif; font-weight: 600; letter-spacing: -.035em; }
.hero-lead { margin: 0; font-size: clamp(1.15rem, 2vw, 1.55rem); color: var(--ivory); font-weight: 500; }
.hero-detail { max-width: 650px; margin: 18px 0 0; color: #aeb7b9; font-size: 1rem; }
.hero-actions { display: flex; align-items: center; gap: 26px; margin-top: 34px; }
.hero-note { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 34px; color: var(--muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; }
.hero-note strong { color: var(--ivory); font-size: .75rem; }
.hero-note span + strong::before, .hero-note strong + span::before { content: ""; display: inline-block; width: 3px; height: 3px; margin-right: 16px; border-radius: 50%; background: var(--gold); vertical-align: middle; }

.hero-preview { position: relative; min-width: 0; }
.preview-orbit { position: absolute; inset: 7% -8% -6% 6%; border: 1px solid rgba(200,154,101,.13); border-radius: 48%; transform: rotate(-8deg); }
.preview-card { position: relative; z-index: 1; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #151b1e; box-shadow: var(--shadow); overflow: hidden; }
.preview-topbar { min-height: 52px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; padding: 0 18px; border-bottom: 1px solid var(--line-soft); color: var(--muted); font-size: .63rem; letter-spacing: .05em; }
.window-dots { display: flex; gap: 6px; }
.window-dots span { width: 7px; height: 7px; border: 1px solid var(--muted-dark); border-radius: 50%; }
.preview-state { justify-self: end; color: var(--gold-soft); font-weight: 800; }
.preview-stage { padding: 28px 30px 0; min-height: 600px; display: flex; flex-direction: column; align-items: center; background: #1b2226; }
.preview-logo { width: min(310px, 78%); margin: 0 auto 24px; }
.device-frame { width: min(385px, 88%); margin-top: auto; padding: 10px 10px 0; border: 1px solid var(--line); border-bottom: 0; border-radius: 25px 25px 0 0; background: #0e1315; box-shadow: 0 14px 42px rgba(0,0,0,.32); overflow: hidden; }
.device-frame img { width: 100%; height: auto; border-radius: 17px 17px 0 0; }

.proof-strip { margin-top: 76px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.proof-strip div { display: flex; align-items: center; gap: 15px; min-height: 82px; padding: 0 28px; border-right: 1px solid var(--line-soft); }
.proof-strip div:first-child { padding-left: 0; }
.proof-strip div:last-child { border-right: 0; }
.proof-strip span { color: var(--gold); font-size: .66rem; letter-spacing: .14em; }
.proof-strip strong { font-size: .78rem; color: #cdd3d3; letter-spacing: .01em; }

.section { padding: 126px 0; }
.product-section { background: var(--gunmetal); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.product-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: 84px; align-items: center; }
.product-visual { min-height: 650px; position: relative; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--card-deep); box-shadow: var(--shadow); }
.court-image { position: absolute; inset: 0; background-image: url("assets/images/attendance-court.webp"); background-size: cover; background-position: center; opacity: .88; }
.court-image::after { content: ""; position: absolute; inset: 0; background: rgba(17,23,25,.34); }
.visual-label { position: absolute; left: 24px; right: 24px; bottom: 24px; padding: 20px 22px; border: 1px solid rgba(255,255,240,.13); border-radius: var(--radius-sm); background: rgba(17,23,25,.88); backdrop-filter: blur(12px); }
.visual-label span { color: var(--gold-soft); font-size: .63rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.visual-label strong { display: block; margin-top: 5px; font-size: .9rem; }
.product-logo { width: min(410px, 88%); margin: 22px 0 26px; }
.product-copy h2, .section-heading h2, .principles-intro h2, .closing-panel h2 { margin: 0; font-size: clamp(2.25rem, 4vw, 4.3rem); line-height: 1.08; letter-spacing: -.045em; }
.product-copy > p { max-width: 690px; margin: 22px 0 0; color: #aeb7b9; font-size: 1rem; }
.feature-list { margin-top: 35px; border-top: 1px solid var(--line-soft); }
.feature-list article { display: grid; grid-template-columns: 52px 1fr; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--line-soft); }
.feature-number { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--gold-soft); font-size: .66rem; font-weight: 800; }
.feature-list h3 { margin: 0 0 4px; font-size: .98rem; }
.feature-list p { margin: 0; color: var(--muted); font-size: .84rem; }
.product-actions { display: flex; align-items: center; gap: 20px; margin-top: 32px; }
.beta-label { color: var(--muted); font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }

.suite-section { background: #151b1e; }
.section-heading { display: grid; grid-template-columns: 1.35fr .65fr; gap: 70px; align-items: end; margin-bottom: 52px; }
.section-heading h2 { margin-top: 14px; }
.section-heading > p { margin: 0; color: var(--muted); font-size: .92rem; }
.suite-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}

.suite-card {
  grid-column: span 2;
  min-height: 295px;
  padding: 24px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  background: var(--card-deep);
  display: flex;
  flex-direction: column;
  transition: border-color .2s ease, transform .2s ease;
}

.suite-card-main {
  grid-column: span 3;
}

.suite-card:hover {
  transform: translateY(-3px);
  border-color: var(--line);
}

.suite-card-live {
  border-color: var(--gold);
  background: #20272b;
}
.suite-card-top {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 30px;
}

.live-badge,
.soon-badge {
  flex-shrink: 0;
  font-size: .56rem;
  font-weight: 800;
  letter-spacing: .11em;
  padding: 7px 9px;
  border-radius: 999px;
}

.live-badge {
  color: #aee4b8;
  border: 1px solid rgba(103, 178, 122, .35);
}

.soon-badge {
  color: var(--muted);
  border: 1px solid var(--line-soft);
}

.suite-card-logo-wrap {
  display: flex;
  align-items: center;
  min-height: 78px;
  margin: 20px 0 14px;
}

.suite-card-logo {
  display: block;
  width: auto;
  max-width: min(100%, 245px);
  height: 60px;
  object-fit: contain;
  object-position: left center;
}

.suite-card p {
  margin: 0;
  color: var(--muted);
  font-size: .83rem;
}

.suite-card a {
  margin-top: auto;
  padding-top: 26px;
  color: var(--ivory);
  text-decoration: none;
  font-size: .75rem;
  font-weight: 800;
}

.suite-card a:hover {
  color: var(--gold-soft);
}

.principles-section { background: var(--gunmetal); border-top: 1px solid var(--line-soft); }
.principles-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 100px; }
.principles-intro h2 { margin-top: 16px; }
.principles-intro h2 span { color: var(--gold); font-family: "Playfair Display", Georgia, serif; }
.principles-intro p { max-width: 520px; margin-top: 24px; color: var(--muted); }
.principles-list { border-top: 1px solid var(--line-soft); }
.principles-list article { display: grid; grid-template-columns: 48px 1fr; gap: 22px; padding: 28px 0; border-bottom: 1px solid var(--line-soft); }
.principles-list article > span { color: var(--gold); font-size: .66rem; font-weight: 800; letter-spacing: .14em; }
.principles-list h3 { margin: 0 0 5px; font-size: 1rem; }
.principles-list p { margin: 0; color: var(--muted); font-size: .85rem; }

.closing-section { padding: 52px 0 112px; background: var(--gunmetal); }
.closing-panel { display: grid; grid-template-columns: 94px 1fr auto; align-items: center; gap: 28px; padding: 38px; border: 1px solid var(--gold); border-radius: var(--radius-lg); background: #171d20; }
.closing-panel img { width: 94px; border-radius: 22px; }
.closing-panel h2 { margin-top: 8px; font-size: clamp(1.8rem, 3.4vw, 3.25rem); }
.closing-panel p { margin: 8px 0 0; color: var(--muted); }

.site-footer { background: #0d1214; border-top: 1px solid var(--line-soft); }
.footer-inner { min-height: 100px; display: flex; align-items: center; justify-content: space-between; gap: 28px; color: var(--muted); font-size: .69rem; }
.footer-inner p { margin: 0; }
.footer-inner div { display: flex; gap: 18px; }
.footer-inner a { color: var(--ivory); text-decoration: none; }
.footer-inner a:hover { color: var(--gold-soft); }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-delay { transition-delay: .12s; }

/* Legal */
.legal-page { background: var(--gunmetal-deep); }
.legal-main { padding-top: 88px; }
.legal-hero { padding: 100px 0 72px; border-bottom: 1px solid var(--line-soft); background: var(--gunmetal); }
.legal-shell { max-width: 940px; }
.legal-hero h1 { margin: 22px 0 6px; font-size: clamp(3rem, 7vw, 5.7rem); letter-spacing: -.055em; line-height: 1; }
.legal-hero p { color: var(--muted); margin: 0; }
.legal-content { padding: 72px 0 120px; }
.legal-summary { padding: 28px; margin-bottom: 34px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--card); }
.legal-summary h2 { margin: 0 0 8px; font-size: 1.4rem; }
.legal-summary p { margin: 0 0 12px; color: var(--muted); }
.legal-summary a, .legal-copy a { color: var(--gold-soft); text-underline-offset: 4px; }
.legal-copy { color: #c5cbca; }
.legal-copy h2 { margin: 46px 0 12px; color: var(--ivory); font-size: 1.18rem; }
.legal-copy h2:first-child { margin-top: 0; }
.legal-copy p, .legal-copy li { font-size: .92rem; }
.legal-copy ul { padding-left: 22px; }
.legal-copy li { margin: 8px 0; }

/* Error */
.error-page { min-height: 100vh; display: grid; place-items: center; padding: 30px; }
.error-wrap { max-width: 620px; text-align: center; }
.error-wrap img { width: 120px; margin: 0 auto 28px; }
.error-wrap h1 { margin: 22px 0 12px; font-size: clamp(2.6rem, 7vw, 5rem); letter-spacing: -.05em; }
.error-wrap p { margin: 0 0 28px; color: var(--muted); }

@media (max-width: 1040px) {
  .hero-grid,
  .product-grid,
  .principles-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 58px;
  }

  .hero-copy {
    max-width: 820px;
  }

  .hero-preview {
    max-width: 720px;
    width: 100%;
    margin-inline: auto;
  }

  .product-grid {
    gap: 58px;
  }

  .product-visual {
    min-height: 540px;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .suite-card,
  .suite-card-main {
    grid-column: span 3;
  }

  .suite-card:nth-child(5) {
    grid-column: 2 / span 4;
  }

  .principles-grid {
    gap: 56px;
  }
}

@media (max-width: 820px) {
  .header-inner {
    min-height: 76px;
  }

  .brand {
    width: 220px;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav:not(.legal-nav) {
    position: fixed;
    top: 76px;
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(17, 23, 25, .98);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav:not(.legal-nav) > a:not(.button) {
    padding: 14px 12px;
    border-bottom: 1px solid var(--line-soft);
  }

  .site-nav .button {
    margin-top: 10px;
  }

  .hero {
    padding-top: 132px;
  }

  .hero h1 {
    font-size: clamp(3rem, 12vw, 5.5rem);
  }

  .proof-strip {
    grid-template-columns: 1fr;
  }

  .proof-strip div {
    min-height: 70px;
    padding: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line-soft);
  }

  .proof-strip div:last-child {
    border-bottom: 0;
  }

  .section {
    padding: 94px 0;
  }

  .suite-grid {
    grid-template-columns: 1fr;
  }

  .suite-card,
  .suite-card-main,
  .suite-card:nth-child(5) {
    grid-column: auto;
  }

  .closing-panel {
    grid-template-columns: 72px 1fr;
  }

  .closing-panel img {
    width: 72px;
  }

  .closing-panel .button {
    grid-column: 1 / -1;
  }

  .footer-inner {
    padding: 30px 0;
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 560px) {
  .shell { width: min(calc(100% - 28px), var(--max)); }
  .brand { width: 195px; }
  .hero { padding-top: 120px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 18px; }
  .hero-actions .button { width: 100%; }
  .hero-note { gap: 8px 10px; }
  .hero-note span + strong::before, .hero-note strong + span::before { margin-right: 10px; }
  .preview-topbar { grid-template-columns: 1fr auto; }
  .preview-topbar > span:nth-child(2) { display: none; }
  .preview-stage { min-height: 500px; padding: 22px 16px 0; }
  .device-frame { width: 92%; }
  .product-visual { min-height: 480px; }
  .product-logo { width: 100%; }
  .product-actions { align-items: flex-start; flex-direction: column; }
  .product-actions .button { width: 100%; }
  .feature-list article { grid-template-columns: 44px 1fr; gap: 12px; }
  .closing-panel { padding: 24px; grid-template-columns: 58px 1fr; gap: 18px; }
  .closing-panel img { width: 58px; border-radius: 14px; }
  .closing-panel h2 { font-size: 1.65rem; }
  .closing-panel p { font-size: .82rem; }
  .legal-nav a:not(.button) { display: none; }
  .legal-nav .button { min-height: 40px; padding-inline: 15px; font-size: .66rem; }
  .legal-hero { padding-top: 80px; }
}

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