:root {
  --ink: #14213d;
  --ink-soft: #3d4a66;
  --muted: #6b7488;
  --bg: #ffffff;
  --bg-alt: #f4f6fa;
  --line: #e2e6ee;
  --accent: #1f6feb;
  --accent-ink: #ffffff;
  --gold: #c9a227;
  --ph-bg: #fff4cc;
  --ph-ink: #7a5b00;
  --radius: 12px;
  --max: 1120px;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); line-height: 1.6; font-size: 17px; }
img { max-width: 100%; display: block; }
a { color: var(--accent); }
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); margin: 0 0 1rem; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin: 0 0 1rem; }
h3 { font-size: 1.15rem; margin: 0 0 .5rem; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; background: #fff; padding: 8px 12px; z-index: 100; }

/* Demo banner */
.demo-bar { background: var(--ink); color: #fff; font-size: 13px; text-align: center; padding: 6px 12px; }

/* Header */
.site-header { position: sticky; top: 0; background: rgba(255,255,255,.95); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); z-index: 50; }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 700; }
.brand-mark { width: 34px; height: 34px; border-radius: 8px; background: linear-gradient(135deg, var(--ink), var(--accent)); display: grid; place-items: center; color: #fff; font-weight: 800; }
.brand small { display: block; font-weight: 500; color: var(--muted); font-size: 12px; }
.nav { display: flex; gap: 22px; }
.nav a { color: var(--ink-soft); text-decoration: none; font-weight: 500; font-size: 15px; }
.nav a:hover { color: var(--accent); }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 8px; padding: 6px 10px; font-size: 18px; }

/* Buttons */
.btn { display: inline-block; padding: 12px 22px; border-radius: 999px; font-weight: 600; text-decoration: none; border: 2px solid var(--accent); cursor: pointer; font-size: 15px; }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-ghost { background: transparent; color: var(--accent); }

/* Sections */
section { padding: 80px 0; }
.alt { background: var(--bg-alt); }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: 12px; font-weight: 700; color: var(--accent); }
.lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 640px; }

.hero { padding: 110px 0 90px; background: radial-gradient(1200px 400px at 80% -10%, #dbe7ff 0%, transparent 60%), var(--bg); }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }

.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.card .icon { width: 42px; height: 42px; border-radius: 10px; background: #e8f0ff; color: var(--accent); display: grid; place-items: center; font-weight: 800; margin-bottom: 14px; }
.card p { color: var(--ink-soft); margin: 0; }

.steps { counter-reset: s; }
.step { position: relative; padding-left: 56px; }
.step::before { counter-increment: s; content: counter(s); position: absolute; left: 0; top: 0; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 700; }


/* Contact form */
form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
label { display: block; font-size: 14px; font-weight: 600; margin: 12px 0 6px; }
input, textarea, select { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px; font: inherit; }
textarea { min-height: 130px; resize: vertical; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 14px; color: var(--ink-soft); }
.check input { width: auto; margin-top: 4px; }
.form-note { font-size: 13px; color: var(--muted); }

/* Placeholders */
.ph { background: var(--ph-bg); color: var(--ph-ink); padding: 1px 6px; border-radius: 4px; font-family: ui-monospace, Consolas, monospace; font-size: .88em; overflow-wrap: anywhere; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.notice { background: var(--ph-bg); color: var(--ph-ink); border-left: 4px solid var(--gold); padding: 14px 18px; border-radius: 6px; margin: 0 0 28px; font-size: 15px; }

/* Legal pages */
.legal { padding: 60px 0 80px; }
.legal .container { max-width: 820px; }
.legal h2 { font-size: 1.35rem; margin-top: 2.2rem; }
.legal table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: 15px; }
.legal th, .legal td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal th { width: 40%; color: var(--ink-soft); font-weight: 600; }
.legal .updated { color: var(--muted); font-size: 14px; }
.legal .gr { color: var(--muted); font-weight: 400; }

/* Footer */
.site-footer { background: var(--ink); color: #c8d0e0; padding: 56px 0 28px; font-size: 14px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; }
.site-footer h4 { color: #fff; margin: 0 0 12px; font-size: 15px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 6px; }
.site-footer .ph { background: rgba(255,244,204,.15); color: #ffe08a; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 36px; padding-top: 18px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.linklike { background: none; border: 0; color: #fff; padding: 0; font: inherit; cursor: pointer; }
.linklike:hover { text-decoration: underline; }

/* Cookie banner */
.cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; max-width: 760px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 12px 40px rgba(20,33,61,.18); padding: 20px 22px; z-index: 200; display: none; }
.cookie.show { display: block; }
.cookie p { margin: 0 0 14px; font-size: 14px; color: var(--ink-soft); }
.cookie .actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie .btn { padding: 9px 18px; font-size: 14px; }
.cookie .prefs { display: none; margin: 0 0 14px; font-size: 14px; }
.cookie .prefs.show { display: block; }

@media (max-width: 860px) {
  .grid-3, .grid-2, .footer-grid { grid-template-columns: 1fr; }
  form .row { grid-template-columns: 1fr; }
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; background: #fff; flex-direction: column; padding: 16px 20px; border-bottom: 1px solid var(--line); }
  .nav.open { display: flex; }
  .nav-toggle { display: block; }
  section { padding: 60px 0; }
}
