@font-face { font-family: 'Fraunces'; font-style: normal; font-weight: 600 800; font-display: swap; src: url('fonts/Fraunces-latin.woff2') format('woff2'); }
:root {
  --display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --body: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --paper: #f7f4ec;
  --ink: #102d3d;
  --muted: #52616a;
  --orange: #b75830;
  --line: #d7d9d3;
  --white: #fffefa;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, p { margin-top: 0; }
h1, h2 { font-family: var(--display); font-weight: 700; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; }
.wrap { width: min(100% - 80px, 1260px); margin-inline: auto; }
.icon { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.skip-link { position: absolute; z-index: 30; top: -80px; left: 16px; padding: 12px 18px; background: var(--ink); color: white; }
.skip-link:focus { top: 12px; }

.site-header { position: relative; z-index: 10; background: var(--paper); border-bottom: 1px solid var(--line); }
.header-inner { min-height: 106px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { flex: none; width: 223px; }
.brand img, .footer-brand img { width: 100%; height: auto; }
.site-nav { display: flex; align-items: center; gap: clamp(18px, 2.6vw, 39px); font-size: 14px; font-weight: 700; }
.site-nav > a:not(.nav-cta) { display: inline-flex; align-items: center; min-height: 44px; padding-block: 10px; }
.site-nav > a:not(.nav-cta):hover, .footer-inner a:hover { color: var(--orange); }
.nav-cta { display: inline-flex; align-items: center; gap: 12px; min-height: 49px; padding: 0 19px; border-radius: 5pt; background: var(--ink); color: white; white-space: nowrap; transition: background .2s ease; }
.nav-cta:hover { background: #21475a; }
.nav-cta:active { transform: translateY(1px); }
.mobile-menu { display: none; }

.page-intro { background: var(--ink); color: white; }
.intro-inner { padding-block: 35px 66px; animation: settle-in 320ms ease-out both; }
.back-link { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; color: #cbd8dc; font-size: 13px; font-weight: 700; }
.back-link:hover { color: #eec5aa; }
.eyebrow { margin: 52px 0 18px; color: #eec5aa; font-size: 13px; font-weight: 800; letter-spacing: .14em; }
h1 { max-width: 870px; margin-bottom: 20px; font-size: clamp(40px, 5vw, 64px); line-height: 1.08; letter-spacing: -.025em; }
.intro-copy { max-width: 690px; margin-bottom: 26px; color: #d2dfe1; font-size: 17px; line-height: 1.65; }
.version { margin-bottom: 0; color: #eec5aa; font-size: 13px; font-weight: 700; letter-spacing: .03em; }
.version span { padding-inline: 6px; }

.content-grid { display: grid; grid-template-columns: 220px minmax(0, 790px); justify-content: space-between; align-items: start; gap: clamp(48px, 7vw, 130px); padding-block: 76px 110px; }
.contents { position: sticky; top: 28px; padding-top: 7px; }
.contents > p { margin-bottom: 18px; color: var(--orange); font-size: 13px; font-weight: 800; letter-spacing: .14em; }
.contents nav { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.contents a { display: flex; align-items: center; min-height: 48px; padding: 10px 0; border-bottom: 1px solid var(--line); color: #415762; font-size: 15px; line-height: 1.4; font-weight: 700; }
.contents a:hover { color: var(--orange); }
.terms-content { min-width: 0; }
.lead-note, .closing-note { padding: 25px 28px; background: #e9eee9; border-left: 3px solid var(--orange); }
.lead-note strong, .closing-note strong { display: block; margin-bottom: 8px; font-family: var(--display); font-size: 18px; letter-spacing: -.005em; }
.lead-note p, .closing-note p { margin: 0; color: #405761; font-size: 16px; line-height: 1.7; }
.term-section { padding-block: 37px 35px; border-bottom: 1px solid var(--line); scroll-margin-top: 25px; }
.term-section h2 { max-width: 650px; margin-bottom: 19px; font-size: clamp(25px, 2.8vw, 34px); letter-spacing: -.015em; line-height: 1.18; }
.term-section p { max-width: 750px; margin-bottom: 15px; color: #40535c; font-size: 16px; line-height: 1.78; }
.term-section p:last-child { margin-bottom: 0; }
.price-note { margin-top: 25px; padding: 20px 23px; background: #eee9df; }
.price-note strong { display: block; margin-bottom: 8px; font-size: 16px; }
.price-note p { margin-bottom: 0; font-size: 16px; }
.source-line { margin-top: 21px; font-size: 16px !important; }
.source-line a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.source-line a:hover { color: var(--orange); }
.closing-note { margin-top: 35px; }

.site-footer { border-top: 1px solid var(--line); }
.footer-inner { min-height: 140px; display: flex; align-items: center; gap: 50px; }
.footer-brand { width: 175px; flex: none; }
.footer-inner nav { display: flex; gap: 28px; margin-left: auto; font-size: 13px; font-weight: 700; }
.footer-inner nav a { display: inline-flex; align-items: center; min-height: 44px; }
.footer-inner > span { color: var(--muted); font-size: 13px; }
.footer-email { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: 15px; font-weight: 800; }
.footer-email .icon { width: 18px; height: 18px; }
.site-nav > .nav-contact, .mobile-menu .nav-contact { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding-block: 10px; font-weight: 700; }
.nav-contact .icon { width: 17px; height: 17px; }
.nav-contact:hover { color: var(--orange); }
.contact-bar { display: none; }

@keyframes settle-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 960px) {
  .wrap { width: min(100% - 56px, 1260px); }
  .header-inner { min-height: 82px; }
  .brand { width: 185px; }
  .site-nav { gap: 16px; font-size: 13px; }
  .nav-cta { padding-inline: 13px; }
  .content-grid { grid-template-columns: 185px minmax(0, 1fr); gap: 44px; }
}
@media (max-width: 980px) {
  .wrap { width: calc(100% - 56px); }
  .header-inner { min-height: 76px; gap: 15px; }
  .brand { width: 166px; }
  .site-nav { display: none; }
  .mobile-menu { display: block; }
  .mobile-menu summary { display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; border: 1px solid var(--ink); border-radius: 5pt; cursor: pointer; list-style: none; }
  .mobile-menu summary::-webkit-details-marker { display: none; }
  .mobile-menu summary .icon { width: 20px; height: 20px; }
  .mobile-menu .close-icon { display: none; }
  .mobile-menu[open] .menu-icon { display: none; }
  .mobile-menu[open] .close-icon { display: block; }
  .mobile-menu summary:active { transform: translateY(1px); }
  .mobile-menu nav { position: absolute; top: 100%; left: 0; right: 0; display: flex; flex-direction: column; padding: 12px 28px 26px; background: var(--paper); box-shadow: 0 20px 22px #102d3d18; font-size: 13px; font-weight: 700; }
  .mobile-menu[open] nav { animation: settle-in 260ms ease-out both; }
  .mobile-menu nav > a:not(.nav-cta) { display: flex; align-items: center; min-height: 48px; padding: 12px 2px; border-top: 1px solid var(--line); }
  .mobile-menu .nav-cta { min-height: 48px; justify-content: center; margin-top: 10px; }
  .mobile-menu nav > .nav-contact { min-height: 48px; padding: 12px 2px; border-top: 1px solid var(--line); }
  .contact-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; align-items: stretch; gap: 10px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--paper); border-top: 1px solid var(--line); box-shadow: 0 -8px 20px #102d3d14; }
  .contact-bar a { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border-radius: 5pt; font-size: 15px; font-weight: 800; text-align: center; }
  .contact-bar-link { flex: 1 1 0; border: 1.5px solid var(--ink); color: var(--ink); }
  .contact-bar-link .icon { width: 18px; height: 18px; }
  .contact-bar-primary { flex: 1.2 1 0; background: #a34b25; color: white; }
  body { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
  .content-grid { display: block; padding-block: 50px 75px; }
  .contents { position: static; margin-bottom: 45px; }
  .contents nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; }
  .intro-inner { padding-bottom: 56px; }
  .eyebrow { margin-top: 44px; }
  .footer-inner { flex-wrap: wrap; justify-content: space-between; gap: 20px; padding-block: 32px; }
  .footer-inner nav { order: 2; width: 100%; margin: 0; }
}
@media (max-width: 560px) {
  .wrap { width: calc(100% - 40px); }
  h1 { font-size: 38px; }
  .intro-copy { font-size: 16px; }
  .contents nav { column-gap: 14px; }
  .term-section { padding-block: 30px; }
  .term-section p { font-size: 16px; }
  .lead-note p, .closing-note p { font-size: 16px; }
  .lead-note, .closing-note { padding: 21px 19px; }
  .footer-inner nav { gap: 16px; flex-wrap: wrap; }
  .footer-inner > span { order: 3; width: 100%; }
  .footer-contact { order: 1; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
}
