:root {
  --navy: #0b1f4a;
  --navy-2: #1e4fa3;
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --sky: #4c9bff;
  --sky-soft: #dbeafe;
  --mist: #eef2f8;
  --mist-2: #f7f9fd;
  --ink: #0f172a;
  --muted: #475569;
  --muted-2: #64748b;
  --line: #d5ddea;
  --line-soft: #e6ebf3;
  --green: #15803d;
  --green-soft: #dcfce7;
  --amber: #b45309;
  --amber-soft: #fef3c7;
  --red: #b91c1c;
  --red-soft: #fee2e2;
  --white: #ffffff;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 16px 40px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 30px 80px rgba(5, 15, 40, 0.22);
  --radius: 22px;
  --radius-sm: 14px;
  --container: 1160px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color-scheme: light;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  font-feature-settings: "tnum";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

::selection {
  background: var(--sky);
  color: var(--white);
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

img {
  display: block;
  max-width: 100%;
}

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

h1,
h2,
h3 {
  line-height: 1.1;
  letter-spacing: -0.025em;
}

:focus-visible {
  outline: 3px solid var(--sky);
  outline-offset: 3px;
  border-radius: 6px;
}

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 1.1em;
  height: 1.1em;
  flex: 0 0 auto;
  display: inline-block;
  vertical-align: -0.12em;
}

.skip-link {
  position: fixed;
  z-index: 200;
  top: 12px;
  left: 12px;
  transform: translateY(-160%);
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--white);
  color: var(--navy);
  font-weight: 700;
  text-decoration: none;
  box-shadow: var(--shadow-md);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.wrap {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

/* Legal ribbon */
.legal-ribbon {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 9px 18px;
  background: #fffbeb;
  border-bottom: 1px solid #fde68a;
  color: #78350f;
  font-size: 11.5px;
  line-height: 1.4;
  text-align: center;
}

.legal-dot {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: #f59e0b;
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.14);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(213, 221, 234, 0.9);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--navy);
  text-decoration: none;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.035em;
  white-space: nowrap;
}

.brand-icon {
  border-radius: 12px;
  box-shadow: 0 5px 16px rgba(11, 31, 74, 0.18);
}

.brand-word b {
  color: var(--blue);
  font-weight: 800;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.main-nav a {
  padding: 9px 13px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: color 150ms ease, background 150ms ease;
}

.main-nav a:hover {
  color: var(--navy);
  background: var(--mist);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  color: var(--navy);
}

.nav-toggle .icon {
  width: 22px;
  height: 22px;
}

.nav-toggle-close {
  display: none;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: transparent;
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition: transform 150ms ease, background 150ms ease, border-color 150ms ease,
    box-shadow 150ms ease, color 150ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

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

.btn-primary {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.22);
}

.btn-primary:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  box-shadow: 0 12px 26px rgba(37, 99, 235, 0.28);
}

.btn-ghost {
  border-color: var(--line);
  background: var(--white);
  color: var(--navy);
}

.btn-ghost:hover {
  border-color: #bac8dc;
  background: var(--mist-2);
}

.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
}

.btn-outline-light:hover {
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.12);
}

.btn-light {
  background: var(--white);
  border-color: var(--white);
  color: var(--navy);
}

.btn-light:hover {
  background: #f2f7ff;
  border-color: #f2f7ff;
}

.btn-lg {
  min-height: 52px;
  padding: 14px 23px;
  border-radius: 14px;
  font-size: 15px;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 520px at 78% 8%, rgba(76, 155, 255, 0.2), transparent 64%),
    radial-gradient(700px 430px at 8% 110%, rgba(37, 99, 235, 0.28), transparent 62%),
    linear-gradient(135deg, #081735 0%, var(--navy) 44%, #123672 100%);
  color: var(--white);
  padding: 72px 0 0;
}

.pitch {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  color: #ffffff;
  opacity: 0.055;
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  pointer-events: none;
}

.hero-glow-a {
  width: 420px;
  height: 420px;
  top: -240px;
  right: 12%;
  background: radial-gradient(closest-side, rgba(76, 155, 255, 0.24), transparent);
}

.hero-glow-b {
  width: 360px;
  height: 360px;
  bottom: -210px;
  left: -80px;
  background: radial-gradient(closest-side, rgba(37, 99, 235, 0.28), transparent);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(360px, 0.94fr);
  align-items: center;
  gap: 54px;
  padding: 18px 0 64px;
}

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

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 20px;
  padding: 7px 12px;
  border: 1px solid rgba(147, 197, 253, 0.24);
  border-radius: 999px;
  background: rgba(76, 155, 255, 0.09);
  color: #b9d6ff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #7dd3a7;
  box-shadow: 0 0 0 4px rgba(125, 211, 167, 0.12);
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(46px, 6.3vw, 78px);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.052em;
  text-wrap: balance;
}

.text-gradient {
  background: linear-gradient(100deg, #93c5fd 0%, #60a5fa 45%, #4c9bff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  max-width: 610px;
  margin-top: 24px;
  color: #c8d7ee;
  font-size: 18px;
  line-height: 1.72;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 31px;
}

.cta-row.centered {
  justify-content: center;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin: 25px 0 0;
  padding: 0;
  list-style: none;
  color: #aebfda;
  font-size: 13px;
  font-weight: 600;
}

.trust-row li {
  display: flex;
  align-items: center;
  gap: 7px;
}

.trust-row .icon {
  color: #7dd3a7;
  font-size: 16px;
}

.fine-print {
  margin-top: 21px;
  color: #8199bd;
  font-size: 12px;
}

/* Hero visual */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  min-height: 610px;
  align-items: center;
  padding: 20px 0;
}

.hero-visual::before {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(76, 155, 255, 0.24), transparent);
  filter: blur(8px);
}

.phone {
  position: relative;
  z-index: 2;
  width: 306px;
  padding: 9px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 43px;
  background: #0b1731;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.44), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transform: rotate(-1.4deg);
}

.phone-bar {
  position: absolute;
  z-index: 3;
  top: 17px;
  left: 50%;
  width: 82px;
  height: 20px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #071126;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.phone-bar span {
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: #263b61;
}

.phone-screen {
  overflow: hidden;
  border-radius: 35px;
  background: #f3f6fb;
  color: var(--ink);
}

.app-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 34px 17px 17px;
  background:
    radial-gradient(180px 110px at 100% 0%, rgba(76, 155, 255, 0.18), transparent 75%),
    linear-gradient(145deg, #0b1f4a, #1e4fa3);
  color: var(--white);
}

.app-head img {
  border-radius: 9px;
}

.app-head div {
  min-width: 0;
  flex: 1;
}

.app-head small {
  display: block;
  overflow: hidden;
  color: #afc5e9;
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.app-head strong {
  display: block;
  margin-top: 1px;
  font-size: 16px;
  letter-spacing: -0.03em;
}

.app-live {
  padding: 4px 8px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #dbeafe;
  font-size: 9px;
  font-weight: 700;
  white-space: nowrap;
}

.app-section-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 16px 9px;
  color: var(--muted-2);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.app-chip {
  padding: 3px 8px;
  border: 1px solid #bfdbfe;
  border-radius: 999px;
  background: #eff6ff;
  color: var(--blue);
  font-size: 8px;
  letter-spacing: 0.06em;
}

.match-card {
  margin: 0 12px;
  padding: 13px;
  border: 1px solid #e4eaf4;
  border-radius: 17px;
  background: var(--white);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
}

.match-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: var(--muted-2);
  font-size: 8.5px;
  font-weight: 600;
}

.confidence-pill {
  padding: 3px 7px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green);
  font-size: 8px;
  font-weight: 800;
  white-space: nowrap;
}

.teams {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 14px 0 15px;
}

.team {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  font-size: 11.5px;
}

.team-away {
  justify-content: flex-end;
  text-align: right;
}

.team strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.team-badge {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(145deg, #0b1f4a, #1e4fa3);
  color: var(--white);
  font-size: 10px;
  font-weight: 900;
}

.team-badge.blue {
  background: linear-gradient(145deg, #2563eb, #4c9bff);
}

.versus {
  color: #94a3b8;
  font-size: 9px;
  font-weight: 700;
}

.prob-list {
  display: grid;
  gap: 9px;
}

.prob-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 9px;
  font-weight: 600;
}

.prob-row > span {
  width: 89px;
  flex: 0 0 auto;
  color: var(--muted);
}

.prob-track {
  position: relative;
  height: 6px;
  flex: 1;
  overflow: hidden;
  border-radius: 99px;
  background: #e4eaf4;
}

.prob-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--value);
  border-radius: inherit;
  background: linear-gradient(90deg, #2563eb, #60a5fa);
  transform-origin: left;
  animation: grow-bar 900ms 300ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.prob-fill.good {
  background: linear-gradient(90deg, #15803d, #22c55e);
}

.prob-row b {
  width: 31px;
  flex: 0 0 auto;
  text-align: right;
  color: var(--navy);
  font-size: 9.5px;
  font-weight: 800;
}

.match-foot {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px solid #edf1f7;
  color: #8290a6;
  font-size: 8px;
}

.mini-bars {
  display: flex;
  align-items: end;
  gap: 2px;
  height: 14px;
}

.mini-bars i {
  width: 3px;
  border-radius: 1px;
  background: #bfdbfe;
}

.mini-bars i:nth-child(1) { height: 5px; }
.mini-bars i:nth-child(2) { height: 9px; background: #93c5fd; }
.mini-bars i:nth-child(3) { height: 7px; }
.mini-bars i:nth-child(4) { height: 12px; background: #60a5fa; }
.mini-bars i:nth-child(5) { height: 10px; background: #3b82f6; }

.app-caption {
  padding: 13px 16px 22px;
  color: #8a99af;
  font-size: 8px;
  text-align: center;
}

.float-card {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 13px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  background: rgba(9, 25, 56, 0.84);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
  color: var(--white);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  animation: float 5s ease-in-out infinite;
}

.float-card-top {
  top: 66px;
  right: -14px;
}

.float-card-bottom {
  bottom: 48px;
  left: -18px;
  animation-delay: -2.4s;
}

.float-icon {
  width: 33px;
  height: 33px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(76, 155, 255, 0.16);
  color: #93c5fd;
}

.float-icon.green {
  background: rgba(34, 197, 94, 0.13);
  color: #86efac;
}

.float-card strong {
  display: block;
  font-size: 12px;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.float-card small {
  display: block;
  margin-top: 1px;
  color: #93a9c9;
  font-size: 9px;
  white-space: nowrap;
}

/* Hero metrics */
.hero-metrics {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.hero-metric {
  padding: 24px 26px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-metric:first-child {
  padding-left: 0;
}

.hero-metric:last-child {
  border-right: 0;
}

.hero-metric strong {
  display: block;
  color: var(--white);
  font-size: 27px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.hero-metric span {
  display: block;
  margin-top: 3px;
  color: #9db2d1;
  font-size: 12px;
}

/* Sections */
.section {
  padding: 96px 0;
}

.section-heading {
  max-width: 760px;
}

.section-heading.centered {
  margin-inline: auto;
  text-align: center;
}

.section-heading.centered .section-sub {
  margin-inline: auto;
}

.eyebrow {
  margin-bottom: 12px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow.light {
  color: #93c5fd;
}

.section h2 {
  font-size: clamp(32px, 4vw, 46px);
  font-weight: 900;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.section-sub {
  max-width: 690px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.72;
}

.section-sub.light {
  color: #b9c9e2;
}

/* Markets */
.markets {
  background:
    radial-gradient(700px 360px at 100% 0%, rgba(76, 155, 255, 0.08), transparent 65%),
    var(--mist-2);
}

.market-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 42px;
}

.market-card {
  position: relative;
  overflow: hidden;
  padding: 27px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.market-card:hover {
  transform: translateY(-3px);
  border-color: #c8d8f2;
  box-shadow: var(--shadow-md);
}

.market-icon {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 12px;
  background: #eef4ff;
  color: var(--blue);
  font-size: 21px;
}

.market-tag {
  display: block;
  margin-bottom: 7px;
  color: var(--blue);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.market-card h3 {
  max-width: 380px;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.market-card p {
  max-width: 440px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.65;
}

.market-foot {
  display: inline-block;
  margin-top: 17px;
  padding: 5px 9px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  background: var(--mist-2);
  color: var(--muted-2);
  font-size: 10px;
  font-weight: 700;
}

.market-card-accent {
  border-color: transparent;
  background:
    radial-gradient(360px 200px at 100% 0%, rgba(147, 197, 253, 0.3), transparent 70%),
    linear-gradient(135deg, #0b1f4a, #1e4fa3);
  color: var(--white);
}

.market-card-accent .market-icon {
  background: rgba(255, 255, 255, 0.12);
  color: #bfdbfe;
}

.market-card-accent .market-tag {
  color: #93c5fd;
}

.market-card-accent p {
  color: #c2d2e9;
}

.market-card-accent .market-foot {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  color: #cfe0f7;
}

.market-callout {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 26px;
  padding: 18px 20px;
  border: 1px solid #dbe6f6;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.75);
}

.callout-icon {
  display: grid;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 10px;
  background: #eaf2ff;
  color: var(--blue);
  font-size: 18px;
}

.market-callout p {
  flex: 1;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.market-callout strong {
  color: var(--ink);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.text-link:hover {
  text-decoration: underline;
}

/* Method */
.method {
  background: var(--white);
}

.method-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: 68px;
  align-items: center;
}

.steps {
  display: grid;
  gap: 0;
  margin: 39px 0 0;
  padding: 0;
  list-style: none;
}

.steps li {
  position: relative;
  display: flex;
  gap: 18px;
  padding-bottom: 27px;
}

.steps li:last-child {
  padding-bottom: 0;
}

.steps li::before {
  content: "";
  position: absolute;
  top: 33px;
  bottom: 0;
  left: 17px;
  width: 1px;
  background: var(--line);
}

.steps li:last-child::before {
  display: none;
}

.step-number {
  position: relative;
  z-index: 1;
  width: 35px;
  height: 35px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid #cfe0ff;
  border-radius: 10px;
  background: #eef4ff;
  color: var(--blue);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.steps h3 {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.steps p {
  max-width: 500px;
  margin-top: 5px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.method-visual {
  position: relative;
}

.confidence-card {
  position: relative;
  overflow: hidden;
  padding: 28px;
  border: 1px solid var(--line-soft);
  border-radius: 26px;
  background: var(--white);
  box-shadow: 0 25px 70px rgba(15, 23, 42, 0.11);
}

.confidence-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--navy), var(--blue), var(--sky));
}

.confidence-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.card-kicker {
  display: block;
  margin-bottom: 6px;
  color: var(--muted-2);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.card-kicker.light {
  color: #93c5fd;
}

.confidence-head h3 {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.score-ring {
  width: 72px;
  height: 72px;
  flex: 0 0 auto;
  display: flex;
  align-items: baseline;
  justify-content: center;
  padding-top: 22px;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, var(--white) 55%, transparent 56%),
    conic-gradient(var(--blue) 0deg 310deg, #e5edf9 310deg 360deg);
  color: var(--navy);
}

.score-ring strong {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.05em;
}

.score-ring small {
  margin-left: 1px;
  color: var(--muted-2);
  font-size: 8px;
  font-weight: 700;
}

.confidence-sub {
  max-width: 330px;
  margin-top: 6px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.6;
}

.confidence-list {
  display: grid;
  gap: 14px;
  margin-top: 25px;
}

.confidence-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11.5px;
  font-weight: 600;
}

.confidence-row > span {
  width: 112px;
  flex: 0 0 auto;
  color: var(--muted);
}

.confidence-track {
  height: 8px;
  flex: 1;
  overflow: hidden;
  border-radius: 99px;
  background: #e8eef7;
}

.confidence-track i {
  display: block;
  width: var(--value);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--navy-2), var(--sky));
  transform-origin: left;
  animation: grow-bar 1s 400ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.confidence-row b {
  width: 35px;
  text-align: right;
  color: var(--navy);
  font-size: 10px;
  font-weight: 800;
}

.confidence-note {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-top: 24px;
  padding: 12px 13px;
  border: 1px solid #fde68a;
  border-radius: 12px;
  background: #fffbeb;
  color: #78350f;
  font-size: 11px;
  line-height: 1.5;
}

.confidence-note .icon {
  margin-top: 1px;
  color: #d97706;
  font-size: 16px;
}

.method-footnote {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 16px 4px 0;
  color: var(--muted-2);
  font-size: 11px;
}

.method-footnote strong {
  color: var(--navy);
}

/* Cyrus section */
.cyrus-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(760px 500px at 100% 0%, rgba(76, 155, 255, 0.18), transparent 62%),
    radial-gradient(700px 500px at 0% 100%, rgba(37, 99, 235, 0.2), transparent 55%),
    linear-gradient(145deg, #081632, #0b1f4a 52%, #102e63);
  color: var(--white);
}

.cyrus-bg {
  position: absolute;
  inset: 0;
  opacity: 0.1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.25) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.25) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 70% 20%, black, transparent 72%);
  -webkit-mask-image: radial-gradient(circle at 70% 20%, black, transparent 72%);
}

.cyrus-head {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
  gap: 50px;
  align-items: end;
}

.cyrus-head h2 {
  max-width: 800px;
  color: var(--white);
}

.cyrus-head .section-sub {
  margin-top: 0;
}

.cyrus-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(430px, 1.22fr);
  gap: 54px;
  align-items: center;
  margin-top: 50px;
}

.feature-list {
  display: grid;
  gap: 23px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  display: flex;
  gap: 14px;
}

.feature-list li > span {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid rgba(147, 197, 253, 0.18);
  border-radius: 11px;
  background: rgba(76, 155, 255, 0.1);
  color: #93c5fd;
  font-size: 18px;
}

.feature-list strong {
  display: block;
  color: var(--white);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.feature-list p {
  max-width: 420px;
  margin-top: 4px;
  color: #a9bddb;
  font-size: 13px;
  line-height: 1.65;
}

.cyrus-copy .btn {
  margin-top: 29px;
}

.cyrus-login-note {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 12px;
  color: #8ba1c4;
  font-size: 11px;
}

.cyrus-login-note .icon {
  color: #93c5fd;
}

.browser {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 19px;
  background: #071226;
  box-shadow: 0 35px 85px rgba(0, 0, 0, 0.4);
  transform: perspective(1400px) rotateY(-3deg) rotateX(1deg);
  transition: transform 300ms ease;
}

.browser:hover {
  transform: perspective(1400px) rotateY(0deg) rotateX(0deg);
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: #0a1830;
}

.browser-dots {
  display: flex;
  gap: 5px;
}

.browser-dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2c4264;
}

.browser-dots i:first-child { background: #ef7b72; }
.browser-dots i:nth-child(2) { background: #e8b45b; }
.browser-dots i:nth-child(3) { background: #5fc08a; }

.browser-url {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
  flex: 1;
  padding: 5px 10px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.04);
  color: #8da2c2;
  font-size: 9px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.browser-url .icon {
  color: #6fa5f8;
}

.browser-secure {
  padding: 4px 7px;
  border: 1px solid rgba(134, 239, 172, 0.2);
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.08);
  color: #86efac;
  font-size: 8px;
  font-weight: 800;
  white-space: nowrap;
}

.browser-screen {
  padding: 18px;
  background:
    radial-gradient(500px 240px at 86% 0%, rgba(76, 155, 255, 0.13), transparent 70%),
    #08152b;
}

.cyrus-appbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.cyrus-brand-mini {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cyrus-brand-mini img {
  border-radius: 8px;
}

.cyrus-brand-mini strong {
  display: block;
  font-size: 12px;
  letter-spacing: 0.16em;
}

.cyrus-brand-mini small {
  display: block;
  color: #7e94b6;
  font-size: 7px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cyrus-appnav {
  display: flex;
  gap: 4px;
  color: #758aa9;
  font-size: 8px;
  font-weight: 600;
}

.cyrus-appnav span,
.cyrus-appnav b {
  padding: 5px 7px;
  border-radius: 6px;
}

.cyrus-appnav b {
  background: rgba(76, 155, 255, 0.12);
  color: #dbeafe;
}

.cyrus-hero-mini {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 17px;
  padding: 18px;
  border: 1px solid rgba(147, 197, 253, 0.13);
  border-radius: 14px;
  background:
    radial-gradient(240px 150px at 100% 0%, rgba(76, 155, 255, 0.17), transparent 70%),
    linear-gradient(140deg, rgba(30, 79, 163, 0.2), rgba(11, 31, 74, 0.3));
}

.cyrus-hero-mini h3 {
  margin-top: 4px;
  font-size: 19px;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.cyrus-hero-mini p {
  margin-top: 4px;
  color: #91a6c6;
  font-size: 9px;
}

.mini-gauge {
  position: relative;
  width: 62px;
  height: 62px;
  flex: 0 0 auto;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, #0a1a34 58%, transparent 59%),
    conic-gradient(#4c9bff 0deg 306deg, rgba(255, 255, 255, 0.08) 306deg 360deg);
}

.mini-gauge i {
  position: absolute;
  inset: 23px;
  border-radius: 50%;
  background: #08152b;
}

.mini-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 11px;
}

.mini-stats > div {
  padding: 10px 11px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.035);
}

.mini-stats span {
  display: block;
  color: #7e94b6;
  font-size: 7px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mini-stats strong {
  display: block;
  margin-top: 3px;
  font-size: 16px;
  letter-spacing: -0.04em;
}

.mini-team-list {
  display: grid;
  gap: 6px;
  margin-top: 11px;
}

.mini-team {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
}

.mini-logo {
  width: 25px;
  height: 25px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 7px;
  background: #1e4fa3;
  color: var(--white);
  font-size: 9px;
  font-weight: 900;
}

.mini-logo.blue { background: #2563eb; }
.mini-logo.sky { background: #4c9bff; }

.mini-team > div {
  min-width: 0;
  flex: 1;
}

.mini-team strong {
  display: block;
  overflow: hidden;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mini-team small {
  display: block;
  margin-top: 1px;
  color: #7389a9;
  font-size: 7.5px;
}

.mini-quality {
  padding: 3px 6px;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.1);
  color: #86efac;
  font-size: 7px;
  font-weight: 700;
  white-space: nowrap;
}

.mini-quality.medium {
  background: rgba(245, 158, 11, 0.1);
  color: #fcd34d;
}

/* Features */
.features {
  background: var(--mist-2);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 44px;
}

.feature-card {
  padding: 26px;
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  display: inline-grid;
  width: 40px;
  height: 40px;
  place-items: center;
  margin-bottom: 17px;
  border-radius: 11px;
  background: #eef4ff;
  color: var(--blue);
  font-size: 20px;
}

.feature-card h3 {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.feature-card p {
  margin-top: 7px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.65;
}

/* Legal */
.legal-section {
  background: var(--white);
}

.legal-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 70px;
  align-items: start;
}

.legal-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 27px;
}

.legal-badges span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  border: 1px solid #bbf7d0;
  border-radius: 999px;
  background: #f0fdf4;
  color: var(--green);
  font-size: 10.5px;
  font-weight: 700;
}

.legal-badges .icon {
  font-size: 13px;
}

.legal-card {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: 20px;
  background: var(--line-soft);
  box-shadow: var(--shadow-sm);
}

.legal-item {
  display: flex;
  gap: 16px;
  padding: 22px;
  background: var(--white);
}

.legal-item > span {
  color: #9db1ce;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.06em;
}

.legal-item h3 {
  margin-bottom: 5px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.legal-item p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

/* FAQ */
.faq {
  background:
    radial-gradient(600px 340px at 0% 100%, rgba(76, 155, 255, 0.08), transparent 65%),
    var(--mist-2);
}

.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: 70px;
  align-items: start;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-list details {
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 17px 19px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  list-style: none;
  cursor: pointer;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary span {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 7px;
  background: var(--mist);
  color: var(--blue);
  font-size: 17px;
  font-weight: 500;
  transition: transform 160ms ease, background 160ms ease;
}

.faq-list details[open] summary span {
  transform: rotate(45deg);
  background: #eaf2ff;
}

.faq-list details p {
  padding: 0 19px 18px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.7;
}

/* Final CTA */
.final-cta {
  position: relative;
  overflow: hidden;
  padding: 88px 0;
  background:
    radial-gradient(700px 400px at 50% -20%, rgba(147, 197, 253, 0.23), transparent 65%),
    linear-gradient(135deg, #0b1f4a 0%, #1e4fa3 58%, #2563eb 100%);
  color: var(--white);
  text-align: center;
}

.final-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(circle at center, black, transparent 75%);
  -webkit-mask-image: radial-gradient(circle at center, black, transparent 75%);
}

.final-cta-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.final-mark img {
  margin-bottom: 20px;
  border-radius: 15px;
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.3);
}

.final-cta .eyebrow {
  margin-bottom: 10px;
}

.final-cta h2 {
  max-width: 790px;
  font-size: clamp(34px, 4.8vw, 55px);
  font-weight: 900;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.final-cta p:not(.eyebrow):not(.final-note) {
  max-width: 620px;
  margin-top: 18px;
  color: #d3e1f8;
  font-size: 17px;
  line-height: 1.7;
}

.final-cta .cta-row {
  margin-top: 30px;
}

.final-note {
  margin-top: 20px;
  color: #a8c1e5;
  font-size: 11px;
}

/* Footer */
.site-footer {
  padding: 54px 0 22px;
  background: #07142e;
  color: #91a6c5;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(150px, 0.55fr) minmax(280px, 0.9fr);
  gap: 48px;
  align-items: start;
}

.brand-light {
  color: var(--white);
}

.brand-light .brand-icon {
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.35);
}

.footer-brand p {
  max-width: 330px;
  margin-top: 16px;
  color: #92a7c6;
  font-size: 12.5px;
  line-height: 1.7;
}

.footer-nav {
  display: grid;
  gap: 10px;
  justify-items: start;
}

.footer-nav a {
  color: #a4b7d5;
  font-size: 12.5px;
  font-weight: 600;
  text-decoration: none;
}

.footer-nav a:hover {
  color: var(--white);
}

.footer-legal {
  justify-self: end;
  max-width: 390px;
}

.footer-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 9px;
  border: 1px solid rgba(147, 197, 253, 0.16);
  border-radius: 999px;
  background: rgba(76, 155, 255, 0.07);
  color: #b7d5ff;
  font-size: 9.5px;
  font-weight: 700;
}

.footer-legal p {
  margin-top: 13px;
  color: #7188a9;
  font-size: 10.5px;
  line-height: 1.65;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 42px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #617797;
  font-size: 10px;
}

/* Responsive */
@media (max-width: 1080px) {
  .float-card-top {
    right: -4px;
  }

  .float-card-bottom {
    left: -4px;
  }

  .method-grid,
  .legal-grid,
  .faq-grid {
    gap: 44px;
  }

  .cyrus-grid {
    gap: 38px;
  }
}

@media (max-width: 960px) {
  .main-nav {
    position: fixed;
    z-index: 99;
    top: 121px;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--white);
    box-shadow: 0 28px 60px rgba(15, 23, 42, 0.18);
  }

  .main-nav a {
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 15px;
  }

  .main-nav a:hover {
    background: var(--mist);
  }

  .site-header.nav-open .main-nav {
    display: flex;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-header.nav-open .nav-toggle-open {
    display: none;
  }

  .site-header.nav-open .nav-toggle-close {
    display: block;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 42px;
    padding-bottom: 40px;
  }

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

  .hero-visual {
    min-height: 560px;
  }

  .phone {
    transform: none;
  }

  .hero-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-metric:nth-child(2) {
    border-right: 0;
  }

  .hero-metric:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .hero-metric:nth-child(3) {
    padding-left: 0;
  }

  .method-grid,
  .cyrus-head,
  .cyrus-grid,
  .legal-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .method-visual {
    max-width: 560px;
  }

  .cyrus-head {
    gap: 18px;
  }

  .cyrus-head .section-sub {
    margin-top: 0;
  }

  .cyrus-grid {
    gap: 38px;
  }

  .browser {
    transform: none;
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .footer-legal {
    grid-column: 1 / -1;
    justify-self: start;
    max-width: 560px;
  }
}

@media (max-width: 720px) {
  .wrap {
    width: min(var(--container), calc(100% - 32px));
  }

  .legal-ribbon {
    padding: 8px 12px;
    font-size: 10px;
  }

  .header-inner {
    min-height: 68px;
  }

  .brand {
    font-size: 18px;
  }

  .brand-icon {
    width: 38px;
    height: 38px;
  }

  .header-login {
    display: none;
  }

  .main-nav {
    top: 111px;
  }

  .hero {
    padding-top: 54px;
  }

  .hero h1 {
    font-size: clamp(42px, 12vw, 62px);
  }

  .lead {
    font-size: 16px;
  }

  .cta-row .btn {
    flex: 1 1 auto;
  }

  .hero-visual {
    min-height: 520px;
  }

  .float-card {
    transform: scale(0.9);
  }

  .float-card-top {
    right: 0;
    top: 34px;
  }

  .float-card-bottom {
    left: 0;
    bottom: 24px;
  }

  .section {
    padding: 70px 0;
  }

  .section h2 {
    font-size: clamp(29px, 8vw, 39px);
  }

  .section-sub {
    font-size: 15.5px;
  }

  .market-grid,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .market-card {
    padding: 22px;
  }

  .market-callout {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .market-callout p {
    min-width: calc(100% - 54px);
  }

  .market-callout .text-link {
    margin-left: 52px;
  }

  .method-grid {
    gap: 38px;
  }

  .confidence-card {
    padding: 22px;
  }

  .cyrus-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .browser-screen {
    padding: 13px;
  }

  .cyrus-appnav {
    display: none;
  }

  .browser {
    border-radius: 15px;
  }

  .legal-item {
    padding: 18px;
  }

  .final-cta {
    padding: 72px 0;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-legal {
    grid-column: auto;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 6px;
    margin-top: 32px;
  }
}

@media (max-width: 480px) {
  .header-inner {
    gap: 12px;
  }

  .header-actions .btn-primary {
    min-height: 40px;
    padding: 9px 12px;
    font-size: 12px;
  }

  .header-actions .btn-primary .icon {
    display: none;
  }

  .nav-toggle {
    width: 40px;
    height: 40px;
  }

  .main-nav {
    top: 107px;
  }

  .hero {
    padding-top: 42px;
  }

  .kicker {
    font-size: 9.5px;
    letter-spacing: 0.09em;
  }

  .hero h1 {
    font-size: clamp(38px, 13.5vw, 54px);
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .hero-metric,
  .hero-metric:nth-child(3) {
    padding: 16px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .hero-metric:last-child {
    border-bottom: 0;
  }

  .hero-visual {
    min-height: 490px;
  }

  .phone {
    width: 286px;
  }

  .float-card {
    display: none;
  }

  .trust-row {
    gap: 8px 14px;
    font-size: 12px;
  }

  .confidence-row > span {
    width: 96px;
    font-size: 10.5px;
  }

  .mini-stats strong {
    font-size: 14px;
  }

  .section {
    padding: 58px 0;
  }

  .final-cta h2 {
    font-size: 34px;
  }

  .cta-row.centered .btn {
    width: 100%;
  }
}

/* Motion */
@keyframes grow-bar {
  from {
    transform: scaleX(0);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-7px);
  }
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 600ms ease, transform 600ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* Connected header menu */
.header-auth {
  display: flex;
  align-items: center;
}

.profile-menu {
  position: relative;
}

.profile-trigger {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 5px 9px 5px 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--navy);
  text-align: left;
  box-shadow: 0 4px 14px rgba(11, 31, 74, 0.05);
}

.profile-trigger:hover {
  border-color: #b9cbe5;
  background: #fbfdff;
}

.profile-avatar {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, #60a5fa, #2563eb);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.profile-label {
  display: grid;
  min-width: 0;
  line-height: 1.2;
}

.profile-label strong {
  max-width: 135px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 700;
}

.profile-label small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
}

.profile-chevron {
  width: 15px;
  height: 15px;
  color: var(--muted);
  transition: transform 150ms ease;
}

.profile-trigger[aria-expanded="true"] .profile-chevron {
  transform: rotate(180deg);
}

.profile-popover {
  position: absolute;
  top: calc(100% + 9px);
  right: 0;
  z-index: 90;
  width: 238px;
  padding: 7px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  box-shadow: 0 22px 55px rgba(11, 31, 74, 0.18);
  animation: profile-in 140ms ease-out;
}

@keyframes profile-in {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: none; }
}

.profile-popover-head {
  padding: 9px 10px 10px;
  margin-bottom: 4px;
  border-bottom: 1px solid var(--line);
}

.profile-popover-head strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
}

.profile-popover-head small {
  display: block;
  margin-top: 2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--muted);
  font-size: 10px;
}

.profile-popover a,
.profile-popover button {
  display: block;
  width: 100%;
  padding: 9px 10px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--navy);
  text-align: left;
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
}

.profile-popover a:hover,
.profile-popover button:hover {
  background: var(--mist);
  text-decoration: none;
}

.profile-popover button {
  margin-top: 4px;
  border-top: 1px solid var(--line);
  border-radius: 0 0 8px 8px;
  color: #b91c1c;
}

@media (max-width: 960px) {
  .header-auth {
    order: 2;
  }

  .header-cyrus {
    order: 1;
  }
}

@media (max-width: 720px) {
  .header-cyrus {
    display: none;
  }

  .profile-label {
    display: none;
  }

  .profile-trigger {
    gap: 5px;
    min-height: 42px;
    padding: 4px 7px 4px 4px;
  }

  .profile-avatar {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
  }

  .profile-popover {
    right: -43px;
  }
}
