/* Public landing page (landing.html). Kept separate from styles.css so marketing layout never
   affects the application; the product mockups reuse the application's look.
   Breakpoints: mobile < 768px · tablet 768–1023px · desktop ≥ 1024px.
   Spacing scale (4px base): 8 · 12 · 16 · 24 · 32 · 48 · 64 · 88.
   Sections: 88px desktop · 64px tablet · 48px mobile. Content width: 1200px for every section. */
/* Inter (SIL Open Font License, fonts/OFL.txt), self-hosted: no third-party font requests.
   Variable weight 400–700; the browser downloads latin-ext only for characters such as ₹. */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("/fonts/inter-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: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("/fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
:root {
  --brand: #0f6657;
  --brand-hover: #0b5145;
  --brand-soft: #e6f2ef;
  --brand-deep: #0c2f2a;
  --ink: #142624;
  --ink-2: #33433f;
  --muted: #5b6b67;
  --bg: #ffffff;
  --band: #f6f8f8;
  --surface: #ffffff;
  --surface-2: #f2f5f4;
  --border: #e1e7e5;
  --border-strong: #c9d3d0;
  --good: #1d7348;
  --good-bg: #e8f4ed;
  --wait: #8a5300;
  --wait-bg: #fcf3e3;
  --info: #2c5aa0;
  --info-bg: #e9eff9;
  --radius-sm: 6px;
  --radius: 8px;
  --radius-lg: 12px;
  --control-h: 44px;
  --section-y: 88px;
  --gutter: 24px;
  --shadow: 0 1px 2px rgb(20 38 36 / 5%), 0 12px 32px rgb(20 38 36 / 8%);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-synthesis: none;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
@media (max-width: 1023.98px) { :root { --section-y: 64px; } }
@media (max-width: 767.98px) { :root { --section-y: 48px; --gutter: 20px; } }

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-padding-top: 76px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; font-size: 16px; line-height: 1.6; background: var(--bg); overflow-x: clip; }
a { color: var(--brand); text-underline-offset: 3px; }
a:hover { color: var(--brand-hover); }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { color: var(--ink); margin: 0; }
h1 { font-size: clamp(2.25rem, 1.6rem + 2.4vw, 3.375rem); line-height: 1.1; letter-spacing: -0.022em; font-weight: 700; }
h2 { font-size: clamp(1.625rem, 1.35rem + 1.1vw, 2.25rem); line-height: 1.2; letter-spacing: -0.018em; font-weight: 680; }
h3 { font-size: 1.0625rem; line-height: 1.35; letter-spacing: -0.01em; font-weight: 650; }
p { margin: 0; }
.muted { color: var(--muted); }
.wrap { width: 100%; max-width: calc(1200px + 2 * var(--gutter)); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.eyebrow { margin-bottom: 12px; font-size: 13px; font-weight: 650; letter-spacing: .07em; text-transform: uppercase; color: var(--brand); }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 20px; height: 20px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 50; padding: 10px 14px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); }
.skip-link:focus { top: 12px; }

/* Logo */
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 700; font-size: 19px; letter-spacing: -0.02em; text-decoration: none; }
.logo:hover { color: var(--ink); }
.logo-mark { width: 30px; height: 30px; flex: none; }
.logo-mark-bg { fill: var(--brand); }
.logo-mark-fg { fill: none; stroke: #fff; stroke-linecap: round; }

/* Buttons */
.button-link { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: var(--control-h); padding: 0 18px; border: 1px solid var(--border-strong);
  border-radius: var(--radius); background: var(--surface); color: var(--ink); font-size: 15px; font-weight: 600; text-decoration: none; white-space: nowrap;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease; }
.button-link:hover { color: var(--ink); border-color: var(--ink-2); }
.button-link.primary { background: var(--brand); border-color: var(--brand); color: #fff; }
.button-link.primary:hover { background: var(--brand-hover); border-color: var(--brand-hover); color: #fff; }
.button-link.subtle { border-color: transparent; background: transparent; }
.button-link.subtle:hover { background: var(--surface-2); }
.button-link.large { min-height: 48px; padding: 0 22px; font-size: 16px; }
.button-link.block { display: flex; width: 100%; }
.button-link .icon { width: 18px; height: 18px; }
.button-link.on-dark { background: transparent; color: #fff; border-color: rgb(255 255 255 / 45%); }
.button-link.on-dark:hover { border-color: #fff; color: #fff; }

/* 1. Navbar */
.site-header { position: sticky; top: 0; z-index: 30; background: rgb(255 255 255 / 92%); backdrop-filter: saturate(160%) blur(8px); border-bottom: 1px solid var(--border); }
.header-inner { display: flex; align-items: center; gap: 24px; height: 64px; }
.site-nav { display: flex; gap: 4px; margin-left: auto; }
.site-nav a { padding: 8px 12px; border-radius: var(--radius-sm); color: var(--ink-2); font-size: 15px; font-weight: 500; text-decoration: none; }
.site-nav a:hover { color: var(--ink); background: var(--surface-2); }
.header-actions { display: flex; gap: 8px; }
.header-actions .button-link { min-height: 40px; font-size: 14.5px; padding: 0 16px; }
.mobile-menu { display: none; margin-left: auto; }
.mobile-menu summary { list-style: none; display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--border); border-radius: var(--radius); cursor: pointer; color: var(--ink); }
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu .menu-close, .mobile-menu[open] .menu-open { display: none; }
.mobile-menu[open] .menu-close { display: block; }
/* Closed <details> content can still be laid out (content-visibility), so remove it explicitly. */
.mobile-menu:not([open]) nav { display: none; }
.mobile-menu nav { position: absolute; left: 0; right: 0; top: 64px; padding: 8px var(--gutter) 20px; background: #fff; border-bottom: 1px solid var(--border); box-shadow: 0 12px 24px rgb(20 38 36 / 8%); }
.mobile-menu nav > a { display: block; padding: 13px 0; border-bottom: 1px solid var(--border); color: var(--ink); font-weight: 550; text-decoration: none; }
.mobile-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; }
@media (max-width: 1023.98px) { .site-nav, .header-actions { display: none; } .mobile-menu { display: block; } }

/* 2. Hero */
.hero { position: relative; padding: 72px 0 var(--section-y); overflow: hidden;
  background: radial-gradient(900px 420px at 80% 0%, var(--brand-soft), transparent 70%), var(--bg); }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 48px 48px; opacity: .45;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 70% 30%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 70% 60% at 70% 30%, #000 20%, transparent 75%); }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.hero-copy h1 { max-width: 13ch; }
.lead { margin-top: 20px; max-width: 34rem; font-size: 18px; line-height: 1.6; color: var(--ink-2); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 28px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: 14.5px; }
.hero-points li { display: inline-flex; align-items: center; gap: 6px; }
.hero-points .icon { width: 16px; height: 16px; color: var(--brand); stroke-width: 2.2; }
.hero-visual { margin: 0; min-width: 0; }
@media (max-width: 1023.98px) {
  .hero { padding-top: 48px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .hero-copy h1 { max-width: 16ch; }
}
@media (max-width: 767.98px) { .lead { font-size: 17px; } .hero-actions .button-link { flex: 1 1 140px; } }

/* Product screenshots: real Cliniqo screens captured with sample data (tests/capture_marketing_screens.py). */
figure { margin: 0; }
figcaption { margin-top: 10px; font-size: 12.5px; color: var(--muted); text-align: right; }
.shot img { display: block; width: 100%; height: auto; border: 1px solid var(--border-strong); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow); }
.narrow-visual .shot { max-width: 400px; margin-left: auto; margin-right: auto; }
@media (max-width: 559.98px) {
  /* Phones get the phone-sized capture, framed like a handset rather than shrunk. */
  .shot.has-phone img { max-width: 280px; margin: 0 auto; border-radius: 22px; border-width: 6px; border-color: var(--ink); }
  .shot figcaption { text-align: center; }
}

/* Sections */
.section { padding: var(--section-y) 0; }
.band { background: var(--band); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-intro { max-width: 46rem; margin-bottom: 48px; }
.section-intro.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-intro > p:not(.eyebrow) { margin-top: 14px; font-size: 17px; color: var(--ink-2); }
@media (max-width: 767.98px) { .section-intro { margin-bottom: 32px; } .section-intro.center { text-align: left; } }

/* 3. Positioning strip */
.strip { padding: 32px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.strip-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; }
.strip-title { font-size: 15px; font-weight: 600; letter-spacing: 0; color: var(--ink-2); line-height: 1.4; }
.specialties { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.specialties li { padding: 5px 12px; border: 1px solid var(--border); border-radius: 999px; font-size: 13.5px; color: var(--ink-2); background: var(--surface); }

/* 4. Problems */
.problem-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.problem { padding-top: 20px; border-top: 2px solid var(--ink); }
.problem .icon { width: 22px; height: 22px; color: var(--brand); margin-bottom: 14px; }
.problem p { margin-top: 6px; color: var(--muted); font-size: 15px; }
@media (max-width: 1023.98px) { .problem-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 559.98px) { .problem-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; } }

/* 5. Solution overview */
.overview { display: grid; grid-template-columns: 232px minmax(0, 1fr) 232px; gap: 32px; align-items: center; }
.overview-tags { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.overview-tags li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); font-size: 14.5px; font-weight: 550; }
.overview-tags .icon { color: var(--brand); width: 18px; height: 18px; }
.overview-visual { min-width: 0; }
@media (max-width: 1023.98px) {
  .overview { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .overview-visual { grid-column: 1 / -1; grid-row: 1; }
}
@media (min-width: 1024px) { .overview-tags li { white-space: nowrap; } }
@media (max-width: 559.98px) { .overview { grid-template-columns: minmax(0, 1fr); } .overview-tags { grid-template-columns: repeat(2, minmax(0, 1fr)); } .overview-tags li { font-size: 13.5px; padding: 9px 10px; line-height: 1.3; } }

/* 6. Features */
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--border); border-left: 1px solid var(--border); }
.feature { padding: 28px; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.feature .icon { width: 22px; height: 22px; color: var(--brand); margin-bottom: 16px; }
.feature p { margin-top: 8px; color: var(--muted); font-size: 15px; }
@media (max-width: 1023.98px) { .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 559.98px) { .feature-grid { grid-template-columns: minmax(0, 1fr); } .feature { padding: 22px 20px; } }

/* 7–12. Showcases */
.showcase { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.75fr); gap: 56px; align-items: center; }
.showcase + .showcase { margin-top: var(--section-y); }
.showcase.reverse { grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.3fr); }
.showcase-visual { min-width: 0; }
.showcase-copy > p:not(.eyebrow) { margin-top: 16px; font-size: 17px; color: var(--ink-2); }
.showcase-copy .note { font-size: 15px !important; color: var(--muted) !important; padding-left: 14px; border-left: 2px solid var(--border-strong); }
.ticks { display: grid; gap: 10px; margin: 24px 0 0; padding: 0; list-style: none; }
.ticks.two { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 20px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; font-size: 15.5px; }
.ticks .icon { width: 18px; height: 18px; margin-top: 3px; color: var(--brand); stroke-width: 2.2; }
.steps-inline { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 0; padding: 0; list-style: none; counter-reset: s; }
.steps-inline li { counter-increment: s; padding: 6px 12px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); font-size: 14px; }
.steps-inline li::before { content: counter(s) "  "; color: var(--brand); font-weight: 700; white-space: pre; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 0; padding: 0; list-style: none; }
.chips li { padding: 5px 12px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--border); font-size: 13.5px; color: var(--ink-2); }
@media (max-width: 1023.98px) {
  .showcase, .showcase.reverse { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .showcase.reverse .showcase-visual { order: 2; }
  .showcase .showcase-visual { order: 2; }
}
@media (max-width: 559.98px) { .ticks.two { grid-template-columns: minmax(0, 1fr); } }

/* Security */
.security { margin-top: var(--section-y); padding-top: var(--section-y); border-top: 1px solid var(--border); }
.security-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 40px; margin: 0; padding: 0; list-style: none; }
.security-grid li { display: flex; gap: 14px; }
.security-grid .icon { width: 22px; height: 22px; color: var(--brand); margin-top: 2px; }
.security-grid p { margin-top: 4px; color: var(--muted); font-size: 15px; }
@media (max-width: 1023.98px) { .security-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 559.98px) { .security-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; } }

/* 13. How it works: horizontal on desktop, vertical on mobile */
.timeline { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; margin: 0; padding: 0; list-style: none; counter-reset: none; }
.timeline li { position: relative; padding-top: 52px; }
.timeline li::before { content: ""; position: absolute; left: 0; right: -32px; top: 18px; height: 1px; background: var(--border-strong); }
.timeline li:last-child::before { right: 0; }
.step-no { position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--surface); border: 1px solid var(--brand); color: var(--brand); font-weight: 700; font-size: 14px; font-variant-numeric: tabular-nums; }
.timeline p { margin-top: 6px; color: var(--muted); font-size: 15px; }
@media (max-width: 1023.98px) {
  .timeline { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .timeline li { padding: 4px 0 0 58px; min-height: 40px; }
  .timeline li::before { left: 19px; right: auto; top: 40px; bottom: -28px; width: 1px; height: auto; }
  .timeline li:last-child::before { display: none; }
}

/* 14. Pricing */
.cycle-toggle { display: inline-flex; margin-top: 24px; padding: 3px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.cycle-toggle button { min-height: 38px; padding: 0 18px; border: 0; border-radius: var(--radius-sm); background: transparent; color: var(--muted); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.cycle-toggle button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.price-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.price-grid[data-count="1"] { grid-template-columns: minmax(0, 420px); justify-content: center; }
.price-grid[data-count="2"] { grid-template-columns: repeat(2, minmax(0, 420px)); justify-content: center; }
.price-grid[data-count="4"] { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.price-card { display: flex; flex-direction: column; padding: 28px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); }
.price-card h3 { font-size: 19px; }
.plan-desc { margin-top: 6px; min-height: 3.2em; color: var(--muted); font-size: 14.5px; }
.price { margin-top: 16px; font-size: 34px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; }
.price span { font-size: 15px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.price-meta { min-height: 22px; margin: 4px 0 16px; }
.saving { font-size: 13.5px; color: var(--good); font-weight: 600; }
.price-includes { margin: 24px 0 10px; font-size: 12.5px; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.price-card ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; font-size: 14.5px; }
.price-card ul + ul { margin-top: 8px; }
.price-card li { display: flex; gap: 8px; align-items: flex-start; }
.price-card li::before { content: ""; flex: none; width: 14px; height: 8px; margin-top: 6px; border-left: 2px solid var(--brand); border-bottom: 2px solid var(--brand); transform: rotate(-45deg) translate(1px, -1px); }
.price-card li.excluded { color: var(--muted); }
.price-card li.excluded::before { width: 10px; height: 0; border-left: 0; transform: none; margin-top: 11px; border-color: var(--border-strong); }
.pricing-status { grid-column: 1 / -1; text-align: center; padding: 32px; border: 1px dashed var(--border-strong); border-radius: var(--radius-lg); }
.pricing-note { margin-top: 20px; text-align: center; font-size: 14px; color: var(--muted); }
.pricing-contact { display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; margin-top: 24px; padding: 24px 28px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--band); }
.pricing-contact p { margin-top: 4px; color: var(--muted); font-size: 15px; }
@media (max-width: 767.98px) { .cycle-toggle button { min-height: 44px; } }
@media (max-width: 1023.98px) { .price-grid, .price-grid[data-count="4"] { grid-template-columns: repeat(2, minmax(0, 1fr)); } .price-grid[data-count="1"] { grid-template-columns: minmax(0, 420px); } }
@media (max-width: 639.98px) { .price-grid, .price-grid[data-count] { grid-template-columns: minmax(0, 1fr); } .plan-desc { min-height: 0; } .price-card { padding: 24px 20px; } }

/* 15. FAQ */
.faq-layout { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr); gap: 64px; align-items: start; }
.faq-layout .section-intro { position: sticky; top: 96px; margin-bottom: 0; }
.faq { border-top: 1px solid var(--border-strong); }
.faq details { border-bottom: 1px solid var(--border-strong); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; cursor: pointer; list-style: none; font-weight: 600; font-size: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; margin-right: 6px; width: 9px; height: 9px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg) translateY(-3px); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.faq details p { padding: 0 32px 20px 0; color: var(--ink-2); font-size: 15.5px; }
@media (max-width: 1023.98px) { .faq-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; } .faq-layout .section-intro { position: static; } }

/* 16. Final CTA */
.cta { padding: 64px 0; background: var(--brand-deep); color: #d9e7e3; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta h2 { color: #fff; }
.cta p { margin-top: 10px; max-width: 34rem; font-size: 17px; }
.cta-contact a { color: #fff; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cta .button-link.primary { background: #fff; border-color: #fff; color: var(--brand-deep); }
.cta .button-link.primary:hover { background: var(--brand-soft); color: var(--brand-deep); }
@media (max-width: 767.98px) { .cta { padding: 48px 0; } .cta-actions { width: 100%; } .cta-actions .button-link { flex: 1 1 140px; } }

/* 17. Footer */
/* Brand on the left edge, link columns on the right edge, both aligned to the page container.
   Column headings share the logo's 30px line so their tops line up. */
.site-footer { padding: 56px 0 0; background: var(--bg); border-top: 1px solid var(--border); font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1fr) repeat(2, minmax(140px, max-content)); gap: 40px 96px; align-items: start; }
.footer-brand p { margin: 12px 0 0; max-width: 22rem; color: var(--muted); }
.site-footer nav { display: flex; flex-direction: column; align-items: flex-start; }
.site-footer nav h2 { margin: 0 0 8px; font-size: 13px; line-height: 30px; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.site-footer nav a { display: inline-flex; align-items: center; min-height: 34px; color: var(--ink-2); text-decoration: none; }
.site-footer nav a:hover { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom { margin-top: 48px; padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px)); color: var(--muted); font-size: 14px; }
.footer-bottom p { margin: 0; padding-top: 20px; border-top: 1px solid var(--border); }
@media (max-width: 1023.98px) { .footer-grid { column-gap: 64px; } }
@media (max-width: 767.98px) {
  .site-footer { padding-top: 48px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; }
  .footer-brand { grid-column: 1 / -1; }
  .site-footer nav h2 { margin-bottom: 4px; }
  .site-footer nav a { min-height: 44px; } /* Touch targets. */
  .footer-bottom { margin-top: 32px; }
}

/* Subtle entrance for content below the fold (content is visible without JavaScript). */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(12px); transition: opacity .5s ease, transform .5s ease; }
  .reveal.in { opacity: 1; transform: none; }
}
@media print { .site-header, .mobile-menu { position: static; } .reveal { opacity: 1 !important; transform: none !important; } }
