/* Soumission60 — one stylesheet for the public site, the request form and the installer portal. */
:root {
  --ink: #14213d;
  --muted: #5b6577;
  --line: #dde2ec;
  --bg: #f4f6fb;
  --paper: #ffffff;
  --brand: #f26b1d;
  --brand-ink: #b84a0c;
  --brand-soft: #fff1e8;
  --blue: #1f4fd1;
  --ok: #17784a;
  --ok-soft: #e6f5ec;
  --warn: #9a5b00;
  --warn-soft: #fff6df;
  --bad: #b42318;
  --bad-soft: #fdecea;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(20, 33, 61, .06), 0 8px 24px rgba(20, 33, 61, .06);
}
@media (prefers-color-scheme: dark) {
  :root {
    --ink: #e8ecf5; --muted: #a6afc2; --line: #2c3650; --bg: #0f1626; --paper: #172036;
    --brand: #ff8a42; --brand-ink: #ffb07f; --brand-soft: #3a2416; --blue: #7ea2ff;
    --ok: #5fd39a; --ok-soft: #13301f; --warn: #ffcc66; --warn-soft: #33290f; --bad: #ff8a80; --bad-soft: #3a1714;
    --shadow: none;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 16px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
a { color: var(--blue); }
img { max-width: 100%; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.01em; margin: 0 0 .5em; }
h1 { font-size: clamp(1.9rem, 4.6vw, 3rem); font-weight: 850; }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 750; }
p { margin: 0 0 1em; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 720px; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.hidden { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* header / footer */
.top { background: var(--paper); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 16px; min-height: 64px; flex-wrap: wrap; }
.logo { display: inline-flex; align-items: center; gap: 8px; font-weight: 850; font-size: 1.3rem; color: var(--ink); text-decoration: none; letter-spacing: -.02em; }
.logo b { color: var(--brand); }
.logo svg { width: 30px; height: 30px; }
.top nav { margin-left: auto; display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.top nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; }
.top nav a:hover { color: var(--brand-ink); }
.lang { border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; }
.foot { margin-top: 64px; padding: 32px 0 48px; border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; }
.foot a { color: var(--muted); }
.foot nav { display: flex; gap: 16px; flex-wrap: wrap; }

/* hero */
.hero { padding: 48px 0 24px; }
.hero .wrap { display: grid; gap: 32px; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 900px) { .hero .wrap { grid-template-columns: 1fr 460px; } }
.hero h1 span { color: var(--brand); }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 34em; }
.ticks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; }
.ticks li::before { content: "✓"; flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--ok-soft); color: var(--ok); display: grid; place-items: center; font-size: .85rem; font-weight: 900; }

/* cards & sections */
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.section { padding: 40px 0 8px; }
.grid3 { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.step-n { width: 36px; height: 36px; border-radius: 10px; background: var(--brand-soft); color: var(--brand-ink); display: grid; place-items: center; font-weight: 850; margin-bottom: 10px; }
details { border-bottom: 1px solid var(--line); padding: 14px 0; }
details summary { cursor: pointer; font-weight: 700; }
details p { margin: 10px 0 0; color: var(--muted); }
.prose h2 { margin-top: 1.6em; }
.prose li { margin-bottom: .4em; }
.note { background: var(--warn-soft); color: var(--ink); border-radius: 10px; padding: 12px 14px; }
table.prices { width: 100%; border-collapse: collapse; }
table.prices td, table.prices th { text-align: left; padding: 10px 6px; border-bottom: 1px solid var(--line); }
table.prices td:last-child, table.prices th:last-child { text-align: right; font-weight: 800; }

/* buttons & forms */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; cursor: pointer; text-decoration: none;
  background: var(--brand); color: #fff; font: inherit; font-weight: 750; padding: 13px 20px; border-radius: 11px; min-height: 48px; }
.btn:hover { background: var(--brand-ink); }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn.ghost:hover { border-color: var(--ink); background: transparent; }
.btn.small { min-height: 38px; padding: 8px 14px; font-size: .9rem; }
.btn.block { width: 100%; }
label { display: block; font-weight: 650; margin: 14px 0 6px; }
input[type=text], input[type=email], input[type=tel], textarea, select {
  width: 100%; font: inherit; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 12px 13px; min-height: 48px; }
textarea { min-height: 92px; resize: vertical; }
input:focus, textarea:focus, select:focus, .opt:focus-visible, .btn:focus-visible { outline: 3px solid color-mix(in srgb, var(--brand) 45%, transparent); outline-offset: 1px; }
input:user-invalid { border-color: var(--bad); }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; margin: 16px 0; }
.check input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--brand); }
.err { color: var(--bad); background: var(--bad-soft); border-radius: 10px; padding: 10px 12px; margin: 12px 0 0; font-weight: 600; }
.okbox { color: var(--ok); background: var(--ok-soft); border-radius: 10px; padding: 12px 14px; font-weight: 600; }
.hp { position: absolute; left: -9999px; }

/* request wizard */
.wizard { position: relative; }
.wizard h2 { font-size: 1.35rem; }
.bar { height: 6px; background: var(--line); border-radius: 99px; overflow: hidden; margin: 0 0 18px; }
.bar i { display: block; height: 100%; background: var(--brand); border-radius: 99px; transition: width .25s; }
.opts { display: grid; gap: 10px; }
.opts.two { grid-template-columns: 1fr 1fr; }
.opt { text-align: left; width: 100%; background: var(--paper); color: var(--ink); border: 1.5px solid var(--line); border-radius: 12px; padding: 13px 14px; font: inherit; cursor: pointer; min-height: 52px; }
.opt strong { display: block; }
.opt span { display: block; color: var(--muted); font-size: .88rem; }
.opt:hover { border-color: var(--brand); }
.opt[aria-pressed=true] { border-color: var(--brand); background: var(--brand-soft); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips .opt { width: auto; min-height: 40px; padding: 8px 14px; }
.nav-row { display: flex; gap: 10px; margin-top: 20px; }
.nav-row .btn { flex: 1; }
.nav-row .btn.ghost { flex: 0 0 auto; }

/* portal */
.stats { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.stat { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 16px; }
.stat b { display: block; font-size: 1.6rem; }
.badge { display: inline-block; border-radius: 99px; padding: 2px 10px; font-size: .8rem; font-weight: 750; background: var(--line); color: var(--ink); }
.badge.ok { background: var(--ok-soft); color: var(--ok); }
.badge.warn { background: var(--warn-soft); color: var(--warn); }
.badge.bad { background: var(--bad-soft); color: var(--bad); }
.offer { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 18px; margin: 12px 0; }
.offer.hl { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.offer header { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: baseline; }
.kv { display: grid; grid-template-columns: max-content 1fr; gap: 4px 14px; margin: 12px 0; font-size: .95rem; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; font-weight: 600; }
.row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.packs { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
dialog { border: 0; border-radius: 16px; padding: 24px; max-width: 440px; width: calc(100% - 32px); background: var(--paper); color: var(--ink); }
dialog::backdrop { background: rgba(10, 16, 30, .55); }
.devbox { background: #fff7d6; color: #5a4300; border: 1px dashed #c9a400; border-radius: 10px; padding: 10px 12px; font-size: .9rem; word-break: break-all; margin-top: 12px; }
