@font-face{font-family:"Montserrat";font-weight:600;font-display:swap;src:url(/assets/fonts/montserrat/600.woff2)}
@font-face{font-family:"Montserrat";font-weight:700;font-display:swap;src:url(/assets/fonts/montserrat/700.woff2)}
@font-face{font-family:"Montserrat";font-weight:800;font-display:swap;src:url(/assets/fonts/montserrat/800.woff2)}
@font-face{font-family:"Source Sans 3";font-weight:400;font-display:swap;src:url(/assets/fonts/source-sans-3/400.woff2)}
@font-face{font-family:"Source Sans 3";font-weight:600;font-display:swap;src:url(/assets/fonts/source-sans-3/600.woff2)}
@font-face{font-family:"Source Serif 4";font-weight:400;font-display:swap;src:url(/assets/fonts/source-serif-4/400.woff2)}
@font-face{font-family:"Source Sans 3 Fallback";src:local("Arial"),local("Helvetica Neue"),local("Liberation Sans");font-weight:400;size-adjust:96%;ascent-override:100%;descent-override:26%;line-gap-override:0%}
@font-face{font-family:"Source Sans 3 Fallback";src:local("Arial"),local("Helvetica Neue"),local("Liberation Sans");font-weight:600;size-adjust:100%;ascent-override:96%;descent-override:25%;line-gap-override:0%}

:root {
  color-scheme: light dark;

  /* Taken from the logo: #062C59 is the wordmark navy, #11A9E8 the mark's cyan. */
  --navy-900: #04172E;
  --navy-800: #062C59;
  --navy-700: #0A3F7A;
  --action: #0B5FD0;         /* primary action on light grounds — white text passes AA */
  --action-hover: #09489F;
  --spark: #11A9E8;          /* the logo cyan: only on navy, and never under white text */
  --spark-ink: #062C59;      /* text colour that sits on --spark */
  --spark-hover: #3EC0F5;
  --ok: #0C7A4F;
  --warn: #9A5A0C;
  --err: #B3261E;

  --ground: #FFFFFF;
  --tint: #F6F8FB;          /* warm paper for alternating bands */
  --surface: #FFFFFF;
  --ink: #14243A;
  --ink-2: #536777;
  --ink-3: #626E82;
  --rule: #DCE2EA;
  --rule-strong: #C3CCD8;
  --on-dark: #FFFFFF;
  --on-dark-2: #C6D8EE;
  --on-dark-rule: rgba(255, 255, 255, 0.34);

  --f-display: "Montserrat", "Segoe UI", system-ui, sans-serif;
  --f-editorial: "Source Serif 4", Georgia, "Times New Roman", serif;
  --f-body: "Source Sans 3", "Source Sans 3 Fallback", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1180px;
  --gutter: 24px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ground: #0A1626;
    --tint: #0E1E33;
    --surface: #10223A;
    --ink: #E9EEF6;
    --ink-2: #AEBCCF;
    --ink-3: #8C9BB1;
    --rule: #22364F;
    --rule-strong: #35506F;
    --action: #6FA8FF;
    --action-hover: #5B95F0;
    --spark: #4FC3F7;
    --spark-ink: #041F40;
    --spark-hover: #7AD4FA;
    --ok: #4ED39A;
    --warn: #F0B45E;
    --err: #FF8A7E;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; }
a { color: var(--action); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible {
  outline: 2px solid var(--action); outline-offset: 3px;
}

h1, h2, h3 { font-family: var(--f-display); font-weight: 700; margin: 0; line-height: 1.14; letter-spacing: -0.022em; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 4.3vw, 3rem); font-weight: 800; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); }
h3 { font-size: 1.22rem; line-height: 1.3; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.band { padding-block: clamp(52px, 7vw, 84px); }
.band.tint { background: var(--tint); }
.band.rule-top { border-top: 1px solid var(--rule); }

.eyebrow {
  font-family: var(--f-body); font-size: 0.73rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.16em; color: var(--action);
}
h2.eyebrow{line-height:inherit;text-wrap:inherit}
.eyebrow.quiet { color: var(--ink-3); }
.lede { font-size: clamp(1.05rem, 1.7vw, 1.25rem); color: var(--ink-2); max-width: 60ch; }
.muted { color: var(--ink-2); }
.small { font-size: 0.92rem; }

/* ---------- Utility bar + masthead ---------- */
.util {
  background: var(--navy-900); color: var(--on-dark-2);
  font-size: 0.8rem; letter-spacing: 0.02em;
}
.util .wrap { display: flex; flex-wrap: wrap; gap: 6px 24px; align-items: center; padding-block: 8px; }
.util a { color: var(--on-dark-2); text-decoration: none; }
.util a:hover { color: #fff; text-decoration: underline; }
.util .right { margin-left: auto; }

.masthead { position: relative; background: var(--navy-800); color: var(--on-dark); }
.masthead .wrap { display: flex; align-items: center; gap: 18px 32px; flex-wrap: wrap; padding-block: 16px; }
.brand { display: inline-flex; align-items: center; color: var(--on-dark); text-decoration: none; }
.brand .logo { display: block; height: 52px; width: auto; }

.nav-menu { display: none; }
.nav-panel { display: contents; }

.site-nav { display: flex; flex-wrap: wrap; gap: 4px 26px; margin-left: auto; }
.site-nav a {
  color: var(--on-dark); text-decoration: none; font-size: 1rem;
  padding-block: 6px; border-bottom: 3px solid transparent;
}
.site-nav a:hover { border-bottom-color: var(--action); }
.site-nav a[aria-current="page"] { border-bottom-color: #fff; }

@media (max-width: 640px) {
  .util { display: none; }
  .masthead .wrap { flex-wrap: nowrap; padding-block: 10px; }
  .brand .logo { height: 34px; }
  .nav-menu { display: block; margin-left: auto; }
  .nav-menu > summary {
    display: block; cursor: pointer; list-style: none; font-weight: 600;
    padding: 8px 12px; border: 1px solid var(--on-dark-rule); border-radius: 4px;
  }
  .nav-menu > summary::-webkit-details-marker { display: none; }
  .nav-menu > summary::after { content: "+"; margin-left: 8px; }
  .nav-menu[open] > summary::after { content: "–"; }
  .nav-panel {
    position: absolute; z-index: 10; inset: 100% 0 auto;
    display: none; flex-direction: column; gap: 12px;
    padding: 16px var(--gutter) 20px; background: var(--navy-800);
    border-top: 1px solid var(--on-dark-rule);
  }
  .nav-menu[open] ~ .nav-panel { display: flex; }
  .site-nav { flex-direction: column; gap: 2px; margin-left: 0; }
  .site-nav a { padding-block: 8px; }
  .nav-panel .btn { align-self: flex-start; }
}

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--action); color: #fff; font: 600 0.95rem/1 var(--f-body);
  padding: 13px 24px; border: 0; border-radius: 4px; text-decoration: none; cursor: pointer;
  transition: background-color 130ms ease;
}
.btn:hover { background: var(--action-hover); }
.btn.lg { padding: 16px 30px; font-size: 1rem; }
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--rule-strong); }
.btn.ghost:hover { background: var(--tint); }
.btn.on-dark { background: transparent; color: #fff; border: 1px solid var(--on-dark-rule); }
.btn.on-dark:hover { background: rgba(255, 255, 255, 0.12); }
/* On a navy ground the blue action disappears, so the logo cyan carries it — with navy
   text on top, because white on cyan does not pass. */
.masthead .btn, .hero .btn:not(.on-dark), .page-head .btn:not(.on-dark), .site-foot .btn { background: var(--spark); color: var(--spark-ink); }
.masthead .btn:hover, .hero .btn:not(.on-dark):hover, .page-head .btn:not(.on-dark):hover, .site-foot .btn:hover { background: var(--spark-hover); }

/* ---------- Photographic hero ---------- */
.hero {
  position: relative; color: #fff; isolation: isolate; overflow: clip;
  background-color: var(--navy-900);
}
.hero::after {
  content: ""; position: absolute; inset: 0 -32px; z-index: -2;
  background: var(--hero-image, url("hero.svg")) center / cover no-repeat;
  animation: hero-ambient-drift 24s ease-in-out infinite alternate;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(100deg, rgba(10, 28, 51, 0.94) 0%, rgba(10, 28, 51, 0.78) 42%, rgba(10, 28, 51, 0.62) 100%);
}
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(32px, 5vw, 64px); padding-block: clamp(56px, 7vw, 96px); align-items: end; }
.hero h1 { color: #fff; font-size: clamp(2.2rem, 4.2vw, 3.2rem); max-width: 15ch; }
.hero-copy { display: flex; flex-direction: column; gap: 20px; }
.hero-copy .lede { color: var(--on-dark-2); max-width: 46ch; }
.hero .eyebrow { color: #fff; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-phase-rail {
  list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px; margin-top: 12px;
}
.hero-phase-rail li {
  position: relative; min-height: 6.5rem; padding-top: 11px; color: var(--on-dark-2);
  font-size: 0.75rem; font-weight: 600; line-height: 1.25;
  letter-spacing: 0.16em; overflow-wrap: anywhere; text-transform: uppercase;
}
.hero-phase-rail li::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 2px;
  background: var(--on-dark-rule); transform: scaleX(0); transform-origin: left;
  animation: hero-phase-draw 500ms ease-out forwards;
}
.hero-phase-rail li:nth-child(2)::before { animation-delay: 100ms; }
.hero-phase-rail li:nth-child(3)::before { animation-delay: 200ms; }
.hero-phase-rail li:nth-child(4)::before { animation-delay: 300ms; }
.hero-phase-rail li:nth-child(5)::before { animation-delay: 400ms; }
.hero-phase-rail li[aria-current="step"] { color: var(--on-dark); }
.hero-phase-rail li[aria-current="step"]::before { background: var(--spark); }
.hero-phase-rail .phase-number { display: block; margin-bottom: 3px; font-variant-numeric: tabular-nums; }
.hero-phase-rail .phase-name { display: block; min-width: 0; height: 3.75rem; }
@keyframes hero-phase-draw { to { transform: scaleX(1); } }
@keyframes hero-ambient-drift { to { transform: translateX(32px); } }

.teasers { list-style: none; display: flex; flex-direction: column; }
.teasers li { border-bottom: 1px solid var(--on-dark-rule); padding-block: 18px; }
.teasers li:first-child { padding-top: 0; }
.teasers .eyebrow { color: #fff; opacity: 0.85; }
.teasers a, .teasers p { display: block; font-family: var(--f-display); font-size: clamp(1.2rem, 2vw, 1.5rem); line-height: 1.26; color: #fff; text-decoration: none; margin-top: 8px; }
.teasers a {
  background: linear-gradient(var(--action), var(--action)) left bottom / 0 2px no-repeat;
  transition: background-size 120ms ease-out;
}
.teasers a:is(:hover, :focus-visible) { background-size: 100% 2px; }

main p > a:is([href="/how-it-works"], [href="/for-universities"], [href="/#waitlist"]) {
  display: inline-block; transition: transform 120ms ease-out;
}
main p > a:is([href="/how-it-works"], [href="/for-universities"], [href="/#waitlist"]):is(:hover, :focus-visible) { transform: translateX(3px); }

@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .hero-copy { max-width: none; }
}
@media (max-width: 700px) { .hero h1 { max-width: none; } }
@media (max-width: 560px) {
  .hero .wrap { padding-block: 36px; }
  .hero-phase-rail { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; }
  .hero-phase-rail li { min-height: 5rem; overflow-wrap: normal; }
  .hero-phase-rail .phase-name { height: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .hero::after,
  .hero-phase-rail li::before { animation: none; transform: none; }
}

/* ---------- Page header for inner pages ---------- */
.page-head { background: var(--navy-800); color: #fff; }
.page-head .wrap { padding-block: clamp(40px, 6vw, 68px); display: flex; flex-direction: column; gap: 14px; }
.page-head h1 { color: #fff; }
.page-head .lede { color: var(--on-dark-2); }
.page-head .eyebrow { color: #fff; opacity: 0.85; }

/* ---------- Section furniture ---------- */
.sec-head { display: flex; flex-direction: column; gap: 10px; margin-bottom: 30px; }
.sec-head::after { content: ""; display: block; width: 62px; height: 3px; background: var(--action); margin-top: 6px; }
.sec-head p { color: var(--ink-2); max-width: 62ch; }
.stack { display: flex; flex-direction: column; gap: 14px; }
.stack.lg { gap: 30px; }
.split { display: grid; grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr); gap: clamp(28px, 5vw, 60px); align-items: start; }
@media (max-width: 840px) { .split { grid-template-columns: minmax(0, 1fr); } }

/* The serif is a secondary voice: long-form narrative and pull quotes only.
   Never in the interface, never in a heading, never in a control. */
.editorial { font-family: var(--f-editorial); font-size: 1.12rem; line-height: 1.62; }
.pullquote { font-family: var(--f-editorial); font-size: clamp(1.3rem, 2.4vw, 1.7rem); line-height: 1.38; color: var(--ink); border-left: 3px solid var(--action); padding-left: 22px; margin: 0; }

/* ---------- Phases ---------- */
.phases { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--rule); }
.phase { display: grid; grid-template-columns: 4.2rem minmax(0, 1fr); gap: 6px 22px; padding-block: 24px; border-bottom: 1px solid var(--rule); }
.phase .n { grid-row: 1 / 3; font-family: var(--f-display); font-size: 2rem; color: var(--action); line-height: 1; font-variant-numeric: tabular-nums; }
.phase p { color: var(--ink-2); }
@media (min-width: 820px) { .phases.two { grid-template-columns: 1fr 1fr; column-gap: 48px; } }
@media (max-width: 560px) { .phase { grid-template-columns: 2.6rem minmax(0, 1fr); gap: 6px 14px; } }

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(248px, 1fr)); gap: 24px; }
.card { background: var(--surface); border: 1px solid var(--rule); border-top: 3px solid var(--navy-800); padding: 26px 24px; display: flex; flex-direction: column; gap: 10px; }
.card h3 { font-size: 1.12rem; }
.card p { color: var(--ink-2); font-size: 0.97rem; }

dl.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 0; border-top: 1px solid var(--rule); margin: 0; }
dl.facts > div { padding: 20px 20px 20px 0; border-bottom: 1px solid var(--rule); display: flex; flex-direction: column; gap: 4px; }
dl.facts dt { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--ink-3); }
dl.facts dd { margin: 0; font-family: var(--f-display); font-size: 1.3rem; }

.ticks { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.ticks li { position: relative; padding-left: 26px; color: var(--ink-2); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 10px; height: 2px; background: var(--action); }

/* ---------- Build log card ---------- */
.log { background: var(--surface); border: 1px solid var(--rule); }
.log-head { display: flex; align-items: center; gap: 10px; padding: 13px 18px; background: var(--navy-800); color: #fff; font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; }
.log-row { display: grid; grid-template-columns: 2.4rem 1fr auto; gap: 14px; align-items: baseline; padding: 14px 18px; border-bottom: 1px solid var(--rule); }
.log-row:last-child { border-bottom: 0; }
.log-row .n { font-family: var(--f-display); color: var(--action); font-variant-numeric: tabular-nums; }
.log-row .what { font-family: var(--f-display); font-size: 1.05rem; }
.log-row .what span { display: block; font-family: var(--f-body); color: var(--ink-3); font-size: 0.88rem; }
.state { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.12em; font-weight: 600; padding: 4px 10px; white-space: nowrap; border: 1px solid var(--rule-strong); color: var(--ink-2); }
.state.done { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }
.state.now { background: var(--action); border-color: var(--action); color: #fff; }
.log-foot { padding: 14px 18px; border-top: 1px solid var(--rule); background: var(--tint); font-size: 0.88rem; color: var(--ink-2); }
@media (max-width: 480px) {
  .log-row { grid-template-columns: 2rem minmax(0, 1fr); }
  .log-row .state { grid-column: 2; justify-self: start; }
}

/* ---------- Waitlist ---------- */
.waitlist { background: var(--surface); border: 1px solid var(--rule); border-top: 3px solid var(--action); padding: clamp(24px, 3vw, 34px); display: flex; flex-direction: column; gap: 18px; }
.waitlist form { display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 0.86rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-3); }
.field input, .field select {
  font: inherit; font-size: 1rem; color: var(--ink); background: var(--ground);
  border: 1px solid var(--rule-strong); border-radius: 4px; padding: 12px 14px; width: 100%;
}
.row-2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
@media (max-width: 560px) { .row-2 { grid-template-columns: minmax(0, 1fr); } }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 0.86rem; color: var(--ink-3); }
.form-status { font-size: 0.95rem; min-height: 1.4em; }
.form-status[data-state="ok"] { color: var(--ok); font-weight: 600; }
.form-status[data-state="error"] { color: var(--err); font-weight: 600; }


/* ---------- Pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(258px, 1fr)); gap: 24px; }
.plan { background: var(--surface); border: 1px solid var(--rule); padding: 28px 26px; display: flex; flex-direction: column; gap: 18px; }
.plan.feature { border-color: var(--navy-800); border-top: 3px solid var(--action); }
.plan .price { font-family: var(--f-display); font-size: 2.2rem; line-height: 1.05; }
.plan .price small { display: block; font-family: var(--f-body); font-size: 0.9rem; color: var(--ink-3); margin-top: 10px; }
.plan ul { list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 0.97rem; color: var(--ink-2); }
.plan ul li { position: relative; padding-left: 20px; }
.plan ul li::before { content: ""; position: absolute; left: 0; top: 0.68em; width: 8px; height: 2px; background: var(--action); }
.plan .btn { margin-top: auto; }

/* ---------- FAQ ---------- */
.qa { border-top: 1px solid var(--rule); }
.qa details { border-bottom: 1px solid var(--rule); padding: 20px 0; }
.qa summary { font-family: var(--f-display); font-size: 1.2rem; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 18px; align-items: baseline; }
.qa summary h2{font:inherit;letter-spacing:inherit;text-wrap:inherit}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; color: var(--action); font-family: var(--f-body); font-weight: 600; }
.qa details[open] summary::after { content: "–"; }
.qa details p { margin-top: 12px; color: var(--ink-2); max-width: 70ch; }

/* ---------- Footer ---------- */
.site-foot { background: var(--navy-900); color: var(--on-dark-2); padding-block: 46px; }
.site-foot .brand .logo { height: 58px; }
.foot-grid { display: flex; flex-wrap: wrap; gap: 28px 56px; justify-content: space-between; align-items: start; }
.foot-links { display: flex; flex-wrap: wrap; gap: 10px 28px; }
.foot-links a { color: var(--on-dark-2); text-decoration: none; }
.foot-links a:hover { color: #fff; text-decoration: underline; }
.foot-note { font-size: 0.88rem; max-width: 42ch; color: var(--on-dark-2); }
@media (max-width: 560px) { .foot-links { gap: 0 28px; } .foot-links a { padding-block: 7px; } }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; z-index: 50; background: #fff; color: var(--ink); padding: 10px 14px; border: 1px solid var(--rule-strong); }
