/* ===== Tokens ===== */
:root {
  --orange: #F17B3E;
  --cream: #FAF9F5;
  --ink: #061314;
  --slate: #516769;
  --slate-deep: #43585a;
  --stone: #D0CCC2;

  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Iosevka Charon Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --content-max: 760px;
  --shell-pad: 32px;
}

@media (max-width: 700px) {
  :root {
    --shell-pad: 20px;
  }
}

/* ===== Reset-ish ===== */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 500;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-body);
  font-weight: 700;
  line-height: 1.08;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

p { margin: 0 0 1em; }

a { color: inherit; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--orange);
  color: var(--ink);
  padding: 10px 16px;
  z-index: 100;
  font-family: var(--font-display);
  font-weight: 700;
}
.skip-link:focus {
  left: var(--shell-pad);
  top: 8px;
}

:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
@media (max-width: 700px) {
  .hero { align-items: flex-start; }
}
.hero-media {
  position: absolute;
  inset: 0;
  background-image: url("assets/hero.jpg");
  background-size: cover;
  background-position: center 38%;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6, 19, 20, 0.1) 0%, rgba(6, 19, 20, 0.3) 55%, rgba(6, 19, 20, 0.82) 100%);
}

/* Logo is flush against the left edge of the screen, with some room from the top. */
.hero-logo-link {
  position: absolute;
  top: var(--shell-pad);
  left: 0;
  z-index: 2;
  display: inline-flex;
  line-height: 0;
}
.logo { display: block; height: 40px; width: auto; }
.logo--hero { height: clamp(32px, 4.5vw, 64px); }

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
  width: 100%;
  padding: 64px var(--shell-pad) 72px;
  color: var(--cream);
}
@media (max-width: 700px) {
  .hero-content {
    padding-top: calc(clamp(32px, 4.5vw, 64px) + var(--shell-pad) * 2);
    padding-bottom: 40px;
  }
}
.eyebrow {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 18px;
}
.eyebrow--hero { color: var(--orange); }

.hero h1 {
  font-size: clamp(34px, 5.4vw, 62px);
  max-width: 15ch;
  margin-bottom: 20px;
}
.hero-sub {
  max-width: 46ch;
  font-size: 18px;
  color: rgba(250, 249, 245, 0.9);
  margin-bottom: 28px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.01em;
  padding: 14px 22px;
  border-radius: 3px;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background-color 120ms ease, border-color 120ms ease, color 120ms ease;
}
.btn--primary {
  background: var(--orange);
  color: var(--ink);
}
.btn--primary:hover { background: #ff8c50; }
.btn--slate {
  background: var(--slate);
  color: #FFFFFF;
}
.btn--slate:hover { background: var(--slate-deep); }
.btn--ghost {
  background: transparent;
  border-color: rgba(250, 249, 245, 0.55);
  color: var(--cream);
}
.btn--ghost:hover { border-color: var(--cream); }

/* ===== Sections ===== */
.section {
  padding: 72px var(--shell-pad) 80px;
}
.section-inner {
  max-width: var(--content-max);
  margin: 0 auto;
}

.section--slate { background: var(--stone); color: var(--ink); }
.section--cream { background: var(--cream); color: var(--ink); }
.section--dark { background: var(--ink); color: var(--cream); }

.section h2 {
  font-size: clamp(26px, 3.4vw, 38px);
  margin-bottom: 18px;
}
.section--dark h2 { color: var(--cream); }

.lede {
  font-size: 17px;
  max-width: 58ch;
  opacity: 0.92;
}
.lede--dark { opacity: 0.82; }

/* Doom list */
.doom-list {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
  max-width: 58ch;
}
.doom-list li {
  display: flex;
  gap: 10px;
  font-size: 15.5px;
}
.doom-mark { color: var(--slate); font-family: var(--font-display); font-weight: 700; }

/* Role cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}
@media (max-width: 640px) {
  .card-grid { grid-template-columns: 1fr; }
}
.role-card h3 {
  font-size: 16px;
  margin-bottom: 8px;
}
.role-card p {
  font-size: 14.5px;
  margin: 0;
  opacity: 0.85;
}

/* Steps */
.step-list {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  gap: 22px;
  max-width: 58ch;
}
.step-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.step-index {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border: 1px solid var(--slate);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--slate);
  font-size: 14px;
}
.step-list h3 {
  font-size: 16px;
  margin: 0 0 4px;
}
.step-list p {
  font-size: 14.5px;
  margin: 0;
  opacity: 0.9;
}
.step-list p a { text-decoration: underline; }

/* FAQ */
.faq-list {
  margin-top: 24px;
  max-width: 62ch;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.faq-item {}
.faq-item summary {
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15.5px;
  padding: 16px 0;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  color: var(--orange);
  font-size: 20px;
  flex: 0 0 auto;
}
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p {
  padding-bottom: 18px;
  margin: 0;
  font-size: 15px;
  opacity: 0.85;
  max-width: 56ch;
}

/* ===== Footer ===== */
.site-footer {
  background: var(--ink);
  color: var(--cream);
  padding-top: 32px;
}
.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px var(--shell-pad) 32px;
  text-align: left;
}
.logo--footer {
  display: block;
  margin-left: 0;
  height: 30px;
}
.footer-tagline {
  max-width: 48ch;
  font-size: 14.5px;
  opacity: 0.8;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 13.5px;
  margin: 18px 0 24px;
}
.footer-nav a { text-decoration: none; opacity: 0.75; }
.footer-nav a:hover { opacity: 1; }
.footer-fine {
  font-size: 12.5px;
  opacity: 0.5;
  margin: 0;
}

/* ===== Simple legal-page header ===== */
.page-header {
  background: var(--ink);
  color: var(--cream);
}
.page-logo-link {
  display: block;
  margin-left: 0;
  padding-top: var(--shell-pad);
  line-height: 0;
}
.page-header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px var(--shell-pad) 28px;
}

/* Large, prominent back-to-home link, used at both top and bottom of legal pages */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 20px;
  text-decoration: none;
  color: inherit;
}
.back-link:hover { text-decoration: underline; }

/* ===== Policy prose ===== */
.policy { max-width: var(--content-max); margin: 0 auto; }
.policy .updated {
  font-size: 14px;
  opacity: 0.7;
  margin-bottom: 8px;
}
.policy .disclaimer {
  font-style: italic;
  font-size: 14.5px;
  opacity: 0.85;
  max-width: 62ch;
  margin-bottom: 40px;
}
.policy h2 {
  font-size: 22px;
  margin-top: 2.2em;
}
.policy h2:first-of-type { margin-top: 0; }
.policy p, .policy li {
  font-size: 15.5px;
  opacity: 0.92;
  max-width: 68ch;
}
.policy ul {
  margin: 0 0 1em;
  padding-left: 1.2em;
}
.policy li { margin-bottom: 0.5em; }
.policy a { text-decoration: underline; }
.policy .back-link-bottom { margin-top: 56px; }
