:root { --red: #cf0a0a; --red-hi: #ef2b2b; --text: #f4f6fb; --muted: #a3aec6; --line: rgba(255,255,255,.09); --card: rgba(16, 24, 44, .78);
  --pad: clamp(18px, 5vw, 64px); font-family: "Inter", "Segoe UI", Roboto, system-ui, sans-serif; color-scheme: dark; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--text); background: linear-gradient(180deg, #0a1122, #060912 60%, #05070e); min-height: 100vh; line-height: 1.55; }
a { color: #ff6b6b; }
code { font-family: ui-monospace, Consolas, monospace; background: rgba(255,255,255,.07); padding: 2px 6px; border-radius: 6px; word-break: break-all; }
svg { width: 1.1em; height: 1.1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
svg .fill { fill: currentColor; stroke: none; }
svg .bg { fill: #0c1426; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.small { color: var(--muted); font-size: 14px; }
.center { text-align: center; }

/* ---------------- header ---------------- */
.top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px var(--pad);
  background: rgba(7, 11, 22, .86); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.brand { height: 50px; width: auto; display: block; }
.top nav { display: flex; gap: 28px; align-items: center; }
.top nav a { color: var(--text); text-decoration: none; font-weight: 600; }
.top nav a:hover { color: #fff; }
.pill { display: inline-flex; align-items: center; gap: 8px; background: linear-gradient(180deg, var(--red-hi), #b70b0b); padding: 9px 18px; border-radius: 10px; }
.menu-btn { display: none; width: 44px; height: 44px; border: 0; border-radius: 10px; background: rgba(255,255,255,.06); cursor: pointer; padding: 11px 10px; flex-direction: column; justify-content: space-between; }
.menu-btn span { display: block; height: 2.5px; border-radius: 2px; background: #fff; }

/* ---------------- buttons ---------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 54px; padding: 0 28px; border-radius: 10px; font-weight: 700; font-size: 18px;
  color: var(--text); text-decoration: none; background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.2); transition: transform .15s, box-shadow .15s, background .15s; }
.btn:hover { transform: translateY(-1px); }
.btn.primary { background: linear-gradient(180deg, var(--red-hi), #b70b0b); box-shadow: 0 10px 26px rgba(239,43,43,.32); }
.btn.outline { background: rgba(7, 11, 22, .35); box-shadow: inset 0 0 0 2px rgba(255,255,255,.85); }
.btn.wide { width: 100%; }
.btn.disabled, .btn-sm.disabled { opacity: .55; pointer-events: none; }
.btn-sm { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 0 16px; border-radius: 9px; font-weight: 600; font-size: 15px;
  color: var(--text); text-decoration: none; white-space: nowrap; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.7); transition: background .15s, box-shadow .15s; }
.btn-sm:hover { background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1.5px #fff; }

/* ---------------- hero ---------------- */
.hero { position: relative; overflow: hidden; min-height: clamp(420px, 44vw, 600px); display: flex; align-items: center; padding: 60px var(--pad); }
.hero-bg { position: absolute; inset: 0 0 0 auto; width: min(100%, 78%); background: url("/assets/hero.webp") center / cover no-repeat; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #0a1122 0%, rgba(10,17,34,.88) 18%, rgba(10,17,34,.35) 45%, rgba(10,17,34,0) 70%),
  linear-gradient(0deg, #0a1122 0%, rgba(10,17,34,0) 30%); }
.hero-copy { position: relative; max-width: 780px; }
.hero p { max-width: 32rem; }
.hero h1 { font-size: clamp(42px, 6vw, 76px); line-height: 1.04; margin: 0; letter-spacing: -.02em; text-shadow: 0 4px 24px rgba(0,0,0,.45); }
.hero-bar { display: block; width: 72px; height: 5px; border-radius: 3px; background: var(--red-hi); margin: 22px 0 22px; }
.hero p { color: #e6ebf5; font-size: clamp(18px, 1.6vw, 22px); max-width: 30rem; margin: 0; text-shadow: 0 2px 12px rgba(0,0,0,.5); }
.cta { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 32px; }

/* ---------------- feature strip ---------------- */
.strip { display: grid; grid-template-columns: repeat(4, 1fr); padding: 26px var(--pad); background: rgba(255,255,255,.025); border-block: 1px solid var(--line); }
.strip-item { display: flex; align-items: center; gap: 16px; padding: 6px 22px; }
.strip-item + .strip-item { border-left: 1px solid var(--line); }
.strip-icon svg { width: 46px; height: 46px; color: var(--red-hi); stroke-width: 2.4; }
.strip h3 { margin: 0 0 2px; font-size: 19px; }
.strip p { margin: 0; color: #c5cee0; font-size: 15px; line-height: 1.4; }

/* ---------------- plans ---------------- */
.plans, .devices { padding: 72px var(--pad) 20px; text-align: center; }
.plans h2, .devices h2 { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.1; margin: 0 0 8px; }
.sub { color: #c5cee0; font-size: 18px; margin: 0 auto 34px; max-width: 40rem; }
.plan-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 420px)); justify-content: center; gap: 24px; }
.plan { position: relative; overflow: hidden; text-align: left; padding: 30px 32px 32px; border-radius: 18px; background: var(--card); border: 1px solid rgba(255,255,255,.12); box-shadow: 0 20px 50px rgba(0,0,0,.35); }
.plan.best { border-color: rgba(239,43,43,.55); }
.ribbon { position: absolute; top: 22px; right: -46px; width: 180px; transform: rotate(45deg); text-align: center; padding: 6px 0; font-size: 12px; font-weight: 800;
  letter-spacing: .12em; text-transform: uppercase; color: #fff; background: linear-gradient(180deg, var(--red-hi), #b70b0b); box-shadow: 0 4px 12px rgba(0,0,0,.35); }
.plan-head { display: flex; align-items: center; gap: 14px; }
.plan-icon svg { width: 40px; height: 40px; color: #dfe5f1; stroke-width: 1.8; }
.plan h3 { margin: 0; font-size: 23px; }
.plan-price { display: flex; align-items: baseline; gap: 10px; margin: 18px 0 14px; }
.plan-price span { font-size: 54px; font-weight: 800; letter-spacing: -.02em; line-height: 1; }
.plan-price small { color: #c5cee0; font-size: 19px; }
.plan ul { list-style: none; margin: 0 0 26px; padding: 0; }
.plan li { display: flex; align-items: center; gap: 10px; margin: 9px 0; font-size: 16.5px; }
.plan li svg { width: 20px; height: 20px; color: var(--red-hi); stroke-width: 3; }
.longer { margin: 48px 0 14px; font-size: 22px; }
.price-wrap { max-width: 864px; margin: 0 auto; overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.03); }
.prices { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.prices th, .prices td { padding: 12px 20px; border-bottom: 1px solid var(--line); text-align: right; }
.prices thead th { color: var(--text); font-weight: 700; background: rgba(255,255,255,.03); }
.prices th[scope="row"], .prices thead th:first-child { text-align: left; font-weight: 500; }
.prices tbody tr:last-child th, .prices tbody tr:last-child td { border-bottom: 0; font-weight: 700; }
.plans .small { max-width: 52rem; margin: 16px auto 0; }

/* ---------------- devices ---------------- */
.dev-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; max-width: 1180px; margin: 0 auto; }
.dev { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 24px 12px 18px; border-radius: 16px; background: var(--card); border: 1px solid rgba(255,255,255,.1); }
.dev-icon svg { width: 52px; height: 52px; color: var(--red-hi); stroke-width: 2; }
.dev h3 { margin: 0; font-size: 18px; }
.dev .btn-sm { width: 100%; max-width: 190px; padding: 0 10px; font-size: 14px; gap: 6px; }
.dev .btn-sm + .btn-sm { margin-top: -2px; }
.btn-sm.guide-btn { color: #cfd7e8; background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.22); }
.btn-sm.guide-btn:hover { color: #fff; background: rgba(255,255,255,.09); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.6); }

/* ---------------- support ---------------- */
.support { padding: 64px var(--pad) 70px; }
.support-card { max-width: 1060px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; padding: 30px 34px;
  border-radius: 18px; background: linear-gradient(120deg, rgba(207,10,10,.22), rgba(16,24,44,.85) 55%); border: 1px solid rgba(255,255,255,.12); }
.support h2 { margin: 0 0 6px; font-size: clamp(24px, 2.6vw, 32px); }
.support .contact { margin: 0; color: #d6ddeb; padding: 0; background: none; box-shadow: none; }
.support-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.support-btns .btn { height: 50px; font-size: 17px; }
.contact { margin-top: 14px; padding: 12px 16px; border-radius: 12px; background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px var(--line); }

/* ---------------- footer (every page) ---------------- */
.site-foot { padding: 30px var(--pad) 40px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; background: rgba(0,0,0,.18); }
.foot-row { display: flex; align-items: center; justify-content: space-between; gap: 20px 32px; flex-wrap: wrap; max-width: 1180px; margin: 0 auto; }
.foot-logo { height: 46px; width: auto; display: block; }
.foot-links { display: flex; gap: 28px; flex-wrap: wrap; }
.foot-links a { color: var(--text); text-decoration: none; font-weight: 600; font-size: 15px; }
.copy { margin: 0; }
.legal-links { display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: center; max-width: 1180px; margin: 22px auto 0; }
.legal-links a { color: var(--muted); }
.legal-links a:hover, .legal-links a:focus-visible { color: var(--text); }
.foot-note { text-align: center; margin: 12px auto 0; max-width: 52rem; font-size: 13px; }
.contact-foot { margin: 0; width: 100%; text-align: center; }
a:focus-visible, .btn:focus-visible, .btn-sm:focus-visible, .menu-btn:focus-visible { outline: 3px solid #ffd166; outline-offset: 3px; }

/* every word starts with a capital letter; addresses, commands and checksums stay exactly as they are */
body { text-transform: capitalize; }
code, pre, input, textarea, .site-url { text-transform: none; }
input::placeholder, textarea::placeholder { text-transform: capitalize; }
button, select { text-transform: inherit; }
a[href^="mailto:"], a[href^="tel:"], a[href^="https://www.instagram.com/"], .contact a { text-transform: none; }
.btn[href^="mailto:"], .btn[href^="https://www.instagram.com/"] { text-transform: capitalize; }
/* links inside a sentence never break in two (so two links never sit on top of each other on phones) */
p a, li a { white-space: nowrap; }

/* ---------------- install guides ---------------- */
.guide-page { max-width: 1080px; margin: 0 auto; padding: 26px var(--pad) 60px; }
.crumbs { font-size: 14px; color: var(--muted); margin: -12px 0 10px; }
.crumbs a { display: inline-block; padding: 12px 2px; color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: #fff; }
.guide-head { display: flex; align-items: center; gap: 22px; margin-bottom: 28px; }
.guide-head .dev-icon { flex: none; width: 84px; height: 84px; border-radius: 20px; display: grid; place-items: center; background: var(--card); border: 1px solid rgba(255,255,255,.1); }
.guide-head .dev-icon svg { width: 50px; height: 50px; color: var(--red-hi); }
.guide-head h1 { margin: 0 0 6px; font-size: clamp(28px, 3.6vw, 42px); line-height: 1.12; }
.guide-head p { margin: 0; color: #c5cee0; font-size: 17px; }
.guide-need { padding: 22px 26px; border-radius: 16px; background: var(--card); border: 1px solid rgba(255,255,255,.1); margin-bottom: 34px; }
.guide-need h2, .guide-tips h2, .guide-help h2 { margin: 0 0 10px; font-size: 22px; }
.guide-need ul, .guide-tips ul { margin: 0; padding-left: 22px; }
.guide-need li, .guide-tips li { margin: 6px 0; color: #d6ddeb; }
.guide-need .why { margin: 14px 0 0; padding-top: 14px; border-top: 1px solid var(--line); color: #c5cee0; }
.steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 22px; }
.step { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: 28px; align-items: center; padding: 24px; border-radius: 18px; background: rgba(255,255,255,.03); border: 1px solid var(--line); }
.step.step-ph { grid-template-columns: minmax(0, 1fr) 300px; }
.step-text { display: flex; gap: 16px; align-items: flex-start; }
.num { flex: none; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 19px; color: #fff; background: linear-gradient(180deg, var(--red-hi), #b70b0b); box-shadow: 0 6px 16px rgba(239,43,43,.3); }
.step h3 { margin: 6px 0 8px; font-size: 21px; }
.step p { margin: 0; color: #d6ddeb; font-size: 16.5px; }
.step b { color: #fff; }
.step-pic { margin: 0; }
.step-pic img { display: block; width: 100%; height: auto; border-radius: 12px; box-shadow: 0 14px 34px rgba(0,0,0,.45), 0 0 0 1px rgba(255,255,255,.08); }
.step-ph .step-pic img { border-radius: 26px; box-shadow: 0 14px 34px rgba(0,0,0,.45); }
.guide-tips { margin-top: 30px; padding: 22px 26px; border-radius: 16px; background: rgba(239,43,43,.08); border: 1px solid rgba(239,43,43,.3); }
.guide-help { margin-top: 26px; padding: 22px 26px; border-radius: 16px; background: var(--card); border: 1px solid rgba(255,255,255,.1); }
.guide-help p { margin: 0; color: #d6ddeb; }
.pic-note { margin: 18px 0 4px; font-size: 13.5px; color: var(--muted); text-align: center; }
.other-guides { margin: 0; text-align: center; font-size: 15px; color: var(--muted); }
.other-guides a { color: #cfd7e8; }
@media (max-width: 760px) {
  .step, .step.step-ph { grid-template-columns: 1fr; gap: 18px; padding: 18px; }
  .step-ph .step-pic { max-width: 280px; margin: 0 auto; }
  .guide-head { align-items: flex-start; }
  .guide-head .dev-icon { width: 64px; height: 64px; border-radius: 16px; }
  .guide-head .dev-icon svg { width: 38px; height: 38px; }
}

/* ---------------- page not found ---------------- */
.notfound { max-width: 760px; margin: 0 auto; padding: 90px var(--pad) 110px; text-align: center; }
.notfound h1 { font-size: clamp(32px, 4.5vw, 52px); margin: 0 0 10px; }
.notfound p { color: #c5cee0; font-size: 18px; margin: 0; }
.center-cta { justify-content: center; }

/* ---------------- legal pages ---------------- */
.legal { max-width: 860px; padding: 10px clamp(18px, 5vw, 64px) 60px; }
.legal h1 { font-size: clamp(30px, 4vw, 44px); line-height: 1.1; margin: 10px 0 6px; }
.legal h2 { margin: 30px 0 8px; font-size: 22px; }
.legal p, .legal li { color: #d6ddeb; }
/* long legal text reads normally (headings keep the site's capitals) */
.legal p, .legal li, .legal td { text-transform: none; }
.legal .updated { color: var(--muted); font-size: 14px; }
.legal table { border-collapse: collapse; width: 100%; margin: 10px 0; }
.legal th, .legal td { border: 1px solid var(--line); padding: 8px 12px; text-align: left; vertical-align: top; }
a[href^="mailto:"], a[href^="tel:"], a[href^="https://www.instagram.com/"], .contact a { text-transform: none; }
.contact-foot { margin: 0; width: 100%; text-align: center; }
/* links inside a sentence never break in two (so two links never sit on top of each other on phones) */
p a, li a { white-space: nowrap; }

/* ---------------- smaller screens ---------------- */
@media (max-width: 1280px) {
  .dev-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 760px; }
}
@media (max-width: 1100px) {
  .strip { grid-template-columns: repeat(2, 1fr); row-gap: 18px; }
  .strip-item:nth-child(3) { border-left: 0; }
}
@media (max-width: 860px) {
  .menu-btn { display: flex; }
  .top nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--pad) 18px;
    background: rgba(7, 11, 22, .97); border-bottom: 1px solid var(--line); }
  .top nav.open { display: flex; }
  .top nav a { padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .top nav a.pill { margin-top: 14px; justify-content: center; border-bottom: 0; padding: 13px 18px; }
  .brand { height: 42px; }
  .hero { min-height: 0; padding: 0; flex-direction: column; align-items: stretch; }
  .hero-bg { position: relative; inset: auto; width: 100%; height: 300px; order: -1; }
  .hero-bg::after { background: linear-gradient(0deg, #0a1122 0%, rgba(10,17,34,.15) 45%, rgba(10,17,34,0) 70%); }
  .hero-copy { padding: 0 var(--pad) 40px; margin-top: -70px; }
  .plan-cards { grid-template-columns: minmax(0, 480px); }
}
@media (max-width: 600px) {
  .strip { grid-template-columns: 1fr; }
  .strip-item { padding: 6px 0; }
  .strip-item + .strip-item { border-left: 0; border-top: 1px solid var(--line); padding-top: 18px; }
  .dev-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .dev { padding: 20px 8px 16px; }
  .btn-sm { padding: 0 12px; font-size: 14px; gap: 6px; }
  .cta { display: grid; grid-template-columns: 1fr; gap: 12px; }
  .cta .btn, .support-btns .btn { width: 100%; }
  .support-btns { width: 100%; display: grid; grid-template-columns: 1fr; }
  .plan { padding: 26px 22px 24px; }
  .plan-price span { font-size: 46px; }
  .foot-row { flex-direction: column; text-align: center; }
  .foot-links { justify-content: center; }
  .prices th, .prices td { padding: 11px 12px; }
}
