/* SCiMon.co — shared styles. Layout: narrow header, generous section bands, one dark band per page for emphasis. */
:root {
  --paper: #F2F4F6;
  --white: #FFFFFF;
  --ink: #0E1B2C;
  --ink-2: #2C3D52;
  --muted: #56657A;
  --line: #C9D2DC;
  --amber: #FBB03B;
  --amber-ink: #8A5A00;
  --on-dark-muted: #AEBBCB;
  --f-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
  --wrap: 1120px;
  --gutter: max(20px, env(safe-area-inset-left, 0px));
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--f-display); font-size: 17px; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-decoration-color: var(--amber); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--ink-2); }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; }

/* Header */
.site-header { background: var(--paper); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 14px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 64px; height: auto; }
.brand span { font-weight: 800; font-size: 22px; letter-spacing: -0.01em; }
.nav { display: flex; flex-wrap: wrap; gap: 4px 18px; align-items: center; }
.nav a { text-decoration: none; font-weight: 600; font-size: 15px; color: var(--ink-2); padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); border-color: var(--amber); }
.nav .btn { padding: 8px 16px; border-bottom: 0; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; background: var(--ink); color: #fff; text-decoration: none; font-weight: 700; padding: 12px 20px; border-radius: 8px; border: 2px solid var(--ink); }
.btn:hover { background: var(--ink-2); color: #fff; }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--white); color: var(--ink); }
.btn.amber { background: var(--amber); border-color: var(--amber); color: var(--ink); }
.btn.amber:hover { background: #ffc261; color: var(--ink); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Type */
.eyebrow { font-family: var(--f-mono); font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: 10px; margin: 0 0 14px; }
.eyebrow .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--amber); }
h1, h2, h3 { line-height: 1.08; letter-spacing: -0.02em; text-wrap: balance; margin: 0; }
h1 { font-size: clamp(38px, 6vw, 64px); font-weight: 800; }
h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 800; }
h3 { font-size: 21px; font-weight: 700; letter-spacing: -0.01em; }
.lede { font-size: clamp(18px, 2vw, 21px); color: var(--ink-2); max-width: 62ch; margin: 20px 0 0; }
p { max-width: 68ch; }
.mono { font-family: var(--f-mono); font-size: 14px; }

/* Sections */
section { padding-block: 72px; }
.hero { padding-block: 72px 56px; }
.band-white { background: var(--white); border-block: 1px solid var(--line); }
.band-dark { background: var(--ink); color: #fff; }
.band-dark a { color: #fff; }
.band-dark .eyebrow { color: var(--on-dark-muted); }
.band-dark .lede, .band-dark p { color: #DCE3EB; }
.section-head { margin-bottom: 36px; }
.section-head p { color: var(--ink-2); margin: 14px 0 0; }

/* Grids and cards */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.card { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 26px 24px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.card p { margin: 0; color: var(--ink-2); }
.card .num { font-family: var(--f-mono); font-size: 13px; font-weight: 600; letter-spacing: 0.1em; color: var(--muted); }
.card.dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.card.dark p { color: #DCE3EB; }
.card.dark .num { color: var(--amber); }
a.card { text-decoration: none; transition: border-color .15s, transform .15s; }
a.card:hover { border-color: var(--ink); transform: translateY(-2px); }
.card .more { margin-top: auto; padding-top: 8px; font-weight: 700; font-size: 15px; }

/* Flow (home hero) */
.flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 0; align-items: stretch; margin-top: 48px; }
.flow .arrow { display: flex; align-items: center; justify-content: center; width: 44px; }
.flow .card { height: 100%; }
@media (max-width: 860px) {
  .flow { grid-template-columns: 1fr; gap: 12px; }
  .flow .arrow { width: auto; height: 20px; transform: rotate(90deg); }
}

/* Lists */
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ticks li { padding-left: 28px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 14px; height: 8px; border-left: 3px solid var(--amber); border-bottom: 3px solid var(--amber); transform: rotate(-45deg); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.chips li { border: 1px solid var(--line); background: var(--white); border-radius: 999px; padding: 5px 14px; font-size: 15px; font-weight: 600; }
.band-dark .chips li { background: transparent; border-color: #3A4C63; color: #fff; }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; gap: 16px; }
.steps li { counter-increment: s; background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 22px 24px 22px 76px; position: relative; }
.steps li::before { content: counter(s, decimal-leading-zero); position: absolute; left: 24px; top: 22px; font-family: var(--f-mono); font-weight: 600; color: var(--muted); }
.steps h3 { margin-bottom: 6px; }
.steps p { margin: 0; color: var(--ink-2); }
.steps .who { display: inline-block; margin-top: 10px; font-family: var(--f-mono); font-size: 13px; padding: 2px 10px; border-radius: 999px; background: var(--paper); }
.steps .who.human { background: #FFF1D9; color: var(--amber-ink); }

/* Callouts */
.callout { border: 2px solid var(--ink); border-radius: 12px; padding: 24px; background: var(--white); }
.callout.warn { border-color: var(--amber); background: #FFF8EC; }
.callout h3 { margin-bottom: 8px; }
.callout p { margin: 0; }
.tagline { font-family: var(--f-mono); font-size: 15px; letter-spacing: 0.04em; color: var(--muted); margin-top: 18px; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); padding-block: 18px; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: "+"; font-family: var(--f-mono); color: var(--muted); }
.faq details[open] summary::after { content: "–"; }
.faq summary::-webkit-details-marker { display: none; }
.faq details p { margin: 10px 0 0; color: var(--ink-2); }

/* Contact blocks */
.contact-line { display: flex; flex-direction: column; gap: 4px; }
.contact-line .label { font-family: var(--f-mono); font-size: 13px; letter-spacing: 0.1em; color: var(--muted); text-transform: uppercase; }
.contact-line .value { font-size: clamp(22px, 3vw, 30px); font-weight: 800; word-break: break-word; }

/* CTA band */
.cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta .email { font-size: clamp(28px, 4vw, 44px); font-weight: 800; letter-spacing: -0.01em; color: #fff; text-decoration-color: var(--amber); }

/* Footer */
.site-footer { background: var(--ink); color: #DCE3EB; padding-block: 48px 40px; font-size: 15px; border-top: 1px solid #22344A; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; text-decoration-color: var(--amber); }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 28px; }
.footer-grid h4 { font-family: var(--f-mono); font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--on-dark-muted); margin: 0 0 12px; font-weight: 600; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand .logo-chip { background: #fff; border-radius: 8px; padding: 6px 8px; }
.footer-brand img { width: 52px; }
.footer-brand span { font-weight: 800; font-size: 20px; color: #fff; }
.legal { margin-top: 36px; padding-top: 20px; border-top: 1px solid #22344A; color: var(--on-dark-muted); font-size: 14px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
