@font-face {
  font-family: "Inter";
  src: url("/assets/inter/InterVariable-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #ffffff;
  --ink: #0b0b0c;
  --muted: #66666b;
  --line: #e6e6e8;
  --accent: #1b3a8a;
  --on-accent: #ffffff;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b0b0c;
    --ink: #f3f3f4;
    --muted: #9c9ca3;
    --line: #232326;
    --accent: #8aa9f0;
    --on-accent: #0b0b0c;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}

.wrap { max-width: 1040px; margin: 0 auto; padding: 0 24px; }

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* Header */
header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 16px;
  padding-top: 28px;
  padding-bottom: 28px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
}
.brand svg { width: 24px; height: 24px; fill: currentColor; }
nav { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 15px; }
nav a { text-decoration: none; color: var(--muted); white-space: nowrap; }
nav a:hover { color: var(--ink); }

/* Type */
h1 {
  font-size: clamp(44px, 9vw, 96px);
  line-height: 1;
  font-weight: 650;
  letter-spacing: -0.035em;
  margin: 0;
  max-width: 12ch;
}
p { margin: 0; }
.lead {
  font-size: clamp(20px, 2.6vw, 26px);
  line-height: 1.4;
  letter-spacing: -0.015em;
  color: var(--muted);
  max-width: 36ch;
  margin-top: 24px;
}

/* Hero */
.hero { padding: 72px 0 96px; }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 40px; }
.button {
  display: inline-block;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  padding: 12px 22px;
}
.button:hover { color: var(--on-accent); opacity: 0.9; }
.cta .mail { color: var(--muted); font-size: 16px; text-decoration: none; }
.cta .mail:hover { color: var(--accent); }

/* Sections */
.block { padding: 88px 0; border-top: 1px solid var(--line); }
.block > h2 {
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 650;
  letter-spacing: -0.035em;
  line-height: 1.1;
  margin: 0 0 48px;
}
.block > h2:has(+ .intro) { margin-bottom: 12px; }
.block > .intro { color: var(--muted); max-width: 60ch; margin-bottom: 48px; }

/* How it works */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; gap: 40px; max-width: 760px; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 56px 1fr; }
.steps li::before {
  content: counter(step);
  color: var(--accent);
  font-size: 28px;
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.steps h3, .grid h3, .options dt {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.35;
  margin: 0 0 6px;
}
.steps p, .grid p, .options dd { color: var(--muted); line-height: 1.6; }

/* What we deliver */
.grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 56px; }

/* Options */
.options { margin: 0; display: grid; grid-template-columns: 240px 1fr; gap: 0 32px; max-width: 900px; }
.options dt, .options dd { padding: 20px 0; margin: 0; border-top: 1px solid var(--line); }
.options dt:first-of-type, .options dd:first-of-type { border-top: 0; padding-top: 0; }

/* Contact */
.contact p { max-width: 60ch; }
.contact p + p { margin-top: 16px; }
.contact .cta { margin-top: 32px; }
.block.contact { padding-bottom: 112px; }

/* Footer */
footer { border-top: 1px solid var(--line); font-size: 15px; color: var(--muted); }
footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px 32px;
  padding-top: 32px;
  padding-bottom: 48px;
}
footer a { text-decoration: none; }
footer a:hover { color: var(--ink); }
footer a[aria-current] { color: var(--ink); }

@media (max-width: 820px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .options { grid-template-columns: 1fr; }
  .options dt { padding-bottom: 4px; }
  .options dd { border-top: 0; padding-top: 0; }
}

@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  header nav { display: none; }
  .hero { padding: 40px 0 64px; }
  .block { padding: 64px 0; }
  .block > h2 { margin-bottom: 32px; }
  .grid { grid-template-columns: 1fr; gap: 28px; }
  .steps { gap: 28px; }
  .steps li { grid-template-columns: 40px 1fr; }
}

/* Course excerpts */
.clips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 40px; }
.clip { margin: 0; }
.clip video { display: block; width: 100%; aspect-ratio: 16 / 9; background: var(--line); outline: 1px solid var(--line); outline-offset: -1px; }
.clip figcaption { margin-top: 16px; }
.clip h3 { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.35; margin: 0 0 6px; }
.clip p { color: var(--muted); line-height: 1.6; }
@media (max-width: 820px) { .clips { grid-template-columns: 1fr; gap: 40px; } }

/* The three crafts, hung from one line: a dot, one vertical line down to the middle card (one piece, so it cannot jog where the rail crosses it), a rail, a drop to each side card. */
.pillars > h2 { text-align: center; }
.tree { list-style: none; margin: 0; padding: 56px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; position: relative;
  background: linear-gradient(var(--muted), var(--muted)) center 10px / 1px 46px no-repeat; }
.tree::before { content: ""; position: absolute; top: 4px; left: calc(50% - 3.5px); width: 7px; height: 7px; border-radius: 50%; background: var(--ink); }
.tree::after { content: ""; position: absolute; top: 26px; left: calc((100% - 40px) / 6); right: calc((100% - 40px) / 6); height: 30px;
  border: 1px solid var(--muted); border-bottom: 0; }
.tree li { border: 1px solid var(--line); padding: 32px 20px 28px; text-align: center; }
.tree svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.tree h3 { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.35; margin: 14px 0 6px; }
.tree p { color: var(--muted); line-height: 1.5; }
@media (max-width: 820px) {
  .tree { grid-template-columns: 1fr; padding-top: 0; background: none; }
  .tree::before, .tree::after { content: none; }
}
