/* ==========================================================================
   WasabiLabs — corporate landing
   ========================================================================== */

:root {
  --bg:            #080B09;
  --bg-alt:        #0C110E;
  --panel:         #111713;
  --panel-2:       #161E19;
  --line:          rgba(158, 224, 74, 0.14);
  --line-soft:     rgba(232, 237, 230, 0.08);

  --accent:        #9EE04A;
  --accent-dim:    #7CB833;
  --accent-soft:   rgba(158, 224, 74, 0.12);
  --mint:          #35D6A4;
  --violet:        #A78BFA;
  --amber:         #FBBF24;

  --text:          #E9EEE6;
  --muted:         #97A48F;
  --muted-2:       #6E7A68;

  --radius:        14px;
  --radius-lg:     22px;
  --maxw:          1200px;

  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.85);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  margin: 0;
  line-height: 1.15;
  letter-spacing: -0.025em;
  font-weight: 650;
}

h1 { font-size: clamp(2.4rem, 5.6vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: clamp(1.1rem, 1.8vw, 1.35rem); }

p { margin: 0 0 1rem; }
ul { margin: 0; padding: 0; list-style: none; }

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

/* --- Layout primitives -------------------------------------------------- */

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

section { position: relative; }

.section {
  padding-block: clamp(72px, 9vw, 128px);
  border-top: 1px solid var(--line-soft);
}

.section--alt { background: var(--bg-alt); }

.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head--center { margin-inline: auto; text-align: center; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--accent);
  opacity: 0.6;
}
.section-head--center .eyebrow::before { display: none; }

.lede {
  font-size: clamp(1rem, 1.5vw, 1.12rem);
  color: var(--muted);
  margin-top: 20px;
  margin-bottom: 0;
}

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

/* --- Buttons ------------------------------------------------------------ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.93rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--accent);
  color: #07110A;
  box-shadow: 0 10px 30px -12px rgba(158, 224, 74, 0.7);
}
.btn--primary:hover { background: #AFEA63; }

.btn--ghost {
  border-color: var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, 0.02);
}
.btn--ghost:hover { border-color: var(--accent); background: var(--accent-soft); }

.btn--sm { padding: 10px 18px; font-size: 0.86rem; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--accent);
}
.link-arrow svg { transition: transform 0.18s ease; }
.link-arrow:hover svg { transform: translateX(4px); }

/* --- Header ------------------------------------------------------------- */

.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 80;
  transition: background 0.25s ease, border-color 0.25s ease, backdrop-filter 0.25s ease;
  border-bottom: 1px solid transparent;
}
.header.is-stuck {
  background: rgba(8, 11, 9, 0.82);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--line-soft);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
}

.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 680; letter-spacing: -0.03em; font-size: 1.08rem; }
.brand__mark { width: 30px; height: 30px; flex: none; }
.brand__name span { color: var(--accent); }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  padding: 8px 13px;
  border-radius: 999px;
  font-size: 0.89rem;
  color: var(--muted);
  transition: color 0.16s ease, background 0.16s ease;
}
.nav a:hover, .nav a.is-active { color: var(--text); background: rgba(255, 255, 255, 0.05); }

.header__cta { display: flex; align-items: center; gap: 10px; }

.burger {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
  padding: 0;
  place-items: center;
}
.burger span {
  display: block;
  width: 17px; height: 1.5px;
  background: var(--text);
  margin: 3.5px auto;
  transition: transform 0.22s ease, opacity 0.22s ease;
}
.burger.is-open span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

.mobile-nav {
  position: fixed;
  inset: 72px 0 auto 0;
  background: rgba(8, 11, 9, 0.97);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line-soft);
  padding: 18px 24px 30px;
  display: none;
  z-index: 79;
}
.mobile-nav.is-open { display: block; }
.mobile-nav a {
  display: block;
  padding: 13px 0;
  border-bottom: 1px solid var(--line-soft);
  color: var(--muted);
  font-size: 1rem;
}
.mobile-nav a:last-of-type { border-bottom: 0; }
.mobile-nav .btn { width: 100%; margin-top: 18px; }

/* --- Hero --------------------------------------------------------------- */

.hero {
  position: relative;
  padding-top: 168px;
  padding-bottom: clamp(70px, 8vw, 110px);
  overflow: hidden;
}

.hero__glow {
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
}
.hero__glow--1 { width: 620px; height: 620px; top: -220px; left: -140px; background: radial-gradient(circle, rgba(158,224,74,0.30), transparent 68%); }
.hero__glow--2 { width: 520px; height: 520px; top: 40px; right: -160px; background: radial-gradient(circle, rgba(53,214,164,0.22), transparent 68%); }

.hero__grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(158,224,74,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(158,224,74,0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 78%);
  pointer-events: none;
}

.hero__inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 64px; align-items: center; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 7px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(158, 224, 74, 0.05);
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 26px;
}
.pill b {
  background: var(--accent);
  color: #07110A;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero h1 { margin-bottom: 24px; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero__sub { font-size: clamp(1.02rem, 1.6vw, 1.18rem); color: var(--muted); max-width: 560px; }

.hero__actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 34px; }

.hero__meta { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 42px; padding-top: 28px; border-top: 1px solid var(--line-soft); }
.hero__meta div strong { display: block; font-size: 1.5rem; font-weight: 680; letter-spacing: -0.03em; }
.hero__meta div span { font-size: 0.8rem; color: var(--muted-2); }

/* Hero terminal card */
.term {
  background: linear-gradient(160deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.term__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 13px 18px;
  border-bottom: 1px solid var(--line-soft);
  background: rgba(0, 0, 0, 0.25);
}
.term__dot { width: 10px; height: 10px; border-radius: 50%; background: #2B3630; }
.term__dot:first-child { background: rgba(251, 191, 36, 0.6); }
.term__title { margin-left: 8px; font-family: var(--mono); font-size: 0.74rem; color: var(--muted-2); }
.term__body { padding: 22px; font-family: var(--mono); font-size: 0.79rem; line-height: 1.85; color: var(--muted); overflow-x: auto; }
.term__body .c-key { color: var(--mint); }
.term__body .c-str { color: var(--accent); }
.term__body .c-num { color: var(--violet); }
.term__body .c-cmt { color: var(--muted-2); }
.term__foot {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 14px 20px; border-top: 1px solid var(--line-soft);
  font-size: 0.76rem; color: var(--muted-2); font-family: var(--mono);
}
.dot-live { display: inline-flex; align-items: center; gap: 7px; color: var(--accent); }
.dot-live::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 0 0 rgba(158,224,74,0.55);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  70% { box-shadow: 0 0 0 9px rgba(158,224,74,0); }
  100% { box-shadow: 0 0 0 0 rgba(158,224,74,0); }
}

/* --- Logo marquee ------------------------------------------------------- */

.logos { padding-block: 42px; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); background: var(--bg-alt); }
.logos__label { text-align: center; font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 26px; font-family: var(--mono); }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__track { display: flex; gap: 60px; width: max-content; animation: scroll-x 38s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item { font-size: 1.12rem; font-weight: 620; letter-spacing: -0.02em; color: #56634F; white-space: nowrap; transition: color 0.2s ease; }
.marquee__item:hover { color: var(--text); }
@keyframes scroll-x { to { transform: translateX(-50%); } }

/* --- Cards -------------------------------------------------------------- */

.card {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}
.card:hover { border-color: var(--line); transform: translateY(-3px); background: var(--panel-2); }

.card__icon {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--accent-soft);
  border: 1px solid var(--line);
  color: var(--accent);
  margin-bottom: 20px;
}
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 0.93rem; margin: 0; }

.card__list { margin-top: 16px; display: grid; gap: 8px; }
.card__list li {
  position: relative;
  padding-left: 20px;
  font-size: 0.86rem;
  color: var(--muted);
}
.card__list li::before {
  content: "";
  position: absolute; left: 0; top: 0.58em;
  width: 6px; height: 6px; border-radius: 2px;
  background: var(--accent); opacity: 0.75;
}

.card--num { padding-top: 32px; }
.card__num {
  font-family: var(--mono);
  font-size: 0.74rem;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: 14px;
  display: block;
}

/* --- Stats -------------------------------------------------------------- */

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); border-radius: var(--radius-lg); overflow: hidden; }
.stat { background: var(--panel); padding: 34px 26px; }
.stat strong { display: block; font-size: clamp(2rem, 3.4vw, 2.7rem); font-weight: 680; letter-spacing: -0.04em; color: var(--text); line-height: 1; margin-bottom: 10px; }
.stat strong i { font-style: normal; color: var(--accent); }
.stat span { font-size: 0.86rem; color: var(--muted); }

/* --- Sectors (tabs) ----------------------------------------------------- */

.tabs { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 34px; }
.tab {
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--line-soft);
  background: transparent;
  color: var(--muted);
  font-family: var(--font);
  font-size: 0.87rem;
  font-weight: 550;
  cursor: pointer;
  transition: all 0.18s ease;
}
.tab:hover { color: var(--text); border-color: var(--line); }
.tab.is-active { background: var(--accent); border-color: var(--accent); color: #07110A; }

.panel-sector { display: none; }
.panel-sector.is-active { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 44px; align-items: start; animation: fade-up 0.4s ease both; }

@keyframes fade-up {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: none; }
}

.sector__aside h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 14px; }
.sector__aside p { color: var(--muted); }
.sector__kpis { display: grid; gap: 14px; margin-top: 26px; padding-top: 24px; border-top: 1px solid var(--line-soft); }
.sector__kpis div { display: flex; align-items: baseline; gap: 12px; }
.sector__kpis b { font-family: var(--mono); color: var(--accent); font-size: 1.05rem; min-width: 74px; }
.sector__kpis span { font-size: 0.87rem; color: var(--muted); }

.uc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.uc {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 22px;
  background: var(--panel);
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.uc:hover { border-color: var(--line); transform: translateY(-2px); }
.uc h4 { font-size: 0.99rem; margin-bottom: 8px; font-weight: 620; }
.uc p { font-size: 0.85rem; color: var(--muted); margin: 0; }
.uc__tag {
  display: inline-block;
  margin-top: 14px;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mint);
  border: 1px solid rgba(53, 214, 164, 0.22);
  background: rgba(53, 214, 164, 0.07);
  padding: 3px 9px;
  border-radius: 6px;
}

/* --- Platform ----------------------------------------------------------- */

.layers { display: grid; gap: 14px; }
.layer {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 22px 26px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: linear-gradient(90deg, var(--panel), rgba(17, 23, 19, 0.4));
  transition: border-color 0.2s ease, background 0.2s ease;
}
.layer:hover { border-color: var(--line); background: linear-gradient(90deg, var(--panel-2), rgba(17, 23, 19, 0.5)); }
.layer__tag { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }
.layer h4 { font-size: 1.02rem; margin-bottom: 6px; font-weight: 620; }
.layer p { font-size: 0.87rem; color: var(--muted); margin: 0; }
.layer__chips { display: flex; flex-wrap: wrap; gap: 7px; justify-content: flex-end; max-width: 340px; }
.chip {
  font-family: var(--mono);
  font-size: 0.7rem;
  padding: 4px 10px;
  border-radius: 7px;
  border: 1px solid var(--line-soft);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.02);
  white-space: nowrap;
}

/* --- Process ------------------------------------------------------------ */

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.step { padding: 0 22px; position: relative; }
.step:first-child { padding-left: 0; }
.step::before {
  content: "";
  position: absolute;
  top: 17px; left: 0; right: 0;
  height: 1px;
  background: var(--line-soft);
}
.step:first-child::before { left: 17px; }
.step:last-child::before { right: calc(100% - 17px); }
.step__dot {
  position: relative;
  width: 34px; height: 34px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--bg);
  border: 1px solid var(--line);
  color: var(--accent);
  font-family: var(--mono);
  font-size: 0.76rem;
  margin-bottom: 22px;
  z-index: 1;
}
.step h4 { font-size: 1.02rem; margin-bottom: 9px; font-weight: 620; }
.step p { font-size: 0.87rem; color: var(--muted); margin: 0 0 14px; }
.step ul li { font-size: 0.8rem; color: var(--muted-2); padding-left: 15px; position: relative; margin-bottom: 4px; }
.step ul li::before { content: "→"; position: absolute; left: 0; color: var(--accent); opacity: 0.55; }

/* --- Portfolio ---------------------------------------------------------- */

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

.product {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  background: var(--panel);
  overflow: hidden;
  transition: border-color 0.22s ease, transform 0.22s ease;
}
.product:hover { border-color: var(--accent); transform: translateY(-4px); }
.product:hover .product__go { background: var(--accent); color: #07110A; border-color: var(--accent); }

.product__top {
  position: relative;
  height: 128px;
  border-bottom: 1px solid var(--line-soft);
  overflow: hidden;
  display: grid;
  place-items: center;
}
.product__top::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.028) 1px, transparent 1px);
  background-size: 26px 26px;
}
.product__glyph { position: relative; z-index: 1; width: 52px; height: 52px; }

.product--a .product__top { background: radial-gradient(circle at 30% 20%, rgba(158,224,74,0.24), transparent 62%), #0D120F; }
.product--b .product__top { background: radial-gradient(circle at 70% 25%, rgba(53,214,164,0.24), transparent 62%), #0D120F; }
.product--c .product__top { background: radial-gradient(circle at 40% 80%, rgba(167,139,250,0.24), transparent 62%), #0D120F; }
.product--d .product__top { background: radial-gradient(circle at 75% 70%, rgba(251,191,36,0.20), transparent 62%), #0D120F; }
.product--e .product__top { background: radial-gradient(circle at 25% 60%, rgba(96,165,250,0.22), transparent 62%), #0D120F; }
.product--f .product__top { background: radial-gradient(circle at 60% 30%, rgba(244,114,182,0.20), transparent 62%), #0D120F; }

.product__body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.product__kicker {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 10px;
}
.product__body h3 { margin-bottom: 9px; }
.product__body p { font-size: 0.89rem; color: var(--muted); flex: 1; }

.product__tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 16px 0 20px; }

.product__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.product__go {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 0.83rem;
  font-weight: 600;
  transition: all 0.2s ease;
}
.status {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
}
.status--live { color: var(--accent); background: rgba(158,224,74,0.1); border: 1px solid rgba(158,224,74,0.25); }
.status--beta { color: var(--mint); background: rgba(53,214,164,0.1); border: 1px solid rgba(53,214,164,0.25); }
.status--soon { color: var(--muted-2); background: rgba(255,255,255,0.03); border: 1px solid var(--line-soft); }

/* --- Case studies ------------------------------------------------------- */

.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.case {
  display: flex; flex-direction: column;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  background: var(--panel);
  padding: 30px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.case:hover { border-color: var(--line); transform: translateY(-3px); }
.case__sector { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin-bottom: 18px; }
.case h3 { font-size: 1.12rem; margin-bottom: 12px; }
.case p { font-size: 0.89rem; color: var(--muted); flex: 1; }
.case__metrics { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line-soft); }
.case__metrics b { display: block; font-size: 1.45rem; letter-spacing: -0.03em; font-weight: 680; }
.case__metrics span { font-size: 0.76rem; color: var(--muted-2); }

/* --- Quotes ------------------------------------------------------------- */

.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.quote {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  background: linear-gradient(170deg, var(--panel-2), var(--panel));
  padding: 30px;
  display: flex;
  flex-direction: column;
}
.quote__mark { font-size: 2.6rem; line-height: 1; color: var(--accent); opacity: 0.4; margin-bottom: 10px; font-family: Georgia, serif; }
.quote blockquote { margin: 0 0 22px; font-size: 0.98rem; color: var(--text); flex: 1; }
.quote figcaption { display: flex; align-items: center; gap: 13px; border-top: 1px solid var(--line-soft); padding-top: 18px; }
.avatar {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--accent-soft);
  border: 1px solid var(--line);
  color: var(--accent);
  font-weight: 650;
  font-size: 0.86rem;
  flex: none;
}
.quote figcaption strong { display: block; font-size: 0.88rem; font-weight: 620; }
.quote figcaption span { font-size: 0.78rem; color: var(--muted-2); }

/* --- Governance --------------------------------------------------------- */

.gov { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.gov__list { display: grid; gap: 18px; }
.gov__item { display: grid; grid-template-columns: 38px 1fr; gap: 16px; align-items: start; }
.gov__item i {
  width: 38px; height: 38px; border-radius: 10px;
  display: grid; place-items: center;
  background: var(--accent-soft); border: 1px solid var(--line); color: var(--accent);
  font-style: normal;
}
.gov__item h4 { font-size: 0.98rem; margin-bottom: 5px; font-weight: 620; }
.gov__item p { font-size: 0.87rem; color: var(--muted); margin: 0; }

.badges { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.badge {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: var(--panel);
  padding: 20px;
  text-align: center;
}
.badge strong { display: block; font-size: 0.95rem; margin-bottom: 4px; font-weight: 620; }
.badge span { font-size: 0.76rem; color: var(--muted-2); }

/* --- Team --------------------------------------------------------------- */

.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.member {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  background: var(--panel);
  padding: 26px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.member:hover { border-color: var(--line); transform: translateY(-3px); }
.member__ph {
  width: 62px; height: 62px; border-radius: 16px;
  display: grid; place-items: center;
  background: linear-gradient(140deg, rgba(158,224,74,0.2), rgba(53,214,164,0.12));
  border: 1px solid var(--line);
  color: var(--accent);
  font-weight: 680;
  font-size: 1.15rem;
  margin-bottom: 18px;
}
.member h4 { font-size: 1rem; margin-bottom: 3px; font-weight: 620; }
.member__role { font-size: 0.8rem; color: var(--accent); margin-bottom: 12px; }
.member p { font-size: 0.84rem; color: var(--muted); margin: 0; }

/* --- FAQ ---------------------------------------------------------------- */

.faq { max-width: 860px; margin-inline: auto; }
.faq__item { border-bottom: 1px solid var(--line-soft); }
.faq__q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 24px 0;
  background: none; border: 0;
  color: var(--text);
  font-family: var(--font);
  font-size: 1.01rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: color 0.18s ease;
}
.faq__q:hover { color: var(--accent); }
.faq__q i {
  flex: none;
  width: 26px; height: 26px;
  border: 1px solid var(--line-soft);
  border-radius: 50%;
  display: grid; place-items: center;
  font-style: normal;
  font-size: 1.05rem;
  color: var(--accent);
  transition: transform 0.24s ease, background 0.24s ease;
}
.faq__item.is-open .faq__q i { transform: rotate(45deg); background: var(--accent-soft); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq__a p { color: var(--muted); font-size: 0.93rem; padding-bottom: 24px; margin: 0; }

/* --- Insights ----------------------------------------------------------- */

.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.post {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  background: var(--panel);
  padding: 28px;
  display: flex; flex-direction: column;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.post:hover { border-color: var(--line); transform: translateY(-3px); }
.post__meta { display: flex; gap: 12px; font-family: var(--mono); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted-2); margin-bottom: 16px; }
.post__meta b { color: var(--accent); font-weight: 500; }
.post h3 { font-size: 1.06rem; margin-bottom: 11px; }
.post p { font-size: 0.87rem; color: var(--muted); flex: 1; margin-bottom: 18px; }

/* --- CTA / contact ------------------------------------------------------ */

.cta {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    radial-gradient(ellipse 70% 100% at 50% 0%, rgba(158,224,74,0.14), transparent 70%),
    linear-gradient(170deg, var(--panel-2), var(--panel));
  padding: clamp(40px, 6vw, 72px);
  overflow: hidden;
}
.cta__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; position: relative; z-index: 1; }
.cta h2 { margin-bottom: 18px; }
.cta p { color: var(--muted); }
.cta__points { display: grid; gap: 11px; margin-top: 26px; }
.cta__points li { padding-left: 24px; position: relative; font-size: 0.9rem; color: var(--muted); }
.cta__points li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }

.form { display: grid; gap: 14px; }
.field { display: grid; gap: 7px; }
.field label { font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted-2); font-family: var(--mono); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 15px;
  border-radius: 11px;
  border: 1px solid var(--line-soft);
  background: rgba(0, 0, 0, 0.3);
  color: var(--text);
  font-family: var(--font);
  font-size: 0.93rem;
  transition: border-color 0.18s ease, background 0.18s ease;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(158, 224, 74, 0.04);
}
.field select option { background: var(--panel); color: var(--text); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form__note { font-size: 0.78rem; color: var(--muted-2); margin: 0; }
.form__ok {
  display: none;
  padding: 13px 16px;
  border-radius: 11px;
  border: 1px solid rgba(158,224,74,0.3);
  background: rgba(158,224,74,0.08);
  color: var(--accent);
  font-size: 0.88rem;
}
.form__ok.is-visible { display: block; }

/* --- Footer ------------------------------------------------------------- */

.footer { border-top: 1px solid var(--line-soft); background: var(--bg-alt); padding-block: 66px 34px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 44px; }
.footer__about p { font-size: 0.88rem; color: var(--muted); margin-top: 18px; max-width: 320px; }
.footer__col h5 { font-size: 0.76rem; letter-spacing: 0.13em; text-transform: uppercase; color: var(--muted-2); margin: 0 0 18px; font-family: var(--mono); font-weight: 500; }
.footer__col li { margin-bottom: 11px; }
.footer__col a { font-size: 0.88rem; color: var(--muted); transition: color 0.16s ease; }
.footer__col a:hover { color: var(--accent); }
.footer__bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  margin-top: 52px; padding-top: 26px; border-top: 1px solid var(--line-soft);
  font-size: 0.82rem; color: var(--muted-2);
}
.footer__legal { display: flex; gap: 20px; flex-wrap: wrap; }
.footer__legal a:hover { color: var(--accent); }

/* --- Reveal animation --------------------------------------------------- */

[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
[data-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* --- Responsive --------------------------------------------------------- */

@media (max-width: 1080px) {
  .hero__inner { grid-template-columns: 1fr; gap: 48px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .team { grid-template-columns: repeat(2, 1fr); }
  .portfolio-grid, .cases, .quotes, .posts { grid-template-columns: repeat(2, 1fr); }
  .panel-sector.is-active { grid-template-columns: 1fr; gap: 32px; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .step::before { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr 1fr; gap: 34px; }
  .footer__about { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .nav, .header__cta .btn--ghost { display: none; }
  .burger { display: grid; }
  .gov, .cta__inner { grid-template-columns: 1fr; gap: 36px; }
  .layer { grid-template-columns: 1fr; gap: 14px; }
  .layer__chips { justify-content: flex-start; max-width: none; }
}

@media (max-width: 680px) {
  .wrap { padding-inline: 18px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .team, .portfolio-grid, .cases, .quotes, .posts, .uc-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step { padding: 0; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .hero { padding-top: 132px; }
  .hero__meta { gap: 20px; }
  .badges { grid-template-columns: 1fr; }
}
