/* ============================================================================
   GH GLOBAL — H5COBRA PUBLIC SITE (site.css)
   "THE SITE IS THE PROOF" — visitors watch the machine think.

   Self-contained. Re-declares the shared Liquid Glass tokens from the 2050
   layer (`cobra/liquid.css`) so the marketing site never imports it, and ADDS
   the signature WATER SURFACE: every pointer/touch/click spreads a light
   ripple like touching a pool, physics-smooth via an over-damped spring.

   Light + dark via `data-theme` on <html>. Decorative motion is disabled
   under `prefers-reduced-motion` — information (feeds/tickers) never is.
   ========================================================================== */

/* ------------------------------- tokens -------------------------------- */
:root {
  /* brand — emerald / dark glass */
  --c-emerald: #18d18a;
  --c-emerald-deep: #0b6e4f;
  --c-ink: #05070c;            /* near-black navy glass */
  --c-ink-2: #080b12;
  --c-warn: #f5a623;
  --c-critical: #ff4d5e;

  /* ambient state color (calm = emerald brand) */
  --lg-calm: #18d18a;
  --lg-calm-deep: #0b6e4f;
  --lg-warn: #f5a623;
  --lg-critical: #ff4d5e;
  --lg-state: var(--lg-calm);
  --lg-state-deep: var(--lg-calm-deep);
  --lg-state-rgb: 24, 209, 138;

  /* liquid glass */
  --lg-glass: 0.60;
  --lg-blur: 22px;
  --lg-saturate: 1.6;
  --lg-tint: 255, 255, 255;
  --lg-edge: 255, 255, 255;
  --lg-panel-bg: rgba(20, 26, 34, 0.42);
  --lg-panel-border: 1px solid rgba(255, 255, 255, 0.09);
  --lg-panel-shine: linear-gradient(135deg, rgba(255,255,255,0.10) 0%, rgba(255,255,255,0.02) 42%, rgba(255,255,255,0) 58%);
  --lg-depth: 0 18px 48px rgba(0, 0, 0, 0.42), 0 2px 8px rgba(0, 0, 0, 0.28);
  --lg-inner: 0 1px 0 rgba(255, 255, 255, 0.06) inset;
  --lg-radius: 22px;
  --lg-radius-s: 14px;

  /* type */
  --font-display: "Inter", "SF Pro Display", -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: "SF Mono", "JetBrains Mono", "Roboto Mono", ui-monospace,
    "Menlo", "Consolas", monospace;

  /* motion */
  --lg-spring: cubic-bezier(0.22, 1.21, 0.36, 1);
  --lg-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --lg-spring-ms: 640ms;

  --nav-h: 64px;
  --maxw: 1180px;
}

:root[data-theme="light"] {
  --c-ink: #f4f6f9;
  --c-ink-2: #eceff4;
  --c-text: #0b1520;
  --c-text-dim: rgba(11, 21, 32, 0.64);
  --lg-tint: 255, 255, 255;
  --lg-panel-bg: rgba(255, 255, 255, 0.52);
  --lg-panel-border: 1px solid rgba(255, 255, 255, 0.55);
  --lg-panel-shine: linear-gradient(135deg, rgba(255,255,255,0.65) 0%, rgba(255,255,255,0.10) 46%, rgba(255,255,255,0) 62%);
  --lg-depth: 0 18px 44px rgba(28, 34, 40, 0.16), 0 2px 8px rgba(28, 34, 40, 0.08);
  --lg-inner: 0 1px 0 rgba(255, 255, 255, 0.7) inset;
}

:root[data-theme="dark"] {
  --c-text: #eef2f7;
  --c-text-dim: rgba(238, 242, 247, 0.62);
}

/* default theme is dark when unset */
:root:not([data-theme]) { --c-text: #eef2f7; --c-text-dim: rgba(238,242,247,0.62); }

/* ambient state hue shift */
:root[data-lgs="warn"]     { --lg-state: var(--lg-warn);     --lg-state-deep: #c77c00; --lg-state-rgb: 245, 166, 35; }
:root[data-lgs="critical"] { --lg-state: var(--lg-critical); --lg-state-deep: #d62634; --lg-state-rgb: 255, 77, 94;  }

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--c-text);
  background: var(--c-ink);
  font-family: var(--font-display);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* deep cinematic background wash */
.site-bg {
  position: fixed; inset: 0; z-index: -3; pointer-events: none;
  background:
    radial-gradient(62% 48% at 72% 8%,  rgba(var(--lg-state-rgb), 0.14), transparent 60%),
    radial-gradient(50% 44% at 16% 92%, rgba(11, 110, 79, 0.20), transparent 62%),
    linear-gradient(180deg, var(--c-ink-2), var(--c-ink));
  transition: opacity 900ms var(--lg-ease);
}
:root[data-theme="light"] .site-bg {
  background:
    radial-gradient(62% 48% at 72% 8%,  rgba(11, 110, 79, 0.16), transparent 60%),
    radial-gradient(50% 44% at 16% 92%, rgba(24, 209, 138, 0.14), transparent 62%),
    linear-gradient(180deg, #ffffff, var(--c-ink));
}

a { color: inherit; text-decoration: none; }

/* mono numerals for anything data-like */
.mono, .num, [data-num] {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}

/* ------------------- ambient state glow (injected by site.js) ---------- */
.lg-ambient {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(58% 46% at 18% 12%, rgba(var(--lg-state-rgb), 0.10), transparent 62%),
    radial-gradient(52% 44% at 86% 88%, rgba(var(--lg-state-rgb), 0.08), transparent 60%);
  transition: opacity 900ms var(--lg-ease);
  opacity: 0.5;
}
:root[data-lgs="warn"] .lg-ambient     { animation: lg-ambient-pulse 3.4s ease-in-out infinite; }
:root[data-lgs="critical"] .lg-ambient { animation: lg-ambient-pulse 1.9s ease-in-out infinite; opacity: 0.85; }
@keyframes lg-ambient-pulse { 0%,100% { opacity: 0.45; } 50% { opacity: 0.9; } }

/* ----------------------------- glass panels ---------------------------- */
.lg-panel {
  position: relative;
  background: var(--lg-panel-bg);
  -webkit-backdrop-filter: blur(var(--lg-blur)) saturate(var(--lg-saturate));
  backdrop-filter: blur(var(--lg-blur)) saturate(var(--lg-saturate));
  border: var(--lg-panel-border);
  border-radius: var(--lg-radius);
  box-shadow: var(--lg-depth), var(--lg-inner);
  background-image: var(--lg-panel-shine);
  background-position: calc(50% + var(--gyro-nx, 0) * 26px) calc(50% + var(--gyro-ny, 0) * 26px);
}
.lg-panel::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(180deg, rgba(var(--lg-edge), 0) 0%, rgba(var(--lg-edge), 0) 68%, rgba(var(--lg-state-rgb), 0.06) 100%);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .lg-panel { background: rgba(15, 20, 26, 0.90); }
  :root[data-theme="light"] .lg-panel { background: rgba(250, 250, 252, 0.94); }
}

.lg-surface {
  position: relative;
  background: rgba(var(--lg-tint), 0.05);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--lg-radius-s);
  -webkit-backdrop-filter: blur(10px) saturate(1.4);
  backdrop-filter: blur(10px) saturate(1.4);
}
:root[data-theme="light"] .lg-surface { background: rgba(255,255,255,0.6); border-color: rgba(20,30,40,0.08); }

.lg-rule {
  height: 1px; border: 0; margin: 0;
  background: linear-gradient(90deg, transparent, rgba(var(--lg-state-rgb), 0.5), transparent);
}

/* state indicator pill */
.lg-status {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.02em;
  padding: 5px 12px; border-radius: 999px;
  color: var(--lg-state);
  background: rgba(var(--lg-state-rgb), 0.10);
  border: 1px solid rgba(var(--lg-state-rgb), 0.28);
  transition: color 600ms var(--lg-ease), background 600ms var(--lg-ease), border-color 600ms var(--lg-ease);
}
.lg-status::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--lg-state);
  box-shadow: 0 0 10px var(--lg-state), 0 0 20px rgba(var(--lg-state-rgb), 0.5);
}
:root[data-lgs="warn"] .lg-status::before,
:root[data-lgs="critical"] .lg-status::before { animation: lg-dot-pulse 1.4s ease-in-out infinite; }
@keyframes lg-dot-pulse { 0%,100% { transform: scale(1); opacity:1; } 50% { transform: scale(1.5); opacity:0.6; } }

/* ------------------------------ motion --------------------------------- */
.lg-spring {
  transition: transform var(--lg-spring-ms) var(--lg-spring),
              opacity var(--lg-spring-ms) var(--lg-ease),
              box-shadow 480ms var(--lg-ease),
              background-color 480ms var(--lg-ease);
  will-change: transform;
}
.lg-hover:hover  { transform: translateY(-2px); box-shadow: var(--lg-depth), 0 12px 32px rgba(var(--lg-state-rgb), 0.10); }
.lg-hover:active { transform: translateY(0) scale(0.985); transition-duration: 140ms; }

.lg-float { animation: lg-float 7s ease-in-out infinite; }
@keyframes lg-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }

.lg-in { animation: lg-in 620ms var(--lg-spring) both; }
@keyframes lg-in { from { opacity: 0; transform: translateY(14px) scale(0.985); } to { opacity:1; transform: translateY(0) scale(1); } }
.lg-in[data-delay="1"] { animation-delay: 60ms; } .lg-in[data-delay="2"] { animation-delay: 120ms; }
.lg-in[data-delay="3"] { animation-delay: 180ms; } .lg-in[data-delay="4"] { animation-delay: 240ms; }

/* ---------------------------- water surface ---------------------------- */
/* The signature layer. A fixed canvas sits behind content; every pointerdown
   spreads a glowing ring that expands and fades on an over-damped spring. */
canvas.lg-water {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  opacity: 0.9;
}
canvas.lg-particles {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  opacity: 0.7; transition: opacity 800ms var(--lg-ease);
}
:root[data-theme="light"] canvas.lg-particles { opacity: 0.35; }

/* pointer-parallax refraction hook (driven by site.js, no camera) */
.lg-gyro { position: relative; transform-style: preserve-3d; will-change: transform; }
.lg-gyro::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(130% 130% at
    calc(50% + var(--gyro-nx, 0) * 34px) calc(50% + var(--gyro-ny, 0) * 34px),
    rgba(var(--lg-state-rgb), 0.16), transparent 56%);
  transform: translateZ(-12px);
  opacity: 0.9;
}

/* ------------------------------ nav bar -------------------------------- */
.site-nav {
  position: fixed; top: 12px; left: 50%; transform: translateX(-50%);
  width: min(var(--maxw), calc(100% - 24px));
  height: var(--nav-h);
  z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 0 14px 0 18px;
}
.nav-brand { display: flex; align-items: center; gap: 12px; }
.nav-brand .mark { width: 34px; height: 34px; flex: none; border-radius: 9px; }
.nav-brand .word {
  font-weight: 700; font-size: 17px; letter-spacing: -0.01em;
  display: flex; align-items: baseline; gap: 8px;
}
.nav-brand .word small {
  font-size: 10px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--c-text-dim);
}
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { font-size: 14px; font-weight: 500; color: var(--c-text-dim); transition: color 240ms var(--lg-ease); }
.nav-links a:hover { color: var(--c-text); }
.nav-cta { margin-left: 6px; }
@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-brand .word small { display: none; }
}

/* ------------------------------ buttons -------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 14px; letter-spacing: 0.01em;
  padding: 11px 20px; border-radius: 999px;
  border: 1px solid rgba(var(--lg-state-rgb), 0.30);
  color: var(--c-text); cursor: pointer;
  background: rgba(var(--lg-state-rgb), 0.08);
  transition: transform var(--lg-spring-ms) var(--lg-spring), box-shadow 300ms var(--lg-ease),
              background 300ms var(--lg-ease), border-color 300ms var(--lg-ease);
  white-space: nowrap;
}
.btn:hover { box-shadow: 0 8px 30px rgba(var(--lg-state-rgb), 0.22); border-color: rgba(var(--lg-state-rgb), 0.5); }
.btn:active { transform: scale(0.97); }
.btn-primary {
  background: linear-gradient(180deg, var(--lg-state), var(--lg-state-deep));
  border-color: transparent; color: #041510;
}
.btn-primary:hover { box-shadow: 0 10px 34px rgba(var(--lg-state-rgb), 0.34); }

/* ------------------------------ layout --------------------------------- */
.site-main { position: relative; z-index: 10; }

.wrap { width: min(var(--maxw), calc(100% - 40px)); margin: 0 auto; }

.hero {
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--nav-h) + 48px) 0 80px;
}
.hero-kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--lg-state);
}
.hero-title {
  font-size: clamp(44px, 8.5vw, 112px);
  font-weight: 800; line-height: 1.02; letter-spacing: -0.035em;
  margin: 22px 0 0; max-width: 14ch;
}
.hero-title .accent {
  background: linear-gradient(120deg, var(--lg-state) 0%, #7ef0c7 60%, var(--lg-state-deep) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub {
  margin: 26px 0 0; max-width: 46ch;
  font-size: clamp(17px, 2.1vw, 21px); color: var(--c-text-dim); font-weight: 400;
}
.hero-actions { display: flex; align-items: center; gap: 16px; margin-top: 38px; flex-wrap: wrap; }

.footer {
  padding: 64px 0 48px; color: var(--c-text-dim); font-size: 13px;
}
.footer .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

.text-dim { color: var(--c-text-dim); }

/* -------------------------- reduced motion ----------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .lg-float, .lg-status::before,
  :root[data-lgs="warn"] .lg-ambient, :root[data-lgs="critical"] .lg-ambient {
    animation: none !important;
  }
  .lg-in { animation: none !important; opacity: 1 !important; transform: none !important; }
  canvas.lg-particles { display: none; }
  canvas.lg-water { display: none; }
  .lg-spring { transition-duration: 1ms !important; }
  .lg-gyro::before { display: none; }
  .ticker-track { animation: none !important; }
}

/* ============================================================================
   COMMAND DECK (I2–I6): globe, live feed, ticker, sector pages, pricing,
   Klarna, consultation funnel, audit page.
   ========================================================================== */

/* ------------------------------ globe ------------------------------------ */
canvas.lg-globe {
  display: block;
  width: min(540px, 88vw);
  height: min(540px, 88vw);
  margin: 0 auto;
  position: relative;
  z-index: 10;
  filter: drop-shadow(0 0 60px rgba(var(--lg-state-rgb), 0.25));
}
.globe-stage {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  padding: 8px 0 24px;
}

/* --------------------------- live feed deck ------------------------------ */
.command-deck { padding: 40px 0 8px; }
.deck-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.deck-head h2 { margin: 0; font-size: clamp(24px, 3.4vw, 38px); font-weight: 800; letter-spacing: -0.02em; }
.deck-head .deck-sub { margin: 0; color: var(--c-text-dim); font-size: 13px; }

#live-feed {
  display: grid; grid-template-columns: 1fr; gap: 12px;
  position: relative; z-index: 10;
}
.feed-card {
  padding: 20px 22px;
  border-radius: var(--lg-radius-s);
  background: var(--lg-panel-bg);
  -webkit-backdrop-filter: blur(var(--lg-blur)) saturate(var(--lg-saturate));
  backdrop-filter: blur(var(--lg-blur)) saturate(var(--lg-saturate));
  border: var(--lg-panel-border);
  box-shadow: var(--lg-depth);
}
.feed-cat {
  display: inline-block; font-size: 11px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--lg-state);
  background: rgba(var(--lg-state-rgb), 0.10);
  border: 1px solid rgba(var(--lg-state-rgb), 0.28);
  padding: 3px 10px; border-radius: 999px; margin-bottom: 12px;
}
.feed-card .feed-title { margin: 0 0 8px; font-size: clamp(17px, 2vw, 22px); font-weight: 700; letter-spacing: -0.01em; }
.feed-card .feed-body { margin: 0; color: var(--c-text-dim); font-size: 15px; line-height: 1.55; }
#feed-empty { color: var(--c-text-dim); padding: 24px; }

/* ------------------------------ ticker ----------------------------------- */
.ticker {
  position: relative; z-index: 10;
  margin: 28px 0;
  border-top: 1px solid rgba(var(--lg-state-rgb), 0.18);
  border-bottom: 1px solid rgba(var(--lg-state-rgb), 0.18);
  overflow: hidden;
  padding: 14px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.ticker-track {
  display: inline-flex; gap: 34px; white-space: nowrap;
  animation: ticker-scroll 34s linear infinite;
  will-change: transform;
}
.tick-item {
  display: inline-flex; align-items: center; gap: 34px;
  font-size: 14px; font-weight: 600; letter-spacing: 0.04em;
  color: var(--c-text-dim);
}
.tick-dot { color: var(--lg-state); }
@keyframes ticker-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ------------------------------ section ---------------------------------- */
.section { padding: 72px 0; }
.section-h2 { font-size: clamp(26px, 3.6vw, 44px); font-weight: 800; letter-spacing: -0.02em; margin: 0 0 12px; }
.section-lead { color: var(--c-text-dim); max-width: 58ch; font-size: 17px; }

/* ------------------------------ pricing grid ----------------------------- */
#pricing-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px;
  margin-top: 28px;
}
.tier-card { padding: 22px 18px; display: flex; flex-direction: column; gap: 10px; }
.tier-name { margin: 0; font-size: 15px; font-weight: 700; letter-spacing: -0.01em; }
.tier-price { font-size: 26px; font-weight: 800; }
.tier-monthly { font-size: 17px; font-weight: 700; color: var(--c-text-dim); }
.price-sub { font-size: 12px; font-weight: 500; color: var(--c-text-dim); }
.tier-card .btn { margin-top: auto; width: 100%; justify-content: center; font-size: 13px; padding: 10px 14px; }
@media (max-width: 1020px) { #pricing-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { #pricing-grid { grid-template-columns: 1fr; } }

/* ------------------------------ Klarna ----------------------------------- */
.klarna { display: flex; align-items: center; gap: 10px; margin: 2px 0 12px; }
.klarna-badge {
  display: inline-flex; align-items: center;
  font-size: 12px; font-weight: 800; color: #fff;
  background: #ffb3c7; padding: 4px 10px; border-radius: 6px; letter-spacing: 0.02em;
  border: 1px solid rgba(0,0,0,0.08);
}
.klarna-line { font-size: 12.5px; color: var(--c-text-dim); font-weight: 500; }

/* ------------------------------ sector pages ----------------------------- */
.sector-head { padding: calc(var(--nav-h) + 48px) 0 28px; }
.sector-h1 { font-size: clamp(34px, 5.6vw, 68px); font-weight: 800; line-height: 1.02; letter-spacing: -0.03em; margin: 16px 0 0; max-width: 16ch; }
.sector-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 16px; margin: 24px 0; }
.sector-col { padding: 26px 26px; }
.sector-h2 { margin: 0 0 12px; font-size: 20px; font-weight: 700; letter-spacing: -0.01em; }
.sector-h3 { margin: 22px 0 10px; font-size: 15px; font-weight: 700; letter-spacing: 0.02em; text-transform: uppercase; color: var(--lg-state); }
.sector-lead { color: var(--c-text-dim); margin: 0; font-size: 15.5px; }
.win-list, .feature-list { margin: 0; padding: 0; list-style: none; }
.win-list li { padding: 10px 0; border-bottom: 1px solid rgba(var(--lg-state-rgb), 0.10); font-size: 15.5px; }
.win-list li::before { content: "✓"; color: var(--lg-state); margin-right: 10px; font-weight: 700; }
.feature-list li { display: flex; align-items: flex-start; gap: 10px; padding: 8px 0; font-size: 15px; }
.f-dot { color: var(--lg-state); font-weight: 700; }
@media (max-width: 720px) { .sector-grid { grid-template-columns: 1fr; } }

.sector-price { padding: 26px 28px; display: flex; flex-direction: column; gap: 6px; margin: 20px 0 48px; }
.price-label { font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--c-text-dim); }
.price-fig { font-size: 30px; font-weight: 800; line-height: 1.2; }
.price-fig + .price-fig { font-size: 24px; color: var(--c-text-dim); }
.sector-price .btn { align-self: flex-start; margin-top: 12px; }
.custom-note { font-size: 13px; color: var(--c-text-dim); margin: 4px 0; }

/* --------------------------- consultation page --------------------------- */
.consult-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 22px; align-items: start; margin: 28px 0 56px; }
.consult-form {
  display: flex; flex-direction: column; gap: 14px;
  padding: 26px; border-radius: var(--lg-radius);
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 12.5px; font-weight: 600; letter-spacing: 0.01em; color: var(--c-text-dim); }
.field input, .field select, .field textarea {
  font-family: inherit; font-size: 15px; color: var(--c-text);
  background: rgba(var(--lg-tint), 0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 11px; padding: 12px 14px; outline: none;
  transition: border-color 200ms var(--lg-ease), box-shadow 200ms var(--lg-ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: rgba(var(--lg-state-rgb), 0.6);
  box-shadow: 0 0 0 3px rgba(var(--lg-state-rgb), 0.14);
}
.field textarea { min-height: 84px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.form-err { color: var(--lg-critical); font-size: 13.5px; min-height: 18px; }
.consult-aside { display: flex; flex-direction: column; gap: 16px; }
.consult-summary { padding: 26px; }
.consult-summary h2 { margin: 0 0 10px; font-size: 20px; font-weight: 700; }
.consult-line { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid rgba(var(--lg-state-rgb), 0.10); font-size: 15px; }
.consult-line strong { color: var(--lg-state); }
.confirm-card { padding: 30px; max-width: 560px; margin: 28px auto 56px; }
.confirm-card .lg-status { margin-bottom: 14px; }
.confirm-h { margin: 0 0 8px; font-size: 26px; font-weight: 800; letter-spacing: -0.02em; }
@media (max-width: 720px) { .consult-grid { grid-template-columns: 1fr; } }

/* ------------------------------ audit page ------------------------------- */
.audit-head { padding: calc(var(--nav-h) + 56px) 0 24px; }
.audit-price-flag {
  display: inline-block; font-size: 15px; font-weight: 800; letter-spacing: 0.02em;
  color: #041510; background: linear-gradient(180deg, var(--lg-state), var(--lg-state-deep));
  padding: 9px 18px; border-radius: 12px; margin-bottom: 18px;
}
.audit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 28px 0; }
.audit-card { padding: 24px; }
.audit-card h3 { margin: 0 0 8px; font-size: 17px; font-weight: 700; letter-spacing: -0.01em; }
.audit-card p { margin: 0; color: var(--c-text-dim); font-size: 14.5px; }
.audit-num { font-size: 34px; font-weight: 800; color: var(--lg-state); font-family: var(--font-mono); display: block; margin-bottom: 6px; }
@media (max-width: 820px) { .audit-grid { grid-template-columns: 1fr; } }