:root {
  --bg: #f7f8f6;
  --surface: #ffffff;
  --surface-2: #eef3f2;
  --ink: #0f1d2b;
  --muted: #566475;
  --line: #dde4e8;
  --accent: #0f9488;
  --accent-ink: #ffffff;
  --accent-soft: #d9f3ef;
  --gold: #c98a10;
  --hero: #0f1d2b;
  --hero-ink: #ffffff;
  --hero-muted: #a9bacb;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(15, 29, 43, .06), 0 8px 24px rgba(15, 29, 43, .06);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: Charter, "Bitstream Charter", "Sitka Text", Cambria, Georgia, serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b141d;
    --surface: #111d29;
    --surface-2: #162534;
    --ink: #e8eef3;
    --muted: #9aabbb;
    --line: #23364a;
    --accent: #2dd4bf;
    --accent-ink: #062521;
    --accent-soft: #0f3a37;
    --gold: #f5b942;
    --hero: #081019;
    --shadow: none;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.6 var(--font); }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
img, svg { max-width: 100%; height: auto; }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; background: var(--surface); padding: 8px 12px; z-index: 10; }

/* header */
.site-header { background: var(--hero); color: var(--hero-ink); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--hero-ink); text-decoration: none; font-weight: 700; letter-spacing: -.01em; }
.brand img { width: 32px; height: 32px; }
.brand span b { color: #2dd4bf; font-weight: 700; }
.nav { display: flex; gap: 6px; align-items: center; }
.nav a { color: var(--hero-muted); text-decoration: none; padding: 8px 12px; border-radius: 8px; font-size: 15px; font-weight: 600; }
.nav a:hover, .nav a[aria-current] { color: var(--hero-ink); background: rgba(255, 255, 255, .08); }
.nav a.cta { background: #14b8a6; color: #062521; }
.nav a.cta:hover { background: #2dd4bf; }

/* hero */
.hero { background: var(--hero); color: var(--hero-ink); padding: 40px 0 72px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.pill { display: inline-block; background: #14b8a6; color: #062521; font-weight: 800; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; padding: 6px 14px; border-radius: 999px; }
.hero h1 { font-size: clamp(34px, 6vw, 60px); line-height: 1.05; letter-spacing: -.03em; margin: 18px 0 16px; overflow-wrap: anywhere; }
.hero h1 b { color: #2dd4bf; }
.hero p.lead { color: var(--hero-muted); font-size: clamp(18px, 2.2vw, 21px); max-width: 560px; margin: 0 0 28px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.price { color: var(--hero-muted); font-size: 15px; }
.price strong { color: var(--hero-ink); font-size: 18px; }
.hero-full { min-height: calc(100vh - 68px - 110px); display: flex; align-items: center; }
.hero-full .wrap { width: 100%; }
.contact-line { margin: 18px 0 0; font-size: 18px; }
.contact-line a { color: #2dd4bf; }
.hero-art { justify-self: center; width: 100%; max-width: 420px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 10px; padding: 14px 22px; font: 700 16px var(--font); cursor: pointer; text-decoration: none; }
.btn-primary { background: #14b8a6; color: #062521; }
.btn-primary:hover { background: #2dd4bf; }
.btn-ghost { background: transparent; color: var(--hero-ink); border: 1px solid rgba(255, 255, 255, .25); }
.btn-ghost:hover { border-color: rgba(255, 255, 255, .6); }

/* sections */
section.block { padding: 72px 0; }
section.block.alt { background: var(--surface-2); }
.eyebrow { color: var(--accent); font-weight: 800; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; margin: 0 0 8px; }
h2.title { font-size: clamp(28px, 4vw, 38px); line-height: 1.15; letter-spacing: -.02em; margin: 0 0 14px; }
.sub { color: var(--muted); max-width: 640px; margin: 0 0 36px; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.card h3 { margin: 12px 0 6px; font-size: 19px; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }
.icon { width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; }
.icon svg { width: 24px; height: 24px; }

.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-top: 36px; }
.facts div { background: var(--surface); padding: 20px; }
.facts dt { color: var(--muted); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.facts dd { margin: 4px 0 0; font-size: 20px; font-weight: 700; overflow-wrap: anywhere; }
.facts .wide { grid-column: span 2; }

.steps { counter-reset: s; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: s; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: var(--bg); font-weight: 800; margin-bottom: 12px; }
.steps h3 { margin: 0 0 6px; font-size: 18px; }
.steps p { margin: 0; color: var(--muted); font-size: 16px; }

/* offer form */
.offer { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: start; }
form.offer-form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); display: grid; gap: 16px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label { display: grid; gap: 6px; font-weight: 700; font-size: 15px; }
label small { color: var(--muted); font-weight: 400; }
input, textarea, select { width: 100%; font: 16px var(--font); color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; }
input:focus, textarea:focus, select:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
textarea { min-height: 120px; resize: vertical; }
[hidden] { display: none !important; }
.money { position: relative; }
.money::before { content: "$"; position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.money input { padding-left: 28px; }
.hp { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }
form .btn { width: 100%; }
.form-note { color: var(--muted); font-size: 14px; margin: 0; }
.form-msg { border-radius: 10px; padding: 12px 14px; font-weight: 600; display: none; }
.form-msg.ok { display: block; background: var(--accent-soft); color: var(--ink); }
.form-msg.err { display: block; background: #fde8e8; color: #9b1c1c; }

/* posts */
.post-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.post-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 8px; box-shadow: var(--shadow); }
.post-card h3 { margin: 0; font-size: 19px; line-height: 1.3; }
.post-card h3 a { color: var(--ink); text-decoration: none; }
.post-card h3 a:hover { color: var(--accent); }
.post-card p { margin: 0; color: var(--muted); font-size: 15px; }
.meta { color: var(--muted); font-size: 14px; display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.tag { display: inline-block; background: var(--accent-soft); color: var(--accent); font-size: 12px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; text-decoration: none; }
.empty { color: var(--muted); background: var(--surface); border: 1px dashed var(--line); border-radius: var(--radius); padding: 28px; }

.page-head { padding: 48px 0 8px; }
.page-head h1 { font-size: clamp(30px, 5vw, 44px); line-height: 1.1; letter-spacing: -.02em; margin: 8px 0 12px; }
.page-head p { color: var(--muted); margin: 0; max-width: 680px; }
.crumbs { font-size: 14px; color: var(--muted); }
.crumbs a { color: var(--muted); }

article.post { padding: 40px 0 24px; }
article.post h1 { font-size: clamp(30px, 5vw, 44px); line-height: 1.12; letter-spacing: -.02em; margin: 14px 0 12px; }
article.post .dek { font-size: 20px; color: var(--muted); margin: 0 0 18px; }
.byline { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 12px 0; font-size: 14px; color: var(--muted); margin-bottom: 28px; }
.byline a { color: var(--muted); }
.prose { font: 19px/1.7 var(--serif); }
.prose h2 { font: 700 24px/1.3 var(--font); letter-spacing: -.01em; margin: 36px 0 10px; }
.prose p, .prose ul, .prose ol { margin: 0 0 18px; }
.prose li { margin-bottom: 6px; }
.prose blockquote { margin: 0 0 18px; padding-left: 16px; border-left: 3px solid var(--accent); color: var(--muted); }
.sources { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 24px; margin: 32px 0; font-size: 15px; }
.sources h2 { margin: 0 0 8px; font-size: 16px; }
.sources ul { margin: 0; padding-left: 18px; }
.sale-banner { display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; background: var(--hero); color: var(--hero-ink); border-radius: var(--radius); padding: 20px 24px; margin: 32px 0; }
.sale-banner p { margin: 0; color: var(--hero-muted); }
.sale-banner strong { color: var(--hero-ink); }
.pager { display: flex; justify-content: space-between; gap: 12px; margin: 32px 0; }

.prose-page { padding: 8px 0 56px; }
.prose-page h2 { font-size: 24px; margin: 32px 0 8px; }
.prose-page p, .prose-page li { color: var(--ink); }

/* footer */
main { padding-bottom: 40px; }
main:has(.hero-full) { padding-bottom: 0; }
.site-footer { border-top: 1px solid var(--line); padding: 32px 0 40px; color: var(--muted); font-size: 14px; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.site-footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
.site-footer a { color: var(--muted); }

@media (max-width: 860px) {
  .hero .wrap, .offer { grid-template-columns: 1fr; }
  .hero { padding: 24px 0 56px; }
  .hero-art { max-width: 300px; order: -1; }
  section.block { padding: 56px 0; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .row2 { grid-template-columns: 1fr; }
  .facts .wide { grid-column: 1 / -1; }
  .nav a { padding: 8px 9px; }
  .brand span { font-size: 15px; }
  .prose { font-size: 18px; }
  form.offer-form { padding: 20px; }
}
