/* FoundLah website. Plain CSS, mobile first. Pages are assembled by build.py.
   Palette: paper (kopitiam white), ink (deep green-black), pandan (green), kaya (yellow). */

:root {
  color-scheme: light dark;

  --paper: #fbf6ec;
  --surface: #ffffff;
  --tint: #e6f1e9;
  --ink: #12241b;
  --muted: #475a4f;
  --line: #ddd2bf;
  --pandan: #17694a;
  --on-pandan: #ffffff;
  --kaya: #f2be3d;
  --on-kaya: #12241b;
  --hl: #f2be3d;
  --band: #17694a;
  --on-band: #ffffff;
  --stamp: #12241b;
  --focus: #12241b;
  --focus-halo: #f2be3d;
  --shadow: 0 1px 2px rgb(18 36 27 / 0.06), 0 10px 28px rgb(18 36 27 / 0.08);

  --radius: 14px;
  --radius-sm: 8px;
  --wrap: 1120px;
  --gutter: 16px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0e1813;
    --surface: #15231c;
    --tint: #11281d;
    --ink: #ecf2ec;
    --muted: #a9bab0;
    --line: #2c3e34;
    --pandan: #5dc193;
    --on-pandan: #0b1510;
    --kaya: #f4c553;
    --on-kaya: #12241b;
    --hl: rgb(244 197 83 / 0.34);
    --band: #174d36;
    --on-band: #ecf2ec;
    --stamp: #5dc193;
    --focus: #f4c553;
    --focus-halo: #0e1813;
    --shadow: 0 1px 2px rgb(0 0 0 / 0.3), 0 10px 28px rgb(0 0 0 / 0.25);
  }
}

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

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-wrap: break-word;
}

h1, h2, h3 { line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.1rem, 7vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 4.6vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
li + li { margin-top: 0.35em; }

a { color: var(--pandan); text-decoration-thickness: 0.08em; text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 0.14em; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px var(--focus-halo);
  border-radius: 4px;
}

.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;
}

.skip-link {
  position: absolute; left: var(--gutter); top: -100px;
  background: var(--kaya); color: var(--on-kaya);
  padding: 0.6em 1em; border-radius: var(--radius-sm);
  font-weight: 700; z-index: 10;
}
.skip-link:focus { top: 12px; }

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

.section { padding: clamp(56px, 9vw, 104px) 0; }
.section-tint { background: var(--tint); }
.section-head { max-width: 46rem; margin-bottom: clamp(28px, 4vw, 44px); }
.section-head p { color: var(--muted); font-size: 1.125rem; }
.section-head .eyebrow { color: var(--pandan); font-size: 0.8125rem; margin-bottom: 0.9em; }

.eyebrow {
  display: inline-block;
  font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--pandan);
  margin-bottom: 0.9em;
}

.hl {
  background: linear-gradient(transparent 60%, var(--hl) 60%, var(--hl) 92%, transparent 92%);
  padding: 0 0.06em;
}

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

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  min-height: 48px; padding: 0.7em 1.25em;
  border: 2px solid var(--stamp); border-radius: 999px;
  font: inherit; font-weight: 700; line-height: 1.2; text-align: center; text-decoration: none;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.btn-primary { background: var(--kaya); color: var(--on-kaya); box-shadow: 3px 3px 0 var(--stamp); }
.btn-primary:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--stamp); }
.btn-primary:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--stamp); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--surface); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

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

.site-header { border-bottom: 1px solid var(--line); background: var(--paper); }
.header-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 8px 16px; padding-top: 12px; padding-bottom: 12px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--ink); text-decoration: none;
  font-weight: 800; font-size: 1.35rem; letter-spacing: -0.03em;
}
.brand svg { width: 34px; height: 34px; flex: none; }
.brand .lah { color: var(--pandan); }
.header-cta { min-height: 40px; padding: 0.45em 1em; font-size: 0.95rem; }

.site-nav { order: 3; width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.site-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; white-space: nowrap; }
.site-nav li + li { margin-top: 0; }
.site-nav a {
  display: inline-block; padding: 0.4em 0.5em; border-radius: 999px;
  color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.9rem;
}
.site-nav ul { margin-left: -0.5em; }
.site-nav a:hover { background: var(--tint); }

@media (min-width: 880px) {
  .site-nav { order: 0; width: auto; overflow: visible; margin-left: auto; }
  .site-nav ul { margin-left: 0; }
  .site-nav a { padding: 0.4em 0.7em; font-size: 0.95rem; }
  .header-cta { margin-left: 4px; }
}

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

.hero { padding: clamp(40px, 7vw, 88px) 0 clamp(56px, 8vw, 96px); }
.hero-grid { display: grid; gap: clamp(36px, 6vw, 64px); align-items: center; }
.lede { font-size: clamp(1.1rem, 2.4vw, 1.3rem); color: var(--muted); max-width: 36rem; }
.small-print { font-size: 0.95rem; color: var(--muted); margin-top: 14px; }

@media (min-width: 920px) {
  .hero-grid { grid-template-columns: 1.08fr 0.92fr; }
}

/* Chat mock (decorative illustration, described by aria-label) */
.chat {
  background: var(--surface); border: 1px solid var(--line); border-radius: 20px;
  box-shadow: var(--shadow); padding: 16px; max-width: 30rem; width: 100%; justify-self: center;
}
.chat-bar { display: flex; align-items: center; gap: 6px; padding-bottom: 12px; border-bottom: 1px solid var(--line); margin-bottom: 14px; }
.chat-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.chat-title { margin-left: 8px; font-size: 0.85rem; font-weight: 600; color: var(--muted); }
.bubble { border-radius: 16px; padding: 12px 14px; margin: 0 0 12px; font-size: 0.98rem; line-height: 1.45; }
.bubble-user { background: var(--pandan); color: var(--on-pandan); margin-left: 12%; border-bottom-right-radius: 4px; }
.bubble-ai { background: var(--tint); margin-right: 6%; border-bottom-left-radius: 4px; }
.bubble-ai p { margin-bottom: 10px; }
.answer { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.answer li { margin: 0; display: grid; grid-template-columns: 24px 1fr; gap: 4px 10px; align-items: center;
  background: var(--surface); border-radius: 10px; padding: 10px 12px; }
.answer .n { grid-row: span 2; width: 24px; height: 24px; border-radius: 50%; background: var(--ink); color: var(--paper);
  font-size: 0.8rem; font-weight: 700; display: grid; place-items: center; }
.bar { display: block; height: 10px; border-radius: 6px; background: var(--line); }
.bar.thin { height: 7px; opacity: 0.7; }
.w80 { width: 80%; } .w70 { width: 70%; } .w60 { width: 60%; } .w50 { width: 50%; } .w40 { width: 40%; }
.answer .you { border: 2px dashed var(--pandan); background: transparent; }
.answer .you .n { background: var(--kaya); color: var(--on-kaya); }
.answer .you strong { grid-row: span 2; color: var(--ink); }

/* ---------- Problem ---------- */

.ask {
  margin: 0 0 1.4em; padding: 18px 20px;
  background: var(--surface); border-left: 6px solid var(--kaya); border-radius: var(--radius-sm);
  font-size: clamp(1.15rem, 3vw, 1.45rem); font-weight: 700; line-height: 1.35; max-width: 40rem;
}
.ask p { margin: 0; }

.cards { display: grid; gap: 16px; margin: clamp(28px, 4vw, 40px) 0; padding: 0; list-style: none; }
.cards > li { margin: 0; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; height: 100%;
}
.card h3 { margin-bottom: 0.4em; }
.card p:last-child { margin-bottom: 0; }
.card-num {
  display: inline-grid; place-items: center; width: 34px; height: 34px; margin-bottom: 12px;
  border-radius: 50%; background: var(--kaya); color: var(--on-kaya); font-weight: 800;
}
@media (min-width: 760px) { .cards { grid-template-columns: repeat(3, 1fr); } }

.stake { font-size: 1.15rem; font-weight: 600; max-width: 42rem; margin: 0; }

/* ---------- Snapshot ---------- */

.split { display: grid; gap: clamp(32px, 5vw, 56px); align-items: start; }
.split > *, .hero-grid > * { min-width: 0; }
@media (min-width: 920px) { .split { grid-template-columns: 1fr 1fr; } }

.feature-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.feature-list li { margin: 0; padding-left: 36px; position: relative; }
.feature-list li::before {
  content: ""; position: absolute; left: 0; top: 0.3em; width: 22px; height: 22px; border-radius: 50%;
  background: var(--pandan)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / 15px no-repeat;
}
@media (prefers-color-scheme: dark) {
  .feature-list li::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%230b1510' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  }
}
.feature-list h3 { font-size: 1.08rem; margin-bottom: 0.2em; }
.feature-list p { margin: 0; color: var(--muted); }

.snap { margin: 0; }
.snap-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow);
  padding: 20px; position: relative; overflow: hidden;
}
.snap-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 6px; background: linear-gradient(90deg, var(--pandan) 0 70%, var(--kaya) 70% 100%); }
.snap-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin: 6px 0 14px; }
.snap-kicker { margin: 0; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--pandan); }
.snap-firm { margin: 0; font-size: 1.2rem; font-weight: 800; }
.snap-meta { margin: 0; font-size: 0.875rem; color: var(--muted); }
.snap-badge {
  flex: none; font-size: 0.75rem; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px; border: 2px dashed var(--muted); color: var(--muted);
}
.snap-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; margin-bottom: 10px; }
.snap-table th, .snap-table td { padding: 9px 3px; border-bottom: 1px solid var(--line); text-align: center; }
.snap-table th[scope="row"] { width: 46%; }
.snap-table thead th { font-size: 0.72rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; }
.snap-table th[scope="row"], .snap-table thead th:first-child { text-align: left; font-weight: 600; }
.snap-table thead th:first-child { font-weight: 700; }
.dot { display: inline-block; width: 14px; height: 14px; border-radius: 50%; vertical-align: middle; }
.dot-yes { background: var(--pandan); }
.dot-no { border: 2px solid var(--muted); }
.snap-legend { display: flex; gap: 16px; font-size: 0.82rem; color: var(--muted); margin: 0 0 16px; }
.snap-legend span { display: inline-flex; align-items: center; gap: 6px; }
.snap-fixes { background: var(--tint); border-radius: 12px; padding: 14px 16px; }
.snap-fixes h3 { font-size: 0.95rem; margin-bottom: 0.4em; }
.snap-fixes ol { margin: 0; font-size: 0.93rem; }
.snap figcaption { font-size: 0.9rem; color: var(--muted); margin-top: 12px; }

/* ---------- Steps ---------- */

.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; counter-reset: step; }
.steps li { margin: 0; counter-increment: step; position: relative; padding: 24px 22px 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.steps li::before {
  content: counter(step);
  display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 14px;
  border-radius: 12px; background: var(--pandan); color: var(--on-pandan);
  font-size: 1.3rem; font-weight: 800;
}
.steps p { margin: 0; color: var(--muted); }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); } }

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

.plans { display: grid; gap: 16px; list-style: none; padding: 0; margin: 0 0 24px; }
.plans > li { margin: 0; }
.plan {
  display: flex; flex-direction: column; height: 100%;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px;
}
.plan h3 { margin-bottom: 0.3em; }
.plan-for { color: var(--muted); margin-bottom: 0.8em; }
.price { margin: 0 0 1em; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; }
.amount { font-size: 2.1rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.per { font-size: 0.92rem; color: var(--muted); }
.plan ul { padding-left: 1.1em; font-size: 0.97rem; margin-bottom: 1.4em; }
.plan .btn { margin-top: auto; width: 100%; padding: 0.6em 0.8em; font-size: 0.95rem; }
.plan-featured { border: 2px solid var(--pandan); box-shadow: var(--shadow); }
.badge {
  align-self: flex-start; margin-bottom: 12px;
  font-size: 0.78rem; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase;
  background: var(--kaya); color: var(--on-kaya); border-radius: 999px; padding: 4px 10px;
}
.plan-note { font-size: 0.92rem; color: var(--muted); }
@media (min-width: 640px) { .plans { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .plans { grid-template-columns: repeat(4, 1fr); } }

.notice {
  display: grid; gap: 4px 24px; padding: 20px 22px; border-radius: var(--radius);
  border: 2px solid var(--ink); background: var(--surface);
}
.notice p { margin: 0; }
.notice strong { font-size: 1.08rem; }
@media (min-width: 760px) { .notice { grid-template-columns: max-content 1fr; } }

/* ---------- Proof ---------- */

.proof-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: clamp(20px, 4vw, 32px);
  box-shadow: var(--shadow);
}
.proof-meta { font-size: 0.88rem; font-weight: 700; color: var(--muted); letter-spacing: 0.02em; margin-bottom: 14px; }
.proof-q { margin: 0 0 14px; padding: 14px 16px; background: var(--tint); border-radius: 12px; font-weight: 600; }
.proof-q p { margin: 0; }
.proof-a { font-size: 1.15rem; margin-bottom: 0; }
.proof-a strong { background: linear-gradient(transparent 60%, var(--hl) 60%, var(--hl) 92%, transparent 92%); }
.caveats { border-left: 4px solid var(--kaya); padding-left: 18px; }
.caveats h3 { font-size: 1.05rem; }
.caveats ul { margin: 0; }

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

.faq-list { max-width: 50rem; border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 2px; font-weight: 700; font-size: 1.08rem;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+"; flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  border: 2px solid var(--ink); font-size: 1.15rem; line-height: 1; font-weight: 700;
}
.faq-list details[open] summary::after { content: "\2212"; background: var(--kaya); color: var(--on-kaya); border-color: var(--kaya); }
.faq-list details p { margin: 0 0 20px; color: var(--muted); max-width: 44rem; }

/* ---------- Contact ---------- */

.contact { background: var(--band); color: var(--on-band); }
.contact a:not(.btn) { color: inherit; }
.contact .section-head p { color: var(--on-band); }
.contact .section-head .eyebrow { color: var(--on-band); }
.contact .btn-ghost { color: var(--on-band); border-color: var(--on-band); }
.contact .btn-ghost:hover { background: rgb(255 255 255 / 0.12); }
.contact .btn-primary { --stamp: #12241b; border-color: #12241b; }
.contact :focus-visible { outline-color: var(--on-band); box-shadow: 0 0 0 6px #12241b; }
.contact-grid { display: grid; gap: 28px; }
.send-list { margin: 0; padding-left: 1.2em; }
.contact-email { font-weight: 700; }
.pdpa { font-size: 0.95rem; margin: 18px 0 0; }
@media (min-width: 880px) { .contact-grid { grid-template-columns: 1.1fr 0.9fr; align-items: start; } }
.contact-box { background: rgb(0 0 0 / 0.12); border-radius: var(--radius); padding: 20px 22px; }
.contact-box h3 { margin-bottom: 0.5em; }

@media (prefers-color-scheme: dark) {
  .contact .btn-primary { --stamp: #0b1510; border-color: #0b1510; }
  .contact :focus-visible { outline-color: var(--kaya); box-shadow: 0 0 0 6px #0b1510; }
}

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

.site-footer { padding: 36px 0 44px; border-top: 1px solid var(--line); font-size: 0.95rem; color: var(--muted); }
.site-footer p { margin: 0 0 0.5em; }
.site-footer a { color: var(--ink); }
.footer-brand { font-weight: 700; color: var(--ink); }

/* ---------- Privacy page ---------- */

.prose { max-width: 44rem; }
.prose h1 { font-size: clamp(2rem, 6vw, 2.8rem); }
.prose h2 { font-size: 1.35rem; margin-top: 1.8em; letter-spacing: -0.01em; }
.prose .updated { color: var(--muted); }

/* ---------- Inner pages ---------- */

.site-nav a[aria-current="page"] { background: var(--tint); box-shadow: inset 0 -3px 0 var(--pandan); }

.breadcrumb ol {
  list-style: none; display: flex; flex-wrap: wrap; gap: 2px 8px;
  margin: 18px 0 0; padding: 0; font-size: 0.9rem; color: var(--muted);
}
.breadcrumb li + li { margin-top: 0; }
.breadcrumb li + li::before { content: "\203A"; margin-right: 8px; }
.breadcrumb a { color: var(--muted); }

.page-hero { padding: clamp(24px, 5vw, 56px) 0 clamp(32px, 5vw, 56px); }
.page-hero h1 { font-size: clamp(2rem, 6vw, 3.1rem); max-width: 22ch; }
.page-hero .lede { max-width: 42rem; }

.in-short {
  background: var(--surface); border: 1px solid var(--line); border-left: 6px solid var(--kaya);
  border-radius: var(--radius-sm); padding: 16px 20px; margin: 0 0 1.8em;
}
.in-short p { margin: 0; }
.in-short p + p { margin-top: 0.5em; }

.article-head { padding: clamp(20px, 4vw, 40px) 0 4px; }
.article-meta { font-size: 0.92rem; color: var(--muted); }
.article-body { padding-bottom: clamp(40px, 7vw, 80px); }
.prose h3 { font-size: 1.12rem; margin-top: 1.5em; }
.prose li { margin-top: 0.4em; }
.prose figure { margin: 0 0 1.4em; }

.callout { background: var(--tint); border-radius: var(--radius); padding: 18px 20px; margin: 1.4em 0; }
.callout p:last-child, .callout ul:last-child { margin-bottom: 0; }
.callout h3 { margin-top: 0; }

.table-scroll { overflow-x: auto; margin: 0 0 1.4em; }
.data-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.data-table caption { text-align: left; font-weight: 700; padding-bottom: 8px; }
.data-table th, .data-table td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.data-table thead th { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); }
.data-table td.num, .data-table th.num { text-align: right; white-space: nowrap; }

.prose pre {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 14px 16px; overflow-x: auto; font-size: 0.84rem; line-height: 1.5; margin: 0 0 1.4em;
}
.prose code, .prose pre { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.prose :not(pre) > code { font-size: 0.9em; background: var(--tint); padding: 0.05em 0.35em; border-radius: 4px; }

.checklist { list-style: none; padding-left: 0; }
.checklist li { position: relative; padding-left: 32px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 0.28em; width: 18px; height: 18px;
  border: 2px solid var(--pandan); border-radius: 5px;
}

.post-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.post-list > li { margin: 0; }
.post-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; height: 100%; }
.post-card .eyebrow { margin-bottom: 0.5em; }
.post-card h2, .post-card h3 { font-size: 1.2rem; margin-bottom: 0.4em; }
.post-card h2 a, .post-card h3 a { color: var(--ink); text-decoration: none; }
.post-card h2 a:hover, .post-card h3 a:hover { text-decoration: underline; }
.post-card p:last-child { margin-bottom: 0; color: var(--muted); }
@media (min-width: 760px) { .post-list { grid-template-columns: repeat(2, 1fr); } }

.more { border-top: 1px solid var(--line); margin-top: 2.4em; padding-top: 1.6em; }
.more h2 { font-size: 1.35rem; }

.link-cards { display: grid; gap: 16px; list-style: none; padding: 0; margin: 0 0 clamp(28px, 4vw, 40px); }
.link-cards > li { margin: 0; }
.link-cards a.card { display: block; color: var(--ink); text-decoration: none; }
.link-cards a.card:hover h3 { text-decoration: underline; }
.link-cards a.card p { color: var(--muted); }
@media (min-width: 760px) { .link-cards { grid-template-columns: repeat(2, 1fr); } }

.footer-grid { display: grid; gap: 8px 32px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.3fr 1fr; } }
.footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer-links li + li { margin-top: 0; }
.footer-small { font-size: 0.88rem; margin-top: 18px !important; }

.notfound { padding: clamp(48px, 9vw, 104px) 0; }

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

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