/* Rodall institutional site (spec operations/institutional-site). Tokens follow
   packages/rodall_core/lib/src/theme/app_theme.dart. No script, no third-party
   request: fonts are local subsets (SIL OFL, files next to them). */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/inter-400-v1.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/inter-600-v1.woff2") format("woff2");
}
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/space-grotesk-600-v1.woff2") format("woff2");
}

:root {
  color-scheme: light dark;
  --teal: #0e6b5c;
  --teal-hover: #0a5246;
  --teal-tint: #e3f1ee;
  --amber: #f2a541;
  --amber-ink: #7a4b06;
  --graphite: #13161c;
  --ink: #14181d;
  --ink-soft: #3a414b;
  --muted: #5b6470;
  --bg: #f6f7f6;
  --surface: #ffffff;
  --border: #e3e6e4;
  --link: #0e6b5c;
  --focus: #f2a541;
  --soft: #8a929c;
  --tint: #eceeed;
  --radius-control: 8px;
  --radius-card: 12px;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --measure: 72ch;
}

@media (prefers-color-scheme: dark) {
  :root {
    --teal: #12937e;
    --teal-hover: #17a890;
    --teal-tint: #12302b;
    --amber-ink: #f2c27a;
    --ink: #e9edeb;
    --ink-soft: #c4cbd2;
    --muted: #9aa3ad;
    --bg: #0f1216;
    --surface: #171b21;
    --border: #2a3038;
    --link: #4fd1b8;
    --soft: #6f7883;
    --tint: #222831;
  }
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 88px;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

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

a:hover {
  text-decoration-thickness: 2px;
}

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

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-wrap: balance;
}

h1 {
  font-size: clamp(2rem, 1.4rem + 2.6vw, 3.25rem);
  margin: 0 0 1rem;
  letter-spacing: -0.025em;
}

h2 {
  font-size: clamp(1.375rem, 1.2rem + 0.8vw, 1.75rem);
  margin: 2.75rem 0 0.75rem;
}

h3 {
  font-size: 1.125rem;
  margin: 1.75rem 0 0.5rem;
}

p,
ul,
ol,
table {
  margin: 0 0 1rem;
}

ul,
ol {
  padding-left: 1.4rem;
}

li + li {
  margin-top: 0.35rem;
}

strong {
  font-weight: 600;
}

.wrap {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
}

@media (min-width: 720px) {
  .wrap {
    padding: 0 32px;
  }
}

.skip {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 10;
  padding: 0.6rem 1rem;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--border);
  border-radius: var(--radius-control);
}

.skip:focus {
  top: 12px;
}

/* Header: a floating bar over the page */

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  padding: 12px 12px 0;
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 1080px;
  min-height: 56px;
  padding: 0 8px 0 18px;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border: 1px solid var(--border);
  border-radius: 999px;
  box-shadow: 0 10px 30px -20px rgba(19, 22, 28, 0.45);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.3rem;
  letter-spacing: -0.035em;
  line-height: 1;
}

.brand img {
  width: 26px;
  height: 26px;
}

.site-nav ul {
  display: flex;
  gap: 0.125rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav li + li {
  margin-top: 0;
}

.site-nav a {
  display: inline-block;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--ink);
  background: var(--tint);
}

.site-nav a[aria-current="page"] {
  color: var(--ink);
  background: var(--tint);
}

@media (max-width: 479px) {
  .site-nav .nav-home {
    display: none;
  }
  .site-nav a {
    padding: 0.5rem 0.6rem;
  }
}

/* Home */

.soft {
  color: var(--soft);
}

.kicker,
.eyebrow {
  margin: 0 0 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.kicker span {
  color: var(--teal);
  margin-right: 0.35rem;
}

.lead {
  max-width: 40rem;
  font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
  color: var(--ink-soft);
}

/* Dark frames shared by the hero and the flow */

.hero,
.flow {
  padding: 12px 12px 0;
}

.hero-frame,
.flow-frame {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 24px;
  color: #c4cbd2;
  background:
    radial-gradient(900px 520px at 88% 18%, rgba(18, 147, 126, 0.3), transparent 62%),
    linear-gradient(160deg, #1a2028 0%, #0e1115 70%);
}

.hero-frame::before,
.flow-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 70%);
  mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 70%);
  pointer-events: none;
}

.hero-frame .wrap,
.flow-frame .wrap {
  position: relative;
}

.hero-frame h1,
.flow-frame h2,
.flow-frame h3 {
  color: #ffffff;
}

.hero-frame .soft,
.flow-frame .soft {
  color: #7c8794;
}

.hero-frame .eyebrow,
.flow-frame .kicker {
  color: #95a1ad;
}

.flow-frame .kicker span {
  color: #4fd1b8;
}

/* Hero */

.hero .wrap {
  display: grid;
  gap: 3rem;
  align-items: center;
  padding-top: clamp(3.5rem, 9vw, 7.5rem);
  padding-bottom: clamp(3.5rem, 9vw, 7.5rem);
}

@media (min-width: 960px) {
  .hero .wrap {
    grid-template-columns: 1.05fr 1fr;
    gap: 4rem;
  }
}

.hero h1 {
  font-size: clamp(2.25rem, 1.4rem + 3.4vw, 4rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
  margin-bottom: 1.5rem;
}

.hero .lead {
  color: #c4cbd2;
}

.hero-note {
  margin: 2rem 0 0;
  padding-left: 0.9rem;
  border-left: 2px solid #12937e;
  color: #95a1ad;
  font-size: 0.9375rem;
}

/* The product picture, drawn in HTML */

.hero-visual {
  position: relative;
  max-width: 520px;
  width: 100%;
  justify-self: center;
  color: #14181d;
  font-size: 0.8125rem;
  line-height: 1.4;
}

.window {
  overflow: hidden;
  border-radius: 14px;
  background: #ffffff;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 40px 80px -30px rgba(0, 0, 0, 0.7);
}

.window-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 14px;
  background: #eef1f0;
  border-bottom: 1px solid #e3e6e4;
}

.window-bar i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d3d8dc;
}

.window-bar span {
  margin-left: 10px;
  color: #5b6470;
  font-size: 0.75rem;
  font-weight: 600;
}

.window-body {
  display: grid;
  grid-template-columns: 1fr 136px;
  gap: 16px;
  padding: 18px;
}

.sale p {
  margin: 0;
}

.sale-title {
  font-weight: 600;
  margin-bottom: 0.5rem !important;
}

.sale ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sale li {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  margin: 0;
  padding: 0.5rem 0;
  border-bottom: 1px dashed #e3e6e4;
}

.sale li span:last-child {
  color: #3a414b;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.sale-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 0.9rem !important;
  font-weight: 600;
}

.sale-total b {
  font-family: var(--font-display);
  font-size: 1.375rem;
  letter-spacing: -0.02em;
}

.pay {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 12px;
  border-radius: 10px;
  background: #f6f7f6;
  text-align: center;
}

.pay p {
  margin: 0;
  color: #5b6470;
  font-size: 0.75rem;
  font-weight: 600;
}

.pay img {
  width: 100%;
  max-width: 108px;
  border-radius: 4px;
}

.pay .pay-method {
  color: #7a4b06;
}

.toast {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.6rem 0.9rem 0.6rem 0.6rem;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.6);
  font-size: 0.75rem;
  white-space: nowrap;
}

.toast p {
  margin: 0;
  display: grid;
}

.toast span {
  color: #5b6470;
}

.toast i {
  position: relative;
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #0e6b5c;
}

.toast i::after {
  content: "";
  position: absolute;
  left: 9px;
  top: 6px;
  width: 6px;
  height: 11px;
  border: solid #ffffff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.toast-a {
  top: -22px;
  right: -14px;
}

.toast-b {
  bottom: -56px;
  left: -18px;
}

.toast-b i {
  background: #f2a541;
}

.toast-b i::after {
  border-color: #13161c;
}

@media (max-width: 599px) {
  .window-body {
    grid-template-columns: 1fr;
  }
  .pay {
    flex-direction: row;
    justify-content: space-between;
  }
  .pay img {
    max-width: 64px;
  }
  .toast-a {
    right: 8px;
  }
  .toast-b {
    left: 8px;
    bottom: -30px;
  }
}

/* Sections */

.section {
  padding: clamp(4rem, 9vw, 7rem) 0;
}

.section h2 {
  font-size: clamp(1.875rem, 1.2rem + 2.4vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin: 0 0 1.25rem;
}

.section-head {
  max-width: 46rem;
  margin-bottom: 3rem;
}

.section-head p {
  color: var(--ink-soft);
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head.center p:last-child {
  max-width: 36rem;
  margin: 0 auto;
}

/* 01: the four fronts */

.panel {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--border);
}

.fronts {
  display: grid;
  gap: 1px;
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (min-width: 620px) {
  .fronts {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .fronts {
    grid-template-columns: repeat(4, 1fr);
  }
}

.fronts li {
  margin: 0;
  padding: 16px 16px 22px;
  background: var(--surface);
}

.fronts h3 {
  margin: 1.1rem 0 0.4rem;
  font-size: 1.125rem;
  letter-spacing: -0.015em;
}

.fronts p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.55;
}

.mini {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  background-color: var(--bg);
  background-image: radial-gradient(var(--border) 1px, transparent 1px);
  background-size: 14px 14px;
  font-size: 0.75rem;
  line-height: 1.3;
}

.mini-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 72%;
  padding: 14px;
  border-radius: 10px;
  background: var(--surface);
  box-shadow: 0 12px 28px -16px rgba(19, 22, 28, 0.35);
  border: 1px solid var(--border);
}

.ln {
  display: block;
  height: 6px;
  border-radius: 3px;
  background: var(--border);
}

.w30 { width: 30%; }
.w40 { width: 40%; }
.w60 { width: 60%; }
.w70 { width: 70%; }
.w80 { width: 80%; }
.w90 { width: 90%; }

.mini-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 4px;
  padding-top: 8px;
  border-top: 1px solid var(--border);
}

.mini-total b,
.doc-head b {
  font-family: var(--font-display);
  font-size: 0.8125rem;
}

.chip {
  display: inline-block;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  font-size: 0.6875rem;
  font-weight: 600;
}

.chip-teal {
  background: var(--tint);
  color: var(--teal);
}

.chip-amber {
  position: absolute;
  top: 12px;
  right: 12px;
  background: color-mix(in srgb, var(--amber) 24%, var(--surface));
  color: var(--amber-ink);
}

.doc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2px;
}

.mini-label {
  color: var(--muted);
  font-weight: 600;
}

.bars {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 64px;
}

.bars i {
  flex: 1;
  border-radius: 3px 3px 0 0;
  background: var(--teal);
  opacity: 0.85;
}

.bars i:last-child {
  background: var(--amber);
  opacity: 1;
}

.file {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  border-radius: 6px;
  background: var(--bg);
  font-weight: 600;
  color: var(--ink-soft);
}

.file i {
  position: relative;
  flex: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--teal);
}

.file i::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 3px;
  width: 3px;
  height: 6px;
  border: solid #ffffff;
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}

.panel-foot {
  margin: 0;
  padding: 16px 20px;
  border-top: 1px solid var(--border);
  background: var(--surface);
  color: var(--muted);
  font-size: 0.9375rem;
  text-align: center;
}

/* 02: how it works */

.flow {
  padding-top: 0;
  padding-bottom: 0;
}

.flow-frame {
  padding: clamp(3.5rem, 8vw, 6rem) 0;
}

.flow-frame .section-head {
  margin-bottom: 0;
}

.steps {
  display: grid;
  gap: 2rem 0;
  list-style: none;
  margin: 3.5rem 0 0;
  padding: 0;
}

@media (min-width: 620px) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .steps {
    grid-template-columns: repeat(4, 1fr);
  }
}

.steps li {
  margin: 0;
  padding: 1.25rem 1.5rem 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.steps li:first-child {
  border-top: 2px solid #12937e;
}

.step-n {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 600;
  color: #4fd1b8;
}

.step-n span {
  font-size: 0.8125rem;
  color: #7c8794;
}

.steps h3 {
  margin: 0.75rem 0 0.5rem;
  font-size: 1.375rem;
  letter-spacing: -0.02em;
}

.steps p:last-child {
  margin: 0;
  color: #aeb7c0;
  font-size: 0.9875rem;
}

/* 03: security */

.split {
  display: grid;
  gap: 1rem;
}

@media (min-width: 960px) {
  .split {
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
  }
  .split .section-head {
    margin-bottom: 0;
  }
}

.specs {
  margin: 0;
}

.specs div {
  display: grid;
  gap: 0.25rem 1.5rem;
  padding: 1.25rem 0;
  border-top: 1px solid var(--border);
}

.specs div:last-child {
  border-bottom: 1px solid var(--border);
}

@media (min-width: 620px) {
  .specs div {
    grid-template-columns: 11rem 1fr;
  }
}

.specs dt {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink);
}

.specs dd {
  margin: 0;
  color: var(--muted);
}

/* Closing */

.closing {
  padding-top: 0;
  text-align: center;
}

.closing .wrap {
  padding-top: clamp(3.5rem, 8vw, 6rem);
  border-top: 1px solid var(--border);
}

.closing h2 {
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
}

.closing p {
  max-width: 38rem;
  margin-left: auto;
  margin-right: auto;
  color: var(--ink-soft);
}

.closing .actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2rem;
}

/* Legal pages */

.page-head {
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.page-head .wrap {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.crumbs li + li {
  margin-top: 0;
}

.crumbs li + li::before {
  content: "/";
  margin-right: 0.4rem;
  color: var(--border);
}

.crumbs a {
  color: var(--muted);
}

.meta {
  margin: 0;
  color: var(--muted);
  font-size: 0.9375rem;
}

.legal {
  display: grid;
  gap: 2rem;
  padding-top: 2rem;
  padding-bottom: 4rem;
}

@media (min-width: 1000px) {
  .legal {
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 3.5rem;
  }
  .toc {
    position: sticky;
    top: 88px;
    align-self: start;
    max-height: calc(100vh - 110px);
    overflow-y: auto;
  }
}

.toc {
  font-size: 0.9375rem;
}

.toc h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.toc ol {
  margin: 0;
  padding-left: 1.9rem;
  color: var(--muted);
}

.toc li + li {
  margin-top: 0.3rem;
}

.toc a {
  color: var(--ink-soft);
  text-decoration: none;
}

.toc a:hover {
  color: var(--link);
  text-decoration: underline;
}

@media (max-width: 999px) {
  .toc {
    padding: 1rem 1.25rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    background: var(--surface);
  }
}

.prose {
  max-width: var(--measure);
}

.prose h2 {
  padding-top: 0.25rem;
}

.prose h2:first-child {
  margin-top: 0;
}

.summary {
  margin: 0 0 2rem;
  padding: 1.25rem 1.5rem;
  border-left: 4px solid var(--teal);
  border-radius: 0 var(--radius-card) var(--radius-card) 0;
  background: var(--teal-tint);
}

.summary h2 {
  margin: 0 0 0.5rem;
  font-size: 1.125rem;
}

.summary ul {
  margin: 0;
}

.notice {
  margin: 0 0 1.5rem;
  padding: 0.9rem 1.1rem;
  border: 1px solid color-mix(in srgb, var(--amber) 55%, var(--border));
  border-radius: var(--radius-control);
  background: color-mix(in srgb, var(--amber) 12%, var(--surface));
  font-size: 0.975rem;
}

.table-wrap {
  overflow-x: auto;
  margin: 0 0 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: var(--surface);
}

table {
  width: 100%;
  margin: 0;
  border-collapse: collapse;
  font-size: 0.95rem;
  line-height: 1.5;
}

caption {
  padding: 0.75rem 1rem 0;
  text-align: left;
  color: var(--muted);
  font-size: 0.875rem;
}

th,
td {
  padding: 0.7rem 1rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--border);
}

thead th {
  font-weight: 600;
  color: var(--ink);
  background: color-mix(in srgb, var(--teal-tint) 60%, var(--surface));
}

tbody tr:last-child th,
tbody tr:last-child td {
  border-bottom: 0;
}

tbody th {
  font-weight: 600;
}

dl.contact {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 0.35rem 1rem;
  margin: 0 0 1rem;
}

dl.contact dt {
  font-weight: 600;
}

dl.contact dd {
  margin: 0;
}

.back {
  margin-top: 3rem;
  font-size: 0.9375rem;
}

/* 404 */

.error {
  padding: clamp(4rem, 12vw, 8rem) 0;
  text-align: center;
}

.error .lead {
  margin: 0 auto 1.5rem;
}

.button {
  display: inline-block;
  padding: 0.75rem 1.35rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--teal);
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
}

.button:hover {
  background: var(--teal-hover);
  color: #ffffff;
}

.button-ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--ink);
}

.button-ghost:hover {
  background: var(--tint);
  color: var(--ink);
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
  color: var(--muted);
  font-size: 0.9375rem;
}

.site-footer .wrap {
  display: grid;
  gap: 2rem;
  padding-top: 3rem;
  padding-bottom: 2rem;
}

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

.footer-brand p {
  max-width: 22rem;
  margin: 0.9rem 0 0;
}

.footer-title {
  margin: 0 0 0.75rem;
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.site-footer ul {
  display: grid;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li + li {
  margin-top: 0;
}

.site-footer a {
  color: var(--ink-soft);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--ink);
  text-decoration: underline;
}

.site-footer .brand {
  color: var(--ink);
  text-decoration: none;
}

.footer-legal {
  grid-column: 1 / -1;
  margin: 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.875rem;
}

@media print {
  .site-header,
  .site-footer,
  .toc,
  .skip {
    display: none;
  }
  body {
    background: #fff;
    color: #000;
    font-size: 11pt;
  }
  .page-head,
  .summary,
  .table-wrap {
    background: none;
  }
  .legal {
    display: block;
    padding: 0;
  }
  a {
    color: #000;
  }
  .prose a[href^="http"]::after,
  .prose a[href^="mailto"]::after {
    content: " (" attr(href) ")";
    font-size: 0.85em;
  }
}
