
.theme-toggle{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  width:42px;
  height:42px;
  min-height:42px;
  padding:0;
  border-radius:999px;
  border:1px solid rgba(84,177,242,.16);
  background:rgba(6,16,24,.58);
  color:#eef6ff;
  font:700 12px/1 var(--f-body, Inter, system-ui, sans-serif);
  font-size:0;
  line-height:0;
  cursor:pointer;
  transition:background .2s,border-color .2s,color .2s,transform .2s;
  white-space:nowrap;
  overflow:hidden;
  text-indent:0;
  box-shadow:0 14px 34px rgba(0,0,0,.24), inset 0 1px 0 rgba(255,255,255,.08);
  backdrop-filter:blur(14px) saturate(140%);
}
.theme-toggle:hover{
  background:rgba(79,183,255,.10);
  border-color:rgba(84,177,242,.28);
}
.theme-toggle:active{transform:translateY(1px)}
.theme-toggle::before{
  content:"";
  width:14px;
  height:14px;
  flex:0 0 auto;
  border-radius:50%;
  background:linear-gradient(135deg,#eef6ff,#4fb7ff);
  box-shadow:0 0 18px rgba(79,183,255,.35);
  text-indent:0;
}
.nav-theme-toggle{
  position:fixed;
  right:22px;
  bottom:22px;
  z-index:140;
  flex:0 0 auto;
  margin-left:0;
}
.brand-name{
  max-width:260px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.brand > div:not(.brand-mark),
.brand-copy{
  min-width:0;
}
.brand-role:empty{
  display:none !important;
}
.nav-links a:focus-visible,
.nav-links button:focus-visible,
.theme-toggle:focus-visible,
.burger:focus-visible,
.brand:focus-visible{
  outline:2px solid rgba(79,183,255,.72);
  outline-offset:4px;
}

html[data-theme="light"]{
  color-scheme:light;
  --bg:#eef5fb !important;
  --bg-2:#e7f0f8 !important;
  --bg-3:#dfeaf4 !important;
  --panel:rgba(255,255,255,.84) !important;
  --panel-strong:rgba(255,255,255,.96) !important;
  --line:rgba(15,38,56,.10) !important;
  --line-strong:rgba(15,38,56,.18) !important;
  --text:#0f2638 !important;
  --muted:#41566c !important;
  --soft:#61758a !important;
  --accent:#0f5f91 !important;
  --accent-2:#0d9ab2 !important;
  --cyan:#0f5f91 !important;
  --teal:#0d9ab2 !important;
  --gold:#0f5f91 !important;
  --green:#0f7a55 !important;
  --orange:#a35412 !important;
  --red:#b42335 !important;
  --purple:#6353a4 !important;
  --warn:#a35412 !important;
  --danger:#b42335 !important;
  --shadow:0 24px 64px rgba(15,38,56,.12) !important;
}
html[data-theme="light"],
html[data-theme="light"] body{
  background:#eef5fb !important;
  color:#0f2638 !important;
}
html[data-theme="light"] body{
  background:
    radial-gradient(circle at 12% 10%, rgba(79,183,255,.16), transparent 28%),
    radial-gradient(circle at 88% 12%, rgba(120,216,234,.13), transparent 22%),
    linear-gradient(135deg,#f8fbff 0%,#eef5fb 48%,#e2edf7 100%) !important;
}
html[data-theme="light"] body::before{
  background-image:
    linear-gradient(rgba(15,38,56,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15,38,56,.055) 1px, transparent 1px) !important;
  opacity:.72;
}
html[data-theme="light"] .ambient,
html[data-theme="light"] .tech-lines{opacity:.28}
html[data-theme="light"] .nav{
  background:rgba(248,251,255,.82) !important;
  border-bottom-color:rgba(15,38,56,.09) !important;
  box-shadow:0 16px 40px rgba(15,38,56,.08) !important;
}
html[data-theme="light"] .nav-links.open,
html[data-theme="light"] .nav .nav-links.open{
  background:#f8fbff !important;
  border-top:1px solid rgba(15,38,56,.10) !important;
  border-bottom:1px solid rgba(15,38,56,.12) !important;
  box-shadow:0 18px 44px rgba(15,38,56,.12) !important;
}
html[data-theme="light"] .burger span{
  background:#273f55 !important;
}
html[data-theme="light"] .nav.scrolled{
  background:rgba(248,251,255,.94) !important;
}
html[data-theme="light"] .brand-name,
html[data-theme="light"] h1,
html[data-theme="light"] h2,
html[data-theme="light"] h3,
html[data-theme="light"] strong,
html[data-theme="light"] .post-title,
html[data-theme="light"] .page-hero-copy h1,
html[data-theme="light"] .page-hero-copy h1 span,
html[data-theme="light"] .hero-copy h1,
html[data-theme="light"] .hero-copy h1 span,
html[data-theme="light"] .tc-name,
html[data-theme="light"] .runner-head h2{
  color:#0f2638 !important;
}
html[data-theme="light"] p,
html[data-theme="light"] small,
html[data-theme="light"] .brand-role,
html[data-theme="light"] .hero-copy p,
html[data-theme="light"] .page-hero-copy p,
html[data-theme="light"] .post-lede,
html[data-theme="light"] .bc-excerpt,
html[data-theme="light"] .blog-excerpt,
html[data-theme="light"] .tc-desc,
html[data-theme="light"] .tc-feat,
html[data-theme="light"] .runner-head p,
html[data-theme="light"] .footer-copy,
html[data-theme="light"] .footer-links a,
html[data-theme="light"] .toolbar-row,
html[data-theme="light"] .blog-count,
html[data-theme="light"] .blog-meta-note,
html[data-theme="light"] .bc-meta,
html[data-theme="light"] .related-meta{
  color:#41566c !important;
}
html[data-theme="light"] .nav-links a,
html[data-theme="light"] .nav-links button{
  color:#273f55 !important;
}
html[data-theme="light"] .nav-links a:hover,
html[data-theme="light"] .nav-links a.active,
html[data-theme="light"] .nav-links button:hover,
html[data-theme="light"] .nav-links button.active{
  color:#0f2638 !important;
  background:rgba(15,38,56,.055) !important;
}
html[data-theme="light"] .nav-links .nav-cta{
  background:rgba(20,121,184,.10) !important;
  color:#0f2638 !important;
  border-color:rgba(20,121,184,.18) !important;
}
html[data-theme="light"] .brand-mark{
  color:#f8fbff !important;
  background:linear-gradient(135deg,#0f5f91,#0d7f9a) !important;
  border-color:rgba(20,121,184,.18) !important;
}
html[data-theme="light"] .theme-toggle{
  color:#0f2638 !important;
  background:rgba(255,255,255,.74) !important;
  border-color:rgba(15,38,56,.12) !important;
  box-shadow:0 14px 34px rgba(15,38,56,.12), inset 0 1px 0 rgba(255,255,255,.80) !important;
}
html[data-theme="light"] .theme-toggle::before{
  background:linear-gradient(135deg,#ffb84d,#fff2a8);
  box-shadow:0 0 16px rgba(255,184,77,.36);
}
html[data-theme="light"] .surface,
html[data-theme="light"] .card,
html[data-theme="light"] .blog-card,
html[data-theme="light"] .blog-feature,
html[data-theme="light"] .studio-panel,
html[data-theme="light"] .studio-stack,
html[data-theme="light"] .about-panel,
html[data-theme="light"] .about-visual,
html[data-theme="light"] .contact-aside,
html[data-theme="light"] .contact-form,
html[data-theme="light"] .cred-panel,
html[data-theme="light"] .cred-item,
html[data-theme="light"] .contact-route,
html[data-theme="light"] .about-method,
html[data-theme="light"] .studio-point,
html[data-theme="light"] .stack-item,
html[data-theme="light"] .page-hero-side,
html[data-theme="light"] .featured-post,
html[data-theme="light"] .filter-panel,
html[data-theme="light"] .blog-toolbar,
html[data-theme="light"] .tool-card,
html[data-theme="light"] .tool-runner,
html[data-theme="light"] .hero-panel,
html[data-theme="light"] .hero-panel-item,
html[data-theme="light"] .post-main,
html[data-theme="light"] .post-figure,
html[data-theme="light"] .related-card{
  background:linear-gradient(180deg,rgba(255,255,255,.88),rgba(245,250,255,.96)) !important;
  border-color:rgba(15,38,56,.10) !important;
  box-shadow:0 22px 54px rgba(15,38,56,.10) !important;
}
html[data-theme="light"] .tool-frame,
html[data-theme="light"] .frames-wrap{
  background:#eef5fb !important;
}
html[data-theme="light"] input,
html[data-theme="light"] textarea,
html[data-theme="light"] select,
html[data-theme="light"] .search-input{
  background:rgba(255,255,255,.86) !important;
  border-color:rgba(15,38,56,.14) !important;
  color:#0f2638 !important;
}
html[data-theme="light"] input::placeholder,
html[data-theme="light"] textarea::placeholder{color:#75879a !important}

html[data-theme="light"] .hero-device,
html[data-theme="light"] .hero-device-shell,
html[data-theme="light"] .hero-screen,
html[data-theme="light"] .hero-screen-render-only,
html[data-theme="light"] .mac-render-stage,
html[data-theme="light"] .mac-render-frame{
  background:
    radial-gradient(circle at 50% 34%, rgba(79,183,255,.14), transparent 44%),
    linear-gradient(180deg,#fbfdff 0%,#eef6fc 100%) !important;
  border-color:rgba(20,121,184,.18) !important;
  box-shadow:0 28px 70px rgba(15,38,56,.14), inset 0 1px 0 rgba(255,255,255,.82) !important;
}
html[data-theme="light"] .hero-device-topbar{
  background:linear-gradient(180deg,rgba(255,255,255,.86),rgba(230,240,249,.92)) !important;
  border-bottom-color:rgba(15,38,56,.10) !important;
}
html[data-theme="light"] .engineering-visual{
  background:
    radial-gradient(circle at 50% 42%, rgba(255,255,255,.72), transparent 38%),
    radial-gradient(circle at 50% 74%, rgba(79,183,255,.12), transparent 42%),
    linear-gradient(180deg,#f4f9fd 0%,#e7f2fa 100%) !important;
}
html[data-theme="light"] .engineering-visual::before{
  content:none !important;
  display:none !important;
}
html[data-theme="light"] .engineering-visual::after{
  content:"" !important;
  display:block !important;
  background:
    linear-gradient(90deg, rgba(244,249,253,.16), transparent 18%, transparent 82%, rgba(244,249,253,.18)),
    linear-gradient(180deg, rgba(244,249,253,.18), transparent 25%, transparent 78%, rgba(231,242,250,.24)) !important;
  opacity:.34 !important;
}
html[data-theme="light"] .real-gear-render{
  mix-blend-mode:normal !important;
  filter:saturate(.88) contrast(.86) brightness(1.18) drop-shadow(0 18px 32px rgba(15,38,56,.14)) !important;
  opacity:.74 !important;
}
html[data-theme="light"] .hero-proof > div,
html[data-theme="light"] .summary-card,
html[data-theme="light"] .screen-meta-item,
html[data-theme="light"] .screen-card,
html[data-theme="light"] .kpi,
html[data-theme="light"] .console-kpi,
html[data-theme="light"] .console-flow > *,
html[data-theme="light"] .bp-tags,
html[data-theme="light"] .about-caption,
html[data-theme="light"] .blog-feature-metric,
html[data-theme="light"] .metric,
html[data-theme="light"] .stat,
html[data-theme="light"] .hero-panel-item,
html[data-theme="light"] .cred-item,
html[data-theme="light"] .hero-stat,
html[data-theme="light"] .visual-chip,
html[data-theme="light"] .status-pill,
html[data-theme="light"] .device-badge,
html[data-theme="light"] .tag,
html[data-theme="light"] .bp-tags span{
  background:rgba(255,255,255,.72) !important;
  border-color:rgba(15,38,56,.12) !important;
  color:#0f2638 !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.72),0 10px 24px rgba(15,38,56,.06) !important;
}

html[data-theme="light"] .hero-panel strong,
html[data-theme="light"] .hero-panel-item strong,
html[data-theme="light"] .tc-name,
html[data-theme="light"] .rtab-name,
html[data-theme="light"] .featured-post h2,
html[data-theme="light"] .bc-title,
html[data-theme="light"] .page-hero-side strong,
html[data-theme="light"] .post-title,
html[data-theme="light"] .post-body h2,
html[data-theme="light"] .post-body strong,
html[data-theme="light"] .post-cta h3,
html[data-theme="light"] .related-title{
  color:#0f2638 !important;
}

html[data-theme="light"] .hero-panel p,
html[data-theme="light"] .hero-panel-item p,
html[data-theme="light"] .tc-desc,
html[data-theme="light"] .tc-feat,
html[data-theme="light"] .rtab-norm,
html[data-theme="light"] .page-hero-side p,
html[data-theme="light"] .hero-stat p,
html[data-theme="light"] .featured-post p,
html[data-theme="light"] .bc-excerpt,
html[data-theme="light"] .post-lede,
html[data-theme="light"] .post-body p,
html[data-theme="light"] .post-body li,
html[data-theme="light"] .post-cta p,
html[data-theme="light"] .post-404 p{
  color:#41566c !important;
}

html[data-theme="light"] .kicker,
html[data-theme="light"] .hero-panel small,
html[data-theme="light"] .hero-panel-item span,
html[data-theme="light"] .tc-badge,
html[data-theme="light"] .runner-head small,
html[data-theme="light"] .featured-post-label,
html[data-theme="light"] .blog-cat,
html[data-theme="light"] .bc-cat,
html[data-theme="light"] .bc-read,
html[data-theme="light"] .filter-label,
html[data-theme="light"] .page-hero-side small,
html[data-theme="light"] .hero-stat span,
html[data-theme="light"] .post-category,
html[data-theme="light"] .related-label,
html[data-theme="light"] .related-cat,
html[data-theme="light"] .post-back,
html[data-theme="light"] .post-body em,
html[data-theme="light"] .post-body a,
html[data-theme="light"] .post-figure-source{
  color:#0f5f91 !important;
}

html[data-theme="light"] .post-figure,
html[data-theme="light"] .post-cta,
html[data-theme="light"] .related-card,
html[data-theme="light"] .formula{
  background:linear-gradient(180deg,rgba(255,255,255,.90),rgba(245,250,255,.96)) !important;
  border-color:rgba(15,38,56,.12) !important;
  box-shadow:0 18px 42px rgba(15,38,56,.09) !important;
}

html[data-theme="light"] .post-figure img{
  background:#eef5fb !important;
  filter:saturate(.94) contrast(.98) brightness(1.04) !important;
}

html[data-theme="light"] .post-figure figcaption,
html[data-theme="light"] .formula{
  color:#41566c !important;
}
html[data-theme="light"] .about-caption,
html[data-theme="light"] .about-method,
html[data-theme="light"] .tool-card,
html[data-theme="light"] .tc-feat,
html[data-theme="light"] .runner-meta span,
html[data-theme="light"] .filter-btn,
html[data-theme="light"] .featured-post,
html[data-theme="light"] .page-hero-side{
  background:rgba(255,255,255,.78) !important;
  border-color:rgba(15,38,56,.12) !important;
}
html[data-theme="light"] .hero-proof span,
html[data-theme="light"] .hero-proof strong,
html[data-theme="light"] .hero-proof small,
html[data-theme="light"] .summary-card span,
html[data-theme="light"] .summary-card strong,
html[data-theme="light"] .summary-copy strong,
html[data-theme="light"] .summary-icon,
html[data-theme="light"] .screen-meta-item span,
html[data-theme="light"] .screen-meta-item strong,
html[data-theme="light"] .screen-meta-value,
html[data-theme="light"] .cred-value,
html[data-theme="light"] .visual-chip strong,
html[data-theme="light"] .hero-stat strong,
html[data-theme="light"] .blog-feature-metric strong,
html[data-theme="light"] .blog-feature-metric span,
html[data-theme="light"] .metric strong,
html[data-theme="light"] .metric span,
html[data-theme="light"] .stat strong,
html[data-theme="light"] .stat span{
  color:#0f2638 !important;
}
html[data-theme="light"] .about-caption span,
html[data-theme="light"] .about-caption p,
html[data-theme="light"] .about-method span,
html[data-theme="light"] .about-method p,
html[data-theme="light"] .tool-card span,
html[data-theme="light"] .tool-card p,
html[data-theme="light"] .tc-feat,
html[data-theme="light"] .runner-meta span,
html[data-theme="light"] .page-hero-side span,
html[data-theme="light"] .page-hero-side p,
html[data-theme="light"] .featured-post p,
html[data-theme="light"] .no-results p,
html[data-theme="light"] .summary-copy p,
html[data-theme="light"] .visual-chip small,
html[data-theme="light"] .hero-stat p,
html[data-theme="light"] .screen-meta-label{
  color:#41566c !important;
}
html[data-theme="light"] .about-method strong,
html[data-theme="light"] .tool-card strong,
html[data-theme="light"] .tc-name,
html[data-theme="light"] .page-hero-side strong,
html[data-theme="light"] .featured-post strong{
  color:#0f2638 !important;
}
html[data-theme="light"] .hero-proof small,
html[data-theme="light"] .summary-card span,
html[data-theme="light"] .screen-meta-item span,
html[data-theme="light"] .blog-feature-metric span,
html[data-theme="light"] .metric span,
html[data-theme="light"] .stat span{
  color:#536a80 !important;
}
html[data-theme="light"] .kicker,
html[data-theme="light"] .tc-badge,
html[data-theme="light"] .bc-cat,
html[data-theme="light"] .blog-cat,
html[data-theme="light"] .post-category,
html[data-theme="light"] .related-cat,
html[data-theme="light"] .featured-post-label,
html[data-theme="light"] .runner-head small,
html[data-theme="light"] .hero-panel small,
html[data-theme="light"] .hero-panel-item span,
html[data-theme="light"] .cred-label,
html[data-theme="light"] .cred-icon,
html[data-theme="light"] .visual-chip span,
html[data-theme="light"] .hero-stat span,
html[data-theme="light"] .screen-label,
html[data-theme="light"] .status-pill,
html[data-theme="light"] .device-badge,
html[data-theme="light"] .tag-label{
  color:#0f5f91 !important;
}

html[data-theme="light"] .cred-panel::before,
html[data-theme="light"] .card::before,
html[data-theme="light"] .blog-card::before,
html[data-theme="light"] .about-panel::before,
html[data-theme="light"] .contact-form::before{
  opacity:.14 !important;
}

html[data-theme="light"] .console-status,
html[data-theme="light"] .tool-status,
html[data-theme="light"] .rec-box,
html[data-theme="light"] .rec,
html[data-theme="light"] .result-card,
html[data-theme="light"] .res-card,
html[data-theme="light"] .mc,
html[data-theme="light"] .pn,
html[data-theme="light"] .frm,
html[data-theme="light"] .tbl-wrap{
  background:rgba(255,255,255,.78) !important;
  border-color:rgba(15,38,56,.12) !important;
  color:#0f2638 !important;
}

html[data-theme="light"] .console-status *,
html[data-theme="light"] .tool-status *,
html[data-theme="light"] .rec-box *,
html[data-theme="light"] .rec *,
html[data-theme="light"] .result-card *,
html[data-theme="light"] .res-card *,
html[data-theme="light"] .mc *,
html[data-theme="light"] .pn *,
html[data-theme="light"] .frm *,
html[data-theme="light"] .tbl-wrap *{
  color:inherit;
}
html[data-theme="light"] .btn,
html[data-theme="light"] .cta-btn,
html[data-theme="light"] .post-back,
html[data-theme="light"] .filter-btn,
html[data-theme="light"] .rtab,
html[data-theme="light"] .runner-meta span{
  color:#0f2638 !important;
  background:rgba(255,255,255,.68) !important;
  border-color:rgba(15,38,56,.13) !important;
}
html[data-theme="light"] .btn-primary,
html[data-theme="light"] .nav-cta,
html[data-theme="light"] .filter-btn.active,
html[data-theme="light"] .rtab.on{
  color:#f8fbff !important;
  background:linear-gradient(135deg,#0f5f91,#0d7f9a) !important;
  border-color:rgba(20,121,184,.28) !important;
}
html[data-theme="light"] table,
html[data-theme="light"] .table,
html[data-theme="light"] .bearing-table-wrap,
html[data-theme="light"] .tbl-wrap{
  background:rgba(255,255,255,.78) !important;
  color:#0f2638 !important;
  border-color:rgba(15,38,56,.12) !important;
}
html[data-theme="light"] th,
html[data-theme="light"] td,
html[data-theme="light"] tr,
html[data-theme="light"] .table-header,
html[data-theme="light"] .tbl-hd{
  color:#0f2638 !important;
  border-color:rgba(15,38,56,.10) !important;
}
html[data-theme="light"] th{
  background:#e5f0f8 !important;
  color:#273f55 !important;
}
html[data-theme="light"] tr:nth-child(even) td{
  background:rgba(15,38,56,.035) !important;
}
html[data-theme="light"] .formula,
html[data-theme="light"] .formula-eq,
html[data-theme="light"] .formula-section,
html[data-theme="light"] .formula-accordion,
html[data-theme="light"] .f-eq,
html[data-theme="light"] .fb-eq{
  background:#edf6fc !important;
  color:#0f5f91 !important;
  border-color:rgba(20,121,184,.16) !important;
}
html[data-theme="light"] .bc-title,
html[data-theme="light"] .blog-title,
html[data-theme="light"] .related-title,
html[data-theme="light"] .featured-post h2,
html[data-theme="light"] .no-results strong,
html[data-theme="light"] .post-body h2,
html[data-theme="light"] .post-body strong{
  color:#0f2638 !important;
}
html[data-theme="light"] .post-body,
html[data-theme="light"] .post-body p,
html[data-theme="light"] .post-body li,
html[data-theme="light"] .post-figure figcaption,
html[data-theme="light"] .post-figure-source{
  color:#273f55 !important;
}
html[data-theme="light"] .bc-thumb,
html[data-theme="light"] .blog-thumb,
html[data-theme="light"] .bc-thumb-image{
  background:#e6f0f8 !important;
  color:#0f2638 !important;
}
html[data-theme="light"] .bc-thumb::after,
html[data-theme="light"] .blog-card::before,
html[data-theme="light"] .card::before,
html[data-theme="light"] .about-panel::before,
html[data-theme="light"] .contact-form::before{
  opacity:.20 !important;
}
html[data-theme="light"] .bc-thumb-label{
  background:rgba(255,255,255,.82) !important;
  color:#0f2638 !important;
  border-color:rgba(15,38,56,.10) !important;
}
html[data-theme="light"] .device-dots span{
  box-shadow:none !important;
}
html[data-theme="light"] ::-webkit-scrollbar-track{background:#edf4fa !important}
html[data-theme="light"] ::-webkit-scrollbar-thumb{background:rgba(20,121,184,.34) !important}

html[data-theme="light"] .contrast-safe,
html[data-theme="light"] .mc-l,
html[data-theme="light"] .mc-s,
html[data-theme="light"] .pn-n,
html[data-theme="light"] .pn-s,
html[data-theme="light"] .fb-d,
html[data-theme="light"] .ri,
html[data-theme="light"] .tbl-su,
html[data-theme="light"] .sec-su,
html[data-theme="light"] .ph-p,
html[data-theme="light"] .related-meta,
html[data-theme="light"] .footer-inner,
html[data-theme="light"] .footer-copy{
  color:#41566c !important;
}
html[data-theme="light"] .mc-v,
html[data-theme="light"] .pn-v,
html[data-theme="light"] .rv,
html[data-theme="light"] .rh-ey,
html[data-theme="light"] .tbl-ti,
html[data-theme="light"] .frm-btn{
  color:#0f2638 !important;
}
html[data-theme="light"] .mc-v.g,
html[data-theme="light"] .mc-v.cy,
html[data-theme="light"] .pn-v,
html[data-theme="light"] .rv,
html[data-theme="light"] .rh-ey,
html[data-theme="light"] .tg{
  color:#0f5f91 !important;
}
html[data-theme="light"] .mc-v.gr,
html[data-theme="light"] .tok,
html[data-theme="light"] .pill.gr{
  color:#0f7a55 !important;
}
html[data-theme="light"] .mc-v.or,
html[data-theme="light"] .tw,
html[data-theme="light"] .pill.or,
html[data-theme="light"] .warn-badge{
  color:#a35412 !important;
}
html[data-theme="light"] .tb{
  color:#b42335 !important;
}
html[data-theme="light"] .pill,
html[data-theme="light"] .ub,
html[data-theme="light"] .tpill,
html[data-theme="light"] .chip,
html[data-theme="light"] .status-pill,
html[data-theme="light"] .tag,
html[data-theme="light"] .device-badge,
html[data-theme="light"] .visual-chip{
  background:rgba(255,255,255,.80) !important;
  border-color:rgba(15,38,56,.15) !important;
  color:#0f2638 !important;
}
html[data-theme="light"] .pill.g,
html[data-theme="light"] .pill.c,
html[data-theme="light"] .ub,
html[data-theme="light"] .tpill.g{
  background:rgba(20,121,184,.10) !important;
  border-color:rgba(20,121,184,.24) !important;
  color:#0f5f91 !important;
}
html[data-theme="light"] .pill.gr{
  background:rgba(15,122,85,.10) !important;
  border-color:rgba(15,122,85,.24) !important;
}
html[data-theme="light"] .pill.or,
html[data-theme="light"] .warn-badge{
  background:rgba(163,84,18,.10) !important;
  border-color:rgba(163,84,18,.26) !important;
}
html[data-theme="light"] .chip{
  background:#0f5f91 !important;
  color:#ffffff !important;
}
html[data-theme="light"] canvas{
  color-scheme:light;
}

html[data-theme="light"] .brand-mark,
html[data-theme="light"] .btn-primary,
html[data-theme="light"] .nav-cta,
html[data-theme="light"] .filter-btn.active,
html[data-theme="light"] .rtab.on{
  background-color:#0f5f91 !important;
}
html[data-theme="light"] .blog-feature-label,
html[data-theme="light"] .hero-proof span,
html[data-theme="light"] .about-method span,
html[data-theme="light"] #sobre-mi .about-method span,
html[data-theme="light"] .contact-route span,
html[data-theme="light"] .studio-step small,
html[data-theme="light"] .card-icon{
  color:#0f5f91 !important;
}
html[data-theme="light"] .rtab.on,
html[data-theme="light"] .rtab.on *,
html[data-theme="light"] .filter-btn.active,
html[data-theme="light"] .filter-btn.active *{
  color:#ffffff !important;
}
html[data-theme="light"] .form-note{
  color:#273f55 !important;
  background:rgba(255,255,255,.82) !important;
  border-color:rgba(15,38,56,.12) !important;
}

@media (max-width:860px){
  html{scroll-padding-top:74px}
  body{overflow-x:hidden}
  .wrap{width:min(var(--max,1240px),calc(100% - 24px)) !important}
  .nav{height:auto;min-height:68px}
  .nav-inner{min-height:68px}
  .brand{min-width:0}
  .brand-copy,.brand > div:not(.brand-mark){min-width:0}
  .brand-name{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:56vw}
  .brand-role{font-size:10px !important}
  .nav-links.open{
    display:flex !important;
    gap:8px !important;
    max-height:calc(100vh - 68px);
    overflow:auto;
  }
  .nav-links a,
  .nav-links button{
    width:100%;
    justify-content:flex-start;
    min-height:44px;
    border-radius:12px !important;
  }
  .nav-theme-toggle{
    width:40px;
    height:40px;
    min-width:40px;
    min-height:40px;
    padding:0;
    margin-left:0;
    right:16px;
    bottom:16px;
    border-radius:14px !important;
  }
  .burger{flex:0 0 auto}
}

@media (max-width:700px){
  section{scroll-margin-top:78px}
  .hero-grid,
  .page-hero-grid,
  .about-grid,
  .studio-grid,
  .contact-grid,
  .blog-grid,
  .card-grid,
  .tool-cards,
  .hero-panel-grid,
  .post-layout,
  .related-grid{
    grid-template-columns:1fr !important;
  }
  .page-hero,
  #hero{
    min-height:auto !important;
    padding-top:34px !important;
    padding-bottom:34px !important;
  }
  .hero-copy,
  .page-hero-copy{text-align:left}
  .hero-copy h1,
  .page-hero-copy h1{
    max-width:none !important;
    font-size:clamp(34px,11.5vw,52px) !important;
    line-height:1.02 !important;
    letter-spacing:-.045em !important;
  }
  .section-head h2,
  .post-title{
    font-size:clamp(30px,10vw,44px) !important;
    line-height:1.06 !important;
  }
  .hero-device,
  .hero-device-shell,
  .hero-screen,
  .mac-render-stage,
  .mac-render-frame{
    width:100% !important;
    max-width:100% !important;
  }
  .hero-device{margin-top:18px}
  .real-gear-render{
    width:100% !important;
    height:auto !important;
    object-fit:contain !important;
  }
  .hero-proof,
  .cred-panel,
  .studio-points,
  .console-kpis,
  .console-flow{
    grid-template-columns:1fr !important;
  }
  .about-visual,
  .about-panel,
  .contact-form,
  .contact-aside,
  .tool-card,
  .tool-runner,
  .page-hero-side,
  .featured-post,
  .blog-card,
  .post-main{
    border-radius:18px !important;
  }
  .about-photo{
    max-width:292px;
    margin-inline:auto;
  }
  .form-grid{grid-template-columns:1fr !important}
  .tool-shell{padding-bottom:42px !important}
  .runner-head{padding:22px !important}
  .runner-tabs{
    display:grid !important;
    grid-template-columns:1fr !important;
  }
  .rtab{
    width:100%;
    justify-content:flex-start !important;
  }
  .tool-frame{
    min-height:78vh !important;
    height:78vh !important;
  }
  .filter-panel,
  .blog-toolbar{
    align-items:stretch !important;
  }
  .filter-btns,
  .runner-meta,
  .hero-actions{
    overflow-x:auto;
    flex-wrap:nowrap !important;
    padding-bottom:2px;
  }
  .hero-actions .btn,
  .filter-btn,
  .runner-meta span{
    flex:0 0 auto;
  }
  .post-body{
    font-size:17px !important;
    line-height:1.78 !important;
  }
  .post-figure img,
  .bc-thumb img{
    max-height:260px;
    object-fit:contain;
  }
}

@media (max-width:430px){
  .brand-name{max-width:54vw;font-size:12px !important}
  .brand-mark{width:40px !important;height:40px !important;border-radius:12px !important}
  .hero-copy h1,
  .page-hero-copy h1{font-size:clamp(31px,12vw,46px) !important}
  .hero-actions{gap:8px}
  .btn,
  .cta-btn,
  .post-back{
    width:100%;
    justify-content:center;
  }
  .nav-theme-toggle{
    width:38px !important;
    height:38px !important;
    min-width:38px !important;
    min-height:38px !important;
  }
  .tool-frame{
    min-height:82vh !important;
    height:82vh !important;
  }
}

html,
body{
  max-width:100%;
  overflow-x:hidden !important;
}

.wrap,
.nav-inner,
.hero-grid,
.page-hero-grid,
.hero-copy,
.page-hero-copy,
.hero-panel,
.page-hero-side,
.blog-toolbar,
.featured-post,
.blog-card,
.tool-card,
.tool-runner,
.runner-head,
.post-main,
.related-card,
.contact-form,
.contact-aside{
  min-width:0 !important;
}

.hero-copy h1,
.page-hero-copy h1,
.post-title,
.section-head h2,
.tc-name,
.bc-title,
.related-title{
  overflow-wrap:normal;
  word-break:normal;
  text-wrap:balance;
}

.hero-copy p,
.page-hero-copy p,
.hero-panel p,
.page-hero-side p,
.tc-desc,
.bc-excerpt,
.post-lede,
.post-body p,
.post-body li{
  overflow-wrap:break-word;
}

.frames-wrap,
.tool-frame{
  background:#050b12 !important;
}

.site-footer{
  background:rgba(4,8,13,.76) !important;
  border-top-color:rgba(84,177,242,.08) !important;
}

.footer-copy,
.footer-links a{
  color:#c4d3e1 !important;
}

.footer-links a:hover{
  color:#eef6ff !important;
}

.blog-toolbar,
.featured-post,
.page-hero-side,
.hero-panel,
.tool-card,
.tool-runner,
.post-main,
.related-card{
  border-color:rgba(84,177,242,.12) !important;
}

.search-input,
input,
select,
textarea{
  min-width:0;
}

html[data-theme="light"] .site-footer{
  background:linear-gradient(180deg, rgba(233,243,251,.78), rgba(222,236,247,.96)) !important;
  border-top-color:rgba(15,38,56,.12) !important;
}

html[data-theme="light"] .footer-copy,
html[data-theme="light"] .footer-links a{
  color:#41566c !important;
}

html[data-theme="light"] .blog-toolbar,
html[data-theme="light"] .featured-post,
html[data-theme="light"] .page-hero-side,
html[data-theme="light"] .hero-panel,
html[data-theme="light"] .tool-card,
html[data-theme="light"] .tool-runner,
html[data-theme="light"] .post-main,
html[data-theme="light"] .related-card{
  background:linear-gradient(180deg, rgba(255,255,255,.91), rgba(245,250,255,.97)) !important;
  border-color:rgba(15,38,56,.12) !important;
}

html[data-theme="light"] .frames-wrap,
html[data-theme="light"] .tool-frame{
  background:#eef5fb !important;
}

@media (min-width: 1101px){
  .page-hero .hero-copy h1,
  .page-hero .page-hero-copy h1{
    font-size:clamp(40px, 5.2vw, 68px) !important;
    line-height:1.03 !important;
  }
}

@media (max-width: 860px){
  .nav-inner{
    width:100% !important;
  }
  .brand{
    max-width:calc(100vw - 92px) !important;
  }
  .nav-links.open{
    width:100vw !important;
    max-width:100vw !important;
  }
}

@media (max-width: 700px){
  .wrap{
    width:calc(100% - 24px) !important;
    max-width:calc(100% - 24px) !important;
  }

  .hero-grid,
  .page-hero-grid,
  .featured-post,
  .hero-panel-grid,
  .hero-stats,
  .blog-grid,
  .tool-cards,
  .post-layout,
  .related-grid{
    display:grid !important;
    grid-template-columns:minmax(0, 1fr) !important;
    width:100% !important;
    max-width:100% !important;
  }

  #hero,
  .page-hero{
    padding-top:34px !important;
    padding-bottom:34px !important;
    overflow:hidden !important;
  }

  .hero-copy h1,
  .page-hero-copy h1{
    max-width:100% !important;
    font-size:clamp(32px, 9.8vw, 40px) !important;
    line-height:1.08 !important;
    letter-spacing:-.04em !important;
  }

  .hero-copy p,
  .page-hero-copy p,
  .hero-panel p,
  .page-hero-side p{
    max-width:100% !important;
    font-size:15px !important;
    line-height:1.68 !important;
  }

  .hero-actions{
    display:grid !important;
    grid-template-columns:minmax(0, 1fr) !important;
    gap:10px !important;
    overflow:visible !important;
    flex-wrap:wrap !important;
    width:100% !important;
  }

  .hero-actions .btn,
  .btn,
  .cta-btn,
  .post-back{
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    justify-content:center !important;
    white-space:normal !important;
  }

  .hero-proof{
    width:100% !important;
  }

  .hero-proof div,
  .hero-panel,
  .page-hero-side,
  .blog-toolbar,
  .featured-post,
  .blog-card,
  .tool-card,
  .tool-runner,
  .post-main,
  .related-card{
    max-width:100% !important;
    overflow:hidden !important;
  }

  .hero-intrigue-variant .hero-device,
  .hero-device,
  .hero-device-shell,
  .hero-screen,
  .hero-screen-render-only,
  .mac-render-stage,
  .mac-render-frame{
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    margin-inline:0 !important;
  }

  .real-gear-render{
    max-width:100% !important;
  }

  .toolbar-row,
  .blog-toolbar-foot{
    display:flex !important;
    flex-direction:column !important;
    align-items:stretch !important;
    gap:12px !important;
  }

  .search-input{
    width:100% !important;
  }

  .filter-btns,
  .runner-meta,
  .runner-tabs{
    max-width:100% !important;
    overflow-x:auto !important;
    overflow-y:hidden !important;
    -webkit-overflow-scrolling:touch;
  }

  .filter-btn,
  .runner-meta span,
  .rtab{
    flex:0 0 auto !important;
  }

  .page-hero-side strong,
  .hero-panel strong,
  .featured-post h2,
  .bc-title,
  .related-title{
    overflow-wrap:break-word;
  }
}

@media (max-width: 430px){
  .hero-copy h1,
  .page-hero-copy h1{
    font-size:clamp(30px, 9.4vw, 37px) !important;
  }

  .kicker{
    max-width:100% !important;
    white-space:normal !important;
    line-height:1.45 !important;
  }

  .tool-frame{
    min-height:82vh !important;
    height:82vh !important;
  }
}

@media (max-width: 700px){
  .blog-toolbar{
    overflow:hidden !important;
  }

  .blog-toolbar .toolbar-row,
  .blog-toolbar .blog-toolbar-foot{
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
  }

  .blog-toolbar .filter-btns{
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    display:flex !important;
    flex-wrap:nowrap !important;
    overflow-x:auto !important;
    padding-bottom:4px !important;
  }

  .blog-toolbar .search-input,
  .blog-toolbar .blog-count,
  .blog-toolbar .blog-meta-note{
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
  }
}

.mobile-tools-notice {
  display: none;
}

.mobile-tools-card {
  border: 1px solid rgba(103, 190, 255, 0.16);
  border-radius: 18px;
  background:
    radial-gradient(circle at 18% 0%, rgba(93, 178, 245, 0.14), transparent 34%),
    linear-gradient(180deg, rgba(13, 24, 36, 0.96), rgba(7, 14, 23, 0.98));
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.26);
  padding: 24px;
}

.mobile-tools-card small {
  display: block;
  color: #7fc9ff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.mobile-tools-card h2 {
  color: #f7fbff;
  font-size: clamp(1.35rem, 8vw, 2rem);
  line-height: 1.08;
  margin: 0 0 12px;
}

.mobile-tools-card p {
  color: #cbd9e8;
  font-size: 0.98rem;
  line-height: 1.68;
  margin: 0 0 18px;
}

.mobile-tools-link {
  align-items: center;
  background: rgba(115, 199, 255, 0.11);
  border: 1px solid rgba(127, 201, 255, 0.28);
  border-radius: 12px;
  color: #f7fbff;
  display: inline-flex;
  font-weight: 800;
  min-height: 44px;
  padding: 0 16px;
  text-decoration: none;
}

.hero-copy p,
.page-hero-copy p,
.section-head p,
.card p,
.tool-card p,
.tc-desc,
.tc-feat,
.blog-card p,
.blog-excerpt,
.featured-post p,
.post-lede,
.post-body p,
.post-body li,
.contact-form p,
.contact-aside p,
.about-copy p,
.about-card p,
.value-card p,
.footer-card p {
  color: #cad8e7 !important;
}

.section-head .eyebrow,
.kicker,
.card-badge,
.blog-category,
.post-category,
.tool-pill,
.tc-icon,
.meta-kicker {
  color: #7fc9ff !important;
}

.blog-card h3,
.featured-post h2,
.post-body h2,
.post-body h3,
.card h3,
.tool-card h3,
.value-card h3,
.footer-card h3 {
  color: #f7fbff !important;
}

html[data-theme="light"] .hero-copy p,
html[data-theme="light"] .page-hero-copy p,
html[data-theme="light"] .section-head p,
html[data-theme="light"] .card p,
html[data-theme="light"] .tool-card p,
html[data-theme="light"] .tc-desc,
html[data-theme="light"] .tc-feat,
html[data-theme="light"] .blog-card p,
html[data-theme="light"] .blog-excerpt,
html[data-theme="light"] .featured-post p,
html[data-theme="light"] .post-lede,
html[data-theme="light"] .post-body p,
html[data-theme="light"] .post-body li,
html[data-theme="light"] .contact-form p,
html[data-theme="light"] .contact-aside p,
html[data-theme="light"] .about-copy p,
html[data-theme="light"] .about-card p,
html[data-theme="light"] .value-card p,
html[data-theme="light"] .footer-card p {
  color: #33495f !important;
}

html[data-theme="light"] .blog-card h3,
html[data-theme="light"] .featured-post h2,
html[data-theme="light"] .post-body h2,
html[data-theme="light"] .post-body h3,
html[data-theme="light"] .card h3,
html[data-theme="light"] .tool-card h3,
html[data-theme="light"] .value-card h3,
html[data-theme="light"] .footer-card h3 {
  color: #0e2436 !important;
}

html[data-theme="light"] .section-head .eyebrow,
html[data-theme="light"] .kicker,
html[data-theme="light"] .card-badge,
html[data-theme="light"] .blog-category,
html[data-theme="light"] .post-category,
html[data-theme="light"] .tool-pill,
html[data-theme="light"] .tc-icon,
html[data-theme="light"] .meta-kicker {
  color: #0f6da6 !important;
}

html[data-theme="light"] .mobile-tools-card {
  border-color: rgba(31, 102, 150, 0.16);
  background:
    radial-gradient(circle at 16% 0%, rgba(72, 158, 218, 0.12), transparent 36%),
    linear-gradient(180deg, rgba(248, 252, 255, 0.98), rgba(232, 240, 247, 0.98));
  box-shadow: 0 22px 62px rgba(22, 55, 84, 0.14);
}

html[data-theme="light"] .mobile-tools-card small {
  color: #0f6da6;
}

html[data-theme="light"] .mobile-tools-card h2 {
  color: #0e2436;
}

html[data-theme="light"] .mobile-tools-card p {
  color: #33495f;
}

html[data-theme="light"] .mobile-tools-link {
  background: rgba(31, 102, 150, 0.08);
  border-color: rgba(31, 102, 150, 0.2);
  color: #0e2436;
}

@media (max-width: 700px) {
  #herramientas {
    display: none !important;
  }

  #hero .hero-actions a[href="herramientas.html"] {
    display: none !important;
  }

  .mobile-tools-notice {
    display: block !important;
    padding: 0 0 42px !important;
  }

  .mobile-tools-notice .wrap {
    padding-top: 18px !important;
  }

  .tool-shell {
    display: none !important;
  }

  .mobile-tools-card {
    padding: 22px;
  }

  .hero-copy p,
  .page-hero-copy p,
  .section-head p,
  .card p,
  .tool-card p,
  .blog-card p,
  .blog-excerpt,
  .featured-post p,
  .post-lede,
  .post-body p,
  .post-body li,
  .about-copy p,
  .about-card p,
  .value-card p {
    font-size: 0.96rem !important;
    line-height: 1.66 !important;
  }

  .blog-card h3,
  .featured-post h2,
  .post-body h2,
  .post-body h3,
  .card h3,
  .tool-card h3,
  .value-card h3 {
    line-height: 1.16 !important;
  }
}

@media (max-width: 700px) {
  html,
  body {
    width: 100% !important;
    max-width: 100vw !important;
    overflow-x: hidden !important;
  }

  body > * {
    max-width: 100vw !important;
  }

  .wrap,
  .nav-inner {
    width: calc(100vw - 32px) !important;
    max-width: calc(100vw - 32px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .hero-grid,
  .page-hero-grid,
  .page-hero-copy,
  .hero-copy,
  .section-head,
  .blog-toolbar,
  .featured-post,
  .blog-card,
  .post-main,
  .related-card,
  .card,
  .tool-card,
  .page-hero-side,
  .hero-panel,
  .mobile-tools-card {
    min-width: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .hero-copy h1,
  .page-hero-copy h1 {
    font-size: clamp(2rem, 9vw, 2.36rem) !important;
    line-height: 1.08 !important;
    max-width: 11.5ch !important;
  }

  .hero-copy p,
  .page-hero-copy p,
  .section-head p,
  .blog-card p,
  .featured-post p,
  .post-body p,
  .post-body li,
  .mobile-tools-card p {
    max-width: 100% !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;
  }

  .btn,
  .hero-actions .btn,
  .cta-btn,
  .post-back,
  .search-input {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .tools-page .page-hero {
    display: none !important;
  }

  .mobile-tools-notice .wrap {
    padding-top: 26px !important;
  }
}

@media (max-width: 430px) {
  .hero-copy h1,
  .page-hero-copy h1 {
    font-size: clamp(1.86rem, 8.8vw, 2.18rem) !important;
  }
}

@media (max-width: 700px) {
  .mobile-tools-card h2,
  .hero-copy h1,
  .page-hero-copy h1,
  .section-head h2,
  .featured-post h2,
  .blog-card h3,
  .post-body h2,
  .post-body h3 {
    overflow-wrap: anywhere !important;
    word-break: normal !important;
    hyphens: none !important;
  }

  .mobile-tools-card h2 {
    font-size: clamp(1.46rem, 7vw, 1.72rem) !important;
    line-height: 1.14 !important;
    max-width: 100% !important;
  }

  .mobile-tools-card p {
    font-size: 0.94rem !important;
  }
}

.mobile-tools-card h2 span {
  display: block;
}

.theme-toggle,
.nav-theme-toggle {
  position: fixed !important;
  right: 22px !important;
  bottom: 22px !important;
  z-index: 140 !important;
  width: 58px !important;
  min-width: 58px !important;
  height: 32px !important;
  min-height: 32px !important;
  padding: 3px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(114, 198, 255, 0.22) !important;
  background:
    linear-gradient(180deg, rgba(17, 31, 45, 0.94), rgba(7, 14, 23, 0.96)) !important;
  box-shadow:
    0 16px 34px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.10),
    inset 0 -10px 18px rgba(0, 0, 0, 0.16) !important;
  backdrop-filter: blur(16px) saturate(145%) !important;
  color: transparent !important;
  font-size: 0 !important;
  line-height: 0 !important;
  overflow: hidden !important;
  isolation: isolate;
}

.theme-toggle::before,
.nav-theme-toggle::before {
  content: "" !important;
  position: absolute !important;
  left: 4px !important;
  top: 4px !important;
  width: 22px !important;
  height: 22px !important;
  border-radius: 50% !important;
  background:
    radial-gradient(circle at 34% 30%, #ffffff 0 12%, transparent 13%),
    linear-gradient(135deg, #d9f2ff 0%, #6fc8ff 45%, #257db3 100%) !important;
  box-shadow:
    0 7px 16px rgba(0, 0, 0, 0.30),
    0 0 0 1px rgba(255, 255, 255, 0.16) inset !important;
  transform: translateX(0) !important;
  transition: transform 0.24s cubic-bezier(.16,1,.3,1), background 0.24s, box-shadow 0.24s !important;
  z-index: 2 !important;
}

.theme-toggle::after,
.nav-theme-toggle::after {
  content: "" !important;
  position: absolute !important;
  inset: 6px 9px !important;
  border-radius: 999px !important;
  background:
    radial-gradient(circle at 8px 10px, rgba(127, 201, 255, 0.58) 0 2px, transparent 3px),
    radial-gradient(circle at calc(100% - 8px) 10px, rgba(203, 216, 231, 0.30) 0 2px, transparent 3px) !important;
  opacity: 0.78 !important;
  z-index: 1 !important;
}

.theme-toggle:hover,
.nav-theme-toggle:hover {
  border-color: rgba(127, 201, 255, 0.38) !important;
  box-shadow:
    0 18px 38px rgba(0, 0, 0, 0.32),
    0 0 0 4px rgba(79, 183, 255, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.12) !important;
}

.theme-toggle:active,
.nav-theme-toggle:active {
  transform: translateY(1px) !important;
}

.theme-toggle:focus-visible,
.nav-theme-toggle:focus-visible {
  outline: 2px solid rgba(127, 201, 255, 0.76) !important;
  outline-offset: 4px !important;
}

html[data-theme="light"] .theme-toggle,
html[data-theme="light"] .nav-theme-toggle {
  border-color: rgba(16, 100, 150, 0.20) !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(232, 241, 248, 0.96)) !important;
  box-shadow:
    0 15px 32px rgba(15, 38, 56, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.88),
    inset 0 -10px 18px rgba(15, 38, 56, 0.05) !important;
}

html[data-theme="light"] .theme-toggle::before,
html[data-theme="light"] .nav-theme-toggle::before {
  background:
    radial-gradient(circle at 34% 30%, #fff8d7 0 16%, transparent 17%),
    linear-gradient(135deg, #ffe08a 0%, #ffb84d 50%, #f28a32 100%) !important;
  box-shadow:
    0 7px 16px rgba(15, 38, 56, 0.18),
    0 0 0 1px rgba(255, 255, 255, 0.60) inset !important;
  transform: translateX(26px) !important;
}

html[data-theme="light"] .theme-toggle::after,
html[data-theme="light"] .nav-theme-toggle::after {
  background:
    radial-gradient(circle at 8px 10px, rgba(46, 90, 120, 0.24) 0 2px, transparent 3px),
    radial-gradient(circle at calc(100% - 8px) 10px, rgba(255, 184, 77, 0.74) 0 2px, transparent 3px) !important;
}

@media (max-width: 860px) {
  .theme-toggle,
  .nav-theme-toggle {
    right: 16px !important;
    bottom: 16px !important;
    width: 54px !important;
    min-width: 54px !important;
    height: 30px !important;
    min-height: 30px !important;
  }

  .theme-toggle::before,
  .nav-theme-toggle::before {
    width: 20px !important;
    height: 20px !important;
  }

  html[data-theme="light"] .theme-toggle::before,
  html[data-theme="light"] .nav-theme-toggle::before {
    transform: translateX(24px) !important;
  }
}

@media (max-width: 700px) {
  body #hero > .wrap.hero-grid,
  body .page-hero > .wrap.page-hero-grid {
    width: auto !important;
    max-width: none !important;
    margin-left: 16px !important;
    margin-right: 16px !important;
  }

  body #hero .hero-copy,
  body .page-hero .page-hero-copy,
  body #hero .hero-copy p,
  body .page-hero .page-hero-copy p {
    width: 100% !important;
    max-width: 100% !important;
  }

  body #hero .hero-copy h1,
  body .page-hero .page-hero-copy h1 {
    max-width: 10.9ch !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }

  body #hero .hero-copy p,
  body .page-hero .page-hero-copy p {
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}

/* Final index hero tuning: desktop cockpit, compact mobile entry. */
#hero.hero-intrigue-variant .hero-mobile-summary {
  display: none;
}

@media (min-width: 861px) {
  #hero.hero-intrigue-variant .hero-grid {
    grid-template-columns: minmax(0, 1.02fr) minmax(430px, 0.98fr) !important;
    gap: clamp(34px, 4.2vw, 62px) !important;
    align-items: center !important;
  }

  #hero.hero-intrigue-variant .hero-device {
    width: min(100%, 650px) !important;
    justify-self: end !important;
  }

  #hero.hero-intrigue-variant .hero-screen-render-only,
  #hero.hero-intrigue-variant .mac-render-stage {
    min-height: clamp(410px, 39vw, 540px) !important;
  }

  #hero.hero-intrigue-variant .mac-render-frame {
    min-height: clamp(360px, 34vw, 480px) !important;
    overflow: hidden !important;
    background:
      radial-gradient(circle at 65% 38%, rgba(79, 183, 255, 0.18), transparent 31%),
      linear-gradient(135deg, rgba(12, 25, 38, 0.98), rgba(3, 8, 14, 1)) !important;
  }

  #hero.hero-intrigue-variant .engineering-visual {
    background:
      radial-gradient(circle at 55% 42%, rgba(120, 216, 234, 0.12), transparent 34%),
      linear-gradient(180deg, rgba(7, 16, 25, 0.96), rgba(3, 7, 12, 1)) !important;
  }

  #hero.hero-intrigue-variant .real-gear-render {
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center !important;
    opacity: 0.54 !important;
    filter: saturate(0.78) contrast(1.05) brightness(0.78) drop-shadow(0 18px 42px rgba(0, 0, 0, 0.30)) !important;
  }

  #hero.hero-intrigue-variant .mechanical-svg {
    display: block !important;
    position: absolute !important;
    left: 7% !important;
    top: 11% !important;
    z-index: 6 !important;
    width: 86% !important;
    height: 72% !important;
    min-height: 0 !important;
    opacity: 0.82 !important;
    filter: drop-shadow(0 18px 35px rgba(0, 0, 0, 0.22)) !important;
    pointer-events: none !important;
  }

  #hero.hero-intrigue-variant .visual-chip {
    display: grid !important;
    z-index: 9 !important;
    min-width: 132px !important;
    max-width: 168px !important;
    padding: 12px 13px !important;
    border-radius: 16px !important;
    border-color: rgba(127, 201, 255, 0.20) !important;
    background: rgba(3, 10, 17, 0.72) !important;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.08),
      0 18px 34px rgba(0, 0, 0, 0.22) !important;
    backdrop-filter: blur(14px) saturate(135%) !important;
  }

  #hero.hero-intrigue-variant .visual-chip span {
    color: #78d8ea !important;
  }

  #hero.hero-intrigue-variant .visual-chip strong {
    color: #f6fbff !important;
  }

  #hero.hero-intrigue-variant .visual-chip small {
    color: #c3d2df !important;
  }

  #hero.hero-intrigue-variant .chip-cad {
    left: 24px !important;
    top: 24px !important;
  }

  #hero.hero-intrigue-variant .chip-calc {
    right: 24px !important;
    top: 36px !important;
  }

  #hero.hero-intrigue-variant .chip-ai {
    left: 28px !important;
    bottom: 28px !important;
  }

  #hero.hero-intrigue-variant .chip-output {
    right: 28px !important;
    bottom: 28px !important;
  }
}

html[data-theme="light"] #hero.hero-intrigue-variant .mac-render-frame {
  background:
    radial-gradient(circle at 64% 36%, rgba(79, 154, 208, 0.14), transparent 32%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(230, 240, 248, 0.96)) !important;
}

html[data-theme="light"] #hero.hero-intrigue-variant .engineering-visual {
  background:
    radial-gradient(circle at 55% 42%, rgba(34, 132, 188, 0.12), transparent 35%),
    linear-gradient(180deg, rgba(247, 251, 255, 0.96), rgba(226, 237, 246, 0.98)) !important;
}

html[data-theme="light"] #hero.hero-intrigue-variant .real-gear-render {
  opacity: 0.44 !important;
  filter: saturate(0.68) contrast(0.98) brightness(1.08) drop-shadow(0 18px 38px rgba(19, 55, 78, 0.16)) !important;
}

html[data-theme="light"] #hero.hero-intrigue-variant .visual-chip {
  border-color: rgba(24, 102, 148, 0.16) !important;
  background: rgba(255, 255, 255, 0.78) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.86),
    0 16px 30px rgba(15, 38, 56, 0.10) !important;
}

html[data-theme="light"] #hero.hero-intrigue-variant .visual-chip span {
  color: #196d9d !important;
}

html[data-theme="light"] #hero.hero-intrigue-variant .visual-chip strong {
  color: #102232 !important;
}

html[data-theme="light"] #hero.hero-intrigue-variant .visual-chip small {
  color: #4d6173 !important;
}

/* Desktop correction: keep the original render clean and unforced. */
@media (min-width: 861px) {
  #hero.hero-intrigue-variant .hero-device {
    width: min(100%, 640px) !important;
    border-color: rgba(127, 201, 255, 0.14) !important;
    box-shadow:
      0 38px 100px rgba(0, 0, 0, 0.38),
      0 0 0 1px rgba(255, 255, 255, 0.035),
      0 0 72px rgba(79, 183, 255, 0.075) !important;
  }

  #hero.hero-intrigue-variant .mac-render-frame {
    min-height: clamp(360px, 34vw, 480px) !important;
    border-color: rgba(84, 177, 242, 0.13) !important;
    background:
      radial-gradient(circle at 50% 42%, rgba(79, 183, 255, 0.16), transparent 46%),
      radial-gradient(circle at 62% 72%, rgba(120, 216, 234, 0.08), transparent 36%),
      linear-gradient(180deg, #0b1824 0%, #07111a 100%) !important;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.06),
      0 30px 78px rgba(0, 0, 0, 0.34) !important;
  }

  #hero.hero-intrigue-variant .engineering-visual {
    background:
      radial-gradient(circle at 50% 42%, rgba(79, 183, 255, 0.16), transparent 46%),
      radial-gradient(circle at 62% 72%, rgba(120, 216, 234, 0.08), transparent 36%),
      linear-gradient(180deg, #0b1824 0%, #07111a 100%) !important;
  }

  #hero.hero-intrigue-variant .engineering-visual::before {
    opacity: 0.52 !important;
  }

  #hero.hero-intrigue-variant .engineering-visual::after {
    opacity: 0.92 !important;
  }

  #hero.hero-intrigue-variant .real-gear-render {
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
    opacity: 1 !important;
    filter: saturate(0.9) contrast(1.02) brightness(1.08) hue-rotate(4deg) !important;
    transform: none !important;
  }

  #hero.hero-intrigue-variant .mechanical-svg,
  #hero.hero-intrigue-variant .visual-chip {
    display: none !important;
  }
}

@media (min-width: 861px) {
  html[data-theme="light"] #hero.hero-intrigue-variant .mac-render-frame,
  html[data-theme="light"] #hero.hero-intrigue-variant .engineering-visual {
    background:
      radial-gradient(circle at 50% 42%, rgba(22, 118, 176, 0.12), transparent 45%),
      radial-gradient(circle at 62% 72%, rgba(12, 139, 157, 0.07), transparent 36%),
      linear-gradient(180deg, rgba(247, 251, 255, 0.96), rgba(225, 237, 247, 0.96)) !important;
  }

  html[data-theme="light"] #hero.hero-intrigue-variant .hero-device {
    border-color: rgba(24, 102, 148, 0.13) !important;
    box-shadow:
      0 34px 86px rgba(15, 38, 56, 0.13),
      0 0 0 1px rgba(255, 255, 255, 0.62) !important;
  }

  html[data-theme="light"] #hero.hero-intrigue-variant .real-gear-render {
    opacity: 1 !important;
    filter: saturate(0.86) contrast(1.02) brightness(1.03) hue-rotate(4deg) drop-shadow(0 18px 38px rgba(19, 55, 78, 0.10)) !important;
  }
}

@media (max-width: 860px) {
  #hero.hero-intrigue-variant {
    padding-top: calc(var(--nav-h) + 20px) !important;
    padding-bottom: 30px !important;
    min-height: auto !important;
  }

  #hero.hero-intrigue-variant > .wrap.hero-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }

  #hero.hero-intrigue-variant .hero-copy {
    display: grid !important;
    gap: 15px !important;
  }

  #hero.hero-intrigue-variant .kicker {
    margin-bottom: 0 !important;
  }

  body #hero.hero-intrigue-variant .hero-copy h1 {
    max-width: 11.7ch !important;
    font-size: clamp(2.18rem, 10.8vw, 3rem) !important;
    line-height: 0.98 !important;
    letter-spacing: -0.065em !important;
  }

  body #hero.hero-intrigue-variant .hero-copy p {
    max-width: 34rem !important;
    font-size: 0.96rem !important;
    line-height: 1.58 !important;
  }

  #hero.hero-intrigue-variant .hero-actions {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    margin-top: 2px !important;
    max-width: 520px !important;
  }

  #hero.hero-intrigue-variant .hero-proof,
  #hero.hero-intrigue-variant .hero-device {
    display: none !important;
  }

  #hero.hero-intrigue-variant .hero-mobile-summary {
    display: grid !important;
    gap: 8px !important;
    margin-top: 2px !important;
  }

  #hero.hero-intrigue-variant .hero-mobile-summary div {
    display: grid !important;
    grid-template-columns: auto 1fr !important;
    column-gap: 10px !important;
    row-gap: 2px !important;
    align-items: baseline !important;
    padding: 11px 12px !important;
    border-radius: 16px !important;
    border: 1px solid rgba(127, 201, 255, 0.14) !important;
    background: rgba(255, 255, 255, 0.055) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
  }

  #hero.hero-intrigue-variant .hero-mobile-summary span {
    grid-row: 1 / 3 !important;
    font-family: var(--f-mono) !important;
    font-size: 0.68rem !important;
    letter-spacing: 0.12em !important;
    color: #78d8ea !important;
  }

  #hero.hero-intrigue-variant .hero-mobile-summary strong {
    color: #f6fbff !important;
    font-size: 0.94rem !important;
    line-height: 1.15 !important;
  }

  #hero.hero-intrigue-variant .hero-mobile-summary small {
    color: #c3d2df !important;
    font-size: 0.8rem !important;
    line-height: 1.35 !important;
  }

  html[data-theme="light"] #hero.hero-intrigue-variant .hero-mobile-summary div {
    border-color: rgba(24, 102, 148, 0.13) !important;
    background: rgba(255, 255, 255, 0.76) !important;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.88),
      0 14px 28px rgba(15, 38, 56, 0.08) !important;
  }

  html[data-theme="light"] #hero.hero-intrigue-variant .hero-mobile-summary span {
    color: #196d9d !important;
  }

  html[data-theme="light"] #hero.hero-intrigue-variant .hero-mobile-summary strong {
    color: #102232 !important;
  }

  html[data-theme="light"] #hero.hero-intrigue-variant .hero-mobile-summary small {
    color: #51677a !important;
  }
}

/* Final hero render lock: full Mac-window render, centered and uncropped. */
@media (min-width: 861px) {
  body #hero.hero-intrigue-variant .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(500px, 0.96fr) !important;
    gap: clamp(40px, 4.6vw, 66px) !important;
    align-items: center !important;
  }

  body #hero.hero-intrigue-variant .hero-device {
    width: min(100%, 640px) !important;
    max-width: 640px !important;
    justify-self: center !important;
    margin-inline: auto !important;
    transform: translateX(0) !important;
    overflow: hidden !important;
  }

  body #hero.hero-intrigue-variant .hero-device-shell {
    width: 100% !important;
    height: auto !important;
  }

  body #hero.hero-intrigue-variant .hero-device-topbar {
    display: none !important;
  }

  body #hero.hero-intrigue-variant .hero-screen-render-only {
    position: relative !important;
    width: 100% !important;
    min-height: 0 !important;
    height: auto !important;
    aspect-ratio: 4 / 3 !important;
    overflow: hidden !important;
    background:
      radial-gradient(circle at 52% 42%, rgba(79, 183, 255, 0.12), transparent 44%),
      linear-gradient(180deg, #0a1620 0%, #050b12 100%) !important;
  }

  body #hero.hero-intrigue-variant .hero-screen-render-only::before,
  body #hero.hero-intrigue-variant .hero-screen-render-only::after {
    content: none !important;
    display: none !important;
  }

  body #hero.hero-intrigue-variant .mac-render-stage {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    padding: 0 !important;
    display: block !important;
  }

  body #hero.hero-intrigue-variant .mac-render-stage::before,
  body #hero.hero-intrigue-variant .mac-render-stage::after {
    content: none !important;
    display: none !important;
  }

  body #hero.hero-intrigue-variant .mac-render-frame {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    overflow: hidden !important;
    border-radius: 28px !important;
    border: 1px solid rgba(84, 177, 242, 0.12) !important;
    background:
      radial-gradient(circle at 52% 42%, rgba(79, 183, 255, 0.18), transparent 44%),
      linear-gradient(180deg, #0a1620 0%, #050b12 100%) !important;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.06),
      0 30px 78px rgba(0, 0, 0, 0.30) !important;
  }

  body #hero.hero-intrigue-variant .engineering-visual {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    padding: 0 !important;
    overflow: hidden !important;
    background:
      radial-gradient(circle at 52% 42%, rgba(79, 183, 255, 0.16), transparent 46%),
      radial-gradient(circle at 62% 72%, rgba(120, 216, 234, 0.08), transparent 36%),
      linear-gradient(180deg, #0b1824 0%, #07111a 100%) !important;
  }

  body #hero.hero-intrigue-variant .engineering-visual::before {
    z-index: 3 !important;
    opacity: 0.42 !important;
    mix-blend-mode: screen !important;
  }

  body #hero.hero-intrigue-variant .engineering-visual::after {
    z-index: 4 !important;
    opacity: 0.64 !important;
    mix-blend-mode: normal !important;
  }

  body #hero.hero-intrigue-variant .real-gear-render {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center center !important;
    opacity: 1 !important;
    mix-blend-mode: normal !important;
    filter: saturate(0.94) contrast(1.04) brightness(1.06) hue-rotate(4deg) !important;
    transform: none !important;
    z-index: 2 !important;
  }

  body #hero.hero-intrigue-variant .mechanical-svg,
  body #hero.hero-intrigue-variant .visual-chip,
  body #hero.hero-intrigue-variant .render-attribution {
    display: none !important;
  }

  html[data-theme="light"] body #hero.hero-intrigue-variant .hero-device {
    background: linear-gradient(180deg, rgba(8, 15, 23, 0.98), rgba(5, 10, 16, 0.995)) !important;
    border-color: rgba(24, 102, 148, 0.16) !important;
    box-shadow:
      0 34px 86px rgba(15, 38, 56, 0.16),
      0 0 0 1px rgba(255, 255, 255, 0.72) !important;
  }

  html[data-theme="light"] body #hero.hero-intrigue-variant .mac-render-frame,
  html[data-theme="light"] body #hero.hero-intrigue-variant .engineering-visual {
    background:
      radial-gradient(circle at 52% 42%, rgba(79, 183, 255, 0.14), transparent 45%),
      radial-gradient(circle at 62% 72%, rgba(120, 216, 234, 0.07), transparent 36%),
      linear-gradient(180deg, #0b1824 0%, #07111a 100%) !important;
  }

  html[data-theme="light"] body #hero.hero-intrigue-variant .engineering-visual::before {
    opacity: 0.34 !important;
    mix-blend-mode: screen !important;
  }

  html[data-theme="light"] body #hero.hero-intrigue-variant .engineering-visual::after {
    opacity: 0.54 !important;
  }

  html[data-theme="light"] body #hero.hero-intrigue-variant .real-gear-render {
    opacity: 1 !important;
    mix-blend-mode: normal !important;
    filter: saturate(0.96) contrast(1.06) brightness(1.05) hue-rotate(4deg) drop-shadow(0 18px 34px rgba(0, 0, 0, 0.20)) !important;
  }
}

@media (max-width: 860px) {
  html,
  body {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

  body #hero.hero-intrigue-variant > .wrap.hero-grid {
    width: calc(100vw - 56px) !important;
    max-width: calc(100vw - 56px) !important;
    margin-left: 28px !important;
    margin-right: 28px !important;
    overflow: hidden !important;
  }

  body #hero.hero-intrigue-variant .hero-copy,
  body #hero.hero-intrigue-variant .hero-actions,
  body #hero.hero-intrigue-variant .hero-mobile-summary,
  body #hero.hero-intrigue-variant .hero-copy p {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  body #hero.hero-intrigue-variant .hero-copy h1 {
    width: auto !important;
    max-width: 10.9ch !important;
    min-width: 0 !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
    box-sizing: border-box !important;
  }

  body #hero.hero-intrigue-variant .hero-copy p {
    overflow-wrap: break-word !important;
    word-break: normal !important;
  }

  body #hero.hero-intrigue-variant .hero-actions .btn,
  body #hero.hero-intrigue-variant .hero-actions a {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
}

/* Launch audit: blog mobile must wrap cleanly without horizontal clipping. */
@media (max-width: 760px) {
  body .blog-hero .wrap,
  body main > .wrap,
  body .site-footer .wrap {
    width: calc(100vw - 32px) !important;
    max-width: calc(100vw - 32px) !important;
    margin-left: 16px !important;
    margin-right: 16px !important;
    min-width: 0 !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }

  body .blog-hero-inner,
  body .blog-feature,
  body .blog-toolbar,
  body .blog-grid,
  body .blog-card,
  body .filter-pills,
  body .search-wrap,
  body .search-input {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  body .blog-hero-title {
    max-width: 100% !important;
    font-size: clamp(2.16rem, 10.2vw, 2.56rem) !important;
    line-height: 1.08 !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }

  body .blog-feature h2,
  body .blog-feature p,
  body .bc-title,
  body .bc-excerpt {
    max-width: 100% !important;
    min-width: 0 !important;
    white-space: normal !important;
    overflow-wrap: break-word !important;
    word-break: normal !important;
    hyphens: none !important;
  }

  body .blog-feature {
    padding: 26px 22px !important;
    overflow: hidden !important;
  }

  body .blog-toolbar {
    padding: 14px !important;
    overflow: hidden !important;
  }

  body .filter-pills {
    display: flex !important;
    flex-wrap: wrap !important;
  }
}

/* Final mobile nav lock: same centered dropdown on every page. */
@media (max-width: 860px) {
  body .nav,
  body nav.nav {
    position: sticky !important;
    top: 0 !important;
    z-index: 1000 !important;
  }

  body .nav-inner {
    position: relative !important;
  }

  body .nav-links,
  body .nav .nav-links {
    display: none !important;
  }

  body .nav-links.open,
  body .nav .nav-links.open {
    display: flex !important;
    position: absolute !important;
    top: calc(var(--nav-h, 76px) - 4px) !important;
    left: 50% !important;
    right: auto !important;
    width: min(420px, calc(100vw - 32px)) !important;
    max-width: calc(100vw - 32px) !important;
    margin: 0 !important;
    padding: 12px !important;
    transform: translateX(-50%) !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    border: 1px solid rgba(84, 177, 242, 0.14) !important;
    border-radius: 22px !important;
    background:
      linear-gradient(180deg, rgba(7, 15, 24, 0.98), rgba(4, 9, 14, 0.99)) !important;
    box-shadow:
      0 24px 58px rgba(0, 0, 0, 0.34),
      inset 0 1px 0 rgba(255, 255, 255, 0.04) !important;
    overflow: hidden !important;
  }

  body .nav-links.open a,
  body .nav-links.open button,
  body .nav .nav-links.open a,
  body .nav .nav-links.open button {
    display: flex !important;
    width: 100% !important;
    min-height: 44px !important;
    margin: 0 !important;
    padding: 11px 14px !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 14px !important;
    text-align: center !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;
    line-height: 1.25 !important;
  }

  body .nav-links.open .nav-cta,
  body .nav .nav-links.open .nav-cta {
    margin: 2px 0 0 !important;
  }

  html[data-theme="light"] body .nav-links.open,
  html[data-theme="light"] body .nav .nav-links.open {
    border-color: rgba(15, 38, 56, 0.12) !important;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(242, 248, 253, 0.99)) !important;
    box-shadow:
      0 24px 52px rgba(15, 38, 56, 0.14),
      inset 0 1px 0 rgba(255, 255, 255, 0.86) !important;
  }

  html[data-theme="light"] body .nav-links.open a,
  html[data-theme="light"] body .nav-links.open button,
  html[data-theme="light"] body .nav .nav-links.open a,
  html[data-theme="light"] body .nav .nav-links.open button {
    color: #102232 !important;
  }
}

/* Final header identity lock: keep blog/mobile nav visually identical to the rest of the site. */
body .nav .brand-mark,
body .brand-mark {
  width: 44px !important;
  height: 44px !important;
  display: grid !important;
  place-items: center !important;
  flex: 0 0 44px !important;
  border: 1px solid rgba(84, 177, 242, 0.12) !important;
  border-radius: 14px !important;
  background:
    radial-gradient(circle at 30% 30%, rgba(120, 216, 234, 0.14), transparent 46%),
    linear-gradient(135deg, rgba(79, 183, 255, 0.18), rgba(120, 216, 234, 0.07)) !important;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
  color: #e6f7ff !important;
  font-family: var(--f-display, "Sora", system-ui, sans-serif) !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  isolation: isolate !important;
  letter-spacing: 0 !important;
  overflow: hidden !important;
  position: relative !important;
}

body .nav .brand-mark::after,
body .brand-mark::after {
  content: "" !important;
  position: absolute !important;
  inset: -60% -20% !important;
  z-index: 0 !important;
  border-radius: inherit !important;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.42), transparent) !important;
  transform: rotate(25deg) translateX(-120%) !important;
  animation: shine 5s infinite !important;
  pointer-events: none !important;
}

@keyframes shine {
  0%,
  62% {
    transform: rotate(25deg) translateX(-120%);
  }

  100% {
    transform: rotate(25deg) translateX(120%);
  }
}

body .nav .brand-name,
body .brand-name {
  color: #ffffff !important;
  font-family: var(--f-display, "Sora", system-ui, sans-serif) !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  letter-spacing: -0.04em !important;
  line-height: 1.2 !important;
  text-align: left !important;
}

body .nav .brand-role,
body .brand-role {
  color: #8fa3b8 !important;
  font-size: 11px !important;
  line-height: 1.2 !important;
  text-align: left !important;
}

body .nav .nav-links a,
body .nav .nav-links button,
body .nav-links a,
body .nav-links button {
  border: 1px solid transparent !important;
  color: #dde9f6 !important;
}

body .nav .nav-links a:hover,
body .nav .nav-links a.active,
body .nav .nav-links button:hover,
body .nav .nav-links button.active,
body .nav-links a:hover,
body .nav-links a.active,
body .nav-links button:hover,
body .nav-links button.active {
  color: #f4f8fe !important;
  background: rgba(255, 255, 255, 0.04) !important;
}

body .nav .nav-links .nav-cta,
body .nav-links .nav-cta {
  border: 1px solid rgba(84, 177, 242, 0.28) !important;
  background: rgba(79, 183, 255, 0.14) !important;
  color: #edf8ff !important;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18) !important;
}

body .nav .burger span,
body .burger span {
  background: #dde9f6 !important;
}

html[data-theme="light"] body .nav .brand-mark,
html[data-theme="light"] body .brand-mark {
  border-color: rgba(20, 121, 184, 0.18) !important;
  background:
    radial-gradient(circle at 30% 30%, rgba(13, 127, 154, 0.16), transparent 46%),
    linear-gradient(135deg, rgba(15, 95, 145, 0.16), rgba(13, 127, 154, 0.08)) !important;
  color: #0f2638 !important;
  box-shadow: 0 14px 30px rgba(15, 38, 56, 0.10), inset 0 1px 0 rgba(255, 255, 255, 0.50) !important;
}

html[data-theme="light"] body .nav .brand-name,
html[data-theme="light"] body .brand-name {
  color: #0f2638 !important;
}

html[data-theme="light"] body .nav .brand-role,
html[data-theme="light"] body .brand-role {
  color: #41566c !important;
}

html[data-theme="light"] body .nav .nav-links a,
html[data-theme="light"] body .nav .nav-links button,
html[data-theme="light"] body .nav-links a,
html[data-theme="light"] body .nav-links button {
  color: #273f55 !important;
}

html[data-theme="light"] body .nav .nav-links a:hover,
html[data-theme="light"] body .nav .nav-links a.active,
html[data-theme="light"] body .nav .nav-links button:hover,
html[data-theme="light"] body .nav .nav-links button.active,
html[data-theme="light"] body .nav-links a:hover,
html[data-theme="light"] body .nav-links a.active,
html[data-theme="light"] body .nav-links button:hover,
html[data-theme="light"] body .nav-links button.active {
  color: #0f2638 !important;
  background: rgba(15, 38, 56, 0.055) !important;
}

html[data-theme="light"] body .nav .nav-links .nav-cta,
html[data-theme="light"] body .nav-links .nav-cta {
  border-color: rgba(20, 121, 184, 0.18) !important;
  background: rgba(20, 121, 184, 0.10) !important;
  color: #0f2638 !important;
  box-shadow: 0 14px 30px rgba(15, 38, 56, 0.10) !important;
}

html[data-theme="light"] body .nav .burger span,
html[data-theme="light"] body .burger span {
  background: #273f55 !important;
}

@media (max-width: 860px) {
  body .nav .brand,
  body .brand {
    min-width: 0 !important;
  }

  body .nav .brand-name,
  body .brand-name {
    max-width: 56vw !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  body .nav .brand-role,
  body .brand-role {
    display: block !important;
    max-width: 56vw !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    font-size: 10px !important;
  }

  body .nav .brand-mark,
  body .brand-mark {
    width: 42px !important;
    height: 42px !important;
    flex-basis: 42px !important;
    border-radius: 12px !important;
  }

  body .nav .burger,
  body .burger {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
}

html[data-theme="dark"] body .blog-hero-title,
html[data-theme="dark"] body .blog-hero-title span,
html:not([data-theme="light"]) body .blog-hero-title,
html:not([data-theme="light"]) body .blog-hero-title span {
  color: #e8f3ff !important;
  background: none !important;
  -webkit-background-clip: initial !important;
  background-clip: initial !important;
  -webkit-text-fill-color: currentColor !important;
}

/* Index editorial polish: stronger first scroll and clearer narrative rhythm. */
body #hero.hero-intrigue-variant {
  position: relative !important;
  overflow: hidden !important;
}

body #hero.hero-intrigue-variant::after {
  content: "" !important;
  position: absolute !important;
  left: 50% !important;
  top: 50% !important;
  width: min(980px, 92vw) !important;
  height: min(980px, 92vw) !important;
  transform: translate(-72%, -52%) !important;
  border-radius: 50% !important;
  background:
    radial-gradient(circle, rgba(79, 183, 255, 0.10), transparent 64%) !important;
  filter: blur(18px) !important;
  opacity: 0.72 !important;
  pointer-events: none !important;
  z-index: 0 !important;
}

body #hero.hero-intrigue-variant .hero-copy {
  position: relative !important;
  z-index: 2 !important;
}

body #hero.hero-intrigue-variant .kicker {
  padding: 8px 12px !important;
  width: fit-content !important;
  border: 1px solid rgba(84, 177, 242, 0.12) !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.025) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04) !important;
  color: #d8f1ff !important;
}

body #hero.hero-intrigue-variant .hero-copy h1 {
  max-width: 13.8ch !important;
  letter-spacing: -0.075em !important;
  line-height: 0.93 !important;
  text-wrap: balance !important;
}

body #hero.hero-intrigue-variant .hero-copy p {
  max-width: 58ch !important;
  color: #cddbea !important;
  font-size: clamp(16px, 1.35vw, 18px) !important;
  line-height: 1.72 !important;
}

body #hero.hero-intrigue-variant .hero-actions {
  margin-top: 8px !important;
}

body #hero.hero-intrigue-variant .btn {
  min-height: 54px !important;
  padding-inline: 24px !important;
  border-radius: 18px !important;
}

body #hero.hero-intrigue-variant .btn-primary {
  background:
    linear-gradient(135deg, #dff4ff 0%, #4fb7ff 45%, #238fe0 100%) !important;
  color: #061018 !important;
  box-shadow:
    0 18px 42px rgba(79, 183, 255, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.40) !important;
}

body #hero.hero-intrigue-variant .hero-proof {
  gap: 12px !important;
  margin-top: 14px !important;
}

body #hero.hero-intrigue-variant .hero-proof div {
  min-height: 112px !important;
  padding: 18px !important;
  border-radius: 22px !important;
  background:
    radial-gradient(circle at 88% 14%, rgba(79, 183, 255, 0.08), transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.052), rgba(255, 255, 255, 0.018)) !important;
  border-color: rgba(84, 177, 242, 0.13) !important;
}

body #hero.hero-intrigue-variant .hero-proof span {
  color: #78d8ea !important;
}

body #hero.hero-intrigue-variant .hero-proof strong {
  font-size: 15px !important;
}

body #hero.hero-intrigue-variant .hero-proof small {
  color: #aebfd1 !important;
}

body .index-story {
  padding: 26px 0 18px !important;
  margin-top: -20px !important;
}

body .story-panel {
  position: relative !important;
  display: grid !important;
  grid-template-columns: minmax(0, 0.92fr) minmax(380px, 1.08fr) !important;
  gap: 28px !important;
  align-items: stretch !important;
  overflow: hidden !important;
  padding: clamp(24px, 4vw, 40px) !important;
  border: 1px solid rgba(84, 177, 242, 0.12) !important;
  border-radius: 32px !important;
  background:
    radial-gradient(circle at 10% 0%, rgba(79, 183, 255, 0.12), transparent 36%),
    radial-gradient(circle at 94% 20%, rgba(120, 216, 234, 0.08), transparent 34%),
    linear-gradient(180deg, rgba(10, 18, 28, 0.92), rgba(5, 10, 16, 0.98)) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.045),
    0 26px 70px rgba(0, 0, 0, 0.28) !important;
}

body .story-panel::before {
  content: "" !important;
  position: absolute !important;
  inset: 18px !important;
  border: 1px solid rgba(84, 177, 242, 0.07) !important;
  border-radius: 24px !important;
  pointer-events: none !important;
}

body .story-copy {
  position: relative !important;
  z-index: 1 !important;
  display: grid !important;
  align-content: center !important;
  gap: 14px !important;
}

body .story-copy h2 {
  color: #eef6ff !important;
  font-family: var(--f-display, "Sora", system-ui, sans-serif) !important;
  font-size: clamp(28px, 3.6vw, 44px) !important;
  line-height: 1.02 !important;
  letter-spacing: -0.06em !important;
  text-wrap: balance !important;
}

body .story-copy p {
  max-width: 54ch !important;
  color: #c4d3e1 !important;
  font-size: 15px !important;
  line-height: 1.75 !important;
}

body .story-flow {
  position: relative !important;
  z-index: 1 !important;
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 12px !important;
}

body .story-flow div {
  display: grid !important;
  align-content: start !important;
  min-height: 176px !important;
  padding: 20px !important;
  border: 1px solid rgba(84, 177, 242, 0.12) !important;
  border-radius: 24px !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.050), rgba(255, 255, 255, 0.018)) !important;
}

body .story-flow span {
  margin-bottom: 18px !important;
  color: #78d8ea !important;
  font-family: var(--f-mono, "JetBrains Mono", monospace) !important;
  font-size: 9px !important;
  font-weight: 700 !important;
  letter-spacing: 0.16em !important;
  text-transform: uppercase !important;
}

body .story-flow strong {
  margin-bottom: 8px !important;
  color: #f4f8fe !important;
  font-size: 17px !important;
  line-height: 1.2 !important;
}

body .story-flow small {
  color: #aebfd1 !important;
  font-size: 12px !important;
  line-height: 1.55 !important;
}

body .cred-strip {
  margin-top: 0 !important;
}

body .cred-panel {
  border-radius: 28px !important;
}

body .cred-value {
  line-height: 1.45 !important;
}

body #especialidades .card,
body #herramientas .card,
body #blog .blog-feature,
body #sobre-mi .about-panel,
body #contacto .contact-aside,
body #contacto .contact-form {
  transition:
    transform 0.28s var(--ease, cubic-bezier(.16, 1, .3, 1)),
    border-color 0.28s,
    box-shadow 0.28s !important;
}

body #especialidades .card:hover,
body #herramientas .card:hover,
body #blog .blog-feature:hover,
body #contacto .contact-form:hover {
  transform: translateY(-6px) !important;
  border-color: rgba(84, 177, 242, 0.20) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 30px 78px rgba(0, 0, 0, 0.34) !important;
}

html[data-theme="light"] body #hero.hero-intrigue-variant .kicker,
html[data-theme="light"] body .story-panel {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(239, 247, 253, 0.96)) !important;
  border-color: rgba(15, 38, 56, 0.10) !important;
}

html[data-theme="light"] body #hero.hero-intrigue-variant .hero-copy p,
html[data-theme="light"] body .story-copy p,
html[data-theme="light"] body .story-flow small {
  color: #41566c !important;
}

html[data-theme="light"] body .story-copy h2,
html[data-theme="light"] body .story-flow strong {
  color: #0f2638 !important;
}

html[data-theme="light"] body .story-flow div,
html[data-theme="light"] body #hero.hero-intrigue-variant .hero-proof div {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(242, 248, 253, 0.96)) !important;
  border-color: rgba(15, 38, 56, 0.10) !important;
}

html[data-theme="light"] body .story-flow span,
html[data-theme="light"] body #hero.hero-intrigue-variant .hero-proof span {
  color: #0f5f91 !important;
}

@media (min-width: 761px) {
  body #hero.hero-intrigue-variant .hero-proof {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    max-width: 620px !important;
  }

  body #hero.hero-intrigue-variant .hero-proof div {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 8px !important;
    min-height: 128px !important;
    align-content: start !important;
  }

  body #hero.hero-intrigue-variant .hero-proof span,
  body #hero.hero-intrigue-variant .hero-proof strong,
  body #hero.hero-intrigue-variant .hero-proof small {
    display: block !important;
    max-width: 100% !important;
  }
}

@media (max-width: 1120px) {
  body .story-panel {
    grid-template-columns: 1fr !important;
  }

  body .story-flow {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 760px) {
  html,
  body {
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

  body #hero.hero-intrigue-variant,
  body .index-story {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: clip !important;
  }

  body #hero.hero-intrigue-variant > .wrap.hero-grid,
  body #hero.hero-intrigue-variant .wrap,
  body .index-story .wrap {
    width: min(334px, calc(100vw - 56px)) !important;
    max-width: min(334px, calc(100vw - 56px)) !important;
    margin-left: 28px !important;
    margin-right: auto !important;
    overflow: hidden !important;
  }

  body #hero.hero-intrigue-variant .hero-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    width: 100% !important;
    min-width: 0 !important;
    overflow: hidden !important;
  }

  body #hero.hero-intrigue-variant .hero-copy {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow: hidden !important;
  }

  body #hero.hero-intrigue-variant .hero-copy h1 {
    width: min(100%, 7.4em) !important;
    max-width: 100% !important;
    font-size: clamp(29px, 7.8vw, 34px) !important;
    letter-spacing: -0.046em !important;
    line-height: 1.06 !important;
    white-space: normal !important;
    overflow-wrap: break-word !important;
    word-break: normal !important;
    hyphens: none !important;
  }

  body #hero.hero-intrigue-variant .hero-copy p {
    font-size: 14.5px !important;
    line-height: 1.68 !important;
    width: 100% !important;
    max-width: 100% !important;
    white-space: normal !important;
    overflow-wrap: break-word !important;
    word-break: normal !important;
  }

  body #hero.hero-intrigue-variant .hero-actions {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  body #hero.hero-intrigue-variant .btn {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
    white-space: normal !important;
    text-align: center !important;
    justify-content: center !important;
  }

  body #hero.hero-intrigue-variant .hero-proof {
    width: 100% !important;
    max-width: 100% !important;
    grid-template-columns: minmax(0, 1fr) !important;
  }

  body #hero.hero-intrigue-variant .hero-proof div {
    min-width: 0 !important;
  }

  body .index-story {
    padding-top: 8px !important;
    margin-top: 0 !important;
  }

  body .story-panel {
    padding: 20px !important;
    border-radius: 24px !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    grid-template-columns: minmax(0, 1fr) !important;
    overflow: hidden !important;
  }

  body .story-panel::before {
    inset: 10px !important;
    border-radius: 18px !important;
  }

  body .story-flow {
    grid-template-columns: minmax(0, 1fr) !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  body .story-flow div {
    min-height: auto !important;
    min-width: 0 !important;
  }

  body .story-copy,
  body .story-flow div {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow-wrap: break-word !important;
  }

  body .story-copy h2 {
    width: 100% !important;
    max-width: 100% !important;
    font-size: clamp(25px, 7vw, 30px) !important;
    line-height: 1.05 !important;
    letter-spacing: -0.052em !important;
    white-space: normal !important;
    overflow-wrap: break-word !important;
    word-break: normal !important;
  }

  body .story-copy p,
  body .story-flow strong,
  body .story-flow small {
    max-width: 100% !important;
    white-space: normal !important;
    overflow-wrap: break-word !important;
  }
}

/* Index launch redesign: minimal, technical and legible across themes. */
body #hero.hero-intrigue-variant {
  isolation: isolate !important;
  min-height: min(960px, calc(100svh - 24px)) !important;
  padding: clamp(88px, 8.4vh, 128px) 0 clamp(52px, 6vw, 82px) !important;
  background:
    radial-gradient(circle at 78% 38%, rgba(79, 183, 255, 0.16), transparent 34%),
    radial-gradient(circle at 16% 34%, rgba(79, 183, 255, 0.14), transparent 28%),
    linear-gradient(135deg, rgba(3, 9, 14, 0.98), rgba(6, 17, 27, 0.98) 48%, rgba(3, 8, 13, 0.99)) !important;
}

body #hero.hero-intrigue-variant::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  background:
    linear-gradient(115deg, transparent 0 48%, rgba(79, 183, 255, 0.08) 48.12%, transparent 48.35%),
    linear-gradient(68deg, transparent 0 62%, rgba(120, 216, 234, 0.06) 62.12%, transparent 62.35%),
    radial-gradient(circle at 50% 100%, rgba(79, 183, 255, 0.08), transparent 46%) !important;
  opacity: 0.9 !important;
  pointer-events: none !important;
  z-index: 0 !important;
}

body #hero.hero-intrigue-variant::after {
  width: min(1180px, 96vw) !important;
  height: min(1180px, 96vw) !important;
  transform: translate(-70%, -46%) !important;
  background: radial-gradient(circle, rgba(79, 183, 255, 0.12), transparent 66%) !important;
  filter: blur(22px) !important;
  opacity: 0.8 !important;
}

body #hero.hero-intrigue-variant > .wrap.hero-grid {
  width: min(1240px, calc(100% - 56px)) !important;
  max-width: min(1240px, calc(100% - 56px)) !important;
  display: grid !important;
  grid-template-columns: minmax(0, 0.92fr) minmax(460px, 1.08fr) !important;
  gap: clamp(44px, 6vw, 88px) !important;
  align-items: center !important;
  margin-inline: auto !important;
  overflow: visible !important;
}

body #hero.hero-intrigue-variant .hero-copy {
  display: grid !important;
  gap: 22px !important;
  min-width: 0 !important;
  max-width: 650px !important;
}

body #hero.hero-intrigue-variant .kicker {
  width: fit-content !important;
  max-width: 100% !important;
  padding: 9px 14px !important;
  border: 1px solid rgba(84, 177, 242, 0.18) !important;
  border-radius: 999px !important;
  background: rgba(8, 24, 36, 0.58) !important;
  color: #d9f1ff !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 18px 42px rgba(0, 0, 0, 0.16) !important;
  backdrop-filter: blur(16px) saturate(140%) !important;
}

body #hero.hero-intrigue-variant .hero-copy h1 {
  width: 100% !important;
  max-width: 12.4ch !important;
  color: #f3f8ff !important;
  font-size: clamp(52px, 6.2vw, 88px) !important;
  line-height: 0.92 !important;
  letter-spacing: -0.078em !important;
  text-wrap: balance !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
  hyphens: none !important;
}

body #hero.hero-intrigue-variant .hero-copy p {
  max-width: 60ch !important;
  color: #c8d8e7 !important;
  font-size: clamp(16px, 1.32vw, 18px) !important;
  line-height: 1.72 !important;
}

body #hero.hero-intrigue-variant .hero-actions {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 12px !important;
  margin-top: 2px !important;
}

body #hero.hero-intrigue-variant .btn {
  min-height: 54px !important;
  padding: 0 24px !important;
  border-radius: 18px !important;
}

body #hero.hero-intrigue-variant .btn-primary {
  background: linear-gradient(135deg, #dff4ff 0%, #4fb7ff 48%, #238fe0 100%) !important;
  color: #061018 !important;
  box-shadow:
    0 22px 46px rgba(79, 183, 255, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.46) !important;
}

body #hero.hero-intrigue-variant .btn-secondary {
  color: #e7f2ff !important;
  background: rgba(255, 255, 255, 0.045) !important;
  border: 1px solid rgba(159, 208, 244, 0.16) !important;
}

body #hero.hero-intrigue-variant .hero-proof {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 12px !important;
  width: 100% !important;
  max-width: 650px !important;
  margin-top: 8px !important;
}

body #hero.hero-intrigue-variant .hero-proof div {
  display: grid !important;
  grid-template-columns: 1fr !important;
  align-content: start !important;
  gap: 8px !important;
  min-height: 150px !important;
  min-width: 0 !important;
  padding: 18px !important;
  border: 1px solid rgba(84, 177, 242, 0.14) !important;
  border-radius: 24px !important;
  background:
    radial-gradient(circle at 88% 0%, rgba(79, 183, 255, 0.10), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.056), rgba(255, 255, 255, 0.018)) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 20px 44px rgba(0, 0, 0, 0.18) !important;
}

body #hero.hero-intrigue-variant .hero-proof span {
  color: #78d8ea !important;
  font-size: 9px !important;
  line-height: 1.35 !important;
}

body #hero.hero-intrigue-variant .hero-proof strong {
  color: #f3f8ff !important;
  font-size: 15px !important;
  line-height: 1.22 !important;
}

body #hero.hero-intrigue-variant .hero-proof small {
  color: #b8cada !important;
  font-size: 12px !important;
  line-height: 1.52 !important;
}

body #hero.hero-intrigue-variant .hero-mobile-summary {
  display: none !important;
}

body #hero.hero-intrigue-variant .hero-device {
  width: min(100%, 650px) !important;
  max-width: 650px !important;
  margin-left: auto !important;
  border-radius: 36px !important;
  overflow: hidden !important;
  background:
    linear-gradient(180deg, rgba(15, 26, 38, 0.98), rgba(5, 10, 16, 0.99)) !important;
  border: 1px solid rgba(84, 177, 242, 0.20) !important;
  box-shadow:
    0 44px 110px rgba(0, 0, 0, 0.42),
    0 0 0 1px rgba(255, 255, 255, 0.028),
    inset 0 1px 0 rgba(255, 255, 255, 0.07) !important;
}

body #hero.hero-intrigue-variant .hero-device::before {
  content: "" !important;
  position: absolute !important;
  inset: -22% -16% auto auto !important;
  width: 52% !important;
  height: 52% !important;
  border-radius: 50% !important;
  background: radial-gradient(circle, rgba(79, 183, 255, 0.16), transparent 68%) !important;
  filter: blur(20px) !important;
  pointer-events: none !important;
  z-index: 0 !important;
}

body #hero.hero-intrigue-variant .hero-device-shell {
  position: relative !important;
  z-index: 1 !important;
}

body #hero.hero-intrigue-variant .hero-device-topbar {
  height: 54px !important;
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 16px !important;
  padding: 0 16px !important;
  border-bottom: 1px solid rgba(84, 177, 242, 0.10) !important;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.064), rgba(255, 255, 255, 0.014)) !important;
}

body #hero.hero-intrigue-variant .device-title,
body #hero.hero-intrigue-variant .device-badge {
  display: block !important;
}

body #hero.hero-intrigue-variant .device-title {
  min-width: 0 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
  color: #91a8ba !important;
}

body #hero.hero-intrigue-variant .device-badge {
  border-color: rgba(84, 177, 242, 0.18) !important;
  background: rgba(79, 183, 255, 0.10) !important;
  color: #d9f1ff !important;
}

body #hero.hero-intrigue-variant .hero-screen-render-only {
  aspect-ratio: 1.38 / 1 !important;
  min-height: 0 !important;
  overflow: hidden !important;
}

body #hero.hero-intrigue-variant .mac-render-stage,
body #hero.hero-intrigue-variant .mac-render-frame,
body #hero.hero-intrigue-variant .engineering-visual {
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
}

body #hero.hero-intrigue-variant .real-gear-render {
  opacity: 1 !important;
  filter: saturate(0.98) contrast(1.05) brightness(1.02) !important;
}

body #hero.hero-intrigue-variant .mechanical-svg,
body #hero.hero-intrigue-variant .visual-chip,
body #hero.hero-intrigue-variant .render-attribution {
  display: none !important;
}

body .index-story {
  padding: 34px 0 28px !important;
  margin-top: 0 !important;
}

body .story-panel {
  grid-template-columns: minmax(0, 0.9fr) minmax(440px, 1.1fr) !important;
  gap: clamp(24px, 4vw, 52px) !important;
  align-items: center !important;
  padding: clamp(28px, 4vw, 46px) !important;
  border-radius: 34px !important;
  background:
    radial-gradient(circle at 12% 0%, rgba(79, 183, 255, 0.13), transparent 40%),
    linear-gradient(180deg, rgba(10, 20, 31, 0.92), rgba(5, 10, 16, 0.98)) !important;
}

body .story-copy h2 {
  max-width: 12ch !important;
}

body .story-flow div {
  min-height: 182px !important;
}

body #especialidades .section-head,
body #herramientas .section-head,
body #blog .section-head,
body #sobre-mi .section-head {
  max-width: 840px !important;
}

html[data-theme="light"] body #hero.hero-intrigue-variant {
  background:
    radial-gradient(circle at 76% 34%, rgba(79, 183, 255, 0.18), transparent 34%),
    radial-gradient(circle at 14% 36%, rgba(13, 154, 178, 0.12), transparent 30%),
    linear-gradient(135deg, #f7fbff 0%, #edf5fb 48%, #e7f1f8 100%) !important;
}

html[data-theme="light"] body #hero.hero-intrigue-variant::before {
  background:
    linear-gradient(115deg, transparent 0 48%, rgba(15, 95, 145, 0.10) 48.12%, transparent 48.35%),
    linear-gradient(68deg, transparent 0 62%, rgba(13, 154, 178, 0.08) 62.12%, transparent 62.35%),
    radial-gradient(circle at 50% 100%, rgba(15, 95, 145, 0.09), transparent 46%) !important;
}

html[data-theme="light"] body #hero.hero-intrigue-variant .kicker {
  background: rgba(255, 255, 255, 0.76) !important;
  border-color: rgba(15, 95, 145, 0.14) !important;
  color: #0f5f91 !important;
}

html[data-theme="light"] body #hero.hero-intrigue-variant .hero-copy h1 {
  color: #0f2638 !important;
}

html[data-theme="light"] body #hero.hero-intrigue-variant .hero-copy p {
  color: #334b61 !important;
}

html[data-theme="light"] body #hero.hero-intrigue-variant .btn-secondary {
  color: #0f2638 !important;
  background: rgba(255, 255, 255, 0.72) !important;
  border-color: rgba(15, 38, 56, 0.14) !important;
}

html[data-theme="light"] body #hero.hero-intrigue-variant .hero-proof div,
html[data-theme="light"] body #hero.hero-intrigue-variant .hero-mobile-summary div {
  background:
    radial-gradient(circle at 88% 0%, rgba(15, 95, 145, 0.08), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(239, 247, 253, 0.96)) !important;
  border-color: rgba(15, 38, 56, 0.11) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    0 20px 44px rgba(38, 77, 107, 0.12) !important;
}

html[data-theme="light"] body #hero.hero-intrigue-variant .hero-proof span,
html[data-theme="light"] body #hero.hero-intrigue-variant .hero-mobile-summary span {
  color: #0f5f91 !important;
}

html[data-theme="light"] body #hero.hero-intrigue-variant .hero-proof strong,
html[data-theme="light"] body #hero.hero-intrigue-variant .hero-mobile-summary strong {
  color: #0f2638 !important;
}

html[data-theme="light"] body #hero.hero-intrigue-variant .hero-proof small,
html[data-theme="light"] body #hero.hero-intrigue-variant .hero-mobile-summary small {
  color: #41566c !important;
}

html[data-theme="light"] body #hero.hero-intrigue-variant .hero-device {
  background: linear-gradient(180deg, rgba(8, 15, 23, 0.98), rgba(5, 10, 16, 0.995)) !important;
  border-color: rgba(15, 95, 145, 0.18) !important;
  box-shadow:
    0 38px 92px rgba(33, 74, 106, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.07) !important;
}

html[data-theme="light"] body #hero.hero-intrigue-variant .mac-render-frame,
html[data-theme="light"] body #hero.hero-intrigue-variant .engineering-visual {
  background:
    radial-gradient(circle at 58% 42%, rgba(79, 183, 255, 0.08), transparent 34%),
    linear-gradient(135deg, #080d13, #0e1823 58%, #05090e) !important;
}

html[data-theme="light"] body #hero.hero-intrigue-variant .real-gear-render {
  opacity: 1 !important;
  mix-blend-mode: normal !important;
  filter: saturate(0.98) contrast(1.14) brightness(0.82) !important;
}

html[data-theme="light"] body .story-panel {
  background:
    radial-gradient(circle at 12% 0%, rgba(15, 95, 145, 0.10), transparent 40%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(239, 247, 253, 0.98)) !important;
  border-color: rgba(15, 38, 56, 0.11) !important;
}

@media (max-width: 1120px) {
  body #hero.hero-intrigue-variant > .wrap.hero-grid {
    grid-template-columns: 1fr !important;
    gap: 38px !important;
  }

  body #hero.hero-intrigue-variant .hero-copy {
    max-width: 780px !important;
    margin: 0 auto !important;
    text-align: center !important;
    justify-items: center !important;
  }

  body #hero.hero-intrigue-variant .hero-copy h1,
  body #hero.hero-intrigue-variant .hero-copy p {
    margin-inline: auto !important;
  }

  body #hero.hero-intrigue-variant .hero-device {
    margin: 0 auto !important;
  }

  body .story-panel {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 760px) {
  body #hero.hero-intrigue-variant {
    min-height: auto !important;
    padding: 76px 0 42px !important;
    overflow: hidden !important;
  }

  body #hero.hero-intrigue-variant > .wrap.hero-grid {
    width: min(420px, calc(100% - 32px)) !important;
    max-width: min(420px, calc(100% - 32px)) !important;
    margin-inline: auto !important;
    gap: 28px !important;
    overflow: visible !important;
  }

  body #hero.hero-intrigue-variant .hero-copy {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    gap: 18px !important;
    text-align: center !important;
    justify-items: center !important;
    overflow: hidden !important;
  }

  body #hero.hero-intrigue-variant .kicker {
    max-width: 100% !important;
    justify-content: center !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    text-align: center !important;
    font-size: 9px !important;
    letter-spacing: 0.14em !important;
  }

  body #hero.hero-intrigue-variant .hero-copy h1 {
    width: 100% !important;
    max-width: 100% !important;
    font-size: clamp(34px, 10.5vw, 41px) !important;
    line-height: 1 !important;
    letter-spacing: -0.052em !important;
    text-align: center !important;
    text-wrap: balance !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
  }

  body #hero.hero-intrigue-variant .hero-copy p {
    width: 100% !important;
    max-width: 34ch !important;
    font-size: 15px !important;
    line-height: 1.62 !important;
  }

  body #hero.hero-intrigue-variant .hero-actions {
    display: grid !important;
    grid-template-columns: 1fr !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    gap: 10px !important;
  }

  body #hero.hero-intrigue-variant .btn {
    width: 100% !important;
    min-width: 0 !important;
    justify-content: center !important;
    white-space: normal !important;
  }

  body #hero.hero-intrigue-variant .hero-proof {
    display: none !important;
  }

  body #hero.hero-intrigue-variant .hero-mobile-summary {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    width: 100% !important;
  }

  body #hero.hero-intrigue-variant .hero-mobile-summary div {
    display: grid !important;
    gap: 4px !important;
    padding: 15px 16px !important;
    border: 1px solid rgba(84, 177, 242, 0.15) !important;
    border-radius: 20px !important;
    background:
      radial-gradient(circle at 90% 0%, rgba(79, 183, 255, 0.10), transparent 42%),
      linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018)) !important;
    text-align: left !important;
  }

  body #hero.hero-intrigue-variant .hero-mobile-summary span {
    color: #78d8ea !important;
    font-family: var(--f-mono, "JetBrains Mono", monospace) !important;
    font-size: 9px !important;
    letter-spacing: 0.14em !important;
  }

  body #hero.hero-intrigue-variant .hero-mobile-summary strong {
    color: #f3f8ff !important;
    font-size: 15px !important;
  }

  body #hero.hero-intrigue-variant .hero-mobile-summary small {
    color: #b8cada !important;
    font-size: 12px !important;
    line-height: 1.45 !important;
  }

  body #hero.hero-intrigue-variant .hero-device {
    display: block !important;
    width: 100% !important;
    max-width: 390px !important;
    border-radius: 26px !important;
  }

  body #hero.hero-intrigue-variant .hero-device-topbar {
    grid-template-columns: auto minmax(0, 1fr) !important;
    height: 46px !important;
  }

  body #hero.hero-intrigue-variant .device-badge {
    display: none !important;
  }

  body #hero.hero-intrigue-variant .hero-screen-render-only {
    aspect-ratio: 1.22 / 1 !important;
  }

  body .index-story .wrap {
    width: min(420px, calc(100% - 32px)) !important;
    max-width: min(420px, calc(100% - 32px)) !important;
    margin-inline: auto !important;
  }

  body .story-panel {
    padding: 22px !important;
    border-radius: 26px !important;
  }

  body .story-copy {
    text-align: left !important;
  }

  body .story-copy h2 {
    max-width: 12.5ch !important;
    font-size: clamp(30px, 9.4vw, 40px) !important;
  }

  body .story-flow {
    grid-template-columns: 1fr !important;
  }

  body .story-flow div {
    min-height: auto !important;
  }
}

@media (max-width: 520px) {
  body #hero.hero-intrigue-variant > .wrap.hero-grid,
  body .index-story .wrap {
    width: min(310px, calc(100vw - 48px)) !important;
    max-width: min(310px, calc(100vw - 48px)) !important;
    margin-left: clamp(24px, 8vw, 40px) !important;
    margin-right: auto !important;
  }

  body #hero.hero-intrigue-variant .hero-copy,
  body #hero.hero-intrigue-variant .hero-actions,
  body #hero.hero-intrigue-variant .hero-mobile-summary,
  body #hero.hero-intrigue-variant .hero-copy p {
    width: 100% !important;
    max-width: 100% !important;
  }

  body #hero.hero-intrigue-variant .hero-mobile-summary {
    display: none !important;
  }

  body #hero.hero-intrigue-variant .kicker {
    width: 100% !important;
  }

  body #hero.hero-intrigue-variant .hero-copy h1 {
    width: 100% !important;
    max-width: 100% !important;
    font-size: clamp(33px, 10.2vw, 39px) !important;
    letter-spacing: -0.046em !important;
  }

  body #hero.hero-intrigue-variant .hero-device {
    display: block !important;
    max-width: 100% !important;
  }
}

/* Index minimal pass: remove repetition and make the graphic carry more weight. */
body #hero.hero-intrigue-variant {
  min-height: min(820px, calc(100svh - 10px)) !important;
  padding: clamp(82px, 8vh, 116px) 0 clamp(46px, 5vw, 72px) !important;
}

body #hero.hero-intrigue-variant > .wrap.hero-grid {
  grid-template-columns: minmax(0, 0.88fr) minmax(460px, 1.12fr) !important;
  gap: clamp(42px, 6vw, 80px) !important;
}

body #hero.hero-intrigue-variant .hero-copy {
  max-width: 560px !important;
  gap: 18px !important;
  opacity: 1 !important;
  transform: none !important;
}

body #hero.hero-intrigue-variant .hero-copy h1 {
  max-width: 9.4ch !important;
  font-size: clamp(50px, 5.7vw, 76px) !important;
  line-height: 0.94 !important;
  letter-spacing: -0.07em !important;
}

body #hero.hero-intrigue-variant .hero-copy p {
  max-width: 48ch !important;
}

body #hero.hero-intrigue-variant .hero-proof,
body #hero.hero-intrigue-variant .hero-mobile-summary,
body .cred-strip {
  display: none !important;
}

body #hero.hero-intrigue-variant .hero-device {
  max-width: 610px !important;
  border-radius: 32px !important;
  box-shadow:
    0 38px 96px rgba(0, 0, 0, 0.42),
    0 0 0 1px rgba(255, 255, 255, 0.028),
    inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
}

body #hero.hero-intrigue-variant .hero-device-topbar {
  height: 46px !important;
  grid-template-columns: auto minmax(0, 1fr) !important;
}

body #hero.hero-intrigue-variant .device-title {
  color: #9fb5c8 !important;
  letter-spacing: 0.18em !important;
}

body #hero.hero-intrigue-variant .hero-screen-render-only {
  aspect-ratio: 1.42 / 1 !important;
}

body #hero.hero-intrigue-variant .mac-render-frame,
body #hero.hero-intrigue-variant .engineering-visual {
  border-radius: 0 0 26px 26px !important;
}

body #hero.hero-intrigue-variant .engineering-visual {
  position: relative !important;
  background:
    radial-gradient(circle at 52% 46%, rgba(79, 183, 255, 0.10), transparent 34%),
    linear-gradient(135deg, #070c12, #101a26 58%, #05090e) !important;
}

body #hero.hero-intrigue-variant .engineering-visual::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 3 !important;
  pointer-events: none !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 20%, transparent 74%, rgba(0, 0, 0, 0.22)),
    radial-gradient(circle at 50% 52%, transparent 0 32%, rgba(0, 0, 0, 0.18) 76%) !important;
}

body #hero.hero-intrigue-variant .engineering-visual::after {
  content: "" !important;
  position: absolute !important;
  inset: 12px !important;
  z-index: 4 !important;
  pointer-events: none !important;
  border: 1px solid rgba(120, 216, 234, 0.08) !important;
  border-radius: 20px !important;
}

body #hero.hero-intrigue-variant .real-gear-render {
  position: relative !important;
  z-index: 2 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center center !important;
  transform: scale(0.965) !important;
  filter: saturate(1.02) contrast(1.08) brightness(0.94) !important;
}

body .index-story {
  padding: 24px 0 20px !important;
}

body .story-panel {
  padding: clamp(24px, 3.2vw, 36px) !important;
  gap: clamp(22px, 3vw, 36px) !important;
}

body .story-copy h2 {
  max-width: 13ch !important;
  font-size: clamp(30px, 3.2vw, 42px) !important;
}

body .story-flow div {
  min-height: 136px !important;
  padding: 18px !important;
}

html[data-theme="light"] body #hero.hero-intrigue-variant .hero-device {
  box-shadow:
    0 32px 78px rgba(33, 74, 106, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.18) !important;
}

html[data-theme="light"] body #hero.hero-intrigue-variant .engineering-visual {
  background:
    radial-gradient(circle at 52% 46%, rgba(79, 183, 255, 0.09), transparent 34%),
    linear-gradient(135deg, #070c12, #101a26 58%, #05090e) !important;
}

html[data-theme="light"] body #hero.hero-intrigue-variant .real-gear-render {
  filter: saturate(1) contrast(1.16) brightness(0.82) !important;
}

@media (max-width: 1120px) {
  body #hero.hero-intrigue-variant {
    min-height: auto !important;
  }

  body #hero.hero-intrigue-variant .hero-copy h1 {
    max-width: 10.4ch !important;
  }
}

@media (max-width: 760px) {
  body #hero.hero-intrigue-variant {
    padding: 64px 0 34px !important;
  }

  body #hero.hero-intrigue-variant > .wrap.hero-grid,
  body #hero.hero-intrigue-variant .hero-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    justify-items: center !important;
  }

  body #hero.hero-intrigue-variant .hero-copy {
    grid-column: 1 !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  body #hero.hero-intrigue-variant .hero-copy h1 {
    max-width: 100% !important;
    font-size: clamp(34px, 10.2vw, 39px) !important;
    line-height: 1 !important;
    letter-spacing: -0.046em !important;
  }

  body #hero.hero-intrigue-variant .hero-screen-render-only {
    aspect-ratio: 1.34 / 1 !important;
  }

  body #hero.hero-intrigue-variant .hero-device,
  body #hero.hero-intrigue-variant .hero-device-shell,
  body #hero.hero-intrigue-variant .hero-screen-render-only,
  body #hero.hero-intrigue-variant .mac-render-stage,
  body #hero.hero-intrigue-variant .mac-render-frame {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  body #hero.hero-intrigue-variant .real-gear-render {
    transform: scale(0.90) !important;
  }

  body .index-story {
    padding-top: 18px !important;
  }
}

@media (max-width: 520px) {
  body #hero.hero-intrigue-variant .hero-device-topbar {
    height: 38px !important;
  }

  body #hero.hero-intrigue-variant .device-title {
    font-size: 8px !important;
    letter-spacing: 0.16em !important;
  }

  body #hero.hero-intrigue-variant .hero-screen-render-only {
    aspect-ratio: 1.28 / 1 !important;
  }
}

/* Final single-window render: the source image already contains the CAD window. */
body #hero.hero-intrigue-variant .hero-device {
  background: transparent !important;
  border: 0 !important;
  border-radius: 28px !important;
  box-shadow: none !important;
  overflow: visible !important;
}

body #hero.hero-intrigue-variant .hero-device::before,
body #hero.hero-intrigue-variant .hero-device-topbar,
body #hero.hero-intrigue-variant .engineering-visual::before,
body #hero.hero-intrigue-variant .engineering-visual::after {
  display: none !important;
}

body #hero.hero-intrigue-variant .hero-device-shell,
body #hero.hero-intrigue-variant .hero-screen-render-only,
body #hero.hero-intrigue-variant .mac-render-stage,
body #hero.hero-intrigue-variant .mac-render-frame,
body #hero.hero-intrigue-variant .engineering-visual {
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: 4 / 3 !important;
  border: 0 !important;
  border-radius: 28px !important;
  background: transparent !important;
  overflow: hidden !important;
}

body #hero.hero-intrigue-variant .hero-device-shell {
  box-shadow:
    0 34px 88px rgba(0, 0, 0, 0.38),
    0 0 0 1px rgba(84, 177, 242, 0.12) !important;
}

body #hero.hero-intrigue-variant .real-gear-render,
html[data-theme="light"] body #hero.hero-intrigue-variant .real-gear-render {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  transform: none !important;
  opacity: 1 !important;
  mix-blend-mode: normal !important;
  filter: saturate(1) contrast(1.06) brightness(0.96) !important;
}

html[data-theme="light"] body #hero.hero-intrigue-variant .hero-device-shell {
  box-shadow:
    0 28px 70px rgba(33, 74, 106, 0.20),
    0 0 0 1px rgba(15, 95, 145, 0.14) !important;
}

@media (max-width: 760px) {
  body #hero.hero-intrigue-variant .hero-device,
  body #hero.hero-intrigue-variant .hero-device-shell,
  body #hero.hero-intrigue-variant .hero-screen-render-only,
  body #hero.hero-intrigue-variant .mac-render-stage,
  body #hero.hero-intrigue-variant .mac-render-frame,
  body #hero.hero-intrigue-variant .engineering-visual {
    border-radius: 22px !important;
  }
}

/* Launch polish: one mobile navigation treatment across every page. */
@media (max-width: 860px) {
  body .nav-inner {
    position: relative !important;
  }

  body .nav .burger,
  body .burger {
    display: flex !important;
    width: 42px !important;
    min-width: 42px !important;
    height: 42px !important;
    min-height: 42px !important;
    margin-left: auto !important;
    padding: 0 !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 5px !important;
    border: 1px solid rgba(84, 177, 242, 0.18) !important;
    border-radius: 13px !important;
    background: rgba(79, 183, 255, 0.07) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04) !important;
  }

  body .burger span {
    display: block !important;
    width: 19px !important;
    height: 2px !important;
    transition: transform 0.2s ease, opacity 0.2s ease !important;
    transform-origin: center !important;
  }

  body .burger[aria-expanded="true"] span:first-child {
    transform: translateY(7px) rotate(45deg) !important;
  }

  body .burger[aria-expanded="true"] span:nth-child(2) {
    opacity: 0 !important;
  }

  body .burger[aria-expanded="true"] span:last-child {
    transform: translateY(-7px) rotate(-45deg) !important;
  }

  body .nav .nav-links,
  body .nav-links {
    display: none !important;
    position: fixed !important;
    top: 68px !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 14px 16px 18px !important;
    transform: none !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 4px !important;
    background: #04090e !important;
    border-top: 1px solid rgba(84, 177, 242, 0.08) !important;
    border-bottom: 1px solid rgba(84, 177, 242, 0.14) !important;
    border-radius: 0 0 22px 22px !important;
    box-shadow: 0 24px 44px rgba(0, 0, 0, 0.30) !important;
    box-sizing: border-box !important;
    z-index: 1000 !important;
  }

  body .nav .nav-links.open,
  body .nav-links.open {
    display: flex !important;
    background: #04090e !important;
  }

  body .nav .nav-links a,
  body .nav .nav-links button,
  body .nav-links a,
  body .nav-links button {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-height: 44px !important;
    margin: 0 !important;
    text-align: center !important;
  }

  html[data-theme="light"] body .nav .burger,
  html[data-theme="light"] body .burger {
    border-color: rgba(15, 95, 145, 0.16) !important;
    background: rgba(255, 255, 255, 0.76) !important;
    box-shadow: 0 8px 22px rgba(15, 38, 56, 0.08), inset 0 1px 0 #ffffff !important;
  }

  html[data-theme="light"] body .nav .nav-links,
  html[data-theme="light"] body .nav-links {
    background: #f8fbff !important;
    border-color: rgba(15, 38, 56, 0.12) !important;
    box-shadow: 0 24px 44px rgba(15, 38, 56, 0.14) !important;
  }

  html[data-theme="light"] body .nav .nav-links.open,
  html[data-theme="light"] body .nav-links.open {
    background: #f8fbff !important;
  }
}

@media (max-width: 760px) {
  body .blog-hero-inner > div,
  body .blog-feature > div {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  body .blog-hero p {
    width: 100% !important;
    max-width: 34ch !important;
    white-space: normal !important;
    overflow-wrap: break-word !important;
  }

  body .blog-feature p {
    font-size: 14.5px !important;
    line-height: 1.62 !important;
  }
}

html[data-theme="light"] body .post-404 {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(245, 250, 255, 0.98)) !important;
  border-color: rgba(15, 38, 56, 0.13) !important;
  box-shadow: 0 24px 60px rgba(15, 38, 56, 0.13) !important;
}

html[data-theme="light"] body .post-404 h2 {
  color: #0f2638 !important;
}

html[data-theme="light"] body .post-404 p {
  color: #41566c !important;
}

/* Launch uniformity: interactive surfaces use solid brand colors, not gradients. */
:root {
  --ca-button-bg: #4fb7ff;
  --ca-button-text: #020407;
  --ca-button-soft-bg: rgba(79, 183, 255, 0.10);
  --ca-button-soft-text: #eef6ff;
  --ca-button-border: rgba(84, 177, 242, 0.24);
  --ca-button-shadow: 0 14px 32px rgba(79, 183, 255, 0.18);
}

html[data-theme="light"] {
  --ca-button-bg: #0f5f91;
  --ca-button-text: #ffffff;
  --ca-button-soft-bg: rgba(255, 255, 255, 0.82);
  --ca-button-soft-text: #0f2638;
  --ca-button-border: rgba(15, 95, 145, 0.22);
  --ca-button-shadow: 0 14px 32px rgba(15, 95, 145, 0.16);
}

body .btn-primary,
body .nav-links .nav-cta,
body .nav-cta,
body .cta-btn,
body .mobile-tools-link,
body .filter-btn.active,
body .rtab.on,
body .tool-link {
  background: var(--ca-button-bg) !important;
  background-image: none !important;
  border: 1px solid var(--ca-button-border) !important;
  color: var(--ca-button-text) !important;
  box-shadow: var(--ca-button-shadow) !important;
  text-shadow: none !important;
}

body .btn-primary *,
body .nav-links .nav-cta *,
body .nav-cta *,
body .cta-btn *,
body .mobile-tools-link *,
body .filter-btn.active *,
body .rtab.on *,
body .tool-link * {
  color: inherit !important;
}

body .btn-secondary,
body .filter-btn,
body .rtab,
body .theme-toggle,
body .post-back,
body .blog-feature > div > span,
body .runner-meta span,
body .tag,
body .status-pill,
body .device-badge,
body .tc-badge {
  background: var(--ca-button-soft-bg) !important;
  background-image: none !important;
  border-color: var(--ca-button-border) !important;
  color: var(--ca-button-soft-text) !important;
}

body .tool-card::after {
  background: var(--ca-button-bg) !important;
  background-image: none !important;
}

body .theme-toggle::before {
  background: var(--ca-button-bg) !important;
  background-image: none !important;
  box-shadow: 0 0 18px rgba(79, 183, 255, 0.28) !important;
}

html[data-theme="light"] body .theme-toggle::before {
  box-shadow: 0 0 14px rgba(15, 95, 145, 0.20) !important;
}

/* Hero CTA final lock: keep "Ver enfoque tecnico" solid in every theme. */
html body #hero.hero-intrigue-variant .hero-actions .btn.btn-primary,
html body #hero.hero-intrigue-variant .hero-actions button.btn.btn-primary,
html body #hero.hero-intrigue-variant .btn.btn-primary {
  background: #4fb7ff !important;
  background-color: #4fb7ff !important;
  background-image: none !important;
  border: 1px solid rgba(79, 183, 255, 0.42) !important;
  color: #020407 !important;
  box-shadow: 0 14px 32px rgba(79, 183, 255, 0.18) !important;
  text-shadow: none !important;
}

html body #hero.hero-intrigue-variant .hero-actions .btn.btn-primary:hover,
html body #hero.hero-intrigue-variant .hero-actions button.btn.btn-primary:hover,
html body #hero.hero-intrigue-variant .btn.btn-primary:hover {
  background: #72c7ff !important;
  background-color: #72c7ff !important;
  background-image: none !important;
  border-color: rgba(114, 199, 255, 0.50) !important;
}

html[data-theme="light"] body #hero.hero-intrigue-variant .hero-actions .btn.btn-primary,
html[data-theme="light"] body #hero.hero-intrigue-variant .hero-actions button.btn.btn-primary,
html[data-theme="light"] body #hero.hero-intrigue-variant .btn.btn-primary {
  background: #0f5f91 !important;
  background-color: #0f5f91 !important;
  background-image: none !important;
  border-color: rgba(15, 95, 145, 0.34) !important;
  color: #ffffff !important;
  box-shadow: 0 14px 32px rgba(15, 95, 145, 0.16) !important;
}

html[data-theme="light"] body #hero.hero-intrigue-variant .hero-actions .btn.btn-primary:hover,
html[data-theme="light"] body #hero.hero-intrigue-variant .hero-actions button.btn.btn-primary:hover,
html[data-theme="light"] body #hero.hero-intrigue-variant .btn.btn-primary:hover {
  background: #1473ad !important;
  background-color: #1473ad !important;
  background-image: none !important;
}

/* Blog title lock: no blue accent on "directas." in either theme. */
body .blog-hero-title,
body .blog-hero-title span {
  color: #e8f3ff !important;
  background: none !important;
  -webkit-background-clip: initial !important;
  background-clip: initial !important;
  -webkit-text-fill-color: currentColor !important;
}

html[data-theme="light"] body .blog-hero-title,
html[data-theme="light"] body .blog-hero-title span {
  color: #0f2638 !important;
  -webkit-text-fill-color: #0f2638 !important;
}

/* Fluid index polish: stronger first view, less noise, clearer reading rhythm. */
body #hero.hero-intrigue-variant {
  min-height: min(820px, calc(100vh - 8px)) !important;
  display: flex !important;
  align-items: center !important;
  padding-top: clamp(74px, 8vh, 104px) !important;
  padding-bottom: clamp(54px, 8vh, 92px) !important;
}

body #hero.hero-intrigue-variant > .wrap.hero-grid {
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr) !important;
  align-items: center !important;
  gap: clamp(30px, 5.2vw, 74px) !important;
}

body #hero.hero-intrigue-variant .hero-copy {
  max-width: 620px !important;
  gap: 18px !important;
}

body #hero.hero-intrigue-variant .hero-copy h1 {
  max-width: 9.6ch !important;
  font-size: clamp(48px, 7vw, 92px) !important;
  line-height: 0.92 !important;
  letter-spacing: -0.075em !important;
}

body #hero.hero-intrigue-variant .hero-copy p {
  max-width: 46ch !important;
  color: #c8d8e7 !important;
  font-size: clamp(16px, 1.25vw, 18px) !important;
  line-height: 1.66 !important;
}

body .hero-signals {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  margin: 0 0 4px !important;
}

body .hero-signals span {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 32px !important;
  padding: 8px 11px !important;
  border: 1px solid rgba(111, 191, 255, 0.16) !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.035) !important;
  color: #d7e8f6 !important;
  font-family: var(--f-mono, "JetBrains Mono", monospace) !important;
  font-size: 10px !important;
  font-weight: 800 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
}

body #hero.hero-intrigue-variant .hero-actions {
  margin-top: 8px !important;
  gap: 12px !important;
}

body #hero.hero-intrigue-variant .hero-device {
  width: min(100%, 760px) !important;
  margin-inline: auto !important;
}

body .index-story {
  padding: 0 0 54px !important;
  margin-top: -18px !important;
  background: transparent !important;
}

body .story-panel {
  display: block !important;
  max-width: 800px !important;
  padding: 0 0 0 18px !important;
  border: 0 !important;
  border-left: 1px solid rgba(111, 191, 255, 0.20) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body .index-story .wrap,
body .story-panel > *,
body .story-copy {
  background: transparent !important;
  box-shadow: none !important;
}

body .story-panel::before {
  display: none !important;
}

body .story-copy {
  display: grid !important;
  gap: 9px !important;
}

body .story-copy h2 {
  max-width: 19ch !important;
  margin: 0 !important;
  color: #f4f9ff !important;
  font-size: clamp(24px, 2.8vw, 36px) !important;
  line-height: 1.04 !important;
  letter-spacing: -0.055em !important;
}

body .story-copy p {
  max-width: 56ch !important;
  margin: 0 !important;
  color: #b9cadd !important;
  font-size: 15px !important;
  line-height: 1.68 !important;
}

body .story-flow {
  display: none !important;
}

body .card,
body .blog-card,
body .tool-card,
body .about-method,
body .contact-route,
body .blog-feature,
body .featured-post,
body .post-main,
body .related-card {
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease !important;
}

body .card:hover,
body .blog-card:hover,
body .tool-card:hover,
body .about-method:hover,
body .contact-route:hover,
body .related-card:hover {
  transform: translateY(-2px) !important;
}

body .section-head {
  max-width: 720px !important;
}

body .section-head h2 {
  letter-spacing: -0.052em !important;
}

body .card-icon {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 44px !important;
  height: 44px !important;
  color: #8bd0ff !important;
  font-family: var(--f-mono, "JetBrains Mono", monospace) !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
}

html[data-theme="light"] body #hero.hero-intrigue-variant .hero-copy p {
  color: #41566c !important;
}

html[data-theme="light"] body .hero-signals span {
  border-color: rgba(15, 95, 145, 0.16) !important;
  background: rgba(255, 255, 255, 0.72) !important;
  color: #174263 !important;
}

html[data-theme="light"] body .story-panel {
  border-left-color: rgba(15, 95, 145, 0.22) !important;
  background: transparent !important;
  box-shadow: none !important;
}

html[data-theme="light"] body .story-copy h2 {
  color: #0f2638 !important;
}

html[data-theme="light"] body .story-copy p {
  color: #41566c !important;
}

html[data-theme="light"] body .card-icon {
  color: #0f5f91 !important;
}

@media (max-width: 900px) {
  body #hero.hero-intrigue-variant {
    min-height: auto !important;
    padding-top: 76px !important;
    padding-bottom: 36px !important;
  }

  body #hero.hero-intrigue-variant > .wrap.hero-grid {
    grid-template-columns: 1fr !important;
    gap: 26px !important;
  }

  body #hero.hero-intrigue-variant .hero-copy,
  body #hero.hero-intrigue-variant .hero-copy p,
  body #hero.hero-intrigue-variant .hero-actions,
  body .hero-signals {
    max-width: 100% !important;
    justify-content: flex-start !important;
    text-align: left !important;
  }

  body #hero.hero-intrigue-variant .hero-copy h1 {
    max-width: 11ch !important;
  }

  body #hero.hero-intrigue-variant .hero-device {
    max-width: 680px !important;
  }
}

@media (max-width: 700px) {
  body #hero.hero-intrigue-variant {
    padding-top: 58px !important;
    padding-bottom: 22px !important;
  }

  body #hero.hero-intrigue-variant .hero-copy {
    gap: 14px !important;
  }

  body #hero.hero-intrigue-variant .hero-copy h1 {
    font-size: clamp(42px, 13vw, 58px) !important;
    letter-spacing: -0.065em !important;
  }

  body #hero.hero-intrigue-variant .hero-copy p {
    font-size: 15.5px !important;
    line-height: 1.62 !important;
  }

  body .hero-signals {
    gap: 7px !important;
  }

  body .hero-signals span {
    min-height: 30px !important;
    padding: 7px 9px !important;
    font-size: 9px !important;
    letter-spacing: 0.1em !important;
  }

  body .index-story {
    padding-bottom: 42px !important;
    margin-top: 0 !important;
  }

  body .story-panel {
    padding-left: 14px !important;
  }
}

/* Index final flow: one clean hero, no separated opening block, stronger tool CTAs. */
body #hero.hero-intrigue-variant {
  isolation: isolate !important;
  min-height: clamp(690px, calc(100svh - 12px), 860px) !important;
  padding-top: clamp(88px, 9vh, 118px) !important;
  padding-bottom: clamp(64px, 8vh, 96px) !important;
  overflow: hidden !important;
}

body #hero.hero-intrigue-variant::before {
  opacity: 0.72 !important;
}

body #hero.hero-intrigue-variant::after {
  content: "" !important;
  position: absolute !important;
  inset: auto 8vw 0 8vw !important;
  height: 1px !important;
  background: linear-gradient(90deg, transparent, rgba(111, 191, 255, 0.32), transparent) !important;
  z-index: 0 !important;
}

body #hero.hero-intrigue-variant > .wrap.hero-grid {
  grid-template-columns: minmax(0, 0.86fr) minmax(440px, 1.14fr) !important;
  gap: clamp(38px, 5.8vw, 86px) !important;
}

body #hero.hero-intrigue-variant .hero-copy {
  position: relative !important;
  z-index: 2 !important;
  max-width: 660px !important;
  gap: 20px !important;
}

body #hero.hero-intrigue-variant .hero-copy h1 {
  max-width: 10.8ch !important;
  font-size: clamp(54px, 7.3vw, 96px) !important;
  line-height: 0.94 !important;
  letter-spacing: -0.074em !important;
}

body #hero.hero-intrigue-variant .hero-copy p {
  max-width: 38ch !important;
  color: #c7d8e7 !important;
}

body #hero.hero-intrigue-variant .hero-thesis {
  position: relative !important;
  max-width: 42ch !important;
  margin: 0 !important;
  padding-left: 18px !important;
  color: #e7f2fb !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1.55 !important;
}

body #hero.hero-intrigue-variant .hero-thesis::before {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  top: 0.32em !important;
  bottom: 0.32em !important;
  width: 2px !important;
  border-radius: 999px !important;
  background: #4fb7ff !important;
}

body #hero.hero-intrigue-variant .hero-actions {
  margin-top: 6px !important;
}

body #hero.hero-intrigue-variant .hero-device {
  position: relative !important;
  z-index: 1 !important;
  width: min(100%, 720px) !important;
  filter: drop-shadow(0 34px 72px rgba(0, 0, 0, 0.34)) !important;
}

body #hero.hero-intrigue-variant .hero-device::after {
  opacity: 0.45 !important;
}

body .index-story {
  display: none !important;
}

body #especialidades {
  padding-top: clamp(66px, 8vw, 96px) !important;
}

body #herramientas .tool-card {
  min-height: 318px !important;
}

body #herramientas .tool-link {
  width: 100% !important;
  min-height: 46px !important;
  justify-content: center !important;
  border-radius: 15px !important;
  font-size: 13px !important;
  font-weight: 850 !important;
  letter-spacing: -0.01em !important;
  margin-top: auto !important;
  padding: 0 16px !important;
}

body #herramientas .tool-link::after {
  content: "->" !important;
  margin-left: 4px !important;
  font-family: var(--f-mono, "JetBrains Mono", monospace) !important;
  font-size: 11px !important;
}

html[data-theme="light"] body #hero.hero-intrigue-variant .hero-copy p {
  color: #40566b !important;
}

html[data-theme="light"] body #hero.hero-intrigue-variant .hero-thesis {
  color: #14324a !important;
}

@media (max-width: 900px) {
  body #hero.hero-intrigue-variant {
    min-height: clamp(680px, 92svh, 820px) !important;
    padding-top: 76px !important;
    padding-bottom: 34px !important;
  }

  body #hero.hero-intrigue-variant > .wrap.hero-grid {
    display: block !important;
    min-height: inherit !important;
  }

  body #hero.hero-intrigue-variant .hero-copy {
    max-width: 560px !important;
    margin: 0 auto !important;
    text-align: center !important;
    align-items: center !important;
    padding-bottom: 240px !important;
  }

  body #hero.hero-intrigue-variant .hero-copy h1,
  body #hero.hero-intrigue-variant .hero-copy p,
  body #hero.hero-intrigue-variant .hero-thesis {
    max-width: 100% !important;
    text-align: center !important;
  }

  body #hero.hero-intrigue-variant .hero-thesis {
    padding: 0 !important;
  }

  body #hero.hero-intrigue-variant .hero-thesis::before {
    left: 50% !important;
    top: -10px !important;
    bottom: auto !important;
    width: 42px !important;
    height: 2px !important;
    transform: translateX(-50%) !important;
  }

  body #hero.hero-intrigue-variant .hero-actions {
    justify-content: center !important;
  }

  body #hero.hero-intrigue-variant .hero-device {
    position: absolute !important;
    left: 50% !important;
    bottom: 28px !important;
    width: min(76vw, 420px) !important;
    max-width: none !important;
    margin: 0 !important;
    transform: translateX(-50%) !important;
  }
}

@media (max-width: 700px) {
  body #hero.hero-intrigue-variant {
    min-height: 720px !important;
    padding-top: 54px !important;
    padding-bottom: 22px !important;
  }

  body #hero.hero-intrigue-variant .kicker {
    font-size: 9px !important;
    letter-spacing: 0.16em !important;
  }

  body #hero.hero-intrigue-variant .hero-copy {
    gap: 15px !important;
    padding-bottom: 214px !important;
  }

  body #hero.hero-intrigue-variant .hero-copy h1 {
    font-size: clamp(42px, 12.2vw, 52px) !important;
    line-height: 0.96 !important;
    letter-spacing: -0.065em !important;
  }

  body #hero.hero-intrigue-variant .hero-copy p {
    font-size: 15px !important;
    line-height: 1.58 !important;
  }

  body #hero.hero-intrigue-variant .hero-thesis {
    font-size: 13px !important;
    line-height: 1.48 !important;
  }

  body #hero.hero-intrigue-variant .hero-actions {
    display: grid !important;
    width: min(100%, 318px) !important;
    gap: 10px !important;
  }

  body #hero.hero-intrigue-variant .hero-actions .btn {
    width: 100% !important;
    min-height: 52px !important;
    justify-content: center !important;
  }

  body #hero.hero-intrigue-variant .hero-device {
    bottom: 22px !important;
    width: min(80vw, 330px) !important;
  }

  body #hero.hero-intrigue-variant .hero-device-shell {
    border-radius: 18px !important;
  }

  body #especialidades {
    padding-top: 58px !important;
  }

  body #herramientas .tool-card {
    min-height: auto !important;
  }

  body #herramientas .tool-link {
    min-height: 48px !important;
  }
}

/* Mobile launch fix: keep index sections readable and calculator CTAs available. */
@media (max-width: 700px) {
  html,
  body {
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

  body .wrap {
    width: min(100% - 32px, var(--max, 1240px)) !important;
    max-width: calc(100% - 32px) !important;
  }

  body #hero .hero-actions a[href="herramientas.html"],
  body #hero.hero-intrigue-variant .hero-actions a[href="herramientas.html"] {
    display: inline-flex !important;
  }

  body #herramientas {
    display: block !important;
  }

  body .mobile-tools-notice {
    display: none !important;
  }

  body #hero.hero-intrigue-variant {
    min-height: 760px !important;
  }

  body #hero.hero-intrigue-variant .hero-copy {
    padding-bottom: 230px !important;
  }

  body #hero.hero-intrigue-variant .hero-actions {
    margin-top: 2px !important;
  }

  body #hero.hero-intrigue-variant .hero-device {
    bottom: 16px !important;
    width: min(78vw, 315px) !important;
  }

  body .card-grid,
  body .three-col,
  body .tool-cards {
    grid-template-columns: 1fr !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  body .section-head {
    width: 100% !important;
    max-width: 100% !important;
    margin-inline: 0 !important;
  }

  body .section-head h2 {
    max-width: 100% !important;
    font-size: clamp(30px, 10.5vw, 40px) !important;
    line-height: 1.05 !important;
    letter-spacing: -0.055em !important;
    overflow-wrap: break-word !important;
    text-wrap: balance !important;
  }

  body .section-head p {
    max-width: 100% !important;
    font-size: 15px !important;
    line-height: 1.62 !important;
  }

  body .card,
  body .tool-card,
  body .blog-card,
  body .blog-feature,
  body .about-panel,
  body .contact-form,
  body .contact-aside {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  body .card h3,
  body .tool-card h3 {
    max-width: 100% !important;
    overflow-wrap: break-word !important;
    text-wrap: balance !important;
  }

  body .tag-row {
    max-width: 100% !important;
  }

  body #herramientas .tool-link {
    display: inline-flex !important;
    width: 100% !important;
  }
}

/* Hard mobile width lock for the index content blocks. */
@media (max-width: 700px) {
  html body #especialidades,
  html body #herramientas,
  html body #blog,
  html body #sobre-mi,
  html body #contacto {
    max-width: 100vw !important;
    overflow: hidden !important;
  }

  html body #especialidades > .wrap,
  html body #herramientas > .wrap,
  html body #blog > .wrap,
  html body #sobre-mi > .wrap,
  html body #contacto > .wrap,
  html body .wrap.contact-grid {
    width: calc(100vw - 32px) !important;
    max-width: calc(100vw - 32px) !important;
    min-width: 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  html body #especialidades .section-head h2,
  html body #herramientas .section-head h2,
  html body #blog .section-head h2,
  html body #sobre-mi .section-head h2,
  html body #contacto .section-head h2 {
    max-width: calc(100vw - 32px) !important;
    font-size: clamp(29px, 8.8vw, 34px) !important;
    line-height: 1.08 !important;
    letter-spacing: -0.045em !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;
  }

  html body #especialidades .card,
  html body #herramientas .card,
  html body #herramientas .tool-card {
    width: 100% !important;
    max-width: calc(100vw - 32px) !important;
    min-width: 0 !important;
    padding: 24px !important;
  }

  html body #especialidades .card h3,
  html body #herramientas .tool-card h3 {
    width: 100% !important;
    max-width: 100% !important;
    font-size: clamp(22px, 6.2vw, 25px) !important;
    line-height: 1.12 !important;
    letter-spacing: -0.04em !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;
    text-wrap: auto !important;
  }

  html body #especialidades .card p,
  html body #herramientas .tool-card p {
    max-width: 100% !important;
    white-space: normal !important;
    overflow-wrap: break-word !important;
  }

  html body #especialidades .tag-row,
  html body #herramientas .tag-row {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    max-width: 100% !important;
  }

  html body #especialidades .section-head h2,
  html body #especialidades .section-head p,
  html body #herramientas .section-head h2,
  html body #herramientas .section-head p {
    width: 100% !important;
    max-width: 330px !important;
  }

  html body #herramientas .section-head {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  html body #herramientas .section-head h2,
  html body #herramientas .section-head p {
    max-width: 300px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  html body #herramientas .section-head h2 {
    font-size: clamp(28px, 8.2vw, 32px) !important;
  }

  html body #especialidades .card h3,
  html body #especialidades .card p,
  html body #herramientas .tool-card h3,
  html body #herramientas .tool-card p {
    max-width: 286px !important;
  }

  html body #especialidades .card .tag-row,
  html body #herramientas .tool-card .tag-row {
    max-width: 286px !important;
  }
}

/* Tone down index typography: broader engineering positioning, calmer scale. */
body #hero.hero-intrigue-variant .hero-copy h1 {
  max-width: 11.4ch !important;
  font-size: clamp(46px, 6.2vw, 78px) !important;
  line-height: 0.98 !important;
  letter-spacing: -0.064em !important;
}

body #hero.hero-intrigue-variant .hero-copy p {
  font-size: clamp(15px, 1.05vw, 17px) !important;
}

body #hero.hero-intrigue-variant .hero-thesis {
  font-size: 13.5px !important;
}

body .section-head h2 {
  font-size: clamp(28px, 3.2vw, 40px) !important;
  line-height: 1.08 !important;
}

body .card h3,
body .tool-card h3 {
  font-size: clamp(20px, 1.75vw, 24px) !important;
  line-height: 1.12 !important;
}

body .btn,
body .tool-link {
  font-size: 13px !important;
}

@media (max-width: 700px) {
  body #hero.hero-intrigue-variant {
    min-height: 720px !important;
  }

  body #hero.hero-intrigue-variant .hero-copy h1 {
    font-size: clamp(38px, 10.5vw, 46px) !important;
    line-height: 1 !important;
    letter-spacing: -0.056em !important;
  }

  body #hero.hero-intrigue-variant .hero-copy p {
    font-size: 14.5px !important;
  }

  body #hero.hero-intrigue-variant .hero-thesis {
    font-size: 12.5px !important;
  }

  html body #especialidades .section-head h2,
  html body #herramientas .section-head h2,
  html body #blog .section-head h2,
  html body #sobre-mi .section-head h2,
  html body #contacto .section-head h2 {
    font-size: clamp(26px, 7.6vw, 31px) !important;
  }

  html body #especialidades .card h3,
  html body #herramientas .tool-card h3 {
    font-size: clamp(20px, 5.6vw, 23px) !important;
  }
}

/* Professional alignment pass: centered rhythm, controlled text width and even columns. */
body section {
  scroll-margin-top: 92px !important;
}

body .wrap {
  width: min(1160px, calc(100% - 40px)) !important;
}

body #hero.hero-intrigue-variant > .wrap.hero-grid {
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr) !important;
  gap: clamp(34px, 5vw, 72px) !important;
}

body #hero.hero-intrigue-variant .hero-copy {
  align-items: center !important;
  text-align: center !important;
  justify-items: center !important;
  margin-inline: auto !important;
}

body #hero.hero-intrigue-variant .hero-copy h1 {
  max-width: 10.8ch !important;
  font-size: clamp(44px, 5.8vw, 72px) !important;
}

body #hero.hero-intrigue-variant .hero-copy p {
  max-width: 39ch !important;
  margin-inline: auto !important;
}

body #hero.hero-intrigue-variant .hero-thesis {
  max-width: 38ch !important;
  padding-left: 0 !important;
  padding-top: 12px !important;
  text-align: center !important;
}

body #hero.hero-intrigue-variant .hero-thesis::before {
  left: 50% !important;
  top: 0 !important;
  bottom: auto !important;
  width: 46px !important;
  height: 2px !important;
  transform: translateX(-50%) !important;
}

body #hero.hero-intrigue-variant .hero-actions {
  justify-content: center !important;
}

body #hero.hero-intrigue-variant .hero-device {
  justify-self: center !important;
}

body #especialidades,
body #herramientas,
body #blog,
body #sobre-mi,
body #contacto {
  padding-top: clamp(72px, 8vw, 104px) !important;
  padding-bottom: clamp(72px, 8vw, 104px) !important;
}

body .section-head {
  max-width: 660px !important;
  margin: 0 auto 34px !important;
  text-align: center !important;
  justify-items: center !important;
}

body .section-head .kicker,
body .section-head > .kicker,
body #contacto .kicker,
body .contact-form .kicker {
  justify-content: center !important;
}

body .section-head h2 {
  max-width: 14ch !important;
  margin-inline: auto !important;
  font-size: clamp(28px, 3vw, 38px) !important;
  letter-spacing: -0.045em !important;
  text-align: center !important;
}

body .section-head p {
  max-width: 52ch !important;
  margin-inline: auto !important;
  text-align: center !important;
}

body .card-grid.three-col,
body .three-col {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 20px !important;
  align-items: stretch !important;
}

body .card,
body .tool-card {
  min-height: 292px !important;
  padding: 26px !important;
  text-align: center !important;
  align-items: center !important;
  justify-content: flex-start !important;
}

body .card-badge {
  margin-left: auto !important;
  margin-right: auto !important;
  max-width: 100% !important;
  justify-content: center !important;
}

body .card-icon {
  margin: 2px auto 8px !important;
}

body .card h3,
body .tool-card h3 {
  max-width: 15ch !important;
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center !important;
}

body .card p,
body .tool-card p {
  max-width: 31ch !important;
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center !important;
}

body .tag-row {
  justify-content: center !important;
  align-items: center !important;
  margin-top: auto !important;
}

body #herramientas .tool-link {
  width: min(100%, 260px) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

body #herramientas .fade-up[style*="text-align:center"] {
  display: flex !important;
  justify-content: center !important;
}

body #blog .blog-feature {
  max-width: 920px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.42fr) !important;
  align-items: center !important;
  text-align: center !important;
}

body #blog .blog-feature > div:first-child {
  display: grid !important;
  justify-items: center !important;
}

body #blog .blog-feature p {
  margin-left: auto !important;
  margin-right: auto !important;
}

body .about-grid,
body .contact-grid {
  align-items: center !important;
  gap: 24px !important;
}

body .about-panel,
body .contact-aside,
body .contact-form {
  text-align: center !important;
}

body .about-methods,
body .contact-route-list {
  display: grid !important;
  gap: 12px !important;
}

body .about-method,
body .contact-route {
  text-align: center !important;
  justify-content: center !important;
}

body .contact-route {
  align-items: center !important;
}

body .field label {
  text-align: left !important;
}

@media (max-width: 1020px) {
  body #hero.hero-intrigue-variant > .wrap.hero-grid,
  body .card-grid.three-col,
  body .three-col,
  body .about-grid,
  body .contact-grid {
    grid-template-columns: 1fr !important;
  }

  body #hero.hero-intrigue-variant .hero-device {
    max-width: 640px !important;
  }

  body .card,
  body .tool-card {
    min-height: auto !important;
  }
}

@media (max-width: 700px) {
  body .wrap {
    width: calc(100vw - 32px) !important;
    max-width: calc(100vw - 32px) !important;
  }

  body #hero.hero-intrigue-variant {
    min-height: 704px !important;
  }

  body #hero.hero-intrigue-variant .hero-copy h1 {
    font-size: clamp(34px, 9.4vw, 42px) !important;
    max-width: 11.2ch !important;
  }

  body #hero.hero-intrigue-variant .hero-copy p {
    max-width: 30ch !important;
    font-size: 14px !important;
  }

  body #hero.hero-intrigue-variant .hero-thesis {
    max-width: 29ch !important;
  }

  body #hero.hero-intrigue-variant .hero-device {
    width: min(76vw, 300px) !important;
  }

  body #especialidades,
  body #herramientas,
  body #blog,
  body #sobre-mi,
  body #contacto {
    padding-top: 62px !important;
    padding-bottom: 62px !important;
  }

  body .section-head {
    max-width: 320px !important;
    margin-bottom: 28px !important;
  }

  body .section-head h2,
  html body #especialidades .section-head h2,
  html body #herramientas .section-head h2,
  html body #blog .section-head h2,
  html body #sobre-mi .section-head h2,
  html body #contacto .section-head h2 {
    max-width: 12.8ch !important;
    font-size: clamp(25px, 7vw, 30px) !important;
    line-height: 1.1 !important;
    margin-inline: auto !important;
  }

  body .section-head p,
  html body #especialidades .section-head p,
  html body #herramientas .section-head p {
    max-width: 30ch !important;
    font-size: 14px !important;
  }

  body .card,
  body .tool-card,
  html body #especialidades .card,
  html body #herramientas .card,
  html body #herramientas .tool-card {
    padding: 22px !important;
    max-width: 100% !important;
  }

  body .card h3,
  body .tool-card h3,
  html body #especialidades .card h3,
  html body #herramientas .tool-card h3 {
    max-width: 14ch !important;
    font-size: clamp(20px, 5.5vw, 22px) !important;
  }

  body .card p,
  body .tool-card p,
  html body #especialidades .card p,
  html body #herramientas .tool-card p {
    max-width: 28ch !important;
  }

  body #blog .blog-feature {
    grid-template-columns: 1fr !important;
  }
}

/* Final alignment correction: equal columns, justified copy and stable tables. */
body .section-head {
  display: grid !important;
  justify-items: center !important;
  text-align: center !important;
}

body .section-head p {
  text-align: center !important;
  max-width: 56ch !important;
}

body .card-grid.three-col,
body .three-col {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  grid-auto-rows: 1fr !important;
  align-items: stretch !important;
}

body .card,
body .tool-card {
  display: grid !important;
  grid-template-rows: auto auto auto 1fr auto !important;
  align-content: start !important;
  justify-items: stretch !important;
  align-items: start !important;
  min-height: 310px !important;
  text-align: left !important;
}

body .card-badge {
  justify-self: start !important;
  margin: 0 0 14px !important;
  text-align: left !important;
}

body .card-icon {
  justify-self: start !important;
  margin: 0 0 18px !important;
}

body .card h3,
body .tool-card h3 {
  max-width: none !important;
  min-height: 2.28em !important;
  margin: 0 0 12px !important;
  text-align: left !important;
}

body .card p,
body .tool-card p,
body .about-panel p,
body .about-method p,
body .contact-aside p,
body .contact-form p,
body .blog-feature p,
body .blog-card p,
body .contact-route small {
  max-width: none !important;
  text-align: justify !important;
  text-align-last: left !important;
  text-wrap: pretty !important;
  hyphens: auto !important;
}

body .tag-row {
  justify-content: flex-start !important;
  align-self: end !important;
  margin-top: 18px !important;
}

body #herramientas .tool-link {
  width: 100% !important;
  max-width: none !important;
  align-self: end !important;
}

body .about-method,
body .contact-route {
  text-align: left !important;
  justify-content: flex-start !important;
}

body .contact-route {
  align-items: flex-start !important;
}

body .about-panel,
body .contact-aside,
body .contact-form {
  text-align: left !important;
}

body .about-panel > h3,
body .contact-aside > h3,
body .contact-form > h3 {
  text-align: left !important;
}

body table {
  width: 100% !important;
  table-layout: fixed !important;
  border-collapse: collapse !important;
}

body th,
body td {
  vertical-align: middle !important;
  overflow-wrap: anywhere !important;
}

body th:first-child,
body td:first-child {
  text-align: left !important;
}

body th:last-child,
body td:last-child {
  text-align: right !important;
  font-variant-numeric: tabular-nums !important;
}

body .tbl-hd,
body .table-header {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  gap: 14px !important;
  align-items: center !important;
}

body .tbl-ti,
body .tbl-su {
  min-width: 0 !important;
}

@media (max-width: 1020px) {
  body .card-grid.three-col,
  body .three-col {
    grid-template-columns: 1fr !important;
    grid-auto-rows: auto !important;
  }

  body .card,
  body .tool-card {
    min-height: auto !important;
  }
}

@media (max-width: 700px) {
  body .section-head p {
    max-width: 31ch !important;
    text-align: center !important;
  }

  body .card,
  body .tool-card,
  html body #especialidades .card,
  html body #herramientas .card,
  html body #herramientas .tool-card {
    text-align: left !important;
    padding: 22px !important;
  }

  body .card h3,
  body .tool-card h3,
  html body #especialidades .card h3,
  html body #herramientas .tool-card h3 {
    max-width: none !important;
    min-height: 0 !important;
    text-align: left !important;
  }

  body .card p,
  body .tool-card p,
  html body #especialidades .card p,
  html body #herramientas .tool-card p {
    max-width: none !important;
    text-align: justify !important;
  }

  body .tag-row,
  html body #especialidades .card .tag-row,
  html body #herramientas .tool-card .tag-row {
    max-width: none !important;
    justify-content: flex-start !important;
  }

  body .tbl-hd,
  body .table-header {
    grid-template-columns: 1fr !important;
    gap: 6px !important;
  }

  body th,
  body td {
    font-size: 12px !important;
  }
}

/* Mobile overflow lock: long technical labels must wrap inside cards. */
@media (max-width: 700px) {
  body .card,
  body .tool-card,
  html body #especialidades .card,
  html body #herramientas .card,
  html body #herramientas .tool-card {
    width: 100% !important;
    max-width: calc(100vw - 32px) !important;
    overflow: hidden !important;
  }

  body .card *,
  body .tool-card * {
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  body .card h3,
  body .tool-card h3,
  html body #especialidades .card h3,
  html body #herramientas .tool-card h3 {
    width: 100% !important;
    max-width: calc(100vw - 76px) !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;
    hyphens: auto !important;
  }

  body .card p,
  body .tool-card p,
  html body #especialidades .card p,
  html body #herramientas .tool-card p {
    width: 100% !important;
    max-width: calc(100vw - 76px) !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;
  }

  body .tag-row,
  html body #especialidades .card .tag-row,
  html body #herramientas .tool-card .tag-row {
    width: 100% !important;
    max-width: calc(100vw - 76px) !important;
  }
}

/* Launch alignment lock: balanced cards, justified copy and non-cutting mobile text. */
html body section > .wrap {
  width: min(1180px, calc(100% - 40px)) !important;
  margin-inline: auto !important;
}

html body .section-head {
  width: 100% !important;
  max-width: 760px !important;
  margin-inline: auto !important;
  text-align: center !important;
  justify-items: center !important;
}

html body .section-head h2,
html body .section-head p {
  margin-left: auto !important;
  margin-right: auto !important;
}

html body .section-head p {
  max-width: 58ch !important;
  text-align: center !important;
  text-wrap: pretty !important;
}

html body .card-grid.three-col,
html body .three-col {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: clamp(18px, 2vw, 26px) !important;
  align-items: stretch !important;
  justify-items: stretch !important;
}

html body .card,
html body .tool-card {
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  min-height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  text-align: left !important;
  overflow: hidden !important;
}

html body .card > *,
html body .tool-card > * {
  min-width: 0 !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

html body .card h3,
html body .tool-card h3 {
  width: 100% !important;
  max-width: 100% !important;
  min-height: 0 !important;
  margin: 0 0 12px !important;
  text-align: left !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  word-break: normal !important;
  text-wrap: balance !important;
}

html body .card p,
html body .tool-card p,
html body .about-panel p,
html body .about-method p,
html body .blog-feature p,
html body .blog-card p,
html body .contact-aside p,
html body .contact-form p,
html body .contact-route small {
  width: 100% !important;
  max-width: 100% !important;
  text-align: justify !important;
  text-align-last: left !important;
  overflow-wrap: anywhere !important;
  word-break: normal !important;
  hyphens: auto !important;
}

html body .tag-row {
  width: 100% !important;
  max-width: 100% !important;
  margin-top: auto !important;
  padding-top: 18px !important;
  display: flex !important;
  justify-content: flex-start !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
}

html body #herramientas .tool-link {
  width: 100% !important;
  margin-top: 18px !important;
  justify-content: center !important;
  text-align: center !important;
}

html body .table-wrap,
html body .table-card,
html body .tbl,
html body table {
  width: 100% !important;
  max-width: 100% !important;
}

html body table {
  table-layout: fixed !important;
  border-collapse: collapse !important;
}

html body th,
html body td {
  min-width: 0 !important;
  vertical-align: middle !important;
  overflow-wrap: anywhere !important;
  word-break: normal !important;
  line-height: 1.45 !important;
}

html body th:first-child,
html body td:first-child {
  text-align: left !important;
}

html body th:not(:first-child),
html body td:not(:first-child) {
  text-align: right !important;
  font-variant-numeric: tabular-nums !important;
}

html body .tbl-hd,
html body .table-header {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  gap: 14px !important;
  align-items: center !important;
}

html body .tbl-ti,
html body .tbl-su {
  min-width: 0 !important;
  max-width: 100% !important;
}

@media (max-width: 1020px) {
  html body .card-grid.three-col,
  html body .three-col {
    grid-template-columns: 1fr !important;
    max-width: 720px !important;
    margin-inline: auto !important;
  }
}

@media (max-width: 700px) {
  html body section > .wrap {
    width: min(100% - 28px, 520px) !important;
  }

  html body .section-head {
    max-width: 100% !important;
  }

  html body .section-head p {
    max-width: 34ch !important;
  }

  html body .card-grid.three-col,
  html body .three-col {
    width: 100% !important;
    max-width: 100% !important;
    gap: 16px !important;
  }

  html body .card,
  html body .tool-card {
    width: 100% !important;
    max-width: 100% !important;
    padding: 22px !important;
  }

  html body .card h3,
  html body .tool-card h3,
  html body .card p,
  html body .tool-card p {
    max-width: 100% !important;
    overflow-wrap: anywhere !important;
  }

  html body .card p,
  html body .tool-card p,
  html body .about-panel p,
  html body .about-method p,
  html body .blog-feature p,
  html body .blog-card p,
  html body .contact-aside p,
  html body .contact-form p,
  html body .contact-route small {
    text-align: left !important;
    hyphens: auto !important;
  }

  html body .tbl-hd,
  html body .table-header {
    grid-template-columns: 1fr !important;
    gap: 6px !important;
  }

  html body th,
  html body td {
    font-size: 12px !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
}

/* Final mobile experience polish: readable copy, centered render and even contact cards. */
html body .contact-grid {
  align-items: stretch !important;
}

html body .contact-aside,
html body .contact-form {
  height: 100% !important;
}

html body .contact-route-list {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 12px !important;
}

html body .contact-route {
  width: 100% !important;
  min-height: 82px !important;
  display: grid !important;
  grid-template-columns: 42px minmax(0, 1fr) !important;
  align-items: center !important;
  gap: 14px !important;
  box-sizing: border-box !important;
}

html body .contact-route > div {
  min-width: 0 !important;
}

html body .contact-route strong,
html body .contact-route small {
  display: block !important;
  max-width: 100% !important;
  overflow-wrap: anywhere !important;
}

@media (max-width: 700px) {
  html body,
  html body input,
  html body select,
  html body textarea,
  html body button {
    font-size: 16px !important;
  }

  html body #hero.hero-intrigue-variant {
    padding-top: 92px !important;
    padding-bottom: 46px !important;
  }

  html body #hero.hero-intrigue-variant > .wrap.hero-grid,
  html body #hero .hero-grid {
    width: min(100% - 28px, 520px) !important;
    max-width: 520px !important;
    margin-inline: auto !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    justify-items: center !important;
    align-items: center !important;
    gap: 24px !important;
    text-align: center !important;
  }

  html body #hero .hero-copy,
  html body #hero .hero-copy p,
  html body #hero .hero-actions {
    width: 100% !important;
    max-width: 520px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
  }

  html body #hero .hero-copy h1 {
    max-width: 11.5ch !important;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
  }

  html body #hero .hero-copy p {
    max-width: 31ch !important;
    font-size: 17px !important;
    line-height: 1.62 !important;
    text-align: center !important;
  }

  html body #hero .hero-thesis {
    font-size: 16px !important;
    line-height: 1.55 !important;
  }

  html body #hero .hero-actions {
    justify-content: center !important;
    gap: 10px !important;
  }

  html body #hero.hero-intrigue-variant .hero-device {
    width: min(100%, 350px) !important;
    max-width: 350px !important;
    min-width: 0 !important;
    margin: 2px auto 0 !important;
    padding: 0 !important;
    justify-self: center !important;
    overflow: visible !important;
  }

  html body #hero.hero-intrigue-variant .hero-device-shell,
  html body #hero.hero-intrigue-variant .hero-screen-render-only,
  html body #hero.hero-intrigue-variant .mac-render-stage,
  html body #hero.hero-intrigue-variant .mac-render-frame,
  html body #hero.hero-intrigue-variant .engineering-visual {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  html body #hero.hero-intrigue-variant .hero-screen-render-only,
  html body #hero.hero-intrigue-variant .mac-render-stage,
  html body #hero.hero-intrigue-variant .mac-render-frame,
  html body #hero.hero-intrigue-variant .engineering-visual {
    aspect-ratio: 4 / 3 !important;
    min-height: 0 !important;
    height: auto !important;
    overflow: hidden !important;
  }

  html body #hero.hero-intrigue-variant .real-gear-render {
    display: block !important;
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    object-fit: contain !important;
    object-position: center center !important;
    transform: none !important;
    margin: 0 auto !important;
  }

  html body .section-head p,
  html body .card p,
  html body .tool-card p,
  html body .about-panel p,
  html body .about-method p,
  html body .blog-feature p,
  html body .blog-card p,
  html body .contact-aside p,
  html body .contact-form p,
  html body .contact-route small,
  html body .about-caption p {
    font-size: 16px !important;
    line-height: 1.62 !important;
  }

  html body .card-badge,
  html body .kicker,
  html body .tag,
  html body .blog-feature-label {
    font-size: 12px !important;
    line-height: 1.2 !important;
  }

  html body .hero-proof small,
  html body .render-attribution,
  html body .visual-chip small {
    display: none !important;
  }

  html body .contact-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    width: min(100% - 28px, 520px) !important;
    margin-inline: auto !important;
  }

  html body .contact-aside,
  html body .contact-form {
    width: 100% !important;
    min-height: 0 !important;
    padding: 24px !important;
    text-align: left !important;
  }

  html body .contact-aside h3,
  html body .contact-form h3 {
    text-align: left !important;
    font-size: clamp(1.55rem, 7vw, 2rem) !important;
    line-height: 1.08 !important;
  }

  html body .contact-route {
    min-height: 78px !important;
    padding: 14px !important;
  }

  html body .contact-route span {
    width: 42px !important;
    height: 42px !important;
    display: grid !important;
    place-items: center !important;
    font-size: 13px !important;
    flex: none !important;
  }

  html body .contact-route strong {
    font-size: 16px !important;
    line-height: 1.25 !important;
  }

  html body .contact-route small {
    margin-top: 4px !important;
    font-size: 15px !important;
    line-height: 1.35 !important;
  }
}

/* Mobile rescue: visual-first layout, no cramped title, no secondary copy clutter. */
@media (max-width: 700px) {
  html,
  body {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

  html body section {
    overflow: hidden !important;
  }

  html body section > .wrap,
  html body .wrap,
  html body .contact-grid {
    width: min(100% - 32px, 430px) !important;
    max-width: 430px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  html body #hero.hero-intrigue-variant {
    min-height: auto !important;
    padding: 92px 0 42px !important;
  }

  html body #hero.hero-intrigue-variant > .wrap.hero-grid {
    width: min(100% - 32px, 430px) !important;
    max-width: 430px !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 26px !important;
    justify-items: center !important;
    align-items: center !important;
    margin: 0 auto !important;
    padding: 0 !important;
    text-align: center !important;
  }

  html body #hero .hero-copy {
    width: 100% !important;
    max-width: 430px !important;
    display: grid !important;
    justify-items: center !important;
    text-align: center !important;
    margin: 0 auto !important;
  }

  html body #hero .kicker {
    margin-bottom: 14px !important;
  }

  html body #hero .hero-copy h1,
  html body #hero.hero-intrigue-variant .hero-copy h1 {
    width: 100% !important;
    max-width: 12.8ch !important;
    margin: 0 auto !important;
    text-align: center !important;
    font-size: clamp(2.42rem, 10.8vw, 3.05rem) !important;
    line-height: 1.08 !important;
    letter-spacing: -0.018em !important;
    word-spacing: 0.02em !important;
    text-wrap: balance !important;
  }

  html body #hero .hero-copy p,
  html body #hero .hero-thesis,
  html body .section-head p,
  html body .card p,
  html body .tool-card p,
  html body .blog-feature p,
  html body .blog-card p,
  html body .about-panel > p,
  html body .about-method p,
  html body .about-caption p,
  html body .contact-aside > p,
  html body .contact-form > p,
  html body .contact-route small {
    display: none !important;
  }

  html body #hero .hero-actions {
    width: 100% !important;
    max-width: 360px !important;
    margin: 24px auto 0 !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    justify-items: stretch !important;
  }

  html body #hero .hero-actions .btn,
  html body #hero .hero-actions a,
  html body #hero .hero-actions button {
    width: 100% !important;
    min-height: 48px !important;
    justify-content: center !important;
    text-align: center !important;
    font-size: 15px !important;
  }

  html body #hero.hero-intrigue-variant .hero-device {
    position: relative !important;
    width: min(100%, 330px) !important;
    max-width: 330px !important;
    min-width: 0 !important;
    height: auto !important;
    margin: 0 auto !important;
    padding: 0 !important;
    justify-self: center !important;
    align-self: center !important;
    transform: none !important;
    overflow: visible !important;
  }

  html body #hero.hero-intrigue-variant .hero-device-shell,
  html body #hero.hero-intrigue-variant .hero-screen-render-only,
  html body #hero.hero-intrigue-variant .mac-render-stage,
  html body #hero.hero-intrigue-variant .mac-render-frame,
  html body #hero.hero-intrigue-variant .engineering-visual {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 4 / 3 !important;
    margin: 0 auto !important;
    padding: 0 !important;
    transform: none !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  html body #hero.hero-intrigue-variant .real-gear-render {
    display: block !important;
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    object-fit: contain !important;
    object-position: center !important;
    transform: none !important;
    opacity: 1 !important;
  }

  html body .section-head {
    margin-bottom: 20px !important;
  }

  html body .section-head h2 {
    max-width: 12ch !important;
    margin-inline: auto !important;
    text-align: center !important;
    font-size: clamp(2rem, 8.5vw, 2.55rem) !important;
    line-height: 1.08 !important;
    letter-spacing: -0.025em !important;
    text-wrap: balance !important;
  }

  html body .card-grid.three-col,
  html body .three-col {
    width: 100% !important;
    max-width: 430px !important;
    gap: 14px !important;
    margin-inline: auto !important;
  }

  html body .card,
  html body .tool-card {
    width: 100% !important;
    min-height: auto !important;
    padding: 22px !important;
    align-items: center !important;
    text-align: center !important;
  }

  html body .card-badge,
  html body .card-icon {
    align-self: center !important;
    justify-self: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  html body .card h3,
  html body .tool-card h3 {
    text-align: center !important;
    max-width: 15ch !important;
    margin-left: auto !important;
    margin-right: auto !important;
    font-size: clamp(1.35rem, 6vw, 1.72rem) !important;
    line-height: 1.12 !important;
    letter-spacing: -0.018em !important;
  }

  html body .tag-row {
    justify-content: center !important;
    margin-top: 16px !important;
    padding-top: 0 !important;
  }

  html body #herramientas .tool-link {
    margin-top: 16px !important;
  }

  html body .contact-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  html body .contact-aside,
  html body .contact-form {
    width: 100% !important;
    height: auto !important;
    padding: 24px !important;
    text-align: center !important;
  }

  html body .contact-aside h3,
  html body .contact-form h3 {
    text-align: center !important;
    max-width: 12ch !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  html body .contact-route-list {
    gap: 10px !important;
  }

  html body .contact-route {
    min-height: 62px !important;
    grid-template-columns: 38px minmax(0, 1fr) !important;
    align-items: center !important;
    padding: 12px 14px !important;
    text-align: left !important;
  }

  html body .contact-route span {
    width: 38px !important;
    height: 38px !important;
    font-size: 12px !important;
  }

  html body .contact-route strong {
    font-size: 16px !important;
    line-height: 1.24 !important;
  }
}

/* Targeted mobile fixes: centered render, tools notice and useful profile copy. */
@media (max-width: 700px) {
  html body #hero.hero-intrigue-variant .hero-grid::before,
  html body #hero.hero-intrigue-variant .hero-grid::after,
  html body #hero.hero-intrigue-variant .hero-device::before,
  html body #hero.hero-intrigue-variant .hero-device::after,
  html body #hero.hero-intrigue-variant .mac-render-stage::before,
  html body #hero.hero-intrigue-variant .mac-render-stage::after,
  html body #hero.hero-intrigue-variant .mac-render-frame::before,
  html body #hero.hero-intrigue-variant .mac-render-frame::after {
    display: none !important;
    content: none !important;
  }

  html body #hero.hero-intrigue-variant .hero-device {
    display: block !important;
    width: min(82vw, 300px) !important;
    max-width: 300px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    justify-self: center !important;
    place-self: center !important;
    left: auto !important;
    right: auto !important;
    translate: none !important;
    transform: none !important;
  }

  html body #hero.hero-intrigue-variant .hero-device-shell {
    position: relative !important;
    width: 100% !important;
    aspect-ratio: 4 / 3 !important;
    margin: 0 auto !important;
    overflow: hidden !important;
  }

  html body #hero.hero-intrigue-variant .hero-screen-render-only,
  html body #hero.hero-intrigue-variant .mac-render-stage,
  html body #hero.hero-intrigue-variant .mac-render-frame,
  html body #hero.hero-intrigue-variant .engineering-visual {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    aspect-ratio: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: none !important;
    overflow: hidden !important;
  }

  html body #hero.hero-intrigue-variant .real-gear-render {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: 50% 50% !important;
    transform: none !important;
  }

  html body .mobile-tools-notice {
    display: block !important;
    padding: 24px 0 44px !important;
  }

  html body .mobile-tools-notice .wrap {
    width: min(100% - 32px, 430px) !important;
    max-width: 430px !important;
    margin-inline: auto !important;
  }

  html body .mobile-tools-card {
    display: grid !important;
    justify-items: center !important;
    text-align: center !important;
    padding: 26px 22px !important;
  }

  html body .mobile-tools-card h2 {
    margin: 10px 0 16px !important;
    font-size: clamp(1.7rem, 8vw, 2.2rem) !important;
    line-height: 1.06 !important;
    letter-spacing: -0.025em !important;
  }

  html body .mobile-tools-card p {
    display: block !important;
    max-width: 28ch !important;
    margin: 0 auto 18px !important;
    font-size: 15px !important;
    line-height: 1.5 !important;
    text-align: center !important;
  }

  html body .tool-shell,
  html body .tool-cards,
  html body .tool-runner {
    display: none !important;
  }

  html body #sobre-mi .about-caption p,
  html body #sobre-mi .about-method p {
    display: block !important;
    font-size: 15px !important;
    line-height: 1.48 !important;
    text-align: center !important;
    margin-top: 8px !important;
  }

  html body #sobre-mi .about-methods {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    margin-top: 18px !important;
  }

  html body #sobre-mi .about-method {
    align-items: center !important;
    text-align: center !important;
    min-height: auto !important;
    padding: 18px !important;
  }

  html body #sobre-mi .about-method span,
  html body #sobre-mi .about-method strong,
  html body #sobre-mi .about-caption span {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}

/* Final surface and mobile composition: one page background, stronger hero render, aligned profile copy. */
html,
body,
main,
section,
.page-hero,
body #hero.hero-intrigue-variant,
body .site-footer {
  background-color: #050b12 !important;
  background-image: none !important;
}

html[data-theme="light"],
html[data-theme="light"] body,
html[data-theme="light"] main,
html[data-theme="light"] section,
html[data-theme="light"] .page-hero,
html[data-theme="light"] body #hero.hero-intrigue-variant,
html[data-theme="light"] body .site-footer {
  background-color: #f6f8fb !important;
  background-image: none !important;
}

body #hero.hero-intrigue-variant::before,
body #hero.hero-intrigue-variant::after,
body section::before,
body section::after {
  background-image: none !important;
}

@media (max-width: 700px) {
  html body #hero.hero-intrigue-variant {
    padding-top: 88px !important;
    padding-bottom: 30px !important;
  }

  html body #hero.hero-intrigue-variant > .wrap.hero-grid {
    gap: 16px !important;
  }

  html body #hero .hero-actions {
    margin-top: 18px !important;
  }

  html body #hero.hero-intrigue-variant .hero-device {
    width: min(88vw, 350px) !important;
    max-width: 350px !important;
    margin-top: -4px !important;
  }

  html body #hero.hero-intrigue-variant .hero-device-shell {
    aspect-ratio: 1.32 / 1 !important;
  }

  html body #sobre-mi .about-caption,
  html body #sobre-mi .about-method {
    align-items: flex-start !important;
    text-align: left !important;
  }

  html body #sobre-mi .about-caption span,
  html body #sobre-mi .about-caption p,
  html body #sobre-mi .about-method span,
  html body #sobre-mi .about-method strong,
  html body #sobre-mi .about-method p {
    text-align: left !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  html body #sobre-mi .about-caption p,
  html body #sobre-mi .about-method p {
    max-width: 100% !important;
  }
}

/* Editorial alignment pass: left-led desktop copy, relaxed hero title and tighter mobile render. */
body #hero.hero-intrigue-variant .hero-copy h1,
html body #hero.hero-intrigue-variant .hero-copy h1,
html body #hero .hero-copy h1 {
  letter-spacing: -0.01em !important;
  word-spacing: 0.03em !important;
}

@media (min-width: 701px) {
  html body .section-head {
    margin-left: 0 !important;
    margin-right: auto !important;
    justify-items: start !important;
    text-align: left !important;
  }

  html body .section-head h2,
  html body .section-head p {
    margin-left: 0 !important;
    margin-right: auto !important;
    text-align: left !important;
  }

  html body .section-head p {
    max-width: 62ch !important;
  }

  html body .card,
  html body .tool-card,
  html body .about-panel,
  html body .about-method,
  html body .blog-feature,
  html body .contact-aside,
  html body .contact-form {
    text-align: left !important;
    align-items: flex-start !important;
  }

  html body .card h3,
  html body .tool-card h3,
  html body .about-panel h3,
  html body .about-method strong,
  html body .blog-feature h3,
  html body .contact-aside h3,
  html body .contact-form h3 {
    text-align: left !important;
    margin-left: 0 !important;
    margin-right: auto !important;
  }

  html body .tag-row {
    justify-content: flex-start !important;
  }

  html body #herramientas .tool-link {
    justify-content: center !important;
  }
}

@media (max-width: 700px) {
  html body #hero .hero-copy h1,
  html body #hero.hero-intrigue-variant .hero-copy h1 {
    letter-spacing: -0.006em !important;
    word-spacing: 0.035em !important;
  }

  html body #hero.hero-intrigue-variant {
    padding-bottom: 24px !important;
  }

  html body #hero.hero-intrigue-variant > .wrap.hero-grid {
    gap: 10px !important;
  }

  html body #hero .hero-actions {
    margin-top: 16px !important;
    margin-bottom: 0 !important;
  }

  html body #hero.hero-intrigue-variant .hero-device {
    width: min(90vw, 360px) !important;
    max-width: 360px !important;
    margin-top: -12px !important;
  }

  html body #hero.hero-intrigue-variant .hero-device-shell {
    aspect-ratio: 1.42 / 1 !important;
  }

  html body #hero.hero-intrigue-variant .real-gear-render {
    object-fit: cover !important;
    object-position: 50% 42% !important;
    transform: scale(1.08) translateY(-2%) !important;
    transform-origin: center center !important;
  }
}

/* Final visual balance: centered layout, breathable type and no top gap in mobile render. */
body #hero.hero-intrigue-variant .hero-copy h1,
html body #hero.hero-intrigue-variant .hero-copy h1,
html body #hero .hero-copy h1 {
  letter-spacing: 0.002em !important;
  word-spacing: 0.06em !important;
  line-height: 1.08 !important;
}

html body .section-head {
  margin-left: auto !important;
  margin-right: auto !important;
  justify-items: center !important;
  text-align: center !important;
}

html body .section-head h2,
html body .section-head p {
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center !important;
}

html body .section-head h2 {
  max-width: 18ch !important;
  line-height: 1.08 !important;
  letter-spacing: -0.012em !important;
  text-wrap: balance !important;
}

html body .section-head p {
  max-width: 58ch !important;
  line-height: 1.65 !important;
}

html body .card,
html body .tool-card,
html body .about-panel,
html body .about-method,
html body .blog-feature,
html body .contact-aside,
html body .contact-form {
  text-align: center !important;
  align-items: center !important;
}

html body .card h3,
html body .tool-card h3,
html body .about-panel h3,
html body .about-method strong,
html body .blog-feature h3,
html body .contact-aside h3,
html body .contact-form h3 {
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
  max-width: 18ch !important;
  line-height: 1.14 !important;
  letter-spacing: -0.01em !important;
  text-wrap: balance !important;
}

html body .card p,
html body .tool-card p,
html body .about-panel p,
html body .about-method p,
html body .blog-feature p,
html body .blog-card p,
html body .contact-aside p,
html body .contact-form p {
  max-width: 42ch !important;
  margin-left: auto !important;
  margin-right: auto !important;
  line-height: 1.62 !important;
  text-align: center !important;
}

html body .tag-row {
  justify-content: center !important;
}

@media (max-width: 700px) {
  html body #hero .hero-copy h1,
  html body #hero.hero-intrigue-variant .hero-copy h1 {
    max-width: 13.4ch !important;
    font-size: clamp(2.32rem, 10.2vw, 2.92rem) !important;
    letter-spacing: 0.004em !important;
    word-spacing: 0.07em !important;
    line-height: 1.1 !important;
  }

  html body #hero.hero-intrigue-variant > .wrap.hero-grid {
    gap: 6px !important;
  }

  html body #hero .hero-actions {
    margin-top: 14px !important;
  }

  html body #hero.hero-intrigue-variant .hero-device {
    width: min(91vw, 365px) !important;
    max-width: 365px !important;
    margin-top: -18px !important;
  }

  html body #hero.hero-intrigue-variant .hero-device-shell {
    aspect-ratio: 1.5 / 1 !important;
  }

  html body #hero.hero-intrigue-variant .real-gear-render {
    object-fit: cover !important;
    object-position: 50% 18% !important;
    transform: scale(1.22) translateY(-9%) !important;
    transform-origin: center top !important;
  }

  html body .section-head h2 {
    max-width: 13ch !important;
  }

  html body .card h3,
  html body .tool-card h3,
  html body .about-panel h3,
  html body .about-method strong,
  html body .blog-feature h3,
  html body .contact-aside h3,
  html body .contact-form h3 {
    max-width: 15ch !important;
  }

  html body #sobre-mi .about-caption,
  html body #sobre-mi .about-method {
    align-items: flex-start !important;
    text-align: left !important;
  }

  html body #sobre-mi .about-caption span,
  html body #sobre-mi .about-caption p,
  html body #sobre-mi .about-method span,
  html body #sobre-mi .about-method strong,
  html body #sobre-mi .about-method p {
    text-align: left !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}

/* Final mobile render spacing: remove the leftover gap before the visual. */
@media (max-width: 700px) {
  html body #hero.hero-intrigue-variant > .wrap.hero-grid {
    gap: 0 !important;
  }

  html body #hero .hero-actions {
    margin-top: 12px !important;
    margin-bottom: 0 !important;
  }

  html body #hero.hero-intrigue-variant .hero-device {
    margin-top: -28px !important;
  }

  html body #hero.hero-intrigue-variant .hero-device-shell {
    transform: translateY(-4px) !important;
  }
}

/* Mobile render hard crop: the image itself has top dead space, so crop and pull it up. */
@media (max-width: 700px) {
  html body #hero.hero-intrigue-variant > .wrap.hero-grid {
    row-gap: 0 !important;
  }

  html body #hero.hero-intrigue-variant .hero-device {
    position: relative !important;
    top: -42px !important;
    margin-top: -20px !important;
    margin-bottom: -42px !important;
  }

  html body #hero.hero-intrigue-variant .hero-device-shell {
    aspect-ratio: 1.72 / 1 !important;
    transform: none !important;
    background: transparent !important;
  }

  html body #hero.hero-intrigue-variant .hero-screen-render-only,
  html body #hero.hero-intrigue-variant .mac-render-stage,
  html body #hero.hero-intrigue-variant .mac-render-frame,
  html body #hero.hero-intrigue-variant .engineering-visual {
    background: transparent !important;
  }

  html body #hero.hero-intrigue-variant .real-gear-render {
    object-fit: cover !important;
    object-position: 50% 82% !important;
    transform: scale(1.42) translateY(-17%) !important;
    transform-origin: center center !important;
  }
}

/* Mobile render focus crop: use the image as a cropped background to remove the top empty band. */
@media (max-width: 700px) {
  html body #hero.hero-intrigue-variant .hero-device {
    width: min(86vw, 340px) !important;
    max-width: 340px !important;
    top: -34px !important;
    margin-top: -18px !important;
    margin-bottom: -38px !important;
  }

  html body #hero.hero-intrigue-variant .hero-device-shell,
  html body #hero.hero-intrigue-variant .hero-screen-render-only,
  html body #hero.hero-intrigue-variant .mac-render-stage,
  html body #hero.hero-intrigue-variant .mac-render-frame,
  html body #hero.hero-intrigue-variant .engineering-visual {
    aspect-ratio: 1 / 1 !important;
    border-radius: 28px !important;
    overflow: hidden !important;
  }

  html body #hero.hero-intrigue-variant .engineering-visual {
    background-image: url("hero-gear-interface-optimized.jpg") !important;
    background-size: 212% auto !important;
    background-position: 50% 56% !important;
    background-repeat: no-repeat !important;
    background-color: #050b12 !important;
  }

  html body #hero.hero-intrigue-variant .real-gear-render {
    opacity: 0 !important;
    visibility: hidden !important;
  }
}

/* Mobile render visibility fix: place the cropped image on the visible frame itself. */
@media (max-width: 700px) {
  html body #hero.hero-intrigue-variant .hero-device,
  html body #hero.hero-intrigue-variant .hero-device-shell {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  html body #hero.hero-intrigue-variant .hero-device-shell {
    width: min(86vw, 340px) !important;
    height: min(86vw, 340px) !important;
    min-height: 0 !important;
    aspect-ratio: 1 / 1 !important;
    background-color: #050b12 !important;
    background-image: url("/assets/hero-gear-interface-optimized.jpg") !important;
    background-size: 215% auto !important;
    background-position: 50% 56% !important;
    background-repeat: no-repeat !important;
    border-radius: 28px !important;
  }

  html[data-theme="light"] body #hero.hero-intrigue-variant .hero-device-shell {
    background-color: #f6f8fb !important;
  }

  html body #hero.hero-intrigue-variant .hero-screen-render-only,
  html body #hero.hero-intrigue-variant .mac-render-stage,
  html body #hero.hero-intrigue-variant .mac-render-frame,
  html body #hero.hero-intrigue-variant .engineering-visual {
    background: transparent !important;
  }

  html body #hero.hero-intrigue-variant .real-gear-render {
    display: none !important;
  }
}

/* Mobile render restore: show the real image and crop inside a compact frame. */
@media (max-width: 700px) {
  html body #hero.hero-intrigue-variant .hero-device {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: min(90vw, 360px) !important;
    max-width: 360px !important;
    top: -28px !important;
    margin: -14px auto -34px !important;
  }

  html body #hero.hero-intrigue-variant .hero-device-shell {
    display: block !important;
    position: relative !important;
    width: 100% !important;
    height: 218px !important;
    min-height: 0 !important;
    aspect-ratio: auto !important;
    overflow: hidden !important;
    background: #050b12 !important;
    background-image: none !important;
    border-radius: 28px !important;
  }

  html[data-theme="light"] body #hero.hero-intrigue-variant .hero-device-shell {
    background: #f6f8fb !important;
  }

  html body #hero.hero-intrigue-variant .hero-screen-render-only,
  html body #hero.hero-intrigue-variant .mac-render-stage,
  html body #hero.hero-intrigue-variant .mac-render-frame,
  html body #hero.hero-intrigue-variant .engineering-visual {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    aspect-ratio: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    background: transparent !important;
  }

  html body #hero.hero-intrigue-variant .real-gear-render {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: absolute !important;
    left: 50% !important;
    top: -78px !important;
    width: 430px !important;
    max-width: none !important;
    height: auto !important;
    transform: translateX(-50%) !important;
    object-fit: initial !important;
    object-position: center !important;
  }
}

/* Mobile render final crop: larger gear, no top blank band. */
@media (max-width: 700px) {
  html body #hero.hero-intrigue-variant .hero-device {
    width: min(94vw, 390px) !important;
    max-width: 390px !important;
    top: -34px !important;
    margin: -24px auto -42px !important;
  }

  html body #hero.hero-intrigue-variant .hero-device-shell {
    height: 255px !important;
    border-radius: 30px !important;
  }

  html body #hero.hero-intrigue-variant .real-gear-render {
    left: 50% !important;
    top: -138px !important;
    width: 640px !important;
    max-width: none !important;
    height: auto !important;
    transform: translateX(-50%) !important;
  }
}

/* Absolute final mobile render reset: full image, no crop, no offsets. */
@media (max-width: 700px) {
  html body #hero.hero-intrigue-variant > .wrap.hero-grid {
    gap: 8px !important;
    row-gap: 8px !important;
  }

  html body #hero .hero-actions {
    margin-top: 14px !important;
    margin-bottom: 0 !important;
    position: relative !important;
    z-index: 1 !important;
  }

  html body #hero.hero-intrigue-variant .hero-device {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    width: min(94vw, 400px) !important;
    max-width: 400px !important;
    height: auto !important;
    margin: 0 auto -8px !important;
    padding: 0 !important;
    overflow: visible !important;
    transform: none !important;
  }

  html body #hero.hero-intrigue-variant .hero-device-shell,
  html body #hero.hero-intrigue-variant .hero-screen-render-only,
  html body #hero.hero-intrigue-variant .mac-render-stage,
  html body #hero.hero-intrigue-variant .mac-render-frame,
  html body #hero.hero-intrigue-variant .engineering-visual {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: auto !important;
    margin: 0 auto !important;
    padding: 0 !important;
    overflow: visible !important;
    transform: none !important;
    background: transparent !important;
    background-image: none !important;
  }

  html body #hero.hero-intrigue-variant .hero-device-shell {
    border-radius: 24px !important;
    overflow: hidden !important;
    background: #050b12 !important;
  }

  html[data-theme="light"] body #hero.hero-intrigue-variant .hero-device-shell {
    background: #050b12 !important;
  }

  html body #hero.hero-intrigue-variant .real-gear-render {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    inset: auto !important;
    left: auto !important;
    top: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    object-fit: contain !important;
    object-position: center center !important;
    transform: none !important;
  }
}

/* LAST RULE: mobile uses a simple standalone render, desktop keeps the full frame. */
html body #hero.hero-intrigue-variant .hero-mobile-render-simple {
  display: none !important;
}

@media (max-width: 700px) {
  html body #hero.hero-intrigue-variant > .wrap.hero-grid {
    gap: 8px !important;
    row-gap: 8px !important;
  }

  html body #hero.hero-intrigue-variant .hero-device {
    display: none !important;
  }

  html body #hero.hero-intrigue-variant .hero-mobile-render-simple {
    display: block !important;
    width: min(96vw, 410px) !important;
    max-width: 410px !important;
    margin: 8px auto -8px !important;
    padding: 0 !important;
    border-radius: 24px !important;
    overflow: hidden !important;
    background: #050b12 !important;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28) !important;
  }

  html body #hero.hero-intrigue-variant .hero-mobile-render-simple img {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    transform: none !important;
    object-fit: contain !important;
    object-position: center center !important;
  }
}

/* Final text/layout alignment: mobile render crop, equal tool cards and readable profile methods. */
@media (max-width: 700px) {
  html body #hero.hero-intrigue-variant .hero-mobile-render-simple {
    width: min(96vw, 420px) !important;
    max-width: 420px !important;
    height: 250px !important;
    margin: 2px auto -10px !important;
    border-radius: 26px !important;
  }

  html body #hero.hero-intrigue-variant .hero-mobile-render-simple img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: 50% 64% !important;
  }
}

@media (min-width: 701px) {
  html body #herramientas .card-grid.three-col {
    align-items: stretch !important;
  }

  html body #herramientas .tool-card {
    display: grid !important;
    grid-template-rows: auto auto minmax(3.3em, auto) minmax(5.4em, auto) auto auto !important;
    align-items: start !important;
    justify-items: center !important;
    height: 100% !important;
    text-align: center !important;
  }

  html body #herramientas .tool-card h3 {
    min-height: 3.3em !important;
    display: grid !important;
    place-items: center !important;
    margin-bottom: 0 !important;
  }

  html body #herramientas .tool-card p {
    min-height: 5.4em !important;
    display: grid !important;
    align-items: start !important;
    margin: 0 auto !important;
    text-align: center !important;
  }

  html body #herramientas .tool-card .tag-row {
    align-self: end !important;
    justify-content: center !important;
    margin-top: 0 !important;
  }

  html body #herramientas .tool-card .tool-link {
    align-self: end !important;
    margin-top: 16px !important;
  }
}

html body #sobre-mi .about-method,
html body #sobre-mi .about-methods .about-method {
  align-items: flex-start !important;
  text-align: left !important;
}

html body #sobre-mi .about-method span,
html body #sobre-mi .about-method strong,
html body #sobre-mi .about-method p {
  text-align: left !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* Mobile hero render fallback: simple real image, independent from the complex desktop frame. */
html body #hero.hero-intrigue-variant .hero-mobile-render-simple {
  display: none !important;
}

@media (max-width: 700px) {
  html body #hero.hero-intrigue-variant .hero-device {
    display: none !important;
  }

  html body #hero.hero-intrigue-variant .hero-mobile-render-simple {
    display: block !important;
    width: min(96vw, 410px) !important;
    max-width: 410px !important;
    margin: 8px auto -8px !important;
    padding: 0 !important;
    border-radius: 24px !important;
    overflow: hidden !important;
    background: #050b12 !important;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28) !important;
  }

  html body #hero.hero-intrigue-variant .hero-mobile-render-simple img {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    object-fit: contain !important;
    object-position: center center !important;
    transform: none !important;
  }
}

/* Definitive no-crop mobile render: full image, centered, tight spacing. */
@media (max-width: 700px) {
  html body #hero.hero-intrigue-variant > .wrap.hero-grid {
    gap: 0 !important;
    row-gap: 0 !important;
  }

  html body #hero .hero-actions {
    margin-top: 14px !important;
    margin-bottom: -8px !important;
  }

  html body #hero.hero-intrigue-variant .hero-device {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    top: auto !important;
    width: min(94vw, 390px) !important;
    max-width: 390px !important;
    height: auto !important;
    margin: 0 auto -10px !important;
    padding: 0 !important;
    overflow: visible !important;
    transform: none !important;
  }

  html body #hero.hero-intrigue-variant .hero-device-shell {
    display: block !important;
    position: relative !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 1448 / 1086 !important;
    margin: 0 auto !important;
    padding: 0 !important;
    overflow: hidden !important;
    transform: none !important;
    background: #050b12 !important;
    background-image: none !important;
    border-radius: 24px !important;
  }

  html[data-theme="light"] body #hero.hero-intrigue-variant .hero-device-shell {
    background: #050b12 !important;
  }

  html body #hero.hero-intrigue-variant .hero-screen-render-only,
  html body #hero.hero-intrigue-variant .mac-render-stage,
  html body #hero.hero-intrigue-variant .mac-render-frame,
  html body #hero.hero-intrigue-variant .engineering-visual {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    aspect-ratio: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    transform: none !important;
    background: transparent !important;
  }

  html body #hero.hero-intrigue-variant .real-gear-render {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    object-fit: contain !important;
    object-position: center center !important;
    transform: none !important;
  }
}

/* Mobile render stable center: no manual offsets, no empty band. */
@media (max-width: 700px) {
  html body #hero.hero-intrigue-variant .hero-device {
    width: min(92vw, 380px) !important;
    max-width: 380px !important;
    top: 0 !important;
    margin: -10px auto -18px !important;
    transform: none !important;
  }

  html body #hero.hero-intrigue-variant .hero-device-shell {
    width: 100% !important;
    height: 265px !important;
    min-height: 0 !important;
    aspect-ratio: auto !important;
    overflow: hidden !important;
    background: #050b12 !important;
  }

  html[data-theme="light"] body #hero.hero-intrigue-variant .hero-device-shell {
    background: #050b12 !important;
  }

  html body #hero.hero-intrigue-variant .real-gear-render {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: 50% 58% !important;
    transform: none !important;
  }
}

/* Definitive mobile hero render: larger, centered and pulled tight under the CTAs. */
@media (max-width: 700px) {
  html body #hero.hero-intrigue-variant > .wrap.hero-grid {
    gap: 0 !important;
    row-gap: 0 !important;
  }

  html body #hero .hero-actions {
    margin-top: 14px !important;
    margin-bottom: -36px !important;
    position: relative !important;
    z-index: 2 !important;
  }

  html body #hero.hero-intrigue-variant .hero-device {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    top: auto !important;
    width: min(96vw, 410px) !important;
    max-width: 410px !important;
    height: 260px !important;
    margin: -58px auto -52px !important;
    padding: 0 !important;
    overflow: visible !important;
    transform: none !important;
  }

  html body #hero.hero-intrigue-variant .hero-device-shell {
    display: block !important;
    position: relative !important;
    width: 100% !important;
    height: 260px !important;
    min-height: 0 !important;
    aspect-ratio: auto !important;
    margin: 0 auto !important;
    padding: 0 !important;
    overflow: hidden !important;
    transform: none !important;
    background: #050b12 !important;
    background-image: none !important;
    border-radius: 30px !important;
  }

  html[data-theme="light"] body #hero.hero-intrigue-variant .hero-device-shell {
    background: #050b12 !important;
  }

  html body #hero.hero-intrigue-variant .hero-screen-render-only,
  html body #hero.hero-intrigue-variant .mac-render-stage,
  html body #hero.hero-intrigue-variant .mac-render-frame,
  html body #hero.hero-intrigue-variant .engineering-visual {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    aspect-ratio: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    transform: none !important;
    background: transparent !important;
  }

  html body #hero.hero-intrigue-variant .real-gear-render {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: absolute !important;
    left: 50% !important;
    top: -126px !important;
    width: 720px !important;
    max-width: none !important;
    height: auto !important;
    min-height: 0 !important;
    object-fit: initial !important;
    object-position: center !important;
    transform: translateX(-50%) !important;
  }
}

/* Final launch layout lock: mobile render, equal tools and readable profile copy. */
@media (max-width: 700px) {
  html body #hero.hero-intrigue-variant {
    overflow: hidden !important;
    padding-top: 28px !important;
    padding-bottom: 24px !important;
  }

  html body #hero.hero-intrigue-variant > .wrap.hero-grid {
    box-sizing: border-box !important;
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 24px !important;
    padding-right: 24px !important;
    gap: 0 !important;
    row-gap: 0 !important;
    justify-items: center !important;
  }

  html body #hero.hero-intrigue-variant .hero-copy {
    width: 100% !important;
    max-width: min(342px, calc(100vw - 48px)) !important;
    margin-inline: auto !important;
    padding-bottom: 0 !important;
    align-items: flex-start !important;
    text-align: left !important;
  }

  html body #hero.hero-intrigue-variant .kicker {
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    align-self: flex-start !important;
  }

  html body #hero.hero-intrigue-variant .hero-copy h1 {
    max-width: 10.5ch !important;
    font-size: clamp(36px, 10.8vw, 44px) !important;
    line-height: 1.05 !important;
    letter-spacing: -0.04em !important;
    text-align: left !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  html body #hero.hero-intrigue-variant .hero-copy p {
    max-width: 32ch !important;
    text-align: left !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  html body #hero .hero-actions {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    width: min(100%, 274px) !important;
    max-width: 274px !important;
    margin-top: 14px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-bottom: 8px !important;
    padding-bottom: 0 !important;
    align-self: flex-start !important;
    justify-self: start !important;
  }

  html body #hero .hero-actions .btn,
  html body #hero .hero-actions a,
  html body #hero .hero-actions button {
    box-sizing: border-box !important;
    max-width: 100% !important;
  }

  html body #hero.hero-intrigue-variant .hero-device {
    display: none !important;
  }

  html body #hero.hero-intrigue-variant .hero-mobile-render-simple {
    display: block !important;
    box-sizing: border-box !important;
    width: min(80vw, 330px) !important;
    max-width: calc(100vw - 44px) !important;
    height: auto !important;
    margin: 0 auto -12px !important;
    padding: 0 !important;
    border-radius: 26px !important;
    overflow: hidden !important;
    background: #050b12 !important;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28) !important;
  }

  html body #hero.hero-intrigue-variant .hero-mobile-render-simple img {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    transform: none !important;
    object-fit: contain !important;
    object-position: center center !important;
  }
}

@media (min-width: 701px) {
  html body #herramientas .card-grid.three-col {
    align-items: stretch !important;
  }

  html body #herramientas .tool-card {
    display: grid !important;
    grid-template-rows: auto auto minmax(3.3em, auto) minmax(5.4em, auto) auto auto !important;
    align-items: start !important;
    justify-items: center !important;
    height: 100% !important;
    text-align: center !important;
  }

  html body #herramientas .tool-card h3 {
    min-height: 3.3em !important;
    display: grid !important;
    place-items: center !important;
    margin-bottom: 0 !important;
  }

  html body #herramientas .tool-card p {
    min-height: 5.4em !important;
    display: grid !important;
    align-items: start !important;
    margin: 0 auto !important;
    text-align: center !important;
  }

  html body #herramientas .tool-card .tag-row {
    align-self: end !important;
    justify-content: center !important;
    margin-top: 0 !important;
  }

  html body #herramientas .tool-card .tool-link {
    align-self: end !important;
    margin-top: 16px !important;
  }
}

html body #sobre-mi .about-method,
html body #sobre-mi .about-methods .about-method {
  align-items: flex-start !important;
  text-align: left !important;
}

html body #sobre-mi .about-method span,
html body #sobre-mi .about-method strong,
html body #sobre-mi .about-method p {
  text-align: left !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}
