/* WritingWorlds for Teachers — marketing site
   Plain CSS, no build step. One stylesheet for every page.
   Palette: white paper, pale "ledger" green-grey, ink navy, one warm pencil-yellow accent. */

:root {
  --paper: #ffffff;
  --ledger: #f3f5f0;
  --ledger-deep: #e5e9e0;
  --rule: #d6dbd2;
  --ink: #1a2735;
  --ink-soft: #52606e;
  --ink-faint: #8a95a1;
  --pencil: #f2b632;
  --pencil-deep: #d99a0e;
  --pencil-pale: #fdf1cf;

  --font-display: 'Young Serif', 'Iowan Old Style', 'Palatino Linotype', Georgia, serif;
  --font-body: 'Lexend', 'Segoe UI', system-ui, -apple-system, sans-serif;

  --gutter: 16px;
  --max: 1120px;
  --measure: 62ch;
  --radius: 8px;
  --radius-sm: 6px;
}

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  color-scheme: light;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  font-weight: 400;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main { flex: 1 0 auto; }

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 400;
  color: var(--ink);
  overflow-wrap: break-word;
}

h1 {
  font-family: var(--font-display);
  font-size: clamp(2.125rem, 1.25rem + 3.6vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin-bottom: 1.25rem;
}

h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.375rem);
  line-height: 1.15;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.25rem;
  line-height: 1.3;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  text-decoration-color: var(--ink-faint);
}

a:hover {
  text-decoration-color: var(--pencil-deep);
  text-decoration-thickness: 2px;
}

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
  border-radius: 2px;
}

ul, ol { margin: 0 0 1rem; padding-left: 1.25rem; }
li { margin-bottom: 0.35rem; }

strong { font-weight: 600; }
small { font-size: 0.9375rem; }

.skip-link {
  position: absolute;
  left: var(--gutter);
  top: -100px;
  background: var(--pencil);
  color: var(--ink);
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  text-decoration: none;
  z-index: 10;
}
.skip-link:focus { top: 12px; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.measure { max-width: var(--measure); }
.soft { color: var(--ink-soft); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0 1.25rem;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  font: inherit;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 120ms ease, border-color 120ms ease;
}

.btn-primary {
  background: var(--pencil);
  border-color: var(--pencil);
  color: var(--ink);
}
.btn-primary:hover { background: #ebab22; border-color: #ebab22; }

.btn-secondary {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}
.btn-secondary:hover { background: var(--ledger); }

.btn-small { min-height: 40px; padding: 0 0.875rem; font-size: 0.9375rem; }

/* ---------- Header ---------- */

.site-header {
  border-bottom: 1px solid var(--rule);
  background: var(--paper);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 64px;
}

.brand {
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1;
  text-decoration: none;
  color: var(--ink);
  display: inline-flex;
  align-items: baseline;
  gap: 0.4rem;
  margin-right: auto;
  white-space: nowrap;
}
.brand:hover { text-decoration: none; }

.brand-sub {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--ink-soft);
  display: none;
}

.site-nav {
  display: none;
  gap: 1.5rem;
  margin-right: 1rem;
}
.site-nav a { text-decoration: none; font-weight: 500; }
.site-nav a:hover { text-decoration: underline; text-decoration-color: var(--pencil-deep); text-decoration-thickness: 2px; }

.site-header .signin { text-decoration: none; font-weight: 500; padding: 0.5rem 0.25rem; white-space: nowrap; }
.site-header .signin:hover { text-decoration: underline; }

@media (max-width: 399px) {
  .site-header .wrap { gap: 0.5rem; }
  .brand { font-size: 1.125rem; }
  .site-header .btn-small { padding: 0 0.7rem; }
}

@media (min-width: 600px) {
  .brand { font-size: 1.375rem; }
  .brand-sub { display: inline; }
}

@media (min-width: 760px) {
  .wrap { padding-inline: 32px; }
  .site-nav { display: flex; }
}

/* ---------- Sections ---------- */

.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.section-ledger { background: var(--ledger); }
.section-rule { border-top: 1px solid var(--rule); }

.section-head { margin-bottom: clamp(1.5rem, 4vw, 3rem); max-width: var(--measure); }
.section-head p { font-size: 1.125rem; color: var(--ink-soft); }

/* ---------- Hero ---------- */

.hero { padding-block: clamp(2.5rem, 7vw, 6rem); }

.hero-grid {
  display: grid;
  gap: 2.5rem;
}

.hero-copy p { font-size: 1.125rem; max-width: 52ch; }
.hero-copy .lede { color: var(--ink-soft); margin-bottom: 1.75rem; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  margin-bottom: 0.75rem;
}

.hero-note { font-size: 0.9375rem; color: var(--ink-soft); }

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: minmax(0, 11fr) minmax(0, 9fr);
    align-items: center;
    gap: 4rem;
  }
}

/* ---------- Sheets (CSS-drawn UI vignettes) ---------- */

.sheet {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  overflow: hidden;
  font-size: 0.9375rem;
  line-height: 1.4;
}

.sheet-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 1rem;
  background: var(--ledger);
  border-bottom: 1px solid var(--rule);
}
.sheet-head strong { font-weight: 600; }
.sheet-head span { color: var(--ink-soft); font-size: 0.875rem; }

.sheet-body { padding: 0.75rem 1rem; }

.sheet-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
  padding: 0.75rem 1rem;
  border-top: 1px solid var(--rule);
  font-size: 0.875rem;
  color: var(--ink-soft);
}

.chip {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border: 1px solid var(--ink);
  border-radius: 999px;
  color: var(--ink);
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.4;
}
.chip-filled { background: var(--pencil); border-color: var(--pencil); }

/* Register grid: names down the side, days across */
.register {
  display: grid;
  grid-template-columns: minmax(0, 1fr) repeat(5, 2rem);
  align-items: center;
  column-gap: 0.25rem;
}
.register > * {
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--rule);
  min-height: 2.1rem;
  display: flex;
  align-items: center;
}
.register .day {
  justify-content: center;
  font-size: 0.8125rem;
  color: var(--ink-soft);
  font-weight: 500;
}
.register .name { padding-right: 0.5rem; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; display: block; line-height: 2.1rem; }
.register .cell { justify-content: center; }
.register .row-last { border-bottom: 0; }

.dot {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--ink);
  flex: none;
}
.dot-late { background: var(--pencil); }
.dot-absent { background: transparent; border: 2px solid var(--ink-faint); }

.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  align-items: center;
}
.legend span { display: inline-flex; align-items: center; gap: 0.4rem; }
.legend .dot { width: 10px; height: 10px; }

/* Stats strip under the hero register */
.sheet-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem 1rem;
  padding: 0.85rem 1rem;
  border-top: 1px solid var(--rule);
  background: var(--paper);
}
.stat-label { display: block; font-size: 0.8125rem; color: var(--ink-soft); }
.stat-value { font-family: var(--font-display); font-size: 1.5rem; line-height: 1.1; }
.sheet-stats .stat-bar { grid-column: 1 / -1; }

/* Coverage bars */
.bar {
  height: 10px;
  background: var(--ledger-deep);
  border-radius: 999px;
  overflow: hidden;
}
.bar > span {
  display: block;
  height: 100%;
  background: var(--pencil);
  border-radius: 999px;
}
.bar-row { margin-bottom: 0.7rem; }
.bar-row:last-child { margin-bottom: 0; }
.bar-label {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.3rem;
  font-size: 0.875rem;
}
.bar-label span:last-child { color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.stat-bar .bar-label { font-size: 0.8125rem; color: var(--ink-soft); }

/* Roster list */
.roster { list-style: none; margin: 0; padding: 0; }
.roster li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--rule);
  margin: 0;
}
.roster li:last-child { border-bottom: 0; }
.roster .initials {
  flex: none;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--ledger-deep);
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.roster .meta { margin-left: auto; color: var(--ink-soft); font-size: 0.8125rem; white-space: nowrap; }

/* Marking card */
.mark-card .student { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; margin-bottom: 0.75rem; }
.mark-card .student span { color: var(--ink-soft); font-size: 0.875rem; }
.mark-score {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.mark-score .score {
  font-family: var(--font-display);
  font-size: 2.25rem;
  line-height: 1;
  padding: 0.35rem 0.6rem;
  background: var(--pencil-pale);
  border-radius: var(--radius-sm);
}
.mark-score .out-of { color: var(--ink-soft); }
.mark-comment {
  border-left: 3px solid var(--pencil);
  padding: 0.25rem 0 0.25rem 0.75rem;
  margin: 0;
  font-style: italic;
  color: var(--ink);
}
.mark-card .sheet-foot { justify-content: space-between; }

/* Calendar week strip */
.week {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.35rem;
}
.week .day-col {
  border: 1px solid var(--rule);
  border-radius: var(--radius-sm);
  min-height: 7.5rem;
  padding: 0.4rem;
  font-size: 0.75rem;
  line-height: 1.3;
}
.week .day-name { display: block; font-weight: 600; margin-bottom: 0.4rem; color: var(--ink-soft); }
.week .event {
  display: block;
  padding: 0.2rem 0.3rem;
  margin-bottom: 0.3rem;
  border-radius: 3px;
  background: var(--ledger);
  overflow-wrap: anywhere;
}
.week .event-due { background: var(--pencil-pale); border-left: 2px solid var(--pencil-deep); }

/* ---------- Steps (a true sequence) ---------- */

.steps {
  display: grid;
  gap: 2rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.step { max-width: 40ch; margin: 0; }
.step-num {
  font-family: var(--font-display);
  font-size: 2.75rem;
  line-height: 1;
  margin-bottom: 0.75rem;
  position: relative;
  padding-bottom: 0.5rem;
}
.step-num::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 2.25rem; height: 4px;
  background: var(--pencil);
  border-radius: 2px;
}
.step p { color: var(--ink-soft); }

@media (min-width: 760px) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem; }
}

/* ---------- Feature blocks ---------- */

.feature {
  display: grid;
  gap: 2rem;
  padding-block: clamp(2.5rem, 6vw, 4.5rem);
  border-top: 1px solid var(--rule);
}
.feature:first-of-type { border-top: 0; padding-top: 0; }
.feature-copy { max-width: 48ch; }
.feature-copy h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 1.875rem);
  line-height: 1.2;
  margin-bottom: 0.75rem;
}
.feature-copy p { color: var(--ink-soft); }

.facts { list-style: none; padding: 0; margin: 1.25rem 0 0; }
.facts li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.4rem;
}
.facts li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.6em;
  width: 9px; height: 9px;
  background: var(--pencil);
  border-radius: 2px;
}

@media (min-width: 900px) {
  .feature {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 4rem;
  }
  .feature:nth-of-type(even) .feature-figure { order: -1; }
}

/* ---------- Promise block ---------- */

.promise-grid { display: grid; gap: 2rem; }
@media (min-width: 900px) {
  .promise-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4rem; align-items: start; }
}

/* ---------- Pricing ---------- */

.billing-toggle-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  margin-bottom: 2rem;
}

.toggle {
  display: inline-flex;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  padding: 3px;
  background: var(--paper);
}
.toggle button {
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-weight: 600;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  cursor: pointer;
  min-height: 40px;
  transition: background-color 120ms ease, color 120ms ease;
}
.toggle button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.toggle button:focus-visible { outline-offset: 1px; }

.toggle-note { font-size: 0.9375rem; color: var(--ink-soft); }

.plans {
  display: grid;
  gap: 1rem;
  align-items: stretch;
}

.plan {
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 1.5rem;
  background: var(--paper);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.plan-featured {
  border: 2px solid var(--ink);
}
.plan-flag {
  display: inline-block;
  align-self: flex-start;
  background: var(--pencil);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.plan-flag-space { display: none; }
@media (min-width: 760px) {
  .plan-flag-space { display: block; height: 1.9rem; margin-bottom: 0.5rem; }
}

.plan h2, .plan h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.5rem;
  margin-bottom: 0.15rem;
}
.plan-for { color: var(--ink-soft); font-size: 0.9375rem; margin-bottom: 1rem; }

.price {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  font-family: var(--font-display);
  font-size: 2.5rem;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.price .period { font-family: var(--font-body); font-size: 1rem; color: var(--ink-soft); }
.price-note { font-size: 0.9375rem; color: var(--ink-soft); min-height: 1.5rem; margin-bottom: 1.25rem; }

.plan-facts { list-style: none; padding: 0; margin: 0 0 1.5rem; flex: 1 0 auto; }
.plan-facts li {
  padding: 0.45rem 0;
  border-top: 1px solid var(--rule);
  margin: 0;
  font-size: 0.9375rem;
}
.plan-facts li:first-child { border-top: 0; }
.plan .btn { width: 100%; }

.plan-free {
  margin-top: 1.5rem;
  padding: 1.25rem 1.5rem;
  border: 1px dashed var(--rule);
  border-radius: var(--radius);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
}
.plan-free p { margin: 0; max-width: 60ch; }

@media (min-width: 760px) {
  .plans { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
}

/* Full comparison table (pricing page) */
.compare { margin-top: 1rem; }
.compare table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}
.compare th, .compare td {
  text-align: left;
  vertical-align: top;
  padding: 0.75rem 0.6rem;
  border-bottom: 1px solid var(--rule);
}
.compare thead th { font-weight: 600; border-bottom: 2px solid var(--ink); }
.compare thead th .plan-price { display: block; font-weight: 400; color: var(--ink-soft); font-size: 0.875rem; }
.compare tbody th { font-weight: 500; }
.compare .col-featured { background: var(--pencil-pale); }
.compare .featured-flag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  background: var(--pencil);
  padding: 0.1rem 0.45rem;
  border-radius: 3px;
  margin-left: 0.35rem;
  vertical-align: middle;
}
.compare .cta-row td { padding-top: 1.25rem; border-bottom: 0; }
.compare .cta-row .btn { width: 100%; }

@media (max-width: 719px) {
  .compare table, .compare tbody, .compare tr, .compare td, .compare tbody th { display: block; }
  .compare thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .compare tr { padding: 0.75rem 0 0.5rem; border-bottom: 1px solid var(--rule); }
  .compare tbody th { padding: 0 0 0.5rem; border-bottom: 0; font-weight: 600; font-size: 1.0625rem; }
  .compare td {
    display: grid;
    grid-template-columns: minmax(6rem, 1fr) 2fr;
    gap: 1rem;
    padding: 0.3rem 0;
    border-bottom: 0;
  }
  .compare td::before { content: attr(data-plan); color: var(--ink-soft); }
  .compare .col-featured { background: transparent; }
  .compare .cta-row { border-bottom: 0; }
  .compare .cta-row td { display: block; padding: 0.4rem 0; }
  .compare .cta-row td::before { content: none; }
}

/* ---------- FAQ ---------- */

.faq { max-width: 72ch; }
.faq details { border-top: 1px solid var(--rule); }
.faq details:last-of-type { border-bottom: 1px solid var(--rule); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 1rem 0;
  font-weight: 600;
  font-size: 1.0625rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1;
  color: var(--ink-soft);
  flex: none;
}
.faq details[open] summary::after { content: "–"; }
.faq summary:hover { text-decoration: underline; text-decoration-color: var(--pencil-deep); text-decoration-thickness: 2px; text-underline-offset: 0.18em; }
.faq .answer { padding: 0 0 1.25rem; color: var(--ink-soft); max-width: 62ch; }
.faq .answer p { margin-bottom: 0.75rem; }
.faq .answer p:last-child { margin-bottom: 0; }

/* ---------- Closing call ---------- */

.closing .hero-actions { margin-top: 1.5rem; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--ledger);
  border-top: 1px solid var(--rule);
  padding-block: 2.5rem 2rem;
  font-size: 0.9375rem;
}
.footer-grid { display: grid; gap: 2rem; }
.footer-grid h3 { font-size: 0.9375rem; font-weight: 600; margin-bottom: 0.6rem; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 0.4rem; }
.footer-grid a { text-decoration: none; }
.footer-grid a:hover { text-decoration: underline; }
.footer-brand .brand { margin-right: 0; margin-bottom: 0.5rem; }
.footer-brand .brand-sub { display: inline; }
.footer-brand p { color: var(--ink-soft); max-width: 36ch; }
.footer-legal {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--rule);
  color: var(--ink-soft);
  font-size: 0.875rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
}
.footer-legal p { margin: 0; }
.footer-legal:first-child { margin-top: 0; padding-top: 0; border-top: 0; }

@media (min-width: 760px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}

/* ---------- Document pages (terms, privacy, refunds, contact) ---------- */

.page-head { padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(1.5rem, 3vw, 2.5rem); border-bottom: 1px solid var(--rule); }
.page-head .updated { color: var(--ink-soft); font-size: 0.9375rem; }

.prose { max-width: 68ch; padding-block: clamp(2rem, 5vw, 3.5rem); }
.prose h2 { font-size: 1.5rem; margin-top: 2.5rem; margin-bottom: 0.75rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.5rem; }
.prose ul { margin-bottom: 1.25rem; }
.prose .summary-box {
  background: var(--ledger);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
}
.prose .summary-box p:first-child { font-weight: 600; margin-bottom: 0.5rem; }
.prose .summary-box ul { margin: 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.5rem; font-size: 0.9375rem; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 0.5rem 0.6rem 0.5rem 0; border-bottom: 1px solid var(--rule); }
.prose th { font-weight: 600; }

.contact-card {
  background: var(--ledger);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin: 1.5rem 0;
}
.contact-card dl { margin: 0; display: grid; gap: 0.75rem 1.5rem; }
.contact-card dt { font-weight: 600; }
.contact-card dd { margin: 0; }
.contact-email { font-size: 1.25rem; font-weight: 600; user-select: all; -webkit-user-select: all; overflow-wrap: anywhere; }
@media (min-width: 600px) {
  .contact-card dl { grid-template-columns: max-content 1fr; }
}

/* ---------- 404 ---------- */

.notfound { padding-block: clamp(4rem, 12vw, 8rem); }
.notfound h1 { max-width: 20ch; }

/* ---------- Motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ---------- Print ---------- */

@media print {
  .site-header, .site-footer, .hero-actions, .skip-link { display: none; }
  body { font-size: 11pt; }
  a { text-decoration: none; }
}
