/* ReachRiot site styles. Accent: #F03C00 */
@font-face {
  font-family: "Archivo Black";
  src: url("fonts/ArchivoBlack-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("fonts/Inter-VariableFont_opsz,wght.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --black: #141414;
  --offwhite: #F4F1EB;
  --accent: #F03C00;
  --muted: #5C5953;
  --line: rgba(20, 20, 20, 0.12);
  --card: #FFFcf6;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  font-family: Inter, system-ui, sans-serif;
  font-size: 1.0625rem;
  font-weight: 430;
  line-height: 1.55;
  color: var(--black);
  background: var(--offwhite);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { overflow-wrap: break-word; }

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--offwhite) 97%, transparent);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  gap: 0.35rem 1.5rem;
  min-height: 72px;
  padding: 0.85rem 0;
  flex-wrap: wrap;
}
.logo {
  display: block;
  height: 26px;
  width: auto;
  flex: 0 0 auto;
}
.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.25rem;
  margin-left: auto;
  font-size: 0.95rem;
  font-weight: 500;
}
.nav-links a {
  text-decoration: none;
  color: var(--muted);
}
.nav-links a:hover { color: var(--black); }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: var(--black);
  font-weight: 650;
  font-size: 0.95rem;
  text-decoration: none;
  padding: 0.7rem 1.15rem;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  line-height: 1;
  white-space: nowrap;
}
.btn:hover { filter: brightness(0.97); }
.btn-lg { padding: 0.95rem 1.4rem; font-size: 1rem; }
.btn[disabled], button.btn:disabled { cursor: default; }

.hero { padding: 4.5rem 0 5rem; }
.descriptor {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 1.25rem;
}
.hero h1 {
  font-family: "Archivo Black", sans-serif;
  font-weight: 400;
  font-size: clamp(2.35rem, 7.2vw, 5.6rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin: 0 0 1.25rem;
  max-width: 16ch;
}
.hero h1 .accent { color: var(--accent); }
.subhead {
  font-size: clamp(1.2rem, 2.4vw, 1.65rem);
  font-weight: 500;
  line-height: 1.35;
  margin: 0 0 1.1rem;
  max-width: 26ch;
}
.lede {
  max-width: 38rem;
  color: var(--muted);
  margin: 0 0 2rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }
.fine { font-size: 0.88rem; color: var(--muted); }
.trust {
  margin: 1.15rem 0 0;
  font-size: 0.95rem;
  font-weight: 550;
  color: var(--black);
  max-width: 44rem;
}

section { padding: 4.25rem 0; scroll-margin-top: 96px; }
section.alt {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.75rem;
}
h2 {
  font-family: "Archivo Black", sans-serif;
  font-weight: 400;
  font-size: clamp(1.7rem, 4vw, 2.75rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0 0 0.85rem;
}
.intro { max-width: 38rem; color: var(--muted); margin: 0 0 2.25rem; }

.grid-4, .grid-3, .steps, .plans {
  display: grid;
  gap: 1.15rem;
}
.grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.plans { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card, .step, .plan {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.35rem 1.3rem 1.45rem;
  min-width: 0;
}
.card h3, .step h3, .plan h3 {
  font-family: "Archivo Black", sans-serif;
  font-weight: 400;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  margin: 0 0 0.5rem;
  line-height: 1.2;
}
.card p, .step p, .plan p { margin: 0; color: var(--muted); }
.step .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 999px;
  background: var(--accent);
  color: var(--black);
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 0.85rem;
}

.audit {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1.5rem;
  align-items: center;
  background: var(--black);
  color: var(--offwhite);
  border-radius: 20px;
  padding: 2rem 2.1rem;
  margin-bottom: 1.5rem;
}
.audit h3 {
  font-family: "Archivo Black", sans-serif;
  font-weight: 400;
  font-size: clamp(1.35rem, 3vw, 1.7rem);
  letter-spacing: -0.02em;
  margin: 0 0 0.4rem;
}
.audit .price {
  font-family: "Archivo Black", sans-serif;
  font-size: clamp(2rem, 4vw, 2.6rem);
  letter-spacing: -0.03em;
  margin: 0 0 0.35rem;
}
.audit .price span,
.plan .price span {
  font-family: Inter, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0;
}
.audit .price span { color: #B9B6AF; }
.audit p { margin: 0; color: #C8C4BB; }
.plan .price {
  font-family: "Archivo Black", sans-serif;
  font-size: 2rem;
  letter-spacing: -0.03em;
  margin: 0.15rem 0 0.85rem;
}
.plan .price span { font-size: 0.95rem; color: var(--muted); }
.plan ul { margin: 0; padding: 0; list-style: none; color: var(--muted); }
.plan li {
  padding: 0.4rem 0 0.4rem 1.1rem;
  border-top: 1px solid var(--line);
  position: relative;
}
.plan li::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  background: var(--accent);
  position: absolute;
  left: 0;
  top: 0.85rem;
}

.faq { max-width: 44rem; }
details {
  border-top: 1px solid var(--line);
  padding: 1rem 0;
}
details:last-child { border-bottom: 1px solid var(--line); }
summary {
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--muted); font-weight: 500; flex: 0 0 auto; }
details[open] summary::after { content: "–"; }
details p { margin: 0.65rem 0 0.2rem; color: var(--muted); }

.cta-band {
  background: var(--black);
  color: var(--offwhite);
  padding: 4.5rem 0;
}
.cta-band h2 { color: var(--offwhite); }
.cta-band .intro, .cta-band .fine { color: #B9B6AF; }
form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem 1rem;
  max-width: 40rem;
}
label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.88rem;
  font-weight: 600;
  min-width: 0;
}
label.full { grid-column: 1 / -1; }
input {
  font: inherit;
  font-weight: 450;
  font-size: 1rem;
  padding: 0.75rem 0.85rem;
  border-radius: 10px;
  border: 1px solid #3A3A3A;
  background: #1C1C1C;
  color: var(--offwhite);
  width: 100%;
  min-width: 0;
}
input::placeholder { color: #8E8B84; }
input:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}
.form-note {
  grid-column: 1 / -1;
  font-size: 0.85rem;
  color: #8E8B84;
  background: #1C1C1C;
  border: 1px dashed #4A4A4A;
  border-radius: 10px;
  padding: 0.7rem 0.85rem;
}
.form-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-top: 0.25rem;
}

footer {
  padding: 1.5rem 0 2rem;
  font-size: 0.88rem;
  color: var(--muted);
}
.foot {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  align-items: center;
}
.foot-mark { height: 20px; width: auto; }
.foot-links { display: flex; flex-wrap: wrap; gap: 0.75rem 1.15rem; }
.foot-links a { text-decoration: none; }
.foot-links a:hover { color: var(--black); }
.foot a[href^="mailto"] { text-decoration: none; }
.foot a[href^="mailto"]:hover { color: var(--black); }
.cta-band .foot-links a:hover { color: var(--offwhite); }

/* Interior pages */
.page { padding: 3.5rem 0 4.5rem; }
.page h1 {
  font-family: "Archivo Black", sans-serif;
  font-weight: 400;
  font-size: clamp(2rem, 5vw, 3.2rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0 0 1rem;
}
.page .prose { max-width: 42rem; }
.page .prose h2 {
  font-size: 1.35rem;
  margin: 2rem 0 0.6rem;
}
.page .prose p, .page .prose li { color: var(--muted); }
.page .prose ul { padding-left: 1.2rem; }
.draft-banner {
  background: #FFE8DE;
  border: 1px solid #F03C00;
  color: var(--black);
  border-radius: 12px;
  padding: 0.9rem 1rem;
  margin: 0 0 1.75rem;
  font-size: 0.95rem;
}

/* 768 and down: keep nav links visible on a second row */
@media (max-width: 900px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plans, .audit { grid-template-columns: 1fr; }
  .nav-links {
    order: 3;
    flex-basis: 100%;
    margin-left: 0;
    padding: 0.35rem 0 0.15rem;
  }
  .nav .btn { margin-left: auto; }
  .hero { padding: 3rem 0 3.5rem; }
  form { grid-template-columns: 1fr; }
  label.full { grid-column: auto; }
}
@media (max-width: 560px) {
  .wrap { width: min(var(--max), calc(100% - 32px)); }
  .grid-4, .steps { grid-template-columns: 1fr; }
  .hero { padding: 2.4rem 0 3rem; }
  section, .page { padding-top: 3.1rem; padding-bottom: 3.1rem; }
  .audit { padding: 1.4rem 1.3rem; }
  .hero h1 { font-size: clamp(2.15rem, 11vw, 2.8rem); }
  .descriptor { letter-spacing: 0.06em; }
}
