/* Estilos del formulario de contacto (convertidos desde formulario-contacto-taskility/index.html) */
/* Smart Shipments - Design System: tokens.css (generated from tokens.json) */
/* Smart Shipments - Design System — generated from tokens.json */
:root, [data-theme="light"] {
  --bg: #fafafa;
  --surface: #ffffff;
  --ink: #172140;
  --muted: #525866;
  --line: rgba(10,10,10,0.10);
  --line-strong: rgba(23,33,64,0.18);
  --brand-1: #125488;
  --brand-2: #2a93d5;
  --brand-3: #37caec;
  --brand-4: #3dd9d6;
  --brand-5: #add9d8;
  --action: #0c34fa;
  --action-hover: #0a2bd0;
  --action-fg: #ffffff;
  --accent: #2a93d5;
  --accent-ring: rgba(42,147,213,0.15);
  --soft-bg: #f1f0ee;
  --soft-bg-hover: #e6e5e2;
  --soft-bg-active: #dcdbd7;
  --soft-fg: #1d1d1f;
  --card-bg: rgba(255,255,255,0.9);
  --card-border: rgba(23,33,64,0.08);
  --card-border-hover: rgba(23,33,64,0.16);
  --shine: rgba(255,255,255,0.4);
  --glass-bg: rgba(255,255,255,0.72);
  --glass-bg-hover: rgba(255,255,255,0.85);
  --glow: rgba(42,147,213,0.13);
  --glow-2: rgba(42,147,213,0.07);
  --glow-3: rgba(42,147,213,0.03);
  --pill-bg: rgba(255,255,255,0.6);
  --pill-active-bg: #ffffff;
  --accent-card-bg: #172140;
  --accent-card-border: rgba(0,0,0,0);
  --hover-bg: rgba(23,33,64,0.04);
  --active-bg: rgba(23,33,64,0.05);
  --active-line: #172140;
  --btn-bg: #172140;
  --btn-fg: #ffffff;
  --ok-bg: #ecfdf5;
  --ok-border: #d1fae5;
  --ok-fg: #047857;
  --ok-icon: #059669;
  --wordmark: #333333;
  --logo-blue: #0085ff;
  --logo-grey: #6e6e6e;
  --logo-white: #ffffff;
  --iso-1: #006eff;
  --iso-2: #0092ff;
  --iso-3: #00b1ff;
  --iso-4: #00d4ff;
  --iso-5: #00edf5;
  --iso-6: #68f5de;
  --iso-7: #9dffde;
  --iso-8: #bbffde;
  --iso-9: #ffffff;
  --footer-edge: #e4f6ff;
  --footer-1: #0050ff;
  --footer-2: #0a64ff;
  --footer-3: #168cff;
  --footer-4: #6cc6ff;
  --problem-card: #e8ebf0;
  --problem-card-hover: #dfe3ea;
  --problem-card-border: rgba(23,33,64,0.06);
  --on-gradient-text: rgba(23,33,64,0.82);
  --story-text: #4b5262;
  --story-label: #7a8191;
  --story-stroke: #b9bfcb;
  --sheet-icon: #9aa1ae;
  --sheet-icon-light: #cdd2db;
  --g-paper: #ffffff;
  --g-surface: #f2f2f7;
  --g-line: #e5e5ea;
  --g-line-2: #d1d1d6;
  --g-mid: #8e8e93;
  --g-ink-2: #636366;
  --g-ink: #1c1c1e;
  --caption-bg: rgba(23,33,64,0.78);
  --caption-fg: #f2f2f7;
  --field-border: rgba(130,170,240,0.18);
  --field-border-hover: rgba(130,170,240,0.28);
  --field-border-focus: rgba(55,202,236,0.6);
  --field-bg: rgba(255,255,255,0.04);
  --field-bg-focus: rgba(255,255,255,0.06);
  --form-card-bg: rgba(255,255,255,0.025);
  --field-error: rgba(239,100,97,0.7);
  --status-warn: #f5c46b;
  --plate-1: #bbffde;
  --plate-2: #3bf2e8;
  --plate-3: #00b1ff;
  --plate-4: #0092ff;
  --plate-5: #006eff;
  --plate-edge: rgba(32,190,215,0.85);
  --plate-fill-1: rgba(205,246,250,0.6);
  --plate-fill-2: rgba(61,217,214,0.2);
  --plate-glow: rgba(55,202,236,0.3);
  --top-fill-1: rgba(187,255,222,0.75);
  --top-fill-2: rgba(122,242,216,0.35);
  --map-road: #ffffff;
  --map-top: #fcfcfd;
  --map-left: #eeeef0;
  --map-right: #e4e4e7;
  --map-edge: #d3d3d7;
  --map-id: #b4b4b9;
  --map-shadow: rgba(0,0,0,0.10);
  --selection-bg: #000000;
  --selection-fg: #ffffff;
  --backdrop-dialog: rgba(10,16,30,0.45);
  --backdrop-modal: rgba(8,12,24,0.32);
  --play-hover: rgba(12,52,250,0.85);
  --shadow-card: 0 1px 2px rgba(16,24,40,0.04);
  --shadow-card-hover: 0 8px 24px -12px rgba(23,33,64,0.12);
  --shadow-glass: 0 1px 2px rgba(16,24,40,0.03), 0 12px 32px -20px rgba(23,33,64,0.10);
  --shadow-menu: 0 24px 60px -24px rgba(15,23,42,0.22), 0 2px 8px -2px rgba(15,23,42,0.06);
  --shadow-modal: 0 0 0 1px rgba(23,33,64,0.08), 0 32px 80px -36px rgba(10,20,50,0.45);
  --shadow-dialog: 0 40px 80px -30px rgba(10,20,50,0.45);
  --shadow-banner: 0 8px 24px -16px rgba(23,33,64,0.35);
  --shadow-segment: 0 1px 2px rgba(16,24,40,0.08), 0 1px 1px rgba(16,24,40,0.04);
  --shadow-float: 0 1px 2px rgba(16,24,40,0.04), 0 24px 48px -28px rgba(16,40,90,0.28);
  --shadow-pill-active: 0 1px 2px rgba(16,24,40,0.04), 0 6px 16px -10px rgba(23,33,64,0.12);
  --shadow-accent-card: none;
  --shadow-play: inset 0 0 0 1px rgba(255,255,255,0.35), 0 10px 30px -10px rgba(0,0,0,0.45);
  --shadow-switch-knob: 0 1px 2px rgba(0,0,0,0.2);
  --g-shadow: 0 1px 2px rgba(0,0,0,0.3), 0 8px 20px -10px rgba(0,0,0,0.5);
}
[data-theme="dark"] {
  --bg: #040814;
  --surface: #0b1326;
  --ink: #e7edf8;
  --muted: #aab6cc;
  --line: rgba(130,170,240,0.12);
  --line-strong: rgba(130,170,240,0.25);
  --accent: #37caec;
  --accent-ring: rgba(55,202,236,0.18);
  --soft-bg: rgba(255,255,255,0.08);
  --soft-bg-hover: rgba(255,255,255,0.14);
  --soft-bg-active: rgba(255,255,255,0.2);
  --soft-fg: #e7edf8;
  --card-bg: rgba(13,22,44,0.55);
  --card-border: rgba(130,170,240,0.14);
  --card-border-hover: rgba(55,202,236,0.4);
  --shine: rgba(255,255,255,0.06);
  --glass-bg: rgba(13,22,44,0.55);
  --glass-bg-hover: rgba(16,28,56,0.7);
  --glow: rgba(42,147,213,0.32);
  --glow-2: rgba(42,147,213,0.16);
  --glow-3: rgba(18,84,136,0.08);
  --pill-bg: rgba(13,22,44,0.55);
  --pill-active-bg: rgba(42,147,213,0.22);
  --accent-card-border: rgba(55,202,236,0.45);
  --hover-bg: rgba(130,170,240,0.06);
  --active-bg: rgba(55,202,236,0.08);
  --active-line: #37caec;
  --ok-bg: rgba(16,185,129,0.12);
  --ok-border: rgba(16,185,129,0.28);
  --ok-fg: #6ee7b7;
  --ok-icon: #34d399;
  --wordmark: #e7edf8;
  --footer-edge: #040814;
  --plate-edge: rgba(61,217,214,0.8);
  --plate-fill-1: rgba(61,217,214,0.14);
  --plate-fill-2: rgba(55,202,236,0.04);
  --plate-glow: rgba(55,202,236,0.35);
  --top-fill-1: rgba(187,255,222,0.22);
  --top-fill-2: rgba(0,204,245,0.06);
  --shadow-card: inset 0 1px 0 rgba(255,255,255,0.04);
  --shadow-card-hover: inset 0 1px 0 rgba(255,255,255,0.06), 0 0 0 1px rgba(55,202,236,0.12), 0 16px 40px -20px rgba(42,147,213,0.55);
  --shadow-glass: inset 0 1px 0 rgba(255,255,255,0.05), 0 20px 50px -30px rgba(0,0,0,0.8);
  --shadow-menu: 0 30px 70px -20px rgba(0,0,0,0.6);
  --shadow-modal: 0 0 0 1px rgba(130,170,240,0.14), 0 32px 80px -36px rgba(10,20,50,0.45);
  --shadow-accent-card: 0 0 0 1px rgba(55,202,236,0.08), 0 0 50px -12px rgba(42,147,213,0.55);
}
:root {
  --section-y: 64px;
  --section-y-md: 96px;
  --section-y-lg: 80px;
  --section-y-lg-md: 112px;
  --hero-top: 96px;
  --hero-bottom: 80px;
  --gutter-sm: 24px;
  --gutter-md: 32px;
  --gutter-lg: 48px;
  --gutter-xl: 64px;
  --stack-head: 56px;
  --stack-lead-actions: 40px;
  --stack-h1-lead: 24px;
  --stack-title-sub: 16px;
  --card-pad: 32px;
  --gap-cards: 16px;
  --gap-buttons: 12px;
  --header-py: 16px;
  --radius-xs: 6px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 14px;
  --radius-xl: 16px;
  --radius-2xl: 20px;
  --radius-3xl: 24px;
  --radius-pill: 999px;
  --grad-brand: linear-gradient(90deg, #125488 0%, #2A93D5 30%, #37CAEC 60%, #3DD9D6 85%, #ADD9D8 100%);
  --grad-brand-dark: linear-gradient(90deg, #6cc4f5 0%, #37CAEC 45%, #7fe3e0 75%, #c9ecec 100%);
  --grad-diagonal: linear-gradient(160deg, #125488 0%, #2A93D5 30%, #37CAEC 60%, #3DD9D6 85%, #ADD9D8 100%);
  --grad-vertical: linear-gradient(180deg, #125488 0%, #2A93D5 30%, #37CAEC 60%, #3DD9D6 85%, #ADD9D8 100%);
  --grad-title-4stop: linear-gradient(90deg, #125488 0%, #2A93D5 35%, #37CAEC 70%, #3DD9D6 100%);
  --grad-footer: radial-gradient(ellipse 80% 145% at 50% 100%, #0050FF 0%, #0A64FF 24%, #168CFF 48%, #6CC6FF 74%, #E4F6FF 100%);
  --grad-footer-dark: radial-gradient(ellipse 80% 145% at 50% 100%, #0050FF 0%, #0A64FF 24%, #168CFF 48%, #6CC6FF 74%, rgb(4, 8, 20) 100%);
  --grad-page-glow-1: radial-gradient(1100px 620px at 12% -8%, rgba(42,147,213,0.22), transparent 62%);
  --grad-page-glow-2: radial-gradient(900px 520px at 100% 18%, rgba(18,84,136,0.2), transparent 60%);
  --grad-accent-card-dark: linear-gradient(165deg, rgba(42,147,213,0.32) 0%, rgba(13,22,44,0.85) 70%);
  --grad-btn-dark: linear-gradient(180deg, #3b9ee3 0%, #1d68b8 100%);
  --grad-bridge: linear-gradient(90deg, #2A93D5 0%, #37CAEC 50%, #FFFFFF 100%);
  --page-max: 1360px;
  --header-h: 77px;
  --control-h: 40px;
  --control-h-nav: 44px;
  --control-h-lg: 48px;
  --read-width: 672px;
  --read-width-wide: 896px;
  --blur-header: blur(12px);
  --blur-glass: blur(20px) saturate(160%);
  --blur-menu: blur(32px) saturate(180%);
  --blur-pill: blur(16px) saturate(160%);
  --blur-backdrop: blur(14px) saturate(140%);
  --blur-halo: blur(60px);
  --dur-fast: 0.15s;
  --dur-base: 0.2s;
  --dur-slow: 0.35s;
  --dur-shine: 0.6s;
  --ease-out: cubic-bezier(.2, .8, .2, 1);
  --ease-modal: cubic-bezier(.16, 1, .3, 1);
  --ease-draw: cubic-bezier(.65, 0, .35, 1);
  --z-header: 50;
  --z-menu: 60;
  --z-cookies: 90;
  --bp-sm: 640px;
  --bp-md: 768px;
  --bp-modal: 900px;
  --bp-lg: 1024px;
  --bp-xl: 1280px;
  --bp-wide: 1440px;
  --font-sans: "Open Sans", sans-serif;
  --font-mono: "JetBrains Mono", monospace;
  --font-artifact: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-artifact-chat: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
.t-display { font-family: var(--font-sans); font-size: 64px; line-height: 1.06; font-weight: 400; letter-spacing: -0.03em; }
.t-h2 { font-family: var(--font-sans); font-size: 40px; line-height: 1.2; font-weight: 300; letter-spacing: -0.022em; }
.t-h3 { font-family: var(--font-sans); font-size: 30px; line-height: 1.25; font-weight: 300; letter-spacing: -0.018em; }
.t-h4 { font-family: var(--font-sans); font-size: 22px; line-height: 1.35; font-weight: 300; letter-spacing: -0.012em; }
.t-h5 { font-family: var(--font-sans); font-size: 17px; line-height: 1.4; font-weight: 400; letter-spacing: -0.01em; }
.t-lead { font-family: var(--font-sans); font-size: 18px; line-height: 1.45; font-weight: 400; letter-spacing: -0.01em; }
.t-sub { font-family: var(--font-sans); font-size: 16px; line-height: 1.5; font-weight: 400; letter-spacing: 0; }
.t-body { font-family: var(--font-sans); font-size: 16px; line-height: 1.5; font-weight: 400; letter-spacing: 0; }
.t-small { font-family: var(--font-sans); font-size: 14px; line-height: 1.5; font-weight: 400; letter-spacing: 0; }
.t-label { font-family: var(--font-sans); font-size: 12px; line-height: 1.3; font-weight: 600; letter-spacing: 0.06em; }
.t-btn { font-family: var(--font-sans); font-size: 14px; line-height: 1; font-weight: 500; letter-spacing: -0.005em; }
.t-nav { font-family: var(--font-sans); font-size: 14px; line-height: 1; font-weight: 500; }
.t-menu-title { font-family: var(--font-sans); font-size: 15px; line-height: 1.35; font-weight: 500; }
.t-menu-desc { font-family: var(--font-sans); font-size: 14px; line-height: 1.45; font-weight: 400; }
.t-faq { font-family: var(--font-sans); font-size: 17px; line-height: 1.4; font-weight: 400; }
.t-card-link { font-family: var(--font-sans); font-size: 12px; line-height: 16px; font-weight: 500; letter-spacing: 0.025em; }
.t-eyebrow-strip { font-family: var(--font-sans); font-size: 11px; line-height: 1.5; font-weight: 600; letter-spacing: 0.12em; }
.t-caption { font-family: var(--font-sans); font-size: 13px; line-height: 1.4; font-weight: 400; }
.t-trust { font-family: var(--font-sans); font-size: 15px; line-height: 1; font-weight: 500; letter-spacing: 0.01em; }
.t-field { font-family: var(--font-sans); font-size: 14px; line-height: 1.5; font-weight: 400; }
.t-modal-title { font-family: var(--font-sans); font-size: 40px; line-height: 1.1; font-weight: 300; letter-spacing: -0.03em; }
.t-modal-intro { font-family: var(--font-sans); font-size: 18px; line-height: 1.55; font-weight: 400; }
.t-modal-lead { font-family: var(--font-sans); font-size: 28px; line-height: 1.22; font-weight: 400; letter-spacing: -0.02em; }
.t-modal-body { font-family: var(--font-sans); font-size: 17px; line-height: 1.65; font-weight: 400; }
.t-modal-statement { font-family: var(--font-sans); font-size: 32px; line-height: 1.15; font-weight: 300; letter-spacing: -0.025em; }
.art-subject { font-family: var(--font-artifact); font-size: 14px; line-height: 20px; font-weight: 600; }
.art-body { font-family: var(--font-artifact); font-size: 13px; line-height: 18px; font-weight: 400; }
.art-meta { font-family: var(--font-artifact); font-size: 12px; line-height: 18px; font-weight: 400; }
.art-chip { font-family: var(--font-artifact); font-size: 12px; line-height: 1; font-weight: 500; }
.art-table { font-family: var(--font-artifact); font-size: 12px; line-height: 16px; font-weight: 400; }
.art-table-head { font-family: var(--font-artifact); font-size: 11.5px; line-height: 16px; font-weight: 500; }
.art-doc-type { font-family: var(--font-artifact); font-size: 9px; line-height: 12px; font-weight: 600; }
.art-doc-name { font-family: var(--font-artifact); font-size: 10.5px; line-height: 13px; font-weight: 600; }
.art-chat-name { font-family: var(--font-artifact-chat); font-size: 15px; line-height: 19px; font-weight: 600; }
.art-chat-bubble { font-family: var(--font-artifact-chat); font-size: 15px; line-height: 20px; font-weight: 400; }
.art-chat-meta { font-family: var(--font-artifact-chat); font-size: 11px; line-height: 15px; font-weight: 400; }
.t-cam-caption { font-family: var(--font-sans); font-size: 13px; line-height: 18px; font-weight: 600; }
/* Smart Shipments - Design System: components/bundle.css */
/* =====================================================================================
   TASKILITY · COMPONENTS (bundle.css)
   Loaded after tokens.css. Every value that lives in tokens.json is read through its
   var(--name); this file holds only layout, the theme switches of composite values
   (gradients) and the responsive steps of the type scale.
   ===================================================================================== */

/* ---------- Theme-dependent composites ---------- */
:root {
  --grad: var(--grad-brand);
  --page-glow: none;
  --accent-card-fill: var(--accent-card-bg);
  --btn-fill: var(--btn-bg);
  --footer-fill: var(--grad-footer);
  --moon-d: block;
  --sun-d: none;
  --gutter: var(--gutter-sm);
  --plate-mix: 28;
}
[data-theme="dark"] {
  --grad: var(--grad-brand-dark);
  --page-glow: var(--grad-page-glow-1), var(--grad-page-glow-2);
  --accent-card-fill: var(--grad-accent-card-dark);
  --btn-fill: var(--grad-btn-dark);
  --footer-fill: var(--grad-footer-dark);
  --moon-d: none;
  --sun-d: block;
  --plate-mix: 14;
  color-scheme: dark;
}
@media (min-width: 768px)  { :root { --gutter: var(--gutter-md); } }
@media (min-width: 1024px) { :root { --gutter: var(--gutter-lg); } }
@media (min-width: 1440px) { :root { --gutter: var(--gutter-xl); } }

/* ---------- Base ---------- */
*, ::before, ::after { box-sizing: border-box; border-width: 0; border-style: solid; border-color: currentColor; }
h1, h2, h3, h4, h5, h6, p, blockquote, figure, dl, dd { margin: 0; }
h1, h2, h3, h4, h5, h6 { font-size: inherit; font-weight: inherit; }
a { color: inherit; text-decoration: inherit; }
button, input, select, textarea { font-family: inherit; font-size: 100%; line-height: inherit; color: inherit; margin: 0; padding: 0; }
button { background-color: transparent; cursor: pointer; }
ol, ul { list-style: none; margin: 0; padding: 0; }
img, svg, video, iframe { display: block; vertical-align: middle; }
img, video { max-width: 100%; height: auto; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px; line-height: 24px;
  color: var(--ink);
  background-color: var(--bg);
  background-image: var(--page-glow);
  background-repeat: no-repeat;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
::selection { background: var(--selection-bg); color: var(--selection-fg); }
body :is(h1, h2, h3), body .title-light { font-weight: 300; }
body h1.title-regular { font-weight: 400; }
:focus-visible { outline: 2px solid var(--brand-2); outline-offset: 2px; }
[id] { scroll-margin-top: var(--header-h); }
.text-ink { color: var(--ink); }
.text-muted { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.hide-scrollbar::-webkit-scrollbar { display: none; }
.hide-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

/* ---------- Type: responsive steps (desktop values come from tokens.css) ---------- */
.t-h2, .t-h3 { text-wrap: balance; }
.t-label, .t-eyebrow-strip { text-transform: uppercase; }
@media (max-width: 1023px) {
  .t-display { font-size: 52px; } .t-h2 { font-size: 34px; } .t-h3 { font-size: 26px; } .t-h4 { font-size: 20px; }
}
@media (max-width: 767px) {
  .t-display { font-size: 40px; } .t-h2 { font-size: 30px; } .t-h3 { font-size: 24px; } .t-h4 { font-size: 18px; }
  .t-h5 { font-size: 16px; } .t-lead { font-size: 17px; } .t-body { font-size: 15px; }
}

/* ---------- Gradient words ---------- */
.text-gradient { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Grid & sections ---------- */
.page-container { width: 100%; max-width: calc(var(--page-max) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.tk-section    { padding-block: var(--section-y); }
.tk-section-lg { padding-block: var(--section-y-lg); }
.tk-hero       { padding-top: var(--hero-top); padding-bottom: var(--hero-bottom); text-align: center; }
@media (min-width: 768px) {
  .tk-section    { padding-block: var(--section-y-md); }
  .tk-section-lg { padding-block: var(--section-y-lg-md); }
}
.tk-divider-top { border-top: 1px solid var(--line); }
.tk-head { max-width: var(--read-width); }
.tk-head > * + * { margin-top: var(--stack-title-sub); }
.tk-head + * { margin-top: var(--stack-head); }

/* ---------- Buttons ---------- */
.btn-base, .btn-soft {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: var(--radius-pill); white-space: nowrap; border: 0; cursor: pointer; text-decoration: none;
  font-size: 14px; font-weight: 500; line-height: 1; letter-spacing: -0.005em;
  min-height: var(--control-h); padding: 13px 20px;
}
.btn-primary { background: var(--action); color: var(--action-fg); box-shadow: none; transition: background-color var(--dur-base) ease; }
.btn-primary:hover, .btn-primary:focus-visible { background: var(--action-hover); opacity: 1; }
.btn-soft { background: var(--soft-bg); color: var(--soft-fg); transition: background-color var(--dur-fast) ease; }
.btn-soft:hover { background: var(--soft-bg-hover); }
.btn-soft-icon { width: 40px; height: 40px; border-radius: var(--radius-pill); display: inline-flex; align-items: center; justify-content: center;
  background: var(--soft-bg); color: var(--soft-fg); border: 0; transition: background-color var(--dur-fast) ease; }
.btn-soft-icon:hover { background: var(--soft-bg-hover); }
.btn-soft-icon svg { width: 14px; height: 14px; }
.tk-btn-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: var(--gap-buttons); }
.rail-cta-btn {
  display: inline-flex; align-items: center; gap: 8px; height: var(--control-h-lg); padding: 0 28px; border-radius: var(--radius-pill);
  font-size: 15px; font-weight: 500; line-height: 1; white-space: nowrap; text-decoration: none;
  transition: filter var(--dur-fast) ease, transform .1s ease;
}
.rail-cta-btn:hover { filter: brightness(1.15); }
.rail-cta-btn:active { transform: scale(.97); }
.rail-cta-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.btn-sm { min-height: 30px; padding: 6px 14px; font-size: 13px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: var(--z-header); border-bottom: 1px solid var(--line); padding-block: var(--header-py); background: transparent; isolation: isolate; }
.site-header::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: color-mix(in srgb, var(--bg) 85%, transparent); -webkit-backdrop-filter: var(--blur-header); backdrop-filter: var(--blur-header); }
.site-header > .page-container { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.site-header .hdr-left { display: flex; align-items: center; gap: 32px; }
.site-header .hdr-actions { display: flex; align-items: center; gap: 8px; }
.logo-type { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; line-height: 26px; color: var(--wordmark); }
.hdr-sales {
  display: none; align-items: center; height: var(--control-h-nav); padding: 0 20px; border-radius: var(--radius-pill);
  font-size: 14px; font-weight: 500; line-height: 1; white-space: nowrap; text-decoration: none;
  color: var(--action-fg); background: var(--action); transition: background-color var(--dur-base) ease, transform .1s ease;
}
@media (min-width: 640px) { .hdr-sales { display: inline-flex; } }
.hdr-sales:hover, .hdr-sales:focus-visible, .hdr-sales:active { color: var(--action-fg); background: var(--action-hover); }
.hdr-sales:active { transform: scale(.97); }
.hdr-sales:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.hdr-login {
  position: relative; isolation: isolate; display: inline-flex; align-items: center; justify-content: center;
  height: var(--control-h-nav); padding: 0 20px; border-radius: var(--radius-pill);
  font-size: 14px; font-weight: 500; line-height: 1; white-space: nowrap; text-decoration: none;
  color: var(--ink); background: transparent; transition: background-color var(--dur-base) ease, transform .1s ease;
}
.hdr-login::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; padding: 1px; pointer-events: none;
  background: var(--grad);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.hdr-login:hover { background: var(--accent-ring); }
.hdr-login:active { transform: scale(.97); }
.hdr-login:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.theme-toggle { width: var(--control-h-nav); height: var(--control-h-nav); flex: none; display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--radius-pill); border: 0; background: transparent; color: var(--muted); cursor: pointer; margin-left: 16px; }
.theme-toggle svg { width: 15px; height: 15px; }
.theme-toggle:hover { background: var(--soft-bg); color: var(--ink); }
.theme-toggle .icon-moon { display: var(--moon-d); }
.theme-toggle .icon-sun { display: var(--sun-d); }
@media (max-width: 639px) { .site-header .hdr-left { gap: 14px; } .site-header .hdr-actions { gap: 4px; } .hdr-login { padding: 0 14px; font-size: 13px; } }
@media (max-width: 419px) { .theme-toggle { display: none; } .hdr-login { padding: 0 12px; } }
@media (max-width: 359px) { .hdr-login { padding: 0 10px; font-size: 12px; } }

/* ---------- Mega menu ---------- */
.mnav { position: relative; display: flex; align-items: center; }
.mnav-item { position: relative; }
.mnav-trigger { position: relative; z-index: 61; display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px; margin-left: -12px;
  border-radius: var(--radius-pill); font: inherit; font-size: 14px; font-weight: 500; line-height: 1; color: var(--muted); background: transparent; border: 0; cursor: pointer;
  transition: color var(--dur-fast) ease, background-color var(--dur-fast) ease; }
.mnav-trigger:hover, .mnav-item.is-open .mnav-trigger, .mnav-trigger.is-current { color: var(--ink); }
.mnav-trigger:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.mnav-chev { width: 12px; height: 12px; transition: transform var(--dur-base) ease; }
.mnav-item.is-open .mnav-chev { transform: rotate(180deg); }
.mnav-panel { position: absolute; top: calc(100% + 24px); left: -24px; z-index: var(--z-menu); width: min(380px, calc(100vw - 32px));
  opacity: 0; visibility: hidden; transform: translateY(-6px) scale(.985); transform-origin: top left;
  transition: opacity .14s ease, transform .16s ease, visibility 0s linear .16s; }
.mnav-item.is-open .mnav-panel { opacity: 1; visibility: visible; transform: none; transition: opacity .18s ease, transform var(--dur-base) var(--ease-out), visibility 0s; }
.mnav-card { display: block; padding: 8px; border-radius: var(--radius-3xl); background: color-mix(in srgb, var(--bg) 62%, transparent);
  -webkit-backdrop-filter: var(--blur-menu); backdrop-filter: var(--blur-menu); box-shadow: var(--shadow-menu); }
[data-theme="dark"] .mnav-card { background: color-mix(in srgb, var(--surface) 60%, transparent); }
.mnav-list { display: flex; flex-direction: column; gap: 2px; }
.mnav-link { position: relative; display: block; padding: 14px 40px 14px 16px; border-radius: var(--radius-xl); color: inherit; text-decoration: none; transition: background-color var(--dur-fast) ease; }
.mnav-link:hover, .mnav-link:focus-visible { background: var(--soft-bg); }
.mnav-link:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.mnav-title { display: block; font-size: 15px; font-weight: 500; line-height: 1.35; color: var(--ink); }
.mnav-desc { display: block; margin-top: 4px; font-size: 14px; line-height: 1.45; color: var(--muted); }
.mnav-arrow { position: absolute; right: 16px; top: 16px; width: 14px; height: 14px; color: var(--muted); opacity: 0; transform: translate(-3px, 3px);
  transition: opacity var(--dur-fast) ease, transform var(--dur-fast) ease; }
.mnav-link:hover .mnav-arrow, .mnav-link:focus-visible .mnav-arrow { opacity: 1; transform: none; }
.mnav-link[aria-current="page"] .mnav-title::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 8px; vertical-align: middle; border-radius: 999px; background: var(--accent); }
@media (max-width: 767px) { .mnav-card { border-radius: var(--radius-2xl); } }

/* ---------- Cards ---------- */
.card { position: relative; overflow: hidden; border-radius: var(--radius-md); padding: var(--card-pad);
  border: 1px solid var(--card-border); background: var(--card-bg); box-shadow: var(--shadow-card);
  transition: border-color var(--dur-fast) ease, box-shadow var(--dur-fast) ease; }
.card:hover, .card:focus-visible { border-color: var(--card-border-hover); box-shadow: var(--shadow-card-hover); }
.card::before { content: ''; position: absolute; top: 0; left: -100%; width: 50%; height: 100%;
  background: linear-gradient(120deg, transparent, var(--shine), transparent); transition: left var(--dur-shine) ease; pointer-events: none; }
.card:hover::before, .card:focus-visible::before { left: 100%; }
.glass { background: var(--glass-bg); border-color: var(--card-border); -webkit-backdrop-filter: var(--blur-glass); backdrop-filter: var(--blur-glass); box-shadow: var(--shadow-glass); }
.glass:hover { background: var(--glass-bg-hover); border-color: var(--card-border-hover); }
.card-accent, .card-accent:hover { background: var(--accent-card-fill); border-color: var(--accent-card-border); box-shadow: var(--shadow-accent-card); color: #ffffff; }
.card-link { display: inline-flex; align-items: center; gap: 8px; flex: none; font-size: 12px; line-height: 16px; font-weight: 500; letter-spacing: 0.025em;
  color: color-mix(in srgb, var(--ink) 80%, transparent); }
@media (prefers-reduced-motion: reduce) { .card, .card::before { transition: none; } }

/* Duo (problem vs. solution) */
.duo { width: 100%; max-width: 720px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; text-align: left; }
.duo-card { aspect-ratio: 3 / 4; border-radius: var(--radius-xl); padding: 28px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; min-width: 0; container-type: inline-size; }
.duo-card h2 { margin: 0; font-weight: 300; font-size: 6.6cqi; letter-spacing: -.01em; line-height: 1.3; text-wrap: balance; }
.duo-card p { margin: 0; font-size: 0.98rem; line-height: 1.5; opacity: 0.85; }
.duo-card--a { background: var(--problem-card); border: 1px solid var(--problem-card-border); color: #172140; }
.duo-card--b { background: var(--grad-diagonal); border: 0; color: #ffffff; justify-content: flex-start; gap: 14px; }
.duo-card--b p { color: var(--on-gradient-text); opacity: 1; }
.duo-card--b h2 .text-gradient { background: none; -webkit-text-fill-color: #ffffff; color: #ffffff; font-weight: 500; }
@media (max-width: 560px) { .duo { gap: 10px; } .duo-card { border-radius: var(--radius-lg); padding: 16px; } .duo-card p { font-size: 0.8rem; } }
@media (max-width: 360px) { .duo-card { padding: 12px; } .duo-card p { font-size: 0.72rem; } }

/* Floating interface card */
.gx-card { position: relative; overflow: hidden; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--card-border);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-float); padding: clamp(10px, 1.6vw, 18px); gap: clamp(8px, 1.2vw, 14px); animation: gx-float 7s ease-in-out infinite; }
@keyframes gx-float { 50% { translate: 0 -4px; } }

/* ---------- Glow section ---------- */
.glow-section { position: relative; isolation: isolate; overflow: hidden; }
.glow-section::before { content: ''; position: absolute; z-index: -1; left: 50%; bottom: -60%; width: max(900px, 105%); height: 150%; transform: translateX(-50%);
  background: radial-gradient(closest-side, var(--glow) 0%, var(--glow-2) 40%, var(--glow-3) 70%, transparent 100%); filter: var(--blur-halo); pointer-events: none; }

/* ---------- Selectors ---------- */
.segmented { display: inline-flex; gap: 4px; padding: 4px; border-radius: var(--radius-pill); background: var(--soft-bg); }
.segmented [role="tab"] { padding: 8px 14px; border-radius: var(--radius-pill); font: inherit; font-size: 14px; font-weight: 500; line-height: 1.35; white-space: nowrap;
  color: var(--muted); background: transparent; border: 0; cursor: pointer; transition: background-color var(--dur-base) ease, color var(--dur-base) ease, box-shadow var(--dur-base) ease; }
.segmented [role="tab"]:hover { color: var(--ink); }
.segmented [role="tab"][aria-selected="true"] { color: var(--ink); background: var(--surface); box-shadow: var(--shadow-segment); }
@media (min-width: 640px) { .segmented [role="tab"] { padding: 8px 22px; font-size: 15px; } }

.dept-pill { display: inline-flex; align-items: center; padding: 8px 16px; border-radius: var(--radius-pill); font-size: 14px; font-weight: 500; line-height: 1.35; cursor: pointer;
  color: var(--muted); background: var(--surface); border: 1px solid var(--line); transition: all var(--dur-fast) ease; }
.dept-pill:hover { color: var(--ink); border-color: var(--card-border-hover); }
.dept-pill.active { color: var(--btn-fg); background: var(--btn-fill); border-color: transparent; }
.glow-section .dept-pill { color: var(--muted); background: var(--pill-bg); border-color: var(--card-border); -webkit-backdrop-filter: var(--blur-pill); backdrop-filter: var(--blur-pill); }
.glow-section .dept-pill:hover { color: var(--ink); background: var(--glass-bg-hover); border-color: var(--card-border-hover); }
.glow-section .dept-pill.active { color: var(--ink); background: var(--pill-active-bg); border-color: var(--card-border-hover); box-shadow: var(--shadow-pill-active); }

.tab-btn { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: var(--radius-sm); text-align: left; font-size: 14px; line-height: 1.5;
  color: var(--muted); background: transparent; border: 0; border-left: 2px solid transparent; transition: all var(--dur-fast) cubic-bezier(.4,0,.2,1); }
.tab-btn:hover { color: var(--ink); background: var(--hover-bg); }
.tab-btn.active { color: var(--ink); background: var(--active-bg); border-left-color: var(--active-line); font-weight: 600; }

/* ---------- FAQ ---------- */
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 22px 0; font-size: 17px; font-weight: 400; line-height: 1.4; color: var(--ink); border-radius: var(--radius-xs); transition: color var(--dur-base) ease; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--accent); }
.faq-item summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.faq-icon { position: relative; flex: none; width: 14px; height: 14px; color: var(--muted); transition: transform var(--dur-slow) var(--ease-out); }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 0; top: 6.25px; width: 14px; height: 1.5px; border-radius: 1px; background: currentColor; transition: transform var(--dur-slow) var(--ease-out); }
.faq-icon::after { transform: rotate(90deg); }
.faq-item[open] .faq-icon { transform: rotate(180deg); }
.faq-item[open] .faq-icon::after { transform: rotate(0deg); }
.faq-a { padding: 0 40px 24px 0; max-width: 680px; color: var(--muted); }
.faq-item[open] .faq-a { animation: faq-in var(--dur-slow) var(--ease-out); }
@keyframes faq-in { from { opacity: 0; transform: translateY(-4px); } }
.faq-layout { display: grid; grid-template-columns: 1fr; gap: 40px; }
@media (min-width: 1024px) { .faq-layout { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 64px; } }

/* ---------- Hairline grids ---------- */
.why-grid { display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--line); }
.why-cell { padding: 32px 0; border-bottom: 1px solid var(--line); }
.why-verb { margin: 0 0 16px; color: var(--ink); }
.why-lead { margin: 0 0 8px; font-size: 17px; font-weight: 500; line-height: 1.4; letter-spacing: -0.01em; color: var(--ink); text-wrap: balance; }
.why-desc { margin: 0; font-size: 16px; line-height: 1.55; color: var(--muted); text-wrap: pretty; }
@media (min-width: 640px) {
  .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .why-cell { padding: 36px 32px 40px 0; }
  .why-cell:nth-child(2n) { padding: 36px 0 40px 32px; border-left: 1px solid var(--line); }
}
@media (min-width: 1024px) {
  .why-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); border-bottom: 1px solid var(--line); }
  .why-cell, .why-cell:nth-child(2n) { padding: 40px 28px 48px; border-bottom: 0; border-left: 1px solid var(--line); }
  .why-cell:first-child { padding-left: 0; border-left: 0; }
  .why-cell:last-child { padding-right: 0; }
}
.egrid-cols { border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr; }
.egrid-item { position: relative; display: flex; align-items: flex-start; gap: 16px; padding: 28px 0; color: inherit; text-decoration: none; }
.egrid-item + .egrid-item { border-top: 1px solid var(--line); }
.egrid-item-title { font-size: 17px; line-height: 1.4; font-weight: 400; letter-spacing: -.01em; color: var(--ink); }
.egrid-item-desc { margin-top: 6px; font-size: 14px; line-height: 1.6; color: var(--muted); }
@media (min-width: 768px) {
  .egrid-cols { grid-template-columns: repeat(3, 1fr); }
  .egrid-item { padding: 36px 32px 40px 32px; }
  .egrid-item:first-child { padding-left: 0; }
  .egrid-item + .egrid-item { border-top: 0; border-left: 1px solid var(--line); }
  .egrid-item:last-child { padding-right: 0; }
}
.divider-grid { display: grid; grid-template-columns: 1fr; row-gap: 44px; padding-top: 8px; }
.divider-item { position: relative; display: flex; flex-direction: column; gap: 12px; }
.divider-item::before { content: ""; position: absolute; left: 0; top: 12%; height: 76%; width: 1px; display: none;
  background: linear-gradient(to bottom, transparent, var(--line) 25%, var(--line) 75%, transparent); }
@media (min-width: 1024px) {
  .divider-grid { grid-template-columns: repeat(5, 1fr); }
  .divider-item { padding: 8px 28px; }
  .divider-item:first-child { padding-left: 0; }
  .divider-item:last-child { padding-right: 0; }
  .divider-item + .divider-item::before { display: block; }
}

/* ---------- Logo strip ---------- */
.logos { padding: 8px 0 72px; pointer-events: none; user-select: none; -webkit-user-select: none; }
.logos-row { position: relative; display: flex; flex-direction: column; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.logos-row::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px; pointer-events: none; background: var(--grad); opacity: .2;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 30%, #000 70%, transparent); mask-image: linear-gradient(to right, transparent, #000 30%, #000 70%, transparent);
  animation: logos-breathe 6s ease-in-out infinite; }
@keyframes logos-breathe { 50% { opacity: .65; } }
.logos-label { margin: 0; padding: 16px 0; font-size: 11px; font-weight: 600; line-height: 1.5; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted); text-align: center; border-bottom: 1px solid var(--line); }
.logos-label::before { content: ""; display: inline-block; flex: none; width: 5px; height: 5px; margin-right: 10px; border-radius: 50%; background: var(--accent); vertical-align: 1px; animation: logos-dot 6s ease-in-out infinite; }
@keyframes logos-dot { 50% { opacity: .3; } }
.logos-viewport { position: relative; width: 100%; overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent); }
.logos-track { display: flex; width: max-content; animation: logos-scroll 40s linear infinite; }
@keyframes logos-scroll { to { transform: translateX(-50%); } }
.logos-track li { flex: none; width: 224px; height: 112px; display: flex; align-items: center; justify-content: center; border-right: 1px solid var(--line); }
.logos-track li > * { opacity: .7; }
.logo-mark { display: block; flex: none; background: var(--muted); -webkit-mask: var(--logo) center / contain no-repeat; mask: var(--logo) center / contain no-repeat; }
@media (min-width: 900px) {
  .logos-row { flex-direction: row; align-items: stretch; }
  .logos-label { flex: none; width: 200px; padding: 0 24px 0 0; display: flex; align-items: center; text-align: left; border-bottom: 0; border-right: 1px solid var(--line); }
}
@media (prefers-reduced-motion: reduce) {
  .logos-row::before, .logos-label::before { animation: none; }
  .logos-track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; }
}

/* ---------- Trust badge ---------- */
.trust-pill { display: flex; width: fit-content; align-items: center; gap: 12px; margin: 0 auto 32px; color: var(--ink);
  font-size: 15px; font-weight: 500; line-height: 1; letter-spacing: .01em; white-space: nowrap; text-decoration: none; border-radius: var(--radius-pill); transition: opacity var(--dur-base) ease; }
.trust-pill:hover { opacity: .72; }
.trust-pill:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; }
.trust-pill-logo { width: 44px; height: 44px; flex: none; object-fit: contain; }

/* ---------- Video facade ---------- */
.yt-slot { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius-xl); overflow: hidden; background: #000; box-shadow: var(--shadow-card); }
.yt-facade { position: absolute; inset: 0; z-index: 1; display: block; width: 100%; padding: 0; border: 0; cursor: pointer; background: #000; }
.yt-thumb { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-shine) var(--ease-out); }
.yt-facade::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.28), transparent 45%); pointer-events: none; }
.yt-play { position: absolute; left: 50%; top: 50%; z-index: 1; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: var(--radius-pill);
  display: grid; place-items: center; color: #ffffff; background: rgba(255,255,255,.18); -webkit-backdrop-filter: blur(14px) saturate(160%); backdrop-filter: blur(14px) saturate(160%);
  box-shadow: var(--shadow-play); transition: transform .25s ease, background-color .25s ease; }
.yt-play svg { width: 28px; height: 28px; margin-left: 4px; }
.yt-facade:hover .yt-play, .yt-facade:focus-visible .yt-play { transform: scale(1.06); background: var(--play-hover); }
.yt-facade:hover .yt-thumb { transform: scale(1.015); }
.yt-facade:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ---------- Dark zone & form ---------- */
.dark-zone { position: relative; isolation: isolate; overflow: hidden; background: var(--bg); color: var(--ink); }
.dark-zone::before { content: ""; position: absolute; z-index: -1; left: -10%; top: -30%; width: 70%; height: 90%;
  background: radial-gradient(closest-side, rgba(42,147,213,.16), rgba(42,147,213,0)); filter: blur(40px); pointer-events: none; }
.custom-form-card { border: 1px solid var(--card-border); border-radius: var(--radius-xl); padding: clamp(24px, 4vw, 40px); background: var(--form-card-bg); box-shadow: inset 0 1px 0 rgba(255,255,255,.04); }
.cf-label { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 500; line-height: 1.4; color: var(--ink); }
.cf-field { width: 100%; border-radius: var(--radius-md); border: 1px solid var(--field-border); background: var(--field-bg); padding: 12px 16px;
  font: inherit; font-size: 14px; line-height: 1.5; color: var(--ink); outline: none; transition: border-color var(--dur-base) ease, box-shadow var(--dur-base) ease, background-color var(--dur-base) ease; }
.cf-field::placeholder { color: color-mix(in srgb, var(--muted) 75%, transparent); }
.cf-field:hover { border-color: var(--field-border-hover); }
.cf-field:focus { border-color: var(--field-border-focus); box-shadow: 0 0 0 3px var(--accent-ring); background: var(--field-bg-focus); }
.cf-field.is-error { border-color: var(--field-error); }
.cf-area { resize: none; }
.cf-select { position: relative; }
.cf-select select { appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer; }
.cf-select select option { color: var(--ink); background: var(--surface); }
.cf-select::after { content: ""; position: absolute; right: 18px; top: 50%; width: 8px; height: 8px; margin-top: -6px;
  border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted); transform: rotate(45deg); pointer-events: none; }
.cf-submit { width: 100%; justify-content: center; height: var(--control-h-lg); }
.cf-status { text-align: center; font-size: 14px; line-height: 1.5; color: var(--status-warn); }

/* ---------- Editorial modal ---------- */
.xs-modal { --xs-gutter: clamp(24px, 9vw, 80px);
  width: min(720px, calc(100vw - 48px)); max-width: none; max-height: min(86vh, 920px); padding: 0; border: 0; border-radius: var(--radius-3xl);
  background: var(--surface); color: var(--muted); box-shadow: var(--shadow-modal);
  overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--line-strong) transparent; }
.xs-modal::backdrop { background: var(--backdrop-modal); -webkit-backdrop-filter: var(--blur-backdrop); backdrop-filter: var(--blur-backdrop); }
.xs-modal[open] { animation: xs-pop .45s var(--ease-modal); }
.xs-modal.is-closing { animation: xs-pop-out .22s ease forwards; }
@keyframes xs-pop { from { opacity: 0; transform: translateY(8px) scale(.975); } to { opacity: 1; transform: none; } }
@keyframes xs-pop-out { to { opacity: 0; transform: translateY(4px) scale(.985); } }
.xs-bar { position: sticky; top: 0; z-index: 3; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 52px; padding: 10px 14px 10px var(--xs-gutter);
  background: color-mix(in srgb, var(--surface) 86%, transparent); -webkit-backdrop-filter: blur(14px) saturate(160%); backdrop-filter: blur(14px) saturate(160%); }
.xs-bar-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--line); overflow: hidden; }
.xs-bar-progress i { display: block; height: 100%; width: 0; background: var(--grad); border-radius: 0 3px 3px 0; transition: width var(--dur-slow) var(--ease-out); }
.xs-modal-x { width: 32px; height: 32px; flex: none; border: 0; border-radius: var(--radius-pill); display: grid; place-items: center; cursor: pointer;
  color: var(--muted); background: var(--soft-bg); transition: background-color var(--dur-base) ease; }
.xs-modal-x:hover { background: var(--soft-bg-hover); color: var(--ink); }
.xs-modal-x svg { width: 12px; height: 12px; }
.xs-inner { padding: 48px var(--xs-gutter) 56px; }
.xs-eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 16px; font-size: 12px; font-weight: 600; line-height: 1.3; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.xs-panel-title { padding: 0 0 72px; }
.xs-panel-title h3 { margin: 0; font-size: clamp(30px, 4vw, 40px); font-weight: 300; line-height: 1.1; letter-spacing: -0.03em; color: var(--ink); text-wrap: balance; }
.xs-intro { max-width: 32rem; margin: 20px 0 0; font-size: 18px; line-height: 1.55; color: var(--muted); text-wrap: pretty; }
.xs-block { padding: 0 0 64px; }
.xs-block .xs-eyebrow { color: var(--accent); font-size: 13px; font-weight: 300; letter-spacing: .1em; }
.xs-block p { max-width: 34rem; margin: 0 0 12px; font-size: 17px; line-height: 1.65; color: var(--muted); }
.xs-block p.xs-lead { max-width: 30rem; margin: 0 0 18px; font-size: clamp(24px, 2.8vw, 28px); font-weight: 400; line-height: 1.22; letter-spacing: -0.02em; color: var(--ink); text-wrap: balance; }
.xs-block p.xs-callout { margin-top: 20px; font-size: 18px; font-weight: 500; line-height: 1.45; letter-spacing: -0.01em; color: var(--ink); }
.xs-block p.xs-quote { margin: 8px 0 16px; padding: 2px 0 2px 18px; border-left: 2px solid var(--accent); font-size: 18px; line-height: 1.5; color: var(--ink); }
.xs-statement { margin-top: 8px; padding: clamp(40px, 6vw, 56px) clamp(24px, 5vw, 48px); border-radius: var(--radius-2xl); text-align: left; color: #fff; background: var(--grad-diagonal); }
.xs-statement h3 { margin: 0; font-size: clamp(26px, 3.2vw, 32px); font-weight: 300; line-height: 1.15; letter-spacing: -0.025em; color: #fff; text-wrap: balance; }
.xs-statement-text { margin: 16px 0 0; max-width: 32rem; font-size: 17px; line-height: 1.6; color: rgba(255, 255, 255, .9); text-wrap: pretty; }
@media (min-width: 900px) {
  .xs-modal { --xs-gutter: 88px; width: min(880px, calc(100vw - 64px)); }
  .xs-inner { padding-top: 44px; } .xs-panel-title { padding-bottom: 56px; } .xs-block { padding-bottom: 48px; }
  .xs-block p { max-width: 40rem; margin-bottom: 10px; } .xs-block p.xs-lead { max-width: 36rem; } .xs-intro { max-width: 38rem; }
}
@media (max-width: 639px) {
  .xs-modal { --xs-gutter: 22px; width: calc(100vw - 24px); max-height: 90vh; border-radius: var(--radius-2xl); }
  .xs-inner { padding-top: 36px; padding-bottom: 40px; } .xs-panel-title { padding-bottom: 56px; } .xs-block { padding-bottom: 52px; } .xs-block p { font-size: 16px; }
}

/* ---------- Cookie capsule, switch, dialog ---------- */
.ck-banner { position: fixed; left: 50%; bottom: 16px; z-index: var(--z-cookies); translate: -50% 0; display: flex; align-items: center; gap: 14px;
  width: max-content; max-width: calc(100vw - 24px); padding: 6px 6px 6px 18px; border-radius: var(--radius-pill);
  border: 1px solid var(--card-border); background: color-mix(in srgb, var(--surface) 82%, transparent);
  -webkit-backdrop-filter: var(--blur-glass); backdrop-filter: var(--blur-glass); box-shadow: var(--shadow-banner); color: var(--ink);
  animation: ck-in .4s var(--ease-out) .15s both; }
@keyframes ck-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.ck-text { margin: 0; font-size: 13px; line-height: 1.4; color: var(--muted); }
.ck-actions { display: flex; flex: none; align-items: center; gap: 6px; }
.ck-actions .btn-soft, .ck-actions .btn-primary { min-height: 30px; padding: 6px 14px; font-size: 13px; }
.ck-switch { position: relative; flex: none; width: 36px; height: 22px; display: inline-block; }
.ck-switch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.ck-switch span { position: absolute; inset: 0; border-radius: var(--radius-pill); background: var(--soft-bg-hover); transition: background-color var(--dur-base) ease; pointer-events: none; }
.ck-switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-switch-knob); transition: transform var(--dur-base) ease; }
.ck-switch input:checked + span { background: var(--action); }
.ck-switch input:checked + span::after { transform: translateX(14px); }
.ck-switch input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (max-width: 639px) {
  .ck-banner { left: 12px; right: 12px; translate: none; width: auto; flex-wrap: wrap; gap: 8px 10px; padding: 10px 10px 10px 14px; border-radius: var(--radius-xl); }
}
.ck-dialog { width: min(720px, calc(100vw - 32px)); max-height: min(84vh, 900px); padding: 0; border: 1px solid var(--card-border); border-radius: var(--radius-2xl);
  background: var(--surface); color: var(--ink); box-shadow: var(--shadow-dialog); }
.ck-dialog::backdrop { background: var(--backdrop-dialog); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }

/* ---------- Footer ---------- */
.site-footer { color: #ffffff; background: var(--footer-fill); }
.site-footer > .page-container { padding-block: var(--hero-top); display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 24px; }
@media (min-width: 768px) { .site-footer > .page-container { padding-block: var(--section-y-lg-md); flex-direction: row; } }
.site-footer .logo-type { color: #ffffff; font-size: 26px; line-height: 30px; }
.site-footer p { color: rgba(255,255,255,0.85); }
.footer-col { display: flex; flex-direction: column; align-items: center; gap: 16px; }
@media (min-width: 768px) { .footer-col { align-items: flex-end; } }
.footer-social { display: flex; align-items: center; gap: 4px; margin-right: -10px; }
.footer-social a { width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; border-radius: var(--radius-pill);
  color: rgba(255, 255, 255, .78); transition: color var(--dur-base) ease, background-color var(--dur-base) ease; }
.footer-social a:hover { color: #ffffff; background: rgba(255, 255, 255, .12); }
.footer-social a:focus-visible { outline: 2px solid #ffffff; outline-offset: 2px; }
.footer-social svg { width: 17px; height: 17px; }
@media (max-width: 767px) { .footer-social { margin-right: 0; } }
.footer-info { font-style: normal; display: flex; flex-direction: column; text-align: center; font-size: 12px; line-height: 1.6; letter-spacing: .01em; color: rgba(255, 255, 255, .7); max-width: 24rem; gap: 2px; }
@media (min-width: 768px) { .footer-info { text-align: right; } }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 16px; font-size: 12px; line-height: 1.6; }
.footer-legal a, .footer-legal button { color: rgba(255, 255, 255, .75); background: none; border: 0; padding: 0; font: inherit; cursor: pointer; text-decoration: none; }
.footer-legal a:hover, .footer-legal button:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 768px) { .footer-legal { justify-content: flex-end; } }
.footer-copy { font-size: 14px; line-height: 1.5; color: rgba(255, 255, 255, .72); }

/* ---------- Success note ---------- */
.ok-note { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: var(--radius-md); border: 1px solid var(--ok-border); background: var(--ok-bg); color: var(--ok-fg); font-size: 14px; line-height: 1.5; }
.ok-note svg { width: 16px; height: 16px; color: var(--ok-icon); flex: none; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .faq-icon, .faq-icon::before, .faq-icon::after, .xs-bar-progress i, .ck-switch span, .ck-switch span::after { transition: none; }
  .faq-item[open] .faq-a, .xs-modal[open], .xs-modal.is-closing, .ck-banner, .gx-card { animation: none; }
}

/* ---------- Brand marks (logotipo / isotipo) ----------
   Inline SVG from brand/adapted/. Geometry is never changed: these rules only
   choose colour (a token) and height. */
.tk-logo { display: inline-block; line-height: 0; color: var(--wordmark); }
.tk-logo svg { display: block; height: 100%; width: auto; }
.tk-logo--wordmark { color: var(--wordmark); }
.tk-logo--azul { color: var(--logo-blue); }
.tk-logo--gris { color: var(--logo-grey); }
.tk-logo--blanco { color: var(--logo-white); }
.tk-logo--header { height: 26px; }
.tk-logo--footer { height: 30px; }
.tk-logo--bar { height: 22px; }
.tk-isotipo { display: inline-block; line-height: 0; }
.tk-isotipo svg { display: block; height: 100%; width: auto; }

/* =====================================================================================
   ARTEFACTOS DE "INFORMACIÓN DISPERSA" (from artefactos.css; values unchanged, greys,
   caption, fonts and the bridge stroke read from tokens). Mail, chat and sheet keep their
   own scoped variables: the colour version (no .is-grey) is not used on the site.
   ===================================================================================== */

/* ---------- Escenario ---------- */
.tk-stage { position: relative; overflow: hidden; border-radius: 14px; }
.tk-canvas { position: absolute; left: 0; top: 0; transform-origin: 0 0; z-index: 1; }
.tk-canvas.is-moving { transition: transform var(--cam-speed, .95s) cubic-bezier(.7, 0, .25, 1); }  /* "cámara" que encuadra cada pieza */

/* Cada pieza se coloca con variables y va ligeramente girada (desorden controlado) */
.frag { position: absolute; left: var(--x, 0); top: var(--y, 0); width: var(--w, 340px); transform: rotate(var(--rot, 0deg)); }
.frag--mail  { --x: 0px;   --y: 40px;  --w: 340px; --rot: -2deg;  z-index: 1; }
.frag--chat  { --x: 330px; --y: 0px;   --w: 370px; --rot: 1.5deg; z-index: 2; }
.frag--sheet { --x: 0px;   --y: 330px; --w: 600px; --rot: -1deg;  z-index: 3; }
.frag--docs  { --x: 0px;   --y: 0px;   --w: 700px; height: 790px; z-index: 4; pointer-events: none; }

/* Leyenda de la cámara (cápsula oscura) */
.tk-caption { position: absolute; left: 50%; bottom: 14px; z-index: 3; max-width: calc(100% - 24px); padding: 8px 14px; border-radius: 999px;
  background: var(--caption-bg); -webkit-backdrop-filter: var(--blur-header); backdrop-filter: var(--blur-header);
  color: var(--caption-fg); font-family: var(--font-sans); font-size: 13px; font-weight: 600; line-height: 18px; text-align: center; white-space: nowrap;
  opacity: 0; transform: translate(-50%, 8px); transition: opacity .45s ease, transform .45s var(--ease-out); }
.tk-caption.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Paleta gris (Apple, modo claro) ---------- */
.is-grey .mail, .is-grey .wa, .is-grey .xl {
  --surface: var(--g-paper); --border: var(--g-line-2); --text: var(--g-ink); --text-2: var(--g-ink-2); --text-3: var(--g-mid);
  --shadow: var(--g-shadow); --red: var(--g-mid); --green: var(--g-mid); --blue: var(--g-mid); --orange: var(--g-mid); --slate: var(--g-mid);
}
.is-grey .mail { --chip: var(--g-surface); --chip-border: var(--g-line); }
.is-grey .wa { --bar: var(--g-surface); --bar-line: var(--g-line); --ios-blue: var(--g-mid); --wallpaper: var(--g-surface); --doodle: none;
  --bubble-in: var(--g-paper); --bubble-out: var(--g-line); --bubble-shadow: 0 0 0 1px var(--g-line); --pill: var(--g-paper); --tick-read: var(--g-mid); --doc-bg: var(--g-surface); }
.is-grey .wa .avatar, .is-grey .wa .doc-icon { background: var(--g-mid) !important; }
.is-grey .wa .sender { color: var(--g-ink-2) !important; }
.is-grey .wa .react { filter: grayscale(1); }
.is-grey .xl { --grid: var(--g-line); --head-bg: var(--g-surface); --sheet-green: var(--g-mid); --row-sel: var(--g-surface); --row-sel-text: var(--g-ink); --amber: var(--g-mid); --amber-bg: var(--g-line); }
.is-grey .mail__badge, .is-grey .wa .badge, .is-grey .xl .badge { background: var(--g-ink-2); }

/* ---------- 1. Correo ---------- */
.mail {
  --surface: #FFFFFF; --border: #E3E7ED; --chip: #F1F3F6; --chip-border: #E6E9EE;
  --text: #1A2230; --text-2: #4A5463; --text-3: #7A8494;
  --red: #E5483B; --green: #1E7A46; --slate: #5E6B7E; --orange: #D9822B; --blue: #2F6FDB;
  --shadow: 0 1px 2px rgba(16, 24, 40, .08), 0 10px 28px -8px rgba(0, 0, 0, .35);
  padding: 12px 10px 4px 0; font-family: var(--font-artifact); -webkit-font-smoothing: antialiased; color: var(--text);
}
.mail__row { display: flex; align-items: flex-start; gap: 12px; }
.mail__app { position: relative; flex: none; width: 60px; height: 60px; margin-top: 6px; border-radius: 16px; background: var(--surface);
  border: 1px solid var(--border); box-shadow: var(--shadow); display: grid; place-items: center; z-index: 2; }
.mail__app svg { width: 32px; height: 32px; display: block; }
.mail__badge { position: absolute; top: -9px; right: -9px; min-width: 24px; height: 24px; padding: 0 6px; border-radius: 999px; background: var(--red); color: #fff;
  font-size: 12px; font-weight: 600; line-height: 24px; text-align: center; box-shadow: 0 0 0 2px var(--surface); font-variant-numeric: tabular-nums; }
.mail__stack { flex: 1; min-width: 0; display: grid; }
.mail__card { grid-area: 1 / 1; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow); padding: 14px 16px 16px; }
.mail__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.mail__subject { font-size: 14px; font-weight: 600; line-height: 20px; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mail__time { flex: none; font-size: 12px; line-height: 20px; color: var(--text-3); font-variant-numeric: tabular-nums; }
.mail__topic { margin: 0; font-size: 13px; line-height: 18px; color: var(--text-2); }
.mail__from { margin: 6px 0 0; font-size: 12px; line-height: 18px; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mail__body { margin: 2px 0 0; min-height: 36px; font-size: 13px; line-height: 18px; color: var(--text-2);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mail__files { margin-top: 12px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mail__file { height: 32px; display: flex; align-items: center; justify-content: center; gap: 6px; border-radius: 8px; background: var(--chip); border: 1px solid var(--chip-border);
  font-size: 12px; font-weight: 500; line-height: 1; color: var(--text-2); }
.mail__file svg { width: 16px; height: 16px; flex: none; display: block; }

/* ---------- 2. Chat (estilo WhatsApp en iOS) ---------- */
.wa {
  --ring: var(--problem-card); /* the grey card behind the pieces */
  --bar: #F6F6F6; --bar-line: #DADADA; --surface: #FFFFFF; --text: #111B21; --text-2: #54656F; --text-3: #667781; --ios-blue: #007AFF;
  --wallpaper: #EFEAE2; --doodle: none; --bubble-in: #FFFFFF; --bubble-out: #D9FDD3; --bubble-shadow: 0 1px .5px rgba(11, 20, 26, .13);
  --pill: #FFFFFF; --green: #1DAA61; --tick-read: #53BDEB; --red: #E5483B; --doc-bg: rgba(0, 0, 0, .04);
  --shadow: 0 1px 2px rgba(16, 24, 40, .08), 0 12px 32px -8px rgba(0, 0, 0, .4);
  padding-top: 12px; color: var(--text);
  font-family: var(--font-artifact-chat); -webkit-font-smoothing: antialiased;
}
.wa .row { display: flex; align-items: flex-start; gap: 14px; }
.wa .app { position: relative; flex: none; width: 60px; height: 60px; margin-top: 8px; border-radius: 16px; background: var(--green); box-shadow: var(--shadow); display: grid; place-items: center; z-index: 2; }
.wa .app svg { width: 32px; height: 32px; display: block; }
.wa .badge { position: absolute; top: -9px; right: -9px; min-width: 24px; height: 24px; padding: 0 6px; border-radius: 999px; background: var(--red); color: #fff;
  font-size: 12px; font-weight: 600; line-height: 24px; text-align: center; box-shadow: 0 0 0 2px var(--ring); font-variant-numeric: tabular-nums; }
.wa .slot { flex: 1; min-width: 0; display: grid; }
.wa .chat { grid-area: 1 / 1; border-radius: 18px; box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; background: var(--bar); border: 1px solid var(--bar-line); }
.wa .chat-head { height: 56px; padding: 0 6px 0 4px; display: flex; align-items: center; gap: 8px; background: var(--bar); border-bottom: 1px solid var(--bar-line); }
.wa .avatar { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 13px; font-weight: 600; }
.wa .name { font-size: 15px; font-weight: 600; line-height: 19px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wa .sub { font-size: 12px; line-height: 16px; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wa .messages { height: 250px; padding: 10px 14px 12px; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden;
  background-color: var(--wallpaper); background-image: var(--doodle); background-size: 96px 96px; }
.wa .day { align-self: center; margin-bottom: 6px; padding: 4px 12px; border-radius: 8px; background: var(--pill); box-shadow: var(--bubble-shadow);
  font-size: 12.5px; font-weight: 500; line-height: 16px; color: var(--text-2); }
.wa .bubble { position: relative; max-width: 82%; margin-top: 2px; padding: 6px 9px 7px 11px; border-radius: 14px; box-shadow: var(--bubble-shadow);
  font-size: 15px; line-height: 20px; color: var(--text); overflow-wrap: anywhere; }
.wa .bubble.in { align-self: flex-start; background: var(--bubble-in); }
.wa .bubble.out { align-self: flex-end; background: var(--bubble-out); }
.wa .bubble.first { margin-top: 8px; }
.wa .bubble.in.last { border-bottom-left-radius: 0; }
.wa .bubble.out.last { border-bottom-right-radius: 0; }
.wa .sender { display: block; font-size: 13px; font-weight: 600; line-height: 18px; }
.wa .meta { float: right; display: inline-flex; align-items: center; gap: 3px; margin: 7px 0 -5px 12px; font-size: 11px; line-height: 15px; color: var(--text-3); font-variant-numeric: tabular-nums; }
.wa .composer { height: 52px; padding: 0 8px; display: flex; align-items: center; gap: 6px; background: var(--bar); border-top: 1px solid var(--bar-line); color: var(--ios-blue); }
.wa .field { flex: 1; height: 34px; border-radius: 17px; background: var(--surface); border: 1px solid var(--bar-line); }

/* ---------- 3. Hoja de cálculo (varias versiones del mismo archivo) ---------- */
.xl {
  --ring: var(--problem-card); --surface: #FFFFFF; --border: #E3E7ED; --grid: #ECEFF3; --head-bg: #F6F7F9;
  --text: #1A2230; --text-2: #4A5463; --text-3: #7A8494; --sheet-green: #1E7A46; --row-sel: #E8F0FE; --row-sel-text: #1A56C4;
  --amber: #B45309; --amber-bg: #FEF3C7; --red: #E5483B;
  --shadow: 0 1px 2px rgba(16, 24, 40, .08), 0 10px 28px -8px rgba(0, 0, 0, .35);
  padding: 14px 14px 0 0; color: var(--text); font-family: var(--font-artifact); -webkit-font-smoothing: antialiased;
}
.xl .row { display: flex; align-items: flex-start; gap: 12px; }
.xl .app { position: relative; flex: none; width: 60px; height: 60px; margin-top: 4px; border-radius: 16px; background: var(--sheet-green); box-shadow: var(--shadow); display: grid; place-items: center; z-index: 2; }
.xl .badge { position: absolute; top: -9px; right: -9px; width: 24px; height: 24px; border-radius: 999px; background: var(--red); color: #fff;
  font-size: 13px; font-weight: 600; line-height: 24px; text-align: center; box-shadow: 0 0 0 2px var(--ring); }
.xl .pile { flex: 1; min-width: 0; display: grid; }
.xl .pile > * { grid-area: 1 / 1; }
.xl .ghost { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow); }
.xl .ghost--2 { transform: translate(18px, -16px) rotate(3deg); opacity: .6; }    /* hojas "fantasma" = hay más copias */
.xl .ghost--1 { transform: translate(9px, -8px) rotate(1.5deg); opacity: .85; }
.xl .sheet { position: relative; grid-area: 1 / 1; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow); overflow: hidden; }
.xl .sheet-head { padding: 12px 14px 10px; display: flex; align-items: center; gap: 10px; }
.xl .file-ic { flex: none; width: 28px; height: 28px; border-radius: 6px; background: var(--sheet-green); display: grid; place-items: center; }
.xl .file-name { font-size: 14px; font-weight: 600; line-height: 20px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.xl .owner { font-size: 12px; line-height: 16px; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.xl .ver { flex: none; font-size: 11.5px; font-weight: 500; line-height: 16px; color: var(--text-3); padding: 3px 8px; border-radius: 999px; background: var(--head-bg); border: 1px solid var(--grid); }
.xl table { width: 100%; border-collapse: collapse; font-size: 12px; line-height: 16px; }
.xl th, .xl td { height: 34px; padding: 0 10px; text-align: left; white-space: nowrap; border-top: 1px solid var(--grid); }
.xl th + th, .xl td + td { border-left: 1px solid var(--grid); }
.xl th { height: 30px; background: var(--head-bg); font-size: 11.5px; font-weight: 500; color: var(--text-3); }
.xl td { color: var(--text-2); }
.xl tr.sel td { background: var(--row-sel); }
.xl td.changed { animation: tk-xl-flash 1.8s ease-out .5s both; }
@keyframes tk-xl-flash { 0%, 35% { box-shadow: inset 0 0 0 100px var(--amber-bg); } 100% { box-shadow: inset 0 0 0 100px transparent; } }
.xl .sheet-foot { height: 36px; padding: 0 14px; display: flex; align-items: center; gap: 6px; border-top: 1px solid var(--grid); font-size: 12px; line-height: 16px; color: var(--amber); }

/* ---------- 4. Documentos sueltos (hojas PDF / XML que van llegando) ---------- */
.docs { position: relative; width: 100%; height: 100%; font-family: var(--font-artifact); }
.docs .paper { position: absolute; width: 118px; height: 150px; padding: 12px 12px 10px; display: flex; flex-direction: column; gap: 6px;
  background: var(--g-paper, #FAFAFA); border: 1px solid var(--g-line-2, #D4D4D8); border-radius: 6px; box-shadow: var(--g-shadow, 0 1px 2px rgba(0,0,0,.14)); }
.docs .type { align-self: flex-start; margin-bottom: 4px; padding: 2px 5px; border-radius: 3px; background: var(--g-mid, #A1A1AA); color: #fff; font-size: 9px; font-weight: 600; line-height: 12px; }
.docs .ln { height: 4px; border-radius: 2px; background: var(--g-line, #E4E4E7); }
.docs .fname { margin-top: auto; font-size: 10.5px; font-weight: 600; line-height: 13px; color: var(--g-ink, #1C1C1E);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- 5. Líneas que conectan todo (SVG superpuesto) ---------- */
/* Gradiente del SVG: <linearGradient id="tk-bridge-grad" gradientUnits="userSpaceOnUse">
     <stop offset="0" stop-color="#2A93D5"/><stop offset=".5" stop-color="#37CAEC"/><stop offset="1" stop-color="#ffffff"/>
   Desenfoque: <filter id="tk-bridge-blur"><feGaussianBlur stdDeviation="2.5"/></filter>
   Cada <path> lleva pathLength="1" para que el dibujo (dasharray 1 1) funcione con cualquier largo. */
.tk-bridge { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 5; }
.tk-bridge path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.tk-bridge .src { stroke: var(--brand-2); stroke-width: 1; opacity: .38; stroke-dasharray: 1 1; stroke-dashoffset: 1;
  transition: stroke-dashoffset .8s var(--ease-draw); transition-delay: calc(var(--i, 0) * 110ms); }   /* de cada pieza al punto de unión */
.tk-bridge .main, .tk-bridge .glow { stroke: url(#tk-bridge-grad); stroke-dasharray: 1 1; stroke-dashoffset: 1; transition: stroke-dashoffset .85s var(--ease-draw) .65s; }
.tk-bridge .main { stroke-width: 1.25; }                                       /* del punto de unión hacia Taskility */
.tk-bridge .glow { stroke-width: 5; opacity: .16; filter: url(#tk-bridge-blur); } /* resplandor bajo la línea principal */
.tk-bridge.is-on :is(.src, .main, .glow) { stroke-dashoffset: 0; }               /* al añadir .is-on, las líneas se dibujan */
.tk-bridge .spark { stroke: url(#tk-bridge-grad); stroke-width: 2; stroke-dasharray: .06 1.2; stroke-dashoffset: .06; opacity: 0; }
.tk-bridge.is-live .spark { animation: tk-spark 6s ease-in-out 1s infinite; }    /* chispa que recorre la conexión cada 6 s */
@keyframes tk-spark { 0% { stroke-dashoffset: .06; opacity: 0; } 6% { opacity: .9; } 40% { stroke-dashoffset: -1; opacity: .9; } 46%, 100% { stroke-dashoffset: -1; opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  .tk-bridge :is(.src, .main, .glow) { transition: none; stroke-dashoffset: 0; }
  .tk-bridge .spark { display: none; }
  .xl td.changed { animation: none; box-shadow: inset 0 0 0 100px var(--amber-bg); }
}

/* =====================================================================================
   TRIÁNGULOS REDONDEADOS DE VIDRIO (from triangulos.css; unchanged). Needs
   --plate-mix (theme composite above), --top-fill-1 and triangulos.js for the shape.
   ===================================================================================== */

/* Capa de fondo: ocupa toda la sección y no recibe clics */
.glass-layers { position: absolute; inset: 0; z-index: 0; pointer-events: none; }

/* Pila: 640 × 640 px, inclinada en 3D (vista isométrica) y flotando lentamente */
.glass-stack {
  position: absolute; width: 640px; height: 640px;
  transform-style: preserve-3d;
  transform: rotateX(58deg) rotateZ(-38deg);
  animation: stack-drift 14s ease-in-out infinite;
}
.glass-stack--a { top: -240px; right: -270px; }                                   /* esquina superior derecha */
.glass-stack--b { bottom: -330px; left: -220px; width: 520px; height: 520px; opacity: 0.55; animation-delay: -7s; }  /* esquina inferior izquierda (solo Home) */

/* Cada capa: más transparente cuanto más abajo (--i = 0 arriba … 4 abajo), separadas 20 px en Z */
.glass-plate {
  position: absolute; inset: 0;
  opacity: calc((1 - var(--i) * 0.16) * var(--drop-o, 1));   /* --drop-o lo controla el scroll (1 = estado final) */
  transform: translateZ(calc(var(--i) * -20px));
  animation: plate-spread 8s ease-in-out infinite;
}
.glass-plate svg { display: block; width: 100%; height: 100%; overflow: visible; }
/* Relleno: el color de la capa (--pc) al 28 % (14 % en oscuro) + borde de 2 px + resplandor */
.glass-plate path {
  fill: color-mix(in srgb, var(--pc) calc(var(--plate-mix) * 1%), transparent);
  stroke: var(--pc); stroke-width: 2; stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
  filter: drop-shadow(0 0 12px color-mix(in srgb, var(--pc) 38%, transparent));
}
/* Capa superior: relleno menta y más resplandor */
.glass-plate:first-child path {
  fill: var(--top-fill-1);
  filter: drop-shadow(0 0 20px color-mix(in srgb, var(--pc) 45%, transparent));
}

/* "Respiración": las capas se separan de 20 a 28 px y la pila sube y baja 10 px */
@keyframes plate-spread {
  0%, 100% { transform: translateZ(calc(var(--i) * -20px)); }
  50% { transform: translateZ(calc(var(--i) * -28px)); }
}
@keyframes stack-drift {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 10px; }
}

/* Móvil: pilas más pequeñas */
@media (max-width: 767px) {
  .glass-stack--a { width: 420px; height: 420px; top: -170px; right: -190px; }
  .glass-stack--b { width: 340px; height: 340px; bottom: -230px; left: -200px; }
}
@media (prefers-reduced-motion: reduce) {
  .glass-stack, .glass-plate { animation: none; }
}
/* Page: a five-step contact form in the always-dark zone, built only from the system's tokens and classes.
   Layout and states only below: no new colours, type sizes or component styles. */
:root { --zone-ground: #040814; color-scheme: dark; }  /* = bg in the dark theme; paints behind the zone */
html, body { background: var(--zone-ground); }
[hidden] { display: none !important; }
.q-zone { min-height: 100vh; padding-block: var(--section-y);
  padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
@media (min-width: 768px) { .q-zone { padding-block: var(--section-y-md); } }
.q-col { width: 100%; max-width: var(--read-width); margin-inline: auto; display: flex; flex-direction: column; gap: var(--stack-head); }
.q-card { position: relative; }
.q-card .xs-bar-progress { top: 0; bottom: auto; border-radius: var(--radius-xl) var(--radius-xl) 0 0; }  /* clips its own corners so dropdowns can overflow the card */                /* the modal's progress line, on the card's top edge */
.q-step { display: flex; flex-direction: column; gap: 24px; }
.q-step.is-entering { animation: faq-in var(--dur-slow) var(--ease-out); }   /* the system's own entrance (FAQ answer) */
.q-head { display: flex; flex-direction: column; gap: 12px; }
.q-meta { display: flex; align-items: center; gap: 12px; min-height: 30px; }
.q-meta .t-label { color: var(--muted); }
.q-back svg { width: 14px; height: 14px; flex: none; }
.q-head h1, .q-head h2 { color: var(--ink); text-wrap: balance; outline: none; }
.q-head p { color: var(--muted); }
.q-options { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--gap-buttons); min-width: 0; }
.q-option { width: 100%; justify-content: center; text-align: center; }
.q-option:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.q-options.is-invalid .q-option:not(.active) { border-color: var(--field-error); }
.q-opt { font-weight: 400; color: var(--muted); }
.q-tel { display: flex; gap: 8px; min-width: 0; }
.q-tel > input { flex: 1; min-width: 0; }
.q-tel { position: relative; }
.q-cc { flex: none; }
.q-cc-face { display: flex; align-items: center; gap: 8px; min-width: 7.5rem; height: 100%; padding-right: 40px; white-space: nowrap; text-align: left; cursor: pointer; font-variant-numeric: tabular-nums; }
.q-card .q-cc-panel { position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: var(--z-menu); background: var(--surface); border: 1px solid var(--card-border); -webkit-backdrop-filter: none; backdrop-filter: none; }  /* solid: text behind must not show through */
.q-cc-list { max-height: 18rem; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--line-strong) transparent; }
.q-cc-opt { display: flex; align-items: center; gap: 12px; padding: 12px 16px; cursor: pointer; }
.q-cc-opt .q-cc-name { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.q-cc-num { flex: none; font-size: 14px; line-height: 1.45; color: var(--muted); font-variant-numeric: tabular-nums; }
.q-cc-opt.is-active { background: var(--soft-bg); }
.q-cc-opt[aria-selected="true"] .q-cc-name::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 8px; vertical-align: middle; border-radius: 999px; background: var(--accent); }
.q-flag { font-family: "Noto Color Emoji", "Apple Color Emoji", "Segoe UI Emoji", sans-serif; font-size: 16px; line-height: 1; }
.q-cc-face[aria-expanded="true"] { border-color: var(--field-border-focus); box-shadow: 0 0 0 3px var(--accent-ring); background: var(--field-bg-focus); }
.q-fields { display: flex; flex-direction: column; gap: var(--gap-cards); }
.q-error { margin: 8px 0 0; font-size: 14px; line-height: 1.5; color: var(--status-warn); }  /* cf-status, beside its field */
.q-options + .q-error { margin-top: -12px; }
.q-errsum { padding: 12px 16px; border-radius: var(--radius-md); border: 1px solid var(--field-error); font-size: 14px; line-height: 1.5; color: var(--status-warn); outline: none; }
.q-errsum:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.q-errsum ul { margin: 6px 0 0; display: flex; flex-direction: column; gap: 2px; }
.q-errsum a { color: var(--status-warn); text-decoration: underline; text-underline-offset: 3px; }
.q-actions { display: flex; flex-direction: column; gap: 12px; padding-top: 8px; }
.q-card.is-leaving { opacity: 0; transform: translateY(-4px); transition: opacity var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out); }
.q-success { display: flex; flex-direction: column; align-items: center; text-align: center;
  padding-top: var(--stack-lead-actions); padding-bottom: var(--section-y-md); }   /* more air below than above: optical centre */
.q-success.is-entering { animation: faq-in var(--dur-slow) var(--ease-out); }
.q-success-icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: var(--radius-pill);
  background: var(--ok-bg); border: 1px solid var(--ok-border); color: var(--ok-icon); }
.q-success-icon svg { width: 24px; height: 24px; }
.q-success-main { margin-top: 24px; display: flex; flex-direction: column; align-items: center; gap: var(--stack-title-sub); }
.q-success-main h1 { color: var(--ink); text-wrap: balance; outline: none; }
.q-success-main p { max-width: 32rem; color: var(--muted); text-wrap: pretty; }
.q-success-brand { margin-top: var(--stack-head); display: flex; flex-direction: column; align-items: center; gap: 8px; }
.q-success-brand .t-h4 { color: var(--ink); text-wrap: balance; }
.q-success-brand .t-body { color: var(--muted); }
.q-success .btn-soft { margin-top: var(--stack-lead-actions); }
.q-demo { margin-top: var(--stack-head); color: var(--muted); }
@media (prefers-reduced-motion: reduce) { .q-step.is-entering, .q-success.is-entering { animation: none; } .q-card.is-leaving { transition: none; } }
