/* Fonts (self-hosted, SIL Open Font License) */
@font-face {
  font-family: "Fraunces";
  src: url("fonts/fraunces.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("fonts/inter.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
}

:root {
  --paper: #f6f3ec;
  --paper-2: #efeadf;
  --card: #fffdf8;
  --ink: #14202b;
  --ink-2: #1c2a37;
  --muted: #4f5b66;
  --line: #ddd5c5;
  --accent: #1d6b58;
  --accent-2: #e3efe9;
  --accent-ink: #ffffff;
  --route: #c8891f;
  --route-soft: #f5e6c8;
  --focus: #1d6b58;
  --on-dark: #f3eee4;
  --on-dark-muted: #a9b4be;
  --dark-line: #2c3b49;
  --serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --wrap: 1140px;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(20, 32, 43, .06), 0 18px 40px -20px rgba(20, 32, 43, .28);
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0f151b;
    --paper-2: #141c24;
    --card: #18212a;
    --ink: #ece6da;
    --ink-2: #0b1015;
    --muted: #a6afb8;
    --line: #2a3540;
    --accent: #5cc4a6;
    --accent-2: #173129;
    --accent-ink: #0c1a16;
    --route: #e2a94a;
    --route-soft: #3a2d16;
    --focus: #5cc4a6;
    --on-dark: #ece6da;
    --dark-line: #26323d;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 18px 40px -20px rgba(0, 0, 0, .7);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }

.skip {
  position: absolute; left: 16px; top: -60px;
  background: var(--ink); color: var(--paper);
  padding: 8px 14px; border-radius: 6px; z-index: 50;
}
.skip:focus { top: 12px; }

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

h1, h2, h3 {
  font-family: var(--serif); font-weight: 600; line-height: 1.1; margin: 0;
  letter-spacing: -0.02em; font-optical-sizing: auto; text-wrap: balance;
}
p { text-wrap: pretty; }

.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 600; color: var(--accent);
  text-transform: uppercase; letter-spacing: .12em; margin: 0 0 14px;
}

/* Header */
.top {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 650; letter-spacing: -0.01em; }
.brand svg { width: 28px; height: 28px; flex: none; }
.nav { display: flex; align-items: center; gap: 28px; font-size: 15px; }
.nav a { text-decoration: none; color: var(--muted); font-weight: 500; }
.nav a:hover { color: var(--ink); }
.nav .btn { color: var(--accent-ink); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 20px; border-radius: 10px;
  background: var(--accent); color: var(--accent-ink);
  font-weight: 600; text-decoration: none; border: 1px solid transparent;
  box-shadow: 0 1px 0 rgba(255,255,255,.18) inset, 0 6px 16px -8px color-mix(in srgb, var(--accent) 80%, transparent);
  transition: transform .15s ease, filter .15s ease, box-shadow .15s ease;
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .15s ease; }
.btn:hover { filter: brightness(1.08); transform: translateY(-1px); }
.btn:hover svg { transform: translateX(3px); }
.btn.ghost { background: var(--card); color: var(--ink); border-color: var(--line); box-shadow: none; }
.btn.ghost:hover { border-color: var(--muted); filter: none; }
.btn-lg { min-height: 54px; padding: 0 26px; font-size: 17px; }
.nav .btn { min-height: 40px; padding: 0 16px; }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  padding: 80px 0 96px;
  background:
    radial-gradient(60% 60% at 85% 20%, color-mix(in srgb, var(--route) 12%, transparent), transparent 70%),
    radial-gradient(50% 50% at 0% 100%, color-mix(in srgb, var(--accent) 10%, transparent), transparent 70%);
}
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 24px;
  padding: 6px 14px 6px 10px; border-radius: 99px;
  background: var(--card); border: 1px solid var(--line);
  font-size: 14px; font-weight: 500; color: var(--muted);
}
.pill-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-2); }
.hero h1 { font-size: clamp(40px, 5.8vw, 68px); line-height: 1.04; letter-spacing: -0.03em; }
.hl {
  color: var(--accent);
  background: linear-gradient(transparent 72%, var(--route-soft) 72%, var(--route-soft) 92%, transparent 92%);
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.lede { font-size: 20px; color: var(--muted); margin: 24px 0 34px; max-width: 32em; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.assure { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 0; margin: 26px 0 0; font-size: 15px; color: var(--muted); }
.assure li { display: flex; align-items: center; gap: 8px; }
.assure li::before {
  content: ""; width: 10px; height: 5px; margin-top: -3px;
  border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg);
}

.plan { position: relative; padding-bottom: 36px; }
.plan-card {
  position: relative; background: var(--card); border: 1px solid var(--line);
  border-radius: 18px; box-shadow: var(--shadow); overflow: hidden;
  transform: rotate(1deg);
}
.plan-card::before {
  content: ""; position: absolute; inset: 44px 0 0;
  background-image:
    linear-gradient(color-mix(in srgb, var(--accent) 9%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--accent) 9%, transparent) 1px, transparent 1px);
  background-size: 22px 22px;
}
.plan-bar { position: relative; display: flex; align-items: center; gap: 6px; height: 44px; padding: 0 16px; border-bottom: 1px solid var(--line); }
.plan-bar span { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.plan-bar em { margin-left: auto; font-style: normal; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.plan-svg { position: relative; width: 100%; height: auto; padding: 18px; color: var(--ink); }
.plan-svg .wall { fill: none; stroke: currentColor; stroke-width: 5; stroke-linecap: square; }
.plan-svg .inner { fill: none; stroke: currentColor; stroke-width: 2.5; opacity: .5; }
.plan-svg .room { font: 600 11px var(--sans); fill: var(--muted); letter-spacing: .1em; }
.plan-svg .route {
  fill: none; stroke: var(--route); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 2.4s .3s ease-out forwards;
}
.plan-svg .stop { fill: var(--route); }
.plan-svg .stop-ring { fill: none; stroke: var(--route); stroke-width: 2; opacity: .35; transform-origin: 110px 290px; animation: pulse 2.4s ease-out infinite; }
.plan-svg .stop-n { font: 700 12px var(--sans); fill: #fff; text-anchor: middle; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pulse { 0% { transform: scale(.7); opacity: .6; } 100% { transform: scale(1.6); opacity: 0; } }

.slip {
  position: absolute; left: -28px; bottom: 0; width: min(310px, 82%);
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px 16px; box-shadow: var(--shadow);
  font-size: 14px; line-height: 1.45; transform: rotate(-1.5deg);
}
.slip-top { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.slip-ok { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--accent); flex: none; }
.slip-ok svg { width: 14px; height: 14px; fill: none; stroke: var(--accent-ink); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.slip-when { font-weight: 700; }
.tag { margin-left: auto; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); border: 1px solid var(--line); border-radius: 99px; padding: 1px 8px; white-space: nowrap; }
.slip p { margin: 0; color: var(--muted); }
.slip strong { color: var(--ink); font-weight: 600; }

/* Building types strip */
.types { padding: 26px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper-2); }
.types .wrap { display: flex; align-items: center; gap: 12px 28px; flex-wrap: wrap; }
.types p { margin: 0; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.types ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 10px; }
.types li { font-family: var(--serif); font-size: 18px; font-weight: 500; padding: 4px 14px; border-radius: 99px; border: 1px solid var(--line); background: var(--card); }

/* Sections */
section { padding: 104px 0; }
.head { max-width: 40em; margin-bottom: 52px; }
.head.center { margin-left: auto; margin-right: auto; text-align: center; }
.head h2, .deliver h2, .start h2 { font-size: clamp(32px, 4vw, 48px); }
.head p { color: var(--muted); margin: 16px 0 0; font-size: 18px; }

/* Problem (dark) */
.problem { background: var(--ink-2); color: var(--on-dark); }
.problem .eyebrow { color: var(--route); }
.problem-head { max-width: 46em; margin-bottom: 56px; }
.problem h2 { font-size: clamp(30px, 3.8vw, 46px); }
.compare { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.compare-col { border: 1px solid var(--dark-line); border-radius: var(--radius); padding: 28px; background: rgba(255,255,255,.02); }
.compare-col h3 { font-size: 22px; margin-bottom: 10px; color: var(--on-dark); }
.compare-col p { margin: 0; color: var(--on-dark-muted); }
.compare-col.is-us { border-color: var(--route); background: color-mix(in srgb, var(--route) 10%, transparent); position: relative; }
.compare-col.is-us::before {
  content: "Our way"; position: absolute; top: -12px; left: 24px;
  background: var(--route); color: #1a1206; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: 2px 10px; border-radius: 99px;
}
.compare-col.is-us p { color: var(--on-dark); }

/* How it works */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; position: relative; }
.steps::before {
  content: ""; position: absolute; left: 12%; right: 12%; top: 52px; height: 0;
  border-top: 2.5px dashed var(--route); opacity: .6;
}
.steps li {
  position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: 0 1px 2px rgba(20, 32, 43, .04);
  transition: transform .2s ease, box-shadow .2s ease;
}
.steps li:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.step-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--accent-2); margin-bottom: 20px; }
.step-icon svg { width: 24px; height: 24px; fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.step-n { display: block; font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--route); margin-bottom: 6px; }
.steps h3 { font-size: 24px; margin-bottom: 8px; }
.steps p { margin: 0; color: var(--muted); }

/* What you get */
.deliver { background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.deliver .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.deliver-copy > p { color: var(--muted); font-size: 18px; margin: 18px 0 26px; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checks li { display: grid; grid-template-columns: 24px 1fr; gap: 10px; }
.checks li::before {
  content: ""; width: 22px; height: 22px; border-radius: 50%; margin-top: 2px;
  background: var(--accent-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%231d6b58' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
}

.booking { background: var(--card); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); overflow: hidden; }
.booking-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 22px 24px; border-bottom: 1px solid var(--line); border-left: 5px solid var(--route); }
.booking-kicker { display: block; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--route); margin-bottom: 4px; }
.booking-head strong { font-family: var(--serif); font-size: 26px; font-weight: 600; letter-spacing: -0.01em; }
.booking-rows { margin: 0; padding: 8px 24px; }
.booking-rows div { display: grid; grid-template-columns: 96px 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.booking-rows div:last-child { border-bottom: 0; }
.booking-rows dt { font-size: 14px; color: var(--muted); }
.booking-rows dd { margin: 0; font-weight: 500; }
.booking-foot { display: flex; align-items: center; gap: 10px; padding: 14px 24px; background: var(--accent-2); color: var(--accent); font-weight: 600; font-size: 15px; }
.booking-foot .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }

/* Pricing */
.pricing { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; max-width: 980px; margin: 0 auto; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 36px; }
.price-card { box-shadow: var(--shadow); border-top: 5px solid var(--accent); }
.amounts { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line); padding-bottom: 26px; margin-bottom: 26px; }
.amounts div + div { border-left: 1px solid var(--line); padding-left: 26px; }
.amount { font-family: var(--serif); font-size: 56px; line-height: 1; font-weight: 600; letter-spacing: -0.03em; }
.amount small { font-family: var(--sans); font-size: 17px; color: var(--muted); font-weight: 500; letter-spacing: 0; }
.amount-label { color: var(--muted); font-size: 15px; margin-top: 10px; }
.price-card .checks { margin-bottom: 30px; }
.card .btn { width: 100%; }
.fine { font-size: 14px; color: var(--muted); margin: 14px 0 0; text-align: center; }
.fit { display: grid; gap: 28px; }
.fit-item { padding-left: 20px; border-left: 2px solid var(--line); }
.fit h3 { font-size: 22px; margin: 0 0 8px; }
.fit p { color: var(--muted); margin: 0; }

/* FAQ */
.faq-sec { background: var(--paper-2); border-top: 1px solid var(--line); }
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
.faq-grid .head { position: sticky; top: 100px; margin-bottom: 0; }
.faq-grid .head a { color: var(--accent); font-weight: 600; }
.faq { display: grid; gap: 12px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 12px; transition: border-color .15s ease; }
.faq details[open] { border-color: color-mix(in srgb, var(--accent) 50%, var(--line)); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 56px 20px 24px; font-weight: 600; font-size: 18px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 9px; height: 9px;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
  transform: translateY(-70%) rotate(45deg); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq details p { margin: -4px 24px 22px; color: var(--muted); max-width: 40em; }
.faq details a { color: var(--accent); }

/* Start (CTA) */
.start { padding: 104px 0; }
.start-panel {
  position: relative; overflow: hidden; display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center;
  background: var(--ink-2); color: var(--on-dark); border-radius: 24px; padding: 64px;
}
.start-route { position: absolute; right: -20px; bottom: -10px; width: 460px; opacity: .25; pointer-events: none; }
.start-route path { fill: none; stroke: var(--route); stroke-width: 3; stroke-dasharray: 8 8; stroke-linecap: round; }
.start-route circle { fill: var(--route); }
.start-copy, .start-box { position: relative; }
.start h2 { color: var(--on-dark); }
.start-copy p { color: var(--on-dark-muted); font-size: 19px; margin: 16px 0 0; }
.start-box { display: grid; gap: 14px; }
.start-box .fine { text-align: left; margin: 0; color: var(--on-dark-muted); }
.btn-light { background: var(--route); color: #1a1206; box-shadow: 0 10px 24px -12px rgba(0,0,0,.6); }

/* Footer */
.foot { border-top: 1px solid var(--line); padding: 36px 0 48px; font-size: 15px; color: var(--muted); }
.foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 32px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--ink); text-decoration: underline; }

/* Legal / plain pages */
.doc { max-width: 720px; padding: 64px 24px 96px; }
.doc h1 { font-size: clamp(34px, 4.6vw, 48px); margin-bottom: 8px; }
.doc .updated { color: var(--muted); font-size: 15px; margin: 0 0 36px; }
.doc h2 { font-size: 24px; margin: 40px 0 10px; }
.doc p, .doc li { color: var(--ink); }
.doc ul { padding-left: 22px; }
.doc li { margin: 6px 0; }
.doc .note { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; margin: 28px 0; }
.doc .note p { margin: 0; }
.doc .btn { margin-top: 8px; }

/* Brand mark */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.mark-wall { fill: none; stroke: currentColor; stroke-width: 2.2; }
.mark-route { fill: none; stroke: var(--route); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.mark-dot { fill: var(--route); }

/* Responsive */
@media (max-width: 960px) {
  .hero { padding: 56px 0 72px; }
  .hero .wrap, .pricing, .deliver .wrap, .faq-grid, .start-panel { grid-template-columns: 1fr; gap: 44px; }
  .plan { max-width: 560px; }
  .slip { left: 12px; }
  .steps, .compare { grid-template-columns: 1fr; }
  .steps::before { display: none; }
  .compare { gap: 24px; }
  .faq-grid .head { position: static; }
  section, .start { padding: 72px 0; }
  .start-panel { padding: 48px 36px; }
}

@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .nav a:not(.btn) { display: none; }
  .brand span { font-size: 16px; }
  .lede { font-size: 18px; }
  .ctas .btn { flex: 1 1 100%; }
  .card { padding: 26px 20px; }
  .amount { font-size: 44px; }
  .amounts div + div { padding-left: 16px; }
  .plan-card { transform: none; }
  .plan-svg { padding: 10px; }
  .slip { left: 8px; width: calc(100% - 16px); transform: none; }
  .types li { font-size: 16px; }
  .compare-col, .steps li { padding: 24px 20px; }
  .booking-rows div { grid-template-columns: 1fr; gap: 2px; }
  .booking-head, .booking-rows, .booking-foot { padding-left: 18px; padding-right: 18px; }
  .start-panel { padding: 40px 22px; border-radius: 18px; }
  .start-route { width: 300px; }
  .faq summary { font-size: 17px; padding: 18px 48px 18px 18px; }
  .faq details p { margin: -4px 18px 18px; }
  .doc { padding: 44px 16px 64px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .plan-svg .route { animation: none; stroke-dashoffset: 0; }
  .plan-svg .stop-ring { animation: none; }
  .btn, .btn svg, .faq summary::after, .steps li { transition: none; }
}
