/* Shared styles for the referos.app and autoglassos.app coming-soon pages. Light only, no web fonts,
   no scripts. Each page sets its accent with a body class. */

:root {
  color-scheme: light only;
  --ink: #0f172a;
  --muted: #475569;
  --line: #e2e8f0;
  --paper: #ffffff;
  --wash: #f4f7fb;
  --map: #e3ebf5;
  --pin: #94a3b8;
  --accent: #1d4ed8;
  --accent-strong: #1e3a8a;
  --accent-soft: #dbeafe;
  --radius: 16px;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.site-autoglassos {
  --accent: #0e7490;
  --accent-strong: #164e63;
  --accent-soft: #cffafe;
}

*, *::before, *::after { box-sizing: border-box; }

html { background: var(--paper); color: var(--ink); }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  background: var(--paper);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: var(--accent); }
a:hover { color: var(--accent-strong); }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* Header */
.top { border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--ink); text-decoration: none;
  font-weight: 800; font-size: 1.25rem; letter-spacing: -0.01em;
}
.brand:hover { color: var(--ink); }
.brand-mark { width: 30px; height: 30px; flex: none; }
.brand-mark .bg { fill: var(--accent); }
.brand-mark .pin { fill: #ffffff; }
.brand-mark .dot { fill: var(--accent); }
.top-link { color: var(--muted); text-decoration: none; font-size: 0.95rem; overflow-wrap: anywhere; }
.top-link:hover { color: var(--ink); }

/* Hero */
.hero {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center;
  padding-top: 72px; padding-bottom: 80px;
}
.eyebrow {
  display: inline-block; margin: 0 0 18px; padding: 4px 12px; border-radius: 999px;
  background: var(--accent-soft); color: var(--accent-strong);
  font-size: 0.8rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase;
}
h1 {
  margin: 0 0 20px;
  font-size: clamp(2.25rem, 5vw, 3.5rem); line-height: 1.08; letter-spacing: -0.025em;
}
.lede { margin: 0 0 28px; max-width: 36em; color: var(--muted); font-size: 1.2rem; }
.button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px;
  padding: 12px 24px; border-radius: 12px;
  background: var(--accent); color: #ffffff; font-weight: 700; text-decoration: none;
}
.button:hover { background: var(--accent-strong); color: #ffffff; }
.button:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.note { margin: 22px 0 0; color: var(--muted); font-size: 0.95rem; }

/* Hero map illustration */
.map { display: block; width: 100%; height: auto; border-radius: 24px; box-shadow: 0 24px 48px -24px rgba(15, 23, 42, 0.25); }
.map-bg { fill: var(--map); }
.map-park { fill: #d5e6dc; }
.map-street { fill: none; stroke: #ffffff; stroke-width: 10; stroke-linecap: round; }
.map-avenue { fill: none; stroke: #ffffff; stroke-width: 18; stroke-linecap: round; }
.map-pin { fill: var(--pin); }
.map-pin-hot { fill: var(--accent); }
.map-pin-dot { fill: #ffffff; }
.map-halo { fill: var(--accent); opacity: 0.16; }
.map-route { fill: none; stroke: var(--accent); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1 10; }
.map-tech { fill: var(--ink); stroke: #ffffff; stroke-width: 3; }
.map-card { fill: #ffffff; stroke: var(--line); }
.map-card-title { font: 700 14px var(--font); fill: var(--ink); }
.map-card-text { font: 400 12px var(--font); fill: var(--muted); }
.map-check { fill: var(--accent); }
.map-check-mark { fill: none; stroke: #ffffff; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }

/* Sections */
.section { padding: 80px 0; }
.section-alt { background: var(--wash); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
h2 { margin: 0 0 12px; font-size: clamp(1.6rem, 3vw, 2.15rem); line-height: 1.2; letter-spacing: -0.015em; }
h3 { line-height: 1.3; }
.section-lede { margin: 0 0 40px; max-width: 40em; color: var(--muted); font-size: 1.1rem; }

.steps {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  margin: 0; padding: 0; list-style: none; counter-reset: step;
}
.steps li {
  counter-increment: step;
  padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper);
}
.steps li::before {
  content: counter(step);
  display: grid; place-items: center; width: 36px; height: 36px; margin-bottom: 14px;
  border-radius: 50%; background: var(--accent); color: #ffffff; font-weight: 800;
}
.steps h3 { margin: 0 0 6px; font-size: 1.05rem; }
.steps p { margin: 0; color: var(--muted); font-size: 0.98rem; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 32px; }
.feature { padding-top: 18px; border-top: 3px solid var(--accent); }
.feature h3 { margin: 0 0 8px; font-size: 1.15rem; }
.feature p { margin: 0; color: var(--muted); }

.closing { text-align: center; }
.closing .section-lede { margin-left: auto; margin-right: auto; margin-bottom: 28px; }

/* Footer */
.foot { padding: 28px 0 40px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.9rem; }
.foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.foot p { margin: 0; }

/* 404 */
.missing { padding-top: 96px; padding-bottom: 96px; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 40px; padding-top: 48px; padding-bottom: 56px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .features { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  .top-link { font-size: 0.85rem; }
  .section { padding: 56px 0; }
  .steps, .features { grid-template-columns: 1fr; }
  .lede { font-size: 1.1rem; }
}
