:root {
  color-scheme: light;
  --paper: #f7f2e8;
  --light: #fffdf7;
  --ink: #0c2234;
  --muted: #465660;
  --line: #d8cebe;
  --brass: #785323;
  --gold: #d9ab61;
  --serif: Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 2rem; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 1rem/1.6 var(--sans); }
img { display: block; max-width: 100%; height: auto; }
figure, p, h1, h2, h3 { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.06; }
h1 { font-size: clamp(3rem, 7.7vw, 6.35rem); letter-spacing: -.063em; }
h2 { font-size: clamp(2.1rem, 4.5vw, 4.1rem); letter-spacing: -.05em; }
h3 { font-size: clamp(1.45rem, 2.4vw, 1.9rem); letter-spacing: -.03em; }
a { color: inherit; text-underline-offset: .22em; }
a:hover { text-decoration-thickness: .13em; }
:focus-visible { outline: 3px solid var(--brass); outline-offset: 4px; }
.page { width: min(100% - 3rem, 75rem); margin-inline: auto; }
.skip { position: absolute; z-index: 2; top: .75rem; left: .75rem; padding: .5rem .9rem; background: var(--light); transform: translateY(-160%); }
.skip:focus { transform: translateY(0); }
.masthead { display: flex; align-items: center; justify-content: space-between; gap: .8rem 2rem; min-height: 4.55rem; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: .65rem; flex-shrink: 0; font-size: .91rem; font-weight: 750; letter-spacing: .15em; text-decoration: none; }
.brand img { width: 2.15rem; height: 2.15rem; border-radius: .52rem; }
.menu, .footer-links { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.45rem; padding: 0; margin: 0; list-style: none; }
.menu a { font-size: .94rem; font-weight: 550; text-decoration: none; display: inline-flex; min-height: 44px; align-items: center; }
.menu a:hover, .menu a[aria-current="page"] { text-decoration: underline; }
.eyebrow { color: var(--brass); font-weight: 680; font-size: .86rem; letter-spacing: .08em; margin-bottom: 1rem; }
.section-lede, .hero-lede { color: var(--muted); }
.section-lede { max-width: 37rem; font-size: 1.08rem; }
.button { display: inline-flex; min-height: 3rem; align-items: center; justify-content: center; padding: .65rem 1.15rem; border-radius: .42rem; background: var(--ink); color: var(--light); text-decoration: none; font-weight: 650; }
.button:hover { background: #203e50; text-decoration: none; }
.text-link { color: var(--ink); font-weight: 650; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.4rem; }

.home-hero { display: grid; grid-template-columns: 1fr .99fr; align-items: center; gap: 2.4rem; padding-block: clamp(2rem, 5vw, 4.4rem); }
.hero-lede { font-size: clamp(1.09rem, 1.6vw, 1.27rem); max-width: 33rem; margin: 1.45rem 0 1.7rem; }
.hero-visual { display: grid; grid-template-rows: 1fr auto; position: relative; isolation: isolate; overflow: hidden; min-height: 33rem; border: 1px solid var(--line); border-radius: 1rem; background: #eee4d3; padding: 1.55rem .8rem .85rem; }
.atlas-background { position: absolute; z-index: -1; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .83; }
.phone { margin: auto; width: min(13.45rem, 57%); border: 6px solid var(--ink); border-radius: 1.5rem; box-shadow: 0 15px 32px #15263334; background: var(--paper); overflow: hidden; }
.phone img { width: 100%; }
.hero-visual figcaption { justify-self: center; margin-top: 1.15rem; padding: .2rem .55rem; border-radius: .24rem; background: var(--paper); color: var(--muted); font-size: .82rem; text-align: center; }
.map-section { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 2rem 4rem; padding-block: clamp(2.8rem, 6vw, 4.6rem); }
.map-section .section-lede, .library-content .section-lede { margin-top: 1rem; }
.map-access { display: grid; grid-template-columns: 1fr 1fr; gap: 1.05rem 1.35rem; padding: 1.45rem; background: var(--light); border: 1px solid var(--line); border-radius: .65rem; }
.map-access div { display: flex; flex-direction: column; gap: .35rem; }
.map-access div + div { padding-left: 1.35rem; border-left: 1px solid var(--line); }
.map-access strong { font: 500 3.3rem/.95 var(--serif); color: var(--brass); }
.map-access span { font-size: .94rem; line-height: 1.35; }
.map-access p { border-top: 1px solid var(--line); padding-top: .9rem; grid-column: 1 / -1; color: var(--muted); font-size: .94rem; }

.reports-section { padding-block: clamp(3.4rem, 7vw, 5.2rem); }
.section-heading { display: grid; grid-template-columns: 1fr .82fr; align-items: end; gap: 1.1rem 3rem; margin-bottom: 1.8rem; }
.report-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1.2rem; }
.report-card { display: grid; grid-template-rows: auto 1fr; overflow: hidden; border-radius: .75rem; border: 1px solid var(--line); background: var(--light); }
.report-screen { display: flex; justify-content: center; align-items: flex-start; height: 16rem; overflow: hidden; border-bottom: 1px solid var(--line); background: #e9dfcf; padding: 1.15rem 1rem 0; }
.report-card:nth-child(2) .report-screen { background: #e2e6dc; }
.report-card:nth-child(3) .report-screen { background: #ebdfd6; }
.report-screen img, .library-screen img { display: block; width: min(15.15rem, 94%); border: 4px solid var(--ink); border-radius: .9rem; box-shadow: 0 8px 22px #1526332b; }
.report-copy { padding: 1.2rem 1.25rem 1.45rem; }
.report-copy p { margin-top: .55rem; color: var(--muted); }
.library-section { background: var(--ink); color: var(--light); overflow: hidden; }
.library-content { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 2rem 4rem; min-height: 22rem; }
.library-content > div:first-child { padding-block: 2.9rem; }
.library-content .eyebrow { color: #efbd78; }
.library-content :is(.section-lede,.text-link) { color: #e9e2d6; }
.library-content .text-link { display: inline-block; margin-top: 1.3rem; }
.library-content :focus-visible { outline-color: var(--gold); }
.library-screen { align-self: end; display: flex; justify-content: center; height: 20rem; overflow: hidden; padding: 1.4rem 1rem 0; background: #344957; border-radius: .7rem .7rem 0 0; }
.library-screen img { width: min(15.75rem, 94%); align-self: start; border-color: #e5dac8; }
.home-note { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .7rem 1rem; padding-block: 1.6rem; color: var(--muted); }

.document { max-width: 49rem; padding-block: clamp(2.6rem, 7vw, 5.2rem); }
.document-head { padding-bottom: 1.85rem; border-bottom: 1px solid var(--line); }
.document-head h1, .support-page h1 { font-size: clamp(2.85rem, 7vw, 4.75rem); }
.document-head p:last-child { margin-top: .9rem; overflow-wrap: anywhere; }
.document section { margin-top: 2.05rem; }
.document h2, .support-page h2 { font-size: clamp(1.55rem, 3.7vw, 2.3rem); letter-spacing: -.034em; }
.document section p, .support-page section p { margin-top: .75rem; overflow-wrap: anywhere; }
.document section > :is(.button,.text-link) { margin-top: 1rem; display: inline-flex; }
.steps { padding-left: 1.4rem; }
.steps li + li { margin-top: .5rem; }
.document-index ul { display: grid; grid-template-columns: repeat(2, 1fr); gap: .4rem 1.25rem; padding: 0; list-style: none; }
.document-index { margin: 1.3rem 0 1.75rem; }

.support-page { padding-block: clamp(2.5rem, 6vw, 4.8rem); }
.support-page .hero { display: grid; grid-template-columns: .9fr 1.1fr; gap: 1.5rem 4rem; align-items: center; }
.support-page .intro { max-width: 29rem; color: var(--muted); margin: 1rem 0 1.25rem; font-size: 1.13rem; }
.support-page .atlas { width: 100%; border: 1px solid var(--line); border-radius: .55rem; }
.support-page .topic-links { display: flex; flex-wrap: wrap; gap: .5rem 1.6rem; padding: .8rem 0; margin: 1.6rem 0; border-block: 1px solid var(--line); list-style: none; color: var(--brass); font-weight: 650; }
.support-page .topics { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; }
.support-page section { padding: clamp(1.2rem, 3vw, 1.8rem); background: var(--light); border: 1px solid var(--line); border-radius: .55rem; }
.support-page .refund-links { padding-left: 1.1rem; margin-bottom: 0; }
.support-page .contact-note { margin-top: 1.4rem; color: var(--muted); max-width: 57rem; }
.footer { border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.1rem 2.5rem; padding-block: 1.5rem 2.1rem; }
.footer-brand { font-size: 1rem; font-weight: 750; letter-spacing: .13em; }
.footer p { color: var(--muted); font-size: .93rem; }
.footer-links { align-items: flex-start; font-size: .94rem; gap: .5rem 1.2rem; }

@media (max-width: 58rem) {
  .home-hero { gap: 1.6rem; }
  .hero-visual { min-height: 26rem; }
  .phone { width: min(11rem, 67%); }
  .map-section, .library-content { gap: 1.5rem 2.1rem; }
  .report-screen { height: 14rem; }
}
@media (max-width: 44rem) {
  .page { width: min(100% - 2rem, 75rem); }
  .home-hero, .map-section, .section-heading, .library-content, .support-page .hero { grid-template-columns: 1fr; }
  h1 { font-size: clamp(3rem, 11vw, 4.65rem); }
  .home-hero { padding-top: 2.6rem; }
  .hero-visual { min-height: 24rem; }
  .report-grid, .support-page .topics { grid-template-columns: 1fr; }
  .report-screen { height: 15rem; }
  .library-content { gap: .3rem; }
  .library-content > div:first-child { padding-block: 2.2rem 1rem; }
  .library-screen { height: 15rem; }
  .support-page .hero { gap: 1.4rem; }
  .support-page .atlas { max-height: 14rem; object-fit: cover; }
  .document-index ul { grid-template-columns: 1fr; }
}
@media (max-width: 25rem) {
  .masthead { gap: .35rem .6rem; }
  .brand { font-size: .77rem; gap: .37rem; }
  .brand img { width: 1.7rem; height: 1.7rem; }
  .menu { gap: .25rem .7rem; }
  .menu a { font-size: .87rem; }
  .map-access { padding: 1rem; gap: .85rem; }
  .map-access div + div { padding-left: .85rem; }
}
