/* ==========================================================================
   TutorLab — portada (index.html)
   ========================================================================== */

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; isolation: isolate; padding-block: clamp(3rem, 7vw, 5.5rem) clamp(1.5rem, 3vw, 2.5rem); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 44px 44px; opacity: .5;
  -webkit-mask-image: radial-gradient(ellipse 60% 55% at 50% 30%, #000 10%, transparent 75%);
          mask-image: radial-gradient(ellipse 60% 55% at 50% 30%, #000 10%, transparent 75%);
}
/* Video de fondo difuminado (manos programando). Un velo del color del papel lo deja
   tenue para que el texto se lea igual; se desvanece arriba y abajo hacia la página.
   home.js lo reproduce solo cuando el hero está en pantalla. */
.hero-bg { position: absolute; inset: 0 0 auto 0; height: var(--hero-bg-h, 780px); z-index: -2; overflow: hidden; pointer-events: none; }
.hero-bg video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  filter: blur(var(--hero-blur, 4px)) saturate(1.05); transform: scale(1.12);
}
.hero-copy { position: relative; }
.hero-copy::before {
  content: ""; position: absolute; inset: -6% -10%; z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--paper) 62%, transparent), transparent);
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg,
    var(--paper) 0%,
    color-mix(in srgb, var(--paper) 22%, transparent) 16%,
    color-mix(in srgb, var(--paper) 18%, transparent) 66%,
    var(--paper) 100%);
}
:root[data-theme="dark"] .hero-bg::after {
  background: linear-gradient(180deg,
    var(--paper) 0%,
    color-mix(in srgb, var(--paper) 34%, transparent) 16%,
    color-mix(in srgb, var(--paper) 28%, transparent) 66%,
    var(--paper) 100%);
}
@media (max-width: 760px) { .hero-bg { --hero-blur: 3px; } }
.hero-inner { display: grid; justify-items: center; gap: clamp(2.5rem, 6vw, 4.5rem); }
.hero-copy { display: flex; flex-direction: column; align-items: center; text-align: center; max-width: 52rem; }
.hero h1 { font-size: clamp(2.6rem, 7.4vw, 5.8rem); margin-top: 1.2rem; }
.hero h1 .marker { display: inline-block; line-height: 1; padding: .02em .14em .1em; margin-top: .1em; border-radius: .08em; }
.section-head .marker { line-height: 1.25; }

/* ---------- Título del hero: entrada palabra por palabra + luz ----------
   1) cada palabra sube desde una máscara; 2) el bloque negro de "stick." se dibuja de izquierda a derecha;
   3) un brillo plateado recorre las palabras una vez; 4) un destello cruza "stick." cada pocos segundos. */
.hero-title .w { display: inline-block; overflow: hidden; vertical-align: top; padding: .04em .02em .16em; margin: -.04em -.02em -.16em; }
.hero-title .t {
  display: inline-block; transform: translateY(110%); filter: blur(6px);
  animation: wordUp 1s cubic-bezier(.2,.8,.2,1) forwards, wordShine 1.4s ease-in-out forwards;
  animation-delay: calc(.12s + var(--i) * .08s), calc(1.35s + var(--i) * .1s);
  background: linear-gradient(100deg, var(--ink) 0 42%, #b8b8b8 50%, var(--ink) 58% 100%);
  background-size: 260% 100%; background-position: 100% 0;
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
@keyframes wordUp { to { transform: none; filter: blur(0); } }
@keyframes wordShine { to { background-position: 0% 0; } }

/* "stick.": el fondo negro se dibuja con un pseudo-elemento */
.hero-title .w--mark { overflow: visible; }
.hero-title .marker {
  position: relative; isolation: isolate; overflow: hidden;
  background: none; color: #fff; -webkit-text-fill-color: #fff;
  animation: wordUp 1s cubic-bezier(.2,.8,.2,1) forwards; animation-delay: calc(.12s + var(--i) * .08s);
}
.hero-title .marker::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--ink);
  transform: scaleX(0); transform-origin: left center;
  animation: markWipe .7s cubic-bezier(.65,0,.35,1) .62s forwards, markHue 10s ease-in-out 1.4s infinite;
}
/* Paleta que recorre el bloque de "stick." (todos con buen contraste para el texto blanco) */
@keyframes markHue {
  0%, 100% { background: #2f6bff; }
  20% { background: #7c3aed; }
  40% { background: #e8366f; }
  60% { background: #f2610c; }
  80% { background: #0b9b6b; }
}
.hero-title .marker::after {
  content: ""; position: absolute; top: -20%; bottom: -20%; left: 0; width: 38%; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.55), transparent);
  transform: translateX(-160%) skewX(-18deg);
  animation: glint 5.5s ease-in-out 2.1s infinite;
}
@keyframes markWipe { to { transform: scaleX(1); } }
@keyframes glint { 0% { transform: translateX(-160%) skewX(-18deg); } 22%, 100% { transform: translateX(330%) skewX(-18deg); } }

/* Resto del hero: aparece suave después del título */
.hero-in { opacity: 0; transform: translateY(14px); animation: heroIn .8s ease forwards; animation-delay: var(--d, 0s); }
@keyframes heroIn { to { opacity: 1; transform: none; } }
@media (max-width: 480px) { .hero-copy .eyebrow { font-size: .68rem; letter-spacing: .08em; } }

@media (prefers-reduced-motion: reduce) {
  .hero-title .t, .hero-title .marker, .hero-in { animation: none; transform: none; filter: none; opacity: 1; }
  .hero-title .t { background: none; color: var(--ink); }
  .hero-title .marker { color: #fff; }
  .hero-title .marker::before { animation: none; transform: none; background: #2f6bff; }
  .hero-title .marker::after { display: none; }
}
.hero-lede { margin-top: 1.4rem; max-width: 40rem; font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--ink-2); }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem; margin-top: 2rem; }
.hero-sign { display: flex; align-items: center; gap: .8rem; margin-top: 1.8rem; font-size: .92rem; color: var(--ink-3); }
.hero-sign img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 2px solid var(--paper-2); box-shadow: var(--shadow); }
.hero-sign strong { color: var(--ink); font-weight: 600; }

/* ---------- Showcase: iPhone + texto, luego texto + MacBook ----------
   Guías de Apple: bezels sin modificar, sin taparse entre sí y en escala real.
   Escala: el iPhone mide el 24.2% del ancho de la imagen de la MacBook Pro 14". */
.devices { scroll-margin-top: 90px; width: 100%; container-type: inline-size; --mac: 58cqw; --phone: calc(var(--mac) * .242); display: grid; gap: clamp(4rem, 9vw, 7rem); }
.devices figure { margin: 0; }
.showcase { display: grid; align-items: center; gap: 6cqw; }

/* Fila de tutores (Mac): panel negro. Arriba título + app; en medio la Mac grande; abajo 4 funciones. */
.showcase--mac {
  display: block; position: relative; isolation: isolate; overflow: hidden;
  padding: clamp(2.5rem, 5cqw, 4.5rem) clamp(1.5rem, 5cqw, 4.5rem);
  border-radius: 32px; background: #0a0a0a; color: #fff;
}
.showcase--mac::before {
  content: ""; position: absolute; z-index: -1; left: 50%; top: 48%; width: 80%; aspect-ratio: 2 / 1; translate: -50% -50%;
  background: radial-gradient(closest-side, rgba(255,255,255,.10), transparent 70%); pointer-events: none;
}
.showcase--mac .eyebrow { color: rgba(255,255,255,.6); }
.showcase--mac .eyebrow::before { background: #fff; }
.showcase--mac h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); margin-top: .9rem; color: #fff; }
.showcase--mac .marker { background: #fff; color: #0a0a0a; line-height: 1.25; }
/* Encabezado centrado y simétrico: eyebrow, título grande y, debajo, el "lockup" de la app
   (ícono · nombre · estado), la descripción y el botón. Alineado al eje de la Mac. */
.mac-head { display: grid; justify-items: center; text-align: center; gap: clamp(1.8rem, 3.5cqw, 2.6rem); }
.mac-head > div:first-child { display: grid; justify-items: center; }
.showcase--mac .mac-head h2 { font-size: clamp(2.4rem, 6.2cqw, 4.6rem); }
.mac-app { display: grid; justify-items: center; max-width: 36rem; }
.mac-lockup { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .6rem .9rem; }
.mac-lockup img { width: 52px; height: 52px; border-radius: 22.5%; box-shadow: 0 10px 30px -10px rgba(47,107,255,.45); }
.mac-app h3 { font-size: clamp(1.4rem, 2.4cqw, 1.8rem); color: #fff; }
.mac-app p { margin-top: 1rem; color: rgba(255,255,255,.7); font-size: 1.05rem; }
.mac-app .btn { margin-top: 1.6rem; }
.showcase--mac .pill-soon { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.18); color: #fff; }
.btn-light { background: #fff; color: #0a0a0a; }
.btn-light:hover { box-shadow: 0 14px 28px -14px rgba(255,255,255,.4); }
.showcase--mac .dev-mac { width: min(100%, 900px); margin: clamp(2.5rem, 5cqw, 4rem) auto 0; }
/* TutorLab Notes es para Mac y iPhone: un iPhone encima de la esquina de la Mac. */
.dev-mac { position: relative; }
.mac-phone { position: absolute; z-index: 2; right: -3%; bottom: 2%; width: 23%; height: auto; filter: drop-shadow(0 30px 40px rgba(0,0,0,.6)); }
/* Con el scroll (main.js pone --sp): la Mac sube un poco y el iPhone sube más, hasta quedar en su lugar. */
.dev-mac .mac-device { translate: 0 calc((1 - var(--sp, 1)) * 70px); }
.mac-phone { translate: 0 calc((1 - var(--sp, 1)) * 220px); }
.features { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin-top: clamp(2.5rem, 5cqw, 4rem); }
.feature {
  padding: 1.5rem; border-radius: 20px; background: #151515; border: 1px solid #262626;
  transition: transform .35s cubic-bezier(.2,.8,.2,1), border-color .35s ease, box-shadow .35s ease;
}
.feature svg { width: 28px; height: 28px; color: #fff; }
.feature h4 { margin: 1.1rem 0 0; font: 700 1.1rem/1.2 var(--display); color: #fff; }
.feature p { margin-top: .45rem; font-size: .95rem; color: rgba(255,255,255,.65); }
:root[data-theme="dark"] .showcase--mac { background: #111; border: 1px solid var(--line); }
@media (max-width: 1000px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .features { grid-template-columns: 1fr; } }
/* Aparición ligada al scroll (fichas de Notes y tarjetas de Verb Rush / Secret app):
   se revelan juntas de izquierda a derecha con un borde suave que avanza
   (--fp de 0 a 1, lo pone home.js). Al subir, se ocultan. */
.is-wipe:not(.is-full) {
  --edge: calc(var(--fp, 0) * 125%);
  -webkit-mask-image: linear-gradient(90deg, #000 calc(var(--edge) - 25%), transparent var(--edge));
          mask-image: linear-gradient(90deg, #000 calc(var(--edge) - 25%), transparent var(--edge));
}
.is-wipe > * { translate: calc((1 - var(--fp, 0)) * -28px) 0; }
.dev-iphone img { width: 100%; height: auto; }
.mac-device { position: relative; }
/* El bezel se usa tal cual (sin sombras ni cambios). Su pantalla es transparente:
   el contenido va DETRÁS de la imagen. */
.mac-frame { position: relative; z-index: 1; width: 100%; height: auto; }
.mac-screen { position: absolute; left: 10.85%; top: 11.05%; width: 78.3%; height: 78.05%; z-index: 0; overflow: hidden; background: #fff; container-type: inline-size; }

.textlink { display: inline-flex; align-items: center; gap: .3rem; font-weight: 600; }
.textlink svg { width: 16px; height: 16px; transition: translate .2s; }
.textlink:hover svg { translate: 3px 0; }

/* Fila de estudiantes (iPhone): panel gris claro.
   Arriba el título; abajo el iPhone y dos tarjetas (Verb Rush y app secreta). */
.showcase--phone {
  /* iPhone más grande en su propio panel (ya no comparte composición con la Mac) */
  --phone: clamp(220px, 24cqw, 300px);
  grid-template-columns: var(--phone) minmax(0, 1fr);
  grid-template-areas: "head head" "phone tiles";
  column-gap: clamp(2rem, 6cqw, 5rem); row-gap: clamp(2rem, 4cqw, 3rem); align-items: center;
  padding: clamp(2.5rem, 5cqw, 4.5rem) clamp(1.5rem, 5cqw, 4.5rem);
  border-radius: 32px; border: 1px solid #e4e4e4; background: #f2f2f2;
}
.showcase-head { grid-area: head; max-width: 44rem; }
.showcase-head h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); margin-top: .9rem; }
.showcase-head .marker { line-height: 1.25; }
.showcase--phone .dev-iphone { grid-area: phone; justify-self: center; width: var(--phone); }
/* iPhone que rota tres pantallas (Arcade en video → DASH01 naranja → D-02), 4 s cada una.
   Solo cambia el contenido; el bezel queda fijo y sin efectos. */
.swap-stage { position: relative; aspect-ratio: 720 / 1469; }
.swap-stage .swap-layer { position: absolute; inset: 0; width: 100%; height: 100%; }
.vr-live video { position: absolute; left: 5.1%; top: 2.2%; width: 89.8%; height: 95.6%; object-fit: cover; border-radius: 13% / 6%; background: #0d0b0a; }
.vr-live img { position: absolute; inset: 0; width: 100%; height: 100%; }
.dev-swap .swap-l0, .dev-swap .swap-l1, .dev-swap .swap-l2 { animation: swap3 12s ease-in-out infinite; }
.dev-swap .swap-l1 { animation-delay: -8s; }
.dev-swap .swap-l2 { animation-delay: -4s; }
@keyframes swap3 { 0%, 30% { opacity: 1; } 36%, 94% { opacity: 0; } 100% { opacity: 1; } }
/* Etiqueta debajo del iPhone (no encima del bezel), sincronizada con la pantalla */
.swap-cap { position: relative; display: grid; justify-items: stretch; width: max-content; max-width: 100vw; margin: 1rem auto 0; font-size: .85rem; font-weight: 500; color: var(--ink-3); text-align: center; }
.swap-cap span { grid-area: 1 / 1; padding: .3rem .75rem; border-radius: 999px; background: #fff; border: 1px solid var(--line); white-space: nowrap; }
.swap-cap b { color: var(--ink); }
:root[data-theme="dark"] .swap-cap span { background: #0a0a0a; }
@media (prefers-reduced-motion: reduce) {
  .dev-swap .swap-l0, .dev-swap .swap-l1, .dev-swap .swap-l2 { animation: none; }
  .dev-swap .swap-l1, .dev-swap .swap-l2 { opacity: 0; }
}
.tiles { grid-area: tiles; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; align-items: stretch; }
.tile {
  display: flex; flex-direction: column; padding: clamp(1.4rem, 2.4cqw, 2rem); border-radius: 22px; background: #fff; border: 1px solid #e4e4e4;
  transition: transform .35s cubic-bezier(.2,.8,.2,1), border-color .35s ease, box-shadow .35s ease;
}
/* Al pasar el cursor: solo un ligero zoom (sin contorno) */
.tile:hover, .tile:focus-within { transform: scale(1.025); }
@media (prefers-reduced-motion: reduce) { .tile:hover, .tile:focus-within { transform: none; } }
.tile-top { display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.tile-icon { width: 56px; height: 56px; border-radius: 22.5%; flex: none; }
.tile-q { display: grid; place-items: center; background: var(--ink); color: var(--paper); }
.tile-q svg { width: 28px; height: 28px; }
.tile h3 { font-size: 1.5rem; margin-top: 1.4rem; }
.tile p { margin-top: .6rem; color: var(--ink-2); }
.tile-cta { margin-top: auto; padding-top: 1.6rem; }
:root[data-theme="dark"] .showcase--phone { background: #141414; border-color: var(--line); }
:root[data-theme="dark"] .tile { background: #0a0a0a; border-color: var(--line); }
@media (max-width: 1000px) { .tiles { grid-template-columns: 1fr; } }

/* En móvil no caben lado a lado con el tamaño mínimo de Apple (200 px): todo en una columna */
@media (max-width: 760px) {
  .showcase--phone { grid-template-columns: 1fr; padding: 0; gap: 2.2rem; }
  .showcase--mac { padding: 2.2rem 1.25rem; border-radius: 24px; }
  /* La Mac usa casi todo el ancho para pasar el mínimo de 200 px de alto de Apple */
  .showcase--mac .dev-mac { width: calc(100% + 1.5rem); margin-inline: -.75rem; }
  .mac-phone { width: 27%; right: 0; bottom: 0; }
  .showcase--phone { grid-template-areas: "head" "phone" "tiles"; padding: 2.2rem 1.25rem; border-radius: 24px; }
  .dev-iphone, .showcase--phone .dev-iphone { width: min(62%, 240px); justify-self: center; }
}

/* ---------- TutorLab Notes (Mac) recreado en HTML; todo escala con cqw ---------- */
.tr { --a: #0f766e; --as: rgba(15,118,110,.12); width: 100%; height: 100%; display: flex; flex-direction: column; background: #f2f2f7; color: #1c1c1e; font: 400 1.05cqw/1.3 -apple-system, "SF Pro Text", var(--font); text-align: left; }
.tr-menubar { display: flex; align-items: center; gap: 1.6cqw; height: 2.6cqw; padding: 0 1.6cqw; background: rgba(255,255,255,.85); border-bottom: 1px solid #e3e3e8; font-size: .95cqw; }
.tr-menubar b { width: .9cqw; height: 1.05cqw; border-radius: 40% 40% 45% 45%; background: #1c1c1e; }
.tr-menubar strong { font-weight: 700; }
.tr-menubar em { margin-left: auto; font-style: normal; }
.tr-app { flex: 1; display: grid; grid-template-columns: 17cqw 1fr; min-height: 0; }
.tr-side { display: flex; flex-direction: column; gap: .35cqw; padding: 1.4cqw 1cqw; background: #e9e9ee; border-right: 1px solid #dcdce2; }
.tr-brand { display: flex; align-items: center; gap: .7cqw; font-weight: 700; font-size: 1.15cqw; margin-bottom: 1cqw; padding-left: .4cqw; }
.tr-brand img { width: 2cqw; height: 2cqw; border-radius: 22%; }
.tr-side span { display: flex; align-items: center; gap: .8cqw; padding: .6cqw .8cqw; border-radius: .6cqw; color: #3a3a3c; }
.tr-side span.is-on { background: var(--as); color: var(--a); font-weight: 600; }
.tr-side i { width: 1.2cqw; height: 1.2cqw; border-radius: .3cqw; border: .16cqw solid currentColor; }
.tr-side .i-students { border-radius: 50%; }
.tr-side .i-fin { border-radius: .2cqw; border-width: .16cqw .16cqw .5cqw; }
.tr-side .i-set { border-radius: 50%; border-style: dotted; }
.tr-main { padding: 1.8cqw 2.2cqw; display: flex; flex-direction: column; gap: 1.4cqw; min-height: 0; }
.tr-head { display: flex; align-items: flex-end; justify-content: space-between; }
.tr-head small { color: #8a8a8e; font-size: 1cqw; text-transform: uppercase; letter-spacing: .05em; font-weight: 600; }
.tr-head h3 { font: 700 2.6cqw/1.1 -apple-system, "SF Pro Display", var(--font); letter-spacing: -.02em; margin-top: .2cqw; }
.tr-btn { background: var(--a); color: #fff; font-weight: 600; padding: .6cqw 1.1cqw; border-radius: 99px; }
.tr-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 1.2cqw; }
.tr-col { display: flex; flex-direction: column; gap: 1.2cqw; }
.tr-card, .tr-brief { background: #fff; border-radius: 1.1cqw; padding: 1.2cqw 1.3cqw; box-shadow: 0 .1cqw .3cqw rgba(0,0,0,.05); }
.tr-brief { background: var(--a); color: #fff; }
.tr-brief-top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: .6cqw; }
.tr-brief-top b { font-size: 1.45cqw; }
.tr-brief-top span { opacity: .8; font-size: .95cqw; }
.tr-brief p { margin: .45cqw 0 0; font-size: 1.05cqw; color: rgba(255,255,255,.92); }
.tr-brief em { display: inline-block; width: 6cqw; font-style: normal; opacity: .7; }
.tr-brief .tag { font-style: normal; display: inline-block; padding: .15cqw .55cqw; margin-right: .4cqw; border-radius: 99px; background: rgba(255,255,255,.2); font-size: .9cqw; }
.tr-card-h { display: flex; justify-content: space-between; font-weight: 700; font-size: 1.15cqw; margin-bottom: .7cqw; }
.tr-card-h span { color: #8a8a8e; font-weight: 500; }
.tr-row { display: grid; grid-template-columns: 4.2cqw 1fr auto; align-items: center; gap: .6cqw; padding: .65cqw 0; border-top: 1px solid #efeff3; }
.tr-row time { color: #8a8a8e; font-variant-numeric: tabular-nums; }
.tr-row span { font-size: .9cqw; padding: .2cqw .6cqw; border-radius: 99px; }
.tr-row .ok { background: rgba(52,199,89,.15); color: #1e7a3c; }
.tr-row .ask { background: rgba(255,149,0,.16); color: #a35a00; }
.tr-row .soon { background: var(--as); color: var(--a); font-weight: 600; }
.tr-row .muted { color: #8a8a8e; }
.tr-row.is-next b { color: var(--a); }
.tr-money { font: 700 2.6cqw/1 -apple-system, "SF Pro Display", var(--font); letter-spacing: -.02em; }
.tr-money small { font-size: 1cqw; font-weight: 500; color: #8a8a8e; margin-left: .4cqw; }
.tr-bars { display: grid; grid-template-columns: repeat(7, 1fr); align-items: end; gap: .5cqw; height: 5.5cqw; margin-top: 1cqw; }
.tr-bars i { display: block; border-radius: .3cqw .3cqw .1cqw .1cqw; background: #d9ece9; min-height: .3cqw; }
.tr-bars i.is-on { background: var(--a); }
.tr-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: .5cqw; margin-top: .4cqw; text-align: center; color: #8a8a8e; font-size: .85cqw; }
.tr-hw { display: flex; flex-direction: column; padding: .55cqw 0; border-top: 1px solid #efeff3; }
.tr-hw span { color: #6c6c70; font-size: .95cqw; }

/* ---------- Principles ---------- */
.principles { background: var(--soft); border-block: 1px solid var(--line); padding-top: clamp(2.5rem, 5vw, 4rem); }
.principles-head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 1.5rem 4rem; align-items: end; margin-bottom: clamp(2.5rem, 6vw, 4.5rem); }
.principles-head h2 { font-size: clamp(2rem, 4.6vw, 3.3rem); margin-top: .9rem; }
.principles-head .marker { line-height: 1.25; }
.principles-head p { color: var(--ink-2); font-size: 1.1rem; max-width: 26rem; }

/* ---------- Proceso en 4 pasos: animación en orden ----------
   Ligado al scroll (home.js pone --p de 0 a 1 en .process): la línea avanza con el scroll,
   cada punto se enciende cuando la línea lo alcanza (.step.is-on) y se apaga al regresar.
   La tarjeta sube la primera vez (.step.is-seen), su ícono se dibuja y el número pasa a sólido. */
.process { --step: .42s; position: relative; }
.process.reveal { opacity: 1; transform: none; }
.process-line { position: absolute; left: 12.5%; right: 12.5%; top: 9px; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.process-line span { position: absolute; inset: 0; background: var(--ink); transform: scaleX(var(--p, 0)); transform-origin: left center; transition: transform .12s linear; }
.process-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
.step { --d: 0s; display: flex; flex-direction: column; align-items: center; }
.step-dot {
  position: relative; z-index: 1; width: 20px; height: 20px; border-radius: 50%; background: var(--soft); border: 2px solid var(--line);
  transform: scale(.6); transition: transform .45s cubic-bezier(.34,1.56,.64,1) var(--d), background-color .3s ease var(--d), border-color .3s ease var(--d);
}
.step-dot::after { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 2px solid var(--ink); opacity: 0; transform: scale(.5); }
.step.is-on .step-dot { transform: scale(1); background: var(--ink); border-color: var(--ink); }
.step.is-on .step-dot::after { animation: dotPing .9s ease-out both; }
@keyframes dotPing { 0% { opacity: .5; transform: scale(.5); } 100% { opacity: 0; transform: scale(1.6); } }

.step-card {
  width: 100%; margin-top: 1.6rem; padding: 1.6rem; border-radius: 22px; background: var(--paper-2); border: 1px solid var(--line);
  opacity: 0;
  transition: transform .35s cubic-bezier(.2,.8,.2,1), border-color .35s ease, box-shadow .35s ease;
}
/* Entrada con animación (no transición) para que el hover no herede el retraso */
.step.is-seen .step-card { opacity: 1; animation: stepIn .8s cubic-bezier(.2,.8,.2,1) backwards; }
@keyframes stepIn { from { opacity: 0; transform: translateY(28px); filter: blur(6px); } }
.step-card:hover { border-color: #2f6bff; box-shadow: 0 0 0 1px #2f6bff, 0 0 22px rgba(47,107,255,.3), 0 18px 40px -20px rgba(47,107,255,.4); transform: translateY(-4px) scale(1.02); }
.step-top { display: flex; align-items: center; justify-content: space-between; }
.step-num {
  font: 700 2.6rem/1 var(--display); letter-spacing: -.04em;
  color: transparent; -webkit-text-stroke: 1.5px var(--ink);
  transition: color .5s ease .35s;
}
.step.is-on .step-num { color: var(--ink); }
.step-icon { width: 34px; height: 34px; color: var(--ink); }
.step-icon path, .step-icon circle { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .9s ease .15s; }
.step.is-on .step-icon path, .step.is-on .step-icon circle { stroke-dashoffset: 0; }
.step-card h3 { font-size: 1.3rem; margin-top: 1.3rem; }
.step-card p { margin-top: .55rem; color: var(--ink-2); font-size: .97rem; }

/* ---------- Números grandes ---------- */
.stats { padding-bottom: clamp(4rem, 9vw, 7rem); }
.stats-head { max-width: 40rem; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.stats-head h2 { font-size: clamp(2rem, 4.6vw, 3.3rem); margin-top: .9rem; }
.stats-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.stat { padding: clamp(1.6rem, 3vw, 2.4rem) clamp(1rem, 2.4vw, 2rem) 0 0; }
.stat + .stat { padding-left: clamp(1rem, 2.4vw, 2rem); border-left: 1px solid var(--line); }
.stat-num {
  display: flex; align-items: baseline; gap: .12em;
  font: 700 clamp(3.6rem, 8.4vw, 7rem)/.9 var(--display); letter-spacing: -.055em;
  background: linear-gradient(180deg, var(--ink) 30%, color-mix(in srgb, var(--ink) 45%, transparent));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  font-variant-numeric: tabular-nums;
  padding: .04em .08em .08em; margin: -.04em 0 -.08em -.08em; /* que el recorte del degradado no corte los dígitos */
}
.stat-num small { font-size: .32em; letter-spacing: -.02em; }
.stat p { margin-top: .9rem; max-width: 15rem; color: var(--ink-2); font-size: 1rem; }
@media (max-width: 900px) {
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(odd) { padding-left: 0; border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 1.6rem; }
}

/* Tableta y móvil: línea vertical a la izquierda, pasos uno debajo del otro */
@media (max-width: 900px) {
  .principles-head { grid-template-columns: 1fr; }
  .process-line { left: 9px; right: auto; top: 10px; bottom: 10px; width: 2px; height: auto; }
  .process-line span { transform: scaleY(var(--p, 0)); transform-origin: center top; }
  .process-steps { grid-template-columns: 1fr; gap: 1rem; }
  .step { flex-direction: row; align-items: flex-start; gap: 1.1rem; }
  .step-dot { flex: none; margin-top: 1.7rem; }
  .step-card { margin-top: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .process-line span { transition: none; transform: none !important; }
  .step-dot, .step-card, .step-num, .step-icon path, .step-icon circle { transition: none; }
  .step-card { opacity: 1; }
  .step.is-seen .step-card { animation: none; }
  .step-dot { transform: none; background: var(--ink); border-color: var(--ink); }
  .step-num { color: var(--ink); }
  .step-icon path, .step-icon circle { stroke-dashoffset: 0; }
  .step.is-on .step-dot::after { animation: none; }
}

/* ---------- Founder ---------- */
.founder-inner { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.founder-photo { position: relative; width: 100%; max-width: 400px; }
.founder-photo img {
  position: relative; width: 100%; height: auto; aspect-ratio: 1122 / 1402; object-fit: cover; border-radius: var(--radius);
  box-shadow: 0 30px 60px -28px rgba(0,0,0,.45);
}
.founder-photo::after {
  content: "Founder"; position: absolute; left: 1rem; bottom: 1rem;
  padding: .45rem .8rem; border-radius: 999px; background: var(--lime); color: var(--lime-ink); font: 700 .75rem/1 var(--font); letter-spacing: .1em; text-transform: uppercase;
}
.founder blockquote { margin: 1rem 0 0; font: 600 clamp(1.5rem, 3.2vw, 2.4rem)/1.2 var(--display); letter-spacing: -.025em; }
.founder-text { margin-top: 1.4rem; color: var(--ink-2); font-size: 1.08rem; max-width: 36rem; }
.founder-name { margin-top: 1.6rem; font-weight: 600; }
.founder-name span { display: block; font-weight: 400; color: var(--ink-3); font-size: .92rem; }
@media (max-width: 760px) {
  .founder-inner { grid-template-columns: 1fr; }
  .founder-photo { max-width: 340px; }
}

/* ---------- CTA: palabras que caen (como en spanishtutornow) ----------
   Cada palabra cae con el scroll y aterriza con un rebote, una nube de polvo y una
   pequeña sacudida; al subir, se levantan otra vez. Lógica en home.js. Sin JS: estático. */
.drop-cta { position: relative; overflow: hidden; padding-block: clamp(4rem, 10vw, 7.5rem) clamp(4.5rem, 10vw, 7rem); text-align: center; }
/* Video de fondo difuminado (del libro de gramática a la laptop con código), igual que el
   del hero: velo del color del papel, desvanecido arriba y abajo. */
.drop-cta { isolation: isolate; }
.drop-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.drop-bg video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: blur(4px) saturate(1.05); transform: scale(1.08); }
.drop-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, var(--paper) 0%,
    color-mix(in srgb, var(--paper) 30%, transparent) 20%,
    color-mix(in srgb, var(--paper) 30%, transparent) 80%, var(--paper) 100%);
}
:root[data-theme="dark"] .drop-bg::after {
  background: linear-gradient(180deg, var(--paper) 0%,
    color-mix(in srgb, var(--paper) 42%, transparent) 20%,
    color-mix(in srgb, var(--paper) 42%, transparent) 80%, var(--paper) 100%);
}
.drop-cta .wrap { position: relative; }
.drop-cta .wrap::before {
  content: ""; position: absolute; inset: -4% 4%; z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--paper) 62%, transparent), transparent);
}
.drop-actions p { color: var(--ink); font-weight: 500; }
@media (max-width: 760px) { .drop-bg video { filter: blur(3px) saturate(1.05); } }
.drop-words {
  display: flex; flex-direction: column; align-items: center; gap: .04em; margin: 0;
  font-size: min(clamp(3rem, 10.5vw, 8rem), calc((100vw - 2.5rem) / 7.2)); letter-spacing: -.055em; line-height: .98;
}
.drop-line { display: block; white-space: nowrap; }
.drop-word { position: relative; display: inline-block; will-change: transform; }
.drop-ink { display: inline-block; transform-origin: 50% 100%; }
.drop-word--accent .drop-ink { animation: dropHue 10s ease-in-out infinite; padding-right: .03em; }
@keyframes dropHue { 0%,100% { color: #2f6bff; } 20% { color: #7c3aed; } 40% { color: #e8366f; } 60% { color: #f2610c; } 80% { color: #0b9b6b; } }
.drop-word::after {
  content: ""; position: absolute; left: 8%; right: 8%; bottom: .02em; height: .16em; border-radius: 50%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--ink) 35%, transparent), transparent);
  opacity: 0; transform: scaleX(.3); pointer-events: none;
}
.drop-word.is-landed .drop-ink { animation: dropSquash .55s cubic-bezier(.3,1.6,.5,1); }
.drop-word--accent.is-landed .drop-ink { animation: dropSquash .55s cubic-bezier(.3,1.6,.5,1), dropHue 10s ease-in-out infinite; }
.drop-word.is-landed::after { animation: dropDust .7s ease-out forwards; }
.drop-words.is-shake { animation: dropShake .32s ease-out; }
@keyframes dropSquash { 0% { transform: scale(1.12, .74); } 45% { transform: scale(.95, 1.07); } 100% { transform: none; } }
@keyframes dropDust { 0% { opacity: .9; transform: scaleX(.35); } 100% { opacity: 0; transform: scaleX(1.5) translateY(-.05em); } }
@keyframes dropShake { 0%, 100% { transform: none; } 25% { transform: translateY(4px); } 55% { transform: translateY(-2px); } 80% { transform: translateY(1px); } }
.drop-actions { display: grid; justify-items: center; gap: 1.6rem; margin-top: clamp(2rem, 4.5vw, 3rem); }
.drop-actions p { max-width: 34rem; color: var(--ink-2); font-size: 1.08rem; }
.drop-cta.is-enhanced .drop-actions { opacity: 0; transform: translateY(18px); pointer-events: none; transition: opacity .6s ease, transform .7s cubic-bezier(.16,1,.3,1); }
.drop-cta.is-enhanced.is-complete .drop-actions { opacity: 1; transform: none; pointer-events: auto; }
@media (prefers-reduced-motion: reduce) { .drop-word--accent .drop-ink { animation: none; color: #2f6bff; } }
}

/* ---------- Párrafos con frase inicial resaltada (estilo editorial) ----------
   La primera oración va en blanco y el resto en gris: <p class="lead-in"><strong>…</strong> …</p> */
p.lead-in { color: var(--ink-3); font-weight: 400; }
p.lead-in strong { color: var(--ink); font-weight: 600; }

/* ---------- Palabra gigante de sección (VERB RUSH / NOTES) ----------
   Ocupa todo el ancho (home.js ajusta el tamaño exacto) y aparece ligada al scroll:
   sube, se enfoca y se ilumina conforme --gp va de 0 a 1. */
.giant {
  margin: clamp(2rem, 6vw, 5rem) 0 calc(-1 * clamp(4rem, 9vw, 7rem) + clamp(1.2rem, 3vw, 2.4rem));
  line-height: .78; white-space: nowrap; overflow: hidden; text-align: center; user-select: none;
  padding-block: .04em .02em;
}
.giant-t {
  /* Misma tipografía que el resto del sitio (Space Grotesk) */
  display: inline-block; font: 700 18cqw/.78 var(--display); letter-spacing: -.045em; text-transform: uppercase;
  background: linear-gradient(180deg, var(--ink) 25%, color-mix(in srgb, var(--ink) 18%, transparent) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-right: .045em; /* compensa el letter-spacing negativo del final */
}
.giant.is-scroll .giant-t {
  opacity: calc(.08 + var(--gp, 0) * .92);
  transform: translateY(calc((1 - var(--gp, 0)) * 28%)) scale(calc(.94 + var(--gp, 0) * .06));
  filter: blur(calc((1 - var(--gp, 0)) * 10px));
  will-change: transform, opacity, filter;
}

/* Proceso: las 4 tarjetas con la misma altura (también en Nosotros, que reutiliza este bloque) */
.process-steps { align-items: stretch; }
.process-steps .step { align-items: stretch; }
.process-steps .step-dot { align-self: center; }
.process-steps .step-card { flex: 1; display: flex; flex-direction: column; }

/* ---------- Trabaja con nosotros: apps y sitios web a la medida ---------- */
.work-head { max-width: 50rem; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.work-head h2 { margin-top: .9rem; font-size: clamp(2rem, 4.6vw, 3.4rem); }
.work-head .marker { line-height: 1.25; }
.work-head .lead-in { margin-top: 1.1rem; font-size: 1.1rem; max-width: 42rem; }
.work-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.work-card { position: relative; overflow: hidden; padding: 1.7rem; border-radius: 24px; background: var(--glass-bg); border: 1px solid var(--glass-edge); box-shadow: inset 0 1px 0 var(--glass-hi), var(--glass-shadow); transition: transform .3s, border-color .3s; }
.work-card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--ink) 30%, transparent); }
.work-ico { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; background: color-mix(in srgb, var(--ink) 8%, transparent); border: 1px solid color-mix(in srgb, var(--ink) 18%, transparent); }
.work-ico svg { width: 22px; height: 22px; fill: none; stroke: var(--ink); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.work-card h3 { margin-top: 1.2rem; font-size: 1.3rem; }
.work-card p { margin-top: .5rem; color: var(--ink-2); }
.work-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.4rem; margin-top: clamp(2rem, 4vw, 2.8rem); }
.work-cta .btn svg { width: 18px; height: 18px; }
.work-cta span { color: var(--ink-3); font-size: .95rem; }
@media (max-width: 900px) { .work-grid { grid-template-columns: 1fr; } }

/* "¿Necesitas una app o un sitio web?": las letras se iluminan, brillan intenso y bajan despacio, en loop */
.work-head h2 { animation: work-glow 4s ease-in-out infinite; }
.work-head h2 .marker { animation: work-glow-box 4s ease-in-out infinite; }
@keyframes work-glow {
  0%, 100% { text-shadow: 0 0 0 rgba(255,255,255,0); }
  45% { text-shadow: 0 0 12px rgba(255,255,255,.55), 0 0 32px rgba(255,255,255,.35), 0 0 64px rgba(120,160,255,.25); }
}
@keyframes work-glow-box {
  0%, 100% { box-shadow: 0 0 0 rgba(255,255,255,0); }
  45% { box-shadow: 0 0 22px rgba(255,255,255,.45), 0 0 60px rgba(120,160,255,.3); }
}
@media (prefers-reduced-motion: reduce) { .work-head h2, .work-head h2 .marker { animation: none; } }

/* Nuevo lanzamiento (TutorLab Notes en el App Store): video promocional vertical + texto. */
.launch { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: clamp(2rem, 6cqw, 5rem);
  padding: clamp(1.5rem, 4cqw, 3rem); border-radius: 32px; border: 1px solid var(--line);
  background: radial-gradient(90% 120% at 0% 50%, rgba(43,181,168,.16), transparent 60%), #111; }
.launch-video { width: clamp(220px, 24cqw, 300px); aspect-ratio: 9 / 16; border-radius: 28px; overflow: hidden; background: #000;
  box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 30px 60px -24px rgba(43,181,168,.45); }
.launch-video video { width: 100%; height: 100%; object-fit: cover; display: block; }
.launch-tag { display: inline-flex; align-items: center; gap: .5rem; padding: .4rem .85rem; border-radius: 999px; font: 600 .78rem/1 var(--font);
  letter-spacing: .06em; text-transform: uppercase; color: #6fe3d6; background: rgba(43,181,168,.14); border: 1px solid rgba(43,181,168,.35); }
.launch-tag i { width: 8px; height: 8px; border-radius: 50%; background: #6fe3d6; animation: ping 1.8s ease-out infinite; }
.launch h2 { margin-top: 1rem; font-size: clamp(2.2rem, 5cqw, 3.8rem); color: #fff; }
.launch .marker { background: #fff; color: #0a0a0a; line-height: 1.25; }
.launch .lead-in { margin-top: 1rem; max-width: 36rem; font-size: 1.08rem; color: rgba(255,255,255,.7); }
.launch .lead-in strong { color: #fff; }
.launch-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.6rem; margin-top: 1.8rem; }
.launch-actions .textlink { color: #fff; }
.mac-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem; margin-top: 1.6rem; }
.mac-actions .btn { margin-top: 0; }
@media (max-width: 760px) {
  .launch { grid-template-columns: 1fr; justify-items: center; text-align: center; padding: 2rem 1.25rem; border-radius: 24px; }
  .launch-video { width: min(70%, 260px); }
  .launch .lead-in { margin-inline: auto; }
  .launch-actions { justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .launch-tag i { animation: none; } }

/* Lanzamientos en carrusel: las tarjetas comparten la misma celda (misma altura) y se cruzan con un
   deslizamiento suave; home.js pone .is-ready y va marcando .is-active. Sin JS solo se ve la primera. */
.launch-deck { position: relative; }
.launch-track { display: grid; }
.launch-track > .launch { grid-area: 1 / 1; }
.launch-deck:not(.is-ready) .launch-track > .launch + .launch { display: none; }
.launch-deck.is-ready .launch-track > .launch { transition: opacity .7s ease, transform .9s cubic-bezier(.2,.75,.2,1), visibility 0s linear .9s; }
.launch-deck.is-ready .launch-track > .launch:not(.is-active) { opacity: 0; visibility: hidden; pointer-events: none; transform: translateX(var(--off, 5%)) scale(.985); }
.launch-deck.is-ready .launch-track > .launch.is-active { transition-delay: .12s, .12s, 0s; }
.launch-dots { display: flex; justify-content: center; gap: .55rem; margin-top: 1.1rem; }
.launch-dots button { position: relative; width: 34px; height: 22px; padding: 0; border: 0; background: none; cursor: pointer; }
.launch-dots button::before, .launch-dots i { content: ""; position: absolute; left: 0; right: 0; top: 9px; height: 4px; border-radius: 4px; }
.launch-dots button::before { background: rgba(255,255,255,.18); }
.launch-dots i { background: #fff; transform: scaleX(0); transform-origin: left; }
.launch-dots [aria-selected="true"] i { animation: deck-fill var(--dur, 9s) linear forwards; }
.launch-deck.is-paused .launch-dots [aria-selected="true"] i { animation-play-state: paused; }
.launch-dots button:focus-visible { outline: 2px solid #fff; outline-offset: 2px; border-radius: 6px; }
@keyframes deck-fill { to { transform: scaleX(1); } }

/* Tarjeta CostLab 3D (ya en el App Store): el video panorámico llena el lado derecho y se disuelve hacia el texto. */
.launch--cl { position: relative; isolation: isolate; overflow: hidden; grid-template-columns: minmax(0, 44%) 1fr;
  background: radial-gradient(80% 120% at 100% 50%, rgba(255,107,53,.12), transparent 60%), #111; }
.launch-wide { position: absolute; z-index: -1; top: 0; right: 0; bottom: 0; width: 60%; background: #111;
  -webkit-mask-image: linear-gradient(to right, transparent 0, rgba(0,0,0,.25) 6%, rgba(0,0,0,.75) 14%, #000 22%); mask-image: linear-gradient(to right, transparent 0, rgba(0,0,0,.25) 6%, rgba(0,0,0,.75) 14%, #000 22%); }
.launch-wide video { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.launch-wide::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, rgba(214,51,127,.22), rgba(255,159,10,.10) 60%, transparent); mix-blend-mode: soft-light; }
.launch-tag--cl { color: #ffb37a; background: rgba(255,107,53,.14); border-color: rgba(255,107,53,.4); }
.launch-tag--cl i { background: #ff9a66; animation-name: cl-ping-home; }
@keyframes cl-ping-home { 0% { box-shadow: 0 0 0 0 rgba(255,154,102,.6); } 100% { box-shadow: 0 0 0 10px rgba(255,154,102,0); } }
@media (max-width: 760px) {
  .launch--cl { grid-template-columns: 1fr; align-content: start; padding-top: 0; }
  .launch-wide { position: relative; z-index: 0; width: auto; margin: 0 -1.25rem; aspect-ratio: 6 / 5; justify-self: stretch;
    -webkit-mask-image: linear-gradient(to bottom, #000 62%, transparent); mask-image: linear-gradient(to bottom, #000 62%, transparent); }
  .launch--cl .launch-copy { margin-top: -2.5rem; position: relative; }
}
@media (prefers-reduced-motion: reduce) { .launch-deck.is-ready .launch-track > .launch { transition: none; } }

/* ---------- Fila 3: CostLab 3D (panel cálido como su ícono: naranja → magenta sobre negro) ----------
   Texto a la izquierda y dos iPhones a la derecha, lado a lado (sin taparse, como pide Apple). */
.showcase--cl {
  position: relative; isolation: isolate; overflow: hidden;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(2rem, 5cqw, 4rem);
  padding: clamp(2.5rem, 5cqw, 4.5rem) clamp(1.5rem, 5cqw, 4.5rem);
  border-radius: 32px; background: #0d0709; color: #fff; border: 1px solid rgba(255,107,53,.18);
}
.showcase--cl::before {
  content: ""; position: absolute; z-index: -1; right: -10%; top: 50%; width: 75%; aspect-ratio: 1; translate: 0 -50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(255,107,53,.32), rgba(214,51,127,.16) 55%, transparent);
}
.showcase--cl .eyebrow { color: rgba(255,255,255,.6); }
.showcase--cl .eyebrow::before { background: #ff6b35; }
.showcase--cl h2 { font-size: clamp(2rem, 4.4cqw, 3.4rem); margin-top: .9rem; color: #fff; }
.showcase--cl .marker { background: #fff; color: #0a0a0a; line-height: 1.25; }
.cl-home-lockup { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem .9rem; margin-top: 1.8rem; }
.cl-home-lockup img { width: 52px; height: 52px; border-radius: 22.5%; box-shadow: 0 10px 30px -10px rgba(255,107,53,.7); }
.cl-home-lockup h3 { font-size: clamp(1.4rem, 2.4cqw, 1.8rem); color: #fff; }
.showcase--cl .pill-soon { background: rgba(255,107,53,.14); border-color: rgba(255,107,53,.4); color: #ffb38f; }
.cl-home-copy > p { margin-top: 1rem; color: rgba(255,255,255,.7); font-size: 1.05rem; }
.cl-home-copy > p strong { color: #fff; }
.cl-home-list { list-style: none; padding: 0; margin: 1.2rem 0 0; display: grid; gap: .55rem; }
.cl-home-list li { position: relative; padding-left: 1.5rem; color: rgba(255,255,255,.78); font-size: .98rem; line-height: 1.45; }
.cl-home-list li::before { content: ""; position: absolute; left: 0; top: .5em; width: 8px; height: 8px; border-radius: 2px; background: linear-gradient(135deg, #ff9f0a, #d6337f); }
.showcase--cl .textlink { color: #fff; }
.cl-home-phones { display: flex; justify-content: center; align-items: flex-start; gap: clamp(.8rem, 2cqw, 1.4rem); }
.cl-home-phones img { width: min(46%, 250px); height: auto; filter: drop-shadow(0 26px 36px rgba(0,0,0,.6)); }
.cl-home-phones img:last-child { margin-top: clamp(1.5rem, 5cqw, 3.5rem); }
@media (max-width: 760px) {
  .showcase--cl { grid-template-columns: 1fr; padding: 2.2rem 1.25rem; border-radius: 24px; }
  .showcase--cl::before { right: auto; left: 50%; top: 72%; width: 120%; translate: -50% -50%; }
}
