/* Bible.Tech. Lamplight on white: the family's indigo, gold, Fraunces and
   Hanken Grotesk on a white page. Dark mode is the Lamplight dark theme. */

@font-face {
  font-family: "Fraunces";
  src: url("/assets/fonts/fraunces-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("/assets/fonts/fraunces-latin-wght-italic.woff2") format("woff2");
  font-weight: 100 900; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Hanken Grotesk";
  src: url("/assets/fonts/hanken-grotesk-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
}

:root {
  --display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 14px;
  --radius-sm: 9px;

  --bg: #ffffff;
  --surface: #ffffff;
  --tint: #f8f5ef;
  --text: #221c15;
  --muted: #655a4f;
  --accent: #3f3d9a;
  --on-accent: #ffffff;
  --soft: #efeefa;
  --soft-line: #dcdaf2;
  --gold: #8f6418;   /* gold text: dark enough to read on white */
  --mark: #d39a2f;   /* gold dots and marks */
  --line: #ebe5d9;
  --ok: #2f6b3f;
  --no: #a33a2a;
  --shadow: 0 14px 34px -22px rgb(60 45 25 / .35);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #16130f; --surface: #201b15; --tint: #1c1813; --text: #ece3d4; --muted: #a59a88;
    --accent: #a9a7f5; --on-accent: #16130f; --soft: #221f33; --soft-line: #36324f;
    --gold: #e0b45c; --mark: #e0b45c; --line: #2d261d; --ok: #8fd19e; --no: #f09a8a;
    --shadow: none; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #16130f; --surface: #201b15; --tint: #1c1813; --text: #ece3d4; --muted: #a59a88;
  --accent: #a9a7f5; --on-accent: #16130f; --soft: #221f33; --soft-line: #36324f;
  --gold: #e0b45c; --mark: #e0b45c; --line: #2d261d; --ok: #8fd19e; --no: #f09a8a;
  --shadow: none; color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 1rem/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--text); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; letter-spacing: -.015em; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
[hidden] { display: none !important; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--surface); padding: 8px 12px; border-radius: var(--radius-sm); z-index: 10; }
.skip:focus { left: 16px; }
.wrap { max-width: 72rem; margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .wrap { padding: 0 24px; } }
.eyebrow { font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); }
.muted { color: var(--muted); }
.tint { background: var(--tint); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Header */
.bar { border-bottom: 1px solid var(--line); background: var(--bg); }
.bar .wrap { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 16px; min-height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.logo:hover { color: var(--text); }
.logo img { flex: none; }
.word { font-family: var(--display); font-weight: 600; font-size: 1.3rem; letter-spacing: -.01em; white-space: nowrap; }
.word b { color: var(--mark); }
.word span { font-family: var(--sans); font-weight: 650; }
.menu { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; margin-left: auto; }
.menu > a:not(.btn) { color: var(--muted); text-decoration: none; font-size: .95rem; font-weight: 500; padding: 10px 12px; border-radius: var(--radius-sm); min-height: 44px; display: inline-flex; align-items: center; }
.menu > a:not(.btn):hover, .menu > a[aria-current="page"] { color: var(--text); background: var(--tint); }
.menu > a[aria-current="page"] { font-weight: 650; }
.menu .btn { margin-left: 8px; }
.theme-btn { width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--muted); cursor: pointer; display: grid; place-items: center; margin-left: 4px; }
.theme-btn:hover { color: var(--text); }
.menu-btn { display: none; margin-left: auto; align-items: center; gap: 8px; min-height: 44px; padding: 8px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); color: var(--text); font: 600 .95rem var(--sans); cursor: pointer; }
@media (max-width: 900px) {
  .js .menu-btn { display: inline-flex; }
  .js .menu { display: none; }
  .js.menu-open .menu { display: flex; flex-direction: column; align-items: stretch; width: 100%; padding: 8px 0 16px; }
  .js.menu-open .menu .btn { margin: 8px 0 0; justify-content: center; }
  .js.menu-open .menu .theme-btn { margin: 8px 0 0; }
}

/* Buttons and chips */
.btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 18px; border-radius: var(--radius-sm); font: 600 .95rem var(--sans); text-decoration: none; border: 1px solid transparent; cursor: pointer; }
.btn.primary { background: var(--accent); color: var(--on-accent); }
.btn.primary:hover { filter: brightness(1.1); color: var(--on-accent); }
.btn.quiet { background: var(--surface); color: var(--text); border-color: var(--line); }
.btn.quiet:hover { background: var(--soft); border-color: var(--soft-line); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.chip { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .75rem; font-weight: 700; background: var(--soft); border: 1px solid var(--soft-line); color: var(--accent); }
.chip.soon { background: var(--tint); border-color: var(--line); color: var(--muted); }
.more { font-weight: 600; text-decoration: none; }

/* Sections */
section { padding: 72px 0; }
@media (min-width: 640px) { section { padding: 80px 0; } }
.head { max-width: 42rem; margin-bottom: 36px; }
.head h2 { font-size: clamp(1.7rem, 3.4vw, 2.1rem); line-height: 1.15; margin-top: 8px; }
.head p { margin-top: 12px; color: var(--muted); font-size: 1.06rem; }
.head-row { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; margin-bottom: 32px; }
.grid2 { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .grid2 { grid-template-columns: 1fr 1fr; } }
.grid3 { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.grid4 { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 12px; box-shadow: var(--shadow); }
.card h3 { font-size: 1.3rem; }

/* Home */
.hero { display: grid; gap: 48px; align-items: center; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); padding: 64px 0 56px; }
@media (min-width: 640px) { .hero { padding: 96px 0 80px; } }
.hero h1 { font-size: clamp(2.4rem, 5.5vw, 3.9rem); line-height: 1.05; margin: 14px 0 20px; }
.hero h1 em { color: var(--accent); }
.lede { font-size: 1.19rem; color: var(--muted); max-width: 36rem; }
.verse { background: var(--tint); border-radius: 18px; padding: 32px; margin: 0; }
@media (min-width: 640px) { .verse { padding: 40px; } }
.verse blockquote { margin: 0; font-family: var(--display); font-style: italic; font-size: clamp(1.4rem, 2.6vw, 1.75rem); line-height: 1.35; }
.verse figcaption { margin-top: 18px; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.journey { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.journey a { padding: 22px 24px; text-decoration: none; color: var(--text); border-bottom: 1px solid var(--line); }
@media (min-width: 900px) { .journey a { border-bottom: 0; border-right: 1px solid var(--line); } .journey a:last-child { border-right: 0; } }
.journey a:hover { background: var(--tint); }
.journey a { display: flex; flex-direction: column; }
.journey .verb { font-family: var(--display); font-size: 1.4rem; font-weight: 600; }
.proj-card .top { display: flex; align-items: center; gap: 14px; }
.proj-card img { width: 52px; height: 52px; border-radius: 12px; }
.proj-card h3 a { color: var(--text); text-decoration: none; }
.proj-card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.proj-card { position: relative; transition: border-color 150ms; }
.proj-card:hover { border-color: var(--soft-line); }
.proj-card .card-foot { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-top: auto; font-size: .9rem; }
.domain { color: var(--accent); font-weight: 600; }
.principles { display: grid; gap: 28px 32px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); list-style: none; margin: 0; padding: 0; }
.principles h3 { font-size: 1.2rem; display: flex; gap: 10px; align-items: baseline; }
.principles h3::before { content: ""; width: 7px; height: 7px; border-radius: 9px; background: var(--mark); flex: none; transform: translateY(-3px); }
.principles p { color: var(--muted); margin-top: 6px; }
.post { display: flex; flex-direction: column; gap: 8px; text-decoration: none; color: var(--text); border-top: 1px solid var(--line); padding-top: 18px; }
.post:hover h3 { color: var(--accent); }
.post h3 { font-size: 1.3rem; line-height: 1.25; }
.post-date { font-size: .85rem; color: var(--muted); }
.band { background: var(--accent); color: var(--on-accent); border-radius: 20px; padding: 36px; display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: center; }
@media (min-width: 640px) { .band { padding: 48px; } }
.band h2 { font-size: clamp(1.6rem, 3vw, 2rem); line-height: 1.15; }
.band p { margin-top: 8px; opacity: .88; }
.band .btn { background: var(--bg); color: var(--text); }
.band .btn:hover { color: var(--text); filter: none; opacity: .92; }

/* Inner pages */
.crumbs { font-size: .9rem; color: var(--muted); padding-top: 40px; }
.crumbs a { color: var(--muted); }
.pagehead { padding: 16px 0 48px; max-width: 48rem; }
.pagehead h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); line-height: 1.07; margin-top: 12px; }
.pagehead h1 em { color: var(--accent); }
.pagehead p { font-size: 1.19rem; color: var(--muted); margin-top: 16px; }
.jump { display: flex; flex-wrap: wrap; gap: 8px; }
.jump a { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; color: var(--text); font-weight: 600; font-size: .9rem; min-height: 40px; display: inline-flex; align-items: center; gap: 10px; }
.jump a:hover { background: var(--tint); }
.jump img { width: 26px; height: 26px; border-radius: 7px; }
.proj { display: grid; gap: 32px 40px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); padding: 48px 0; border-top: 1px solid var(--line); }
.proj img { width: 72px; height: 72px; border-radius: 16px; }
.proj h2 { font-size: clamp(1.9rem, 3.5vw, 2.3rem); line-height: 1.1; margin: 10px 0 12px; }
.ticks { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.ticks li { display: flex; gap: 12px; }
.ticks li::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 9px; background: var(--mark); margin-top: 10px; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: 12px; margin: 22px 0 0; }
.facts div { background: var(--tint); border-radius: 12px; padding: 14px 16px; }
.facts dt { font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 0; font-weight: 600; }
.tile { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.tile h3 { font-size: 1.2rem; margin-bottom: 6px; }

/* Project page */
.phero { display: grid; gap: 48px; align-items: center; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); padding: 24px 0 72px; }
.phero > div > img { width: 88px; height: 88px; border-radius: 20px; }
.phero h1 { font-size: clamp(2.5rem, 5.5vw, 4rem); line-height: 1.04; margin: 14px 0 18px; }
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.stat { background: var(--tint); border-radius: var(--radius); padding: 20px; }
.stat b { display: block; font-family: var(--display); font-size: 1.6rem; font-weight: 600; line-height: 1.2; }
.stat span { font-size: .9rem; color: var(--muted); }
.demo { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); overflow: hidden; }
.levels { display: none; flex-wrap: wrap; gap: 6px; padding: 14px; border-bottom: 1px solid var(--line); background: var(--tint); }
.levels-live .levels { display: flex; }
.levels button { border: 1px solid transparent; background: transparent; color: var(--muted); font: 600 .95rem var(--sans); padding: 8px 16px; border-radius: var(--radius-sm); min-height: 44px; cursor: pointer; }
.levels button[aria-selected="true"] { background: var(--surface); color: var(--text); border-color: var(--line); }
.level { padding: 28px 28px 24px; border-bottom: 1px solid var(--line); }
.levels-live .level { border-bottom: 0; }
@media (min-width: 640px) { .level { padding: 36px 36px 28px; } }
.level h3 { font-family: var(--sans); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.levels-live .level h3 { display: none; }
.level blockquote { margin: 0; font-family: var(--display); font-size: clamp(1.4rem, 2.8vw, 1.9rem); line-height: 1.4; }
.level > p { color: var(--muted); margin-top: 12px; }
.demo-ref { padding: 0 28px 28px; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
@media (min-width: 640px) { .demo-ref { padding: 0 36px 32px; } }
.anatomy { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); counter-reset: part; list-style: none; margin: 0; padding: 0; }
.anatomy li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; counter-increment: part; }
.anatomy li::before { content: counter(part); width: 30px; height: 30px; border-radius: 99px; background: var(--soft); color: var(--accent); display: grid; place-items: center; font-weight: 700; font-size: .9rem; margin-bottom: 14px; }
.anatomy h3 { font-size: 1.25rem; margin-bottom: 6px; }
.decision { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 20px; padding: 22px 0; border-top: 1px solid var(--line); }
@media (max-width: 640px) { .decision { grid-template-columns: 1fr; gap: 6px; } }
.decision h4 { font-family: var(--display); font-size: 1.25rem; font-weight: 600; margin: 0 0 6px; }
.langs { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
.langs li { padding: 10px 18px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-weight: 600; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); list-style: none; margin: 0; padding: 0; }
.steps li { padding: 22px; border-bottom: 1px solid var(--line); }
@media (min-width: 900px) { .steps li { border-bottom: 0; border-right: 1px solid var(--line); } .steps li:last-child { border-right: 0; } }
.steps h3 { font-size: 1.15rem; margin: 6px 0 4px; }

/* About */
.split { display: grid; gap: 48px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); align-items: start; }
.prose p, .prose li { font-size: 1.1rem; line-height: 1.7; }
.prose p + p, .prose p + ul, .prose ul + p { margin-top: 16px; }
.prose h2 { font-size: 1.6rem; margin: 36px 0 12px; }
.prose ul { padding-left: 22px; margin: 0; }
.numbered { display: grid; gap: 0 48px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); counter-reset: n; list-style: none; margin: 0; padding: 0; }
.numbered li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 8px; padding: 24px 0; border-top: 1px solid var(--line); counter-increment: n; }
.numbered li::before { content: counter(n); font-family: var(--display); font-size: 1.4rem; color: var(--mark); font-weight: 600; }
.numbered h3 { font-size: 1.3rem; margin-bottom: 6px; }
.dodont { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.dodont div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.dodont h3 { font-size: 1.2rem; margin: 8px 0 6px; }
.ok, .no { font-weight: 700; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; }
.ok { color: var(--ok); } .no { color: var(--no); }
.table-box { overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; font-size: .95rem; }
th, td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
tbody tr:last-child td { border-bottom: 0; }
th { font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .85em; }

/* Get involved */
.way { display: grid; gap: 28px 40px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); padding: 44px 0; border-top: 1px solid var(--line); scroll-margin-top: 16px; }
.way .ic { width: 52px; height: 52px; border-radius: 14px; background: var(--soft); color: var(--accent); display: grid; place-items: center; margin-bottom: 16px; }
.way h2 { font-size: clamp(1.8rem, 3.2vw, 2rem); line-height: 1.1; margin: 6px 0 10px; }
.way-cols { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); align-content: start; }
.way-cols h3 { font-family: var(--sans); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 700; margin-bottom: 8px; }
.way-cols ul { margin: 0; padding-left: 18px; }
.way-cols li + li { margin-top: 4px; }
.way-cols .actions { grid-column: 1 / -1; margin-top: 0; }
.faq details { border-top: 1px solid var(--line); padding: 18px 0; }
.faq summary { font-family: var(--display); font-size: 1.25rem; font-weight: 600; cursor: pointer; }
.faq details p { margin-top: 10px; color: var(--muted); max-width: 44rem; }

/* Journal and articles */
.posts { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.article { max-width: 46rem; padding-bottom: 24px; }
.article h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); line-height: 1.08; margin: 10px 0 28px; }
.feed-box { background: var(--tint); border-radius: 16px; padding: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-top: 48px; }
.feed-box h2 { font-size: 1.3rem; }

/* Contact */
.contact { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.reach { background: var(--tint); border-radius: 16px; padding: 24px; display: flex; gap: 16px; align-items: flex-start; }
.reach .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--surface); color: var(--accent); display: grid; place-items: center; flex: none; }
.reach h2 { font-size: 1.2rem; margin-bottom: 4px; }
.reach p + p { margin-top: 6px; }

/* Brand */
.tiles { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.brand-tile { border: 1px solid var(--line); border-radius: var(--radius); padding: 40px 24px; display: grid; place-items: center; gap: 14px; }
.brand-tile.light { background: #ffffff; color: #221c15; }
.brand-tile.dark { background: #16130f; color: #ece3d4; }
.brand-row { display: flex; align-items: center; gap: 12px; }
.brand-tile .word { font-size: 2.2rem; }
.brand-tile.light .word b { color: #d39a2f; }
.brand-tile.dark .word b { color: #e0b45c; }
.brand-tile small { font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; opacity: .7; }
.marks { display: flex; gap: 20px; align-items: end; flex-wrap: wrap; }
.swatches { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.swatch { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); font-size: .9rem; }
.swatch i { display: flex; height: 64px; }
.swatch i b { flex: 1; }
.swatch div { padding: 10px 12px; }
.swatch code { color: var(--muted); }
.type-serif { font-family: var(--display); font-weight: 600; font-size: 2rem; line-height: 1.15; margin-top: 6px; }
.lockup { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; padding: 16px 20px; border: 1px solid var(--line); border-radius: var(--radius); }
.lockup + .lockup { margin-top: 12px; }
.lockup img { width: 32px; height: 32px; border-radius: 8px; }
.lockup b { font-family: var(--display); font-weight: 600; font-size: 1.15rem; }
.lockup span { color: var(--muted); font-size: .9rem; }

.notfound { padding: 120px 0; text-align: center; }
.notfound h1 { font-size: clamp(2.4rem, 6vw, 3.5rem); }
.notfound p { color: var(--muted); margin: 12px 0 28px; }

/* Footer */
.foot { border-top: 1px solid var(--line); background: var(--tint); margin-top: 80px; padding: 56px 0 40px; font-size: .95rem; }
.fcols { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr)); }
.fcols h2 { margin: 0 0 12px; font: 700 .75rem var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.fcols ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.fcols a { color: var(--text); text-decoration: none; }
.fcols a:hover { color: var(--accent); }
.foot .word { font-size: 1.15rem; }
.foot-tag { margin-top: 10px; max-width: 16rem; }
.legal { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; border-top: 1px solid var(--line); margin-top: 40px; padding-top: 24px; color: var(--muted); font-size: .875rem; }
