/* The marketing sub-pages in the homepage's ("Landing v2") design: /pricing,
   /universities and /faq. The homepage (landing/index.html) keeps its own
   inline copy of the shared parts — tokens, nav, buttons, FAQ, closing,
   footer — so change both together. Plain CSS, no build step:
   scripts/combine-landing.sh copies this file to dist/. */

@font-face { font-family: 'Outfit'; font-style: normal; font-weight: 300 600; font-display: swap; src: url('/fonts/outfit-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Outfit'; font-style: normal; font-weight: 300 600; font-display: swap; src: url('/fonts/outfit-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --ink: #1B1F2A; --muted: #5B6273; --faint: #8B93A5; --black: #0E0F12;
  --blue: #2F56F5; --blue-deep: #1E3FD1; --blue-soft: #D6DEFF; --yellow: #F3C542;
  --soft: #F5F7FC; --pill: #F3F5FA; --line: #DCE1EC; --line-2: #E6E9F2;
  --gutter: clamp(20px, 3vw, 40px);
  --ease: cubic-bezier(.2, .7, .1, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { background: #fff; }
body { margin: 0; background: #fff; min-height: 100vh; font-family: Outfit, system-ui, sans-serif; color: var(--ink); -webkit-font-smoothing: antialiased; }
h1, h2, h3, p { margin: 0; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-deep); }
button { font-family: inherit; }
strong { font-weight: 500; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 50; padding: 10px 16px; border-radius: 999px; background: var(--black); color: #fff; }
.skip:focus { left: 8px; color: #fff; }

@keyframes rise { from { transform: translateY(110%); } to { transform: translateY(0); } }
@keyframes fade { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }

.page { max-width: 1800px; margin: 0 auto; padding: 0 var(--gutter); display: flex; flex-direction: column; }

/* Nav — as on the homepage. */
.nav { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 8px; flex-wrap: wrap; background: linear-gradient(#fff 70%, rgba(255, 255, 255, 0)); }
.brand { display: flex; align-items: center; gap: 12px; font-size: 20px; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand__mark { width: 34px; height: 34px; border-radius: 10px; background: var(--blue); display: grid; place-items: center; }
.brand__mark::after { content: ''; width: 14px; height: 14px; border-radius: 50%; border: 2.5px solid #fff; }
.nav__pill { display: flex; padding: 4px; border-radius: 999px; background: var(--pill); white-space: nowrap; }
.nav__pill a { height: 40px; padding: 0 18px; border-radius: 999px; color: var(--muted); font-size: 14.5px; display: flex; align-items: center; }
.nav__pill a:hover, .nav__pill a[aria-current='page'] { color: var(--ink); }
.nav__pill a[aria-current='page'] { background: #fff; }
.nav__end { display: flex; align-items: center; gap: 22px; font-size: 14.5px; white-space: nowrap; }
.nav__login, .nav__login:hover { color: var(--ink); }
.nav__cta { height: 44px; padding: 0 20px; border-radius: 999px; background: var(--black); color: #fff; display: flex; align-items: center; }
.nav__cta:hover { color: #fff; }
@media (max-width: 860px) { .nav__pill { display: none; } }
@media (max-width: 420px) {
  .nav { padding: 14px 0; gap: 12px; flex-wrap: nowrap; }
  .brand { font-size: 18px; gap: 10px; }
  .brand__mark { width: 30px; height: 30px; border-radius: 9px; }
  .nav__end { gap: 12px; font-size: 14px; }
  .nav__cta { height: 40px; padding: 0 14px; }
}

/* Type and buttons */
.h1 { font-size: clamp(44px, 5.4vw, 92px); line-height: 1.02; font-weight: 300; letter-spacing: -.025em; text-wrap: balance; max-width: 980px; }
.h2 { font-size: clamp(34px, 3.4vw, 56px); font-weight: 300; letter-spacing: -.02em; line-height: 1.05; text-wrap: pretty; }
.h3 { font-size: clamp(22px, 1.9vw, 30px); font-weight: 400; letter-spacing: -.01em; line-height: 1.15; }
.center { text-align: center; }
.label { font-size: 13.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); }
.lede { font-size: clamp(17px, 1.3vw, 20px); line-height: 1.5; color: var(--muted); max-width: 640px; text-wrap: pretty; }
.text { font-size: 15.5px; line-height: 1.55; color: var(--muted); text-wrap: pretty; }
.btn { height: 54px; padding: 0 26px; border-radius: 999px; background: var(--black); color: #fff; font-size: 16px; display: inline-flex; align-items: center; white-space: nowrap; }
.btn:hover { color: #fff; }
.btn--light { background: #fff; color: var(--black); }
.btn--light:hover { color: var(--black); }
.link { font-size: 15.5px; color: var(--ink); }
.link:hover { color: var(--blue); }

/* A page's hero: centred, the headline rising in as on the homepage. */
.phero { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 26px; padding: clamp(36px, 5vw, 80px) 16px 0; }
.phero .h1 { opacity: 0; animation: fade .9s var(--ease) .1s forwards; }
.phero .lede { opacity: 0; animation: fade .8s ease-out .4s forwards; }
.phero__cta { display: flex; align-items: center; flex-wrap: wrap; justify-content: center; gap: 12px 22px; opacity: 0; animation: fade .8s ease-out .6s forwards; }

/* Sections */
.section { display: flex; flex-direction: column; gap: 40px; padding: clamp(80px, 10vw, 140px) 0 0; }
.section--first { padding-top: clamp(56px, 7vw, 100px); }
.section__head { display: flex; flex-direction: column; gap: 14px; align-items: center; text-align: center; }

/* Revealed once, the first time each one scrolls into view (v2.js). */
[data-reveal] { transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js [data-reveal] { opacity: 0; transform: translateY(var(--from, 28px)); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* Cards */
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--min, 320px)), 1fr)); align-items: stretch; }
.card { --from: 36px; background: var(--soft); border-radius: 28px; padding: clamp(22px, 2.4vw, 32px); display: flex; flex-direction: column; gap: 18px; }
.card--dark { background: var(--black); color: #fff; }
.card--dark .text { color: #C9CCD4; }
.card--dark .label { color: #9BA0AD; }
.inner { background: #fff; border-radius: 20px; padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.specs { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.specs li { position: relative; padding-left: 22px; font-size: 15.5px; line-height: 1.45; color: var(--ink); }
.specs li::before { content: ''; position: absolute; left: 2px; top: .55em; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }
.card--dark .specs li { color: #fff; }

/* A coloured tile with a label and a big figure, as in "Your momentum". */
.tile { min-height: 150px; border-radius: 22px; padding: 18px 20px; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; background: var(--bg, var(--blue)); color: var(--fg, #fff); }
.tile__label { font-size: 14px; opacity: .9; }
.tile__figure { font-size: clamp(48px, 4.6vw, 76px); font-weight: 300; letter-spacing: -.04em; line-height: .9; }
.tile--small .tile__figure { font-size: clamp(32px, 2.6vw, 44px); }
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.tiles .tile { min-height: 120px; padding: 14px 16px; }
@media (max-width: 520px) { .tiles { grid-template-columns: minmax(0, 1fr); } }

/* Plans (pricing) */
.plan { gap: 22px; }
.plan .btn { align-self: flex-start; margin-top: auto; }
.plan .link { margin-top: auto; }

/* Numbered steps, drawn like the homepage's feature cards. */
.step { --from: 60px; background: var(--soft); border-radius: 32px; padding: 14px; display: flex; flex-direction: column; gap: clamp(36px, 4vw, 64px); }
.step__title { padding: 18px 16px 0; font-size: clamp(18px, 1.4vw, 21px); line-height: 1.3; text-wrap: pretty; }
.step__tile { border-radius: 24px; background: var(--bg); color: var(--fg); padding: 20px 22px; min-height: 180px; display: flex; flex-direction: column; justify-content: space-between; gap: 20px; }
.step__tile p { font-size: 15px; line-height: 1.45; opacity: .9; }
.step__n { font-size: clamp(72px, 7vw, 112px); line-height: .85; font-weight: 300; letter-spacing: -.05em; }
@media (min-width: 1100px) { .step--low { margin-top: 70px; } }

/* Small example screens inside a card's white inner panel */
.bars { display: flex; align-items: flex-end; gap: 8px; height: 120px; }
.bars span { flex: 1; height: var(--h); border-radius: 8px 8px 4px 4px; background: var(--blue); opacity: .9; transform-origin: bottom; transition: transform 1s var(--ease) calc(var(--i) * .06s); }
.bars span:nth-child(odd) { background: var(--black); }
.js .bars span { transform: scaleY(0); }
.js .is-in .bars span { transform: none; }
.small { font-size: 13px; color: var(--faint); display: flex; justify-content: space-between; gap: 12px; }
.row { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 10px; align-items: center; padding: 10px 4px; border-top: 1px solid var(--line-2); font-size: 14px; }
.row:first-child { border-top: 0; color: var(--faint); font-size: 12.5px; }
.row b { font-weight: 500; display: block; }
.row small { display: block; color: var(--faint); font-size: 12.5px; }
.row--risk small { color: #C2410C; }
.person { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 4px; border-top: 1px solid var(--line-2); font-size: 14px; }
.person:first-of-type { border-top: 0; }
.person b { font-weight: 500; display: block; }
.person small { display: block; color: var(--faint); font-size: 12.5px; }
.chip { height: 30px; padding: 0 12px; border-radius: 999px; background: var(--black); color: #fff; font-size: 12.5px; display: inline-flex; align-items: center; white-space: nowrap; }
.chip--quiet { background: var(--pill); color: var(--muted); }
.example { font-size: 12.5px; color: var(--faint); }
@media (max-width: 560px) { .row { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); } .row > :nth-child(n+3) { display: none; } }

/* FAQ — as on the homepage: a heading on the left, the questions on the right. */
.faq { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 40px; align-items: start; }
.faq__head { display: flex; flex-direction: column; gap: 14px; }
.faq__list { display: flex; flex-direction: column; border-bottom: 1px solid var(--line); }
.faq__item { border-top: 1px solid var(--line); }
.faq__q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 4px; border: 0; background: transparent; text-align: left; font-size: 18px; color: var(--ink); cursor: pointer; }
.faq__q svg { flex: none; transition: transform .3s; }
.faq__q[aria-expanded='true'] svg { transform: rotate(180deg); }
.faq__a { padding: 0 4px 24px; font-size: 15.5px; line-height: 1.55; color: var(--muted); max-width: 620px; text-wrap: pretty; }
.faq__a + .faq__a { margin-top: -12px; }

/* Closing */
.closing { margin-top: clamp(80px, 10vw, 160px); border-radius: 32px; background: var(--blue); color: #fff; padding: clamp(56px, 7vw, 100px) 24px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 28px; }
.closing .h2 { font-size: clamp(36px, 4vw, 64px); max-width: 820px; }
.closing .btn { height: 58px; padding: 0 32px; background: #fff; color: var(--black); font-size: 16.5px; }
.closing .btn:hover { color: var(--black); }
.closing__note { font-size: 14.5px; color: var(--blue-soft); }
.closing__actions { display: flex; align-items: center; flex-wrap: wrap; justify-content: center; gap: 12px 24px; }
.closing__actions a:not(.btn), .closing__actions a:not(.btn):hover { color: #fff; font-size: 15.5px; }

.footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; padding: 28px 8px 60px; font-size: 13.5px; color: var(--faint); white-space: nowrap; }
.footer nav { display: flex; flex-wrap: wrap; gap: 12px 28px; }
.footer a { color: var(--faint); }
.footer a:hover { color: var(--ink); }

@media (prefers-reduced-motion: reduce) {
  .phero .h1, .phero .lede, .phero__cta { animation: none; opacity: 1; }
  [data-reveal], .bars span { transition: none; }
}
