@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700;800&display=swap");
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css");

:root {
  --orange: #f05a28;
  --orange-dark: #d94a1c;
  --ink: #27201e;
  --charcoal: #404042;
  --cream: #f7f4ef;
  --line: rgba(64, 64, 66, 0.1);
  --muted: #6a6a6a;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  background: var(--cream);
  color: #121212;
  font: 15px/1.6 "Open Sans", Arial, sans-serif;
  overflow-x: clip;
}
a { color: var(--orange); text-decoration: none; }
a:hover { color: var(--orange-dark); }
.wrap { width: min(1140px, calc(100% - 40px)); margin: auto; }

/* Site chrome — aligned with carsales-landing */
header {
  height: 80px;
  padding: 0 48px;
  background: #fff;
  display: flex;
  align-items: center;
  gap: 32px;
  position: sticky;
  top: 0;
  z-index: 20;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
}
.header-logo, .header-logo img { display: block; width: 110px; height: 30px; }
nav.site-nav { display: flex; gap: 4px; flex: 1; font-weight: 600; }
nav.site-nav a { padding: 8px 14px; color: #403c3a; }
header a.login-link, header a.phone-link { color: #403c3a; }
header a.button { color: #fff; }
.head-actions { display: flex; align-items: center; gap: 32px; }
.head-actions b { font-size: 13px; }
.phone-link { display: flex; align-items: center; gap: 8px; }
.phone-link img { width: 14px; height: 14px; }
.button, button.primary {
  border: 0;
  border-radius: 4px;
  background: var(--orange);
  color: #fff;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 13px 24px;
  box-shadow: 0 3px 7px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  transition: color 0.2s ease;
}
.button:hover, button.primary:hover { color: #ffe0d5; }
.button:focus-visible, button.primary:focus-visible {
  outline: 3px solid rgba(240, 90, 40, 0.3);
  outline-offset: 3px;
}
.menu-button {
  display: none;
  border: 0;
  border-radius: 4px;
  background: transparent;
  box-shadow: none;
  cursor: pointer;
}

@media (min-width: 1441px) {
  body:not(.terms-page) .hero { background-position: center 20%; }
}
.hero {
  position: relative;
  height: 480px;
  color: #fff;
  overflow: hidden;
  background:
    linear-gradient(90deg, #27201eb8 0%, #27201e59 42%, transparent 65%),
    url("assets/hero-girl-car.png") center 30% / 100% auto no-repeat;
}
.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 620px;
  padding: 160px 24px 0 max(24px, calc((100% - 1140px) / 2 + 24px));
}
.fs-badge {
  position: absolute;
  z-index: 2;
  top: 24px;
  left: max(24px, calc((100% - 1140px) / 2 + 24px));
  display: inline-flex;
  align-items: center;
  gap: 18px;
  background: rgba(255, 255, 255, 0.94);
  border-radius: 12px;
  padding: 12px 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}
.fs-badge img { height: 40px; width: auto; }
.fs-badge span {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--charcoal);
  line-height: 1.4;
  border-left: 1px solid rgba(64, 64, 66, 0.2);
  padding-left: 18px;
}
.hero h1 {
  margin: 19px 0 16px;
  font-size: 46px;
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.92px;
}
.hero .lead { margin: 0; font-size: 18px; line-height: 1.55; color: #ffffffd9; }

.quote {
  width: min(1140px, calc(100% - 40px));
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px 32px;
  margin: -88px auto 0;
  position: relative;
  z-index: 3;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.14);
}
.quote-title { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.quote-title h2 { margin: 0; font-size: 22px; font-weight: 700; color: var(--ink); }
.quote-title small { font-size: 13px; color: var(--muted); }
.fields {
  display: grid;
  grid-template-columns: 1.1fr 1.1fr 1fr auto;
  gap: 14px;
  align-items: end;
  margin-top: 18px;
}
.fields label { font-size: 12px; text-transform: uppercase; font-weight: 800; letter-spacing: 0.06em; color: var(--charcoal); }
.fields input, .fields select {
  display: block;
  width: 100%;
  height: 46px;
  margin-top: 6px;
  border: 2px solid rgba(64, 64, 66, 0.2);
  border-radius: 4px;
  padding: 0 14px;
  font: 400 14px "Open Sans", Arial, sans-serif;
}
.fields label.icon-pickup input, .fields label.icon-delivery input { padding-left: 40px; }
.fields label.icon-pickup, .fields label.icon-delivery { position: relative; }
.fields label.icon-pickup::after, .fields label.icon-delivery::after {
  content: "";
  position: absolute;
  left: 14px;
  bottom: 15px;
  width: 15px;
  height: 15px;
  background: center/contain no-repeat;
  pointer-events: none;
}
.fields label.icon-pickup::after { background-image: url("assets/pickup-location.svg"); }
.fields label.icon-delivery::after { background-image: url("assets/delivery-location.svg"); }
.fields button.primary { height: 46px; display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }

.ratings { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; }
.ratings article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px 28px;
  display: flex;
  gap: 18px;
  align-items: center;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}
.ratings .logo-tp { height: 30px; width: auto; }
.ratings .logo-g, .ratings .logo-pr { height: 48px; width: auto; }
.ratings strong { font-size: 26px; color: var(--ink); display: block; }
.ratings .stars { height: 16px; width: auto; margin-left: 4px; }
.ratings .stars-text { color: var(--orange); letter-spacing: 2px; font-size: 14px; }
.ratings p { margin: 4px 0 0; font-size: 13px; color: var(--muted); }

.section { padding-top: 56px; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--charcoal);
  margin-bottom: 12px;
}
.eyebrow::before {
  content: attr(data-num);
  color: var(--orange);
  font-weight: 800;
}
.eyebrow::after {
  content: "";
  width: 28px;
  height: 3px;
  background: var(--orange);
  order: -1;
}
.section h2 {
  margin: 0 0 12px;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.15;
}
.section .intro { max-width: 760px; color: var(--muted); margin: 0 0 28px; }

.cards-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.cards-4 article, .cards-3 article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}
.icon-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(240, 90, 40, 0.1);
  display: grid;
  place-items: center;
  color: var(--orange);
  font-size: 22px;
  margin-bottom: 12px;
}
.icon-circle img { width: 48px; height: 48px; }
.cards-4 h3, .cards-3 h3 { margin: 0 0 8px; font-size: 18px; font-weight: 700; }
.cards-4 p, .cards-3 p { margin: 0; font-size: 15px; line-height: 1.6; }

.panel-dark {
  background: var(--ink);
  border-radius: 16px;
  padding: 48px 56px;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  position: relative;
  overflow: hidden;
  margin-top: 56px;
}
.panel-dark::before {
  content: "";
  position: absolute;
  top: -10%;
  right: -5%;
  width: 700px;
  height: 320px;
  background: radial-gradient(circle, rgba(240, 90, 40, 0.12) 0%, transparent 70%);
  pointer-events: none;
}
.panel-dark .eyebrow, .panel-dark h2 { color: #fff; }
.panel-dark p { margin: 0; font-size: 17px; line-height: 1.65; color: rgba(255, 255, 255, 0.85); border-left: 4px solid var(--orange); padding-left: 22px; }

.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.tier-card { transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease; }
.tier-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  border-color: var(--orange);
}
.tier-card:hover .tier-amount { color: var(--orange); }
.tier-label { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.tier-amount { font-size: 44px; font-weight: 800; letter-spacing: -0.03em; margin: 8px 0 16px; transition: color 0.15s; }
.tier-card ul { list-style: none; padding: 0; margin: 0; }
.tier-card li {
  display: flex;
  gap: 10px;
  font-size: 15px;
  line-height: 1.5;
  padding: 6px 0;
}
.tier-card li i { color: var(--orange); flex: none; }
.tier-note { margin-top: 20px; font-size: 16px; }
.tier-note small { display: block; margin-top: 8px; font-size: 14px; color: var(--muted); }

.timing { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: center; }
.timing-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.step { display: flex; gap: 16px; align-items: flex-start; }
.step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  display: grid;
  place-items: center;
  flex: none;
}
.step h3 { margin: 0 0 4px; font-size: 16px; font-weight: 700; }
.step p { margin: 0; font-size: 14px; color: var(--muted); }

.exclusion-list {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px 28px;
  columns: 2;
  column-gap: 40px;
}
.exclusion-list li {
  display: flex;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  break-inside: avoid;
  font-size: 14px;
  line-height: 1.5;
}
.exclusion-list li:last-child { border-bottom: 0; }
.ex-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(64, 64, 66, 0.06);
  display: grid;
  place-items: center;
  color: var(--charcoal);
  flex: none;
}

.faqs { max-width: 900px; margin: 56px auto 0; text-align: center; padding-bottom: 56px; }
.faqs .intro { max-width: 560px; margin: 12px auto 0; color: var(--muted); }
.faq-accordion { margin-top: 40px; text-align: left; display: flex; flex-direction: column; gap: 10px; }
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}
.faq-trigger {
  width: 100%;
  border: 0;
  background: transparent;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  font: 600 17px "Open Sans", Arial, sans-serif;
  color: var(--ink);
  text-align: left;
}
.faq-trigger:hover { color: var(--orange); }
.faq-trigger i { color: var(--orange); font-size: 18px; flex: none; }
.faq-panel { padding: 0 24px 22px; font-size: 16px; line-height: 1.65; color: #121212; }
.faq-panel a.terms-link {
  display: inline-block;
  margin-top: 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.faq-panel img.fs-logo { height: 40px; margin-top: 8px; display: block; }

.cta-dark {
  text-align: center;
  padding: 64px 56px;
  margin-top: 56px;
}
.cta-dark h2 { font-size: clamp(28px, 3vw, 40px); margin: 0 0 16px; color: #fff; }
.cta-dark p { max-width: 600px; margin: 0 auto 24px; font-size: 17px; color: rgba(255, 255, 255, 0.85); }

.claims-strip { text-align: center; font-size: 13px; color: var(--muted); padding: 28px 0 40px; }
.claims-strip a { font-weight: 700; color: var(--charcoal); }
.claims-strip a:hover { color: var(--orange); }

footer {
  background: #27201e;
  color: rgba(255, 255, 255, 0.55);
  padding: 59px 64px 32px;
}
.footer-grid {
  width: 100%;
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 48px;
}
.footer-grid > div { display: flex; flex-direction: column; gap: 10px; }
.footer-grid b { color: #fff; text-transform: uppercase; font-size: 12px; letter-spacing: 0.12em; }
.footer-grid a { color: rgba(255, 255, 255, 0.55); }
.footer-grid a:hover { color: #fff; }
.footer-grid address { font-style: normal; margin: 6px 0 4px; }
.footer-grid address a { color: #fff; font-size: 22px; font-weight: 800; }
.footer-grid p a img { transform: scaleY(-1); }
.footer-logo { width: 180px; height: 64px; object-fit: contain; }
.copyright {
  width: 100%;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 40px;
  padding-top: 20px;
  font-size: 10px;
}

/* Terms page */
body.terms-page {
  background: var(--cream);
  min-height: 100vh;
  color: #121212;
}
body.terms-page header {
  height: 76px;
  border-bottom: 1px solid var(--line); 
  z-index: 50;
}
body.terms-page header .site-nav { display: none; }
body.terms-page .back-link {
  flex: 1;
  min-width: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--charcoal);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
body.terms-page .back-link:hover { color: var(--orange); text-decoration: none; }
body.terms-page header a.login-link,
body.terms-page header a.phone-link { color: #27201e; }

.terms-hero {
  background: var(--ink);
}
.terms-hero-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(40px, 5vw, 64px) clamp(20px, 3vw, 28px);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.terms-hero .slug {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
}
.terms-hero h1 {
  margin: 0;
  font-size: clamp(30px, 3.4vw, 42px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  line-height: 1.1;
}
.terms-hero p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
  line-height: 1.6;
}

.terms-layout {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(32px, 4vw, 56px) clamp(20px, 3vw, 28px);
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
}
.terms-layout > nav.toc,
.terms-layout > .terms-article { grid-column: 1; min-width: 0; }
/* Terms TOC — sticky below header (mobile + desktop), matches design handoff */
body.terms-page nav.toc {
  position: sticky;
  top: 88px;
  z-index: 5;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: #fff;
  border: 1px solid rgba(64, 64, 66, 0.1);
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}
@media (min-width: 1024px) {
  .terms-layout {
    grid-template-columns: 260px minmax(0, 1fr);
  }
  .terms-layout > nav.toc { grid-column: 1; grid-row: 1; }
  .terms-layout > .terms-article { grid-column: 2; grid-row: 1; }
  body.terms-page nav.toc {
    top: 96px;
    max-height: calc(100vh - 110px);
    overflow-y: auto;
  }
}
nav.toc .toc-title {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #404042;
  margin: 0 0 10px;
}
nav.toc a {
  font-size: 14px;
  font-weight: 600;
  color: #27201e;
  padding: 6px 8px;
  border-radius: 6px;
  text-decoration: none;
}
nav.toc a:not(.highlight):hover {
  background: rgba(64, 64, 66, 0.05);
  color: #27201e;
  text-decoration: none;
}
nav.toc a.highlight {
  font-size: 14px;
  font-weight: 700;
  color: #f05a28;
  margin-top: 6px;
  padding: 12px 8px 6px;
  border-top: 1px solid rgba(64, 64, 66, 0.1);
  border-radius: 6px;
}
nav.toc a.highlight:hover {
  color: #f05a28;
  text-decoration: none;
}

.terms-article {
  display: block;
  min-width: 0;
}
.terms-article section {
  scroll-margin-top: 100px;
  display: block;
  margin-bottom: 40px;
}
@media (max-width: 1023px) {
  body.terms-page { scroll-padding-top: 320px; }
  .terms-article section { scroll-margin-top: 320px; }
}
.terms-article section > * + * {
  margin-top: 12px;
}
.terms-article h2 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0;
}
.terms-article p { margin: 0; font-size: 16px; line-height: 1.7; color: #121212; }
.terms-article a { font-weight: 700; }
.terms-article a:hover { text-decoration: underline; }

.terms-article section ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.terms-article section > ol > li {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  font-size: 16px;
  line-height: 1.7;
  color: #121212;
}
.terms-article section ol > li > span:first-child {
  font-weight: 700;
  color: #404042;
  font-variant-numeric: tabular-nums;
}
.terms-article section ol > li > span:last-child { min-width: 0; }
.terms-article section ol ol {
  list-style: none;
  padding: 8px 0 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}
.terms-article section ol ol > li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.terms-article dl { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.terms-article dt { font-weight: 700; display: inline; }
.terms-article dd { display: inline; margin: 0; }

#schedule-1 {
  padding-top: 24px;
  border-top: 3px solid var(--orange);
  gap: 16px;
}
.schedule-eyebrow {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
}
#schedule-1 h2 {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
#schedule-1 > p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--charcoal);
}
.schedule-table-wrap { overflow-x: auto; }
.schedule-table {
  width: 100%;
  font-size: 15px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  border-collapse: collapse;
  overflow: hidden;
}
.schedule-table thead { background: var(--ink); color: #fff; }
.schedule-table th {
  text-align: left;
  padding: 12px 16px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.schedule-table td { padding: 11px 16px; border-top: 1px solid var(--line); }
.schedule-table td:first-child { color: var(--charcoal); }
.schedule-table td:last-child { font-weight: 800; }
.schedule-table .limit-excluded { color: #b91c1c; }
.claim-callout {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto 48px;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--orange);
  border-radius: 12px;
  padding: 20px 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
@media (max-width: 900px) {
  header { padding: 0 20px; }
  nav.site-nav, .head-actions .login-link { display: none; }
  .head-actions { margin-left: auto; }
  .menu-button {
    display: grid;
    place-items: center;
    width: 26px;
    height: 36px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
  }
  .hero {
    height: 440px;
    background-size: cover;
    background-position: 60% center;
  }
  .hero-copy { padding: 120px 20px 0; }
  .fs-badge { top: 20px; left: 20px; }
  .hero h1 { font-size: 38px; }
  .fields { grid-template-columns: 1fr 1fr; }
  .fields label:nth-child(-n + 2), .fields button.primary { grid-column: 1 / -1; }
  .ratings, .cards-4, .cards-3, .panel-dark, .timing { grid-template-columns: 1fr; }
  .exclusion-list { columns: 1; }
  footer { padding: 48px 20px 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .terms-layout {
    width: min(1180px, calc(100% - 32px));
    padding: clamp(32px, 4vw, 56px) clamp(16px, 3vw, 28px);
  }
  body.terms-page header { padding: 0 16px; gap: 12px; }
  body.terms-page .terms-hero-inner {
    width: min(1180px, calc(100% - 32px));
    padding: clamp(32px, 5vw, 48px) 16px;
  }
  .claim-callout {
    width: min(1180px, calc(100% - 32px));
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 600px) {
  body { font-size: 13px; }
  .wrap { width: calc(100% - 28px); }
  header { height: 64px; padding: 0 16px; gap: 12px; }
  .header-logo, .header-logo img { width: 88px; height: 24px; }
  .head-actions { gap: 18px; margin-left: auto; }
  .head-actions .phone-link b { display: none; }
  .head-actions .phone-link img { width: 18px; height: 18px; }
  .head-actions .login-link, .head-actions .button { display: none; }
  .menu-button {
    display: grid;
    place-items: center;
    width: 26px;
    height: 36px;
    padding: 0;
  }
  .menu-button img { width: 26px; height: 26px; }
  .hero {
    height: 320px;
    background-size: cover;
    background-position: 70% center;
    display: flex;
    align-items: flex-end;
  }
  .hero-copy { padding: 0 16px 48px; width: 100%; }
  .fs-badge { top: 14px; left: 16px; padding: 10px 14px; gap: 12px; }
  .fs-badge span { display: none; }
  .hero h1 { font-size: 28px; line-height: 1.12; margin: 0 0 8px; }
  .hero .lead { display: none; }
  .quote { margin-top: -24px; padding: 21px; }
  .quote-title small { display: block; width: 100%; margin-top: 8px; }
  .footer-grid { grid-template-columns: 1fr; }
  header.mobile-menu-open nav.site-nav {
    display: flex;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 8px 16px 14px;
    background: #fff;
    border-top: 1px solid #eee;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
  }
  header.mobile-menu-open nav.site-nav a {
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    font-size: 14px;
  }
  header.mobile-menu-open nav.site-nav a:last-child { border-bottom: 0; }
  body.terms-page header {
    height: 64px;
    padding: 0 12px;
    gap: 8px;
  }
  body.terms-page .header-logo,
  body.terms-page .header-logo img { width: 72px; height: 20px; flex-shrink: 0; }
  body.terms-page .back-link { font-size: 13px; gap: 6px; }
  body.terms-page .back-link .bi { flex-shrink: 0; }
  body.terms-page .head-actions { gap: 12px; }
  body.terms-page .head-actions .login-link,
  body.terms-page .head-actions .button { display: none; }
  body.terms-page header.mobile-menu-open .site-nav { display: flex; }
  .menu-button[aria-expanded="true"] { color: var(--orange); }
  .terms-hero h1 { font-size: clamp(26px, 7vw, 30px); }
  .terms-hero .slug { font-size: 10px; letter-spacing: 0.14em; }
  body.terms-page nav.toc { top: 72px; }
}
