:root {
  color-scheme: light;
  --page: #f6f3ee;
  --card: #fffefd;
  --card-soft: #fbfaf6;
  --ink: #19191b;
  --muted: #726d66;
  --line: #e3ded5;
  --line-strong: #d4cec4;
  --blue: #0056db;
  --blue-dark: #003fa8;
  --blue-soft: #e8f0ff;
  --orange: #f4581e;
  --orange-soft: #fff0e8;
  --grey: #e8e7e4;
  --shadow: 0 22px 70px rgba(42, 39, 35, 0.09);
  --soft-shadow: 0 12px 34px rgba(42, 39, 35, 0.08);
  --radius: 28px;
  --display: "Bricolage Grotesque", "Assistant", sans-serif;
  --body: "Assistant", "Avenir Next", sans-serif;
  --max: 1680px;
  --gutter: clamp(18px, 4.2vw, 78px);
}

@property --shown-value {
  syntax: "<number>";
  inherits: false;
  initial-value: 0;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 0%, rgba(0, 86, 219, 0.08), transparent 26rem),
    radial-gradient(circle at 82% 14%, rgba(244, 88, 30, 0.12), transparent 24rem),
    linear-gradient(180deg, #f6f3ee 0%, #f3f0eb 100%);
  font-family: var(--body);
  letter-spacing: 0;
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";
  opacity: 0.28;
  background-image:
    linear-gradient(rgba(0, 86, 219, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 86, 219, 0.1) 1px, transparent 1px);
  background-size: 76px 76px;
  mask-image: linear-gradient(to bottom, black 0%, transparent 78%);
}

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

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid rgba(0, 86, 219, 0.38);
  outline-offset: 4px;
}

button,
input {
  font: inherit;
}

.app-shell {
  position: relative;
  overflow: hidden;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(var(--max), 100%);
  margin: 0 auto;
  padding: 24px var(--gutter) 18px;
  border-bottom: 1px solid rgba(227, 222, 213, 0.75);
  background: rgba(246, 243, 238, 0.78);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font: 800 1rem/1 var(--display);
  letter-spacing: 0.25em;
}

.brand-logo {
  flex: 0 0 auto;
  gap: 0;
  line-height: 0;
  letter-spacing: 0;
  overflow: visible;
}

.brand-logo img {
  display: block;
  width: clamp(104px, 8.8vw, 138px);
  height: auto;
}

.brand-sigil {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 2px solid var(--blue);
  border-radius: 50%;
  background: var(--card);
  color: var(--blue);
  font-weight: 800;
  letter-spacing: 0;
  box-shadow: 0 5px 0 var(--blue-soft);
}

.nav-links {
  display: flex;
  gap: clamp(18px, 3vw, 44px);
  align-items: center;
  color: var(--muted);
  font-weight: 800;
}

.nav-links a {
  position: relative;
  transition: color 180ms ease;
}

.nav-links a::after {
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 0;
  height: 3px;
  border-radius: 999px;
  content: "";
  background: var(--blue);
  transition: width 220ms ease;
}

.nav-links a:hover {
  color: var(--ink);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta,
.button,
.waitlist-form button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 50px;
  padding: 0 22px;
  border: 2px solid var(--blue);
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-weight: 800;
  overflow: hidden;
  box-shadow: 0 8px 0 var(--blue-soft);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.nav-cta::before,
.button::before,
.waitlist-form button::before {
  position: absolute;
  inset: 0;
  width: 45%;
  content: "";
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.36), transparent);
  transform: translateX(-145%) skewX(-18deg);
  transition: transform 520ms cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-cta:hover,
.button:hover,
.waitlist-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 0 var(--blue-soft);
}

.nav-cta:hover::before,
.button:hover::before,
.waitlist-form button:hover::before {
  transform: translateX(290%) skewX(-18deg);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(360px, 0.78fr) minmax(620px, 1.22fr);
  gap: clamp(30px, 5vw, 86px);
  align-items: center;
  width: min(var(--max), 100%);
  min-height: 820px;
  margin: 0 auto;
  padding: 82px var(--gutter) 80px;
}

.hero::after {
  position: absolute;
  right: 7%;
  top: 16%;
  width: 380px;
  height: 380px;
  border: 1px solid rgba(0, 86, 219, 0.2);
  border-radius: 50%;
  content: "";
  animation: slowSpin 24s linear infinite;
}

.hero-copy {
  position: relative;
  z-index: 3;
}

.hero h1,
.section-intro h2,
.engine-copy h2,
.waitlist-copy h2 {
  margin: 0;
  padding: 0.02em 0 0.12em;
  color: var(--ink);
  font: 800 clamp(4rem, 7.8vw, 9.7rem) / 1.06 var(--display);
  letter-spacing: -0.045em;
}

.hero h1 span {
  display: block;
  padding-bottom: 0.08em;
  color: var(--blue);
  line-height: 1.18;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(3.65rem, 6.4vw, 8.2rem);
}

.hero-subcopy {
  max-width: 660px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: clamp(1.18rem, 1.5vw, 1.55rem);
  font-weight: 700;
  line-height: 1.35;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 34px;
}

.button {
  min-width: 196px;
  min-height: 58px;
}

.button-primary {
  background: var(--blue);
}

.button-secondary {
  background: var(--card);
  color: var(--blue);
}

.hero-system {
  position: relative;
  min-height: 650px;
}

.hero-proof-console {
  position: relative;
  min-height: 600px;
  perspective: 1200px;
}

.console-orbit {
  position: absolute;
  inset: 36px 6px 10px 12%;
  border: 1px solid rgba(0, 86, 219, 0.18);
  border-radius: 42% 58% 56% 44%;
  transform: rotate(-8deg);
  animation: orbitPulse 5.5s ease-in-out infinite;
}

.console-orbit span {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 10px rgba(0, 86, 219, 0.08);
}

.console-orbit span:nth-child(1) {
  left: 12%;
  top: 20%;
  background: var(--orange);
  box-shadow: 0 0 0 10px rgba(244, 88, 30, 0.12);
}

.console-orbit span:nth-child(2) {
  right: 9%;
  top: 34%;
}

.console-orbit span:nth-child(3) {
  left: 54%;
  bottom: 5%;
}

.proof-window {
  position: absolute;
  inset: 6% 0 auto;
  z-index: 2;
  min-height: 540px;
  padding: clamp(20px, 2.4vw, 30px);
  border: 2px solid var(--blue);
  border-radius: 32px;
  background:
    linear-gradient(138deg, rgba(255, 255, 255, 0.98), rgba(255, 253, 249, 0.9)),
    radial-gradient(circle at 84% 12%, rgba(244, 88, 30, 0.16), transparent 28%),
    radial-gradient(circle at 18% 28%, rgba(0, 86, 219, 0.14), transparent 28%);
  box-shadow:
    0 34px 90px rgba(42, 39, 35, 0.12),
    0 0 0 10px rgba(0, 86, 219, 0.05);
  overflow: hidden;
  transform: rotateY(-4deg) rotateX(1deg);
  transform-origin: center;
  animation: proofFloat 7s ease-in-out infinite;
}

.proof-window::before {
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(0, 86, 219, 0.16);
  border-radius: 24px;
  content: "";
  pointer-events: none;
}

.proof-window::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(115deg, transparent 0 38%, rgba(255, 255, 255, 0.76) 49%, transparent 60%),
    linear-gradient(rgba(0, 86, 219, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 86, 219, 0.07) 1px, transparent 1px);
  background-size: auto, 46px 46px, 46px 46px;
  opacity: 0.7;
  transform: translateX(-118%);
  animation: consoleSheen 7s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}

.proof-window > * {
  position: relative;
  z-index: 1;
}

.proof-window-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid rgba(0, 86, 219, 0.16);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 14px 32px rgba(42, 39, 35, 0.06);
}

.proof-mark {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 10px var(--blue-soft);
}

.proof-mark::before,
.proof-mark::after {
  position: absolute;
  inset: 12px 6px;
  border: 3px solid #fff;
  border-radius: 50%;
  content: "";
}

.proof-mark::before {
  transform: rotate(45deg);
}

.proof-mark::after {
  transform: rotate(-45deg);
}

.proof-window-head strong {
  display: block;
  color: var(--ink);
  font: 800 1.02rem/1.08 var(--display);
}

.proof-window-head small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-weight: 800;
}

.proof-context {
  display: grid;
  gap: 3px;
  justify-items: end;
  padding-left: 18px;
  border-left: 1px solid rgba(0, 86, 219, 0.16);
  color: var(--muted);
  font-weight: 800;
  text-align: right;
}

.proof-context b {
  color: var(--ink);
  font: 800 1rem/1 var(--display);
}

.proof-context small {
  margin: 0;
  font-size: 0.8rem;
}

.proof-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(260px, 0.92fr);
  gap: 18px;
  margin-top: 18px;
}

.proof-card {
  position: relative;
  min-width: 0;
  min-height: 330px;
  padding: clamp(20px, 2vw, 26px);
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 20px 52px rgba(42, 39, 35, 0.08);
  overflow: hidden;
  transition:
    transform 260ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
  will-change: transform;
}

.proof-card:hover {
  border-color: rgba(0, 86, 219, 0.45);
  box-shadow: 0 26px 70px rgba(0, 86, 219, 0.13);
}

.proof-card::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background: radial-gradient(circle at 82% 14%, rgba(0, 86, 219, 0.12), transparent 30%);
}

.proof-grade::before {
  background: radial-gradient(circle at 76% 18%, rgba(244, 88, 30, 0.16), transparent 30%);
}

.proof-card > * {
  position: relative;
  z-index: 1;
}

.proof-section-head {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(0, 86, 219, 0.12);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.proof-section-head b {
  color: var(--blue);
  font-size: 0.78rem;
}

.proof-card h2 {
  max-width: 360px;
  margin: 22px 0 16px;
  padding-bottom: 0.08em;
  color: var(--ink);
  font: 800 clamp(2rem, 3vw, 3.4rem) / 1.05 var(--display);
  letter-spacing: -0.045em;
}

.proof-card p {
  max-width: 390px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.04rem, 1.25vw, 1.26rem);
  font-weight: 800;
  line-height: 1.36;
}

.source-stack {
  display: grid;
  gap: 10px;
  margin-top: 30px;
}

.source-stack span {
  position: relative;
  min-height: 46px;
  padding: 13px 14px 13px 42px;
  border: 1px solid rgba(0, 86, 219, 0.22);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.76);
  color: var(--muted);
  font-weight: 800;
}

.source-stack span::before {
  position: absolute;
  left: 14px;
  top: 50%;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 6px var(--blue-soft);
  content: "";
  transform: translateY(-50%);
}

.source-stack span:nth-child(2)::before {
  background: var(--orange);
  box-shadow: 0 0 0 6px var(--orange-soft);
}

.paper-score {
  display: grid;
  grid-template-columns: 1fr 92px;
  gap: 16px;
  align-items: center;
  margin: 22px 0;
}

.paper-preview {
  min-height: 142px;
  padding: 20px 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 16px 34px rgba(42, 39, 35, 0.1);
  transform: rotate(-2deg);
}

.paper-preview i {
  display: block;
  height: 7px;
  margin-top: 14px;
  border-radius: 999px;
  background: #ded9cf;
}

.paper-preview i:nth-child(1) {
  margin-top: 0;
}

.paper-preview i:nth-child(2) {
  width: 72%;
}

.paper-preview i:nth-child(3) {
  width: 54%;
}

.hero-grade {
  width: 92px;
  height: 92px;
}

.hero-grade b {
  font-size: 1.45rem;
}

.rubric-mini {
  display: grid;
  gap: 13px;
}

.rubric-mini span {
  position: relative;
  display: flex;
  justify-content: space-between;
  padding-bottom: 14px;
  color: var(--muted);
  font-weight: 800;
}

.rubric-mini span::after {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 7px;
  border-radius: 999px;
  background:
    linear-gradient(90deg, var(--blue), var(--orange)) left / var(--score) 100% no-repeat,
    var(--grey);
  content: "";
  transform-origin: left;
  animation: rubricFill 4s ease-in-out infinite;
}

.rubric-mini b {
  color: var(--ink);
}

.course-orbit {
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(0, 86, 219, 0.18);
  border-radius: 50%;
  animation: orbitPulse 5.5s ease-in-out infinite;
}

.course-orbit span {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 10px rgba(0, 86, 219, 0.08);
}

.course-orbit span:nth-child(1) {
  left: 17%;
  top: 18%;
  background: var(--orange);
}

.course-orbit span:nth-child(2) {
  right: 12%;
  top: 42%;
}

.course-orbit span:nth-child(3) {
  left: 48%;
  bottom: 8%;
}

.course-card,
.feature-card,
.engine-node,
.engine-core,
.quote-card,
.study-map article,
.waitlist-form {
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}

.course-card {
  --px: 0px;
  --py: 0px;
  --tilt: 0deg;
  position: absolute;
  width: 320px;
  min-height: 250px;
  padding: 26px;
  overflow: hidden;
  translate: var(--px) var(--py);
  rotate: var(--tilt);
  animation: cardFloat 6s ease-in-out infinite;
  will-change: translate, rotate;
}

.course-card > * {
  position: relative;
  z-index: 1;
}

.course-card::before {
  position: absolute;
  inset: -2px;
  z-index: 0;
  border-radius: inherit;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(115deg, transparent 0 34%, rgba(0, 86, 219, 0.12) 44%, transparent 56%),
    radial-gradient(circle at 18% 22%, rgba(0, 86, 219, 0.1), transparent 24%);
  opacity: 0.8;
  transform: translateX(-125%);
  animation: cardSheen 7.5s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}

.course-card.selected {
  display: grid;
  grid-template-rows: auto auto auto;
  align-content: start;
  right: 5%;
  top: 6%;
  z-index: 3;
  width: 430px;
  min-height: 340px;
  padding: 34px 38px 30px;
  border: 2px solid var(--blue);
  animation-delay: -1.2s;
}

.course-card.selected::after {
  position: absolute;
  inset: 24px;
  z-index: 0;
  border: 1px solid rgba(0, 86, 219, 0.2);
  border-radius: 21px;
  content: "";
  pointer-events: none;
  animation: selectedHalo 4.6s ease-in-out infinite;
}

.course-card.card-top {
  left: 10%;
  top: 8%;
  animation-delay: -2.3s;
}

.course-card.card-left {
  left: 1%;
  bottom: 10%;
  animation-delay: -3.2s;
}

.course-card.card-left::before {
  background:
    linear-gradient(115deg, transparent 0 34%, rgba(244, 88, 30, 0.16) 44%, transparent 56%),
    radial-gradient(circle at 18% 22%, rgba(244, 88, 30, 0.11), transparent 24%);
}

.course-card.card-bottom {
  right: 12%;
  bottom: 0;
  animation-delay: -4.2s;
}

.course-card h2,
.course-card h3 {
  margin: 34px 0 12px;
  padding-bottom: 0.04em;
  color: var(--ink);
  font: 800 clamp(2.1rem, 3vw, 3.4rem) / 1.12 var(--display);
}

.course-card h3 {
  font-size: 2.35rem;
}

.course-card.selected h2 {
  margin-top: 68px;
}

.course-card p {
  margin: 0;
  color: var(--muted);
  font-size: 1.18rem;
  font-weight: 700;
  line-height: 1.3;
}

.card-pill {
  position: absolute;
  left: 26px;
  top: 26px;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-weight: 800;
}

.course-icon,
.feature-icon,
.node-icon {
  position: absolute;
  right: 26px;
  top: 28px;
  width: 42px;
  height: 42px;
  color: var(--blue);
}

.atom-icon::before,
.atom-icon::after {
  position: absolute;
  inset: 9px 3px;
  border: 4px solid currentColor;
  border-radius: 50%;
  content: "";
}

.atom-icon::before {
  transform: rotate(45deg);
}

.atom-icon::after {
  transform: rotate(-45deg);
}

.book-icon::before {
  position: absolute;
  inset: 7px 5px;
  border: 4px solid currentColor;
  border-radius: 5px;
  content: "";
}

.book-icon::after {
  position: absolute;
  left: 20px;
  top: 7px;
  width: 4px;
  height: 28px;
  background: currentColor;
  content: "";
}

.code-icon::before {
  position: absolute;
  left: 2px;
  top: 12px;
  width: 14px;
  height: 14px;
  border-left: 4px solid currentColor;
  border-bottom: 4px solid currentColor;
  content: "";
  transform: rotate(45deg);
}

.code-icon::after {
  position: absolute;
  right: 2px;
  top: 12px;
  width: 14px;
  height: 14px;
  border-right: 4px solid currentColor;
  border-top: 4px solid currentColor;
  content: "";
  transform: rotate(45deg);
}

.dice-icon::before {
  position: absolute;
  inset: 8px;
  border: 4px solid currentColor;
  border-radius: 8px;
  content: "";
  transform: rotate(-12deg);
}

.dice-icon::after {
  position: absolute;
  left: 15px;
  top: 16px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 11px 7px 0 currentColor, 2px 17px 0 currentColor;
  content: "";
}

.course-footer {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  margin-top: 52px;
}

.course-card.selected .course-footer {
  align-items: center;
  margin-top: 32px;
  padding-top: 0;
}

.course-footer span {
  color: var(--muted);
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1.3;
}

.progress-ring {
  --value: 0;
  --shown-value: 0;
  --accent: var(--blue);
  position: relative;
  display: grid;
  width: 82px;
  height: 82px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(circle closest-side, #fff 72%, transparent 74%),
    conic-gradient(var(--accent) calc(var(--shown-value) * 1%), var(--grey) 0);
  animation: ringPop 900ms ease both;
  transition: --shown-value 1200ms cubic-bezier(0.16, 1, 0.3, 1);
}

.progress-ring.is-on {
  --shown-value: var(--value);
}

.progress-ring::after {
  position: absolute;
  inset: 6px;
  border: 2px solid transparent;
  border-top-color: color-mix(in srgb, var(--accent) 58%, transparent);
  border-radius: inherit;
  content: "";
  animation: ringSweep 5.5s linear infinite;
}

.progress-ring b {
  position: relative;
  z-index: 1;
  font: 800 1.15rem/1 var(--display);
}

.metrics-strip {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: var(--card);
  color: var(--muted);
}

.metrics-track {
  display: flex;
  width: max-content;
  gap: 34px;
  padding: 17px 0 17px var(--gutter);
  font-size: clamp(1rem, 1.5vw, 1.35rem);
  font-weight: 800;
  white-space: nowrap;
  animation: marquee 30s linear infinite;
}

.metrics-track span::before {
  display: inline-block;
  width: 36px;
  height: 1px;
  margin: 0 18px 0 0;
  vertical-align: middle;
  background: linear-gradient(90deg, rgba(0, 86, 219, 0.4), rgba(244, 88, 30, 0.35));
  content: "";
}

.cards-section,
.engine-section,
.flow-section,
.waitlist-section {
  width: min(var(--max), 100%);
  margin: 0 auto;
  padding: clamp(56px, 6.6vw, 96px) var(--gutter);
}

#courses,
#engine,
#illustrations,
#flow,
#waitlist {
  scroll-margin-top: 96px;
}

#illustrations {
  scroll-margin-top: 0;
}

.section-intro {
  max-width: 1100px;
  margin: 0 auto clamp(36px, 4.8vw, 66px);
  text-align: center;
}

.section-intro h2,
.engine-copy h2,
.waitlist-copy h2 {
  font-size: clamp(3rem, 5.5vw, 6.55rem);
  line-height: 1.04;
}

.feature-showcase {
  display: grid;
  gap: clamp(34px, 5vw, 72px);
}

.lab-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(300px, 0.7fr) minmax(560px, 1.3fr);
  gap: clamp(28px, 4vw, 72px);
  align-items: center;
  min-height: 720px;
  padding: clamp(34px, 5vw, 72px);
  border: 1.5px solid var(--line);
  border-radius: 40px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.8)),
    radial-gradient(circle at 82% 22%, rgba(0, 86, 219, 0.12), transparent 30%),
    radial-gradient(circle at 92% 88%, rgba(244, 88, 30, 0.13), transparent 26%);
  box-shadow: 0 30px 90px rgba(42, 39, 35, 0.1);
  overflow: hidden;
  isolation: isolate;
}

.lab-panel::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  content: "";
  opacity: 0.42;
  background-image:
    linear-gradient(rgba(0, 86, 219, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 86, 219, 0.08) 1px, transparent 1px);
  background-size: 64px 64px;
}

.lab-panel::after {
  position: absolute;
  inset: auto -8% -42% 38%;
  z-index: -1;
  height: 66%;
  content: "";
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 86, 219, 0.16), transparent 64%);
  filter: blur(6px);
  animation: labGlowDrift 8s ease-in-out infinite;
}

.grading-panel::after {
  left: 8%;
  right: auto;
  background: radial-gradient(circle, rgba(244, 88, 30, 0.15), transparent 64%);
  animation-delay: -3s;
}

.lab-copy {
  position: relative;
  z-index: 2;
}

.lab-copy h3 {
  max-width: 680px;
  margin: 0 0 20px;
  padding-bottom: 0.14em;
  color: var(--ink);
  font: 800 clamp(3rem, 5.2vw, 6.8rem) / 1.06 var(--display);
  letter-spacing: -0.045em;
}

.lab-copy p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.1rem, 1.35vw, 1.45rem);
  font-weight: 700;
  line-height: 1.45;
}

.lab-visual {
  position: relative;
  min-height: 560px;
  min-width: 0;
  padding: clamp(18px, 2vw, 28px);
  border: 1px solid var(--line);
  border-radius: 34px;
  background:
    radial-gradient(circle at 80% 12%, rgba(0, 86, 219, 0.09), transparent 26%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(250, 248, 244, 0.86));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 26px 70px rgba(42, 39, 35, 0.08);
  overflow: hidden;
}

.lab-visual::before {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0.36;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(0, 86, 219, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 86, 219, 0.08) 1px, transparent 1px);
  background-size: 48px 48px;
}

.lab-visual::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background: linear-gradient(115deg, transparent 0 42%, rgba(255, 255, 255, 0.7) 49%, transparent 58%);
  transform: translateX(-130%);
  animation: visualSheen 7.5s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}

.grounded-ui {
  display: grid;
  grid-template-columns: minmax(168px, 210px) minmax(0, 1fr);
  gap: 22px;
}

.material-rail,
.uploaded-tests-board,
.solutions-board {
  position: relative;
  z-index: 1;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 44px rgba(42, 39, 35, 0.08);
}

.material-rail {
  display: grid;
  align-content: start;
  gap: 14px;
  min-height: 500px;
  padding: 18px;
}

.rail-head,
.board-title {
  display: flex;
  gap: 10px;
  align-items: center;
  color: var(--ink);
  font-weight: 800;
}

.rail-head {
  justify-content: space-between;
  margin-bottom: 4px;
}

.rail-head span {
  color: var(--muted);
}

.mini-material {
  position: relative;
  min-height: 126px;
  padding: 38px 14px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 24px rgba(42, 39, 35, 0.1);
  overflow: hidden;
  animation: materialFloat 6s ease-in-out infinite;
}

.mini-material:nth-child(3) {
  animation-delay: -1.7s;
}

.mini-material:nth-child(4) {
  animation-delay: -3.2s;
}

.mini-material.is-active {
  border-color: rgba(0, 86, 219, 0.56);
}

.mini-material.is-active::after {
  position: absolute;
  top: 0;
  bottom: 0;
  left: -42%;
  width: 34%;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(0, 86, 219, 0.18), transparent);
  animation: scanBeam 3.4s ease-in-out infinite;
}

.mini-label {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 1;
  padding: 5px 8px;
  border-radius: 7px;
  background: var(--blue);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
}

.mini-material i,
.solution-paper i,
.test-thumb i {
  display: block;
  height: 4px;
  margin-top: 9px;
  border-radius: 999px;
  background: #ded9cf;
}

.mini-material i:nth-of-type(2),
.solution-paper i:nth-of-type(2),
.test-thumb i:nth-of-type(2) {
  width: 74%;
}

.mini-material i:nth-of-type(3),
.solution-paper i:nth-of-type(3),
.test-thumb i:nth-of-type(3) {
  width: 52%;
}

.answer-stage {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 16px;
  min-width: 0;
}

.question-bar,
.prompt-dock,
.grounded-answer {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 44px rgba(42, 39, 35, 0.08);
}

.question-bar {
  padding: 18px 20px;
  border-radius: 20px;
  color: var(--ink);
  font-size: clamp(1rem, 1.2vw, 1.18rem);
  font-weight: 800;
}

.grounded-answer {
  position: relative;
  min-height: 330px;
  padding: clamp(22px, 3vw, 36px);
  border-radius: 26px;
  overflow: hidden;
}

.grounded-answer::before {
  position: absolute;
  left: 0;
  top: 88px;
  width: 4px;
  height: 54%;
  border-radius: 999px;
  background: var(--blue);
  content: "";
  box-shadow: 0 0 0 8px var(--blue-soft);
  animation: sourcePulse 2.8s ease-in-out infinite;
}

.answer-head {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.answer-head span {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
  text-transform: uppercase;
}

.answer-head b {
  padding: 7px 11px;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 0.82rem;
}

.grounded-answer p {
  max-width: 620px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.2rem, 1.45vw, 1.55rem);
  font-weight: 800;
  line-height: 1.42;
}

.formula-strip {
  display: flex;
  gap: 18px;
  align-items: center;
  margin: 26px 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--card-soft);
}

.formula-strip span {
  color: var(--ink);
  font: 800 clamp(1.4rem, 2vw, 2.2rem) / 1 var(--display);
}

.formula-strip i {
  height: 10px;
  flex: 1;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue), var(--orange));
  transform-origin: left;
  animation: formulaGlow 2.7s ease-in-out infinite;
}

.source-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  color: var(--muted);
  font-weight: 800;
}

.source-row b {
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 0.9rem;
}

.prompt-dock {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding: 12px;
  border-radius: 22px;
}

.prompt-dock span {
  padding-left: 10px;
  color: var(--muted);
  font-size: 1.05rem;
  font-weight: 800;
}

.prompt-dock b {
  padding: 12px 16px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-size: 0.92rem;
}

.grading-ui {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
  gap: 22px;
}

.uploaded-tests-board,
.solutions-board {
  min-height: 500px;
  padding: 22px;
}

.board-title {
  justify-content: space-between;
  min-height: 42px;
  margin-bottom: 22px;
  font-size: 1.15rem;
}

.board-title em {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  font-style: normal;
  font-size: 0.84rem;
  background: var(--card-soft);
}

.file-icon,
.scan-icon {
  position: relative;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  border-radius: 12px;
  background: var(--orange-soft);
}

.file-icon::before {
  position: absolute;
  inset: 10px 12px;
  border: 3px solid var(--orange);
  border-radius: 3px;
  content: "";
}

.scan-icon {
  background: var(--blue-soft);
}

.scan-icon::before,
.scan-icon::after {
  position: absolute;
  inset: 10px;
  border: 3px solid var(--blue);
  border-radius: 6px;
  content: "";
}

.scan-icon::after {
  inset: 17px 8px;
  border-inline: 0;
  animation: scanLine 2.2s ease-in-out infinite;
}

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

.test-thumb {
  position: relative;
  min-height: 158px;
  padding: 42px 16px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 24px rgba(42, 39, 35, 0.11);
  overflow: hidden;
}

.test-thumb span {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 1;
  padding: 5px 8px;
  border-radius: 7px;
  background: var(--blue);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
}

.test-thumb.blank::after,
.test-thumb.featured::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(0, 86, 219, 0.06), transparent 40%);
}

.test-thumb.featured {
  border-color: rgba(0, 86, 219, 0.48);
  animation: featuredPaper 5.4s ease-in-out infinite;
}

.test-thumb.featured::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: -44%;
  z-index: 2;
  width: 34%;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(0, 86, 219, 0.22), transparent);
  animation: scanBeam 3.2s ease-in-out infinite;
}

.solutions-board {
  display: grid;
  align-content: start;
  gap: 18px;
}

.graded-solution-card {
  position: relative;
  display: grid;
  grid-template-columns: 62px 1fr 74px;
  gap: 14px;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--card-soft);
  overflow: hidden;
}

.graded-solution-card::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background: radial-gradient(circle at 78% 35%, rgba(85, 184, 94, 0.16), transparent 28%);
}

.solution-paper {
  position: relative;
  z-index: 1;
  min-height: 76px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(42, 39, 35, 0.1);
}

.graded-solution-card strong,
.graded-solution-card span,
.graded-solution-card button,
.grade-ring {
  position: relative;
  z-index: 1;
}

.graded-solution-card strong {
  display: block;
  color: var(--ink);
  font: 800 1rem/1.15 var(--display);
}

.graded-solution-card span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-weight: 800;
  line-height: 1.18;
}

.grade-ring {
  display: grid;
  width: 70px;
  height: 70px;
  place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(circle closest-side, #fff 62%, transparent 64%),
    conic-gradient(#55b85e 92%, #e8e7e4 0);
  animation: gradePulse 2.8s ease-in-out infinite;
}

.grade-ring b {
  color: #55b85e;
  font: 800 1.05rem/1 var(--display);
}

.graded-solution-card button {
  grid-column: 1 / -1;
  min-height: 42px;
  border: 0;
  border-radius: 12px;
  background: var(--blue);
  color: #fff;
  font-weight: 800;
}

.rubric-card {
  display: grid;
  gap: 13px;
  padding: 18px;
  border: 1px solid rgba(0, 86, 219, 0.25);
  border-radius: 20px;
  background: var(--blue-soft);
}

.rubric-card div {
  position: relative;
  display: flex;
  justify-content: space-between;
  padding-bottom: 13px;
  color: var(--muted);
  font-weight: 800;
}

.rubric-card div::after {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 7px;
  border-radius: 999px;
  content: "";
  background:
    linear-gradient(90deg, var(--blue), color-mix(in srgb, var(--blue) 45%, #fff)) left / var(--rubric, 92%) 100% no-repeat,
    rgba(255, 255, 255, 0.76);
  animation: rubricFill 4s ease-in-out infinite;
}

.rubric-card div:nth-child(2)::after {
  --rubric: 88%;
}

.rubric-card div:nth-child(3)::after {
  --rubric: 76%;
  background:
    linear-gradient(90deg, var(--orange), color-mix(in srgb, var(--orange) 45%, #fff)) left / var(--rubric) 100% no-repeat,
    rgba(255, 255, 255, 0.76);
}

.rubric-card b {
  color: var(--ink);
}

.upload-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.upload-actions span {
  display: grid;
  min-height: 78px;
  place-items: center;
  border: 1px solid rgba(0, 86, 219, 0.42);
  border-radius: 18px;
  background: rgba(232, 240, 255, 0.72);
  color: var(--ink);
  font-weight: 800;
  text-align: center;
}

.feature-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(22px, 3vw, 48px);
}

.feature-card {
  position: relative;
  display: flex;
  min-height: clamp(620px, 44vw, 700px);
  flex-direction: column;
  padding: clamp(30px, 2.6vw, 38px);
  overflow: hidden;
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.feature-card > * {
  position: relative;
  z-index: 1;
}

.feature-card::after {
  position: absolute;
  inset: 0;
  z-index: 0;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(115deg, transparent 0 35%, rgba(0, 86, 219, 0.1) 46%, transparent 58%),
    radial-gradient(circle at 86% 12%, rgba(244, 88, 30, 0.12), transparent 24%);
  opacity: 0;
  transform: translateX(-40%);
  transition:
    opacity 220ms ease,
    transform 680ms cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-card:hover {
  border-color: var(--blue);
  transform: translateY(-8px);
  box-shadow: 0 28px 80px rgba(0, 86, 219, 0.14);
}

.feature-card:hover::after {
  opacity: 1;
  transform: translateX(0);
}

.feature-card h3 {
  margin: clamp(86px, 6vw, 104px) 0 16px;
  color: var(--ink);
  font: 800 clamp(2rem, 2.25vw, 3rem) / 1.08 var(--display);
}

.feature-card p {
  margin: 0 0 30px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.2vw, 1.28rem);
  font-weight: 700;
  line-height: 1.42;
}

.product-visual {
  --visual-blue: #0056db;
  --visual-ink: #30302f;
  position: relative;
  width: 100%;
  min-height: clamp(230px, 17vw, 280px);
  margin-top: auto;
  border-radius: 26px;
  background:
    radial-gradient(circle at 75% 22%, rgba(0, 86, 219, 0.08), transparent 28%),
    linear-gradient(180deg, #fffdfb 0%, #f8f6f1 100%);
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92);
  isolation: isolate;
}

.course-system {
  min-height: clamp(300px, 22vw, 340px);
}

.memory-system,
.practice-system {
  min-height: clamp(286px, 21vw, 330px);
}

.product-visual::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  opacity: 0.34;
  background-image:
    linear-gradient(rgba(0, 86, 219, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 86, 219, 0.08) 1px, transparent 1px);
  background-size: 42px 42px;
}

.product-visual::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background: linear-gradient(115deg, transparent 0 44%, rgba(255, 255, 255, 0.7) 52%, transparent 60%);
  transform: translateX(-130%);
  animation: visualSheen 6.8s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}

.semester-badge {
  position: absolute;
  left: 28px;
  top: 22px;
  z-index: 3;
  padding: 7px 13px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font: 800 0.74rem/1 var(--display);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  box-shadow: 0 8px 18px rgba(0, 86, 219, 0.24);
}

.course-tile-grid {
  position: absolute;
  left: 58px;
  top: 62px;
  z-index: 3;
  display: grid;
  width: min(260px, 72%);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.course-tile-grid span {
  position: relative;
  display: grid;
  min-height: 54px;
  place-items: center;
  padding: 8px 9px;
  border-radius: 14px;
  background: var(--visual-ink);
  color: #fff;
  text-align: center;
  font: 800 0.78rem/1.15 var(--body);
  box-shadow:
    0 14px 24px rgba(24, 24, 24, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  animation: tileFloat 5.6s ease-in-out infinite;
}

.course-tile-grid span:nth-child(2),
.course-tile-grid span:nth-child(5) {
  animation-delay: -1.2s;
}

.course-tile-grid span:nth-child(3),
.course-tile-grid span:nth-child(6) {
  animation-delay: -2.2s;
}

.tile-glyph {
  position: absolute;
  left: 9px;
  top: 8px;
  width: 14px;
  height: 14px;
  color: var(--blue);
}

.tile-glyph::before,
.tile-glyph::after {
  border-width: 2px;
}

.tile-glyph.book-icon::after {
  left: 6px;
  top: 2px;
  width: 2px;
  height: 10px;
}

.tile-glyph.dice-icon::after {
  left: 5px;
  top: 5px;
  width: 2px;
  height: 2px;
  box-shadow: 5px 3px 0 currentColor, 1px 8px 0 currentColor;
}

.course-state-panel {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 24px;
  z-index: 2;
  height: 112px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 18px 46px rgba(42, 39, 35, 0.08);
}

.state-lines {
  position: absolute;
  left: 26px;
  top: 35px;
  display: grid;
  width: 46%;
  gap: 13px;
}

.state-lines span {
  height: 9px;
  border-radius: 999px;
  background: var(--grey);
}

.state-lines span:nth-child(2) {
  width: 78%;
}

.state-ring,
.practice-score {
  position: absolute;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(circle closest-side, #fff 64%, transparent 66%),
    conic-gradient(var(--blue) 72%, #e8e7e4 0);
}

.state-ring {
  right: 26px;
  top: 24px;
  width: 68px;
  height: 68px;
  overflow: hidden;
  background: #e8e7e4;
}

.state-ring::before,
.state-ring::after {
  position: absolute;
  border-radius: inherit;
  content: "";
}

.state-ring::before {
  inset: 0;
  background: conic-gradient(var(--blue) 72%, transparent 0);
  animation: miniRingSpin 7s linear infinite;
}

.state-ring::after {
  inset: 9px;
  background: #fff;
}

.state-ring b,
.practice-score b {
  position: relative;
  z-index: 1;
  color: var(--blue);
  font: 800 0.95rem/1 var(--display);
}

.next-chip {
  position: absolute;
  right: 30px;
  top: 26px;
  z-index: 3;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 800;
}

.memory-base {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 34px;
  height: 112px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.78);
}

.memory-base span {
  position: absolute;
  left: 26px;
  right: 26px;
  height: 17px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
}

.memory-base span:nth-child(1) { top: 25px; }
.memory-base span:nth-child(2) { top: 50px; left: 48px; }
.memory-base span:nth-child(3) { top: 76px; right: 72px; background: var(--blue-soft); }

.doc-stack {
  position: absolute;
  right: 30px;
  top: 32px;
  z-index: 3;
  width: 180px;
  height: 168px;
}

.doc-card {
  position: absolute;
  width: 112px;
  height: 142px;
  padding: 12px 10px;
  border: 2px solid var(--ink);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 16px 22px rgba(42, 39, 35, 0.12);
  transform-origin: center bottom;
  animation: docBreathe 6s ease-in-out infinite;
}

.doc-card b {
  display: block;
  margin-bottom: 5px;
  font-size: 0.58rem;
  line-height: 1.2;
}

.doc-card span {
  display: block;
  color: var(--muted);
  font-size: 0.47rem;
  font-weight: 800;
}

.doc-card i {
  display: block;
  height: 3px;
  margin-top: 8px;
  border-radius: 999px;
  background: #e8e7e4;
}

.doc-card i:nth-of-type(2) {
  width: 72%;
}

.doc-card i:nth-of-type(3) {
  width: 48%;
  background: var(--blue-soft);
}

.doc-one {
  left: 6px;
  top: 26px;
  transform: rotate(-4deg);
}

.doc-two {
  left: 42px;
  top: 12px;
  transform: rotate(2deg);
  animation-delay: -1.8s;
}

.doc-three {
  right: 0;
  top: 0;
  transform: rotate(0deg);
  animation-delay: -3s;
}

.memory-footer {
  position: absolute;
  left: 30px;
  bottom: 18px;
  z-index: 3;
  display: flex;
  gap: 10px;
  align-items: center;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
}

.memory-footer b {
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-size: 0.68rem;
}

.practice-checklist {
  position: absolute;
  left: 32px;
  bottom: 45px;
  z-index: 2;
  display: grid;
  gap: 12px;
}

.practice-checklist span {
  width: 25px;
  height: 25px;
  border: 4px solid var(--blue);
  border-radius: 8px;
  background: #fff;
  animation: quizCheck 4.2s ease-in-out infinite;
}

.practice-checklist span:nth-child(2) {
  border-color: var(--orange);
  animation-delay: -1.2s;
}

.practice-checklist span:nth-child(3) {
  animation-delay: -2.1s;
}

.analysis-card {
  position: absolute;
  right: 28px;
  bottom: 24px;
  z-index: 3;
  width: min(238px, 72%);
  min-height: 178px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.93);
  box-shadow: 0 24px 50px rgba(42, 39, 35, 0.14);
  animation: analysisLift 5.8s ease-in-out infinite;
}

.analysis-card strong {
  display: block;
  max-width: 128px;
  color: var(--ink);
  font: 800 0.82rem/1.15 var(--display);
}

.analysis-card span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 800;
}

.practice-score {
  right: 88px;
  top: 48px;
  width: 62px;
  height: 62px;
  background:
    radial-gradient(circle closest-side, #fff 62%, transparent 64%),
    conic-gradient(#55b85e 100%, #e8e7e4 0);
}

.practice-score b {
  color: #55b85e;
}

.paper-thumb {
  position: absolute;
  right: 18px;
  top: 20px;
  width: 52px;
  height: 66px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  transform: rotate(2deg);
}

.paper-thumb i {
  display: block;
  height: 3px;
  margin: 8px 8px 0;
  border-radius: 999px;
  background: #dfd9ce;
}

.review-action {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 14px;
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 8px;
  align-items: center;
}

.review-action span {
  width: 30px;
  height: 30px;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background:
    radial-gradient(circle at 50% 50%, transparent 0 34%, var(--ink) 36% 42%, transparent 44%);
}

.review-action b {
  display: grid;
  min-height: 34px;
  place-items: center;
  border-radius: 10px;
  background: var(--blue);
  color: #fff;
  font-size: 0.74rem;
}

.weak-spot {
  position: absolute;
  left: 32px;
  top: 32px;
  z-index: 3;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
}

.weak-spot b {
  display: block;
  margin-top: 4px;
  color: var(--ink);
  font-size: 0.9rem;
}

.engine-section {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: clamp(34px, 5vw, 82px);
  align-items: center;
}

.engine-copy p,
.waitlist-copy p {
  max-width: 730px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: clamp(1.15rem, 1.45vw, 1.45rem);
  font-weight: 700;
  line-height: 1.42;
}

.engine-board {
  position: relative;
  min-height: 520px;
  border: 1px solid var(--line);
  border-radius: 34px;
  background:
    radial-gradient(circle at 50% 50%, rgba(0, 86, 219, 0.09), transparent 38%),
    rgba(255, 255, 255, 0.5);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.engine-board::before {
  position: absolute;
  inset: 0;
  content: "";
  background-image:
    linear-gradient(rgba(0, 86, 219, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 86, 219, 0.08) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at center, black 0%, transparent 78%);
}

.engine-board::after {
  position: absolute;
  top: 0;
  bottom: 0;
  left: -30%;
  z-index: 1;
  width: 26%;
  content: "";
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(0, 86, 219, 0.16), transparent);
  mix-blend-mode: multiply;
  animation: engineSweep 7.5s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}

.engine-node,
.engine-core {
  position: absolute;
  z-index: 2;
  padding: 22px;
}

.engine-node {
  width: 178px;
  min-height: 116px;
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.engine-node:hover {
  border-color: rgba(0, 86, 219, 0.7);
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(0, 86, 219, 0.14);
}

.engine-node strong {
  display: block;
  margin-top: 34px;
  font: 800 1.6rem/1.08 var(--display);
}

.engine-node small {
  color: var(--muted);
  font-size: 1rem;
  font-weight: 800;
}

.node-icon {
  left: auto;
  right: 18px;
  top: 16px;
  width: 32px;
  height: 32px;
}

.input-one { left: 7%; top: 14%; }
.input-two { left: 7%; bottom: 14%; }
.output-one { right: 7%; top: 14%; border-color: rgba(0, 86, 219, 0.6); }
.output-two { right: 7%; bottom: 14%; }

.engine-core {
  left: 50%;
  top: 50%;
  display: grid;
  width: 230px;
  min-height: 250px;
  place-items: center;
  transform: translate(-50%, -50%);
  border: 2px solid var(--blue);
  text-align: center;
}

.engine-core::after {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 8px var(--orange-soft);
  content: "";
  transform-origin: 0 0;
  animation: coreOrbit 5.8s linear infinite;
}

.engine-core span {
  display: grid;
  width: 84px;
  height: 84px;
  place-items: center;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font: 800 1.6rem/1 var(--display);
  box-shadow: 0 0 0 13px var(--blue-soft);
  animation: corePulse 2.8s ease-in-out infinite;
}

.engine-core b {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.25;
}

.engine-lines {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
}

.engine-lines path {
  fill: none;
  stroke: var(--blue);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-dasharray: 12 14;
  opacity: 0.55;
  animation: dashFlow 3.4s linear infinite;
}

.engine-lines path:nth-child(2),
.engine-lines path:nth-child(4) {
  stroke: var(--orange);
}

.visual-lab-section {
  position: relative;
  min-height: 100svh;
  margin: clamp(20px, 3vw, 42px) 0;
  padding: clamp(24px, 3.2vw, 46px) var(--gutter);
  color: var(--ink);
  background:
    radial-gradient(circle at 15% 14%, rgba(0, 86, 219, 0.13), transparent 26rem),
    radial-gradient(circle at 90% 24%, rgba(244, 88, 30, 0.14), transparent 24rem),
    linear-gradient(180deg, rgba(255, 254, 252, 0.74), rgba(246, 243, 238, 0.96));
  overflow: hidden;
  isolation: isolate;
  display: grid;
  align-items: center;
}

.visual-lab-section::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  content: "";
  opacity: 0.42;
  background-image:
    linear-gradient(rgba(0, 86, 219, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 86, 219, 0.1) 1px, transparent 1px);
  background-size: 74px 74px;
  mask-image: linear-gradient(to bottom, transparent 0%, black 16%, black 82%, transparent 100%);
}

.visual-lab-section::after {
  position: absolute;
  inset: 8% -16% auto auto;
  z-index: -1;
  width: min(52vw, 720px);
  height: min(52vw, 720px);
  border: 1px solid rgba(0, 86, 219, 0.16);
  border-radius: 42% 58% 46% 54%;
  content: "";
  animation: slowSpin 28s linear infinite;
}

.visual-lab-shell {
  display: grid;
  grid-template-columns: minmax(310px, 0.78fr) minmax(660px, 1.22fr);
  grid-template-areas:
    "copy console"
    "specialties console";
  align-items: center;
  width: min(var(--max), 100%);
  margin: 0 auto;
  gap: clamp(16px, 2vw, 28px);
}

.visual-lab-copy {
  grid-area: copy;
  display: grid;
  gap: clamp(12px, 1.4vw, 18px);
  align-content: start;
  align-self: end;
}

.visual-lab-copy h2 {
  margin: 0;
  max-width: 650px;
  font: 800 clamp(2.35rem, 3.65vw, 4.45rem) / 0.96 var(--display);
  letter-spacing: -0.035em;
}

.visual-lab-copy p {
  margin: 0;
  max-width: 600px;
  color: var(--muted);
  font-size: clamp(1rem, 1.1vw, 1.22rem);
  font-weight: 700;
  line-height: 1.42;
}

.specialty-list {
  display: none;
}

.specialty-list span:last-child {
  border-right: 0;
}

.illustration-console {
  grid-area: console;
  position: relative;
  display: grid;
  align-content: stretch;
  padding: clamp(14px, 1.45vw, 22px);
  border: 1px solid rgba(0, 86, 219, 0.2);
  border-radius: 30px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(251, 250, 247, 0.78)),
    var(--card);
  box-shadow:
    0 24px 80px rgba(42, 39, 35, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.86);
  overflow: hidden;
  align-self: center;
}

.illustration-console::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(110deg, transparent 0 38%, rgba(0, 86, 219, 0.1) 48%, transparent 58%);
  transform: translateX(-120%);
  animation: consoleSheen 8s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}

.console-header,
.adder-topline,
.adder-board,
.specialty-grid {
  position: relative;
  z-index: 1;
}

.console-header {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  padding: 0 4px 10px;
}

.console-header strong,
.adder-topline b {
  display: block;
  color: var(--ink);
  font: 800 clamp(1.08rem, 1.35vw, 1.32rem) / 1.05 var(--display);
}

.console-header small,
.adder-topline small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-weight: 800;
}

.console-header > span {
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.adder-workspace {
  border: 1px solid rgba(0, 86, 219, 0.14);
  border-radius: 24px;
  background:
    radial-gradient(circle at 74% 18%, rgba(0, 86, 219, 0.13), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(246, 243, 238, 0.74));
  overflow: hidden;
}

.adder-topline {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  padding: 12px clamp(14px, 1.45vw, 20px);
  border-bottom: 1px solid rgba(0, 86, 219, 0.1);
}

.adder-equations {
  display: grid;
  gap: 4px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
  text-align: right;
}

.adder-board {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: clamp(12px, 1.2vw, 18px);
  align-items: stretch;
  padding: clamp(10px, 1.25vw, 16px);
}

.bit-controls {
  display: grid;
  align-content: center;
  gap: 10px;
}

.bit-toggle {
  display: grid;
  min-height: 62px;
  padding: 10px;
  border: 1px solid rgba(0, 86, 219, 0.16);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--muted);
  cursor: pointer;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.bit-toggle span {
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.bit-toggle b {
  align-self: end;
  color: var(--ink);
  font: 800 1.76rem/0.9 var(--display);
}

.bit-toggle[aria-pressed="true"] {
  border-color: rgba(0, 86, 219, 0.72);
  background: var(--blue-soft);
  box-shadow: 0 12px 26px rgba(0, 86, 219, 0.16);
  transform: translateY(-2px);
}

.adder-circuit {
  display: block;
  aspect-ratio: 900 / 520;
  height: auto;
  min-height: clamp(260px, 34vh, 340px);
  width: 100%;
  border: 1px solid rgba(0, 86, 219, 0.12);
  border-radius: 22px;
  background:
    linear-gradient(rgba(0, 86, 219, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 86, 219, 0.08) 1px, transparent 1px),
    rgba(255, 255, 255, 0.7);
  background-size: 42px 42px;
}

.wire {
  fill: none;
  stroke: rgba(92, 99, 112, 0.28);
  stroke-width: 4.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
  transition:
    stroke 220ms ease,
    opacity 220ms ease,
    filter 220ms ease;
}

.wire.is-active {
  stroke: #0056db;
  filter: url("#wire-glow");
}

.wire[data-wire="sum"].is-active,
.wire[data-wire="cout"].is-active {
  stroke: var(--orange);
}

.gate {
  fill: rgba(255, 255, 255, 0.82);
  stroke: rgba(92, 99, 112, 0.34);
  stroke-width: 4.2;
  vector-effect: non-scaling-stroke;
  transition:
    fill 220ms ease,
    stroke 220ms ease,
    filter 220ms ease;
}

.gate.is-active {
  fill: rgba(0, 86, 219, 0.14);
  stroke: rgba(0, 86, 219, 0.86);
  filter: url("#wire-glow");
}

.gate-layer text,
.io-labels text {
  fill: var(--ink);
  font: 800 21px/1 var(--display);
  paint-order: stroke;
  stroke: rgba(255, 255, 255, 0.9);
  stroke-linejoin: round;
  stroke-width: 4px;
}

.gate-layer text {
  fill: rgba(114, 109, 102, 0.78);
  font-size: 16px;
  letter-spacing: 0.08em;
}

.output-node {
  fill: rgba(255, 255, 255, 0.9);
  stroke: rgba(0, 86, 219, 0.26);
  stroke-width: 4.2;
  vector-effect: non-scaling-stroke;
  transition:
    fill 220ms ease,
    stroke 220ms ease,
    filter 220ms ease;
}

.output-node.is-active {
  fill: var(--orange-soft);
  stroke: var(--orange);
  filter: url("#wire-glow");
}

.output-value {
  fill: var(--ink);
  font: 800 23px/1 var(--display);
  paint-order: stroke;
  stroke: rgba(255, 255, 255, 0.92);
  stroke-linejoin: round;
  stroke-width: 4px;
  text-anchor: middle;
}

.output-value.is-active {
  fill: var(--orange);
}

.specialty-grid {
  grid-area: specialties;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-self: start;
}

.specialty-grid article {
  min-height: 94px;
  max-height: 112px;
  padding: 12px;
  border: 1px solid rgba(0, 86, 219, 0.14);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: var(--soft-shadow);
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    background 220ms ease;
}

.specialty-grid article:hover {
  border-color: rgba(0, 86, 219, 0.42);
  background: rgba(255, 255, 255, 0.88);
  transform: translateY(-3px);
}

.specialty-grid span {
  color: var(--blue);
  font-size: 0.84rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.specialty-grid h3 {
  margin: 8px 0 4px;
  color: var(--ink);
  font: 800 clamp(1.08rem, 1.25vw, 1.42rem) / 1.04 var(--display);
}

.specialty-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.2;
}

.quote-section {
  width: min(var(--max), 100%);
  margin: 0 auto;
  padding: 12px var(--gutter) 64px;
}

.quote-card {
  max-width: 1160px;
  margin: 0 auto;
  padding: clamp(34px, 5vw, 72px);
  border-color: rgba(0, 86, 219, 0.42);
  text-align: center;
}

.quote-card p {
  margin: 0;
  color: var(--ink);
  font: 800 clamp(2.2rem, 4vw, 5rem) / 1.1 var(--display);
  letter-spacing: -0.025em;
}

.quote-card span {
  display: inline-flex;
  margin-top: 26px;
  color: var(--blue);
  font-weight: 800;
}

.flow-section {
  padding-top: clamp(48px, 5.4vw, 78px);
}

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

.study-map article {
  position: relative;
  min-height: 250px;
  padding: 30px;
  overflow: hidden;
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.study-map article::after {
  position: absolute;
  left: 30px;
  right: 30px;
  bottom: 32px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue), var(--orange));
  content: "";
  transform-origin: left;
  animation: barGrow 2.8s ease-in-out infinite;
}

.study-map article:hover {
  border-color: rgba(0, 86, 219, 0.55);
  transform: translateY(-6px);
  box-shadow: 0 24px 64px rgba(42, 39, 35, 0.1);
}

.step-index {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--blue);
  font-size: 0.84rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.step-index::after {
  width: 42px;
  height: 1.5px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue), rgba(244, 88, 30, 0.48));
  content: "";
}

.study-map h3 {
  margin: 42px 0 10px;
  font: 800 clamp(1.9rem, 2.4vw, 3rem) / 1.08 var(--display);
}

.study-map p {
  margin: 0;
  color: var(--muted);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.35;
}

.waitlist-section {
  display: grid;
  grid-template-columns: 0.9fr minmax(420px, 0.72fr);
  gap: clamp(34px, 5vw, 92px);
  align-items: center;
  padding-bottom: clamp(72px, 7vw, 104px);
}

.waitlist-form {
  padding: 34px;
}

.waitlist-form label {
  display: block;
  margin-bottom: 12px;
  color: var(--muted);
  font-weight: 800;
}

.waitlist-form div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
}

.waitlist-form input {
  min-width: 0;
  min-height: 62px;
  padding: 0 18px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  outline: none;
  font-weight: 700;
}

.waitlist-form input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 5px var(--blue-soft);
}

.waitlist-form button {
  border-color: var(--blue);
  cursor: pointer;
}

.waitlist-form button:disabled {
  cursor: wait;
  opacity: 0.68;
  transform: none;
}

.form-note {
  min-height: 24px;
  margin: 18px 0 0;
  color: var(--muted);
  font-weight: 700;
}

.site-footer {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  width: min(var(--max), 100%);
  margin: 0 auto;
  padding: 34px var(--gutter) 44px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-weight: 700;
}

.site-footer p {
  margin: 0;
}

[data-reveal] {
  scroll-margin-top: 118px;
  transform: translateY(24px);
  opacity: 0;
  transition:
    opacity 560ms ease,
    transform 560ms cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

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

@keyframes cardFloat {
  0%, 100% {
    translate: var(--px) var(--py);
  }
  50% {
    translate: var(--px) calc(var(--py) - 14px);
  }
}

@keyframes proofFloat {
  0%, 100% {
    transform: rotateY(-4deg) rotateX(1deg) translateY(0);
  }
  50% {
    transform: rotateY(-2deg) rotateX(0deg) translateY(-10px);
  }
}

@keyframes consoleSheen {
  0%, 24% {
    transform: translateX(-118%);
  }
  54%, 100% {
    transform: translateX(118%);
  }
}

@keyframes cardSheen {
  0%, 34% {
    transform: translateX(-125%);
  }
  58%, 100% {
    transform: translateX(125%);
  }
}

@keyframes selectedHalo {
  0%, 100% {
    opacity: 0.35;
    transform: scale(0.985);
  }
  50% {
    opacity: 0.85;
    transform: scale(1);
  }
}

@keyframes orbitPulse {
  0%, 100% {
    transform: scale(1) rotate(0deg);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.035) rotate(2deg);
    opacity: 1;
  }
}

@keyframes slowSpin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes ringPop {
  from {
    transform: scale(0.88);
    opacity: 0;
  }
}

@keyframes ringSweep {
  to {
    transform: rotate(360deg);
  }
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

@keyframes corePulse {
  0%, 100% {
    box-shadow: 0 0 0 13px var(--blue-soft);
  }
  50% {
    box-shadow: 0 0 0 21px rgba(0, 86, 219, 0.08);
  }
}

@keyframes coreOrbit {
  from {
    transform: rotate(0deg) translateX(128px);
  }
  to {
    transform: rotate(360deg) translateX(128px);
  }
}

@keyframes dashFlow {
  to {
    stroke-dashoffset: -52;
  }
}

@keyframes engineSweep {
  0%, 22% {
    transform: translateX(0);
  }
  58%, 100% {
    transform: translateX(520%);
  }
}

@keyframes barGrow {
  0%, 100% {
    transform: scaleX(0.34);
    opacity: 0.42;
  }
  50% {
    transform: scaleX(1);
    opacity: 1;
  }
}

@keyframes miniLinePulse {
  0%, 100% {
    transform: scaleX(0.72);
    opacity: 0.62;
  }
  50% {
    transform: scaleX(1);
    opacity: 1;
  }
}

@keyframes miniRingSpin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes visualSheen {
  0%, 32% {
    transform: translateX(-130%);
  }
  62%, 100% {
    transform: translateX(130%);
  }
}

@keyframes labGlowDrift {
  0%, 100% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 0.72;
  }
  50% {
    transform: translate3d(-7%, -8%, 0) scale(1.08);
    opacity: 1;
  }
}

@keyframes materialFloat {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-5px) rotate(-0.6deg);
  }
}

@keyframes scanBeam {
  0%, 28% {
    transform: translateX(0);
  }
  70%, 100% {
    transform: translateX(430%);
  }
}

@keyframes sourcePulse {
  0%, 100% {
    opacity: 0.62;
    transform: scaleY(0.8);
  }
  50% {
    opacity: 1;
    transform: scaleY(1);
  }
}

@keyframes formulaGlow {
  0%, 100% {
    opacity: 0.58;
    transform: scaleX(0.55);
  }
  50% {
    opacity: 1;
    transform: scaleX(1);
  }
}

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

@keyframes featuredPaper {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-6px) rotate(0.5deg);
  }
}

@keyframes gradePulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(85, 184, 94, 0);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(85, 184, 94, 0.12);
  }
}

@keyframes rubricFill {
  0%, 100% {
    filter: saturate(0.9);
    transform: scaleX(0.94);
    transform-origin: left;
  }
  50% {
    filter: saturate(1.15);
    transform: scaleX(1);
    transform-origin: left;
  }
}

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

@keyframes docBreathe {
  0%, 100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -5px;
  }
}

@keyframes analysisLift {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-6px) rotate(-0.4deg);
  }
}

@keyframes stackSlide {
  0%, 100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(12px);
  }
}

@keyframes quizCheck {
  0%, 100% {
    transform: scale(1);
    background: transparent;
  }
  44%, 60% {
    transform: scale(1.08);
    background: var(--blue-soft);
  }
}

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

@media (max-width: 1260px) {
  .hero,
  .engine-section,
  .waitlist-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
    padding-top: 64px;
    padding-bottom: 68px;
  }

  .hero h1 {
    max-width: 980px;
    font-size: clamp(3.35rem, 6.7vw, 6.7rem);
  }

  .hero-subcopy {
    max-width: 780px;
  }

  .hero-system {
    min-height: 690px;
  }

  .hero-proof-console {
    min-height: 610px;
  }

  .proof-window {
    position: relative;
    inset: auto;
    min-height: 560px;
    transform: none;
    animation: none;
  }

  .course-card.selected {
    right: 4%;
  }

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

  .visual-lab-section {
    min-height: auto;
  }

  .visual-lab-shell {
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "console"
      "specialties";
  }

  .visual-lab-copy {
    max-width: 920px;
  }

  .adder-board {
    grid-template-columns: 1fr;
  }

  .adder-equations {
    text-align: left;
  }

  .bit-controls {
    grid-column: 1 / -1;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .adder-circuit {
    grid-column: 1 / -1;
    min-height: 360px;
  }

  .lab-panel {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .lab-copy h3 {
    max-width: 980px;
  }

  .lab-copy p {
    max-width: 820px;
  }

  .engine-copy p,
  .waitlist-copy p {
    max-width: 840px;
  }
}

@media (min-width: 861px) and (max-width: 1260px) {
  .hero-system {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-height: 0;
    gap: 22px;
  }

  .course-orbit {
    display: none;
  }

  .console-orbit {
    display: none;
  }

  .hero-proof-console {
    min-height: 0;
  }

  .proof-window {
    padding: 20px;
  }

  .course-card {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    width: 100%;
    min-height: 280px;
    animation: none;
    translate: 0 0;
    rotate: 0deg;
  }

  .course-card.selected {
    grid-column: 1 / -1;
    right: auto;
    top: auto;
    width: 100%;
    min-height: 300px;
    padding: 30px 34px 28px;
  }

  .course-card.selected::after {
    inset: 22px;
  }

  .course-card.selected h2 {
    margin-top: 66px;
  }

  .course-card.selected p {
    max-width: min(650px, 72%);
  }

  .course-card.selected .course-footer {
    margin-top: 28px;
  }

  .course-card.selected .progress-ring {
    width: 88px;
    height: 88px;
  }

  .course-card.card-top,
  .course-card.card-left,
  .course-card.card-bottom {
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
  }

  .course-card.card-top,
  .course-card.card-left {
    display: block;
  }

  .course-card.card-bottom {
    display: none;
  }
}

@media (max-width: 860px) {
  .site-header {
    gap: 16px;
  }

  .nav-links {
    display: none;
  }

  .brand {
    font-size: 0.9rem;
    letter-spacing: 0.18em;
  }

  .nav-cta {
    min-height: 44px;
    padding-inline: 15px;
    font-size: 0.9rem;
  }

  .hero {
    padding-top: 58px;
    padding-bottom: 46px;
  }

  .hero::after {
    width: 240px;
    height: 240px;
    right: -70px;
    top: 18%;
  }

  .hero h1 {
    font-size: clamp(3.1rem, 11.6vw, 5.2rem);
    line-height: 1.04;
  }

  .hero-subcopy {
    margin-top: 22px;
    font-size: 1.05rem;
  }

  .hero-actions,
  .button,
  .waitlist-form div {
    width: 100%;
  }

  .button,
  .waitlist-form div {
    grid-template-columns: 1fr;
  }

  .hero-system {
    display: grid;
    min-height: 0;
    gap: 16px;
  }

  .hero-proof-console {
    min-height: 0;
  }

  .console-orbit {
    display: none;
  }

  .proof-window {
    position: relative;
    inset: auto;
    min-height: 0;
    padding: 18px;
    border-radius: 28px;
    transform: none;
    animation: none;
  }

  .proof-window::before {
    inset: 14px;
    border-radius: 20px;
  }

  .proof-window-head {
    grid-template-columns: auto 1fr;
  }

  .proof-context {
    grid-column: 1 / -1;
    justify-self: start;
    justify-items: start;
    padding: 0;
    border-left: 0;
    text-align: left;
  }

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

  .proof-card {
    min-height: 0;
    padding: 20px;
  }

  .proof-card h2 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .paper-score {
    grid-template-columns: 1fr 78px;
  }

  .hero-grade {
    width: 78px;
    height: 78px;
  }

  .course-orbit {
    display: none;
  }

  .course-card {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    width: 100%;
    min-height: 0;
    padding: 22px;
    animation: none;
    translate: 0 0;
    rotate: 0deg;
  }

  .course-card.selected {
    left: auto;
    right: auto;
    top: auto;
    width: 100%;
    min-height: 0;
    padding: 24px;
  }

  .course-card.selected::after {
    inset: 14px;
  }

  .course-card.card-top {
    display: none;
  }

  .course-card.card-left {
    display: block;
    left: auto;
    right: auto;
    bottom: auto;
  }

  .course-card.card-bottom {
    display: none;
  }

  .course-card h2,
  .course-card h3 {
    margin-top: 52px;
    font-size: 2.2rem;
  }

  .course-card.selected h2 {
    margin-top: 58px;
  }

  .course-card p {
    font-size: 1rem;
  }

  .course-footer {
    margin-top: 28px;
  }

  .course-card.selected .course-footer {
    align-items: center;
    margin-top: 24px;
    padding-top: 0;
  }

  .course-footer span {
    font-size: 0.96rem;
  }

  .progress-ring {
    width: 70px;
    height: 70px;
  }

  .metrics-track {
    animation-duration: 24s;
  }

  .feature-cards,
  .study-map,
  .specialty-grid,
  .specialty-list {
    grid-template-columns: 1fr;
  }

  .visual-lab-section {
    margin: 20px 0;
    padding: 38px 18px;
  }

  .visual-lab-copy h2 {
    font-size: clamp(2.55rem, 10.5vw, 4.1rem);
  }

  .specialty-list span {
    min-height: 50px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .specialty-list span:last-child {
    border-bottom: 0;
  }

  .illustration-console {
    padding: 12px;
    border-radius: 24px;
  }

  .console-header,
  .adder-topline {
    align-items: flex-start;
    flex-direction: column;
  }

  .adder-board {
    grid-template-columns: 1fr;
    padding: 12px;
  }

  .bit-controls {
    grid-template-columns: 1fr;
  }

  .bit-toggle {
    min-height: 74px;
    grid-template-columns: 1fr auto;
    align-items: center;
  }

  .bit-toggle b {
    align-self: center;
  }

  .adder-circuit {
    min-height: 250px;
  }

  .wire,
  .gate,
  .output-node {
    stroke-width: 6.5;
  }

  .gate-layer text {
    font-size: 22px;
  }

  .io-labels text,
  .output-value {
    font-size: 29px;
  }

  .specialty-grid article {
    min-height: 128px;
  }

  .cards-section,
  .engine-section,
  .flow-section,
  .waitlist-section {
    padding-inline: 18px;
  }

  .section-intro h2,
  .engine-copy h2,
  .waitlist-copy h2 {
    font-size: clamp(2.65rem, 10.8vw, 4.55rem);
  }

  .feature-showcase {
    gap: 34px;
  }

  .lab-panel {
    padding: 28px;
    border-radius: 30px;
  }

  .lab-copy h3 {
    font-size: clamp(2.65rem, 12vw, 5.25rem);
  }

  .lab-visual {
    min-height: 0;
    padding: 16px;
    border-radius: 26px;
  }

  .grounded-ui,
  .grading-ui {
    grid-template-columns: 1fr;
  }

  .material-rail {
    min-height: 0;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .rail-head {
    grid-column: 1 / -1;
  }

  .mini-material {
    min-height: 112px;
  }

  .grounded-answer {
    min-height: 0;
  }

  .uploaded-tests-board,
  .solutions-board {
    min-height: 0;
  }

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

  .feature-card {
    min-height: 610px;
    padding: 26px;
  }

  .feature-card h3 {
    margin-top: 70px;
  }

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

  .course-tile-grid {
    left: 32px;
    width: calc(100% - 64px);
  }

  .next-chip {
    display: none;
  }

  .doc-stack {
    right: 20px;
    transform: scale(0.92);
    transform-origin: right top;
  }

  .analysis-card {
    right: 24px;
    width: min(250px, 76%);
  }

  .practice-score {
    right: 84px;
  }

  .engine-board {
    min-height: 980px;
  }

  .engine-lines {
    display: none;
  }

  .engine-node {
    width: min(250px, 72vw);
  }

  .input-one {
    left: 20px;
    top: 24px;
  }

  .input-two {
    left: auto;
    right: 20px;
    top: 190px;
    bottom: auto;
  }

  .engine-core {
    width: min(270px, 76vw);
    top: 51%;
  }

  .output-one {
    left: 20px;
    right: auto;
    top: auto;
    bottom: 184px;
  }

  .output-two {
    right: 20px;
    bottom: 28px;
  }

  .quote-card p {
    font-size: clamp(2.3rem, 10vw, 4.1rem);
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .cursor-orb {
    display: none;
  }

  .site-header {
    padding-inline: 18px;
  }

  .brand-sigil {
    width: 32px;
    height: 32px;
  }

  .hero {
    padding-inline: 18px;
  }

  .hero h1 {
    font-size: clamp(2.9rem, 13.2vw, 4.35rem);
  }

  .course-card.card-top {
    top: auto;
  }

  .course-card.card-left {
    bottom: auto;
  }

  .course-icon,
  .feature-icon {
    width: 36px;
    height: 36px;
  }

  .lab-panel {
    padding: 22px 18px;
  }

  .lab-copy h3 {
    margin-top: 0;
    font-size: clamp(2.45rem, 13vw, 4.3rem);
  }

  .lab-copy p {
    font-size: 1.02rem;
  }

  .material-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding: 12px;
  }

  .mini-material {
    min-height: 102px;
    padding: 34px 10px 10px;
  }

  .mini-material:nth-child(4) {
    display: none;
  }

  .question-bar {
    padding: 14px 16px;
    font-size: 0.98rem;
  }

  .grounded-answer {
    padding: 20px;
  }

  .grounded-answer p {
    font-size: 1.06rem;
  }

  .grounded-answer::before {
    top: 76px;
  }

  .formula-strip {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .formula-strip i {
    width: 100%;
    flex: 0 0 9px;
  }

  .source-row b {
    font-size: 0.82rem;
  }

  .prompt-dock {
    align-items: stretch;
    flex-direction: column;
  }

  .prompt-dock b {
    text-align: center;
  }

  .uploaded-tests-board,
  .solutions-board {
    padding: 14px;
  }

  .board-title {
    font-size: 1rem;
  }

  .test-grid {
    gap: 10px;
  }

  .test-thumb {
    min-height: 122px;
    padding: 38px 10px 10px;
  }

  .graded-solution-card {
    grid-template-columns: 54px minmax(0, 1fr) 58px;
    padding: 14px;
  }

  .grade-ring {
    grid-column: 3;
    grid-row: 1 / span 2;
    justify-self: end;
    width: 58px;
    height: 58px;
  }

  .graded-solution-card > div:nth-child(2) {
    min-width: 0;
  }

  .graded-solution-card strong {
    max-width: none;
  }

  .graded-solution-card span {
    font-size: 0.82rem;
  }

  .upload-actions {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: 590px;
    padding: 24px;
  }

  .product-visual {
    min-height: 286px;
    border-radius: 22px;
  }

  .course-system {
    min-height: 318px;
  }

  .course-tile-grid {
    left: 24px;
    top: 60px;
    width: calc(100% - 48px);
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .course-tile-grid span {
    min-height: 48px;
    font-size: 0.72rem;
  }

  .course-state-panel {
    left: 18px;
    right: 18px;
    bottom: 18px;
    height: 108px;
  }

  .state-lines {
    left: 18px;
    width: 43%;
  }

  .state-ring {
    right: 18px;
  }

  .doc-stack {
    right: 10px;
    top: 36px;
    transform: scale(0.78);
  }

  .memory-base {
    left: 18px;
    right: 18px;
    bottom: 46px;
  }

  .memory-footer {
    left: 18px;
    right: 18px;
    bottom: 16px;
    justify-content: space-between;
  }

  .practice-checklist {
    left: 22px;
    bottom: 54px;
  }

  .analysis-card {
    right: 16px;
    bottom: 22px;
    width: min(238px, 76%);
  }

  .practice-score {
    right: 78px;
    width: 56px;
    height: 56px;
  }

  .paper-thumb {
    width: 46px;
    height: 60px;
  }

  .course-footer {
    gap: 12px;
  }
}

/* STUD premium system pass */
:where(h1, h2, h3, h4, p, a, button, span, strong, b, small, label, input, text) {
  letter-spacing: 0;
}

body {
  background:
    radial-gradient(circle at 9% 2%, rgba(0, 86, 219, 0.08), transparent 24rem),
    radial-gradient(circle at 84% 12%, rgba(244, 88, 30, 0.1), transparent 26rem),
    linear-gradient(180deg, var(--page) 0%, #f1eee8 100%);
}

body::before {
  opacity: 0.2;
  background-image:
    linear-gradient(rgba(0, 86, 219, 0.11) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 86, 219, 0.11) 1px, transparent 1px);
}

.brand-logo img {
  width: 148px;
}

.proof-mark::before,
.proof-mark::after {
  display: none;
}

.proof-mark {
  background: var(--blue-soft);
}

.proof-mark img {
  display: block;
  width: 34px;
  height: 34px;
}

.stud-platform-section,
.workflow-section {
  width: min(var(--max), 100%);
  margin: 0 auto;
  padding: 92px var(--gutter);
}

.stud-platform-section {
  padding-top: 58px;
}

.platform-heading,
.workflow-copy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: end;
  margin-bottom: 42px;
}

.platform-heading h2,
.workflow-copy h2 {
  max-width: 1020px;
  margin: 0;
  color: var(--ink);
  font: 800 5.7rem / 0.98 var(--display);
}

.platform-heading p,
.workflow-copy p {
  max-width: 780px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1.36rem;
  font-weight: 750;
  line-height: 1.4;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid rgba(0, 86, 219, 0.24);
  border-radius: 999px;
  background: rgba(255, 254, 253, 0.76);
  color: var(--blue);
  font-weight: 850;
  box-shadow: 0 16px 40px rgba(25, 25, 27, 0.06);
}

.signal-grid {
  display: grid;
  grid-template-columns: minmax(520px, 1.05fr) minmax(420px, 0.95fr);
  gap: 26px;
  align-items: stretch;
}

.readiness-map,
.source-console,
.product-tabs,
.pipeline-illustration {
  border: 1.5px solid rgba(0, 86, 219, 0.18);
  border-radius: 34px;
  background:
    linear-gradient(145deg, rgba(255, 254, 253, 0.94), rgba(251, 250, 246, 0.78)),
    var(--card);
  box-shadow:
    0 24px 74px rgba(25, 25, 27, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.88);
  overflow: hidden;
}

.readiness-map {
  min-height: 520px;
  padding: 22px;
}

.map-frame {
  position: relative;
  height: 100%;
  min-height: 476px;
  border: 2px solid rgba(0, 86, 219, 0.42);
  border-radius: 24px;
  background:
    linear-gradient(rgba(0, 86, 219, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 86, 219, 0.09) 1px, transparent 1px),
    radial-gradient(circle at 78% 22%, rgba(0, 86, 219, 0.1), transparent 28%),
    radial-gradient(circle at 18% 72%, rgba(244, 88, 30, 0.08), transparent 30%),
    rgba(255, 254, 253, 0.78);
  background-size: 52px 52px, 52px 52px, auto, auto, auto;
  overflow: hidden;
}

.map-frame::before,
.map-frame::after {
  position: absolute;
  content: "";
  background: rgba(0, 86, 219, 0.18);
}

.map-frame::before {
  left: 50%;
  top: 28px;
  bottom: 56px;
  width: 2px;
}

.map-frame::after {
  left: 42px;
  right: 42px;
  top: 52%;
  height: 2px;
}

.axis,
.corner {
  position: absolute;
  z-index: 2;
  color: rgba(25, 25, 27, 0.68);
  font-weight: 850;
}

.axis-y {
  right: 18px;
  top: 50%;
  writing-mode: vertical-rl;
  transform: translateY(-50%);
}

.axis-x {
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
}

.corner-a { left: 18px; bottom: 14px; }
.corner-b { right: 18px; top: 14px; color: var(--ink); }

.map-frame svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.map-path {
  fill: none;
  stroke: var(--blue);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-dasharray: 14 10;
  opacity: 0.58;
  animation: studDash 4s linear infinite;
}

.map-path-mobile {
  display: none;
}

.map-path-warm {
  stroke: var(--orange);
  opacity: 0.42;
  animation-duration: 5.5s;
}

.course-dot {
  position: absolute;
  left: var(--x);
  top: var(--y);
  z-index: 3;
  display: grid;
  place-items: center;
  min-width: 82px;
  min-height: 82px;
  padding: 10px;
  border: 1px solid rgba(0, 86, 219, 0.14);
  border-radius: 999px;
  background: rgba(255, 254, 253, 0.94);
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 850;
  text-align: center;
  box-shadow: 0 14px 34px rgba(25, 25, 27, 0.1);
  transform: translate(-50%, -50%);
  animation: dotHover 5.5s ease-in-out infinite;
  animation-delay: var(--d);
}

.course-dot::after {
  position: absolute;
  inset: -9px;
  border: 2px solid rgba(0, 86, 219, 0.1);
  border-radius: inherit;
  content: "";
  animation: dotPulse 2.8s ease-in-out infinite;
}

.dot-chat,
.dot-folder {
  opacity: 0.76;
}

.dot-tests {
  border-color: rgba(244, 88, 30, 0.28);
}

.dot-stud {
  min-width: 128px;
  min-height: 128px;
  border-color: rgba(0, 86, 219, 0.32);
  box-shadow:
    0 18px 48px rgba(0, 86, 219, 0.16),
    0 0 0 18px rgba(0, 86, 219, 0.06);
}

.dot-stud img {
  width: 42px;
  height: 42px;
}

.dot-stud b {
  color: var(--blue);
  font-size: 1.12rem;
}

.source-console {
  display: grid;
  grid-template-rows: 1fr auto;
  min-height: 520px;
  padding: 26px;
}

.source-console header {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(0, 86, 219, 0.12);
}

.console-logo {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 16px;
  background: var(--blue-soft);
}

.console-logo img {
  width: 34px;
  height: 34px;
}

.source-console strong,
.source-answer h3 {
  color: var(--ink);
  font: 800 1.34rem / 1.05 var(--display);
}

.source-console small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-weight: 800;
}

.source-console header b {
  padding: 9px 12px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-size: 0.82rem;
}

.source-answer {
  align-self: center;
  padding: 22px 0 28px;
}

.source-answer h3 {
  max-width: 520px;
  margin: 0 0 18px;
  font-size: 2.8rem;
}

.source-answer p {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  font-size: 1.2rem;
  font-weight: 760;
  line-height: 1.38;
}

.formula-card {
  position: relative;
  width: max-content;
  max-width: 100%;
  margin-top: 22px;
  padding: 16px 20px;
  border: 1px solid rgba(0, 86, 219, 0.24);
  border-radius: 18px;
  background: rgba(232, 240, 255, 0.8);
  color: var(--blue);
  font: 800 2.15rem / 1 var(--display);
  overflow: hidden;
}

.formula-card::after {
  position: absolute;
  inset: 0;
  width: 34%;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.82), transparent);
  transform: translateX(-130%) skewX(-16deg);
  animation: scanBeam 3.4s ease-in-out infinite;
}

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

.source-list span {
  position: relative;
  padding: 12px 14px 12px 38px;
  border: 1px solid rgba(0, 86, 219, 0.14);
  border-radius: 16px;
  background: rgba(255, 254, 253, 0.76);
  color: var(--muted);
  font-weight: 820;
}

.source-list span::before {
  position: absolute;
  left: 14px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 6px var(--blue-soft);
  content: "";
  transform: translateY(-50%);
}

.source-list span:nth-child(2)::before {
  background: var(--orange);
  box-shadow: 0 0 0 6px var(--orange-soft);
}

.product-tabs {
  margin-top: 28px;
  padding: 28px;
}

.tab-nav {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 22px;
}

.tab-nav button {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  min-height: 54px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: rgba(25, 25, 27, 0.48);
  cursor: pointer;
  font-weight: 850;
  transition:
    color 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.tab-nav button.is-active {
  border-color: rgba(0, 86, 219, 0.18);
  background: rgba(232, 240, 255, 0.74);
  color: var(--blue);
}

.tab-nav button:hover {
  transform: translateY(-1px);
}

.tab-icon {
  position: relative;
  width: 28px;
  height: 28px;
  color: currentColor;
}

.ask-icon::before,
.grade-icon::before,
.master-icon::before {
  position: absolute;
  inset: 5px;
  border: 4px solid currentColor;
  border-radius: 8px;
  content: "";
}

.ask-icon::after {
  position: absolute;
  right: 1px;
  bottom: 3px;
  width: 10px;
  height: 4px;
  border-radius: 999px;
  background: currentColor;
  transform: rotate(35deg);
  content: "";
}

.grade-icon::before {
  border-radius: 50%;
}

.grade-icon::after {
  position: absolute;
  left: 10px;
  top: 13px;
  width: 8px;
  height: 8px;
  border-left: 4px solid currentColor;
  border-bottom: 4px solid currentColor;
  content: "";
  transform: rotate(-45deg);
}

.master-icon::before {
  inset: 4px 7px;
  border-radius: 3px;
}

.master-icon::after {
  position: absolute;
  left: 13px;
  top: 4px;
  width: 4px;
  height: 20px;
  background: currentColor;
  content: "";
}

.tab-stage {
  position: relative;
  min-height: 470px;
  border: 1px solid rgba(0, 86, 219, 0.2);
  border-radius: 28px;
  background:
    linear-gradient(rgba(0, 86, 219, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 86, 219, 0.08) 1px, transparent 1px),
    radial-gradient(circle at 80% 12%, rgba(244, 88, 30, 0.09), transparent 28%),
    rgba(255, 254, 253, 0.7);
  background-size: 58px 58px, 58px 58px, auto, auto;
  overflow: hidden;
}

.tab-panel {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(300px, 0.7fr) minmax(520px, 1.3fr);
  gap: 32px;
  align-items: center;
  padding: 42px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px);
  transition:
    opacity 320ms ease,
    transform 320ms ease;
}

.tab-panel.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.tab-copy h3 {
  max-width: 540px;
  margin: 0 0 18px;
  color: var(--ink);
  font: 800 3.6rem / 1 var(--display);
}

.tab-copy p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  font-size: 1.18rem;
  font-weight: 760;
  line-height: 1.42;
}

.answer-machine,
.grading-machine,
.mastery-machine {
  position: relative;
  min-height: 330px;
}

.answer-machine svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.answer-machine svg path,
.pipeline-illustration svg path {
  fill: none;
  stroke: rgba(0, 86, 219, 0.58);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-dasharray: 12 14;
  animation: studDash 3.8s linear infinite;
}

.machine-card,
.machine-core,
.machine-answer,
.paper-stack,
.rubric-lines,
.mastery-column,
.mastery-graph,
.next-action {
  position: absolute;
  z-index: 2;
  border: 1px solid rgba(0, 86, 219, 0.18);
  border-radius: 22px;
  background: rgba(255, 254, 253, 0.88);
  box-shadow: 0 18px 44px rgba(25, 25, 27, 0.08);
}

.machine-card {
  width: 138px;
  min-height: 126px;
  padding: 38px 16px 16px;
  animation: tileFloat 6s ease-in-out infinite;
}

.lecture-card { left: 5%; top: 18px; }
.exam-card { left: 4%; bottom: 10px; animation-delay: -2s; }

.machine-card span,
.paper-stack span {
  position: absolute;
  left: 14px;
  top: 12px;
  padding: 6px 9px;
  border-radius: 9px;
  background: var(--blue);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 850;
}

.machine-card i,
.paper-stack i {
  display: block;
  height: 6px;
  margin-top: 11px;
  border-radius: 999px;
  background: #ded9cf;
}

.machine-card i:nth-of-type(2),
.paper-stack i:nth-of-type(2) { width: 72%; }
.machine-card i:nth-of-type(3),
.paper-stack i:nth-of-type(3) { width: 52%; }

.machine-core {
  left: 46%;
  top: 50%;
  display: grid;
  width: 144px;
  height: 144px;
  place-items: center;
  border: 2px solid rgba(0, 86, 219, 0.42);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: corePulse 3.4s ease-in-out infinite;
}

.machine-core img {
  width: 56px;
  height: 56px;
}

.machine-core b {
  color: var(--blue);
  font-size: 0.9rem;
}

.machine-answer {
  right: 2%;
  top: 50%;
  width: 244px;
  padding: 22px;
  transform: translateY(-50%);
}

.machine-answer strong {
  display: block;
  color: var(--ink);
  font: 800 1.6rem / 1 var(--display);
}

.machine-answer p {
  margin: 12px 0 18px;
  color: var(--muted);
  font-weight: 760;
  line-height: 1.34;
}

.machine-answer span {
  display: inline-flex;
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--orange-soft);
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 850;
}

.grading-machine {
  display: grid;
  grid-template-columns: 230px 130px minmax(260px, 1fr);
  gap: 24px;
  align-items: center;
}

.grading-machine > * {
  position: relative;
}

.paper-stack {
  position: relative;
  min-height: 260px;
  padding: 58px 28px 28px;
}

.paper-stack::after {
  position: absolute;
  inset: 18px -14px -14px 36px;
  z-index: -1;
  border: 1px solid rgba(25, 25, 27, 0.18);
  border-radius: 18px;
  background: rgba(255, 254, 253, 0.72);
  content: "";
  transform: rotate(3deg);
}

.score-orb {
  display: grid;
  width: 126px;
  height: 126px;
  place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(circle closest-side, #fff 60%, transparent 62%),
    conic-gradient(#55b85e 92%, var(--grey) 0);
  box-shadow: 0 14px 40px rgba(85, 184, 94, 0.18);
  animation: gradePulse 3s ease-in-out infinite;
}

.score-orb b {
  color: #55b85e;
  font: 800 2rem / 1 var(--display);
}

.rubric-lines {
  position: relative;
  display: grid;
  gap: 18px;
  padding: 24px;
}

.rubric-lines span {
  position: relative;
  display: flex;
  justify-content: space-between;
  padding-bottom: 14px;
  color: var(--muted);
  font-weight: 850;
}

.rubric-lines span::after {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background:
    linear-gradient(90deg, var(--blue), var(--orange)) left / var(--score) 100% no-repeat,
    var(--grey);
  content: "";
  animation: rubricFill 4s ease-in-out infinite;
}

.mastery-column {
  left: 3%;
  top: 48px;
  display: grid;
  gap: 12px;
  width: 220px;
  padding: 20px;
}

.mastery-column span {
  padding: 12px 14px;
  border: 1px solid rgba(0, 86, 219, 0.14);
  border-radius: 14px;
  background: rgba(255, 254, 253, 0.78);
  color: var(--ink);
  font-weight: 850;
}

.mastery-graph {
  right: 5%;
  bottom: 80px;
  display: flex;
  gap: 18px;
  align-items: end;
  width: min(360px, 50%);
  height: 220px;
  padding: 24px;
}

.mastery-graph i {
  display: block;
  width: 100%;
  height: var(--h);
  border-radius: 999px 999px 10px 10px;
  background: linear-gradient(180deg, var(--blue), rgba(0, 86, 219, 0.22));
  transform-origin: bottom;
  animation: barGrow 3s ease-in-out infinite;
}

.mastery-graph i:nth-child(2) { animation-delay: -0.4s; }
.mastery-graph i:nth-child(3) { animation-delay: -0.8s; background: linear-gradient(180deg, var(--orange), rgba(244, 88, 30, 0.2)); }
.mastery-graph i:nth-child(4) { animation-delay: -1.2s; }

.next-action {
  right: 8%;
  bottom: 26px;
  padding: 14px 18px;
  background: var(--blue);
  color: #fff;
  font-weight: 850;
}

.workflow-section {
  padding-top: 34px;
}

.workflow-copy {
  grid-template-columns: 1fr;
  max-width: 1120px;
}

.workflow-copy h2 {
  max-width: 1020px;
}

.pipeline-illustration {
  position: relative;
  min-height: 560px;
  border-color: rgba(0, 86, 219, 0.26);
  background:
    linear-gradient(rgba(0, 86, 219, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 86, 219, 0.08) 1px, transparent 1px),
    linear-gradient(145deg, rgba(255, 254, 253, 0.94), rgba(251, 250, 246, 0.8));
  background-size: 58px 58px, 58px 58px, auto;
}

.pipeline-illustration::before {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 125px;
  height: 18px;
  border-block: 2px solid rgba(0, 86, 219, 0.2);
  background:
    repeating-linear-gradient(90deg, rgba(0, 86, 219, 0.25) 0 2px, transparent 2px 52px),
    rgba(232, 240, 255, 0.62);
  content: "";
}

.pipeline-illustration svg {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
}

.pipeline-label {
  position: absolute;
  left: 38px;
  top: 28px;
  z-index: 3;
  color: var(--muted);
  font-weight: 850;
}

.pipeline-source,
.pipeline-core,
.pipeline-output {
  position: absolute;
  z-index: 3;
  border: 1px solid rgba(0, 86, 219, 0.18);
  border-radius: 20px;
  background: rgba(255, 254, 253, 0.88);
  box-shadow: 0 18px 44px rgba(25, 25, 27, 0.08);
}

.pipeline-source {
  left: 48px;
  width: 150px;
  min-height: 94px;
  padding: 34px 18px 14px;
}

.pipeline-source span {
  position: absolute;
  left: 14px;
  top: 12px;
  color: var(--blue);
  font-weight: 850;
}

.pipeline-source i {
  display: block;
  height: 6px;
  margin-top: 12px;
  border-radius: 999px;
  background: #ded9cf;
}

.source-one { top: 92px; }
.source-two { top: 226px; }
.source-three { top: 360px; }

.pipeline-core {
  left: 50%;
  top: 50%;
  display: grid;
  width: 196px;
  height: 196px;
  place-items: center;
  border: 2px solid rgba(0, 86, 219, 0.42);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  animation: corePulse 3.8s ease-in-out infinite;
}

.pipeline-core img {
  width: 62px;
  height: 62px;
}

.pipeline-core strong {
  color: var(--ink);
  font: 800 1.34rem / 1 var(--display);
}

.pipeline-core small {
  color: var(--muted);
  font-weight: 800;
}

.pipeline-output {
  right: 54px;
  display: grid;
  width: 170px;
  min-height: 92px;
  align-content: center;
  gap: 5px;
  padding: 18px;
}

.pipeline-output b {
  color: var(--ink);
  font: 800 1.45rem / 1 var(--display);
}

.pipeline-output span {
  color: var(--muted);
  font-weight: 800;
}

.output-answer { top: 92px; }
.output-grade { top: 226px; border-color: rgba(244, 88, 30, 0.28); }
.output-plan { top: 360px; }

.pipeline-belt {
  position: absolute;
  left: 215px;
  right: 215px;
  bottom: 104px;
  z-index: 4;
  height: 60px;
  overflow: hidden;
  pointer-events: none;
}

.pipeline-belt span {
  position: absolute;
  top: 16px;
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: var(--orange);
  box-shadow: 0 0 0 8px rgba(244, 88, 30, 0.1);
  animation: beltMove 7.5s linear infinite;
}

.pipeline-belt span:nth-child(2) { animation-delay: -1.8s; background: var(--blue); box-shadow: 0 0 0 8px rgba(0, 86, 219, 0.1); }
.pipeline-belt span:nth-child(3) { animation-delay: -3.6s; }
.pipeline-belt span:nth-child(4) { animation-delay: -5.4s; background: var(--blue); box-shadow: 0 0 0 8px rgba(0, 86, 219, 0.1); }

.visual-lab-section {
  min-height: calc(100svh - 18px);
  margin: 20px 0 0;
  padding: 30px var(--gutter);
  background:
    radial-gradient(circle at 16% 18%, rgba(0, 86, 219, 0.12), transparent 24rem),
    radial-gradient(circle at 88% 18%, rgba(244, 88, 30, 0.1), transparent 22rem),
    linear-gradient(180deg, rgba(255, 254, 253, 0.7), rgba(246, 243, 238, 0.98));
}

.visual-lab-section::before {
  opacity: 0.24;
  background-image:
    linear-gradient(rgba(0, 86, 219, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 86, 219, 0.1) 1px, transparent 1px);
}

.visual-lab-section::after {
  border-color: rgba(0, 86, 219, 0.14);
}

.visual-lab-copy h2 {
  max-width: 680px;
  font-size: 4rem;
  line-height: 1;
}

.illustration-console {
  border-color: rgba(0, 86, 219, 0.22);
  box-shadow: 0 22px 70px rgba(25, 25, 27, 0.08);
}

.adder-circuit {
  background:
    linear-gradient(rgba(0, 86, 219, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 86, 219, 0.08) 1px, transparent 1px),
    rgba(255, 255, 255, 0.72);
  background-size: 42px 42px;
}

.wire.is-active {
  stroke: var(--blue);
}

.specialty-grid article {
  border-color: rgba(0, 86, 219, 0.14);
}

@media (max-width: 1260px) {
  .platform-heading,
  .signal-grid,
  .tab-panel {
    grid-template-columns: 1fr;
  }

  .platform-heading h2,
  .workflow-copy h2 {
    font-size: 4.6rem;
  }

  .tab-stage {
    min-height: 780px;
  }

  .tab-panel {
    align-content: start;
  }

  .answer-machine,
  .grading-machine,
  .mastery-machine {
    min-height: 390px;
  }
}

@media (max-width: 900px) {
  .stud-platform-section,
  .workflow-section {
    padding: 64px var(--gutter);
  }

  .platform-heading h2,
  .workflow-copy h2,
  .visual-lab-copy h2 {
    font-size: 3.2rem;
  }

  .platform-heading p,
  .workflow-copy p {
    font-size: 1.12rem;
  }

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

  .readiness-map {
    min-height: 430px;
  }

  .map-frame {
    min-height: 386px;
  }

  .source-answer h3,
  .tab-copy h3 {
    font-size: 2.45rem;
  }

  .product-tabs {
    padding: 18px;
  }

  .tab-nav {
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .tab-stage {
    min-height: 760px;
  }

  .tab-panel {
    padding: 24px;
  }

  .answer-machine svg {
    opacity: 0.42;
  }

  .machine-card {
    width: 120px;
  }

  .machine-core {
    left: 50%;
    top: 46%;
  }

  .machine-answer {
    right: 50%;
    top: auto;
    bottom: 0;
    transform: translateX(50%);
  }

  .grading-machine {
    grid-template-columns: 1fr;
  }

  .paper-stack,
  .rubric-lines {
    position: relative;
  }

  .score-orb {
    margin: 0 auto;
  }

  .mastery-column,
  .mastery-graph,
  .next-action {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    width: 100%;
    margin-top: 16px;
  }

  .pipeline-illustration {
    min-height: 860px;
  }

  .pipeline-source,
  .pipeline-core,
  .pipeline-output {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
  }

  .pipeline-source { width: min(280px, 78%); }
  .source-one { top: 70px; }
  .source-two { top: 188px; }
  .source-three { top: 306px; }
  .pipeline-core { top: 522px; transform: translate(-50%, -50%); }
  .output-answer { top: 650px; }
  .output-grade { top: 744px; }
  .output-plan { top: 838px; }

  .pipeline-illustration svg,
  .pipeline-belt {
    display: none;
  }
}

@media (max-width: 560px) {
  .platform-heading h2,
  .workflow-copy h2,
  .visual-lab-copy h2 {
    font-size: 2.55rem;
  }

  .readiness-map,
  .source-console,
  .product-tabs,
  .pipeline-illustration {
    border-radius: 24px;
  }

  .dot-stud {
    min-width: 102px;
    min-height: 102px;
  }

  .course-dot {
    min-width: 72px;
    min-height: 72px;
    font-size: 0.72rem;
  }

  .source-console header {
    grid-template-columns: auto 1fr;
  }

  .source-console header b {
    grid-column: 1 / -1;
    width: max-content;
  }

  .tab-stage {
    min-height: 820px;
  }

  .lecture-card,
  .exam-card {
    left: 0;
  }
}

@keyframes studDash {
  to {
    stroke-dashoffset: -54;
  }
}

@keyframes dotHover {
  0%, 100% {
    transform: translate(-50%, -50%) translateY(0);
  }
  50% {
    transform: translate(-50%, -50%) translateY(-10px);
  }
}

@keyframes dotPulse {
  0%, 100% {
    opacity: 0.32;
    transform: scale(0.96);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.04);
  }
}

@keyframes beltMove {
  from {
    left: -34px;
  }
  to {
    left: calc(100% + 34px);
  }
}

/* Full-site design QA pass */
.brand-logo img {
  width: clamp(136px, 10vw, 168px);
}

.brand-sketch {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  opacity: 0.24;
  filter: drop-shadow(0 18px 34px rgba(0, 86, 219, 0.08));
}

.brand-sketch svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.brand-art-crop {
  position: absolute;
  z-index: 0;
  margin: 0;
  overflow: hidden;
  pointer-events: none;
  opacity: 0.28;
  mix-blend-mode: multiply;
  filter: drop-shadow(0 18px 34px rgba(0, 86, 219, 0.08));
  mask-image: linear-gradient(to bottom, black 0%, black 66%, transparent 92%);
}

.brand-art-crop img {
  position: absolute;
  display: block;
  width: 1040px;
  max-width: none;
  height: auto;
}

.sketch-line {
  fill: none;
  stroke: currentColor;
  stroke-width: 4.25;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 680;
  stroke-dashoffset: 680;
  animation: sketchDraw 980ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.sketch-blue {
  color: var(--blue);
}

.sketch-orange {
  color: var(--orange);
}

.sketch-offset {
  opacity: 0.86;
  transform: translate(4px, 4px);
}

.hero-student-art {
  top: 36px;
  right: max(22px, calc((100vw - var(--max)) / 2 + 18px));
  width: min(22vw, 318px);
  height: min(43vw, 520px);
  opacity: 0.34;
  animation: sketchFloat 9s ease-in-out infinite;
}

.hero-student-art img {
  top: -10px;
  left: min(-53vw, -762px);
  width: min(73vw, 1040px);
}

.course-paper-sketch {
  top: 34px;
  right: max(28px, calc((100vw - var(--max)) / 2 + 82px));
  width: min(19vw, 280px);
  opacity: 0.18;
  transform: rotate(-3deg);
  animation: sketchFloat 8.5s ease-in-out infinite reverse;
}

.pipeline-wave-sketch {
  top: 8px;
  right: max(16px, calc((100vw - var(--max)) / 2 + 34px));
  width: min(28vw, 390px);
  opacity: 0.18;
  animation: sketchFloat 10s ease-in-out infinite;
}

.pipeline-wave-sketch .sketch-wave-lines path,
.pipeline-wave-sketch .sketch-wave-lines path {
  stroke-dasharray: 18 16;
  animation:
    sketchDraw 880ms cubic-bezier(0.22, 1, 0.36, 1) forwards,
    sketchDash 9s linear infinite 900ms;
}

.visual-circuit-sketch {
  left: max(10px, calc((100vw - var(--max)) / 2 + 10px));
  bottom: 4%;
  width: min(18vw, 270px);
  opacity: 0.15;
  transform: rotate(-4deg);
  animation: sketchFloat 9.5s ease-in-out infinite reverse;
}

.waitlist-student-art {
  right: max(22px, calc((100vw - var(--max)) / 2 + 16px));
  bottom: -34px;
  width: min(22vw, 316px);
  height: min(31vw, 360px);
  opacity: 0.2;
  animation: sketchFloat 11s ease-in-out infinite;
  mask-image: linear-gradient(to bottom, black 0%, black 52%, transparent 86%);
}

.waitlist-student-art img {
  top: -6px;
  left: min(-51vw, -746px);
  width: min(71vw, 1020px);
}

.hero-copy,
.hero-proof-console,
.platform-heading,
.signal-grid,
.product-tabs,
.workflow-copy,
.pipeline-illustration,
.visual-lab-shell,
.quote-card,
.section-intro,
.study-map,
.waitlist-copy,
.waitlist-form {
  position: relative;
  z-index: 1;
}

.stud-platform-section,
.workflow-section,
.visual-lab-section,
.waitlist-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.site-header {
  padding-top: 18px;
  padding-bottom: 14px;
}

.hero {
  min-height: 760px;
  padding-top: 58px;
  padding-bottom: 54px;
}

.hero h1 {
  max-width: 660px;
  font-size: clamp(3.4rem, 5.7vw, 7.25rem);
  line-height: 1.02;
}

.hero-subcopy {
  max-width: 600px;
  margin-top: 24px;
}

.hero-actions {
  margin-top: 28px;
}

.hero-proof-console {
  min-height: 540px;
}

.proof-window {
  min-height: 500px;
}

[data-reveal],
[data-reveal].is-visible {
  opacity: 1;
  transform: none;
  transition:
    opacity 220ms ease,
    transform 220ms ease;
}

.stud-platform-section {
  padding-top: 72px;
}

.platform-heading {
  margin-bottom: 34px;
}

.platform-heading h2,
.workflow-copy h2 {
  font-size: clamp(3.4rem, 5vw, 6.2rem);
}

.readiness-map,
.source-console,
.product-tabs,
.pipeline-illustration,
.illustration-console,
.quote-card,
.study-map article,
.waitlist-form {
  box-shadow:
    0 18px 54px rgba(25, 25, 27, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.tab-stage {
  min-height: 520px;
}

.visual-lab-section {
  min-height: 100svh;
  padding-top: 38px;
  padding-bottom: 38px;
}

.visual-lab-copy h2 {
  font-size: clamp(3.1rem, 4.2vw, 4.9rem);
}

.flow-section {
  padding-top: 68px;
}

.section-intro {
  margin-bottom: 38px;
}

@media (max-width: 900px) {
  .site-header {
    padding: 16px 18px 14px;
  }

  .brand-logo img {
    width: 140px;
  }

  .brand-sketch,
  .brand-art-crop {
    opacity: 0.14;
  }

  .hero-student-art {
    top: 102px;
    right: 6px;
    width: 132px;
    height: 148px;
    opacity: 0.12;
    mask-image: linear-gradient(to bottom, black 0%, black 80%, transparent 100%);
  }

  .hero-student-art img {
    top: -4px;
    left: -352px;
    width: 480px;
  }

  .course-paper-sketch,
  .pipeline-wave-sketch,
  .visual-circuit-sketch {
    display: none;
  }

  .waitlist-student-art {
    right: 10px;
    bottom: 10px;
    left: auto;
    width: 140px;
    height: 158px;
    opacity: 0.1;
    mask-image: linear-gradient(to bottom, black 0%, black 80%, transparent 100%);
  }

  .waitlist-student-art img {
    top: -4px;
    left: -352px;
    width: 480px;
  }

  .hero {
    padding-top: 44px;
    padding-bottom: 30px;
  }

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

  .hero-subcopy {
    font-size: 1rem;
    line-height: 1.42;
  }

  .proof-window {
    padding: 14px;
    border-radius: 24px;
  }

  .proof-window::before {
    display: none;
  }

  .proof-window-head {
    padding: 12px;
    border-radius: 18px;
  }

  .proof-grid {
    gap: 12px;
  }

  .proof-card {
    padding: 16px;
    border-radius: 20px;
  }

  .proof-card h2 {
    margin: 16px 0 12px;
    font-size: clamp(1.95rem, 9vw, 2.75rem);
  }

  .proof-card p {
    font-size: 1rem;
  }

  .source-stack {
    gap: 8px;
    margin-top: 18px;
  }

  .proof-grade {
    display: none;
  }

  .stud-platform-section,
  .workflow-section {
    padding-top: 52px;
    padding-bottom: 52px;
  }

  .stud-platform-section {
    padding-bottom: 26px;
  }

  .workflow-section {
    padding-top: 22px;
  }

  .platform-heading {
    gap: 20px;
    margin-bottom: 24px;
  }

  .platform-heading h2,
  .workflow-copy h2,
  .visual-lab-copy h2 {
    font-size: clamp(2.45rem, 10vw, 3.45rem);
  }

  .platform-heading p,
  .workflow-copy p {
    margin-top: 16px;
    font-size: 1rem;
  }

  .readiness-map,
  .source-console,
  .product-tabs,
  .pipeline-illustration {
    border-radius: 22px;
  }

  .readiness-map {
    min-height: 390px;
    padding: 14px;
  }

  .map-frame {
    min-height: 350px;
    border-radius: 18px;
  }

  .source-console {
    min-height: 0;
    padding: 18px;
  }

  .source-answer {
    padding: 24px 0 18px;
  }

  .source-answer h3,
  .tab-copy h3 {
    font-size: clamp(2rem, 8.2vw, 2.7rem);
  }

  .product-tabs {
    padding: 16px;
  }

  .tab-stage {
    min-height: 0;
    overflow: visible;
  }

  .tab-panel {
    position: relative;
    display: none;
    grid-template-columns: 1fr;
    padding: 22px;
    opacity: 1;
    transform: none;
  }

  .tab-panel.is-active {
    display: grid;
  }

  .answer-machine,
  .grading-machine,
  .mastery-machine {
    min-height: 360px;
  }

  .pipeline-illustration {
    display: grid;
    min-height: 0;
    gap: 14px;
    padding: 20px;
  }

  .pipeline-illustration::before,
  .pipeline-illustration svg,
  .pipeline-belt,
  .pipeline-label {
    display: none;
  }

  .pipeline-source,
  .pipeline-core,
  .pipeline-output {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    width: 100%;
    min-height: 86px;
    transform: none;
  }

  .pipeline-core {
    height: auto;
    min-height: 154px;
    border-radius: 24px;
  }

  .visual-lab-section {
    min-height: auto;
    padding-top: 42px;
    padding-bottom: 42px;
  }

  .visual-lab-copy {
    gap: 12px;
  }
}

@media (max-width: 560px) {
  .hero-actions {
    gap: 12px;
  }

  .button {
    min-height: 56px;
  }

  .proof-section-head {
    font-size: 0.7rem;
  }

  .source-stack span {
    min-height: 42px;
    padding-top: 11px;
    padding-bottom: 11px;
  }

  .source-stack span:nth-child(3) {
    display: none;
  }

  .course-dot {
    transform: translate(-50%, -50%) scale(0.88);
  }

  .dot-stud {
    transform: translate(-50%, -50%) scale(0.82);
  }

  .tab-nav button {
    min-height: 48px;
    padding-inline: 14px;
  }

  .machine-card {
    width: 112px;
  }

  .machine-answer {
    width: min(238px, 90%);
  }

  .visual-lab-section {
    margin-top: 4px;
  }

}

/* Verification refinements */
.tab-stage {
  min-height: 550px;
}

.visual-lab-shell {
  width: min(var(--max), calc(100vw - (var(--gutter) * 2)));
  grid-template-columns: minmax(0, 0.76fr) minmax(0, 1.24fr);
}

.illustration-console,
.adder-workspace,
.adder-circuit {
  min-width: 0;
}

.adder-board {
  grid-template-columns: 96px minmax(0, 1fr);
}

@media (max-width: 1260px) {
  .visual-lab-shell {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "copy"
      "console"
      "specialties";
    width: min(100%, calc(100vw - (var(--gutter) * 2)));
  }

  .tab-stage {
    min-height: 880px;
  }
}

@media (max-width: 900px) {
  .tab-stage {
    min-height: 970px;
  }

  .pipeline-illustration {
    min-height: 980px;
  }

  .visual-lab-section {
    min-height: auto;
  }

  .adder-board {
    grid-template-columns: 1fr;
  }

  .bit-controls {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .bit-toggle {
    min-height: 72px;
  }

}

@media (max-width: 560px) {
  .tab-stage {
    min-height: 1010px;
  }

  .pipeline-illustration {
    min-height: 1000px;
  }
}

/* STUD brand sketch system final overrides */
@keyframes sketchDraw {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes sketchFloat {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -12px;
  }
}

@keyframes sketchDash {
  to {
    stroke-dashoffset: -180;
  }
}

@media (max-width: 900px) {
  .tab-stage,
  .pipeline-illustration {
    min-height: 0;
  }

  .tab-panel {
    position: relative;
    display: none;
    grid-template-columns: 1fr;
    opacity: 1;
    transform: none;
  }

  .tab-panel.is-active {
    display: grid;
  }

  .pipeline-illustration {
    display: grid;
    gap: 14px;
  }

  .pipeline-source,
  .pipeline-core,
  .pipeline-output {
    position: relative;
    inset: auto;
    width: 100%;
    transform: none;
  }

}

/* STUD logo and collision cleanup */
.brand-art-crop {
  display: none !important;
}

.brand-logo img {
  width: clamp(160px, 11.2vw, 210px);
  max-width: none;
  height: auto;
  aspect-ratio: 390 / 128;
  object-fit: contain;
  overflow: visible;
}

.proof-mark,
.console-logo {
  display: grid;
  place-items: center;
  background: transparent !important;
  border: 0;
  border-radius: 0;
  box-shadow: none !important;
  overflow: visible;
}

.proof-mark {
  width: 58px;
  height: 44px;
}

.proof-mark img {
  width: 58px !important;
  height: auto !important;
}

.console-logo {
  width: 56px;
  height: 46px;
}

.console-logo img {
  width: 56px;
  height: auto;
}

.dot-stud {
  min-width: 138px;
  min-height: 138px;
  background: rgba(255, 254, 253, 0.95);
}

.dot-stud img {
  width: 68px;
  height: auto;
}

.pipeline-core img {
  width: 78px;
  height: auto;
}

.answer-machine {
  min-height: 380px;
  isolation: isolate;
}

.answer-machine svg {
  z-index: 1;
  opacity: 0.78;
}

.lecture-card {
  left: 4%;
  top: 54px;
}

.exam-card {
  left: 4%;
  bottom: 44px;
}

.machine-router {
  position: absolute;
  left: 46%;
  top: 50%;
  z-index: 3;
  display: grid;
  width: 172px;
  min-height: 122px;
  place-items: center;
  gap: 7px;
  padding: 18px 16px;
  border: 1px solid rgba(0, 86, 219, 0.24);
  border-radius: 28px;
  background: rgba(255, 254, 253, 0.93);
  box-shadow:
    0 22px 48px rgba(25, 25, 27, 0.08),
    0 0 0 10px rgba(0, 86, 219, 0.045);
  text-align: center;
  transform: translate(-50%, -50%);
  animation: corePulse 3.4s ease-in-out infinite;
}

.machine-router img {
  width: 58px;
  height: auto;
}

.machine-router b {
  max-width: 118px;
  color: var(--blue);
  font: 850 0.82rem / 1.05 var(--display);
}

.machine-answer {
  right: 4%;
  width: min(292px, 35%);
  min-height: 172px;
  padding: 28px;
}

.machine-answer strong {
  font-size: 1.85rem;
}

@media (max-width: 1120px) {
  .machine-card {
    width: 124px;
  }

  .machine-router {
    left: 44%;
    width: 148px;
    min-height: 112px;
  }

  .machine-router img {
    width: 50px;
  }

  .machine-answer {
    right: 3%;
    width: min(260px, 36%);
    padding: 22px;
  }
}

@media (max-width: 900px) {
  .brand-logo img {
    width: 156px;
  }

  .console-orbit {
    display: none;
  }

  .proof-mark {
    width: 48px;
    height: 38px;
  }

  .proof-mark img {
    width: 48px !important;
  }

  .answer-machine {
    display: grid;
    min-height: 0;
    gap: 14px;
    padding-top: 4px;
  }

  .answer-machine svg {
    display: none;
  }

  .lecture-card,
  .exam-card,
  .machine-router,
  .machine-answer {
    position: relative;
    inset: auto;
    width: 100%;
    min-height: 0;
    transform: none;
  }

  .machine-card {
    width: 100%;
  }

  .machine-router {
    min-height: 92px;
    grid-template-columns: auto minmax(0, 1fr);
    justify-items: start;
    text-align: left;
  }

  .machine-router b {
    max-width: none;
  }

  .machine-answer {
    padding: 22px;
  }
}

@media (max-width: 560px) {
  .brand-logo img {
    width: 148px;
  }

  .tab-nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    overflow: visible;
  }

  .tab-nav button {
    justify-content: center;
    min-width: 0;
    min-height: 50px;
    gap: 6px;
    padding-inline: 8px;
    font-size: 0.94rem;
    white-space: nowrap;
  }

  .tab-icon {
    width: 22px;
    height: 22px;
  }
}

.student-sketch-art {
  position: absolute;
  z-index: 0;
  margin: 0;
  pointer-events: none;
  mix-blend-mode: multiply;
  filter: drop-shadow(0 24px 46px rgba(0, 86, 219, 0.08));
}

.student-sketch-art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hero-student-source {
  top: 98px;
  right: max(18px, calc((100vw - var(--max)) / 2 + 20px));
  width: min(27vw, 430px);
  height: min(48vw, 720px);
  opacity: 0.14;
  transform: translateX(12%);
  animation: sketchFloat 10s ease-in-out infinite;
}

.waitlist-student-source {
  right: max(18px, calc((100vw - var(--max)) / 2 + 22px));
  bottom: -58px;
  width: min(25vw, 390px);
  height: min(40vw, 610px);
  opacity: 0.12;
  transform: translateX(16%);
  animation: sketchFloat 12s ease-in-out infinite reverse;
}

@media (max-width: 1260px) {
  .hero-student-source {
    top: 150px;
    right: -70px;
    width: 300px;
    height: 520px;
    opacity: 0.08;
  }

  .waitlist-student-source {
    right: -80px;
    width: 280px;
    height: 460px;
    opacity: 0.08;
  }
}

@media (max-width: 900px) {
  .student-sketch-art {
    display: none;
  }
}

/* Pipeline module refinement */
.pipeline-illustration {
  min-height: clamp(540px, 44vw, 640px);
  border-width: 2px;
  border-color: rgba(0, 86, 219, 0.22);
  background:
    radial-gradient(circle at 50% 50%, rgba(0, 86, 219, 0.1), transparent 18rem),
    radial-gradient(circle at 72% 42%, rgba(244, 88, 30, 0.055), transparent 20rem),
    linear-gradient(rgba(0, 86, 219, 0.075) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 86, 219, 0.075) 1px, transparent 1px),
    linear-gradient(145deg, rgba(255, 254, 253, 0.96), rgba(251, 250, 246, 0.82));
  background-size: auto, auto, 58px 58px, 58px 58px, auto;
}

.pipeline-illustration::before {
  top: 50%;
  right: auto;
  bottom: auto;
  left: 50%;
  z-index: 1;
  width: min(36vw, 420px);
  height: min(36vw, 420px);
  border: 1px solid rgba(0, 86, 219, 0.16);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 254, 253, 0.86) 0 34%, rgba(232, 240, 255, 0.5) 35% 51%, transparent 52%),
    radial-gradient(circle, rgba(0, 86, 219, 0.1), transparent 64%);
  content: "";
  transform: translate(-50%, -50%);
  animation: pipelineHalo 6.8s ease-in-out infinite;
}

.pipeline-illustration::after {
  position: absolute;
  inset: 18px;
  z-index: 0;
  border: 1px solid rgba(0, 86, 219, 0.14);
  border-radius: 28px;
  pointer-events: none;
  content: "";
}

.pipeline-label {
  top: 24px;
  left: clamp(26px, 3vw, 42px);
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid rgba(0, 86, 219, 0.14);
  border-radius: 999px;
  background: rgba(255, 254, 253, 0.76);
  color: var(--muted);
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 10px 28px rgba(25, 25, 27, 0.045);
}

.pipeline-source,
.pipeline-output {
  z-index: 4;
  border-color: rgba(0, 86, 219, 0.2);
  border-radius: 22px;
  background: rgba(255, 254, 253, 0.9);
  box-shadow:
    0 18px 42px rgba(25, 25, 27, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
  animation: pipelineCardFloat 7.5s ease-in-out infinite;
}

.pipeline-source {
  left: clamp(36px, 4.6vw, 72px);
  width: clamp(166px, 14vw, 220px);
  min-height: 108px;
  padding: 42px 18px 18px;
}

.pipeline-source::before,
.pipeline-output::before {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 10px;
  height: 10px;
  border: 2px solid currentColor;
  border-radius: 50%;
  opacity: 0.5;
  content: "";
}

.pipeline-source span {
  top: 16px;
  left: 18px;
  font-size: 1.02rem;
  letter-spacing: 0;
}

.pipeline-source i {
  height: 7px;
  margin-top: 12px;
  background: rgba(212, 206, 196, 0.84);
}

.source-one {
  top: calc(26% - 54px);
  animation-delay: -0.2s;
}

.source-two {
  top: calc(50% - 54px);
  animation-delay: -1.1s;
}

.source-three {
  top: calc(74% - 54px);
  animation-delay: -2s;
}

.pipeline-core {
  z-index: 5;
  width: clamp(218px, 17vw, 252px);
  height: clamp(218px, 17vw, 252px);
  gap: 12px;
  padding: 34px;
  border: 2px solid rgba(0, 86, 219, 0.46);
  background:
    radial-gradient(circle at 50% 34%, rgba(255, 254, 253, 0.98), rgba(255, 254, 253, 0.78) 56%, rgba(232, 240, 255, 0.62)),
    rgba(255, 254, 253, 0.92);
  box-shadow:
    0 24px 64px rgba(0, 86, 219, 0.12),
    0 0 0 18px rgba(232, 240, 255, 0.72),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  isolation: isolate;
  animation: corePulseRefined 5.4s ease-in-out infinite;
}

.pipeline-core::before,
.pipeline-core::after {
  position: absolute;
  border-radius: inherit;
  pointer-events: none;
  content: "";
}

.pipeline-core::before {
  inset: 16px;
  z-index: -1;
  border: 1px solid rgba(0, 86, 219, 0.18);
  background: rgba(255, 254, 253, 0.46);
}

.pipeline-core::after {
  inset: -13px;
  z-index: -2;
  border: 2px solid rgba(0, 86, 219, 0.16);
  border-top-color: rgba(244, 88, 30, 0.72);
  border-right-color: rgba(0, 86, 219, 0.38);
  animation: coreRingTurn 9s linear infinite;
}

.pipeline-core img {
  position: relative;
  z-index: 1;
  width: clamp(68px, 5.3vw, 82px);
  height: auto;
  filter: drop-shadow(0 12px 18px rgba(0, 86, 219, 0.13));
}

.pipeline-core strong {
  position: relative;
  z-index: 1;
  max-width: 11ch;
  font-size: clamp(1.35rem, 1.6vw, 1.72rem);
  line-height: 0.96;
}

.pipeline-core small {
  display: none;
}

.pipeline-output {
  right: clamp(36px, 4.8vw, 76px);
  width: clamp(172px, 15vw, 232px);
  min-height: 108px;
  align-content: center;
  gap: 7px;
  padding: 22px;
}

.pipeline-output b {
  font-size: clamp(1.35rem, 1.9vw, 1.9rem);
  line-height: 0.96;
}

.pipeline-output span {
  font-size: 1rem;
  line-height: 1.08;
}

.output-answer {
  top: calc(26% - 54px);
  animation-delay: -0.55s;
}

.output-grade {
  top: calc(50% - 54px);
  border-color: rgba(244, 88, 30, 0.32);
  animation-delay: -1.45s;
}

.output-grade::before {
  color: var(--orange);
  opacity: 0.6;
}

.output-plan {
  top: calc(74% - 54px);
  animation-delay: -2.35s;
}

.pipeline-belt {
  display: none;
}

.pipeline-flow-lines {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.pipeline-illustration .pipeline-flow-lines path {
  fill: none;
  stroke: rgba(0, 86, 219, 0.56);
  stroke-width: 3.2;
  stroke-linecap: round;
  stroke-dasharray: 8 9;
  vector-effect: non-scaling-stroke;
  filter: drop-shadow(0 7px 8px rgba(0, 86, 219, 0.1));
  animation: pipelineFlow 2.8s linear infinite;
}

.pipeline-illustration .pipeline-flow-lines path:nth-child(2),
.pipeline-illustration .pipeline-flow-lines path:nth-child(5) {
  stroke-width: 3.8;
  animation-duration: 2.35s;
}

.pipeline-illustration .pipeline-flow-lines path:nth-child(3),
.pipeline-illustration .pipeline-flow-lines path:nth-child(6) {
  animation-delay: -0.9s;
}

.pipeline-illustration .pipeline-flow-lines path:nth-child(5) {
  stroke: rgba(244, 88, 30, 0.55);
}

@keyframes pipelineFlow {
  to {
    stroke-dashoffset: -34;
  }
}

@keyframes pipelineHalo {
  0%,
  100% {
    opacity: 0.72;
    scale: 0.98;
  }
  50% {
    opacity: 1;
    scale: 1.03;
  }
}

@keyframes pipelineCardFloat {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -4px;
  }
}

@keyframes corePulseRefined {
  0%,
  100% {
    box-shadow:
      0 24px 64px rgba(0, 86, 219, 0.12),
      0 0 0 18px rgba(232, 240, 255, 0.72),
      inset 0 1px 0 rgba(255, 255, 255, 0.95);
  }
  50% {
    box-shadow:
      0 28px 74px rgba(0, 86, 219, 0.16),
      0 0 0 26px rgba(232, 240, 255, 0.58),
      inset 0 1px 0 rgba(255, 255, 255, 0.95);
  }
}

@keyframes coreRingTurn {
  to {
    rotate: 360deg;
  }
}

@media (max-width: 900px) {
  .pipeline-illustration {
    display: grid;
    min-height: 0;
    gap: 12px;
    padding: 18px;
    background:
      radial-gradient(circle at 50% 18%, rgba(0, 86, 219, 0.09), transparent 18rem),
      linear-gradient(rgba(0, 86, 219, 0.06) 1px, transparent 1px),
      linear-gradient(90deg, rgba(0, 86, 219, 0.06) 1px, transparent 1px),
      rgba(255, 254, 253, 0.88);
    background-size: auto, 54px 54px, 54px 54px, auto;
  }

  .pipeline-illustration::before,
  .pipeline-illustration::after,
  .pipeline-flow-lines,
  .pipeline-belt,
  .pipeline-label {
    display: none;
  }

  .pipeline-source,
  .pipeline-core,
  .pipeline-output {
    position: relative;
    inset: auto;
    width: 100%;
    min-height: 92px;
    transform: none;
    translate: none;
    animation: none;
  }

  .pipeline-core {
    grid-template-columns: 74px minmax(0, 1fr);
    height: auto;
    min-height: 124px;
    justify-items: start;
    border-radius: 24px;
    text-align: left;
  }

  .pipeline-core::before,
  .pipeline-core::after {
    display: none;
  }

  .pipeline-core strong {
    max-width: 12ch;
  }
}

@media (max-width: 560px) {
  .pipeline-illustration {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 8px;
    min-height: 0;
    padding: 10px;
    border-radius: 22px;
    background:
      radial-gradient(circle at 50% 74%, rgba(0, 86, 219, 0.09), transparent 12rem),
      linear-gradient(rgba(0, 86, 219, 0.055) 1px, transparent 1px),
      linear-gradient(90deg, rgba(0, 86, 219, 0.055) 1px, transparent 1px),
      rgba(255, 254, 253, 0.9);
    background-size: auto, 42px 42px, 42px 42px, auto;
  }

  .pipeline-source,
  .pipeline-core,
  .pipeline-output {
    position: relative;
    inset: auto;
    left: auto;
    right: auto;
    top: auto;
    width: auto;
    min-height: 52px;
    transform: none;
    translate: none;
    animation: none;
  }

  .pipeline-source,
  .pipeline-output {
    display: grid;
    align-content: center;
    gap: 4px;
    padding: 10px;
    border-radius: 16px;
    box-shadow:
      0 10px 26px rgba(25, 25, 27, 0.055),
      inset 0 1px 0 rgba(255, 255, 255, 0.92);
  }

  .pipeline-source::before,
  .pipeline-output::before {
    top: 10px;
    right: 10px;
    width: 7px;
    height: 7px;
    border-width: 2px;
  }

  .pipeline-source span {
    position: relative;
    top: auto;
    left: auto;
    font-size: 0.82rem;
    line-height: 1;
  }

  .pipeline-source i {
    width: min(100%, 132px);
    height: 3px;
    margin: 0;
    opacity: 0.72;
  }

  .pipeline-source i + i {
    display: none;
  }

  .pipeline-output b {
    font-size: 0.98rem;
    line-height: 1;
  }

  .pipeline-output span {
    font-size: 0.7rem;
    line-height: 1.05;
  }

  .source-one {
    grid-column: 1;
    grid-row: 1;
  }

  .source-two {
    grid-column: 1;
    grid-row: 2;
  }

  .source-three {
    grid-column: 1;
    grid-row: 3;
  }

  .output-answer {
    grid-column: 2;
    grid-row: 1;
  }

  .output-grade {
    grid-column: 2;
    grid-row: 2;
  }

  .output-plan {
    grid-column: 2;
    grid-row: 3;
  }

  .pipeline-core {
    grid-column: 1 / -1;
    grid-row: 4;
    grid-template-columns: 56px minmax(0, 1fr);
    min-height: 98px;
    height: auto;
    gap: 12px;
    align-items: center;
    justify-items: start;
    padding: 15px;
    border-radius: 20px;
    text-align: left;
    box-shadow:
      0 16px 38px rgba(0, 86, 219, 0.1),
      0 0 0 9px rgba(232, 240, 255, 0.62),
      inset 0 1px 0 rgba(255, 255, 255, 0.94);
  }

  .pipeline-core img {
    width: 50px;
  }

  .pipeline-core strong {
    max-width: none;
    font-size: 1.22rem;
    line-height: 0.98;
  }

  .flow-section {
    padding-top: 34px;
  }

  .study-map {
    gap: 10px;
  }

  .study-map article {
    min-height: 0;
    padding: 14px 18px 25px;
    border-radius: 20px;
    box-shadow:
      0 10px 28px rgba(25, 25, 27, 0.058),
      inset 0 1px 0 rgba(255, 255, 255, 0.9);
  }

  .study-map article::after {
    right: auto;
    bottom: 13px;
    left: 18px;
    width: 94px;
    height: 4px;
  }

  .step-index {
    gap: 7px;
    font-size: 0.7rem;
    line-height: 1;
  }

  .step-index::after {
    width: 26px;
  }

  .study-map h3 {
    margin: 10px 0 4px;
    font-size: clamp(1.82rem, 8vw, 2.2rem);
    line-height: 0.95;
  }

  .study-map p {
    max-width: 25ch;
    font-size: 0.9rem;
    line-height: 1.18;
  }

  .adder-circuit {
    aspect-ratio: 900 / 520;
    min-height: 0;
    border-radius: 18px;
  }

  .wire {
    stroke-width: 3.8;
  }

  .wire.is-active {
    filter: drop-shadow(0 0 5px rgba(0, 86, 219, 0.28));
  }

  .gate,
  .output-node {
    stroke-width: 3.6;
  }

  .gate-layer text {
    font-size: 17px;
    stroke-width: 3px;
  }

  .io-labels text,
  .output-value {
    font-size: 25px;
    stroke-width: 3.4px;
  }

  .readiness-map {
    min-height: 0;
    padding: 12px;
  }

  .map-frame {
    min-height: 340px;
    border-width: 1.5px;
    border-radius: 18px;
    background-size: 45px 45px, 45px 45px, auto, auto, auto;
  }

  .map-frame::before {
    top: 42px;
    bottom: 56px;
    left: 54%;
    opacity: 0.72;
  }

  .map-frame::after {
    right: 38px;
    left: 34px;
    top: 54%;
    opacity: 0.72;
  }

  .axis,
  .corner {
    font-size: 0.82rem;
    line-height: 1;
  }

  .axis-y {
    right: 12px;
    opacity: 0.74;
  }

  .axis-x {
    bottom: 15px;
    left: 62%;
    white-space: nowrap;
  }

  .corner-a {
    bottom: 15px;
    left: 16px;
  }

  .corner-b {
    top: 15px;
    right: 15px;
  }

  .map-path {
    stroke-width: 3.1px;
    stroke-dasharray: 10 8;
    opacity: 0.5;
  }

  .map-path-main {
    display: none;
  }

  .map-path-mobile {
    display: block;
  }

  .map-path-warm {
    opacity: 0.46;
  }

  .course-dot {
    width: 72px;
    min-width: 0;
    height: 72px;
    min-height: 0;
    padding: 7px;
    font-size: 0.7rem;
    line-height: 1;
    transform: translate(-50%, -50%);
    animation: none;
    box-shadow: 0 10px 24px rgba(25, 25, 27, 0.08);
  }

  .course-dot::after {
    inset: -5px;
    border-width: 1.5px;
    animation: none;
  }

  .dot-chat {
    left: 24%;
    top: 66%;
  }

  .dot-folder {
    left: 36%;
    top: 38%;
  }

  .dot-tests {
    left: 58%;
    top: 58%;
    width: 78px;
    height: 78px;
  }

  .dot-stud {
    left: 76%;
    top: 25%;
    width: 96px;
    min-width: 0;
    height: 96px;
    min-height: 0;
    transform: translate(-50%, -50%);
    box-shadow:
      0 14px 32px rgba(0, 86, 219, 0.14),
      0 0 0 10px rgba(0, 86, 219, 0.055);
  }

  .dot-stud img {
    width: 48px;
  }

  .dot-stud b {
    font-size: 0.88rem;
  }
}
