:root {
  --ink: #1C2B2A;
  --paper: #F1F3EF;
  --sheet: #FBFCFA;
  --leaf: #2F5D50;
  --leaf-soft: #DCE7E1;
  --brass: #B4893A;
  --brass-deep: #8C6824;
  --line: #CDD3CB;
  --muted: #56645F;
  --serif: "Young Serif", Georgia, serif;
  --sans: "Hanken Grotesk", system-ui, -apple-system, sans-serif;
  --wrap: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: var(--leaf); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--brass); outline-offset: 3px; border-radius: 4px; }
img { max-width: 100%; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 12px; background: var(--sheet); padding: 8px 12px; z-index: 50; }

/* Header */
.top { border-bottom: 1px solid var(--line); background: var(--paper); position: sticky; top: 0; z-index: 10; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 66px; gap: 16px; }
.brand { font-family: var(--serif); font-size: 22px; color: var(--ink); text-decoration: none; display: flex; align-items: center; gap: 10px; }
.brand-mark { width: 14px; height: 22px; border-radius: 3px 3px 7px 7px; background: var(--brass); position: relative; flex: none; }
.brand-mark::after { content: ""; position: absolute; top: 4px; left: 4px; width: 6px; height: 6px; border-radius: 50%; background: var(--paper); }
.nav { display: flex; gap: 22px; font-size: 15px; align-items: center; }
.nav a { color: var(--ink); text-decoration: none; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--leaf); text-decoration: underline; text-underline-offset: 5px; }
.nav .nav-cta { background: var(--leaf); color: #fff; padding: 8px 14px; border-radius: 6px; font-weight: 600; text-decoration: none; }
.nav .nav-cta:hover { background: var(--ink); color: #fff; text-decoration: none; }
@media (max-width: 760px) { .nav a:not(.nav-cta) { display: none; } }

/* Buttons */
.btn { display: inline-block; background: var(--leaf); color: #fff; text-decoration: none; padding: 14px 22px; border-radius: 6px; font-weight: 600; border: 0; font-size: 16px; font-family: var(--sans); cursor: pointer; }
.btn:hover { background: var(--ink); }
.btn-quiet { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.btn-quiet:hover { background: var(--ink); color: #fff; }
.ctas { display: flex; flex-wrap: wrap; gap: 10px; }

/* Hero */
.hero { padding: 84px 0 68px; }
.hero .wrap { display: grid; grid-template-columns: 1.35fr 0.65fr; gap: 48px; align-items: center; }
.hero h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 6vw, 70px); line-height: 1.04; letter-spacing: -0.01em; margin: 0 0 24px; max-width: 14ch; text-wrap: balance; }
.hero p { font-size: 20px; color: var(--muted); max-width: 54ch; margin: 0 0 30px; }
.tag-stage { display: flex; justify-content: center; padding-top: 10px; }
.keytag { width: 190px; height: 300px; background: linear-gradient(160deg, #C99B47, var(--brass) 45%, var(--brass-deep)); border-radius: 18px 18px 95px 95px; position: relative; color: #2A1F0B; text-align: center; padding-top: 70px; transform-origin: 50% 0; animation: swing 2.6s ease-out 1; box-shadow: inset 0 0 0 2px rgba(255,255,255,.18); }
.keytag::before { content: ""; position: absolute; top: 22px; left: 50%; width: 26px; height: 26px; margin-left: -13px; border-radius: 50%; background: var(--paper); box-shadow: inset 0 2px 3px rgba(0,0,0,.35); }
.keytag .num { font-family: var(--serif); font-size: 76px; line-height: 1; display: block; }
.keytag .lbl { font-size: 14px; font-weight: 600; line-height: 1.35; display: block; margin: 10px 26px 0; }
.keytag .hotel { font-family: var(--serif); font-size: 15px; display: block; margin-top: 30px; opacity: .8; }
@keyframes swing { 0% { transform: rotate(-9deg); } 35% { transform: rotate(6deg); } 60% { transform: rotate(-3deg); } 80% { transform: rotate(1.5deg); } 100% { transform: rotate(0); } }
@media (max-width: 820px) { .hero { padding-top: 44px; } .hero .wrap { grid-template-columns: 1fr; } .tag-stage { display: none; } }

/* Page head (inner pages) */
.page-head { padding: 64px 0 40px; }
.page-head h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(36px, 5vw, 56px); line-height: 1.06; margin: 0 0 16px; max-width: 18ch; text-wrap: balance; }
.page-head p { font-size: 19px; color: var(--muted); max-width: 60ch; margin: 0; }

/* Sections */
section { padding: 76px 0; }
.sec-title { font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 4vw, 44px); line-height: 1.1; margin: 0 0 14px; text-wrap: balance; }
.sec-lead { color: var(--muted); max-width: 60ch; margin: 0 0 40px; font-size: 18px; }
.band { background: var(--sheet); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* Who it's for */
.who { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.who > div { border-top: 2px solid var(--ink); padding-top: 16px; min-width: 0; }
.who h3 { font-family: var(--serif); font-weight: 400; font-size: 22px; margin: 0 0 8px; }
.who p { margin: 0; color: var(--muted); }
@media (max-width: 820px) { .who { grid-template-columns: 1fr; gap: 24px; } }

/* Directory */
.dir-grid { display: grid; grid-template-columns: 240px 1fr; gap: 48px; align-items: start; }
.depts { position: sticky; top: 90px; display: flex; flex-direction: column; gap: 4px; }
.depts button { text-align: left; background: none; border: 0; padding: 10px 12px; border-radius: 6px; font: inherit; font-size: 16px; color: var(--ink); cursor: pointer; display: flex; justify-content: space-between; gap: 8px; }
.depts button span { color: var(--muted); font-size: 14px; }
.depts button:hover { background: var(--paper); }
.depts button[aria-pressed="true"] { background: var(--leaf); color: #fff; }
.depts button[aria-pressed="true"] span { color: #D9E6E0; }
@media (max-width: 820px) { .dir-grid { grid-template-columns: 1fr; gap: 20px; } .depts { position: static; flex-direction: row; flex-wrap: wrap; } .depts button span { display: none; } }
.dept-head { font-family: var(--serif); font-weight: 400; font-size: 24px; margin: 36px 0 4px; padding-bottom: 10px; border-bottom: 2px solid var(--ink); }
.dept:first-child .dept-head { margin-top: 0; }
.tool { display: grid; grid-template-columns: 1fr 150px; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.tool > div { min-width: 0; }
.tool h3 { font-family: var(--serif); font-weight: 400; font-size: 21px; margin: 0 0 6px; }
.tool .said { margin: 0 0 8px; color: var(--leaf); font-style: italic; }
.tool .does { margin: 0; color: var(--muted); max-width: 62ch; }
.chip { display: inline-block; margin-top: 10px; font-size: 13px; font-weight: 600; color: var(--brass-deep); border: 1px solid var(--brass); border-radius: 20px; padding: 2px 10px; }
.chip.new { color: var(--leaf); border-color: var(--leaf); }
.price { text-align: right; }
.price b { display: block; font-family: var(--serif); font-weight: 400; font-size: 22px; font-variant-numeric: tabular-nums; }
.price small { display: block; color: var(--muted); font-size: 14px; line-height: 1.4; }
@media (max-width: 560px) { .tool { grid-template-columns: 1fr; gap: 8px; } .price { text-align: left; } .price b, .price small { display: inline; margin-right: 8px; } }
.missing { margin-top: 36px; padding: 24px; background: var(--leaf); color: #fff; border-radius: 8px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.missing p { margin: 0; max-width: 52ch; }
.missing strong { font-family: var(--serif); font-weight: 400; font-size: 22px; display: block; }
.missing .btn { background: var(--brass); color: #2A1F0B; }
.missing .btn:hover { background: #fff; }

/* Featured list (home) */
.featured { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 48px; }
@media (max-width: 820px) { .featured { grid-template-columns: 1fr; } }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: s; }
.steps li { counter-increment: s; border-top: 2px solid var(--ink); padding-top: 16px; }
.steps li::before { content: counter(s); font-family: var(--serif); font-size: 34px; color: var(--brass-deep); display: block; line-height: 1; margin-bottom: 10px; }
.steps h3 { font-size: 18px; margin: 0 0 6px; }
.steps p { margin: 0; color: var(--muted); font-size: 16px; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* Pricing */
.plans { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 24px; align-items: stretch; }
.plan { background: var(--sheet); border: 1px solid var(--line); border-radius: 10px; padding: 26px; display: flex; flex-direction: column; min-width: 0; }
.plan.build { background: var(--ink); color: #E9EEEA; border-color: var(--ink); }
.plan h3 { font-family: var(--serif); font-weight: 400; font-size: 24px; margin: 0 0 4px; }
.plan .amount { font-family: var(--serif); font-size: 34px; margin: 8px 0 4px; font-variant-numeric: tabular-nums; }
.plan .amount small { font-family: var(--sans); font-size: 15px; color: var(--muted); }
.plan.build .amount small, .plan.build .note { color: #B9C6C0; }
.plan ul { padding-left: 18px; margin: 14px 0 0; }
.plan li { margin-bottom: 6px; }
.plan .note { color: var(--muted); font-size: 15px; margin: 0; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; } }

/* Proof */
.proof { background: var(--ink); color: #E9EEEA; }
.proof .sec-title { color: #fff; }
.proof .sec-lead { color: #B9C6C0; }
.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.cases h3 { font-family: var(--serif); font-weight: 400; font-size: 22px; color: #fff; margin: 0 0 10px; }
.cases p { margin: 0 0 10px; color: #C9D4CF; }
.cases .result { color: #E2C68C; }
@media (max-width: 820px) { .cases { grid-template-columns: 1fr; } }

/* Founder */
.founder { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 48px; align-items: start; }
.founder blockquote { margin: 0; font-family: var(--serif); font-size: clamp(24px, 3vw, 32px); line-height: 1.25; color: var(--ink); text-wrap: balance; }
.founder blockquote cite { display: block; font-family: var(--sans); font-style: normal; font-size: 15px; color: var(--muted); margin-top: 16px; }
.founder p { color: var(--muted); margin: 0 0 14px; }
@media (max-width: 820px) { .founder { grid-template-columns: 1fr; gap: 24px; } }

/* FAQ */
.faq { max-width: 760px; }
.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--serif); color: var(--brass-deep); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { color: var(--muted); margin: 10px 0 0; }

/* Apps */
.applist { list-style: none; margin: 0; padding: 0; }
.applist li { display: grid; grid-template-columns: 1fr auto; gap: 8px 24px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.applist h3 { font-family: var(--serif); font-weight: 400; font-size: 22px; margin: 0; }
.applist .for { color: var(--brass-deep); font-weight: 600; font-size: 14px; }
.applist p { grid-column: 1 / -1; margin: 0; color: var(--muted); max-width: 66ch; }
.hotilla { background: var(--sheet); border: 1px solid var(--line); border-radius: 10px; padding: 28px; }
.hotilla h3 { font-family: var(--serif); font-weight: 400; font-size: 28px; margin: 0 0 10px; }
.hotilla p { color: var(--muted); margin: 0 0 16px; }

/* Form */
.form-grid { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 56px; align-items: start; }
@media (max-width: 900px) { .form-grid { grid-template-columns: 1fr; gap: 32px; } }
form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { form .row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; min-width: 0; }
.field label { font-weight: 600; font-size: 15px; }
.field .hint { color: var(--muted); font-size: 14px; font-weight: 400; }
.field input, .field select, .field textarea { font: inherit; font-size: 16px; color: var(--ink); background: var(--sheet); border: 1px solid var(--line); border-radius: 6px; padding: 12px 14px; width: 100%; }
.field textarea { min-height: 130px; resize: vertical; }
.checks { display: flex; flex-wrap: wrap; gap: 8px; }
.checks label { font-weight: 400; font-size: 15px; display: inline-flex; gap: 8px; align-items: center; background: var(--sheet); border: 1px solid var(--line); border-radius: 20px; padding: 6px 12px; cursor: pointer; }
.checks input { width: auto; margin: 0; }
.form-status { margin-top: 14px; padding: 14px 16px; border-radius: 6px; }
.form-status.ok { background: var(--leaf-soft); color: var(--leaf); }
.form-status.err { background: #F6E3DC; color: #8A2D14; }
.aside-card { background: var(--sheet); border: 1px solid var(--line); border-radius: 10px; padding: 24px; }
.aside-card h2 { font-family: var(--serif); font-weight: 400; font-size: 22px; margin: 0 0 12px; }
.aside-card ol { padding-left: 20px; margin: 0; color: var(--muted); }
.aside-card li { margin-bottom: 8px; }
.copy-line { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 16px; }
.copy-line code { background: var(--paper); padding: 4px 8px; border-radius: 4px; font-size: 15px; }

/* Closing CTA */
.closing .wrap { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px; align-items: end; }
.closing p { color: var(--muted); max-width: 52ch; }
@media (max-width: 820px) { .closing .wrap { grid-template-columns: 1fr; } }

/* Prose (legal-style pages) */
.prose { max-width: 70ch; }
.prose h2 { font-family: var(--serif); font-weight: 400; font-size: 26px; margin: 36px 0 10px; }
.prose p, .prose li { color: var(--muted); }

footer { border-top: 1px solid var(--line); padding: 36px 0 44px; font-size: 14px; color: var(--muted); }
footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 24px; }
footer h4 { color: var(--ink); font-size: 14px; margin: 0 0 8px; }
footer ul { list-style: none; margin: 0; padding: 0; }
footer li { margin-bottom: 6px; }
footer a { color: var(--muted); }
@media (max-width: 820px) { footer .wrap { grid-template-columns: 1fr 1fr; } }

@media print {
  .top, .depts, .btn, footer, .missing { display: none !important; }
  body { background: #fff; font-size: 12pt; }
  section, .hero { padding: 24px 0; }
  .dir-grid { grid-template-columns: 1fr; }
  .tool { break-inside: avoid; }
  .keytag { animation: none; }
}
