*,
*::before,
*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; font-size: 15px; }
body {
  margin: 0;
  font-family: var(--ff-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background:
    radial-gradient(1200px 700px at 85% -10%, rgba(167, 139, 250, 0.13), transparent 60%),
    radial-gradient(900px 600px at -5% 25%, rgba(94, 234, 212, 0.09), transparent 55%),
    var(--ink-1);
  background-attachment: fixed;
  overflow-x: clip;
}
img, canvas, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, p { margin: 0; }
tf-contact { scroll-margin-top: 84px; }
tf-nav, tf-hero, tf-trust, tf-pillars, tf-process, tf-sectors, tf-roi, tf-pilot, tf-quiz, tf-faq, tf-contact, tf-footer, tf-chat, tf-logo { display: block; }
::selection { background: rgba(125, 211, 252, 0.3); }
:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink-3); padding: 10px 16px; border-radius: 10px; }
.skip:focus { left: 8px; }

.wrap { width: min(var(--max), 100% - 2 * var(--gut)); margin-inline: auto; position: relative; z-index: 2; }
.section { padding: clamp(48px, 7vw, 96px) 0; position: relative; }
.eyebrow { font: 500 0.74rem var(--ff-mono); letter-spacing: 0.2em; text-transform: uppercase; color: var(--aqua); display: inline-flex; gap: 10px; align-items: center; }
.eyebrow::before { content: "✦"; color: var(--gold); letter-spacing: 0; }
.h2 { font-family: var(--ff-display); font-weight: 400; font-size: clamp(1.65rem, 3.1vw, 2.45rem); line-height: 1.08; letter-spacing: -0.02em; margin: 18px 0 16px; text-wrap: balance; }
.h2 em, .grad-text { font-style: italic; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { color: var(--muted); font-size: clamp(.95rem, 1.1vw, 1.04rem); max-width: 62ch; text-wrap: pretty; }
.head { max-width: 780px; margin-bottom: clamp(24px, 3.4vw, 42px); }

.btn { display: inline-flex; align-items: center; gap: 10px; border-radius: 999px; padding: 0.78rem 1.3rem; font-weight: 600; font-size: 0.92rem; border: 1px solid transparent; transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s var(--ease), filter 0.35s; white-space: nowrap; }
.btn-primary { background: var(--grad); color: #04101a; box-shadow: 0 10px 40px -10px rgba(94, 234, 212, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.45); }
.btn-primary:hover { transform: translateY(-2px); filter: brightness(1.08); box-shadow: 0 16px 50px -10px rgba(167, 139, 250, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.5); }
.btn-ghost { background: rgba(255, 255, 255, 0.04); border-color: var(--line-2); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.09); transform: translateY(-2px); }
.btn .arr { transition: transform 0.35s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }

.card { position: relative; border-radius: var(--r-lg); border: 1px solid var(--line); background: linear-gradient(160deg, rgba(20, 30, 62, 0.62), rgba(8, 13, 30, 0.55)); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); overflow: hidden; transition: border-color 0.5s var(--ease), transform 0.6s var(--ease); }
.card::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 0.5s; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(125, 211, 252, 0.13), transparent 60%); }
.card:hover { border-color: var(--line-2); }
.card:hover::after { opacity: 1; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.035); font-size: 0.86rem; color: var(--muted); }
.chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--aqua); box-shadow: 0 0 12px var(--aqua); }
.art { user-select: none; -webkit-user-drag: none; }

.rv .reveal { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.rv .reveal.in { opacity: 1; transform: none; }
.tf-fireflies { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rv .reveal { opacity: 1; transform: none; transition: none; }
}

@media (max-width: 900px) {
  input, select, textarea { font-size: 16px !important; }
  .card { -webkit-backdrop-filter: none; backdrop-filter: none; background: linear-gradient(160deg, rgba(18, 28, 58, 0.9), rgba(9, 14, 32, 0.9)); }
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
  .btn { min-height: 46px; }
}
@media (hover: none) { .card::after { display: none; } .pil:hover .pil-art, .sc2:hover img { transform: none; } }
