:root {
  --ink: #0b1220; --text: #1e293b; --muted: #64748b; --line: #e2e8f0;
  --bg: #ffffff; --alt: #f8fafc; --accent: #4f46e5; --accent-2: #06b6d4;
  --radius: 14px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; color: var(--text); background: var(--bg);
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
img, svg { max-width: 100%; }
a { color: var(--accent); }
h1, h2, h3 { color: var(--ink); line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 5vw, 3rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.5rem, 3.4vw, 2rem); }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; top: 8px; }
:focus-visible { outline: 3px solid var(--accent-2); outline-offset: 2px; }

/* header */
.top { position: sticky; top: 0; z-index: 5; background: rgba(255,255,255,.95); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: 1.15rem; }
.logo { width: 32px; height: 32px; }
nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 0; padding: 0; }
nav a { color: var(--text); text-decoration: none; font-size: .95rem; padding: 6px 0; display: inline-block; }
nav a:hover { color: var(--accent); }
.nav-cta { color: var(--accent) !important; font-weight: 600; }

/* buttons */
.btn {
  display: inline-block; padding: 12px 22px; border-radius: 999px; font-weight: 600; text-decoration: none;
  border: 2px solid transparent; min-height: 48px; line-height: 1.4;
}
.btn.primary { background: var(--ink); color: #fff; }
.btn.primary:hover { background: #17405c; }
.btn.ghost { border-color: var(--ink); color: var(--ink); }
.btn.ghost:hover { background: var(--alt); }
.btn.is-disabled { background: #e5edf1; color: var(--muted); cursor: default; pointer-events: none; }

/* hero */
.hero { background: linear-gradient(180deg, var(--alt), #fff); padding: 56px 0 40px; }
.hero-in { display: grid; gap: 32px; align-items: center; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; font-weight: 700; color: var(--accent); margin-bottom: .6em; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 40em; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.hero-art { width: 100%; max-width: 420px; justify-self: center; }

/* sections */
.section { padding: 56px 0; }
.section.alt { background: var(--alt); }
.sub { color: var(--muted); margin-bottom: 28px; }
.grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
.card, .custom, .price {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px;
}
.card p, .custom p, .price p { color: var(--muted); margin: 0; }
.ico {
  width: 36px; height: 36px; padding: 6px; border-radius: 10px; background: #e6f6f4; margin-bottom: 12px;
  fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.custom { display: flex; gap: 16px; align-items: flex-start; margin-top: 16px; border-style: dashed; }
.custom .ico { flex: none; margin: 0; }

.steps { counter-reset: s; list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.steps li {
  counter-increment: s; position: relative; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 16px 18px 16px 60px;
}
.steps li::before {
  content: counter(s); position: absolute; left: 18px; top: 16px; width: 28px; height: 28px; border-radius: 50%;
  background: var(--ink); color: #fff; font-weight: 700; font-size: .9rem; display: grid; place-items: center;
}
.steps strong { color: var(--ink); }

.prices { display: grid; gap: 16px; grid-template-columns: 1fr; }
.price.featured { border: 2px solid var(--accent); }
.amount { font-size: 1.4rem; font-weight: 700; color: var(--ink) !important; margin: 4px 0 14px !important; }
.amount span { font-size: .95rem; font-weight: 500; color: var(--muted); }
.amount.quote { font-size: 1.1rem; color: var(--accent) !important; }
.checks { list-style: none; padding: 0; margin: 0 0 20px; }
.checks li { padding-left: 26px; position: relative; margin-bottom: 6px; }
.checks li::before {
  content: ""; position: absolute; left: 4px; top: 7px; width: 10px; height: 6px;
  border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg);
}
.note { color: var(--muted); font-size: .9rem; margin-top: 18px; }

.demo-box { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.demo-box p { color: var(--muted); max-width: 40em; margin: 0; }
.contact { text-align: center; max-width: 640px; }
.contact > p { color: var(--muted); }
.small { font-size: .9rem; margin-top: 12px; }

.foot { background: var(--ink); color: #c9d8e2; padding: 28px 0; font-size: .92rem; }
.foot a { color: #fff; }
.foot-in p { margin: 0 0 .4em; }

/* privacy page */
.doc { max-width: 720px; padding-top: 40px; padding-bottom: 56px; }
.doc h2 { font-size: 1.25rem; margin-top: 1.6em; }

@media (min-width: 720px) {
  .hero { padding: 80px 0 64px; }
  .hero-in { grid-template-columns: 1.2fr 1fr; }
  .grid { grid-template-columns: 1fr 1fr; }
  .prices { grid-template-columns: repeat(2, 1fr); }
  .price.featured { grid-row: span 2; }
}
@media (min-width: 1000px) {
  .grid { grid-template-columns: repeat(4, 1fr); }
  .prices { grid-template-columns: 1.3fr 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
