@font-face {
  font-family: Montserrat;
  src: url("./assets/montserrat.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}

@font-face {
  font-family: "Source Sans 3";
  src: url("./assets/source-sans-3.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f6f3e9;
  --white: #fffcf4;
  --ink: #202d26;
  --forest: #172a22;
  --forest-raised: #253a30;
  --muted: #505c52;
  --light-muted: #c9d0c4;
  --line: #d8d9c9;
  --dark-line: #ffffff29;
  --gold: #eec77d;
  --accent: #76511e;
  --display: Georgia, "Times New Roman", serif;
  --body: "Source Sans 3", system-ui, sans-serif;
  --gutter: clamp(20px, 4.55vw, 72px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 400 19px/1.5 var(--body); }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
h1, h2 { font-family: var(--display); font-weight: 400; letter-spacing: -.058em; }
h2 { max-width: 18ch; font-size: clamp(43px, 5.15vw, 71px); line-height: 1.02; text-wrap: balance; }
h3 { font-size: 23px; line-height: 1.2; font-weight: 700; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 2px solid #906321; outline-offset: 4px; }
#main:focus { outline: none; }
.wrap { width: min(1272px, calc(100% - 2 * var(--gutter))); margin-inline: auto; }

.skip { position: absolute; top: 10px; left: 10px; z-index: 2; padding: 9px 16px; color: var(--forest); background: var(--gold); transform: translateY(-150%); }
.skip:focus { transform: none; }
.site-header { border-bottom: 1px solid var(--line); }
.nav-bar, .document-header { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; width: fit-content; font: 800 27px/1 Montserrat, sans-serif; letter-spacing: -.09em; text-decoration: none; }
.brand-mark { margin: 0 11px 0 3px; width: 16px; height: 16px; display: grid; place-items: center; flex: none; border: 1.7px solid var(--accent); border-radius: 2px; transform: rotate(45deg); }
.brand-mark::after { content: ""; width: 5px; height: 5px; background: var(--accent); }
.brand-period { color: var(--accent); }
.nav-bar nav { display: flex; align-items: center; gap: 28px; font-size: 16px; font-weight: 650; }
.nav-bar nav a { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; color: var(--muted); text-decoration: none; }
.nav-bar nav a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 5px; }
.nav-bar .nav-price { border: 1px solid #a7ae9d; color: var(--forest); border-radius: 4px; padding-inline: 14px; }
.nav-price span { font-size: 17px; }

.eyebrow { margin-bottom: 16px; color: var(--accent); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .16em; }
.button { display: inline-flex; justify-content: space-between; align-items: center; gap: 23px; min-height: 52px; padding: 11px 17px; border: 1px solid transparent; border-radius: 4px; font-size: 17px; font-weight: 700; line-height: 1.2; text-decoration: none; transition: background-color .16s, border-color .16s; }
.button span { line-height: 1; font-size: 19px; }
.primary { color: var(--white); background: var(--forest); }
.primary:hover { background: #304739; }
.text-link { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; font-size: 16px; line-height: 1.25; font-weight: 650; text-decoration-color: currentColor; text-underline-offset: 4px; }
.text-link:hover { text-decoration-thickness: 2px; }
.checkout-note { margin-top: 7px; color: var(--muted); font-size: 13px; line-height: 1.25; }

.hero { padding-block: clamp(65px, 7.3vw, 112px) clamp(67px, 7.6vw, 114px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, .91fr) minmax(0, 1.12fr); align-items: center; gap: clamp(35px, 6vw, 88px); }
.hero h1 { max-width: 12ch; font-size: clamp(63px, 6.45vw, 96px); line-height: .97; text-wrap: balance; }
.hero h1 em { color: #546746; font-weight: 400; white-space: nowrap; }
.lead { max-width: 40ch; margin-top: 22px; color: var(--muted); font-size: 21px; line-height: 1.42; }
.hero-price { display: flex; align-items: center; gap: 13px; margin-top: 23px; }
.hero-price strong { font: 700 34px/1 var(--body); letter-spacing: -.045em; }
.hero-price span { padding-left: 13px; border-left: 1px solid #b6bdac; color: var(--muted); font-size: 14px; line-height: 1.24; }
.hero-actions { display: flex; align-items: flex-start; flex-wrap: wrap; gap: 10px 20px; margin-top: 23px; }
.hero-actions > .text-link { min-height: 52px; }
.showcase { min-width: 0; }
.showcase-stage { display: grid; align-items: center; position: relative; isolation: isolate; min-height: 340px; padding: 7.5% 13% 10% 6%; overflow: hidden; border: 1px solid #c9ccbb; border-radius: 8px; background: radial-gradient(ellipse at 70% 7%, #e8e8d8 0, transparent 64%), linear-gradient(128deg, #c6ccba, #aeb8a3); }
.showcase-stage::before { content: ""; position: absolute; z-index: -1; inset: 0; background: repeating-linear-gradient(90deg, transparent 0 67px, #50604812 67px 68px), repeating-linear-gradient(0deg, transparent 0 67px, #50604812 67px 68px); }
.desktop-frame { overflow: hidden; border: 1px solid #24362b; border-radius: 7px; background: #f6f4ee; box-shadow: 0 18px 42px #2636294a; }
.desktop-frame > img { width: 100%; }
.frame-bar { display: flex; align-items: center; gap: 4px; height: 20px; padding-inline: 8px; background: #26382d; }
.frame-bar i { width: 4px; height: 4px; border-radius: 50%; background: #b2beac; }
.phone-frame { position: absolute; right: 3.8%; bottom: 5%; width: 23.5%; max-width: 165px; overflow: hidden; border: 4px solid #26382d; border-radius: 13px; background: #f6f4ee; box-shadow: 0 12px 22px #22312755; }
.phone-frame > img { width: 100%; }
.showcase-caption { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 3px 12px; padding-top: 10px; font-size: 16px; line-height: 1.2; }
.showcase-caption strong { font-weight: 700; }
.showcase-caption div span { margin-left: 7px; color: var(--muted); font-size: 14px; }
.showcase-caption .text-link { min-height: 42px; }

.work { padding-block: clamp(63px, 8vw, 108px); background: var(--forest); color: var(--white); }
.work-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: center; gap: clamp(36px, 7vw, 98px); }
.work .eyebrow { color: var(--gold); }
.work-copy > p:not(.eyebrow) { max-width: 39ch; margin-top: 17px; color: var(--light-muted); }
.work-decisions { margin-block: 24px 13px; border-top: 1px solid var(--dark-line); }
.work-decisions > div { padding: 10px 0; border-bottom: 1px solid var(--dark-line); }
dt { font-weight: 700; }
.work-decisions dd { color: var(--light-muted); font-size: 17px; }
.work .text-link { color: var(--gold); }
.work :focus-visible, .site-footer :focus-visible { outline-color: var(--gold); }
.comparison { --reveal: 43%; position: relative; isolation: isolate; aspect-ratio: 685/423; overflow: hidden; border-radius: 6px; background: var(--forest-raised); }
.comparison img { width: 100%; height: 100%; object-fit: cover; }
.comparison-before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--reveal)) 0 0); }
.comparison-divider { position: absolute; top: 0; bottom: 0; left: var(--reveal); width: 2px; transform: translateX(-50%); background: #fffbe9; }
.comparison-label { position: absolute; top: 12px; padding: 4px 8px; border-radius: 2px; color: white; background: #172a22ed; font-size: 13px; font-weight: 700; }
.before-label { left: 12px; }
.after-label { right: 12px; }
.comparison-handle { display: none; position: absolute; top: 50%; left: 50%; width: 40px; height: 40px; place-items: center; transform: translate(-50%, -50%); border-radius: 50%; color: var(--forest); background: var(--white); font-size: 23px; box-shadow: 0 2px 8px #19291c4d; }
.comparison-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; appearance: none; cursor: ew-resize; touch-action: pan-y; }
.comparison-range::-webkit-slider-thumb { appearance: none; width: 40px; height: 40px; }
.comparison-range::-moz-range-thumb { width: 40px; height: 40px; }
.comparison:has(.comparison-range:not([hidden])) .comparison-handle { display: grid; }
.comparison:has(.comparison-range:focus-visible) { outline: 2px solid var(--gold); outline-offset: 4px; }
.comparison[data-side="after"] .before-label, .comparison[data-side="before"] .after-label { visibility: hidden; }
.comparison-figure figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 3px 14px; margin-top: 10px; color: var(--light-muted); font-size: 14px; }
.comparison-hint { color: var(--gold); }

.offer, .process, .faq { padding-block: clamp(62px, 8vw, 109px); }
.offer-grid { display: grid; grid-template-columns: minmax(0, 1.17fr) minmax(0, .79fr); gap: clamp(35px, 8vw, 108px); align-items: center; }
.deliverables { margin-top: 27px; border-top: 1px solid var(--line); }
.deliverables > div { border-bottom: 1px solid var(--line); padding: 12px 0; }
.deliverables dt { font-size: 19px; }
.deliverables dd { max-width: 56ch; color: var(--muted); font-size: 17px; }
.price-panel { padding: clamp(26px, 4.6vw, 65px); border: 1px solid #b9c0ad; border-radius: 7px; background: #e9ebdf; }
.price-panel .eyebrow { margin-bottom: 8px; }
.price-amount { font: 400 clamp(81px, 8.2vw, 115px)/.98 var(--display); letter-spacing: -.071em; }
.price-terms { margin-top: 12px; color: var(--muted); font-size: 18px; line-height: 1.35; }
.price-panel .checkout { margin-top: 24px; }
.price-panel .button { display: flex; width: 100%; }
.price-next { margin-top: 23px; padding-top: 14px; border-top: 1px solid #c4c9b9; color: var(--muted); font-size: 16px; }

.process { background: #eeece1; border-block: 1px solid var(--line); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(22px, 3.5vw, 50px); padding: 0; margin: 34px 0 0; list-style: none; counter-reset: step; }
.steps > li { position: relative; padding-top: 18px; border-top: 1px solid #b8bdaa; counter-increment: step; }
.steps > li::before { content: counter(step, decimal-leading-zero); display: block; color: var(--accent); font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; margin-bottom: 13px; }
.steps p { margin-top: 8px; color: var(--muted); font-size: 18px; }

.faq-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.2fr); align-items: start; gap: clamp(30px, 7vw, 94px); }
.faq .text-link { margin-top: 17px; }
.questions { border-top: 1px solid var(--line); }
.questions details { border-bottom: 1px solid var(--line); }
.questions summary { display: flex; align-items: center; justify-content: space-between; gap: 15px; min-height: 61px; padding: 9px 2px 9px 0; list-style: none; font-size: 19px; line-height: 1.3; font-weight: 700; cursor: pointer; }
.questions summary::-webkit-details-marker { display: none; }
.questions summary:hover { color: var(--accent); }
.faq-icon { position: relative; flex: 0 0 12px; height: 12px; color: var(--accent); }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; inset: 5px 0; background: currentColor; }
.faq-icon::after { transform: rotate(90deg); }
.questions details[open] .faq-icon::after { display: none; }
.questions details p { max-width: 60ch; padding: 0 22px 16px 0; color: var(--muted); font-size: 17px; }
.questions details p a { text-underline-offset: 3px; }

.site-footer { background: var(--forest); color: var(--white); }
.site-footer .brand-mark { border-color: var(--gold); }
.site-footer .brand-mark::after { background: var(--gold); }
.site-footer .brand-period { color: var(--gold); }
.footer-inner, .footer-links { display: flex; align-items: center; flex-wrap: wrap; }
.footer-inner { min-height: 88px; justify-content: space-between; gap: 14px 24px; padding-block: 16px; }
.footer-links { gap: 2px 20px; }
.site-footer .text-link { color: var(--light-muted); font-size: 15px; }

.document-content { max-width: 770px; padding-block: clamp(51px, 8vw, 96px); overflow-wrap: anywhere; }
.document-content h1 { font-size: clamp(44px, 6vw, 82px); line-height: 1.01; }
.document-content h2 { max-width: none; margin-top: 30px; font-size: clamp(28px, 3.6vw, 38px); }
.document-content p, .document-content li { color: var(--muted); }
.document-content p { margin-top: 12px; }
.document-content p:first-child { margin-top: 0; }
.document-content ul { padding-left: 23px; }
.document-content a { text-underline-offset: 4px; }

@media (max-width: 1100px) {
  .hero h1 { font-size: clamp(55px, 6.75vw, 75px); }
  .hero-grid { gap: 35px; }
  .showcase-stage { min-height: 0; }
}

@media (max-width: 760px) {
  .nav-bar, .document-header { min-height: 64px; }
  .brand { font-size: 25px; }
  .nav-bar nav { gap: 13px; font-size: 15px; }
  .nav-bar .nav-price { min-height: 40px; padding-inline: 10px; }
  .hero { padding-block: 47px 50px; }
  .hero-grid, .work-grid, .offer-grid, .faq-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 28px; }
  .hero h1 { max-width: 13ch; font-size: clamp(52px, 10vw, 72px); }
  .eyebrow { margin-bottom: 12px; }
  .lead { margin-top: 16px; font-size: 19px; }
  .hero-price { margin-top: 17px; }
  .hero-actions { margin-top: 17px; }
  .showcase { width: min(100%, 600px); }
  .work-grid, .offer-grid, .faq-grid { gap: 27px; }
  .work-copy, .deliverables { max-width: 590px; }
  .price-panel { max-width: 520px; }
  .steps { grid-template-columns: 1fr; gap: 22px; margin-top: 25px; }
  .footer-inner { align-items: flex-start; }
}

@media (max-width: 450px) {
  .nav-bar nav a:not(.nav-price) { display: none; }
  .hero h1 { font-size: clamp(49px, 12.8vw, 57px); }
  .hero-actions { column-gap: 14px; }
  .hero-actions > .text-link { min-height: 42px; }
  .showcase-caption { font-size: 15px; }
  .showcase-caption div span { margin-left: 4px; font-size: 13px; }
  .showcase-caption .text-link { font-size: 15px; }
  .phone-frame { border-width: 3px; border-radius: 9px; }
  .frame-bar { height: 13px; }
}

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