/* ═══════════════════════════════════════════════════════════════
   product.css — CodeHub Android landing
   Fuente única del diseño del home. Antes vivía duplicado al final
   de viewport-guard.css (dos bloques completos que se pisaban entre
   sí). viewport-guard vuelve a ser solo la red de seguridad.
   Orden: ... → index-responsive → product → viewport-guard → prefs
   ═══════════════════════════════════════════════════════════════ */

/* ── Tokens de la portada ─────────────────────────────────────── */
.codehub-product-home {
  --product-ink: #0b0c0e;
  --product-ink-2: #0e1013;
  --product-panel: #131519;
  --product-panel-2: #181b20;
  --product-line: #2a2e34;
  --product-line-2: #3a3f47;
  --product-text: #f4f1ea;
  --product-muted: #a8aaae;
  --product-muted-2: #7d8085;
  --product-accent: var(--accent, #f0b95a);
  --product-accent-2: var(--accent, #f0b95a);
  --product-accent-rgb: var(--accent-rgb, 240, 185, 90);
  --product-accent-ink: #14100a;
  /* Un solo tema: no existe un segundo azul. Todo tinte sale del acento. */
  --product-blue: var(--product-accent);
  --product-sage: #a7c4a8;
  --product-clay: #d9a08f;
  --product-glow: rgba(var(--product-accent-rgb), .16);
  --product-ring: rgba(var(--product-accent-rgb), .35);
  background: var(--product-ink);
  color: var(--product-text);
}

/* ── Íconos de interfaz (máscara SVG, un solo lenguaje visual) ── */
.ui-ico {
  display: inline-block;
  width: 1.1em;
  height: 1.1em;
  flex: 0 0 auto;
  background: currentColor;
  -webkit-mask: var(--ico) center / contain no-repeat;
  mask: var(--ico) center / contain no-repeat;
  vertical-align: -0.14em;
}
.ui-ico-globe    { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18M12 3c2.5 2.6 3.8 5.7 3.8 9S14.5 18.4 12 21c-2.5-2.6-3.8-5.7-3.8-9S9.5 5.6 12 3Z'/%3E%3C/svg%3E"); }
.ui-ico-sliders  { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M4 7h9M17 7h3M4 17h3M11 17h9M4 12h3M11 12h9'/%3E%3Ccircle cx='15' cy='7' r='2.2'/%3E%3Ccircle cx='9' cy='17' r='2.2'/%3E%3Ccircle cx='7' cy='12' r='2.2'/%3E%3C/svg%3E"); }
.ui-ico-bell     { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9a6 6 0 1 1 12 0c0 5 2 6 2 6H4s2-1 2-6'/%3E%3Cpath d='M10 20a2.2 2.2 0 0 0 4 0'/%3E%3C/svg%3E"); }
.ui-ico-close    { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.9' stroke-linecap='round'%3E%3Cpath d='m6 6 12 12M18 6 6 18'/%3E%3C/svg%3E"); }
.ui-ico-home     { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m3 11 9-8 9 8'/%3E%3Cpath d='M5 10v10h14V10M9.5 20v-6h5v6'/%3E%3C/svg%3E"); }
.ui-ico-images   { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='14' height='14' rx='2'/%3E%3Cpath d='m3 13 4-4 4 4 3-3 3 3'/%3E%3Ccircle cx='11.5' cy='7.5' r='1.3'/%3E%3Cpath d='M7 21h12a2 2 0 0 0 2-2V7'/%3E%3C/svg%3E"); }
.ui-ico-grid     { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='7.5' height='7.5' rx='1.4'/%3E%3Crect x='13.5' y='3' width='7.5' height='7.5' rx='1.4'/%3E%3Crect x='3' y='13.5' width='7.5' height='7.5' rx='1.4'/%3E%3Crect x='13.5' y='13.5' width='7.5' height='7.5' rx='1.4'/%3E%3C/svg%3E"); }
.ui-ico-pin      { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 5-8 12-8 12S4 15 4 10a8 8 0 1 1 16 0Z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/svg%3E"); }
.ui-ico-toolbox  { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='7' width='18' height='12' rx='2'/%3E%3Cpath d='M8 7V5.5A1.5 1.5 0 0 1 9.5 4h5A1.5 1.5 0 0 1 16 5.5V7M3 12h18M10 12v2h4v-2'/%3E%3C/svg%3E"); }
.ui-ico-download { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4v11m0 0 4-4m-4 4-4-4M5 19h14'/%3E%3C/svg%3E"); }
.ui-ico-wrench   { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14.7 6.3a5 5 0 0 0-6.4 6.4L3 18l3 3 5.3-5.3a5 5 0 0 0 6.4-6.4L14 13l-3-3z'/%3E%3C/svg%3E"); }
.ui-ico-info     { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 11v6M12 7.5v.01'/%3E%3C/svg%3E"); }
.ui-ico-user     { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4.5 21a7.5 7.5 0 0 1 15 0'/%3E%3C/svg%3E"); }
.ui-ico-play     { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='3'/%3E%3Cpath d='m10 9 5 3-5 3z'/%3E%3C/svg%3E"); }
.ui-ico-history  { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 12a9 9 0 1 0 3-6.7M3 4v5h5'/%3E%3Cpath d='M12 8v4.5l3 1.5'/%3E%3C/svg%3E"); }
.ui-ico-mail     { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='m4 7 8 6 8-6'/%3E%3C/svg%3E"); }
.ui-ico-phone    { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='6' y='2.5' width='12' height='19' rx='2.5'/%3E%3Cpath d='M10 18.8h4'/%3E%3C/svg%3E"); }
.ui-ico-chat     { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 5h14v11H9l-4 4z'/%3E%3Cpath d='M8.5 10h.01M12 10h.01M15.5 10h.01'/%3E%3C/svg%3E"); }
.ui-ico-whatsapp { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23000'%3E%3Cpath d='M12 2a9.9 9.9 0 0 0-8.5 15L2 22l5.2-1.4A10 10 0 1 0 12 2Zm0 18a8 8 0 0 1-4.1-1.1l-.3-.2-3 .8.8-2.9-.2-.3A8 8 0 1 1 12 20Zm4.5-5.9c-.2-.1-1.4-.7-1.6-.8s-.4-.1-.5.1-.6.8-.7 1-.3.2-.5.1a6.5 6.5 0 0 1-3.2-2.8c-.2-.4.2-.4.6-1.3 0-.2 0-.3-.1-.4l-.7-1.7c-.2-.5-.4-.4-.5-.4h-.5a1 1 0 0 0-.7.3 3 3 0 0 0-.9 2.2 5.2 5.2 0 0 0 1.1 2.7 11.8 11.8 0 0 0 4.5 4 5.2 5.2 0 0 0 3.2.6 2.7 2.7 0 0 0 1.8-1.3 2.2 2.2 0 0 0 .2-1.3c-.1-.1-.2-.2-.4-.3Z'/%3E%3C/svg%3E"); }
.ui-ico-telegram { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23000'%3E%3Cpath d='m21.8 4.3-3 14.2c-.2 1-.8 1.2-1.7.8l-4.7-3.5-2.3 2.2c-.3.3-.5.5-1 .5l.4-4.8 8.7-7.9c.4-.3-.1-.5-.6-.2L6.9 12.8l-4.6-1.4c-1-.3-1-1 .2-1.5l18-6.9c.8-.3 1.5.2 1.3 1.3Z'/%3E%3C/svg%3E"); }
.ui-ico-youtube  { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23000'%3E%3Cpath d='M21.6 7.2a2.5 2.5 0 0 0-1.8-1.8C18.2 5 12 5 12 5s-6.2 0-7.8.4a2.5 2.5 0 0 0-1.8 1.8A26 26 0 0 0 2 12a26 26 0 0 0 .4 4.8 2.5 2.5 0 0 0 1.8 1.8C5.8 19 12 19 12 19s6.2 0 7.8-.4a2.5 2.5 0 0 0 1.8-1.8A26 26 0 0 0 22 12a26 26 0 0 0-.4-4.8ZM10 15.2V8.8l5.5 3.2Z'/%3E%3C/svg%3E"); }
.ui-ico-refresh  { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 12a9 9 0 1 0 3-6.7M3 4v5h5'/%3E%3C/svg%3E"); }

/* Header: los controles visibles usan el mismo trazo que el cuerpo. */
.codehub-product-home .header-actions button .ui-ico { width: 17px; height: 17px; }
.codehub-product-home .side-link .ui-ico,
.codehub-product-home .side-pref-btn .ui-ico { width: 17px; height: 17px; color: var(--product-accent); }
.codehub-product-home .side-foot .ui-ico { width: 18px; height: 18px; }
.codehub-product-home .cfg-head-title .ui-ico { width: 16px; height: 16px; }

/* ── Shell ────────────────────────────────────────────────────── */
.product-main { overflow: hidden; padding-bottom: 0; }
.product-shell { width: min(1120px, calc(100% - 48px)); margin-inline: auto; }
.product-hero {
  position: relative;
  padding: clamp(3.5rem, 7vw, 6.4rem) 0 clamp(4rem, 7vw, 6rem);
  border-bottom: 1px solid var(--product-line);
  background:
    radial-gradient(70% 85% at 86% 10%, rgba(var(--product-accent-rgb), .10), transparent 66%),
    radial-gradient(45% 60% at 4% 92%, rgba(var(--product-accent-rgb), .055), transparent 70%);
}
.product-hero-grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(300px, .78fr); gap: clamp(2.5rem, 7vw, 6rem); align-items: center; }
.product-hero-copy, .product-hero-art, .product-tools-copy { min-width: 0; }
.product-eyebrow {
  margin: 0 0 1rem;
  color: var(--product-accent);
  font-family: 'JetBrains Mono', monospace;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .1em;
  line-height: 1.4;
  text-transform: uppercase;
}
.product-mark {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-right: .55rem;
  border: 1px solid var(--product-ring);
  border-radius: 11px;
  background: rgba(var(--product-accent-rgb), .08);
  color: var(--product-accent);
  vertical-align: middle;
}
.product-hero h1 {
  max-width: 700px;
  margin: 0;
  color: var(--product-text);
  font-size: clamp(2.8rem, 5.6vw, 5.25rem);
  font-weight: 720;
  line-height: 1.01;
  letter-spacing: -.06em;
  text-wrap: balance;
}
.product-accent-word { color: var(--product-accent); white-space: nowrap; }
.product-lead {
  max-width: 590px;
  margin: 1.3rem 0 0;
  color: var(--product-muted);
  font-size: clamp(1.03rem, 1.5vw, 1.18rem);
  line-height: 1.72;
}
.product-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.7rem; }

/* ── Botones ──────────────────────────────────────────────────── */
.product-button {
  position: relative;
  min-height: 50px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: .65rem;
  padding: .75rem 1.15rem;
  overflow: hidden;
  border: 1px solid var(--product-line);
  border-radius: 10px;
  color: var(--product-text);
  font-weight: 650;
  text-decoration: none;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}
.product-button:hover { transform: translateY(-2px); border-color: var(--product-accent); }
.product-button:active { transform: translateY(0) scale(.995); }
.product-button-primary { background: var(--product-accent); border-color: var(--product-accent); color: var(--product-accent-ink); }
.product-button-primary:hover { background: var(--product-accent); border-color: var(--product-accent); filter: brightness(1.1); }
.product-button-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 28%, rgba(255, 255, 255, .42) 50%, transparent 72%);
  transform: translateX(-125%);
  transition: transform .65s cubic-bezier(.2, .8, .2, 1);
  pointer-events: none;
}
.product-button-primary:hover::before { transform: translateX(125%); }
.product-button-secondary { background: var(--product-panel); border-color: var(--product-line-2); color: var(--product-text); }
.product-button-secondary:hover { border-color: var(--product-blue); color: var(--product-blue); }
.product-button:focus-visible,
.product-carousel-arrow:focus-visible,
.product-carousel-dots button:focus-visible { outline: 3px solid var(--product-blue); outline-offset: 3px; }
.product-meta { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1.5rem; color: var(--product-muted-2); font-size: .82rem; }
.product-meta span:first-child { color: var(--product-blue); }

/* ── Descarga del APK: estado detectado + enlace manual ───────── */
.product-apk-box { display: grid; gap: .35rem; margin-top: .9rem; max-width: 560px; }
.product-apk-status { margin: 0; color: var(--product-muted-2); font-size: .8rem; line-height: 1.5; }
.product-apk-status.is-ready { color: var(--product-sage); }
.product-apk-status.is-error { color: var(--product-clay); }
.product-apk-manual,
.apk-download-manual {
  width: fit-content;
  color: var(--product-muted);
  font-size: .78rem;
  line-height: 1.5;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.product-apk-manual:hover,
.apk-download-manual:hover { color: var(--product-accent); }
.product-apk-manual.is-highlight,
.apk-download-manual.is-highlight { color: var(--product-accent); font-weight: 650; }
.product-button.is-loading { cursor: progress; opacity: .8; pointer-events: none; }
.apk-download-status { margin: .75rem 0 0; color: var(--muted, #888); font-size: .72rem; line-height: 1.5; }
.apk-download-status.is-ready { color: #22c55e; }
.apk-download-status.is-error { color: #f87171; }
.apk-download-manual { display: inline-block; margin-top: .35rem; font-size: .72rem; }

/* ── Teléfono / preview ───────────────────────────────────────── */
.product-hero-art { position: relative; display: grid; place-items: center; isolation: isolate; }
.product-hero-art::before {
  content: '';
  position: absolute;
  z-index: -1;
  width: min(430px, 86%);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, var(--product-glow), transparent 66%);
  filter: blur(6px);
  animation: pmGlow 9s ease-in-out infinite alternate;
}
.product-hero-art::after {
  content: '';
  position: absolute;
  z-index: -1;
  width: min(460px, 92%);
  aspect-ratio: 1;
  border-radius: 50%;
  background: repeating-radial-gradient(circle, rgba(244, 241, 234, .055) 0 1px, transparent 1px 40px);
  -webkit-mask: radial-gradient(circle, #000 12%, transparent 72%);
  mask: radial-gradient(circle, #000 12%, transparent 72%);
  opacity: .6;
  pointer-events: none;
}
.product-device {
  position: relative;
  overflow: hidden;
  width: min(100%, 350px);
  min-height: 488px;
  margin: auto;
  padding: 10px;
  border: 1px solid var(--product-line-2);
  border-radius: 30px;
  background: #08090b;
  box-shadow: 0 28px 70px rgba(0, 0, 0, .48), 0 0 0 1px rgba(255, 255, 255, .035) inset;
  transform: perspective(1000px) rotateX(var(--pm-rx, 0deg)) rotateY(var(--pm-ry, 0deg));
  transition: transform .4s cubic-bezier(.2, .8, .2, 1);
  will-change: transform;
}
.product-device::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
  background: radial-gradient(220px circle at var(--pm-x, 50%) var(--pm-y, 40%), rgba(255, 255, 255, .12), transparent 62%);
  opacity: 0;
  transition: opacity .28s ease;
  pointer-events: none;
}
.product-hero-art.is-tilting .product-device::after { opacity: 1; }
.product-hero-art.is-tilting .product-device { transition: transform .08s linear; }
.product-device-camera { height: 19px; display: grid; place-items: start center; }
.product-device-camera span { width: 58px; height: 9px; border-radius: 20px; background: #202329; }
.product-device-screen { min-height: 456px; padding: 1.15rem; display: flex; flex-direction: column; border: 1px solid var(--product-line); border-radius: 21px; background: var(--product-panel); }
.product-preview-top { display: flex; justify-content: space-between; align-items: center; color: var(--product-text); font-size: .85rem; font-weight: 700; }
.product-preview-signal { display: flex; gap: 3px; align-items: end; height: 13px; }
.product-preview-signal i { width: 3px; border-radius: 4px; background: var(--product-accent); transform-origin: bottom; animation: pmSignal 2.6s ease-in-out infinite; }
.product-preview-signal i:nth-child(2) { animation-delay: .18s; }
.product-preview-signal i:nth-child(3) { animation-delay: .36s; }
.product-preview-signal i:nth-child(1) { height: 5px; }
.product-preview-signal i:nth-child(2) { height: 9px; }
.product-preview-signal i:nth-child(3) { height: 13px; }
.product-preview-date { color: var(--product-muted-2); font-size: .66rem; font-weight: 500; }
.product-preview-greeting { display: grid; gap: .55rem; margin: 2.5rem 0 2rem; }
.product-preview-greeting small { color: var(--product-accent); font-family: 'JetBrains Mono', monospace; font-size: .6rem; font-weight: 600; letter-spacing: .08em; }
.product-preview-greeting strong { max-width: 240px; font-size: 2.2rem; line-height: 1.05; letter-spacing: -.06em; }
.product-preview-section-title { margin-bottom: .7rem; color: var(--product-text); font-size: .82rem; font-weight: 650; }
.product-preview-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .55rem; }
.product-preview-cards span {
  min-height: 78px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: .5rem;
  padding: .7rem;
  border: 1px solid var(--product-line);
  border-radius: 13px;
  background: var(--product-panel-2);
  color: var(--product-text);
  font-size: .76rem;
  transition: border-color .2s ease, transform .2s ease;
}
.product-preview-cards span:hover { border-color: var(--product-line-2); transform: translateY(-2px); }
.product-preview-cards svg { width: 1.35rem; height: 1.35rem; }
.product-preview-cards span:first-child svg { color: var(--product-accent); }
.product-preview-cards span:nth-child(2) svg { color: var(--product-sage); }
.product-preview-cards span:nth-child(3) svg { color: var(--product-blue); }
.product-preview-cards span:nth-child(4) svg { color: var(--product-clay); }
.product-preview-cards span:nth-child(5) svg { color: var(--product-accent); }
.product-preview-cards span:nth-child(6) svg { color: var(--product-sage); }
.product-preview-cards b { font-size: .74rem; line-height: 1.25; }
.product-preview-bottom { display: flex; gap: .45rem; margin: auto auto 0; }
.product-preview-bottom span { width: 24px; height: 4px; border-radius: 5px; background: var(--product-line-2); }
.product-preview-bottom span:first-child { width: 38px; background: var(--product-accent); }
.product-preview-status { display: flex; align-items: center; gap: .55rem; margin-top: auto; padding-top: 1.2rem; color: var(--product-muted); font-size: .69rem; }
.product-preview-status > span:first-child { width: 7px; height: 7px; border-radius: 50%; background: var(--product-accent); box-shadow: 0 0 0 0 var(--product-ring); animation: pmPing 2.8s ease-out infinite; }
.product-art-caption { display: block; margin: .8rem auto 0; color: var(--product-muted-2); text-align: center; font-size: .7rem; }

/* ── Secciones ────────────────────────────────────────────────── */
.product-gallery-section, .product-features, .product-origin, .product-tools { padding: clamp(4rem, 7vw, 6rem) 0; }
.product-section-heading { display: flex; justify-content: space-between; gap: 2rem; align-items: end; margin-bottom: 1.7rem; }
.product-section-heading > div, .product-section-heading > p { min-width: 0; }
.product-section-heading h2, .product-origin h2, .product-tools h2, .product-contact-copy h2 {
  margin: 0;
  color: var(--product-text);
  font-size: clamp(1.8rem, 3.8vw, 3rem);
  line-height: 1.12;
  letter-spacing: -.04em;
  text-wrap: balance;
}
.product-section-heading > p { max-width: 470px; margin: 0; color: var(--product-muted); line-height: 1.65; }

/* ── Carrusel ─────────────────────────────────────────────────── */
.product-carousel { display: grid; grid-template-columns: 48px minmax(0, 1fr) 48px; column-gap: 1rem; align-items: center; }
.product-carousel-viewport { min-width: 0; overflow: hidden; }
.product-carousel-track { display: flex; transition: transform .35s cubic-bezier(.2, .75, .25, 1); touch-action: pan-y; }
.product-slide { flex: 0 0 100%; min-width: 0; margin: 0; padding: 0 clamp(.25rem, 2vw, 1rem); }
.product-shot {
  position: relative;
  width: min(100%, 390px);
  aspect-ratio: 9 / 16;
  max-height: 660px;
  margin: auto;
  overflow: hidden;
  border: 1px solid var(--product-line);
  border-radius: 20px;
  background: var(--product-panel);
  box-shadow: none;
}
.product-slide.is-active .product-shot { border-color: var(--product-line-2); }
.product-shot img { display: none; width: 100%; height: 100%; max-width: 100%; object-fit: cover; }
.product-slide.has-image .product-shot img { display: block; }
.product-slide.has-image .product-shot-empty { display: none; }
.product-shot-empty {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: .8rem;
  padding: 2rem;
  text-align: center;
  color: var(--product-muted-2);
  background:
    radial-gradient(circle at 50% 28%, rgba(var(--product-accent-rgb), .08), transparent 62%),
    linear-gradient(rgba(244, 241, 234, .028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 241, 234, .028) 1px, transparent 1px),
    var(--product-panel);
  background-size: auto, 32px 32px, 32px 32px, auto;
}
.product-shot-empty strong { color: var(--product-text); font-size: 1.7rem; letter-spacing: -.03em; }
.product-shot-empty > span:not(.product-shot-icon) { max-width: 260px; color: var(--product-muted); font-size: .9rem; font-weight: 450; letter-spacing: 0; line-height: 1.5; }
.product-shot-empty small { color: var(--product-muted-2); font-size: .76rem; }
.product-shot-empty code { color: var(--product-accent); }
.product-shot-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border: 1px solid var(--product-ring);
  border-radius: 18px;
  background: rgba(var(--product-accent-rgb), .08);
  color: var(--product-accent);
  font-size: 1.4rem;
}
.product-shot-icon svg { width: 1.7rem; height: 1.7rem; }
/* Ciclo de 4 acentos para que la galería no se repita al crecer. */
.product-slide:nth-child(4n+2) .product-shot-icon { color: var(--product-clay); border-color: rgba(217, 160, 143, .38); background: rgba(217, 160, 143, .09); }
.product-slide:nth-child(4n+3) .product-shot-icon { color: var(--product-sage); border-color: rgba(167, 196, 168, .38); background: rgba(167, 196, 168, .09); }
.product-slide:nth-child(4n+4) .product-shot-icon { color: var(--product-blue); border-color: rgba(var(--product-accent-rgb), .36); background: rgba(var(--product-accent-rgb), .09); }
.product-slide figcaption { width: min(100%, 390px); display: grid; grid-template-columns: 34px 1fr; gap: 0 .7rem; margin: .9rem auto 0; }
.product-slide figcaption > span { grid-row: span 2; color: var(--product-accent); font-family: 'JetBrains Mono', monospace; font-size: .76rem; }
.product-slide figcaption b { font-size: .98rem; }
.product-slide figcaption small { margin-top: .2rem; color: var(--product-muted); }
.product-carousel-arrow {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--product-line-2);
  border-radius: 50%;
  background: var(--product-panel);
  color: var(--product-text);
  cursor: pointer;
  transition: border-color .18s ease, color .18s ease, transform .18s ease;
}
.product-carousel-arrow:hover { border-color: var(--product-blue); color: var(--product-blue); transform: scale(1.05); }
.product-carousel-footer { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin: 1.4rem 64px 0; color: var(--product-muted); font-family: 'JetBrains Mono', monospace; font-size: .72rem; }
.product-carousel-dots { display: flex; gap: .5rem; }
.product-carousel-dots button { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 50%; background: var(--product-line-2); cursor: pointer; transition: width .2s ease, background-color .2s ease; }
.product-carousel-dots button[aria-current="true"] { width: 24px; border-radius: 8px; background: var(--product-accent); }
.product-gallery-note {
  margin: 1.1rem auto 0;
  max-width: 620px;
  color: var(--product-muted-2);
  font-family: 'JetBrains Mono', monospace;
  font-size: .68rem;
  line-height: 1.6;
  text-align: center;
}
.product-gallery-note code { color: var(--product-accent); }

/* ── Funciones ────────────────────────────────────────────────── */
.product-feature-list { border-top: 1px solid var(--product-line); }
.product-feature {
  position: relative;
  display: grid;
  grid-template-columns: 42px 46px minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  padding: 1.35rem .35rem;
  border-bottom: 1px solid var(--product-line);
  transition: background-color .2s ease;
}
.product-feature::before {
  content: '';
  position: absolute;
  left: 0;
  top: 18%;
  bottom: 18%;
  width: 2px;
  border-radius: 2px;
  background: var(--product-accent);
  transform: scaleY(0);
  transform-origin: center;
  transition: transform .25s ease;
}
.product-feature:hover { background: rgba(244, 241, 234, .025); }
.product-feature:hover::before { transform: scaleY(1); }
.product-feature-index { color: var(--product-blue); font-family: 'JetBrains Mono', monospace; font-size: .76rem; font-variant-numeric: tabular-nums; }
.product-feature-icon { width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid var(--product-line); border-radius: 13px; background: var(--product-panel); color: var(--product-accent); transition: border-color .2s ease, color .2s ease; }
.product-feature:hover .product-feature-icon { border-color: var(--product-line-2); }
.product-feature:nth-child(4n+2) .product-feature-icon { color: var(--product-sage); }
.product-feature:nth-child(4n+3) .product-feature-icon { color: var(--product-blue); }
.product-feature:nth-child(4n+4) .product-feature-icon { color: var(--product-clay); }
.product-feature h3 { margin: 0 0 .25rem; color: var(--product-text); font-size: 1.05rem; }
.product-feature p { margin: 0; color: var(--product-muted); line-height: 1.5; }
.product-feature-tag { padding: .4rem .65rem; border: 1px solid var(--product-line); border-radius: 99px; color: var(--product-muted); font-size: .72rem; white-space: nowrap; }

/* ── Historia ─────────────────────────────────────────────────── */
.product-origin { border-block: 1px solid var(--product-line); background: var(--product-ink-2); }
.product-origin-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 3rem; }
.product-origin-copy { color: var(--product-muted); font-size: 1.05rem; line-height: 1.8; }
.product-origin-copy p:first-child { margin-top: 0; }
.product-origin-place { display: flex; gap: .7rem; align-items: flex-start; color: var(--product-text); }
.product-origin-place .product-icon { flex: 0 0 1.25rem; margin-top: .25rem; color: var(--product-accent); }

/* ── Herramientas ─────────────────────────────────────────────── */
.product-tools { padding-bottom: clamp(4rem, 7vw, 6rem); }
.product-tools-card {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.5rem;
  padding: clamp(1.5rem, 4vw, 2.6rem);
  border: 1px solid var(--product-line);
  border-radius: 17px;
  background: var(--product-panel);
}
.product-tools-icon { width: 54px; height: 54px; display: grid; place-items: center; border: 1px solid var(--product-ring); border-radius: 15px; background: rgba(var(--product-accent-rgb), .08); color: var(--product-accent); font-size: 1.25rem; }
.product-tools .product-eyebrow { margin-bottom: .5rem; }
.product-tools h2 { font-size: clamp(1.4rem, 2.7vw, 2rem); }
.product-tools-copy > p:last-child { margin: .65rem 0 0; color: var(--product-muted); line-height: 1.6; }

/* ── Muro de herramientas web ─────────────────────────────────── */
.product-webtools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: .8rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.product-webtool {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  align-items: start;
  gap: .85rem;
  height: 100%;
  padding: 1rem 1.05rem;
  border: 1px solid var(--product-line);
  border-radius: 14px;
  background: var(--product-panel);
  color: inherit;
  text-decoration: none;
  transition: border-color .2s ease, background-color .2s ease, transform .2s ease;
}
.product-webtool:hover { border-color: var(--product-line-2); background: var(--product-panel-2); transform: translateY(-2px); }
.product-webtool:focus-visible { outline: 3px solid var(--product-blue); outline-offset: 2px; }
.product-webtool-ico {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--product-line-2);
  border-radius: 12px;
  background: rgba(var(--product-accent-rgb), .07);
  color: var(--product-accent);
}
.product-webtool-ico svg {
  display: block;
  width: 1.2rem;
  height: 1.2rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.product-webtool-copy { min-width: 0; }
.product-webtool-copy b { display: block; color: var(--product-text); font-size: .95rem; line-height: 1.35; }
.product-webtool-copy small { display: block; margin-top: .3rem; color: var(--product-muted); font-size: .8rem; line-height: 1.5; }
.product-webtools-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--product-line);
}
.product-webtools-foot p { margin: 0; max-width: 560px; color: var(--product-muted); font-size: .92rem; line-height: 1.6; }
.product-webtools-links { min-width: 0; display: grid; gap: .7rem; }
.product-webtools-nav { display: flex; flex-wrap: wrap; gap: .5rem; }
.product-webtools-nav a {
  display: inline-flex;
  align-items: center;
  padding: .35rem .7rem;
  border: 1px solid var(--product-line);
  border-radius: 99px;
  color: var(--product-text);
  font-size: .78rem;
  text-decoration: none;
  transition: border-color .18s ease, color .18s ease, transform .18s ease;
}
.product-webtools-nav a:hover { border-color: var(--product-accent); color: var(--product-accent); transform: translateY(-1px); }
.product-webtools-nav a:focus-visible { outline: 3px solid var(--product-blue); outline-offset: 2px; }

/* ── Preguntas frecuentes ─────────────────────────────────────── */
.product-faq { padding: clamp(4rem, 7vw, 6rem) 0; border-top: 1px solid var(--product-line); }
.product-faq-grid { display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); gap: clamp(2rem, 6vw, 4.5rem); align-items: start; }
.product-faq h2 { max-width: 430px; font-size: clamp(1.8rem, 3.4vw, 2.7rem); line-height: 1.08; letter-spacing: -.045em; }
.product-faq-grid > div:first-child > p:last-child { margin-top: .8rem; color: var(--product-muted); line-height: 1.7; max-width: 380px; }
.product-faq-list { display: grid; gap: .7rem; min-width: 0; }
.product-faq-item { border: 1px solid var(--product-line); border-radius: 12px; background: var(--product-panel); overflow: hidden; }
.product-faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .95rem 1.1rem; cursor: pointer; list-style: none;
  color: var(--product-text); font-weight: 650; line-height: 1.4;
}
.product-faq-item summary::-webkit-details-marker { display: none; }
.product-faq-item summary::after { content: '+'; flex: 0 0 auto; color: var(--product-accent); font-size: 1.15rem; font-weight: 700; }
.product-faq-item[open] summary::after { content: '−'; }
.product-faq-item summary:focus-visible { outline: 2px solid var(--product-blue); outline-offset: -2px; }
.product-faq-item p { margin: 0; padding: 0 1.1rem 1rem; color: var(--product-muted); line-height: 1.7; }

/* ── Contacto ─────────────────────────────────────────────────── */
.product-contact { padding: clamp(4rem, 7vw, 6rem) 0; border-top: 1px solid var(--product-line); background: var(--product-ink-2); }
.product-contact-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.product-contact-copy h2 { max-width: 480px; font-size: clamp(2rem, 4vw, 3.1rem); line-height: 1.06; letter-spacing: -.055em; }
.product-contact-copy > p:not(.product-eyebrow) { max-width: 430px; color: var(--product-muted); line-height: 1.7; }
.product-contact .contact-form-wrap { border: 1px solid var(--product-line); border-radius: 16px; background: var(--product-panel); }
.product-contact .form-label { color: var(--product-text); }
.product-contact .form-input { border-color: var(--product-line-2); background: #0c0d10; color: var(--product-text); }
.product-contact .form-input:focus { border-color: var(--product-blue); box-shadow: 0 0 0 3px rgba(var(--product-accent-rgb), .14); }
.product-contact .form-input::placeholder { color: var(--product-muted-2); }
.product-contact .form-submit {
  width: 100%; min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  border: 1px solid rgba(var(--product-accent-rgb), .45); border-radius: 12px;
  background: var(--product-accent); color: var(--product-accent-ink);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28);
  font-size: .95rem; font-weight: 750;
}
.product-contact .form-submit:hover:not(:disabled) { background: var(--product-accent); filter: brightness(1.08); transform: translateY(-1px); }
.product-contact .form-submit:active:not(:disabled) { transform: translateY(0); }
.product-contact .form-submit:focus-visible { outline: 2px solid var(--product-blue); outline-offset: 3px; }
.product-contact .form-submit:disabled { opacity: .75; cursor: progress; filter: none; transform: none; }
.product-contact .form-submit .product-icon { width: 17px; height: 17px; }
.product-contact .form-submit.is-sent { background: var(--product-sage); border-color: rgba(167, 196, 168, .5); color: #10160f; }
#submit-done { display: none; align-items: center; gap: .5rem; }
#submit-loading { display: none; align-items: center; gap: .5rem; }
.product-contact .cf-turnstile { margin-block: .8rem; min-height: 0; }
.product-contact-spinner { display: inline-block; width: 1rem; height: 1rem; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: product-contact-spin .7s linear infinite; vertical-align: middle; }

/* ── Navegación de escritorio (recuperada) ────────────────────── */
.codehub-product-home .product-top-nav {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: clamp(.7rem, 1.8vw, 1.6rem);
  margin-inline: auto;
}
.codehub-product-home .product-top-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .38rem;
  padding: .35rem 0;
  color: var(--product-muted);
  font-size: .84rem;
  text-decoration: none;
  transition: color .16s ease;
}
.codehub-product-home .product-top-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--product-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.codehub-product-home .product-top-nav a:hover,
.codehub-product-home .product-top-nav a:focus-visible,
.codehub-product-home .product-top-nav a.is-current { color: var(--product-accent); }
.codehub-product-home .product-top-nav a:hover::after,
.codehub-product-home .product-top-nav a:focus-visible::after,
.codehub-product-home .product-top-nav a.is-current::after { transform: scaleX(1); }
.codehub-product-home .product-top-nav .ui-ico { width: 15px; height: 15px; color: var(--product-muted-2); transition: color .16s ease; }
.codehub-product-home .product-top-nav a:hover .ui-ico,
.codehub-product-home .product-top-nav a.is-current .ui-ico { color: var(--product-accent); }

/* Menú lateral y panel de configuración con la paleta de la portada. */
.codehub-product-home .side-link i,
.codehub-product-home .side-pref-btn i { color: var(--product-accent); }
.codehub-product-home .side-link:hover,
.codehub-product-home .side-link.active {
  background: rgba(255, 255, 255, .055);
  border-color: var(--product-line-2);
  color: var(--product-text);
}
.codehub-product-home .side-close:hover {
  border-color: var(--product-line-2);
  color: var(--product-text);
  background: rgba(255, 255, 255, .06);
}
.codehub-product-home .side-foot a:hover {
  border-color: var(--product-accent);
  color: var(--product-accent);
  background: rgba(255, 255, 255, .04);
}
.codehub-product-home .cfg-head-title i { color: var(--product-accent); }
.codehub-product-home .cfg-opt:hover { border-color: var(--product-line-2); color: var(--product-accent); }
.codehub-product-home .cfg-opt.active { border-color: var(--product-accent); color: var(--product-accent); }
.codehub-product-home .cfg-toggle input:checked + .cfg-slider { background: var(--product-accent); }

/* Ocultar chrome legado que no pertenece a la portada. */
.codehub-product-home #hub-dock,
.codehub-product-home #mobile-nav-bar,
.codehub-product-home .menu-toggle-btn,
.codehub-product-home .exp-drag-handle,
.codehub-product-home #experimental-menu,
.codehub-product-home #neural-network,
.codehub-product-home #chw-widget,
.codehub-product-home .chw-widget { display: none !important; }

/* El menú lateral y el header heredan la paleta nueva. */
.codehub-product-home > header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--product-line);
  background: rgba(11, 12, 14, .94);
  box-shadow: none;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.codehub-product-home #side-nav { background: var(--product-ink-2); border-right: 1px solid var(--product-line); }
.codehub-product-home .product-brand-symbol {
  display: grid;
  flex: 0 0 40px;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-right: .15rem;
  border: 1px solid var(--product-ring);
  border-radius: 13px;
  background: rgba(var(--product-accent-rgb), .08);
  color: var(--product-accent);
}
.codehub-product-home .product-brand-symbol svg { display: block; width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.codehub-product-home .header-logo { color: var(--product-text); }
.codehub-product-home .header-logo-desc { color: var(--product-muted-2); }
.codehub-product-home .product-mark svg,
.codehub-product-home .product-icon,
.codehub-product-home .product-feature-icon svg,
.codehub-product-home .product-shot-icon svg,
.codehub-product-home .product-preview-cards svg,
.codehub-product-home .product-tools-icon svg {
  display: block;
  width: 1.25rem;
  height: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.codehub-product-home .product-mark svg { width: 1.15rem; height: 1.15rem; }

/* ── Animaciones ──────────────────────────────────────────────── */
@keyframes pmGlow { from { transform: scale(.94); opacity: .65; } to { transform: scale(1.06); opacity: 1; } }
@keyframes pmSignal { 0%, 100% { transform: scaleY(.5); opacity: .65; } 50% { transform: scaleY(1); opacity: 1; } }
@keyframes pmPing { 0% { box-shadow: 0 0 0 0 rgba(var(--product-accent-rgb), .5); } 70%, 100% { box-shadow: 0 0 0 9px rgba(var(--product-accent-rgb), 0); } }
@keyframes pmHeroIn { from { opacity: 0; transform: translateY(18px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes pmHeroArt { from { opacity: 0; transform: translateY(26px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes product-contact-spin { to { transform: rotate(360deg); } }

.product-hero-copy > * { animation: pmHeroIn .8s cubic-bezier(.16, 1, .3, 1) both; }
.product-hero-copy > *:nth-child(1) { animation-delay: .04s; }
.product-hero-copy > *:nth-child(2) { animation-delay: .10s; }
.product-hero-copy > *:nth-child(3) { animation-delay: .16s; }
.product-hero-copy > *:nth-child(4) { animation-delay: .22s; }
.product-hero-copy > *:nth-child(5) { animation-delay: .28s; }
.product-hero-art { animation: pmHeroArt .9s cubic-bezier(.16, 1, .3, 1) .15s both; }

/* Scroll-reveal. Sólo se oculta si el JS añadió .pm-motion (sin JS,
   el contenido siempre visible). */
.pm-motion .pm-reveal {
  opacity: 0;
  transform: translateY(22px);
  filter: blur(4px);
  transition:
    opacity .7s cubic-bezier(.16, 1, .3, 1) var(--pm-delay, 0ms),
    transform .7s cubic-bezier(.16, 1, .3, 1) var(--pm-delay, 0ms),
    filter .7s cubic-bezier(.16, 1, .3, 1) var(--pm-delay, 0ms);
}
.pm-motion .pm-reveal.pm-in { opacity: 1; transform: none; filter: none; }

/* Kill-switches: preferencias y sistema. */
html[data-anim="0"] .product-hero-copy > *,
html[data-anim="0"] .product-hero-art,
html[data-anim="0"] .product-hero-art::before,
html[data-anim="0"] .product-preview-status > span:first-child,
html[data-anim="0"] .product-preview-signal i,
html[data-anim="0"] .product-contact-spinner { animation: none !important; }
html[data-anim="0"] .product-carousel-track,
html[data-anim="0"] .product-button,
html[data-anim="0"] .product-feature,
html[data-anim="0"] .product-device { transition: none !important; }
html[data-anim="0"] .pm-motion .pm-reveal { opacity: 1; transform: none; filter: none; transition: none !important; }

/* ── Responsive (breakpoints canónicos) ───────────────────────── */
@media (max-width: 1080px) {
  .codehub-product-home .product-top-nav { gap: .9rem; }
  .codehub-product-home .product-top-nav a { font-size: .78rem; }
  .codehub-product-home .product-top-nav .ui-ico { display: none; }
}
@media (max-width: 860px) {
  .codehub-product-home .product-top-nav { display: none !important; }
  .product-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(260px, .75fr); gap: 2rem; }
  .product-device { min-height: 465px; }
  .product-device-screen { min-height: 433px; }
  .product-origin-grid { gap: 2rem; }
  .product-contact-grid { grid-template-columns: 1fr; gap: 1.5rem; }
}
@media (max-width: 768px) {
  .product-shell { width: min(calc(100% - 36px), 640px); }
  .product-hero { padding: 3.5rem 0 4rem; }
  .product-hero-grid { grid-template-columns: 1fr; }
  .product-hero-copy { order: 1; }
  .product-hero-art { order: 2; }
  .product-device { width: min(78vw, 330px); min-height: 465px; }
  .product-device-screen { min-height: 433px; }
  .product-hero h1 { max-width: 640px; }
  .product-gallery-section, .product-features, .product-origin, .product-tools { padding: 3.5rem 0; }
  .product-section-heading { display: block; }
  .product-section-heading > p { margin-top: .8rem; }
  .product-origin-grid { grid-template-columns: 1fr; gap: 1rem; }
  .product-tools-card { grid-template-columns: 48px minmax(0, 1fr); }
  .product-tools-card > .product-button { grid-column: 2; justify-self: start; }
  .product-webtools-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
  .product-faq { padding: 3.5rem 0; }
  .product-faq-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .product-faq h2 { max-width: 640px; }
  .product-faq-grid > div:first-child > p:last-child { max-width: 560px; }
}
@media (max-width: 720px) {
  .product-carousel { grid-template-columns: 36px minmax(0, 1fr) 36px; column-gap: .4rem; }
  .product-carousel-arrow { width: 36px; height: 36px; }
  .product-carousel-footer { margin-inline: 0; }
  .product-shot { width: min(100%, 360px); max-height: 590px; }
  .product-feature { grid-template-columns: 30px 40px minmax(0, 1fr); gap: .65rem; }
  .product-feature-tag { grid-column: 3; justify-self: start; margin-top: .1rem; }
}
@media (max-width: 640px) {
  .product-shell { width: calc(100% - 32px); }
  .product-hero { padding-top: 3rem; }
  .product-device { width: min(78vw, 280px); }
  .product-carousel { grid-template-columns: 32px minmax(0, 1fr) 32px; gap: .35rem; }
  .product-carousel-arrow { width: 32px; height: 32px; }
  .product-carousel-arrow .product-icon { width: 1rem; }
  .product-carousel-footer { flex-wrap: wrap; margin-inline: 40px; }
  .product-carousel-footer > [data-i18n] { width: 100%; text-align: center; }
  .product-tools-card { gap: 1rem; padding: 1.2rem; }
  .product-webtools-foot { align-items: flex-start; flex-direction: column; }
  .product-webtools-foot .product-button { width: 100%; }
}
@media (max-width: 550px) {
  .product-carousel-footer { justify-content: center; }
  .product-carousel-footer > span:first-child { margin-right: auto; }
  .product-carousel-footer > span:last-child { margin-left: auto; }
  .product-shot { border-radius: 18px; }
  .product-button { min-height: 46px; }
  .product-meta { font-size: .76rem; }
}
@media (max-width: 480px) {
  .product-shell { width: calc(100% - 28px); }
  .product-hero { padding: 2.6rem 0 3.6rem; }
  .product-hero h1 { font-size: clamp(2.4rem, 12vw, 3.55rem); }
  .product-lead { font-size: 1rem; }
  .product-actions { display: grid; grid-template-columns: 1fr; }
  .product-actions .product-button { width: 100%; }
  .product-device { width: min(84vw, 320px); }
  .product-carousel { grid-template-columns: 30px minmax(0, 1fr) 30px; column-gap: .15rem; }
  .product-carousel-arrow { width: 30px; height: 30px; font-size: .75rem; }
  .product-carousel-footer { gap: .6rem; font-size: .68rem; }
  .product-carousel-dots { gap: .35rem; }
  .product-feature { align-items: start; }
  .product-feature-icon { width: 36px; height: 36px; }
  .product-tools-card { grid-template-columns: 40px minmax(0, 1fr); }
  .product-tools-icon { width: 40px; height: 40px; }
  .product-tools-card > .product-button { grid-column: 1 / -1; width: 100%; }
  .product-webtools-grid { grid-template-columns: 1fr; }
  .product-webtool { grid-template-columns: 36px minmax(0, 1fr); gap: .7rem; padding: .9rem; }
  .product-webtool-ico { width: 36px; height: 36px; border-radius: 10px; }
  .product-contact .contact-form-wrap { padding: 1rem; }
}
@media (max-width: 380px) {
  .product-shell { width: calc(100% - 24px); }
  .product-hero h1 { font-size: 2.3rem; }
  .product-device { width: min(88vw, 300px); }
  .product-preview-greeting strong { font-size: 1.9rem; }
  .product-shot-empty { padding: 1rem; }
  .product-shot-empty strong { font-size: 1.25rem; }
  .product-carousel-footer > span:last-child { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .product-button, .product-carousel-track, .product-top-nav a, .product-device { transition: none; }
  .product-hero-copy > *, .product-hero-art, .product-hero-art::before,
  .product-preview-status > span:first-child, .product-preview-signal i, .product-contact-spinner { animation: none; }
  .pm-motion .pm-reveal { opacity: 1; transform: none; filter: none; transition: none; }
}
