/* Press Run Labs site. The Classroom look (Momo's pick, 28 Oct 2026): white pages, soft rounded cards, lots of air,
   one typeface, cobalt for actions and coral for people-skills courses. The courses use the same look. */

@font-face { font-family: "Plus Jakarta Sans"; src: url("fonts/plus-jakarta-sans-latin-wght-normal.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }

:root {
  color-scheme: light;
  --bg: #ffffff;
  --surface: #f4f6fb;
  --line: #e2e6ef;
  --edge: #8a93a8;        /* outlines of inputs: 3:1 or more on white */
  --ink: #131a2e;
  --muted: #576075;
  --cobalt: #2747c9;
  --cobalt-deep: #1a2f8a;
  --cobalt-soft: #eaefff;
  --on-cobalt: #ffffff;
  --coral: #b9381f;       /* coral text, 4.8:1 on its soft ground */
  --coral-soft: #fdebe6;
  --ok: #127a4f;
  --ok-soft: #e7f6ee;

  --font: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;

  --step--1: 0.875rem;
  --step-0: 1rem;
  --step-1: 1.25rem;
  --step-2: clamp(1.6rem, 1.3rem + 1.2vw, 2.1rem);
  --step-3: clamp(2.2rem, 1.4rem + 3.4vw, 3.4rem);
  --radius: 12px;
  --radius-card: 20px;
  --shadow-card: 0 1px 2px rgba(19, 26, 46, 0.04), 0 12px 32px rgba(19, 26, 46, 0.07);
  --measure: 62ch;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: var(--bg); overflow-x: clip; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--step-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
a { color: var(--cobalt); text-underline-offset: 3px; }
a:hover { color: var(--cobalt-deep); }
:focus-visible { outline: 2px solid var(--cobalt); outline-offset: 3px; border-radius: 4px; }
img, svg { max-width: 100%; }

/* header */
.top { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 22px; flex-wrap: wrap; }
.top .logo { display: block; height: 36px; width: auto; }
.top nav { display: flex; gap: 26px; align-items: center; font-size: 0.94rem; font-weight: 600; }
.top nav a { text-decoration: none; color: var(--ink); }
.top nav a:hover { color: var(--cobalt); }
.top nav a.button { color: var(--on-cobalt); min-height: 42px; padding: 9px 16px; box-shadow: none; }

/* type */
h1, h2, h3 { font-weight: 800; line-height: 1.1; letter-spacing: -0.025em; text-wrap: balance; margin: 0; }
h1 { font-size: var(--step-3); line-height: 1.06; }
h1 .accent { color: var(--cobalt); }
h2 { font-size: var(--step-2); }
h3 { font-size: var(--step-1); letter-spacing: -0.015em; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; justify-self: start; width: fit-content;
  border-radius: 999px; padding: 5px 12px; margin: 0;
  background: var(--cobalt-soft); color: var(--cobalt); font-size: 0.82rem; font-weight: 700; letter-spacing: 0.01em;
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex: none; }
.eyebrow.people { background: var(--coral-soft); color: var(--coral); }
.lede { font-size: 1.15rem; color: var(--muted); max-width: var(--measure); margin: 0; }
.small { font-size: var(--step--1); color: var(--muted); }

/* buttons and the sign-up form */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-weight: 700; text-decoration: none; cursor: pointer;
  background: var(--cobalt); color: var(--on-cobalt); border: 0; border-radius: var(--radius);
  padding: 12px 22px; min-height: 48px; box-shadow: 0 6px 18px rgba(39, 71, 201, 0.28);
  transition: background-color 150ms ease, transform 150ms ease;
}
.button:hover { background: #2f52dc; color: var(--on-cobalt); }
.button:active { transform: translateY(1px); }
.button:disabled { cursor: default; opacity: 0.7; }
.signup { display: grid; gap: 8px; max-width: 520px; }
.signup .row { display: flex; gap: 10px; flex-wrap: wrap; }
.signup label { font-size: var(--step--1); font-weight: 700; }
.signup input[type="email"] {
  flex: 1 1 220px; min-width: 0; font: inherit; padding: 12px 16px; min-height: 48px;
  border: 1.5px solid var(--edge); border-radius: var(--radius); background: #ffffff; color: var(--ink);
}
.signup input[type="email"]:focus-visible { border-color: var(--cobalt); outline-offset: 1px; }

/* sections; a "band" paints its soft background the full width of the window */
section { padding-block: 48px; }
.band { background: var(--surface); box-shadow: 0 0 0 100vmax var(--surface); clip-path: inset(0 -100vmax); }
.hero { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 56px; align-items: center; padding-block: 32px 72px; }
.hero::before {
  content: ""; position: absolute; right: -14%; top: -18%; width: min(680px, 90vw); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, #e9eeff 0%, rgba(233, 238, 255, 0) 68%); pointer-events: none;
}
.hero > * { position: relative; }
.hero .copy { display: grid; gap: 22px; min-width: 0; }

/* the "try one" card: a real recorded answer, or a prediction to make */
.lab {
  background: #ffffff; border: 1px solid var(--line); border-radius: 22px; padding: 26px; display: grid; gap: 16px;
  min-width: 0; box-shadow: var(--shadow-card);
}
.lab p { margin: 0; }
.lab .label { font-size: 0.8rem; font-weight: 700; color: var(--muted); }
.lab blockquote { margin: 0; font-size: 1.02rem; background: var(--surface); border-radius: var(--radius); padding: 14px 16px; }
.lab ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: var(--step--1); font-weight: 600; }
.lab li span { display: block; font-weight: 400; color: var(--muted); }
.result { display: grid; gap: 10px; }
.answer { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr) 3.5rem; gap: 12px; align-items: center; font-size: var(--step--1); }
.answer b { font-weight: 700; }
.bar { height: 10px; background: var(--line); border-radius: 999px; overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; background: var(--cobalt); border-radius: 999px; transition: width 600ms ease-out; }
.answer .pct { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
.lab .meta { font-size: 0.8rem; color: var(--muted); }
.lab .waiting { color: var(--muted); font-size: var(--step--1); margin: 0; }

/* the "try one" tabs: a segmented control */
.tabs { display: flex; gap: 4px; flex-wrap: wrap; background: var(--surface); border-radius: var(--radius); padding: 4px; width: fit-content; }
.tabs [role="tab"] {
  font: inherit; font-size: var(--step--1); font-weight: 700; color: var(--muted); background: none; cursor: pointer;
  border: 0; border-radius: 9px; padding: 8px 14px; min-height: 40px;
}
.tabs [role="tab"]:hover { color: var(--ink); }
.tabs [role="tab"][aria-selected="true"] { color: var(--ink); background: #ffffff; box-shadow: 0 1px 3px rgba(19, 26, 46, 0.1); }
.panel { display: grid; gap: 14px; }

/* predict, then reveal */
.predict { display: grid; gap: 12px; }
.predict .q { font-size: 1.1rem; font-weight: 600; line-height: 1.4; margin: 0; }
.predict .options { display: grid; gap: 8px; }
.predict button[data-choice] {
  font: inherit; font-size: 0.95rem; text-align: left; cursor: pointer; padding: 12px 16px; min-height: 48px;
  background: #ffffff; color: var(--ink); border: 1.5px solid var(--line); border-radius: var(--radius);
  transition: border-color 150ms ease, background-color 150ms ease;
}
.predict button[data-choice]:hover:not(:disabled) { border-color: var(--cobalt); background: var(--cobalt-soft); }
.predict button[data-choice]:disabled { cursor: default; }
.predict button.is-picked { border-color: var(--ink); }
.predict button.is-right { border-color: var(--ok); background: var(--ok-soft); font-weight: 600; }
.reveal { display: grid; gap: 8px; background: var(--surface); border-radius: var(--radius); padding: 14px 16px; font-size: 0.95rem; }
.reveal .verdict { font-weight: 800; color: var(--ok); }
.reveal .src { font-size: 0.8rem; color: var(--muted); }

/* course cards */
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin-top: 26px; }
.card {
  background: #ffffff; border: 1px solid var(--line); border-radius: var(--radius-card); padding: 28px;
  display: grid; gap: 12px; align-content: start; box-shadow: 0 10px 30px rgba(19, 26, 46, 0.05);
}
.card p { margin: 0; color: var(--muted); }
.card .price { color: var(--ink); font-size: 0.95rem; margin-top: 4px; }
.card .price b { font-size: var(--step-1); font-weight: 800; }

/* how a lesson works */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 26px; padding: 0; list-style: none; counter-reset: step; }
.steps li {
  background: #ffffff; border: 1px solid var(--line); border-radius: var(--radius-card); padding: 24px;
  display: grid; gap: 8px; align-content: start; counter-increment: step;
}
.steps li::before {
  content: counter(step); width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  background: var(--cobalt-soft); color: var(--cobalt); font-weight: 800;
}
.steps p { margin: 0; color: var(--muted); }

#how, #courses, .next, .join { display: grid; gap: 14px; }
#how h2, #courses h2 { margin-top: 2px; }
.join { justify-items: start; }
.next p { max-width: var(--measure); color: var(--muted); margin: 0; }

/* footer */
footer { border-top: 1px solid var(--line); margin-top: 24px; padding-block: 28px 40px; display: grid; gap: 12px; font-size: var(--step--1); color: var(--muted); }
footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; }
footer a { color: var(--ink); font-weight: 600; }

/* plain pages (privacy, thanks) */
.page { max-width: 760px; display: grid; gap: 16px; padding-block: 24px 56px; }
.page p, .page li { max-width: var(--measure); }
.page p { margin: 0; }
.page h2 { font-size: var(--step-1); margin-top: 12px; }

@media (max-width: 860px) {
  .hero, .cards { grid-template-columns: minmax(0, 1fr); }
  .hero { gap: 36px; padding-block: 16px 48px; }
  .steps { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 460px) {
  .top nav a:not(.button) { display: none; }
  .answer { grid-template-columns: 6rem minmax(0, 1fr) 3rem; }
  .lab { padding: 20px; }
  .card { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .bar i, .button, .predict button[data-choice] { transition: none; }
  .button:active { transform: none; }
}
