/* OHAIDO marketing site — "Night shift" design system.
   Palette mirrors the app (Ohaido_SaaS_app/public/app.css). */

@font-face {
  font-family: 'Inter Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/assets/fonts/inter-latin-wght-normal.woff2) format('woff2-variations'), url(/assets/fonts/inter-latin-wght-normal.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;
}

:root {
  --bg: #0b1120;
  --bg-deep: #080d19;
  --surface: #111b2f;
  --surface-2: #152238;
  --surface-3: #1c2b44;
  --line: #293954;
  --line-strong: #3a4a66;
  --text: #e8edfa;
  --text-soft: #c3cee2;
  --muted: #95a5c0;
  --accent: #a78bfa;
  --accent-strong: #7950dc;
  --accent-ink: #c9b7ff;
  --signal: #51d7ad;
  --warn: #f5b971;
  --alert: #f28b98;
  --radius: 14px;
  --radius-sm: 9px;
  --max: 1160px;
  --gutter: clamp(16px, 4vw, 40px);
  --font: 'Inter Variable', Inter, ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  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; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  font-feature-settings: 'cv11', 'ss01';
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -0.025em; margin: 0 0 .5em; font-weight: 750; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 6.2vw, 4.6rem); letter-spacing: -0.04em; font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); }
h3 { font-size: 1.15rem; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
.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: 16px; top: -60px; z-index: 50; background: var(--accent-strong); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm); font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 12px; color: #fff; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Logo: the ONE place to size it (file: /assets/ohaido-logo-dark.svg) ---------- */
.brand { display: inline-flex; align-items: center; flex-shrink: 0; line-height: 0; text-decoration: none; }
.brand img { display: block; height: 30px; width: auto; }
@media (max-width: 820px) { .brand img { height: 26px; } }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(11, 17, 32, .86); backdrop-filter: saturate(140%) blur(12px); -webkit-backdrop-filter: saturate(140%) blur(12px); border-bottom: 1px solid transparent; }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.site-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.site-nav a { color: var(--text-soft); text-decoration: none; font-size: .94rem; font-weight: 600; padding: 9px 12px; border-radius: var(--radius-sm); }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--text); background: var(--surface-2); }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.nav-toggle { display: none; margin-left: auto; background: transparent; border: 1px solid var(--line-strong); color: var(--text); border-radius: var(--radius-sm); padding: 8px 12px; font: inherit; font-size: .9rem; font-weight: 600; cursor: pointer; }
@media (max-width: 820px) {
  .nav-toggle { display: inline-flex; }
  .site-header .wrap { flex-wrap: wrap; }
  .site-nav, .nav-actions { display: none; width: 100%; }
  .site-header.is-open .site-nav { display: grid; gap: 2px; padding: 4px 0 8px; }
  .site-header.is-open .nav-actions { display: flex; padding-bottom: 16px; }
  .site-header.is-open .nav-actions .btn { flex: 1; }
  .site-nav a { padding: 12px; }
}
/* Without JS the menu must still be reachable */
.no-js .site-nav, .no-js .nav-actions { display: flex; }
@media (max-width: 820px) { .no-js .nav-toggle { display: none; } .no-js .site-nav { flex-wrap: wrap; } }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 18px; border-radius: var(--radius-sm); border: 1px solid var(--line-strong); background: var(--surface-2); color: var(--text); font: inherit; font-size: .95rem; font-weight: 700; text-decoration: none; cursor: pointer; transition: background-color .15s, border-color .15s, transform .15s; white-space: nowrap; }
.btn:hover { color: var(--text); border-color: var(--muted); }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent-strong); border-color: var(--accent-strong); color: #fff; }
.btn-primary:hover { background: #8a64e6; border-color: #8a64e6; color: #fff; }
.btn-ghost { background: transparent; }
.btn-lg { min-height: 52px; padding: 14px 24px; font-size: 1.02rem; }
.btn .arrow { transition: transform .15s; }
.btn:hover .arrow { transform: translateX(3px); }
.btn:disabled { opacity: .6; cursor: progress; }

/* ---------- Shared bits ---------- */
.eyebrow { display: inline-block; color: var(--accent); font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px; }
.lede { font-size: clamp(1.08rem, 1.6vw, 1.25rem); color: var(--text-soft); max-width: 40ch; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }
.section { padding: clamp(64px, 10vw, 120px) 0; position: relative; }
.section-head { max-width: 680px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head p { color: var(--text-soft); font-size: 1.08rem; }
.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }
.tag { display: inline-flex; align-items: center; gap: 6px; font-size: .74rem; font-weight: 700; letter-spacing: .02em; color: var(--accent-ink); border: 1px solid #4a3d73; background: #1e1934; padding: 4px 10px; border-radius: 999px; }
.tag-signal { color: #9cefd3; border-color: #2f6b5d; background: #12302b; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; display: inline-block; }

/* ---------- Hero ---------- */
.hero { padding: clamp(48px, 8vw, 96px) 0 clamp(56px, 8vw, 96px); position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero h1 { margin-bottom: 22px; font-size: clamp(2.4rem, 5.4vw, 4.1rem); }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .lede { margin-bottom: 32px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.cta-note { margin-top: 16px; font-size: .9rem; color: var(--muted); }
@media (max-width: 920px) { .hero-grid { grid-template-columns: 1fr; } }

/* ---------- Signature: stay timeline board ---------- */
.board { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 18px; position: relative; box-shadow: 0 30px 80px -40px rgba(0, 0, 0, .8); }
.board-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; font-size: .8rem; color: var(--muted); }
.board-head strong { color: var(--text); font-size: .9rem; }
.board-days, .board-row { display: grid; grid-template-columns: 92px repeat(7, minmax(0, 1fr)); align-items: center; }
.board-days { font-size: .7rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 6px; }
.board-days span { text-align: center; }
.board-row { position: relative; height: 46px; border-top: 1px dashed var(--line); }
.board-row .unit { font-size: .78rem; font-weight: 650; color: var(--text-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding-right: 8px; }
.stay { height: 26px; border-radius: 7px; display: flex; align-items: center; padding: 0 9px; font-size: .68rem; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stay-a { background: #2a2350; color: #d9ccff; border: 1px solid #5b4a85; }
.stay-b { background: #173238; color: #a6ecd6; border: 1px solid #2f6b5d; }
.stay-c { background: #23324d; color: #cfdbf0; border: 1px solid #3f5274; }
.stay-gap { border: 1px dashed var(--warn); color: var(--warn); background: transparent; justify-content: center; }
.stay-alert { box-shadow: 0 0 0 2px var(--bg), 0 0 0 3px var(--alert); }
.board-legend { display: flex; flex-wrap: wrap; gap: 10px 16px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); font-size: .74rem; color: var(--muted); }
.board-legend span { display: inline-flex; align-items: center; gap: 6px; }
.swatch { width: 12px; height: 8px; border-radius: 3px; display: inline-block; }
.board-alert { margin-top: 12px; display: flex; gap: 10px; align-items: flex-start; background: #2a1a24; border: 1px solid #6b3341; color: #ffd4da; border-radius: 10px; padding: 10px 12px; font-size: .8rem; }
.board-alert b { color: #fff; }
.illustration-note { margin-top: 10px; font-size: .74rem; color: var(--muted); text-align: right; }
@media (max-width: 480px) { .board-days { font-size: .58rem; letter-spacing: 0; } .board { padding: 12px; } .board-days, .board-row { grid-template-columns: 64px repeat(7, minmax(0, 1fr)); } .stay { font-size: 0; padding: 0; } }

/* timeline thread connecting sections */
.thread { position: relative; }
.thread::before { content: ''; position: absolute; left: var(--gutter); top: 0; bottom: 0; width: 1px; background: linear-gradient(var(--line), transparent); }

/* ---------- Workflow steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; counter-reset: step; border-top: 1px solid var(--line); }
.step { padding: 28px 24px 8px 0; position: relative; counter-increment: step; }
.step::before { content: counter(step, decimal-leading-zero); display: block; font-size: .8rem; font-weight: 800; color: var(--accent); letter-spacing: .1em; margin-bottom: 18px; }
.step::after { content: ''; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--bg); }
.step p { color: var(--muted); font-size: .96rem; }
@media (max-width: 860px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 8px; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; border-top: 0; border-left: 1px solid var(--line); padding-left: 22px; } .step { padding: 0 0 26px; } .step::after { top: 4px; left: -27px; } .step::before { margin-bottom: 6px; } }

/* ---------- Feature rows ---------- */
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; padding: clamp(36px, 6vw, 64px) 0; border-top: 1px solid var(--line); }
.feature:nth-of-type(even) .feature-copy { order: 2; }
.feature-copy p { color: var(--text-soft); }
.feature-copy ul { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.feature-copy li { position: relative; padding-left: 26px; color: var(--text-soft); font-size: .98rem; }
.feature-copy li::before { content: ''; position: absolute; left: 2px; top: .62em; width: 12px; height: 2px; background: var(--accent); border-radius: 2px; }
.fineprint { margin-top: 18px; font-size: .86rem; color: var(--muted); border-left: 2px solid var(--line-strong); padding-left: 12px; }
@media (max-width: 860px) { .feature { grid-template-columns: 1fr; } .feature:nth-of-type(even) .feature-copy { order: 0; } }

/* UI fragments used as illustrations */
.frag { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; font-size: .86rem; }
.frag-title { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-weight: 700; margin-bottom: 14px; font-size: .9rem; }
.frag-list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.frag-item { display: flex; gap: 12px; align-items: center; background: var(--surface-3); border-radius: 10px; padding: 11px 12px; }
.frag-item small { display: block; color: var(--muted); font-size: .76rem; margin-top: 2px; }
.frag-item .end { margin-left: auto; }
.sev { width: 8px; align-self: stretch; border-radius: 4px; flex: none; }
.sev-high { background: var(--alert); }
.sev-med { background: var(--warn); }
.sev-opp { background: var(--signal); }
.msg { background: var(--surface-3); border-radius: 12px 12px 12px 4px; padding: 12px 14px; color: var(--text-soft); margin-bottom: 10px; line-height: 1.55; }
.msg-draft { border: 1px dashed var(--line-strong); background: transparent; border-radius: 12px 12px 4px 12px; }
.frag-actions { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.chip { font-size: .74rem; font-weight: 700; padding: 6px 10px; border-radius: 7px; border: 1px solid var(--line-strong); color: var(--text-soft); }
.chip-primary { background: var(--accent-strong); border-color: var(--accent-strong); color: #fff; }
.illus-caption { font-size: .74rem; color: var(--muted); margin-top: 10px; }

/* ---------- Capability grid ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 900px) { .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .grid-3 { grid-template-columns: 1fr; } }
.cell { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.cell h3 { margin-bottom: 8px; }
.cell p { color: var(--muted); font-size: .95rem; margin: 0; }
.cell .icon { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: #1e1934; color: var(--accent); margin-bottom: 16px; }
.cell .icon svg { width: 18px; height: 18px; }

/* ---------- Doesn't do ---------- */
.boundaries { background: var(--bg-deep); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.boundary-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; }
.boundary-list li { padding: 18px 0 18px 34px; border-top: 1px solid var(--line); position: relative; color: var(--text-soft); }
.boundary-list li::before { content: ''; position: absolute; left: 4px; top: 27px; width: 14px; height: 2px; background: var(--alert); transform: rotate(45deg); }
.boundary-list li::after { content: ''; position: absolute; left: 4px; top: 27px; width: 14px; height: 2px; background: var(--alert); transform: rotate(-45deg); }
.boundary-list strong { color: var(--text); display: block; }
@media (max-width: 720px) { .boundary-list { grid-template-columns: 1fr; } }

/* ---------- Pricing ---------- */
.period-toggle { display: inline-flex; padding: 4px; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--surface); gap: 4px; margin: 0 0 28px; flex-wrap: wrap; }
.period-toggle legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.period-toggle label { position: relative; cursor: pointer; }
.period-toggle input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.period-toggle span { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 16px; border-radius: 9px; font-weight: 700; font-size: .92rem; color: var(--text-soft); }
.period-toggle span em { font-style: normal; font-size: .72rem; color: var(--signal); font-weight: 800; }
.period-toggle input:checked + span { background: var(--accent-strong); color: #fff; }
.period-toggle input:checked + span em { color: #e6fff6; }
.period-toggle input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 1060px) { .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .plans { grid-template-columns: 1fr; } }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 24px; display: flex; flex-direction: column; }
.plan-featured { border-color: #5b4a85; background: linear-gradient(180deg, #1a1a36 0, var(--surface) 160px); }
.plan h3 { font-size: 1.2rem; margin-bottom: 4px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.plan .cap { color: var(--muted); font-size: .92rem; margin-bottom: 20px; }
.plan .cap strong { color: var(--text); }
.price { min-height: 92px; }
.price-line { display: flex; align-items: baseline; gap: 6px; }
.price-amount { font-size: 2.6rem; font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.price-unit { color: var(--muted); font-size: .9rem; }
.price-billed { color: var(--muted); font-size: .84rem; margin-top: 8px; }
.plan .btn { margin-top: auto; width: 100%; }
.plan ul { list-style: none; padding: 0; margin: 18px 0 22px; display: grid; gap: 8px; font-size: .92rem; color: var(--text-soft); }
.plan li { padding-left: 22px; position: relative; }
.plan li::before { content: ''; position: absolute; left: 2px; top: .5em; width: 9px; height: 5px; border-left: 2px solid var(--signal); border-bottom: 2px solid var(--signal); transform: rotate(-45deg); }
/* With JS: show only the selected period. Without JS: all periods stay visible. */
.js .price[data-period]:not(.is-active) { display: none; }
.no-js .price + .price { margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line); }
.price-period-label { display: none; font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; color: var(--accent); font-weight: 800; margin-bottom: 4px; }
.no-js .price-period-label { display: block; }
.pricing-notes { margin-top: 28px; display: grid; gap: 6px; color: var(--muted); font-size: .9rem; }
.compare { width: 100%; border-collapse: collapse; font-size: .95rem; margin-top: 8px; }
.compare caption { text-align: left; color: var(--muted); font-size: .88rem; padding-bottom: 12px; }
.compare th, .compare td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: right; white-space: nowrap; }
.compare th:first-child, .compare td:first-child { text-align: left; }
.compare thead th { color: var(--muted); font-weight: 650; font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 0; max-width: 820px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; font-weight: 700; position: relative; font-size: 1.04rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 6px; top: 16px; font-size: 1.5rem; font-weight: 400; color: var(--accent); }
.faq details[open] summary::after { content: '–'; }
.faq details > div { padding: 0 0 20px; color: var(--text-soft); max-width: 68ch; }

/* ---------- CTA band ---------- */
.cta-band { border: 1px solid #3d3366; border-radius: 22px; padding: clamp(32px, 6vw, 64px); background: radial-gradient(120% 140% at 100% 0, #231c45 0, var(--surface) 55%); display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 28px; align-items: center; }
.cta-band h2 { margin-bottom: 10px; }
.cta-band p { color: var(--text-soft); margin: 0; }
@media (max-width: 760px) { .cta-band { grid-template-columns: 1fr; } }

/* ---------- Legal / prose pages ---------- */
.page-head { padding: clamp(48px, 8vw, 88px) 0 clamp(24px, 4vw, 40px); border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.page-head .lede { max-width: 60ch; }
.prose-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); padding: clamp(36px, 6vw, 64px) 0 clamp(64px, 8vw, 100px); }
.toc { position: sticky; top: 92px; align-self: start; font-size: .88rem; }
.toc p { font-weight: 800; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; border-left: 1px solid var(--line); }
.toc a { display: block; padding: 5px 0 5px 14px; color: var(--text-soft); text-decoration: none; margin-left: -1px; border-left: 1px solid transparent; }
.toc a:hover { color: var(--text); border-left-color: var(--accent); }
@media (max-width: 860px) { .prose-layout { grid-template-columns: 1fr; } .toc { position: static; } }
.prose { max-width: 72ch; color: var(--text-soft); }
.prose h2 { font-size: 1.4rem; color: var(--text); margin-top: 2.2em; scroll-margin-top: 90px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { color: var(--text); margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .4em; }
.prose strong { color: var(--text); }
.prose address { font-style: normal; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px 18px; line-height: 1.7; }
.prose table { width: 100%; border-collapse: collapse; font-size: .92rem; margin: 1em 0; }
.prose th, .prose td { text-align: left; border-bottom: 1px solid var(--line); padding: 10px 8px; vertical-align: top; }
.prose th { color: var(--text); }
.meta-line { color: var(--muted); font-size: .9rem; }
.callout { background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: var(--radius-sm); padding: 14px 18px; margin: 1.2em 0; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding: clamp(36px, 6vw, 64px) 0; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.contact-card h2 { font-size: 1.1rem; }
.contact-card p { color: var(--text-soft); font-size: .96rem; }
.big-link { font-size: clamp(1.2rem, 2.4vw, 1.5rem); font-weight: 750; letter-spacing: -0.02em; word-break: break-word; }

/* ---------- 404 ---------- */
.notfound { min-height: 62vh; display: grid; align-content: center; padding: 64px 0; }
.notfound .code { font-size: clamp(5rem, 18vw, 10rem); font-weight: 800; letter-spacing: -0.06em; line-height: 1; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 48px 0 40px; background: var(--bg-deep); font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); gap: 32px; }
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }
.site-footer h2 { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; font-weight: 800; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.site-footer a { color: var(--text-soft); text-decoration: none; }
.site-footer a:hover { color: var(--text); text-decoration: underline; }
.site-footer address { font-style: normal; color: var(--muted); margin-top: 14px; line-height: 1.7; }
.footer-base { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: .84rem; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
