:root {
  --ink: #0a1a44;
  --muted: #53627d;
  --line: #e3e9f8;
  --blue: #2575ff;
  --violet: #713cf3;
  --cyan: #20c7e8;
  --teal: #21c4b8;
  --pink: #ff5ab0;
  --gold: #f8b938;
  --brand-gold: #c59645;
  --brand-gold-light: #f1cf82;
  --bg: #f7fbff;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(48, 74, 144, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 24% 8%, rgba(197, 150, 69, 0.11), transparent 18rem),
    radial-gradient(circle at 76% 4%, rgba(51, 194, 255, 0.22), transparent 24rem),
    radial-gradient(circle at 55% 14%, rgba(129, 67, 255, 0.25), transparent 27rem),
    linear-gradient(180deg, #fbfdff 0%, #f5faff 52%, #ffffff 100%);
  line-height: 1.5;
}

body.is-animating .reveal {
  opacity: 0;
  transform: translateY(22px);
}

body.is-animating .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 700ms ease, transform 700ms ease;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2rem;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 24px 0;
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-logo {
  display: block;
  width: 54px;
  height: auto;
  filter: drop-shadow(0 8px 14px rgba(3, 35, 83, 0.18));
  transition: transform 220ms ease, filter 220ms ease;
}

.brand:hover .brand-logo {
  filter: drop-shadow(0 12px 22px rgba(113, 60, 243, 0.22));
  transform: translateY(-1px) rotate(-2deg);
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 2.15rem;
  font-size: 14px;
  font-weight: 650;
}

.main-nav a {
  color: #18264c;
}

.header-actions,
.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-weight: 750;
  font-size: 14px;
  white-space: nowrap;
}

.btn-primary {
  color: var(--white);
  background: linear-gradient(135deg, #276bff, #713cf3 62%, #b9863c);
  box-shadow: 0 13px 30px rgba(77, 67, 238, 0.32);
}

.btn-ghost,
.btn-outline {
  background: rgba(255, 255, 255, 0.72);
  border-color: #cfdcf2;
}

.btn-large {
  min-height: 54px;
  padding: 0 27px;
  border-radius: 14px;
}

.play-dot {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  margin-left: 9px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.play-dot::after {
  content: "";
  width: 0;
  height: 0;
  margin-left: 2px;
  border-left: 6px solid currentColor;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 670px;
  padding: 46px 0 38px;
}

.orbital-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.42;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 0.9fr 1.18fr;
  align-items: center;
  gap: 34px;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.hero-copy {
  padding-top: 12px;
}

.pill {
  display: inline-flex;
  padding: 8px 14px;
  border-radius: 999px;
  color: #24366d;
  background: #eef3ff;
  font-size: 12px;
  font-weight: 800;
}

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

h1 {
  max-width: 660px;
  margin-bottom: 24px;
  font-size: clamp(42px, 5.4vw, 72px);
  line-height: 1.12;
  letter-spacing: 0;
}

h1 span,
.eyebrow,
.stats strong,
.rank-card b,
.quiz-card strong {
  color: var(--violet);
}

.hero-copy > p {
  max-width: 610px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 19px;
}

.social-proof {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 46px;
}

.avatars {
  display: flex;
}

.avatars span {
  width: 34px;
  height: 34px;
  margin-left: -8px;
  border: 3px solid var(--white);
  border-radius: 50%;
  background: linear-gradient(135deg, #ffd2a8, #4865b8);
}

.avatars span:first-child {
  margin-left: 0;
}

.avatars span:nth-child(2) {
  background: linear-gradient(135deg, #7acbff, #f7b47f);
}

.avatars span:nth-child(3) {
  background: linear-gradient(135deg, #ff8fb8, #494f9b);
}

.avatars span:nth-child(4) {
  background: linear-gradient(135deg, #9de3ca, #f0a262);
}

.stars {
  color: var(--brand-gold);
  font-size: 18px;
  letter-spacing: 1px;
}

.social-proof p {
  max-width: 360px;
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 13px;
}

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

.hero-visual.is-sliced > :not(.hero-slice) {
  display: none;
}

.hero-slice {
  position: absolute;
  right: -22px;
  top: 0;
  width: min(710px, 104%);
  height: auto;
  border-radius: 18px;
  filter: drop-shadow(0 28px 42px rgba(45, 61, 119, 0.18));
  transform-style: preserve-3d;
  animation: floatHero 7s ease-in-out infinite;
  will-change: transform;
}

.hero-glow,
.hero-visual::before,
.hero-visual::after {
  position: absolute;
  content: "";
  border-radius: 999px;
  filter: blur(6px);
}

.hero-glow-one {
  right: -170px;
  top: 0;
  width: 480px;
  height: 480px;
  background: rgba(39, 190, 255, 0.18);
}

.hero-glow-two {
  left: 50%;
  top: 70px;
  width: 420px;
  height: 420px;
  background: rgba(116, 65, 255, 0.16);
}

.hero-visual::before {
  top: 18px;
  right: 155px;
  width: 34px;
  height: 34px;
  background: linear-gradient(135deg, #27cff2, #8257ff);
  box-shadow: -280px 152px 0 -4px #ff5d9b, 340px 244px 0 -7px rgba(136, 87, 255, 0.45);
  transform: rotate(28deg);
}

.hero-visual::after {
  right: 40px;
  bottom: 54px;
  width: 130px;
  height: 130px;
  border: 3px solid rgba(110, 89, 252, 0.28);
  background: rgba(255, 255, 255, 0.2);
}

.laptop {
  position: absolute;
  right: 20px;
  top: 100px;
  width: min(640px, 92%);
  transform: perspective(1100px) rotateX(1deg) rotateY(-4deg);
}

.laptop-screen {
  overflow: hidden;
  height: 390px;
  border: 12px solid #111827;
  border-radius: 24px 24px 16px 16px;
  background: #f7f9ff;
  box-shadow: 0 32px 60px rgba(24, 37, 84, 0.3);
}

.laptop-base {
  width: 104%;
  height: 30px;
  margin-left: -2%;
  border-radius: 0 0 30px 30px;
  background: linear-gradient(180deg, #b9c1d4, #6f7891);
  box-shadow: 0 18px 34px rgba(22, 30, 70, 0.23);
}

.app-topbar {
  display: grid;
  grid-template-columns: 160px 1fr 68px;
  gap: 16px;
  align-items: center;
  height: 46px;
  padding: 0 16px;
  background: #ffffff;
  border-bottom: 1px solid #e7ecf8;
}

.app-topbar span,
.app-topbar div,
.app-topbar b {
  display: block;
  height: 16px;
  border-radius: 999px;
  background: #eef3ff;
}

.app-layout {
  display: grid;
  grid-template-columns: 145px 1fr;
  height: calc(100% - 46px);
}

.app-layout aside {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 18px 13px;
  background: #ffffff;
  border-right: 1px solid #e7ecf8;
}

.app-layout aside b {
  margin-bottom: 10px;
  font-size: 12px;
}

.app-layout aside span {
  padding: 8px 10px;
  border-radius: 8px;
  color: #66708d;
  font-size: 11px;
  font-weight: 700;
}

.app-layout aside .active {
  color: var(--violet);
  background: #f0ebff;
}

.app-layout section {
  padding: 24px;
}

.app-layout h3 {
  margin-bottom: 2px;
  font-size: 20px;
}

.app-layout p {
  color: var(--muted);
  font-size: 12px;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 14px;
  margin-top: 18px;
}

.metric-ring,
.target-card,
.ai-panel,
.subject-panel {
  min-height: 106px;
  border: 1px solid #e5ebf7;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 12px 22px rgba(30, 52, 117, 0.06);
}

.metric-ring {
  display: grid;
  place-items: center;
  position: relative;
}

.metric-ring::before {
  content: "";
  position: absolute;
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: conic-gradient(var(--teal) 0 92%, #e6edf7 92% 100%);
  mask: radial-gradient(circle, transparent 49%, black 51%);
}

.metric-ring div {
  font-size: 26px;
  font-weight: 900;
}

.metric-ring span {
  margin-top: -32px;
  color: var(--muted);
  font-size: 11px;
}

.target-card {
  padding: 16px;
}

.target-card strong {
  display: block;
  color: #ff9b22;
  font-size: 34px;
  line-height: 1;
}

.target-card strong span {
  color: #8792aa;
  font-size: 12px;
}

.target-card.teal strong {
  color: var(--teal);
}

.bar {
  height: 8px;
  margin-top: 12px;
  border-radius: 999px;
  background: #edf2fb;
}

.bar span {
  display: block;
  width: 72%;
  height: 100%;
  border-radius: inherit;
  background: currentColor;
}

.ai-panel {
  grid-column: span 2;
  padding: 16px;
}

.ai-panel button {
  border: 0;
  border-radius: 9px;
  padding: 10px 18px;
  color: #ffffff;
  font-weight: 800;
  background: var(--violet);
}

.subject-panel {
  display: grid;
  gap: 7px;
  padding: 16px;
}

.subject-panel span {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 12px;
}

.phone {
  position: absolute;
  left: 28px;
  bottom: 72px;
  width: 158px;
  height: 292px;
  padding: 24px 13px 14px;
  border: 9px solid #101623;
  border-radius: 30px;
  background: #ffffff;
  box-shadow: 0 24px 36px rgba(22, 31, 73, 0.3);
  transform: rotate(-5deg);
}

.phone-notch {
  position: absolute;
  left: 50%;
  top: 8px;
  width: 50px;
  height: 8px;
  border-radius: 999px;
  background: #101623;
  transform: translateX(-50%);
}

.phone h4 {
  margin: 0 0 9px;
  font-size: 12px;
}

.phone-chip {
  width: max-content;
  max-width: 100%;
  margin-bottom: 12px;
  padding: 7px 9px;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, #6e44f2, #3478ff);
  font-size: 8px;
  font-weight: 800;
}

.phone-card {
  min-height: 94px;
  padding: 12px;
  border-radius: 14px;
  color: #59657d;
  background: #f6f8ff;
  font-size: 9px;
}

.sprout {
  width: 34px;
  height: 46px;
  margin: 9px auto;
  border-bottom: 26px solid #61c575;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
}

.phone-input {
  padding: 8px;
  border: 1px solid #e2e9f7;
  border-radius: 999px;
  color: #96a0b3;
  font-size: 8px;
}

.float-card {
  position: absolute;
  z-index: 6;
  padding: 18px;
  border: 1px solid rgba(219, 227, 247, 0.85);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.float-card small {
  display: block;
  color: #52617d;
  font-size: 11px;
  font-weight: 800;
}

.streak-card {
  left: 150px;
  top: 18px;
  width: 142px;
}

.streak-card strong {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 10px 0 2px;
  font-size: 26px;
}

.flame {
  width: 32px;
  height: 44px;
  border-radius: 70% 70% 70% 20%;
  background: radial-gradient(circle at 55% 70%, #ffd65c 0 22%, transparent 23%), linear-gradient(180deg, #ff4747, #ff8a1f);
  transform: rotate(8deg);
}

.rank-card {
  right: 6px;
  top: 32px;
  width: 150px;
}

.rank-card b {
  display: block;
  margin: 8px 0 2px;
  font-size: 27px;
}

.mini-chart {
  height: 36px;
  margin-top: 10px;
  border-bottom: 2px solid #dddffa;
  background: linear-gradient(135deg, transparent 10%, rgba(112, 60, 243, 0.3) 11% 17%, transparent 18% 28%, rgba(112, 60, 243, 0.45) 29% 35%, transparent 36% 48%, rgba(112, 60, 243, 0.45) 49% 55%, transparent 56%);
}

.chat-card {
  right: 34px;
  bottom: 104px;
  width: 170px;
}

.chat-card p {
  margin: 12px 0;
  color: var(--muted);
  font-size: 11px;
}

.wave {
  height: 22px;
  background: repeating-linear-gradient(90deg, #a98cff 0 3px, transparent 3px 8px);
  mask: linear-gradient(180deg, transparent, black 40% 60%, transparent);
}

.quiz-card {
  left: 260px;
  bottom: 30px;
  width: 150px;
}

.quiz-card strong {
  display: block;
  margin-top: 4px;
  font-size: 31px;
}

.robot {
  position: absolute;
  right: 155px;
  bottom: 24px;
  z-index: 7;
  width: 88px;
  height: 122px;
}

.robot-head {
  position: relative;
  width: 86px;
  height: 58px;
  border: 8px solid #eef4ff;
  border-radius: 28px;
  background: #132a52;
  box-shadow: inset 0 -12px 18px rgba(0, 0, 0, 0.2);
}

.robot-head span {
  position: absolute;
  top: 21px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #30efff;
  box-shadow: 0 0 12px #30efff;
}

.robot-head span:first-child {
  left: 20px;
}

.robot-head span:last-child {
  right: 20px;
}

.robot-body {
  display: grid;
  place-items: center;
  width: 70px;
  height: 58px;
  margin: -2px auto 0;
  border-radius: 24px 24px 30px 30px;
  background: #ffffff;
  box-shadow: 0 14px 24px rgba(24, 42, 96, 0.2);
}

.robot-logo {
  display: block;
  width: 34px;
  height: auto;
}

.feature-strip,
.programs,
.workflow-stats {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  border: 1px solid rgba(224, 232, 248, 0.95);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 20px 55px rgba(44, 64, 120, 0.08);
}

.client-strip {
  width: min(1180px, calc(100% - 48px));
  margin: -16px auto 24px;
  padding: 24px 34px;
  border: 1px solid rgba(224, 232, 248, 0.9);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 45px rgba(44, 64, 120, 0.07);
  backdrop-filter: blur(18px);
}

.client-strip p {
  margin: 0 0 16px;
  color: var(--muted);
  text-align: center;
  font-size: 13px;
  font-weight: 750;
}

.client-logos {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.client-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 8px 4px;
  color: #17234e;
  transition: transform 240ms ease;
}

.client-logo:hover {
  transform: translateY(-2px);
}

.client-logo img {
  height: 28px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.72;
  transition: filter 240ms ease, opacity 240ms ease;
}

.client-logo:hover img {
  filter: grayscale(0);
  opacity: 1;
}

.client-logo .brand-name {
  font-size: clamp(13px, 1.05vw, 15px);
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #2a3866;
  opacity: 0.78;
  white-space: nowrap;
  transition: opacity 240ms ease, color 240ms ease;
}

.client-logo:hover .brand-name {
  opacity: 1;
  color: #17234e;
}

/* Wordmark logos are wide and short — give them a little less height
   so their visual weight matches the square marks. */
.client-logo.exampro img,
.client-logo.coursegen img {
  height: 24px;
}

.feature-strip {
  padding: 26px 42px 32px;
}

.feature-strip h2,
.programs h2,
.pricing h2,
.workflow h2 {
  margin-bottom: 22px;
  text-align: center;
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.2;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.feature-grid article {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 15px;
  min-height: 102px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #ffffff;
  transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
  transform-style: preserve-3d;
}

.feature-grid article:hover,
.program-grid article:hover,
.price-card:hover {
  border-color: rgba(114, 63, 241, 0.32);
  box-shadow: 0 22px 45px rgba(45, 64, 130, 0.13);
}

.feature-grid h3,
.mini-features h3,
.program-grid h3,
.steps h3 {
  margin-bottom: 5px;
  font-size: 14px;
}

.feature-grid p,
.mini-features p,
.program-grid p,
.steps p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.icon,
.tiny-icon {
  display: inline-grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 14px;
  color: #ffffff;
  font-weight: 900;
  background: transparent;
}

.icon img,
.tiny-icon img {
  display: block;
  width: 100%;
  height: 100%;
}

.ai-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 62px;
  align-items: center;
  width: min(1110px, calc(100% - 48px));
  margin: 22px auto 8px;
  padding: 54px 0;
}

.mock-device {
  position: relative;
  min-height: 295px;
  border: 12px solid #172033;
  border-radius: 18px;
  background: #f8faff;
  box-shadow: 0 26px 55px rgba(30, 44, 84, 0.22);
  transform: rotate(2deg);
}

.mock-device.sliced-device {
  display: grid;
  place-items: center;
  min-height: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transform: none;
}

.mock-device.sliced-device > :not(img) {
  display: none;
}

.mock-device.sliced-device img {
  display: block;
  width: min(112%, 610px);
  height: auto;
  filter: drop-shadow(0 24px 34px rgba(35, 51, 94, 0.14));
  animation: floatDevice 8s ease-in-out infinite;
  transform-style: preserve-3d;
  will-change: transform;
}

.document {
  padding: 26px 34px;
}

.document h4 {
  margin: 0 0 18px;
  color: var(--violet);
}

.document p {
  height: 10px;
  border-radius: 999px;
  background: #dfe7f8;
}

.document p:nth-child(3) {
  width: 82%;
}

.document p:nth-child(4) {
  width: 64%;
}

.diagram {
  width: 110px;
  height: 74px;
  margin-top: 26px;
  border: 2px solid #b7c2d9;
  border-radius: 50%;
}

.explain-card {
  position: absolute;
  right: -44px;
  top: 76px;
  width: 180px;
  padding: 20px;
  border-radius: 18px;
  color: #ffffff;
  background: linear-gradient(145deg, #7a4bf5, #4228d4);
  box-shadow: 0 20px 35px rgba(86, 58, 213, 0.32);
}

.explain-card p {
  margin: 10px 0 15px;
  color: #e8e1ff;
  font-size: 12px;
}

.explain-card button {
  border: 0;
  border-radius: 9px;
  padding: 8px 13px;
  color: #4726d1;
  background: #ffffff;
  font-weight: 800;
}

.eyebrow {
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 900;
}

.ai-copy h2 {
  max-width: 470px;
  margin: 8px 0 16px;
  font-size: clamp(31px, 3.4vw, 43px);
  line-height: 1.15;
}

.ai-copy > p {
  max-width: 540px;
  color: var(--muted);
}

.mini-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 32px;
  margin-top: 34px;
}

.mini-features article {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
}

.tiny-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

.tiny-icon::before {
  content: none;
}

.tiny-icon.cyan {
  color: var(--cyan);
  background: #e8fbff;
}

.tiny-icon.pink {
  color: var(--pink);
  background: #fff0fb;
}

.tiny-icon.violet {
  color: var(--violet);
  background: #f3efff;
}

.programs {
  margin-top: 8px;
  padding: 26px 42px 32px;
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}

.program-grid article {
  min-height: 132px;
  padding: 24px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  text-align: center;
  background: linear-gradient(180deg, #ffffff, #f4f1ff);
  transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
  transform-style: preserve-3d;
}

.program-grid article:nth-child(2) {
  background: linear-gradient(180deg, #ffffff, #fff9e7);
}

.program-grid article:nth-child(3) {
  background: linear-gradient(180deg, #ffffff, #eafffb);
}

.program-grid article:nth-child(4) {
  background: linear-gradient(180deg, #ffffff, #eafaff);
}

.program-grid article:nth-child(5) {
  background: linear-gradient(180deg, #ffffff, #fff0f0);
}

.program-grid article:nth-child(6) {
  background: linear-gradient(180deg, #ffffff, #fff7ef);
}

.program-grid span {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin: 0 auto 12px;
  border-radius: 16px;
  color: #ffffff;
  background: linear-gradient(135deg, #6d4eff, #34d5f4);
  font-weight: 900;
}

.workflow-stats {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 30px;
  margin-top: 24px;
  padding: 34px;
}

.workflow {
  border-right: 1px solid var(--line);
  padding-right: 32px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.steps article {
  text-align: center;
}

.steps span {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin: 0 auto 10px;
  border-radius: 16px;
  background: transparent;
  box-shadow: 0 10px 22px rgba(91, 67, 202, 0.12);
}

.steps span img {
  display: block;
  width: 100%;
  height: 100%;
}

.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-content: center;
}

.stats article {
  display: grid;
  grid-template-columns: 56px 1fr;
  grid-template-rows: auto auto auto;
  column-gap: 14px;
  align-content: start;
  min-height: 148px;
  padding: 18px 18px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff, #f6f9ff);
  box-shadow: 0 10px 28px rgba(45, 64, 130, 0.07);
  transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
}

.stats article:hover {
  transform: translateY(-4px);
  border-color: rgba(37, 117, 255, 0.32);
  box-shadow: 0 18px 38px rgba(45, 64, 130, 0.12);
}

.stats span {
  grid-row: span 2;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: transparent;
  box-shadow: 0 12px 22px rgba(45, 64, 130, 0.1);
}

.stats span img {
  display: block;
  width: 100%;
  height: 100%;
}

.stats strong {
  display: block;
  align-self: center;
  font-size: clamp(22px, 2.1vw, 30px);
  line-height: 1;
}

.stats p {
  margin: 4px 0 0;
  align-self: center;
  color: var(--ink);
  font-weight: 700;
  font-size: 13.5px;
  line-height: 1.35;
}

.stats small {
  grid-column: 1 / -1;
  margin-top: 12px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.pricing {
  width: min(1040px, calc(100% - 48px));
  margin: 34px auto 0;
  padding: 8px 0 6px;
}

.aida-panel {
  width: min(1180px, calc(100% - 48px));
  margin: 36px auto 40px;
  padding: 34px;
  border: 1px solid rgba(224, 232, 248, 0.95);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 20px 55px rgba(44, 64, 120, 0.08);
}

.aida-panel {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 34px;
  align-items: start;
}

.aida-panel h2 {
  margin: 8px 0 0;
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.15;
}

.aida-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.aida-grid article {
  min-height: 145px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff, #f7faff);
  transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
}

.aida-grid article:hover {
  border-color: rgba(114, 63, 241, 0.32);
  box-shadow: 0 18px 34px rgba(45, 64, 130, 0.11);
  transform: translateY(-4px);
}

.aida-grid b {
  color: var(--violet);
  text-transform: uppercase;
  font-size: 12px;
}

.aida-grid h3 {
  margin: 7px 0 8px;
  font-size: 17px;
}

.aida-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.billing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: max-content;
  max-width: 100%;
  margin: 0 auto 28px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  color: var(--muted);
  font-size: 12px;
}

.billing-toggle span,
.billing-toggle b {
  padding: 6px 13px;
  border-radius: 999px;
}

.billing-toggle span:first-child {
  color: var(--ink);
  background: #f2f6ff;
  font-weight: 800;
}

.billing-toggle b {
  color: #8b672e;
  background: rgba(241, 207, 130, 0.2);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 388px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #ffffff;
  transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
  transform-style: preserve-3d;
}

.price-card.popular {
  border: 2px solid var(--brand-gold);
  box-shadow: 0 20px 38px rgba(197, 150, 69, 0.16);
}

.badge {
  position: absolute;
  top: -15px;
  left: -2px;
  padding: 6px 14px;
  border-radius: 12px 12px 12px 0;
  color: #ffffff;
  background: linear-gradient(135deg, #8d692f, var(--brand-gold-light));
  font-size: 11px;
  font-weight: 900;
}

.price-card h3 {
  margin-bottom: 8px;
  font-size: 24px;
  line-height: 1.18;
}

.price-card p {
  min-height: 50px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.price-card strong {
  display: block;
  margin-bottom: 22px;
  font-size: clamp(25px, 2.4vw, 31px);
  line-height: 1.15;
}

.price-card strong span {
  color: var(--muted);
  font-size: 13px;
}

.price-card ul {
  display: grid;
  gap: 11px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
  color: #2b385e;
  font-size: 13px;
  line-height: 1.45;
}

.price-card li::before {
  content: "✓";
  margin-right: 7px;
  color: var(--brand-gold);
  font-weight: 900;
}

.price-card a {
  display: grid;
  place-items: center;
  min-height: 44px;
  margin-top: auto;
  border: 1px solid #bfc9dc;
  border-radius: 10px;
  font-weight: 800;
  font-size: 13px;
}

.price-card.popular a {
  color: #ffffff;
  border-color: transparent;
  background: linear-gradient(135deg, #082f68, #276bff 54%, #b9863c);
}

.site-footer {
  display: grid;
  grid-template-columns: 1.45fr 0.58fr 0.58fr 1.38fr;
  gap: 42px;
  margin-top: 24px;
  padding: 36px max(48px, calc((100vw - 1180px) / 2)) 30px;
  color: #d8e5ff;
  background: #061a3d;
}

.brand.light {
  color: #ffffff;
}

.brand.light .brand-logo {
  filter: drop-shadow(0 10px 18px rgba(241, 207, 130, 0.16));
}

.site-footer p {
  max-width: 300px;
  color: #a9b9d7;
  font-size: 13px;
}

.site-footer h3 {
  margin: 8px 0 13px;
  color: #ffffff;
  font-size: 15px;
}

.site-footer h3::after {
  content: "";
  display: block;
  width: 28px;
  height: 2px;
  margin-top: 8px;
  border-radius: 999px;
  background: var(--brand-gold-light);
}

.site-footer a:not(.brand) {
  display: block;
  margin-bottom: 8px;
  color: #c5d3ed;
  font-size: 13px;
}

.store-row {
  display: flex;
  gap: 8px;
  margin-top: 18px;
}

.store-row span {
  padding: 8px 12px;
  border: 1px solid rgba(241, 207, 130, 0.28);
  border-radius: 8px;
  color: #ffffff;
  font-size: 12px;
}

.newsletter form {
  display: grid;
  grid-template-columns: 1fr 0.84fr;
  gap: 9px;
  margin-top: 16px;
  padding: 7px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.08);
}

/* Honeypot: kept in the DOM for bots, removed from layout & a11y tree for humans. */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.newsletter input,
.newsletter select,
.newsletter textarea {
  min-width: 0;
  border: 0;
  color: #ffffff;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  outline: none;
  padding: 11px 12px;
  font: inherit;
  font-size: 13px;
}

.newsletter select {
  color: #d8e5ff;
}

.newsletter textarea {
  grid-column: 1 / -1;
  min-height: 72px;
  resize: vertical;
}

.newsletter input::placeholder,
.newsletter textarea::placeholder {
  color: #8ea4c8;
}

.newsletter button {
  border: 0;
  border-radius: 8px;
  padding: 10px 17px;
  color: #ffffff;
  background: linear-gradient(135deg, #286dff, #743df1);
  font-weight: 800;
  cursor: pointer;
}

.form-status {
  grid-column: 1 / -1;
  margin: 0;
  color: #b8c9ea;
  font-size: 12px;
  line-height: 1.45;
}

.form-status[data-state="success"] {
  color: #75f0c6;
}

.form-status[data-state="error"] {
  color: #ffd27a;
}

.tilt-active {
  transform: perspective(900px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)) translateY(var(--tilt-lift, 0));
}

@keyframes floatHero {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotateX(0deg) rotateY(0deg);
  }
  50% {
    transform: translate3d(0, -12px, 0) rotateX(1.4deg) rotateY(-1.8deg);
  }
}

@keyframes floatDevice {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotateZ(0deg);
  }
  50% {
    transform: translate3d(0, -10px, 0) rotateZ(-0.8deg);
  }
}

@media (max-width: 1050px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .main-nav {
    display: none;
  }

  .hero-content,
  .ai-section,
  .workflow-stats {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    text-align: center;
  }

  .hero-copy p,
  .social-proof p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions,
  .social-proof {
    justify-content: center;
  }

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

  .laptop {
    left: 50%;
    right: auto;
    transform: translateX(-50%) perspective(1100px) rotateX(1deg);
  }

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

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 620px;
    margin: 0 auto;
  }

  .price-card {
    min-height: auto;
  }

  .workflow {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding-right: 0;
    padding-bottom: 26px;
  }

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

@media (max-width: 720px) {
  .site-header,
  .hero-content,
  .client-strip,
  .feature-strip,
  .programs,
  .workflow-stats,
  .ai-section,
  .pricing,
  .aida-panel {
    width: min(100% - 28px, 1180px);
  }

  .site-header {
    gap: 14px;
    padding-top: 16px;
  }

  .brand {
    font-size: 16px;
  }

  .brand-logo {
    width: 44px;
    height: auto;
  }

  .header-actions .btn-ghost {
    display: none;
  }

  .btn {
    min-height: 40px;
    padding: 0 14px;
    font-size: 12px;
  }

  .hero {
    padding-top: 16px;
  }

  h1 {
    font-size: 43px;
  }

  .hero-copy > p {
    font-size: 16px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .social-proof {
    flex-direction: column;
    margin-top: 30px;
  }

  .hero-visual {
    min-height: 470px;
    margin-top: -6px;
  }

  .hero-slice {
    right: 0;
    width: 100%;
    animation-duration: 9s;
  }

  .laptop {
    top: 90px;
    width: 96%;
  }

  .laptop-screen {
    height: 285px;
    border-width: 8px;
  }

  .app-layout {
    grid-template-columns: 84px 1fr;
  }

  .app-layout aside {
    padding: 12px 8px;
  }

  .app-layout aside span {
    padding: 6px;
    font-size: 8px;
  }

  .app-layout section {
    padding: 14px;
  }

  .dashboard-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .metric-ring,
  .target-card,
  .ai-panel,
  .subject-panel {
    min-height: 82px;
  }

  .metric-ring::before {
    width: 58px;
    height: 58px;
  }

  .target-card strong {
    font-size: 22px;
  }

  .subject-panel,
  .rank-card,
  .chat-card {
    display: none;
  }

  .phone {
    left: 2px;
    bottom: 26px;
    width: 120px;
    height: 220px;
    border-width: 7px;
  }

  .streak-card {
    left: 90px;
    top: 6px;
  }

  .quiz-card {
    left: 172px;
    bottom: 13px;
  }

  .robot {
    right: 54px;
    bottom: 5px;
    transform: scale(0.82);
  }

  .feature-strip,
  .programs,
  .workflow-stats {
    padding: 22px 18px;
  }

  .feature-grid,
  .client-logos,
  .program-grid,
  .mini-features,
  .pricing-grid,
  .stats,
  .site-footer,
  .aida-panel,
  .aida-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid article {
    grid-template-columns: 54px 1fr;
    padding: 16px;
  }

  .client-strip {
    margin-top: -8px;
    padding: 20px 16px;
  }

  .client-logos {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }

  .client-logo {
    min-height: 56px;
  }

  .client-logo img {
    height: 22px;
  }

  .client-logo.exampro img,
  .client-logo.coursegen img {
    height: 20px;
  }

  .mock-device {
    min-height: 240px;
    transform: none;
  }

  .mock-device.sliced-device img {
    width: 100%;
  }

  .explain-card {
    right: 16px;
    top: auto;
    bottom: 16px;
    width: 168px;
  }

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

  .price-card {
    padding: 24px;
  }

  .price-card p {
    min-height: auto;
  }

  .site-footer {
    padding: 34px 22px;
  }

  .newsletter form {
    grid-template-columns: 1fr;
  }

  .newsletter textarea {
    grid-column: auto;
  }

  .form-status {
    grid-column: auto;
  }
}
