/* ConsentCure marketing site — design system
   Palette drawn from the ConsentCure logo (cyan → blue) on Stripe-style ink/tint neutrals.
   Max font weight is 600 by design. */

:root {
  --ink: #0a2540;
  --body: #425466;
  --muted: #697386;
  --bg: #ffffff;
  --tint: #f6f9fc;
  --border: rgba(10, 37, 64, 0.10);
  --border-soft: rgba(10, 37, 64, 0.07);

  /* brand gradient endpoints match archive/consentcure-website tokens */
  --blue: #2563eb;
  --blue-deep: #1d4ed8;
  --cyan-mid: #0ea5e9;
  --cyan: #06b6d4;
  --grad: linear-gradient(120deg, var(--blue), var(--cyan-mid) 55%, var(--cyan));

  --green: #12b76a;
  --amber: #f59e0b;
  --red: #ef4444;

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

  --shadow-sm: 0 1px 2px rgba(10, 37, 64, 0.06), 0 1px 4px rgba(10, 37, 64, 0.06);
  --shadow-md: 0 6px 12px rgba(10, 37, 64, 0.06), 0 12px 32px rgba(10, 37, 64, 0.09);
  --shadow-lg: 0 16px 32px rgba(10, 37, 64, 0.08), 0 32px 64px rgba(10, 37, 64, 0.12);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;

  --container: 1140px;
}

/* ---------- reset ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  background: var(--bg);
  overscroll-behavior-y: none;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  color: var(--body);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overscroll-behavior-y: none;
}

/* subtle grain overlay for premium texture */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font-family: inherit; }
code { font-family: var(--font-mono); }

h1, h2, h3, h4 {
  color: var(--ink);
  margin: 0 0 0.5em;
  line-height: 1.18;
  font-weight: 600;
}

p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { transition: none !important; transform: none !important; }
  .mock-float, .hero__wash { animation: none !important; }
  .timer__num { animation: none !important; }
  .check-actor__pulse::after { animation: none !important; }
}

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

h1, .h1 {
  font-size: clamp(2.1rem, 1.5rem + 2.4vw, 3.4rem);
  letter-spacing: -0.03em;
  line-height: 1.08;
}

h2, .h2 {
  font-size: clamp(1.6rem, 1.35rem + 1vw, 2.25rem);
  letter-spacing: -0.02em;
}

h3, .h3 {
  font-size: 1.125rem;
  letter-spacing: -0.01em;
}

.lede {
  font-size: clamp(1.02rem, 0.97rem + 0.25vw, 1.2rem);
  color: var(--body);
  max-width: 42em;
}

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--blue);
  font-weight: 500;
  text-decoration: none;
}
.text-link:hover { text-decoration: underline; }

/* ---------- layout ---------- */

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

.container--narrow { max-width: 800px; }

.section { padding: 52px 0; }
.section--alt { background: var(--tint); }

#industries.section--alt {
  position: relative;
  overflow: hidden;
  //background: var(--bg);
}
/* tinted echoes of the hero wash: same -13° plane, line texture and palette,
   peeking into How-it-works (left) and Industries (right) */
#industries.section--alt::before {
  content: "";
  position: absolute;
  top: -55%;
  right: -22%;
  width: 58%;
  height: 130%;
  transform: rotate(-13deg);
  border-radius: 48px;
  background-image:
    repeating-linear-gradient(120deg,
      rgba(10, 37, 64, 0.04) 0px, rgba(10, 37, 64, 0.04) 1px,
      transparent 1px, transparent 7px),
    linear-gradient(120deg, rgba(37, 99, 235, 0.10) 0%, rgba(14, 165, 233, 0.10) 45%, rgba(6, 182, 212, 0.16) 100%);
  pointer-events: none;
}
#industries.section--alt .container { position: relative; z-index: 1; }

#how.section {
  position: relative;
  overflow: hidden;
}
#how.section::before {
  content: "";
  position: absolute;
  top: -55%;
  left: -22%;
  width: 58%;
  height: 130%;
  transform: rotate(-13deg);
  border-radius: 48px;
  background-image:
    repeating-linear-gradient(120deg,
      rgba(10, 37, 64, 0.04) 0px, rgba(10, 37, 64, 0.04) 1px,
      transparent 1px, transparent 7px),
    linear-gradient(120deg, rgba(6, 182, 212, 0.16) 0%, rgba(14, 165, 233, 0.10) 55%, rgba(37, 99, 235, 0.10) 100%);
  pointer-events: none;
}
#how.section .container { position: relative; z-index: 1; }
.section--tight { padding: 40px 0; }

.section-head { max-width: 640px; margin: 0 0 36px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }

@media (min-width: 900px) {
  .section { padding: 72px 0; }
}

/* ---------- nav ---------- */

.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-soft);
  padding-top: env(safe-area-inset-top, 0);
}

.site-nav__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 24px;
  max-width: var(--container);
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
}

.brand img { flex-shrink: 0; }

.site-nav__links {
  display: none;
  align-items: center;
  gap: 28px;
  font-size: 0.9375rem;
  font-weight: 500;
}

.site-nav__links a {
  text-decoration: none;
  color: var(--body);
  padding: 6px 0;
  transition: color 0.15s ease;
}
.site-nav__links a:hover { color: var(--ink); }

.site-nav__actions { display: none; align-items: center; }

.site-nav__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--ink);
  cursor: pointer;
}
.site-nav__toggle svg { width: 22px; height: 22px; }

.site-nav__mobile {
  display: none;
  flex-direction: column;
  padding: 4px 24px 16px;
  border-top: 1px solid var(--border-soft);
}
.site-nav__mobile.is-open { display: flex; }
.site-nav__mobile a {
  text-decoration: none;
  color: var(--body);
  padding: 12px 4px;
  min-height: 44px;
  display: flex;
  align-items: center;
  font-weight: 500;
  border-bottom: 1px solid var(--border-soft);
}
.site-nav__mobile a:last-child { border-bottom: none; }

@media (min-width: 900px) {
  .site-nav__links, .site-nav__actions { display: flex; }
  .site-nav__toggle { display: none; }
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 20px;
  border-radius: 10px;
  font-weight: 500;
  font-size: 0.9375rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.btn--lg { min-height: 48px; padding: 12px 26px; font-size: 1rem; }
.btn--block { width: 100%; }

.btn:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

.btn--primary {
  background: var(--grad);
  background-size: 160% 100%;
  background-position: 0% 0%;
  color: #fff;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.25);
  transition: background-position 0.25s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.btn--primary:hover {
  background-position: 90% 0%;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.35);
}

.btn--secondary {
  background: var(--bg);
  color: var(--ink);
  border-color: var(--border);
}
.btn--secondary:hover { border-color: var(--blue); color: var(--blue); }

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

.hero {
  position: relative;
  overflow: hidden;
  padding: 64px 0 72px;
}

/* animated backdrop: two slow-drifting gradient blobs + a faint dot grid */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(37, 99, 235, 0.06) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(720px 480px at 65% 30%, #000 0%, transparent 75%);
  mask-image: radial-gradient(720px 480px at 65% 30%, #000 0%, transparent 75%);
  pointer-events: none;
}

/* Stripe-style rotated gradient plane (from the archived stripe-gradient
   variation), recoloured to the brand blue→cyan and kept light */
.hero__wash {
  position: absolute;
  top: -30%;
  right: -18%;
  width: 90%;
  height: 130%;
  transform: rotate(-13deg);
  border-radius: 48px;
  background: linear-gradient(120deg, rgba(37, 99, 235, 0.10) 0%, rgba(14, 165, 233, 0.10) 45%, rgba(6, 182, 212, 0.16) 100%);
  animation: wash-shift 22s ease-in-out infinite;
  pointer-events: none;
  will-change: transform;
}

/* fine diagonal-line texture on the wash, like Stripe's guilloche detail */
.hero__wash::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background-image: repeating-linear-gradient(120deg,
    rgba(10, 37, 64, 0.045) 0px, rgba(10, 37, 64, 0.045) 1px,
    transparent 1px, transparent 7px);
  mix-blend-mode: multiply;
}

@keyframes wash-shift {
  0%, 100% { transform: rotate(-13deg) translate(0, 0); }
  50%      { transform: rotate(-13deg) translate(-2%, 2%); }
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: center;
}

@media (min-width: 980px) {
  .hero { padding: 92px 0 104px; }
  .hero__grid { grid-template-columns: 11fr 9fr; }
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.hero__deadline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 26px 0 0;
  font-size: 0.9rem;
  font-weight: 500;
  color: #b45309;
}
.hero__deadline svg { width: 17px; height: 17px; flex-shrink: 0; color: var(--amber); }
.hero__deadline strong { color: #b45309; font-weight: 600; }

/* ---------- hero mock (stylised product representation) ---------- */

.hero__visual { position: relative; }

.mock {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.mock__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-bottom: 1px solid var(--border-soft);
  background: var(--tint);
}

.mock__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(10, 37, 64, 0.14);
}

.mock__url {
  margin-left: 10px;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  color: var(--muted);
  background: var(--bg);
  border: 1px solid var(--border-soft);
  border-radius: 6px;
  padding: 2px 9px;
}

.mock__body { padding: 15px; }

.mock__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.mock__title { font-weight: 600; color: var(--ink); font-size: 0.85rem; }

.mock__kpis {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 7px;
  margin-bottom: 12px;
}

/* Only switch to a single row of 4 once the card is wide enough (near
   full desktop container width) that tile labels won't wrap awkwardly;
   every narrower size — phones, tablets, and the ~980-1180px window where
   the two-column hero layout first kicks in — keeps the safe 2x2 grid. */
@media (min-width: 1180px) {
  .mock__kpis { grid-template-columns: repeat(4, 1fr); }
}

.mock__kpi {
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  padding: 8px 9px;
  background: var(--tint);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.mock__kpi strong {
  display: block;
  clear: both;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: -0.01em;
  margin-top: 2px;
}

.mock__kpi span:last-child { font-size: 0.64rem; color: var(--muted); }

.mock__kpi-delta {
  float: right;
  font-size: 0.58rem;
  padding: 1px 6px;
  margin-left: 6px;
}

.mock__table { width: 100%; margin-top: 4px; }

.mock__row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 4px;
  align-items: center;
  padding: 5px 6px;
  border-radius: 6px;
  font-size: 0.72rem;
  color: var(--body);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.mock__row--head {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--tint);
  border-radius: 5px;
  margin-bottom: 4px;
}

.mock__row-id { font-weight: 700; color: var(--ink); }

.mock__table .badge { font-size: 0.6rem; padding: 2px 7px; }

/* ---- hero dashboard entrance: KPIs and table rows animate in once, the
   first time the hero is in view (it's above the fold, so this plays
   right on load). Visible/complete by default (no-JS safe). ---- */

.reveal.js-enabled .mock__kpi { opacity: 0; transform: scale(0.94); }
.reveal.js-enabled .mock__row:not(.mock__row--head) { opacity: 0; transform: translateX(-8px); }

.reveal.is-visible .mock__kpi { opacity: 1; transform: none; }
.reveal.is-visible .mock__row:not(.mock__row--head) { opacity: 1; transform: none; }

.reveal.is-visible .mock__kpi:nth-child(1) { transition-delay: 0.35s; }
.reveal.is-visible .mock__kpi:nth-child(2) { transition-delay: 0.45s; }
.reveal.is-visible .mock__kpi:nth-child(3) { transition-delay: 0.55s; }
.reveal.is-visible .mock__kpi:nth-child(4) { transition-delay: 0.65s; }

.reveal.is-visible .mock__row:nth-child(2) { transition-delay: 0.8s; }
.reveal.is-visible .mock__row:nth-child(3) { transition-delay: 0.92s; }
.reveal.is-visible .mock__row:nth-child(4) { transition-delay: 1.04s; }
.reveal.is-visible .mock__row:nth-child(5) { transition-delay: 1.16s; }

.mock-float {
  position: absolute;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 999px;
  box-shadow: var(--shadow-md);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--ink);
  padding: 8px 14px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.mock-float svg { width: 14px; height: 14px; color: var(--green); }

.mock-float--check { top: -16px; right: 8px; animation: chip-float 6s ease-in-out infinite; }
.mock-float--chain {
  bottom: -14px;
  left: 12px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--blue-deep);
  animation: chip-float 6s ease-in-out 1.4s infinite;
}

@keyframes chip-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-10px) rotate(-1deg); }
}

/* solid accent shape peeking out behind the mock (from the mercury variation) */
.mock-accent {
  position: absolute;
  top: -22px;
  right: -26px;
  width: 62%;
  height: 58%;
  border-radius: 28px;
  background: var(--grad);
  opacity: 0.9;
  transform: rotate(6deg);
  z-index: -1;
}

/* ---------- client proof ---------- */

.proof {
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  padding: 40px 0;
  background: var(--bg);
}

.proof__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px 40px;
}

.proof__label {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
}

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

.proof__client img { height: 26px; width: auto; }

.proof__meta {
  font-size: 0.875rem;
  color: var(--body);
  border-left: 1px solid var(--border);
  padding-left: 14px;
}

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

.stat-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  text-align: center;
}

.stat-row > .stat:last-child:nth-child(odd) { grid-column: 1 / -1; }

@media (min-width: 760px) {
  .stat-row { grid-template-columns: repeat(5, 1fr); }
  .stat-row > .stat:last-child:nth-child(odd) { grid-column: auto; }
}

.stat strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat span { font-size: 0.85rem; color: var(--muted); }

@media (min-width: 760px) {
  .stat-row--divided .stat {
    border-left: 1px solid var(--border);
  }
  .stat-row--divided .stat:first-child { border-left: none; }
}

/* ---------- cards & grids ---------- */

.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 640px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 980px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
}

.grid--deployment {
  max-width: 880px;
  margin-inline: auto;
}

.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: rgba(43, 99, 224, 0.25);
}

.card p:last-child { margin-bottom: 0; }

.card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(43, 99, 224, 0.07);
  color: var(--blue);
  margin-bottom: 18px;
}
.card__icon svg { width: 22px; height: 22px; }

.card__icon--warn { background: rgba(245, 158, 11, 0.12); color: var(--amber); }

/* soft-fill variant — icon + heading + copy on a tinted panel, no border/shadow (own palette, not mercury's) */
.card--plain {
  background: var(--tint);
  border: none;
  box-shadow: none;
  border-radius: var(--radius-md);
  padding: 24px;
}
.card--plain:hover { box-shadow: none; transform: none; }

/* deployment cards flex so tags align along the bottom of the row */
#deployment .card { display: flex; flex-direction: column; align-items: flex-start; }
#deployment .card__tag { margin-top: auto; }

.card__tag {
  display: inline-block;
  margin-top: 14px;
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--blue-deep);
  background: rgba(43, 99, 224, 0.07);
  border-radius: var(--radius-sm);
  padding: 5px 12px;
}

/* ---------- split sections ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 44px;
  align-items: center;
}

@media (min-width: 980px) {
  .split { grid-template-columns: 1fr 1fr; gap: 64px; }
}

/* ---------- pillar feature ticks ---------- */

.pillar-ticks {
  display: grid;
  grid-template-columns: 1fr;
  gap: 13px;
  margin-top: 24px;
}

@media (min-width: 560px) {
  .pillar-ticks { grid-template-columns: repeat(2, 1fr); gap: 13px 20px; }
}

.pillar-ticks li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  line-height: 1.4;
}

.pillar-ticks svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--blue);
}

.pillar-ticks span { display: flex; flex-direction: column; gap: 1px; }
.pillar-ticks strong { color: var(--ink); font-weight: 600; font-size: 0.875rem; }
.pillar-ticks em { color: var(--muted); font-size: 0.82rem; font-style: normal; }

.split__panel {
  display: grid;
  gap: 12px;
}

.check-row {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  padding: 14px 16px;
}

.check-row__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.check-row__channel { font-size: 0.85rem; font-weight: 500; color: var(--ink); }

.check-row__result {
  font-size: 0.85rem;
  color: var(--body);
  display: flex;
  align-items: center;
  gap: 10px;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.check-row__result code {
  font-size: 0.72rem;
  color: var(--muted);
  background: var(--tint);
  border-radius: 5px;
  padding: 2px 7px;
}

.check-row__result--ok { color: var(--green); font-weight: 500; }
.check-row__result--blocked { color: var(--red); font-weight: 500; }
.check-row--bulk .check-row__result { color: var(--body); }

/* ---- single shared "actor" that verifies every row below it ---- */

.check-actor {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 2px 2px 4px;
}

.check-actor__icon { width: 16px; height: 16px; flex-shrink: 0; color: var(--blue-deep); }

.check-actor__name {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--blue-deep);
}

.check-actor__pulse {
  position: relative;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
  flex-shrink: 0;
}

.check-actor__pulse::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1.5px solid var(--blue);
  animation: check-actor-ping 1.8s ease-out infinite;
}

@keyframes check-actor-ping {
  0%   { transform: scale(0.6); opacity: 0.8; }
  100% { transform: scale(1.8); opacity: 0; }
}

/* ---- rows resolve to their outcome once the panel scrolls into view,
   as if the actor above checked each one in turn. Visible/complete by
   default (no-JS safe). ---- */

.reveal.js-enabled .check-row__result { opacity: 0; transform: translateY(4px); }

.reveal.is-visible .check-row__result { opacity: 1; transform: none; }

.reveal.is-visible .check-row:nth-child(2) .check-row__result { transition-delay: 0.5s; }
.reveal.is-visible .check-row:nth-child(3) .check-row__result { transition-delay: 1s; }
.reveal.is-visible .check-row:nth-child(4) .check-row__result { transition-delay: 1.5s; }

/* ---------- badges ---------- */

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 999px;
  white-space: nowrap;
}

.badge--green { background: rgba(18, 183, 106, 0.1); color: #0e9257; }
.badge--amber { background: rgba(245, 158, 11, 0.12); color: #b45309; }
.badge--red { background: rgba(239, 68, 68, 0.1); color: #dc2626; }
.badge--blue { background: rgba(43, 99, 224, 0.08); color: var(--blue-deep); }

/* ---------- steps ---------- */

.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .steps { grid-template-columns: repeat(4, 1fr); } }

.step {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 26px 24px;
  background: var(--bg);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.step:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: rgba(43, 99, 224, 0.25);
}

.step__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(43, 99, 224, 0.07);
  color: var(--blue);
  margin-bottom: 18px;
}
.step__icon svg { width: 22px; height: 22px; }

.step p { margin-bottom: 0; font-size: 0.925rem; }

.step__connector { display: none; }

@media (min-width: 980px) {
  .step__connector {
    display: block;
    position: absolute;
    top: 44px;
    right: -21px;
    width: 20px;
    height: 6px;
    overflow: visible;
  }
  .step__connector line {
    stroke: var(--blue);
    stroke-opacity: 0.4;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-dasharray: 20;
    stroke-dashoffset: 0; /* visible by default — no-JS safe, matches .reveal convention */
  }
  #how.js-enabled .step__connector line {
    stroke-dashoffset: 20;
    transition: stroke-dashoffset 0.6s ease;
  }
  #how.js-enabled .step:nth-child(1) .step__connector line { transition-delay: 0.15s; }
  #how.js-enabled .step:nth-child(2) .step__connector line { transition-delay: 0.35s; }
  #how.js-enabled .step:nth-child(3) .step__connector line { transition-delay: 0.55s; }
  #how.is-visible .step__connector line { stroke-dashoffset: 0; }
}

/* ---------- FAQ (two-column: accordion + sticky side panel) ---------- */

.faq-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
}

@media (min-width: 980px) {
  .faq-wrap { grid-template-columns: 1fr 340px; gap: 64px; }
  .faq-panel { position: sticky; top: 92px; }
}

.faq-panel { display: flex; flex-direction: column; gap: 16px; }

.faq-panel__card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.faq-panel__card h3 { font-size: 1rem; margin-bottom: 6px; }
.faq-panel__card > p { font-size: 0.85rem; color: var(--muted); margin-bottom: 16px; }

.faq-fact {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-soft);
}
.faq-fact:last-child { border-bottom: none; padding-bottom: 0; }
.faq-fact svg { width: 16px; height: 16px; color: var(--blue); flex-shrink: 0; margin-top: 2px; }
.faq-fact strong { display: block; font-size: 0.85rem; font-weight: 600; color: var(--ink); }
.faq-fact span { font-size: 0.78rem; color: var(--muted); }

.faq { display: grid; gap: 0; }

.faq details {
  border-bottom: 1px solid var(--border-soft);
  background: transparent;
  padding: 0 2px;
}

.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  min-height: 44px;
  transition: color 0.15s ease;
}

.faq summary:hover { color: var(--blue); }

.faq summary::-webkit-details-marker { display: none; }

.faq__icon {
  position: relative;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
}

.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  background: var(--blue);
  border-radius: 2px;
  transition: transform 0.2s ease;
}
.faq__icon::before { width: 12px; height: 2px; }
.faq__icon::after { width: 2px; height: 12px; }
.faq details[open] .faq__icon::after { transform: rotate(90deg); }

.faq details p { padding: 0 0 18px; margin: 0; font-size: 0.95rem; }

/* ---------- contact (gradient band, per archived version) ---------- */

.section--contact {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--blue), var(--cyan-mid) 60%, var(--cyan));
}

.section--contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 10% 50%, rgba(255, 255, 255, 0.08), transparent 55%),
    radial-gradient(ellipse at 90% 20%, rgba(0, 0, 0, 0.10), transparent 55%);
  pointer-events: none;
}

/* fine diagonal-line texture, shared with .hero__wash::after for a consistent accent */
.section--contact::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(120deg,
    rgba(255, 255, 255, 0.05) 0px, rgba(255, 255, 255, 0.05) 1px,
    transparent 1px, transparent 7px);
  pointer-events: none;
}

.section--contact .container { position: relative; z-index: 1; }

.split--contact { align-items: start; }

.section--contact h2,
.section--contact p { color: #fff; }

.section--contact .split__copy > p { color: rgba(255, 255, 255, 0.82); }

.eyebrow--on-dark { color: rgba(255, 255, 255, 0.85); }

.tick-list { display: grid; gap: 12px; margin: 26px 0; }

.tick-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
}

.tick-list svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 3px;
}

.split__alt-contact { font-size: 0.9rem; color: rgba(255, 255, 255, 0.65) !important; }
.split__alt-contact a { color: #fff; font-weight: 500; }

/* ---------- form ---------- */

.form-card {
  background: var(--bg);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 28px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0 16px;
}

@media (min-width: 560px) {
  .form-row { grid-template-columns: 1fr 1fr; }
}

.form-field { margin-bottom: 16px; }

.form-field label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 6px;
}

.form-optional { color: var(--muted); font-weight: 400; }

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--bg);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-field textarea { resize: vertical; min-height: 80px; }

.form-field select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23697386' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 18px;
  cursor: pointer;
}

.form-field select:invalid { color: var(--muted); }

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(43, 99, 224, 0.15);
}

.form-hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-privacy,
.section--contact .form-privacy {
  margin: 12px 0 0;
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--muted);
  text-align: center;
}
.form-privacy a { color: var(--body); }
.form-privacy a:hover { color: var(--blue); }

.form-status {
  text-align: center;
  font-size: 0.9rem;
  font-weight: 500;
  margin: 10px 0 0;
  color: var(--ink) !important;
}
.form-status:empty { display: none; }
.form-status.is-error { color: var(--red) !important; }
.form-status.is-success { color: #0e9257 !important; }

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

.site-footer {
  border-top: 1px solid var(--border-soft);
  padding: 56px 0 32px;
  background: var(--tint);
}

.site-footer__grid {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-bottom: 40px;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

@media (min-width: 760px) {
  .site-footer__grid { flex-direction: row; align-items: flex-start; justify-content: space-between; }
  .site-footer__links { gap: 64px; }
}

.site-footer__col--brand p {
  margin-top: 16px;
  font-size: 0.9rem;
  max-width: 320px;
}

.site-footer__col h4 {
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--muted);
  margin-bottom: 16px;
  font-weight: 600;
}

.site-footer__col ul li { margin-bottom: 10px; }

.site-footer__col a {
  text-decoration: none;
  color: var(--body);
  font-size: 0.9rem;
}
.site-footer__col a:hover { color: var(--blue); }

.footer-credit-link { color: var(--ink); font-weight: 600; }
.footer-credit-link:hover { color: var(--blue); }

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--border-soft);
  font-size: 0.85rem;
  color: var(--muted);
}

.site-footer__nocookie {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.site-footer__nocookie svg { width: 15px; height: 15px; color: var(--green); }

/* ---------- sticky deadline timer (appears after hero, hides at contact) ---------- */

.timer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--border);
  box-shadow: 0 -8px 24px rgba(10, 37, 64, 0.06);
  padding: 10px 24px calc(10px + env(safe-area-inset-bottom, 0px));
  transform: translateY(110%);
  transition: transform 0.3s ease;
}

.timer.is-visible { transform: translateY(0); }

.timer__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.timer__label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
.timer__label svg { width: 14px; height: 14px; color: var(--blue); }

.timer__blocks { display: flex; align-items: center; gap: 6px; }

.timer__unit {
  background: var(--tint);
  border: 1px solid var(--border-soft);
  border-radius: 6px;
  padding: 4px 10px;
  min-width: 46px;
  text-align: center;
}

.timer__num {
  display: block;
  font-family: var(--font-mono);
  font-size: 1.05rem;
  color: var(--ink);
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}

.timer__num.flip { animation: digit-flip 0.2s ease; }

@keyframes digit-flip {
  0% { transform: translateY(-3px); opacity: 0.4; }
  100% { transform: translateY(0); opacity: 1; }
}

.timer__sub {
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
}

.timer__sep { color: var(--muted); font-size: 0.9rem; }

.timer__deadline {
  font-size: 0.82rem;
  font-weight: 500;
  color: #b45309;
  white-space: nowrap;
}

.timer .btn { min-height: 36px; padding: 7px 18px; font-size: 0.85rem; }

@media (max-width: 700px) {
  .timer__label span, .timer__deadline { display: none; }
  .timer__inner { gap: 12px; }
}

/* ---------- prose (legal pages) ---------- */

.prose { max-width: 720px; margin: 0 auto; }
.prose h1 { font-size: clamp(1.8rem, 1.5rem + 1.2vw, 2.5rem); }
.prose h2 { margin-top: 2em; font-size: 1.35rem; }
.prose ul { list-style: disc; padding-left: 1.25em; margin-bottom: 1em; }
.prose ul li { margin-bottom: 0.5em; }
.prose .updated { color: var(--muted); font-size: 0.9rem; }

/* ---------- client logo marquee ---------- */

.proof__label--center { text-align: center; margin: 0 0 30px; }

.proof__marquee {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(24px, 8vw, 96px);
}

.proof__stats {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--border-soft);
}

@media (max-width: 759px) {
  .proof__marquee { gap: clamp(14px, 4vw, 28px); }
  .proof__logo { height: clamp(16px, 5vw, 24px); }
}

.proof__logo { position: relative; display: inline-flex; align-items: center; justify-content: center; height: 32px; }

.proof__logo img {
  height: 100%;
  max-height: 32px;
  width: auto;
  display: block;
  filter: grayscale(100%);
  opacity: 0.8;
}

.proof__logo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--grad);
  mix-blend-mode: color;
  pointer-events: none;
}

/* ---------- product preview (customer notice -> DPO dashboard) ---------- */

.preview__stage {
  display: flex;
  justify-content: center;
  margin: 32px auto 0;
}

.preview__demo-media {
  display: block;
  width: 100%;
  max-width: 720px;
  height: auto;
  border-radius: var(--radius-md);
}

/* ---------- value pillars ---------- */

.pillar-band { padding: 48px 0; border-top: 1px solid var(--border-soft); }
.pillar-band--alt { background: var(--tint); }

@media (min-width: 980px) {
  .split--reverse .split__copy { order: 2; }
  .split--reverse .split__panel { order: 1; }
}

.badge--neutral { background: var(--tint); color: var(--body); border: 1px solid var(--border); }

.mini-notice__body { padding: 14px 15px 15px; }
.mini-notice__body h4 { margin: 0 0 10px; font-size: 0.85rem; }
.mini-notice__list { display: grid; gap: 7px; margin-bottom: 14px; }
.mini-notice__list li { display: flex; justify-content: space-between; align-items: center; font-size: 0.74rem; color: var(--body); }

.mini-notice__attest {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  color: var(--body);
  padding-top: 12px;
  border-top: 1px solid var(--border-soft);
}

/* ---------- tick-box: reusable animated checkbox for mock UI ---------- */

.tick-box {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  border: 1.5px solid var(--border);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
}

.tick-box--anim svg { width: 11px; height: 11px; color: #fff; }

/* Visible/checked by default (no-JS safe); JS-enabled starts unchecked, then
   checks itself in once its own mock scrolls into view. */
.reveal.js-enabled .tick-box--anim {
  background: var(--bg);
  border-color: var(--border);
  transition: background 0.3s ease 0.2s, border-color 0.3s ease 0.2s;
}
.reveal.js-enabled .tick-box--anim svg {
  opacity: 0;
  transform: scale(0.4);
  transition: opacity 0.25s ease 0.35s, transform 0.25s ease 0.35s;
}
.reveal.is-visible .tick-box--anim { background: var(--blue); border-color: var(--blue); }
.reveal.is-visible .tick-box--anim svg { opacity: 1; transform: scale(1); }

.rbac-img { display: block; width: 100%; height: auto; }

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

.industry-grid { margin-top: 8px; }

.industry-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.industry-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }

.industry-card__art {
  position: relative;
  height: 158px;
  display: flex;
  align-items: flex-end;
  padding: 14px 16px;
  overflow: hidden;
}
.industry-card__art::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 21, 41, 0.85), rgba(10, 21, 41, 0.1) 60%);
  z-index: 1;
}
.industry-card__art--banking { background: linear-gradient(135deg, #0a2540, #1d4ed8); }
.industry-card__art--telecom { background: linear-gradient(135deg, #1d4ed8, #0ea5e9); }
.industry-card__art--retail  { background: linear-gradient(135deg, #0ea5e9, #06b6d4); }
.industry-card__art--health  { background: linear-gradient(135deg, #0a2540, #0ea5e9); }

.industry-card__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.industry-card__label {
  position: relative;
  z-index: 2;
  color: #fff;
  font-weight: 600;
  font-size: 1.02rem;
  letter-spacing: -0.01em;
}

.industry-card__body { padding: 18px 18px 20px; }
.industry-card__body p { margin: 0; font-size: 0.875rem; color: var(--body); }

/* ---------- scroll reveal (progressive enhancement) ----------
   Visible by default — JS adds the hidden state only when it can animate back in. */

.reveal.js-enabled {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.js-enabled.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- utility ---------- */

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 12px 20px;
  border-radius: 0 0 8px 0;
  z-index: 100;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
