:root {
  /* --accent is the wordmark red, sampled off the logo artwork (not chosen). */
  --ink: #1b1f24;
  --ink-soft: #55606b;
  --line: #e2e5e9;
  --bg: #ffffff;
  --bg-band: #f7f7f8;
  --accent: #bd131c;
  --accent-ink: #ffffff;
  --radius: 10px;
  --wrap: 62rem;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.65 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.wrap.narrow { max-width: 44rem; }

h1, h2, h3 { line-height: 1.25; letter-spacing: -0.01em; }

h1 { font-size: clamp(2rem, 5vw, 3rem); margin: 0 0 1rem; }
h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); margin: 0 0 1rem; }
h3 { font-size: 1.1rem; margin: 0 0 .5rem; }

p { margin: 0 0 1rem; }

a { color: var(--accent); }

/* header / footer ------------------------------------------------------- */

header.site { border-bottom: 1px solid var(--line); }
footer.site { border-top: 1px solid var(--line); margin-top: 4rem; color: var(--ink-soft); font-size: .9rem; }

.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4rem;
  flex-wrap: wrap;
  /* Narrow screens wrap the nav under the logo; without this the logo sits
     flush against the top edge of the viewport. */
  padding-top: .75rem;
  padding-bottom: .75rem;
}

/* The logo is a transparent PNG of red line art — it sits on either scheme
   unchanged, which is why the subline and the white plate were cropped out. */
.brand { display: inline-flex; line-height: 0; }
.brand img { width: auto; height: 2.1rem; }

header nav { display: flex; gap: 1.25rem; flex-wrap: wrap; }
header nav a { color: var(--ink-soft); text-decoration: none; font-size: .95rem; }
header nav a:hover { color: var(--accent); }

/* hero ------------------------------------------------------------------ */

.hero { padding: clamp(3rem, 8vw, 5.5rem) 0 clamp(2rem, 5vw, 3.5rem); }

.lead {
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  color: var(--ink-soft);
  max-width: 42rem;
}

.cta { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 1.75rem; }

.button {
  display: inline-block;
  padding: .7rem 1.3rem;
  border-radius: var(--radius);
  background: var(--accent);
  color: var(--accent-ink);
  text-decoration: none;
  font-weight: 550;
  border: 1px solid var(--accent);
}

.button:hover { filter: brightness(1.1); }

.button.ghost { background: transparent; color: var(--accent); border-color: var(--line); }
.button.ghost:hover { border-color: var(--accent); filter: none; }

/* bands & sections ------------------------------------------------------ */

.band {
  background: var(--bg-band);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: clamp(2.5rem, 6vw, 4rem) 0;
  margin: clamp(2rem, 5vw, 3.5rem) 0;
}

section.wrap { padding-top: clamp(1rem, 3vw, 2rem); padding-bottom: clamp(1rem, 3vw, 2rem); }

/* feature grid ---------------------------------------------------------- */

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 1.25rem;
  margin-top: 1.75rem;
}

.grid article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
  background: var(--bg);
}

.grid p { margin: 0; color: var(--ink-soft); }

/* statements & contact -------------------------------------------------- */

.statement {
  font-size: 1.15rem;
  font-weight: 550;
  border-left: 3px solid var(--accent);
  padding-left: 1rem;
  margin: 1.75rem 0 .75rem;
}

.contact { font-size: 1.15rem; }

.fineprint { color: var(--ink-soft); font-size: .9rem; }

@media (prefers-color-scheme: dark) {
  :root {
    /* The brand red is too dark to read on a dark ground — lightened, same hue. */
    --ink: #e9ecef;
    --ink-soft: #aab3bc;
    --line: #2c3238;
    --bg: #14171a;
    --bg-band: #1b1f23;
    --accent: #ef5f68;
    --accent-ink: #17080a;
  }
}
