:root {
  --bg: #050d1e;
  --bg-soft: #081429;
  --card: #0c1a33;
  --border: #1c3558;
  --blue: #2196f3;
  --cyan: #22d3ee;
  --green: #34e08a;
  --orange: #ffa726;
  --muted: #a3b5d1;
  --text: #f4f7fc;
  --gutter: clamp(16px, 4vw, 32px);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

img { display: block; max-width: 100%; height: auto; }

a { color: var(--cyan); }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }

h1, h2, h3 { line-height: 1.2; }
h2 { margin: 0 0 12px; font-size: clamp(26px, 4vw, 36px); }
h3 { margin: 0 0 6px; font-size: 19px; }
p { margin: 0 0 14px; }

.wrap { width: min(1120px, 100%); margin: 0 auto; padding: 0 var(--gutter); }

/* Header */
.top { border-bottom: 1px solid var(--border); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 800; text-decoration: none; }
.brand img { border-radius: 9px; }
.brand span { color: var(--cyan); }
.top nav { display: flex; gap: 20px; font-size: 15px; }
.top nav a { color: var(--muted); text-decoration: none; }
.top nav a:hover { color: var(--text); }

/* Hero */
.banner { background: #03122e; }
.banner img { width: min(1600px, 100%); margin: 0 auto; }
.hero { padding: clamp(32px, 6vw, 60px) 0; text-align: center; }
.hero h1 { max-width: 800px; margin: 0 auto 14px; font-size: clamp(30px, 5.4vw, 50px); letter-spacing: -.01em; }
.lead { max-width: 680px; margin: 0 auto 26px; color: var(--muted); font-size: clamp(17px, 2.3vw, 20px); }

.button {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 12px;
  background: var(--blue);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}
.button:hover { background: #3aa4f7; }

.facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin: 22px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: 15px; }
.facts li::before { content: "\2713"; margin-right: 7px; color: var(--green); font-weight: 700; }

/* Sections */
section { padding: clamp(40px, 7vw, 72px) 0; }
section.soft { background: var(--bg-soft); border-block: 1px solid var(--border); }
.intro { max-width: 680px; margin-bottom: 30px; color: var(--muted); }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 14px; }
.card { padding: 20px; background: var(--card); border: 1px solid var(--border); border-radius: 14px; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }
.tag { display: inline-block; margin-left: 8px; padding: 1px 8px; border-radius: 99px; background: rgba(52, 224, 138, .14); color: var(--green); font-size: 12px; font-weight: 700; vertical-align: 2px; }

/* Showcase */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 300px); gap: clamp(28px, 6vw, 64px); align-items: center; }
.split ul { margin: 0; padding-left: 20px; color: var(--muted); }
.split li { margin-bottom: 8px; }
.split strong { color: var(--text); }
.phone { justify-self: center; padding: 10px; background: #000; border: 1px solid var(--border); border-radius: 32px; }
.phone img { border-radius: 24px; }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 14px; }
.plan { padding: 26px; background: var(--card); border: 1px solid var(--border); border-radius: 16px; }
.plan.pro { border-color: var(--blue); }
.plan h3 { font-size: 21px; }
.price { margin: 4px 0 14px; font-size: 40px; font-weight: 800; line-height: 1.1; }
.price small { color: var(--muted); font-size: 15px; font-weight: 400; }
.plan ul { margin: 0; padding-left: 20px; color: var(--muted); font-size: 16px; }
.note { margin: 16px 0 0; color: var(--muted); font-size: 14px; }

/* FAQ */
details { border-bottom: 1px solid var(--border); }
summary { padding: 15px 0; font-weight: 600; cursor: pointer; }
details p { color: var(--muted); }

/* Legal pages */
.legal { max-width: 780px; padding: clamp(32px, 6vw, 56px) var(--gutter); margin: 0 auto; }
.legal h1 { margin: 0 0 6px; font-size: clamp(30px, 5vw, 42px); }
.legal h2 { margin: 32px 0 8px; font-size: 22px; }
.legal p, .legal li { color: var(--muted); }
.legal ul { padding-left: 20px; }
.legal strong { color: var(--text); }
.updated { color: var(--muted); font-size: 15px; }

/* Footer */
footer { padding: 28px 0; border-top: 1px solid var(--border); color: var(--muted); font-size: 15px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }
footer a { color: var(--muted); }

@media (max-width: 760px) {
  .split { grid-template-columns: 1fr; }
  .top nav .optional { display: none; }
}
