/* Coletly website. Tokens from docs/brand/identity.md; dark mode per DECISION.md. No webfont fetch. */
:root {
  --brand: #0F766E;
  --brand-ink: #0B5A54;
  --on-brand: #FFFFFF;
  --ink: #1F2937;
  --muted: #5B6472;
  --bg: #FFFFFF;
  --surface: #F3F4F6;
  --line: #E5E7EB;
  --link: #0F766E;
  --warn-bg: #FEF3C7; --warn-ink: #92400E;
  --bad-bg: #FEE2E2; --bad-ink: #991B1B;
  --ok-bg: #D1FAE5; --ok-ink: #065F46;
  --radius: 12px;
  --max: 1100px;
  --gutter: 16px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --brand: #14B8A6; --brand-ink: #5EEAD4; --on-brand: #052E2B;
    --ink: #E5E7EB; --muted: #9CA3AF; --bg: #0B1220; --surface: #111827; --line: #1F2937; --link: #5EEAD4;
    --warn-bg: #3F2A05; --warn-ink: #FCD34D; --bad-bg: #3F1212; --bad-ink: #FCA5A5; --ok-bg: #052E2B; --ok-ink: #6EE7B7;
  }
}
:root[data-theme="dark"] {
  --brand: #14B8A6; --brand-ink: #5EEAD4; --on-brand: #052E2B;
  --ink: #E5E7EB; --muted: #9CA3AF; --bg: #0B1220; --surface: #111827; --line: #1F2937; --link: #5EEAD4;
  --warn-bg: #3F2A05; --warn-ink: #FCD34D; --bad-bg: #3F1212; --bad-ink: #FCA5A5; --ok-bg: #052E2B; --ok-ink: #6EE7B7;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: "Plus Jakarta Sans", Manrope, Inter, "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 1.0625rem; line-height: 1.6; -webkit-text-size-adjust: 100%;
}
a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--brand); color: var(--on-brand); padding: 8px 12px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 8px; }

.site-header { border-bottom: 1px solid var(--line); background: var(--bg); }
.bar { display: flex; align-items: center; gap: 16px; min-height: 64px; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--brand); }
.wordmark { font-weight: 800; letter-spacing: -0.035em; font-size: 1.45rem; line-height: 1; white-space: nowrap; }
.tall { display: inline-block; transform: scaleY(1.12); transform-origin: 50% 100%; }
.mark { flex: none; }
.nav { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px 18px; flex-wrap: wrap; }
.nav a { text-decoration: none; color: var(--ink); font-weight: 600; padding: 6px 0; display: inline-block; }
.nav a[aria-current="page"] { color: var(--brand); box-shadow: inset 0 -2px 0 var(--brand); }
.bar-end { margin-left: auto; display: flex; align-items: center; gap: 14px; }
@media (max-width: 640px) { .site-header .btn { padding: 8px 12px; font-size: 0.95rem; } .bar { gap: 10px 14px; } }
.lang { font-weight: 600; text-decoration: none; }

.btn { display: inline-block; padding: 10px 16px; border-radius: 10px; font-weight: 700; text-decoration: none; border: 2px solid transparent; }
.btn-primary { background: var(--brand); color: var(--on-brand); }
.btn-primary:hover { background: var(--brand-ink); color: #fff; }
.btn-secondary { border-color: var(--brand); color: var(--brand); background: transparent; }
.btn-lg { padding: 14px 22px; font-size: 1.1rem; }

main { padding-top: 8px; padding-bottom: 48px; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.015em; margin: 0 0 0.5em; }
h1 { font-size: clamp(2rem, 4.8vw, 3.2rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p, li { max-width: 72ch; }
.lead { font-size: 1.2rem; color: var(--muted); }
.muted { color: var(--muted); }
.small { font-size: 0.9rem; }
.en { color: var(--muted); font-size: 0.95em; }

.hero { padding: 48px 0 24px; display: grid; gap: 24px; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 900px) { .hero { grid-template-columns: 1.1fr 0.9fr; padding: 64px 0 32px; } }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; margin-top: 16px; }
.hero-note { margin-top: 10px; }

.section { padding: 40px 0; border-top: 1px solid var(--line); }
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card { background: var(--surface); border-radius: var(--radius); padding: 20px; }
.card h3 { margin-top: 0; }
.steps { counter-reset: step; }
.steps .card { position: relative; padding-top: 56px; }
.steps .card::before { counter-increment: step; content: counter(step); position: absolute; top: 16px; left: 20px; width: 32px; height: 32px; border-radius: 50%; background: var(--brand); color: var(--on-brand); display: grid; place-items: center; font-weight: 800; }
.time { color: var(--brand); font-weight: 700; }

.table-wrap { overflow-x: auto; margin: 16px 0; }
table { border-collapse: collapse; width: 100%; min-width: 560px; }
.table-caption { font-weight: 600; margin: 12px 0 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.table-wrap { -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: 8px; }
th, td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
thead th { background: var(--surface); }
tbody th { font-weight: 600; }
.yes { color: var(--ok-ink); font-weight: 800; }
.no { color: var(--muted); }
.price { font-size: 1.6rem; font-weight: 800; }
.plan-rec { outline: 2px solid var(--brand); }

.badge { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 0.85rem; font-weight: 700; }
.badge.ok { background: var(--ok-bg); color: var(--ok-ink); }
.badge.warn { background: var(--warn-bg); color: var(--warn-ink); }
.badge.bad { background: var(--bad-bg); color: var(--bad-ink); }
.badge.neutral { background: var(--surface); color: var(--ink); }
.status-strip { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; padding: 0; list-style: none; }

.shot { margin: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); overflow: hidden; }
.shot-bar { display: flex; gap: 6px; padding: 10px 12px; background: var(--surface); border-bottom: 1px solid var(--line); }
.shot-bar span { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.shot-body { padding: 8px 12px; font-size: 0.95rem; }
.shot-row { display: grid; grid-template-columns: 64px 1fr 1fr auto; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); }
.shot-row:last-child { border-bottom: 0; }
.shot-id { font-weight: 700; }
.shot figcaption { padding: 8px 12px; color: var(--muted); font-size: 0.9rem; border-top: 1px solid var(--line); }
@media (max-width: 560px) { .shot-row { grid-template-columns: 56px 1fr auto; } .shot-row > :nth-child(3) { display: none; } }

.faq details { border-top: 1px solid var(--line); padding: 12px 0; }
.faq summary { font-weight: 700; cursor: pointer; }
.faq-a { padding-top: 8px; }

.cta-box { background: var(--surface); border-radius: var(--radius); padding: 28px; text-align: center; margin-top: 24px; }
.cta-box p { margin: 12px auto 0; }

.notice { border-left: 4px solid var(--brand); background: var(--surface); padding: 12px 16px; border-radius: 8px; }
.draft { border-left-color: #F59E0B; }
.legal h2 { font-size: 1.35rem; margin-top: 2em; }
.legal ol, .legal ul { padding-left: 1.2em; }

.site-footer { border-top: 1px solid var(--line); background: var(--surface); margin-top: 24px; }
.foot { display: grid; gap: 24px; padding: 32px var(--gutter); grid-template-columns: 1fr; }
@media (min-width: 800px) { .foot { grid-template-columns: 1.2fr 1fr 1fr; } }
.brand-line { display: inline-flex; align-items: center; gap: 8px; color: var(--brand); margin: 0 0 8px; }
.foot-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }

.consent { position: fixed; inset: auto 16px 16px 16px; background: var(--bg); color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; box-shadow: 0 10px 30px rgba(0,0,0,.15); max-width: 520px; margin-left: auto; z-index: 20; }
.consent p { margin: 0 0 10px; }
.consent .row { display: flex; gap: 10px; flex-wrap: wrap; }
.btn-ghost { background: transparent; border: 2px solid var(--line); color: var(--ink); cursor: pointer; font: inherit; padding: 8px 14px; border-radius: 10px; font-weight: 700; }
.btn-ghost.primary { border-color: var(--brand); color: var(--brand); }
