:root {
  --navy: #0e2b4d; --navy-2: #173a63; --slate: #414b57; --ink: #16202c; --muted: #5b6673;
  --line: #dde2e8; --mist: #f4f6f8; --white: #fff;
  --head: 'Montserrat', 'Segoe UI', system-ui, -apple-system, Arial, sans-serif;
  --body: 'Inter', 'Segoe UI', system-ui, -apple-system, Roboto, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; font: 400 17px/1.65 var(--body); color: var(--ink); background: var(--white); overflow-wrap: anywhere; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); }
h1, h2, h3 { font-family: var(--head); line-height: 1.15; margin: 0; color: var(--navy); }
h1 { font-size: clamp(2.2rem, 5.2vw, 3.6rem); font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); font-weight: 700; letter-spacing: -0.01em; }
h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: 8px; }
p { margin: 0; }
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
section { padding: 88px 0; }
.mist { background: var(--mist); }
.label { font-family: var(--head); font-size: .78rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--slate); margin-bottom: 14px; }
.head { max-width: 40em; margin-bottom: 44px; }
.head p:not(.label) { color: var(--muted); margin-top: 14px; font-size: 1.08rem; }
.skip { position: absolute; left: -999px; top: 0; background: var(--navy); color: #fff; padding: 12px 16px; z-index: 10; }
.skip:focus { left: 8px; top: 8px; }
:focus-visible { outline: 3px solid #5b8fd6; outline-offset: 3px; }

/* Header */
.top { position: sticky; top: 0; z-index: 5; background: var(--white); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; min-height: 44px; flex: 0 1 auto; min-width: 0; }
.brand .mark { height: 48px; width: auto; flex: none; }
.brand .word { width: 191px; height: auto; flex: 0 1 auto; min-width: 0; }
nav { display: flex; align-items: center; gap: 4px; flex: none; }
nav a:not(.btn) { font-family: var(--head); font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--slate); text-decoration: none; padding: 0 14px; min-height: 44px; display: inline-flex; align-items: center; }
nav a:not(.btn):hover { color: var(--navy); }
nav .btn { margin-left: 10px; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 12px 30px; background: var(--navy); color: #fff; border: 1px solid var(--navy); border-radius: 2px; font-family: var(--head); font-size: .85rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; text-align: center; transition: background .15s, color .15s; }
.btn:hover { background: var(--navy-2); }
.btn-small { min-height: 44px; padding: 8px 20px; font-size: .78rem; white-space: nowrap; }
.btn-line { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn-line:hover { background: #fff; color: var(--navy); }
.btn-white { background: #fff; color: var(--navy); border-color: #fff; }
.btn-white:hover { background: #e8edf3; }

/* Hero */
.hero { background: var(--navy); color: #fff; padding: 104px 0 0; }
.hero h1 { color: #fff; max-width: 13em; }
.hero .label { color: #9fb2c8; }
.lead { font-size: 1.2rem; color: #c9d4e0; margin: 24px 0 36px; max-width: 34em; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; }
.facts { list-style: none; margin: 88px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); border-top: 1px solid rgba(255,255,255,.18); }
.facts li { padding: 26px 24px 30px 0; min-width: 0; }
.facts strong { display: block; font-family: var(--head); font-weight: 600; font-size: 1rem; color: #fff; }
.facts span { color: #9fb2c8; font-size: .95rem; }

/* Grids */
.grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); background: #fff; }
.grid.four { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.grid.three { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grid li { padding: 32px 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); min-width: 0; }
.grid p { color: var(--muted); font-size: .98rem; }
.steps { counter-reset: s; }
.steps li { counter-increment: s; }
.steps li::before { content: "0" counter(s); display: block; font-family: var(--head); font-weight: 700; font-size: 2rem; color: #b9c3cf; margin-bottom: 18px; letter-spacing: -0.02em; }

/* Plan */
.plan { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: 56px; align-items: center; }
.plan .head { margin-bottom: 0; }
.price-card { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--navy); padding: 36px; min-width: 0; }
.price { font-family: var(--head); color: var(--muted); font-size: 1rem; margin-bottom: 22px; }
.price span { font-size: 3.4rem; font-weight: 700; color: var(--navy); letter-spacing: -0.03em; line-height: 1; }
.price-card ul { list-style: none; padding: 0; margin: 0 0 28px; }
.price-card li { padding: 12px 0 12px 28px; position: relative; border-top: 1px solid var(--line); }
.price-card li::before { content: ""; position: absolute; left: 2px; top: 21px; width: 11px; height: 6px; border-left: 2px solid var(--navy); border-bottom: 2px solid var(--navy); transform: rotate(-45deg); }
.price-card .btn { width: 100%; }

/* Products */
.tabs { display: flex; flex-wrap: wrap; gap: 0 4px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.tabs button { font-family: var(--head); font-size: .8rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; min-height: 48px; padding: 8px 16px; border: 0; border-bottom: 3px solid transparent; margin-bottom: -1px; background: none; color: var(--muted); cursor: pointer; }
.tabs button:hover { color: var(--navy); }
.tabs button[aria-selected=true] { color: var(--navy); border-bottom-color: var(--navy); }
.items { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 0 56px; }
.items li { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; padding: 15px 0; border-bottom: 1px solid var(--line); min-width: 0; }
.item-name { min-width: 0; }
.item-name strong { font-weight: 500; }
.item-name span { color: var(--muted); font-size: .9rem; margin-left: 10px; white-space: nowrap; }
.item-price { font-weight: 600; color: var(--navy); font-variant-numeric: tabular-nums; flex: none; }
.note { color: var(--muted); font-size: .95rem; margin-top: 24px; }

/* Contact */
.cta { background: var(--navy); color: #fff; }
.cta-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px 48px; }
.cta h2 { color: #fff; margin-bottom: 10px; }
.cta p { color: #c9d4e0; max-width: 34em; }
.cta-in > div { min-width: 0; flex: 1 1 320px; }

footer { padding: 36px 0; color: var(--muted); font-size: .92rem; }
.foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.foot img { height: 12px; width: auto; opacity: .85; }
.foot a { min-height: 44px; display: inline-flex; align-items: center; }

@media (max-width: 860px) {
  section { padding: 60px 0; }
  .hero { padding: 64px 0 0; }
  .facts { margin-top: 56px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts li { padding: 20px 16px 22px 0; }
  .plan { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  nav a:not(.btn) { display: none; }
}
@media (max-width: 480px) {
  .wrap { padding: 0 18px; }
  .brand { gap: 10px; }
  .brand .mark { height: 38px; }
  .brand .word { width: 140px; }
  .btn-small { font-size: .72rem; padding: 8px 12px; }
  nav .btn { margin-left: 0; }
  .btn-small { padding: 8px 14px; letter-spacing: .08em; }
  .item-name span { display: block; margin-left: 0; white-space: normal; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }
