
:root {
  --bg: #f7f4ee; --bg-2: #efe9df; --surface: #ffffff; --ink: #15191d; --ink-2: #4a535c; --ink-3: #5f6973;
  --navy: #14293a; --navy-2: #1f3a4d; --line: #e4ded3; --line-2: #d3ccbf;
  --sun: #e8a23a; --sun-ink: #8a5300; --ok: #0d6e50; --warn: #9a5b00; --danger: #b42318;
  --radius: 14px; --wrap: 1160px;
  --f: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--f); }
img, svg { display: block; max-width: 100%; }
a { color: var(--navy-2); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.025em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 5.2vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); font-weight: 780; }
h3 { font-size: 1.15rem; font-weight: 720; letter-spacing: -.01em; }
p { margin: 0 0 1rem; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--navy); color: #fff; padding: .6rem 1rem; border-radius: 8px; z-index: 10; }
.skip:focus { left: 12px; }

/* Header */
.top { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent); }
.top .wrap { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 800; font-size: 1.28rem; letter-spacing: -.03em; }
.brand svg { width: 34px; height: 34px; }
.nav { display: flex; gap: 6px; margin-left: auto; align-items: center; }
.nav a { color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: .95rem; padding: .45rem .7rem; border-radius: 8px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); background: var(--bg-2); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 48px; padding: .7rem 1.25rem; border-radius: 10px; font-weight: 700; font-size: 1rem; text-decoration: none; border: 1.5px solid transparent; transition: transform .08s, background .15s, border-color .15s; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--navy); color: #fff; box-shadow: 0 1px 0 rgba(255,255,255,.1) inset, 0 6px 18px rgba(20,41,58,.18); }
.btn-primary:hover { background: #0d1c28; color: #fff; }
.btn-ghost { border-color: var(--line-2); color: var(--ink); background: var(--surface); }
.btn-ghost:hover { border-color: var(--ink-3); color: var(--ink); }
.btn-sun { background: var(--sun); color: #1c1305; }
.btn-sun:hover { background: #f0b14f; color: #1c1305; }
.nav .btn { min-height: 40px; padding: .45rem 1rem; font-size: .95rem; margin-left: 6px; color: #fff; }
.nav .btn:hover { color: #fff; background: #0d1c28; }

/* Home: hero */
.hero { position: relative; overflow: hidden; padding: 72px 0 88px; }
.hero::before { content: ""; position: absolute; inset: auto -20% -55% 30%; height: 120%; background: radial-gradient(closest-side, rgba(232,162,58,.20), transparent 70%); pointer-events: none; }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: .55rem; font-size: .82rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; color: var(--sun-ink); margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--sun); border-radius: 2px; }
.lede { font-size: 1.2rem; color: var(--ink-2); max-width: 36em; margin: 22px 0 30px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.note { font-size: .92rem; color: var(--ink-3); margin-top: 18px; }

/* Hero picture: an office board and a crew phone, drawn in HTML */
.shot { position: relative; padding: 0 0 56px; }
.board { position: relative; margin-right: 60px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 2px 6px rgba(16,24,32,.05), 0 28px 60px rgba(16,24,32,.12); padding: 18px; }
.board-h { display: flex; align-items: center; justify-content: space-between; font-size: .8rem; color: var(--ink-3); font-weight: 650; padding: 2px 4px 12px; border-bottom: 1px solid var(--line); }
.board-h b { color: var(--ink); font-size: .95rem; }
.dots { display: flex; gap: 5px; } .dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-2); }
.row { display: grid; grid-template-columns: 1fr; justify-items: start; gap: 5px; padding-right: 130px; padding: 12px 4px; border-bottom: 1px solid var(--line); font-size: .86rem; }
.row:last-child { border-bottom: 0; }
.row .t { font-weight: 700; color: var(--ink); }
.row .s { color: var(--ink-3); font-size: .8rem; }
.bar { grid-column: 1 / -1; justify-self: stretch; display: grid; grid-template-columns: repeat(8, 1fr); gap: 3px; margin-top: 4px; }
.bar i { height: 5px; border-radius: 3px; background: var(--line); }
.bar i.d { background: var(--navy-2); } .bar i.n { background: var(--sun); } .bar i.x { background: var(--danger); }
.chip { font-size: .72rem; font-weight: 750; padding: .2rem .55rem; border-radius: 999px; white-space: nowrap; }
.chip.stuck { background: #fde7e4; color: var(--danger); } .chip.wait { background: #fff1d6; color: var(--warn); } .chip.ok { background: #dcf3ea; color: var(--ok); }
.phone { position: absolute; right: 0; bottom: 0; width: 226px; z-index: 1; background: var(--navy); border-radius: 34px; padding: 10px; box-shadow: 0 30px 60px rgba(13,28,40,.35); }
.screen { background: var(--bg); border-radius: 26px; overflow: hidden; font-size: .78rem; }
.ph-top { background: var(--navy-2); color: #fff; padding: 22px 14px 14px; }
.ph-top small { display: block; opacity: .75; font-size: .7rem; }
.ph-top b { font-size: .98rem; }
.ph-body { padding: 12px; display: grid; gap: 8px; }
.off { display: flex; gap: 6px; align-items: center; background: #fff1d6; color: #6b3f00; font-weight: 700; padding: .4rem .6rem; border-radius: 8px; font-size: .7rem; }
.off::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--sun); }
.ck { display: flex; gap: 8px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 9px; padding: .5rem .6rem; color: var(--ink); }
.ck i { flex: none; width: 15px; height: 15px; border-radius: 5px; border: 1.5px solid var(--line-2); }
.ck.on i { background: var(--ok); border-color: var(--ok); box-shadow: inset 0 0 0 3px #fff; }
.clock { background: var(--surface); border: 1px solid var(--line); border-radius: 9px; padding: .55rem .6rem; display: flex; justify-content: space-between; align-items: center; color: var(--ink); }
.clock b, .clock small { white-space: nowrap; } .clock b { font-variant-numeric: tabular-nums; font-size: .92rem; }
.clock span { background: var(--navy); color: #fff; font-weight: 700; padding: .3rem .55rem; border-radius: 7px; font-size: .7rem; }

/* Sections */
section { padding: 88px 0; }
.band { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.head { max-width: 46rem; margin-bottom: 44px; }
.head p { color: var(--ink-2); font-size: 1.1rem; margin-top: 14px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.band .card { background: var(--bg); }
.card p { color: var(--ink-2); margin: 10px 0 0; font-size: .98rem; }
.ic { width: 44px; height: 44px; border-radius: 11px; background: var(--navy); display: grid; place-items: center; margin-bottom: 18px; }
.ic svg { width: 24px; height: 24px; }
.card.wide { grid-column: span 2; }
.tag { display: inline-block; margin-left: 6px; font-size: .7rem; font-weight: 750; letter-spacing: .04em; text-transform: uppercase; color: var(--sun-ink); background: #fff1d6; padding: .12rem .45rem; border-radius: 6px; vertical-align: 3px; }

/* Stages strip */
.stages { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(8, 1fr); gap: 8px; counter-reset: s; }
.stages li { position: relative; background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 14px 12px 12px; font-weight: 700; font-size: .92rem; }
.stages li::before { counter-increment: s; content: counter(s); display: block; font-size: .75rem; color: var(--ink-3); font-weight: 650; margin-bottom: 6px; }
.stages li span { display: block; font-weight: 500; color: var(--ink-3); font-size: .78rem; margin-top: 2px; }
.stages li.st { border-color: #f3b9b1; background: #fff6f4; }
.stages li.st span { color: var(--danger); font-weight: 700; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.ticks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 30px; color: var(--ink-2); }
.ticks li::before { content: ""; position: absolute; left: 0; top: .32em; width: 18px; height: 18px; border-radius: 50%; background: var(--navy); box-shadow: inset 0 0 0 5px var(--navy), inset 0 0 0 9px var(--sun); }
.ticks b { color: var(--ink); }
.panel { background: var(--navy); color: #e9eef2; border-radius: 20px; padding: 30px; }
.panel h3 { color: #fff; }
.panel .lines { margin-top: 18px; display: grid; gap: 10px; }
.panel .ln { display: flex; justify-content: space-between; gap: 12px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 10px; padding: .7rem .9rem; font-size: .92rem; }
.panel .ln span:last-child { color: var(--sun); font-weight: 700; white-space: nowrap; }
.panel p { color: #c4d0d9; font-size: .95rem; margin: 14px 0 0; }

/* Call to action */
.final { background: var(--navy); color: #fff; border-radius: 24px; padding: 56px; display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; position: relative; overflow: hidden; }
.final::after { content: ""; position: absolute; right: -120px; top: -160px; width: 420px; height: 420px; border-radius: 50%; border: 2px dashed rgba(232,162,58,.35); }
.final h2 { color: #fff; }
.final p { color: #c4d0d9; margin: 12px 0 0; font-size: 1.08rem; }
.final .btn { position: relative; z-index: 1; }

/* Text pages (legal, support, security) */
.page { padding: 56px 0 80px; }
.page .wrap { max-width: 820px; }
.page h1 { font-size: clamp(2.1rem, 4.4vw, 3rem); }
.page .meta { color: var(--ink-3); margin: 14px 0 34px; font-size: .95rem; }
.page h2 { font-size: 1.45rem; margin: 44px 0 12px; padding-top: 6px; }
.page h3 { margin: 26px 0 8px; }
.page p, .page li { color: #2b333a; }
.page ul, .page ol { padding-left: 1.3rem; margin: 0 0 1rem; }
.page li { margin: .35rem 0; }
.page .toc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; margin: 0 0 8px; }
.page .toc b { display: block; margin-bottom: 6px; }
.page .toc ol { columns: 2; column-gap: 28px; margin: 0; }
.page .toc li { margin: 0; padding: .2rem 0; break-inside: avoid; }
.box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; margin: 18px 0; }
.box h3 { margin-top: 0; }
.mail { display: inline-flex; font-weight: 750; font-size: 1.15rem; }
.ph { background: #fff1d6; color: #6b3f00; border: 1px dashed #d99a2b; border-radius: 4px; padding: 0 .3em; font-weight: 650; }
.caps { text-transform: uppercase; font-size: .93rem; letter-spacing: .01em; }
table { width: 100%; border-collapse: collapse; margin: 8px 0 18px; font-size: .95rem; background: var(--surface); border-radius: 10px; overflow: hidden; border: 1px solid var(--line); }
th, td { text-align: left; vertical-align: top; padding: .7rem .85rem; border-bottom: 1px solid var(--line); }
th { background: var(--bg-2); font-weight: 700; }
tr:last-child td { border-bottom: 0; }
.big404 { font-size: clamp(4rem, 14vw, 8rem); font-weight: 850; letter-spacing: -.05em; color: var(--navy); line-height: 1; margin-bottom: 12px; }

/* Footer */
.foot { border-top: 1px solid var(--line); padding: 44px 0 52px; color: var(--ink-3); font-size: .92rem; }
.foot .wrap { display: grid; grid-template-columns: 1fr auto; gap: 22px 40px; align-items: start; }
.foot nav { display: flex; flex-wrap: wrap; gap: 6px 22px; justify-content: flex-end; }
.foot nav a { color: var(--ink-2); text-decoration: none; font-weight: 600; }
.foot nav a:hover { color: var(--ink); text-decoration: underline; }
.foot p { margin: 8px 0 0; max-width: 40rem; }

@media (max-width: 980px) {
  .hero .wrap, .two { grid-template-columns: 1fr; gap: 44px; }
  .shot { max-width: 600px; }
  .grid { grid-template-columns: 1fr 1fr; }
  .stages { grid-template-columns: repeat(4, 1fr); }
  .final { grid-template-columns: 1fr; padding: 40px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .top .wrap { min-height: 60px; gap: 12px; }
  .nav a:not(.btn) { display: none; }
  .hero { padding: 40px 0 56px; }
  .lede { font-size: 1.08rem; }
  .shot { padding-bottom: 150px; }
  .board { margin-right: 0; padding: 14px; }
  .row { padding-right: 0; }
  .board-h span:nth-child(2) { display: none; }
  .row:nth-child(n+5) { display: none; }
  .phone { width: 190px; right: 6px; }
  .ph-body .ck:nth-child(n+5) { display: none; }
  section { padding: 60px 0; }
  .grid { grid-template-columns: 1fr; }
  .card.wide { grid-column: auto; }
  .stages { grid-template-columns: 1fr 1fr; }
  .final { padding: 32px 22px; border-radius: 18px; }
  .page { padding: 36px 0 56px; }
  .page .toc ol { columns: 1; }
  .foot .wrap { grid-template-columns: 1fr; }
  .foot nav { justify-content: flex-start; }
  table { font-size: .88rem; } th, td { padding: .55rem .6rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }
@media print { .top, .foot nav, .skip { display: none; } body { background: #fff; } }
