:root {
  --primary: #4169e1; --primary-dark: #1e3a8a; --primary-soft: #eef2ff; --accent: #ffffff; --hero-soft: #dbeafe;
  --ink: #0f172a; --muted: #475569; --line: #e2e8f0; --bg: #ffffff; --bg-alt: #f8fafc;
  --radius: 14px; --shadow: 0 10px 30px rgba(15, 23, 42, .08);
  --font: Inter, "Segoe UI", system-ui, -apple-system, Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.6; font-size: 17px; }
img, svg { max-width: 100%; }
a { color: var(--primary); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .6em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); letter-spacing: -.01em; }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.wrap { width: min(1160px, 100% - 40px); margin: 0 auto; }
.narrow { width: min(780px, 100% - 40px); margin: 0 auto; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.center { text-align: center; }
.skip { position: absolute; left: -9999px; } .skip:focus { left: 10px; top: 10px; background: #fff; padding: 8px; z-index: 100; }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.brand img { height: 38px; display: block; }
.nav { display: flex; gap: 20px; margin-left: auto; align-items: center; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .97rem; }
.nav a:hover { color: var(--primary); }
.nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; font-size: 1rem; cursor: pointer; }
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; padding: 16px 20px; border-bottom: 1px solid var(--line); gap: 12px; }
  .nav.open { display: flex; }
}

/* buttons */
.btn { display: inline-block; padding: 12px 22px; border-radius: 999px; font-weight: 600; text-decoration: none; border: 2px solid var(--primary); cursor: pointer; font-size: 1rem; font-family: inherit; transition: .15s; }
.btn-primary { background: var(--primary); color: #fff !important; }
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); }
.btn-ghost { background: transparent; color: var(--primary) !important; }
.btn-ghost:hover { background: var(--primary-soft); }
.btn-sm { padding: 8px 16px; font-size: .92rem; }
.btn[disabled] { opacity: .6; cursor: wait; }

/* hero */
.hero { background: linear-gradient(160deg, var(--primary-dark), #2f4fc4 60%, var(--primary)); color: #fff; padding: 72px 0 84px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero p.lead { font-size: 1.2rem; color: var(--hero-soft); max-width: 560px; }
.hero .cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0 18px; }
.hero .btn-primary { background: #fff; border-color: #fff; color: var(--primary-dark) !important; }
.hero .btn-primary:hover { background: var(--hero-soft); border-color: var(--hero-soft); }
.hero .btn-ghost { color: #fff !important; border-color: rgba(255,255,255,.6); }
.hero .btn-ghost:hover { background: rgba(255,255,255,.1); }
.hero ul.ticks { list-style: none; padding: 0; margin: 0; display: flex; gap: 18px; flex-wrap: wrap; color: var(--hero-soft); font-size: .95rem; }
.hero ul.ticks li::before { content: "✓ "; color: #fff; font-weight: 700; }
.price-badge { display: inline-block; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); border-radius: 999px; padding: 6px 14px; font-size: .95rem; margin-bottom: 18px; }
.mock { background: #fff; border-radius: 18px; box-shadow: 0 30px 60px rgba(0,0,0,.3); padding: 14px; color: var(--ink); }
.mock svg { display: block; width: 100%; height: auto; border-radius: 10px; }
.mock .row { display: flex; justify-content: space-between; font-size: .85rem; padding: 8px 4px 0; color: var(--muted); }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; } .hero { padding: 48px 0 56px; } }

/* sections */
section.block { padding: 80px 0; }
section.alt { background: var(--bg-alt); }
.section-head { max-width: 720px; margin: 0 auto 44px; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.grid { display: grid; gap: 22px; }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .g4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 800px) { .g3, .g4 { grid-template-columns: 1fr; } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.card .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--primary-soft); color: var(--primary); display: grid; place-items: center; font-size: 1.35rem; margin-bottom: 14px; }
.card p { color: var(--muted); margin: 0; }
.steps { counter-reset: s; }
.steps .card { position: relative; padding-top: 34px; }
.steps .card::before { counter-increment: s; content: counter(s); position: absolute; top: -18px; left: 24px; width: 38px; height: 38px; border-radius: 50%; background: var(--primary); color: #fff; display: grid; place-items: center; font-weight: 700; }

/* pricing */
.pricing { display: grid; grid-template-columns: 1fr 1.2fr; gap: 28px; align-items: start; }
@media (max-width: 900px) { .pricing { grid-template-columns: 1fr; } }
.plan { background: var(--primary-dark); color: #fff; border-radius: 20px; padding: 36px; box-shadow: var(--shadow); }
.plan .amount { font-size: 3.4rem; font-weight: 800; line-height: 1; margin: 10px 0 4px; }
.plan .amount small { font-size: 1.1rem; font-weight: 500; color: #bfdbfe; }
.plan ul { padding-left: 1.2em; color: var(--hero-soft); }
.plan .btn-primary { background: #fff; border-color: #fff; color: var(--primary-dark) !important; }
.hw-list { list-style: none; padding: 0; margin: 0; }
.hw-list li { display: flex; justify-content: space-between; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.hw-list li strong { display: block; }
.hw-list li span.p { font-weight: 700; white-space: nowrap; font-size: 1.1rem; }

/* devices */
.device { display: flex; flex-direction: column; }
.device .tag { align-self: flex-start; font-size: .78rem; font-weight: 600; background: var(--primary-soft); color: var(--primary); padding: 3px 10px; border-radius: 999px; margin-bottom: 10px; }
.device .price { font-size: 1.4rem; font-weight: 800; margin: 8px 0; color: var(--ink); }
.device p { flex: 1; }
.table-scroll { overflow-x: auto; margin-top: 36px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
table.compare { border-collapse: collapse; width: 100%; min-width: 860px; font-size: .93rem; }
table.compare th, table.compare td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
table.compare thead th { background: var(--primary-dark); color: #fff; position: sticky; top: 0; }
table.compare tbody th { background: var(--bg-alt); font-weight: 600; width: 190px; }
table.compare td.yes::before { content: "✓ "; color: #15803d; font-weight: 700; }
table.compare td.no { color: #94a3b8; }

/* faq */
details { border: 1px solid var(--line); border-radius: 12px; padding: 16px 20px; background: #fff; margin-bottom: 12px; }
details summary { font-weight: 600; cursor: pointer; }
details[open] summary { margin-bottom: 8px; }

/* cta band */
.cta-band { background: var(--primary); color: #fff; padding: 56px 0; text-align: center; }
.cta-band .btn-primary { background: #fff; border-color: #fff; color: var(--primary) !important; }

/* footer */
footer.site-footer { background: #0b1220; color: #cbd5e1; padding: 48px 0 30px; font-size: .93rem; }
footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; }
@media (max-width: 800px) { footer .cols { grid-template-columns: 1fr; } }
footer a { color: #e2e8f0; text-decoration: none; } footer a:hover { text-decoration: underline; }
footer ul { list-style: none; padding: 0; margin: 0; } footer li { margin: 6px 0; }
footer .legal { border-top: 1px solid #1e293b; margin-top: 30px; padding-top: 18px; color: #94a3b8; font-size: .85rem; }
.linklike { background: none; border: 0; padding: 0; color: #e2e8f0; cursor: pointer; font: inherit; }
.linklike:hover { text-decoration: underline; }

/* article / legal */
.page-head { background: var(--bg-alt); border-bottom: 1px solid var(--line); padding: 48px 0 36px; }
.prose { padding: 40px 0 70px; }
.prose h2 { margin-top: 1.8em; font-size: 1.6rem; }
.prose h3 { margin-top: 1.4em; }
.prose li { margin: .35em 0; }
.prose table { border-collapse: collapse; width: 100%; margin: 1em 0; font-size: .95rem; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; }
.prose th { background: var(--bg-alt); }
.breadcrumb { font-size: .9rem; color: var(--muted); margin-bottom: 10px; } .breadcrumb a { color: var(--muted); }
.post-list .card h2 { font-size: 1.25rem; margin-bottom: .4em; } .post-list .card h2 a { color: var(--ink); text-decoration: none; } .post-list .card h2 a:hover { color: var(--primary); }
.article-cta { background: var(--primary-soft); border-radius: var(--radius); padding: 24px; margin-top: 40px; }

/* forms */
.form { display: grid; gap: 16px; }
.form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .form .two { grid-template-columns: 1fr; } }
.form label { display: block; font-weight: 600; font-size: .93rem; margin-bottom: 5px; }
.form input[type=text], .form input[type=email], .form input[type=tel], .form input[type=password], .form input[type=number], .form select, .form textarea {
  width: 100%; padding: 11px 13px; border: 1px solid #cbd5e1; border-radius: 10px; font: inherit; background: #fff; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--primary); outline-offset: 1px; border-color: var(--primary); }
.form .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.form .check input { width: auto; margin-top: 5px; flex: none; }
.form .hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: 14px 16px; border-radius: 10px; font-size: .95rem; }
.alert-error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.alert-ok { background: #f0fdf4; color: #166534; border: 1px solid #bbf7d0; }
.signup-box { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 32px; box-shadow: var(--shadow); }

/* cookie banner */
.cc-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 1000; max-width: 760px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 20px 50px rgba(15,23,42,.25); padding: 22px; font-size: .95rem; }
.cc-banner h2 { font-size: 1.1rem; margin-bottom: .4em; }
.cc-banner .cc-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.cc-banner .cc-actions .btn { flex: 1 1 auto; text-align: center; }
.cc-banner .cc-opts { margin-top: 12px; display: none; border-top: 1px solid var(--line); padding-top: 12px; }
.cc-banner.custom .cc-opts { display: block; }
.cc-banner .cc-opts label { display: flex; gap: 10px; align-items: flex-start; margin: 8px 0; }
.cc-banner .cc-opts input { margin-top: 5px; }
[hidden] { display: none !important; }
