/* Public pages only; authenticated styles are not imported or modified here. */
/* 01. Tokens. Literal colors live here only; see docs/diseno/sistema.md.
   Preserve font-face registration order and the Bootstrap/login guard. */
:root{
  --ink:#101a36;--navy:var(--ink);--navy2:#16244a;--navy-deep:#0b1328;
  --teal:#31c4c5;--paper:#f6f7f3;--mist:#e6efee;--line:#c9d8d7;
  --muted:#405668;--darkteal:#0f6f6e;--diagnostic:#dcecea;--landing-header-height:80px;
  --border:var(--line);--border-strong:#91aaa9;--border-on-dark:#627987;
  --border-inverse:rgba(255,255,255,.14);--border-inverse-soft:rgba(255,255,255,.1);
  --text-muted:var(--muted);--text-soft:#536478;--text-inverse:#fff;
  --text-on-dark:#e2eeed;--text-soft-on-dark:#b8d9d8;--text-nav:#c4d0df;
  --teal-on-dark:#86dfdc;--teal-hover:#6de0de;--navy-hover:#273969;
  --surface:#f7faf8;--surface-raised:#fff;--surface-document:#fffefa;
  --surface-subtle:#edf3ef;--surface-inactive:#e8eae7;--surface-hover:#d2e7e4;
  --alert:#c2410c;--border-alert:#e3c6c6;
  /* Cartographic blue is a category, not a brand/action color. */
  --map-generator:#265eaa;--map-road:#f7f9f5;--map-line:#b4cecb;
  --map-area:#b5d9d5;--map-area-line:#549d9d;--map-login-line:#86b3b8;
  --decoration-ring:rgba(140,195,210,.12);--decoration-ring-soft:rgba(140,195,210,.025);
  --decoration-ring-faint:rgba(140,195,210,.02);--decoration-workshop:#508a9b40;
  --decoration-login:#72b7b754;--decoration-login-soft:#8ec4c411;--decoration-login-faint:#8ec4c40a;
  --backdrop:rgba(12,27,50,.85);--backdrop-sandbox:#101a36a6;
  --backdrop-orion:#101a3630;
  --font-body:"DM Sans",sans-serif;--font-display:Manrope,sans-serif;
  --font-login-legacy:"Manrope Login",sans-serif;
  --tracking-title:-.055em;--tracking-hero:-.062em;--tracking-eyebrow:.12em;
  --type-xs:12px;--type-sm:14px;--type-label:15px;--type-input:16px;
  --type-body-mobile:17px;--type-body:18px;--type-lead-mobile:19px;
  --type-lead:22px;--type-title-small:24px;--type-title:27px;
  --type-dialog:32px;--type-heading-mobile:34px;--type-hero-mobile:44px;
  --type-heading:52px;--type-hero:76px;
  /* Legacy geometry: icons, wordmark, counters and secondary page headings. */
  --type-caption:13px;--type-card:20px;--type-kpi:21px;--type-form-title:23px;
  --type-control-icon:25px;--type-brand:28px;--type-comparison:30px;
  --type-tour-title:31px;--type-heading-fallback:35px;--type-feature:36px;
  --type-proof-min:25px;--type-proof:39px;--type-workshop-mobile:40px;
  --type-subpage-min:42px;--type-workshop-min:43px;--type-login-title:48px;
  --type-heading-fallback-max:54px;--type-closing-min:33px;--type-closing:55px;
  --type-workshop-mobile-max:58px;--type-subpage-mobile:60px;--type-step:64px;
  --type-subpage:68px;--type-workshop:72px;--type-practice-min:26px;
  --type-close:1.6rem;
  --radius-sm:6px;--radius:8px;--radius-md:12px;--radius-lg:18px;--radius-pill:999px;
  --radius-circle:50%;--radius-flat:0;
  /* Small chart/indicator corners intentionally retain their original geometry. */
  --radius-chart:4px;--radius-indicator:3px;
  --shadow-offset-lg:16px 18px 0 #26395a;--shadow-offset:12px 12px 0 #cbdedb;
  --shadow-offset-sm:8px 8px 0 #426c75;--shadow-float:0 4px 20px #101a3655;
  --shadow-hero-depth:0 28px 70px #060e2277;--shadow-panel:0 22px 50px #182f3e14;
  --shadow-dialog:0 25px 90px #0e203e77;--shadow-sandbox:0 24px 80px #101a3633;
  --shadow-notice:0 8px 30px #0002;--shadow-cookie:0 8px 35px #101a3655;
  --shadow-nav:0 16px 30px #05102566;--shadow-tab:0 3px 9px #15364b23;
  --shadow-selected:inset 0 -3px var(--teal-on-dark);
  --shadow-sim:0 9px 25px #1638490c;--shadow-pos:12px 12px 0 #d5e6e1;
  --shadow-pos-mobile:7px 7px 0 #d5e6e1;--shadow-offset-mobile:6px 6px 0 #cbdedb;
  --shadow-hero-mobile:7px 9px 0 #26395a;
  --shadow-orion-launcher:0 6px 24px #101a3633;--shadow-orion-panel:0 24px 80px #101a3660;
  --shadow-hero-rings:0 0 0 110px var(--decoration-ring-soft),0 0 0 220px var(--decoration-ring-faint);
  --shadow-login-rings:0 0 0 75px var(--decoration-login-soft),0 0 0 150px var(--decoration-login-faint);
  --button-md:56px;--button-sm:44px;--button-hover-y:-2px;
  --wrap-width:1240px;--section-space:100px;--section-space-mobile:70px;
  --header-height:80px;--header-height-mobile:70px;--noise-opacity:.035;
  --focus-width:3px;--focus-color:var(--teal);
}
@font-face{font-family:"DM Sans";font-style:normal;font-weight:400;font-display:swap;src:url("/static/fonts/landing/dm-sans-400.woff2") format("woff2")}
@font-face{font-family:"DM Sans";font-style:normal;font-weight:500;font-display:swap;src:url("/static/fonts/landing/dm-sans-500.woff2") format("woff2")}
@font-face{font-family:"DM Sans";font-style:normal;font-weight:600;font-display:swap;src:url("/static/fonts/landing/dm-sans-600.woff2") format("woff2")}
@font-face{font-family:"DM Sans";font-style:normal;font-weight:700;font-display:swap;src:url("/static/fonts/landing/dm-sans-700.woff2") format("woff2")}
@font-face{font-family:Manrope;font-style:normal;font-weight:400;font-display:swap;src:url("/static/fonts/landing/manrope-400.woff2") format("woff2")}
@font-face{font-family:Manrope;font-style:normal;font-weight:500;font-display:swap;src:url("/static/fonts/landing/manrope-500.woff2") format("woff2")}
@font-face{font-family:Manrope;font-style:normal;font-weight:600;font-display:swap;src:url("/static/fonts/landing/manrope-600.woff2") format("woff2")}
@font-face{font-family:Manrope;font-style:normal;font-weight:700;font-display:swap;src:url("/static/fonts/landing/manrope-700.woff2") format("woff2")}
@font-face{font-family:Manrope;font-style:normal;font-weight:800;font-display:swap;src:url("/static/fonts/landing/manrope-800.woff2") format("woff2")}
/* Login previously had only Manrope 800: retain its exact face at requested 700. */
@font-face{font-family:"Manrope Login";font-style:normal;font-weight:700;font-display:swap;src:url("/static/fonts/landing/manrope-800.woff2") format("woff2")}

/* 02. Base, typography and shared controls
   Zero-specificity guards retain login's inherited Bootstrap base. */
[hidden]{display:none!important} /* Author grid/flex must never reveal hidden UI. */
:where(html:not(:has(.client-login))) *{box-sizing:border-box}
html:where(:not(:has(.client-login))){scroll-behavior:smooth}
:where(html:not(:has(.client-login))) body{margin:0;font-family:var(--font-body);-webkit-font-smoothing:antialiased}
:where(html:not(:has(.client-login))) body::after{content:"";position:fixed;inset:0;pointer-events:none;z-index:20;opacity:var(--noise-opacity);background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E")}
:where(html:not(:has(.client-login))) a{color:inherit;text-decoration:none}
:where(html:not(:has(.client-login))) input,:where(html:not(:has(.client-login))) select,:where(html:not(:has(.client-login))) textarea{font:inherit}
:where(html:not(:has(.client-login))) button{font:inherit;cursor:pointer}
:where(html:not(:has(.client-login))) a:focus-visible,:where(html:not(:has(.client-login))) button:focus-visible,:where(html:not(:has(.client-login))) input:focus-visible,:where(html:not(:has(.client-login))) select:focus-visible,:where(html:not(:has(.client-login))) textarea:focus-visible,:where(html:not(:has(.client-login))) summary:focus-visible{outline:var(--focus-width) solid var(--focus-color);outline-offset:4px}
:where(html:not(:has(.client-login))) img{max-width:100%}
:where(html:not(:has(.client-login))) .eyebrow::before{content:"";width:19px;height:1px;background:currentColor}
:where(html:not(:has(.client-login))) h1,:where(html:not(:has(.client-login))) h3,:where(html:not(:has(.client-login))) p{margin-top:0}
:where(html:not(:has(.client-login))) h2{margin-top:0;line-height:1.12}
:where(html:not(:has(.client-login))) .button{display:inline-flex;align-items:center;justify-content:center;gap:18px;padding:0 22px;border-radius:var(--radius);border:1px solid transparent;font-weight:700;white-space:nowrap;transition:transform .25s,background .25s,color .25s}
:where(html:not(:has(.client-login))) .button:hover{transform:translateY(var(--button-hover-y))}
:where(html:not(:has(.client-login))) .button .arrow{font-size:var(--type-kpi);font-weight:400;line-height:1}
:where(html:not(:has(.client-login))) .button-primary{background:var(--teal);color:var(--ink)}
:where(html:not(:has(.client-login))) .button-primary:hover{background:var(--teal-hover)}
:where(html:not(:has(.client-login))) .button-outline{border-color:var(--border-strong);color:var(--paper);background:transparent}
:where(html:not(:has(.client-login))) .button-outline:hover{background:var(--navy-hover)}
:where(html:not(:has(.client-login))) .button-dark{color:var(--text-inverse)}
:where(html:not(:has(.client-login))) .button-dark:hover{background:var(--navy-hover)}
:where(html:not(:has(.client-login))) .button-ghost-teal{background:transparent;color:var(--darkteal);border-color:var(--darkteal)}
:where(html:not(:has(.client-login))) .button-ghost-teal:hover{background:var(--surface-hover)}
:where(html:not(:has(.client-login))) .button.button-sm{min-height:var(--button-sm)}
.dot-c{top:13%;right:26%;width:5px;height:5px}
@keyframes demo-fill{100%{transform:scaleX(1)}}
@keyframes panel-in{0%{opacity:0;transform:translateY(9px)}100%{opacity:1;transform:translateY(0)}}
.conversation{display:flex;flex-direction:column;gap:16px;margin-top:18px}
.message{display:flex;flex-direction:column;align-items:flex-start;max-width:min(88%,610px)}
.optional{font-weight:400;color:var(--text-soft)}
:where(html:not(:has(.client-login))) .eyebrow{display:inline-flex;align-items:center;gap:10px;text-transform:uppercase;font-weight:800;letter-spacing:var(--tracking-eyebrow)}
.feature{position:relative;overflow:hidden;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-md);display:flex;flex-direction:column;align-items:start;grid-row:auto;padding:27px;min-height:258px}
.feature h3{line-height:1.2;margin:0 0 10px;font-size:clamp(var(--type-title),2.3vw,var(--type-feature))}
.feature p{max-width:380px;color:var(--text-soft);margin-bottom:0;font-size:var(--type-input);line-height:1.5}
.three-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:30px 0}
.three-grid article{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-md);padding:26px}
.section-cta{margin-top:30px;max-width:100%;white-space:normal;text-align:center;padding-block:10px}
p,li{font-size:var(--type-body-mobile);line-height:1.65}
h1,h2,h3{font-family:var(--font-display);font-weight:800;letter-spacing:var(--tracking-title)}
h2{font-size:clamp(var(--type-heading-fallback),4vw,var(--type-heading-fallback-max))}
.wrap{margin-inline:auto;width:min(var(--wrap-width),100% - 64px)}
.section{scroll-margin-top:85px;padding:var(--section-space) 0}
.button-dark{background:var(--navy2)}
.section-heading{max-width:780px;margin-bottom:36px}
.section-heading p{font-size:var(--type-lead-mobile);color:var(--muted);margin:14px 0 0}
#diag-map{width:100%;height:285px;border-radius:var(--radius);border:1px solid var(--border-strong);overflow:hidden;margin-top:10px;background:var(--diagnostic)}
body{background:var(--paper);color:var(--ink);font-size:var(--type-body)}
main p,main li{font-size:var(--type-body)}
main h2{font-size:clamp(var(--type-heading-mobile),4vw,var(--type-heading))}
main h3{font-size:clamp(var(--type-title-small),2.1vw,var(--type-title))}
.three-grid h3{letter-spacing:-.025em;font-size:clamp(var(--type-title-small),2.1vw,var(--type-title))}
.button{font-size:var(--type-body-mobile);min-height:var(--button-md)}
.section .eyebrow,.eyebrow{color:var(--darkteal);font-size:var(--type-label)}
#diag-map-status{color:var(--text-muted);margin:8px 0;font-size:var(--type-label)}
.three-grid p{color:var(--muted);margin:0;font-size:var(--type-body)}
.section-lead{max-width:800px;font-size:var(--type-body)}
main small,main figcaption{font-size:var(--type-label)}
.line-icon{display:block;width:30px;height:30px;flex:0 0 30px;color:var(--darkteal);margin-bottom:16px}

/* 03. Header and navigation */
.brand{display:inline-flex;align-items:center;flex:0 0 auto;gap:9px;font:800 var(--type-brand)/1 var(--font-display);letter-spacing:var(--tracking-title)}
.brand .brand-symbol{display:block;flex:0 0 auto;width:78px;height:64px}
.brand .brand-symbol img{display:block;position:static;width:100%;height:100%;object-fit:contain;transform:none}
.brand strong{font-weight:800;color:var(--text-inverse)}
.header-nav a:hover{color:var(--teal)}
.menu-toggle{display:none;color:var(--text-inverse);background:none;border:1px solid var(--border-on-dark);border-radius:var(--radius-sm);width:44px;height:42px;align-items:center;justify-content:center;font-size:var(--type-control-icon)}
.header-nav a[aria-current="location"]{color:var(--teal-on-dark);border-color:var(--teal-on-dark);font-weight:700}
.site-header{color:var(--paper);position:sticky;top:0;z-index:30;height:var(--header-height);background:var(--ink);border-bottom:1px solid var(--border-inverse)}
.header-inner{height:100%;display:flex;align-items:center;gap:20px}
.header-actions{display:flex;align-items:center;gap:14px}
.header-actions .client-access:hover{color:var(--teal)}
.header-nav .mobile-clients{display:none}
.header-actions .button{display:inline-flex;font-size:var(--type-body-mobile);min-height:var(--button-md);padding:0 18px}
.header-nav{margin:auto 0 auto auto;display:flex;align-items:center;color:var(--text-nav);gap:25px;font-size:var(--type-label)}
.header-nav a{padding:10px 0;border-bottom:2px solid transparent;white-space:nowrap;font-size:var(--type-label)}
.header-actions .client-access{display:inline-flex;align-items:center;gap:8px;border-left:1px solid var(--border-on-dark);padding-left:19px;color:var(--text-on-dark);font-weight:700;white-space:nowrap;font-size:var(--type-label)}

/* 04. Landing / hero */
:where(html:not(:has(.client-login))) .hero .eyebrow{color:var(--teal-on-dark)}
.hero h1 em{font-style:normal;color:var(--teal-on-dark)}
.hero-copy{padding:0}
.hero-buttons{display:flex;gap:12px;flex-wrap:wrap;margin-top:28px}
.hero .eyebrow{max-width:100%;line-height:1.6}
.hero{position:relative;overflow:hidden;color:var(--paper);scroll-margin-top:85px;background:var(--ink);padding:86px 0 102px}
.hero::before{content:"";position:absolute;width:700px;height:700px;border:1px solid var(--decoration-ring);border-radius:var(--radius-circle);right:-160px;top:-270px;box-shadow:var(--shadow-hero-rings);display:none}
.hero-layout{display:grid;align-items:center;position:relative;grid-template-columns:minmax(0,1fr) minmax(0,.97fr);gap:clamp(36px,5vw,82px)}
.hero-product{background:var(--surface);color:var(--ink);border-radius:var(--radius-md);box-shadow:var(--shadow-offset-lg),var(--shadow-hero-depth);overflow:hidden;border:1px solid var(--border-strong);position:relative}
.hero-product-main{padding:22px}
.territory-map{width:100%;height:auto;display:block;border:1px solid var(--border);border-radius:var(--radius)}
.hero-product-cards{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:12px}
.hero-product-cards>div{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface-document);padding:12px}
.hero-product-cards strong{display:block;font:800 var(--type-kpi) var(--font-display);margin:5px 0}
.hero-product-cards .negative{color:var(--alert)}
.hero h1{letter-spacing:var(--tracking-hero);margin:18px 0 24px;line-height:1.06;font-weight:800;max-width:710px;font-size:clamp(var(--type-hero-mobile),5.9vw,var(--type-hero))}
.hero-lead{max-width:610px;margin:0 0 12px;font-weight:400;line-height:1.55;color:var(--text-on-dark);font-size:var(--type-lead)}
.hero-buttons .button{font-size:var(--type-body-mobile);min-height:var(--button-md)}
.hero-trust{margin:23px 0 0;color:var(--text-soft-on-dark);line-height:1.5;font-size:var(--type-label)}
.hero-product-top{background:var(--navy2);color:var(--text-on-dark);padding:16px 22px;display:flex;justify-content:space-between;gap:12px;font:700 var(--type-label) var(--font-display)}
.hero-product-kicker{display:block;font:800 var(--type-label) var(--font-display);color:var(--darkteal);text-transform:uppercase;letter-spacing:.1em;margin-bottom:12px}
.hero-product-cards span,.hero-product-cards small{color:var(--text-muted);font-size:var(--type-label)}
.hero-product-note{padding:11px 22px;background:var(--mist);color:var(--text-muted);font-size:var(--type-label)}
.territory-map text{font-size:var(--type-input);font-family:var(--font-body)}
.hero-product-context{display:flex;gap:10px;align-items:baseline;padding:11px 13px;margin-top:9px;border-radius:var(--radius-sm);background:var(--mist);color:var(--text-muted);font-size:var(--type-label);line-height:1.4}
.hero-product-context strong,.hero-product-orion strong{white-space:nowrap;color:var(--darkteal);font:800 var(--type-label) var(--font-display)}
.hero-product-orion{display:flex;gap:10px;align-items:baseline;padding:11px 13px;border-radius:var(--radius-sm);color:var(--text-muted);font-size:var(--type-label);line-height:1.4;background:var(--surface-subtle);margin-top:5px}
.hero-product-cards.hero-kpis{grid-template-columns:repeat(3,minmax(0,1fr));margin-bottom:12px}
.hero-kpis>div{min-width:0}
.hero-kpis span,.hero-kpis small{overflow-wrap:anywhere}
.hero-kpis strong{font-size:clamp(var(--type-body-mobile),2vw,var(--type-title))}
.hero-project-chip{margin-top:10px;padding:10px 12px;background:var(--mist);border:1px solid var(--border);border-radius:var(--radius-sm);color:var(--darkteal);font-size:var(--type-caption);font-weight:700;overflow-wrap:anywhere}

/* 05. Landing / credibility and problem */
.problem{background:var(--paper)}
.problem h2{margin:17px 0 22px}
.problem-grid{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid var(--border);border-bottom:1px solid var(--border)}
.problem-grid article{padding:30px 28px 30px 0}
.problem-grid article+article{padding-left:28px;border-left:1px solid var(--border)}
.problem-grid p{margin:0;color:var(--text-muted)}
.problem-grid h3{margin:11px 0;font-size:clamp(var(--type-title-small),2.1vw,var(--type-title))}
.problem-grid b{color:var(--darkteal);font:800 var(--type-label) var(--font-display)}
.trust-checks{list-style:none;padding:0;display:flex;flex-wrap:wrap;gap:12px 20px}
.trust-checks li{display:flex;align-items:center;gap:9px;font-size:var(--type-label)}
.trust-checks .line-icon{width:20px;height:20px;flex-basis:20px;margin:0;color:var(--teal)}
.credibility{background:var(--surface-raised);border-bottom:1px solid var(--border);padding:32px 0}
.credibility-grid{display:grid;grid-template-columns:1.3fr repeat(4,1fr);gap:24px;align-items:start}
.credibility p{margin:0;font-size:var(--type-label);line-height:1.5}
.credibility strong,.credibility span{display:block}
.credibility .line-icon{width:24px;height:24px;margin-bottom:10px}

/* 06. Landing / platform */
.platform .section-cta{margin-top:34px}
.platform .three-grid article:first-child{background:var(--navy2);color:var(--paper)}
.platform .three-grid article:first-child p{color:var(--text-soft-on-dark)}
.platform .three-grid p{font-size:var(--type-body-mobile)}
.section.platform{background:var(--paper)}
.section.platform#para-quien{background:var(--mist)}
.platform .three-grid article{background:var(--surface-raised);border:1px solid var(--border);border-radius:var(--radius-md);padding:30px}
.step-number{display:block;font:800 var(--type-step)/1 var(--font-display);color:var(--darkteal);margin:8px 0 20px}
.platform .three-grid>article:first-child .step-number{color:var(--teal)}
.example-chip{display:inline-flex;border:1px solid var(--border-strong);border-radius:var(--radius-pill);background:var(--mist);padding:8px 14px;font-size:var(--type-label);color:var(--darkteal)}

/* 07. Landing / comparison */
.section.comparison{background:var(--mist)}
.compare-cards{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.compare-card h3{font-size:var(--type-comparison);margin:11px 0 27px}
.compare-card.after li{border-color:var(--border-on-dark)}
.comparison .eyebrow{color:var(--darkteal)}
.compare-card.after .eyebrow{color:var(--teal-on-dark)}
.compare-card{padding:clamp(25px,3.5vw,48px);border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface-inactive)}
.compare-card.after{border-color:var(--navy2);background:var(--ink);color:var(--paper)}
.compare-card.after h3{color:var(--paper)}
.compare-card.after .line-icon{color:var(--teal)}
.compare-card ul{margin:0;padding:0;list-style:none}
.compare-card li{padding:16px 0 16px 28px;border-top:1px solid var(--border-strong);position:relative}
.compare-card li::before{content:"×";position:absolute;left:0;color:var(--text-soft);font-size:var(--type-lead)}
.compare-card.after li::before{content:"✓";color:var(--teal)}

/* 08. Landing / Orion conversation */
.orion-chat{margin-top:36px;background:var(--paper);border:1px solid var(--border-on-dark);border-radius:var(--radius-lg);overflow:hidden;color:var(--ink)}
.orion-chat-header{display:flex;align-items:center;gap:14px;padding:22px 28px;background:var(--navy2);color:var(--text-inverse)}
.orion-chat-header .line-icon{width:26px;flex:0 0 auto;color:var(--teal)}
.orion-chat-intro{margin-left:28px;margin-right:28px;margin-top:24px}
.orion-questions{margin-left:28px;margin-right:28px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.orion-questions button{display:flex;justify-content:space-between;align-items:center;gap:12px;text-align:left;background:var(--surface-raised);color:var(--ink);border:1px solid var(--border-strong);border-radius:var(--radius-md);padding:18px 20px;min-height:72px;font:700 var(--type-body)/1.4 var(--font-body);cursor:pointer}
.orion-questions button:hover,.orion-questions button[aria-pressed="true"]{border-color:var(--darkteal);background:var(--diagnostic)}
.orion-chat button:focus-visible,.orion-chat a:focus-visible{outline:var(--focus-width) solid var(--focus-color);outline-offset:4px}
.orion-question-check{color:var(--darkteal)}
.orion-user-message{margin-left:28px;margin-right:28px;background:var(--mist);border-radius:var(--radius-md) var(--radius-md) var(--radius-flat);padding:16px 20px;margin-top:28px;font-weight:700}
.orion-chat-status{margin-left:28px;margin-right:28px;min-height:26px;font-size:var(--type-label);color:var(--darkteal)}
.orion-response{margin-left:28px;margin-right:28px;min-height:180px;padding:4px 0 26px}
.orion-response h3{font-size:var(--type-title);color:var(--ink);margin:0 0 14px}
.orion-response p{color:var(--text-muted)}
.orion-bars{margin:24px 0 0}
.orion-bars figcaption{font-size:var(--type-label);color:var(--text-muted);margin-bottom:20px}
.orion-bar-row{display:grid;grid-template-columns:110px minmax(60px,1fr) 70px;gap:8px 16px;align-items:center;margin:18px 0}
.orion-bar-row strong,.orion-bar-row b{font-size:var(--type-body-mobile)}
.orion-bar-row small{grid-column:2/4;font-size:var(--type-label);color:var(--text-muted)}
.orion-bar-track{height:20px;border-radius:var(--radius-chart);background:var(--diagnostic);overflow:hidden}
.orion-bar-track span{display:block;height:100%;background:var(--muted);border-radius:var(--radius-chart)}
.orion-bar-norte .orion-bar-track span{background:var(--alert)}
.orion-bar-norte b,.orion-bar-norte strong{color:var(--alert)}
.orion-source-note{font-size:var(--type-label);line-height:1.55}
.orion-hypotheses{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:22px}
.orion-hypotheses article{border:1px solid var(--border);background:var(--surface-raised);border-radius:var(--radius-md);padding:22px}
.orion-card-number{font:800 var(--type-brand) var(--font-display);color:var(--darkteal)}
.orion-chat dl{margin:14px 0}
.orion-chat dt{color:var(--darkteal);font-size:var(--type-label);font-weight:700;margin-top:18px}
.orion-chat dd{margin:6px 0 0;font-size:var(--type-body-mobile);line-height:1.5}
.orion-initiative{background:var(--mist);padding:26px;border:1px solid var(--border-strong);border-radius:var(--radius-md)}
.orion-initiative h4{font-size:var(--type-title-small);line-height:1.35;margin:14px 0;color:var(--ink)}
#orion-initiative-state{display:inline-block;background:var(--surface-raised);color:var(--darkteal);padding:7px 12px;border-radius:var(--radius-sm);font-size:var(--type-label);font-weight:700}
#orion-initiative-progress label{display:block;margin:22px 0 10px;font-size:var(--type-body-mobile)}
#orion-progress{display:block;width:100%;height:16px;accent-color:var(--darkteal)}
.orion-complete{margin-left:28px;margin-right:28px;padding:26px;border-radius:var(--radius-md);background:var(--ink);color:var(--text-inverse);margin-bottom:26px}
.orion-complete h3{color:var(--text-inverse);font-size:var(--type-title);margin-top:0}
.demo-section .section-cta{margin-top:28px}
.orion-layout{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:32px;align-items:start;margin-top:36px}
.orion-guide{min-width:0}
.orion-guide .orion-chat-intro{margin:0 0 22px}
.orion-guide .orion-questions{grid-template-columns:1fr;margin:0}
.orion-guide button:focus-visible,.orion-messages:focus-visible{outline:var(--focus-width) solid var(--focus-color);outline-offset:3px}
.orion-layout .orion-chat{margin-top:0;height:560px;display:flex;flex-direction:column;min-width:0}
.orion-chat .orion-chat-header{flex:0 0 auto}
.orion-chat .orion-chat-header .line-icon{margin-bottom:0}
.orion-messages{flex:1 1 0%;min-height:0;overflow-y:auto;overscroll-behavior-y:contain;scrollbar-gutter:stable;scroll-padding:16px}
.orion-chat .orion-hypotheses{grid-template-columns:1fr}
.orion-chat .orion-response h3{color:var(--ink)}
main .sim-status{font-size:var(--type-label)}
.demo-section{scroll-margin-top:85px;padding:var(--section-space) 0;background:var(--ink);color:var(--paper)}
.demo-section h2{margin:18px 0 28px;font-size:clamp(var(--type-heading-mobile),4vw,var(--type-heading));color:var(--paper)}
.demo-section .eyebrow{color:var(--teal-on-dark)}
.orion-zone-map{display:block;width:100%;height:auto;border:1px solid var(--border-strong);border-radius:var(--radius-md);margin:22px 0}
.orion-zone-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.orion-zone-facts>div{display:grid;gap:8px;background:var(--mist);padding:20px;border-radius:var(--radius-md)}
.orion-zone-facts span{font-size:var(--type-label);line-height:1.55}
.orion-chat-footer{margin-left:28px;margin-right:28px;display:flex;justify-content:space-between;align-items:center;gap:20px;border-top:1px solid var(--border);padding:20px 0;font-size:var(--type-label)}
.orion-chat-footer button{background:transparent;border:1px solid var(--border-strong);color:var(--ink);border-radius:var(--radius);padding:12px 18px;min-height:48px;font:700 var(--type-body-mobile) var(--font-body);cursor:pointer}
.orion-chat .orion-chat-footer{flex:0 0 auto;padding:14px 0;margin-top:0}

/* 09. Landing / product gallery */
.product-proof{margin:56px 0 0;padding:24px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-md);box-shadow:var(--shadow-offset)}
.product-proof-heading{display:flex;align-items:end;justify-content:space-between;gap:22px;margin:0 4px 19px}
.product-proof h3{font-size:clamp(var(--type-proof-min),3vw,var(--type-proof));line-height:1.15;margin:10px 0 0}
.product-proof-heading>a{flex:0 0 auto;color:var(--darkteal);font-size:var(--type-caption);font-weight:700;text-decoration:underline;text-underline-offset:4px}
.product-proof figcaption{font-size:var(--type-xs);line-height:1.5;color:var(--text-soft);margin:16px 4px 0}
.product-tour .product-proof-heading{margin:0 0 22px;align-items:center}
.product-tour .product-proof-heading h3{max-width:750px}
.tour-tabs button:hover{background:var(--surface-hover);color:var(--ink)}
.tour-tabs button[aria-selected="true"]{background:var(--navy2);color:var(--paper);box-shadow:var(--shadow-tab)}
.tour-tabs button[aria-selected="true"]::after{content:"";position:absolute;bottom:5px;left:calc(50% - 12px);width:24px;height:3px;border-radius:var(--radius-indicator);background:var(--teal-on-dark)}
.tour-image[hidden]{display:none}
.tour-panel{min-width:0}
.tour-panel-intro{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.12fr);gap:20px 48px;align-items:center;padding:9px 5px 21px}
.tour-panel-intro h4{font:700 clamp(var(--type-lead),2.3vw,var(--type-tour-title))/1.2 var(--font-display);letter-spacing:-.045em;margin:0}
.tour-image{display:block;width:100%;height:auto;object-fit:contain}
.tour-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin:15px 4px 0}
.tour-next:hover{background:var(--surface-hover)}
.product-tour figcaption{margin:15px 4px 0}
.tour-finance-note{display:block;margin-top:6px}
.tour-finance-note[hidden]{display:none}
.tour-dialog{max-width:min(95vw,1250px);max-height:95dvh;width:100%;padding:0;border:1px solid var(--border-strong);border-radius:var(--radius-md);background:var(--surface);color:var(--ink);box-shadow:var(--shadow-dialog)}
.tour-dialog::backdrop{background:var(--backdrop)}
.tour-dialog-top{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 19px;border-bottom:1px solid var(--border)}
.tour-dialog-top strong{font:700 var(--type-body-mobile) var(--font-display)}
.tour-dialog-close{flex:0 0 auto;background:var(--navy2);color:var(--paper);border:0;border-radius:var(--radius-sm);padding:10px 15px;font-size:var(--type-caption);font-weight:700}
.tour-dialog-scroll{max-height:calc(95dvh - 112px);overflow:auto;background:var(--diagnostic)}
.tour-dialog-scroll img{display:block;max-width:none;width:max(100%,1200px);height:auto}
.tour-dialog-foot a{color:var(--darkteal);text-decoration:underline}
.tour-dialog-foot #tour-dialog-caption{display:inline-block;margin-bottom:4px;color:var(--text-muted);font-weight:600}
.tour-panel .tour-frame{max-width:100%}
.tour-panel .tour-image{width:100%;height:auto;display:block}
.product-tour{padding:clamp(18px,3vw,36px);background:var(--surface);margin:0}
.tour-tabs{gap:5px;padding:5px;background:var(--mist);border:1px solid var(--border);border-radius:var(--radius);margin-bottom:18px;display:flex;overflow-x:auto;grid-template-columns:repeat(3,1fr)}
.tour-frame img{height:auto}
.product-tour .product-proof-heading h2{font-size:clamp(var(--type-heading-mobile),4vw,var(--type-heading))}
.tour-index{flex:0 0 auto;font:700 var(--type-label) var(--font-display);letter-spacing:.1em;border:1px solid var(--border);padding:9px 12px;border-radius:var(--radius-sm);color:var(--darkteal)}
.tour-expand{display:inline-flex;align-items:center;gap:7px;color:var(--darkteal);font-weight:700;text-decoration:underline;text-underline-offset:4px;font-size:var(--type-label)}
.tour-next{border:1px solid var(--border-strong);border-radius:var(--radius-sm);background:var(--mist);color:var(--ink);padding:11px 15px;font-weight:800;transition:background .18s;font-size:var(--type-label)}
.tour-dialog-foot{padding:9px 19px;color:var(--text-soft);font-size:var(--type-label)}
.tour-tabs button{position:relative;padding:10px 12px;border:0;border-radius:var(--radius-sm);background:transparent;color:var(--text-muted);text-align:center;font:700 var(--type-input) var(--font-display);transition:background .18s,color .18s;padding-inline:7px;overflow-wrap:anywhere;min-width:100px;min-height:var(--button-sm)}
.tour-panel-intro p{color:var(--text-muted);margin:0;line-height:1.5;max-width:650px;font-size:var(--type-body)}
.section.product-gallery{background:var(--mist);color:var(--ink)}
.product-gallery .product-proof.product-tour{padding:0;background:transparent;border:0;box-shadow:none}
.product-gallery .tour-panel-intro{padding-inline:0}
.product-gallery .tour-toolbar,.product-gallery .product-tour figcaption{margin-inline:0}
.product-gallery .tour-panel-intro h3{font-size:var(--type-title)}
.browser-bar{display:flex;justify-content:space-between;gap:16px;background:var(--navy2);color:var(--text-on-dark);font-size:var(--type-label);padding:13px 18px}
.tour-frame{position:relative;justify-content:center;background:var(--mist);min-height:190px;max-height:520px;align-items:flex-start;display:block;border:1px solid var(--border-on-dark);border-radius:var(--radius-md);overflow:hidden}

/* 10. Landing / use cases */
.case-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;margin-top:36px}
.case-grid article{padding:25px;background:var(--surface-raised);border:1px solid var(--border);border-radius:var(--radius-md)}
.case-grid h3{overflow-wrap:anywhere}

/* 11. Landing / diagnostic and pin preview */
.report-sample img{display:block;width:100%;height:auto;margin-top:12px}
.diagnosis-layout{display:grid;grid-template-columns:1fr 1fr;align-items:start;gap:6vw}
.diagnosis-layout>div:first-child>p{font-size:var(--type-body)}
.diagnosis ul{padding-left:20px}
.diagnosis li{margin-bottom:8px}
.report-sample{background:var(--surface);border:1px solid var(--border-strong);border-radius:var(--radius);padding:20px;box-shadow:var(--shadow-offset-sm);max-width:410px}
#diagnostico .diagnostic-nearest ol:focus-visible{outline:var(--focus-width) solid var(--focus-color);outline-offset:3px}
#diagnostico .diagnostic-nearest{position:relative}
#diagnostico .diagnostic-nearest ol{scrollbar-gutter:stable}
#diagnostico .diagnostic-nearest::after{content:"";position:absolute;bottom:0;left:0;right:16px;height:32px;background:linear-gradient(transparent,var(--surface-raised));pointer-events:none;opacity:0}
#diagnostico .diagnostic-nearest.has-more-below::after{opacity:1}
#diagnostico .diagnosis-layout{align-items:start;overflow:visible}
.hero-diagnostic-link{display:inline-block;margin-top:18px;color:var(--teal-on-dark);text-decoration:underline;text-underline-offset:4px;line-height:1.5;font-size:var(--type-label)}
.report-sample>strong{color:var(--darkteal);font-size:var(--type-label)}
.report-sample a span{display:block;margin-top:10px;color:var(--darkteal);font-weight:700;font-size:var(--type-label)}
.diagnosis-checks{list-style:none;padding:0}
.diagnosis-checks .line-icon{width:20px;height:20px;flex-basis:20px;margin:0}
.section.diagnosis{background:var(--diagnostic)}
.diagnosis-checks li{display:flex;align-items:center;gap:9px;margin:16px 0}
.diagnostic-preview{min-width:0}
.diagnostic-nearest{margin:18px 0;min-width:0}
.diagnostic-nearest h4{font-size:var(--type-body-mobile);margin:0 0 12px}
.diagnostic-nearest ol{padding-left:28px;margin:0}
.diagnostic-nearest li{padding:8px 0 8px 4px;border-bottom:1px solid var(--border);overflow-wrap:anywhere;font-size:var(--type-label);line-height:1.5}
.diagnostic-nearest li::marker{color:var(--alert);font-weight:700}
.diagnostic-nearest li strong{display:block}
.diagnostic-nearest li p{margin:3px 0 0;font-size:var(--type-sm)}
.diagnostic-preview>p,.diagnostic-preview #diag-map-status{font-size:var(--type-label);line-height:1.55}
.diagnostic-map-shell{position:relative;height:350px;overflow:hidden;border:1px solid var(--border-strong);border-radius:var(--radius-md);background:var(--mist)}
.diagnostic-map-placeholder{width:100%;height:100%;object-fit:cover}
.diagnostic-map-shell #diag-map{position:absolute;inset:0;width:100%;height:100%;min-height:0;margin:0;border:0}
.diagnostic-map-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.diagnostic-preview .diagnostic-map-actions button{padding:10px 12px;min-height:var(--button-sm);border:1px solid var(--border-strong);border-radius:var(--radius-sm);background:var(--paper);color:var(--ink);font:inherit;font-size:var(--type-label);cursor:pointer}
.diagnostic-preview .diagnostic-map-actions button:focus-visible{outline:var(--focus-width) solid var(--focus-color);outline-offset:3px}
.diagnosis .diagnostic-map-legend{display:flex;flex-wrap:wrap;gap:10px 16px;list-style:none;padding:0;margin:12px 0}
.diagnostic-map-legend li{display:flex;align-items:center;gap:7px;font-size:var(--type-label);line-height:1.4}
.diagnostic-map-legend span{display:inline-block;width:11px;height:11px;flex:0 0 11px}
.zone-competitor{background:var(--alert);border-radius:var(--radius-circle)}
.zone-generator{background:var(--map-generator)}
.zone-radius{border:2px dashed var(--darkteal);border-radius:var(--radius-circle)}
.diagnostic-zone-summary{background:var(--mist);color:var(--ink);border-left:3px solid var(--darkteal);border-radius:var(--radius-chart);padding:16px}
.diagnostic-zone-summary p{font-size:var(--type-input);line-height:1.6;margin:0 0 10px}
.diagnostic-zone-summary p:last-child{margin-bottom:0}
.diagnostic-zone-summary .diagnostic-preview-note{font-size:var(--type-label)}
.diagnostic-zone-summary details{margin-top:12px;font-size:var(--type-label)}
.diagnostic-zone-summary details summary{cursor:pointer}
.diagnostic-preview-retry{border:1px solid var(--darkteal);border-radius:var(--radius-sm);background:var(--surface-raised);color:var(--ink);font:inherit;font-size:var(--type-label);padding:10px 12px;cursor:pointer}

/* 12. Landing / workflow and FAQ */
.flow{background:var(--paper)}
.faq-layout{display:grid;grid-template-columns:.7fr 1.3fr;gap:10vw}
.faq h2{margin:18px 0}
.faq-list{border-top:1px solid var(--border)}
.faq details{border-bottom:1px solid var(--border);padding:0}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";font:400 var(--type-title) var(--font-display);color:var(--darkteal)}
.faq details[open] summary::after{content:"−"}
.faq summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:20px;font:700 var(--type-body)/1.5 var(--font-display);padding:19px 0}
.flow-list p{margin:0;color:var(--text-muted)}
#preguntas .faq-layout{align-items:start;overflow:visible}
.flow-list h3{margin:11px 0;font-size:clamp(var(--type-title-small),2.1vw,var(--type-title))}
.flow-list b{color:var(--darkteal);font:800 var(--type-label) var(--font-display)}
.faq details p{color:var(--muted);max-width:650px;margin:0 0 25px;font-size:var(--type-body)}
.section.faq{background:var(--mist)}
.flow-list{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}
.flow-list article{padding:24px 0 22px;border-top:3px solid var(--teal)}

/* 13. Forms, demo dialog, contact and footer */
.contact h2{margin:16px 0 20px}
.contact p{color:var(--text-soft);max-width:510px}
.contact-panel{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-md);padding:34px;box-shadow:var(--shadow-panel)}
.contact-panel h3{font-size:var(--type-form-title);margin:0 0 8px}
.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.field{margin-bottom:15px}
:where(html:not(:has(.client-login))) .contact-panel .button{width:100%}
.footer-top{display:flex;justify-content:space-between;gap:30px;align-items:start;padding-bottom:53px;border-bottom:1px solid var(--border-inverse)}
.footer .brand{color:var(--text-inverse)}
.interest-hint{display:block;color:var(--darkteal);font-size:var(--type-xs);font-weight:700;min-height:0}
.interest-hint:not(:empty){margin-top:7px}
.contact-panel form[hidden]{display:none}
.contact-panel button:disabled{opacity:.65;cursor:wait}
.privacy a{color:var(--text-muted)}
.sandbox-dialog::backdrop{background:var(--backdrop-sandbox);backdrop-filter:blur(3px)}
.sandbox-close{float:right;background:transparent;border:0;font-size:var(--type-close);cursor:pointer;color:inherit;min-width:40px;min-height:40px}
.sandbox-dialog input[type=email]{display:block;width:100%;box-sizing:border-box;padding:12px;border:1px solid var(--border-strong);border-radius:var(--radius);margin:8px 0 18px;font:inherit}
.sandbox-consent input{margin-top:4px;flex-shrink:0}
.sandbox-honey{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}
.sandbox-dialog .button{width:100%;justify-content:center}
.sandbox-entry-notice{position:fixed;bottom:20px;left:16px;right:16px;z-index:1100;padding:16px;background:var(--surface-raised);color:var(--alert);border:1px solid var(--border-alert);border-radius:var(--radius-md);box-shadow:var(--shadow-notice)}
.diagnosis-layout .contact-panel{width:100%}
.closing h2{font-size:clamp(var(--type-closing-min),4vw,var(--type-closing));margin-bottom:8px}
.closing p{color:var(--text-on-dark)}
.contact-layout{display:grid;grid-template-columns:.95fr 1.05fr;gap:8vw;align-items:start}
.contact-layout a:not(.button){text-decoration:underline}
.footer-columns div{display:flex;flex-direction:column;gap:11px}
.footer-columns strong{color:var(--text-inverse)}
.footer-columns a:hover{color:var(--teal-hover)}
.whatsapp-float{position:fixed;bottom:22px;right:22px;z-index:25;background:var(--darkteal);color:var(--text-inverse);padding:14px 18px;border-radius:var(--radius-pill);font-weight:700;box-shadow:var(--shadow-float)}
.mobile-cta{display:none}
.cookie-choice p{margin:0 0 9px}
.cookie-choice button{min-height:var(--button-sm);margin:3px;background:var(--ink);color:var(--text-inverse);border:0;padding:7px}
.honey-field{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}
.contact-status[data-state=error]{color:var(--alert)}
.consent-field input{flex:0 0 auto;width:19px;height:19px;margin:2px 0;accent-color:var(--darkteal);min-width:20px;min-height:20px}
.consent-field a{text-underline-offset:3px;color:var(--darkteal);text-decoration:underline}
.field input,.field select{background:var(--surface-raised);width:100%;border:1px solid var(--border-strong);border-radius:var(--radius-sm);min-height:var(--button-sm);padding:11px 12px;color:var(--ink);font-size:var(--type-input)}
.field textarea{background:var(--surface-raised);width:100%;border:1px solid var(--border-strong);border-radius:var(--radius-sm);padding:11px 12px;color:var(--ink);min-height:95px;resize:vertical;font-size:var(--type-input)}
.field button{border:1px solid var(--darkteal);border-radius:var(--radius-sm);background:var(--mist);color:var(--ink);padding:10px 14px;font-weight:700}
.consent-field{display:flex;gap:10px;margin:14px 0;font-size:var(--type-label)}
.closing{color:var(--text-inverse);padding:45px;border-radius:var(--radius-md);margin-bottom:40px;background:var(--navy2)}
.contact{padding:78px 0;background:var(--diagnostic)}
.contact-layout>div>p{line-height:1.55;font-size:var(--type-body)}
.contact-panel>p{line-height:1.5;margin:0 0 22px;font-size:var(--type-label)}
.contact-panel .consent-field{display:flex;align-items:start;gap:12px;line-height:1.5;color:var(--text-muted);margin:15px 0;font-size:var(--type-label)}
.footer{color:var(--text-nav);padding:55px 0 30px;background:var(--navy-deep)}
.footer-columns{display:grid;gap:28px;grid-template-columns:1.2fr 1.2fr 1fr 1fr}
.sandbox-dialog{box-sizing:border-box;width:min(480px,100% - 32px);padding:32px;border:1px solid var(--border);border-radius:var(--radius-lg);color:var(--ink);box-shadow:var(--shadow-sandbox);font-family:inherit;background:var(--paper)}
.sandbox-dialog h2{margin:14px 0;font:800 var(--type-dialog) var(--font-display)}
#contacto .contact-layout{align-items:start;overflow:visible}
.footer p{font-size:var(--type-body)}
.contact-panel .button{font-size:var(--type-body-mobile);min-height:var(--button-md)}
.sandbox-eyebrow{letter-spacing:var(--tracking-eyebrow);color:var(--text-muted);font-weight:700;font-size:var(--type-label)}
.sandbox-note{color:var(--text-soft);font-size:var(--type-label)}
.sandbox-consent{display:flex;gap:10px;align-items:flex-start;margin:18px 0;font-size:var(--type-label)}
.contact-panel .privacy{line-height:1.5;margin:14px 0 0;color:var(--text-muted);font-size:var(--type-label)}
.privacy{font-size:var(--type-label)}
.contact-status{min-height:22px;margin:14px 0 0;font-size:var(--type-label)}
.footer-bottom{display:flex;justify-content:space-between;gap:20px;padding-top:25px;color:var(--text-soft-on-dark);font-size:var(--type-label)}
.footer-columns a{font-size:var(--type-label)}
.cookie-choice{position:fixed;bottom:10px;left:10px;z-index:60;background:var(--surface-raised);color:var(--ink);border:1px solid var(--border-strong);padding:16px;max-width:360px;box-shadow:var(--shadow-cookie);font-size:var(--type-label)}
.field label{display:block;font-weight:700;margin-bottom:7px;color:var(--text-muted);font-size:var(--type-label)}
.mobile-cta a:not(.button){font-size:var(--type-label)}
.mobile-cta .button{font-size:var(--type-label);min-height:var(--button-md)}
main .interest-hint,.sandbox-dialog label{font-size:var(--type-label)}
.sandbox-dialog p{line-height:1.6;font-size:var(--type-label)}
.diagnosis .contact-panel{background:var(--surface-raised)}

/* 14. Public subpages / workshops, Retail POS, thanks and privacy */
.workshops{background:var(--ink);color:var(--paper);position:relative;overflow:hidden}
.workshops p{color:var(--text-nav)}
.workshops::after{content:"";position:absolute;right:-230px;top:0;width:600px;height:600px;border:1px solid var(--decoration-workshop);border-radius:var(--radius-circle);pointer-events:none}
.workshops h2{margin:17px 0 20px;font-size:clamp(var(--type-workshop-min),5vw,var(--type-workshop));max-width:600px;line-height:1.08}
.workshops h2 em{font-style:normal;color:var(--teal-on-dark)}
.sim-card{margin-top:18px;padding:20px;background:var(--surface-document);border:1px solid var(--border);border-radius:var(--radius-md);box-shadow:var(--shadow-sim);color:var(--ink)}
.sim-card h3{font-size:var(--type-card);line-height:1.2;margin:4px 0 14px}
.sim-actions{display:flex;align-items:center;gap:15px;flex-wrap:wrap;margin-top:17px}
.sim-actions .button{min-height:var(--button-sm);font-size:var(--type-xs)}
.sim-card[hidden]{display:none}
.sim-reset{background:transparent;border:1px solid var(--border-strong);border-radius:var(--radius-sm);color:var(--darkteal);padding:9px 12px;font-size:var(--type-xs);font-weight:700}
.sim-reset:hover{background:var(--surface-hover)}
.pos-section{background:var(--paper)}
.pos-photo p{margin:5px 0 0;font-size:var(--type-xs)}
.pos-photo strong{font-size:var(--type-caption);color:var(--ink)}
.pos-inventory table[hidden],.pos-inventory p[hidden]{display:none}
.case-tabs button[aria-selected=true]{background:var(--navy2);color:var(--paper);border-color:var(--navy2);box-shadow:var(--shadow-selected)}
.case-tabs button:focus-visible,.sim-reset:focus-visible,.button:focus-visible{outline:var(--focus-width) solid var(--focus-color);outline-offset:3px}
.case-result ol,.case-result ul{padding-left:22px;margin:8px 0}
.pos-stage{background:var(--mist);border:1px solid var(--border);border-radius:var(--radius-md);padding:24px;box-shadow:var(--shadow-pos);min-width:0}
.pos-photo{grid-template-columns:130px 1fr;gap:16px;align-items:center;border:1px solid var(--border);border-radius:var(--radius);padding:12px;display:block;margin:16px 0;background:var(--diagnostic);text-align:center}
.pos-photo img{display:block;width:auto;max-width:100%;height:auto;max-height:350px;aspect-ratio:auto;object-fit:contain;border-radius:var(--radius-sm);margin-inline:auto}
.pos-review{margin-top:16px}
.pos-inventory{margin-top:21px;border-top:1px solid var(--border);padding-top:16px;overflow-x:auto}
.workshop-practice{margin-top:38px;background:var(--surface-subtle);border:1px solid var(--border-strong);border-radius:var(--radius-md);padding:clamp(22px,3vw,38px);color:var(--ink)}
.workshop-practice h3{font-size:clamp(var(--type-practice-min),2.5vw,var(--type-heading-mobile));line-height:1.2;margin:12px 0}
.workshop-practice>p{font-size:var(--type-body-mobile);line-height:1.6;color:var(--text-muted);max-width:850px;margin-bottom:0}
.case-tabs{display:flex;flex-wrap:wrap;border-bottom:1px solid var(--border);gap:10px;margin:27px 0 22px;padding-bottom:16px}
.case-tabs button{border:1px solid var(--border-strong);border-radius:var(--radius-sm);background:var(--surface);color:var(--text-muted);font:700 var(--type-label)/1.3 var(--font-display);cursor:pointer;min-height:47px;padding:11px 20px;transition:background .2s,color .2s}
.case-tabs button:not([aria-selected=true]):hover{background:var(--surface-hover);color:var(--ink)}
.case-panel{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);align-items:start;gap:18px 22px}
.case-benefit{grid-column:1/-1;padding:21px 25px;background:var(--diagnostic);border-left:4px solid var(--darkteal);border-radius:var(--radius-flat) var(--radius) var(--radius) var(--radius-flat)}
.case-panel .case-benefit h4{font-size:clamp(var(--type-kpi),2vw,var(--type-title));line-height:1.25;margin:0 0 7px;letter-spacing:-.035em}
.case-panel .case-benefit p{font-size:var(--type-input);line-height:1.6;color:var(--text-muted);margin:0;max-width:960px}
.case-panel .case-document,.case-panel .case-work{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);min-width:0;padding:clamp(18px,2vw,27px)}
.case-panel h4{margin:0 0 12px;color:var(--ink);font-size:var(--type-lead-mobile);line-height:1.3}
.case-panel p,.case-placeholder{font-size:var(--type-input);line-height:1.6;color:var(--text-muted)}
.case-document img{display:block;width:100%;height:auto;object-fit:contain;background:var(--surface-document);border:1px solid var(--border);max-height:none}
.case-work label{display:block;font-weight:700;font-size:var(--type-sm);line-height:1.4;color:var(--text-muted);margin:13px 0 9px}
.case-work textarea{width:100%;resize:vertical;border:1px solid var(--border-strong);border-radius:var(--radius-sm);background:var(--surface-document);font-size:var(--type-input);line-height:1.6;min-height:165px;padding:15px;color:var(--ink)}
.case-result{margin-top:18px;border-left:3px solid var(--darkteal);background:var(--diagnostic);border-radius:var(--radius-flat) var(--radius) var(--radius) var(--radius-flat);padding:21px 24px}
.case-result h4{margin:0 0 8px;font-size:var(--type-card)}
.case-result p{font-size:var(--type-input);line-height:1.6;color:var(--text-muted)}
.case-result li{padding:3px 0;font-size:var(--type-input);line-height:1.6;color:var(--text-muted)}
.workshop-practice .sim-status{color:var(--darkteal)}
.workshop-practice .sim-actions .button,.pos-stage .sim-actions .button{font-size:var(--type-label);min-height:48px;white-space:normal;text-align:center;line-height:1.35;padding:10px 17px}
.workshop-practice .sim-reset,.pos-stage .sim-reset{font-size:var(--type-sm);min-height:var(--button-sm);line-height:1.3}
.sim-status{font-weight:700;color:var(--darkteal);margin:0;font-size:var(--type-sm);line-height:1.5}
.pos-stage .sim-card{margin:0;padding:clamp(18px,2vw,26px)}
.pos-stage .sim-card h3{font-size:var(--type-lead);line-height:1.3;margin:8px 0 14px}
.pos-photo figcaption{margin:12px auto 0;max-width:38ch;font-size:var(--type-sm);line-height:1.55;color:var(--text-muted)}
.pos-review h4{font-size:var(--type-lead-mobile);line-height:1.3;margin:0 0 9px}
.pos-review p{font-size:var(--type-input);line-height:1.55;color:var(--text-muted);margin:0 0 16px}
.pos-review-list{display:grid;gap:13px}
.pos-review-row{display:grid;align-items:end;grid-template-columns:minmax(0,1.5fr) minmax(72px,.55fr) minmax(84px,.7fr);gap:10px}
.pos-review-row label{display:block;font-weight:700;font-size:var(--type-sm);line-height:1.4;color:var(--text-muted);min-width:0}
.pos-review-row input{display:block;width:100%;margin-top:4px;border:1px solid var(--border-strong);background:var(--surface);border-radius:var(--radius-sm);color:var(--ink);min-width:0;height:var(--button-sm);font:500 var(--type-input)/1.4 var(--font-body);padding:8px 10px}
.pos-inventory h3{margin:0 0 8px;font-size:var(--type-card);line-height:1.3}
.pos-inventory p{margin:0;font-size:var(--type-input);line-height:1.6;color:var(--text-muted)}
.pos-inventory table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:var(--type-label);line-height:1.5;min-width:0}
.pos-inventory td{border-bottom:1px solid var(--border);text-align:left;overflow-wrap:anywhere;padding:12px 7px}
.pos-inventory th{border-bottom:1px solid var(--border);text-align:left;overflow-wrap:anywhere;text-transform:uppercase;letter-spacing:.08em;padding:12px 7px;font-size:var(--type-caption);line-height:1.4;color:var(--text-muted)}
.workshops .eyebrow{color:var(--teal-on-dark)}
.sandbox-expired{max-width:640px;margin:auto;text-align:center;padding:90px 24px}
.sandbox-expired .hero-buttons{justify-content:center}
/* The historical outline alias is on paper here, not navy. Use ghost-teal. */
.sandbox-expired .button-outline{color:var(--darkteal);border-color:var(--darkteal);background:transparent}
.sandbox-expired .button-outline:hover{background:var(--surface-hover)}
.privacy-page a{text-decoration:underline}
.workshops>.wrap>.eyebrow{color:var(--teal)}
.pos-section p:not(.sim-status){font-size:var(--type-body-mobile)}
.workshops p{font-size:var(--type-body-mobile)}
.workshops .case-panel p{font-size:var(--type-body-mobile)}
.subpage-hero{padding:85px 0;background:var(--navy2)}
.section.privacy-page{background:var(--paper)}
.section.thanks{min-height:50vh;background:var(--paper)}
.privacy-page p,.thanks p{font-size:var(--type-body)}
.thanks .wrap{max-width:800px}
.thanks h1,.privacy-page h1{font-size:clamp(var(--type-subpage-min),5vw,var(--type-subpage));margin:18px 0 25px}
.thanks-back{display:inline-block;margin-top:38px;color:var(--darkteal);font-weight:700;text-decoration:underline}
.privacy-page h2{margin-top:42px;font-size:var(--type-dialog);border-top:1px solid var(--border);padding-top:25px}
.privacy-page .wrap{max-width:850px}
.subpage-hero .hero-lead{max-width:700px;font-size:var(--type-lead)}
main .case-status,main .pos-review{font-size:var(--type-label)}

/* 15. Client login / inherited POST and CSRF are unchanged */
body:has(.client-login){background:var(--paper)}
body:has(.client-login)>.main-content{padding:0;margin:0;max-width:none}
body:has(.client-login)>footer{display:none}
.client-login{display:grid;grid-template-columns:1fr 1fr;min-height:100dvh;font-family:var(--font-body)}
.client-login-story{padding:44px clamp(32px,5vw,82px) 42px;background:var(--ink);color:var(--paper);display:flex;flex-direction:column;justify-content:space-between;position:relative;overflow:hidden}
.client-login-brand{display:flex;align-items:center;gap:8px;font:800 var(--type-comparison) var(--font-display);text-decoration:none;letter-spacing:-.05em;z-index:1;color:var(--paper)}
.client-login-brand img{object-fit:contain}
.client-login-brand span{color:var(--teal);margin-left:-8px}
.client-login-message{z-index:1;max-width:600px;margin:70px 0}
.client-login-message .eyebrow{color:var(--teal-on-dark);display:inline-flex;align-items:center;gap:10px;letter-spacing:.12em;font-weight:800}
.client-login-message .eyebrow::before{content:"";width:19px;height:1px;background:currentColor}
.client-login-message p{font-size:var(--type-card);color:var(--text-soft-on-dark);max-width:480px}
.client-login-form-wrap{display:grid;place-items:center;padding:60px 34px}
.client-login-card{width:min(100%,440px)}
.client-login-card .eyebrow{color:var(--darkteal)}
.client-login-card h2{font:800 clamp(var(--type-heading-mobile),3vw,var(--type-login-title))/1.13 var(--font-display);letter-spacing:-.05em;margin:14px 0 12px}
.client-login-card input:focus-visible{outline:var(--focus-width) solid var(--focus-color);outline-offset:2px}
.client-login-card button:hover{background:var(--navy2)}
.client-login-help a{text-decoration:underline;font-weight:700;color:var(--darkteal)}
.client-login-bottom{font:700 var(--type-label) var(--font-login-legacy);letter-spacing:.13em;color:var(--text-soft-on-dark);z-index:1}
.client-login-card label{display:block;font-weight:700;margin:20px 0 8px;color:var(--ink);font-size:var(--type-label)}
.client-login-help{border-top:1px solid var(--border);margin-top:35px;padding-top:23px;color:var(--text-muted);font-size:var(--type-label)}
.client-login-map{width:min(100%,550px);height:auto;position:relative;z-index:1;margin:0 0 30px}
.client-login-story .client-login-message{margin-bottom:20px}
.client-login-recovery{display:block;text-align:right;font-size:var(--type-label);font-weight:700;margin:13px 0 0;text-decoration:underline;color:var(--darkteal)}
.client-login-back{text-decoration:none;font-size:var(--type-label);font-weight:700;margin-bottom:68px;color:var(--darkteal);display:block;width:max-content}
.client-login-demo{background:var(--mist);border:1px solid var(--border);border-radius:var(--radius);padding:20px;margin-top:32px}
.client-login-demo strong{font:800 var(--type-body) var(--font-display)}
.client-login-card .client-login-demo button:hover{background:var(--surface-hover)}
.client-login-card .client-login-help{margin-top:28px}
.client-login .client-login-message p{font-size:var(--type-lead-mobile)}
.client-login-card button{display:flex;align-items:center;justify-content:space-between;width:100%;margin-top:30px;border:0;border-radius:var(--radius-sm);background:var(--ink);color:var(--paper);padding:0 20px;font-weight:700;font-size:var(--type-body-mobile);height:var(--button-md);min-height:var(--button-md);transition:transform .25s}
.client-login-card button:hover{transform:translateY(var(--button-hover-y))}
.client-login :focus-visible{outline:var(--focus-width) solid var(--focus-color);outline-offset:3px}
.client-login-card .client-login-demo button{background:transparent;color:var(--darkteal);border:1px solid var(--darkteal);margin:0;font-size:var(--type-body-mobile);height:var(--button-md);min-height:var(--button-md)}
.client-login-demo>a{display:block;color:var(--darkteal);font-size:var(--type-body-mobile);font-weight:700;margin-top:16px;text-decoration:underline}
.client-login-message h1{font:800 var(--type-hero)/1.08 var(--font-display);letter-spacing:-.06em;margin:20px 0}
.client-login-card input{display:block;width:100%;height:53px;border:1px solid var(--border-strong);border-radius:var(--radius-sm);background:var(--surface);padding:0 15px;color:var(--ink);font-size:var(--type-body)}
.client-login-card>p{color:var(--text-muted);margin-bottom:32px;font-size:var(--type-body)}
.client-login-demo p{margin:8px 0 12px;color:var(--muted);font-size:var(--type-body)}

/* 16. Responsive. One block per condition; retained geometry exceptions are
   documented. Wider contracts precede mobile overrides, not arbitrary remaps. */
@media(max-width:1100px) and (min-width:768px){
  .header-nav{display:none;position:absolute;top:86px;left:0;right:0;padding:20px max(27px,-660px + 50vw);background:var(--navy2);border-top:1px solid var(--border-inverse);flex-direction:column;align-items:stretch;box-shadow:var(--shadow-nav)}
  .header-nav.is-open{display:flex}
  .header-nav a{padding:13px 7px;border-bottom:1px solid var(--border-inverse-soft)}
  .header-nav a[aria-current=location]{background:var(--navy-hover);padding-left:14px}
  .header-actions{margin-left:auto}
  .menu-toggle{display:flex}
}
@media(max-width:1100px){
  .brand{font-size:var(--type-lead)}
  .brand .brand-symbol{width:56px;height:53px}
}
@media(max-width:900px){
  .header-nav{display:none;position:absolute;top:100%;left:0;right:0;background:var(--ink);padding:10px 22px;flex-direction:column;align-items:stretch}
  .header-nav.is-open{display:flex}
  .header-nav a{padding:12px}
  .menu-toggle{display:flex}
  .header-actions{margin-left:auto}
}
@media(max-width:1050px){
  .header-nav{display:none;position:absolute;top:var(--header-height);left:0;right:0;background:var(--navy2);padding:14px 28px;flex-direction:column}
  .header-nav.is-open{display:flex}
  .menu-toggle{display:flex}
  .header-actions{margin-left:auto}
  .header-actions .button{display:inline-flex}
  .credibility-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .credibility-grid>p:first-child{grid-column:1/-1}
  .case-grid,.flow-list{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(min-width:1024px){
  #diagnostico .diagnosis-layout>div:first-child,#preguntas .faq-layout>div:first-child,#contacto .contact-layout>div:first-child{position:sticky;top:calc(var(--landing-header-height) + 24px);align-self:start}
  #diagnostico .diagnostic-nearest ol{max-height:320px;overflow-y:auto;overscroll-behavior-y:contain}
}
@media(max-width:1023px){
  .orion-layout,#diagnostico .diagnosis-layout,#preguntas .faq-layout,#contacto .contact-layout{grid-template-columns:minmax(0,1fr)}
  #diagnostico .diagnosis-layout>div:first-child,#preguntas .faq-layout>div:first-child,#contacto .contact-layout>div:first-child{position:static}
  .orion-layout .orion-chat{height:480px}
  #diagnostico .diagnostic-nearest ol{max-height:none;overflow:visible}
  #diagnostico .diagnostic-nearest::after{display:none}
}
@media(max-width:767px){
  :root{--landing-header-height:var(--header-height-mobile)}
  .brand img{height:48px;width:48px}
  .header-nav.is-open{display:flex}
  .header-actions{margin-left:auto}
  .faq-layout,.contact-layout{grid-template-columns:1fr;gap:35px}
  :where(html:not(:has(.client-login))) .hero-buttons .button{width:100%}
  .field-grid{grid-template-columns:1fr;gap:0}
  .contact-panel{padding:24px}
  .footer-top{flex-direction:column;padding-bottom:34px}
  .footer-bottom{flex-direction:column;gap:6px}
  .contact{padding:66px 0}
  .conversation{gap:13px}
  .message{max-width:94%}
  .workshops h2{font-size:clamp(var(--type-workshop-mobile),10vw,var(--type-workshop-mobile-max))}
  .menu-toggle{display:flex;font-size:var(--type-xs);font-weight:700}
  .header-nav a[aria-current=location]{border-color:var(--teal-on-dark);background:var(--navy-hover);padding-left:14px}
  .product-tour{padding:15px}
  .tour-index{padding:7px}
  .tour-panel-intro{grid-template-columns:1fr;gap:8px;padding:6px 3px 15px}
  .tour-dialog{max-width:100vw;max-height:100dvh;border-radius:var(--radius-flat)}
  .tour-dialog-scroll{max-height:calc(100dvh - 112px)}
  .product-proof{padding:12px;box-shadow:var(--shadow-offset-mobile)}
  .product-proof-heading{display:block;margin:9px 7px 16px}
  .product-proof-heading>a{display:inline-block;margin-top:13px}
  .product-proof figcaption{margin:14px 7px 6px}
  .product-proof.product-tour{padding:15px}
  .product-tour .product-proof-heading{align-items:start;gap:8px;display:flex;margin:0 0 18px}
  .hero-buttons{margin-top:22px;gap:9px}
  .feature{min-height:0}
  .feature h3{font-size:var(--type-brand)}
  .sim-card{padding:16px}
  .workshop-practice{padding:20px}
  .workshop-practice>p{font-size:var(--type-input)}
  .case-benefit{padding:18px}
  .case-benefit p{font-size:var(--type-input)}
  .case-panel{grid-template-columns:1fr;gap:13px}
  .case-panel .case-document,.case-panel .case-work{padding:18px}
  .case-work textarea{min-height:190px}
  .pos-review-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
  .pos-review-row label:first-child{grid-column:1/-1}
  .pos-stage{box-shadow:var(--shadow-pos-mobile);padding:15px}
  .three-grid{grid-template-columns:1fr}
  .tour-tabs button{line-height:1.3;white-space:normal;min-width:0}
  .brand{font-size:var(--type-lead-mobile)}
  .brand .brand-symbol{width:44px;height:42px}
  .mobile-cta.is-visible{display:flex;position:fixed;z-index:29;bottom:0;left:0;right:0;padding:6px 14px;background:var(--ink);gap:10px;align-items:center;justify-content:center}
  .whatsapp-float{display:none}
  .closing{padding:26px}
  .wrap{width:calc(100% - 36px)}
  .site-header{height:var(--header-height-mobile)}
  .header-nav{top:var(--header-height-mobile);border-top:1px solid var(--border-inverse);box-shadow:var(--shadow-nav)}
  .header-actions .client-access{display:none}
  .header-nav .mobile-clients{display:block}
  .hero{scroll-margin-top:72px;padding:55px 0 72px}
  .hero-layout{grid-template-columns:1fr;gap:45px}
  .hero-product{box-shadow:var(--shadow-hero-mobile)}
  .hero-product-cards{grid-template-columns:1fr 1fr}
  .section,.demo-section{scroll-margin-top:72px;padding:var(--section-space-mobile) 0}
  .problem-grid,.compare-cards{grid-template-columns:1fr}
  .problem-grid article,.problem-grid article+article{border-left:0;border-top:1px solid var(--border);padding:22px 0}
  .problem-grid article:first-child{border-top:0}
  .diagnosis-layout{grid-template-columns:1fr}
  .tour-tabs{gap:5px;display:grid;overflow:visible;grid-template-columns:repeat(2,minmax(0,1fr))}
  .footer-columns{grid-template-columns:repeat(2,1fr)}
  html:has(#orbitia-demo){scroll-padding-top:calc(var(--landing-header-height) + 16px);scroll-padding-bottom:88px}
  .orion-chat .orion-chat-header{padding:14px 16px}
  .orion-chat .orion-chat-footer{flex-direction:row;align-items:center;gap:10px;font-size:var(--type-xs)}
  .orion-chat .orion-chat-footer button{font-size:var(--type-label);white-space:nowrap;padding:10px}
  #demostracion button,#demostracion a,#preguntas summary,#preguntas a{scroll-margin-top:calc(var(--landing-header-height) + 16px);scroll-margin-bottom:88px}
  .client-login{grid-template-columns:1fr}
  .client-login-story{min-height:0;padding:18px 24px}
  .client-login-message{margin:35px 0}
  .client-login-message p{font-size:var(--type-body-mobile)}
  .client-login-bottom{display:none}
  .client-login-form-wrap{padding:24px 24px 50px}
  .client-login-back{margin-bottom:20px}
  body{font-size:var(--type-body-mobile)}
  main p,main li,.footer p,.three-grid p,.section-lead,.faq details p,.tour-panel-intro p{font-size:var(--type-body-mobile)}
  .subpage-hero h1{font-size:clamp(var(--type-hero-mobile),10vw,var(--type-subpage-mobile))}
  main h2,.product-tour .product-proof-heading h2,.demo-section h2{font-size:var(--type-heading-mobile)}
  main h3,.three-grid h3,.problem-grid h3,.flow-list h3{font-size:var(--type-lead)}
  .hero-lead{margin-bottom:9px;font-size:var(--type-lead-mobile)}
  .subpage-hero .hero-lead{font-size:var(--type-lead-mobile)}
  .header-actions .button{white-space:normal;text-align:center;font-size:var(--type-label);min-height:48px}
  .header-nav a{font-size:var(--type-input)}
  .mobile-cta a:not(.button){color:var(--teal-on-dark);font-size:var(--type-label)}
  .client-login-story .client-login-message{margin:14px 0 8px}
  .client-login-story .client-login-map{position:absolute;top:14px;right:0;max-height:110px;width:150px;max-width:42%;margin:0}
  .client-login-story .client-login-message h1{margin:10px 0;font-size:var(--type-heading-mobile)}
  .client-login-story .client-login-message p{margin-bottom:0}
  .case-grid,.flow-list{grid-template-columns:1fr}
  .product-gallery .tour-panel-intro h3{font-size:var(--type-lead)}
  .credibility-grid{gap:22px}
  .hero h1{margin:15px 0 19px;font-size:var(--type-hero-mobile)}
  .button,.hero-buttons .button,.contact-panel .button,.mobile-cta .button{font-size:var(--type-body-mobile);min-height:var(--button-md)}
  :where(html:not(:has(.client-login))) .button.button-sm{min-height:var(--button-sm)}
  .header-actions>.button{display:none}
  .client-login-story .client-login-message h1{font-size:var(--type-heading-mobile)}
  .client-login-card input,.client-login-card>p,.client-login-demo p{font-size:var(--type-body-mobile)}
  .client-login-map{display:block;max-height:130px;margin:0}
}
/* Conversation geometry switches independently of the main page columns. */
@media(max-width:640px){
  .orion-chat-header{padding:20px 16px;align-items:flex-start;font-size:var(--type-body-mobile)}
  .orion-chat-intro,.orion-user-message,.orion-chat-status,.orion-response{margin-left:16px;margin-right:16px}
  .orion-questions{margin-left:16px;margin-right:16px;grid-template-columns:1fr}
  .orion-hypotheses,.orion-zone-facts{grid-template-columns:1fr}
  .orion-questions button{font-size:var(--type-body-mobile);padding:16px;min-height:64px}
  .orion-response h3,.orion-complete h3{font-size:var(--type-lead)}
  .orion-bar-row{grid-template-columns:86px minmax(40px,1fr) 58px;gap:7px}
  .orion-bar-row strong,.orion-bar-row b{font-size:var(--type-label)}
  .orion-bar-row small{grid-column:1/4}
  .orion-initiative,.orion-hypotheses article{padding:18px}
  .orion-complete{margin-left:16px;margin-right:16px;padding:18px}
  .orion-initiative h4{font-size:var(--type-lead)}
  .orion-chat-footer{margin-left:16px;margin-right:16px;align-items:flex-start;flex-direction:column}
  .orion-complete .button{width:100%}
}
@media(max-width:600px){
  .diagnostic-map-shell{height:320px}
  .diagnostic-zone-summary{padding:12px}
}
@media(max-width:575px){.sandbox-dialog{padding:24px}}
@media(max-width:420px){
  .tour-tabs{grid-template-columns:1fr 1fr}
  .hero-product-main{padding:14px}
  .hero-product-cards strong{font-size:var(--type-body-mobile)}
  .hero-product-cards>div{padding:8px}
  .hero-product-context,.hero-product-orion{display:block}
  .hero-product-context strong,.hero-product-orion strong{display:block;margin-bottom:3px}
}
@media(max-width:390px){
  .hero-buttons{margin-top:18px}
  .sim-actions .button{width:100%;white-space:normal;text-align:center}
  .footer-columns{gap:18px}
  .header-actions .button{max-width:112px}
  .brand{gap:1px}
}
/* Important retains the original reduced-motion contract, including login. */
/* Explicit landing surfaces and controls; no shared token changes. */
.landing-public .cases,.landing-public .flow{background:var(--paper)}
.landing-public .faq{background:var(--mist)}
.landing-public .diagnosis,.landing-public .contact{background:var(--diagnostic)}
.hero-diagnostic-link,.tour-expand,.contact-layout a[href^="mailto:"],.contact-layout a[data-whatsapp]{display:inline-flex;align-items:center;min-height:44px}
.diagnostic-map-details>summary{display:list-item;min-height:44px;padding:12px 0;cursor:pointer;font-weight:700;color:var(--darkteal)}
body.landing-public:not(.hero-passed) .mobile-cta,
body.landing-public:not(.hero-passed) .orion-launcher{display:none!important}
body.has-public-orion .orion-launcher{left:auto;right:24px;bottom:24px}
body.has-public-orion .whatsapp-float{bottom:96px;background:var(--darkteal)}
@media(prefers-reduced-motion:reduce){
  html:where(:not(:has(.client-login))){scroll-behavior:auto}
  :where(html:not(:has(.client-login))) .button,.tour-tabs button,.tour-next{transition:none}
  .sim-card,.pos-stage,.sandbox-dialog{scroll-behavior:auto}
  *,::before,::after{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}
}