/* Styles for the static landing pages generated by scripts/build-pages.mjs */
:root {
  --bg: #f7f8f6;
  --card: #ffffff;
  --border: #e4e7e3;
  --text: #111827;
  --muted: #4b5563;
  --primary: #12281e;
  --accent: #254b38;
  --mint: #e6f4ea;
  --mint-text: #137333;
  --radius: 18px;
  --font: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1412;
    --card: #171d1a;
    --border: #2a332e;
    --text: #eef2ef;
    --muted: #a8b3ad;
    --primary: #e6f4ea;
    --accent: #7fc79a;
    --mint: #1c2e24;
    --mint-text: #8fd6a8;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 12px; }
.brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 1.25rem; color: var(--primary); text-decoration: none; letter-spacing: -0.02em; }
.header-nav { display: flex; align-items: center; gap: 18px; }
.header-nav a:not(.btn) { color: var(--muted); text-decoration: none; font-weight: 500; font-size: 0.95rem; }
.header-nav a:not(.btn):hover { color: var(--text); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 24px; border-radius: 999px;
  background: var(--primary); color: var(--bg);
  font-weight: 700; text-decoration: none; transition: transform .15s ease, opacity .15s ease;
}
.btn:hover { transform: translateY(-1px); opacity: .92; }
.btn-small { padding: 9px 16px; font-size: .9rem; }
.btn-light { background: #ffffff; color: #12281e; }

/* Breadcrumbs */
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 20px 0 0; font-size: .875rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--text); text-decoration: underline; }

/* Hero */
.hero { padding: 40px 0 32px; max-width: 760px; }
.kicker {
  display: inline-block; margin: 0 0 12px; padding: 4px 12px; border-radius: 999px;
  background: var(--mint); color: var(--mint-text);
  font-size: .8rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.05; letter-spacing: -0.035em; margin: 0 0 18px; color: var(--primary); }
.lead { font-size: 1.15rem; color: var(--muted); margin: 0 0 26px; }
.note { font-size: .9rem; color: var(--muted); margin: 12px 0 0; }

.split { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: center; padding: 40px 0 24px; }
.phone { margin: 0; justify-self: center; max-width: 280px; text-align: center; }
.phone img { border-radius: 32px; box-shadow: 0 24px 60px -20px rgba(18, 40, 30, .35); }
.phone figcaption { margin-top: 12px; font-size: .85rem; color: var(--muted); }

/* Content */
.prose { max-width: 760px; padding: 16px 0; }
.prose h2, .section-title { font-size: 1.6rem; letter-spacing: -0.02em; margin: 40px 0 14px; color: var(--primary); line-height: 1.2; }
.prose p { margin: 0 0 16px; }
.checks { list-style: none; padding: 0; margin: 0 0 16px; }
.checks li { position: relative; padding-left: 28px; margin: 0 0 10px; }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--mint-text); font-weight: 700; }
.steps { padding-left: 22px; margin: 0 0 16px; }
.steps li { margin: 0 0 12px; padding-left: 4px; }

.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 0 0 16px; }
.card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 20px; }
.card h3 { margin: 0 0 6px; font-size: 1.05rem; color: var(--primary); }
.card p { margin: 0; color: var(--muted); font-size: .95rem; }

.specs { display: grid; gap: 0; margin: 0 0 16px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.specs div { display: grid; grid-template-columns: 140px 1fr; gap: 16px; padding: 14px 20px; }
.specs div + div { border-top: 1px solid var(--border); }
.specs dt { font-weight: 700; }
.specs dd { margin: 0; color: var(--muted); }

details { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 14px 18px; margin: 0 0 10px; }
summary { cursor: pointer; font-weight: 700; }
details p { margin: 10px 0 0; color: var(--muted); }

/* Template grid */
.tpl-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; padding: 8px 0 16px; }
.tpl-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tpl-card { display: block; text-decoration: none; color: var(--text); background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 10px; transition: transform .15s ease, box-shadow .15s ease; }
.tpl-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px -18px rgba(18, 40, 30, .4); }
.tpl-card img { border-radius: 12px; aspect-ratio: 1 / 2; object-fit: cover; }
.tpl-meta { display: flex; flex-direction: column; padding: 10px 4px 2px; }
.tpl-meta span { font-size: .85rem; color: var(--muted); }

/* CTA band */
.cta-band { margin: 48px 0; padding: 40px 28px; border-radius: 28px; background: #12281e; color: #eef5f0; text-align: center; }
.cta-band h2 { margin: 0 0 8px; font-size: clamp(1.5rem, 3vw, 2rem); letter-spacing: -0.02em; color: #ffffff; }
.cta-band p { margin: 0 0 22px; color: #b9cfc1; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 40px 0 24px; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 24px; }
.footer-grid h3 { margin: 0 0 10px; font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.footer-grid a:not(.brand) { display: block; color: var(--text); text-decoration: none; margin: 0 0 6px; }
.footer-grid a:not(.brand):hover { text-decoration: underline; }
.footer-grid p { color: var(--muted); margin: 8px 0 0; max-width: 260px; }
.footer-copy { color: var(--muted); margin-top: 24px; }

@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 28px; }
  .phone { max-width: 220px; }
  .tpl-grid, .tpl-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .header-nav a:not(.btn) { display: none; }
  .cards { grid-template-columns: 1fr; }
  .specs div { grid-template-columns: 1fr; gap: 2px; }
  .cta-band { padding: 32px 20px; }
}
