@font-face {
  font-family: 'Schibsted Grotesk';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('/fonts/schibsted-grotesk-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;
}
@font-face {
  font-family: 'Schibsted Grotesk';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('/fonts/schibsted-grotesk-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+A720-A7FF;
}
@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/fonts/source-serif-4-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;
}
@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/fonts/source-serif-4-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+A720-A7FF;
}
@font-face {
  font-family: 'Source Serif 4';
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url('/fonts/source-serif-4-italic-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'DM Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/dm-mono-400-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'DM Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/dm-mono-500-latin.woff2') format('woff2');
}

:root {
  --paper: #f6f4ee;
  --paper-2: #eeebe2;
  --surface: #fffefb;
  --ink: #14130f;
  --ink-2: #2b2a25;
  --muted: #55534b;
  --subtle: #66635a;
  --line: rgba(20, 19, 15, 0.12);
  --line-strong: rgba(20, 19, 15, 0.24);
  --accent: #0a6b47;
  --accent-ink: #07523a;
  --accent-soft: #e3eee7;
  --warn: #8a4a0b;
  --warn-soft: #f6ead7;
  --on-dark: #f6f4ee;
  --on-dark-muted: #c9c5b9;
  --radius: 12px;
  --radius-sm: 8px;
  --sans: 'Schibsted Grotesk', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --serif: 'Source Serif 4', Charter, 'Iowan Old Style', Georgia, serif;
  --mono: 'DM Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
  --container: 75rem;
  --header-h: 4rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1.5rem);
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: 'ss01' 0;
}
img,
svg {
  max-width: 100%;
  display: block;
}
a {
  color: var(--accent-ink);
  text-underline-offset: 0.2em;
  text-decoration-thickness: 1px;
}
a:hover {
  color: var(--ink);
}
:focus-visible {
  outline: 2.5px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}
::selection {
  background: #cfe3d7;
}
.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  background: var(--ink);
  color: var(--on-dark);
  padding: 0.6rem 1rem;
  border-radius: var(--radius-sm);
  z-index: 100;
  text-decoration: none;
}
.skip-link:focus {
  top: 0.75rem;
  color: var(--on-dark);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
main:focus {
  outline: none;
}
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}
.narrow {
  max-width: 48rem;
}
.measure {
  max-width: 40rem;
}

h1,
h2,
h3,
h4 {
  font-weight: 600;
  letter-spacing: -0.028em;
  line-height: 1.08;
  margin: 0 0 0.55em;
  color: var(--ink);
  text-wrap: balance;
}
h1 {
  font-size: clamp(2.5rem, 6.2vw, 5.1rem);
  letter-spacing: -0.042em;
  line-height: 1;
}
h2 {
  font-size: clamp(1.9rem, 3.8vw, 3.1rem);
  letter-spacing: -0.035em;
}
h3 {
  font-size: 1.28rem;
  letter-spacing: -0.018em;
  line-height: 1.22;
}
p {
  margin: 0 0 1em;
  text-wrap: pretty;
}
.lead {
  font-size: clamp(1.15rem, 1.7vw, 1.36rem);
  line-height: 1.5;
  color: var(--muted);
  max-width: 42rem;
}
.eyebrow {
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--subtle);
  margin: 0 0 1.1rem;
  display: block;
}
.eyebrow-accent {
  color: var(--accent-ink);
}
.muted {
  color: var(--muted);
}
.small {
  font-size: 0.9rem;
}
.tiny {
  font-size: 0.82rem;
}
.mono {
  font-family: var(--mono);
}
.h-page {
  font-size: clamp(2.2rem, 4.8vw, 3.6rem);
}
.h-section {
  font-size: clamp(1.9rem, 3.8vw, 3.1rem);
  max-width: 22ch;
}
.stack > * + * {
  margin-top: 1rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.header-row {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  min-height: var(--header-h);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--ink);
  text-decoration: none;
  font-weight: 650;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}
.brand:hover {
  color: var(--ink);
}
.brand-mark {
  width: 26px;
  height: 26px;
  color: var(--ink);
}
.brand-name {
  font-size: 1.05rem;
}
.brand-tag {
  font-weight: 450;
  color: var(--muted);
  font-size: 1.05rem;
  padding-left: 0.55rem;
  border-left: 1px solid var(--line-strong);
}
.site-nav {
  margin-left: auto;
  display: flex;
  gap: 1.5rem;
  align-items: center;
}
.site-nav a:not(.btn) {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.97rem;
}
.site-nav a:not(.btn):hover {
  color: var(--ink);
}
.header-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 1.1rem;
  font-size: 0.95rem;
  color: var(--muted);
  min-width: 0;
}
.header-right a:not(.btn) {
  color: var(--muted);
  text-decoration: none;
}
.header-right a:not(.btn):hover {
  color: var(--ink);
}
@media (max-width: 900px) {
  .site-nav .hide-m {
    display: none;
  }
}
@media (max-width: 560px) {
  .hide-s {
    display: none !important;
  }
  .brand-tag {
    display: none;
  }
  .site-nav {
    gap: 0.9rem;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--on-dark);
  font: inherit;
  font-weight: 560;
  font-size: 1rem;
  line-height: 1.2;
  padding: 0.85rem 1.3rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-decoration: none;
  transition:
    background 0.15s ease,
    border-color 0.15s ease,
    color 0.15s ease;
  white-space: nowrap;
}
.btn:hover {
  background: var(--ink-2);
  color: var(--on-dark);
}
.btn-accent {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.btn-accent:hover {
  background: var(--accent-ink);
  border-color: var(--accent-ink);
  color: #fff;
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-ghost:hover {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--ink);
}
.btn-sm {
  padding: 0.55rem 0.95rem;
  font-size: 0.93rem;
}
.btn-lg {
  padding: 1.05rem 1.6rem;
  font-size: 1.06rem;
}
.btn-block {
  width: 100%;
}
.btn[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
}
.arrow::after {
  content: '→';
  display: inline-block;
  margin-left: 0.5em;
  font-family: var(--sans);
  transition: transform 0.15s ease;
}
.nowrap {
  white-space: nowrap;
}
.btn:hover .arrow::after,
.arrow:hover::after {
  transform: translateX(2px);
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}
.text-link {
  font-weight: 560;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
}
.text-link:hover {
  text-decoration-color: var(--ink);
}

/* Forms */
.field {
  display: grid;
  gap: 0.4rem;
  margin-bottom: 1.1rem;
}
.field label,
.label {
  font-weight: 560;
  font-size: 0.97rem;
}
.field .hint {
  font-size: 0.86rem;
  color: var(--muted);
  margin: 0;
}
input[type='text'],
input[type='email'],
input[type='date'],
textarea,
select {
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.85rem;
  width: 100%;
  min-height: 2.9rem;
}
textarea {
  min-height: 7.5rem;
  resize: vertical;
  line-height: 1.5;
}
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2.5px solid var(--accent);
  outline-offset: 1px;
  border-color: var(--accent);
}
.check {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 1.1rem;
}
.check input {
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.18rem;
  accent-color: var(--accent);
  flex-shrink: 0;
}
.form-grid {
  display: grid;
  gap: 0 1.25rem;
}
@media (min-width: 720px) {
  .form-grid.cols-2 {
    grid-template-columns: 1fr 1fr;
  }
  .form-grid .span-2 {
    grid-column: span 2;
  }
}
.notice {
  border: 1px solid var(--line);
  background: var(--paper-2);
  border-radius: var(--radius-sm);
  padding: 0.9rem 1.05rem;
  font-size: 0.93rem;
  color: var(--ink-2);
  margin: 0 0 1.2rem;
}
.notice strong {
  color: var(--ink);
}
.notice-ok {
  background: var(--accent-soft);
  border-color: rgba(10, 107, 71, 0.25);
}
.notice-warn {
  background: var(--warn-soft);
  border-color: rgba(138, 74, 11, 0.25);
}
.form-error {
  color: #9a2a12;
  font-weight: 560;
}

/* Cards and surfaces */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.25rem, 3vw, 2rem);
}
.card-tight {
  padding: 1.25rem;
}
.rule {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 2.5rem 0;
}

/* Sections */
.section {
  padding: clamp(4.5rem, 9vw, 7.5rem) 0;
}
.section-tight {
  padding: clamp(3rem, 6vw, 4.5rem) 0;
}
.section-alt {
  background: var(--paper-2);
}
.section-line {
  border-top: 1px solid var(--line);
}
.section-dark {
  background: var(--ink);
  color: var(--on-dark);
}
.section-dark h2,
.section-dark h3 {
  color: var(--on-dark);
}
.section-dark .eyebrow {
  color: var(--on-dark-muted);
}
.section-dark .muted,
.section-dark .lead {
  color: var(--on-dark-muted);
}
.section-dark a:not(.btn) {
  color: var(--on-dark);
}
.section-head {
  display: grid;
  gap: 1rem 4rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
@media (min-width: 960px) {
  .section-head.split {
    grid-template-columns: 1.1fr 1fr;
    align-items: end;
  }
  .section-head.split .lead {
    margin-bottom: 0.3rem;
  }
}

/* Hero */
.hero {
  padding: clamp(3.5rem, 8vw, 6.5rem) 0 0;
}
.hero h1 {
  max-width: 17ch;
}
.hero .lead {
  margin: 1.6rem 0 2rem;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.6rem;
  margin: 1.6rem 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.93rem;
  color: var(--muted);
}
.hero-meta li::before {
  content: '';
  display: inline-block;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--accent);
  margin-right: 0.55rem;
  transform: translateY(-1px);
}
.hero-preview {
  margin-top: clamp(3rem, 6vw, 4.5rem);
  position: relative;
}
.hero-preview::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 40%;
  background: var(--paper-2);
  z-index: -1;
}
.hero-band {
  background: var(--paper-2);
  padding-bottom: clamp(3.5rem, 7vw, 5.5rem);
}
.preview-caption {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem 2rem;
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--muted);
}

/* Browser frame preview */
.frame {
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  overflow: hidden;
  box-shadow:
    0 1px 0 rgba(20, 19, 15, 0.04),
    0 30px 60px -36px rgba(20, 19, 15, 0.35);
}
.frame-bar {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  height: 2.5rem;
  padding: 0 0.9rem;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.frame-dots {
  display: flex;
  gap: 6px;
}
.frame-dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(20, 19, 15, 0.16);
}
.frame-url {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0.2rem 0.7rem;
  margin: 0 auto;
  max-width: 60%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.frame-body {
  position: relative;
  height: clamp(30rem, 62vw, 40rem);
  overflow: hidden;
  background: var(--paper);
}
.frame-body.short {
  height: auto;
}
.frame-body::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 7rem;
  background: linear-gradient(to bottom, rgba(246, 244, 238, 0), var(--paper));
  pointer-events: none;
}
.frame-body.short::after {
  display: none;
}
.frame-body .site-header {
  position: static;
}
.frame-body [inert] a,
.frame [inert] {
  pointer-events: none;
}

/* Reader (course player) */
.reader-shell {
  container-type: inline-size;
}
.app-header .header-row {
  gap: 1rem;
}
.reader-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 3px;
  background: transparent;
}
.reader-progress span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--accent);
  transition: width 0.1s linear;
}
.app-header {
  position: sticky;
}
.reader-pos {
  font-size: 0.92rem;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.reader-pos strong {
  color: var(--ink);
  font-weight: 560;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.02em;
  padding: 0.22rem 0.6rem;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  color: var(--muted);
  white-space: nowrap;
  background: var(--surface);
}
.pill-ok {
  border-color: rgba(10, 107, 71, 0.3);
  background: var(--accent-soft);
  color: var(--accent-ink);
}
.pill-now {
  border-color: var(--ink);
  color: var(--ink);
}
.reader-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  max-width: 72rem;
  margin: 0 auto;
  padding: clamp(2.25rem, 6vw, 4.5rem) clamp(1.25rem, 4vw, 2.5rem) 5rem;
}
.reader-toc {
  display: none;
}
@container (min-width: 1000px) {
  .reader-grid {
    grid-template-columns: 13.5rem minmax(0, 41rem);
    gap: 4.5rem;
    justify-content: center;
  }
  .reader-toc {
    display: block;
  }
}
.reader-toc-inner {
  position: sticky;
  top: calc(var(--header-h) + 2.25rem);
}
.reader-toc .toc-h {
  font-family: var(--mono);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--subtle);
  margin: 0 0 0.9rem;
}
.reader-toc ol {
  list-style: none;
  margin: 0;
  padding: 0;
  border-left: 1px solid var(--line);
}
.reader-toc li a {
  display: block;
  padding: 0.38rem 0 0.38rem 0.95rem;
  margin-left: -1px;
  border-left: 2px solid transparent;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.89rem;
  line-height: 1.38;
}
.reader-toc li a:hover {
  color: var(--ink);
}
.reader-toc li a.is-active {
  color: var(--ink);
  border-left-color: var(--accent);
  font-weight: 560;
}
.toc-modules {
  margin-top: 2.2rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
  font-size: 0.86rem;
}
.toc-modules ol {
  border-left: 0;
  display: grid;
  gap: 0.15rem;
}
.reader-toc .toc-modules li a {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.6rem;
  padding: 0.3rem 0;
  margin: 0;
  border: 0;
  color: var(--muted);
  text-decoration: none;
}
.reader-toc .toc-modules li a:hover,
.reader-toc .toc-modules li a[aria-current='page'] {
  color: var(--ink);
}
.reader-toc .toc-modules li a[aria-current='page'] {
  font-weight: 560;
}
.toc-done {
  flex-shrink: 0;
  width: 0.6rem;
  height: 0.35rem;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: translateY(-0.2rem) rotate(-45deg);
}
.toc-mobile {
  margin: 0 0 2.2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
}
.toc-mobile summary {
  cursor: pointer;
  padding: 0.8rem 1rem;
  font-weight: 560;
  font-size: 0.95rem;
}
.toc-mobile ol {
  margin: 0;
  padding: 0 1rem 1rem 2.2rem;
  font-size: 0.95rem;
}
.toc-mobile li {
  margin: 0.25rem 0;
}
@container (min-width: 1000px) {
  .toc-mobile {
    display: none;
  }
}
.reader-head {
  margin-bottom: 2.75rem;
}
.reader-head .reader-title {
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 0.55em;
  text-wrap: balance;
  font-size: clamp(2.1rem, 5vw, 3.3rem);
  letter-spacing: -0.035em;
  line-height: 1.04;
  max-width: none;
}
.reader-summary {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2.2vw, 1.4rem);
  line-height: 1.5;
  color: var(--muted);
  margin: 1.2rem 0 2rem;
}
.goals {
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--line);
  padding: 1.25rem 0 1.1rem;
}
.goals-h {
  font-family: var(--mono);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--subtle);
  margin: 0 0 0.8rem;
}
.goals ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}
.goals li {
  position: relative;
  padding-left: 1.7rem;
  font-size: 1rem;
  line-height: 1.5;
}
.goals li::before {
  content: '';
  position: absolute;
  left: 0.15rem;
  top: 0.38rem;
  width: 0.7rem;
  height: 0.4rem;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}

.read {
  font-family: var(--serif);
  font-size: 1.1875rem;
  line-height: 1.72;
  color: var(--ink-2);
  font-optical-sizing: auto;
  hanging-punctuation: first;
}
.read > *:first-child {
  margin-top: 0;
}
.read h2 {
  font-family: var(--sans);
  font-size: clamp(1.45rem, 2.6vw, 1.75rem);
  letter-spacing: -0.025em;
  line-height: 1.18;
  margin: 2.6em 0 0.7em;
  color: var(--ink);
}
.read h3 {
  font-family: var(--sans);
  font-size: 1.16rem;
  letter-spacing: -0.012em;
  margin: 2em 0 0.5em;
  color: var(--ink);
}
.read p {
  margin: 0 0 1.15em;
  text-wrap: wrap;
}
.read strong {
  font-weight: 620;
  color: var(--ink);
}
.read ul,
.read ol {
  margin: 0 0 1.3em;
  padding-left: 1.35em;
}
.read li {
  margin: 0.4em 0;
  padding-left: 0.2em;
}
.read li::marker {
  color: var(--accent);
}
.read ol li::marker {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.95em;
}
.read a:not(.btn) {
  color: var(--accent-ink);
}
.read .text-link {
  color: var(--ink);
}
.read hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 2.5em 0;
}
.read blockquote {
  margin: 1.6em 0;
  padding: 0 0 0 1.2rem;
  border-left: 2px solid var(--line-strong);
  color: var(--muted);
  font-style: italic;
}
.table-wrap {
  overflow-x: auto;
  margin: 1.6em 0 1.8em;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
}
.table-wrap:focus-visible {
  outline-offset: 2px;
}
.read table,
.data-table {
  border-collapse: collapse;
  width: 100%;
  font-family: var(--sans);
  font-size: 0.95rem;
  line-height: 1.45;
}
.read th,
.read td {
  text-align: left;
  vertical-align: top;
  padding: 0.75rem 0.9rem;
  border-bottom: 1px solid var(--line);
}
.read th {
  font-weight: 600;
  background: var(--paper);
  color: var(--ink);
  font-size: 0.88rem;
}
.read thead td {
  background: var(--paper);
}
.read tbody tr:last-child td {
  border-bottom: 0;
}
.callout {
  font-family: var(--sans);
  font-size: 1.02rem;
  line-height: 1.6;
  margin: 1.8em 0;
  padding: 1.15rem 1.3rem 0.3rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  border-left: 3px solid var(--accent);
  background: var(--accent-soft);
  color: var(--ink);
}
.callout p {
  margin-bottom: 0.85em;
}
.callout-label {
  font-family: var(--mono);
  font-size: 0.74rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--accent-ink);
  margin: 0 0 0.45rem !important;
}
.callout-achtung {
  border-left-color: var(--warn);
  background: var(--warn-soft);
}
.callout-achtung .callout-label {
  color: var(--warn);
}
.callout-note {
  border-left-color: var(--ink-2);
  background: var(--paper-2);
}
.callout-note .callout-label {
  color: var(--ink-2);
}

.callout-prompt {
  border-left: 0;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--surface);
  padding: 0;
  overflow: hidden;
}
.callout-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0.6rem 0.55rem 1.1rem;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.callout-prompt .callout-label {
  margin: 0 !important;
  color: var(--ink-2);
}
.prompt-text {
  padding: 1rem 1.1rem 0.25rem;
  font-family: var(--mono);
  font-size: 0.86rem;
  line-height: 1.7;
  color: var(--ink);
}
.prompt-text p {
  margin-bottom: 0.85em;
}
.prompt-text code {
  background: var(--paper-2);
  border-radius: 4px;
  padding: 0.05rem 0.3rem;
}
.copy-prompt {
  display: none;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 560;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  padding: 0.3rem 0.7rem;
  cursor: pointer;
}
.copy-prompt:hover {
  border-color: var(--ink);
}
.js .copy-prompt {
  display: inline-flex;
}
.read code {
  font-family: var(--mono);
  font-size: 0.82em;
  background: var(--paper-2);
  border-radius: 4px;
  padding: 0.08rem 0.32rem;
  word-break: break-word;
}

/* Self check */
.sc {
  margin: 4rem 0 0;
  padding: clamp(1.4rem, 3.5vw, 2.25rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.sc-head h2 {
  font-size: clamp(1.45rem, 2.6vw, 1.8rem);
  margin-bottom: 0.4rem;
}
.sc-head p {
  color: var(--muted);
  font-size: 0.97rem;
}
.sc-private {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem !important;
  color: var(--accent-ink) !important;
  font-weight: 560;
}
.sc-private::before {
  content: '';
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--accent);
}
.sc-q {
  border-top: 1px solid var(--line);
  margin: 1.5rem 0 0;
  padding: 1.5rem 0 0;
}
.sc-legend {
  font-weight: 600;
  font-size: 1.06rem;
  line-height: 1.4;
  margin: 0 0 0.9rem;
  display: flex;
  gap: 0.75rem;
}
.sc-n {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 0.85rem;
  color: var(--subtle);
  padding-top: 0.15rem;
  flex-shrink: 0;
}
.sc-opts {
  display: grid;
  gap: 0.5rem;
}
.sc-opt {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  width: 100%;
  text-align: left;
  font: inherit;
  color: var(--ink);
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.99rem;
  line-height: 1.45;
  background: var(--surface);
  transition:
    border-color 0.12s ease,
    background 0.12s ease;
}
.sc-opt:hover {
  border-color: var(--ink);
}
.sc-letter {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  font-family: var(--mono);
  font-size: 0.74rem;
  font-weight: 500;
  color: var(--muted);
  margin-top: -0.02rem;
}
.sc-text {
  flex: 1;
  padding-top: 0.05rem;
}
.sc-q.is-answered .sc-opt {
  cursor: default;
}
.sc-q.is-answered .sc-opt:hover {
  border-color: var(--line-strong);
}
.sc-opt.is-correct,
.sc-q.is-answered .sc-opt.is-correct:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
}
.sc-opt.is-correct .sc-letter {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.sc-opt.is-wrong,
.sc-q.is-answered .sc-opt.is-wrong:hover {
  border-color: var(--warn);
  background: var(--warn-soft);
}
.sc-opt.is-wrong .sc-letter {
  background: var(--warn);
  border-color: var(--warn);
  color: #fff;
}
.sc-opt .sc-mark {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding-top: 0.2rem;
  white-space: nowrap;
}
.sc-opt.is-correct .sc-mark {
  color: var(--accent-ink);
}
.sc-opt.is-wrong .sc-mark {
  color: var(--warn);
}
.sc-feedback {
  margin: 0.85rem 0 0;
  font-size: 0.97rem;
  line-height: 1.55;
  color: var(--ink-2);
}
.sc-feedback strong {
  color: var(--ink);
}
.sc-solution {
  margin-top: 0.75rem;
  font-size: 0.95rem;
}
.sc-solution summary {
  cursor: pointer;
  color: var(--accent-ink);
  font-weight: 560;
}
.js .sc-solution {
  display: none;
}
.sc-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}
.sc-score {
  margin: 0;
  font-weight: 560;
}
.sc-reset {
  font: inherit;
  font-size: 0.92rem;
  color: var(--muted);
  background: none;
  border: 0;
  text-decoration: underline;
  text-underline-offset: 0.2em;
  cursor: pointer;
  padding: 0.3rem 0;
}
.sc-reset:hover {
  color: var(--ink);
}

.reader-next {
  margin-top: 2.5rem;
  padding: clamp(1.4rem, 3.5vw, 2.25rem);
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--on-dark);
}
.reader-next h2 {
  color: var(--on-dark);
  font-size: clamp(1.35rem, 2.4vw, 1.65rem);
  margin-bottom: 0.4rem;
}
.reader-next p {
  color: var(--on-dark-muted);
}
.reader-next .btn-accent {
  margin-top: 0.5rem;
}
.reader-next a:not(.btn) {
  color: var(--on-dark);
}
.reader-next .btn-ghost {
  color: var(--on-dark);
  border-color: rgba(246, 244, 238, 0.35);
}
.reader-next .btn-ghost:hover {
  background: transparent;
  border-color: var(--on-dark);
}
.reader-nav {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.5rem;
  font-size: 0.93rem;
}
.reader-nav a {
  color: var(--muted);
  text-decoration: none;
}
.reader-nav a:hover {
  color: var(--ink);
}

/* Course overview */
.progress-meter {
  height: 8px;
  border-radius: 999px;
  background: var(--line);
  overflow: hidden;
}
.progress-meter span {
  display: block;
  height: 100%;
  background: var(--accent);
  border-radius: 999px;
}
.overview-head {
  display: grid;
  gap: 2rem;
  align-items: end;
  margin-bottom: 3rem;
}
@media (min-width: 900px) {
  .overview-head {
    grid-template-columns: 1.4fr 1fr;
  }
}
.overview-stat {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  margin-bottom: 0.7rem;
}
.overview-stat strong {
  font-size: 2.2rem;
  letter-spacing: -0.03em;
  font-weight: 600;
  line-height: 1;
}
.modules {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--ink);
}
.module-row {
  border-bottom: 1px solid var(--line);
}
.module-row a {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  gap: 0.25rem 1.25rem;
  padding: 1.6rem 0;
  color: inherit;
  text-decoration: none;
}
@media (min-width: 760px) {
  .module-row a {
    grid-template-columns: 4.5rem minmax(0, 1fr) auto;
    align-items: start;
  }
}
.module-row a:hover h3 {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}
.module-num {
  font-family: var(--mono);
  font-size: 0.95rem;
  color: var(--subtle);
  padding-top: 0.2rem;
}
.module-row h3 {
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  margin: 0 0 0.35rem;
}
.module-row p {
  margin: 0;
  color: var(--muted);
  font-size: 0.97rem;
  max-width: 44rem;
}
.module-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  grid-column: 2;
  margin-top: 0.6rem;
}
@media (min-width: 760px) {
  .module-meta {
    grid-column: 3;
    margin-top: 0.15rem;
    flex-direction: column;
    align-items: flex-end;
  }
}
.module-row.is-next a {
  position: relative;
}
.module-row.is-next .module-num {
  color: var(--accent-ink);
  font-weight: 500;
}

/* Sales page parts */
.facts {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line-strong);
}
.fact {
  display: grid;
  gap: 0.4rem 2.5rem;
  padding: 1.6rem 0;
  border-bottom: 1px solid var(--line);
}
@media (min-width: 860px) {
  .fact {
    grid-template-columns: 12rem minmax(0, 1fr);
  }
}
.fact-date {
  font-family: var(--mono);
  font-size: 0.88rem;
  color: var(--accent-ink);
  padding-top: 0.25rem;
}
.fact h3 {
  margin-bottom: 0.35rem;
}
.fact p {
  margin: 0;
  color: var(--muted);
  max-width: 46rem;
}
.verdict {
  margin-top: 2.5rem;
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 860px) {
  .verdict {
    grid-template-columns: 12rem minmax(0, 1fr);
    gap: 2.5rem;
  }
}
.verdict blockquote {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  line-height: 1.4;
  color: var(--ink);
  max-width: 44rem;
}

.two-col {
  display: grid;
  gap: 3rem;
}
@media (min-width: 960px) {
  .two-col {
    grid-template-columns: 1fr 1fr;
    gap: 4.5rem;
  }
}
.toc-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--ink);
}
.toc-list li {
  display: grid;
  grid-template-columns: 2.6rem minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: baseline;
  padding: 1.05rem 0;
  border-bottom: 1px solid var(--line);
}
.toc-list .n {
  font-family: var(--mono);
  font-size: 0.85rem;
  color: var(--subtle);
}
.toc-list .t {
  font-weight: 560;
  line-height: 1.35;
}
.toc-list .t small {
  display: block;
  font-weight: 400;
  color: var(--muted);
  font-size: 0.92rem;
  margin-top: 0.25rem;
  line-height: 1.45;
}
.toc-list .m {
  font-family: var(--mono);
  font-size: 0.82rem;
  color: var(--muted);
  white-space: nowrap;
}
.toc-list li.total {
  border-bottom: 0;
}
.toc-list li.total .t {
  color: var(--muted);
  font-weight: 400;
}
.deliverables {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--ink);
}
.deliverables li {
  padding: 1.05rem 0 1.05rem 0;
  border-bottom: 1px solid var(--line);
}
.deliverables strong {
  display: block;
  font-weight: 600;
  margin-bottom: 0.15rem;
}
.deliverables span {
  color: var(--muted);
  font-size: 0.95rem;
}
.col-h {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 1rem;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.col-h span {
  font-family: var(--mono);
  font-weight: 400;
  font-size: 0.82rem;
  color: var(--muted);
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
  counter-reset: step;
}
@media (min-width: 860px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}
.step {
  border-top: 1px solid var(--ink);
  padding-top: 1.4rem;
}
.step-n {
  font-family: var(--mono);
  font-size: 0.85rem;
  color: var(--accent-ink);
  margin-bottom: 1.6rem;
  display: block;
}
.step h3 {
  font-size: 1.45rem;
  margin-bottom: 0.5rem;
}
.step p {
  color: var(--muted);
  margin: 0;
}
.step-ui {
  margin-top: 1.4rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.85rem 0.95rem;
  font-size: 0.86rem;
}
.step-ui .row {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  align-items: center;
}
.step-ui code {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--ink-2);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 0.25rem 0.5rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}
.fake-btn {
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 560;
  background: var(--ink);
  color: var(--on-dark);
  border-radius: 6px;
  padding: 0.3rem 0.6rem;
  white-space: nowrap;
}
.fake-btn.accent {
  background: var(--accent);
  color: #fff;
}

.pricing {
  display: grid;
  gap: 1rem;
}
@media (min-width: 900px) {
  .pricing {
    grid-template-columns: repeat(3, 1fr);
  }
}
.price-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2rem);
}
.price-card.is-mid {
  border-color: var(--ink);
  box-shadow: 0 0 0 1px var(--ink);
}
.price-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
}
.price-seats {
  font-weight: 560;
  margin: 0 0 0.25rem;
}
.price-blurb {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 1.6rem;
  min-height: 2.9em;
}
.price {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin: 0 0 0.2rem;
}
.price strong {
  font-size: clamp(2.6rem, 4.4vw, 3.3rem);
  letter-spacing: -0.045em;
  font-weight: 600;
  line-height: 1;
}
.price span {
  color: var(--muted);
  font-size: 0.95rem;
}
.price-note {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0 0 1.6rem;
}
.price-card .btn {
  margin-top: auto;
}
.price-konzern {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  align-items: center;
  justify-content: space-between;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  padding: 1.25rem clamp(1.5rem, 3vw, 2rem);
}
.price-konzern p {
  margin: 0;
}
.includes {
  margin-top: 2.5rem;
  display: grid;
  gap: 0.6rem 2.5rem;
  list-style: none;
  padding: 0;
}
@media (min-width: 760px) {
  .includes {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1100px) {
  .includes {
    grid-template-columns: repeat(3, 1fr);
  }
}
.includes li {
  position: relative;
  padding-left: 1.7rem;
  font-size: 0.98rem;
}
.includes li::before {
  content: '';
  position: absolute;
  left: 0.15rem;
  top: 0.42rem;
  width: 0.7rem;
  height: 0.4rem;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}
.fine {
  margin-top: 2rem;
  font-size: 0.88rem;
  color: var(--muted);
  max-width: 52rem;
}

.faq {
  border-top: 1px solid var(--ink);
}
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.35rem 0;
  font-weight: 560;
  font-size: 1.1rem;
  line-height: 1.4;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '+';
  font-weight: 400;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--muted);
  transition: transform 0.15s ease;
}
.faq details[open] summary::after {
  transform: rotate(45deg);
}
.faq .faq-a {
  padding: 0 0 1.4rem;
  color: var(--ink-2);
  max-width: 46rem;
}
.faq .faq-a p:last-child {
  margin-bottom: 0;
}

.upsell {
  display: grid;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 960px) {
  .upsell {
    grid-template-columns: 1.3fr 1fr;
    gap: 4rem;
  }
}
.upsell-card {
  border: 1px solid rgba(246, 244, 238, 0.2);
  border-radius: var(--radius);
  padding: 1.5rem 1.6rem;
}
.upsell-card dl {
  margin: 0;
  display: grid;
  gap: 0.9rem;
}
.upsell-card dt {
  font-family: var(--mono);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--on-dark-muted);
}
.upsell-card dd {
  margin: 0.15rem 0 0;
  font-size: 1.15rem;
  font-weight: 560;
}
.btn-light {
  background: var(--on-dark);
  color: var(--ink);
  border-color: var(--on-dark);
}
.btn-light:hover {
  background: #fff;
  color: var(--ink);
}

.lead-strip {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}
@media (min-width: 860px) {
  .lead-strip {
    grid-template-columns: 1fr auto;
  }
}
.lead-strip h2 {
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  margin-bottom: 0.4rem;
}
.lead-strip p {
  margin: 0;
  color: var(--muted);
}

/* Admin */
.admin-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem 2rem;
  margin-bottom: 2rem;
}
.admin-head h1 {
  font-size: clamp(2rem, 4.2vw, 3rem);
  margin: 0;
}
.stat-row {
  display: grid;
  gap: 0;
  grid-template-columns: repeat(2, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
  margin-bottom: 1.5rem;
}
@media (min-width: 900px) {
  .stat-row {
    grid-template-columns: repeat(4, 1fr);
  }
}
.stat {
  padding: 1.2rem 1.35rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-right: -1px;
  margin-bottom: -1px;
}
.stat-label {
  font-family: var(--mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--subtle);
  margin: 0 0 0.45rem;
}
.stat-value {
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0;
}
.stat-value small {
  font-size: 0.95rem;
  font-weight: 450;
  color: var(--muted);
  letter-spacing: 0;
}
.stat .progress-meter {
  margin-top: 0.7rem;
  height: 5px;
}
.admin-grid {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 1000px) {
  .admin-grid {
    grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
    align-items: start;
  }
}
.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.25rem, 2.6vw, 1.75rem);
}
.panel + .panel {
  margin-top: 1.5rem;
}
.panel h2 {
  font-size: 1.3rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.35rem;
}
.panel-sub {
  color: var(--muted);
  font-size: 0.94rem;
  margin-bottom: 1.2rem;
}
.panel-head {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}
.copy-row {
  display: flex;
  gap: 0.5rem;
  align-items: stretch;
}
.copy-row input {
  font-family: var(--mono);
  font-size: 0.88rem;
  min-width: 0;
}
.data-table th,
.data-table td {
  text-align: left;
  padding: 0.7rem 0.8rem;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
  white-space: nowrap;
}
.data-table th {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--subtle);
  background: var(--paper);
}
.data-table td.wrap {
  white-space: normal;
}
.data-table tr:last-child td {
  border-bottom: 0;
}
.mini-meter {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.mini-meter .progress-meter {
  width: 4.5rem;
  height: 5px;
}
.empty {
  padding: 2rem 1rem;
  text-align: center;
  color: var(--muted);
}
.downloads {
  display: grid;
  gap: 0.6rem;
}
.download {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 1.05rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  color: var(--ink);
  text-decoration: none;
  background: var(--surface);
}
.download:hover {
  border-color: var(--ink);
  color: var(--ink);
}
.download strong {
  display: block;
  font-weight: 600;
}
.download span {
  font-size: 0.88rem;
  color: var(--muted);
}
.download .fmt {
  font-family: var(--mono);
  font-size: 0.75rem;
  border: 1px solid var(--line-strong);
  border-radius: 5px;
  padding: 0.2rem 0.45rem;
  color: var(--muted);
}

/* Auth and join */
.auth {
  min-height: calc(100vh - 12rem);
  display: grid;
  place-items: center;
  padding: clamp(3rem, 8vw, 6rem) 0;
}
.auth-card {
  width: 100%;
  max-width: 34rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: clamp(1.5rem, 5vw, 2.75rem);
}
.auth-card h1 {
  font-size: clamp(1.9rem, 4.6vw, 2.6rem);
  letter-spacing: -0.035em;
  margin-bottom: 0.7rem;
}
.auth-card .lead {
  font-size: 1.07rem;
  margin-bottom: 1.6rem;
}
.org-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 560;
  font-size: 0.93rem;
  padding: 0.4rem 0.8rem 0.4rem 0.4rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  margin-bottom: 1.4rem;
}
.org-badge i {
  font-style: normal;
  display: grid;
  place-items: center;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 50%;
  background: var(--ink);
  color: var(--on-dark);
  font-size: 0.78rem;
  font-weight: 600;
}
.join-facts {
  list-style: none;
  padding: 0;
  margin: 0 0 1.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* Page hero, prose */
.page-hero {
  padding: clamp(3.5rem, 8vw, 6rem) 0 clamp(4rem, 8vw, 6rem);
}
.prose {
  max-width: 44rem;
}
.prose h2 {
  font-size: clamp(1.4rem, 2.5vw, 1.75rem);
  margin-top: 2.4em;
}
.prose h3 {
  margin-top: 1.8em;
}
.prose p,
.prose li {
  color: var(--ink-2);
}
.prose ul,
.prose ol {
  padding-left: 1.3em;
}
.prose li {
  margin: 0.35em 0;
}

/* Articles */
.article-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--ink);
}
.article-list li a {
  display: grid;
  gap: 0.35rem 2rem;
  padding: 1.7rem 0;
  border-bottom: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
}
@media (min-width: 860px) {
  .article-list li a {
    grid-template-columns: 9rem minmax(0, 1fr);
  }
}
.article-list .date {
  font-family: var(--mono);
  font-size: 0.85rem;
  color: var(--subtle);
  padding-top: 0.25rem;
}
.article-list h2 {
  font-size: clamp(1.3rem, 2.4vw, 1.65rem);
  margin-bottom: 0.4rem;
}
.article-list li a:hover h2 {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}
.article-list p {
  margin: 0;
  color: var(--muted);
}
.article-cta {
  margin: 3rem 0;
  padding: 1.6rem 1.75rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  font-family: var(--sans);
}
.article-cta h2 {
  margin: 0 0 0.4rem !important;
  font-size: 1.35rem !important;
}
.article-cta p {
  font-size: 1rem;
  color: var(--muted);
}

/* Automation */
.examples {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--ink);
}
.examples li {
  display: grid;
  gap: 0.3rem 2rem;
  padding: 1.3rem 0;
  border-bottom: 1px solid var(--line);
}
@media (min-width: 860px) {
  .examples li {
    grid-template-columns: 18rem minmax(0, 1fr);
  }
}
.examples strong {
  font-weight: 600;
  font-size: 1.07rem;
}
.examples span {
  color: var(--muted);
}
.examples li.is-no strong {
  text-decoration: line-through;
  text-decoration-color: var(--warn);
  color: var(--muted);
}
.examples li.is-no span {
  color: var(--warn);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 3.5rem 0 2rem;
  font-size: 0.93rem;
  color: var(--muted);
  background: var(--paper);
}
.footer-grid {
  display: grid;
  gap: 2rem;
}
@media (min-width: 860px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
  }
}
.footer-brand p {
  margin: 1rem 0 0;
}
.site-footer nav {
  display: grid;
  gap: 0.45rem;
  align-content: start;
}
.footer-h {
  font-family: var(--mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--subtle);
  margin: 0 0 0.35rem;
}
.site-footer a {
  color: var(--ink-2);
  text-decoration: none;
}
.site-footer a:hover {
  color: var(--ink);
  text-decoration: underline;
}
.footer-note {
  margin-top: 2.5rem;
  font-size: 0.85rem;
}
.footer-note p {
  margin: 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

/* Copy feedback */
[data-copied]::after {
  content: attr(data-copied);
}
.toast {
  position: fixed;
  left: 50%;
  bottom: 1.5rem;
  transform: translateX(-50%);
  background: var(--ink);
  color: var(--on-dark);
  border-radius: var(--radius-sm);
  padding: 0.7rem 1.1rem;
  font-size: 0.93rem;
  z-index: 200;
}

@media print {
  .site-header,
  .site-footer,
  .reader-toc,
  .reader-next,
  .sc,
  .skip-link {
    display: none !important;
  }
  body {
    background: #fff;
  }
}
