/* Dialo Digital company site. One stylesheet, no build step. */
:root {
  --bg: #f5f7fb;
  --surface: #ffffff;
  --ink: #0f1b2d;
  --muted: #55627a;
  --line: #dde3ee;
  --accent: #1f4fd8;
  --accent-ink: #ffffff;
  --accent-soft: #e7edfd;
  --display: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0c1422;
    --surface: #131d30;
    --ink: #eef2f9;
    --muted: #a3afc4;
    --line: #25324a;
    --accent: #7c9dff;
    --accent-ink: #0c1422;
    --accent-soft: #1a2742;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); }
a:focus-visible, .btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--display); line-height: 1.15; text-wrap: balance; margin: 0; }

.wrap { max-width: 1040px; margin: 0 auto; padding-inline: max(20px, env(safe-area-inset-left)) max(20px, env(safe-area-inset-right)); }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: var(--surface); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; padding-block: 16px; }
.brand { font: 800 1.15rem var(--display); color: var(--ink); text-decoration: none; letter-spacing: -0.01em; }
.brand span { color: var(--accent); }
.nav { display: flex; flex-wrap: wrap; gap: 4px 22px; }
.nav a { color: var(--muted); text-decoration: none; font-size: 0.95rem; font-weight: 500; }
.nav a:hover { color: var(--ink); }

/* Hero */
.hero { padding-block: 72px 64px; }
.hero h1 { font-size: clamp(2.1rem, 5.2vw, 3.5rem); font-weight: 800; letter-spacing: -0.025em; max-width: 17ch; }
.hero p { margin: 20px 0 0; max-width: 56ch; font-size: 1.1rem; color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.btn { display: inline-block; padding: 12px 20px; border-radius: 10px; font-weight: 600; text-decoration: none; border: 1px solid transparent; }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { filter: brightness(1.08); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: var(--surface); }
.btn-ghost:hover { border-color: var(--muted); }

/* Sections */
section { padding-block: 56px; }
.section-head { max-width: 60ch; margin-bottom: 28px; }
.section-head h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; letter-spacing: -0.02em; }
.section-head p { margin: 10px 0 0; color: var(--muted); }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 22px; min-width: 0; }
.card h3 { font-size: 1.05rem; font-weight: 700; }
.card p { margin: 8px 0 0; color: var(--muted); font-size: 0.95rem; }

/* Outpost band */
.band { background: var(--surface); border-block: 1px solid var(--line); }
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 36px; align-items: start; }
.split > * { min-width: 0; }
.eyebrow { font: 700 0.78rem var(--display); letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); margin: 0 0 10px; }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; gap: 14px; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; }
.steps li::before {
  content: counter(step);
  display: grid; place-items: center;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--accent-soft); color: var(--accent);
  font: 700 0.95rem var(--display);
}
.steps strong { display: block; }
.steps span { color: var(--muted); font-size: 0.95rem; }

/* Contact */
.contact-box { background: var(--accent-soft); border-radius: 16px; padding: 32px; }
.contact-box h2 { font-size: clamp(1.4rem, 3vw, 1.8rem); font-weight: 800; }
.contact-box p { margin: 10px 0 0; color: var(--muted); max-width: 56ch; }
.email { display: inline-block; margin-top: 16px; font: 700 1.15rem var(--display); color: var(--ink); overflow-wrap: anywhere; user-select: all; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding-block: 26px; color: var(--muted); font-size: 0.9rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.site-footer a { color: var(--muted); }

/* Legal pages */
.legal { max-width: 720px; padding-block: 48px 64px; }
.legal h1 { font-size: clamp(1.8rem, 4vw, 2.4rem); font-weight: 800; letter-spacing: -0.02em; }
.legal .updated { color: var(--muted); font-size: 0.9rem; margin: 6px 0 28px; }
.legal h2 { font-size: 1.15rem; font-weight: 700; margin: 30px 0 8px; }
.legal p, .legal li { color: var(--ink); font-size: 0.97rem; }
.legal ul { padding-left: 20px; }
.legal li { margin-bottom: 4px; }
