/* SameBox — shared site styles (header, footer, inner pages). Tokens from the SameBox design system. */
:root {
  --surface: #F6F5F1; --raised: #FFFFFF; --line: #D9D6CE; --line-strong: #76808A;
  --ink: #0F1E2A; --muted: #55616D; --brand: #0B4F6C; --brand-dark: #093F57; --brand-soft: #DDEAF0;
  --accent: #A44E14; --accent-soft: #F6E5D6; --accent-light: #F0A266;
  --night-line: #2A3743; --night-muted: #9AA7B2; --night-text: #E9EDF0;
  --display: 'Inter Tight', 'Inter', system-ui, sans-serif;
  --sans: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, Menlo, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--surface); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 26px; }
a { color: var(--brand); }
a:hover { color: var(--ink); }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
section[id] { scroll-margin-top: 16px; }
.wrap { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 20; background: #fff; color: var(--ink); padding: 10px 14px; border-radius: 4px; }
.skip:focus { left: 16px; }

/* Header */
.sb-header { border-bottom: 1px solid var(--line); background: var(--surface); }
.sb-nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 20px; padding-bottom: 20px; }
.sb-logo { display: flex; align-items: center; }
.sb-logo img { height: 28px; width: auto; display: block; }
.sb-nav-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; font-size: 15px; font-weight: 500; }
.sb-nav-links > a:not(.btn) { color: var(--ink); text-decoration: none; padding: 10px 0; }
.sb-nav-links > a:not(.btn):hover, .sb-nav-links > a[aria-current="page"] { color: var(--brand); }
.sb-lang { display: inline-flex; align-items: center; gap: 2px; font-family: var(--mono); font-size: 13px; letter-spacing: .06em; }
.sb-lang a { padding: 10px 6px; color: var(--muted); text-decoration: none; }
.sb-lang a:hover { color: var(--brand); }
.sb-lang [aria-current] { padding: 10px 6px; color: var(--ink); border-bottom: 2px solid var(--accent); }
.sb-lang .sep { color: var(--line-strong); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; height: 48px; padding: 0 22px; border-radius: 4px; font-weight: 500; font-size: 16px; text-decoration: none; }
.btn-sm { height: 44px; padding: 0 18px; font-size: 15px; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); color: #fff; }
.btn-secondary { border: 1px solid var(--line-strong); background: #fff; color: var(--ink); }
.btn-secondary:hover { border-color: var(--ink); color: var(--ink); }
.btn-accent { background: var(--accent-light); color: var(--ink); font-weight: 600; height: 52px; padding: 0 24px; }
.btn-accent:hover { background: #F5B585; color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Type */
h1, h2, h3 { font-family: var(--display); font-weight: 600; margin: 0; }
.overline { margin: 0 0 12px; font-family: var(--mono); font-size: 12px; line-height: 16px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.rule { display: block; width: 48px; height: 3px; border-radius: 2px; background: var(--accent); margin-bottom: 24px; }
.rule-sm { width: 32px; margin-bottom: 0; }
.rule-light { background: var(--accent-light); }
.h1 { font-size: clamp(36px, 4.6vw, 58px); line-height: 1.06; letter-spacing: -.02em; max-width: 22ch; margin-bottom: 24px; }
.h2 { font-size: clamp(28px, 3.2vw, 38px); line-height: 1.15; letter-spacing: -.01em; margin-bottom: 28px; }
.h3 { font-size: 20px; line-height: 28px; }
.lead { font-size: 19px; line-height: 30px; color: var(--muted); max-width: 40em; margin: 0 0 32px; }

/* Breadcrumb */
.crumbs { padding-top: 28px; font-family: var(--mono); font-size: 12px; line-height: 18px; letter-spacing: .06em; color: var(--muted); }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line-strong); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--brand); text-decoration: underline; }

/* Sections */
.page-hero { padding-top: 48px; padding-bottom: 72px; }
.section { padding-top: 80px; padding-bottom: 80px; }
.band { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.two-col { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 56px; }

.ticks { list-style: none; margin: 0; padding: 0; }
.ticks li { position: relative; padding: 14px 0 14px 30px; border-top: 1px solid var(--line); }
.ticks li:last-child { border-bottom: 1px solid var(--line); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 26px; width: 16px; height: 3px; border-radius: 2px; background: var(--accent); }
.ticks.box li::before { width: 12px; height: 12px; top: 21px; border: 2.5px solid var(--brand); background: none; border-radius: 2px; }

.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 20px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 4px; padding: 28px; display: flex; flex-direction: column; gap: 12px; position: relative; transition: border-color .2s; }
.card p { margin: 0; font-size: 15px; line-height: 24px; color: var(--muted); }
.card .num { margin: 0; font-family: var(--mono); font-size: 12px; line-height: 18px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.card.is-link:hover { border-color: var(--line-strong); }
.stretch { color: inherit; text-decoration: none; }
.stretch::after { content: ""; position: absolute; inset: 0; border-radius: 4px; }
.stretch:hover { color: inherit; }
.more { display: inline-flex; gap: 6px; margin-top: auto; padding-top: 6px; font-weight: 500; font-size: 15px; color: var(--brand); text-decoration: none; }
.more .arr { display: inline-block; transition: transform .2s; }
.card:hover .more .arr, .more:hover .arr { transform: translateX(4px); }
.more-light { color: var(--accent-light); }
.more-light:hover { color: #fff; }

/* FAQ */
.faq { max-width: 860px; }
.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 44px 20px 0; position: relative; font-family: var(--display); font-weight: 600; font-size: 19px; line-height: 28px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 18px; font-family: var(--mono); font-size: 22px; color: var(--accent); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 22px; color: var(--muted); max-width: 46em; }

/* CTA band + footer */
.cta-band { background: var(--ink); color: var(--night-text); }
.cta-inner { padding-top: 80px; padding-bottom: 80px; display: flex; flex-wrap: wrap; gap: 32px 64px; align-items: flex-end; justify-content: space-between; }
.cta-inner > div:first-child { flex: 999 1 520px; min-width: 0; }
.cta-band h2 { color: #fff; font-size: clamp(28px, 3.4vw, 42px); line-height: 1.12; letter-spacing: -.01em; max-width: 20ch; margin-bottom: 16px; }
.cta-band p { margin: 0; color: var(--night-muted); max-width: 34em; }
.cta-actions { flex: 1 1 280px; display: flex; flex-direction: column; gap: 14px; }
.cta-actions a:not(.btn) { color: var(--night-text); font-size: 15px; }
.cta-actions a:not(.btn):hover { color: #fff; }

.sb-footer { background: var(--ink); color: var(--night-muted); font-size: 14px; line-height: 22px; border-top: 1px solid var(--night-line); }
.foot-grid { padding-top: 48px; padding-bottom: 36px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 32px; }
.foot-grid img { height: 22px; width: auto; display: block; margin-bottom: 14px; }
.foot-title { font-family: var(--mono); font-size: 12px; line-height: 16px; letter-spacing: .12em; text-transform: uppercase; color: var(--night-text); margin: 0 0 14px; }
.sb-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.sb-footer a { color: #C9D1D8; text-decoration: none; }
.sb-footer a:hover { color: #fff; text-decoration: underline; }
.foot-bottom { border-top: 1px solid var(--night-line); padding-top: 20px; padding-bottom: 28px; display: flex; flex-wrap: wrap; gap: 12px 32px; justify-content: space-between; font-size: 13px; }

/* About */
.about-head { display: flex; flex-wrap: wrap; gap: 40px 56px; align-items: flex-start; }
.about-head > div:not(.portrait-wrap) { flex: 999 1 480px; min-width: 0; }
.portrait-wrap { position: relative; flex: 0 0 auto; }
.portrait { width: 220px; aspect-ratio: 1; object-fit: cover; object-position: 50% 30%; border-radius: 4px; display: block; }
.portrait-wrap::after { content: ""; position: absolute; left: 0; bottom: -10px; width: 48px; height: 3px; border-radius: 2px; background: var(--accent); }
.prose p { margin: 0 0 18px; font-size: 17px; line-height: 28px; }
.facts { margin: 0; }
.facts div { padding: 14px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: minmax(100px, 150px) 1fr; gap: 16px; }
.facts div:last-child { border-bottom: 1px solid var(--line); }
.facts dt { font-family: var(--mono); font-size: 12px; line-height: 24px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 0; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { padding: 8px 14px; border-radius: 2px; background: var(--brand-soft); font-size: 15px; line-height: 22px; }

/* Contact */
.channel { gap: 6px; }
.channel .overline { margin: 0; }
.channel a { font-family: var(--display); font-weight: 600; font-size: 21px; line-height: 30px; text-decoration: none; color: var(--ink); overflow-wrap: anywhere; }
.channel a:hover { color: var(--brand); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 40px; }
.steps li { border-top: 3px solid var(--ink); padding-top: 20px; }
.steps .num { font-family: var(--mono); font-size: 13px; color: var(--accent); margin-bottom: 8px; }
.steps h3 { margin-bottom: 8px; }
.steps p { margin: 0; font-size: 15px; line-height: 24px; color: var(--muted); }

/* Privacy */
.legal { max-width: 760px; }
.legal h2 { font-size: 22px; line-height: 30px; margin: 40px 0 12px; }
.legal p { margin: 0 0 14px; }
.legal .updated { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; color: var(--muted); }

@media (max-width: 600px) {
  .section { padding-top: 56px; padding-bottom: 56px; }
  .page-hero { padding-top: 32px; padding-bottom: 48px; }
  .cta-inner { padding-top: 56px; padding-bottom: 56px; }
  .facts div { grid-template-columns: 1fr; gap: 2px; }
  .portrait { width: 160px; }
}
