:root {
  --brand: #0b7285;
  --brand-dark: #095c6b;
  --ink: #1f2933;
  --muted: #52606d;
  --line: #e4e7eb;
  --bg: #ffffff;
  --bg-alt: #f5f7fa;
  --radius: 10px;
  --max: 1080px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  font-size: 17px;
}
a { color: var(--brand); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); letter-spacing: -0.01em; }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
code { font-family: Menlo, Consolas, monospace; font-size: .92em; background: #eef1f4; padding: .1em .35em; border-radius: 4px; }
.container { max-width: var(--max); margin: 0 auto; padding-inline: 20px; }
.center { text-align: center; }

/* Header */
.site-header { position: sticky; top: 0; background: rgba(255,255,255,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); z-index: 10; }
.nav { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.15rem; color: var(--ink); text-decoration: none; }
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a { color: var(--muted); text-decoration: none; font-weight: 500; }
.nav-links a:hover { color: var(--ink); }
.nav-links .btn { color: #fff; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 10px 18px; border-radius: 8px; font-weight: 600; text-decoration: none; border: 1px solid transparent; transition: background .15s, border-color .15s; }
.btn-primary { background: var(--brand); color: #fff !important; }
.btn-primary:hover { background: var(--brand-dark); }
.btn-ghost { background: transparent; color: var(--ink); border-color: #c4c9d0; }
.btn-ghost:hover { background: var(--bg-alt); }
.btn-lg { padding: 14px 24px; font-size: 1.05rem; }

/* Hero */
.hero { padding: 72px 0 56px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; font-weight: 700; color: var(--brand); margin-bottom: 12px; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 34rem; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.fineprint { font-size: .9rem; color: var(--muted); margin-top: 14px; }

.hero-demo { display: flex; justify-content: center; }
.demo-site { width: 100%; max-width: 460px; background: var(--bg-alt); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; box-shadow: 0 20px 50px rgba(31,41,51,.12); position: relative; aspect-ratio: 4/3; }
.demo-bar { display: flex; gap: 6px; padding: 10px 12px; background: #fff; border-bottom: 1px solid var(--line); }
.demo-bar span { width: 10px; height: 10px; border-radius: 50%; background: #d9dee3; }
.demo-body { padding: 22px; }
.ph { height: 12px; background: #dde2e7; border-radius: 6px; margin-bottom: 12px; }
.w70 { width: 70%; } .w90 { width: 90%; } .w50 { width: 50%; }
.demo-banner { position: absolute; left: 0; right: 0; bottom: 0; background: #fff; border-top: 1px solid var(--line); padding: 14px 16px; display: flex; gap: 12px; align-items: center; justify-content: space-between; box-shadow: 0 -4px 14px rgba(0,0,0,.06); font-size: .85rem; }
.demo-banner p { margin: 2px 0 0; color: var(--muted); }
.demo-actions { display: flex; gap: 6px; flex-shrink: 0; flex-wrap: wrap; justify-content: flex-end; }
.demo-btn { background: var(--brand); color: #fff; padding: 7px 10px; border-radius: 6px; font-weight: 600; font-size: .78rem; white-space: nowrap; }
.demo-btn.secondary { background: transparent; color: var(--ink); border: 1px solid #c4c9d0; }

/* Sections */
.section { padding: 64px 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-lead { color: var(--muted); font-size: 1.1rem; max-width: 40rem; }
.center .section-lead { margin-inline: auto; }
.section-cta { background: var(--brand); color: #fff; }
.section-cta .section-lead { color: rgba(255,255,255,.85); }
.section-cta .btn-primary { background: #fff; color: var(--brand) !important; }
.section-cta .btn-primary:hover { background: #e9f4f6; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 28px; }
.feature { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; background: #fff; }
.feature p { color: var(--muted); margin: 0; font-size: .98rem; }

.steps { list-style: none; padding: 0; margin: 28px 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.steps li { display: flex; gap: 14px; align-items: flex-start; }
.step-no { flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.steps p { color: var(--muted); margin: 0; font-size: .98rem; }
.code-sample pre { background: #1f2933; color: #e4e7eb; padding: 18px 20px; border-radius: var(--radius); overflow-x: auto; font-size: .88rem; line-height: 1.5; margin: 0; }
.code-sample code { background: transparent; padding: 0; color: inherit; }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 28px; align-items: stretch; }
.plan { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; background: #fff; display: flex; flex-direction: column; position: relative; }
.plan-featured { border-color: var(--brand); box-shadow: 0 10px 30px rgba(11,114,133,.12); }
.badge { position: absolute; top: -12px; left: 22px; background: var(--brand); color: #fff; font-size: .75rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; margin: 0; }
.price { font-size: 2.2rem; font-weight: 700; margin: 6px 0 14px; }
.price span { font-size: 1rem; font-weight: 500; color: var(--muted); }
.plan ul { list-style: none; padding: 0; margin: 0 0 22px; color: var(--muted); flex: 1; }
.plan li { padding: 6px 0; border-bottom: 1px solid var(--line); }
.plan li:last-child { border-bottom: 0; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 36px 0 24px; color: var(--muted); font-size: .95rem; }
.footer-grid { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.site-footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
.site-footer nav a { color: var(--muted); text-decoration: none; }
.site-footer nav a:hover { color: var(--ink); }
.copyright { margin-top: 20px; font-size: .85rem; }

/* Legal page */
.legal { max-width: 46rem; padding-block: 48px; }
.legal h2 { font-size: 1.3rem; margin-top: 1.6em; }
.legal table { border-collapse: collapse; width: 100%; font-size: .95rem; }
.legal th, .legal td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }

@media (max-width: 900px) {
  .hero-grid, .features, .steps, .plans { grid-template-columns: 1fr; }
  .hero { padding: 44px 0 36px; }
  .nav-links a:not(.btn) { display: none; }
}
@media (max-width: 600px) {
  .hero-demo { display: none; }
}
@media (max-width: 480px) {
  .demo-actions { justify-content: flex-start; }
  .btn-lg { width: 100%; }
}
