/* Wreckerly marketing site. Plain CSS, no build step, no third-party requests. */

:root {
  --ink: #111827;
  --ink-soft: #4b5563;
  --line: #e5e7eb;
  --paper: #ffffff;
  --paper-alt: #f6f7f9;
  --night: #12161f;
  --night-soft: #1b2130;
  --night-line: #2a3244;
  --night-text: #e8ebf1;
  --night-muted: #9aa3b5;
  --amber: #f59e0b;
  --amber-deep: #b45309;
  --amber-ink: #1f1300;
  --good: #15803d;
  --radius: 14px;
  --wrap: 1120px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #e8ebf1;
    --ink-soft: #9aa3b5;
    --line: #2a3244;
    --paper: #12161f;
    --paper-alt: #171c27;
    --amber-deep: #fbbf24;
    --good: #4ade80;
  }
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
}

img, svg { max-width: 100%; }

a { color: var(--amber-deep); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }

:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; border-radius: 4px; }

h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.2rem, 5.2vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); font-weight: 750; }
h3 { font-size: 1.15rem; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }

.skip {
  position: absolute; left: -999px; top: 0; z-index: 10;
  background: var(--amber); color: var(--amber-ink); padding: 0.6rem 1rem; font-weight: 700;
}
.skip:focus { left: 0.5rem; top: 0.5rem; }

/* ---------- Header ---------- */

.top {
  background: var(--night);
  color: var(--night-text);
  border-bottom: 1px solid var(--night-line);
}
.top .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap; padding-block: 0.9rem;
}
.brand {
  display: inline-flex; align-items: center; gap: 0.6rem;
  color: #fff; text-decoration: none; font-weight: 800; font-size: 1.3rem; letter-spacing: -0.03em;
}
.brand svg { width: 34px; height: 34px; flex: none; }
.nav { display: flex; align-items: center; gap: 0.35rem 1.4rem; flex-wrap: wrap; }
.nav a { color: var(--night-muted); text-decoration: none; font-weight: 600; font-size: 0.97rem; }
.nav a:hover { color: #fff; }

.btn {
  display: inline-block; padding: 0.7rem 1.25rem; border-radius: 10px;
  font-weight: 700; text-decoration: none; border: 2px solid transparent; line-height: 1.2;
}
.btn-primary { background: var(--amber); color: var(--amber-ink); }
.btn-primary:hover { background: #fbbf24; }
.btn-ghost { border-color: var(--night-line); color: #fff; }
.btn-ghost:hover { border-color: var(--night-muted); }
.nav .btn { padding: 0.5rem 1rem; }
.nav a.btn-primary, .nav a.btn-primary:hover { color: var(--amber-ink); }

/* ---------- Hero ---------- */

.hero {
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(245, 158, 11, 0.18), transparent 70%),
    var(--night);
  color: var(--night-text);
  padding-block: clamp(3rem, 7vw, 5.5rem);
}
.hero .wrap {
  display: grid; gap: clamp(2rem, 5vw, 4rem);
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); align-items: center;
}
.eyebrow {
  display: inline-block; margin-bottom: 1rem; padding: 0.25rem 0.7rem; border-radius: 999px;
  background: rgba(245, 158, 11, 0.14); color: #fcd34d;
  font-size: 0.85rem; font-weight: 700; letter-spacing: 0.03em;
}
.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; color: var(--amber); }
.lede { font-size: 1.2rem; color: var(--night-muted); max-width: 34rem; }
.cta { display: flex; gap: 0.8rem; flex-wrap: wrap; margin-top: 1.6rem; }
.fine { margin-top: 1rem; font-size: 0.9rem; color: var(--night-muted); }

/* Example quote card - illustrative numbers, not a screenshot */
.quote {
  background: var(--night-soft); border: 1px solid var(--night-line); border-radius: var(--radius);
  padding: 1.4rem; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.7);
}
.quote-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: 0.2rem; }
.quote-title { font-weight: 800; color: #fff; font-size: 1.1rem; }
.quote-tag { font-size: 0.75rem; color: var(--night-muted); text-transform: uppercase; letter-spacing: 0.08em; }
.quote-route { color: var(--night-muted); font-size: 0.93rem; margin-bottom: 1rem; }
.quote dl { margin: 0; }
.quote .row {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: 0.5rem 0; border-top: 1px solid var(--night-line); font-size: 0.97rem;
}
.quote dt { color: var(--night-muted); }
.quote dd { margin: 0; font-variant-numeric: tabular-nums; color: var(--night-text); font-weight: 600; }
.quote .total dt, .quote .total dd { color: #fff; font-weight: 800; font-size: 1.1rem; }
.quote .total dd { color: #4ade80; }
.quote-note {
  margin: 1rem 0 0; padding: 0.7rem 0.9rem; border-radius: 10px;
  background: rgba(74, 222, 128, 0.1); color: #bbf7d0; font-size: 0.92rem;
}

/* ---------- Sections ---------- */

section { padding-block: clamp(3rem, 6vw, 5rem); }
.alt { background: var(--paper-alt); }
.section-head { max-width: 44rem; margin-bottom: 2.2rem; }
.section-head p { color: var(--ink-soft); font-size: 1.1rem; }

.grid { display: grid; gap: 1.2rem; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem;
}
.card p { color: var(--ink-soft); margin: 0; font-size: 0.98rem; }
.card .icon {
  width: 40px; height: 40px; border-radius: 10px; margin-bottom: 0.9rem;
  display: grid; place-items: center; background: rgba(245, 158, 11, 0.16); color: var(--amber-deep);
}
.card .icon svg { width: 22px; height: 22px; }

.steps { display: grid; gap: 1.2rem; grid-template-columns: repeat(3, minmax(0, 1fr)); counter-reset: step; padding: 0; margin: 0; list-style: none; }
.steps li { counter-increment: step; padding-top: 1rem; border-top: 3px solid var(--amber); }
.steps li::before {
  content: counter(step); display: block; font-weight: 800; font-size: 0.9rem;
  color: var(--amber-deep); margin-bottom: 0.3rem;
}
.steps p { color: var(--ink-soft); margin: 0; }

.roles { display: grid; gap: 1.2rem; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.roles ul { margin: 0.4rem 0 0; padding-left: 1.1rem; color: var(--ink-soft); }
.roles li { margin-bottom: 0.3rem; }

.band { background: var(--night); color: var(--night-text); text-align: center; }
.band h2 { color: #fff; }
.band p { color: var(--night-muted); max-width: 36rem; margin-inline: auto; }
.band .cta { justify-content: center; }

/* ---------- Footer ---------- */

.foot { background: var(--night); color: var(--night-muted); border-top: 1px solid var(--night-line); padding-block: 1.8rem; font-size: 0.93rem; }
.foot .wrap { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.foot a { color: var(--night-muted); text-decoration: none; }
.foot a:hover { color: #fff; text-decoration: underline; }
.foot nav { display: flex; gap: 1.2rem; flex-wrap: wrap; }

/* ---------- Legal pages ---------- */

.legal { padding-block: clamp(2.5rem, 5vw, 4rem); }
.legal .wrap { max-width: 46rem; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.6rem); }
.legal h2 { font-size: 1.35rem; margin-top: 2.2rem; }
.legal .updated { color: var(--ink-soft); }
.legal li { margin-bottom: 0.4rem; }
.notfound { text-align: center; padding-block: 6rem; }

/* ---------- Small screens ---------- */

@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: minmax(0, 1fr); }
  .grid, .steps, .roles { grid-template-columns: minmax(0, 1fr); }
  .nav .hide-sm { display: none; }
}

@media (min-width: 861px) and (max-width: 1040px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
