/* ============================================================
   ARXAM · Enterprise software protection
   Design system: warm near-black + molten orange, lab metaphor
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  --ink:      #0A0908;
  --ink-2:    #100E0C;
  --ink-3:    #17120F;
  --ink-4:    #1F1813;
  --line:     rgba(255, 240, 228, 0.08);
  --line-2:   rgba(255, 240, 228, 0.14);

  --ember:    #FF6A1A;
  --flame:    #FF8C42;
  --amber:    #FFB066;
  --rust:     #B83A0E;
  --char:     #7A2D0A;

  --bone:     #F4EEE6;
  --ash:      #A8A099;
  --mid:      #6E665E;

  --glow:     rgba(255, 106, 26, 0.55);

  --display:  'Archivo Expanded', 'Archivo', sans-serif;
  --body:     'Archivo', system-ui, sans-serif;
  --mono:     'JetBrains Mono', ui-monospace, monospace;

  --container: 1200px;
  --pad: clamp(20px, 5vw, 64px);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--body);
  background: var(--ink);
  color: var(--bone);
  line-height: 1.6;
  font-size: 16px;
  letter-spacing: 0.01em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }
ul { list-style: none; }

::selection { background: var(--ember); color: var(--ink); }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--pad);
}

.section { padding-block: clamp(72px, 11vw, 150px); position: relative; }
.section--tight { padding-block: clamp(56px, 8vw, 100px); }

/* ---------- Type ---------- */
.eyebrow {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ember);
  display: inline-flex;
  align-items: center;
  gap: 0.65em;
  border: 1px solid var(--line-2);
  border-radius: 100px;
  padding: 7px 14px 7px 12px;
  background: rgba(255, 106, 26, 0.04);
}
.eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--ember);
  box-shadow: 0 0 10px var(--glow);
  flex: 0 0 auto;
  animation: pulse-dot 2.6s var(--ease-in-out) infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; box-shadow: 0 0 10px var(--glow); }
  50% { opacity: 0.55; box-shadow: 0 0 4px var(--glow); }
}

h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: 1.02; letter-spacing: -0.02em; }

.h-mega {
  font-size: clamp(2.6rem, 7vw, 5.4rem);
  line-height: 0.98;
}
.h-section {
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  line-height: 1.0;
}
.h-sub {
  font-size: clamp(1.25rem, 2.4vw, 1.7rem);
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--ash);
  max-width: 56ch;
  line-height: 1.65;
}

.accent { color: var(--ember); }
.muted { color: var(--ash); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  padding: 0.92em 1.6em;
  font-family: var(--mono);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 2px;
  border: 1px solid transparent;
  transition: transform .35s var(--ease), background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
  position: relative;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn--primary {
  background: var(--ember);
  color: #1a0c03;
  font-weight: 600;
  box-shadow: 0 0 0 0 var(--glow);
}
.btn--primary:hover {
  background: var(--flame);
  box-shadow: 0 12px 40px -8px var(--glow);
  transform: translateY(-2px);
}

.btn--ghost {
  border-color: var(--line-2);
  color: var(--bone);
  background: transparent;
}
.btn--ghost:hover { border-color: var(--ember); color: var(--ember); transform: translateY(-2px); }

.btn .arr { transition: transform .35s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px var(--pad);
  transition: background .4s var(--ease), border-color .4s var(--ease), backdrop-filter .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(10, 9, 8, 0.82);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
}

.brand { display: flex; align-items: center; gap: 12px; z-index: 2; }
.brand__mark { width: 34px; height: 40px; flex: 0 0 auto; }
.brand__name {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
}
.brand__name b { color: var(--ember); font-weight: 800; }

.nav__links { display: flex; align-items: center; gap: 34px; }
.nav__links a {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  color: var(--ash);
  position: relative;
  padding: 4px 0;
  transition: color .3s var(--ease);
}
.nav__links a::after {
  content: "";
  position: absolute; left: 0; bottom: -2px;
  width: 0; height: 1px; background: var(--ember);
  transition: width .35s var(--ease);
}
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--bone); }
.nav__links a:hover::after, .nav__links a[aria-current="page"]::after { width: 100%; }

.nav__cta { display: inline-flex; }

.nav__toggle {
  display: none;
  width: 44px; height: 44px;
  background: transparent;
  border: 1px solid var(--line-2);
  border-radius: 3px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.nav__toggle span { width: 18px; height: 1.5px; background: var(--bone); transition: transform .3s var(--ease), opacity .3s var(--ease); }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: 96px;
  padding-bottom: 60px;
  overflow: hidden;
}
#bubbles {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
}
.hero__glow {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  background:
    radial-gradient(130% 110% at 50% 28%, rgba(255,106,26,0.085), rgba(255,106,26,0.03) 46%, transparent 78%),
    linear-gradient(180deg, rgba(255,106,26,0.035), transparent 60%);
  z-index: 0;
  pointer-events: none;
}
.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  width: 100%;
}

.hero__copy { max-width: 640px; }
.hero h1 { margin: 22px 0 26px; }
.hero h1 .line { display: block; overflow: hidden; }
.hero h1 .line > span { display: block; }

.hero__lead { margin-bottom: 38px; max-width: 50ch; }
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }

.hero__strip {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
}
.hero__strip .cell { background: var(--ink); padding: 16px 18px; }
.hero__strip .num { font-family: var(--display); font-weight: 800; font-size: 1.35rem; color: var(--bone); }
.hero__strip .lab { font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mid); margin-top: 4px; }

/* ---------- Beaker (signature) ---------- */
.chamber { position: relative; display: flex; align-items: center; justify-content: center; min-height: 440px; perspective: 1100px; cursor: pointer; }
.chamber svg { width: 100%; max-width: 380px; overflow: visible; }
#flask { transition: transform .5s var(--ease); transform-origin: center 62%; will-change: transform; filter: drop-shadow(0 16px 38px rgba(255,106,26,0.16)); }
.chamber.hot #flask { transition-duration: .14s; }
.glass-core { opacity: 0; transition: opacity .6s var(--ease); }
.chamber.hot .glass-core { opacity: 1; }
.lock-mark { transition: transform .35s var(--ease); transform-box: fill-box; transform-origin: center; }
.chamber.hot .lock-mark { transform: scale(1.07); }
.bub-dyn { pointer-events: none; }

/* filling liquid */
#liquidLevel { transform: translateY(360px); transition: transform 1.7s var(--ease); }
#liquidLevel.filled { transform: translateY(172px); }
.chamber.hot #liquidLevel.filled { transform: translateY(110px); }
.wave { animation: waveMove 5s linear infinite; will-change: transform; }
.wave--back  { animation-duration: 8.5s; opacity: 0.5; }
.wave--front { animation-duration: 5s; }
.wave--crest { animation-duration: 5s; }
.chamber.hot .wave--front { animation-duration: 2.7s; }
.chamber.hot .wave--crest { animation-duration: 2.7s; }
.chamber.hot .wave--back  { animation-duration: 4.6s; }
@keyframes waveMove { from { transform: translateX(0); } to { transform: translateX(-160px); } }
.chamber__tag {
  position: absolute;
  bottom: 8px; left: 50%; transform: translateX(-50%);
  font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--mid);
  white-space: nowrap;
}

/* ---------- Marquee / trust ---------- */
.marquee {
  border-block: 1px solid var(--line);
  padding-block: 20px;
  overflow: hidden;
  background: var(--ink-2);
}
.marquee__track {
  display: flex;
  gap: 56px;
  width: max-content;
  animation: scroll-x 32s linear infinite;
  align-items: center;
}
.marquee__track span {
  font-family: var(--mono);
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mid);
  display: inline-flex; align-items: center; gap: 56px;
  white-space: nowrap;
}
.marquee__track span::after { content: "◆"; color: var(--rust); font-size: 0.6rem; }
@keyframes scroll-x { to { transform: translateX(-50%); } }

/* ---------- Section heading block ---------- */
.head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 72px); }
.head .eyebrow { margin-bottom: 20px; }
.head p { margin-top: 18px; }

/* ---------- Periodic services grid ---------- */
.elements {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.element {
  position: relative;
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 26px;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: border-color .45s var(--ease), transform .45s var(--ease), background .45s var(--ease);
}
.element::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(120% 80% at 80% -10%, rgba(255,106,26,0.14), transparent 60%);
  opacity: 0;
  transition: opacity .5s var(--ease);
}
.element:hover {
  border-color: var(--line-2);
  transform: translateY(-4px);
  background: var(--ink-3);
}
.element:hover::before { opacity: 1; }

.element__top { display: flex; justify-content: space-between; align-items: flex-start; }
.element__no { font-family: var(--mono); font-size: 0.72rem; color: var(--mid); letter-spacing: 0.1em; }
.element__ico {
  width: 40px; height: 40px; flex: 0 0 auto;
  display: grid; place-items: center;
  border: 1px solid var(--line-2); border-radius: 7px;
  color: var(--ember); position: relative; z-index: 1;
  transition: border-color .45s var(--ease), background .45s var(--ease), transform .45s var(--ease), box-shadow .45s var(--ease);
}
.element__ico svg { width: 20px; height: 20px; }
.element:hover .element__ico {
  border-color: var(--ember);
  background: rgba(255, 106, 26, 0.09);
  transform: rotate(-6deg) scale(1.06);
  box-shadow: 0 8px 24px -10px var(--glow);
}
.element__sym {
  font-family: var(--display);
  font-weight: 800;
  font-size: 3.4rem;
  line-height: 1;
  color: var(--ember);
  margin: 10px 0 4px;
  position: relative;
  transition: text-shadow .5s var(--ease);
}
.element:hover .element__sym { text-shadow: 0 0 28px var(--glow); }
.element__mass { font-family: var(--mono); font-size: 0.66rem; color: var(--mid); letter-spacing: 0.06em; }
.element__name { font-family: var(--display); font-weight: 700; font-size: 1.18rem; margin: auto 0 8px; letter-spacing: -0.01em; }
.element__desc { font-size: 0.92rem; color: var(--ash); line-height: 1.55; position: relative; }

/* ---------- How it works (sequence) ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 5px; overflow: hidden; }
.step { background: var(--ink); padding: 32px 26px 36px; position: relative; transition: background .4s var(--ease); }
.step:hover { background: var(--ink-2); }
.step__no { font-family: var(--mono); font-size: 0.74rem; color: var(--ember); letter-spacing: 0.14em; }
.step__bar { height: 2px; background: var(--line-2); margin: 18px 0 22px; position: relative; overflow: hidden; }
.step__bar::after { content: ""; position: absolute; inset: 0; width: 0; background: var(--ember); transition: width .8s var(--ease); }
.step.in .step__bar::after { width: 100%; }
.step h3 { font-size: 1.3rem; margin-bottom: 10px; }
.step p { font-size: 0.92rem; color: var(--ash); }

/* ---------- Feature split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.split__media {
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 28px;
  font-family: var(--mono);
  font-size: 0.84rem;
  position: relative;
  overflow: hidden;
}
.code-line { display: flex; gap: 18px; padding: 3px 0; white-space: nowrap; }
.code-line .ln { color: var(--mid); user-select: none; width: 22px; text-align: right; flex: 0 0 auto; }
.code-line .tk-key { color: var(--flame); }
.code-line .tk-str { color: var(--amber); }
.code-line .tk-com { color: var(--mid); }
.code-line .tk-fn  { color: var(--bone); }
.code-line.protected { color: var(--char); }
.code-badge {
  position: absolute; top: 18px; right: 18px;
  font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ember); border: 1px solid var(--line-2); border-radius: 2px; padding: 4px 8px;
}

.checklist { display: grid; gap: 16px; margin-top: 28px; }
.checklist li { display: flex; gap: 14px; align-items: flex-start; }
.checklist .ico { color: var(--ember); flex: 0 0 auto; margin-top: 3px; }
.checklist b { font-family: var(--display); font-weight: 700; }
.checklist p { color: var(--ash); font-size: 0.92rem; }

/* ---------- Stats band ---------- */
.band { border-block: 1px solid var(--line); background: linear-gradient(180deg, var(--ink-2), var(--ink)); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.stat__n { font-family: var(--display); font-weight: 800; font-size: clamp(2.4rem, 4.5vw, 3.6rem); color: var(--ember); line-height: 1; letter-spacing: -0.02em; }
.stat__l { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ash); margin-top: 12px; }

/* ---------- CTA ---------- */
.cta-block {
  position: relative;
  border: 1px solid var(--line-2);
  border-radius: 8px;
  background:
    radial-gradient(80% 140% at 50% 0%, rgba(255,106,26,0.12), transparent 60%),
    var(--ink-2);
  padding: clamp(48px, 8vw, 96px);
  text-align: center;
  overflow: hidden;
}
.cta-block h2 { margin-bottom: 22px; }
.cta-block .lead { margin: 0 auto 36px; }
.cta-block .hero__actions { justify-content: center; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); background: var(--ink-2); padding-block: 64px 36px; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer__brand .brand { margin-bottom: 18px; }
.footer__brand p { color: var(--ash); font-size: 0.9rem; max-width: 32ch; }
.footer h4 { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--mid); margin-bottom: 18px; }
.footer__col a { display: block; color: var(--ash); font-size: 0.92rem; padding: 6px 0; transition: color .3s var(--ease), padding-left .3s var(--ease); }
.footer__col a:hover { color: var(--ember); padding-left: 5px; }
.footer__bot { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding-top: 28px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.footer__bot p { font-family: var(--mono); font-size: 0.72rem; color: var(--mid); letter-spacing: 0.04em; }

/* ---------- Page header (sub pages) ---------- */
.page-head { padding-top: 168px; padding-bottom: 0; position: relative; overflow: hidden; }
.page-head .hero__glow { opacity: 0.85; }
.page-head h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); margin: 22px 0 0; position: relative; z-index: 1; }
.page-head .lead { margin-top: 24px; position: relative; z-index: 1; }
.page-head .eyebrow { position: relative; z-index: 1; }

/* ---------- Pricing ---------- */
.toggle-wrap { display: flex; align-items: center; justify-content: center; gap: 16px; margin-bottom: 48px; }
.toggle-wrap span { font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.08em; color: var(--ash); transition: color .3s var(--ease); }
.toggle-wrap span.on { color: var(--bone); }
.toggle-wrap .save { color: var(--ember); font-size: 0.66rem; }
.switch { width: 54px; height: 28px; border-radius: 20px; background: var(--ink-4); border: 1px solid var(--line-2); position: relative; transition: background .3s var(--ease); }
.switch::after { content: ""; position: absolute; top: 2px; left: 2px; width: 22px; height: 22px; border-radius: 50%; background: var(--ember); transition: transform .32s var(--ease); }
.switch[aria-checked="true"] { background: var(--char); }
.switch[aria-checked="true"]::after { transform: translateX(26px); }

.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.tier {
  position: relative;
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 34px 30px 36px;
  display: flex;
  flex-direction: column;
  transition: border-color .4s var(--ease), transform .4s var(--ease);
}
.tier:hover { border-color: var(--line-2); transform: translateY(-4px); }
.tier--featured { border-color: var(--ember); background: linear-gradient(180deg, rgba(255,106,26,0.06), var(--ink-2)); }
.tier__flag { position: absolute; top: -11px; left: 30px; background: var(--ember); color: #1a0c03; font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; padding: 4px 10px; border-radius: 2px; }
.tier__sym { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ember); }
.tier__name { font-family: var(--display); font-weight: 800; font-size: 1.7rem; margin: 8px 0 6px; }
.tier__desc { color: var(--ash); font-size: 0.9rem; min-height: 42px; }
.tier__price { display: flex; align-items: baseline; gap: 6px; margin: 24px 0 6px; }
.tier__price .amt { font-family: var(--display); font-weight: 800; font-size: 3rem; line-height: 1; letter-spacing: -0.02em; }
.tier__price .per { font-family: var(--mono); font-size: 0.74rem; color: var(--ash); }
.tier__price .amt[data-enterprise] { font-size: 2.2rem; }
.tier__bill { font-family: var(--mono); font-size: 0.68rem; color: var(--mid); letter-spacing: 0.06em; min-height: 18px; }
.tier .btn { width: 100%; justify-content: center; margin: 26px 0 28px; }
.tier__feat { display: grid; gap: 13px; }
.tier__feat li { display: flex; gap: 11px; font-size: 0.88rem; color: var(--bone); align-items: flex-start; }
.tier__feat li .ico { color: var(--ember); flex: 0 0 auto; margin-top: 2px; }
.tier__feat li.off { color: var(--mid); }
.tier__feat li.off .ico { color: var(--mid); }

/* ---------- Compare table ---------- */
.compare { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.compare th, .compare td { padding: 16px 18px; text-align: left; border-bottom: 1px solid var(--line); }
.compare thead th { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ash); }
.compare thead th:not(:first-child), .compare td:not(:first-child) { text-align: center; }
.compare tbody th { font-weight: 500; color: var(--bone); font-family: var(--body); }
.compare .yes { color: var(--ember); }
.compare .no { color: var(--mid); }
.compare tr:hover td, .compare tr:hover th { background: var(--ink-2); }
.compare .grp td { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mid); padding-top: 28px; }

/* ---------- FAQ ---------- */
.faq-cols { display: grid; grid-template-columns: 0.8fr 2fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.faq-side { position: sticky; top: 120px; }
.faq-cats { display: flex; flex-direction: column; gap: 4px; margin-top: 26px; }
.faq-cats button {
  text-align: left; background: transparent; border: none; color: var(--ash);
  font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.04em;
  padding: 10px 14px; border-left: 1px solid var(--line); transition: color .3s, border-color .3s, background .3s;
}
.faq-cats button:hover { color: var(--bone); }
.faq-cats button.active { color: var(--ember); border-left-color: var(--ember); background: var(--ink-2); }

.faq-list { display: grid; gap: 0; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; background: transparent; border: none; color: var(--bone);
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 26px 4px; text-align: left;
  font-family: var(--display); font-weight: 700; font-size: clamp(1.05rem, 1.8vw, 1.3rem); letter-spacing: -0.01em;
  transition: color .3s var(--ease);
}
.faq-q:hover { color: var(--ember); }
.faq-q .pm { position: relative; width: 18px; height: 18px; flex: 0 0 auto; }
.faq-q .pm::before, .faq-q .pm::after { content: ""; position: absolute; background: var(--ember); transition: transform .35s var(--ease), opacity .3s; }
.faq-q .pm::before { top: 8px; left: 0; width: 18px; height: 2px; }
.faq-q .pm::after { left: 8px; top: 0; width: 2px; height: 18px; }
.faq-q[aria-expanded="true"] .pm::after { transform: scaleY(0); opacity: 0; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .45s var(--ease); }
.faq-a__inner { padding: 0 4px 28px; color: var(--ash); font-size: 0.98rem; line-height: 1.7; max-width: 64ch; }
.faq-a__inner code { font-family: var(--mono); font-size: 0.84em; background: var(--ink-3); color: var(--amber); padding: 2px 6px; border-radius: 3px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(36px, 6vw, 80px); align-items: start; }
.contact-info .lead { margin-bottom: 40px; }
.contact-channels { display: grid; gap: 2px; border: 1px solid var(--line); border-radius: 5px; overflow: hidden; }
.channel { background: var(--ink-2); padding: 22px 24px; display: flex; gap: 18px; align-items: flex-start; transition: background .3s var(--ease); }
.channel:hover { background: var(--ink-3); }
.channel .ico { color: var(--ember); flex: 0 0 auto; margin-top: 2px; }
.channel h4 { font-family: var(--display); font-weight: 700; font-size: 1.05rem; margin-bottom: 4px; }
.channel p, .channel a { color: var(--ash); font-size: 0.9rem; }
.channel a:hover { color: var(--ember); }

.form { background: var(--ink-2); border: 1px solid var(--line); border-radius: 8px; padding: clamp(28px, 4vw, 44px); }
.field { margin-bottom: 22px; }
.field label { display: block; font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ash); margin-bottom: 10px; }
.field label .req { color: var(--ember); }
.field input, .field select, .field textarea {
  width: 100%; background: var(--ink); border: 1px solid var(--line-2); border-radius: 4px;
  color: var(--bone); font-family: var(--body); font-size: 0.95rem; padding: 13px 15px;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.field textarea { resize: vertical; min-height: 130px; }
.field input::placeholder, .field textarea::placeholder { color: var(--mid); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--ember); box-shadow: 0 0 0 3px rgba(255,106,26,0.14);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form .btn { width: 100%; justify-content: center; margin-top: 6px; }
.form__note { font-family: var(--mono); font-size: 0.7rem; color: var(--mid); text-align: center; margin-top: 16px; letter-spacing: 0.04em; }
/* validation */
.field-error { display: none; color: #FF8763; font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.03em; margin-top: 9px; }
.field.invalid .field-error { display: block; }
.field.invalid input, .field.invalid textarea, .field.invalid select {
  border-color: #E5503A;
  box-shadow: 0 0 0 3px rgba(229, 80, 58, 0.14);
}
.field.invalid input, .field.invalid textarea { animation: shake .4s var(--ease); }
@keyframes shake {
  10%, 90% { transform: translateX(-1px); }
  20%, 80% { transform: translateX(2px); }
  30%, 50%, 70% { transform: translateX(-4px); }
  40%, 60% { transform: translateX(4px); }
}

/* sent modal */
.modal-overlay {
  position: fixed; inset: 0; z-index: 200;
  display: none; align-items: center; justify-content: center;
  padding: 24px;
  background: rgba(6, 5, 4, 0.74);
  backdrop-filter: blur(8px);
}
.modal-overlay.open { display: flex; animation: overlayIn .35s var(--ease); }
@keyframes overlayIn { from { opacity: 0; } to { opacity: 1; } }
.modal {
  position: relative;
  width: 100%; max-width: 440px;
  background:
    radial-gradient(120% 120% at 50% 0%, rgba(255,106,26,0.12), transparent 58%),
    var(--ink-2);
  border: 1px solid var(--line-2);
  border-radius: 14px;
  padding: 48px 40px 40px;
  text-align: center;
  box-shadow: 0 32px 90px -24px rgba(0,0,0,0.8);
  animation: modalIn .55s var(--ease);
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(26px) scale(.93); }
  to { opacity: 1; transform: none; }
}
.modal__seal { width: 92px; height: 92px; margin: 0 auto 26px; position: relative; }
.modal__seal::before {
  content: ""; position: absolute; inset: -14px; border-radius: 50%;
  background: radial-gradient(circle, var(--glow), transparent 64%);
  opacity: 0; animation: sealGlow .8s var(--ease) .5s forwards;
}
@keyframes sealGlow { to { opacity: .55; } }
.modal__seal svg { width: 100%; height: 100%; overflow: visible; position: relative; z-index: 1; }
.seal-ring {
  fill: none; stroke: var(--ember); stroke-width: 3; stroke-linecap: round;
  stroke-dasharray: 220; stroke-dashoffset: 220;
  animation: draw .75s var(--ease) .15s forwards;
}
.seal-check {
  fill: none; stroke: var(--flame); stroke-width: 4.5; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 62; stroke-dashoffset: 62;
  animation: draw .45s var(--ease) .65s forwards;
}
@keyframes draw { to { stroke-dashoffset: 0; } }
.seal-bubble {
  position: absolute; bottom: 14px; width: 7px; height: 7px; border-radius: 50%;
  background: var(--amber); opacity: 0; z-index: 2;
  animation: sealBubble 1.1s var(--ease) forwards;
}
@keyframes sealBubble {
  0% { opacity: 0; transform: translateY(0) scale(.6); }
  40% { opacity: .9; }
  100% { opacity: 0; transform: translateY(-46px) scale(1); }
}
.modal h3 { font-size: 1.7rem; margin-bottom: 12px; }
.modal p { color: var(--ash); font-size: 0.98rem; line-height: 1.6; margin-bottom: 30px; max-width: 34ch; margin-inline: auto; }
.modal .btn { min-width: 140px; justify-content: center; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .08s; }
.reveal[data-d="2"] { transition-delay: .16s; }
.reveal[data-d="3"] { transition-delay: .24s; }
.reveal[data-d="4"] { transition-delay: .32s; }
.reveal[data-d="5"] { transition-delay: .40s; }

/* hero load sequence */
.hero [data-load] { opacity: 0; transform: translateY(20px); }
.hero.loaded [data-load] { opacity: 1; transform: none; transition: opacity .9s var(--ease), transform .9s var(--ease); }
.hero.loaded [data-load="1"] { transition-delay: .1s; }
.hero.loaded [data-load="2"] { transition-delay: .22s; }
.hero.loaded [data-load="3"] { transition-delay: .34s; }
.hero.loaded [data-load="4"] { transition-delay: .46s; }
.hero.loaded [data-load="5"] { transition-delay: .58s; }
.hero.loaded .chamber { transition-delay: .3s; }

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .hero__grid { grid-template-columns: 1fr; }
  .chamber { order: -1; min-height: 320px; margin-bottom: 8px; }
  .chamber svg { max-width: 260px; }
  .split, .contact-grid, .faq-cols { grid-template-columns: 1fr; }
  .faq-side { position: static; }
  .faq-cats { flex-direction: row; flex-wrap: wrap; }
  .elements { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .tiers { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .tier--featured { order: -1; }
  .compare-wrap { overflow-x: auto; }
  .compare { min-width: 620px; }

  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: flex; }
  .nav.open .nav__links {
    display: flex; flex-direction: column; align-items: flex-start; gap: 8px;
    position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(10,9,8,0.97); backdrop-filter: blur(16px);
    padding: 20px var(--pad) 28px; border-bottom: 1px solid var(--line);
  }
  .nav.open .nav__links a { font-size: 1rem; padding: 8px 0; }
  .nav.open .nav__cta { display: inline-flex; margin-top: 8px; }
}

@media (max-width: 560px) {
  .hero__strip { grid-template-columns: repeat(2, 1fr); }
  .field-row { grid-template-columns: 1fr; }
  .elements { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bot { flex-direction: column; align-items: flex-start; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .reveal, .hero [data-load] { opacity: 1 !important; transform: none !important; }
  .seal-ring, .seal-check { stroke-dashoffset: 0 !important; }
  .modal__seal::before { opacity: .5 !important; }
  #liquidLevel.filled { transform: translateY(172px) !important; }
}

/* ---------- Focus ---------- */
:focus-visible { outline: 2px solid var(--ember); outline-offset: 3px; border-radius: 2px; }
