:root {
  --white: #ffffff;
  --mist: #f6fcff;
  --sky-50: #effaff;
  --sky-100: #dff4ff;
  --sky-200: #bde8ff;
  --sky-300: #7dd3ff;
  --sky-400: #38bbff;
  --blue: #00a6ff;
  --blue-700: #0876b8;
  --navy: #073b63;
  --ink: #10233a;
  --muted: #5c7488;
  --lavender: #dcd8ff;
  --mint: #d9fff4;
  --cyan: #85f2ff;
  --gold: #fff3bf;
  --aqua-deep: #006fc8;
  --ring: rgba(0, 166, 255, 0.18);
  --glass: rgba(255, 255, 255, 0.74);
  --glass-strong: rgba(255, 255, 255, 0.88);
  --stroke: rgba(69, 181, 255, 0.22);
  --shadow-soft: 0 24px 80px rgba(8, 118, 184, 0.14);
  --shadow-card: 0 18px 50px rgba(6, 61, 99, 0.1);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --container: 1180px;
  --header-height: 82px;
  --ease: cubic-bezier(.2,.8,.2,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 20% 0%, rgba(125, 211, 255, 0.42), transparent 33%),
    radial-gradient(circle at 86% 16%, rgba(220, 216, 255, 0.55), transparent 28%),
    linear-gradient(180deg, #edf9ff 0%, #ffffff 45%, #effaff 100%);
  line-height: 1.6;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(8, 118, 184, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(8, 118, 184, .035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.7), transparent 72%);
  z-index: -2;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at var(--mx, 52%) var(--my, 18%), rgba(125, 211, 255, .22), transparent 23rem),
    linear-gradient(120deg, rgba(255,255,255,.28), transparent 36%, rgba(255,255,255,.18));
  opacity: .75;
  z-index: -1;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }

.page-loader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  text-align: center;
  color: var(--navy);
  background:
    radial-gradient(circle at 50% 38%, rgba(125,211,255,.42), transparent 28%),
    radial-gradient(circle at 58% 56%, rgba(220,216,255,.38), transparent 32%),
    linear-gradient(180deg, #f4fcff 0%, #ffffff 64%, #eaf8ff 100%);
  transition: opacity .45s ease, visibility .45s ease;
}
.page-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
}
.page-loader__glow {
  position: absolute;
  width: 230px;
  height: 230px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,166,255,.24), transparent 65%);
  filter: blur(2px);
  animation: loaderGlow 1.7s ease-in-out infinite;
}
.page-loader img {
  position: relative;
  width: 92px;
  height: 92px;
  border-radius: 28px;
  box-shadow: 0 24px 60px rgba(8,118,184,.18);
  animation: logoDance 1.05s ease-in-out infinite;
}
.page-loader strong {
  position: relative;
  font-size: 1.55rem;
  line-height: 1;
  letter-spacing: -.03em;
}
.page-loader span {
  position: relative;
  color: var(--blue-700);
  font-size: .88rem;
  font-weight: 850;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  background: var(--navy);
  color: white;
  padding: 10px 14px;
  border-radius: 12px;
  transform: translateY(-120%);
  z-index: 9999;
}
.skip-link:focus { transform: translateY(0); }

.container {
  width: min(var(--container), calc(100% - 40px));
  margin-inline: auto;
}
.container.narrow { width: min(900px, calc(100% - 40px)); }
.section {
  position: relative;
  padding: 106px 0;
}
.section:first-of-type { padding-top: 150px; }
.site-shell { min-height: 100vh; }

.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  width: min(1180px, calc(100% - 32px));
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: rgba(255,255,255,.72);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255,255,255,.75);
  box-shadow: 0 18px 60px rgba(8, 118, 184, 0.14);
  border-radius: 999px;
  transition: box-shadow .3s var(--ease), background .3s var(--ease), top .3s var(--ease);
  isolation: isolate;
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(255,255,255,.72), rgba(213,243,255,.5), rgba(255,255,255,.72));
  z-index: -1;
}
.site-header.is-scrolled {
  top: 10px;
  background: rgba(255,255,255,.88);
  box-shadow: 0 18px 60px rgba(8, 118, 184, 0.18);
}
.site-header--simple {
  position: sticky;
  top: 18px;
  transform: none;
  margin: 18px auto 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: max-content;
}
.brand__icon {
  width: 46px;
  height: 46px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(0,166,255,.22);
}
.brand__text {
  display: grid;
  line-height: 1.05;
}
.brand__text strong {
  color: var(--navy);
  font-size: 1.02rem;
  letter-spacing: -0.02em;
}
.brand__text em {
  font-style: normal;
  color: var(--blue-700);
  font-size: .77rem;
  font-weight: 700;
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-weight: 700;
  font-size: .92rem;
  color: #28516d;
}
.nav a:not(.button) {
  position: relative;
  transition: color .25s ease;
}
.nav a:not(.button)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 2px;
  background: var(--blue);
  border-radius: 999px;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .25s ease;
}
.nav a:not(.button):hover, .nav a:not(.button).is-active { color: var(--blue-700); }
.nav a:not(.button):hover::after, .nav a:not(.button).is-active::after { transform: scaleX(1); transform-origin: left; }
.nav--simple { gap: 22px; }

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 0;
  background: rgba(255,255,255,.78);
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  box-shadow: inset 0 0 0 1px rgba(0,166,255,.16);
}
.menu-toggle span {
  width: 20px;
  height: 2px;
  background: var(--navy);
  border-radius: 999px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 999px;
  padding: 13px 20px;
  font-weight: 850;
  letter-spacing: -0.01em;
  line-height: 1;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.button::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 20%, rgba(255,255,255,.45), transparent 58%);
  transform: translateX(-140%);
  transition: transform .7s var(--ease);
}
.button:hover { transform: translateY(-2px); }
.button:hover::after { transform: translateX(140%); }
.button:focus-visible, .nav a:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 3px solid rgba(0,166,255,.28);
  outline-offset: 3px;
}
.button--primary {
  color: white;
  background: linear-gradient(135deg, var(--blue) 0%, #47d5ff 55%, #7f7dff 140%);
  box-shadow: 0 18px 38px rgba(0, 166, 255, .25), inset 0 1px 0 rgba(255,255,255,.36);
}
.button--primary:hover { box-shadow: 0 24px 54px rgba(0, 166, 255, .32); }
.button--glass {
  background: rgba(255,255,255,.76);
  color: var(--navy);
  border: 1px solid rgba(0,166,255,.18);
  box-shadow: 0 12px 34px rgba(8,118,184,.1);
}
.button--sm { padding: 12px 16px; font-size: .88rem; }
.button--lg { padding: 17px 26px; font-size: 1.03rem; }
.button--full { width: 100%; }

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-bottom: 76px;
}
.hero__bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.cloud, .orb {
  position: absolute;
  display: block;
  filter: blur(.2px);
}
.cloud {
  width: 300px;
  height: 120px;
  background: rgba(255,255,255,.62);
  border-radius: 999px;
  box-shadow: 0 30px 120px rgba(8,118,184,.11);
  animation: drift 18s ease-in-out infinite;
}
.cloud::before, .cloud::after {
  content: "";
  position: absolute;
  background: inherit;
  border-radius: 50%;
}
.cloud::before { width: 130px; height: 130px; left: 45px; top: -54px; }
.cloud::after { width: 170px; height: 170px; right: 34px; top: -84px; }
.cloud--one { left: -80px; top: 17%; opacity: .46; }
.cloud--two { right: -90px; top: 18%; opacity: .64; animation-delay: -6s; }
.cloud--three { left: 16%; bottom: 7%; opacity: .38; animation-delay: -11s; }
.orb {
  border-radius: 50%;
  filter: blur(40px);
  opacity: .55;
  animation: breathe 8s ease-in-out infinite;
}
.orb--cyan { width: 300px; height: 300px; background: var(--cyan); right: 18%; top: 18%; }
.orb--lavender { width: 360px; height: 360px; background: var(--lavender); left: 8%; bottom: 15%; animation-delay: -4s; }

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.04fr .96fr;
  gap: 46px;
  align-items: center;
}
.hero__grid::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 26px;
  width: min(860px, 72vw);
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(0,166,255,.25), transparent);
}
.hero__copy { position: relative; z-index: 2; }
.eyebrow, .section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--blue-700);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .11em;
  font-size: .75rem;
}
.eyebrow {
  padding: 9px 13px;
  background: rgba(255,255,255,.66);
  border: 1px solid rgba(0,166,255,.18);
  border-radius: 999px;
  box-shadow: var(--shadow-card);
}
.eyebrow__dot {
  width: 10px;
  height: 10px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  border-radius: 50%;
  box-shadow: 0 0 0 8px rgba(0,166,255,.12);
}
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3 { color: var(--navy); letter-spacing: -0.055em; line-height: .98; }
h1 { font-size: clamp(3rem, 7vw, 6.8rem); margin: 28px 0 18px; max-width: 770px; }
.hero h1 { margin-top: 0; }
h2 { font-size: clamp(2.2rem, 4.3vw, 4.4rem); margin-bottom: 18px; }
h3 { font-size: clamp(1.25rem, 2vw, 1.7rem); margin-bottom: 10px; }
.hero__headline {
  font-size: clamp(1.8rem, 3.5vw, 3.8rem);
  line-height: 1.02;
  letter-spacing: -0.06em;
  color: #0a8ed1;
  font-weight: 900;
  margin-bottom: 16px;
}
.hero__subcopy {
  max-width: 690px;
  color: var(--muted);
  font-size: clamp(1.06rem, 1.45vw, 1.27rem);
  margin-bottom: 28px;
}
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero__actions--compact { margin-top: 26px; }
.hero__actions--center { justify-content: center; }
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}
.trust-strip span {
  display: inline-flex;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.7);
  border: 1px solid rgba(0,166,255,.14);
  color: var(--blue-700);
  font-weight: 800;
  box-shadow: 0 10px 30px rgba(8,118,184,.08);
}
.hero__visual { position: relative; min-height: 620px; }
.mascot-stage {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  perspective: 1000px;
  transition: transform .25s var(--ease);
  transform-style: preserve-3d;
}
.orbit {
  position: absolute;
  border: 1px solid rgba(0,166,255,.14);
  border-radius: 50%;
  transform: rotateX(64deg) rotateZ(-18deg);
  pointer-events: none;
}
.orbit::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 24px rgba(0,166,255,.36);
}
.orbit--one {
  width: 78%;
  aspect-ratio: 1;
  animation: orbitSpin 12s linear infinite;
}
.orbit--one::after { top: 12%; left: 20%; }
.orbit--two {
  width: 58%;
  aspect-ratio: 1;
  transform: rotateX(58deg) rotateZ(22deg);
  animation: orbitSpin 16s linear infinite reverse;
}
.orbit--two::after { right: 18%; bottom: 16%; background: var(--lavender); }
.mascot-glow {
  position: absolute;
  width: 78%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.88) 0%, rgba(146,225,255,.58) 39%, rgba(255,255,255,0) 72%);
  filter: blur(8px);
  animation: breathe 7s ease-in-out infinite;
}
.mascot {
  width: min(620px, 100%);
  border-radius: 46px;
  filter: drop-shadow(0 34px 55px rgba(8,118,184,.18));
  animation: floatMascot 5.2s ease-in-out infinite;
}
.float-card {
  position: absolute;
  min-width: 190px;
  padding: 16px 18px;
  border-radius: 24px;
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(255,255,255,.78);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  display: grid;
  gap: 2px;
  animation: floatCard 6s ease-in-out infinite;
}
.float-card strong { color: var(--navy); letter-spacing: -0.03em; }
.float-card small { color: var(--muted); font-weight: 700; }
.float-card__icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, #e5f8ff, #ffffff);
  color: var(--blue-700);
  font-weight: 950;
  box-shadow: inset 0 0 0 1px rgba(0,166,255,.15);
}
.float-card--one { left: -8px; top: 22%; }
.float-card--two { right: 8px; top: 36%; animation-delay: -2s; }
.float-card--three { left: 0; bottom: 9%; animation-delay: -4s; }
.agent-console {
  position: absolute;
  right: 2%;
  bottom: 2%;
  width: min(310px, 58%);
  border-radius: 26px;
  background: rgba(255,255,255,.76);
  border: 1px solid rgba(255,255,255,.82);
  box-shadow: 0 24px 70px rgba(8,118,184,.16);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  overflow: hidden;
  animation: floatCard 7s ease-in-out infinite -1.5s;
}
.agent-console__top {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(0,166,255,.1);
}
.agent-console__top span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--sky-300);
}
.agent-console__top span:nth-child(2) { background: var(--lavender); }
.agent-console__top span:nth-child(3) { background: var(--mint); }
.agent-console__top strong {
  margin-left: auto;
  color: var(--blue-700);
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.agent-console__body { padding: 16px; }
.agent-console__body p {
  color: var(--navy);
  font-weight: 850;
  line-height: 1.35;
  margin-bottom: 12px;
}
.agent-console__body div {
  height: 8px;
  border-radius: 999px;
  background: var(--sky-100);
  overflow: hidden;
  margin-bottom: 10px;
}
.agent-console__body i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
}
.agent-console__body small { color: var(--muted); font-weight: 800; }

.section-heading {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 52px;
}
.section-heading p { color: var(--muted); font-size: 1.08rem; }
.section-heading--left { text-align: left; margin-left: 0; }
#what .section-heading .section-kicker,
.trial-copy .section-kicker {
  display: flex;
  width: fit-content;
  font-size: clamp(1.25rem, 2.4vw, 2rem);
  line-height: 1;
  letter-spacing: -0.025em;
  text-transform: none;
  color: var(--navy);
  font-weight: 950;
  padding: 12px 16px;
  border-radius: 20px;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(0,166,255,.14);
  box-shadow: 0 14px 34px rgba(8,118,184,.09);
}
#what .section-heading .section-kicker {
  margin: 0 auto 18px;
}
.trial-copy .section-kicker {
  margin-bottom: 18px;
}

.section--story { padding-top: 30px; }
.story-title-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 28px;
}
.story-title-row .section-kicker {
  font-size: clamp(2.4rem, 6vw, 5.2rem);
  line-height: .92;
  letter-spacing: -0.055em;
  text-transform: none;
  color: var(--navy);
}
.story-title-row .section-kicker::before {
  content: "";
  width: 54px;
  height: 54px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: 0 16px 38px rgba(0,166,255,.24);
}
.story-title-row strong {
  max-width: 520px;
  color: var(--navy);
  font-size: clamp(1.7rem, 3.2vw, 3.25rem);
  line-height: .96;
  letter-spacing: -0.055em;
  text-align: right;
  margin-bottom: 4px;
}
.story-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  align-items: stretch;
}
.story-card {
  position: relative;
  padding: 34px;
  border-radius: var(--radius-xl);
  background: rgba(255,255,255,.74);
  border: 1px solid rgba(255,255,255,.72);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.story-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  background: linear-gradient(135deg, rgba(255,255,255,.24), rgba(125,211,255,.16));
  pointer-events: none;
}
.story-card > * { position: relative; }
.story-card__number {
  display: inline-flex;
  width: 46px;
  height: 46px;
  border-radius: 16px;
  align-items: center;
  justify-content: center;
  color: white;
  background: linear-gradient(135deg, var(--blue), #65dfff);
  font-weight: 950;
  margin-bottom: 18px;
}
.story-card p { color: var(--muted); }
.story-card--blue {
  background: linear-gradient(135deg, rgba(224,247,255,.86), rgba(255,255,255,.72));
}
.quote-pill {
  display: inline-flex;
  padding: 12px 16px;
  border-radius: 999px;
  background: #fff;
  color: var(--blue-700);
  font-weight: 900;
  box-shadow: 0 14px 32px rgba(8,118,184,.1);
}

.cards { display: grid; gap: 22px; }
.three-col { grid-template-columns: repeat(3, 1fr); }
.glass-card, .agent-card, .difference-card, .portal-card, .profile-card, .trial-hero-card, .mega-form, .score-form, .auth-card, .portal-section {
  background: var(--glass);
  border: 1px solid rgba(255,255,255,.72);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}
.glass-card {
  position: relative;
  overflow: hidden;
  padding: 30px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.glass-card::after, .agent-card::after, .difference-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 10% 0%, rgba(125,211,255,.22), transparent 42%);
  opacity: 0;
  transition: opacity .3s var(--ease);
  pointer-events: none;
}
.glass-card:hover, .agent-card:hover, .difference-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 28px 70px rgba(8,118,184,.16);
}
.glass-card:hover::after, .agent-card:hover::after, .difference-card:hover::after { opacity: 1; }
.card-icon {
  display: inline-flex;
  width: 54px;
  height: 54px;
  border-radius: 19px;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.85);
  box-shadow: inset 0 0 0 1px rgba(0,166,255,.13), 0 12px 28px rgba(8,118,184,.1);
  font-size: 1.45rem;
  margin-bottom: 24px;
}
.glass-card p, .agent-card p, .difference-card p { color: var(--muted); margin-bottom: 0; }

.trial-band {
  margin: 20px 0;
  padding: 80px 0;
}
.trial-band::before {
  content: "";
  position: absolute;
  inset: 0 20px;
  border-radius: 44px;
  background: linear-gradient(135deg, rgba(207,239,255,.9), rgba(255,255,255,.78), rgba(226,224,255,.78));
  border: 1px solid rgba(255,255,255,.74);
  box-shadow: var(--shadow-soft);
  z-index: -1;
}
.trial-grid {
  display: grid;
  grid-template-columns: .88fr 1.12fr;
  gap: 38px;
  align-items: center;
}
.trial-copy p { color: var(--muted); font-size: 1.08rem; }
.trial-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.mini-feature {
  padding: 20px;
  border-radius: 24px;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(255,255,255,.8);
  box-shadow: 0 14px 36px rgba(8,118,184,.09);
}
.mini-feature span {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--sky-100);
  color: var(--blue-700);
  font-weight: 950;
  margin-bottom: 14px;
}
.mini-feature strong, .mini-feature small { display: block; }
.mini-feature small { color: var(--muted); margin-top: 5px; }

.portal-grid {
  display: grid;
  grid-template-columns: .78fr 1.22fr;
  align-items: center;
  gap: 46px;
}
.dashboard-mockup {
  border-radius: 34px;
  overflow: hidden;
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(255,255,255,.78);
  box-shadow: 0 30px 90px rgba(8,118,184,.18);
  transform-style: preserve-3d;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.dashboard-mockup:hover {
  transform: translateY(-6px) rotateX(1.5deg) rotateY(-1.5deg);
  box-shadow: 0 38px 110px rgba(8,118,184,.22);
}
.dashboard-topbar {
  height: 60px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 20px;
  background: rgba(255,255,255,.72);
  border-bottom: 1px solid rgba(0,166,255,.1);
}
.dashboard-topbar span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--sky-300);
}
.dashboard-topbar span:nth-child(2) { background: var(--lavender); }
.dashboard-topbar span:nth-child(3) { background: var(--mint); }
.dashboard-topbar strong { margin-left: auto; color: var(--blue-700); font-size: .9rem; }
.dashboard-body {
  display: grid;
  grid-template-columns: 210px 1fr;
  min-height: 420px;
}
.dashboard-side {
  padding: 24px;
  background: linear-gradient(180deg, rgba(239,250,255,.9), rgba(255,255,255,.66));
  border-right: 1px solid rgba(0,166,255,.1);
}
.dashboard-side img { width: 56px; border-radius: 20px; margin-bottom: 14px; }
.dashboard-side b, .dashboard-side small { display: block; }
.dashboard-side small { color: var(--muted); font-weight: 800; }
.dashboard-side nav { display: grid; gap: 10px; margin-top: 26px; }
.dashboard-side nav span {
  padding: 12px 14px;
  border-radius: 15px;
  color: var(--muted);
  font-weight: 800;
}
.dashboard-side nav span.active { background: white; color: var(--blue-700); box-shadow: 0 10px 24px rgba(8,118,184,.08); }
.dashboard-main { padding: 26px; display: grid; gap: 16px; align-content: start; }
.score-widget, .profile-widget, .assistant-widget {
  padding: 20px;
  border-radius: 24px;
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(255,255,255,.82);
  box-shadow: 0 12px 30px rgba(8,118,184,.08);
}
.score-widget small, .sample-score-card small { color: var(--blue-700); font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.score-widget strong, .sample-score-card strong {
  display: block;
  color: var(--navy);
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  line-height: 1;
  letter-spacing: -0.07em;
  margin: 9px 0 12px;
}
.score-widget strong span, .sample-score-card strong span { font-size: .45em; color: var(--muted); }
.progress { height: 10px; border-radius: 999px; background: var(--sky-100); overflow: hidden; }
.progress i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--blue), var(--cyan)); }
.profile-widget h4 { margin-bottom: 8px; color: var(--navy); }
.profile-widget p { color: var(--muted); margin-bottom: 14px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-row span {
  padding: 8px 10px;
  border-radius: 999px;
  background: var(--sky-100);
  color: var(--blue-700);
  font-weight: 850;
  font-size: .82rem;
}
.assistant-widget { display: flex; gap: 12px; align-items: center; }
.assistant-widget p { margin: 0; color: var(--muted); font-weight: 750; }
.pulse-dot {
  width: 14px;
  height: 14px;
  background: var(--blue);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(0,166,255,.4);
  animation: pulse 1.8s infinite;
}
.portal-flow {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 16px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(239,250,255,.86), rgba(255,255,255,.78));
  border: 1px solid rgba(255,255,255,.82);
}
.portal-flow span {
  color: var(--blue-700);
  font-size: .82rem;
  font-weight: 900;
  white-space: nowrap;
}
.portal-flow i {
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(0,166,255,.18), rgba(0,166,255,.7));
}

.profile-section { overflow: hidden; }
.profile-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 54px;
  align-items: center;
}
.profile-grid .section-heading {
  order: 1;
  grid-column: 1;
  grid-row: 1;
}
.profile-logo-panel {
  order: 2;
  min-height: 470px;
  display: grid;
  place-items: center;
  background: transparent;
  border: 0;
  box-shadow: none;
  overflow: visible;
}
.profile-logo-panel .card-icon { display: none; }
.profile-logo-panel img {
  width: min(390px, 78%);
  filter: drop-shadow(0 28px 54px rgba(8,118,184,.18));
  animation: floatMascot 6s ease-in-out infinite;
}
.profile-example-card {
  order: 2;
  grid-column: 2;
  grid-row: 1;
  padding: 28px;
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.92), rgba(226,247,255,.78));
  border: 1px solid rgba(255,255,255,.84);
  box-shadow: var(--shadow-soft);
}
.profile-example-card .card-icon { display: none; }
.profile-example-card__top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}
.profile-example-card__top img {
  width: 58px;
  height: 58px;
  border-radius: 18px;
}
.profile-example-card__top small,
.profile-example-card__score span,
.profile-example-list dt {
  display: block;
  color: var(--blue-700);
  font-size: .78rem;
  font-weight: 950;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.profile-example-card__top h3 {
  margin: 4px 0 0;
}
.profile-example-card__score {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px;
  border-radius: 20px;
  background: rgba(255,255,255,.74);
  border: 1px solid rgba(0,166,255,.12);
  margin-bottom: 14px;
}
.profile-example-card__score strong {
  color: var(--navy);
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  line-height: 1;
  letter-spacing: -.06em;
}
.profile-example-list {
  display: grid;
  gap: 10px;
  margin: 0;
}
.profile-example-list div {
  padding: 14px 15px;
  border-radius: 18px;
  background: rgba(255,255,255,.68);
  border: 1px solid rgba(0,166,255,.1);
}
.profile-example-list dd {
  margin: 5px 0 0;
  color: var(--muted);
  font-weight: 750;
}
.profile-example-note {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: .92rem;
  text-align: center;
}
#profile .section-heading .section-kicker {
  font-size: clamp(1.25rem, 2.2vw, 2rem);
  line-height: 1;
  font-weight: 950;
  letter-spacing: .04em;
  color: var(--navy);
  margin-bottom: 14px;
}
#score .section-heading .section-kicker {
  font-size: clamp(1.2rem, 2vw, 1.9rem);
  line-height: 1;
  font-weight: 950;
  letter-spacing: .04em;
  color: var(--navy);
  margin-bottom: 14px;
}
#academy .section-heading .section-kicker {
  font-size: clamp(1.2rem, 2vw, 1.9rem);
  line-height: 1;
  font-weight: 950;
  letter-spacing: .04em;
  color: var(--navy);
  margin-bottom: 14px;
}
#run .section-heading .section-kicker {
  font-size: clamp(1.2rem, 2vw, 1.9rem);
  line-height: 1;
  font-weight: 950;
  letter-spacing: .04em;
  color: var(--navy);
  margin-bottom: 14px;
}
.final-cta .section-kicker {
  font-size: clamp(1.2rem, 2vw, 1.9rem);
  line-height: 1;
  font-weight: 950;
  letter-spacing: .04em;
  color: var(--navy);
  margin-bottom: 14px;
}
#different .section-heading .section-kicker {
  font-size: clamp(1.2rem, 2vw, 1.9rem);
  line-height: 1;
  font-weight: 950;
  letter-spacing: .04em;
  color: var(--navy);
  margin-bottom: 14px;
}
#how .section-heading .section-kicker {
  font-size: clamp(1.2rem, 2vw, 1.9rem);
  line-height: 1;
  font-weight: 950;
  letter-spacing: .04em;
  color: var(--navy);
  margin-bottom: 14px;
}
#ebooks .section-heading .section-kicker {
  font-size: clamp(1.25rem, 2.2vw, 2rem);
  line-height: 1;
  font-weight: 950;
  letter-spacing: .04em;
  color: var(--navy);
  margin-bottom: 14px;
}
.coming-soon-line {
  display: inline-flex;
  margin-top: 14px;
  padding: 12px 18px;
  border-radius: 999px;
  color: var(--blue-700);
  background: rgba(255,255,255,.76);
  border: 1px solid rgba(0,166,255,.14);
  box-shadow: 0 14px 34px rgba(8,118,184,.08);
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  line-height: 1;
}
.soft-list {
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
  display: grid;
  gap: 12px;
}
.soft-list li {
  position: relative;
  padding: 14px 16px 14px 44px;
  border-radius: 18px;
  background: rgba(255,255,255,.7);
  box-shadow: 0 12px 30px rgba(8,118,184,.07);
  color: var(--muted);
  font-weight: 750;
}
.soft-list li::before {
  content: "✓";
  position: absolute;
  left: 16px; top: 50%; transform: translateY(-50%);
  color: var(--blue-700);
  font-weight: 950;
}

.score-section {
  background: linear-gradient(180deg, rgba(255,255,255,0), rgba(222,246,255,.42), rgba(255,255,255,0));
}
.score-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 42px;
  align-items: start;
}
.sample-score-card {
  margin-top: 28px;
  padding: 28px;
  border-radius: 30px;
  background: rgba(255,255,255,.8);
  border: 1px solid rgba(255,255,255,.8);
  box-shadow: var(--shadow-soft);
}
.score-breakdown {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}
.score-breakdown span {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 13px;
  border-radius: 16px;
  background: rgba(239,250,255,.78);
  color: var(--muted);
  font-weight: 800;
}
.score-breakdown b { color: var(--blue-700); }
.sample-score-card p { color: var(--muted); }
.score-form, .mega-form {
  padding: 30px;
  display: grid;
  gap: 16px;
  position: relative;
  overflow: hidden;
}
.score-form::before, .mega-form::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  background: linear-gradient(90deg, var(--blue), var(--cyan), var(--lavender));
}
.form-header {
  display: flex;
  gap: 14px;
  align-items: center;
  padding-bottom: 10px;
}
.form-header img { width: 54px; height: 54px; border-radius: 18px; object-fit: cover; }
.form-header h3, .form-header h2 { margin-bottom: 4px; }
.form-header p { color: var(--muted); margin: 0; max-width: 440px; line-height: 1.45; }
.form-header--large { margin-bottom: 10px; }
label { display: grid; gap: 7px; color: var(--navy); font-weight: 850; }
input, textarea, select {
  width: 100%;
  border: 1px solid rgba(0,166,255,.16);
  background: rgba(255,255,255,.78);
  border-radius: 16px;
  padding: 14px 15px;
  color: var(--ink);
  outline: none;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7);
  transition: border .2s ease, box-shadow .2s ease, background .2s ease;
}
input:focus, textarea:focus, select:focus {
  border-color: rgba(0,166,255,.55);
  box-shadow: 0 0 0 5px rgba(0,166,255,.1);
  background: white;
}
.score-form textarea {
  min-height: 138px;
  line-height: 1.55;
  background: linear-gradient(180deg, rgba(255,255,255,.9), rgba(235,249,255,.72));
}
textarea { resize: vertical; min-height: 110px; }
fieldset {
  border: 1px solid rgba(0,166,255,.13);
  border-radius: 22px;
  padding: 18px;
  display: grid;
  gap: 10px;
  background: rgba(255,255,255,.48);
}
legend { padding: 0 8px; color: var(--navy); font-weight: 900; }
fieldset label {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 750;
  color: var(--muted);
}
input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--blue); box-shadow: none; }
.form-note { color: var(--muted); font-size: .88rem; margin: 0; text-align: center; }
.score-result {
  display: none;
  padding: 18px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(225,247,255,.9), rgba(255,255,255,.84));
  border: 1px solid rgba(0,166,255,.14);
}
.score-result.is-visible { display: block; animation: resultPop .45s var(--ease); }
.score-result h4 { margin: 0 0 8px; color: var(--navy); font-size: 1.4rem; }
.score-result strong { color: var(--blue-700); }
.score-result p { color: var(--muted); margin-bottom: 0; }
.score-result--large { margin-top: 8px; }
.score-result-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  margin-bottom: 14px;
}
.score-result-head small {
  color: var(--blue-700);
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.score-ring {
  flex: 0 0 auto;
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: white;
  font-size: 1.65rem;
  font-weight: 950;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: 0 16px 34px rgba(0,166,255,.24);
}
.score-detail-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}
.score-detail-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 12px;
  align-items: center;
  padding: 12px;
  border-radius: 16px;
  background: rgba(255,255,255,.68);
  border: 1px solid rgba(0,166,255,.1);
}
.score-detail-row span {
  color: var(--navy);
  font-weight: 850;
}
.score-detail-row b {
  color: var(--blue-700);
}
.score-detail-row i {
  grid-column: 1 / -1;
  height: 8px;
  border-radius: 999px;
  background: var(--sky-100);
  overflow: hidden;
}
.score-detail-row em {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
}
.score-profile-card {
  margin-top: 18px;
  padding: 18px;
  border-radius: 20px;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(0,166,255,.12);
  box-shadow: 0 14px 32px rgba(8,118,184,.07);
}
.score-profile-card small {
  color: var(--blue-700);
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.score-profile-card h4 {
  margin: 6px 0 14px;
}
.score-profile-grid {
  display: grid;
  gap: 10px;
}
.score-profile-row {
  padding: 12px 13px;
  border-radius: 15px;
  background: linear-gradient(135deg, rgba(255,255,255,.92), rgba(235,249,255,.72));
  border: 1px solid rgba(0,166,255,.1);
}
.score-profile-row span {
  display: block;
  color: var(--blue-700);
  font-size: .78rem;
  font-weight: 950;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 5px;
}
.score-profile-row p {
  color: var(--navy);
  font-weight: 750;
}
.score-next-steps {
  display: grid;
  gap: 14px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(0,166,255,.12);
}

.agent-grid { grid-template-columns: repeat(3, 1fr); }
.agent-build-grid { grid-template-columns: repeat(4, 1fr); }
.agent-card {
  position: relative;
  overflow: hidden;
  padding: 28px;
  min-height: 245px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.agent-card span {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  background: var(--sky-100);
  color: var(--blue-700);
  font-weight: 950;
  margin-bottom: 24px;
}
.agent-card h3 { font-size: 1.45rem; }

.control-banner {
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 26px;
  border-radius: 30px;
  background: linear-gradient(135deg, rgba(255,255,255,.86), rgba(228,247,255,.74));
  border: 1px solid rgba(255,255,255,.8);
  box-shadow: var(--shadow-card);
}
.control-banner img { width: 62px; border-radius: 22px; }
.control-banner h3 { margin-bottom: 6px; }
.control-banner p { color: var(--muted); margin-bottom: 0; }

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.timeline li {
  position: relative;
  min-height: 240px;
  padding: 22px;
  border-radius: 28px;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(255,255,255,.78);
  box-shadow: var(--shadow-card);
}
.timeline span {
  display: inline-flex;
  width: 38px;
  height: 38px;
  justify-content: center;
  align-items: center;
  border-radius: 14px;
  background: var(--sky-100);
  color: var(--blue-700);
  font-weight: 950;
  margin-bottom: 28px;
}
.timeline h3 { font-size: 1.2rem; }
.timeline p { color: var(--muted); font-size: .92rem; margin-bottom: 0; }

.academy-section { overflow: hidden; }
.academy-section::before {
  content: "";
  position: absolute;
  inset: 10% 0 auto auto;
  width: 42vw;
  height: 42vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(125,211,255,.18), transparent 64%);
  pointer-events: none;
}
.academy-grid {
  display: grid;
  grid-template-columns: minmax(0, 860px);
  justify-content: center;
  gap: 28px;
  align-items: center;
}
.academy-grid .section-heading--left {
  text-align: center;
  align-items: center;
}
.academy-grid .section-heading--left p {
  margin-left: auto;
  margin-right: auto;
}
.academy-visual { position: relative; min-height: 520px; display: grid; place-items: center; }
.academy-visual img {
  width: min(440px, 82%);
  border-radius: 38px;
  filter: drop-shadow(0 30px 56px rgba(8,118,184,.16));
  animation: floatMascot 6s ease-in-out infinite;
}
.resource-card {
  position: absolute;
  padding: 14px 18px;
  border-radius: 18px;
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(255,255,255,.82);
  box-shadow: var(--shadow-card);
  color: var(--blue-700);
  font-weight: 950;
  animation: floatCard 6s ease-in-out infinite;
}
.resource-card--one { left: 6%; top: 20%; }
.resource-card--two { right: 4%; top: 32%; animation-delay: -2s; }
.resource-card--three { left: 16%; bottom: 18%; animation-delay: -4s; }
.academy-list {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin: 24px 0 28px;
}
.academy-list span {
  padding: 10px 13px;
  border-radius: 999px;
  background: rgba(255,255,255,.78);
  color: var(--blue-700);
  font-weight: 850;
  box-shadow: 0 10px 24px rgba(8,118,184,.08);
}
.academy-preview {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: -8px 0 28px;
}
.academy-preview span {
  min-height: 72px;
  display: grid;
  place-items: center;
  text-align: center;
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.9), rgba(226,247,255,.78));
  border: 1px solid rgba(255,255,255,.82);
  color: var(--navy);
  font-weight: 900;
  box-shadow: 0 12px 30px rgba(8,118,184,.08);
}

.difference-grid { grid-template-columns: repeat(3, 1fr); }
.difference-card {
  position: relative;
  overflow: hidden;
  padding: 26px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.difference-card h3 { margin-bottom: 8px; }

.final-cta { padding-top: 50px; }
.final-cta__inner {
  text-align: center;
  padding: 62px 30px;
  border-radius: 46px;
  background:
    radial-gradient(circle at 50% 0%, rgba(133,242,255,.35), transparent 40%),
    linear-gradient(135deg, rgba(255,255,255,.86), rgba(221,245,255,.82));
  border: 1px solid rgba(255,255,255,.84);
  box-shadow: var(--shadow-soft);
}
.final-cta__inner img { width: 74px; border-radius: 24px; margin: 0 auto 18px; }
.final-cta__inner p { max-width: 780px; margin: 0 auto 30px; color: var(--muted); }
.site-footer {
  padding: 38px 0 20px;
  color: var(--muted);
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  padding: 30px;
  border-radius: 34px;
  background: rgba(255,255,255,.62);
  border: 1px solid rgba(255,255,255,.72);
}
.brand--footer { margin-bottom: 16px; }
.footer-grid p { max-width: 450px; margin-bottom: 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: 16px; justify-content: flex-end; align-content: start; font-weight: 850; color: var(--blue-700); }
.footer-bottom { text-align: center; padding-top: 22px; font-size: .92rem; color: var(--blue-700); font-weight: 850; }

/* Trial and auth pages */
.auth-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 30px;
  background: linear-gradient(135deg, #e9f8ff, #ffffff, #eaf8ff);
}
.auth-background { position: fixed; inset: 0; overflow: hidden; pointer-events: none; }
.auth-background span {
  position: absolute;
  border-radius: 50%;
  filter: blur(50px);
  opacity: .55;
}
.auth-background span:nth-child(1) { width: 350px; height: 350px; background: var(--sky-300); top: 6%; left: 6%; }
.auth-background span:nth-child(2) { width: 420px; height: 420px; background: var(--lavender); right: 8%; top: 12%; }
.auth-background span:nth-child(3) { width: 320px; height: 320px; background: var(--mint); bottom: 6%; left: 38%; }
.auth-shell { width: min(520px, 100%); position: relative; z-index: 1; }
.auth-brand { justify-content: center; margin-bottom: 22px; }
.auth-card { padding: 32px; text-align: center; }
.auth-card__mascot { width: 150px; height: 150px; margin: -8px auto 10px; border-radius: 40px; overflow: hidden; filter: drop-shadow(0 18px 36px rgba(8,118,184,.16)); }
.auth-card h1 { font-size: clamp(2rem, 6vw, 3.4rem); margin: 16px 0 12px; }
.auth-card p { color: var(--muted); }
.auth-form { display: grid; gap: 14px; text-align: left; margin-top: 22px; }
.auth-note { margin-top: 14px; color: var(--muted); font-size: .9rem; }
.auth-switch { margin-top: 20px; margin-bottom: 0; }
.auth-switch a { color: var(--blue-700); font-weight: 900; }
.trial-page { overflow: hidden; }
.academy-page { overflow: hidden; }
.trial-hero { padding-top: 92px !important; }
.trial-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 42px; align-items: center; }
.trial-hero h1 { font-size: clamp(2.8rem, 6vw, 5.8rem); }
.trial-hero p { color: var(--muted); font-size: 1.12rem; }
.trial-hero-card { padding: 28px; }
.trial-hero-card img { width: 230px; border-radius: 34px; margin: 0 auto 18px; }
.trial-hero-card ul { padding-left: 20px; color: var(--muted); font-weight: 780; }
.academy-hero { padding-top: 92px !important; }
.academy-hero-grid {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 42px;
  align-items: center;
}
.academy-hero h1 { font-size: clamp(2.8rem, 6vw, 5.8rem); }
.academy-hero p { color: var(--muted); font-size: 1.12rem; max-width: 760px; }
.academy-hero .section-kicker {
  font-size: clamp(1.25rem, 2.2vw, 2rem);
  line-height: 1;
  font-weight: 950;
  letter-spacing: .04em;
  color: var(--navy);
  margin-bottom: 14px;
}
.academy-library-card {
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}
.academy-library-card img {
  width: min(300px, 78%);
  border-radius: 0;
  margin: 0 auto 18px;
  filter: drop-shadow(0 20px 40px rgba(8,118,184,.14));
}
.academy-library-card p { color: var(--muted); margin-bottom: 0; }
.trial-form-section { padding-top: 30px; }
.mega-form { padding: clamp(24px, 4vw, 42px); }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.checkbox-grid { grid-template-columns: repeat(3, 1fr); }

/* Portal page */
.portal-page { background: linear-gradient(135deg, #effaff, #ffffff 42%, #eaf8ff); }
.portal-layout { display: grid; grid-template-columns: 290px 1fr; min-height: 100vh; }
.portal-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 24px;
  background: rgba(255,255,255,.74);
  border-right: 1px solid rgba(0,166,255,.12);
  backdrop-filter: blur(24px);
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.brand--portal { margin-bottom: 8px; }
.portal-sidebar nav { display: grid; gap: 10px; }
.portal-sidebar nav a {
  padding: 14px 16px;
  border-radius: 16px;
  color: var(--muted);
  font-weight: 850;
}
.portal-sidebar nav a.active, .portal-sidebar nav a:hover { background: white; color: var(--blue-700); box-shadow: 0 12px 26px rgba(8,118,184,.08); }
.portal-main { padding: 28px; display: grid; gap: 24px; }
.portal-hero {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: center;
  min-height: 300px;
  padding: 36px;
  border-radius: 38px;
  background: linear-gradient(135deg, rgba(255,255,255,.82), rgba(218,245,255,.78));
  border: 1px solid rgba(255,255,255,.8);
  box-shadow: var(--shadow-card);
}
.portal-hero h1 { font-size: clamp(2.2rem, 5vw, 5rem); }
.portal-hero p { color: var(--muted); max-width: 650px; }
.portal-hero img { width: 220px; border-radius: 36px; filter: drop-shadow(0 18px 34px rgba(8,118,184,.14)); }
.portal-cards { display: grid; grid-template-columns: .8fr 1.2fr; gap: 20px; }
.portal-card { padding: 26px; }
.portal-card--score strong { display: block; font-size: 4.8rem; line-height: 1; color: var(--navy); letter-spacing: -.07em; margin: 8px 0 16px; }
.portal-card--score strong span { color: var(--muted); font-size: .4em; }
.portal-card p { color: var(--muted); }
.portal-section { padding: 28px; scroll-margin-top: 22px; }
.profile-builder { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.profile-builder div, .academy-portal-grid article {
  padding: 20px;
  border-radius: 22px;
  background: rgba(255,255,255,.7);
  border: 1px solid rgba(255,255,255,.78);
}
.profile-builder span { color: var(--blue-700); font-weight: 950; }
.profile-builder b { display: block; margin: 8px 0 4px; color: var(--navy); }
.profile-builder p, .academy-portal-grid p { color: var(--muted); margin-bottom: 0; }
.chat-preview { display: grid; gap: 14px; max-width: 860px; }
.chat-row { display: flex; gap: 12px; align-items: flex-start; }
.chat-row img { width: 36px; border-radius: 12px; }
.chat-row p { margin: 0; padding: 15px 17px; border-radius: 20px; background: white; color: var(--muted); box-shadow: 0 10px 24px rgba(8,118,184,.07); }
.chat-row.user { justify-content: flex-end; }
.chat-row.user p { background: var(--sky-100); color: var(--navy); }
.academy-portal-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.portal-request { display: grid; gap: 16px; max-width: 780px; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal.is-visible:nth-child(even) { transition-duration: .82s; }
.reveal--delay { transition-delay: .12s; }
.reveal--delay-1 { transition-delay: .08s; }
.reveal--delay-2 { transition-delay: .16s; }

@keyframes floatMascot {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-18px) rotate(1.2deg); }
}
@keyframes logoDance {
  0%, 100% { transform: translateY(0) rotate(-3deg) scale(1); }
  28% { transform: translateY(-12px) rotate(5deg) scale(1.04); }
  58% { transform: translateY(3px) rotate(-4deg) scale(.98); }
  78% { transform: translateY(-7px) rotate(3deg) scale(1.02); }
}
@keyframes loaderGlow {
  0%, 100% { transform: scale(.92); opacity: .55; }
  50% { transform: scale(1.08); opacity: .9; }
}
@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes drift {
  0%, 100% { transform: translateX(0) translateY(0); }
  50% { transform: translateX(24px) translateY(-14px); }
}
@keyframes breathe {
  0%, 100% { transform: scale(1); opacity: .52; }
  50% { transform: scale(1.08); opacity: .72; }
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(0,166,255,.42); }
  70% { box-shadow: 0 0 0 14px rgba(0,166,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(0,166,255,0); }
}
@keyframes orbitSpin {
  from { rotate: 0deg; }
  to { rotate: 360deg; }
}
@keyframes resultPop {
  0% { transform: scale(.96); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

@media (max-width: 1100px) {
  :root { --header-height: auto; }
  .nav { gap: 12px; font-size: .86rem; }
  .hero__grid, .portal-grid, .profile-grid, .academy-grid, .score-grid, .trial-grid, .trial-hero-grid, .academy-hero-grid { grid-template-columns: 1fr; }
  .hero__visual { min-height: 560px; }
  .float-card--three { left: 0; bottom: 3%; }
  .agent-console { right: 0; bottom: -4%; }
  .story-grid { grid-template-columns: 1fr 1fr; }
  .agent-build-grid { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .timeline li { min-height: auto; }
  .portal-layout { grid-template-columns: 1fr; }
  .portal-sidebar { position: relative; height: auto; }
  .portal-sidebar nav { grid-template-columns: repeat(5, 1fr); }
  .profile-builder, .academy-portal-grid { grid-template-columns: repeat(2, 1fr); }
  .profile-grid .section-heading,
  .profile-example-card {
    grid-column: 1;
    grid-row: auto;
  }
}

@media (max-width: 860px) {
  .site-header { border-radius: 28px; align-items: flex-start; flex-wrap: wrap; }
  .menu-toggle { display: flex; }
  .nav {
    display: none;
    flex-basis: 100%;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding: 16px 6px 4px;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 10px 12px; }
  .nav .button { width: 100%; }
  .nav--simple { display: flex; flex-basis: auto; width: auto; flex-direction: row; }
  h1 { font-size: clamp(2.6rem, 15vw, 4.6rem); }
  h2 { font-size: clamp(2rem, 10vw, 3.2rem); }
  .section { padding: 72px 0; }
  .section:first-of-type { padding-top: 130px; }
  .three-col, .agent-grid, .agent-build-grid, .difference-grid, .trial-list, .form-grid, .checkbox-grid, .portal-cards { grid-template-columns: 1fr; }
  .hero__visual { min-height: 460px; }
  .agent-console { right: 0; bottom: 0; width: min(280px, 72%); }
  .float-card { min-width: 160px; padding: 13px; }
  .float-card--one { left: 0; top: 8%; }
  .float-card--two { right: 0; top: 28%; }
  .float-card--three { left: 8%; bottom: 4%; }
  .dashboard-body { grid-template-columns: 1fr; }
  .dashboard-side { border-right: 0; border-bottom: 1px solid rgba(0,166,255,.1); }
  .dashboard-side nav { grid-template-columns: repeat(2, 1fr); }
  .story-grid { grid-template-columns: 1fr; }
  .story-title-row { align-items: flex-start; flex-direction: column; }
  .story-title-row .section-kicker { font-size: clamp(2.7rem, 14vw, 4.2rem); }
  .story-title-row strong { text-align: left; font-size: clamp(1.8rem, 9vw, 3rem); }
  .profile-logo-panel { min-height: 390px; }
  .control-banner, .portal-hero, .footer-grid { flex-direction: column; align-items: flex-start; }
  .timeline { grid-template-columns: 1fr; }
  .portal-sidebar nav { grid-template-columns: 1fr 1fr; }
  .academy-preview { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
}

@media (max-width: 560px) {
  .container, .container.narrow { width: min(100% - 26px, var(--container)); }
  .site-header { width: calc(100% - 22px); top: 10px; padding: 10px; }
  .brand__text strong { font-size: .94rem; }
  .brand__text em { font-size: .7rem; }
  .brand__icon { width: 40px; height: 40px; border-radius: 14px; }
  .hero__actions, .hero__actions--center { display: grid; grid-template-columns: 1fr; width: 100%; }
  .button--lg { width: 100%; }
  .hero__visual { min-height: 390px; }
  .mascot { border-radius: 28px; }
  .float-card { transform: scale(.88); min-width: 145px; }
  .agent-console { display: none; }
  .orbit--one { width: 86%; }
  .orbit--two { width: 66%; }
  .trust-strip span { width: 100%; justify-content: center; }
  .story-card, .glass-card, .agent-card, .difference-card, .score-form, .mega-form, .portal-section { border-radius: 24px; padding: 22px; }
  .trial-band::before { inset: 0 10px; border-radius: 30px; }
  .footer-grid { padding: 22px; }
  .auth-page { padding: 18px; }
  .auth-card { padding: 24px; }
  .portal-main { padding: 16px; }
  .portal-hero { padding: 24px; }
  .profile-builder, .academy-portal-grid { grid-template-columns: 1fr; }
}

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