@font-face {
  font-family: Manrope;
  src: url("assets/manrope-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f4f1e9;
  --ink: #1b1a18;
  --muted: #66645e;
  --citron: #cad77a;
  --line: #d6d3c8;
  --font: Manrope, "Avenir Next", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font); }
a { color: inherit; }
button { font: inherit; }
::selection { background: var(--citron); color: var(--ink); }
:focus-visible { outline: 3px solid #657126; outline-offset: 5px; }
.skip-link { position: fixed; z-index: 20; top: -80px; left: 16px; padding: 10px 16px; background: var(--ink); color: var(--paper); }
.skip-link:focus { top: 16px; }

.section-wrap { width: min(100% - 80px, 1300px); margin-inline: auto; }
.hero { position: relative; isolation: isolate; min-height: min(900px, 100svh); overflow: clip; }
.hero-art { position: absolute; z-index: -1; inset: 0; background: url("assets/painted-sky.jpg") center center / cover no-repeat; }
.site-nav { width: min(100% - 80px, 1300px); margin: 0 auto; padding-top: 30px; display: flex; justify-content: space-between; align-items: flex-start; }
.brand, .footer-brand { display: inline-flex; gap: 11px; align-items: center; text-decoration: none; font-size: 17px; font-weight: 700; letter-spacing: -.04em; line-height: 1.1; }
.brand img, .footer-brand img { flex: none; }
.brand small, .footer-brand small { display: block; margin-top: 3px; font-size: 10px; font-weight: 500; letter-spacing: .12em; }
.nav-link { margin-top: 8px; font-size: 13px; font-weight: 600; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.nav-link span { margin-left: 4px; }
.hero-copy { width: min(100% - 48px, 850px); margin: clamp(54px, 8vh, 105px) auto 0; text-align: center; }
.eyebrow, .section-index, .preview-eyebrow { margin: 0; font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.hero h1 { margin: 19px 0 13px; font-size: clamp(42px, 5.7vw, 82px); font-weight: 600; line-height: 1.05; letter-spacing: -.065em; text-wrap: balance; }
.hero-subtitle { margin: 0; font-size: clamp(17px, 2vw, 25px); font-weight: 400; line-height: 1.4; letter-spacing: -.035em; text-wrap: balance; }
.hero-explain { margin: 13px 0 0; font-size: 14px; font-weight: 600; line-height: 1.5; }
.install-action { margin-top: 25px; }
.availability-badge { display: inline-flex; align-items: center; gap: 9px; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.availability-badge::before { content: ""; width: 9px; height: 9px; border-radius: 2px; background: #9caa49; }
.margin-note { position: absolute; margin: 0; font-size: 11px; font-weight: 700; letter-spacing: .16em; line-height: 1.8; text-transform: uppercase; }
.margin-note-left { top: 38%; left: max(40px, calc((100vw - 1300px) / 2)); }
.margin-note-right { top: 41%; right: max(40px, calc((100vw - 1300px) / 2)); text-align: right; }
.scroll-cue { position: absolute; bottom: 35px; left: 50%; display: flex; flex-direction: column; gap: 2px; align-items: center; transform: translateX(-50%); font-size: 10px; font-weight: 700; letter-spacing: .18em; text-decoration: none; text-transform: uppercase; }
.scroll-cue span:last-child { font-size: 20px; line-height: 1; }

.section-index { padding-top: 12px; color: #77746c; }
.story { padding-block: 85px 105px; }
.story-intro { max-width: 850px; text-align: center; }
.story h2, .questions h2 { margin: 14px 0 0; font-size: clamp(38px, 5vw, 68px); font-weight: 600; letter-spacing: -.065em; line-height: 1.12; text-wrap: balance; }
.story-intro > p:last-child { max-width: 620px; margin: 22px auto 0; color: var(--muted); font-size: 17px; line-height: 1.65; letter-spacing: -.025em; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 55px; padding: 32px 24px; border: 1px solid #e1dfd2; border-radius: 22px; background: #eae8dd; }
.step { min-height: 220px; padding: 14px 27px; border-left: 1px solid #c9c7b9; }
.step:first-child { border-left: 0; }
.step-number { font-size: 11px; font-weight: 700; letter-spacing: .15em; }
.step h3 { margin: 35px 0 9px; font-size: 22px; font-weight: 600; letter-spacing: -.04em; }
.step p { max-width: 340px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.8; }
.gate-preview { position: relative; isolation: isolate; display: flex; flex-direction: column; min-height: 530px; margin-top: 45px; overflow: hidden; border: 1px solid #d9d5c7; border-radius: 20px; background: var(--paper); box-shadow: 0 22px 70px rgb(27 26 24 / 7%); }
.gate-preview::before { content: ""; position: absolute; z-index: -1; inset: 0; background: url("assets/painted-gate.jpg") center 54% / cover no-repeat; opacity: .7; }
.preview-bar { display: flex; justify-content: space-between; align-items: center; padding: 24px 30px; font-size: 12px; font-weight: 700; }
.preview-descriptor { margin-left: 4px; font-size: 10px; font-weight: 500; letter-spacing: .08em; }
.preview-window-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--citron); }
.preview-content { width: min(100% - 48px, 680px); margin: auto; padding: 28px 0 80px; text-align: center; }
.preview-heading { margin: 12px auto 25px; font-size: clamp(26px, 3.3vw, 43px); font-weight: 600; line-height: 1.2; letter-spacing: -.055em; text-wrap: balance; }
.preview-search { display: flex; justify-content: space-between; align-items: center; min-height: 62px; border: 1px solid #848374; border-radius: 99px; padding: 5px 5px 5px 22px; background: rgb(244 241 233 / 86%); color: #77746c; font-size: 14px; text-align: left; }
.preview-arrow { display: grid; place-items: center; width: 52px; height: 52px; flex: none; border-radius: 50%; background: var(--citron); color: var(--ink); font-size: 24px; }
.preview-note { margin: 13px 0 0; font-size: 11px; font-weight: 600; }

.questions { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; padding-block: 60px 100px; }
.questions h2 { margin-top: 23px; font-size: clamp(36px, 4.1vw, 56px); }
.question-list { border-top: 1px solid var(--line); }
.question-list details { border-bottom: 1px solid var(--line); }
.question-list summary { position: relative; list-style: none; cursor: pointer; padding: 25px 28px 25px 0; font-size: 15px; font-weight: 650; line-height: 1.5; }
.question-list summary::-webkit-details-marker { display: none; }
.question-list summary::after { content: "+"; position: absolute; right: 0; top: 23px; font-size: 22px; font-weight: 400; line-height: 1; }
.question-list details[open] summary::after { content: "−"; }
.question-list details p { max-width: 500px; margin: -3px 0 25px; color: var(--muted); font-size: 14px; line-height: 1.8; }
.text-link { font-size: 14px; font-weight: 700; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.site-footer { display: grid; grid-template-columns: 1fr 1.5fr auto; align-items: center; gap: 30px; padding-block: 35px; }
.site-footer p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.site-footer p a { color: var(--ink); text-underline-offset: 3px; }
.footer-links { display: flex; gap: 20px; font-size: 12px; font-weight: 650; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.site-footer.illustrated-footer { display: block; width: min(100% - 40px, 1600px); min-height: 610px; margin: 0 auto 20px; padding: 0; overflow: hidden; border: 1px solid #d6d2c6; border-radius: 28px; background: #f4f1e9 url("assets/footer-shore.jpg") center 64% / cover no-repeat; }
.footer-grid { display: grid; grid-template-columns: 1.8fr repeat(3, 1fr); gap: 32px; padding: 52px 58px; }
.footer-identity { align-self: start; }
.footer-identity .footer-brand { font-size: 18px; }
.illustrated-footer .footer-identity p { margin-top: 18px; color: #46453f; font-size: 13px; font-weight: 600; }
.footer-column { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer-column h2 { margin: 5px 0 12px; font-size: 11px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.footer-column a, .footer-column span { max-width: 175px; font-size: 12px; font-weight: 600; line-height: 1.6; text-decoration: none; }
.footer-column a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-column span { color: #5d5b53; }
.footer-column .footer-status { color: #6d6b63; }

.legal-header { border-bottom: 1px solid var(--line); }
.legal-header .site-nav { padding-bottom: 28px; }
.legal-main { width: min(100% - 48px, 760px); margin: 0 auto; padding-block: 95px 125px; }
.legal-main h1 { margin: 16px 0 18px; font-size: clamp(44px, 6vw, 72px); font-weight: 600; line-height: 1.1; letter-spacing: -.06em; }
.legal-main .lede { color: var(--muted); font-size: 18px; line-height: 1.65; }
.legal-main h2 { margin: 58px 0 14px; font-size: 25px; font-weight: 600; letter-spacing: -.04em; }
.legal-main p, .legal-main li { color: #484741; font-size: 15px; line-height: 1.85; }
.legal-main ul { padding-left: 22px; }
.legal-main a { text-underline-offset: 3px; }
.legal-main .updated { margin-top: 55px; font-size: 12px; }

@media (max-width: 900px) {
  .margin-note { display: none; }
  .hero { min-height: 780px; }
  .hero-art { background-position: center; }
  .questions { grid-template-columns: 1fr; gap: 24px; }
  .questions { padding-block: 100px; }
  .steps { padding: 20px 12px; }
  .step { padding-inline: 16px; }
  .site-footer { grid-template-columns: 1fr auto; }
  .site-footer p { grid-column: 1 / -1; grid-row: 2; }
  .site-footer.illustrated-footer { min-height: 620px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; padding: 42px; }
  .footer-identity { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  .section-wrap, .site-nav { width: min(100% - 40px, 1300px); }
  .hero { min-height: 740px; min-height: 100svh; }
  .hero-art { background-position: center; }
  .site-nav { padding-top: 20px; }
  .brand { font-size: 15px; }
  .brand img { width: 28px; height: 28px; }
  .nav-link { font-size: 11px; }
  .hero-copy { margin-top: clamp(100px, 17vh, 180px); }
  .hero h1 { margin-top: 14px; font-size: clamp(43px, 11vw, 62px); }
  .hero-subtitle { max-width: 310px; margin-inline: auto; font-size: 17px; }
  .hero-explain { max-width: 290px; margin-inline: auto; font-size: 12px; }
  .install-action { margin-top: 20px; }
  .scroll-cue { bottom: 22px; }
  .story { padding-block: 70px 75px; }
  .story h2, .questions h2 { font-size: clamp(37px, 10vw, 52px); }
  .story-intro > p:last-child { font-size: 15px; }
  .steps { grid-template-columns: 1fr; margin-top: 38px; padding: 10px 22px; border-radius: 16px; }
  .step { min-height: 0; padding: 25px 0; border-left: 0; border-top: 1px solid #c9c7b9; }
  .step:first-child { border-top: 0; }
  .step h3 { margin-top: 16px; }
  .gate-preview { min-height: 460px; margin-top: 35px; border-radius: 12px; }
  .gate-preview::before { background-position: 32% center; opacity: .28; }
  .preview-bar { padding: 18px; }
  .preview-content { padding-bottom: 65px; }
  .preview-search { min-height: 56px; padding-left: 15px; font-size: 12px; }
  .preview-arrow { width: 46px; height: 46px; }
  .questions { gap: 46px; padding-block: 50px 80px; }
  .site-footer { display: flex; flex-wrap: wrap; justify-content: space-between; padding-block: 35px; }
  .site-footer p { order: 3; width: 100%; }
  .footer-links { gap: 14px; }
  .site-footer.illustrated-footer { width: calc(100% - 24px); min-height: 790px; margin-bottom: 12px; border-radius: 20px; background-position: center bottom; background-size: auto 100%; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 30px 16px; padding: 30px 25px; }
  .footer-identity { grid-column: 1 / -1; }
  .footer-column:nth-child(3) { grid-column: 1 / -1; grid-row: 3; }
  .footer-column:nth-child(4) { grid-column: 2; grid-row: 2; }
  .footer-column:nth-child(3) a { max-width: none; }
  .footer-column h2 { margin-bottom: 6px; }
  .legal-main { padding-block: 75px 95px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
