/* =========================================================
   NOVIBU.COM — Core Stylesheet
   Design tokens → reset → layout primitives → components
   ========================================================= */

:root {
  /* ---- Palette ---- */
  --bg: #08090b;
  --bg-elevated: #0e1013;
  --panel: #101216;
  --panel-border: rgba(255, 255, 255, 0.08);
  --panel-border-strong: rgba(255, 255, 255, 0.14);

  --text-primary: #f5f5f7;
  --text-secondary: #b7bac1;
  --text-muted: #7d818b;

  /* Aurora hues — monochrome electric-blue system, white-weighted, no purple */
  --aurora-blue-deep: #1c4dd6;
  --aurora-blue: #2f7fff;
  --aurora-white: #e8f0ff;

  /* Corporate accent — electric blue, used for value signals only */
  --accent: #2f7fff;
  --accent-bright: #5aa4ff;
  --accent-soft: rgba(47, 127, 255, 0.16);

  --radius-s: 10px;
  --radius-m: 16px;
  --radius-l: 24px;
  --radius-xl: 32px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  --container-w: 1180px;

  --font-display: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
}

/* ---------------------------------------------------------
   Reset
   --------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
input, textarea { font: inherit; color: inherit; }

h1, h2, h3, h4, p { margin: 0; }

::selection {
  background: var(--accent-soft);
  color: var(--text-primary);
}

/* Focus visibility — accessibility floor */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--panel);
  color: var(--text-primary);
  padding: 12px 18px;
  border-radius: var(--radius-s);
  border: 1px solid var(--panel-border-strong);
  z-index: 1000;
  transition: top 0.2s var(--ease-out);
}
.skip-link:focus {
  top: 16px;
}

/* ---------------------------------------------------------
   Layout primitives
   --------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 32px;
}

.section {
  position: relative;
  padding: 140px 0;
}

.section-head {
  max-width: 640px;
  margin: 0 auto 64px;
  text-align: center;
}

.section-head--left {
  margin: 0 0 40px;
  text-align: left;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 3.6vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.section-desc {
  margin-top: 18px;
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.65;
  max-width: 46ch;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 18px;
}

.eyebrow__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px 2px var(--accent-soft);
}

/* ---------------------------------------------------------
   Aurora background
   --------------------------------------------------------- */
.aurora {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.aurora__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(130px);
  opacity: 0.4;
  will-change: transform;
}

.aurora__blob--a {
  width: 58vw;
  height: 58vw;
  top: -22vw;
  left: -12vw;
  background: radial-gradient(circle at 30% 30%, var(--aurora-blue-deep), transparent 70%);
  animation: auroraDriftA 34s var(--ease-in-out) infinite alternate;
}

.aurora__blob--b {
  width: 46vw;
  height: 46vw;
  top: 8vh;
  right: -16vw;
  background: radial-gradient(circle at 60% 40%, var(--aurora-blue), transparent 70%);
  opacity: 0.85;
  animation: auroraDriftB 40s var(--ease-in-out) infinite alternate;
}

.aurora__blob--c {
  width: 42vw;
  height: 42vw;
  bottom: -20vh;
  left: 22vw;
  background: radial-gradient(circle at 50% 50%, var(--aurora-white), transparent 70%);
  opacity: 0.18;
  animation: auroraDriftC 46s var(--ease-in-out) infinite alternate;
}

.aurora__grain {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.35'/%3E%3C/svg%3E");
  opacity: 0.05;
  mix-blend-mode: overlay;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  background: radial-gradient(ellipse at 50% 0%, transparent 0%, var(--bg) 72%);
  pointer-events: none;
}

/* Mouse reactive glow */
.cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 640px;
  height: 640px;
  margin-left: -320px;
  margin-top: -320px;
  background: radial-gradient(circle, rgba(47, 127, 255, 0.16) 0%, rgba(90, 164, 255, 0.08) 40%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  transform: translate3d(var(--mx, 50vw), var(--my, 30vh), 0);
  transition: opacity 0.4s var(--ease-out);
  will-change: transform;
  opacity: 0;
}
.cursor-glow.is-active { opacity: 1; }

/* ---------------------------------------------------------
   Header / nav
   --------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 22px 0;
  transition: padding 0.35s var(--ease-out), background 0.35s var(--ease-out), border-color 0.35s var(--ease-out);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  padding: 14px 0;
  background: rgba(8, 9, 11, 0.72);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--panel-border);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: linear-gradient(145deg, var(--aurora-blue-deep), var(--aurora-blue));
  color: #08090b;
  font-weight: 800;
  font-size: 0.9rem;
}

.brand__dot { color: var(--text-muted); font-weight: 500; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.site-nav a {
  font-size: 0.92rem;
  color: var(--text-secondary);
  position: relative;
  padding: 4px 0;
  transition: color 0.25s var(--ease-out);
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.3s var(--ease-out);
}

.site-nav a:hover { color: var(--text-primary); }
.site-nav a:hover::after { width: 100%; }

.nav-cta { flex-shrink: 0; }

/* ---------------------------------------------------------
   Buttons
   --------------------------------------------------------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.94rem;
  letter-spacing: -0.005em;
  padding: 13px 24px;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), background 0.35s var(--ease-out), border-color 0.35s var(--ease-out);
  white-space: nowrap;
}

.btn--primary {
  background: var(--text-primary);
  color: #08090b;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.4) inset, 0 12px 30px -12px rgba(47, 127, 255, 0.35);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.4) inset, 0 18px 40px -14px rgba(47, 127, 255, 0.55);
}

.btn--primary:active { transform: translateY(0); }

.btn--ghost {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-primary);
  border: 1px solid var(--panel-border-strong);
  backdrop-filter: blur(8px);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.24);
  transform: translateY(-2px);
}

.btn--large { padding: 16px 30px; font-size: 1rem; }
.btn--small { padding: 9px 18px; font-size: 0.85rem; }

.btn__icon { transition: transform 0.3s var(--ease-out); }
.btn:hover .btn__icon { transform: translateX(3px); }

.btn--submit { width: 100%; margin-top: 8px; }

.btn__spinner {
  display: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid rgba(8, 9, 11, 0.25);
  border-top-color: #08090b;
}

.btn--submit.is-loading .btn__label { opacity: 0; }
.btn--submit.is-loading .btn__spinner {
  display: block;
  position: absolute;
  animation: spin 0.7s linear infinite;
}
.btn--submit.is-loading { pointer-events: none; opacity: 0.85; }

/* ---------------------------------------------------------
   Hero
   --------------------------------------------------------- */
.hero {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 160px 0 100px;
}

.hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3.4rem, 12vw, 9.5rem);
  line-height: 0.94;
  letter-spacing: -0.045em;
  margin: 6px 0 28px;
  color: #f5f5f7;
  text-shadow: 0 4px 60px rgba(47, 127, 255, 0.18);
}

.reveal-line { display: block; overflow: hidden; }
.reveal-line__inner { display: inline-block; will-change: transform, opacity; }

.hero__title .reveal-line--suffix {
  font-weight: 600;
  font-size: 0.42em;
  letter-spacing: -0.02em;
  color: var(--text-muted);
  -webkit-text-fill-color: var(--text-muted);
  margin-top: 4px;
}

.hero__subtitle {
  font-family: var(--font-mono);
  font-size: 0.98rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 22px;
}

.hero__desc {
  max-width: 46ch;
  font-size: 1.15rem;
  line-height: 1.65;
  color: var(--text-secondary);
  margin-bottom: 44px;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 88px;
}

/* Signature element — the domain "plate" */
.hero__plate { width: 100%; max-width: 720px; }

.plate {
  position: relative;
  border-radius: var(--radius-l);
  padding: 28px 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--panel-border-strong);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  overflow: hidden;
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.6);
}

.plate__sheen {
  position: absolute;
  inset: -40%;
  background: conic-gradient(from 180deg at 50% 50%, transparent 0deg, rgba(255, 255, 255, 0.09) 40deg, transparent 90deg, transparent 260deg, rgba(47, 127, 255, 0.12) 300deg, transparent 340deg);
  animation: plateSheen 10s linear infinite;
  pointer-events: none;
}

.plate__row {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  flex-wrap: wrap;
}

.plate__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 72px;
}

.plate__stat-value {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 1.3rem;
  color: var(--text-primary);
}

.plate__stat-label {
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.plate__divider {
  width: 1px;
  height: 30px;
  background: var(--panel-border-strong);
}

.scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.scroll-hint__line {
  width: 1px;
  height: 34px;
  background: linear-gradient(180deg, var(--text-muted), transparent);
  position: relative;
  overflow: hidden;
}

.scroll-hint__line::after {
  content: "";
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, transparent, var(--accent));
  animation: scrollLine 2.2s var(--ease-in-out) infinite;
}

/* ---------------------------------------------------------
   Glass card base (shared)
   --------------------------------------------------------- */
.glass {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.01));
  border: 1px solid var(--panel-border);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-radius: var(--radius-l);
}

.why, .fit, .features, .process, .offer {
  position: relative;
  z-index: 2;
}

/* ---------------------------------------------------------
   Why Novibu
   --------------------------------------------------------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.why-card {
  padding: 36px 32px;
  border-radius: var(--radius-l);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.01));
  border: 1px solid var(--panel-border);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  transition: transform 0.45s var(--ease-out), border-color 0.45s var(--ease-out), background 0.45s var(--ease-out);
}

.why-card:hover {
  transform: translateY(-6px);
  border-color: var(--panel-border-strong);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.015));
}

.why-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}

.why-card p {
  color: var(--text-secondary);
  font-size: 0.96rem;
  line-height: 1.65;
}

/* ---------------------------------------------------------
   Perfect For
   --------------------------------------------------------- */
.fit-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.fit-card {
  padding: 30px 24px;
  border-radius: var(--radius-m);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
  border: 1px solid var(--panel-border);
  transition: transform 0.4s var(--ease-out), border-color 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}

.fit-card:hover {
  transform: translateY(-6px);
  border-color: rgba(47, 127, 255, 0.35);
  box-shadow: 0 24px 50px -24px rgba(47, 127, 255, 0.25);
}

.fit-card__index {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--accent);
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  margin-bottom: 20px;
}

.fit-card h3 {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.fit-card p {
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.55;
}

/* ---------------------------------------------------------
   Premium Features
   --------------------------------------------------------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.feature {
  padding: 32px 22px;
  text-align: center;
  border-radius: var(--radius-m);
  border: 1px solid var(--panel-border);
  background: rgba(255, 255, 255, 0.02);
  transition: transform 0.4s var(--ease-out), border-color 0.4s var(--ease-out);
}

.feature:hover {
  transform: translateY(-5px);
  border-color: var(--panel-border-strong);
}

.feature__glyph {
  width: 50px;
  height: 50px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(47, 127, 255, 0.18), rgba(90, 164, 255, 0.1));
  color: var(--text-primary);
}

.feature h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  margin-bottom: 8px;
}

.feature p {
  color: var(--text-secondary);
  font-size: 0.86rem;
  line-height: 1.55;
}

/* ---------------------------------------------------------
   Acquisition Process
   --------------------------------------------------------- */
.process-list {
  display: flex;
  flex-direction: column;
  max-width: 760px;
  margin: 0 auto;
}

.process-step {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  padding: 36px 8px;
  border-top: 1px solid var(--panel-border);
}

.process-step:last-child { border-bottom: 1px solid var(--panel-border); }

.process-step__num {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  color: var(--accent);
  padding-top: 4px;
  flex-shrink: 0;
  width: 40px;
}

.process-step__body h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}

.process-step__body p {
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.65;
  max-width: 52ch;
}

/* ---------------------------------------------------------
   Offer form
   --------------------------------------------------------- */
.offer__inner {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 72px;
  align-items: start;
}

.offer-form-wrap {
  position: relative;
  padding: 40px;
  border-radius: var(--radius-l);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--panel-border-strong);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.65);
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.field label {
  font-size: 0.84rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.field label span { color: var(--accent); }

.field__optional,
.field label .field__optional {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 400;
  margin-left: 0.35rem;
}

.field input,
.field textarea {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--panel-border-strong);
  border-radius: var(--radius-s);
  padding: 13px 15px;
  color: var(--text-primary);
  transition: border-color 0.25s var(--ease-out), background 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
  width: 100%;
}

.field input::placeholder,
.field textarea::placeholder { color: var(--text-muted); }

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

.field textarea { resize: vertical; min-height: 110px; }

.field__prefixed {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--panel-border-strong);
  border-radius: var(--radius-s);
  padding: 0 15px;
  transition: border-color 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
}

.field__prefixed span {
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.field__prefixed input {
  border: none;
  background: none;
  padding: 13px 6px;
}
.field__prefixed input:focus { box-shadow: none; }

.field__prefixed:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

.field.has-error input,
.field.has-error textarea {
  border-color: #e0637a;
}

.field__error {
  min-height: 16px;
  font-size: 0.78rem;
  color: #e0637a;
}

.offer-form__note {
  margin-top: 16px;
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align: center;
}

.offer-success {
  text-align: center;
  padding: 40px 10px;
}

.offer-success__check {
  width: 76px;
  height: 76px;
  margin: 0 auto 24px;
}

.offer-success__circle {
  stroke: var(--accent);
  stroke-width: 2;
  stroke-dasharray: 151;
  stroke-dashoffset: 151;
  animation: drawCircle 0.6s var(--ease-out) forwards;
}

.offer-success__mark {
  stroke: var(--text-primary);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 40;
  stroke-dashoffset: 40;
  animation: drawCheck 0.4s var(--ease-out) 0.5s forwards;
}

.offer-success h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.offer-success p {
  color: var(--text-secondary);
  max-width: 42ch;
  margin: 0 auto;
  line-height: 1.6;
}

.form-status {
  margin-top: 16px;
  font-size: 0.85rem;
  color: #e0637a;
  text-align: center;
  min-height: 18px;
}

/* ---------------------------------------------------------
   Accessibility utility
   --------------------------------------------------------- */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------------------------------------------------------
   Score card section
   --------------------------------------------------------- */
.score-table-wrap {
  border-radius: var(--radius-l);
  border: 1px solid var(--panel-border);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  overflow: hidden;
  margin-bottom: 28px;
}

.score-table {
  width: 100%;
  border-collapse: collapse;
}

.score-table th,
.score-table td {
  text-align: left;
  padding: 18px 28px;
  font-size: 0.96rem;
}

.score-table thead th {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 500;
  border-bottom: 1px solid var(--panel-border-strong);
  padding-top: 20px;
  padding-bottom: 14px;
}

.score-table tbody th {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--text-primary);
}

.score-table tbody tr {
  border-bottom: 1px solid var(--panel-border);
}

.score-table tbody tr:last-child { border-bottom: none; }

.score-table tbody tr:hover {
  background: rgba(47, 127, 255, 0.045);
}

.stars {
  display: inline-flex;
  gap: 3px;
  font-size: 1.05rem;
  line-height: 1;
}

.star {
  color: rgba(255, 255, 255, 0.16);
}

.star--on {
  color: var(--accent);
  text-shadow: 0 0 14px rgba(47, 127, 255, 0.45);
}

.score-cards {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  margin-bottom: 28px;
}

.score-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  padding: 30px 16px;
  border-radius: var(--radius-m);
  border: 1px solid var(--panel-border);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.01));
  transition: transform 0.4s var(--ease-out), border-color 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}

.score-card:hover {
  transform: translateY(-5px);
  border-color: rgba(47, 127, 255, 0.4);
  box-shadow: 0 24px 50px -26px rgba(47, 127, 255, 0.35);
}

.score-card__value {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 2.1rem;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.score-card__max {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-left: 2px;
}

.score-card__label {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.score-disclaimer {
  max-width: 62ch;
  margin: 0 auto;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.site-footer {
  position: relative;
  z-index: 2;
  padding: 56px 0 48px;
  border-top: 1px solid var(--panel-border);
}

.site-footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
}

.site-footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
}

.site-footer__note {
  color: var(--text-secondary);
  font-size: 0.92rem;
}

.site-footer__legal {
  color: var(--text-muted);
  font-size: 0.8rem;
}
