/* ==========================================================================
   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)
       ========================================================== */
/* bottom was -8px: the hero clips its overflow, so the icon's bottom edge was
   cut off flush with the hero. Sit it above the edge with a small gap. */
.tc-pcb-dock {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 16px;
  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;
  }
}

/* ==========================================================
   A card taps a phone to open and tour the embedded Ideal Bio demo. Sizes inside the phone screen and
   on the cards use container units so the scene scales as one.
   ========================================================== */
.tc-hero-stage:has(.tc-tap-scene) { clip-path: none !important; }
/* Sit level with the headline instead of centring against the tall copy column */
@media (min-width: 901px) { .tc-hero-grid > .tc-hero-stage:has(.tc-tap-scene) { align-self: start; margin-top: -28px; } }
.tc-tap-scene {
  position: absolute; inset: 0; z-index: 2;
  --tc-ts-cycle: 44s; --tc-ts-bg: #0B0C0F; --tc-ts-ink: #F2F2EE;
  perspective: 1400px;
}
[data-theme="light"] .tc-tap-scene { --tc-ts-bg: #F7F6F2; --tc-ts-ink: #0E1013; }

.tc-ts-floor {
  position: absolute; left: 40%; right: -6%; bottom: 0; height: 9%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(0,0,0,0.6), transparent 70%);
  filter: blur(12px); z-index: 0;
}
[data-theme="light"] .tc-ts-floor { background: radial-gradient(50% 50% at 50% 50%, rgba(50,36,110,0.30), transparent 70%); }

/* ── Phone ── */
.tc-ts-phone {
  position: absolute; right: 3%; top: 50%; width: 47%;
  transform: translateY(-50%) rotateY(-13deg) rotateX(3deg) rotateZ(1.5deg);
  transform-style: preserve-3d; z-index: 3;
  animation: tc-tsPhoneFloat 9s ease-in-out infinite;
}
@keyframes tc-tsPhoneFloat {
  0%, 100% { transform: translateY(-50%) rotateY(-13deg) rotateX(3deg) rotateZ(1.5deg); }
  50%      { transform: translateY(-52%) rotateY(-10deg) rotateX(4deg) rotateZ(1deg); }
}
.tc-ts-device {
  position: relative; aspect-ratio: 9 / 19.2;
  border-radius: 15.5% / 7.3%; padding: 3.2%;
  background: linear-gradient(145deg, #7a7d88 0%, #2a2c33 16%, #0c0d11 50%, #2e3037 84%, #8a8d98 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.10),
    0 46px 80px -28px rgba(0,0,0,0.80),
    0 20px 36px -20px rgba(103,68,218,0.60);
}
[data-theme="light"] .tc-ts-device {
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.10),
    0 46px 70px -30px rgba(40,28,100,0.45),
    0 20px 36px -22px rgba(103,68,218,0.45);
}
.tc-ts-btn { position: absolute; width: 1.5%; border-radius: 2px; background: linear-gradient(90deg, #24262c, #777a85); }
.tc-ts-btn-a { left: -1.1%; top: 18%; height: 4.5%; }
.tc-ts-btn-b { left: -1.1%; top: 26%; height: 8.5%; }
.tc-ts-btn-c { right: -1.1%; top: 24%; height: 12.5%; background: linear-gradient(270deg, #24262c, #777a85); }
.tc-ts-screen {
  position: relative; width: 100%; height: 100%;
  border-radius: 13.1% / 5.95%; overflow: hidden;
  background: var(--tc-ts-bg); box-shadow: 0 0 0 2px #000;
  container-type: inline-size;
}
.tc-ts-island {
  position: absolute; top: 2.1%; left: 50%; width: 30%; height: 3.5%;
  transform: translateX(-50%); background: #000; border-radius: 999px; z-index: 6;
}
.tc-ts-glare {
  position: absolute; inset: 0; z-index: 7; pointer-events: none;
  background: linear-gradient(115deg, rgba(255,255,255,0.11) 0%, rgba(255,255,255,0.03) 22%, transparent 38%);
}
.tc-ts-statusbar {
  position: absolute; top: 0; left: 0; right: 0; height: 7.4%; z-index: 5;
  display: flex; align-items: center; justify-content: space-between; padding: 0 8.5%;
  font-family: var(--tc-font-body, system-ui); font-weight: 600; font-size: 3.7cqw;
  color: var(--tc-ts-ink); background: var(--tc-ts-bg);
  opacity: 0; transition: opacity 400ms ease;
}
.tc-ts-sb-r { display: flex; align-items: center; gap: 1.6cqw; }
.tc-ts-sb-r svg { height: 3.2cqw; width: auto; fill: currentColor; }
.tc-ts-frame {
  position: absolute; left: 0; right: 0; top: 7.4%; bottom: 0; overflow: hidden;
  opacity: 0; transform: translateY(4%) scale(0.98);
  transition: opacity 500ms ease, transform 500ms ease;
}
.tc-ts-scale { width: 375px; transform-origin: 0 0; }
.tc-ts-page {
  display: block; width: 375px; height: 812px; border: 0;
  pointer-events: none; background: var(--tc-ts-bg); will-change: transform;
}
.tc-ts-urlbar {
  position: absolute; left: 50%; bottom: 3%; transform: translateX(-50%); z-index: 5;
  display: flex; align-items: center; gap: 1.8cqw; padding: 1.7cqw 3.6cqw; border-radius: 999px;
  background: color-mix(in srgb, var(--tc-ts-bg) 80%, transparent);
  border: 1px solid color-mix(in srgb, var(--tc-ts-ink) 16%, transparent);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  font-family: var(--tc-font-mono); font-size: 3.1cqw; color: var(--tc-ts-ink); white-space: nowrap;
  opacity: 0; transition: opacity 400ms ease;
}
.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-urlbar .tc-ts-dot { width: 1.6cqw; height: 1.6cqw; }

.tc-ts-lock {
  position: absolute; inset: 0; z-index: 4;
  display: flex; flex-direction: column; align-items: center; padding-top: 24%;
  color: var(--tc-ts-ink);
  background:
    radial-gradient(95% 55% at 50% 0%, rgba(103,68,218,0.50), transparent 72%),
    radial-gradient(85% 45% at 50% 100%, rgba(199,255,59,0.10), transparent 72%),
    var(--tc-ts-bg);
  transition: opacity 500ms ease, transform 500ms ease;
}
.tc-ts-lock-date { font-size: 4.3cqw; font-weight: 600; opacity: 0.75; }
.tc-ts-lock-time { font-family: var(--tc-font-display); font-weight: 700; font-size: 23cqw; letter-spacing: -0.04em; line-height: 1.05; }
.tc-ts-lock-hint {
  margin-top: auto; margin-bottom: 13%; max-width: 82%;
  display: flex; align-items: center; justify-content: center; gap: 2.2cqw;
  font-family: var(--tc-font-mono); font-size: 3.1cqw; letter-spacing: 0.1em; text-transform: uppercase;
  text-align: center; line-height: 1.5; opacity: 0.65;
}
.tc-ts-nfc-glyph {
  width: 4.4cqw; height: 4.4cqw; border-radius: 50%; flex: none;
  border: 1.5px solid var(--tc-pop);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--tc-pop) 25%, transparent);
  animation: tc-tsGlyph 1.8s ease-in-out infinite;
}
@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); } }
.tc-tap-scene.tc-is-open .tc-ts-lock { opacity: 0; transform: scale(1.04); pointer-events: none; }
.tc-tap-scene.tc-is-open .tc-ts-frame { opacity: 1; transform: none; }
.tc-tap-scene.tc-is-open .tc-ts-statusbar, .tc-tap-scene.tc-is-open .tc-ts-urlbar { opacity: 1; }

/* ── The card: one at a time; the finish changes each cycle.
   Concept: the tap, made visible. Tone-on-tone rings radiate from the
   contactless mark across an otherwise quiet face; a painted edge and
   a chamfer line give it thickness. Type is small and deliberate. ── */
.tc-ts-card {
  position: absolute; aspect-ratio: 1.586 / 1; container-type: inline-size;
  transform-origin: 50% 50%;
}
.tc-ts-card-main {
  width: 62%; left: -10%; bottom: 12%; z-index: 5;
  transform: rotate(-12deg);
  filter: drop-shadow(0 34px 36px rgba(0,0,0,0.62)) drop-shadow(0 5px 7px rgba(0,0,0,0.4));
}
[data-theme="light"] .tc-ts-card-main { filter: drop-shadow(0 30px 32px rgba(30,22,80,0.36)) drop-shadow(0 4px 6px rgba(30,22,80,0.24)); }
.tc-ts-card-face {
  --edge: #C7FF3B; --ink: #ECEDF0; --ink-soft: rgba(236,237,240,0.62);
  position: relative; width: 100%; height: 100%;
  border-radius: 4.2cqw; overflow: hidden; color: var(--ink);
  /* painted edge = the card's thickness, seen from below */
  box-shadow: 0 0.55cqw 0 var(--edge), 0 0.75cqw 0 rgba(0,0,0,0.55);
  transition: background 600ms ease, color 600ms ease;
}
/* chamfer: a 1px bevel that catches light top-left and falls off bottom-right */
.tc-ts-card-face::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; z-index: 3;
  background: linear-gradient(135deg, rgba(255,255,255,0.70), rgba(255,255,255,0.10) 30%, rgba(0,0,0,0.30) 62%, rgba(255,255,255,0.32));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
/* one slow specular band */
.tc-ts-card-face::before {
  content: ""; position: absolute; inset: -50%; pointer-events: none; z-index: 2;
  background: linear-gradient(112deg, transparent 44%, rgba(255,255,255,0.20) 50%, transparent 56%);
  animation: tc-tsSheen 7s linear infinite;
}
@keyframes tc-tsSheen { 0%, 55% { transform: translateX(-60%); } 85%, 100% { transform: translateX(60%); } }
.tc-ts-card-arcs { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 0.35; opacity: 0.13; }
.tc-ts-card-logo { position: absolute; top: 12%; left: 8%; height: 12.5%; width: auto; opacity: 0.95; }
.tc-ts-card-nfc { position: absolute; top: 12.5%; right: 8.5%; width: 7.5%; height: auto; fill: none; stroke: var(--edge); stroke-width: 2.2; stroke-linecap: round; }
.tc-ts-card-id { position: absolute; left: 8%; right: 8%; bottom: 25%; }
.tc-ts-card-name { font-family: var(--tc-font-display); font-weight: 600; font-size: 7.4cqw; letter-spacing: -0.028em; line-height: 1.05; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tc-ts-card-title { font-family: var(--tc-font-mono); font-size: 2.45cqw; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-soft); margin-top: 1.5cqw; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tc-ts-card-meta {
  position: absolute; left: 8%; right: 8%; bottom: 10%;
  display: flex; align-items: baseline; justify-content: space-between; gap: 3cqw;
  padding-top: 2.2cqw; border-top: 1px solid color-mix(in srgb, currentColor 16%, transparent);
  font-family: var(--tc-font-mono); font-size: 2.45cqw; color: var(--ink-soft); white-space: nowrap;
}
.tc-ts-card-handle { letter-spacing: 0.03em; color: var(--ink); opacity: 0.86; overflow: hidden; text-overflow: ellipsis; }
.tc-ts-card-finish { letter-spacing: 0.2em; text-transform: uppercase; flex: none; }

/* Metal Signature: matte gunmetal, fine horizontal brush, etched silver type, lime edge */
.tc-ts-card[data-finish="metal"] .tc-ts-card-face {
  background:
    radial-gradient(80% 110% at 8% 0%, rgba(255,255,255,0.16), transparent 55%),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.035) 0 0.5px, transparent 0.5px 1.6px),
    linear-gradient(100deg, #101114 0%, #2c2e34 22%, #15161a 45%, #34363d 68%, #131417 100%);
}
.tc-ts-card[data-finish="metal"] .tc-ts-card-name {
  background: linear-gradient(180deg, #FFFFFF 10%, #A6AAB4 95%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
/* Plastic: full-bleed brand purple, soft-touch matte, white edge */
.tc-ts-card[data-finish="plastic"] .tc-ts-card-face {
  --edge: #F2F2EE; --ink: #FFFFFF; --ink-soft: rgba(255,255,255,0.70);
  background:
    radial-gradient(70% 100% at 100% 100%, rgba(16,3,70,0.70), transparent 68%),
    radial-gradient(80% 110% at 8% 0%, rgba(255,255,255,0.20), transparent 55%),
    linear-gradient(135deg, #8C6EF4 0%, #6744DA 48%, #3A19A8 100%);
}
.tc-ts-card[data-finish="plastic"] .tc-ts-card-logo { filter: brightness(0) invert(1); }
.tc-ts-card[data-finish="plastic"] .tc-ts-card-nfc { stroke: #C7FF3B; }
/* Bamboo: pale grain, type burned in, dark edge */
.tc-ts-card[data-finish="bamboo"] .tc-ts-card-face {
  --edge: #5a3d18; --ink: #33210c; --ink-soft: rgba(51,33,12,0.66);
  background:
    radial-gradient(80% 110% at 8% 0%, rgba(255,250,230,0.35), transparent 55%),
    repeating-linear-gradient(1.5deg, rgba(96,62,20,0.13) 0 1px, transparent 1px 6px),
    repeating-linear-gradient(-1deg, rgba(120,84,36,0.07) 0 4px, transparent 4px 19px),
    linear-gradient(135deg, #E6CE9A 0%, #D0B277 52%, #B5924F 100%);
}
.tc-ts-card[data-finish="bamboo"] .tc-ts-card-logo { filter: brightness(0) invert(0.18) sepia(1) saturate(2); opacity: 0.9; }
.tc-ts-card[data-finish="bamboo"] .tc-ts-card-arcs { opacity: 0.22; }

/* Tap path. Stage is 1 : 1.15; the phone's top edge sits near 72% x, 11% y. */
@keyframes tc-tsCardTap {
  0%, 6%    { transform: translate(0, 0) rotate(-12deg); }
  11%, 17%  { transform: translate(79%, -176%) rotate(-19deg) scale(0.8); }
  23%, 100% { transform: translate(0, 0) rotate(-12deg); }
}
.tc-tap-scene.tc-is-running .tc-ts-card-main { animation: tc-tsCardTap var(--tc-ts-cycle) cubic-bezier(0.45, 0, 0.2, 1) infinite; }
.tc-ts-ring {
  position: absolute; left: 72%; top: 11%; width: 16%; aspect-ratio: 1; border-radius: 50%;
  border: 2px solid var(--tc-pop);
  transform: translate(-50%, -50%) scale(0.2); opacity: 0; z-index: 6; pointer-events: none;
}
.tc-tap-scene.tc-is-running .tc-ts-ring { animation: tc-tsRing var(--tc-ts-cycle) ease-out infinite; }
.tc-tap-scene.tc-is-running .tc-ts-ring2 { animation-delay: 350ms; }
@keyframes tc-tsRing {
  0%, 10.5% { opacity: 0; transform: translate(-50%, -50%) scale(0.2); }
  11.5%     { opacity: 0.9; }
  17%, 100% { opacity: 0; transform: translate(-50%, -50%) scale(1.8); }
}
.tc-ts-caption {
  position: absolute; left: 0; right: 0; bottom: -30px;
  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-phone, .tc-ts-card, .tc-ts-ring, .tc-ts-card-face::before, .tc-ts-nfc-glyph {
    animation: none !important;
    transition: none;
  }
  .tc-ts-lock { display: none; }
  .tc-ts-frame { opacity: 1; transform: none; }
  .tc-ts-statusbar, .tc-ts-urlbar { opacity: 1; }
}

.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;
}
/* Desktop: the fixed nav is ~77px tall, so an 84px top pad left the headline
   only ~7px under it. Clear the nav with real breathing room. */
@media (min-width: 1001px) {
  .tc-hero:has(.tc-hero-grid) {
    padding-top: clamp(124px, 10vw, 152px) !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);
  }
}
/* ==========================================================================
   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;
}

/* ==========================================================================
   Keep the ideal.bio dock on screen (desktop). The dock sits at the hero's
   bottom edge, and on laptop windows (≈650–800px tall once the browser's
   toolbars are taken off) the hero ran past the fold, so the icon and its
   circuit lines only showed after scrolling. Top padding, headline size and
   the gaps now also scale with the window height, and the tap-scene stage is
   capped by height (it scales with its width, aspect 1 / 1.15). Tall screens
   look as before, with the headline 2px smaller (72px).
   The hero fills the window height with its content centred in it, so the
   icon always sits just above the bottom of the screen.
   ========================================================================== */
/* ==========================================================
   MOBILE HERO — headline left, animation right, no overlap.
   responsive.css hides .tc-hero-stage wholesale at ≤900px; this
   page's stage carries the tap scene, so it comes back as a
   narrow right column. The lede/CTAs flow full width below it.
   ========================================================== */
@media (max-width: 900px) {
  .tc-hero:has(.tc-tap-scene) .tc-hero-grid { position: relative; }
  .tc-hero:has(.tc-tap-scene) .tc-hero-grid > :first-child { position: relative; z-index: 2; }
  .tc-hero:has(.tc-tap-scene) h1.tc-hero-headline-bleed { max-width: calc(100% - 180px) !important; min-height: 272px; overflow-wrap: anywhere; }
  .tc-hero .tc-hero-stage:has(.tc-tap-scene) {
    display: block !important;
    position: absolute; top: 0; right: -8px;
    width: 172px !important; max-width: none;
    margin: 0; min-height: 0 !important;
    aspect-ratio: 2 / 3;
    z-index: 1; pointer-events: none;
  }
  .tc-ts-phone { width: 62%; right: 2%; }
  .tc-ts-card-main { width: 76%; left: -4%; bottom: 3%; transform: rotate(-10deg); }
  .tc-ts-floor, .tc-ts-caption { display: none; }
  .tc-ts-ring { left: 68%; top: 12%; width: 22%; }
  @keyframes tc-tsCardTapM {
    0%, 6%    { transform: translate(0, 0) rotate(-10deg); }
    11%, 17%  { transform: translate(42%, -214%) rotate(-17deg) scale(0.85); }
    23%, 100% { transform: translate(0, 0) rotate(-10deg); }
  }
  .tc-tap-scene.tc-is-running .tc-ts-card-main { animation-name: tc-tsCardTapM; }
  .tc-hero .tc-hero-stage:has(.tc-tap-scene)::after { width: 130%; filter: blur(44px); opacity: 0.6; }
}
@media (max-width: 400px) {
  .tc-hero .tc-hero-stage:has(.tc-tap-scene) { width: clamp(126px, 41vw, 160px) !important; right: -6px; }
  .tc-hero:has(.tc-tap-scene) h1.tc-hero-headline-bleed {
    max-width: calc(100% - clamp(130px, 42vw, 164px)) !important;
    font-size: clamp(34px, 10.8vw, 42px) !important;
  }
}

@media (min-width: 1001px) {
  .tc-hero:has(.tc-hero-grid) {
    padding-top: clamp(104px, 15vh, 152px) !important;
    padding-bottom: clamp(40px, 7vh, 64px) !important;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .tc-hero .tc-hero-wrap {
    width: 100%;
  }
  .tc-hero:has(.tc-hero-grid) h1.tc-hero-headline-bleed {
    font-size: clamp(40px, min(5.2vw, 8.2vh), 72px) !important;
  }
  .tc-hero:has(.tc-hero-grid) .tc-lede {
    margin-top: clamp(18px, 3.2vh, 30px) !important;
  }
  .tc-hero:has(.tc-hero-grid) .tc-hero-actions {
    margin-top: clamp(22px, 3.6vh, 34px) !important;
  }
  .tc-hero:has(.tc-hero-grid) .tc-hero-proof {
    margin-top: clamp(18px, 3.2vh, 30px) !important;
  }
  .tc-hero .tc-hero-stage {
    min-height: 0 !important;
    width: min(100%, calc((100vh - clamp(104px, 15vh, 152px) - clamp(40px, 7vh, 64px) - 56px) / 1.15));
    justify-self: center;
  }
}
