@font-face {
  font-family: "Glacial Indifference";
  src: url("../fonts/GlacialIndifference-Regular.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Glacial Indifference";
  src: url("../fonts/GlacialIndifference-Bold.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}
:root {
  --red: #ff2828;
  --ink: #161616;
  --muted: #5c5c5c;
  --line: #e6e4e0;
  --font: "Glacial Indifference", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --max: 1000px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: var(--font);
  font-size: 19px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
h1, h2, h3 { font-weight: 400; line-height: 1.12; margin: 0; }
h1 { font-size: clamp(2.8rem, 7vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 2.9rem); margin-bottom: 20px; }
p { margin: 0 0 16px; }
section { padding: 112px 0; }
.label { display: flex; align-items: center; gap: 12px; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink); margin-bottom: 18px; }
.label::before { content: ""; width: 28px; height: 3px; background: var(--red); }
.promise .label { color: #fff; }

/* Underlined text links instead of buttons */
.link {
  color: inherit; font-weight: 700; font-size: 20px;
  text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 7px;
  transition: text-decoration-color .15s, opacity .15s;
}
.link:hover { opacity: 0.75; }
.on-light .link, .link.red-line { text-decoration-color: var(--red); }
.links { display: flex; flex-wrap: wrap; gap: 16px 40px; margin-top: 40px; }

/* Red hero */
.hero { background: var(--red); color: #fff; padding-bottom: 128px; }
.topbar { display: flex; align-items: center; justify-content: space-between; padding: 26px 0 104px; }
.topbar img { display: block; height: 44px; width: auto; margin-left: -14px; }
.topbar .link { font-size: 19px; }
.hero h1 { max-width: 820px; margin-bottom: 28px; }
.kicker { display: block; font-size: 20px; font-weight: 700; line-height: 1.4; margin-bottom: 18px; }
.hero p { font-size: 25px; line-height: 1.45; max-width: 640px; }

/* Examples: problem on the left, fix on the right */
.examples { margin-top: 48px; border-top: 1px solid var(--line); }
.example { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding: 32px 0; border-bottom: 1px solid var(--line); }
.example h3 { font-size: 1.55rem; }
.example p { margin: 0; color: var(--muted); }
.example p b { color: var(--ink); }
.more { margin-top: 36px; color: var(--muted); }
.more .link { color: var(--ink); margin-left: 6px; }

/* Steps */
.steps-section { background: #f6f5f3; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 48px; }
.step b { display: block; font-size: 2.2rem; font-weight: 400; color: var(--red); line-height: 1; margin-bottom: 18px; }
.step h3 { font-size: 1.5rem; margin-bottom: 8px; }
.step p { color: var(--muted); margin: 0; }

/* Promise */
.promise { background: var(--ink); color: #fff; }
.promise h2 { max-width: 760px; }
.promise p { color: #d0d0d0; max-width: 640px; margin: 0; }

/* Selling points under the hero text */
.hero-points { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 32px 0 0; padding: 0; list-style: none; font-size: 20px; font-weight: 700; }
.hero-points li { display: flex; align-items: center; gap: 10px; }
.hero-points li::before { content: ""; width: 8px; height: 8px; background: #fff; border-radius: 50%; }

/* Example groups */
.group { margin-top: 56px; }
.group-title { font-size: 1.3rem; font-weight: 700; color: var(--ink); margin: 0 0 16px; }
.example code, .why code { font-family: inherit; font-weight: 700; color: var(--ink); }

/* Why us (dark band) */
.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px 40px; margin-top: 48px; }
.why div { border-top: 3px solid var(--red); padding-top: 16px; }
.why h3 { font-size: 1.35rem; margin-bottom: 6px; color: #fff; }
.why p { color: #cfcfcf; margin: 0; max-width: none; }

/* Questions */
.qa { margin-top: 40px; max-width: 760px; }
.qa div { padding: 26px 0; border-top: 1px solid var(--line); }
.qa h3 { font-size: 1.4rem; margin-bottom: 8px; }
.qa p { color: var(--muted); margin: 0; }

/* Red contact */
.contact { background: var(--red); color: #fff; }
.contact p { font-size: 25px; line-height: 1.45; max-width: 600px; }
.contact .link { font-size: clamp(24px, 4vw, 34px); }
.social { display: flex; gap: 20px; margin-top: 36px; }
.social a { display: inline-flex; color: #fff; transition: opacity .15s; }
.social a:hover { opacity: 0.75; }
.social svg { width: 30px; height: 30px; fill: currentColor; }

footer { background: var(--ink); color: #bdbdbd; padding: 28px 0 36px; font-size: 16px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }

@media (max-width: 960px) and (min-width: 761px) {
  .why { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  body { font-size: 18px; }
  section { padding: 80px 0; }
  .hero { padding-bottom: 88px; }
  .topbar { padding-bottom: 64px; }
  .topbar img { height: 34px; margin-left: -11px; }
  .hero p, .contact p { font-size: 22px; }
  .example { grid-template-columns: 1fr; gap: 10px; }
  .steps { grid-template-columns: 1fr; gap: 36px; }
  .why { grid-template-columns: 1fr; gap: 28px; }
  .hero-points { font-size: 19px; flex-direction: column; }
}

/* Error pages */
.error-page { min-height: 100vh; display: flex; flex-direction: column; background: var(--red); color: #fff; }
.error-page main { flex: 1; display: flex; align-items: center; padding: 48px 0 96px; }
.error-page main .wrap { width: 100%; }
.error-page .hero { padding-bottom: 0; }
.error-page .topbar { padding-bottom: 0; }
.error-code { font-size: 20px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; margin: 0 0 20px; }
.error-page h1 { max-width: 820px; margin-bottom: 20px; }
.error-page p.quip { font-size: 25px; line-height: 1.45; max-width: 640px; margin: 0; }
.error-page .reference { font-size: 16px; opacity: 0.85; margin-top: 28px; }
@media (max-width: 760px) {
  .error-page p.quip { font-size: 22px; }
}
