:root {
  color-scheme: light;
  --background: #ffffff;
  --text: #050505;
  --text-soft: #3c3c43;
  --muted: #8e8e93;
  --muted-2: #c7c7cc;
  --surface: #f7f7f7;
  --surface-2: #f2f2f7;
  --border: #e5e5ea;
  --link: #007aff;
  --success: #34c759;
  --warning: #ff9500;
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-xl: 40px;
  --shadow-soft: 0 24px 80px rgba(0, 0, 0, 0.10);
  --shadow-card: 0 18px 50px rgba(0, 0, 0, 0.08);
  --max-width: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
  background:
    radial-gradient(circle at 16% 0%, rgba(0, 0, 0, 0.07), transparent 25rem),
    radial-gradient(circle at 84% 8%, rgba(0, 122, 255, 0.10), transparent 20rem),
    var(--background);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
}

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

a {
  color: var(--link);
}

p {
  margin: 0 0 16px;
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: -0.055em;
  line-height: 1.02;
}

h1 {
  font-size: clamp(48px, 8vw, 94px);
}

h2 {
  font-size: clamp(34px, 5vw, 64px);
}

h3 {
  font-size: 22px;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.site-glow {
  position: fixed;
  inset: auto auto 8% 50%;
  z-index: -1;
  width: 38rem;
  height: 38rem;
  pointer-events: none;
  background: radial-gradient(circle, rgba(0, 0, 0, 0.08), transparent 64%);
  filter: blur(8px);
  transform: translateX(-50%);
  animation: breathe 8s ease-in-out infinite;
}

.marketing-nav,
.marketing-footer,
.landing-hero,
.section-shell,
.workflow-section,
.preview-section,
.pricing-section,
.final-cta,
.stats-strip {
  width: min(var(--max-width), calc(100% - 40px));
  margin-inline: auto;
}

.marketing-nav {
  position: sticky;
  top: 14px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 14px;
  padding: 10px 12px;
  border: 1px solid rgba(229, 229, 234, 0.85);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(24px);
}

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

.brand-icon,
.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 11px;
  background: #000000;
  color: #ffffff;
  font-weight: 800;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.nav a,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 15px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    background 220ms ease,
    color 220ms ease,
    box-shadow 220ms ease;
}

.nav a:hover,
.button:hover {
  transform: translateY(-2px);
  border-color: #000000;
}

.button.primary {
  border-color: #000000;
  background: #000000;
  color: #ffffff;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
}

.button.primary:hover {
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.24);
}

.button.large {
  min-height: 54px;
  padding-inline: 22px;
  border-radius: 16px;
  font-size: 15px;
}

.button.ghost {
  background: rgba(255, 255, 255, 0.72);
}

.landing-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.78fr);
  gap: 60px;
  align-items: center;
  min-height: calc(100vh - 90px);
  padding: 86px 0 62px;
}

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

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

.lede {
  max-width: 660px;
  margin-top: 22px;
  color: var(--text-soft);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.trust-row span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.66);
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.hero-stage {
  position: relative;
  display: grid;
  min-height: 650px;
  place-items: center;
}

.phone-frame {
  position: relative;
  width: min(365px, 88vw);
  padding: 14px;
  border: 1px solid #1d1d1f;
  border-radius: 48px;
  background: #070707;
  box-shadow:
    0 42px 100px rgba(0, 0, 0, 0.24),
    inset 0 0 0 5px #171717;
  animation: phoneFloat 7s ease-in-out infinite;
}

.phone-dynamic-island {
  position: absolute;
  top: 26px;
  left: 50%;
  z-index: 2;
  width: 116px;
  height: 32px;
  border-radius: 999px;
  background: #000000;
  transform: translateX(-50%);
}

.phone-screen {
  min-height: 640px;
  overflow: hidden;
  padding: 66px 18px 20px;
  border-radius: 38px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), #ffffff),
    #ffffff;
}

.screen-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.screen-header span,
.screen-header small {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.screen-header strong {
  display: block;
  color: #000000;
  font-size: 32px;
  line-height: 1;
  letter-spacing: -0.08em;
}

.avatar {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: #3a3a3c;
  color: #ffffff;
  font-weight: 800;
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 24px;
}

.metric-card,
.notes-preview-card,
.session-preview,
.floating-card,
.feature-card,
.workflow-step,
.pricing-card,
.dashboard-preview,
.ring-card {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.86);
}

.metric-card {
  min-height: 78px;
  padding: 14px;
  border-radius: 16px;
  background: var(--surface-2);
}

.metric-card span {
  display: block;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.05em;
}

.metric-card small {
  color: var(--muted);
  font-size: 12px;
}

.section-label {
  margin: 20px 0 10px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.session-preview {
  position: relative;
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 10px;
  overflow: hidden;
  padding: 14px 14px 14px 18px;
  border-radius: 18px;
}

.session-preview::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--muted-2);
  content: "";
}

.session-preview.active::before {
  background: #000000;
}

.session-preview strong,
.notes-preview-card strong {
  display: block;
  font-size: 15px;
  line-height: 1.2;
}

.session-preview span,
.session-preview time,
.notes-preview-card p {
  color: var(--muted);
  font-size: 13px;
}

.notes-preview-card {
  padding: 16px;
  border-radius: 18px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.06);
}

.note-pill {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 5px 9px;
  border-radius: 8px;
  background: #000000;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
}

.floating-card {
  position: absolute;
  z-index: 3;
  width: 156px;
  padding: 14px;
  border-radius: 18px;
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(18px);
  animation: cardFloat 6s ease-in-out infinite;
}

.floating-card span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.floating-card strong {
  display: block;
  margin-top: 3px;
  font-size: 22px;
  line-height: 1;
  letter-spacing: -0.06em;
}

.card-notes {
  top: 90px;
  left: 0;
}

.card-quiz {
  right: 0;
  bottom: 118px;
  animation-delay: -2.4s;
}

.mini-lines {
  display: grid;
  gap: 6px;
  margin-top: 12px;
}

.mini-lines i {
  display: block;
  height: 7px;
  border-radius: 999px;
  background: var(--surface-2);
}

.mini-lines i:nth-child(1) {
  width: 88%;
}

.mini-lines i:nth-child(2) {
  width: 62%;
}

.mini-lines i:nth-child(3) {
  width: 76%;
}

.orb {
  position: absolute;
  z-index: -1;
  border-radius: 999px;
  filter: blur(1px);
  opacity: 0.78;
}

.orb-one {
  top: 80px;
  right: 40px;
  width: 110px;
  height: 110px;
  background: #000000;
  animation: orbitOne 11s linear infinite;
}

.orb-two {
  bottom: 60px;
  left: 30px;
  width: 66px;
  height: 66px;
  border: 1px solid var(--border);
  background: #ffffff;
  animation: orbitTwo 9s linear infinite;
}

.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 88px;
}

.stats-strip div {
  min-height: 116px;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.72);
}

.stats-strip strong {
  display: block;
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1;
  letter-spacing: -0.08em;
}

.stats-strip span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
  text-transform: lowercase;
}

.transform-demo {
  width: min(var(--max-width), calc(100% - 40px));
  margin: 0 auto;
  padding: 12px 0 92px;
}

.section-heading.centered {
  max-width: 790px;
  margin-inline: auto;
  text-align: center;
}

.section-heading.centered p:not(.eyebrow) {
  margin-inline: auto;
}

.transform-board {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 0.88fr) 124px minmax(320px, 1fr);
  gap: 22px;
  align-items: center;
  margin-top: 34px;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 36px;
  background:
    radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 0.08), transparent 22rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(247, 247, 247, 0.84)),
    #ffffff;
  box-shadow: var(--shadow-soft);
}

.syllabus-panel,
.output-card {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.92);
}

.syllabus-panel {
  min-height: 420px;
  padding: 24px;
  overflow: hidden;
  border-radius: 28px;
}

.panel-topline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  padding: 6px 11px;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 6px rgba(52, 199, 89, 0.12);
}

.syllabus-panel h3 {
  margin-top: 22px;
  font-size: clamp(26px, 3vw, 36px);
}

.syllabus-lines {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.syllabus-lines p {
  position: relative;
  margin: 0;
  padding: 13px 14px 13px 34px;
  overflow: hidden;
  border-radius: 14px;
  background: var(--surface-2);
  color: var(--text-soft);
  font-size: 14px;
  font-weight: 750;
}

.syllabus-lines p::before {
  position: absolute;
  top: 19px;
  left: 15px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #000000;
  content: "";
}

.syllabus-lines p::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.82), transparent);
  content: "";
  transform: translateX(-120%);
  animation: syllabusScan 5.2s ease-in-out infinite;
}

.syllabus-lines p:nth-child(2)::after {
  animation-delay: 0.35s;
}

.syllabus-lines p:nth-child(3)::after {
  animation-delay: 0.7s;
}

.syllabus-lines p:nth-child(4)::after {
  animation-delay: 1.05s;
}

.syllabus-lines p:nth-child(5)::after {
  animation-delay: 1.4s;
}

.transform-core {
  position: relative;
  display: grid;
  min-height: 180px;
  place-items: center;
}

.transform-core::before,
.transform-core::after {
  position: absolute;
  top: 50%;
  width: 70px;
  height: 2px;
  background:
    linear-gradient(90deg, transparent, #000000, transparent);
  content: "";
  transform: translateY(-50%);
}

.transform-core::before {
  right: calc(50% + 42px);
}

.transform-core::after {
  left: calc(50% + 42px);
}

.ai-orb {
  position: relative;
  z-index: 2;
  display: grid;
  width: 84px;
  height: 84px;
  place-items: center;
  border-radius: 28px;
  background: #000000;
  color: #ffffff;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.28);
  animation: aiFloat 4.8s ease-in-out infinite;
}

.ai-orb span {
  font-size: 32px;
  font-weight: 900;
  letter-spacing: -0.08em;
}

.ai-orb i {
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 8px rgba(52, 199, 89, 0.16);
}

.pulse-rings,
.pulse-rings::before,
.pulse-rings::after {
  position: absolute;
  inset: 50%;
  width: 96px;
  height: 96px;
  border: 1px solid rgba(0, 0, 0, 0.16);
  border-radius: 32px;
  content: "";
  transform: translate(-50%, -50%);
  animation: pulseRing 2.6s ease-out infinite;
}

.pulse-rings::before {
  animation-delay: 0.7s;
}

.pulse-rings::after {
  animation-delay: 1.4s;
}

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

.output-card {
  min-height: 196px;
  padding: 20px;
  border-radius: 24px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.04);
  transform: translateY(0);
  transition:
    transform 320ms ease,
    border-color 320ms ease,
    box-shadow 320ms ease,
    background 320ms ease;
}

.output-card.is-active {
  border-color: #000000;
  background: #000000;
  color: #ffffff;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
  transform: translateY(-6px);
}

.output-card span {
  display: inline-flex;
  margin-bottom: 28px;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.output-card.is-active span {
  background: rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.72);
}

.output-card strong {
  display: block;
  font-size: 23px;
  line-height: 1.05;
  letter-spacing: -0.055em;
}

.output-card p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
}

.output-card.is-active p {
  color: rgba(255, 255, 255, 0.70);
}

.section-shell,
.workflow-section,
.preview-section,
.pricing-section {
  padding: 82px 0;
}

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

.section-heading p:not(.eyebrow),
.preview-copy > p,
.final-cta p {
  max-width: 640px;
  margin-top: 16px;
  color: var(--text-soft);
  font-size: 18px;
}

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

.feature-card {
  position: relative;
  min-height: 252px;
  overflow: hidden;
  padding: 24px;
  border-radius: 26px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.04);
  transition:
    transform 260ms ease,
    box-shadow 260ms ease,
    border-color 260ms ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: #000000;
  box-shadow: var(--shadow-card);
}

.feature-card.tall {
  grid-row: span 2;
  min-height: 520px;
  background:
    radial-gradient(circle at 50% 100%, rgba(0, 0, 0, 0.10), transparent 18rem),
    #ffffff;
}

.feature-card.wide {
  grid-column: span 2;
}

.feature-icon {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: 12px;
  background: #000000;
  color: #ffffff;
  font-weight: 900;
}

.feature-card p {
  margin-top: 12px;
  color: var(--muted);
}

.note-stack {
  position: absolute;
  right: 24px;
  bottom: 26px;
  left: 24px;
  height: 210px;
}

.note-stack div {
  position: absolute;
  inset: auto 0 0;
  height: 150px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.08);
}

.note-stack div:nth-child(1) {
  transform: translateY(-48px) rotate(-5deg);
}

.note-stack div:nth-child(2) {
  transform: translateY(-22px) rotate(3deg);
}

.note-stack div:nth-child(3) {
  background:
    linear-gradient(#000000 0 0) 24px 28px / 52% 10px no-repeat,
    linear-gradient(var(--surface-2) 0 0) 24px 54px / 78% 8px no-repeat,
    linear-gradient(var(--surface-2) 0 0) 24px 74px / 62% 8px no-repeat,
    #ffffff;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 28px;
}

.timeline span {
  display: block;
  height: 76px;
  border-radius: 16px;
  background:
    linear-gradient(180deg, #000000 0 38%, transparent 38%),
    var(--surface-2);
}

.timeline span:nth-child(2) {
  background:
    linear-gradient(180deg, #000000 0 58%, transparent 58%),
    var(--surface-2);
}

.timeline span:nth-child(3) {
  background:
    linear-gradient(180deg, #000000 0 44%, transparent 44%),
    var(--surface-2);
}

.timeline span:nth-child(4) {
  background:
    linear-gradient(180deg, #000000 0 72%, transparent 72%),
    var(--surface-2);
}

.workflow-section {
  position: relative;
}

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

.workflow-step {
  min-height: 240px;
  padding: 22px;
  border-radius: 24px;
  background: #ffffff;
}

.workflow-step span {
  display: inline-flex;
  margin-bottom: 54px;
  color: rgba(0, 0, 0, 0.18);
  font-size: 46px;
  font-weight: 900;
  letter-spacing: -0.08em;
  line-height: 1;
}

.workflow-step p {
  margin-top: 12px;
  color: var(--muted);
}

.preview-section {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(340px, 1fr);
  gap: 44px;
  align-items: center;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  margin: 0;
  padding-left: 34px;
  color: var(--text-soft);
  font-weight: 700;
}

.check-list li::before {
  position: absolute;
  top: 2px;
  left: 0;
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 999px;
  background: #000000;
  color: #ffffff;
  content: "✓";
  font-size: 12px;
}

.dashboard-preview {
  display: grid;
  gap: 14px;
  padding: 16px;
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(247, 247, 247, 0.82)),
    #ffffff;
  box-shadow: var(--shadow-soft);
}

.ring-card {
  display: grid;
  min-height: 280px;
  place-items: center;
  border-radius: 26px;
  background: #ffffff;
}

.progress-ring {
  display: grid;
  width: 156px;
  height: 156px;
  place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(circle closest-side, #ffffff 74%, transparent 76%),
    conic-gradient(#000000 calc(var(--value) * 1%), var(--surface-2) 0);
}

.progress-ring span {
  font-size: 34px;
  font-weight: 900;
  letter-spacing: -0.08em;
}

.ring-card strong {
  margin-top: -66px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.subject-bars {
  display: grid;
  gap: 10px;
}

.subject-bars div {
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: #ffffff;
}

.subject-bars span {
  display: block;
  margin-bottom: 10px;
  font-weight: 800;
}

.subject-bars i {
  display: block;
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--surface-2);
}

.subject-bars i::before {
  display: block;
  width: var(--bar);
  height: 100%;
  border-radius: inherit;
  background: #000000;
  content: "";
  animation: growBar 1.3s ease both;
}

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

.pricing-card {
  min-height: 360px;
  padding: 28px;
  border-radius: 28px;
  background: #ffffff;
}

.pricing-card span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.pricing-card strong {
  display: block;
  margin: 12px 0 8px;
  font-size: clamp(48px, 6vw, 72px);
  line-height: 1;
  letter-spacing: -0.08em;
}

.pricing-card ul {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.pricing-card li {
  margin: 0;
  color: var(--text-soft);
  font-weight: 700;
}

.pricing-card.pro {
  border-color: #000000;
  background: #000000;
  color: #ffffff;
  transform: translateY(-12px);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.24);
}

.pricing-card.pro span,
.pricing-card.pro p,
.pricing-card.pro li {
  color: rgba(255, 255, 255, 0.72);
}

.final-cta {
  display: grid;
  min-height: 440px;
  place-items: center;
  margin-bottom: 78px;
  padding: 58px 22px;
  border: 1px solid var(--border);
  border-radius: 40px;
  background:
    radial-gradient(circle at 50% 0%, rgba(0, 0, 0, 0.10), transparent 22rem),
    #ffffff;
  text-align: center;
  box-shadow: var(--shadow-soft);
}

.final-cta img {
  margin-bottom: 22px;
  border-radius: 18px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.14);
}

.final-cta .hero-actions {
  justify-content: center;
}

.marketing-footer {
  display: grid;
  gap: 18px;
  padding: 36px 0 52px;
  border-top: 1px solid var(--border);
}

.marketing-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.marketing-footer a {
  color: var(--text);
  font-weight: 750;
  text-decoration: none;
}

.marketing-footer p {
  color: var(--muted);
  font-size: 13px;
}

/* Legal pages */
.shell {
  width: min(920px, calc(100% - 40px));
  margin: 0 auto;
  padding: 32px 0 56px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 0 34px;
}

.hero {
  padding: 42px 0 28px;
}

.hero h1 {
  max-width: 780px;
  font-size: clamp(42px, 8vw, 76px);
}

.shell > h2,
.shell > h3,
.card h2,
.card h3 {
  letter-spacing: -0.04em;
  line-height: 1.08;
}

.shell > h2 {
  margin: 42px 0 12px;
  font-size: clamp(26px, 4vw, 36px);
}

.shell > h3 {
  margin: 28px 0 8px;
  font-size: 20px;
}

.card h2 {
  margin-bottom: 12px;
  font-size: clamp(24px, 4vw, 32px);
}

.meta {
  color: var(--muted);
  font-size: 14px;
}

.card {
  margin: 20px 0;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
}

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

.grid .card {
  margin: 0;
  background: #ffffff;
}

ul,
ol {
  margin: 0 0 18px;
  padding-left: 22px;
}

li {
  margin: 8px 0;
}

.notice {
  border-color: #000000;
  background: #ffffff;
}

.footer {
  margin-top: 54px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 13px;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(28px) scale(0.985);
  transition:
    opacity 760ms cubic-bezier(0.2, 0.8, 0.2, 1),
    transform 760ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

@keyframes phoneFloat {
  0%,
  100% {
    transform: translateY(0) rotate(-1deg);
  }
  50% {
    transform: translateY(-18px) rotate(1deg);
  }
}

@keyframes cardFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(-1deg);
  }
  50% {
    transform: translate3d(0, -14px, 0) rotate(2deg);
  }
}

@keyframes orbitOne {
  from {
    transform: rotate(0deg) translateX(10px) rotate(0deg);
  }
  to {
    transform: rotate(360deg) translateX(10px) rotate(-360deg);
  }
}

@keyframes orbitTwo {
  from {
    transform: rotate(0deg) translateX(12px) rotate(0deg);
  }
  to {
    transform: rotate(-360deg) translateX(12px) rotate(360deg);
  }
}

@keyframes breathe {
  0%,
  100% {
    transform: translateX(-50%) scale(0.92);
    opacity: 0.5;
  }
  50% {
    transform: translateX(-50%) scale(1.12);
    opacity: 0.9;
  }
}

@keyframes growBar {
  from {
    width: 0;
  }
}

@keyframes syllabusScan {
  0%,
  36% {
    transform: translateX(-120%);
  }
  62%,
  100% {
    transform: translateX(120%);
  }
}

@keyframes aiFloat {
  0%,
  100% {
    transform: translateY(0) rotate(-2deg);
  }
  50% {
    transform: translateY(-10px) rotate(2deg);
  }
}

@keyframes pulseRing {
  0% {
    opacity: 0.72;
    transform: translate(-50%, -50%) scale(0.82);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.75);
  }
}

@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;
  }

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

@media (max-width: 980px) {
  .landing-hero,
  .preview-section {
    grid-template-columns: 1fr;
  }

  .landing-hero {
    min-height: auto;
    padding-top: 64px;
  }

  .hero-stage {
    min-height: 620px;
  }

  .transform-board {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .transform-core {
    min-height: 104px;
  }

  .transform-core::before,
  .transform-core::after {
    display: none;
  }

  .ai-orb {
    width: 72px;
    height: 72px;
    border-radius: 22px;
  }

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

  .feature-card.tall,
  .feature-card.wide {
    grid-column: auto;
    grid-row: auto;
    min-height: 300px;
  }

  .note-stack {
    display: none;
  }
}

@media (max-width: 760px) {
  .marketing-nav,
  .marketing-footer,
  .landing-hero,
  .transform-demo,
  .section-shell,
  .workflow-section,
  .preview-section,
  .pricing-section,
  .final-cta,
  .stats-strip,
  .shell {
    width: min(100% - 28px, var(--max-width));
  }

  .marketing-nav {
    top: 8px;
    align-items: center;
  }

  .marketing-nav-links {
    display: none;
  }

  .nav-cta {
    min-height: 38px;
    padding-inline: 13px;
  }

  .landing-hero {
    gap: 34px;
    padding: 48px 0 42px;
  }

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

  .phone-frame {
    width: min(335px, 100%);
    border-radius: 42px;
  }

  .phone-screen {
    min-height: 590px;
    padding-inline: 15px;
    border-radius: 32px;
  }

  .floating-card {
    display: none;
  }

  .metric-row,
  .stats-strip,
  .feature-grid,
  .workflow-grid,
  .pricing-grid,
  .grid {
    grid-template-columns: 1fr;
  }

  .stats-strip {
    margin-bottom: 34px;
  }

  .transform-demo {
    padding-bottom: 56px;
  }

  .transform-board {
    padding: 14px;
    border-radius: 28px;
  }

  .syllabus-panel {
    min-height: auto;
    padding: 18px;
    border-radius: 22px;
  }

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

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

  .section-shell,
  .workflow-section,
  .preview-section,
  .pricing-section {
    padding: 54px 0;
  }

  .pricing-card.pro {
    transform: none;
  }

  .topbar {
    align-items: flex-start;
    flex-direction: column;
    padding-bottom: 18px;
  }

  .hero {
    padding-top: 24px;
  }
}

@media (max-width: 430px) {
  h1 {
    font-size: 44px;
  }

  h2 {
    font-size: 34px;
  }

  .hero-actions {
    display: grid;
  }

  .button.large {
    width: 100%;
  }

  .screen-header strong {
    font-size: 28px;
  }
}
