/* Bloque 1 de 4 de la hoja de la web de DSEO (site-base.css, site-home.css, site-pages-1.css,
   site-pages-2.css), cargados por views/dseo/_head.ejs en ese orden: al partir la hoja
   única, concatenados reproducían esa hoja. Este bloque lleva los tokens y el global completos --
   tipografía/color/espacio, el reset, y todo lo de cabecera/menú/pie (site-header, desktop-nav,
   language-switch, mobile-menu, botones, wordmark, footer, nav-cta) con sus revisiones: van
   entremezcladas porque las revisiones pisan a la declaración de más arriba en la MISMA
   cascada, y separarlas exigiría reordenar reglas que dependen de ese orden; quedan juntas
   a propósito en vez de forzar una frontera falsa. */
/* Vestido de dseomarketing.com: tokens de color/tipografia + base global + una hoja por
   pagina, en el mismo orden de cascada que la web anterior. Sin video, sin canvas, sin JS
   (eso va en gateway-code, home-field, interactions y brand-film). Las reglas de aparicion
   por scroll de motion.css y de las hojas .compartido quedan aqui tal cual: sin la clase que
   solo el JS anade, el reposo es visible de siempre (ninguna regla oculta el elemento por
   defecto, solo lo ANIMA con la clase puesta). gateway.css sigue aparte. Fuentes: reutiliza
   public/fonts/manrope-variable.woff2 e instrument-serif-italic.woff2, los mismos tipos de
   letra que usa admin-dseo.css; no hay un segundo juego de ficheros .woff2 para lo mismo. */
@font-face{font-family:'Manrope Variable';font-style:normal;font-display:swap;font-weight:200 800;src:url('/fonts/manrope-variable.woff2') format('woff2')}
@font-face{font-family:'Instrument Serif';font-style:italic;font-display:swap;font-weight:400;src:url('/fonts/instrument-serif-italic.woff2') format('woff2')}

/* Design tokens: colour, type, spacing and the page wrap. */
:root {
  --bg-0: #06070a;
  --bg-1: #0b0e14;
  --bg-2: #111620;
  --ink-0: #f4f7fb;
  --ink-1: #c5ceda;
  --ink-2: #9aa7b9;
  --line: rgba(255,255,255,.14);
  --electric-blue: #86bcff;
  /* Same hue as --electric-blue (213.22°, 100% saturation), darkened to 46% lightness --
     the only step where it clears 4.5:1 against --ink-0 (#f4f7fb): measured 4.63:1.
     Not a new colour, a darker shade of the one that already exists. Used only on
     .nav-cta-dot, where the logo's own light blue measured 1.83:1 and did not read on
     a white pill. The logo dot and the nav's active dot
     keep --electric-blue unchanged. */
  --electric-blue-deep: #0069eb;
  --electric-violet: #937cff;
  --warm-accent: #d0a04a;
  --font-sans: 'Manrope Variable', Arial, sans-serif;
  --font-serif: 'Instrument Serif', Georgia, serif;
  --wrap: min(1220px, calc(100% - 40px));
  --ease: cubic-bezier(.22,.7,.2,1);
  --section-space: 80px;
  color-scheme: dark;
}
@media(min-width:768px){:root{--wrap:min(1220px, calc(100% - 80px));--section-space:120px}}
@media(min-width:1280px){:root{--section-space:140px}}

/* Site-wide base: tokens in use, layout primitives, header, footer and the shared action system.
   Fuentes: archivos .woff2 entre los dos paquetes, el sitio solo pedía estos 2 (medido con el build real);
   el resto (latin-ext/griego/vietnamita/cirílico de Manrope, latin-ext de Instrument Serif) nunca
   se importaba. Licencia OFL de cada fuente en public/fonts/*-LICENSE-OFL.txt, sin tocar. */
*{box-sizing:border-box}
html{background:var(--bg-0);scroll-behavior:smooth;scroll-padding-top:110px}
body{margin:0;background:var(--bg-0);color:var(--ink-0);font-family:var(--font-sans);font-size:16px;line-height:1.7;-webkit-font-smoothing:antialiased}
body,button,a{-webkit-tap-highlight-color:transparent}
img,picture{display:block;max-width:100%;height:auto}
a{color:inherit;text-decoration:none}a:hover{color:var(--electric-blue)}
button,summary{font:inherit}button{color:inherit}a,summary,button{touch-action:manipulation}
button,summary{cursor:pointer}
:focus-visible{outline:2px solid var(--electric-blue);outline-offset:5px}
::selection{background:#86bcff;color:#06070a}
h1,h2,h3,p{margin-top:0}h1,h2,h3{line-height:1.12;font-weight:500;letter-spacing:-.045em;text-wrap:balance}
h1{font-size:clamp(42px,6vw,88px)}h2{font-size:clamp(37px,4.8vw,66px)}h3{font-size:24px}
em{font-family:var(--font-serif);font-weight:400;letter-spacing:-.025em}
p{color:var(--ink-1)}main{min-height:70vh}
.wrap{width:var(--wrap);margin-inline:auto}.section-space{padding-block:var(--section-space)}
.eyebrow{font-size:11px;font-weight:600;letter-spacing:.19em;text-transform:uppercase;color:var(--ink-2);line-height:1.65;margin-bottom:24px}
.skip-link{position:fixed;top:10px;left:12px;z-index:200;background:var(--ink-0);color:var(--bg-0);padding:12px 18px;transform:translateY(-200%)}.skip-link:focus{transform:none}
.button{display:inline-flex;align-items:center;justify-content:space-between;gap:24px;min-height:52px;padding:13px 23px;border:1px solid var(--ink-0);border-radius:999px;background:var(--ink-0);color:var(--bg-0);font-weight:650;font-size:14px;line-height:1.5;max-width:100%;transition:background .2s,border-color .2s,transform .25s var(--ease)}
.button:hover{background:var(--electric-blue);border-color:var(--electric-blue);color:var(--bg-0)}.button.secondary{background:transparent;color:var(--ink-0);border-color:var(--line)}.button.secondary:hover{border-color:var(--electric-blue);color:var(--electric-blue)}
.text-link{display:inline-flex;align-items:center;justify-content:space-between;gap:20px;min-height:44px;font-size:14px;line-height:1.6;font-weight:500;border-bottom:1px solid var(--line);padding-block:9px}.text-link:hover{border-color:var(--electric-blue)}
.wordmark{display:inline-flex;flex-direction:column;line-height:1;width:max-content;max-width:100%;color:var(--ink-0)}.wordmark-name{font-size:28px;font-weight:650;letter-spacing:-.05em}.wordmark-sub{font-size:7px;letter-spacing:.43em;margin-top:7px;margin-left:2px}
.site-header{position:sticky;top:0;z-index:100;background:rgba(6,7,10,.92);border-bottom:1px solid var(--line);backdrop-filter:blur(16px)}.header-inner{width:min(1360px,calc(100% - 40px));height:78px;display:flex;gap:10px;align-items:center;margin:auto}.brand{margin-right:auto;display:flex;align-items:center;min-height:44px}.desktop-nav{display:none}
.language-switch{display:flex;align-items:center;gap:0;font-size:11px;font-weight:650}.language-switch a{min-width:44px;min-height:44px;display:grid;place-items:center;color:var(--ink-2)}.language-switch a[aria-current]{color:var(--ink-0);text-decoration:underline;text-underline-offset:6px}.language-switch>span{color:var(--ink-2);font-size:10px}
.mobile-menu summary{display:flex;align-items:center;gap:10px;min-height:44px;font-size:12px;list-style:none}.mobile-menu summary::-webkit-details-marker{display:none}.menu-symbol{font-size:23px;line-height:1}.mobile-menu[open] .menu-symbol{transform:rotate(45deg)}
.mobile-sheet{position:absolute;top:100%;left:0;width:100%;max-height:calc(100dvh - 78px);overflow-y:auto;background:var(--bg-1);border-bottom:1px solid var(--line);padding:14px 20px 24px;box-shadow:0 30px 50px #0008}.mobile-sheet>a{display:flex;align-items:center;gap:20px;min-height:54px;border-bottom:1px solid var(--line);font-size:16px}.mobile-sheet>a>span:last-child{margin-left:auto}.mobile-sheet .sheet-contact{margin-top:20px;padding:14px;background:var(--ink-0);color:var(--bg-0);font-size:14px}.mobile-sheet a[aria-current]{color:var(--electric-blue)}
.hero{position:relative;isolation:isolate;overflow:hidden;min-height:calc(100svh - 78px);background:radial-gradient(ellipse at 50% 38%,#141a2a80,transparent 60%),var(--bg-0);display:flex;flex-direction:column;justify-content:center}

.ambient-canvas{position:absolute;inset:0;width:100%;height:100%;z-index:-1;pointer-events:none}
.hero-content{text-align:center;position:relative;padding-top:38px;padding-bottom:24px}.hero-kicker{font-size:9px;letter-spacing:.16em;margin-bottom:28px}
.hero h1{font-size:clamp(34px,4.3vw,60px);max-width:870px;margin:0 auto 18px;letter-spacing:-.042em}.hero h1 em{display:block;color:#d0d9e8}.hero-description{max-width:585px;margin:0 auto 24px;font-size:15px;line-height:1.8}.hero-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:12px 28px}.hero-actions .text-link{font-size:13px}

.accent-dot{color:var(--electric-blue)}
.credentials{list-style:none;padding:0;margin:28px 0;color:var(--ink-1);font-size:13px}.credentials li{padding:12px 0 12px 18px;border-bottom:1px solid var(--line);position:relative}.credentials li::before{content:'';position:absolute;left:0;top:22px;width:4px;height:4px;background:var(--warm-accent)}.inline-links{display:flex;flex-wrap:wrap;gap:12px 25px;margin-bottom:28px}.inline-links .text-link{font-size:13px}

.final-cta{border-top:1px solid var(--line);display:grid;gap:24px}.final-cta h2{max-width:790px;font-size:clamp(40px,4.8vw,66px);margin:0}.final-actions>p{font-size:15px;max-width:410px;margin-bottom:28px}
.site-footer{border-top:1px solid var(--line);padding-block:48px 24px}.footer-bottom{border-top:1px solid var(--line);padding-top:20px;display:flex;flex-wrap:wrap;gap:14px 30px;align-items:center;font-size:10px;color:var(--ink-2)}.footer-bottom a{display:flex;align-items:center;min-height:44px}
.breadcrumbs{margin-bottom:42px}.breadcrumbs ol{display:flex;flex-wrap:wrap;align-items:center;gap:0 12px;list-style:none;padding:0;margin:0;color:var(--ink-2);font-size:11px}.breadcrumbs li{display:flex;gap:12px;align-items:center}.breadcrumbs li+li::before{content:'/';opacity:.6}.breadcrumbs a{display:inline-flex;align-items:center;min-height:44px}.breadcrumbs [aria-current]{line-height:1.5}
.page-intro{padding-block:32px 60px;border-bottom:1px solid var(--line)}.page-intro h1{max-width:1020px;margin-bottom:30px;font-size:clamp(41px,5.8vw,82px)}.page-intro .eyebrow{color:var(--electric-blue)}.page-lead{max-width:800px;font-size:clamp(17px,1.8vw,21px);line-height:1.8;color:var(--ink-1)}.page-lead p{margin-bottom:20px}.article-layout{display:grid;padding-block:55px 80px;gap:40px}.article-sidebar{align-self:start}.article-sidebar nav{border-block:1px solid var(--line);padding-block:20px}.article-sidebar .eyebrow{margin-bottom:14px;font-size:10px}.article-sidebar ol{padding-left:20px;font-size:12px;color:var(--ink-2);margin:0}.article-sidebar ol.legal-index{list-style:none;padding-left:0}.article-sidebar li{padding-left:4px}.article-sidebar li a{display:flex;align-items:center;min-height:44px;line-height:1.6;padding-block:6px}.article-sidebar>.text-link{display:flex;margin-top:18px;font-size:12px}
.prose{min-width:0;max-width:740px;color:var(--ink-1);font-size:17px;line-height:1.9}.prose h2{font-size:clamp(27px,2.4vw,36px);color:var(--ink-0);margin:55px 0 22px;line-height:1.2;scroll-margin-top:110px}.prose h2:first-child{margin-top:0}.prose p{margin-bottom:23px}
.related{border-top:1px solid var(--line)}.related-links{display:grid;gap:0}.related-links a{display:flex;align-items:center;justify-content:space-between;gap:22px;border-bottom:1px solid var(--line);padding:24px 0;font-size:22px;line-height:1.4;letter-spacing:-.02em}

.contact-page{padding-block:32px 90px}
.gateway{position:relative;isolation:isolate;overflow:hidden;min-height:100svh;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:50px 20px;text-align:center;background:radial-gradient(ellipse at 50% 35%,#15203680,transparent 60%)}.gateway .eyebrow{font-size:9px;margin-bottom:45px}.gateway h1{font-size:clamp(30px,4vw,45px);line-height:1.3;margin:45px 0 30px}.gateway h1 em{color:var(--ink-1)}.gateway nav{display:grid;grid-template-columns:1fr 1fr;max-width:480px;gap:15px;margin:auto}.gateway nav a{display:flex;justify-content:space-between;padding:20px 18px;border:1px solid var(--line);text-align:left;font-size:16px;background:#0b0e1444}.gateway nav a:hover{border-color:var(--electric-blue);background:var(--bg-2)}.error-page h1{margin-top:25px}.error-page>.eyebrow{margin:40px 0 0}.error-page>p{font-size:16px}.error-page .hero-actions{margin-top:15px}
@media(min-width:600px){.hero-content{padding-top:55px;padding-bottom:40px}.hero-description{font-size:16px}.hero-kicker{font-size:10px;letter-spacing:.25em}}
@media(min-width:768px){.header-inner{height:88px;width:calc(100% - 64px)}.mobile-sheet{padding-inline:40px;max-height:calc(100dvh - 88px)}.hero{min-height:calc(100svh - 88px)}.hero-content{padding-top:50px;padding-bottom:35px}.hero h1 em{display:inline}.architecture p:not(.eyebrow){font-size:17px}.section-heading{flex-direction:row;justify-content:space-between;align-items:flex-end;gap:65px}.section-heading>.text-link{flex-shrink:0}.final-cta{grid-template-columns:1.5fr 1fr;gap:70px;align-items:end}.footer-bottom>span:nth-child(2){margin-left:auto}.article-layout{grid-template-columns:230px minmax(0,1fr);gap:60px;padding-block:80px 120px}.article-sidebar{position:sticky;top:115px}.page-intro{padding-block:36px 80px}.page-intro .breadcrumbs{margin-bottom:60px}.related-links{grid-template-columns:repeat(3,1fr);gap:36px}.related-links a{align-items:start;font-size:23px}}
@media(min-width:1100px){.hero-content{padding-block:45px 25px}.hero h1{margin-bottom:20px}}
@media(min-width:1280px){.header-inner{width:min(1360px,calc(100% - 64px));gap:20px}.desktop-nav{display:flex;gap:23px;align-items:center}.desktop-nav a{font-size:11px;min-height:44px;display:flex;align-items:center;white-space:nowrap}.desktop-nav a[aria-current]{color:var(--electric-blue)}.mobile-menu{display:none}.hero-description{max-width:650px}.article-layout{grid-template-columns:260px minmax(0,740px);gap:100px}.prose{font-size:18px}.page-intro h1{max-width:1050px}}
@media(max-width:389px){.header-inner{gap:5px}.wordmark-name{font-size:25px}.wordmark-sub{font-size:6px}.hero-kicker{font-size:8px}.hero-content{padding-top:30px}.hero-description{font-size:14px}.hero h1{font-size:33px}.hero-actions{gap:8px}}

/* Keep glyph bounds and every interactive target complete. */

.breadcrumbs a{min-width:44px}
.mobile-menu:not([open]) .mobile-sheet{display:none}
.hero-description{font-size:16px}

.credentials strong,.education-label{display:block;color:var(--ink-0);font-size:13px;font-weight:500;letter-spacing:.025em;margin-top:5px}
.education-label{letter-spacing:0;color:var(--ink-1)}

.professional-references{margin-top:65px}.reference-list a{display:flex;justify-content:space-between;gap:20px;align-items:center;text-decoration:none;padding:20px 0;border-bottom:1px solid var(--line);color:var(--ink-0)}.reference-list strong{font-size:17px;font-weight:500}.reference-list small{display:block;font-size:14px;line-height:1.6;color:var(--ink-1);margin-top:8px}.reference-list a:hover{color:var(--electric-blue)}.reference-social{font-size:13px;margin-top:30px}

/* Contact controls use a shared soft silhouette throughout the site. */
.mobile-sheet .sheet-contact{border-radius:999px}.mobile-menu summary{border-radius:999px;padding-inline:13px;background:#ffffff09}
/* Primary navigation: full choices on desktop, a compact two-column mobile panel. */
.site-header{background:#090c13f2;border-bottom:1px solid #9bb4dc18}.header-inner{gap:16px}.language-switch{border:1px solid #a6bdd22b;border-radius:999px;padding:1px;font-size:10px}.language-switch>span{display:none}.language-switch a{min-width:36px;min-height:40px;border-radius:50%}.language-switch a[aria-current]{background:#cadbf614;color:#eef5ff;text-decoration:none}.mobile-menu summary{min-height:44px;min-width:80px;padding:9px 14px;gap:14px;background:#d5e1f20c;border:1px solid #b6c9df24;border-radius:999px}.menu-symbol{display:flex;flex-direction:column;gap:5px;width:15px;font-size:0;transition:transform .2s}.menu-symbol i{display:block;height:1px;width:15px;background:currentColor}.menu-symbol i:last-child{width:10px;margin-left:auto}.mobile-menu[open] .menu-symbol{transform:rotate(90deg)}
.mobile-sheet{left:auto;right:16px;top:calc(100% + 8px);width:min(440px,calc(100% - 32px));padding:22px;max-height:calc(100dvh - 105px);border:1px solid #a5bcdf36;border-radius:24px;background:#121c2a;box-shadow:0 22px 70px #0008;overflow:auto}.menu-heading{display:flex;justify-content:space-between;gap:15px;font-size:10px;color:#a8bedf;letter-spacing:.07em;padding-bottom:18px;border-bottom:1px solid #a2b7d72b}.menu-heading>span:last-child{font-size:9px}.menu-destinations{display:grid;grid-template-columns:1fr 1fr;gap:6px 22px;padding-block:15px}.menu-destinations>a{display:flex;justify-content:space-between;align-items:center;gap:8px;min-height:59px;font-size:19px;letter-spacing:-.035em}.mobile-sheet .sheet-contact{display:flex;align-items:center;justify-content:space-between;border:0;background:#d8e5ff;color:#10213c;margin:0;padding:12px 17px;border-radius:999px;font-size:13px;min-height:52px;gap:12px}.sheet-contact>span{font-size:11px;display:flex;align-items:center;gap:10px}.language-switch a{min-width:44px;min-height:44px}
@media(min-width:900px){.header-inner{height:88px;width:calc(100% - 48px);gap:18px}.desktop-nav{display:flex;gap:19px;align-items:center}.desktop-nav a{font-size:12px;display:flex;align-items:center;min-height:44px;white-space:nowrap}.mobile-menu{display:none}.brand{margin-right:auto}}
@media(min-width:1280px){.header-inner{width:min(1360px,calc(100% - 64px));gap:24px}.desktop-nav{gap:27px}.desktop-nav a{font-size:13px}}
@media(max-width:389px){.header-inner{width:calc(100% - 32px);gap:8px}.language-switch a{min-width:44px}.mobile-menu summary{min-width:76px;padding-inline:12px}.menu-destinations>a{font-size:18px}}
/* DSEO signature: a drawn D/slash monogram paired with a tighter wordmark. */
.wordmark{display:inline-flex;flex-direction:row;align-items:center;gap:9px}.wordmark-type{display:flex;flex-direction:column;line-height:1}.wordmark-name{font-size:27px;font-weight:750;letter-spacing:-.055em}.wordmark-sub{font-size:6px;letter-spacing:.31em;margin:7px 0 0 2px}
@media(max-width:389px){.wordmark{gap:7px}.wordmark-name{font-size:24px}.wordmark-sub{font-size:5px;letter-spacing:.32em}}
/* ===== Header R3 · one brand,no toggle-looking language switch ===== */
.header-inner{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:20px}
.brand{margin:0;min-height:44px}
.header-actions{display:flex;align-items:center;justify-content:flex-end;gap:2px;min-width:0}
.header-rule{display:none}
/* Typographic lockup. The mark is the word, with one cobalt accent. */
.wordmark{display:inline-flex;flex-direction:column;gap:0;width:max-content;max-width:100%}
.wordmark-type{display:flex;flex-direction:column;line-height:1}
.wordmark-name{display:inline-flex;align-items:baseline;font-size:25px;font-weight:750;letter-spacing:-.055em;line-height:1}
.wordmark-mark{width:5px;height:5px;margin-left:2.5px;border-radius:50%;background:var(--brand-accent,#86bcff);flex-shrink:0;align-self:flex-end;margin-bottom:1px}
.wordmark-sub{display:flex;justify-content:space-between;width:100%;font-size:8px;font-weight:600;letter-spacing:0;margin:7px 0 0;color:var(--ink-2);font-style:normal}
.wordmark-sub i{font-style:normal;line-height:1}
.wordmark-reader{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
/* Language is a quiet editorial pair, never a switch. */
.language-switch{border:0;border-radius:0;padding:0;gap:0;font-size:11px;font-weight:650;letter-spacing:.05em}
.language-switch>span{display:grid;place-items:center;width:9px;font-weight:400;opacity:.32}
.language-switch a{min-width:44px;min-height:44px;display:grid;place-items:center;border-radius:0;background:none;color:var(--ink-2);text-decoration:none;transition:color .18s}
.language-switch a:hover{color:var(--ink-0)}
.language-switch a[aria-current]{background:none;color:var(--ink-0);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:7px}
@media(max-width:389px){.wordmark-name{font-size:22px}.wordmark-sub{font-size:7px}.header-inner{gap:8px}}
@media(min-width:768px){
 .desktop-nav{display:flex;align-items:center;gap:clamp(18px,2.1vw,32px)}
 .desktop-nav a{position:relative;display:flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;font-size:13px;white-space:nowrap;color:var(--ink-1);transition:color .18s}
 .desktop-nav a:hover{color:var(--ink-0)}
 .desktop-nav a[aria-current]{color:var(--ink-0)}
 .desktop-nav a::after{content:'';position:absolute;left:50%;bottom:7px;width:4px;height:4px;margin-left:-2px;border-radius:50%;background:var(--brand-accent,#86bcff);opacity:0;transition:opacity .18s}
 .desktop-nav a:hover::after,.desktop-nav a[aria-current]::after{opacity:1}
 .header-actions{gap:22px}
 .header-rule{display:block;width:1px;height:20px;background:currentColor;opacity:.16}
 .wordmark-name{font-size:27px}
 .wordmark-mark{width:5.5px;height:5.5px}
 .wordmark-sub{font-size:8px}
}
@media(min-width:1280px){.desktop-nav{gap:32px}.desktop-nav a{font-size:13.5px}.header-actions{gap:26px}}
/* ===== Action system R4 · capsules with light,nothing square ===== */
.button{position:relative;overflow:hidden;justify-content:center;gap:0;border-radius:999px;padding:16px 32px;min-height:54px;font-weight:650;letter-spacing:-.005em;isolation:isolate}

.button::after{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(105deg,transparent 32%,rgba(255,255,255,.34) 48%,transparent 64%);transform:translateX(-130%)}
.text-link{display:inline-flex;align-items:center;justify-content:flex-start;gap:0;min-height:44px;font-size:14px;font-weight:600;line-height:1.6;border:0;padding-block:9px;background-image:linear-gradient(currentColor,currentColor);background-repeat:no-repeat;background-position:0 calc(50% + .8em);background-size:0 1px}
.text-link:hover,.text-link:focus-visible{background-size:100% 1px}

@media(prefers-reduced-motion:no-preference){
 .button{transition:transform .3s var(--ease),box-shadow .3s var(--ease),background .25s}
 .button::after{transition:transform .8s var(--ease)}
 .button:hover::after{transform:translateX(130%)}
 .button:hover{transform:translateY(-2px)}
 .button:active{transform:translateY(0)}
 .text-link{transition:background-size .35s var(--ease),color .2s}
}
/* ===== Footer R6 · the directory written as a Python module ===== */
.site-footer{border-top:1px solid var(--line);padding-block:52px 18px;background:#06070a}
.footer-module{display:grid;gap:38px}
.footer-brand{display:flex;align-items:center;min-height:44px;margin-bottom:18px;background:transparent;border:0;padding:0;cursor:pointer}
.footer-groups{display:grid;gap:26px}
.code-block{font:500 13px/1.85 ui-monospace,SFMono-Regular,Consolas,monospace}
.code-line{margin:0;white-space:nowrap;line-height:1.75}
.code-line:has(a){display:flex;align-items:center;min-height:44px}
.code-indent{padding-left:2.2ch}

.c-kw{color:#c49aff}
.c-cls{color:#7fd3b4}
.c-var{color:#8fb6e8}
.c-op,.c-p{color:#6f849f}
.c-doc{color:#7fbfa3;white-space:normal}
.c-cm{color:#68798f}
.code-block a{display:inline-flex;align-items:center;min-height:44px}
.code-block a.c-str{color:#9ad9bd;text-decoration:none;transition:color .18s}
.code-block a.c-str:hover,.code-block a.c-str:focus-visible{color:#e6fff5;text-decoration:underline;text-underline-offset:4px}
.footer-bottom{border-top:1px solid var(--line);margin-top:38px;padding-top:10px;display:grid;gap:0;justify-items:start;font:500 12px/1.9 ui-monospace,SFMono-Regular,Consolas,monospace}
.footer-bottom .code-line{display:flex;align-items:center;min-height:44px;white-space:normal}
.footer-contact{flex-wrap:wrap;row-gap:4px}

@media(min-width:768px){
 .site-footer{padding-block:70px 20px}
 .footer-groups{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 24px}
 .code-block{font-size:13.5px}
 .footer-bottom{margin-top:52px;grid-template-columns:1fr auto 1fr;align-items:center}
 .footer-bottom>.code-line:nth-child(2){justify-self:center}
 .footer-bottom>.code-line:last-child{justify-self:end}
}
@media(min-width:900px){
 .footer-module{grid-template-columns:minmax(220px,1.2fr) minmax(0,1fr) minmax(0,1fr);gap:0 44px;align-items:start}
 .footer-identity{min-width:0}
 .footer-identity .code-line{white-space:normal}
 .footer-identity .code-block{font-size:12.5px}
 .footer-groups{grid-column:2/-1;display:grid;grid-template-columns:subgrid;gap:0}
}
@media(min-width:1280px){.footer-module{gap:0 60px}.footer-identity .code-block{font-size:13.5px}}

.footer-locale{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;color:#8fb6e8;text-decoration:none;font-weight:650}
.footer-locale:hover{color:#dbe9ff}
.footer-locale[aria-current]{color:#9ad9bd;text-decoration:underline;text-underline-offset:5px}
@media(max-width:389px){.code-block{font-size:12px}.footer-bottom{font-size:11px}}
/* ===== CTA · the label types itself out as a Python call on hover ===== */
/* One idea per interaction: a button that types does not also sweep and lift. */
.type-swap::after{content:none}
.type-swap:hover{transform:none}
.type-stack{display:grid;align-items:center;justify-items:center}
.type-plain,.type-code{grid-area:1/1}
.type-plain{white-space:nowrap}
.type-code{position:relative;display:inline-flex;white-space:nowrap;font:600 13px/1 ui-monospace,SFMono-Regular,Consolas,monospace;letter-spacing:0;visibility:hidden;clip-path:inset(0 100% 0 0)}
.type-code::after{content:'';position:absolute;right:-2px;top:8%;width:1.5px;height:84%;background:currentColor;opacity:0}
.code-obj{color:#3f6bc8}
.code-fn{color:#7a5fd0}
.code-punct{color:#5a6c86}
.type-swap:hover .type-plain,.type-swap:focus-visible .type-plain{opacity:0}
.type-swap:hover .type-code,.type-swap:focus-visible .type-code{visibility:visible;clip-path:inset(0 0 0 0)}
.type-swap:hover .type-code::after,.type-swap:focus-visible .type-code::after{opacity:1}
@media(prefers-reduced-motion:no-preference){
 .type-plain{transition:opacity .01s}
 .type-code{transition:clip-path .46s steps(14,end)}
 .type-swap:hover .type-code::after,.type-swap:focus-visible .type-code::after{animation:type-caret .8s steps(1,end) .42s infinite}
}
@keyframes type-caret{0%,50%{opacity:1}51%,100%{opacity:0}}
/* Dark surfaces need the syntax colours lifted off the background. */
.home-r2 .r2-closing .type-swap .code-obj,.home-r2 .cine-hero .type-swap .code-obj{color:#3f6bc8}
/* The footer closes with the same language control as the header, in the code voice. */
/* El enlace propio mediría 23px de alto: .code-line:has(a) ya da 44px a la línea, pero
   align-items:center no estira al enlace dentro de ella. Igual que .footer-bottom a (abajo): el
   mínimo de 44px va en el propio enlace, no solo en el contenedor.
   inline-flex en vez de flex: estos enlaces van sueltos dentro de una línea de texto, no en fila. */
.footer-lead{display:inline-flex;align-items:center;min-height:44px;text-decoration:none;transition:color .18s}
.footer-lead:hover,.footer-lead:focus-visible{color:#cfe0f7;text-decoration:underline;text-underline-offset:4px}
.footer-lang{gap:0}

/* The 404 lockup lives inside main, so it answers to the same touch and type floors. */
.error-page>a:first-child{display:inline-flex;align-items:center;min-width:44px;min-height:44px}
.error-page .wordmark-sub{font-size:10px;letter-spacing:.2em}
.gateway.error-page .eyebrow{font-size:10px}

/* Build-a-Website CTA: sells, so it is a solid pill, never the plain text-link voice used by the
 * other nav items. The hamburger stays visible until 900px (`.mobile-menu` above), and at 768px
 * it already shares the row with the full desktop nav with only ~11px to spare -- measured with
 * Playwright, not guessed -- so the inline button only joins that row once the hamburger is gone,
 * at the same 900px the codebase already treats as "desktop enough to drop the hamburger". Below
 * that, the CTA runs as its own thin strip under the header, where it has sole use of the row.
 *
 * `.cta-tap` is the `<a>` itself: invisible, no background of its own, sized to the 44px touch
 * floor (the `touch-targets` gate in scripts/browser-qa.mjs reads `getBoundingClientRect()` on
 * the `<a>` tag directly, so a pseudo-element hit-area would never satisfy it -- the real tag has
 * to be 44px). `.cta-pill` is the inner span that actually paints: it can run smaller than 44px
 * because nothing measures it, only what the eye sees. */
.cta-tap{display:inline-flex;align-items:center;justify-content:center;min-height:44px}
.cta-pill{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;background:var(--ink-0);color:var(--bg-0);font-weight:650;letter-spacing:-.005em;line-height:1.3;white-space:nowrap;transition:background .2s,color .2s}
.cta-tap:hover .cta-pill,.cta-tap:focus-visible .cta-pill{background:var(--electric-blue)}
.nav-cta .cta-pill{padding:9px 16px;font-size:13px}
.nav-cta-dot{color:var(--electric-blue-deep)}
.nav-cta-row{display:none}
@media(min-width:900px){.nav-cta-row{display:inline-flex}}
.nav-cta-bar{display:flex;justify-content:flex-end;padding:6px 20px;border-top:1px solid var(--line)}
@media(max-width:389px){.nav-cta-bar{padding-inline:16px}}
@media(min-width:768px){.nav-cta-bar{padding:8px 32px}}
@media(min-width:900px){.nav-cta-bar{display:none}}

