/* ==========================================================================
   Tokens
   ========================================================================== */
:root{
  --bg-outer: #191818;
  --bg-frame: #191818;
  --blue-500: #3b6bff;
  --blue-400: #5c8bff;
  --blue-glow: rgba(70,110,255,.45);

  --text-1: #f6f8fd;
  --text-2: rgba(228,233,247,.62);
  --text-3: rgba(228,233,247,.38);

  --border-1: rgba(255,255,255,.09);
  --border-2: rgba(255,255,255,.16);

  --glass: rgba(255,255,255,.102);
  --glass-strong: rgba(255,255,255,.2);
  --glass-hover: rgba(255,255,255,.2);
  --glass-strong-hover: rgba(255,255,255,.4);
  --glass-edge: inset -1px -1px 0 0 rgba(255,255,255,.35), inset 1px 1px 0 0 rgba(255,255,255,.35);
  --frame-tint: rgba(191,202,242,.302);

  --pill-light: #eef2fb;
  --pill-light-text: #10131f;

  --radius-lg: 26px;
  --radius-md: 16px;
  --radius-sm: 12px;

  --ease: cubic-bezier(.16,.8,.24,1);

  --ink: #10131f;

  --floor-glow: linear-gradient(90deg,
    rgba(8,110,255,.275) 0%,
    rgba(79,171,255,.253) 45%,
    rgba(177,197,255,.209) 72%,
    rgba(255,221,183,.154) 100%);
  --floor-in: linear-gradient(to bottom,
    transparent 0%,
    rgba(0,0,0,.061) 12.5%,
    rgba(0,0,0,.164) 25%,
    rgba(0,0,0,.335) 37.5%,
    rgba(0,0,0,.546) 50%,
    rgba(0,0,0,.752) 62.5%,
    rgba(0,0,0,.907) 75%,
    rgba(0,0,0,.986) 87.5%,
    #000 100%);
  --floor-out: linear-gradient(to bottom,
    #000 0%,
    rgba(0,0,0,.975) 6%,
    rgba(0,0,0,.90) 14%,
    rgba(0,0,0,.74) 26%,
    rgba(0,0,0,.54) 40%,
    rgba(0,0,0,.35) 56%,
    rgba(0,0,0,.19) 72%,
    rgba(0,0,0,.08) 86%,
    transparent 100%);
}

*,*::before,*::after{ box-sizing:border-box; }
html{ color-scheme: dark; scroll-behavior: smooth; }

*{ scrollbar-width: auto; scrollbar-color: rgb(92, 136, 218) transparent; }
::-webkit-scrollbar{ width: 16px; }
::-webkit-scrollbar-track{ background: transparent; }
::-webkit-scrollbar-thumb{ background-color: rgb(111, 151, 201); border-radius: 10px; border: 3px solid transparent; }

body{
  margin:0;
  background: var(--bg-outer);
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--text-1);
  min-height:100vh;
  overflow-x:hidden;
  overflow-x:clip;
}

@media (prefers-reduced-motion: reduce){
  *,*::before,*::after{ animation-duration:.001ms !important; animation-iteration-count:1 !important; transition-duration:.001ms !important; scroll-behavior:auto !important; }
}

/* ==========================================================================
   Outer page — stars, corner glows, grid
   ========================================================================== */
.page{
  position:relative;
  min-height:100vh;
  background: var(--bg-outer);
}

/* ==========================================================================
   Frame — the "app window" that holds the whole hero
   ========================================================================== */
.frame{
  position:relative;
  width:100%;
  height: 100svh;
  background-color: var(--bg-frame);
  background-image:
    linear-gradient(to bottom,
      transparent 84%,
      color-mix(in srgb, var(--bg-frame) 6.1%, transparent) 86%,
      color-mix(in srgb, var(--bg-frame) 16.4%, transparent) 88%,
      color-mix(in srgb, var(--bg-frame) 33.5%, transparent) 90%,
      color-mix(in srgb, var(--bg-frame) 54.6%, transparent) 92%,
      color-mix(in srgb, var(--bg-frame) 75.2%, transparent) 94%,
      color-mix(in srgb, var(--bg-frame) 90.7%, transparent) 96%,
      color-mix(in srgb, var(--bg-frame) 98.6%, transparent) 98%,
      var(--bg-frame) 100%),
    url("../assets/hero-ellipse.svg"),
    url("../assets/hero-light.svg"),
    url("../assets/hero-grid.svg");
  background-position: 0 0, 50% 110%, 0 0, 0% 0%;
  background-repeat: no-repeat, no-repeat, no-repeat, no-repeat;
  background-size: 100% 100%, contain, auto, cover;
  overflow:hidden;
  isolation:isolate;
  display:flex;
  flex-direction:column;
  padding: clamp(20px, 2.6vw, 34px) clamp(24px, 4vw, 56px) clamp(28px, 3vw, 44px);
  opacity:0;
  animation: frame-in .9s var(--ease) forwards;
}

@keyframes frame-in{
  from{ opacity:0; }
  to{ opacity:1; }
}

.frame::after{
  content:"";
  position:absolute;
  left:0; right:0; bottom:0;
  height:16svh;
  z-index:-1;
  pointer-events:none;
  background:var(--floor-glow);
  -webkit-mask-image:var(--floor-in);
  mask-image:var(--floor-in);
}

.frame-noise{
  position:absolute;
  inset:0;
  z-index:0;
  pointer-events:none;
  opacity:.05;
  mix-blend-mode:overlay;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ==========================================================================
   Glass utility (the "premium boxes" effect)
   ========================================================================== */
.glass{
  background: var(--glass);
  border: 1px solid var(--border-1);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  box-shadow:
    0 1px 0 rgba(255,255,255,.07) inset,
    0 10px 30px -14px rgba(0,0,0,.6);
}

.icon-chip{
  --s: 34px;
  width:var(--s); height:var(--s);
  flex:none;
  display:flex; align-items:center; justify-content:center;
  border-radius: 10px;
  background: linear-gradient(160deg, rgba(255,255,255,.09), rgba(255,255,255,.02));
  border:1px solid var(--border-1);
  box-shadow: 0 1px 0 rgba(255,255,255,.08) inset, 0 6px 14px -8px rgba(0,0,0,.6);
  color: var(--text-2);
}
.icon-chip svg{ width:56%; height:56%; fill:none; stroke:currentColor; stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; }
.icon-chip--tiny{ --s:22px; border-radius:7px; }
.icon-chip--inline{ margin:0 2px; transform:translateY(4px); color:var(--text-1); }

/* ==========================================================================
   Live cursors — simulated teammates actively working the pipeline
   ========================================================================== */
.live-cursors{ position:absolute; inset:0; z-index:6; pointer-events:none; overflow:hidden; }

.live-cursor{
  position:absolute;
  top:0; left:0;
  display:flex; flex-direction:column; align-items:flex-end;
  opacity:0;
  transform: translate3d(var(--px,0), var(--py,0), 0);
  animation: cursor-in .5s var(--ease) var(--delay,0s) forwards;
  filter: drop-shadow(0 8px 18px rgba(0,0,0,.5));
}
@keyframes cursor-in{ from{ opacity:0; } to{ opacity:1; } }

.live-cursor svg{ width:18px; height:18px; flex:none; }
.live-cursor .cursor-arrow{ fill: var(--agent-color, #fff); }

.live-cursor .cursor-tag{
  align-self:flex-start;
  position:relative;
  padding:7px 13px;
  border-radius:10px;
  background: var(--glass);
  box-shadow: 0 0 0 1px rgba(255,255,255,.04), 0 0 22px -4px var(--agent-color, transparent);
  color: var(--text-1);
  font-family:'Geist', 'Inter', system-ui, sans-serif;
  font-size:.82rem; font-weight:500;
  white-space:nowrap;
}
.live-cursor--grow-right .cursor-tag{ align-self:flex-end; }

.live-cursor--inline{ flex-direction:row; align-items:center; gap:9px; }
.live-cursor--inline .cursor-tag{ align-self:center; }
.live-cursor--inline .cursor-pulse{ left:1px; top:1px; right:auto; }

.live-cursor .cursor-pulse{
  position:absolute; right:1px; top:1px;
  width:16px; height:16px; border-radius:50%;
  border:1.5px solid var(--agent-color, rgba(255,255,255,.6));
  opacity:0;
  pointer-events:none;
}
.live-cursor.is-clicking .cursor-pulse{ animation: cursor-click .7s var(--ease); }
@keyframes cursor-click{
  0%{ opacity:.9; transform:scale(.4); }
  100%{ opacity:0; transform:scale(2.6); }
}

/* ==========================================================================
   Nav
   ========================================================================== */
.nav{
  position:relative; z-index:3;
  display:grid;
  grid-template-columns: 1fr auto 1fr;
  align-items:center;
  gap:16px;
}
.nav .brand{ justify-self:start; }
.nav-center{ justify-self:center; }
.nav-actions{ justify-self:end; display:flex; align-items:center; gap:10px; }

.brand{
  display:flex; align-items:center; gap:10px;
  color:var(--text-1); text-decoration:none;
  font-family:'Plus Jakarta Sans', sans-serif;
  font-weight:600; font-size:1.05rem; letter-spacing:-.01em;
}
.brand-mark{ width:28px; height:auto; display:block; }
.brand-mark--nav{ width:40px; }

.brand--footer{ flex-direction:column; gap:.55rem; }
.brand--footer .brand-mark{ width:44px; }

.nav-center{
  display:flex; align-items:center; gap:6px;
  padding:6px; border-radius:100px;
}
.nav-link, .lang-toggle{
  color:var(--text-2); text-decoration:none; font-size:.92rem; font-weight:500;
  padding:10px 16px; border-radius:100px;
  transition: color .2s var(--ease);
}
.nav-link:hover, .nav-link:focus-visible,
.lang-toggle:hover, .lang-toggle:focus-visible{ color:var(--text-1); }

.lang-toggle{
  background:none; border:none; cursor:pointer;
  font-family:inherit;
}

.nav-toggle{
  display:none;
  width:44px; height:44px; padding:11px;
  flex-direction:column; justify-content:space-between;
  background:none; border:0; border-radius:12px;
  cursor:pointer;
}
.nav-toggle:focus-visible{ outline:2px solid var(--blue-400); outline-offset:2px; }
.nav-toggle-bar{
  display:block; height:2px; width:100%; border-radius:2px;
  background:var(--text-1);
  transition: transform .25s var(--ease), opacity .2s var(--ease);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1){ transform:translateY(10px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2){ opacity:0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3){ transform:translateY(-10px) rotate(-45deg); }

.nav-pill{
  display:flex; align-items:center; gap:8px;
  text-decoration:none; color:var(--text-1);
  font-size:.92rem; font-weight:600;
  padding:8px 16px 8px 8px; border-radius:100px;
}
.nav-pill--active{
  background: var(--glass-strong);
  border:1px solid var(--border-2);
  box-shadow:0 1px 0 rgba(255,255,255,.1) inset;
}

.btn{
  display:inline-flex; align-items:center; gap:10px;
  text-decoration:none; cursor:pointer;
  font-family:inherit; font-size:.92rem; font-weight:600;
  border-radius:100px;
  transition: transform .25s var(--ease), border-color .25s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease);
}
.btn:active{ transform:scale(.97); }

.btn-icon{
  width:30px; height:30px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  background:rgba(255,255,255,.06); border:1px solid var(--border-2);
}
.btn-icon svg{ width:15px; height:15px; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
.btn-icon--fill{ background: #fff; color:var(--blue-500); border-color:transparent; }

.btn--primary{
  color:var(--ink);
  background: var(--pill-light);
  border:1px solid transparent;
  padding:9px 9px 9px 20px;
  box-shadow: 0 10px 30px -12px rgba(0,0,0,.7);
}
.btn--primary:hover{
  background:#ffffff;
  box-shadow: 0 14px 38px -12px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.5);
}
.btn--primary .btn-icon{ background:var(--blue-500); border-color:transparent; }
.btn--primary .btn-icon svg{ stroke:#fff; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero{
  position:relative; z-index:3;
  flex:1;
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  gap:clamp(20px,2.6vw,30px);
  text-align:center;
  padding: 20px 12px 10px;
}

.eyebrow{
  display:flex; align-items:center; gap:.5rem;
  margin:0;
  padding:0;
  color:var(--text-2);
  font-size:.76rem; font-weight:600;
  text-transform:uppercase; letter-spacing:.16em;
  animation: rise .8s var(--ease) .1s both;
}
.eyebrow .circle-gradient{
  width:.34rem; height:.34rem; border-radius:50%; flex:none;
  background:linear-gradient(135deg,#086eff,#ffddb7);
  box-shadow:0 0 8px rgba(8,110,255,.65);
}

.headline{
  margin:0;
  font-family:'Plus Jakarta Sans', sans-serif;
  font-weight:600;
  font-size: clamp(2.1rem, 4.6vw, 3.9rem);
  line-height:1.08;
  letter-spacing:-.02em;
  background: linear-gradient(180deg, #e6ecff 0%, #ffffff 55%, #ffffff 100%);
  -webkit-background-clip:text; background-clip:text; color:transparent;
}
.headline .line{
  display:block;
  animation: rise .8s var(--ease) both;
  background: linear-gradient(180deg, #e6ecff 0%, #ffffff 55%, #ffffff 100%);
  -webkit-background-clip:text; background-clip:text;
  -webkit-text-fill-color:transparent; color:transparent;
}
.headline .line:nth-child(1){ animation-delay:.18s; }
.headline .line:nth-child(2){ animation-delay:.28s; }

.headline .line:nth-child(2){
  min-height: calc(1.08em * 2);
  display:flex; align-items:center; justify-content:center;
}

.hero-rotator{
  display:inline-block;
  background: linear-gradient(180deg, #e6ecff 0%, #ffffff 55%, #ffffff 100%);
  -webkit-background-clip:text; background-clip:text; color:transparent;
  opacity:1;
}

@keyframes rise{
  from{ opacity:0; transform:translateY(16px); }
  to{ opacity:1; transform:none; }
}
@keyframes fade-in{
  from{ opacity:0; }
  to{ opacity:1; }
}

.cta-row{
  display:flex; align-items:center; justify-content:center;
  animation: rise .8s var(--ease) .38s both;
}

/* ==========================================================================
   Workflow diagram — an n8n-style node canvas: a trigger feeds an AI agent
   (with Model/Memory/Tool dependencies hanging below it, dashed lines like
   n8n's own sub-node connectors), which branches into a true/false path,
   each ending in one or more action nodes. A traveling pulse runs the whole
   route on a loop so the diagram reads as "live", not a static screenshot.
   ========================================================================== */
.wflow{
  position:relative; z-index:3;
  width:100%; max-width:1280px;
  height: clamp(460px, 47vw, 580px);
  margin: 0 auto;
}

.wflow-cursors{ position:absolute; inset:0; z-index:3; pointer-events:none; overflow:hidden; }

.wflow-lines{ position:absolute; inset:0; width:100%; height:100%; overflow:visible; display:block; z-index:0; }
.wflow-lines path{
  fill:none;
  stroke: rgba(255,255,255,.16);
  stroke-width:1.6;
  stroke-linecap:round;
}
.wflow-lines path.is-dashed{ stroke-dasharray:1 6; }
.wflow-lines path.is-live{ stroke: rgba(255,255,255,.34); }

.wflow-pulse{
  position:absolute; top:0; left:0;
  width:8px; height:8px; margin:-4px 0 0 -4px;
  border-radius:50%;
  background:#bcdcff;
  box-shadow: 0 0 10px 3px rgba(125,184,255,.85), 0 0 26px 10px rgba(80,140,255,.4);
  opacity:0;
  transition: opacity .35s ease;
  pointer-events:none;
  z-index:2;
}
.wflow-pulse.is-behind{ visibility:hidden; }

.wflow-node{
  position:absolute;
  left:var(--x-d); top:var(--y-d);
  transform:translate(-50%,-50%);
  z-index:1;
  display:flex; align-items:center; gap:9px;
  white-space:nowrap;
  opacity:.32;
  filter: saturate(.5) brightness(.8);
  transition: opacity .4s var(--ease), filter .4s var(--ease), background-color .3s, border-color .3s;
}
.wflow-node.is-active{ opacity:1; filter:none; }

.wflow-icon{
  --s:32px; width:var(--s); height:var(--s); flex:none;
  display:flex; align-items:center; justify-content:center;
  border-radius:9px;
  background: var(--glass);
  border:1px solid var(--border-1);
  color: var(--text-2);
  transition: color .25s var(--ease), border-color .25s var(--ease), background .25s var(--ease);
}
.wflow-icon svg{ width:56%; height:56%; fill:none; stroke:currentColor; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }
.wflow-node.is-active .wflow-icon{ color:var(--text-1); border-color:var(--border-2); background:var(--glass-strong); }
.wflow-icon--branch{ color:#4ee6a0; border-color:rgba(78,230,160,.32); }
.wflow-node.is-active .wflow-icon--branch{ color:#4ee6a0; background:rgba(78,230,160,.14); border-color:rgba(78,230,160,.5); }

.wflow-label{ font-size:.78rem; line-height:1.3; color:var(--text-3); }
.is-mobile-only{ display:none; }
.wflow-label b{ color:var(--text-1); font-weight:600; }
.wflow-node.is-active .wflow-label{ color:var(--text-2); }

.wflow-node--agent{
  background: var(--glass);
  border:1px solid var(--border-1);
  border-radius:14px;
  padding:9px 16px 9px 9px;
  gap:11px;
}
.wflow-node--agent .icon-chip{ --s:36px; }
.wflow-node--agent.is-active{ background:var(--glass-strong); border-color:var(--border-2); }
.wflow-agent-text{ display:flex; flex-direction:column; font-size:.84rem; }
.wflow-agent-text b{ color:var(--text-1); }
.wflow-agent-text .dim{ color:var(--text-3); font-size:.7rem; font-weight:500; }
.wflow-node--agent.is-active .wflow-agent-text .dim{ color:var(--text-2); }

.wflow-node--action{
  background:var(--glass); border:1px solid var(--border-1); border-radius:10px;
  padding:7px 14px 7px 7px;
}
.wflow-node--action.is-active{ background:var(--glass-strong); border-color:var(--border-2); }

.wflow-node--sub{ flex-direction:column; text-align:center; gap:6px; }
.wflow-node--sub .wflow-icon{ --s:28px; border-radius:50%; }
.wflow-sub-label{ font-size:.7rem; color:var(--text-3); transition:color .3s var(--ease); }
.wflow-node--sub.is-active .wflow-sub-label{ color:var(--text-2); }

/* ==========================================================================
   Product showcase — an "app window" that overlaps the hero, exactly like
   design-api.webflow.io's .app_content (position:relative; bottom:11rem):
   a fixed upward offset that overlaps the section above in normal document
   flow, not a scroll-pinned/sticky trick. There's no scroll-scrubbing here —
   scrolling moves the card like any other element, which is what makes it
   read as "peeking" out of the hero at rest and settling into place as you
   scroll past.
   ========================================================================== */
.showcase{
  position:relative; z-index:5; display:flow-root;
  /* Reserva lo que baja la tarjeta: --showcase-travel × 30/11 (script.js). */
  padding-bottom: clamp(164px, 21vw, 256px);
  background-color: var(--bg-outer);
  background-image:
    radial-gradient(ellipse 60% 28% at 30% 22%, rgba(70,130,255,.14), transparent 75%),
    radial-gradient(ellipse 50% 23% at 78% 18%, rgba(255,180,120,.09), transparent 75%);
  background-repeat: no-repeat;
}
.showcase::before{
  content:"";
  position:absolute;
  left:0; right:0; top:0;
  height:340px;
  z-index:1;
  pointer-events:none;
  background:var(--floor-glow);
  -webkit-mask-image:var(--floor-out);
  mask-image:var(--floor-out);
}

.showcase-sticky{
  position:relative; z-index:2;
  display:flex; align-items:flex-start; justify-content:center;
  --showcase-travel: clamp(60px, 7.7vw, 94px);
  margin-top: clamp(44px, 5vw, 64px);
  padding: 0 clamp(16px,3vw,40px) clamp(48px,7vw,110px);
}

.showcase-head{
  position:absolute; left:0; right:0; top:0;
  height:0;
  z-index:3;
  display:flex; justify-content:center; align-items:flex-start;
  pointer-events:none;
}
.showcase-head .header-wrap{ opacity:0; }

.mockup{
  position:relative;
  width:min(94vw, 1400px);
  height:min(78vh, 660px);
  border-radius:22px;
  padding: clamp(10px, 1.2vw, 18px);
  background: var(--frame-tint);
  box-shadow: 0 40px 100px -30px rgba(0,0,0,.5);
}

.mockup-inner{
  position:relative;
  height:100%;
  border-radius:18px;
  background: var(--bg-frame);
  overflow:hidden;
  display:flex; flex-direction:column;
  container-type: inline-size;
}

.mockup-grid{
  position:absolute; inset:0; z-index:0; pointer-events:none;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000 40%, transparent 85%);
          mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000 40%, transparent 85%);
}

.mockup-glow{
  position:absolute; inset:0; z-index:0; pointer-events:none; overflow:hidden;
}
.mockup-glow::before{
  content:"";
  position:absolute;
  left:50%; top:31.25%;
  left:50%; top:31.25cqw;
  width:42.2%; height:42.2%;
  width:42.2cqw; height:42.2cqw;
  transform:translate(-50%,-50%);
  border-radius:50%;
  background: linear-gradient(90deg, #086eff 0%, #4fabff 50%, #b1c5ff 75%, #ffddb7 100%);
  filter: blur(58px);
  filter: blur(13.9cqw);
}

.mockup-header{
  flex:none;
  display:flex; align-items:center; justify-content:space-between;
  padding:16px 22px;
  border-bottom:1px solid var(--border-1);
}
.mockup-brand{ display:flex; align-items:center; gap:9px; font-weight:600; font-size:.92rem; color:var(--text-1); }
.mockup-brand img{ display:block; opacity:.9; }
.mockup-status{
  display:flex; align-items:center; gap:7px;
  font-size:.78rem; font-weight:600; color:var(--text-2);
}
.mockup-status-dot{
  width:7px; height:7px; border-radius:50%;
  background:#4ee6a0;
  box-shadow:0 0 0 3px rgba(78,230,160,.18);
  animation: status-pulse 2s ease-in-out infinite;
}
@keyframes status-pulse{ 0%,100%{ opacity:1; } 50%{ opacity:.5; } }

.mockup-body{ flex:1; display:flex; min-height:0; }

.mockup-sidebar{
  flex:none;
  display:flex; flex-direction:column; align-items:center; gap:10px;
  padding:18px 12px;
  border-right:1px solid var(--border-1);
}
.mockup-side-icon{
  width:34px; height:34px; border-radius:10px;
  display:flex; align-items:center; justify-content:center;
  color:var(--text-3);
}
.mockup-side-icon svg{ width:54%; height:54%; fill:none; stroke:currentColor; stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; }
.mockup-side-icon.is-active{
  color:var(--text-1);
  background: var(--glass-strong);
  border:1px solid var(--border-2);
}

.mockup-content{
  flex:1; min-width:0;
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  gap: clamp(20px, 3vw, 36px);
  padding: 24px clamp(12px, 3vw, 40px);
  overflow:hidden;
}
.mockup-eyebrow{
  margin:0; color:var(--text-3); font-size:.82rem; font-weight:600;
  letter-spacing:.02em; text-transform:uppercase;
}

@media (max-width: 860px){
  .showcase{ padding-top: 72px; padding-bottom: 28px; }
  .showcase-sticky{ --showcase-travel:0px; margin-top:0; padding:0 16px 36px; }
  .showcase-head{
    position:static; height:auto;
    padding:0 16px; margin-bottom:1.75rem;
    pointer-events:auto;
  }
  .showcase-head .header-wrap{ opacity:1; }
  .mockup{ height:auto; }
  .mockup-content{ padding:20px 16px 32px; }
  .mockup-sidebar{ display:none; }
}

/* ==========================================================================
   Scroll hint
   ========================================================================== */
.scroll-hint{
  position:absolute; right:clamp(20px,3vw,40px); bottom:clamp(16px,2vw,26px);
  z-index:4;
  display:flex; align-items:center; gap:8px;
  background:none; border:none; cursor:pointer;
  color:var(--text-3); font-family:inherit; font-size:.82rem;
  padding:6px;
  animation: rise .8s var(--ease) .55s both;
}
.scroll-hint b{ color:var(--text-2); font-weight:600; }
.scroll-hint svg{
  width:14px; height:14px; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round;
  animation: bob 1.6s ease-in-out infinite;
}
@keyframes bob{ 0%,100%{ transform:translateY(0); } 50%{ transform:translateY(4px); } }

/* ==========================================================================
   Sections below the showcase — literal layout/spacing from
   design-api.webflow.io's .padding-global/.container/.header-wrap system,
   with our own copy. The reference alternates white and black sections;
   by explicit request this build stays black/dark all the way down instead,
   reusing the same --text-1/2/3, --glass and --border tokens the hero and
   showcase already use, so it reads as one consistent theme rather than
   two different palettes stitched together.
   ========================================================================== */
.padding-global{ padding-left:clamp(20px,4vw,40px); padding-right:clamp(20px,4vw,40px); }
.padding-section-large{ padding-top:clamp(56px,8vw,100px); padding-bottom:clamp(56px,8vw,100px); }
.container{ width:100%; max-width:82rem; margin:0 auto; }

.header-wrap{
  display:flex; flex-direction:column; align-items:center;
  gap:1.25rem; text-align:center; max-width:62ch; margin:0 auto;
}
.header-wrap h2{
  margin:0; font-family:'Plus Jakarta Sans', sans-serif; font-weight:600;
  font-size:clamp(1.8rem, 3.6vw, 2.75rem); line-height:1.15; letter-spacing:-.01em;
  color:var(--text-1);
}
.header-badge{
  display:flex; align-items:center; gap:.5rem;
  padding:0;
  font-size:.76rem; font-weight:600; color:var(--text-2);
  text-transform:uppercase; letter-spacing:.16em;
}
.header-badge .circle-gradient{
  width:.34rem; height:.34rem; border-radius:50%; flex:none;
  background:linear-gradient(135deg,#086eff,#ffddb7);
  box-shadow:0 0 8px rgba(8,110,255,.65);
}
.header-wrap-text{ max-width:36ch; color:var(--text-2); }
.header-wrap-text.is-solution{ max-width:55ch; }
.header-wrap-text .text-block{ color:var(--text-2); }

.problem_card, .solution_big, .solution_small{
  background:var(--glass); border:1px solid var(--border-1);
}
.solution_big .icon-chip{
  background:var(--glass-strong); border:1px solid var(--border-2); color:var(--text-1);
}

/* ---- Problem ---- */
.section_problem{ background:var(--bg-outer); color:var(--text-1); position:relative; }
.problem_cards{
  display:grid; grid-template-columns:repeat(4, 1fr); gap:1.5rem; margin-top:3rem;
  overflow-x:clip;
}
.problem_card{
  border-radius:1.25rem; min-width:0;
  padding:2.25rem; display:flex; flex-direction:column; justify-content:flex-start; gap:1.5rem;
  opacity:0; transform:translateX(100vw);
  transition: transform 1.6s cubic-bezier(.165,.84,.44,1), opacity 1.6s cubic-bezier(.165,.84,.44,1);
}
.problem_card.is-in{ opacity:1; transform:none; }
.problem_card:nth-child(1){ transition-delay:0s; }
.problem_card:nth-child(2){ transition-delay:.15s; }
.problem_card:nth-child(3){ transition-delay:.3s; }
.problem_card:nth-child(4){ transition-delay:.45s; }
@media (max-width: 1023px){
  .problem_cards{ grid-template-columns:repeat(2, 1fr); }
}
@media (max-width: 639px){
  .problem_cards{ grid-template-columns:1fr; }
  .problem_card{ transform:translateY(28px); transition-duration:1s; transition-delay:0s !important; }
}
.problem_card .icon-chip{
  --s: 60px;
  background: linear-gradient(135deg, #086eff, #4fabff 45%, #b1c5ff 70%, #ffddb7);
  border:none; color:#fff;
  box-shadow: 0 6px 16px -8px rgba(8,110,255,.5);
}
.problem_title{ margin:0 0 .5rem; color:var(--text-1); font-size:1.35rem; font-weight:600; }
.problem_text-wrap div:last-child{ color:var(--text-2); font-size:1.1rem; line-height:1.5; }

/* ---- Solution ---- */
.section_solution{ background:var(--bg-outer); color:var(--text-1); }
.solution_wrap{ display:flex; flex-direction:column; gap:1.25rem; margin-top:3rem; }
.solution_flex{ display:flex; gap:1.25rem; align-items:stretch; }
.solution_big, .solution_small{
  border-radius:1.25rem; overflow:hidden;
  display:flex; flex-direction:column; align-items:stretch; justify-content:flex-start; gap:1.25rem;
  padding:1.75rem; text-align:center;
}
.solution_big{ width:100%; min-height:23rem; }
.solution_small{ flex:none; width:min(45%, 24rem); min-height:23rem; }
.solution-illus-title{ margin:0; color:var(--text-1); font-size:1.15rem; font-weight:600; }

/* ==========================================================================
   Solution illustrations — four self-contained animated diagrams copied
   (behavior + choreography, not literal assets) from design-api.webflow.io's
   "You Build the Brain. We Add the Eye." section, whose four cards are
   background *videos* there; since we can't reuse the video files, each was
   re-derived by sampling the actual video frames (headless Chrome +
   currentTime scrubbing) to read out the real motion: card 1 loops badges
   along an arc, cards 2/4 build up once (inputs -> AI -> output, or boxes ->
   hub) then hold, card 3 auto-scrolls a marquee. Reuses the same "glass
   chip" + gradient-AI-box + thin connector-line vocabulary as .wflow.
   ========================================================================== */
.illus-chip-icon, .illus-badge-icon, .illus-hub-icon, .illus-ai-icon{
  display:flex; align-items:center; justify-content:center; flex:none;
}
.illus-chip-icon svg, .illus-badge-icon svg, .illus-hub-icon svg, .illus-ai-icon svg{
  width:100%; height:100%; fill:none; stroke:currentColor; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round;
}

.illus-agents-body{ position:relative; flex:1; min-height:0; overflow:hidden; }
.illus-agents-arc{ position:absolute; inset:0; width:100%; height:100%; overflow:visible; }
.illus-agents-arc path{ fill:none; stroke:var(--border-1); stroke-width:1.5; }
.illus-hub{
  position:absolute; left:50%; top:88%; transform:translate(-50%,-50%);
  width:26%; aspect-ratio:1; border-radius:50%;
  background: linear-gradient(135deg, #086eff, #4fabff 45%, #b1c5ff 70%, #ffddb7);
  box-shadow: 0 4px 16px -6px rgba(8,110,255,.5);
  display:flex; align-items:center; justify-content:center;
}
.illus-hub-icon{ width:34%; color:#fff; }
.illus-badge{
  position:absolute; left:0; top:0; transform:translate(-50%,-50%);
  display:flex; align-items:center; gap:.4rem; flex:none; white-space:nowrap;
  background:var(--glass); border:1px solid var(--border-1); border-radius:3.75rem;
  padding:.4rem .7rem .4rem .4rem; font-size:.78rem; font-weight:500; color:var(--text-2);
  opacity:0; will-change:transform, opacity;
}
.illus-badge-icon{
  width:20px; height:20px; border-radius:50%; padding:4px; color:#fff;
  background: linear-gradient(135deg, #086eff, #4fabff 45%, #b1c5ff 70%, #ffddb7);
}

.illus-db-body{ position:relative; flex:1; min-height:0; display:flex; align-items:center; justify-content:space-between; gap:.5rem; padding:0 .25rem; }
.illus-db-lines{ position:absolute; inset:0; width:100%; height:100%; overflow:visible; z-index:0; }
.illus-db-lines path{ fill:none; stroke:var(--border-2); stroke-width:1.5; transition:stroke-dashoffset 1.1s var(--ease), stroke .4s; }
.illus-db-lines path.is-live{ stroke:rgba(255,255,255,.4); }
.illus-db-inputs{ position:relative; z-index:1; display:flex; flex-direction:column; gap:.55rem; flex:none; }
.illus-chip{
  display:flex; align-items:center; gap:.45rem;
  background:var(--glass); border:1px solid var(--border-1); border-radius:3.75rem;
  padding:.4rem .75rem .4rem .4rem; font-size:.78rem; font-weight:500; color:var(--text-2);
  opacity:0; transform:translateX(-10px); transition:opacity .5s var(--ease), transform .5s var(--ease);
}
.illus-chip.is-in{ opacity:1; transform:translateX(0); }
.illus-chip-icon{
  width:20px; height:20px; border-radius:50%; padding:4px; color:#fff;
  background: linear-gradient(135deg, #086eff, #4fabff 45%, #b1c5ff 70%, #ffddb7);
}
.illus-ai-hub{
  position:relative; z-index:1; flex:none;
  display:flex; align-items:center; gap:.3rem; justify-content:center;
  background: linear-gradient(135deg, #086eff, #4fabff 45%, #b1c5ff 70%, #ffddb7);
  color:#fff; font-size:.82rem; font-weight:700; border-radius:.9rem;
  width:3.4rem; height:2.6rem;
  box-shadow: 0 8px 20px -8px rgba(8,110,255,.55);
  opacity:0; transform:scale(.8); transition:opacity .45s var(--ease), transform .45s var(--ease);
}
.illus-ai-hub.is-in{ opacity:1; transform:scale(1); }
.illus-ai-icon{ width:14px; height:14px; }
.illus-out-card{
  position:relative; z-index:1; flex:1; max-width:6.5rem;
  display:flex; flex-direction:column; gap:.4rem;
  background:var(--glass-strong); border:1px solid var(--border-2); border-radius:.75rem; padding:.6rem;
  opacity:0; transform:translateX(10px); transition:opacity .5s var(--ease), transform .5s var(--ease);
}
.illus-out-card.is-in{ opacity:1; transform:translateX(0); }
.illus-out-bar{ display:block; height:6px; border-radius:3px; background:var(--border-2); }
.illus-out-bar--title{ width:60%; }
.illus-out-bar--full{ width:100%; }
.illus-out-bar--short{ width:70%; }
.illus-out-bar--accent{ width:45%; background:linear-gradient(90deg, #086eff, #ffddb7); }

.illus-marquee-body{ position:relative; flex:1; min-height:0; display:flex; align-items:center; overflow:hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 2rem, #000 calc(100% - 2rem), transparent 100%);
          mask-image: linear-gradient(to right, transparent 0, #000 2rem, #000 calc(100% - 2rem), transparent 100%);
}
.illus-marquee-track{ display:flex; gap:.9rem; width:max-content; animation: illus-marquee 16s linear infinite; }
@media (prefers-reduced-motion: reduce){ .illus-marquee-track{ animation:none; } }
@keyframes illus-marquee{ from{ transform:translateX(0); } to{ transform:translateX(-50%); } }
.illus-marquee-card{
  display:flex; flex-direction:column; align-items:flex-start; gap:.6rem; flex:none;
  width:9rem; background:var(--glass); border:1px solid var(--border-1); border-radius:.9rem;
  padding:.9rem; font-size:.82rem; font-weight:500; color:var(--text-2); text-align:left; line-height:1.3;
}
.illus-marquee-card .illus-chip-icon{ width:28px; height:28px; padding:6px; }

.illus-int-body{ position:relative; flex:1; min-height:0; }
.illus-int-lines{ position:absolute; inset:0; width:100%; height:100%; overflow:visible; z-index:0; }
.illus-int-lines path{ fill:none; stroke:var(--border-2); stroke-width:1.5; transition:stroke-dashoffset 1s var(--ease), stroke .4s; }
.illus-int-lines path.is-live{ stroke:rgba(255,255,255,.4); }
.illus-int-box{
  position:absolute; top:8%; transform:translateX(-50%);
  z-index:1; display:flex; flex-direction:column; align-items:center; gap:.5rem;
  background:var(--glass); border:1px solid var(--border-1); border-radius:.9rem;
  padding:.9rem 1.1rem; font-size:.82rem; font-weight:500; color:var(--text-2);
  opacity:0; transform:translate(-50%,-8px); transition:opacity .5s var(--ease), transform .5s var(--ease);
}
.illus-int-box.is-in{ opacity:1; transform:translate(-50%,0); }
.illus-int-box .illus-chip-icon{ width:30px; height:30px; padding:6px; }
.illus-int-box#intBox0{ left:18%; }
.illus-int-box#intBox1{ left:50%; }
.illus-int-box#intBox2{ left:82%; }
.illus-int-hub{
  position:absolute; left:50%; bottom:6%; transform:translate(-50%,10px);
  z-index:1; display:flex; align-items:center; gap:.4rem; justify-content:center;
  background: linear-gradient(135deg, #086eff, #4fabff 45%, #b1c5ff 70%, #ffddb7);
  color:#fff; font-size:.9rem; font-weight:700; border-radius:.9rem;
  padding:.65rem 1.3rem;
  box-shadow: 0 10px 26px -10px rgba(8,110,255,.55);
  opacity:0; transition:opacity .5s var(--ease), transform .5s var(--ease);
}
.illus-int-hub.is-in{ opacity:1; transform:translate(-50%,0); }
.illus-int-hub .illus-ai-icon{ width:16px; height:16px; }

.illus-pulse{
  position:absolute; top:0; left:0; width:7px; height:7px; margin:-3.5px 0 0 -3.5px;
  border-radius:50%; background:#bcdcff;
  box-shadow: 0 0 8px 2px rgba(125,184,255,.85), 0 0 20px 8px rgba(80,140,255,.4);
  opacity:0; pointer-events:none; z-index:2;
}

/* ---- Ready / final CTA ---- */
.section_ready{ background:var(--bg-outer); color:var(--text-1); padding-bottom:1.5rem; }
.section_ready .header-wrap-text.is-ready{ color:var(--text-2); max-width:49ch; }
.button-white{
  display:inline-flex; align-items:center; gap:.75rem;
  background:#fff; color:var(--ink); border-radius:3.75rem;
  height:3rem; padding:0 .5rem 0 1.5rem; text-decoration:none; font-weight:500;
  transition:transform .25s var(--ease);
}
.button-white:hover{ transform:translateY(-2px); }
.button-white .btn-arrow{
  width:2rem; height:2rem; border-radius:50%; background:var(--blue-500); color:#fff;
  display:flex; align-items:center; justify-content:center; flex:none;
}
.button-white .btn-arrow svg{ width:16px; height:16px; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }

.contact-form{
  width:100%; max-width:34rem; margin:1rem auto 0;
  display:flex; flex-direction:column; gap:.9rem;
  text-align:left;
}
.contact-field{ display:flex; flex-direction:column; gap:.4rem; }
.contact-label{
  font-size:.8rem; font-weight:500; color:var(--text-3); letter-spacing:.01em;
}
.contact-input{
  width:100%;
  font-family:inherit; font-size:.95rem; color:var(--text-1);
  background:var(--glass);
  border:1px solid var(--border-1);
  border-radius:var(--radius-sm);
  padding:.8rem 1rem;
  outline:none;
  transition:border-color .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
}
.contact-input::placeholder{ color:var(--text-3); }
.contact-input:focus{
  border-color:var(--blue-400);
  background:var(--glass-strong);
  box-shadow:0 0 0 3px rgba(92,139,255,.16);
}
.contact-textarea{ min-height:6.5rem; line-height:1.5; resize:vertical; }

.contact-hp{
  position:absolute; left:-9999px; width:1px; height:1px;
  opacity:0; pointer-events:none;
}

.contact-submit{ align-self:flex-start; justify-content:center; margin-top:.3rem; }

.contact-status{
  margin:.15rem 0 0; min-height:1.2em;
  font-size:.85rem; color:var(--text-2);
}
.contact-status.is-error{ color:#ff9b9b; }
.contact-status.is-success{ color:#4ee6a0; }

.contact-legal{
  margin:.4rem 0 0; max-width:48ch;
  font-size:.78rem; line-height:1.5; color:var(--text-3);
}
.contact-legal a{
  color:var(--text-2); text-decoration:none;
  border-bottom:1px solid var(--border-2);
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.contact-legal a:hover{ color:var(--text-1); border-color:var(--text-2); }

@media (max-width: 520px){
  .contact-submit{ align-self:stretch; }
}

/* ---- Footer ---- */
.section_footer{ background:var(--bg-frame); color:var(--text-2); }
.footer_content{
  display:flex; flex-direction:column; align-items:center;
  gap:1rem; text-align:center;
  padding-top:3rem; padding-bottom:2rem;
}
.footer_p{ margin:0; color:var(--text-2); max-width:56ch; line-height:1.6; }
.footer_btm{
  width:100%; margin-top:1.5rem; padding-top:1.5rem;
  border-top:1px solid var(--border-1);
  color:var(--text-3); font-size:.85rem;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 980px){
  .live-cursor{ display:none; }
  #cursor-costos, #cursor-ventas, #cursor-marketing, #cursor-admin{ display:flex; }

  .live-cursor svg{ width:15px; height:15px; }
  .live-cursor .cursor-tag{ padding:5px 11px; border-radius:9px; font-size:.74rem; }
  .live-cursor .cursor-pulse{ width:13px; height:13px; }

  .nav-toggle{ display:flex; }
  .nav{
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    row-gap:12px;
  }
  .nav .brand{ grid-area: 1 / 1; }
  .nav-actions{ grid-area: 1 / 2; }
  .nav-center{
    display:none;
    grid-area: 2 / 1 / 3 / 3;
    justify-self:stretch;
    flex-direction:column; align-items:stretch; gap:2px;
    padding:8px;
    background:#14161f;
    border:1px solid var(--border-2); border-radius:var(--radius-md);
    box-shadow:0 24px 60px -20px rgba(0,0,0,.9);
  }
  .nav-center.is-open{ display:flex; }
  .nav-center .nav-link{ padding:14px 16px; border-radius:10px; font-size:1rem; }
  .nav-center .nav-link:hover,
  .nav-center .nav-link:focus-visible{ background:var(--glass); color:var(--text-1); }
}

@media (max-width: 860px){
  .frame{ min-height:auto; padding:20px 18px 90px; }
  .mockup-content{ overflow:visible; }
  .wflow{ height:620px; max-width:420px; }
  .wflow-node{ left:var(--x-m); top:var(--y-m); white-space:normal; }
  .wflow-cursors{ display:none; }
  .wflow-node--trigger, .wflow-node--branch{ max-width:180px; }
  .wflow-node--agent{ max-width:210px; }
  .wflow-node--action{ max-width:170px; }
  .wflow-node--sub{ max-width:92px; }
  #wf-true2, #wf-true3, #wf-false1, #wf-false2, #wf-sentiment{ display:none; }
  .is-mobile-only{ display:inline; }
  .is-desktop-only{ display:none; }
  .scroll-hint{ right:18px; bottom:18px; }
  .btn--primary{ justify-content:center; padding:10px 14px; }

  .solution_flex{ flex-direction:column; }
  .solution_big, .solution_small{ width:100%; height:24rem; min-height:0; padding:1.4rem; gap:.85rem; }

  .illus-db-body{ flex-direction:column; align-items:stretch; justify-content:space-between; gap:.4rem; }
  .illus-db-inputs{ flex-direction:row; flex-wrap:nowrap; justify-content:center; gap:.3rem; }
  .illus-chip{ font-size:.58rem; padding:.26rem .45rem .26rem .26rem; gap:.24rem; }
  .illus-db-inputs .illus-chip-icon{ width:14px; height:14px; padding:3px; }

  #illusMarquee{ height:17rem; }
  .illus-marquee-card{ width:12rem; padding:1rem; gap:.7rem; font-size:.88rem; border-radius:1rem; }
  .illus-marquee-card .illus-chip-icon{ width:34px; height:34px; padding:7px; }
  .illus-ai-hub{ margin:0 auto; }
  .illus-out-card{ flex:none; max-width:10.5rem; width:100%; margin:0 auto; padding:.45rem; gap:.28rem; }
  .illus-out-bar{ height:4px; }

  .illus-int-box{ padding:.6rem .75rem; font-size:.72rem; gap:.35rem; }
  .illus-int-box .illus-chip-icon{ width:24px; height:24px; padding:5px; }
  .illus-int-hub{ padding:.5rem 1rem; font-size:.8rem; }

  #illusAgents{ height:13.6rem; }
  .illus-badge{ font-size:.58rem; padding:.24rem .5rem .24rem .24rem; gap:.26rem; }
  .illus-badge-icon{ width:14px; height:14px; padding:3px; }

  .hero{ gap:18px; padding:8px 12px 0; }
  .frame{ padding:20px 18px 70px; }

  .contact-input{ font-size:16px; }

  .scroll-hint{ min-height:44px; padding:10px 6px; }
  .brand{ min-height:44px; }
  .nav-link, .lang-toggle{ min-height:44px; display:flex; align-items:center; }
}

@media (max-width: 640px){
  .brand span{ font-size:.95rem; }
}

.footer_legal{
  display:flex; flex-wrap:wrap; justify-content:center; align-items:center;
  gap:.3rem .7rem;
  margin-bottom:.6rem;
  font-size:.8rem;
}
.footer_legal a{ color:var(--text-3); text-decoration:none; }
.footer_legal a:hover{ color:var(--text-2); }
.footer_legal span{ color:var(--text-3); opacity:.5; }
.footer_fine{
  max-width:60ch; margin:0 auto .3rem;
  font-size:.8rem; line-height:1.55; color:var(--text-3);
}
.footer_fine:last-child{ margin-bottom:0; }
.footer_fine a{ color:var(--text-3); text-decoration:none; }
.footer_fine a:hover{ color:var(--text-2); }

.legal-wrap{
  max-width:42rem; margin:0 auto;
  padding-top:clamp(48px,8vw,88px); padding-bottom:clamp(40px,6vw,72px);
  color:var(--text-2); font-size:.95rem;
}
.legal-shell{
  background:var(--bg-frame);
  padding: clamp(20px, 2.6vw, 34px) clamp(24px, 4vw, 56px) 0;
}
.legal-wrap h1{
  margin:0 0 .4rem;
  font-family:'Plus Jakarta Sans', sans-serif; font-weight:600;
  font-size:clamp(1.6rem,3.4vw,2.1rem); line-height:1.2; letter-spacing:-.02em;
  color:var(--text-1);
}
.legal-date{ margin:0 0 clamp(28px,5vw,40px); color:var(--text-3); font-size:.8rem; }
.legal-wrap h2{
  margin:2.25rem 0 .7rem;
  font-family:'Plus Jakarta Sans', sans-serif; font-weight:600;
  font-size:1rem; letter-spacing:-.01em; color:var(--text-1);
}
.legal-wrap p{ margin:0 0 .9rem; line-height:1.75; }
.legal-wrap ul{ margin:0 0 .9rem; padding-left:1.1rem; }
.legal-wrap li{ margin-bottom:.5rem; line-height:1.75; }
.legal-wrap strong{ color:var(--text-2); font-weight:600; }
.legal-wrap code{ font-family:ui-monospace, SFMono-Regular, Menlo, monospace; font-size:.88em; color:var(--text-2); }
.legal-wrap a{ color:var(--text-1); text-decoration:underline; text-underline-offset:3px; text-decoration-color:var(--border-2); }
.legal-wrap a:hover{ text-decoration-color:var(--text-2); }
.legal-note{
  margin:0 0 .9rem; padding:.15rem 0 .15rem 1.15rem;
  border-left:1px solid var(--border-2);
}
.legal-note p:last-child{ margin-bottom:0; }
.legal-foot{
  margin-top:clamp(36px,6vw,56px); padding-top:1.35rem;
  border-top:1px solid var(--border-1);
  color:var(--text-3); font-size:.8rem; line-height:1.7;
}
.legal-foot p{ margin:0 0 .3rem; }
.legal-foot a{ color:var(--text-3); }
.legal-foot a:hover{ color:var(--text-2); }

@media (max-width: 980px){
  .legal-shell .nav{ grid-template-columns: 1fr auto; grid-template-rows:auto; }
  .legal-shell .nav-actions{ grid-area:auto; }
}
