@charset "UTF-8";
/* ==========================================================================
   PLATAFORMA DOC -- enhance.css v2.1
   Typography polish + interactive layer for v3 light-first design.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. GRAIN OVERLAY
   -------------------------------------------------------------------------- */
.grain {
  position: fixed; inset: -50%; width: 200%; height: 200%;
  pointer-events: none; z-index: 9999;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  opacity: 0.028;
  animation: grain-move 0.45s steps(1) infinite;
}
/* Mobile/touch: disable grain animation */
.is-touch .grain { display: none !important; animation: none !important; }

@keyframes grain-move {
  0%   { transform: translate(0,0); }    10%  { transform: translate(-3%,-4%); }
  20%  { transform: translate(-7%,2%); } 30%  { transform: translate(2%,-6%); }
  40%  { transform: translate(-4%,3%); } 50%  { transform: translate(-7%,-3%); }
  60%  { transform: translate(3%,4%); }  70%  { transform: translate(-4%,-7%); }
  80%  { transform: translate(5%,-2%); } 90%  { transform: translate(-5%,4%); }
  100% { transform: translate(4%,-4%); }
}

/* --------------------------------------------------------------------------
   2. CUSTOM CURSOR (pointer devices only)
   -------------------------------------------------------------------------- */
@media (pointer: fine) {
  * { cursor: none !important; }

  .cursor-dot, .cursor-ring {
    position: fixed; top: 0; left: 0;
    pointer-events: none; z-index: 10000;
    border-radius: 50%; will-change: transform; opacity: 0;
    transition: opacity 0.25s ease;
  }
  .cursor-dot {
    width: 5px; height: 5px;
    background: var(--color-primary);
    transform: translate(-50%,-50%);
  }
  .cursor-ring {
    width: 32px; height: 32px;
    border: 1.5px solid rgba(59,114,173,0.45);
    transform: translate(-50%,-50%);
    transition: width 0.22s ease, height 0.22s ease,
                border-color 0.22s ease, opacity 0.25s ease;
  }
  .cursor-dot.visible, .cursor-ring.visible { opacity: 1; }
  .cursor-ring.hovering {
    width: 50px; height: 50px;
    border-color: var(--color-primary);
    background: rgba(59,114,173,0.05);
  }
  .cursor-dot.hovering { opacity: 0; }
}

/* --------------------------------------------------------------------------
   3. TYPOGRAPHY POLISH -- Bricolage Grotesque optical sizing v3.1
   -------------------------------------------------------------------------- */

/* Hero headline -- variable font optical size axis for large display */
.hero-hl-inner {
  font-variation-settings: 'opsz' 72;
  font-size: clamp(3.25rem, 5.5vw, 5.75rem);
  line-height: 0.96;
  letter-spacing: -0.038em;
}

/* accent line -- stays in accent color, no italic */
.hero-hl-inner--accent { color: var(--color-accent); }

/* CTA headline -- optical size 48 for mid-display */
.cta-headline {
  font-variation-settings: 'opsz' 48;
  font-size: clamp(2.75rem, 5.2vw, 5rem);
  letter-spacing: -0.038em;
  line-height: 1.04;
}

/* Section titles -- bigger, tighter, optical sizing */
.section-title {
  font-variation-settings: 'opsz' 48;
  font-size: clamp(2.5rem, 4.5vw, 3.5rem);
  letter-spacing: -0.04em;
  line-height: 1.04;
}

/* Section subtitles */
.section-sub {
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  font-weight: 400;
  color: #374151;
  max-width: 540px;
  line-height: 1.68;
}
.section-sub--light { color: rgba(255,255,255,0.68); }

/* Label eyebrow */
.label-eyebrow { letter-spacing: 0.18em; }

/* Problem row numbers */
.problem-row__num {
  font-size: clamp(0.75rem, 1.4vw, 0.875rem);
  letter-spacing: 0.08em;
}

/* --------------------------------------------------------------------------
   4. LOGO SIZE
   -------------------------------------------------------------------------- */
.site-logo img { height: 42px; }

/* --------------------------------------------------------------------------
   5. STATS STRIP
   -------------------------------------------------------------------------- */
/* Primary accent top border for visual separation */
.section-stats { border-top: 3px solid var(--color-primary); }

/* Bigger stat numbers */
.stat-number { font-size: clamp(2.5rem, 5vw, 4.25rem); }

/* --------------------------------------------------------------------------
   6. HERO SPOTLIGHT
   -------------------------------------------------------------------------- */
.hero { --spot-x: 50%; --spot-y: 50%; }
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(500px circle at var(--spot-x) var(--spot-y),
    rgba(62,207,202,0.05) 0%, transparent 70%);
  pointer-events: none; z-index: 1;
}

/* Hero visual -- more visible + teal halo */
.hero-visual {
  position: relative;
}
.hero-visual::before {
  content: '';
  position: absolute; inset: -15%;
  background: radial-gradient(circle, rgba(62,207,202,0.10) 0%, transparent 65%);
  pointer-events: none; z-index: 0;
}
/* hero-visual img removed v3.1 */

/* Hero eyebrow dot -- subtle pulse */
.hero-dot {
  animation: dot-pulse 2.5s ease-in-out infinite;
}
@keyframes dot-pulse {
  0%, 100% { box-shadow: 0 0 6px var(--color-accent); }
  50%       { box-shadow: 0 0 18px var(--color-accent), 0 0 36px rgba(62,207,202,0.25); }
}

/* --------------------------------------------------------------------------
   7. NAV LINKS -- animated underline
   -------------------------------------------------------------------------- */
.nav-list a { position: relative; overflow: hidden; }
.nav-list a::after {
  content: '';
  position: absolute;
  bottom: 5px; left: var(--space-3); right: var(--space-3);
  height: 1.5px;
  background: var(--color-primary);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.22s ease;
}
.nav-list a:hover::after { transform: scaleX(1); }
.site-header.is-dark .nav-list a::after { background: var(--color-accent); }

/* --------------------------------------------------------------------------
   8. METHOD CARDS -- left accent border animation on hover
   -------------------------------------------------------------------------- */
.method-grid { perspective: 1200px; }
.method-card { will-change: transform; transform-origin: center center; position: relative; }
.method-card::before {
  content: '';
  position: absolute; top: 0; left: 0;
  width: 2px; height: 0%;
  background: var(--color-accent);
  transition: height 0.4s cubic-bezier(0.22,1,0.36,1);
  z-index: 3;
}
.method-card:hover::before { height: 100%; }
.method-card:hover {
  box-shadow: 0 24px 60px rgba(0,0,0,0.40), 0 0 0 1px rgba(62,207,202,0.12);
  background: rgba(255,255,255,0.032);
}

/* Method card title -- bigger */
.method-card__title { font-size: clamp(1.0625rem, 1.9vw, 1.25rem); }

/* Method DOC bg text removed v3.4 */

/* --------------------------------------------------------------------------
   9. PROBLEM ROWS -- inset box-shadow (no layout shift)
   -------------------------------------------------------------------------- */
.problem-row {
  border-left: none;
  box-shadow: inset 3px 0 0 transparent;
  transition: box-shadow 0.26s ease, background 0.26s ease, padding 0.26s ease;
}
.problem-row:hover {
  box-shadow: inset 3px 0 0 var(--color-primary);
  background: var(--bg-card);
}

/* --------------------------------------------------------------------------
   10. DAD CARDS -- top border + hover elevation
   -------------------------------------------------------------------------- */
.dad-card {
  border-top: 2px solid transparent;
  transition: box-shadow 0.28s ease, transform 0.28s ease, border-top-color 0.28s ease;
}
.dad-card:hover {
  border-top-color: var(--color-accent);
  box-shadow: 0 8px 28px rgba(13,17,23,0.10);
  transform: translateY(-3px);
}
.dad-card--sm:hover { border-top-color: transparent; box-shadow: none; transform: none; }

/* --------------------------------------------------------------------------
   11. CTA SECTION -- stronger radial gradient
   -------------------------------------------------------------------------- */
.section-cta::before {
  background: radial-gradient(circle, rgba(59,114,173,0.22) 0%, transparent 70%);
}

/* --------------------------------------------------------------------------
   12. MAGNETIC BUTTONS
   -------------------------------------------------------------------------- */
.btn-accent, .btn-primary { will-change: transform; }

/* --------------------------------------------------------------------------
   13. SCROLLBAR (light theme)
   -------------------------------------------------------------------------- */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg-subtle); }
::-webkit-scrollbar-thumb { background: rgba(59,114,173,0.26); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(59,114,173,0.48); }

/* --------------------------------------------------------------------------
   14. SELECTION + FOCUS
   -------------------------------------------------------------------------- */
::selection { background: rgba(59,114,173,0.14); color: var(--text-base); }
:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 3px; border-radius: 3px; }

/* --------------------------------------------------------------------------
   15. PAGE ENTRANCE
   -------------------------------------------------------------------------- */
.site-main { animation: page-in 0.5s ease forwards; }
@keyframes page-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* --------------------------------------------------------------------------
   16. STAT COUNTER NUMERICS
   -------------------------------------------------------------------------- */
.stat-val { font-variant-numeric: tabular-nums; font-feature-settings: 'tnum'; }

/* --------------------------------------------------------------------------
   17. TICKER
   -------------------------------------------------------------------------- */
.ticker-item { font-weight: 600; letter-spacing: 0.06em; }
.ticker-sep  { margin: 0 0.8em; }
