@font-face {
  font-family: "Hanken Grotesk";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../assets/fonts/hanken-grotesk-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("../assets/fonts/outfit-latin.woff2") format("woff2");
}

:root {
  --white: #ffffff;
  --graphite: #414141;
  --red: #750000;
  --ink: #232323;
  --muted: #726f6d;
  --line: #dfdcda;
  --subtle: #f5f4f3;
  --soft-red: #f7efef;
  --font-display: "Outfit", system-ui, sans-serif;
  --font-text: "Hanken Grotesk", system-ui, sans-serif;
  --container: 1240px;
  --gutter: clamp(20px, 4vw, 40px);
  --section: clamp(64px, 9vw, 108px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  color: var(--graphite);
  background: var(--white);
  font-family: var(--font-text);
  font-size: 17px;
  line-height: 1.62;
}

body.nav-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration-color: rgba(117, 0, 0, 0.3);
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--red);
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: 0;
}

h1 {
  max-width: 12ch;
  font-size: clamp(2.2rem, 6vw, 4.6rem);
  line-height: 1.04;
}

h2 {
  max-width: 18ch;
  font-size: clamp(1.75rem, 3.2vw, 2.75rem);
}

h3 {
  font-size: clamp(1.1rem, 1.4vw, 1.35rem);
}

p {
  margin: 0;
}

button {
  font: inherit;
}

.container {
  width: min(100% - (var(--gutter) * 2), var(--container));
  margin-inline: auto;
}

.narrow {
  max-width: 860px;
}

.section {
  padding-block: var(--section);
}

.section-muted {
  background: var(--subtle);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(65, 65, 65, 0.12);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.brand img {
  width: 56px;
  height: auto;
}

.brand span {
  display: grid;
  gap: 1px;
}

.brand strong {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1rem;
  line-height: 1.15;
}

.brand small {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.2;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 0.95rem;
  font-weight: 600;
}

.site-nav a {
  text-decoration: none;
}

.nav-cta {
  padding: 10px 17px;
  border-radius: 4px;
  color: var(--white);
  background: var(--red);
}

.nav-cta:hover {
  color: var(--white);
  background: #5c0000;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-content: center;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--graphite);
  background: var(--white);
  cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
}

.hero {
  padding-top: clamp(44px, 7vw, 92px);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: clamp(36px, 6vw, 76px);
  align-items: center;
}

.hero-copy {
  display: grid;
  gap: 24px;
}

.eyebrow {
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.lead {
  max-width: 68ch;
  color: var(--graphite);
  font-size: clamp(1.08rem, 1.5vw, 1.28rem);
  line-height: 1.65;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
}

.button-primary {
  color: var(--white);
  background: var(--red);
}

.button-primary:hover {
  color: var(--white);
  background: #5c0000;
}

.button-secondary {
  color: var(--ink);
  border-color: var(--line);
  background: var(--white);
}

.button-secondary:hover {
  color: var(--red);
  border-color: rgba(117, 0, 0, 0.35);
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin: 16px 0 0;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.hero-facts dt {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 600;
  line-height: 1;
}

.hero-facts dd {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.35;
}

.hero-image {
  margin: 0;
}

.hero-image img,
.profile-aside img {
  width: 100%;
  border-radius: 6px;
  object-fit: cover;
}

.hero-image img {
  aspect-ratio: 4 / 5;
  max-height: 560px;
  object-position: 50% 20%;
}

.section-heading {
  display: grid;
  max-width: 780px;
  gap: 14px;
  margin-bottom: clamp(34px, 5vw, 58px);
}

.section-heading p:not(.eyebrow) {
  max-width: 72ch;
  color: var(--muted);
  font-size: 1.08rem;
}

.text-grid {
  display: grid;
  gap: clamp(28px, 4vw, 52px);
}

.two-columns {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.three-columns {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.icon-item {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 16px;
}

.icon-item > span,
.credibility-item::before {
  color: var(--red);
  font-family: var(--font-display);
  font-weight: 700;
}

.icon-item h3,
.support-grid h3,
.credibility-item h3 {
  margin-bottom: 10px;
}

.icon-item p,
.support-grid p,
.credibility-item p,
.steps p {
  max-width: 62ch;
  color: var(--muted);
  font-size: 0.98rem;
}

.support-grid article {
  padding-top: 3px;
}

.support-grid article::before {
  display: block;
  width: 34px;
  height: 2px;
  margin-bottom: 18px;
  background: var(--red);
  content: "";
}

.tabs {
  max-width: 850px;
}

.tab-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.tab-button {
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--graphite);
  background: var(--white);
  font-weight: 700;
  cursor: pointer;
}

.tab-button.is-active {
  color: var(--white);
  border-color: var(--red);
  background: var(--red);
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 10px;
}

.check-list li::before {
  color: var(--red);
  font-weight: 700;
  content: "✓";
}

.note {
  max-width: 72ch;
  margin-top: 30px;
  color: var(--muted);
  font-size: 0.95rem;
}

.steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(22px, 3vw, 34px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  display: grid;
  align-content: start;
  gap: 10px;
}

.steps span {
  color: var(--red);
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.profile-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.8fr);
  gap: clamp(36px, 6vw, 80px);
  align-items: start;
}

.profile-copy {
  display: grid;
  gap: 18px;
}

.profile-copy p:not(.lead) {
  max-width: 66ch;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.tag-list li {
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--graphite);
  background: var(--white);
  font-size: 0.9rem;
}

.profile-aside {
  display: grid;
  gap: 30px;
}

.profile-aside figure {
  margin: 0;
}

.profile-aside img {
  aspect-ratio: 3 / 2;
  object-position: 40% 30%;
}

figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.86rem;
}

.facts-list {
  margin: 0;
}

.facts-list div,
.contact-list div {
  display: grid;
  gap: 3px;
  padding-block: 14px;
  border-bottom: 1px solid var(--line);
}

.facts-list dt,
.contact-list dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.facts-list dd,
.contact-list dd {
  margin: 0;
  color: var(--graphite);
  font-size: 0.96rem;
}

.credibility-item::before {
  display: block;
  margin-bottom: 18px;
  content: "";
  width: 34px;
  height: 2px;
  background: var(--red);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1fr);
  gap: clamp(36px, 6vw, 80px);
  align-items: start;
}

.contact-list {
  max-width: 560px;
  margin: 0;
}

.contact-card {
  display: grid;
  gap: 18px;
  padding: clamp(24px, 4vw, 42px);
  border-radius: 6px;
  background: var(--white);
}

.mail-link {
  color: var(--red);
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3vw, 2.45rem);
  font-weight: 600;
  line-height: 1.08;
  overflow-wrap: anywhere;
}

address {
  color: var(--graphite);
  font-style: normal;
  line-height: 1.55;
}

button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(117, 0, 0, 0.2);
  outline-offset: 3px;
}

.site-footer {
  padding-block: 34px 28px;
  color: rgba(255, 255, 255, 0.72);
  background: var(--graphite);
}

.footer-inner {
  display: grid;
  gap: 18px;
}

.footer-inner img {
  width: 92px;
  padding: 8px;
  border-radius: 4px;
  background: var(--white);
}

.footer-inner nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-inner a {
  color: rgba(255, 255, 255, 0.86);
}

.footer-inner p {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.86rem;
}

.legal-page h1 {
  margin-bottom: 22px;
  max-width: none;
  font-size: clamp(2rem, 5vw, 3.4rem);
}

.legal-page .lead {
  margin-bottom: 34px;
}

.placeholder-box {
  display: grid;
  gap: 22px;
  padding: clamp(22px, 4vw, 36px);
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--subtle);
}

.placeholder-box h2 {
  max-width: none;
  font-size: 1.2rem;
}

.placeholder-box p + h2 {
  margin-top: 8px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 1060px) {
  .site-nav {
    gap: 16px;
  }

  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .three-columns {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  h1 {
    max-width: 13ch;
  }

  .nav-toggle {
    display: grid;
  }

  .site-nav {
    position: fixed;
    inset: 76px 0 auto 0;
    display: none;
    padding: 20px var(--gutter) 28px;
    border-bottom: 1px solid var(--line);
    background: var(--white);
  }

  .site-nav.is-open {
    display: grid;
    gap: 14px;
  }

  .legal-nav {
    position: static;
    display: flex;
    padding: 0;
    border: 0;
    background: transparent;
  }

  .hero-grid,
  .profile-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .two-columns {
    grid-template-columns: 1fr;
  }

  .hero-image {
    order: -1;
  }

  .hero-image img {
    aspect-ratio: 3 / 2;
  }
}

@media (max-width: 620px) {
  body {
    font-size: 16px;
  }

  .brand img {
    width: 48px;
  }

  .brand small {
    display: none;
  }

  .hero-facts,
  .steps {
    grid-template-columns: 1fr;
  }

  .tab-list,
  .button-row {
    display: grid;
  }

  .button,
  .tab-button {
    width: 100%;
  }
}
