/* =========================================================
   GeoPipeline360 — маркетинговый сайт
   Тёмная инженерная тема: тот же синий/янтарный акцент,
   что и в иконке самого приложения.
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root{
  /* поверхности */
  --bg:            #090b10;
  --bg-soft:       #0d1016;
  --surface:       #141822;
  --surface-2:     #1a2029;
  --surface-hover: #1f2733;
  --border:        #232a37;
  --border-soft:   #1a202b;

  /* текст */
  --text:        #eef1f6;
  --text-muted:  #a3aec1;
  --text-faint:  #6c7688;

  /* акценты — синий и янтарный из иконки приложения */
  --primary:      #2f7bd6;
  --primary-2:    #4a9eff;
  --primary-dark: #173f6e;
  --primary-tint: rgba(74,158,255,.12);
  --accent:       #f2a93c;
  --accent-2:     #ffc266;
  --accent-tint:  rgba(242,169,60,.14);
  --ok:           #3ecf8e;

  /* геометрия */
  --radius-sm: 8px;
  --radius:    14px;
  --radius-lg: 22px;
  --container: 1180px;
  --shadow:    0 24px 60px -24px rgba(0,0,0,.65);
  --shadow-sm: 0 10px 24px -14px rgba(0,0,0,.5);

  --font-sans: 'Inter', -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

/* ---------- reset ---------- */
*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *, *::before, *::after{ animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}
body{
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg{ display:block; max-width:100%; }
a{ color: inherit; text-decoration: none; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4,p{ margin:0; }
button{ font: inherit; color: inherit; }
:focus-visible{ outline: 2px solid var(--primary-2); outline-offset: 3px; border-radius: 4px; }

/* subtle background texture: faint contour/graph pattern */
body{
  background-image:
    radial-gradient(circle at 12% -10%, rgba(47,123,214,.16), transparent 42%),
    radial-gradient(circle at 88% 0%, rgba(242,169,60,.08), transparent 38%),
    linear-gradient(var(--bg), var(--bg));
  background-attachment: fixed;
}

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

section{ position: relative; }
.section{ padding: 96px 0; }
.section--tight{ padding: 64px 0; }
@media (max-width: 720px){
  .section{ padding: 64px 0; }
  .section--tight{ padding: 44px 0; }
}

.section-head{
  max-width: 680px;
  margin-bottom: 48px;
}
.section-head.center{ margin-inline:auto; text-align:center; }
.eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--primary-2);
  font-weight: 600;
  margin-bottom: 14px;
}
.eyebrow::before{
  content:"";
  width:16px; height:1.5px;
  background: var(--primary-2);
}
.section-head h2{
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height:1.18;
}
.section-head p{
  margin-top: 14px;
  color: var(--text-muted);
  font-size: 17px;
  line-height: 1.65;
}

/* ---------- buttons ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding: 13px 24px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease, border-color .15s ease, box-shadow .15s ease;
  white-space: nowrap;
}
.btn:active{ transform: translateY(1px); }
.btn-primary{
  background: linear-gradient(180deg, var(--primary-2), var(--primary));
  color: #08111f;
  box-shadow: 0 12px 28px -12px rgba(47,123,214,.55);
}
.btn-primary:hover{ box-shadow: 0 16px 34px -12px rgba(47,123,214,.7); filter: brightness(1.04); }
.btn-accent{
  background: linear-gradient(180deg, var(--accent-2), var(--accent));
  color: #241304;
  box-shadow: 0 12px 28px -12px rgba(242,169,60,.5);
}
.btn-accent:hover{ filter: brightness(1.05); }
.btn-ghost{
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}
.btn-ghost:hover{ border-color: var(--primary-2); color: var(--primary-2); }
.btn-sm{ padding: 9px 16px; font-size: 13.5px; }
.btn-block{ width:100%; }

/* ---------- header ---------- */
.site-header{
  position: sticky; top:0; z-index: 100;
  background: rgba(9,11,16,.78);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--border-soft);
}
.site-header .container{
  display:flex; align-items:center; justify-content:space-between;
  height: 76px;
}
.brand{ display:flex; align-items:center; gap:11px; font-weight:800; font-size:18px; letter-spacing:-.01em; }
.brand img{ width:34px; height:34px; }
.brand .brand-sub{
  display:block; font-family: var(--font-mono); font-weight:500; font-size:10.5px;
  letter-spacing:.08em; color: var(--text-faint); margin-top:1px;
}

.nav-desktop{ display:flex; align-items:center; gap:34px; }
.nav-desktop a{
  font-size: 14.5px; font-weight: 500; color: var(--text-muted);
  transition: color .15s ease;
  position: relative;
}
.nav-desktop a:hover{ color: var(--text); }
.header-actions{ display:flex; align-items:center; gap:14px; }

.nav-toggle{
  display:none;
  width:40px; height:40px; border-radius:8px;
  border:1px solid var(--border); background: var(--surface);
  align-items:center; justify-content:center;
  cursor:pointer;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after{
  content:""; display:block; width:18px; height:2px; background: var(--text); position:relative;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle span::before{ position:absolute; top:-6px; }
.nav-toggle span::after{ position:absolute; top:6px; }
.nav-toggle[aria-expanded="true"] span{ background: transparent; }
.nav-toggle[aria-expanded="true"] span::before{ top:0; transform: rotate(45deg); background: var(--text); }
.nav-toggle[aria-expanded="true"] span::after{ top:0; transform: rotate(-45deg); background: var(--text); }

.nav-mobile{
  display:none;
  border-bottom: 1px solid var(--border-soft);
  background: var(--bg-soft);
}
.nav-mobile.open{ display:block; }
.nav-mobile .container{ display:flex; flex-direction:column; padding-block:8px; }
.nav-mobile a{
  padding: 14px 0; border-bottom: 1px solid var(--border-soft);
  font-size:15.5px; font-weight:500; color: var(--text-muted);
}
.nav-mobile a:last-child{ border-bottom:none; }
.nav-mobile .btn{ margin: 16px 0 8px; }

@media (max-width: 1100px){
  .nav-desktop{ display:none; }
  .nav-toggle{ display:flex; }
  .header-actions .btn-primary{ display:none; }
}

/* ---------- hero ---------- */
.hero{ padding: 76px 0 40px; }
.hero .container{
  display:grid; grid-template-columns: .9fr 1.2fr; gap: 40px; align-items:center;
}
.hero-badge{
  display:inline-flex; align-items:center; gap:8px;
  padding: 7px 13px 7px 9px;
  border:1px solid var(--border); border-radius:999px;
  background: var(--surface);
  font-size:13px; color: var(--text-muted); margin-bottom:22px;
}
.hero-badge .dot{ width:7px; height:7px; border-radius:50%; background: var(--accent); box-shadow: 0 0 0 3px var(--accent-tint); }
.hero h1{
  font-size: clamp(34px, 4.6vw, 54px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -.025em;
}
.hero h1 .hl{
  background: linear-gradient(95deg, var(--primary-2), var(--accent-2));
  -webkit-background-clip: text; background-clip:text; color:transparent;
}
.hero-sub{
  margin-top: 22px; font-size: 18px; line-height:1.65; color: var(--text-muted); max-width: 560px;
}
.hero-cta{ display:flex; flex-wrap:wrap; gap:14px; margin-top: 34px; }
.hero-meta{
  margin-top: 34px; display:flex; flex-wrap:wrap; gap: 10px 28px;
  font-family: var(--font-mono); font-size: 12.5px; color: var(--text-faint);
}
.hero-meta span{ display:inline-flex; align-items:center; gap:7px; }
.hero-meta span::before{ content:"›"; color: var(--primary-2); }

/* hero visual: schematic pipeline card */
.hero-visual{
  position:relative;
  border:1px solid var(--border);
  border-radius: var(--radius-lg);
  background: linear-gradient(165deg, var(--surface), var(--bg-soft));
  padding: 26px;
  box-shadow: var(--shadow);
}
.hero-visual--rich{ padding: 20px; }
.hero-visual::before{
  content:"";
  position:absolute; inset:0; border-radius:inherit; padding:1px;
  background: linear-gradient(160deg, rgba(74,158,255,.35), transparent 40%, rgba(242,169,60,.2));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events:none;
}
.hero-visual svg{ width:100%; height:auto; }
.flow-chip{ cursor: default; }
.flow-chip rect{ transition: stroke .15s ease, fill .15s ease; }
.flow-chip:hover rect{ stroke: var(--primary-2); fill: var(--surface-2); }
.flow-chip:hover text{ fill: var(--text); }
.flow-diagram{ cursor: pointer; }
.hero-visual-caption{
  display:flex; justify-content:space-between; align-items:center;
  margin-top:16px; padding-top:16px; border-top:1px solid var(--border-soft);
  font-family: var(--font-mono); font-size:12px; color: var(--text-faint);
}
.hero-visual-caption b{ color: var(--text-muted); font-weight:500; }

/* ---------- flow diagram lightbox (клик по схеме → увеличенная копия по центру) ---------- */
.flow-lightbox{
  position: fixed; inset: 0; z-index: 300;
  display:flex; align-items:center; justify-content:center;
  padding: 48px;
  background: rgba(5,7,11,.86);
  backdrop-filter: blur(3px);
  opacity: 0; visibility: hidden;
  transition: opacity .25s ease, visibility 0s linear .25s;
  cursor: pointer;
}
.flow-lightbox.is-open{
  opacity: 1; visibility: visible;
  transition: opacity .25s ease;
}
.flow-lightbox-inner{
  width: 100%; max-width: min(1080px, 94vw); max-height: 88vh;
  transform: scale(.94); transition: transform .25s ease;
  cursor: default;
}
.flow-lightbox.is-open .flow-lightbox-inner{ transform: scale(1); }
.flow-lightbox-inner svg{ width:100%; height:auto; max-height:88vh; }
.flow-lightbox-hint{
  position:absolute; left:50%; bottom:22px; transform: translateX(-50%);
  font-family: var(--font-mono); font-size:12px; color: var(--text-faint);
  letter-spacing:.03em; white-space:nowrap;
}

@media (max-width: 980px){
  .hero .container{ grid-template-columns: 1fr; }
  /* На мобильном сначала текст (заголовок и оффер), схема — ниже:
     так до сути доходят с первого экрана, не упираясь в диаграмму. */
}

/* ---------- format pills / badges ---------- */
.pill{
  display:inline-flex; align-items:center;
  font-family: var(--font-mono); font-size: 11.5px; font-weight:600;
  letter-spacing:.02em;
  padding: 4px 9px;
  border-radius: 6px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text-muted);
}
.pill-group{ display:flex; flex-wrap:wrap; gap:7px; }
.badge{
  display:inline-flex; align-items:center; gap:6px;
  font-size: 11.5px; font-weight:700; letter-spacing:.03em; text-transform:uppercase;
  padding: 4px 10px; border-radius: 999px;
}
.badge-wip{ background: var(--accent-tint); color: var(--accent-2); border:1px solid rgba(242,169,60,.35); }
.badge-live{ background: rgba(62,207,142,.12); color: var(--ok); border:1px solid rgba(62,207,142,.3); }

/* ---------- logos / marquee-ish strip ---------- */
.strip{
  border-top:1px solid var(--border-soft); border-bottom:1px solid var(--border-soft);
  padding: 30px 0;
  background: var(--bg-soft);
}
.strip .container{
  display:flex; flex-wrap:wrap; gap: 14px 34px; align-items:center; justify-content:space-between;
}
.strip-label{ font-family:var(--font-mono); font-size:12px; color: var(--text-faint); letter-spacing:.06em; text-transform:uppercase; }
.strip-items{ display:flex; flex-wrap:wrap; gap:10px 18px; }
.strip-items span{ font-family:var(--font-mono); font-size:13px; color: var(--text-muted); }

/* ---------- before / after ---------- */
.compare{
  display:grid; grid-template-columns: 1fr auto 1fr; gap: 28px; align-items:stretch;
}
.compare-arrow{
  display:flex; align-items:center; justify-content:center;
  color: var(--primary-2); font-size: 22px;
}
.compare-card{
  border:1px solid var(--border); border-radius: var(--radius);
  padding: 26px 24px; background: var(--surface);
}
.compare-card h3{
  font-size:13px; text-transform:uppercase; letter-spacing:.08em; font-family:var(--font-mono);
  color: var(--text-faint); margin-bottom:18px; font-weight:600;
}
.compare-card.before h3{ color: var(--text-faint); }
.compare-card.after{
  border-color: rgba(74,158,255,.4);
  background: linear-gradient(160deg, var(--primary-tint), var(--surface) 60%);
}
.compare-card.after h3{ color: var(--primary-2); }
.chip-stack{ display:flex; flex-wrap:wrap; gap:8px; margin-bottom:18px; }
.chip{
  font-size:12.5px; padding:6px 11px; border-radius:8px;
  background: var(--surface-2); border:1px solid var(--border); color: var(--text-muted);
}
.compare-card.before .chip{ opacity:.85; }
.compare-card ul{ display:flex; flex-direction:column; gap:10px; }
.compare-card li{ font-size:14.5px; color: var(--text-muted); display:flex; gap:9px; line-height:1.5; }
.compare-card.before li::before{ content:"✕"; color: var(--text-faint); flex:none; }
.compare-card.after li{ color: var(--text); }
.compare-card.after li::before{ content:"✓"; color: var(--ok); flex:none; }

@media (max-width: 780px){
  .compare{ grid-template-columns: 1fr; }
  .compare-arrow{ transform: rotate(90deg); padding: 4px 0; }
}

/* ---------- module grid ---------- */
.modules-grid{
  display:grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
@media (max-width: 980px){ .modules-grid{ grid-template-columns: repeat(2,1fr); } }
@media (max-width: 640px){ .modules-grid{ grid-template-columns: 1fr; } }

.module-card{
  border:1px solid var(--border); border-radius: var(--radius);
  background: var(--surface);
  padding: 24px;
  display:flex; flex-direction:column; gap:14px;
  transition: border-color .18s ease, transform .18s ease, background .18s ease;
}
.module-card:hover{ border-color: rgba(74,158,255,.45); transform: translateY(-3px); background: var(--surface-hover); }
.module-card.wip{ border-style:dashed; }
.module-icon{
  width:44px; height:44px; border-radius:10px;
  display:flex; align-items:center; justify-content:center;
  background: var(--primary-tint); color: var(--primary-2);
  border:1px solid rgba(74,158,255,.25);
  flex:none;
}
.module-icon svg{ width:22px; height:22px; }
.module-card.wip .module-icon{ background: var(--accent-tint); color: var(--accent-2); border-color: rgba(242,169,60,.3); }
.module-card-top{ display:flex; align-items:flex-start; justify-content:space-between; gap:10px; }
.module-card h3{ font-size:17px; font-weight:700; letter-spacing:-.01em; margin-top:2px;}
.module-card p{ font-size:14.5px; color: var(--text-muted); line-height:1.6; flex:1; }
.module-card .pill-group{ margin-top:auto; padding-top:4px; }
.module-card-link{
  font-size: 13.5px; font-weight:600; color: var(--primary-2);
  display:inline-flex; align-items:center; gap:6px; margin-top: 2px;
}
.module-card-link svg{ width:14px; height:14px; transition: transform .15s ease; }
.module-card:hover .module-card-link svg{ transform: translateX(3px); }

/* ---------- workflow steps ---------- */
.workflow{
  display:grid; grid-template-columns: repeat(4,1fr); gap: 0;
  counter-reset: step;
}
.workflow-step{
  position:relative;
  padding: 0 22px 0 0;
  border-right: 1px dashed var(--border);
}
.workflow-step:last-child{ border-right:none; padding-right:0; }
.workflow-num{
  font-family: var(--font-mono); font-weight:700; font-size:13px;
  color: var(--primary-2);
  display:flex; align-items:center; gap:10px;
  margin-bottom:16px;
}
.workflow-num::before{
  content: counter(step, decimal-leading-zero); counter-increment: step;
  width:34px; height:34px; border-radius:9px;
  background: var(--surface-2); border:1px solid var(--border);
  display:flex; align-items:center; justify-content:center;
  color: var(--text); font-size:13px;
}
.workflow-step h3{ font-size:16px; font-weight:700; margin-bottom:8px; }
.workflow-step p{ font-size:14px; color: var(--text-muted); line-height:1.6; }

@media (max-width: 980px){
  .workflow{ grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  .workflow-step{ border-right:none; padding-right:0; }
}
@media (max-width: 560px){
  .workflow{ grid-template-columns: 1fr; }
}

/* ---------- roadmap ---------- */
.roadmap{ display:flex; flex-direction:column; gap:18px; }
.roadmap-item{
  display:grid; grid-template-columns: 190px 1fr; gap: 26px;
  border:1px solid var(--border); border-radius: var(--radius);
  background: var(--surface);
  padding: 26px 28px;
}
.roadmap-when{
  font-family: var(--font-mono); font-size:12.5px; color: var(--text-faint);
  display:flex; flex-direction:column; gap:8px;
}
.roadmap-when .badge{ align-self:flex-start; }
.roadmap-body h3{ font-size:18px; font-weight:700; margin-bottom:10px; }
.roadmap-body p{ font-size:14.5px; color: var(--text-muted); line-height:1.7; }
.roadmap-item.future{ border-style:dashed; background: linear-gradient(160deg, var(--accent-tint), var(--surface) 55%); border-color: rgba(242,169,60,.35); }

@media (max-width: 700px){
  .roadmap-item{ grid-template-columns: 1fr; gap:12px; }
}

/* ---------- about / trust ---------- */
.about{
  display:grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items:center;
}
.about-facts{ display:flex; flex-direction:column; gap: 22px; }
.fact{ display:flex; gap:16px; align-items:flex-start; }
.fact-mark{
  width:38px; height:38px; border-radius:10px; flex:none;
  background: var(--surface-2); border:1px solid var(--border);
  display:flex; align-items:center; justify-content:center; color: var(--accent-2);
  font-family: var(--font-mono); font-weight:700; font-size:13px;
}
.fact h4{ font-size:15px; font-weight:700; margin-bottom:4px; }
.fact p{ font-size:14px; color: var(--text-muted); line-height:1.6; }
.about-quote{
  border:1px solid var(--border); border-radius: var(--radius-lg);
  background: var(--surface); padding: 30px 28px;
  position:relative;
}
.about-quote::before{
  content:"“"; position:absolute; top:12px; left:22px;
  font-size:64px; font-family: Georgia, serif; color: var(--border);
  line-height:1;
}
.about-quote p{ position:relative; font-size:17px; line-height:1.7; color: var(--text); padding-top:18px; }
.about-quote footer{ margin-top:20px; display:flex; align-items:center; gap:12px; }
.about-quote .avatar{
  width:40px; height:40px; border-radius:50%;
  background: linear-gradient(160deg, var(--primary-2), var(--primary-dark));
  display:flex; align-items:center; justify-content:center; font-weight:700; font-size:14px; color:#08111f;
}
.about-quote .who b{ display:block; font-size:14px; }
.about-quote .who span{ display:block; font-size:12.5px; color: var(--text-faint); }

@media (max-width: 900px){
  .about{ grid-template-columns:1fr; }
}

/* ---------- CTA band ---------- */
.cta-band{
  border-radius: var(--radius-lg);
  border:1px solid var(--border);
  background:
    radial-gradient(circle at 15% 20%, rgba(74,158,255,.18), transparent 55%),
    radial-gradient(circle at 85% 85%, rgba(242,169,60,.14), transparent 50%),
    var(--surface);
  padding: 54px 48px;
  display:flex; align-items:center; justify-content:space-between; gap:32px; flex-wrap:wrap;
}
.cta-band h2{ font-size: clamp(22px,2.6vw,30px); font-weight:800; max-width:480px; letter-spacing:-.02em; }
.cta-band p{ color: var(--text-muted); margin-top:10px; max-width:480px; font-size:15px; }
.cta-band-actions{ display:flex; gap:14px; flex-wrap:wrap; }

@media (max-width: 720px){
  .cta-band{ padding: 34px 26px; }
}

/* ---------- footer ---------- */
.site-footer{
  border-top: 1px solid var(--border-soft);
  padding: 56px 0 30px;
  background: var(--bg-soft);
}
.footer-top{
  display:grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px;
  padding-bottom: 40px;
}
.footer-brand p{ margin-top:14px; color: var(--text-muted); font-size:14px; max-width:280px; line-height:1.6; }
.footer-col h4{ font-size:13px; text-transform:uppercase; letter-spacing:.06em; color: var(--text-faint); margin-bottom:16px; font-family: var(--font-mono); font-weight:600; }
.footer-col ul{ display:flex; flex-direction:column; gap:11px; }
.footer-col a{ font-size:14px; color: var(--text-muted); }
.footer-col a:hover{ color: var(--primary-2); }
.footer-bottom{
  border-top:1px solid var(--border-soft); padding-top:24px;
  display:flex; justify-content:space-between; align-items:center; gap:16px; flex-wrap:wrap;
  font-size:13px; color: var(--text-faint);
}
@media (max-width: 900px){
  .footer-top{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px){
  .footer-top{ grid-template-columns: 1fr; }
}

/* ---------- generic page header (modules.html / contact.html) ---------- */
.page-hero{
  padding: 64px 0 40px;
  border-bottom: 1px solid var(--border-soft);
}
.page-hero .eyebrow{ margin-bottom:16px; }
.page-hero h1{ font-size: clamp(30px,4vw,44px); font-weight:800; letter-spacing:-.02em; max-width:760px; }
.page-hero p{ margin-top:16px; font-size:17px; color: var(--text-muted); max-width:640px; line-height:1.65; }
.breadcrumb{ font-family: var(--font-mono); font-size:12.5px; color: var(--text-faint); margin-bottom:18px; }
.breadcrumb a{ color: var(--text-muted); }
.breadcrumb a:hover{ color: var(--primary-2); }

/* ---------- module detail blocks ---------- */
.module-detail{
  display:grid; grid-template-columns: 320px 1fr; gap: 48px;
  padding: 46px 0;
  border-bottom: 1px solid var(--border-soft);
}
.module-detail:last-child{ border-bottom:none; }
.module-detail-head{ position:sticky; top:96px; align-self:start; }
.module-detail-head .module-icon{ margin-bottom:16px; width:52px; height:52px; }
.module-detail-head .module-icon svg{ width:26px; height:26px; }
.module-detail-head h2{ font-size:24px; font-weight:800; letter-spacing:-.01em; margin-bottom:10px; }
.module-detail-head .badge{ margin-bottom:12px; }
.module-detail-body p.lead{ font-size:16.5px; color: var(--text); line-height:1.75; margin-bottom:22px; }
.feature-list{ display:grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; margin-bottom: 24px; }
.feature-list li{
  display:flex; gap:10px; align-items:flex-start; font-size:14.5px; color: var(--text-muted); line-height:1.6;
  border:1px solid var(--border-soft); border-radius:10px; padding:12px 14px; background: var(--surface);
}
.feature-list li svg{ width:16px; height:16px; color: var(--ok); flex:none; margin-top:2px; }
.feature-strike{ text-decoration: line-through; color: var(--text-faint); }
.feature-note{ display:block; margin-top:4px; color: var(--text); }
.format-row{ display:flex; flex-wrap:wrap; align-items:center; gap:10px; margin-top: 6px; }
.format-row .label{ font-size:12.5px; color: var(--text-faint); font-family: var(--font-mono); }

/* ---------- module-more: свёрнутые технические подробности ----------
   Верхний слой (h2 + p.lead) виден всегда — короткое описание для всех.
   Технические детали (форматы, точность, настройки) — за нативным
   <details>/<summary>, без JS: разворачивается по клику для тех, кому нужно. */
.module-more{
  margin-top: 18px;
  border-top: 1px solid var(--border-soft);
  padding-top: 16px;
}
.module-more summary{
  cursor: pointer;
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--primary-2);
  user-select: none;
}
.module-more summary::-webkit-details-marker{ display:none; }
.module-more summary:hover{ color: var(--primary); }
.module-more summary .chev{
  display:inline-flex; align-items:center; justify-content:center;
  width:16px; height:16px; flex:none;
  transition: transform .18s ease;
}
.module-more summary .chev svg{ width:16px; height:16px; }
.module-more[open] summary .chev{ transform: rotate(90deg); }
.module-more-body{ padding-top: 20px; }
.module-more .feature-list{ margin-bottom: 20px; }
.module-more .format-row{ margin-top: 0; }

@media (max-width: 900px){
  .module-detail{ grid-template-columns: 1fr; gap:20px; }
  .module-detail-head{ position:static; }
  .feature-list{ grid-template-columns: 1fr; }
}

/* ---------- FAQ (contact page) ---------- */
.faq{ display:flex; flex-direction:column; gap:12px; }
.faq-item{
  border:1px solid var(--border); border-radius: var(--radius);
  background: var(--surface);
  overflow:hidden;
}
.faq-q{
  width:100%; display:flex; align-items:center; justify-content:space-between; gap:16px;
  padding: 18px 22px; background:transparent; border:none; text-align:left; cursor:pointer;
  font-size:15.5px; font-weight:600; color: var(--text);
}
.faq-q svg{ width:18px; height:18px; color: var(--text-faint); flex:none; transition: transform .2s ease; }
.faq-item[data-open="true"] .faq-q svg{ transform: rotate(45deg); color: var(--primary-2); }
.faq-a{
  max-height:0; overflow:hidden; transition: max-height .25s ease;
  padding: 0 22px;
}
.faq-item[data-open="true"] .faq-a{ padding-bottom: 20px; }
.faq-a p{ font-size:14.5px; color: var(--text-muted); line-height:1.7; }

/* ---------- contact page layout ---------- */
.contact-grid{
  display:grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items:start;
}
/* Единственная сетка, у которой не было мобильного правила (найдено при
   проходе адаптивности 2026-08-31: на 375px обе колонки сжимались, блок
   01/02/03 выезжал за край экрана, email ломался посимвольно). Порог тот
   же, что у соседних двухколоночных секций (.about/.module-detail). */
@media (max-width: 900px){
  .contact-grid{ grid-template-columns: 1fr; gap: 24px; }
  .contact-card{ padding: 24px; }
}
.contact-card{
  border:1px solid var(--border); border-radius: var(--radius-lg);
  background: var(--surface); padding: 32px;
}
.contact-card h3{ font-size:19px; font-weight:800; margin-bottom:10px; }
.contact-card p{ color: var(--text-muted); font-size:14.5px; line-height:1.7; margin-bottom:22px; }
.contact-method{
  display:flex; align-items:center; gap:14px;
  border:1px solid var(--border-soft); border-radius: var(--radius);
  padding: 16px 18px; margin-bottom:12px;
  background: var(--surface-2);
}
.contact-method .m-icon{
  width:38px; height:38px; border-radius:9px; flex:none;
  background: var(--primary-tint); color: var(--primary-2);
  display:flex; align-items:center; justify-content:center;
}
.contact-method .m-icon svg{ width:18px; height:18px; }
.contact-method .m-text{ flex:1; min-width:0; }
.contact-method .m-text b{ display:block; font-size:14.5px; }
.contact-method .m-text span{ display:block; font-size:13px; color: var(--text-faint); font-family: var(--font-mono); overflow-wrap:anywhere; }
.checklist{ display:flex; flex-direction:column; gap:10px; margin: 18px 0 4px; }
.checklist li{ display:flex; gap:10px; font-size:14px; color: var(--text-muted); line-height:1.6; }
.checklist li::before{ content:"—"; color: var(--primary-2); flex:none; }

.note-box{
  border:1px dashed var(--border); border-radius: var(--radius);
  padding: 16px 18px; font-size:13.5px; color: var(--text-faint); line-height:1.6;
  background: var(--surface-2);
}

/* ---------- hero visual: flowing connector lines ---------- */
.flow-line{
  stroke-dasharray: 5 7;
  animation: gp360-flow 1.6s linear infinite;
}
@keyframes gp360-flow{ to{ stroke-dashoffset: -24; } }

/* ---------- scroll reveal ----------
   Контент по умолчанию ВСЕГДА виден (обычный поток документа).
   Только если JS успешно запустился и подтвердил поддержку
   IntersectionObserver, body получает класс .js-reveal — и тогда
   включается лёгкая анимация появления. Если JS не выполнился
   (ошибка, блокировщик, старый браузер) — контент остаётся видимым,
   ничего не ломается. */
body.js-reveal [data-reveal]{
  opacity:0; transform: translateY(16px);
  transition: opacity .6s ease, transform .6s ease;
}
body.js-reveal [data-reveal].is-visible{ opacity:1; transform:none; }

/* ---------- about: AI-интервью (заменяет старый одиночный quote-блок) ---------- */
.about-interview{
  border:1px solid var(--border); border-radius: var(--radius-lg);
  background: var(--surface); padding: 30px 28px;
}
.interview-intro{
  font-size:14.5px; color: var(--text-muted); line-height:1.65;
  margin-bottom:22px; padding-bottom:20px; border-bottom:1px solid var(--border-soft);
}
.interview-preview{ display:flex; flex-direction:column; gap:18px; }
.interview-qa .q{ font-style:italic; font-weight:600; color: var(--primary-2); font-size:15px; line-height:1.5; margin-bottom:6px; }
.interview-qa .a{ font-size:15px; color: var(--text); line-height:1.65; }
.about-interview .module-more .interview-qa{ margin-bottom:18px; }
.about-interview .module-more .interview-qa:last-child{ margin-bottom:0; }
.about-interview .module-more .interview-qa .q{ font-size:14.5px; }
.about-interview .module-more .interview-qa .a{ font-size:14.5px; color: var(--text-muted); }
.interview-credit{
  margin-top:24px; padding-top:20px; border-top:1px solid var(--border-soft);
  display:flex; align-items:center; gap:12px;
}
.interview-credit .avatar{
  width:40px; height:40px; border-radius:50%; flex:none;
  background: linear-gradient(160deg, var(--accent-2), var(--accent));
  display:flex; align-items:center; justify-content:center; font-weight:700; font-size:12.5px; color:#241304;
}
.interview-credit .who b{ display:block; font-size:14px; }
.interview-credit .who span{ display:block; font-size:12.5px; color: var(--text-faint); }

/* ---------- misc ---------- */
.divider{ height:1px; background: var(--border-soft); border:none; margin: 0; }
.text-center{ text-align:center; }
.mt-lg{ margin-top:48px; }
