/* ============================================================
   Agencia Datta — Design System (dark premium)
   Display: Clash Display · Body: General Sans · self-hosted
   ============================================================ */

@font-face {
  font-family: "Clash Display";
  src: url("/fonts/clash-display-500.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
  font-style: normal;
}
@font-face {
  font-family: "Clash Display";
  src: url("/fonts/clash-display-600.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
  font-style: normal;
}
@font-face {
  font-family: "Clash Display";
  src: url("/fonts/clash-display-700.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
  font-style: normal;
}
@font-face {
  font-family: "Anton";
  src: url("/fonts/anton-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
  font-style: normal;
}
@font-face {
  font-family: "General Sans";
  src: url("/fonts/general-sans-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
  font-style: normal;
}
@font-face {
  font-family: "General Sans";
  src: url("/fonts/general-sans-500.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
  font-style: normal;
}
@font-face {
  font-family: "General Sans";
  src: url("/fonts/general-sans-600.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
  font-style: normal;
}

:root {
  /* surfaces */
  --bg: #050507;
  --bg-1: #0a0a0e;
  --bg-2: #101016;
  --bg-3: #16161e;
  --paper: #f4f4f2;
  --paper-2: #e9e9e4;
  --ink: #0b0b0f;
  --ink-2: #3a3a42;

  /* type */
  --fg: #f3f3f6;
  --fg-2: #aeaeb8;
  --fg-3: #76767f;
  --fg-4: #4a4a52;

  /* lines & glass */
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.16);
  --line-ink: rgba(10, 10, 15, 0.12);
  --glass: rgba(16, 16, 22, 0.6);
  --glass-2: rgba(22, 22, 30, 0.72);
  --glass-border: rgba(255, 255, 255, 0.1);

  /* signature accents — blue dominant, sparing pops */
  --brand: #00392f;
  --accent: #2f9e7d;
  --accent-soft: rgba(47, 158, 125, 0.15);
  --accent-2: #0f5d49;
  --accent-3: #46d6a8;
  --accent-warm: #ff8a4c;
  --accent-pink: #ff5d8f;

  /* fonts */
  --font-display: "Clash Display", "SF Pro Display", system-ui, sans-serif;
  --font-body: "General Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --font-mono: ui-monospace, "SF Mono", "JetBrains Mono", "Cascadia Code", Menlo, monospace;

  /* shape & motion */
  --radius: 24px;
  --radius-sm: 16px;
  --radius-xs: 12px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --maxw: 1200px;

  color-scheme: dark;
  font-family: var(--font-body);
}

* {
  box-sizing: border-box;
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-size: 1rem;
  line-height: 1.6;
  letter-spacing: -0.01em;
  overflow-x: hidden;
}

/* fine grain overlay for atmosphere */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.04;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

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

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

::selection {
  background: rgba(47, 158, 125, 0.3);
  color: #fff;
}

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

.container-narrow {
  width: min(880px, calc(100% - 40px));
  margin: 0 auto;
}

.section {
  position: relative;
  padding: clamp(56px, 9vw, 116px) 0;
  overflow: clip;
}

.section.tight {
  padding: clamp(44px, 6vw, 84px) 0;
}

.section.paper {
  background: var(--paper);
  color: var(--ink);
}

.section.alt {
  background: linear-gradient(180deg, var(--bg-1), var(--bg));
  border-top: 1px solid var(--line);
}

/* ---------- atmosphere ---------- */
.aurora {
  position: absolute;
  inset: -10% -5% auto -5%;
  height: 120%;
  z-index: 0;
  pointer-events: none;
  filter: blur(70px);
  opacity: 0.4;
  background:
    radial-gradient(42% 38% at 24% 16%, rgba(47, 158, 125, 0.34), transparent 72%),
    radial-gradient(40% 34% at 80% 28%, rgba(15, 93, 73, 0.2), transparent 74%);
}

.glow-line {
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.5;
}

/* ---------- type ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 16px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}

.paper .eyebrow {
  color: #00392f;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.02;
  margin: 0;
  text-wrap: balance;
}

.display-1 {
  font-size: clamp(2.2rem, 6vw, 4.6rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.04em;
}

.display-2,
.section-head h2 {
  font-size: clamp(1.85rem, 4.2vw, 3.15rem);
  font-weight: 600;
  letter-spacing: -0.035em;
}

.lead {
  font-size: clamp(1rem, 1.7vw, 1.16rem);
  line-height: 1.55;
  color: var(--fg-2);
}

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

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

.section-head {
  max-width: 720px;
  margin: 0 0 clamp(32px, 5vw, 56px);
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head.center .eyebrow {
  justify-content: center;
}

.section-head p:not(.eyebrow) {
  margin: 16px 0 0;
  font-size: clamp(0.95rem, 1.4vw, 1.1rem);
  line-height: 1.6;
  color: var(--fg-2);
}

.paper .section-head p {
  color: var(--ink-2);
}

.gradient-text {
  background: linear-gradient(120deg, #fff 12%, var(--accent) 60%, var(--accent-3) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- buttons ---------- */
.btn {
  --btn-bg: var(--fg);
  --btn-fg: #07070a;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 52px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: -0.01em;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease),
    background 0.3s var(--ease), border-color 0.3s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px -12px rgba(255, 255, 255, 0.28);
}

.btn-primary {
  --btn-bg: linear-gradient(180deg, #ffffff, #e7e7ec);
}

.btn-accent {
  --btn-bg: linear-gradient(180deg, #2f9e7d, #1c6e54);
  --btn-fg: #fff;
}
.btn-accent:hover {
  box-shadow: 0 18px 48px -14px rgba(47, 158, 125, 0.6);
}

.btn-ghost {
  --btn-bg: transparent;
  --btn-fg: var(--fg);
  border-color: var(--line-2);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  border-color: var(--line-2);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: none;
}

.paper .btn-ghost {
  --btn-fg: var(--ink);
  border-color: var(--line-ink);
}
.paper .btn-ghost:hover {
  background: rgba(0, 0, 0, 0.04);
}

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

/* ---------- glass / cards ---------- */
.glass {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
}

.card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
  transition: transform 0.5s var(--ease), border-color 0.5s var(--ease),
    background 0.5s var(--ease);
}

.spotlight-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.012));
  padding: clamp(22px, 2.6vw, 30px);
  transition: transform 0.5s var(--ease), border-color 0.5s var(--ease);
}

.spotlight-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: radial-gradient(
    340px circle at var(--mx, 50%) var(--my, 50%),
    rgba(255, 255, 255, 0.09),
    transparent 45%
  );
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease);
}

.spotlight-card::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -80px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--card-accent, var(--accent)), transparent 64%);
  filter: blur(38px);
  opacity: 0.06;
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
  pointer-events: none;
}

.spotlight-card:hover {
  transform: translateY(-5px);
  border-color: var(--line-2);
}
.spotlight-card:hover::before {
  opacity: 1;
}
.spotlight-card:hover::after {
  opacity: 0.16;
  transform: scale(1.12);
}

.spotlight-card > * {
  position: relative;
  z-index: 1;
}

/* glyph / index marker */
.marker {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--fg);
  background: linear-gradient(150deg, var(--card-accent, var(--accent)), transparent 80%);
  border: 1px solid var(--line);
}

/* pills / tags */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 30px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--fg-2);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.04em;
}

.pill-dot::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-3);
  box-shadow: 0 0 10px var(--accent-3);
}

/* grids */
.grid {
  display: grid;
  gap: 18px;
}
.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* ---------- reveal animation ----------
   Hidden state is applied by an inline head script (before paint) so there is
   no flash. If JS is disabled the script never runs and content stays visible.
   `.reveal-all` is a safety net toggled by a timeout if site.js fails. */
.reveal-ready [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}
.reveal-ready [data-reveal].in,
.reveal-all [data-reveal] {
  opacity: 1;
  transform: none;
}
[data-reveal-scale] {
  transform: translateY(28px) scale(0.96);
}

/* ---------- reading mode (legal) ---------- */
.reading {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(56px, 8vw, 88px) 0 clamp(56px, 8vw, 88px);
}

.reading h1 {
  font-size: clamp(2.3rem, 5vw, 3.7rem);
  margin-bottom: 12px;
}

.reading .updated {
  display: inline-flex;
  margin-bottom: 36px;
  color: var(--fg-3);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

.reading h2 {
  font-size: clamp(1.3rem, 2.6vw, 1.65rem);
  margin: 44px 0 14px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.reading h3 {
  font-size: 1.15rem;
  margin: 32px 0 12px;
}

.reading p,
.reading li {
  color: var(--fg-2);
  font-size: 1.02rem;
  line-height: 1.75;
}

.reading ul,
.reading ol {
  padding-left: 22px;
}

.reading li {
  margin: 8px 0;
}

.reading a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.reading strong {
  color: var(--fg);
}

.legal-page {
  position: relative;
  overflow: clip;
}
.legal-aurora {
  inset: -10% -20% auto -20%;
  height: 55%;
  opacity: 0.2;
}

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

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

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .grid.three,
  .grid.four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .container,
  .container-narrow {
    width: calc(100% - 32px);
  }
  .grid.two,
  .grid.three,
  .grid.four {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   Light theme — triggered by `.is-light` on <body> (full page)
   or on a single <section> (hybrid pages). Footer stays dark.
   ============================================================ */
body.is-light {
  background: var(--paper);
  color: var(--ink);
}
.section.is-light {
  background: var(--paper);
  color: var(--ink);
}
/* soft cream alt block for light pages */
.section.is-light.soft {
  background: var(--paper-2);
}

.is-light .eyebrow {
  color: #00392f;
}
.is-light h1,
.is-light h2,
.is-light h3,
.is-light h4,
.is-light .display-1,
.is-light .display-2,
.is-light .section-head h2 {
  color: var(--ink);
}
.is-light .lead,
.is-light .section-head p:not(.eyebrow),
.is-light .muted {
  color: var(--ink-2);
}
.is-light .gradient-text {
  background: linear-gradient(120deg, var(--ink) 8%, var(--accent) 64%, #1f9e86 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.is-light .btn-primary {
  --btn-bg: linear-gradient(180deg, #1a1a22, #0b0b0f);
  --btn-fg: #fff;
}
.is-light .btn-primary:hover {
  box-shadow: 0 16px 40px -16px rgba(20, 30, 60, 0.4);
}
.is-light .btn-ghost {
  --btn-fg: var(--ink);
  border-color: rgba(10, 10, 15, 0.16);
}
.is-light .btn-ghost:hover {
  background: rgba(10, 10, 15, 0.05);
}

.is-light .spotlight-card,
.is-light .card {
  background: linear-gradient(180deg, #ffffff, #f6f6f3);
  border-color: rgba(10, 10, 15, 0.09);
  box-shadow: 0 30px 70px -54px rgba(20, 30, 60, 0.45);
}
.is-light .spotlight-card::before {
  background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 50%), rgba(20, 30, 60, 0.05), transparent 45%);
}
.is-light .pill {
  background: rgba(20, 30, 60, 0.05);
  border-color: rgba(10, 10, 15, 0.09);
  color: var(--ink-2);
}
.is-light .marker {
  color: var(--accent);
  background: linear-gradient(150deg, var(--accent-soft), transparent 82%);
  border-color: rgba(10, 10, 15, 0.09);
}
.is-light .glass {
  background: rgba(255, 255, 255, 0.66);
  border-color: rgba(10, 10, 15, 0.08);
}
.is-light .section.alt {
  background: var(--paper-2);
  color: var(--ink);
  border-color: rgba(10, 10, 15, 0.07);
}

/* ---------- mobile performance ----------
   Drop the constant-paint grain overlay and soften the aurora blur on
   small screens (cheaper paint → better LCP / Speed Index on mobile). */
@media (max-width: 768px) {
  body::before {
    display: none;
  }
  .aurora {
    filter: blur(44px);
    opacity: 0.3;
  }
}

/* ============================================================
   Footer (present on every page — replaces the removed header
   as the site's only navigation)
   ============================================================ */
.brand {
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 600;
  letter-spacing: -0.04em;
  color: var(--fg);
}
.brand span {
  color: var(--accent);
}

.site-footer {
  position: relative;
  overflow: clip;
  padding: clamp(48px, 7vw, 80px) 0 30px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, var(--bg), #07070b);
}
.foot-aurora {
  inset: auto -20% -60% -20%;
  height: 90%;
  opacity: 0.25;
}
.foot-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--line);
}
.foot-brand p {
  margin: 14px 0 18px;
  color: var(--fg-2);
  font-size: 0.98rem;
  line-height: 1.5;
}
.foot-social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.foot-social a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--fg-2);
  font-size: 0.86rem;
  transition: color 0.25s ease, border-color 0.25s ease;
}
.foot-social a:hover {
  color: var(--fg);
  border-color: var(--line-2);
}
.foot-col {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.foot-col h4 {
  margin: 0 0 4px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-3);
}
.foot-col a {
  color: var(--fg-2);
  font-size: 0.95rem;
  transition: color 0.25s ease;
}
.foot-col a:hover {
  color: var(--fg);
}
.foot-meta {
  color: var(--fg-3);
  font-size: 0.82rem;
}
.foot-base {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 28px;
  color: var(--fg-3);
  font-size: 0.82rem;
}

@media (max-width: 900px) {
  .foot-inner {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .foot-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .foot-inner {
    grid-template-columns: 1fr;
  }
  .foot-base {
    flex-direction: column;
  }
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  min-height: clamp(480px, 78vh, 760px);
  display: flex;
  align-items: center;
  padding: 56px 0 64px;
  overflow: clip;
}
.hero-aurora {
  inset: -25% -10% auto -10%;
  height: 130%;
  opacity: 0.7;
}
.hero-grid-lines {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(120% 90% at 50% 0%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(120% 90% at 50% 0%, #000 30%, transparent 75%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 44px;
}
.align-center .hero-inner {
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
  max-width: 920px;
}
.align-center .hero-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.align-center .eyebrow {
  justify-content: center;
}
.align-center .hero-actions,
.align-center .hero-trust {
  justify-content: center;
}
.align-center .hero-visual {
  margin-top: 42px;
  width: min(640px, 100%);
}

.hero-sub {
  max-width: 540px;
  margin: 20px 0 26px;
}
.align-center .hero-sub {
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 24px;
}

.hero-visual {
  position: relative;
  perspective: 1200px;
}

.float-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 15px;
  border-radius: 999px;
  font-size: 0.84rem;
  color: var(--fg);
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.7);
}
.chip-a { top: -22px; right: 26px; }
.chip-b { bottom: -20px; left: -18px; }
.float-chip .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent-3); box-shadow: 0 0 10px var(--accent-3);
  animation: pulse 2s infinite;
}

.scroll-cue {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  width: 22px;
  height: 34px;
  border: 1.5px solid var(--fg-4);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}
.scroll-cue span {
  width: 3px; height: 7px; border-radius: 2px;
  background: var(--fg-2); animation: cue 1.8s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(47, 227, 189, 0.6); }
  70% { box-shadow: 0 0 0 9px rgba(47, 227, 189, 0); }
  100% { box-shadow: 0 0 0 0 rgba(47, 227, 189, 0); }
}
@keyframes cue {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(7px); opacity: 0.3; }
}

/* ---------- hero on light pages ---------- */
.hero.is-light .hero-grid-lines {
  background-image: linear-gradient(rgba(20, 30, 60, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 30, 60, 0.05) 1px, transparent 1px);
}
.hero.is-light .hero-aurora {
  opacity: 0.4;
}
.hero.is-light .float-chip {
  color: var(--ink);
  box-shadow: 0 20px 50px -24px rgba(20, 30, 60, 0.4);
}

@media (max-width: 940px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 44px;
  }
  .hero-visual { max-width: 520px; }
}
@media (max-width: 600px) {
  .hero { padding: 48px 0 56px; min-height: auto; }
  .scroll-cue { display: none; }
  .chip-a { right: 0; }
  .chip-b { left: 0; }
}

/* ============================================================
   HeroVisual (console mockups)
   ============================================================ */
.hv {
  position: relative;
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: 0 40px 120px -40px rgba(0, 0, 0, 0.8);
  overflow: hidden;
}
.hv::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: radial-gradient(320px circle at var(--mx, 70%) var(--my, 20%), rgba(255, 255, 255, 0.08), transparent 45%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  pointer-events: none;
}
.hv:hover::before {
  opacity: 1;
}
.hv-top {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 16px;
}
.hv-top i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #34343c;
}
.hv-top i:nth-child(1) { background: #ff5f57; }
.hv-top i:nth-child(2) { background: #febc2e; }
.hv-top i:nth-child(3) { background: #28c840; }
.hv-top span {
  margin-left: 8px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--fg-3);
  letter-spacing: 0.04em;
}

.hv-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 14px;
}

/* dashboard */
.hv-chart {
  height: 130px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line);
  overflow: hidden;
}
.hv-chart svg { width: 100%; height: 100%; }
.hv-line {
  stroke-dasharray: 760;
  stroke-dashoffset: 760;
  animation: hv-draw 2.4s 0.3s var(--ease) forwards;
  filter: drop-shadow(0 0 6px rgba(47, 158, 125, 0.6));
}
.hv-area { opacity: 0; animation: hv-fade 1.4s 1.4s ease forwards; }
.hv-tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 12px;
}
.hv-tile {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.02);
}
.hv-tile span { font-size: 0.78rem; color: var(--fg-2); }
.hv-bars { display: flex; align-items: flex-end; gap: 5px; height: 34px; margin-top: 12px; }
.hv-bars i {
  flex: 1; height: var(--h); border-radius: 3px;
  background: linear-gradient(180deg, var(--accent), rgba(47, 158, 125, 0.3));
  transform-origin: bottom; animation: hv-grow 1s var(--ease) backwards;
}
.hv-bars i:nth-child(2) { animation-delay: 0.1s; }
.hv-bars i:nth-child(3) { animation-delay: 0.2s; }
.hv-bars i:nth-child(4) { animation-delay: 0.3s; }

/* tracking */
.flow { display: flex; flex-direction: column; }
.node {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.025);
}
.node .nlabel { font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; color: var(--fg); }
.node em { display: block; margin-top: 3px; font-style: normal; font-size: 0.8rem; color: var(--fg-3); font-family: var(--font-mono); }
.node.is-accent {
  border-color: rgba(47, 158, 125, 0.5);
  background: linear-gradient(180deg, rgba(47, 158, 125, 0.14), rgba(255, 255, 255, 0.02));
}
.pipe {
  position: relative;
  width: 2px;
  height: 30px;
  margin-left: 26px;
  background: linear-gradient(180deg, var(--line-2), rgba(47, 158, 125, 0.4));
}
.pipe .pulse {
  position: absolute;
  left: 50%;
  top: 0;
  width: 8px;
  height: 8px;
  margin-left: -4px;
  border-radius: 50%;
  background: var(--accent-3);
  box-shadow: 0 0 10px var(--accent-3);
  animation: hv-travel 1.8s var(--ease) infinite;
}
.pipe .onchip {
  position: absolute;
  left: 22px;
  top: 50%;
  transform: translateY(-50%);
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg-2);
  color: var(--fg-2);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  white-space: nowrap;
}
.dests {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}
.dests span {
  flex: 1;
  text-align: center;
  padding: 11px 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.84rem;
  color: var(--fg);
}

/* course */
.tree { display: flex; flex-direction: column; gap: 10px; }
.branch {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-left: 2px solid var(--accent);
  border-radius: 0 12px 12px 0;
  background: rgba(255, 255, 255, 0.025);
}
.branch b { font-family: var(--font-display); font-weight: 600; font-size: 0.98rem; }
.branch span { font-family: var(--font-mono); font-size: 0.74rem; color: var(--fg-3); text-align: right; }
.course-progress { margin-top: 16px; }
.course-progress > span { font-size: 0.8rem; color: var(--fg-2); }
.cp-steps { display: flex; gap: 6px; margin: 9px 0 6px; }
.cp-steps i {
  flex: 1; height: 5px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}
.cp-steps i.on { background: linear-gradient(90deg, var(--accent), var(--accent-3)); }
.course-progress small { font-family: var(--font-mono); font-size: 0.72rem; color: var(--fg-3); }

/* services / ecosystem */
.eco-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.eco-tile {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.82rem;
  color: var(--fg);
}
.eco-ic {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid var(--line);
}
.eco-foot {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--fg-2);
}
.eco-foot .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent-3); box-shadow: 0 0 8px var(--accent-3);
}

@keyframes hv-draw { to { stroke-dashoffset: 0; } }
@keyframes hv-fade { to { opacity: 1; } }
@keyframes hv-grow { from { transform: scaleY(0); } }
@keyframes hv-travel { 0% { top: 0; opacity: 0; } 20% { opacity: 1; } 80% { opacity: 1; } 100% { top: 100%; opacity: 0; } }

/* light theme adaptations */
.is-light .hv {
  background: rgba(255, 255, 255, 0.7);
  border-color: rgba(10, 10, 15, 0.1);
  box-shadow: 0 40px 100px -50px rgba(20, 30, 60, 0.5);
}
.is-light .hv-top span { color: var(--ink-2); }
.is-light .eco-tile,
.is-light .hv-tile,
.is-light .node,
.is-light .branch,
.is-light .dests span,
.is-light .hv-chart {
  background: rgba(20, 30, 60, 0.04);
  border-color: rgba(10, 10, 15, 0.1);
}
.is-light .eco-tile,
.is-light .node .nlabel,
.is-light .dests span,
.is-light .branch b { color: var(--ink); }
.is-light .hv-tile span,
.is-light .eco-foot { color: var(--ink-2); }

/* ============================================================
   Stats
   ============================================================ */
.stats {
  padding: clamp(36px, 5vw, 56px) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, var(--bg-1), var(--bg));
}
.stats-inner {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}
.stat {
  text-align: left;
}
.stat strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.2rem, 4vw, 3.3rem);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--fg);
  font-variant-numeric: tabular-nums;
}
.stat span {
  display: block;
  margin-top: 12px;
  color: var(--fg-2);
  font-size: 0.92rem;
}
.is-light .stats {
  background: linear-gradient(180deg, var(--paper-2), var(--paper));
  border-color: rgba(10, 10, 15, 0.08);
}
.is-light .stat strong {
  color: var(--ink);
}
.is-light .stat span {
  color: var(--ink-2);
}

@media (max-width: 760px) {
  .stats-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 22px;
  }
}

/* ============================================================
   FeatureCard
   ============================================================ */
.feature-card {
  display: flex;
  flex-direction: column;
  min-height: 200px;
}
.feature-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  border-radius: 13px;
  color: var(--card-accent);
  background: color-mix(in srgb, var(--card-accent) 12%, transparent);
  border: 1px solid var(--line);
}
.feature-card h3 {
  margin: 0 0 9px;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}
.feature-card p {
  margin: 0;
  color: var(--fg-2);
  font-size: 0.98rem;
  line-height: 1.6;
}
.is-light .feature-card p {
  color: var(--ink-2);
}

/* ============================================================
   Marquee
   ============================================================ */
.marquee {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track {
  display: flex;
  width: max-content;
  gap: 18px;
  animation: marquee 32s linear infinite;
}
.marquee:hover .marquee-track {
  animation-play-state: paused;
}
.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 22px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
  color: var(--fg-2);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.02rem;
  white-space: nowrap;
}
.marquee-item::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.7;
}
@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}
.is-light .marquee-item {
  background: rgba(20, 30, 60, 0.04);
  border-color: rgba(10, 10, 15, 0.09);
  color: var(--ink-2);
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* ============================================================
   About
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 0.62fr 1.38fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}
.about-portrait {
  max-width: 300px;
  margin: 0 auto;
}
.portrait-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(160deg, var(--bg-3), var(--bg));
}
.portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.portrait-tag {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 9px 13px;
  border-radius: 14px;
}
.portrait-tag strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.92rem;
}
.portrait-tag span {
  display: block;
  margin-top: 2px;
  color: var(--fg-2);
  font-size: 0.8rem;
}

.about-copy .lead {
  margin-top: 18px;
}
.about-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin: 28px 0;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.about-stats strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.7rem;
  letter-spacing: -0.03em;
}
.about-stats span {
  display: block;
  margin-top: 4px;
  color: var(--fg-2);
  font-size: 0.85rem;
}
.about-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-weight: 600;
}
.about-link .arrow {
  transition: transform 0.4s var(--ease);
}
.about-link:hover .arrow {
  transform: translateX(4px);
}

.is-light .about-stats {
  border-color: rgba(10, 10, 15, 0.1);
}
.is-light .about-stats span {
  color: var(--ink-2);
}
.is-light .portrait-tag strong {
  color: var(--ink);
}
.is-light .portrait-tag span {
  color: var(--ink-2);
}

@media (max-width: 820px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
  .about-portrait {
    max-width: 260px;
  }
}

/* ============================================================
   CtaBand
   ============================================================ */
.cta-band {
  position: relative;
}
.cta-aurora {
  inset: 0 -10%;
  height: 100%;
  opacity: 0.5;
}
.cta-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  border-radius: var(--radius);
  padding: clamp(32px, 5vw, 60px) clamp(20px, 4vw, 52px);
  overflow: hidden;
}
.cta-inner::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: radial-gradient(
    460px circle at var(--mx, 50%) var(--my, 30%),
    rgba(47, 158, 125, 0.16),
    transparent 50%
  );
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  pointer-events: none;
}
.cta-inner:hover::before {
  opacity: 1;
}
.cta-inner .eyebrow {
  justify-content: center;
}
.cta-inner h2 {
  max-width: 18ch;
  margin: 0 auto;
}
.cta-inner .lead {
  max-width: 56ch;
  margin: 22px auto 0;
}
.cta-actions {
  margin-top: 26px;
}
.cta-proof {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px;
  margin-top: 22px;
}
.is-light .cta-aurora {
  opacity: 0.35;
}

/* ============================================================
   ProcessTimeline
   ============================================================ */
.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
}
.tl-item {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 18px;
  padding-bottom: 24px;
}
.tl-item:last-child {
  padding-bottom: 0;
}
.tl-rail {
  position: relative;
  display: flex;
  justify-content: center;
}
.tl-rail::before {
  content: "";
  position: absolute;
  top: 50px;
  bottom: -24px;
  width: 1px;
  background: linear-gradient(180deg, var(--line-2), transparent);
}
.tl-item:last-child .tl-rail::before {
  display: none;
}
.tl-num {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(47, 158, 125, 0.16), rgba(255, 255, 255, 0.02));
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--fg);
}
.tl-body {
  padding-top: 6px;
}
.tl-body h3 {
  margin: 0 0 6px;
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  letter-spacing: -0.02em;
}
.tl-body p {
  margin: 0;
  max-width: 62ch;
  color: var(--fg-2);
  font-size: 1rem;
  line-height: 1.65;
}
.is-light .tl-num {
  background: linear-gradient(160deg, var(--accent-soft), rgba(20, 30, 60, 0.03));
  border-color: rgba(10, 10, 15, 0.1);
  color: var(--ink);
}
.is-light .tl-rail::before {
  background: linear-gradient(180deg, rgba(10, 10, 15, 0.18), transparent);
}
.is-light .tl-body p {
  color: var(--ink-2);
}

@media (max-width: 560px) {
  .tl-item {
    grid-template-columns: 48px 1fr;
    gap: 14px;
  }
  .tl-num {
    width: 42px;
    height: 42px;
    font-size: 0.92rem;
  }
  .tl-rail::before {
    top: 42px;
  }
}

/* ============================================================
   DashboardShowcase
   ============================================================ */
.showcase {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 18px;
  align-items: start;
}
.panel {
  border-radius: var(--radius);
  padding: 20px;
  overflow: hidden;
}
.panel.tall {
  transform: translateY(-18px);
}
.panel header {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  color: var(--fg-2);
  text-transform: uppercase;
}
.panel .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-3);
  box-shadow: 0 0 8px var(--accent-3);
}
.metric-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 18px;
}
.metric-row small {
  display: block;
  color: var(--fg-3);
  font-size: 0.7rem;
}
.metric-row b {
  display: block;
  margin-top: 6px;
  color: var(--accent);
  letter-spacing: 2px;
}
.bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 90px;
}
.bars i {
  flex: 1;
  height: var(--h);
  border-radius: 3px;
  background: linear-gradient(180deg, var(--accent), rgba(47, 158, 125, 0.25));
}
.panel svg {
  width: 100%;
  height: 120px;
}
.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 14px;
  font-size: 0.78rem;
  color: var(--fg-2);
}
.legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.legend i {
  width: 9px;
  height: 9px;
  border-radius: 3px;
}
.funnel {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.funnel span {
  position: relative;
  display: flex;
  align-items: center;
  width: var(--w);
  min-height: 38px;
  padding: 0 12px;
  border-radius: 8px;
  background: linear-gradient(90deg, rgba(47, 158, 125, 0.5), rgba(0, 57, 47, 0.45));
}
.funnel small {
  color: #fff;
  font-size: 0.74rem;
}
.showcase-note {
  margin: 26px 0 0;
  color: var(--fg-3);
  font-size: 0.85rem;
  text-align: center;
}
.is-light .panel header,
.is-light .legend,
.is-light .metric-row small,
.is-light .showcase-note {
  color: var(--ink-2);
}

@media (max-width: 860px) {
  .showcase {
    grid-template-columns: 1fr;
  }
  .panel.tall {
    transform: none;
  }
}

/* ============================================================
   Faq
   ============================================================ */
.faq {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.02);
  padding: 4px 22px;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.faq-item[open] {
  border-color: var(--line-2);
  background: rgba(255, 255, 255, 0.035);
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1rem, 1.7vw, 1.15rem);
  letter-spacing: -0.02em;
  color: var(--fg);
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-ico {
  position: relative;
  flex: none;
  width: 20px;
  height: 20px;
}
.faq-ico::before,
.faq-ico::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 13px;
  height: 1.6px;
  background: var(--accent);
  transform: translate(-50%, -50%);
  transition: transform 0.35s var(--ease);
}
.faq-ico::after {
  transform: translate(-50%, -50%) rotate(90deg);
}
.faq-item[open] .faq-ico::after {
  transform: translate(-50%, -50%) rotate(0);
}
.faq-wrap {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s var(--ease);
}
.faq-item[open] .faq-wrap {
  grid-template-rows: 1fr;
}
.faq-a {
  overflow: hidden;
  margin: 0;
  padding-bottom: 22px;
  color: var(--fg-2);
  font-size: 1rem;
  line-height: 1.7;
}
.faq-a a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.is-light .faq-item {
  background: rgba(20, 30, 60, 0.03);
  border-color: rgba(10, 10, 15, 0.1);
}
.is-light .faq-item[open] {
  background: rgba(20, 30, 60, 0.05);
  border-color: rgba(10, 10, 15, 0.16);
}
.is-light .faq-item summary {
  color: var(--ink);
}
.is-light .faq-a {
  color: var(--ink-2);
}

/* ============================================================
   PricingCards
   ============================================================ */
.pricing {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}
.pricing.one {
  grid-template-columns: minmax(0, 420px);
  justify-content: center;
}
.price-card {
  display: flex;
  flex-direction: column;
}
.price-card.is-highlight {
  border-color: rgba(47, 158, 125, 0.5);
  background: linear-gradient(180deg, rgba(47, 158, 125, 0.1), rgba(255, 255, 255, 0.012));
  --card-accent: #2f9e7d;
}
.price-badge {
  align-self: flex-start;
  margin-bottom: 16px;
  padding: 6px 13px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.price-card h3 {
  font-size: 1.25rem;
}
.price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 14px 0 6px;
}
.price-row s {
  color: var(--fg-3);
  font-size: 1rem;
}
.price-row strong {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.1rem, 4vw, 2.7rem);
  letter-spacing: -0.04em;
}
.price-note {
  margin: 0 0 22px;
  color: var(--fg-2);
  font-size: 0.9rem;
}
.price-feats {
  list-style: none;
  margin: 0 0 22px;
  padding: 18px 0 0;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 11px;
  flex: 1;
}
.price-feats li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  color: var(--fg-2);
  font-size: 0.96rem;
  line-height: 1.45;
}
.price-feats svg {
  flex: none;
  width: 19px;
  height: 19px;
  margin-top: 1px;
  color: var(--accent-3);
}
.price-card .btn {
  width: 100%;
}
.guarantee {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 28px 0 0;
  color: var(--fg-2);
  font-size: 0.95rem;
}
.guarantee svg {
  width: 22px;
  height: 22px;
  color: var(--accent-3);
}
.is-light .price-note,
.is-light .price-feats li,
.is-light .price-row s {
  color: var(--ink-2);
}
.is-light .price-card.is-highlight {
  background: linear-gradient(180deg, rgba(47, 158, 125, 0.12), #ffffff);
  border-color: rgba(0, 57, 47, 0.3);
}
.is-light .guarantee {
  color: var(--ink-2);
}

@media (max-width: 720px) {
  .pricing {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   Page-specific — servicos
   ============================================================ */
.integrations-eyebrow {
  justify-content: center;
  margin-bottom: 34px;
}
.course-cross {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: clamp(26px, 3.5vw, 44px);
  border-radius: var(--radius);
}
.course-copy {
  max-width: 60ch;
}
.course-copy .lead {
  margin-top: 16px;
}
.course-cross .btn {
  flex: none;
}
@media (max-width: 760px) {
  .course-cross {
    flex-direction: column;
    align-items: flex-start;
  }
  .integrations-eyebrow {
    justify-content: flex-start;
  }
}

/* ============================================================
   Page-specific — dashboards / traqueamento / datta-track-web
   ============================================================ */
.intro-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.intro-grid .section-head {
  margin-bottom: 0;
}
.faq-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}
.faq-grid .section-head {
  margin-bottom: 0;
  position: sticky;
  top: 24px;
}
@media (max-width: 860px) {
  .intro-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }
  .faq-grid .section-head {
    position: static;
  }
}

.course-layout {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
.materials {
  position: sticky;
  top: 24px;
  border-radius: var(--radius);
  padding: 24px;
}
.materials ul {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.materials li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  color: var(--fg);
  font-size: 0.98rem;
  line-height: 1.45;
}
.materials svg {
  flex: none;
  width: 19px;
  height: 19px;
  margin-top: 2px;
  color: var(--accent-3);
}
.is-light .materials li {
  color: var(--ink);
}

@media (max-width: 860px) {
  .course-layout {
    grid-template-columns: 1fr;
  }
  .materials {
    position: static;
  }
}

/* ============================================================
   Home v2 — editorial condensado (ref. C2G)
   Display condensada (Anton) em caixa alta, escala consistente,
   seções alternadas escuro/creme, textura de pontos.
   ============================================================ */
.home-v2 {
  --condensed: "Anton", "Arial Narrow", "Impact", sans-serif;
}
.home-v2 .section {
  padding: clamp(64px, 8vw, 104px) 0;
}

/* textura de pontos (substitui a aurora na home) */
.dots-bg {
  position: relative;
}
.dots-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1.5px);
  background-size: 26px 26px;
}
.section.is-light.dots-bg::before {
  background-image: radial-gradient(rgba(10, 10, 15, 0.07) 1px, transparent 1.5px);
}
.dots-bg .container,
.dots-bg .container-narrow {
  position: relative;
  z-index: 1;
}

/* tipografia display condensada */
.home-v2 .title-xl,
.home-v2 .display-2 {
  font-family: var(--condensed);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.008em;
  line-height: 1.05;
}
.home-v2 .display-2 {
  font-size: clamp(1.9rem, 4vw, 3rem);
}

/* hero */
.hero-editorial {
  position: relative;
  display: flex;
  align-items: center;
  min-height: min(78vh, 720px);
  padding: clamp(72px, 10vw, 120px) 0;
}
.hero-editorial .hero-kicker {
  margin: 0 0 28px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}
.hero-editorial h1 {
  max-width: 22ch;
  font-size: clamp(2.4rem, 6.2vw, 4.8rem);
}
.hero-editorial h1 em {
  font-style: normal;
  color: var(--accent);
}
.hero-editorial .hero-sub {
  max-width: 50ch;
  margin: 30px 0 38px;
  font-size: 1.12rem;
}

/* botão de contratação (pill claro, seta acento — ref. C2G) */
.btn-lead {
  --btn-bg: var(--paper);
  --btn-fg: var(--ink);
  font-family: var(--condensed);
  font-weight: 400;
  font-size: 1.02rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.btn-lead .tick {
  color: var(--accent-2);
  font-weight: 700;
  transition: transform 0.4s var(--ease);
}
.btn-lead:hover .tick {
  transform: translateX(4px);
}
.btn-lead:hover {
  box-shadow: 0 16px 40px -12px rgba(244, 244, 242, 0.3);
}
.is-light .btn-lead {
  --btn-bg: var(--ink);
  --btn-fg: var(--paper);
}
.is-light .btn-lead .tick {
  color: var(--accent-3);
}
.is-light .btn-lead:hover {
  box-shadow: 0 16px 40px -16px rgba(11, 11, 15, 0.5);
}

/* stats — números condensados, labels ‹ entre colchetes › */
.home-v2 .stats {
  background: var(--bg);
}
.home-v2 .stat {
  border-left: 1px solid var(--line);
  padding-left: 20px;
}
.home-v2 .stat strong {
  font-family: var(--condensed);
  font-weight: 400;
  font-size: clamp(2.5rem, 4.6vw, 3.8rem);
  letter-spacing: 0.01em;
}
.home-v2 .stat span {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.home-v2 .stat span::before {
  content: "‹ ";
}
.home-v2 .stat span::after {
  content: " ›";
}

/* manifesto (seção creme) */
.manifesto p {
  margin: 0 0 1.5em;
  font-size: clamp(1.15rem, 1.9vw, 1.45rem);
  line-height: 1.55;
  color: var(--ink-2);
}
.manifesto p strong {
  font-weight: 600;
  color: var(--accent-2);
}
.manifesto-filter {
  margin: clamp(36px, 5vw, 56px) 0 0;
  padding-top: clamp(28px, 4vw, 40px);
  border-top: 1px solid var(--line-ink);
  font-family: var(--condensed);
  font-weight: 400;
  font-size: clamp(1.8rem, 4vw, 2.9rem);
  letter-spacing: 0.008em;
  line-height: 1.08;
  text-transform: uppercase;
  color: var(--ink);
}
.manifesto-filter em {
  font-style: normal;
  color: var(--accent-2);
}

/* etapas */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
}
.step {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: clamp(18px, 3vw, 40px);
  padding: clamp(28px, 4vw, 40px) 20px;
  border-top: 1px solid var(--line);
  border-radius: var(--radius-xs);
  transition: background 0.4s var(--ease), transform 0.4s var(--ease);
}
.step:hover {
  background: rgba(255, 255, 255, 0.03);
  transform: translateX(6px);
}
.step:last-child {
  border-bottom: 1px solid var(--line);
}
.step-num {
  font-family: var(--condensed);
  font-weight: 400;
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  letter-spacing: 0.01em;
  color: var(--accent);
}
.step h3 {
  margin: 0 0 10px;
  font-family: var(--condensed);
  font-weight: 400;
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  letter-spacing: 0.012em;
  text-transform: uppercase;
}
.step > div > p {
  margin: 0;
  max-width: 62ch;
  color: var(--fg-2);
  font-size: 1.02rem;
  line-height: 1.65;
}
.step-services {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}
.step-services li {
  padding: 7px 15px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-2);
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease), background 0.3s var(--ease);
}
.step-services li:hover {
  border-color: var(--accent);
  color: var(--fg);
  background: var(--accent-soft);
}

/* filtro é/não é */
.fit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 56px);
}
.fit-col h3 {
  margin: 0 0 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  font-family: var(--condensed);
  font-weight: 400;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  letter-spacing: 0.012em;
  text-transform: uppercase;
}
.fit-col.is-no h3 {
  color: var(--fg-3);
}
.fit-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.fit-col li {
  position: relative;
  padding-left: 24px;
  color: var(--fg-2);
  font-size: 1.02rem;
  line-height: 1.55;
}
.fit-col li::before {
  content: "›";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-weight: 700;
}
.fit-col.is-no li {
  color: var(--fg-3);
}
.fit-col.is-no li::before {
  content: "×";
  color: var(--fg-4);
  font-weight: 400;
}
.fit-col a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* cta final */
.cta-editorial {
  text-align: center;
}
.cta-editorial .lead {
  max-width: 52ch;
  margin: 20px auto 34px;
  font-size: 1.12rem;
}
.cta-editorial h2 {
  max-width: 16ch;
  margin: 0 auto;
}

@media (max-width: 640px) {
  .step {
    grid-template-columns: 1fr;
    gap: 10px;
    padding-left: 14px;
    padding-right: 14px;
  }
  .fit-grid {
    grid-template-columns: 1fr;
  }
  .home-v2 .stat {
    border-left: none;
    padding-left: 0;
  }
}

/* ------------------------------------------------------------
   home-v2 aplicado às páginas internas — achata o look "IA"
   (aurora/glass/spotlight) e unifica a tipografia condensada.
   ------------------------------------------------------------ */
.home-v2 .container {
  width: min(1180px, calc(100% - 88px));
}
.home-v2 .container-narrow {
  width: min(880px, calc(100% - 88px));
}
@media (max-width: 640px) {
  .home-v2 .container,
  .home-v2 .container-narrow {
    width: calc(100% - 40px);
  }
}

/* atmosfera fora, textura de pontos dentro */
.home-v2 .aurora {
  display: none;
}
.home-v2 .scroll-cue {
  display: none;
}

/* glass -> superfície sólida */
.home-v2 .glass {
  background: var(--bg-1);
  border-color: var(--line);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.home-v2 .is-light .glass,
.home-v2 .section.is-light .glass {
  background: #fff;
  border-color: var(--line-ink);
}

/* cards com spotlight -> cartão chapado */
.home-v2 .spotlight-card {
  background: var(--bg-1);
}
.home-v2 .spotlight-card::before,
.home-v2 .spotlight-card::after {
  display: none;
}
.home-v2 .is-light .spotlight-card {
  background: #fff;
}
.home-v2 .spotlight-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-2);
}

/* títulos de seção e marcadores em condensada */
.home-v2 .marker,
.home-v2 .tl-num,
.home-v2 .price-row strong,
.home-v2 .tl-body h3 {
  font-family: var(--condensed);
  font-weight: 400;
  letter-spacing: 0.01em;
}
.home-v2 .marker {
  background: none;
  border-color: var(--line-2);
  color: var(--accent);
  font-size: 1.2rem;
}
.home-v2 .tl-num {
  color: var(--accent);
}
.home-v2 .tl-body h3 {
  text-transform: uppercase;
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  letter-spacing: 0.012em;
}
.home-v2 .price-row strong {
  letter-spacing: 0.01em;
}

/* FAQ e summary mantêm a display suave, mas sem glow */
.home-v2 .faq-item[open] {
  border-color: var(--line-2);
}

/* catálogo de serviços — link "ver detalhes" alinhado à base do card */
.home-v2 .feature-card .about-link {
  margin-top: auto;
  padding-top: 18px;
  font-size: 0.9rem;
}
.home-v2 .is-light .feature-card .about-link {
  color: var(--accent-2);
}

/* ------------------------------------------------------------
   Plataformas de mídia — faixa que fecha "Como trabalhamos".
   Reaproveita o ritmo de colunas com fio da faixa de stats:
   as marcas viram leitura de painel, não vitrine de logos.
   ------------------------------------------------------------ */
.platforms {
  margin-top: clamp(40px, 5vw, 64px);
}
.platforms-label {
  margin: 0 0 clamp(20px, 3vw, 28px);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.platforms-label::before {
  content: "‹ ";
}
.platforms-label::after {
  content: " ›";
}
.platforms-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.platform {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-left: 20px;
  border-left: 1px solid var(--line);
  color: var(--fg-3);
  transition: color 0.4s var(--ease), border-color 0.4s var(--ease);
}
.platform:hover {
  color: var(--fg);
  border-left-color: var(--accent);
}
.platform-mark {
  display: block;
  line-height: 0;
}
.platform-mark svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
  /* correção óptica: o "in" é um quadrado cheio e pesa mais que os
     traços abertos das outras marcas; o mark da Meta é largo e leve */
  transform: scale(var(--mark-scale, 1));
  transform-origin: left center;
}
.platform-mark[data-mark="linkedin"] {
  --mark-scale: 0.88;
}
.platform-mark[data-mark="meta"] {
  --mark-scale: 1.08;
}
.platform-name {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  line-height: 1.4;
  text-transform: uppercase;
}
.platform-name em {
  font-style: normal;
  color: var(--fg-4);
  transition: color 0.4s var(--ease);
}
.platform:hover .platform-name em {
  color: var(--fg-3);
}

@media (max-width: 900px) {
  .platforms-row {
    gap: 16px;
  }
  .platform {
    padding-left: 14px;
    gap: 12px;
  }
  .platform-mark svg {
    width: 22px;
    height: 22px;
  }
  .platform-name {
    font-size: 0.64rem;
    letter-spacing: 0.06em;
  }
}

/* mesma virada da faixa de stats: abaixo de 640px os fios saem e a
   faixa passa a fluir como as pílulas de serviço logo acima */
@media (max-width: 640px) {
  .platforms-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 26px;
  }
  .platform {
    flex-direction: row;
    align-items: center;
    gap: 10px;
    padding-left: 0;
    border-left: none;
  }
  .platform-name {
    font-size: 0.7rem;
    letter-spacing: 0.08em;
  }
}
