/* ==========================================================================
   The Ideal Card — 2026-11 design system: homepage hero
   Ported from the Ideal Brands handoff prototype (The-Ideal-Card-Prototype/
   index.html + css/responsive.css), keeping only the rules the ported markup
   uses. Everything is namespaced — classes .tc-*, ids #tc-*, variables
   --tc-*, keyframes tc-* — so it cannot collide with css/style.css or
   css/futuristic.css, which still style the rest of the site.
   Loaded by welcome.blade.php only.
   ========================================================================== */

/* ==========================================================
       Ideal.Bio — Fusion home
       Senthora calm + Flowty poster + FacilPay 3D + Superconscious airy
       ========================================================== */

.tc-lede {
  font-size: clamp(17px, 1.4vw, 21px);
  color: var(--tc-ink-2);
  line-height: 1.55;
  max-width: 52ch;
  margin: 0;
}
.tc-wrap {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 32px;
}
.tc-btn .tc-arrow {
  transition: transform 240ms cubic-bezier(0.2, 0.7, 0.3, 1);
}
.tc-btn:hover .tc-arrow {
  transform: translateX(4px);
}

/* ==========================================================
       Animation runtime (Framer-motion-adjacent)
       ========================================================== */
.tc-fx {
  opacity: 0;
  will-change: opacity, transform, filter;
  transition:
    opacity 1400ms var(--tc-ease-out-expo),
    transform 1600ms var(--tc-ease-out-expo),
    filter 1200ms var(--tc-ease-out-expo),
    clip-path 1400ms var(--tc-ease-out-expo);
}
.tc-fx-tilt3d {
  transform: perspective(1200px) rotateX(22deg) translateY(80px) scale(0.9);
  transform-origin: 50% 100%;
  filter: blur(6px);
}

.tc-fx.tc-on {
  opacity: 1;
  transform: none;
  filter: blur(0);
  clip-path: inset(0 0 0 0);
}
.tc-fx-stagger > * {
  opacity: 0;
  transform: translateY(70px) scale(0.96);
  filter: blur(6px);
  will-change: opacity, transform, filter;
  transition:
    opacity 1200ms var(--tc-ease-out-expo),
    transform 1200ms var(--tc-ease-out-expo),
    filter 900ms var(--tc-ease-out-expo);
}
.tc-fx-stagger.tc-on > * {
  opacity: 1;
  transform: none;
  filter: blur(0);
}

/* ==========================================================
       NEON PCB DOCK (Senthora bottom-of-hero circuit lines)
       ========================================================== */
.tc-pcb-dock {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 180px;
  z-index: 2;
  pointer-events: none;
  display: flex;
  align-items: end;
  justify-content: center;
}
.tc-pcb-dock svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.tc-pcb-dock .tc-pcb-line {
  stroke: var(--tc-accent);
  stroke-width: 1.2;
  fill: none;
  stroke-dasharray: 6 4;
  filter: drop-shadow(0 0 6px color-mix(in srgb, var(--tc-accent) 70%, transparent))
    drop-shadow(0 0 14px color-mix(in srgb, var(--tc-accent) 35%, transparent));
  opacity: 0.85;
  animation: tc-pcbFlow 6s linear infinite;
}
.tc-pcb-dock .tc-pcb-node {
  fill: var(--tc-accent);
  filter: drop-shadow(0 0 6px var(--tc-accent));
}
.tc-pcb-dock .tc-pcb-tile {
  position: relative;
  z-index: 2;
  width: 88px;
  height: 88px;
  border-radius: 22px;
  background: linear-gradient(160deg, #8064e8 0%, #6744da 45%, #3717a0 100%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 0 40px color-mix(in srgb, var(--tc-accent) 70%, transparent),
    0 20px 40px -12px rgba(0, 0, 0, 0.6),
    inset 0 2px 0 rgba(255, 255, 255, 0.28),
    inset 0 -2px 0 rgba(0, 0, 0, 0.28);
  color: #fff;
  font-family: var(--tc-font-display);
  font-weight: 800;
  font-size: 40px;
  animation: tc-dockPulse 3s ease-in-out infinite;
}
.tc-pcb-dock .tc-pcb-tile svg {
  position: static;
  inset: auto;
  width: 46px;
  height: 46px;
  display: block;
  overflow: visible;
}
@media (prefers-reduced-motion: reduce) {
  .tc-pcb-dock .tc-pcb-line,
  .tc-pcb-dock .tc-pcb-tile {
    animation: none;
  }
}

/* ==========================================================
       BIG HERO SMARTPHONE (Flowty signature)
       ========================================================== */
.tc-hero-headline-bleed {
  font-family: var(--tc-font-display);
  font-weight: 700;
  font-size: clamp(36px, 5.2vw, 88px);
  letter-spacing: -0.03em;
  line-height: 1.02;
  color: var(--tc-ink);
  margin: 0;
  overflow: visible;
  word-spacing: 0.02em;
}
.tc-hero-headline-bleed .tc-asterisk {
  display: inline-block;
  color: var(--tc-accent);
  transform: rotate(-15deg);
  animation: tc-astSpin 12s linear infinite;
  margin: 0 0.05em;
}
@media (prefers-reduced-motion: reduce) {
  .tc-hero-headline-bleed .tc-asterisk {
    animation: none;
  }
}

/* ==========================================================
       Wireframe mesh (Senthora signature)
       ========================================================== */
.tc-stars-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
}
[data-theme="light"] .tc-stars-canvas {
  opacity: 0.28;
}

/* ==========================================================
       Pill kicker (Senthora "★ ONLY IN SENTHORA" style)
       ========================================================== */
.tc-grad-text {
  background: linear-gradient(90deg, #ff85e3 0%, #b3a0f7 55%, #6744da 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ==========================================================
       Massive footer wordmark (Flowty signature)
       ========================================================== */
.tc-d-3 {
  transition-delay: 300ms;
}
.tc-count {
  display: inline-block;
}
.tc-parallax {
  transition: transform 400ms var(--tc-ease-out-expo);
}

@media (prefers-reduced-motion: reduce) {
  .tc-fx,
  .tc-fx-stagger > * {
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    clip-path: none !important;
  }
  .tc-glow-orb {
    animation: none !important;
  }
}

/* ==========================================================
       HERO
       ========================================================== */
.tc-hero {
  position: relative;
  padding: clamp(90px, 9vw, 130px) 0 clamp(96px, 12vw, 140px);
  overflow: clip;
}
.tc-glow-orb {
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
  z-index: 0;
  animation: tc-orbDrift 18s ease-in-out infinite;
}
.tc-glow-orb.tc-o-1 {
  width: 640px;
  height: 640px;
  background: radial-gradient(circle, var(--tc-accent) 0%, transparent 65%);
  top: -160px;
  right: -160px;
}
.tc-glow-orb.tc-o-2 {
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, var(--tc-accent-deep) 0%, transparent 60%);
  bottom: -80px;
  left: -140px;
  animation-delay: -6s;
}
[data-theme="light"] .tc-glow-orb {
  opacity: 0.28;
}

.tc-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(48px, 6vw, 96px);
  align-items: center;
}
.tc-hero-grid > * {
  min-width: 0;
}
.tc-hero h1 {
  margin-bottom: 32px;
  max-width: 12ch;
}
.tc-hero .tc-lede {
  margin-bottom: 40px;
}
.tc-hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.tc-hero-stage {
  position: relative;
  aspect-ratio: 1 / 1.15;
  min-height: clamp(440px, 66vh, 640px);
}
.tc-hero-stage::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(560px, 100%);
  aspect-ratio: 1 / 1.5;
  transform: translate(-50%, -50%);
  background:
    radial-gradient(45% 40% at 50% 50%, var(--tc-pop) 0%, transparent 55%),
    radial-gradient(70% 60% at 50% 50%, var(--tc-accent) 0%, transparent 60%);
  filter: blur(70px);
  opacity: 0.85;
  z-index: 0;
  pointer-events: none;
  animation: tc-heroGlow 5s ease-in-out infinite;
}
[data-theme="light"] .tc-hero-stage::after {
  opacity: 0.5;
}
@media (prefers-reduced-motion: reduce) {
  .tc-hero-stage::after {
    animation: none;
  }
}

/* ==========================================================
       HERO TAP SCENE — card taps phone, phone opens the real profile
       ========================================================== */
.tc-hero-stage:has(.tc-tap-scene) {
  clip-path: none !important;
}
.tc-tap-scene {
  position: absolute;
  inset: 0;
  z-index: 2;
  --tc-ts-cycle: 9s;
}
.tc-ts-phone {
  position: absolute;
  right: 6%;
  top: 50%;
  width: 38%;
  transform: translateY(-40%);
  z-index: 3;
  animation: tc-tsPhoneFloat 8s ease-in-out infinite;
}
.tc-ts-phone .tc-phone {
  max-width: none;
  width: 100%;
  aspect-ratio: 9 / 18.6;
  padding: 7px;
  border-radius: 30px;
}
.tc-ts-phone .tc-phone-screen {
  border-radius: 23px;
}
.tc-ts-lock,
.tc-ts-profile {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 28px 12px 14px;
  transition:
    opacity 500ms ease,
    transform 500ms ease;
}
.tc-ts-lock {
  justify-content: center;
  gap: 10px;
  color: var(--tc-ink);
  z-index: 2;
}
.tc-tap-scene.tc-is-open .tc-ts-lock {
  pointer-events: none;
}
.tc-ts-lock-time {
  font-family: var(--tc-font-display);
  font-weight: 700;
  font-size: 34px;
  letter-spacing: -0.03em;
}
.tc-ts-lock-hint {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--tc-font-mono);
  font-size: 7.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--tc-ink-3);
  text-align: center;
  white-space: nowrap;
}
.tc-ts-nfc-glyph {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1.5px solid var(--tc-pop);
  position: relative;
  flex: none;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--tc-pop) 25%, transparent);
  animation: tc-tsGlyph 1.8s ease-in-out infinite;
}
.tc-ts-profile {
  opacity: 0;
  transform: translateY(18px) scale(0.97);
  gap: 0;
}
.tc-ts-live {
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: var(--tc-font-mono);
  font-size: 7.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--tc-ink-3);
  margin-bottom: 10px;
  white-space: nowrap;
}
.tc-ts-dot,
.tc-ts-cap-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--tc-pop);
  box-shadow: 0 0 8px var(--tc-pop);
  flex: none;
}
.tc-ts-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  border: 2px solid color-mix(in srgb, var(--tc-accent) 60%, transparent);
}
.tc-ts-name {
  font-weight: 700;
  font-size: 12px;
  margin-top: 7px;
  color: var(--tc-ink);
  text-align: center;
}
.tc-ts-headline {
  font-size: 9px;
  color: var(--tc-ink-2);
  margin-top: 2px;
  text-align: center;
  line-height: 1.35;
}
.tc-ts-links {
  width: 100%;
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.tc-ts-link {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 7px;
  padding: 7px 8px;
  font-size: 9px;
  text-align: center;
  color: var(--tc-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tc-ts-link.tc-primary {
  background: var(--tc-pop);
  border-color: var(--tc-pop);
  color: #0e1013;
  font-weight: 600;
}
[data-theme="light"] .tc-ts-link {
  background: rgba(0, 0, 0, 0.05);
  border-color: rgba(0, 0, 0, 0.1);
}
.tc-ts-save {
  margin-top: auto;
  width: 100%;
  text-align: center;
  font-size: 9px;
  font-weight: 600;
  padding: 7px;
  border-radius: 7px;
  background: var(--tc-accent);
  color: #fff;
}
.tc-ts-card {
  position: absolute;
  left: -2%;
  bottom: 4%;
  width: 56%;
  aspect-ratio: 1.586 / 1;
  z-index: 4;
  transform-origin: 50% 50%;
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.55));
  transform: rotate(-9deg);
}
.tc-ts-card-face {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 14px;
  overflow: hidden;
  color: #fff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.25),
    inset 0 -1px 0 rgba(0, 0, 0, 0.35);
  transition: background 600ms ease;
}
.tc-ts-card-face::before {
  /* sheen that sweeps */
  content: "";
  position: absolute;
  inset: -40%;
  background: linear-gradient(115deg, transparent 40%, rgba(255, 255, 255, 0.22) 50%, transparent 60%);
  animation: tc-tsSheen var(--tc-ts-cycle) linear infinite;
  pointer-events: none;
}
.tc-ts-card-logo {
  position: absolute;
  top: 9%;
  left: 6%;
  height: 12%;
  width: auto;
}
.tc-ts-card-nfc {
  position: absolute;
  top: 9%;
  right: 6%;
  width: 11%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
}
.tc-ts-card-nfc::before,
.tc-ts-card-nfc::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.tc-ts-card-nfc::before {
  width: 55%;
  height: 55%;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
}
.tc-ts-card-nfc::after {
  width: 22%;
  height: 22%;
  background: rgba(255, 255, 255, 0.85);
}
.tc-ts-card-id {
  position: absolute;
  left: 6%;
  bottom: 9%;
  right: 36%;
}
.tc-ts-card-name {
  font-family: var(--tc-font-display);
  font-weight: 700;
  font-size: clamp(12px, 2.6cqw, 17px);
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.tc-ts-card-title {
  font-size: clamp(7px, 1.5cqw, 10px);
  opacity: 0.85;
  margin-top: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tc-ts-card-handle {
  font-family: var(--tc-font-mono);
  font-size: clamp(7px, 1.5cqw, 10px);
  margin-top: 3px;
  letter-spacing: 0.02em;
}
.tc-ts-card-finish {
  position: absolute;
  right: 6%;
  bottom: 9%;
  font-family: var(--tc-font-mono);
  font-size: clamp(6px, 1.3cqw, 9px);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.75;
}
.tc-ts-card {
  container-type: inline-size;
}
.tc-tap-scene[data-finish="metal"] .tc-ts-card-face {
  background:
    repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 3px),
    linear-gradient(115deg, #3a3d44 0%, #6c7079 22%, #2b2e34 48%, #70747d 72%, #30333a 100%);
}
.tc-tap-scene[data-finish="plastic"] .tc-ts-card-face {
  background: linear-gradient(135deg, #7a5cf0 0%, #6744da 45%, #3717a0 100%);
}
.tc-tap-scene[data-finish="bamboo"] .tc-ts-card-face {
  color: #2b1d0c;
  background:
    repeating-linear-gradient(0deg, rgba(90, 60, 20, 0.1) 0 2px, transparent 2px 9px),
    linear-gradient(135deg, #d9be86 0%, #c4a468 50%, #a98648 100%);
}
.tc-tap-scene[data-finish="plastic"] .tc-ts-card-logo {
  filter: brightness(0) invert(1);
}
.tc-tap-scene[data-finish="bamboo"] .tc-ts-card-logo {
  filter: brightness(0) invert(0.18);
}
.tc-tap-scene[data-finish="bamboo"] .tc-ts-card-nfc,
.tc-tap-scene[data-finish="bamboo"] .tc-ts-card-nfc::before {
  border-color: rgba(43, 29, 12, 0.6);
}
.tc-tap-scene[data-finish="bamboo"] .tc-ts-card-nfc::after {
  background: rgba(43, 29, 12, 0.75);
}
.tc-tap-scene.tc-is-open .tc-ts-lock {
  opacity: 0;
  transform: scale(1.04);
}
.tc-tap-scene.tc-is-open .tc-ts-profile {
  opacity: 1;
  transform: none;
}
.tc-ts-ring {
  position: absolute;
  left: 75%;
  top: 23%;
  width: 18%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 2px solid var(--tc-pop);
  transform: translate(-50%, -50%) scale(0.2);
  opacity: 0;
  z-index: 5;
  pointer-events: none;
}
.tc-tap-scene.tc-is-running .tc-ts-card {
  animation: tc-tsCardTap var(--tc-ts-cycle) cubic-bezier(0.45, 0, 0.2, 1) infinite;
}
.tc-tap-scene.tc-is-running .tc-ts-ring {
  animation: tc-tsRing var(--tc-ts-cycle) ease-out infinite;
}
.tc-ts-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--tc-font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--tc-ink-3);
}
@media (prefers-reduced-motion: reduce) {
  .tc-ts-card,
  .tc-ts-ring,
  .tc-ts-card-face::before,
  .tc-ts-phone,
  .tc-ts-nfc-glyph {
    animation: none !important;
  }
  .tc-ts-card {
    transform: translate(88%, -222%) rotate(-16deg) scale(0.85);
  }
  .tc-tap-scene .tc-ts-lock {
    opacity: 0;
  }
  .tc-tap-scene .tc-ts-profile {
    opacity: 1;
    transform: none;
  }
}

.tc-hero-meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--tc-line);
}
.tc-hero-meta .tc-n {
  font-family: var(--tc-font-display);
  font-weight: 500;
  font-size: clamp(28px, 3.4vw, 46px);
  letter-spacing: -0.028em;
  line-height: 1;
  display: block;
  margin-bottom: 10px;
}
.tc-hero-meta .tc-d {
  font-size: 13.5px;
  color: var(--tc-ink-2);
  line-height: 1.5;
  max-width: 26ch;
}

/* ==========================================================
       HOW IT WORKS (numbered 01–04)
       ========================================================== */
.tc-phone {
  position: relative;
  max-width: 220px;
  aspect-ratio: 9 / 18;
  border-radius: 28px;
  background: var(--tc-canvas-3);
  border: 1px solid var(--tc-line-2);
  padding: 8px;
  box-shadow: var(--tc-shadow-elev);
}
.tc-phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(160deg, #17131f 0%, #0e0e15 100%);
}
[data-theme="light"] .tc-phone-screen {
  background: linear-gradient(160deg, #f1ede3 0%, #e2ddd0 100%);
}
.tc-phone-notch {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 44px;
  height: 8px;
  background: rgba(0, 0, 0, 0.85);
  border-radius: 999px;
  z-index: 2;
}
@media (max-width: 1080px) {
  .tc-hero-meta {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 780px) {
  .tc-hero-grid {
    grid-template-columns: 1fr;
  }
  .tc-hero-meta {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 560px) {
  .tc-wrap {
    padding: 0 22px;
  }
}

@media (max-width: 400px) {
  .tc-hero-headline-bleed {
    font-size: clamp(40px, 13vw, 64px) !important;
  }
}
@media (max-width: 900px) {
  .tc-hero-stage {
    max-width: 360px;
    margin: 40px auto 0;
  }
  .tc-hero-headline-bleed {
    font-size: clamp(32px, 8vw, 56px) !important;
  }
  .tc-hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .tc-hero-actions .tc-btn {
    justify-content: center;
  }
}

/* ==========================================================
   Responsive pass (shared across The Ideal Brands sites)
   Hero type scale + nav collapse + phone content containment
   ========================================================== */
.tc-hero:has(.tc-hero-grid) {
  padding: clamp(56px, 6vw, 84px) 0 clamp(40px, 5vw, 64px) !important;
}
.tc-hero:has(.tc-hero-grid) h1.tc-hero-headline-bleed,
.tc-hero:has(.tc-hero-grid) h1 {
  font-size: clamp(46px, 6.6vw, 88px) !important;
  line-height: 0.98 !important;
  letter-spacing: -0.025em !important;
  margin-bottom: 18px !important;
  max-width: 12ch;
}
.tc-hero:has(.tc-hero-grid) .tc-lede {
  margin-top: 20px !important;
  margin-bottom: 0 !important;
  font-size: clamp(17px, 1.45vw, 21px) !important;
  max-width: 46ch;
}
.tc-hero:has(.tc-hero-grid) .tc-hero-actions {
  margin-top: 22px !important;
  margin-bottom: 0 !important;
}
.tc-hero:has(.tc-hero-grid) .tc-hero-proof {
  margin-top: 22px !important;
}
.tc-hero .tc-hero-grid {
  align-items: center !important;
}
.tc-hero .tc-hero-grid > :first-child {
  margin-top: 0 !important;
  padding-top: 0 !important;
}
.tc-hero .tc-hero-stage {
  min-height: clamp(380px, 52vh, 560px) !important;
}

@media (max-width: 1000px) {
  .tc-hero .tc-hero-grid {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }
  .tc-hero:has(.tc-hero-grid) h1 {
    max-width: 16ch !important;
  }
  .tc-hero:has(.tc-hero-grid) .tc-lede {
    max-width: 60ch !important;
  }
  .tc-hero .tc-hero-stage {
    margin: 0 auto;
    width: 100%;
    max-width: 520px;
  }
}
@media (max-width: 900px) {
  .tc-hero .tc-hero-stage,
  .tc-hero .tc-pcb-dock {
    display: none !important;
  }
  .tc-hero .tc-hero-grid {
    gap: 20px !important;
  }
  .tc-hero:has(.tc-hero-grid) {
    padding-bottom: 32px !important;
  }
  .tc-hero:has(.tc-hero-grid) .tc-hero-proof {
    gap: 8px 16px !important;
  }
}
@media (max-width: 640px) {
  .tc-wrap {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
  .tc-hero-meta {
    grid-template-columns: 1fr !important;
  }
}
.tc-hero:has(.tc-hero-grid) h1.tc-hero-headline-bleed {
  font-size: clamp(42px, 5.4vw, 74px) !important;
  line-height: 1.08 !important;
  letter-spacing: -0.02em !important;
  margin-bottom: 0 !important;
  max-width: 14ch;
}
.tc-hero:has(.tc-hero-grid) .tc-lede {
  margin-top: 30px !important;
  line-height: 1.6 !important;
  max-width: 44ch;
}
.tc-hero:has(.tc-hero-grid) .tc-hero-actions {
  margin-top: 34px !important;
}
.tc-hero:has(.tc-hero-grid) .tc-hero-proof {
  margin-top: 30px !important;
}
@media (max-width: 900px) {
  .tc-hero:has(.tc-hero-grid) h1.tc-hero-headline-bleed {
    max-width: none;
  }
}
[data-theme="light"] .tc-phone-screen {
  background: linear-gradient(160deg, var(--tc-card, #ffffff) 0%, var(--tc-card, #ffffff) 100%) !important;
}
[data-theme="light"] .tc-phone-notch {
  background: var(--tc-card, #ffffff) !important;
}
[data-theme="light"] span.tc-n {
  color: #2c1773 !important;
}
@keyframes tc-pcbFlow {
  to {
    stroke-dashoffset: -100;
  }
}
@keyframes tc-dockPulse {
  0%,
  100% {
    box-shadow:
      0 0 40px color-mix(in srgb, var(--tc-accent) 70%, transparent),
      0 20px 40px -12px rgba(0, 0, 0, 0.6),
      inset 0 2px 0 rgba(255, 255, 255, 0.28),
      inset 0 -2px 0 rgba(0, 0, 0, 0.28);
  }
  50% {
    box-shadow:
      0 0 68px color-mix(in srgb, var(--tc-accent) 95%, transparent),
      0 20px 40px -12px rgba(0, 0, 0, 0.6),
      inset 0 2px 0 rgba(255, 255, 255, 0.36),
      inset 0 -2px 0 rgba(0, 0, 0, 0.28);
  }
}
@keyframes tc-astSpin {
  to {
    transform: rotate(345deg);
  }
}
@keyframes tc-orbDrift {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(-20px, 30px) scale(1.06);
  }
}
@keyframes tc-heroGlow {
  0%,
  100% {
    opacity: 0.75;
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.12);
  }
}
@keyframes tc-tsPhoneFloat {
  0%,
  100% {
    transform: translateY(-40%);
  }
  50% {
    transform: translateY(-43%);
  }
}
@keyframes tc-tsGlyph {
  0%,
  100% {
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--tc-pop) 25%, transparent);
  }
  50% {
    box-shadow: 0 0 0 6px color-mix(in srgb, var(--tc-pop) 8%, transparent);
  }
}
@keyframes tc-tsSheen {
  0%,
  60% {
    transform: translateX(-60%);
  }
  85%,
  100% {
    transform: translateX(60%);
  }
}
@keyframes tc-tsCardTap {
  0% {
    transform: translate(0, 0) rotate(-9deg);
  }
  22% {
    transform: translate(0, 0) rotate(-9deg);
  }
  36%,
  62% {
    transform: translate(88%, -222%) rotate(-16deg) scale(0.85);
  }
  78%,
  100% {
    transform: translate(0, 0) rotate(-9deg);
  }
}
@keyframes tc-tsRing {
  0%,
  34% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.2);
  }
  37% {
    opacity: 0.9;
  }
  50%,
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.6);
  }
}

/* ==========================================================================
   The prototype's inline style="" attributes, as classes (values verbatim).
   Where a later !important rule above overrides one (the hero type pass),
   the override still wins exactly as it did in the prototype.
   ========================================================================== */
.tc-hero-wrap {
  position: relative;
  z-index: 2;
}
.tc-hero-copy {
  margin-top: -32px;
}
.tc-hero-copy h1 {
  margin-top: 0;
}
.tc-hero-copy .tc-lede {
  margin-top: 32px;
}
.tc-hero-code {
  font-family: var(--tc-font-mono);
  font-size: 0.92em;
  color: var(--tc-ink);
}
.tc-hero-copy .tc-hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 40px;
}
.tc-hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin-top: 28px;
  font-family: var(--tc-font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--tc-ink-2);
}
.tc-hero-proof > span:nth-child(2) {
  color: var(--tc-ink-3);
}
.tc-hero-meta-band {
  padding: 40px 0;
  position: relative;
  z-index: 3;
  background: var(--tc-canvas);
}

/* The layout pads .page-wrapper for the old 64px navbar; the new nav is a
   transparent overlay and the hero carries its own top padding. */
.tc-page .page-wrapper {
  padding-top: 0;
}

/* Responsive fix (not in the prototype): below 900px the nav is 68-72px tall
   but the hero's top padding bottoms out at 56px, so the headline slid under
   the fixed nav. Clear the nav plus a little air. */
@media (max-width: 900px) {
  .tc-hero:has(.tc-hero-grid) {
    padding-top: 88px !important;
  }
}

/* ==========================================================================
   Trust bar — the strip between the hero stats and the shop section.
   ========================================================================== */
.tc-trust-bar {
  background: var(--tc-canvas-2);
  border-top: 1px solid var(--tc-line);
  border-bottom: 1px solid var(--tc-line);
  padding: 32px 0;
  position: relative;
  z-index: 3;
}
.tc-trust-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 48px 64px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}
@media (max-width: 500px) {
  .tc-trust-grid {
    flex-direction: column;
    gap: 24px;
    text-align: center;
  }
}
.tc-trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
}
@media (max-width: 500px) {
  .tc-trust-item {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }
}
.tc-trust-item .tc-t-ico {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--tc-accent) 12%, transparent);
  color: var(--tc-accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.tc-trust-item .tc-t-ico svg {
  width: 18px;
  height: 18px;
}
.tc-trust-item .tc-t-t {
  font-family: var(--tc-font-display);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -0.01em;
  color: var(--tc-ink);
  line-height: 1.2;
}
.tc-trust-item .tc-t-d {
  font-family: var(--tc-font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--tc-ink-3);
  margin-top: 4px;
}

/* Stagger delays for .tc-fx-stagger children (prototype rules; missed by the
   first extraction pass). */
.tc-fx-stagger.tc-on > *:nth-child(1) {
  transition-delay: 0ms;
}
.tc-fx-stagger.tc-on > *:nth-child(2) {
  transition-delay: 140ms;
}
.tc-fx-stagger.tc-on > *:nth-child(3) {
  transition-delay: 280ms;
}
.tc-fx-stagger.tc-on > *:nth-child(4) {
  transition-delay: 420ms;
}
.tc-fx-stagger.tc-on > *:nth-child(5) {
  transition-delay: 560ms;
}
.tc-fx-stagger.tc-on > *:nth-child(6) {
  transition-delay: 700ms;
}
.tc-fx-stagger.tc-on > *:nth-child(7) {
  transition-delay: 840ms;
}
.tc-fx-stagger.tc-on > *:nth-child(8) {
  transition-delay: 980ms;
}
.tc-fx-stagger.tc-on > *:nth-child(9) {
  transition-delay: 1120ms;
}
.tc-fx-stagger.tc-on > *:nth-child(10) {
  transition-delay: 1260ms;
}
