:root {
  --ink: #14171A;
  --ink-2: #3A3F45;
  --paper: #EDECE8;
  --paper-2: #E3E1DB;
  --rule: #C9C6BE;
  --oxide: #A8432A;
  --oxide-dark: #8C3620;
  --slate: #1B2430;
  --sodium: #E9A85B;
  --wrap: 1280px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Archivo', system-ui, sans-serif;
  font-variation-settings: 'wdth' 100;
  font-size: 18px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.01em; text-wrap: balance; }
p { margin: 0; }
a { color: inherit; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 48px; }

/* Display type: Archivo pushed wide */
.wordmark, .section-title, .chapter h1, .chapter h2, .system-list h3, .steps h3, .price h3, .contact h2 {
  font-variation-settings: 'wdth' 118;
}

/* Header */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 20;
  display: flex; align-items: center; gap: 40px;
  padding: 22px 48px;
  color: #fff;
  transition: background-color .3s ease, color .3s ease;
}
.site-header.is-solid { background: var(--paper); color: var(--ink); border-bottom: 1px solid var(--rule); }
.wordmark { font-weight: 700; font-size: 21px; text-decoration: none; letter-spacing: -0.02em; }
.site-nav { display: flex; gap: 28px; margin-left: auto; }
.site-nav a { text-decoration: none; font-size: 15px; opacity: .85; }
.site-nav a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }

.btn {
  display: inline-flex; align-items: center; min-height: 52px;
  padding: 0 26px; background: var(--oxide); color: #fff;
  font-weight: 600; font-size: 16px; text-decoration: none;
  transition: background-color .2s ease;
}
.btn:hover { background: var(--oxide-dark); }
.btn:focus-visible, a:focus-visible, summary:focus-visible { outline: 2px solid var(--sodium); outline-offset: 3px; }
.btn-small { min-height: 44px; padding: 0 18px; font-size: 15px; }

/* Film */
/* Height = sum of chapter heights (4 x 100) so the last chapter lands in view as the film ends */
.film { position: relative; height: 400vh; background: var(--slate); }
.film-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.film-poster, .film-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.film-video { opacity: 0; transition: opacity .4s ease; }
.film-video.is-ready { opacity: 1; }
.film-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(14,18,24,.72) 0%, rgba(14,18,24,.35) 42%, rgba(14,18,24,0) 70%),
    linear-gradient(0deg, rgba(14,18,24,.55) 0%, rgba(14,18,24,0) 40%),
    linear-gradient(180deg, rgba(14,18,24,.5) 0%, rgba(14,18,24,0) 18%);
}
.chapters { position: relative; margin-top: -100vh; margin-top: -100svh; z-index: 2; }
.chapter {
  min-height: 100vh;
  display: flex; flex-direction: column; justify-content: center; gap: 20px;
  padding: 80px 48px 0;
  max-width: calc(620px + 96px);
  color: #fff;
}
.chapter-1 { max-width: calc(820px + 96px); }
.chapter-1 { min-height: 100vh; justify-content: flex-end; padding-top: 0; padding-bottom: 16vh; }
.chapter-last { min-height: 100vh; justify-content: center; padding-bottom: 0; padding-top: 80px; }
.chapter h1 { font-size: clamp(40px, 5.2vw, 76px); line-height: 1; font-weight: 700; }
.chapter h2 { font-size: clamp(34px, 4.4vw, 60px); line-height: 1.02; font-weight: 650; }
.chapter p { font-size: 19px; color: rgba(255,255,255,.86); max-width: 46ch; }
.chapter .btn { align-self: flex-start; margin-top: 8px; }

/* Statement */
.statement { padding: 140px 0; }
.statement-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 80px; align-items: center; }
.statement-text { display: flex; flex-direction: column; gap: 28px; }
.lede { font-size: clamp(22px, 2.1vw, 30px); line-height: 1.22; font-weight: 500; letter-spacing: -0.01em; }
.statement-text p:not(.lede) { color: var(--ink-2); max-width: 54ch; }
.statement-image { margin: 0; }
.statement-image img { width: 100%; height: auto; }

/* Shared section heads */
.section-title { font-size: clamp(38px, 4.6vw, 64px); line-height: 1; font-weight: 700; }
.section-intro { margin-top: 18px; color: var(--ink-2); max-width: 52ch; }

/* Systems */
.systems { padding: 120px 0 140px; background: var(--paper-2); }
.system-list { list-style: none; margin: 64px 0 0; padding: 0; border-top: 2px solid var(--ink); }
.system-list li {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px;
  padding: 30px 0; border-bottom: 1px solid var(--rule);
}
.system-list h3 { font-size: clamp(26px, 2.6vw, 36px); line-height: 1.05; }
.system-list p { color: var(--ink-2); max-width: 60ch; }

.screen { margin: 96px 0 0; background: #fff; border: 1px solid var(--ink); box-shadow: 14px 14px 0 var(--ink); font-size: 14px; }
.screen-bar { display: flex; justify-content: space-between; gap: 16px; padding: 14px 20px; border-bottom: 1px solid var(--rule); background: #F6F5F2; }
.screen-crumb { font-weight: 600; }
.screen-tag { color: #5E636A; }
.screen-body { display: grid; grid-template-columns: 260px minmax(0, 1fr); }
.screen-side { padding: 20px; border-right: 1px solid var(--rule); display: flex; flex-direction: column; gap: 14px; }
.screen-kv { display: flex; flex-direction: column; }
.screen-kv span { color: #5E636A; font-size: 13px; }
.screen-table-wrap { overflow-x: auto; }
.screen-table { width: 100%; min-width: 560px; border-collapse: collapse; }
.screen-table th, .screen-table td { text-align: left; padding: 13px 20px; border-bottom: 1px solid #E6E4DF; white-space: nowrap; }
.screen-table th { font-weight: 600; color: #5E636A; font-size: 13px; }
.screen-table tr:last-child td { border-bottom: 0; }
.screen-table .flag { color: var(--oxide); font-weight: 600; }

/* Process */
.process { padding: 140px 0; }
.steps { list-style: none; margin: 64px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); counter-reset: step; }
.steps li { position: relative; padding: 36px 32px 0 0; border-top: 2px solid var(--ink); counter-increment: step; }
.steps li::before { content: counter(step); position: absolute; top: -15px; left: 0; width: 28px; height: 28px; background: var(--paper); border: 2px solid var(--ink); display: grid; place-items: center; font-size: 13px; font-weight: 700; }
.steps h3 { font-size: 24px; margin-bottom: 12px; }
.steps p { color: var(--ink-2); font-size: 17px; }

/* Pricing */
.pricing { padding: 140px 0; background: var(--ink); color: var(--paper); }
.pricing .section-title { color: #fff; }
.price-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin-top: 64px; border-top: 1px solid rgba(255,255,255,.25); }
.price { padding: 40px 48px 40px 0; display: flex; flex-direction: column; gap: 18px; }
.price + .price { padding-left: 48px; border-left: 1px solid rgba(255,255,255,.25); }
.price h3 { font-size: clamp(40px, 4vw, 56px); color: #fff; line-height: 1; }
.price-line { font-size: 21px; color: rgba(237,236,232,.9); max-width: 34ch; }
.price ul { margin: 6px 0 0; padding-left: 20px; color: rgba(237,236,232,.78); display: flex; flex-direction: column; gap: 6px; }
.price-note { margin-top: 40px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.25); color: rgba(237,236,232,.9); max-width: 70ch; }

/* Questions */
.questions { padding: 140px 0; }
.questions-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 64px; }
.faq { border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { cursor: pointer; list-style: none; padding: 24px 40px 24px 0; font-size: 21px; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 4px; top: 20px; font-size: 26px; font-weight: 400; }
.faq details[open] summary::after { content: '\2013'; }
.faq details p { padding: 0 0 26px; color: var(--ink-2); max-width: 62ch; }

/* Contact + booking */
.contact { position: relative; padding: 160px 0; color: #fff; overflow: hidden; background: var(--slate); }
.contact-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.contact::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(14,18,24,.82) 0%, rgba(14,18,24,.45) 60%, rgba(14,18,24,.3) 100%); }
.contact-grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 64px; align-items: center; }
.contact-inner { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.contact h2 { font-size: clamp(40px, 5vw, 76px); line-height: 1; font-weight: 700; max-width: 14ch; }
.contact p { font-size: 20px; color: rgba(255,255,255,.88); max-width: 40ch; }
.contact .contact-alt { font-size: 16px; color: rgba(255,255,255,.75); }
.booking { background: #fff; border: 1px solid var(--ink); box-shadow: 14px 14px 0 rgba(168,67,42,.9); min-height: 660px; }
.calendly-inline-widget { width: 100%; height: 660px; min-width: 300px; }

/* FDE explainer */
.chapter .kicker { font-size: 15px; font-weight: 600; color: var(--sodium); letter-spacing: .01em; }
.statement-grid { align-items: start; }
.statement-image { position: sticky; top: 110px; }
.compare { margin: 8px 0 0; border-top: 2px solid var(--ink); }
.compare > div { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 24px; padding: 18px 0; border-bottom: 1px solid var(--rule); }
.compare dt { font-weight: 600; font-variation-settings: 'wdth' 112; }
.compare dd { margin: 0; color: var(--ink-2); }
.compare .compare-us dt { color: var(--oxide); }
.compare .compare-us dd { color: var(--ink); }

/* Footer */
.site-footer { padding: 32px 0; border-top: 1px solid var(--rule); font-size: 15px; color: var(--ink-2); }
.footer-inner { display: flex; flex-wrap: wrap; gap: 16px 40px; align-items: center; }
.footer-inner a { margin-left: auto; }
.wordmark-dark { color: var(--ink); font-size: 18px; }

/* Large screens: scale up so the page doesn't float in empty space */
@media (min-width: 1800px) {
  :root { --wrap: 1520px; }
  body { font-size: 20px; }
  .chapter { max-width: calc(760px + 96px); padding-left: 80px; padding-right: 80px; }
  .chapter-1 { max-width: calc(1000px + 160px); }
  .chapter h1 { font-size: 96px; }
  .chapter h2 { font-size: 72px; }
  .chapter p { font-size: 22px; }
  .site-header { padding: 28px 80px; }
  .wordmark { font-size: 24px; }
  .site-nav a { font-size: 17px; }
  .section-title { font-size: 76px; }
  .lede { font-size: 34px; }
  .system-list h3 { font-size: 40px; }
  .screen { font-size: 16px; }
  .steps h3 { font-size: 28px; }
  .steps p, .faq details p { font-size: 19px; }
  .faq summary { font-size: 24px; }
  .price-line { font-size: 24px; }
  .contact h2 { font-size: 88px; }
}

/* Tablet */
@media (max-width: 1100px) {
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .booking { max-width: 720px; width: 100%; }
}
@media (max-width: 900px) {
  .wrap { padding: 0 22px; }
  .site-header { padding: 16px 22px; gap: 16px; }
  .site-nav { display: none; }
  .site-header .btn-small { margin-left: auto; }
  .chapter { padding: 64px 22px 0; }
  .chapter-1 { padding: 0 22px 16vh; }
  .chapter p { font-size: 17px; }
  .statement { padding: 96px 0; }
  .statement-grid { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 36px; }
  .questions-grid { grid-template-columns: 1fr; gap: 40px; }
  .system-list li { grid-template-columns: 1fr; gap: 10px; }
  .screen { box-shadow: 8px 8px 0 var(--ink); }
  .screen-body { grid-template-columns: 1fr; }
  .screen-side { border-right: 0; border-bottom: 1px solid var(--rule); display: grid; grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 56px; }
  .price-grid { grid-template-columns: 1fr; }
  .price { padding-right: 0; }
  .price + .price { padding-left: 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.25); }
  .systems, .process, .pricing, .questions { padding: 96px 0; }
  .contact { padding: 110px 0; }
  .booking { box-shadow: 8px 8px 0 rgba(168,67,42,.9); }
  .footer-inner a { margin-left: 0; }
}

/* Phone */
@media (max-width: 680px) {
  .statement-grid { grid-template-columns: 1fr; }
  .statement-image { position: static; order: -1; }
  .statement-image img { aspect-ratio: 16 / 10; object-fit: cover; object-position: 60% 45%; }
  .compare > div { grid-template-columns: 1fr; gap: 4px; }
  .steps { grid-template-columns: 1fr; }
  .chapter h1 { font-size: clamp(36px, 10.5vw, 48px); }
  .chapter h2 { font-size: clamp(30px, 8.6vw, 40px); }
  .section-title { font-size: clamp(34px, 9.5vw, 44px); }
  .site-header .btn-small { padding: 0 14px; font-size: 14px; }
  /* Property table becomes stacked rows */
  .screen-table { min-width: 0; }
  .screen-table thead { display: none; }
  .screen-table tr { display: grid; grid-template-columns: auto 1fr auto; gap: 2px 12px; padding: 14px 16px; border-bottom: 1px solid #E6E4DF; }
  .screen-table tr:last-child { border-bottom: 0; }
  .screen-table td { padding: 0; border: 0; white-space: normal; font-size: 14px; }
  .screen-table td:nth-child(1) { font-weight: 700; }
  .screen-table td:nth-child(1)::before { content: 'Ste '; font-weight: 400; color: #5E636A; }
  .screen-table td:nth-child(2) { grid-column: 3; grid-row: 1; color: #5E636A; }
  .screen-table td:nth-child(2)::after { content: ' SF'; }
  .screen-table td:nth-child(3) { grid-column: 2; grid-row: 1; font-weight: 600; }
  .screen-table td:nth-child(4) { grid-column: 1 / 3; color: #5E636A; }
  .screen-table td:nth-child(4)::before { content: 'Expires '; }
  .screen-table td:nth-child(5) { grid-column: 3; grid-row: 2; text-align: right; }
  .calendly-inline-widget { height: 1000px; }
  .booking { min-height: 1000px; }
}

/* Short landscape phones */
@media (max-height: 500px) and (orientation: landscape) {
  .chapter h1 { font-size: 34px; }
  .chapter h2 { font-size: 28px; }
  .chapter p { font-size: 15px; }
  .chapter { gap: 12px; padding-top: 56px; }
  .chapter-1 { padding-bottom: 10vh; }
  .site-header { padding-top: 10px; padding-bottom: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .film { height: auto; }
  .film-stage { position: absolute; inset: 0; height: 100%; }
  .chapters { margin-top: 0; }
  .chapter, .chapter-1, .chapter-last { min-height: 100vh; }
}
.chapter h1 .kicker { display: block; margin: 0 0 18px; font-size: 15px; line-height: 1.4; font-weight: 600; letter-spacing: .01em; font-variation-settings: normal; }

/* Footer links */
.footer-inner .footer-links { margin-left: auto; display: flex; flex-wrap: wrap; gap: 8px 28px; }
.footer-inner .footer-links a, .footer-inner a.wordmark { margin-left: 0; }
.section-intro a, .system-list p a, .faq details p a { color: var(--oxide); text-underline-offset: 3px; }

/* Guide pages */
.page { background: var(--paper); }
.page .site-header { position: sticky; }
.article { padding: 72px 0 120px; }
.article-wrap { max-width: calc(760px + 96px); }
.crumbs { font-size: 14px; color: var(--ink-2); margin-bottom: 36px; }
.crumbs a { text-underline-offset: 3px; }
.article-kicker { display: block; font-size: 14px; font-weight: 600; color: var(--oxide); letter-spacing: .02em; text-transform: uppercase; margin-bottom: 14px; }
.article h1 { font-size: clamp(36px, 4.8vw, 62px); line-height: 1.02; font-weight: 700; font-variation-settings: 'wdth' 116; }
.article-dek { margin-top: 22px; font-size: clamp(20px, 1.9vw, 24px); line-height: 1.35; color: var(--ink-2); }
.article-by { margin-top: 22px; padding-bottom: 28px; border-bottom: 2px solid var(--ink); font-size: 15px; color: var(--ink-2); }
.article-body { padding-top: 12px; }
.article-body h2 { margin: 52px 0 16px; font-size: clamp(26px, 2.6vw, 34px); line-height: 1.1; font-variation-settings: 'wdth' 112; }
.article-body p { margin: 0 0 18px; color: var(--ink-2); }
.article-body ul, .article-body ol { margin: 0 0 22px; padding-left: 22px; color: var(--ink-2); }
.article-body li { margin: 0 0 12px; padding-left: 4px; }
.article-body strong { color: var(--ink); font-weight: 600; }
.article-body .faq { margin-top: 8px; }
.table-wrap { overflow-x: auto; margin: 8px 0 28px; border-top: 2px solid var(--ink); }
.article-body table { width: 100%; border-collapse: collapse; font-size: 16px; min-width: 520px; }
.article-body th, .article-body td { text-align: left; padding: 14px 12px 14px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.article-body thead th { font-weight: 600; color: var(--ink); }
.article-body tbody th { font-weight: 600; color: var(--ink); width: 26%; }
.article-body td { color: var(--ink-2); }
.article-cta { margin: 64px 0 0; padding: 40px; background: var(--slate); color: #fff; display: flex; flex-direction: column; gap: 16px; align-items: flex-start; box-shadow: 12px 12px 0 var(--oxide); }
.article-cta h2 { font-size: clamp(28px, 3vw, 40px); line-height: 1.05; font-weight: 700; font-variation-settings: 'wdth' 116; }
.article-cta p { color: rgba(255,255,255,.85); max-width: 46ch; }
.related { margin-top: 72px; }
.related h2 { font-size: 22px; margin-bottom: 12px; }
.related ul { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.related li { border-bottom: 1px solid var(--rule); }
.related a { display: block; padding: 16px 0; text-decoration: none; font-weight: 600; }
.related a:hover { color: var(--oxide); }
.guide-list { list-style: none; margin: 56px 0 0; padding: 0; border-top: 2px solid var(--ink); }
.guide-list li { border-bottom: 1px solid var(--rule); }
.guide-list a { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 5fr) minmax(0, 6fr); gap: 32px; padding: 30px 0; text-decoration: none; align-items: baseline; }
.guide-list .article-kicker { margin: 0; }
.guide-list h2 { font-size: clamp(22px, 2.2vw, 30px); line-height: 1.1; font-variation-settings: 'wdth' 112; }
.guide-list p { color: var(--ink-2); }
.guide-list a:hover h2 { color: var(--oxide); }
@media (max-width: 900px) {
  .article { padding: 48px 0 88px; }
  .guide-list a { grid-template-columns: 1fr; gap: 10px; }
  .article-cta { padding: 28px 22px; box-shadow: 8px 8px 0 var(--oxide); }
}
@media (max-width: 680px) {
  .article-body table { min-width: 0; font-size: 14px; }
  .article-body th, .article-body td { padding: 12px 8px 12px 0; }
  .article-body tbody th { width: 30%; }
}
.article-body h2, .article-cta { scroll-margin-top: 96px; }
.footer-inner .footer-legal { flex-basis: 100%; font-size: 13px; color: var(--ink-2); }
.footer-inner .footer-legal a { margin-left: 0; color: var(--ink-2); text-underline-offset: 3px; }
address { font-style: normal; }
.footer-inner .footer-address { flex-basis: 100%; font-size: 14px; color: var(--ink-2); }
