:root {
  --bg: #ffffff;
  --bg-alt: #f5f8fc;
  --text: #14202e;
  --muted: #4a5a6c;
  --line: #dde5ee;
  --blue: #0171EB;
  --blue-hover: #005FC9;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0e141b; --bg-alt: #141c25; --text: #e8eef5; --muted: #9fb0c3; --line: #263241;
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 17px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}
img { display: block; max-width: 100%; height: auto; object-fit: cover; border-radius: 12px; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 720px; }
.center { text-align: center; }

.site-header { border-bottom: 1px solid var(--line); position: sticky; top: 0; background: var(--bg); z-index: 5; }
.bar { display: flex; align-items: center; justify-content: space-between; min-height: 64px; flex-wrap: wrap; gap: 8px; }
.brand { font-weight: 700; font-size: 1.15rem; color: var(--text); text-decoration: none; }
nav a { color: var(--muted); text-decoration: none; margin-left: 20px; font-size: .95rem; }
nav a:hover { color: var(--blue); }

.hero { padding: 72px 0; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.eyebrow { color: var(--blue); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; margin: 0 0 12px; }
h1 { font-size: 2.8rem; line-height: 1.15; margin: 0 0 20px; }
h2 { font-size: 1.9rem; line-height: 1.25; margin: 0 0 20px; }
h3 { font-size: 1.35rem; margin: 0 0 10px; }
.lead { font-size: 1.2rem; color: var(--muted); margin: 0 0 28px; }
p { margin: 0 0 16px; }

.btn {
  display: inline-block; background: var(--blue); color: #fff; text-decoration: none;
  padding: 12px 24px; border-radius: 8px; font-weight: 600; box-shadow: none;
}
.btn:hover { background: var(--blue-hover); }

.section { padding: 80px 0; }
.alt { background: var(--bg-alt); }

.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; margin-top: 48px; }
.feature img { aspect-ratio: 3 / 2; width: 100%; }
.hero-grid img { aspect-ratio: 16 / 9; width: 100%; }
.flip img { order: 2; }

.steps { padding-left: 1.2em; }
.steps li { margin-bottom: 14px; }

.site-footer { border-top: 1px solid var(--line); padding: 28px 0; color: var(--muted); font-size: .9rem; }
.site-footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

@media (max-width: 800px) {
  .hero { padding: 40px 0; }
  .section { padding: 56px 0; }
  .hero-grid, .feature { grid-template-columns: 1fr; gap: 24px; }
  .flip img { order: 0; }
  h1 { font-size: 2.1rem; }
  nav a { margin: 0 14px 0 0; }
}

.hero-grid img[src$="hero.jpg"] { object-position: 50% 30%; }
.hero-grid img[src$="about.jpg"] { object-position: 50% 20%; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand img { width: 32px; height: 32px; border-radius: 0; }
