:root{
      --bg:#020617;
      --panel:rgba(15,23,42,.78);
      --panel-2:rgba(15,23,42,.92);
      --border:rgba(148,163,184,.16);
      --text:#e5eefb;
      --muted:#9fb0c7;
      --brand:#4f46e5;
      --brand-2:#4338ca;
      --green:#22c55e;
      --amber:#f59e0b;
      --cyan:#38bdf8;
      --red:#fb7185;
      --shadow:0 20px 60px rgba(2,6,23,.55);
      --radius:24px;
      --radius-sm:16px;
      --max:1180px;
    }

    * { box-sizing: border-box; }
    html { scroll-behavior:smooth; }
    body{
      margin:0;
      font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
      color:var(--text);
      background:
        radial-gradient(circle at top, rgba(79,70,229,.18), transparent 35%),
        radial-gradient(circle at bottom, rgba(56,189,248,.10), transparent 22%),
        linear-gradient(180deg, #07101f 0%, #020617 55%, #020617 100%);
      line-height:1.45;
    }

    a{ color:inherit; text-decoration:none; }
    .container{ width:min(var(--max), calc(100% - 32px)); margin:0 auto; }
    .glass{
      background:var(--panel);
      backdrop-filter:blur(16px);
      border:1px solid var(--border);
      box-shadow:var(--shadow);
    }
    .section{ padding:72px 0; border-top:1px solid rgba(148,163,184,.10); }
    .muted{ color:var(--muted); }
    .small{ font-size:13px; }
    .tiny{ font-size:12px; }

    header{
      position:sticky; top:0; z-index:20;
      background:rgba(2,6,23,.75);
      backdrop-filter:blur(18px);
      border-bottom:1px solid rgba(148,163,184,.10);
    }
    .nav{
      display:flex; align-items:center; justify-content:space-between; gap:18px;
      padding:16px 0;
    }
    .brand{
      display:flex; align-items:center; gap:12px;
    }
    .brand-badge{
      width:38px; height:38px; border-radius:14px;
      background:linear-gradient(135deg, var(--brand), var(--cyan));
      display:grid; place-items:center; font-weight:700; font-size:13px;
      box-shadow:0 12px 28px rgba(79,70,229,.42);
      color: #fff;
    }
    .brand-title{ font-size:18px; font-weight:700; letter-spacing:.2px; }
    .brand-sub{ font-size:12px; color:var(--muted); }
    .nav-links{
      display:flex; gap:20px; flex-wrap:wrap; justify-content:flex-end;
      font-size:14px; color:#c6d2e4;
    }
    .nav-links a:hover{ color:#fff; }

    .hero{
      padding:40px 0 36px;
    }
    .hero-wrap{
      position:relative;
      overflow:hidden;
      border-radius:32px;
      padding:34px;
      background:
        radial-gradient(circle at 10% 10%, rgba(79,70,229,.14), transparent 28%),
        radial-gradient(circle at 90% 18%, rgba(56,189,248,.12), transparent 18%),
        radial-gradient(circle at 1px 1px, rgba(148,163,184,.15) 1px, transparent 0),
        var(--panel-2);
      background-size:auto, auto, 30px 30px, auto;
      border:1px solid rgba(148,163,184,.14);
      box-shadow:var(--shadow);
    }
    .hero-grid{
      display:grid;
      grid-template-columns: 1.15fr .85fr;
      gap:28px;
      align-items:start;
    }
    .pill{
      display:inline-flex; align-items:center; gap:10px;
      padding:8px 12px; border-radius:999px;
      background:rgba(34,197,94,.08);
      border:1px solid rgba(34,197,94,.32);
      color:#d7ffe5; font-size:13px; font-weight:600;
      margin-bottom:16px;
    }
    .dot{
      width:8px; height:8px; border-radius:50%;
      background:var(--green); box-shadow:0 0 0 5px rgba(34,197,94,.18);
    }
    h1{
      font-size: clamp(34px, 5vw, 58px);
      line-height:1.02;
      letter-spacing:-0.03em;
      margin:0 0 14px;
      max-width:800px;
    }
    .hero p.lead{
      margin:0 0 22px;
      font-size:clamp(16px, 2vw, 19px);
      color:#cfdbeb;
      max-width:760px;
    }
    .cta-row{
      display:flex; flex-wrap:wrap; gap:12px; margin:0 0 18px;
    }
    .btn{
      display:inline-flex; align-items:center; justify-content:center;
      gap:8px; padding:13px 18px; border-radius:16px;
      font-weight:650; font-size:14px; transition:.18s ease;
      border:1px solid transparent;
    }
    .btn.primary{
      background:linear-gradient(180deg, var(--brand), var(--brand-2));
      color:white; box-shadow:0 16px 34px rgba(79,70,229,.32);
    }
    .btn.primary:hover{ transform:translateY(-1px); }
    .btn.secondary{
      background:rgba(15,23,42,.72); border-color:rgba(148,163,184,.18);
      color:#e5eefb;
    }
    .btn.secondary:hover{ background:rgba(30,41,59,.95); }
    .btn.ghost{
      background:rgba(56,189,248,.06); border-color:rgba(56,189,248,.22);
      color:#d7f3ff;
    }

    .list-inline{
      display:grid; gap:10px; margin-top:8px;
      font-size:13px; color:var(--muted);
    }
    .alert{
      margin-top:18px;
      padding:14px 16px;
      border-radius:18px;
      background:rgba(251,113,133,.08);
      border:1px solid rgba(251,113,133,.22);
      color:#ffe3ea;
      font-size:14px;
    }

    .hero-card{
      padding:22px;
      border-radius:26px;
    }
    .hero-card .kicker{
      font-size:11px; letter-spacing:.12em; text-transform:uppercase;
      color:#95a8c3; margin-bottom:12px;
    }
    .stack{ display:grid; gap:14px; }
    .mini-card{
      padding:16px;
      border-radius:18px;
      background:rgba(2,6,23,.28);
      border:1px solid rgba(148,163,184,.12);
    }
    .mini-card strong{ display:block; margin-bottom:6px; font-size:14px; }
    .mini-card p{ margin:0; color:var(--muted); font-size:13px; }

    .grid-2{ display:grid; grid-template-columns:1fr 1fr; gap:20px; }
    .grid-3{ display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
    .grid-4{ display:grid; grid-template-columns:repeat(4,1fr); gap:18px; }

    .section h2{
      margin:0 0 10px;
      font-size:clamp(28px, 3vw, 40px);
      letter-spacing:-.03em;
      line-height:1.08;
    }
    .section-head{
      margin-bottom:26px;
      max-width:780px;
    }
    .card{
      border-radius:24px;
      padding:22px;
    }
    .card h3{ margin:0 0 10px; font-size:19px; }
    .card p{ margin:0; color:var(--muted); }
    .tag{
      display:inline-block; margin-bottom:12px;
      padding:6px 10px; border-radius:999px;
      font-size:11px; font-weight:700; letter-spacing:.08em; text-transform:uppercase;
      background:rgba(79,70,229,.10); color:#cfcfff; border:1px solid rgba(79,70,229,.28);
    }

    .step{
      display:flex; gap:14px; align-items:flex-start;
      padding:16px 0;
      border-bottom:1px solid rgba(148,163,184,.10);
    }
    .step:last-child{ border-bottom:none; }
    .num{
      width:30px; height:30px; border-radius:50%;
      display:grid; place-items:center;
      background:linear-gradient(180deg, var(--brand), var(--brand-2));
      color:#fff; font-weight:700; font-size:13px; flex:0 0 30px;
      box-shadow:0 10px 24px rgba(79,70,229,.28);
    }
    .step strong{ display:block; margin:0 0 4px; font-size:15px; }
    .step p{ margin:0; color:var(--muted); font-size:14px; }

    .tabs{
      display:flex; flex-wrap:wrap; gap:10px;
      margin:20px 0 18px;
    }
    .tab-btn{
      padding:11px 14px;
      border-radius:14px;
      border:1px solid rgba(148,163,184,.14);
      background:rgba(15,23,42,.65);
      color:#d6e2f4;
      font-weight:650;
      cursor:pointer;
    }
    .tab-btn.active{
      background:linear-gradient(180deg, var(--brand), var(--brand-2));
      border-color:transparent;
      color:#fff;
      box-shadow:0 14px 28px rgba(79,70,229,.28);
    }
    .tab-panel{ display:none; }
    .tab-panel.active{ display:block; }

    .form-grid{
      display:grid; grid-template-columns:1fr 1fr; gap:14px;
    }
    .field{
      display:grid; gap:7px; margin-bottom:14px;
    }
    .field label{
      font-size:13px; color:#d6e2f4; font-weight:600;
    }
    .field input, .field select{
      width:100%;
      border:none;
      outline:none;
      color:#eff6ff;
      background:rgba(2,6,23,.56);
      border:1px solid rgba(148,163,184,.16);
      border-radius:14px;
      padding:13px 14px;
      font-size:14px;
    }
    .field input::placeholder{ color:#7085a0; }
    .check{
      display:flex; gap:10px; align-items:flex-start;
      font-size:13px; color:var(--muted); margin-bottom:16px;
    }
    .check input{ margin-top:3px; }
    .form-actions{ display:flex; flex-wrap:wrap; gap:10px; }

    .highlight{
      padding:16px 18px;
      border-radius:18px;
      border:1px solid rgba(245,158,11,.22);
      background:rgba(245,158,11,.08);
      color:#fff1ce;
      font-size:14px;
    }

    .download{
      display:flex; gap:14px; flex-wrap:wrap;
      margin-top:18px;
    }



    .pricing-showcase{
      position:relative;
      overflow:hidden;
      margin-bottom:18px;
      padding:24px;
      border-radius:28px;
      background:
        radial-gradient(circle at top left, rgba(79,70,229,.16), transparent 30%),
        radial-gradient(circle at bottom right, rgba(56,189,248,.10), transparent 24%),
        linear-gradient(180deg, rgba(15,23,42,.95), rgba(15,23,42,.82));
      border:1px solid rgba(148,163,184,.14);
      box-shadow:var(--shadow);
    }
    .pricing-showcase-head{
      display:flex;
      align-items:flex-end;
      justify-content:space-between;
      gap:18px;
      margin-bottom:18px;
    }
    .pricing-kicker{
      display:inline-block;
      margin-bottom:8px;
      padding:6px 10px;
      border-radius:999px;
      font-size:11px;
      font-weight:700;
      letter-spacing:.08em;
      text-transform:uppercase;
      color:#dbe7ff;
      background:rgba(79,70,229,.12);
      border:1px solid rgba(79,70,229,.26);
    }
    .pricing-showcase h3{
      margin:0 0 8px;
      font-size:28px;
      letter-spacing:-.03em;
      line-height:1.05;
    }
    .pricing-showcase p{
      margin:0;
      max-width:760px;
      color:var(--muted);
      font-size:14px;
    }
    .pricing-head-btn{
      white-space:nowrap;
    }
    .pricing-inline{
      display:grid;
      grid-template-columns:repeat(4,1fr);
      gap:14px;
      margin-top:14px;
    }
    .price-chip{
      position:relative;
      overflow:hidden;
      min-height:170px;
      padding:20px 18px;
      border-radius:22px;
      background:
        linear-gradient(180deg, rgba(2,6,23,.46), rgba(2,6,23,.24));
      border:1px solid rgba(148,163,184,.14);
      transition:transform .18s ease, border-color .18s ease, box-shadow .18s ease;
    }
    .price-chip:hover{
      transform:translateY(-2px);
      border-color:rgba(148,163,184,.24);
      box-shadow:0 18px 34px rgba(2,6,23,.32);
    }
    .price-chip.trial{
      border-color:rgba(34,197,94,.30);
      background:
        radial-gradient(circle at top left, rgba(34,197,94,.10), transparent 35%),
        linear-gradient(180deg, rgba(2,6,23,.48), rgba(2,6,23,.26));
    }
    .price-chip.popular{
      border-color:rgba(79,70,229,.42);
      background:
        radial-gradient(circle at top left, rgba(79,70,229,.16), transparent 36%),
        linear-gradient(180deg, rgba(2,6,23,.50), rgba(2,6,23,.28));
      box-shadow:0 16px 34px rgba(79,70,229,.14);
    }
    .price-chip-glow{
      position:absolute;
      inset:-40% auto auto -20%;
      width:140px;
      height:140px;
      border-radius:50%;
      background:rgba(255,255,255,.05);
      filter:blur(18px);
      pointer-events:none;
    }
    .price-chip-badge{
      position:absolute;
      top:12px;
      right:12px;
      padding:5px 8px;
      border-radius:999px;
      font-size:10px;
      font-weight:700;
      color:#dbffe9;
      background:rgba(34,197,94,.12);
      border:1px solid rgba(34,197,94,.28);
    }
    .price-chip-name{
      position:relative;
      z-index:1;
      font-size:13px;
      color:#c5d3e7;
      margin-bottom:10px;
      font-weight:700;
      letter-spacing:.02em;
    }
    .price-chip-value{
      position:relative;
      z-index:1;
      font-size:34px;
      font-weight:800;
      letter-spacing:-.05em;
      line-height:1;
      margin-bottom:10px;
    }
    .price-chip-note{
      position:relative;
      z-index:1;
      font-size:13px;
      color:var(--muted);
      max-width:220px;
    }

    details{
      border-radius:18px;
      padding:16px 18px;
      background:var(--panel);
      border:1px solid rgba(148,163,184,.12);
      box-shadow:var(--shadow);
    }
    details + details{ margin-top:12px; }
    summary{
      cursor:pointer; font-weight:650; font-size:15px;
    }
    details p{
      margin:12px 0 0; color:var(--muted); font-size:14px;
    }

    footer{
      border-top:1px solid rgba(148,163,184,.10);
      padding:28px 0 42px;
      color:var(--muted);
    }
    .footer-grid{
      display:flex; gap:18px; justify-content:space-between; align-items:flex-start; flex-wrap:wrap;
      font-size:13px;
    }
    .footer-links{
      display:flex; gap:16px; flex-wrap:wrap;
    }
    .footer-links a:hover{ color:#fff; }

    @media (max-width: 980px){
      .hero-grid, .grid-2, .grid-3, .grid-4, .form-grid, .pricing-grid{
        grid-template-columns:1fr;
      }
      .hero-wrap{ padding:24px; }
      .nav{ align-items:flex-start; }
      .nav-links{ gap:12px; font-size:13px; }
      .pricing-showcase-head{ align-items:flex-start; flex-direction:column; }
      .pricing-head-btn{ width:auto; }
      .pricing-inline{ grid-template-columns:1fr 1fr; }
    }

    @media (max-width: 680px){
      .container{ width:min(var(--max), calc(100% - 20px)); }
      .section{ padding:52px 0; }
      .hero{ padding:22px 0 18px; }
      .brand-sub{ display:none; }
      .nav{ gap:10px; }
      .nav-links{ display:none; }
      .hero-wrap{ border-radius:24px; padding:20px; }
      .card, .hero-card{ padding:18px; }
      .pricing-showcase{ padding:18px; border-radius:24px; }
      .pricing-showcase h3{ font-size:24px; }
      .pricing-inline{ grid-template-columns:1fr; }
      .pricing-head-btn{ width:100%; }
      .btn{ width:100%; }
    }


/* Light theme overrides */
:root{
  --bg:#f6f8fc;
  --panel:rgba(255,255,255,.82);
  --panel-2:rgba(255,255,255,.92);
  --border:rgba(15,23,42,.08);
  --text:#0f172a;
  --muted:#5f6f86;
  --brand:#4f46e5;
  --brand-2:#4338ca;
  --green:#16a34a;
  --amber:#d97706;
  --cyan:#0284c7;
  --red:#e11d48;
  --shadow:0 20px 60px rgba(15,23,42,.08);
}
body{
  background:
    radial-gradient(circle at top, rgba(79,70,229,.10), transparent 30%),
    radial-gradient(circle at bottom, rgba(2,132,199,.08), transparent 18%),
    linear-gradient(180deg, #fbfcff 0%, #f4f7fb 55%, #eef3fa 100%);
  color:var(--text);
}
header{
  background:rgba(255,255,255,.78);
  border-bottom:1px solid rgba(15,23,42,.06);
}
.nav-links{ color:#4b5d75; }
.brand-sub{ color:var(--muted); }
.glass{
  background:var(--panel);
  border:1px solid var(--border);
  box-shadow:var(--shadow);
}
.hero-wrap{
  background:
    radial-gradient(circle at 10% 10%, rgba(79,70,229,.08), transparent 28%),
    radial-gradient(circle at 90% 18%, rgba(2,132,199,.08), transparent 18%),
    radial-gradient(circle at 1px 1px, rgba(100,116,139,.08) 1px, transparent 0),
    var(--panel-2);
  border:1px solid rgba(15,23,42,.06);
  box-shadow:var(--shadow);
}
.pill{
  background:rgba(22,163,74,.08);
  border-color:rgba(22,163,74,.22);
  color:#166534;
}
.hero p.lead{ color:#304256; }
.list-inline{ color:var(--muted); }
.alert{
  background:rgba(225,29,72,.06);
  border-color:rgba(225,29,72,.15);
  color:#9f1239;
}
.mini-card{
  background:rgba(248,250,252,.85);
  border:1px solid rgba(15,23,42,.06);
}
.mini-card p, .card p, .step p, details p, .pricing-showcase p, .price-chip-note{ color:var(--muted); }
.tag{
  background:rgba(79,70,229,.08);
  color:#4338ca;
  border-color:rgba(79,70,229,.16);
}
.field input, .field select{
  background:#fff;
  color:#0f172a;
  border:1px solid rgba(15,23,42,.10);
}
.field input::placeholder{ color:#8a99ad; }
.tab-btn{
  background:#fff;
  color:#334155;
  border-color:rgba(15,23,42,.10);
}
.highlight{
  background:rgba(217,119,6,.08);
  border-color:rgba(217,119,6,.18);
  color:#92400e;
}
details{
  background:rgba(255,255,255,.82);
  border-color:rgba(15,23,42,.08);
}
footer{
  border-top:1px solid rgba(15,23,42,.06);
  color:var(--muted);
}
.pricing-showcase{
  background:
    radial-gradient(circle at top left, rgba(79,70,229,.10), transparent 30%),
    radial-gradient(circle at bottom right, rgba(2,132,199,.08), transparent 24%),
    linear-gradient(180deg, rgba(255,255,255,.95), rgba(255,255,255,.90));
  border-color:rgba(15,23,42,.08);
}
.price-chip{
  background:linear-gradient(180deg, rgba(255,255,255,.95), rgba(248,250,252,.88));
  border-color:rgba(15,23,42,.08);
}
.price-chip.trial{
  border-color:rgba(22,163,74,.22);
  background:
    radial-gradient(circle at top left, rgba(22,163,74,.08), transparent 35%),
    linear-gradient(180deg, rgba(255,255,255,.96), rgba(248,250,252,.90));
}
.price-chip.popular{
  border-color:rgba(79,70,229,.24);
  background:
    radial-gradient(circle at top left, rgba(79,70,229,.10), transparent 36%),
    linear-gradient(180deg, rgba(255,255,255,.97), rgba(245,247,255,.92));
  box-shadow:0 16px 34px rgba(79,70,229,.08);
}
.price-chip-name{ color:#475569; }
.price-chip-badge{
  color:#166534;
  background:rgba(22,163,74,.10);
  border-color:rgba(22,163,74,.20);
}


.manage-shell{
  display:grid;
  gap:18px;
}
.tab-layout{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:18px;
  align-items:start;
}
.plan-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:12px;
  margin:8px 0 18px;
}
.plan-card{
  position:relative;
  padding:16px;
  border-radius:20px;
  border:1px solid rgba(15,23,42,.08);
  background:linear-gradient(180deg, rgba(255,255,255,.98), rgba(248,250,252,.92));
  cursor:pointer;
  transition:.18s ease;
}
.plan-card:hover{
  transform:translateY(-2px);
  box-shadow:0 16px 32px rgba(15,23,42,.08);
}
.plan-card.selected{
  border-color:rgba(79,70,229,.30);
  box-shadow:0 16px 34px rgba(79,70,229,.10);
  background:
    radial-gradient(circle at top left, rgba(79,70,229,.08), transparent 42%),
    linear-gradient(180deg, rgba(255,255,255,.99), rgba(245,247,255,.96));
}
.plan-card.popular::after{
  content:"Популярный";
  position:absolute;
  top:10px;
  right:10px;
  font-size:10px;
  font-weight:700;
  color:#166534;
  background:rgba(22,163,74,.10);
  border:1px solid rgba(22,163,74,.18);
  border-radius:999px;
  padding:5px 8px;
}
.plan-title{
  font-size:14px;
  font-weight:700;
  color:#334155;
  margin-bottom:8px;
}
.plan-price{
  font-size:28px;
  font-weight:800;
  letter-spacing:-.05em;
  line-height:1;
  margin-bottom:6px;
}
.plan-note{
  font-size:13px;
  color:var(--muted);
}
.flow-note{
  display:flex;
  align-items:center;
  gap:10px;
  font-size:13px;
  color:#475569;
  padding:10px 12px;
  border-radius:14px;
  background:rgba(79,70,229,.06);
  border:1px solid rgba(79,70,229,.10);
  margin-bottom:16px;
}
.side-promo{
  display:grid;
  gap:12px;
}
.promo-card{
  padding:18px;
  border-radius:22px;
  background:linear-gradient(180deg, rgba(255,255,255,.98), rgba(247,250,255,.92));
  border:1px solid rgba(15,23,42,.08);
}
.promo-card h4{
  margin:0 0 8px;
  font-size:16px;
}
.promo-card p{
  margin:0;
  font-size:14px;
  color:var(--muted);
}
.promo-list{
  margin:0;
  padding-left:18px;
  color:#334155;
  font-size:14px;
}
.promo-list li{ margin-bottom:8px; }
.action-label{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 10px;
  border-radius:999px;
  background:rgba(22,163,74,.08);
  border:1px solid rgba(22,163,74,.16);
  color:#166534;
  font-size:12px;
  font-weight:700;
  margin-bottom:12px;
}
.muted-box{
  padding:14px 16px;
  border-radius:18px;
  background:rgba(15,23,42,.03);
  border:1px solid rgba(15,23,42,.06);
}
@media (max-width: 980px){
  .tab-layout, .plan-grid{
    grid-template-columns:1fr;
  }
}



/* v7 fixes */
.tab-panel{
  background: transparent;
}
.tab-panel.active{
  background: transparent;
}
.tab-layout > div:first-child,
.tab-layout > div:last-child{
  min-width: 0;
}
.promo-card,
.muted-box,
.highlight,
.flow-note{
  background:#ffffff;
}
.promo-card{
  border:1px solid rgba(15,23,42,.08);
  box-shadow:0 10px 24px rgba(15,23,42,.04);
}
.muted-box{
  color:#475569;
}
.highlight{
  color:#92400e;
}
.tab-btn.active{
  box-shadow:0 14px 28px rgba(79,70,229,.18);
}
.glass.card{
  background:rgba(255,255,255,.88);
}
#manage .glass.card{
  background:rgba(255,255,255,.90);
}
#manage .field input,
#manage .field select{
  background:#fff;
}
#manage .side-promo{
  align-content:start;
}
.support-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 14px;
  border-radius:12px;
  background:rgba(79,70,229,.08);
  border:1px solid rgba(79,70,229,.14);
  color:#4338ca;
  font-weight:700;
  transition:.18s ease;
}
.support-link:hover{
  background:rgba(79,70,229,.14);
}
.btn.ghost{
  background:linear-gradient(180deg, #0ea5e9, #0284c7);
  border-color:transparent;
  color:#fff;
  box-shadow:0 16px 34px rgba(2,132,199,.24);
}
.btn.ghost:hover{
  transform:translateY(-1px);
  filter:brightness(1.02);
}
#download .muted.small{
  display:none;
}
#positioning .section-head p.muted{
  display:none;
}
#faq .section-head p.muted{
  display:none;
}


/* v8 manage section rebuild */
.manage-card{
  padding:22px;
  border-radius:28px;
}
.manage-card .tabs{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin:0 0 18px;
}
.manage-grid{
  display:grid;
  grid-template-columns:minmax(0,1.1fr) minmax(320px,.9fr);
  gap:18px;
  align-items:start;
}
.manage-main,
.manage-side{
  min-width:0;
}
.manage-side{
  display:grid;
  gap:14px;
}
.manage-title{
  margin:0 0 10px;
  font-size:20px;
  line-height:1.2;
}
.manage-text{
  margin:0 0 16px;
  color:var(--muted);
}
.step-badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 12px;
  margin:0 0 14px;
  border-radius:999px;
  background:rgba(22,163,74,.08);
  border:1px solid rgba(22,163,74,.16);
  color:#166534;
  font-size:13px;
  font-weight:700;
}
.info-card{
  padding:18px 20px;
  border-radius:22px;
  background:#fff;
  border:1px solid rgba(15,23,42,.08);
  box-shadow:0 10px 24px rgba(15,23,42,.04);
}
.info-card h4{
  margin:0 0 10px;
  font-size:16px;
}
.info-card p{
  margin:0;
  color:var(--muted);
}
.info-card.soft{
  background:rgba(255,255,255,.92);
}
.info-card.warm{
  background:rgba(217,119,6,.07);
  border-color:rgba(217,119,6,.14);
}
.info-card.warm p{
  color:#92400e;
}
.plan-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
  margin:8px 0 18px;
}
.plan-card{
  position:relative;
  padding:16px;
  border-radius:22px;
  border:1px solid rgba(15,23,42,.08);
  background:#fff;
  cursor:pointer;
  transition:.18s ease;
}
.plan-card:hover{
  transform:translateY(-2px);
  box-shadow:0 12px 26px rgba(15,23,42,.06);
}
.plan-card.selected{
  border-color:rgba(79,70,229,.24);
  box-shadow:0 14px 28px rgba(79,70,229,.10);
  background:linear-gradient(180deg, rgba(255,255,255,.98), rgba(245,247,255,.98));
}
.plan-card.popular::after{
  content:"Популярный";
  position:absolute;
  top:10px;
  right:10px;
  padding:5px 8px;
  border-radius:999px;
  font-size:10px;
  font-weight:700;
  color:#166534;
  background:rgba(22,163,74,.10);
  border:1px solid rgba(22,163,74,.18);
}
.plan-title{
  font-size:14px;
  font-weight:700;
  color:#334155;
  margin-bottom:8px;
}
.plan-price{
  font-size:28px;
  font-weight:800;
  letter-spacing:-.05em;
  line-height:1;
  margin-bottom:8px;
}
.plan-note{
  font-size:13px;
  color:var(--muted);
}
#manage .field input,
#manage .field select{
  background:#fff;
}
#manage .btn.secondary{
  background:#fff;
}
@media (max-width: 980px){
  .manage-grid{
    grid-template-columns:1fr;
  }
}
@media (max-width: 760px){
  .manage-card{
    padding:18px;
  }
  .plan-grid{
    grid-template-columns:1fr;
  }
}


/* v9 header fixes */
.nav-links a, .footer-links a{
  color:#475569;
  transition:color .18s ease, opacity .18s ease;
}
.nav-links a:hover, .footer-links a:hover{
  color:#0f172a;
  opacity:1;
}
.nav-links a:visited, .footer-links a:visited{
  color:#475569;
}
.nav-links a:visited:hover, .footer-links a:visited:hover{
  color:#0f172a;
}
