/* allsafe.rs (2026-10-26). Light by default, dark when the visitor's system is dark. */
:root {
  --bg: #fbfbfd;
  --bg-2: #f2f3f6;
  --ink: #16181d;
  --ink-2: #4c525c;
  --muted: #80868f;
  --line: #e4e6eb;
  --navy: #1f2a3c;
  --accent: #0b63ce;
  --accent-ink: #ffffff;
  --ok: #23a45a;
  --nok: #d7263d;
  --open: #b8bcc4;
  --spot: #7b2cbf;
  --card: #ffffff;
  --shadow: 0 30px 80px -30px rgba(22, 28, 45, 0.35), 0 10px 30px -15px rgba(22, 28, 45, 0.2);
  --radius: 22px;
  --wide: 1180px;
  --text: 720px;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0c0e12;
    --bg-2: #14171d;
    --ink: #eef0f3;
    --ink-2: #b4bac3;
    --muted: #8a919b;
    --line: #262a32;
    --accent: #4f9cff;
    --card: #171a20;
    --shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.8), 0 10px 30px -15px rgba(0, 0, 0, 0.6);
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.55 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "ss01", "cv11";
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ---------- top bar ---------- */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: saturate(180%) blur(18px); -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}
.nav-in { max-width: var(--wide); margin: 0 auto; padding: 0 20px; height: 56px; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 9px; color: var(--ink); font-weight: 650; font-size: 19px; letter-spacing: -0.02em; }
.brand:hover { text-decoration: none; }
.brand i { width: 10px; height: 10px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px color-mix(in srgb, var(--ok) 22%, transparent); }
.links { display: flex; gap: 24px; margin-left: auto; font-size: 14px; }
.links a { color: var(--ink-2); }
.links a:hover { color: var(--ink); text-decoration: none; }
.links a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.links a.btn, .links a.btn:hover, .links a.btn[aria-current="page"] { color: var(--accent-ink); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-weight: 600; font-size: 15px; line-height: 1;
  padding: 13px 22px; border-radius: 999px; border: 1px solid transparent; cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn.primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 8px 20px -10px color-mix(in srgb, var(--accent) 80%, transparent); }
.btn.ghost { color: var(--ink); border-color: var(--line); background: transparent; }
.btn.small { padding: 9px 16px; font-size: 13.5px; }
.btn:disabled { opacity: 0.55; cursor: default; transform: none; }

/* ---------- type ---------- */
.eyebrow { font-size: 14px; font-weight: 600; color: var(--accent); letter-spacing: 0.01em; margin: 0 0 14px; }
h1, h2, h3 { letter-spacing: -0.035em; line-height: 1.06; margin: 0; font-weight: 700; }
h1 { font-size: clamp(40px, 7vw, 80px); }
h2 { font-size: clamp(32px, 4.8vw, 56px); }
h3 { font-size: 21px; letter-spacing: -0.02em; line-height: 1.25; font-weight: 650; }
.lead { font-size: clamp(18px, 2vw, 22px); line-height: 1.5; color: var(--ink-2); max-width: 640px; margin: 22px 0 0; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* ---------- sections ---------- */
section { padding: 110px 20px; }
.in { max-width: var(--wide); margin: 0 auto; }
.alt { background: var(--bg-2); }
.dark { background: #0b0d11; color: #eef0f3; }
.dark .lead, .dark p { color: #aab1bb; }

/* hero */
.hero { padding-top: 88px; padding-bottom: 40px; overflow: hidden; }
.hero .cta { display: flex; gap: 12px; justify-content: center; margin-top: 34px; flex-wrap: wrap; }
.stage { position: relative; max-width: 1080px; margin: 70px auto 0; }
.window {
  border-radius: 16px; overflow: hidden; background: var(--card); box-shadow: var(--shadow);
  border: 1px solid color-mix(in srgb, var(--line) 80%, transparent);
}
.window .chrome { height: 30px; display: flex; align-items: center; gap: 7px; padding: 0 14px; background: #1b2230; }
.window .chrome b { width: 10px; height: 10px; border-radius: 50%; background: #3a4456; }
.phone {
  width: 270px; border-radius: 42px; padding: 10px; background: #0b0d11; box-shadow: var(--shadow);
  border: 1px solid #2a2f38;
}
.phone img { border-radius: 33px; }
.stage .phone { position: absolute; right: -40px; bottom: -60px; width: 230px; }

/* system chips */
.systems { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 64px; }
.chip { display: inline-flex; align-items: center; gap: 9px; padding: 9px 16px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-size: 14.5px; color: var(--ink-2); }
.chip i { width: 9px; height: 9px; border-radius: 50%; }

/* feature rows */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.feature.flip .text { order: 2; }
.feature .text p { color: var(--ink-2); font-size: 18px; margin: 18px 0 0; max-width: 470px; }
.feature .text p.eyebrow { color: var(--accent); font-size: 14px; margin: 0 0 14px; }
.feature .art { display: flex; justify-content: center; }
/* a picture never makes its box wider than the screen (flex and grid items keep their picture's full width otherwise) */
.feature > *, .trio > *, .art > *, .form-grid > *, .reports > * { min-width: 0; max-width: 100%; }
.legend { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 26px; font-size: 14px; color: var(--ink-2); }
.legend span { display: inline-flex; align-items: center; gap: 8px; }
.legend i { width: 11px; height: 11px; border-radius: 50%; }

.wide-shot { margin-top: 64px; }
.status-strip { margin-top: 18px; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); }

/* three systems */
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 64px; }
.trio figure { margin: 0; }
.trio .window { border-radius: 12px; }
.trio figcaption { font-size: 15px; color: var(--ink-2); margin-top: 14px; display: flex; align-items: center; gap: 8px; }
.trio figcaption i { width: 9px; height: 9px; border-radius: 50%; }

/* facts */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-top: 64px; }
.fact { background: var(--card); padding: 30px 26px 32px; }
.fact p { color: var(--ink-2); font-size: 15.5px; margin: 10px 0 0; }

/* import steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 60px; counter-reset: s; }
.step { border-top: 1px solid #2c323c; padding-top: 22px; }
.step::before { counter-increment: s; content: counter(s, decimal-leading-zero); display: block; font: 600 14px/1 ui-monospace, "SF Mono", Consolas, monospace; color: #6f7a88; margin-bottom: 16px; }
.step p { margin: 10px 0 0; font-size: 16px; }

/* closing */
.closing { padding: 130px 20px; }
.closing .btn { margin-top: 34px; }

footer { border-top: 1px solid var(--line); padding: 28px 20px 40px; font-size: 13.5px; color: var(--muted); }
footer .in { display: flex; gap: 20px; flex-wrap: wrap; align-items: center; }
footer .in span:last-child { margin-left: auto; }

/* ---------- request a demo ---------- */
.form-page { padding-top: 80px; }
.form-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 72px; align-items: start; }
.form-side p { color: var(--ink-2); font-size: 18px; }
.form-side p.eyebrow { color: var(--accent); font-size: 14px; }
.form-side ul { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 14px; color: var(--ink-2); font-size: 16px; }
.form-side li { display: flex; gap: 12px; }
.form-side li i { flex: 0 0 auto; width: 9px; height: 9px; border-radius: 50%; background: var(--ok); margin-top: 8px; }
form.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; box-shadow: 0 20px 60px -40px rgba(22, 28, 45, 0.35); }
.field { margin-bottom: 18px; }
.field label, .field .label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 7px; color: var(--ink); }
.field .opt { color: var(--muted); font-weight: 500; }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; font-size: 16px; padding: 12px 14px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--bg); color: var(--ink); transition: border-color 0.15s, box-shadow 0.15s;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.checks { display: flex; flex-wrap: wrap; gap: 8px; }
.checks label { display: inline-flex; align-items: center; gap: 8px; padding: 8px 13px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; font-weight: 500; cursor: pointer; margin: 0; }
.checks input { width: auto; margin: 0; accent-color: var(--accent); }
.checks label:has(input:checked) { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 8%, transparent); }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { margin-top: 14px; font-size: 15px; min-height: 22px; }
.form-msg.bad { color: var(--nok); }
.done { text-align: center; padding: 30px 10px; }
.done .tick { width: 54px; height: 54px; border-radius: 50%; background: var(--ok); margin: 0 auto 20px; display: grid; place-items: center; color: #fff; font-size: 28px; }


/* team: the sync drawing, the stacked task pictures, the four safety points */
.sync { margin-top: 56px; }
.sync svg { width: 100%; height: auto; display: block; font: 600 17px Inter, -apple-system, "Segoe UI", sans-serif; }
.sync .links path { stroke: color-mix(in srgb, var(--accent) 45%, var(--line)); stroke-width: 2; stroke-dasharray: 6 7; fill: none; }
.sync .pulse circle { fill: var(--ok); }
.sync .hub rect { fill: var(--navy); }
.sync .hub text { fill: #fff; text-anchor: middle; }
.sync .node rect { fill: var(--card); stroke: var(--line); }
.sync .node text { fill: var(--ink); text-anchor: middle; }
.sync text.sm { font-size: 13px; font-weight: 500; opacity: 0.75; }
.sync svg.narrow { display: none; max-width: 420px; margin: 0 auto; }
.stack { flex-direction: column; gap: 18px; }
.stack .window { border-radius: 12px; }
.safe { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-top: 90px; }
.safe h3 { font-size: 17px; }
.safe h3::before { content: ""; display: block; width: 26px; height: 3px; border-radius: 2px; background: var(--ok); margin-bottom: 14px; }
.safe p { color: var(--ink-2); font-size: 15px; margin: 8px 0 0; }

/* reports: two pages side by side, then the Excel sheet */
.reports { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 64px; }
.reports figure { margin: 0; }
.paper { background: #fff; border-radius: 10px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid #e6e8ec; }
.reports figcaption, .caption { font-size: 15px; color: var(--ink-2); margin-top: 14px; }
.caption { text-align: center; }
@media (max-width: 900px) {
  .safe { grid-template-columns: 1fr 1fr; }
  .reports { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .sync svg.wide { display: none; }
  .sync svg.narrow { display: block; font-size: 15px; }
}
@media (max-width: 640px) {
  .safe { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .sync .pulse { display: none; } }

/* ---------- motion ---------- */
.rise { opacity: 0; transform: translateY(24px); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1); }
.rise.seen { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rise { opacity: 1; transform: none; transition: none; }
  .btn { transition: none; }
}

/* ---------- narrow screens ---------- */
@media (max-width: 900px) {
  section { padding: 80px 16px; }
  .feature, .form-grid { grid-template-columns: 1fr; gap: 44px; }
  .feature.flip .text { order: 0; }
  .trio { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .stage .phone { right: 8px; bottom: -40px; width: 34%; max-width: 190px; border-radius: 28px; padding: 6px; }
  .stage .phone img { border-radius: 22px; }
}
@media (max-width: 640px) {
  .nav-in { padding: 0 16px; gap: 14px; }
  .links a:not(.btn) { display: none; }
  .facts { grid-template-columns: 1fr; }
  .two { grid-template-columns: 1fr; }
  form.card { padding: 24px 18px; }
  .hero { padding-top: 56px; }
  .window .chrome { height: 20px; }
  .window .chrome b { width: 7px; height: 7px; }
  footer .in span:last-child { margin-left: 0; }
}
