:root {
  --ink: #14232b;
  --ink-2: #3d505a;
  --muted: #5d6f78;
  --bg: #faf8f4;
  --bg-2: #f1ede5;
  --panel: #ffffff;
  --line: #e4dfd4;
  --brand: #1b4a5c;
  --brand-2: #256579;
  --brand-ink: #ffffff;
  --accent: #b9791c;
  --accent-soft: #f6e9d0;
  --dark: #0f2a35;
  --dark-2: #153846;
  --on-dark: #e8f0f2;
  --on-dark-muted: #a9c0c8;
  --shadow: 0 1px 2px rgba(20,35,43,.05), 0 8px 24px rgba(20,35,43,.06);
  --radius: 14px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ink: #eef3f4;
    --ink-2: #c4d2d7;
    --muted: #9db0b7;
    --bg: #0e171b;
    --bg-2: #132127;
    --panel: #17262d;
    --line: #26373f;
    --brand: #7fc0d4;
    --brand-2: #9ad0e0;
    --brand-ink: #0b1a20;
    --accent: #e3a94f;
    --accent-soft: #2c2616;
    --dark: #0a1418;
    --dark-2: #102026;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.25);
  }
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px; line-height: 1.65;
}
h1, h2, h3, h4 {
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  font-weight: 600; line-height: 1.18; margin: 0 0 .5em; letter-spacing: -.01em;
}
h1 { font-size: clamp(2.3rem, 5.6vw, 3.7rem); }
h2 { font-size: clamp(1.8rem, 3.8vw, 2.5rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1.05em; }
a { color: var(--brand-2); text-underline-offset: 3px; }
img, svg { max-width: 100%; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 22px; }
.narrow { max-width: 760px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--brand); color: var(--brand-ink); padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.logo { display: flex; align-items: center; gap: 11px; text-decoration: none; color: var(--ink); }
.logo-mark { width: 38px; height: 38px; flex: none; }
.logo-text { font-family: "Iowan Old Style", Palatino, Georgia, serif; font-weight: 600; font-size: 1.12rem; line-height: 1.1; }
.logo-text small { display: block; font-family: -apple-system, "Segoe UI", sans-serif; font-weight: 500; font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a { color: var(--ink-2); text-decoration: none; font-size: .95rem; padding: 9px 13px; border-radius: 8px; }
.nav-links a:hover { background: var(--bg-2); color: var(--ink); }
.nav-links a[aria-current="page"] { color: var(--brand-2); font-weight: 600; }
.nav-links .btn { margin-left: 8px; color: var(--brand-ink); padding: 10px 18px; }
.nav-links .btn:hover { background: var(--brand-2); color: var(--brand-ink); }
.menu-btn { display: none; background: none; border: 1px solid var(--line); border-radius: 8px; padding: 9px 11px; color: var(--ink); cursor: pointer; }
@media (max-width: 880px) {
  .menu-btn { display: block; }
  .nav-links { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; background: var(--bg); border-bottom: 1px solid var(--line); padding: 12px 22px 20px; gap: 2px; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 10px; }
  .nav-links .btn { margin: 8px 0 0; text-align: center; }
}

/* buttons */
.btn { display: inline-block; background: var(--brand); color: var(--brand-ink); padding: 14px 26px; border-radius: 10px; text-decoration: none; font-weight: 600; font-size: 1rem; border: 2px solid transparent; cursor: pointer; font-family: inherit; transition: transform .15s ease, background .15s ease; }
.btn:hover { background: var(--brand-2); transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--brand-2); border-color: var(--brand-2); }
.btn.ghost:hover { background: var(--bg-2); }
.btn.light { background: #fff; color: var(--dark); }
.btn.light:hover { background: #e9f1f3; }
.btn.light-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn.light-ghost:hover { background: rgba(255,255,255,.1); }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 8px; }

/* hero */
.hero { position: relative; overflow: hidden; padding: 96px 0 88px; background: var(--bg); }
.hero::before { content: ""; position: absolute; inset: 0; background:
  radial-gradient(900px 420px at 88% -10%, color-mix(in srgb, var(--brand) 16%, transparent), transparent 70%),
  radial-gradient(700px 380px at -5% 110%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 70%); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; gap: 44px; } .hero { padding: 64px 0 60px; } }
.eyebrow { display: inline-block; text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 700; color: var(--accent); margin-bottom: 16px; }
.hero .lead { font-size: 1.24rem; color: var(--ink-2); max-width: 590px; margin-bottom: 1.4em; }
.hero-card { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 26px; box-shadow: var(--shadow); }
.hero-card h3 { font-size: 1rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-family: inherit; font-weight: 700; margin-bottom: 14px; }
.check-list { list-style: none; margin: 0; padding: 0; }
.check-list li { display: flex; gap: 12px; padding: 11px 0; border-top: 1px solid var(--line); color: var(--ink-2); font-size: .98rem; }
.check-list li:first-child { border-top: 0; padding-top: 0; }
.check-list svg { flex: none; width: 22px; height: 22px; color: var(--brand-2); margin-top: 2px; }

/* trust strip */
.strip { background: var(--dark); color: var(--on-dark); padding: 26px 0; }
.strip .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 18px 30px; }
.strip-item { display: flex; gap: 13px; align-items: center; font-size: .96rem; }
.strip-item svg { width: 26px; height: 26px; flex: none; color: #e3b25e; }
.strip-item b { display: block; color: #fff; font-weight: 600; }
.strip-item span { color: var(--on-dark-muted); font-size: .88rem; }

/* sections */
section { padding: 84px 0; }
.alt { background: var(--bg-2); }
.dark { background: linear-gradient(160deg, var(--dark), var(--dark-2)); color: var(--on-dark); }
.dark h2, .dark h3 { color: #fff; }
.dark p { color: var(--on-dark-muted); }
.sec-head { max-width: 680px; margin-bottom: 44px; }
.sec-head p { color: var(--muted); font-size: 1.08rem; }
.dark .sec-head p { color: var(--on-dark-muted); }
.center { text-align: center; margin-left: auto; margin-right: auto; }

.grid { display: grid; gap: 22px; }
.g3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.g2 { grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); height: 100%; }
.card h3 { margin-bottom: .45em; }
.card p { color: var(--muted); margin: 0; font-size: .98rem; }
.card ul { margin: 14px 0 0; padding-left: 18px; color: var(--muted); font-size: .94rem; }
.card li { margin-bottom: 6px; }
.icon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); margin-bottom: 18px; }
.icon svg { width: 26px; height: 26px; }
.link-arrow { display: inline-block; margin-top: 18px; font-weight: 600; text-decoration: none; }
.link-arrow::after { content: " \2192"; }

/* process */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 26px; counter-reset: s; position: relative; }
.step { counter-increment: s; padding-top: 6px; }
.step::before { content: counter(s, decimal-leading-zero); display: block; font-family: Georgia, serif; font-size: 2.3rem; color: var(--accent); margin-bottom: 8px; font-weight: 600; }
.step h3 { margin-bottom: .35em; }
.step p { color: var(--muted); font-size: .98rem; }
.dark .step p { color: var(--on-dark-muted); }

/* split */
.split { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 36px; } }
.note { background: var(--panel); border: 1px solid var(--line); border-left: 5px solid var(--accent); border-radius: 10px; padding: 22px 24px; }
.note h3 { font-size: 1.08rem; margin-bottom: .4em; }
.note p { color: var(--muted); margin: 0; font-size: .97rem; }

/* page heads */
.page-head { padding: 72px 0 56px; background: var(--bg-2); border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.page-head::after { content: ""; position: absolute; right: -60px; top: -60px; width: 280px; height: 280px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--accent) 22%, transparent), transparent 70%); }
.page-head p { font-size: 1.15rem; color: var(--ink-2); max-width: 640px; margin: 0; }
.crumbs { font-size: .86rem; color: var(--muted); margin-bottom: 14px; }
.crumbs a { color: var(--muted); }

/* service blocks */
.svc { display: grid; grid-template-columns: 300px 1fr; gap: 40px; padding: 42px 0; border-top: 1px solid var(--line); }
.svc:first-of-type { border-top: 0; padding-top: 0; }
@media (max-width: 820px) { .svc { grid-template-columns: 1fr; gap: 14px; } }
.svc h3 { font-size: 1.4rem; margin-bottom: .3em; }
.svc .tag { color: var(--muted); font-size: .95rem; }
.svc ul { margin: 0; padding-left: 20px; color: var(--ink-2); }
.svc li { margin-bottom: 9px; }

/* engagement */
.tier { position: relative; }
.tier .badge { display: inline-block; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: var(--accent); background: var(--accent-soft); padding: 4px 10px; border-radius: 999px; margin-bottom: 14px; }
.tier.feature { border-color: var(--brand-2); box-shadow: 0 0 0 2px color-mix(in srgb, var(--brand-2) 40%, transparent), var(--shadow); }

/* faq */
details { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; }
summary { cursor: pointer; padding: 20px 56px 20px 22px; font-weight: 600; font-size: 1.04rem; list-style: none; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--accent); font-weight: 400; }
details[open] summary::after { content: "\2212"; }
details .ans { padding: 0 22px 20px; color: var(--ink-2); }
details .ans p:last-child { margin-bottom: 0; }

/* cta band */
.cta { text-align: center; }
.cta .btn-row { justify-content: center; }
.cta p { max-width: 560px; margin-left: auto; margin-right: auto; }

/* contact */
.form-card { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 32px; box-shadow: var(--shadow); }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: .94rem; margin-bottom: 6px; }
.field .opt { font-weight: 400; color: var(--muted); }
input[type=text], input[type=email], input[type=tel], select, textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--bg); border: 1.5px solid var(--line);
  border-radius: 10px; padding: 12px 14px;
}
textarea { min-height: 140px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand-2); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand-2) 25%, transparent); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .row2 { grid-template-columns: 1fr; } }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.form-note { font-size: .88rem; color: var(--muted); margin-top: 14px; }
.msg { display: none; padding: 16px 18px; border-radius: 10px; margin-top: 18px; font-weight: 500; }
.msg.ok { display: block; background: #e3f3e8; color: #1c5b34; }
.msg.err { display: block; background: #fbe6e3; color: #8a2a1d; }
@media (prefers-color-scheme: dark) { .msg.ok { background: #14301f; color: #a5e0b9; } .msg.err { background: #381815; color: #f2b6ac; } }
.contact-line { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-top: 1px solid var(--line); }
.contact-line:first-of-type { border-top: 0; padding-top: 0; }
.contact-line svg { width: 22px; height: 22px; color: var(--brand-2); flex: none; margin-top: 3px; }
.contact-line b { display: block; font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); font-weight: 700; }

/* footer */
.site-footer { background: var(--dark); color: var(--on-dark-muted); padding: 60px 0 36px; font-size: .94rem; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 36px; margin-bottom: 40px; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }
.site-footer h4 { font-family: inherit; color: #fff; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 9px; }
.site-footer .logo { color: #fff; margin-bottom: 14px; }
.site-footer .logo-text small { color: var(--on-dark-muted); }
.legal { border-top: 1px solid rgba(255,255,255,.12); padding-top: 24px; font-size: .84rem; line-height: 1.6; }
.legal p { margin: 0 0 .8em; max-width: 880px; }

.todo { background: #fff3cd; color: #5c4400; padding: 2px 6px; border-radius: 4px; }
@media print { .site-header, .site-footer, .btn { display: none; } }
