@import url("./tokens.css");
@import url("./base.css");

.wrap { width: min(100%, 94rem); margin-inline: auto; padding-inline: var(--gutter); }
.mast, .footer-inner, nav, .brand { display: flex; align-items: center; }
.mast, .footer-inner { justify-content: space-between; gap: 1rem; }
.mast { min-height: 5rem; border-bottom: 1px solid var(--rule); }
.brand { gap: .6rem; text-decoration: none; font-weight: 700; font-size: 1.25rem; letter-spacing: -.035em; }
.brand img { width: 2rem; height: 2rem; }
nav { gap: clamp(1rem, 2.6vw, 2.7rem); }
nav a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; font-size: .94rem; }
nav a:hover, nav a[aria-current] { text-decoration: underline; text-decoration-color: var(--orange); text-underline-offset: .4em; }
.hero { display: grid; grid-template-columns: minmax(0, .96fr) minmax(0, 1.04fr); align-items: center; min-height: min(43rem, 48vw); }
.hero-copy { position: relative; z-index: 1; padding-block: var(--section); }
h1, h2 { font-family: var(--display); font-weight: 700; letter-spacing: -.026em; }
h1 { font-size: clamp(4.4rem, 6.85vw, 6rem); line-height: .98; }
.hero h1 { max-width: 16ch; }
.hero-copy p, .page-intro { font-size: clamp(1.1rem, 1.45vw, 1.32rem); color: var(--secondary); line-height: 1.5; }
.hero-copy p { margin-block: 1.35rem 1.6rem; max-width: 43ch; }
.hero figure { margin-right: calc(-1 * var(--gutter)); }
.hero img { width: 100%; height: auto; }
.primary { display: inline-flex; align-items: center; min-height: 48px; padding: .75rem 1.15rem; text-decoration: none; font-size: 1rem; font-weight: 700; background: var(--orange); color: var(--carbon); }
.primary:hover { background: var(--paper); }
.primary:focus-visible { outline-color: var(--paper); }
.risks { background: var(--carbon); }
.split { display: grid; align-items: start; grid-template-columns: minmax(0,.84fr) minmax(0,1.16fr); gap: clamp(2rem,5vw,5rem); padding-block: var(--section); }
h2 { font-size: clamp(2.4rem,3.9vw,4rem); line-height: 1.04; }
.split > h2 { max-width: 14ch; }
.risk-list dt { font-size: clamp(1.25rem,1.65vw,1.65rem); line-height: 1.3; font-weight: 700; letter-spacing: -.025em; }
.risk-list dd, .prose > p { max-width: 61ch; color: var(--secondary); }
.risk-list dd { margin-top: .45rem; }
.risk-list dd:not(:last-child) { border-bottom: 1px solid var(--rule); padding-bottom: 1.45rem; margin-bottom: 1.45rem; }
.prose > * + * { margin-top: 1rem; }
.prose a:not(.primary), .email { color: var(--orange); }
footer { border-top: 1px solid var(--rule); }
.footer-inner { flex-wrap: wrap; min-height: 5.5rem; padding-block: 1.3rem; }
.footer-inner a { overflow-wrap: anywhere; }
.footer-inner span, .footer-inner a { font-size: .95rem; }
.page { min-height: 70vh; max-width: 78rem; padding-block: clamp(3.2rem,7vw,7rem); }
.page h1 { max-width: 20ch; }
.page-intro { max-width: 49ch; margin-top: 1.6rem; }
.page-body { border-top: 1px solid var(--rule); margin-top: 2rem; padding-top: 1.7rem; max-width: 65ch; }
.page-body h2 { margin-top: 1.6rem; font-size: 1.85rem; }
@media (max-width: 47rem) {
  .mast { flex-wrap: wrap; gap: .1rem 1rem; padding-block: .7rem .3rem; }
  nav { flex-wrap: wrap; }
  .hero, .split { grid-template-columns: minmax(0,1fr); }
  .hero-copy { padding-block: 2.7rem 0; }
  .hero h1 { font-size: clamp(3.6rem,10.5vw,5rem); max-width: 15ch; }
  .hero figure { justify-self: end; width: min(100%,32rem); margin-top: .5rem; }
  .hero img { max-height: 17rem; object-fit: cover; object-position: center 47%; }
  .split { gap: 1.5rem; }
  .split > h2 { max-width: 20ch; }
  .page h1 { font-size: clamp(3.35rem,11vw,5rem); }
}

.review-section { padding-block-start: 64px; }
.review-reader { min-width:0; }
.review-reader p { margin:0; max-width:58ch; color:var(--secondary); }
.review-reader .terms { color:var(--paper); border-top:1px solid var(--rule); margin-top:1.35rem; padding-top:1rem; font-weight:700; }
.review-reader label { cursor:pointer; }
.review-reader fieldset { border:0; margin:0; padding:0; min-width:0; display:flex; row-gap:.2rem; flex-wrap:wrap; }
.review-reader input { position:absolute; width:1px; height:1px; opacity:0; }
.review-reader label { flex:1 1 20%; justify-content:center; display:inline-flex; align-items:center; min-height:44px; padding:0 .25rem; border-bottom:2px solid transparent; color:var(--secondary); }
.review-reader input:checked + label { color:var(--orange); border-color:var(--orange); }
.review-reader input:focus-visible + label { outline:2px solid currentColor; outline-offset:2px; }
.review-reader .stage-pages { width:100%; margin-top:1rem; display:grid; }
.review-reader .stage-pages p { grid-area:1/1; visibility:hidden; }

.review-reader:has(#review-panel-1:checked) .stage-pages p:nth-child(1) { visibility:visible; animation:review-stage-reveal .35s ease-out; }
.review-reader:has(#review-panel-2:checked) .stage-pages p:nth-child(2) { visibility:visible; animation:review-stage-reveal .35s ease-out; }
.review-reader:has(#review-panel-3:checked) .stage-pages p:nth-child(3) { visibility:visible; animation:review-stage-reveal .35s ease-out; }
.review-reader:has(#review-panel-4:checked) .stage-pages p:nth-child(4) { visibility:visible; animation:review-stage-reveal .35s ease-out; }
@media(prefers-reduced-motion:reduce) { .review-reader .stage-pages p { animation:none !important; } }
@keyframes review-stage-reveal { from { opacity:.25; transform:translateX(.45rem); } to { opacity:1; transform:none; } }

.home-footer { border-block-start: 0; }
.footer-inner.copyright {
  justify-content: center;
  gap: .65rem;
  text-align: center;
  color: #847b75;
}
.notice-year {
  padding-inline-start: .65rem;
  border-inline-start: 1px solid var(--rule);
}
