:root {
  --ink: #18212B; --deep: #3E5468; --sage: #4F6D88; --pastel: #C9D6E3; --mint: #EAF0F6; --ground: #F4F6F9;
  --line: #DDE3EA; --accent: #5B3FD1; --accent-dark: #4A31B3; --muted: #56606B;
  --radius: 14px; --wrap: 1120px;
  font-family: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif; color: var(--ink); background: #fff;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .progress, .node { animation: none !important; } }
body { margin: 0; line-height: 1.55; font-size: 17px; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { font-family: Outfit, "IBM Plex Sans", sans-serif; color: var(--deep); margin: 0 0 12px; line-height: 1.12; letter-spacing: -0.01em; }
h1 { font-size: clamp(36px, 5vw, 56px); font-weight: 700; }
h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 700; }
h3 { font-size: 22px; font-weight: 600; }
h4 { font-size: 15px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--sage); margin-bottom: 8px; }
p { margin: 0 0 14px; }
a { color: var(--accent); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.wrap.narrow { max-width: 760px; }
.lead { font-size: 20px; color: var(--muted); max-width: 640px; }
.lead.narrow { max-width: 720px; }
.kicker { font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--accent); font-size: 13px; margin-bottom: 10px; }
.fine { font-size: 14px; color: var(--muted); }
.center { text-align: center; }
.muted { color: var(--muted); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 8px; }

/* header */
.top { position: sticky; top: 0; z-index: 5; background: rgba(255,255,255,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--deep); font-family: Outfit, sans-serif; font-weight: 700; font-size: 22px; }
.brand sup { font-size: 9px; margin-left: 1px; }
.mark { width: 34px; height: 34px; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 500; }
.nav a:hover { color: var(--accent); }
.menu { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; width: 42px; height: 42px; flex-direction: column; justify-content: center; gap: 5px; align-items: center; cursor: pointer; }
.menu span { display: block; width: 18px; height: 2px; background: var(--deep); }
.mobile-nav { display: flex; flex-direction: column; gap: 4px; padding: 10px 20px 16px; border-bottom: 1px solid var(--line); background: #fff; position: sticky; top: 67px; z-index: 4; }
.mobile-nav[hidden] { display: none; }
.mobile-nav a { padding: 10px 4px; text-decoration: none; color: var(--ink); font-weight: 500; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 18px; border-radius: 12px; border: 1px solid var(--pastel); background: #fff; color: var(--deep); font-weight: 600; text-decoration: none; font-size: 16px; cursor: pointer; font-family: inherit; }
.btn:hover { border-color: var(--sage); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn.primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.btn.ghost { background: transparent; }
.btn.big { min-height: 52px; padding: 0 24px; font-size: 17px; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin: 22px 0 10px; }
.actions.center { justify-content: center; }

/* hero */
.hero { max-width: var(--wrap); margin: 0 auto; padding: 72px 20px 56px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.hero-art { margin: 0; }
.hero-art svg { width: 100%; height: auto; filter: drop-shadow(0 12px 30px rgba(62,84,104,.14)); }
.progress { stroke-dasharray: 380; stroke-dashoffset: 380; animation: draw 2.4s ease-out .4s forwards; }
.node { opacity: 0; animation: pop .4s ease-out forwards; }
.node.n1 { animation-delay: .5s; } .node.n2 { animation-delay: 1s; } .node.n3 { animation-delay: 1.5s; } .node.n4 { animation-delay: 2s; } .node.n5 { animation-delay: 2.5s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* sections */
section { scroll-margin-top: 80px; }
.wrap.how, .wrap.packages, .wrap.security { padding-top: 96px; padding-bottom: 96px; }
.band { padding: 96px 0; }
.band.problem { background: var(--mint); }
.band.included { background: var(--deep); color: #fff; }
.band.included h2, .band.included .kicker { color: #fff; }
.band.included .kicker { color: var(--pastel); }
.band.vendor { background: var(--ground); }
.band.pricing { background: var(--mint); }
.cards { display: grid; gap: 20px; margin-top: 28px; }
.cards.three { grid-template-columns: repeat(3, 1fr); }
.cards.two { grid-template-columns: repeat(2, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: 0 1px 2px rgba(24,33,43,.05); }
.card p:last-child { margin-bottom: 0; }
.steps { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 18px; }
.steps li { display: grid; grid-template-columns: 52px 1fr; gap: 18px; align-items: start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.steps .num { width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: #fff; font-family: Outfit, sans-serif; font-weight: 700; font-size: 20px; display: grid; place-items: center; }
.steps h3 { margin-bottom: 6px; }
.steps p { margin: 0; color: var(--muted); }
.grid-list { list-style: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px 28px; }
.grid-list li { padding-left: 28px; position: relative; color: var(--pastel); }
.grid-list li b { color: #fff; }
.grid-list li::before { content: ""; position: absolute; left: 0; top: 7px; width: 14px; height: 14px; border-radius: 50%; background: #178A3A; box-shadow: 0 0 0 4px rgba(23,138,58,.25); }
.tier { display: flex; flex-direction: column; border-top: 5px solid var(--pastel); }
.tier.featured { border-top-color: var(--accent); box-shadow: 0 10px 30px rgba(91,63,209,.12); }
.tier-sub { color: var(--muted); margin-bottom: 10px; }
.tier ul { padding-left: 20px; margin: 0 0 20px; color: var(--muted); flex: 1; }
.tier li { margin-bottom: 6px; }
.systems { margin-top: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; padding: 6px 20px; }
.systems summary { cursor: pointer; font-weight: 600; padding: 10px 0; color: var(--deep); }
.sys-groups { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px; padding: 6px 0 16px; color: var(--muted); }
.sys-groups p { margin: 0; }

/* form */
.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; margin-top: 24px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 15px; margin-bottom: 16px; }
.form input, .form textarea { font: inherit; font-weight: 400; padding: 11px 12px; border: 1px solid var(--pastel); border-radius: 10px; background: #fff; color: var(--ink); min-height: 44px; }
.form textarea { resize: vertical; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
fieldset { border: 0; padding: 0; margin: 0 0 16px; }
legend { font-weight: 600; font-size: 15px; margin-bottom: 8px; }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 18px; }
.checks label { flex-direction: row; align-items: center; gap: 10px; font-weight: 400; margin: 0; }
.checks input { width: 18px; height: 18px; min-height: 0; accent-color: var(--accent); }
.sys-pick h4 { margin: 10px 0 6px; }
.sys-pick .checks { margin-bottom: 8px; }
.sys-pick .other { margin-top: 10px; }
.hp { position: absolute; left: -9999px; }
.error { color: #A3261B; font-weight: 600; }
.done { background: #fff; border: 1px solid var(--line); border-left: 6px solid #178A3A; border-radius: var(--radius); padding: 28px; margin-top: 24px; }

/* footer */
.foot { border-top: 1px solid var(--line); padding: 48px 0 32px; background: #fff; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 24px; margin-bottom: 24px; }
.foot a { color: var(--deep); }
.foot .brand.small { font-size: 20px; margin-bottom: 6px; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 44px; }
  .cards.three, .cards.two, .grid-list, .foot-grid { grid-template-columns: 1fr 1fr; }
  .nav { display: none; }
  .menu { display: flex; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .cards.three, .cards.two, .grid-list, .foot-grid, .two-col, .checks, .sys-groups { grid-template-columns: 1fr; }
  .band, .wrap.how, .wrap.packages, .wrap.security { padding-top: 64px; padding-bottom: 64px; }
  .steps li { grid-template-columns: 40px 1fr; padding: 18px; }
  .steps .num { width: 34px; height: 34px; font-size: 16px; }
  .form { padding: 20px 16px; }
  .btn.big { width: 100%; }
}
