/* ============================================================
   ru-transit — visual system
   Light, clean, technical-corporate
   ============================================================ */

:root {
  /* palette */
  --bg:        #FFFFFF;
  --bg-soft:   #F4F6FA;
  --bg-soft-2: #EDF1F7;
  --ink-panel: #0A0E1A;   /* dark contrast panels */
  --ink-panel-2:#111729;

  --ink:    #0B1322;       /* primary text */
  --ink-2:  #2C3548;
  --muted:  #5C6678;       /* secondary text */
  --muted-2:#8893A4;
  --line:   #E2E8F1;
  --line-2: #D2DAE6;

  --accent:      #1452F0;  /* electric blue */
  --accent-press:#0E40C8;
  --accent-soft: #E8EFFF;
  --accent-ink:  #0A2A8A;
  --flow:        #00C2A8;  /* teal — traffic flow */
  --flow-soft:   #DBFBF4;
  --warn:        #F5A524;
  --success:     #119C53;
  --danger:      #E5484D;

  /* type */
  --font: "Golos Text", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* spacing / radius */
  --r-sm: 8px;
  --r:    14px;
  --r-lg: 22px;
  --r-xl: 30px;

  --shadow-sm: 0 1px 2px rgba(11,19,34,.06), 0 1px 3px rgba(11,19,34,.04);
  --shadow:    0 4px 16px rgba(11,19,34,.07), 0 1px 4px rgba(11,19,34,.05);
  --shadow-lg: 0 24px 60px rgba(11,19,34,.13), 0 8px 24px rgba(11,19,34,.08);
  --shadow-accent: 0 14px 34px rgba(20,82,240,.28);

  --container: 1200px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  font-size: 17px;
  line-height: 1.6;
  letter-spacing: -0.005em;
}

h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -0.02em; line-height: 1.08; }
p  { margin: 0; }
a  { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
img, svg { display: block; }

::selection { background: var(--accent); color: #fff; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 28px; }

.mono { font-family: var(--mono); font-feature-settings: "tnum" 1; }

/* eyebrow / kicker */
.kicker {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--mono);
  font-size: 12.5px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent);
}
.kicker .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--flow); box-shadow: 0 0 0 4px var(--flow-soft); }

/* section scaffolding */
.section { padding: 110px 0; }
.section-soft { background: var(--bg-soft); }
.section-head { max-width: 720px; }
.section-head h2 { font-size: clamp(30px, 4vw, 46px); margin-top: 16px; }
.section-head p { margin-top: 18px; color: var(--muted); font-size: 19px; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: 52px; padding: 0 26px;
  border-radius: 12px; border: 1px solid transparent;
  font-size: 16px; font-weight: 600; letter-spacing: -0.01em;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: var(--shadow-accent); }
.btn-primary:hover { background: var(--accent-press); box-shadow: 0 18px 40px rgba(20,82,240,.36); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line-2); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-on-dark { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.18); }
.btn-on-dark:hover { background: rgba(255,255,255,.16); }
.btn-block { width: 100%; }
.btn-lg { height: 58px; padding: 0 32px; font-size: 17px; }

/* arrow */
.btn svg { transition: transform .2s ease; }
.btn:hover svg { transform: translateX(3px); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.nav.scrolled { border-color: var(--line); box-shadow: 0 1px 0 rgba(11,19,34,.02); }
.nav-inner { display: flex; align-items: center; gap: 28px; height: 74px; }

.logo { display: inline-flex; align-items: baseline; gap: 1px; font-weight: 700; font-size: 21px; letter-spacing: -0.03em; }
.logo .ru { color: var(--muted-2); font-weight: 600; }
.logo .sep { color: var(--accent); font-weight: 700; margin: 0 1px; }
.logo .tr { color: var(--ink); }

.nav-links { display: flex; align-items: center; gap: 4px; margin-left: 14px; }
.nav-links a {
  padding: 9px 14px; border-radius: 9px;
  font-size: 15px; font-weight: 500; color: var(--muted);
  transition: color .15s ease, background .15s ease;
}
.nav-links a:hover { color: var(--ink); background: var(--bg-soft); }

.nav-right { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.net-pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 12.5px; font-weight: 500; color: var(--muted);
  padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; background: #fff;
}
.net-pill .live { width: 8px; height: 8px; border-radius: 50%; background: var(--success); position: relative; }
.net-pill .live::after { content:""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid var(--success); opacity: .5; animation: ping 2s ease-out infinite; }
@keyframes ping { 0%{ transform: scale(.6); opacity:.6 } 80%,100%{ transform: scale(1.6); opacity:0 } }

.nav-burger { display: none; }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; overflow: hidden; background: var(--bg); }
.hero-grid-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(120% 90% at 78% 0%, #000 0%, transparent 65%);
  opacity: .55;
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; padding: 84px 0 96px; }
.hero h1 { font-size: clamp(38px, 5.4vw, 66px); letter-spacing: -0.035em; }
.hero h1 .em { color: var(--accent); }
.hero .lede { margin-top: 24px; font-size: 20px; line-height: 1.55; color: var(--muted); max-width: 540px; }
.hero-cta { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.hero-tags { display: flex; gap: 8px; margin-top: 28px; flex-wrap: wrap; }
.tag {
  font-family: var(--mono); font-size: 12.5px; font-weight: 500; color: var(--muted);
  padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg-soft);
}
.tag b { color: var(--ink); font-weight: 600; }

/* hero visual panel */
.scope {
  position: relative; border-radius: var(--r-lg);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  padding: 22px; color: var(--ink); overflow: hidden;
}
.scope-head { position: relative; display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.scope-title { display:flex; align-items:center; gap: 9px; font-family: var(--mono); font-size: 13px; color: var(--muted); letter-spacing: .04em; }
.scope-title .d { width: 8px; height: 8px; border-radius: 50%; background: var(--flow); box-shadow: 0 0 0 4px var(--flow-soft); }
.scope-read { font-family: var(--mono); font-size: 13px; color: var(--ink); font-weight: 500; }
.scope-read b { color: #009E89; }
.scope-chart { position: relative; height: 168px; border-radius: var(--r); overflow: hidden; background: rgba(255,255,255,.02); border: 1px solid rgba(255,255,255,.06); }
.emblem {
  position: relative; height: 240px; border-radius: var(--r); overflow: hidden;
  background:
    radial-gradient(60% 80% at 50% 50%, var(--accent-soft), transparent 72%),
    linear-gradient(180deg, #fbfcfe, var(--bg-soft));
  border: 1px solid var(--line);
  background-image:
    radial-gradient(60% 80% at 50% 50%, var(--accent-soft), transparent 72%),
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: auto, 28px 28px, 28px 28px;
  display: grid; place-items: center;
}
.emblem svg { width: 100%; height: 100%; }
.globe-only {
  display: grid; place-items: center;
  background: radial-gradient(50% 55% at 50% 48%, var(--accent-soft) 0%, transparent 70%);
}
.globe-only .globe-canvas { width: 100%; height: 440px; display: block; }
@media (max-width: 980px) { .globe-only .globe-canvas { height: 360px; } }
.flowviz {
  display: grid; place-items: center; padding: 6px;
  background: radial-gradient(58% 60% at 50% 46%, var(--accent-soft) 0%, transparent 72%);
}
.flowviz svg { width: 100%; height: auto; max-width: 540px; overflow: visible; }
.flv-cap { font-family: var(--mono); font-size: 11px; letter-spacing: .04em; text-transform: uppercase; fill: var(--muted-2); }
.scope-stats { position: relative; display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-top: 16px; }
.scope-stat { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 12px 13px; }
.scope-stat .k { font-family: var(--mono); font-size: 11px; color: var(--muted-2); letter-spacing: .04em; text-transform: uppercase; }
.scope-stat .v { font-size: 21px; font-weight: 700; margin-top: 4px; letter-spacing: -0.02em; color: var(--ink); }
.scope-stat .v small { font-size: 13px; font-weight: 500; color: var(--muted); }

/* hero strip stats */
.hero-strip { border-top: 1px solid var(--line); }
.hero-strip-inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.hstat { padding: 30px 28px; border-right: 1px solid var(--line); }
.hstat:last-child { border-right: none; }
.hstat .v { font-size: 34px; font-weight: 700; letter-spacing: -0.03em; }
.hstat .v .u { font-size: 16px; color: var(--muted); font-weight: 600; }
.hstat .l { margin-top: 4px; color: var(--muted); font-size: 14.5px; }

/* ============================================================
   SERVICES
   ============================================================ */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 56px; }
.svc {
  position: relative; background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 32px; overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.svc:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.svc-ic {
  width: 54px; height: 54px; border-radius: 14px;
  display: grid; place-items: center; margin-bottom: 22px;
  background: var(--accent-soft); color: var(--accent);
}
.svc.flow .svc-ic { background: var(--flow-soft); color: #009E89; }
.svc h3 { font-size: 23px; }
.svc .svc-sub { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 10px; }
.svc p { margin-top: 12px; color: var(--muted); font-size: 16px; }
.svc-feats { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 11px; }
.svc-feats li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--ink); }
.svc-feats li svg { flex: none; margin-top: 3px; color: var(--accent); }
.svc.flow .svc-feats li svg { color: #009E89; }
.svc-num { position: absolute; top: 26px; right: 30px; font-family: var(--mono); font-size: 13px; color: var(--line-2); }

/* ============================================================
   AS / PEERING
   ============================================================ */
.as-wrap { display: grid; grid-template-columns: .95fr 1.05fr; gap: 60px; align-items: center; }
.as-card {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink); border-radius: var(--r-xl); padding: 40px; box-shadow: var(--shadow-lg);
  position: relative; overflow: hidden;
}
.as-card::after { content:""; position:absolute; inset:0; background: radial-gradient(70% 60% at 85% 8%, var(--accent-soft), transparent 60%); pointer-events:none; opacity: .7; }
.as-asn { position: relative; font-family: var(--mono); font-size: clamp(34px, 5vw, 52px); font-weight: 700; letter-spacing: .02em; color: var(--ink); }
.as-asn .ph { color: var(--accent); }
.as-note { position: relative; margin-top: 8px; font-size: 14px; color: var(--muted-2); font-family: var(--mono); }
.as-rows { position: relative; margin-top: 30px; display: grid; gap: 1px; background: var(--line); border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); }
.as-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 15px 18px; background: #fff; }
.as-row .k { color: var(--muted); font-size: 14px; }
.as-row .v { font-family: var(--mono); font-size: 14px; color: var(--ink); text-align: right; }
.as-row .v .pos { color: #009E89; }

.as-feats { display: grid; gap: 22px; }
.as-feat { display: flex; gap: 16px; }
.as-feat .ai { flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; }
.as-feat h4 { font-size: 18px; }
.as-feat p { margin-top: 5px; color: var(--muted); font-size: 15.5px; }

/* topology */
.topo { margin-top: 60px; border: 1px solid var(--line); border-radius: var(--r-xl); background: var(--bg); overflow: hidden; box-shadow: var(--shadow-sm); }
.topo-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 26px; border-bottom: 1px solid var(--line); flex-wrap: wrap; gap: 12px; }
.topo-head .t { font-weight: 600; font-size: 16px; }
.topo-legend { display: flex; gap: 18px; flex-wrap: wrap; }
.topo-legend span { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: var(--muted); font-family: var(--mono); }
.topo-legend i { width: 12px; height: 3px; border-radius: 2px; }
.topo-canvas { position: relative; height: 380px; background:
  radial-gradient(100% 100% at 50% 0%, #fbfcfe, #f4f6fa); }

.node-label { position: absolute; transform: translate(-50%,-50%); text-align: center; }
.node-dot { width: 14px; height: 14px; border-radius: 50%; margin: 0 auto 7px; background: var(--accent); box-shadow: 0 0 0 5px var(--accent-soft); position: relative; }
.node-dot.hub { width: 20px; height: 20px; background: var(--flow); box-shadow: 0 0 0 6px var(--flow-soft), 0 0 22px rgba(0,194,168,.5); }
.node-name { font-family: var(--mono); font-size: 12.5px; font-weight: 600; color: var(--ink); }
.node-meta { font-family: var(--mono); font-size: 11px; color: var(--muted-2); }

/* ============================================================
   ADVANTAGES
   ============================================================ */
.adv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 56px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.adv { background: #fff; padding: 32px; transition: background .2s ease; }
.adv:hover { background: var(--bg-soft); }
.adv-ic { color: var(--accent); margin-bottom: 18px; }
.adv h4 { font-size: 19px; }
.adv p { margin-top: 9px; color: var(--muted); font-size: 15.5px; }
.adv.feature { background: var(--ink-panel); color: #fff; }
.adv.feature:hover { background: var(--ink-panel); }
.adv.feature .adv-ic { color: var(--flow); }
.adv.feature p { color: rgba(255,255,255,.66); }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-wrap { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.contact-side h2 { font-size: clamp(30px, 4vw, 46px); margin-top: 16px; }
.contact-side > p { margin-top: 18px; color: var(--muted); font-size: 19px; }
.contact-direct { margin-top: 36px; display: grid; gap: 14px; }
.cd-item { display: flex; align-items: center; gap: 15px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; transition: border-color .2s ease, box-shadow .2s ease; }
.cd-item:hover { border-color: var(--line-2); box-shadow: var(--shadow-sm); }
.cd-item .ci { width: 42px; height: 42px; flex: none; border-radius: 11px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; }
.cd-item .ck { font-size: 13px; color: var(--muted); }
.cd-item .cv { font-weight: 600; font-size: 16px; }

/* form card */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); padding: 34px; box-shadow: var(--shadow); }
.form-row { display: grid; gap: 7px; margin-bottom: 18px; }
.form-row.two { grid-template-columns: 1fr 1fr; gap: 16px; }
.form-row.two > .form-row { margin-bottom: 0; }
.lbl { font-size: 14px; font-weight: 500; color: var(--ink); }
.lbl .req { color: var(--accent); }
.inp, .ta, .sel {
  width: 100%; font-family: inherit; font-size: 16px; color: var(--ink);
  background: var(--bg-soft); border: 1.5px solid transparent; border-radius: 11px;
  padding: 13px 15px; transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}
.ta { resize: vertical; min-height: 110px; }
.inp::placeholder, .ta::placeholder { color: var(--muted-2); }
.inp:focus, .ta:focus, .sel:focus { outline: none; background: #fff; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.inp.err, .ta.err, .sel.err { border-color: var(--danger); background: #fff; box-shadow: 0 0 0 4px rgba(229,72,77,.1); }
.err-msg { font-size: 13px; color: var(--danger); }

/* segmented service picker */
.seg { display: grid; grid-template-columns: repeat(2,1fr); gap: 8px; }
.seg-opt { display: flex; align-items: center; gap: 9px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 11px; background: #fff; font-size: 14.5px; font-weight: 500; color: var(--muted); transition: all .15s ease; text-align: left; }
.seg-opt .ck { width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--line-2); flex: none; transition: all .15s ease; }
.seg-opt:hover { border-color: var(--line-2); color: var(--ink); }
.seg-opt.on { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-ink); }
.seg-opt.on .ck { border-color: var(--accent); background: var(--accent); box-shadow: inset 0 0 0 3px #fff; }

.form-foot { display: flex; align-items: center; gap: 16px; margin-top: 8px; }
.form-note { font-size: 13px; color: var(--muted-2); }
.form-note a { color: var(--accent); }

/* success state */
.form-success { text-align: center; padding: 36px 18px; }
.fs-check { width: 76px; height: 76px; border-radius: 50%; background: var(--flow-soft); color: var(--success); display: grid; place-items: center; margin: 0 auto 22px; animation: pop .4s cubic-bezier(.2,1.4,.4,1) both; }
@keyframes pop { from { transform: scale(.4); opacity: 0 } to { transform: scale(1); opacity: 1 } }
.form-success h3 { font-size: 26px; }
.form-success p { margin-top: 12px; color: var(--muted); }
.form-success .ticket { display: inline-block; margin-top: 20px; font-family: var(--mono); font-size: 14px; padding: 9px 16px; border: 1px dashed var(--line-2); border-radius: 10px; background: var(--bg-soft); }

.spinner { width: 18px; height: 18px; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg) } }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--ink-panel); color: #fff; padding: 70px 0 36px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer .logo .ru { color: rgba(255,255,255,.5); }
.footer .logo .tr { color: #fff; }
.footer-about { margin-top: 18px; color: rgba(255,255,255,.6); font-size: 15px; max-width: 360px; }
.footer-col h5 { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.45); margin-bottom: 18px; font-weight: 600; }
.footer-col a, .footer-col .li { display: block; color: rgba(255,255,255,.72); font-size: 15px; padding: 6px 0; transition: color .15s ease; }
.footer-col a:hover { color: #fff; }
.footer-legal { padding-top: 28px; display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.req { color: rgba(255,255,255,.5); font-size: 13.5px; line-height: 1.8; font-family: var(--mono); }
.req b { color: rgba(255,255,255,.8); font-weight: 500; }
.footer-copy { color: rgba(255,255,255,.4); font-size: 13.5px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; padding: 56px 0 64px; }
  .as-wrap, .contact-wrap { grid-template-columns: 1fr; gap: 40px; }
  .svc-grid { grid-template-columns: 1fr; }
  .adv-grid { grid-template-columns: 1fr 1fr; }
  .hero-strip-inner { grid-template-columns: 1fr 1fr; }
  .hstat:nth-child(2) { border-right: none; }
  .hstat:nth-child(1), .hstat:nth-child(2) { border-bottom: 1px solid var(--line); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
}
@media (max-width: 620px) {
  .container { padding: 0 18px; }
  .section { padding: 72px 0; }
  .adv-grid { grid-template-columns: 1fr; }
  .form-row.two { grid-template-columns: 1fr; }
  .seg { grid-template-columns: 1fr; }
  .hero-strip-inner { grid-template-columns: 1fr 1fr; }
  .net-pill { display: none; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .scope-stats { grid-template-columns: 1fr; }
}

/* ============================================================
   PRICING / LOOKING GLASS / FAQ
   ============================================================ */
.tabs { display: inline-flex; gap: 6px; padding: 6px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 14px; margin-top: 48px; }
.tab { display: inline-flex; align-items: center; gap: 9px; padding: 11px 20px; border: none; background: transparent; border-radius: 10px; font-size: 15px; font-weight: 600; color: var(--muted); transition: all .18s ease; }
.tab svg { color: var(--muted-2); transition: color .18s ease; }
.tab:hover { color: var(--ink); }
.tab.on { background: #fff; color: var(--accent); box-shadow: var(--shadow-sm); }
.tab.on svg { color: var(--accent); }

.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 30px; }
.plan { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px; display: flex; flex-direction: column; transition: transform .25s ease, box-shadow .25s ease; animation: planIn .46s cubic-bezier(.2,.7,.3,1) both; }
@keyframes planIn { from { opacity: 0; transform: translateY(16px) scale(.985); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .plan { animation: none; } }
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.plan.featured { border-color: var(--accent); box-shadow: 0 18px 44px rgba(20,82,240,.14); }
.plan-badge { position: absolute; top: -11px; left: 30px; background: var(--accent); color: #fff; font-size: 12px; font-weight: 600; padding: 4px 12px; border-radius: 999px; letter-spacing: .01em; }
.plan-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.plan-head h3 { font-size: 24px; }
.plan-tag { font-family: var(--mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted-2); text-align: right; }
.plan-price { margin-top: 16px; padding-bottom: 20px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 15px; }
.plan-price b { color: var(--ink); font-weight: 700; }
.plan-feats { list-style: none; padding: 0; margin: 22px 0 26px; display: grid; gap: 12px; flex: 1; }
.plan-feats li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.plan-feats li svg { flex: none; margin-top: 3px; color: var(--accent); }

.lg-card { margin-top: 48px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); padding: 26px; box-shadow: var(--shadow); }
.lg-controls { display: flex; gap: 14px; align-items: flex-end; flex-wrap: wrap; }
.lg-field { display: grid; gap: 7px; }
.lg-field.grow { flex: 1; min-width: 180px; }
.lg-field > span { font-size: 13px; font-weight: 500; color: var(--ink); }
.lg-field .sel, .lg-field .inp { min-width: 170px; }
.lg-run { height: 49px; }
.lg-console { margin-top: 22px; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--bg-soft); }
.lg-bar { display: flex; align-items: center; gap: 8px; padding: 11px 16px; border-bottom: 1px solid var(--line); background: #fff; }
.lg-bar span { width: 11px; height: 11px; border-radius: 50%; }
.lg-bar .dotr { background: #E5707A; } .lg-bar .doty { background: #E7C26B; } .lg-bar .dotg { background: #5FC08A; }
.lg-bar em { margin-left: 8px; font-family: var(--mono); font-style: normal; font-size: 12.5px; color: var(--muted); }
.lg-out { margin: 0; padding: 20px; font-family: var(--mono); font-size: 13.5px; line-height: 1.75; color: var(--ink); white-space: pre-wrap; min-height: 188px; }
.lg-line { animation: lgIn .2s ease both; }
@keyframes lgIn { from { opacity: 0; transform: translateY(3px); } to { opacity: 1; transform: none; } }
.lg-cursor { color: var(--accent); animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.faq { margin-top: 44px; max-width: 860px; display: grid; gap: 12px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--r); background: #fff; overflow: hidden; transition: border-color .2s ease, box-shadow .2s ease; }
.faq-item.open { border-color: var(--line-2); box-shadow: var(--shadow-sm); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; background: none; border: none; text-align: left; font-size: 17px; font-weight: 600; color: var(--ink); }
.faq-ic { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-soft); color: var(--muted); transition: transform .25s ease, background .2s ease, color .2s ease; }
.faq-ic svg { transform: rotate(90deg); }
.faq-item.open .faq-ic { background: var(--accent-soft); color: var(--accent); transform: rotate(180deg); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease; }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a-in { overflow: hidden; min-height: 0; }
.faq-a p { margin: 0; padding: 2px 24px 22px; color: var(--muted); font-size: 15.5px; line-height: 1.65; }

@media (max-width: 980px) {
  .plan-grid { grid-template-columns: 1fr; }
  .tabs { width: 100%; justify-content: space-between; }
  .tab { flex: 1; justify-content: center; padding: 11px 8px; }
}
