
:root {
  --bg: #f4f7fb;
  --surface: #ffffff;
  --surface-soft: #f8fafc;
  --text: #172033;
  --muted: #5f6d85;
  --line: #dde5f0;
  --accent: #2157d5;
  --accent-strong: #183e9a;
  --accent-soft: #edf3ff;
  --ok: #0f766e;
  --danger: #b42318;
  --shadow: 0 16px 42px rgba(23, 32, 51, 0.08);
  --radius-lg: 18px;
  --radius-md: 14px;
  --radius-sm: 12px;
  --max: 1140px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #f8faff 0%, #f4f7fb 100%);
  line-height: 1.6;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.hidden { display: none !important; }
.small { font-size: 14px; }
.muted { color: var(--muted); }
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(248,250,255,.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(221,229,240,.88);
}
.nav {
  min-height: 74px; display:flex; align-items:center; justify-content:space-between; gap:20px;
}
.brand { display:inline-flex; align-items:center; gap:12px; color:var(--text); font-size:20px; font-weight:800; }
.brand img { width:42px; height:42px; border-radius:12px; background:rgba(33,87,213,.06); padding:4px; }
.nav-links { display:flex; gap:18px; flex-wrap:wrap; font-size:14px; }
.nav-links a { color:var(--muted); font-weight:600; }
.nav-links a.active, .nav-links a:hover { color:var(--text); text-decoration:none; }
.hero { padding: 64px 0 28px; }
.hero-grid { display:grid; grid-template-columns: 1.2fr .9fr; gap: 22px; align-items:stretch; }
.hero-panel, .side-panel, .card, .plan-card, .legal-card, .support-card, .checkout-card, .notice, .compare-table {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.hero-panel { padding: 34px; }
.side-panel { padding: 26px; background: linear-gradient(180deg,#fff 0%,#f8fbff 100%); }
.eyebrow {
  display:inline-flex; align-items:center; gap:8px; padding:8px 12px; border-radius:999px;
  border:1px solid rgba(33,87,213,.16); background:var(--accent-soft); color:var(--accent-strong);
  font-size:12px; font-weight:700; letter-spacing:.01em; margin-bottom:16px;
}
h1,h2,h3,h4 { line-height:1.15; margin:0 0 12px; }
h1 { font-size: 44px; }
h2 { font-size: 30px; }
h3 { font-size: 22px; }
h4 { font-size: 18px; }
p { margin:0 0 14px; color:var(--muted); }
.lead { font-size:18px; max-width:760px; color:#33415b; }
.actions { display:flex; flex-wrap:wrap; gap:12px; margin-top:24px; }
.btn {
  display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:46px; padding:12px 18px;
  border-radius:12px; border:1px solid var(--line); font-weight:700; font-size:15px;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease, background .15s ease; cursor:pointer;
}
.btn:hover { transform: translateY(-1px); text-decoration:none; }
.btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn.primary:hover { background: var(--accent-strong); border-color: var(--accent-strong); }
.btn.secondary, .btn.ghost { background:#fff; color:var(--text); }
.btn.full { width:100%; }
.section { padding: 18px 0 34px; }
.section-head { display:flex; justify-content:space-between; align-items:end; gap:20px; margin-bottom:18px; }
.grid-2, .grid-3, .grid-4 { display:grid; gap:18px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
.card { padding: 24px; }
.card ul, .side-panel ul, .plan-card ul, .legal-card ul, .support-card ul, .checkout-card ul { margin: 0; padding-left: 20px; color: var(--muted); }
.card li, .side-panel li, .plan-card li, .legal-card li, .support-card li, .checkout-card li { margin-bottom: 8px; }
.kv { display:grid; gap:12px; margin-top:18px; }
.kv .item { padding-top:12px; border-top:1px solid var(--line); }
.note-strip {
  display:grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap:14px; margin-top:18px;
}
.note-strip .item {
  padding:14px 16px; border-radius:14px; background:var(--surface-soft); border:1px solid var(--line);
}
.pricing-grid {
  display:grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap:18px; align-items:stretch;
}
.plan-card {
  display:flex; flex-direction:column; min-height:100%; padding:22px;
}
.plan-card p { min-height: 72px; }
.plan-card ul { flex:1 1 auto; margin-bottom:16px; }
.plan-card .btn { margin-top:auto; }
.plan-card.featured { border-color: rgba(33,87,213,.36); box-shadow: 0 20px 48px rgba(33,87,213,.10); }
.plan-badge {
  display:inline-flex; align-self:flex-start; padding:6px 10px; border-radius:999px; background:var(--accent-soft);
  color:var(--accent-strong); font-size:12px; font-weight:800; margin-bottom:12px;
}
.price { display:flex; align-items:baseline; gap:8px; margin:8px 0 14px; font-size:34px; font-weight:800; color:var(--text); }
.price small { font-size:13px; color:var(--muted); font-weight:700; }
.billing-toggle { display:inline-flex; padding:4px; border-radius:999px; border:1px solid var(--line); background:var(--surface); }
.billing-toggle button {
  appearance:none; border:none; background:transparent; padding:8px 14px; border-radius:999px; font-weight:700; cursor:pointer; color:var(--muted);
}
.billing-toggle button.active { background:var(--accent); color:#fff; }
.compare-table { overflow:auto; }
.compare-table table { width:100%; border-collapse:collapse; min-width:760px; }
.compare-table th, .compare-table td { padding:14px 16px; border-bottom:1px solid var(--line); text-align:left; }
.compare-table th { font-size:13px; text-transform:uppercase; letter-spacing:.04em; color:var(--muted); }
.form-grid { display:grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap:16px; }
.form-field { display:flex; flex-direction:column; gap:8px; }
label { font-weight:700; font-size:14px; color:var(--text); }
input, select, textarea {
  width:100%; min-height:46px; border:1px solid var(--line); border-radius:12px; padding:12px 14px; background:#fff; color:var(--text); font:inherit;
}
textarea { min-height:140px; resize:vertical; }
.notice { padding:18px 20px; }
.status-box {
  padding:14px 16px; border-radius:12px; border:1px solid var(--line); background:var(--surface-soft); color:var(--text);
}
.status-box.ok { background:#f0fdf8; border-color:#b7ebd1; color:#116149; }
.status-box.warn { background:#fff7ed; border-color:#fed7aa; color:#9a3412; }
.site-footer { padding: 26px 0 42px; }
.footer-grid {
  display:grid; gap:18px; padding-top:22px; border-top:1px solid var(--line);
}
.footer-links { display:flex; flex-wrap:wrap; gap:14px 18px; }
.footer-meta { color:var(--muted); font-size:14px; }
.legal-card, .support-card, .checkout-card { padding:24px; }
.checkout-layout { display:grid; grid-template-columns: 1.05fr .95fr; gap:18px; }
.faq { display:grid; gap:14px; }
.faq details {
  background:var(--surface); border:1px solid var(--line); border-radius:14px; padding:16px 18px; box-shadow: var(--shadow);
}
.faq summary { cursor:pointer; font-weight:700; color:var(--text); }
.hr-space { height:16px; }
@media (max-width: 1080px) {
  .pricing-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .grid-4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 860px) {
  h1 { font-size: 34px; }
  h2 { font-size: 26px; }
  .hero-grid, .checkout-layout, .grid-3, .grid-2, .form-grid { grid-template-columns: 1fr; }
  .note-strip { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .nav { min-height: 66px; }
  .nav-links { gap: 12px; }
  .hero { padding-top: 38px; }
  .hero-panel, .side-panel, .card, .plan-card, .legal-card, .support-card, .checkout-card { padding: 20px; }
  .pricing-grid, .grid-4 { grid-template-columns: 1fr; }
}
