/* ============================================================
   RIVAL ANALYTICS — design system
   White-dominant, hairline-bordered, intelligence-report aesthetic.
   Ranade (headings) / Inter (body). Accent: #FF7A00, used sparingly.
   ============================================================ */

:root {
  --bg: #ffffff;
  --bg-2: #f8f8f8;
  --ink: #161616;
  --ink-2: #6e6e6e;
  --ink-3: #9a9a9a;
  --line: #e5e5e5;
  --line-dark: #d6d6d6;
  --accent: #ff7a00;
  --accent-ink: #e56e00;
  --accent-soft: #fff3e8;
  --green: #1d9e5f;
  --radius: 5px;
  --font-head: "Ranade", "Inter", -apple-system, sans-serif;
  --font-body: "Inter", -apple-system, "Segoe UI", sans-serif;
  --container: 1168px;
  --shadow-lift: 0 10px 28px rgba(22, 22, 22, 0.07);
  --shadow-panel: 0 24px 60px rgba(22, 22, 22, 0.09);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- base ---------- */

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

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

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

img, svg { display: block; max-width: 100%; }

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

button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

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

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0;
}

p { margin: 0; }

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

.section { padding: 108px 0; }
.section--tight { padding: 84px 0; }
.section--grey { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* ---------- type helpers ---------- */

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin-bottom: 22px;
}
.kicker::before {
  content: "";
  width: 7px;
  height: 7px;
  background: var(--accent);
  flex: none;
}

.h-display {
  font-size: clamp(2.65rem, 5.4vw, 4.05rem);
  line-height: 1.06;
  letter-spacing: -0.025em;
}

.h-section {
  font-size: clamp(1.85rem, 3.4vw, 2.55rem);
  letter-spacing: -0.02em;
}

.h-sub {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 1.22rem;
  letter-spacing: -0.01em;
}

.lead {
  font-size: 1.13rem;
  line-height: 1.7;
  color: var(--ink-2);
}

.muted { color: var(--ink-2); }

.section-head { max-width: 640px; margin-bottom: 58px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .kicker { justify-content: center; }
.section-head .lead { margin-top: 18px; }

.accent-word {
  position: relative;
  white-space: nowrap;
}
.accent-word::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.04em;
  height: 3px;
  background: var(--accent);
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 26px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.005em;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: background 0.22s var(--ease), border-color 0.22s var(--ease),
              color 0.22s var(--ease), transform 0.22s var(--ease), box-shadow 0.22s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-ink); box-shadow: 0 8px 20px rgba(255, 122, 0, 0.28); }

.btn--ghost { background: var(--bg); color: var(--ink); border-color: var(--line-dark); }
.btn--ghost:hover { border-color: var(--ink); }

.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #000; }

.btn--sm { padding: 10px 18px; font-size: 14px; }
.btn--lg { padding: 16px 32px; font-size: 16px; }

.btn .arrow { transition: transform 0.22s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
  position: relative;
}
.text-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s var(--ease);
}
.text-link:hover::after { transform: scaleX(1); }

/* ---------- header ---------- */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 90;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 4px 18px rgba(22, 22, 22, 0.04);
}

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

.logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.16rem;
  letter-spacing: -0.01em;
}
.logo__mark {
  width: 12px;
  height: 12px;
  background: var(--accent);
  flex: none;
}
.logo__word span { font-weight: 500; color: var(--ink-2); }

.nav { display: flex; align-items: center; gap: 34px; }
.nav > .btn { display: none; }

.nav__link {
  position: relative;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-2);
  padding: 6px 0;
  transition: color 0.2s var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.26s var(--ease);
}
.nav__link:hover { color: var(--ink); }
.nav__link:hover::after,
.nav__link.is-active::after { transform: scaleX(1); }
.nav__link.is-active { color: var(--ink); }

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

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 0 9px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  transition: transform 0.25s var(--ease), opacity 0.2s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- hero ---------- */

.hero {
  position: relative;
  padding: 176px 0 116px;
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: 72px;
  align-items: center;
}
.hero h1 { max-width: 17ch; }
.hero .lead { max-width: 46ch; margin-top: 26px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.hero__note {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 34px;
  font-size: 13.5px;
  color: var(--ink-2);
}
.hero__note span { display: inline-flex; align-items: center; gap: 8px; }
.hero__note svg { color: var(--accent); flex: none; }

/* faint structural hairlines behind the hero */
.hero__lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}
.hero__lines i { border-left: 1px solid rgba(22, 22, 22, 0.035); }
.hero__lines i:last-child { border-right: 1px solid rgba(22, 22, 22, 0.035); }

/* ---------- console (hero dashboard mockup) ---------- */

.console-wrap { position: relative; }

.console {
  position: relative;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-panel);
  overflow: hidden;
}

.console__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 18px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
}
.console__title {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.console__status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--green);
}
.console__status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(29, 158, 95, 0.35); }
  55% { box-shadow: 0 0 0 6px rgba(29, 158, 95, 0); }
}

.console__body { padding: 6px 0 0; }

.feed-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: start;
  padding: 15px 18px;
  border-bottom: 1px solid var(--line);
}
.feed-item:last-child { border-bottom: 0; }

.feed-item__tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 8px;
  border: 1px solid var(--line-dark);
  border-radius: 3px;
  color: var(--ink-2);
  margin-top: 2px;
  min-width: 64px;
  text-align: center;
}
.feed-item__tag--hot { border-color: var(--accent); color: var(--accent-ink); background: var(--accent-soft); }

.feed-item__text { font-size: 13.5px; line-height: 1.5; }
.feed-item__text strong { font-weight: 600; }
.feed-item__meta { font-size: 12px; color: var(--ink-3); margin-top: 3px; }

.feed-item__impact {
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-3);
  white-space: nowrap;
  margin-top: 4px;
}
.feed-item__impact--high { color: var(--accent-ink); }

.console__chart {
  padding: 16px 18px 18px;
  border-top: 1px solid var(--line);
  background: var(--bg-2);
}
.console__chart-label {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin-bottom: 10px;
}
.console__chart-label b { color: var(--accent-ink); letter-spacing: 0; }

/* floating recommendation card */
.action-card {
  position: absolute;
  right: -26px;
  bottom: -34px;
  width: 300px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lift);
  padding: 16px 18px;
}
.action-card__label {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-ink);
  margin-bottom: 7px;
}
.action-card p { font-size: 13.5px; line-height: 1.55; }

/* ---------- reviews ---------- */

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

.review {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 32px 30px;
  display: flex;
  flex-direction: column;
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease), border-color 0.28s var(--ease);
}
.review:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); border-color: var(--line-dark); }

.review__stars { display: flex; gap: 3px; color: var(--accent); margin-bottom: 20px; }

.review__quote {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 1.22rem;
  line-height: 1.42;
  letter-spacing: -0.01em;
  flex: 1;
}

.review__who {
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
}
.review__who b { display: block; font-weight: 600; }
.review__who span { color: var(--ink-2); }

/* ---------- pricing ---------- */

.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
}

.plan {
  position: relative;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 38px 34px 34px;
  display: flex;
  flex-direction: column;
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease), border-color 0.28s var(--ease);
}
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }

.plan--featured {
  border-color: var(--ink);
  box-shadow: var(--shadow-lift);
}
.plan--featured::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  height: 3px;
  background: var(--accent);
  border-radius: var(--radius) var(--radius) 0 0;
}
.plan--featured:hover { transform: translateY(-6px); }

.plan__flag {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-ink);
  background: var(--accent-soft);
  border: 1px solid rgba(255, 122, 0, 0.35);
  border-radius: 3px;
  padding: 4px 9px;
}

.plan__name { font-family: var(--font-head); font-weight: 600; font-size: 1.18rem; }
.plan__for { font-size: 13.5px; color: var(--ink-2); margin-top: 6px; min-height: 42px; }

.plan__price {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 2.9rem;
  letter-spacing: -0.03em;
  margin: 20px 0 4px;
}
.plan__price span { font-size: 1rem; font-weight: 500; color: var(--ink-2); letter-spacing: 0; }

.plan__cycle { font-size: 12.5px; color: var(--ink-3); }

.plan__list {
  list-style: none;
  margin: 26px 0 30px;
  padding: 24px 0 0;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 12px;
  flex: 1;
}
.plan__list li {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  font-size: 14px;
  color: var(--ink);
}
.plan__list svg { flex: none; margin-top: 3px; color: var(--accent); }

.plan .btn { width: 100%; }

/* comparison table */

.compare { margin-top: 74px; }
.compare__scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }

.compare table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-size: 14px;
  background: var(--bg);
}
.compare th, .compare td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}
.compare thead th {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 14.5px;
  background: var(--bg-2);
  border-bottom: 1px solid var(--line-dark);
}
.compare tbody tr:last-child td { border-bottom: 0; }
.compare tbody tr:hover td { background: #fcfcfc; }
.compare td:first-child { color: var(--ink-2); font-weight: 500; width: 34%; }
.compare th:not(:first-child), .compare td:not(:first-child) { text-align: center; width: 22%; }
.compare .col-featured { background: #fffaf5; }
.compare thead .col-featured { background: #fff3e8; }

.tick, .cross {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
}
.tick { color: var(--accent); }
.cross { color: #c8c8c8; }

/* ---------- value trio / feature cards ---------- */

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

.value-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 38px 34px;
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease), border-color 0.28s var(--ease);
}
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); border-color: var(--line-dark); }

.value-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--accent);
  margin-bottom: 24px;
  background: var(--bg);
}
.value-card h3 { font-size: 1.24rem; margin-bottom: 12px; }
.value-card p { font-size: 15px; color: var(--ink-2); }

/* ---------- how it works ---------- */

.steps { max-width: 720px; margin: 0 auto; }

.step {
  position: relative;
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 28px;
  padding-bottom: 46px;
}
.step:last-child { padding-bottom: 0; }
.step::before {
  content: "";
  position: absolute;
  left: 31px;
  top: 64px;
  bottom: 8px;
  width: 1px;
  background: var(--line);
}
.step:last-child::before { display: none; }

.step__num {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--accent-ink);
  flex: none;
}

.step__body { padding-top: 8px; }
.step__body h3 { font-size: 1.18rem; margin-bottom: 8px; }
.step__body p { font-size: 15px; color: var(--ink-2); max-width: 52ch; }

/* ---------- monitor grid (hairline cells) ---------- */

.cells {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.cell {
  background: var(--bg);
  padding: 30px 26px;
  transition: background 0.25s var(--ease);
}
.cell:hover { background: var(--bg-2); }
.cell:hover .cell__icon { color: var(--accent); }

.cell__icon { color: var(--ink-2); margin-bottom: 16px; transition: color 0.25s var(--ease); }
.cell h3 { font-size: 1.02rem; font-weight: 600; margin-bottom: 6px; }
.cell p { font-size: 13.5px; color: var(--ink-2); line-height: 1.55; }

/* ---------- report mockup ---------- */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 76px;
  align-items: center;
}

.split__copy .lead { margin-top: 18px; }
.split__copy .btn { margin-top: 34px; }

.report-doc {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-panel);
  padding: 40px 42px 44px;
  position: relative;
  overflow: hidden;
}

.report-doc__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--ink);
  margin-bottom: 24px;
}
.report-doc__brand { display: flex; align-items: center; gap: 9px; font-family: var(--font-head); font-weight: 600; font-size: 0.98rem; }
.report-doc__brand i { width: 9px; height: 9px; background: var(--accent); }
.report-doc__stamp {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-2);
  border: 1px solid var(--line-dark);
  border-radius: 3px;
  padding: 4px 9px;
}

.report-doc__meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 28px;
}
.report-doc__meta div { font-size: 12px; color: var(--ink-2); }
.report-doc__meta b { display: block; font-size: 12.5px; color: var(--ink); font-weight: 600; margin-top: 2px; }

.report-doc h4 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-ink);
  margin: 24px 0 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.report-doc h4::after { content: ""; height: 1px; background: var(--line); flex: 1; }

.report-doc ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.report-doc li { font-size: 13.5px; line-height: 1.55; display: flex; gap: 10px; }
.report-doc li::before { content: ""; width: 5px; height: 5px; background: var(--ink); margin-top: 8px; flex: none; }

.redacted { filter: blur(5px); user-select: none; pointer-events: none; }

.report-doc__fade {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 110px;
  background: linear-gradient(to bottom, rgba(255,255,255,0), #fff 78%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 22px;
}
.report-doc__fade span {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-2);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.report-doc__fade span i { width: 6px; height: 6px; background: var(--accent); }

/* ---------- different / list ---------- */

.diff-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.diff-list li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.diff-list svg { color: var(--accent); margin-top: 3px; }
.diff-list b { display: block; font-family: var(--font-head); font-weight: 600; font-size: 1.02rem; margin-bottom: 3px; }
.diff-list p { font-size: 14px; color: var(--ink-2); }

.data-vs {
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  font-size: 13.5px;
}
.data-vs > div { background: var(--bg); padding: 22px 24px; }
.data-vs .is-them { background: var(--bg-2); color: var(--ink-2); }
.data-vs h5 {
  margin: 0 0 12px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.data-vs .is-them h5 { color: var(--ink-3); }
.data-vs .is-us h5 { color: var(--accent-ink); }
.data-vs ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }

/* ---------- industries ---------- */

.industries {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.industry {
  background: var(--bg);
  padding: 26px 26px;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 1.02rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: background 0.25s var(--ease), color 0.2s;
}
.industry svg { color: var(--ink-3); flex: none; transition: transform 0.25s var(--ease), color 0.2s; }
.industry:hover { background: var(--bg-2); }
.industry:hover svg { color: var(--accent); transform: translateX(3px); }

/* industry detail cards (industries page) */
.industry-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.industry-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 30px;
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease);
}
.industry-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.industry-card h3 { font-size: 1.12rem; margin-bottom: 10px; }
.industry-card p { font-size: 14px; color: var(--ink-2); }
.industry-card__tag {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 14px;
}

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

.faq { max-width: 760px; margin: 0 auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); }

.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 0; }

.faq-item__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  text-align: left;
  padding: 22px 26px;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 1.06rem;
  letter-spacing: -0.01em;
  transition: color 0.2s;
}
.faq-item__q:hover { color: var(--accent-ink); }

.faq-item__icon { flex: none; position: relative; width: 14px; height: 14px; }
.faq-item__icon::before, .faq-item__icon::after {
  content: "";
  position: absolute;
  background: var(--ink-2);
  transition: transform 0.28s var(--ease), background 0.2s;
}
.faq-item__icon::before { left: 0; top: 6px; width: 14px; height: 2px; }
.faq-item__icon::after { left: 6px; top: 0; width: 2px; height: 14px; }
.faq-item.is-open .faq-item__icon::after { transform: scaleY(0); }
.faq-item.is-open .faq-item__icon::before { background: var(--accent); }

.faq-item__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.34s var(--ease);
}
.faq-item__a p {
  padding: 0 26px 24px;
  font-size: 15px;
  color: var(--ink-2);
  max-width: 62ch;
}

/* ---------- CTA band ---------- */

.cta-band {
  background: var(--ink);
  color: #fff;
  padding: 108px 0;
}
.cta-band__inner { max-width: 700px; margin: 0 auto; text-align: center; }
.cta-band .kicker { color: rgba(255, 255, 255, 0.65); justify-content: center; }
.cta-band h2 { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -0.02em; }
.cta-band .lead { color: rgba(255, 255, 255, 0.68); margin-top: 20px; }
.cta-band .btn { margin-top: 38px; }
.cta-band__small { margin-top: 18px; font-size: 13px; color: rgba(255, 255, 255, 0.45); }

/* ---------- footer ---------- */

.footer { border-top: 1px solid var(--line); background: var(--bg); padding: 72px 0 0; }

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
}
.footer__brand p { margin-top: 16px; font-size: 14px; color: var(--ink-2); max-width: 30ch; }

.footer h4 {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 18px;
}
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.footer ul a { font-size: 14.5px; color: var(--ink-2); transition: color 0.2s; }
.footer ul a:hover { color: var(--ink); }

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink-3);
}
.footer__legal nav { display: flex; gap: 22px; }
.footer__legal a { color: var(--ink-2); }
.footer__legal a:hover { color: var(--ink); }

/* ---------- page hero (subpages) ---------- */

.page-hero { padding: 168px 0 76px; border-bottom: 1px solid var(--line); }
.page-hero h1 { max-width: 17ch; }
.page-hero .lead { max-width: 56ch; margin-top: 22px; }

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

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 64px;
  align-items: start;
}

.form-card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 40px; }

.field { display: grid; gap: 8px; margin-bottom: 22px; }
.field label { font-size: 13.5px; font-weight: 600; }
.field input, .field select, .field textarea {
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  padding: 12px 14px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: var(--bg);
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255, 122, 0, 0.14);
}
.field textarea { resize: vertical; min-height: 130px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.contact-aside > div {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 30px;
  margin-bottom: 20px;
  background: var(--bg);
}
.contact-aside h3 { font-size: 1.06rem; margin-bottom: 8px; }
.contact-aside p { font-size: 14px; color: var(--ink-2); }
.contact-aside a.text-link { margin-top: 12px; }

.form-note { font-size: 13px; color: var(--ink-3); margin-top: 16px; }

/* ---------- stats strip ---------- */

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.stat { background: var(--bg); padding: 34px 32px; }
.stat b {
  display: block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 2.2rem;
  letter-spacing: -0.02em;
}
.stat b i { font-style: normal; color: var(--accent); }
.stat span { font-size: 13.5px; color: var(--ink-2); }

/* ---------- reveal on scroll ---------- */

html.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: var(--d, 0s);
}
html.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .console__status i { animation: none; }
  * { transition-duration: 0.01ms !important; }
}

/* ---------- responsive ---------- */

@media (max-width: 1080px) {
  .hero__grid { gap: 48px; }
  .action-card { right: 0; bottom: -30px; }
}

@media (max-width: 960px) {
  .section { padding: 84px 0; }
  .hero { padding: 148px 0 96px; }
  .hero__grid { grid-template-columns: 1fr; gap: 64px; }
  .hero h1, .hero .lead { max-width: 60ch; }
  .console-wrap { max-width: 620px; }
  .split { grid-template-columns: 1fr; gap: 52px; }
  .cells { grid-template-columns: repeat(3, 1fr); }
  .industries { grid-template-columns: repeat(3, 1fr); }
  .industry-cards { grid-template-columns: repeat(2, 1fr); }
  .trio, .reviews-grid, .plans { grid-template-columns: 1fr; max-width: 560px; margin-left: auto; margin-right: auto; }
  .plan--featured { order: -1; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }

  .nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg);
    border-top: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 18px 28px;
    transform: translateX(100%);
    transition: transform 0.3s var(--ease);
    overflow-y: auto;
  }
  .nav.is-open { transform: none; }
  .nav__link { width: 100%; padding: 16px 0; font-size: 1.1rem; border-bottom: 1px solid var(--line); }
  .nav__link::after { display: none; }
  .nav-toggle { display: flex; }
  .header__cta .btn { display: none; }
  .nav .btn { display: inline-flex; margin-top: 22px; width: 100%; }
}

@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .section { padding: 68px 0; }
  .hero { padding: 128px 0 80px; }
  .cells { grid-template-columns: 1fr 1fr; }
  .industries { grid-template-columns: 1fr 1fr; }
  .industry-cards { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .report-doc { padding: 28px 24px 36px; }
  .report-doc__meta { grid-template-columns: 1fr 1fr; }
  .action-card { position: static; width: auto; margin-top: 18px; }
  .field-row { grid-template-columns: 1fr; }
  .data-vs { grid-template-columns: 1fr; }
  .step { grid-template-columns: 48px 1fr; gap: 18px; }
  .step__num { width: 48px; height: 48px; font-size: 0.95rem; }
  .step::before { left: 23px; top: 48px; }
  .footer__grid { grid-template-columns: 1fr; gap: 36px; }
  .footer__legal { flex-direction: column; align-items: flex-start; }
  .hero__actions .btn { width: 100%; }
}
