@font-face {
  font-family: Nunito;
  src: url("assets/Nunito-wght.ttf") format("truetype");
  font-weight: 200 1000;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("assets/dm-sans-400.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("assets/dm-sans-700.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}
:root {
  --ink: #12111f;
  --paper: #faf9f7;
  --orange: #e8600a;
  --peach: #ffad78;
  --indigo: #2a2560;
  --muted: #565265;
  --header-height: 84px;
  --page: 1280px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-height); }
body {
  margin: 0;
  background: var(--ink);
  color: var(--ink);
  font: 16px/1.6 "DM Sans", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, summary { cursor: pointer; font: inherit; }
[hidden] { display: none !important; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: Nunito, Arial, sans-serif; font-weight: 800; letter-spacing: -.045em; }
h2 { font-size: clamp(2.55rem, 5vw, 4.75rem); line-height: 1; }
h2 em { font: italic 400 1em/.98 Georgia, "Times New Roman", serif; color: inherit; }
.section-wrap { width: min(var(--page), calc(100% - clamp(40px, 9vw, 112px))); margin-inline: auto; }
.eyebrow {
  text-transform: uppercase;
  font-size: 11px;
  line-height: 1.5;
  font-weight: 700;
  letter-spacing: .14em;
}
.square { width: 8px; height: 8px; background: var(--orange); display: inline-block; margin-right: 8px; }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid #b7470b;
  outline-offset: 5px;
}
.skip-link {
  position: fixed;
  top: -100px;
  left: 20px;
  padding: 12px 16px;
  background: var(--paper);
  color: var(--ink);
  z-index: 30;
}
.skip-link:focus { top: 10px; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #faf9f7;
  border-bottom: 1px solid #12111f15;
}
.header-inner {
  height: var(--header-height);
  display: flex;
  align-items: center;
  gap: clamp(18px, 4vw, 54px);
}
.brand { display: block; flex: 0 0 auto; width: 165px; }
.brand img { width: 100%; height: auto; }
.desktop-nav { display: flex; align-items: center; margin-left: auto; gap: clamp(22px, 3vw, 40px); }
.desktop-nav a { display: flex; align-items: center; min-height: 44px; font-size: 14px; font-weight: 700; }
.desktop-nav a:hover, .mobile-nav a:hover { color: #a63e09; }
.header-cta {
  display: flex;
  align-items: center;
  min-height: 44px;
  border: 1px solid var(--ink);
  border-radius: 100px;
  padding-inline: 16px;
  gap: 16px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  transition: background .2s, color .2s;
}
.header-cta:hover { background: var(--ink); color: white; }
.header-cta span, .button span, .text-link span { font-size: 1.25em; line-height: 1; }
.menu-toggle, .mobile-nav, .mobile-quote { display: none; }
.button, .text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  gap: 12px;
  font-weight: 700;
  line-height: 1.4;
}
.button {
  justify-content: space-between;
  gap: 24px;
  min-height: 52px;
  padding: 13px 21px;
  border: 1px solid transparent;
  border-radius: 100px;
  font-size: 14px;
  transition: background .2s ease, border-color .2s ease;
}
.button-primary { color: var(--ink); background: var(--orange); }
.button-primary:hover { background: #ff9256; }
.text-link { font-size: 14px; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.site-footer { background: var(--paper); color: var(--muted); }
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px 28px;
  padding-block: 25px;
}
.site-footer p { font-size: 12px; }
.site-footer .brand { width: 135px; }

@media (max-width: 800px) {
  :root {
    --header-height: 64px;
    --mobile-quote-height: calc(68px + env(safe-area-inset-bottom, 0px));
  }
  html { scroll-padding-bottom: var(--mobile-quote-height); }
  body { padding-bottom: var(--mobile-quote-height); }
  .desktop-nav, .header-cta { display: none; }
  .header-inner { justify-content: space-between; }
  .brand { width: clamp(104px, 24vw, 140px); }
  .mobile-quote {
    position: fixed;
    inset: auto 0 0;
    z-index: 21;
    display: grid;
    justify-items: center;
    padding: 8px 20px calc(8px + env(safe-area-inset-bottom, 0px));
    background: var(--ink);
    box-shadow: 0 -1px 0 #f0e8ff40;
  }
  .mobile-quote .button {
    width: min(100%, 420px);
    justify-content: center;
    gap: 12px;
    padding-block: 8px;
  }
  .mobile-quote .button:focus-visible { outline-color: var(--peach); }
  .menu-toggle {
    display: flex;
    flex: 0 0 44px;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 5px;
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
  }
  .menu-toggle span { display: block; width: 21px; height: 1px; background: var(--ink); }
  .mobile-nav:not([hidden]) {
    position: absolute;
    inset: 100% 0 auto;
    display: grid;
    gap: 0;
    background: var(--paper);
    padding: 7px 20px 15px;
    border-bottom: 1px solid #12111f24;
  }
  .mobile-nav a {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    font-size: 14px;
    font-weight: 700;
    border-bottom: 1px solid #12111f18;
  }
  .mobile-nav a:last-child { border: 0; }
}
@media (max-width: 390px) {
  .site-footer .brand { width: 106px; }
}
@media (max-width: 530px) {
  .footer-inner { flex-wrap: wrap; }
  .site-footer p:last-child { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
