:root {
  --bg: #f4f7fb;
  --paper: #ffffff;
  --ink: #111827;
  --muted: #5f6b7a;
  --line: #d9e1ec;
  --accent: #1f5eff;
  --accent-dark: #1747c8;
  --soft: #eaf1ff;
  --soft-panel: #f8fbff;
  --shadow: 0 20px 60px rgba(19, 33, 68, 0.09);
  --radius: 24px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 112px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}
body.student-page {
  --bg: #f2f8f6;
  --ink: #10201d;
  --muted: #5f706b;
  --line: #d3e3df;
  --accent: #0f766e;
  --accent-dark: #0b5f59;
  --soft: #dff3ee;
  --soft-panel: #f7fcfa;
  --shadow: 0 20px 60px rgba(12, 74, 70, 0.08);
}
body.artist-page {
  --bg: #fbf6ef;
  --ink: #1f1711;
  --muted: #74695f;
  --line: #eadccf;
  --accent: #b45309;
  --accent-dark: #92400e;
  --soft: #fff0dc;
  --soft-panel: #fffaf3;
  --shadow: 0 20px 60px rgba(120, 53, 15, 0.08);
}
body.reviewer-page {
  --bg: #f6f4fb;
  --ink: #181326;
  --muted: #6c6478;
  --line: #ded6ec;
  --accent: #6d28d9;
  --accent-dark: #581c87;
  --soft: #eee7ff;
  --soft-panel: #fbf9ff;
  --shadow: 0 20px 60px rgba(88, 28, 135, 0.08);
}
a { color: inherit; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(16px);
}
.topbar {
  width: min(1240px, calc(100% - 40px));
  min-height: 76px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto minmax(245px, 1fr);
  grid-template-areas: "brand nav cta";
  align-items: center;
  gap: 24px;
}
.brand {
  grid-area: brand;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  text-decoration: none;
}
.brand-code {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--accent);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.08em;
}
.brand-copy { display: grid; gap: 1px; min-width: 0; }
.brand-copy strong { font-size: 17px; line-height: 1.15; letter-spacing: -0.025em; }
.brand-copy small { color: var(--muted); font-size: 12px; }
.nav {
  grid-area: nav;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
  white-space: nowrap;
}
.nav a {
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  text-decoration: none;
}
.nav a:hover, .nav a.active { color: var(--ink); border-bottom-color: var(--accent); }
.top-button, .primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 21px;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 10px 26px color-mix(in srgb, var(--accent) 24%, transparent);
}
.top-button { grid-area: cta; justify-self: end; }
.top-button:hover, .primary-button:hover { background: var(--accent-dark); }
a:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 45%, white); outline-offset: 3px; }

main, .footer { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.hero-stage {
  margin: 50px auto 30px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(400px, 510px);
  gap: 46px;
  align-items: center;
}
.hero-copy { padding: 20px 0; }
.section-label, .demo-label {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  max-width: 780px;
  margin-bottom: 20px;
  font-size: clamp(42px, 5.6vw, 72px);
  line-height: 1;
  letter-spacing: -0.055em;
}
.made-word { color: var(--accent); }
h2 {
  margin-bottom: 16px;
  font-size: clamp(30px, 3.7vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.038em;
}
h3 { margin-bottom: 10px; font-size: 18px; letter-spacing: -0.02em; }
.hero-lede {
  max-width: 700px;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.48;
}
.hero-lede strong { color: var(--ink); }
.cta-helper {
  max-width: 680px;
  margin: 13px 0 0;
  color: color-mix(in srgb, var(--muted) 70%, var(--ink));
  font-size: 14px;
  font-weight: 500;
  line-height: 1.55;
}
.micro-note {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  max-width: 670px;
  margin: 14px 0 0;
  color: color-mix(in srgb, var(--muted) 70%, var(--ink));
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
}
.micro-note span {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--soft);
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
}
.record-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
}
.record-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 24px;
  border-bottom: 1px solid var(--line);
}
.record-head h2 { margin: 0; font-size: 25px; letter-spacing: -0.035em; }
.demo-label { margin-bottom: 5px; }
.record-table { margin: 0; }
.record-table div {
  display: grid;
  grid-template-columns: 108px 1fr;
  gap: 18px;
  padding: 16px 24px;
  border-bottom: 1px solid var(--line);
}
.record-table div:last-child { border-bottom: 0; }
.record-table dt {
  color: var(--accent);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.record-table dd { margin: 0; font-size: 14px; font-weight: 650; }

.content-block {
  margin: 24px auto;
  padding: clamp(28px, 4.2vw, 48px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 12px 34px rgba(19, 33, 68, 0.045);
}
.content-block p { max-width: 840px; color: var(--muted); font-size: 17px; }
.problem-block, .split-block, .final-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
  gap: 42px;
  align-items: start;
}
.problem-block .plain-copy p:last-child { margin-bottom: 0; }
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 26px;
}
.step-card {
  min-height: 205px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--soft-panel);
}
.step-card > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin-bottom: 20px;
  border-radius: 50%;
  background: var(--soft);
  color: var(--accent);
  font-size: 13px;
  font-weight: 850;
}
.step-card p { margin-bottom: 0; font-size: 14px; line-height: 1.48; }
.role-links { display: grid; gap: 10px; }
.role-links a {
  display: grid;
  gap: 3px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--soft-panel);
  text-decoration: none;
}
.role-links a:hover { border-color: var(--accent); transform: translateY(-1px); }
.role-links strong { font-size: 15px; }
.role-links span { color: var(--muted); font-size: 13px; }

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 26px;
}
.trust-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--soft-panel);
}
.trust-card p { margin-bottom: 0; font-size: 14px; line-height: 1.5; }

.comparison-table {
  overflow: hidden;
  margin-top: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--soft-panel);
}
.comparison-row {
  display: grid;
  grid-template-columns: minmax(220px, 0.85fr) minmax(0, 1.15fr);
  border-bottom: 1px solid var(--line);
}
.comparison-row:last-child { border-bottom: 0; }
.comparison-row span {
  padding: 15px 18px;
  color: var(--muted);
  font-size: 14px;
}
.comparison-row span + span { border-left: 1px solid var(--line); }
.comparison-head { background: var(--soft); }
.comparison-head span { color: var(--ink); font-weight: 800; }

.limits-block { box-shadow: none; }
.limits-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.limits-row span {
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--soft-panel);
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}
.final-cta { align-items: center; background: var(--soft-panel); }
.final-cta p { margin-bottom: 0; }
.final-cta .primary-button { justify-self: end; }
.footer { padding: 22px 0 42px; color: var(--muted); font-size: 13px; }
.footer p { margin: 0; }
#made, #how, #limits, #pilot { scroll-margin-top: 112px; }

@media (max-width: 1120px) {
  .topbar {
    grid-template-columns: 1fr auto;
    grid-template-areas: "brand cta" "nav nav";
    gap: 8px 20px;
    padding: 12px 0 10px;
  }
  .nav { justify-content: flex-start; overflow-x: auto; padding: 2px 0 0; scrollbar-width: thin; }
  .hero-stage { grid-template-columns: 1fr; gap: 24px; margin-top: 38px; }
  .record-card { max-width: 760px; }
  .steps-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 128px; }
  #made, #how, #limits, #pilot { scroll-margin-top: 128px; }
  main, .footer, .topbar { width: min(100% - 24px, 1180px); }
  .top-button { min-height: 40px; padding: 0 14px; font-size: 12px; }
  .brand-copy strong { font-size: 14px; }
  .brand-copy small { font-size: 11px; }
  .brand-code { width: 42px; height: 34px; }
  .nav { gap: 18px; font-size: 13px; }
  .hero-stage { margin-top: 26px; }
  .hero-copy { padding-top: 6px; }
  h1 { font-size: clamp(38px, 12vw, 54px); line-height: 1.03; }
  h2 { font-size: 31px; }
  .hero-lede, .content-block p { font-size: 16px; }
  .problem-block, .split-block, .final-cta { grid-template-columns: 1fr; gap: 24px; }
  .steps-grid, .trust-grid { grid-template-columns: 1fr; }
  .step-card { min-height: 0; }
  .final-cta .primary-button { justify-self: start; }
}
@media (max-width: 560px) {
  .topbar { grid-template-columns: minmax(0, 1fr) auto; }
  .brand { gap: 9px; min-width: 0; }
  .brand-copy { min-width: 0; }
  .brand-copy strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .top-button { max-width: 136px; padding: 8px 12px; white-space: normal; }
  .record-head { display: grid; }
  .record-table div { grid-template-columns: 1fr; gap: 4px; }
  .content-block { padding: 25px 20px; }
  .hero-stage { margin-top: 22px; }
  .comparison-row { grid-template-columns: 1fr; }
  .comparison-row span + span { border-left: 0; border-top: 1px solid var(--line); }
  .comparison-head span:first-child { border-bottom: 1px solid var(--line); }
}
