/* Tako landing — "Amayo" palette (rainy night: teal-black, torii vermilion, sakura, lantern amber, celadon).
   Cleaned from the approved mockup (neo / hero / l60 / v6 / wave.css): only the rules the final page uses,
   values unchanged. Inline style="" attributes that the mockup used for layout became classes below. */

@property --p { syntax: '<percentage>'; initial-value: 50%; inherits: true; }
@property --n-a { syntax: '<angle>'; initial-value: 0deg; inherits: false; }

body { margin: 0; background: #0a1215; }
[hidden] { display: none !important; }
html:has(dialog[open]) { overflow: hidden; }

.neo {
  --sumi: #0a1215;
  --yoru: #101d22;
  --kiri: #16272d;
  --tetsu: #2a3f45;
  --washi: #ebe6dc;
  --hai: #9aaaa8;
  --shu: #d9573b;
  --shu-deep: #a63e2b;
  --sakura: #e0a3b4;
  --chochin: #e3b25e;
  --seiji: #6fb5ad;
  --murasaki: #8e6a93;
  --f-disp: "Shippori Mincho B1", "Noto Serif JP", serif;
  --f-body: "Atkinson Hyperlegible Next", system-ui, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  position: relative; overflow-x: clip; min-height: 100vh;
  background: var(--sumi); color: var(--washi);
  font-family: var(--f-body); font-size: 17px; line-height: 27px;
  -webkit-font-smoothing: antialiased;
}
.neo *, .neo *::before, .neo *::after { box-sizing: border-box; }
/* fine film grain + faint scanlines, barely there */
.neo::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 60;
  background: repeating-linear-gradient(to bottom, rgba(255,255,255,0.014) 0 1px, transparent 1px 3px);
}
.neo a { color: var(--sakura); }
.neo :focus-visible { outline: 2px solid var(--sakura); outline-offset: 3px; }

.n-skip { position: absolute; left: 16px; top: -100px; z-index: 200; padding: 8px 14px; background: var(--washi); color: var(--sumi) !important; font-weight: 700; text-decoration: none; }
.n-skip:focus { top: 12px; }

.nw { position: relative; z-index: 2; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.n-mono { font-family: var(--f-mono); font-size: 13px; line-height: 20px; letter-spacing: 0.08em; }
.n-glow-shu { color: var(--shu); text-shadow: 0 0 22px rgba(217,87,59,0.35); }
.n-glow-sak { color: var(--sakura); text-shadow: 0 0 22px rgba(224,163,180,0.3); }
.n-glow-sei { color: var(--seiji); text-shadow: 0 0 22px rgba(111,181,173,0.3); }

/* Header */
.n-head { position: relative; z-index: 10; border-bottom: 1px solid rgba(42,63,69,0.8); background: rgba(10,18,21,0.7); backdrop-filter: blur(10px); }
.n-head-in { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; min-height: 72px; padding: 10px 32px; max-width: 1440px; }
.neo a.n-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #ebe6dc; flex-grow: 1; }
.n-brand svg { filter: drop-shadow(0 0 8px rgba(217,87,59,0.45)); }
.n-brand-name { font-family: 'Shippori Mincho B1', serif; font-size: 24px; font-weight: 800; }
.n-lang { display: inline-flex; border: 1px solid rgba(235,230,220,0.3); }
.n-lang > * { padding: 6px 10px; font-family: 'JetBrains Mono', monospace; font-size: 12px; }
.n-lang [aria-current] { background: rgba(235,230,220,0.12); color: var(--washi); }
.neo .n-lang a { color: #9aaaa8; text-decoration: none; }
.neo .n-lang a:hover { color: var(--washi); }

/* Buttons: cut corners, calm fills */
.n-btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 54px; padding: 0 30px; border: 0; cursor: pointer;
  font-family: var(--f-body); font-size: 17px; font-weight: 700; text-decoration: none;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
  transition: transform .2s ease, filter .2s ease, background-color .2s ease;
}
.neo a.n-btn--pri, .n-btn--pri { background: var(--shu); color: var(--sumi); }
.n-btn--pri:hover { transform: translateY(-2px); filter: brightness(1.08); }
.n-btn--sm { height: 42px; padding: 0 20px; font-size: 15px; }
.n-signin { gap: 8px; }
.n-signin svg { flex: none; }
/* clip-path would cut the focus ring off: draw it inside */
.neo .n-btn:focus-visible, .neo .v-shimmer:focus-visible { outline: 2px solid var(--sumi); outline-offset: -5px; }

/* Rain */
.n-rain2 { position: absolute; inset: -20% 0 0 0; pointer-events: none;
  background-image: repeating-linear-gradient(101deg, transparent 0 37px, rgba(200,225,225,0.045) 37px 38px, transparent 38px 89px);
  background-size: 100% 160px; animation: n-rain 1.4s linear infinite; }
@keyframes n-rain { to { background-position: -40px 220px; } }

/* Sections */
.v { position: relative; overflow: hidden; padding: 112px 24px; }
.v-in { max-width: 1160px; margin: 0 auto; }
.v-h { margin: 0; font-family: var(--f-disp); font-size: 54px; line-height: 60px; font-weight: 800; text-align: center; text-wrap: balance; }
.v-k { margin: 0 0 14px; font-family: var(--f-mono); font-size: 13px; letter-spacing: 0.16em; color: var(--sakura); text-align: center; }
.v-s { margin: 16px auto 0; max-width: 560px; font-size: 19px; line-height: 29px; color: var(--hai); text-align: center; }

/* Shimmer Button */
.v-shimmer { position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; height: 56px; padding: 0 30px; border: 0; cursor: pointer;
  background: var(--shu); color: var(--sumi); font-family: var(--f-body); font-size: 17px; font-weight: 800; text-decoration: none;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px)); }
.v-shimmer::after { content: ""; position: absolute; top: 0; bottom: 0; left: -40%; width: 30%; transform: skewX(-20deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.55), transparent); animation: v-shim 3.2s ease-in-out infinite; }
@keyframes v-shim { 0%, 50% { left: -40%; } 100% { left: 130%; } }

/* ── Hero: Animated Beam ── */
.vh { padding: 84px 24px 72px; background: radial-gradient(45% 55% at 50% 62%, rgba(217,87,59,0.14), transparent 70%), radial-gradient(70% 70% at 50% 40%, #11222a, #0a1215 75%); }
.vh-copy { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; }
.vh-k { margin: 0; }
.vh-title { margin: 0; font-family: var(--f-disp); font-size: 64px; line-height: 70px; font-weight: 800; }
.vh-title span { display: block; }
.vh-sub { margin: 0; max-width: 520px; font-size: 19px; line-height: 29px; color: var(--hai); }
.vh-ctabox { display: flex; flex-direction: column; align-items: center; gap: 8px; margin-top: 6px; }
.vh-cta { white-space: nowrap; }
.vh-ctanote { font-size: 14px; line-height: 20px; color: var(--hai); }
/* The stage is drawn at a fixed size and scaled to fit (--s is set by landing.js; media queries are the no-JS fallback). */
.vh-box { --s: 1; position: relative; z-index: 2; width: 1100px; max-width: 100%; height: calc(520px * var(--s)); margin: 40px auto 0; }
.vh-stage { position: absolute; left: 50%; top: 0; width: 1100px; height: 520px; margin-left: -550px; transform: scale(var(--s)); transform-origin: top center; }
/* Tentacles, links and the traveling spark are drawn by landing.js into this svg. */
.vh-svg { position: absolute; left: 0; top: 0; overflow: visible; }
.vh-static { fill: none; stroke: rgba(217,87,59,0.35); stroke-width: 6; stroke-linecap: round; }
.vh-link { fill: none; stroke: rgba(235,230,220,0.16); stroke-width: 2; stroke-dasharray: 2 8; stroke-linecap: round; }
.vh-col { position: absolute; left: var(--x); top: var(--y); font-family: var(--f-mono); font-size: max(12px, calc(12px / var(--s))); letter-spacing: 0.16em; color: var(--hai); transform: translateX(-50%); white-space: nowrap; }
.vh-node { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: 8px; }
.vh-dot { position: relative; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: #0f1b20; border: 1px solid rgba(235,230,220,0.18);
  box-shadow: 0 0 0 6px rgba(10,18,21,0.9), 0 8px 24px rgba(0,0,0,0.4); color: var(--washi); font-size: max(17px, calc(12px / var(--s))); }
.vh-node b { font-size: max(14px, calc(12px / var(--s))); font-weight: 700; white-space: nowrap; }
.vh-node--agent .vh-dot { border-color: rgba(224,163,180,0.45); font-family: 'JetBrains Mono', monospace; font-weight: 600; }
.vh-dot::after { content: ""; position: absolute; inset: -1px; border-radius: 50%; border: 2px solid currentColor; opacity: 0; pointer-events: none; }
.vh-node.is-hit .vh-dot::after { animation: vh-hit .9s ease-out; }
@keyframes vh-hit { 0% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(1.6); } }
.vh-hub { position: absolute; left: var(--x); top: var(--y); width: 150px; height: 150px; margin: -75px 0 0 -75px; border-radius: 50%; display: grid; place-items: center;
  background: #0a1215; box-shadow: 0 0 0 10px rgba(10,18,21,0.9), 0 0 80px rgba(217,87,59,0.45); }
.vh-hub.is-hit { animation: vh-hub-hit 1s ease-out; }
@keyframes vh-hub-hit { 0% { box-shadow: 0 0 0 10px rgba(10,18,21,0.9), 0 0 130px rgba(217,87,59,0.95); } 100% { box-shadow: 0 0 0 10px rgba(10,18,21,0.9), 0 0 80px rgba(217,87,59,0.45); } }
.vh-hub::before { content: ""; position: absolute; inset: -18px; border-radius: 50%; border: 1px dashed rgba(224,163,180,0.35); animation: hx-spin 30s linear infinite; }
@keyframes hx-spin { to { transform: rotate(360deg); } }
/* What two agents are telling each other, in the middle of their table. */
.vh-chat { position: absolute; left: var(--x); top: var(--y); width: max-content; min-width: var(--w); max-width: calc(var(--w) * 1.5); padding: .55em .85em .65em; border-radius: 16px; text-align: center;
  background: #0f1b20; border: 1px solid rgba(224,163,180,0.35); box-shadow: 0 10px 30px rgba(0,0,0,0.45);
  font-size: max(13px, calc(12px / var(--s))); line-height: 1.3; opacity: 0; transform: translate(-50%, -50%) scale(.92); transition: opacity .35s, transform .35s; }
.vh-chat.is-on { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.vh-chat-who { display: block; margin-bottom: .3em; font-size: .9em; color: var(--washi); white-space: nowrap; }
.vh-chat-who i { font-style: normal; font-weight: 600; }
.vh-chat-msg { display: block; font-weight: 600; color: var(--washi); }
.vh-chat-msg span { display: block; white-space: nowrap; }
.vh-hub-label { position: absolute; left: var(--x); top: var(--y); transform: translateX(-50%); font-family: var(--f-mono); font-size: max(12px, calc(12px / var(--s))); letter-spacing: 0.18em; color: var(--sakura); white-space: nowrap; }

/* ── Tasks: picker + impact stage ── */
.vs-picks { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 40px; }
.vs-pick { height: 52px; padding: 0 22px; border: 1px solid rgba(235,230,220,0.25); background: rgba(16,29,34,0.8); color: var(--washi); font: inherit; font-size: 17px; font-weight: 700; cursor: pointer; border-radius: 999px; transition: all .2s ease; }
.vs-pick:hover { border-color: rgba(224,163,180,0.6); }
.vs-pick--on { background: var(--shu); border-color: var(--shu); color: var(--sumi); box-shadow: 0 0 30px rgba(217,87,59,0.35); }
.vs-stage { position: relative; margin: 32px auto 0; max-width: 1080px; min-height: 340px; padding: 44px 48px; display: flex; flex-wrap: wrap; align-items: center; gap: 36px 56px; overflow: hidden;
  border: 1px solid rgba(217,87,59,0.4); background: radial-gradient(50% 80% at 15% 50%, rgba(217,87,59,0.16), transparent 70%), rgba(10,18,21,0.85); }
.vs-agent { position: relative; flex: none; width: 170px; height: 170px; border-radius: 50%; display: grid; place-items: center; font-family: var(--f-mono); font-size: 46px; font-weight: 600;
  color: var(--sumi); animation: vs-pop .6s cubic-bezier(.3,1.6,.5,1) both; }
.vs-agent::before, .vs-agent::after { content: ""; position: absolute; inset: -14px; border-radius: 50%; border: 1px solid currentColor; opacity: 0.0; animation: vs-ring 2.4s ease-out infinite; }
.vs-agent::after { animation-delay: 1.2s; }
@keyframes vs-ring { 0% { transform: scale(0.9); opacity: 0.7; } 100% { transform: scale(1.35); opacity: 0; } }
@keyframes vs-pop { from { transform: scale(0.4) rotate(-20deg); opacity: 0; } to { transform: none; opacity: 1; } }
.vs-body { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.vs-kick { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.16em; color: var(--seiji); animation: vs-up .5s ease both .15s; }
@keyframes vs-up { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.vs-lines { display: flex; flex-direction: column; gap: 10px; }
.vs-line { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 16px; align-items: baseline; font-family: var(--f-disp); font-size: clamp(22px, 2.5vw, 30px); line-height: 1.22; font-weight: 800; opacity: 0; animation: vs-up .5s ease forwards; }
.vs-line i { font-style: normal; font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.14em; font-weight: 600; color: var(--hai); }
.vs-line--t i { color: var(--shu); }
.vs-line--y { color: var(--seiji); }
.vs-line--y i { color: var(--seiji); }
.vs-note { margin: 6px 0 0; font-size: 16px; line-height: 24px; color: var(--hai); opacity: 0; animation: vs-up .5s ease forwards 1.3s; }

/* ── La ola: ukiyo-e wave ── */
.vw { position: relative; overflow: hidden; background: linear-gradient(to bottom, #0a1215 0%, #0e1a22 55%, #10233a 100%); padding: 96px 0 0; }
.vw-copy { position: relative; z-index: 3; text-align: center; padding: 0 24px; }
.vw-art { position: relative; z-index: 1; display: block; width: 100%; height: auto; margin-top: 36px; }
.vw-wave { transform-origin: 30% 100%; animation: vw-swell 7s ease-in-out infinite; }
@keyframes vw-swell { 0%, 100% { transform: translateX(0) scaleY(1); } 50% { transform: translateX(14px) scaleY(1.02); } }
.vw-back { animation: vw-back 9s ease-in-out infinite; }
@keyframes vw-back { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(-18px); } }
.vw-spray circle { animation: vw-twinkle 3s ease-in-out infinite; }
.vw-spray circle:nth-child(3n) { animation-delay: 1s; } .vw-spray circle:nth-child(3n+1) { animation-delay: 2s; }
@keyframes vw-twinkle { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

/* ── Before/after reveal slider (sizes itself from its own width: container query) ── */
.cx-wrap { position: relative; z-index: 2; background: #10233a; padding: 0 24px 120px; }
.cx { position: relative; max-width: 1160px; margin: 0 auto; height: auto; overflow: hidden; cursor: ew-resize; touch-action: pan-y; user-select: none; container-type: inline-size;
  border: 1px solid rgba(235,230,220,0.14); box-shadow: 0 50px 100px rgba(0,0,0,0.45); }
.cx--auto { animation: cx-sweep 8s ease-in-out infinite; }
@keyframes cx-sweep { 0%, 100% { --p: 100%; } 50% { --p: 0%; } }
.cx-layer { padding: clamp(56px, 7cqw, 76px) clamp(36px, 5cqw, 64px) clamp(64px, 7cqw, 80px); display: flex; flex-direction: column; justify-content: flex-start; }
.cx-old { position: relative; background: repeating-linear-gradient(135deg, #171c1f 0 14px, #15191c 14px 28px); }
.cx-new { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--p)); background: radial-gradient(70% 90% at 80% 20%, rgba(217,87,59,0.22), transparent 70%), radial-gradient(60% 80% at 20% 90%, rgba(111,181,173,0.16), transparent 70%), #10233a; }
.cx-tag { position: absolute; top: 24px; font-family: var(--f-mono); font-size: clamp(10px, 1.1cqw, 13px); letter-spacing: 0.16em; }
.cx-old .cx-tag { left: 28px; color: #8a979a; }
.cx-new .cx-tag { right: 28px; color: var(--shu); }
.cx-row { display: grid; grid-template-columns: clamp(96px, 17cqw, 190px) minmax(0, 1fr); align-items: center; gap: clamp(10px, 2cqw, 20px); height: clamp(70px, 8.5cqw, 96px); padding: 0; border-top: 1px solid rgba(235,230,220,0.08); }
.cx-row:first-of-type { border-top: 0; }
.cx-k { font-family: var(--f-mono); font-size: clamp(10px, 1.1cqw, 12px); letter-spacing: 0.14em; color: #8a979a; }
.cx-v { font-size: clamp(19px, 3.5cqw, 40px); line-height: 1.15; white-space: normal; overflow-wrap: anywhere; }
.cx-old .cx-v { font-family: var(--f-body); font-weight: 600; color: #6f7c80; text-decoration: line-through; text-decoration-color: rgba(183,105,90,0.7); text-decoration-thickness: 3px; }
.cx-new .cx-v { font-family: var(--f-disp); font-weight: 800; color: var(--washi); text-shadow: 0 0 30px rgba(235,230,220,0.12); }
.cx-new .cx-v em { font-style: normal; color: var(--shu); text-shadow: 0 0 24px rgba(217,87,59,0.45); }
.cx-stamp { position: absolute; left: 28px; bottom: 26px; padding: 6px 12px; border: 2px solid #8a4a3f; color: #b7695a; font-family: var(--f-mono); font-size: clamp(10px, 1.1cqw, 13px); letter-spacing: 0.14em; transform: rotate(-4deg); }
.cx-live { position: absolute; right: 28px; bottom: 26px; display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-mono); font-size: clamp(10px, 1.1cqw, 13px); letter-spacing: 0.14em; color: var(--seiji); }
.cx-live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--seiji); box-shadow: 0 0 12px var(--seiji); animation: m-pulse 2s ease-in-out infinite; }
@keyframes m-pulse { 50% { opacity: 0.3; } }
.cx-bar { position: absolute; top: 0; bottom: 0; left: var(--p); width: 2px; margin-left: -1px; background: var(--shu); box-shadow: 0 0 24px rgba(217,87,59,0.8); pointer-events: none; }
.cx-knob { position: absolute; top: 50%; left: var(--p); width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%; display: grid; place-items: center;
  background: #0a1215; border: 2px solid var(--shu); box-shadow: 0 0 40px rgba(217,87,59,0.6); pointer-events: none; }
@container (max-width: 560px) {
  .cx-layer { padding-bottom: 92px; }
  .cx-row { grid-template-columns: 1fr; gap: 2px; align-content: center; }
}

/* ── 24/365: split flap + phone + stacking list ── */
.vf { background: linear-gradient(to bottom, #0a1215, #111c24); }
.vf-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 56px 72px; margin-top: 8px; }
.vf-left { display: flex; flex-direction: column; gap: 14px; }
.vf-board { display: flex; flex-direction: column; gap: 10px; }
.vf-line { display: flex; gap: 6px; }
.vf-tile { position: relative; width: 58px; height: 80px; display: grid; place-items: center; border-radius: 6px; background: linear-gradient(#14232a 50%, #0f1c22 50%);
  box-shadow: inset 0 0 0 1px rgba(235,230,220,0.08), 0 8px 18px rgba(0,0,0,0.4); font-family: var(--f-mono); font-size: 46px; font-weight: 600; color: var(--washi);
  transform-origin: 50% 50%; animation: vf-flip .5s cubic-bezier(.3,1.5,.5,1) both; }
.vf-tile::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(0,0,0,0.6); }
.vf-tile--gap { background: none; box-shadow: none; }
.vf-tile--gap::after { display: none; }
.vf-tile--hl { color: var(--shu); text-shadow: 0 0 16px rgba(217,87,59,0.5); }
@keyframes vf-flip { 0% { transform: rotateX(90deg); opacity: 0; } 100% { transform: none; opacity: 1; } }
.vf-cap { margin: 10px 0 0; max-width: 470px; font-size: 19px; line-height: 29px; color: var(--hai); }
.vf-phone { flex: none; width: 320px; height: 620px; border-radius: 52px; padding: 11px; background: linear-gradient(145deg, #2a3f45, #0b1316 40%, #1c2b30); box-shadow: 0 50px 100px rgba(0,0,0,0.55), 0 0 100px rgba(224,163,180,0.08); }
.vf-screen { position: relative; width: 100%; height: 100%; border-radius: 42px; overflow: hidden; background: linear-gradient(to bottom, #172529, #0c1619); padding: 54px 12px 16px; }
.vf-island { position: absolute; left: 50%; top: 12px; width: 96px; height: 28px; margin-left: -48px; border-radius: 20px; background: #000; }
.vf-head { text-align: center; font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.12em; color: var(--hai); margin-bottom: 12px; }
.vf-list { display: flex; flex-direction: column; gap: 0; }
.vf-item { display: flex; gap: 10px; align-items: flex-start; overflow: hidden; max-height: 0; opacity: 0; margin-bottom: 0; padding: 0 12px;
  border-radius: 18px; background: rgba(235,230,220,0.08); backdrop-filter: blur(6px); font-size: 13.5px; line-height: 19px;
  transform: scale(0.9); animation: vf-in 15s cubic-bezier(.3,1.3,.5,1) infinite; }
.vf-item i { flex: none; width: 30px; height: 30px; margin-top: 10px; border-radius: 9px; display: grid; place-items: center; font-style: normal; font-family: var(--f-mono); font-size: 11px; font-weight: 700; color: var(--sumi); }
.vf-item div { padding: 10px 0; }
.vf-item b { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; font-family: var(--f-mono); letter-spacing: 0.06em; color: var(--sakura); font-weight: 600; }
.vf-item b time { color: var(--hai); font-weight: 400; white-space: nowrap; }
@keyframes vf-in { 0% { max-height: 0; opacity: 0; margin-bottom: 0; transform: scale(0.9); } 4% { max-height: 90px; opacity: 1; margin-bottom: 8px; transform: none; } 90% { max-height: 90px; opacity: 1; margin-bottom: 8px; transform: none; } 97%, 100% { max-height: 0; opacity: 0; margin-bottom: 0; } }
.vf-item--ask { background: rgba(217,87,59,0.2); box-shadow: inset 0 0 0 1px rgba(217,87,59,0.55); }
.vf-item--ask i { background: #0a1215; box-shadow: inset 0 0 0 1px #d9573b; }

/* ── Any company: tabs + typing terminal ── */
.vt { background: #101d22; }
.vt-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 40px; }
.vt-tab { height: 46px; padding: 0 20px; border: 1px solid rgba(235,230,220,0.22); background: transparent; color: var(--hai); font: inherit; font-size: 16px; font-weight: 700; cursor: pointer; border-radius: 999px; transition: all .2s ease; }
.vt-tab:hover { color: var(--washi); border-color: rgba(235,230,220,0.45); }
.vt-tab.vt-tab--on, .vt-tab.vt-tab--on:hover { background: var(--washi); color: var(--sumi); border-color: var(--washi); }
.vt-term { max-width: 760px; margin: 28px auto 0; border: 1px solid var(--tetsu); background: #070d10; box-shadow: 0 40px 80px rgba(0,0,0,0.45); container-type: inline-size; }
.vt-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--tetsu); }
.vt-bar span { width: 10px; height: 10px; border-radius: 50%; background: var(--tetsu); }
.vt-bar em { margin-left: 8px; font-style: normal; font-family: var(--f-mono); font-size: 12px; color: var(--hai); }
.vt-body { padding: 20px 22px 24px; font-family: var(--f-mono); font-size: 15px; line-height: 30px; min-height: 196px; }
.vt-line { display: block; width: 0; overflow: hidden; white-space: pre; animation: vt-type .9s steps(var(--n)) forwards; animation-delay: var(--d); }
@keyframes vt-type { to { width: calc(var(--n) * 1ch + 1ch); } }
.vt-in { color: var(--sakura); } .vt-step { color: var(--washi); } .vt-ok { color: var(--seiji); font-weight: 600; }
.vt-note { margin: 14px auto 0; max-width: 760px; text-align: right; font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.08em; color: var(--hai); }
/* Narrow terminal: the longest lines no longer fit on one row, so they wrap and fade in instead of typing. */
@container (max-width: 540px) {
  .vt-body { padding: 16px 16px 20px; font-size: 13px; line-height: 22px; }
  .vt-line { width: auto; white-space: pre-wrap; padding: 4px 0; opacity: 0; animation: vt-fade .5s ease forwards; animation-delay: var(--d); }
}
@keyframes vt-fade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

/* ── FAQ ── */
.vq { padding-top: 96px; padding-bottom: 96px; }
.vq-in { max-width: 820px; }
.vq-list { margin-top: 36px; border-top: 1px solid rgba(235,230,220,0.12); }
.vq-item { border-bottom: 1px solid rgba(235,230,220,0.12); }
.vq-item summary { position: relative; display: block; padding: 20px 44px 20px 0; cursor: pointer; list-style: none; font-family: var(--f-disp); font-size: 22px; line-height: 30px; font-weight: 800; }
.vq-item summary::-webkit-details-marker { display: none; }
.vq-item summary::after { content: "+"; position: absolute; right: 6px; top: 18px; font-family: var(--f-mono); font-size: 22px; color: var(--shu); transition: transform .2s ease; }
.vq-item[open] summary::after { transform: rotate(45deg); }
.vq-item p { margin: 0; padding: 0 44px 22px 0; font-size: 17px; line-height: 27px; color: var(--hai); }
.vq-link { padding: 0; border: 0; background: none; color: var(--sakura); font: inherit; text-decoration: underline; cursor: pointer; }

/* ── The map: border beam ── */
.vm { padding-bottom: 120px; background: radial-gradient(60% 60% at 50% 100%, rgba(224,163,180,0.16), transparent 70%), #0a1215; }
.vm-beam { position: relative; max-width: 860px; margin: 44px auto 0; padding: 2px; border-radius: 4px;
  background: conic-gradient(from var(--n-a, 0deg), rgba(235,230,220,0.12) 0deg 250deg, var(--shu) 300deg, var(--sakura) 340deg, rgba(235,230,220,0.12) 360deg); animation: vm-spin 6s linear infinite; }
@keyframes vm-spin { to { --n-a: 360deg; } }
.vm-card { border-radius: 3px; background: var(--washi); color: #1d1a16; padding: 40px 44px; display: flex; flex-wrap: wrap; gap: 28px 48px; }
.vm-col { min-width: 0; }
.vm-col--a { flex: 1 1 300px; }
.vm-col--b { flex: 1 1 240px; display: flex; flex-direction: column; gap: 10px; }
.vm-title { display: block; font-family: 'Shippori Mincho B1', serif; font-size: 30px; line-height: 36px; margin-bottom: 12px; }
.vm-list { margin: 0; padding: 0; list-style: none; }
.vm-list li { padding: 10px 0; border-top: 1px solid rgba(29,26,22,0.14); font-size: 17px; line-height: 24px; }
.vm-list li::before { content: "✓"; color: #a63e2b; font-weight: 800; margin-right: 10px; }
.vm-first { font-family: 'JetBrains Mono', monospace; font-size: 12px; letter-spacing: 0.12em; color: #6b6056; }
.vm-call { font-family: 'Shippori Mincho B1', serif; font-size: 26px; line-height: 32px; }
.vm-callsub { font-size: 15px; line-height: 22px; }
.vm-cta { align-self: flex-start; margin-top: 8px; }
.vm-alt { font-size: 14px; color: #6b6056; }
.neo .vm-alt a, .neo .bk a { color: #a63e2b; }
.neo .vm-card :focus-visible, .bk :focus-visible { outline-color: #a63e2b; }

/* Footer */
.n-foot { position: relative; z-index: 2; border-top: 1px solid #2a3f45; }
.n-foot-in { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; padding: 28px 32px; max-width: 1440px; }
.n-foot-brand { flex-grow: 1; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.n-foot-name { font-family: 'Shippori Mincho B1', serif; font-weight: 800; font-size: 18px; }
.n-foot-tag { color: #9aaaa8; }
.neo a.n-foot-link { text-decoration: none; }

/* ── Armador dialog (opens from every CTA) ── */
dialog.bk { width: min(640px, calc(100vw - 40px)); max-width: none; max-height: calc(100vh - 40px); overflow-y: auto; margin: auto; padding: 0; border: 0;
  background: var(--washi); color: #1d1a16; box-shadow: 0 40px 100px rgba(0,0,0,0.6); animation: vs-up .25s ease; }
dialog.bk::backdrop { background: rgba(5,10,12,0.72); backdrop-filter: blur(6px); }
.bk-in { position: relative; padding: 32px 32px 16px; }
.bk-x { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: transparent; color: #1d1a16; font-size: 22px; cursor: pointer; }
.bk-k { margin: 0 0 6px; font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.14em; color: #6b6056; }
.bk-chip { height: 44px; padding: 0 16px; border: 1px solid rgba(29,26,22,0.25); background: #fff; color: #1d1a16; font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; border-radius: 999px; }
.bk-chip--on { background: #1d1a16; color: var(--washi); border-color: #1d1a16; }
.bk-chip:disabled { opacity: 0.4; cursor: default; }
.bk-go { display: flex; align-items: center; justify-content: center; width: 100%; height: 54px; margin-top: 8px; border: 0; background: var(--shu); color: var(--sumi); font: inherit; font-size: 17px; font-weight: 800; cursor: pointer; text-decoration: none; }
.neo a.bk-go { color: var(--sumi); }
.bk-go + .bk-go { margin-top: 10px; }
.bk-alt { margin: 12px 0 0; font-size: 14px; color: #6b6056; text-align: center; }
.bk-done { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; padding: 20px 0 8px; }
.bk-done b { font-family: var(--f-disp); font-size: 26px; line-height: 32px; }
.bk-done-ok { font-size: 40px; color: #2d6b45; }
.bk-calwrap { position: relative; background: #171717; border: 1px solid rgba(29,26,22,0.12); }
.bk-cal-loading { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); text-align: center; font-family: var(--f-mono); font-size: 13px; letter-spacing: 0.08em; color: #b9b2a6; }
.bk-calwrap.is-loaded .bk-cal-loading { display: none; }
.bk-cal { position: relative; display: block; width: 100%; height: min(620px, calc(100vh - 330px)); min-height: 340px; border: 0; background: transparent; opacity: 0; transition: opacity .3s ease; }
.bk-calwrap.is-loaded .bk-cal { opacity: 1; }
.bk-calfb { margin-top: 10px; }
.bk-first { margin-top: 6px; }
.cf-link { padding: 4px 2px; border: 0; background: none; color: #a63e2b; font: inherit; font-weight: 700; text-decoration: underline; cursor: pointer; }
.bk-done-back { margin-top: 10px; }
.cf-steps { display: flex; gap: 6px; margin: 4px 44px 16px 0; }
.cf-steps span { flex: 1; height: 4px; border-radius: 2px; background: rgba(29,26,22,0.15); }
.cf-steps span.on { background: #a63e2b; }
.cf-q { margin: 0 0 14px; font-family: var(--f-disp); font-size: 26px; line-height: 32px; font-weight: 800; }
.cf-q:focus, .cf-q-done:focus { outline: none; }
.cf-hint { margin: -8px 0 14px; font-size: 14px; color: #6b6056; }
.cf-sub { margin: -6px 0 14px; font-size: 15px; line-height: 22px; color: #3a332c; }
.cf-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.cf-nav { position: sticky; bottom: 0; z-index: 2; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin: 22px -32px 0; padding: 12px 32px 16px; background: var(--washi); box-shadow: 0 -10px 16px -12px rgba(29,26,22,0.35); }
.cf-back { height: 44px; padding: 0 6px; border: 0; background: none; color: #6b6056; font: inherit; font-weight: 700; cursor: pointer; }
.cf-next { height: 50px; padding: 0 24px; border: 0; background: var(--shu); color: var(--sumi); font: inherit; font-size: 16px; font-weight: 800; cursor: pointer; }
.cf-next:disabled { opacity: 0.4; cursor: default; }
.cf-map { display: flex; flex-direction: column; gap: 10px; }
.cf-agents { display: flex; flex-direction: column; gap: 10px; }
.cf-hub { display: flex; align-items: center; gap: 12px; padding-bottom: 6px; }
.cf-hub svg { flex: none; }
.cf-hub b { font-family: var(--f-disp); font-size: 20px; }
.cf-hub span { font-size: 14px; color: #6b6056; }
.cf-agent { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; align-items: start; padding: 12px 14px; background: #fff; border: 1px solid rgba(29,26,22,0.12);
  opacity: 0; animation: vs-up .45s ease forwards; }
.cf-av { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; font-family: var(--f-mono); font-size: 12px; font-weight: 700; color: #0a1215; }
.cf-agent b { display: block; font-size: 16px; }
.cf-agent p { margin: 2px 0 0; font-size: 14px; line-height: 20px; color: #3a332c; }
.cf-agent p i { font-style: normal; font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.08em; color: #a63e2b; }
.cf-coord { margin: 4px 0 0; font-size: 14px; color: #6b6056; }

/* 404 */
.nf { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; padding: 40px 20px; text-align: center; }
.nf p { margin: 0; font-family: var(--f-disp); font-size: 32px; line-height: 40px; font-weight: 800; }
.nf .n-mono { font-family: var(--f-mono); font-size: 13px; font-weight: 400; color: var(--hai); }

/* ── Responsive ── */
@media (max-width: 820px) {
  .v { padding: 80px 20px; }
  .v-h { font-size: 36px; line-height: 42px; }
  .vh-title { font-size: 42px; line-height: 48px; }
  .vh-box { --s: .52; }
  .vf-tile { width: 34px; height: 50px; font-size: 26px; }
  .vm-card { padding: 28px 22px; }
  .vs-stage { padding: 30px 22px; }
  .vs-agent { width: 120px; height: 120px; font-size: 32px; }
  .vq-item summary { font-size: 19px; line-height: 26px; }
  .vs-line { grid-template-columns: 1fr; gap: 2px; }
  .vw { padding-top: 72px; }
  .vw-art { margin-top: 0; }
}
/* Phones: the hero diagram turns vertical (inputs on top, Tako in the middle, agents below) so nothing is cropped. */
@media (max-width: 720px) {
  /* Phones: tighter copy so the diagram starts within the first screen. */
  .vh.v { padding-top: 32px; }
  .vh-copy { gap: 12px; }
  .vh-title { font-size: 36px; line-height: 42px; }
  .vh-sub { font-size: 17px; line-height: 25px; }
  .vh-box { margin-top: 20px; }
  .vh-box { --s: 1; width: 360px; height: calc(650px * var(--s)); }
  .vh-stage { width: 360px; height: 650px; margin-left: -180px; }
  .vh-col, .vh-node, .vh-hub, .vh-hub-label, .vh-chat { left: var(--mx); top: var(--my); }
  .vh-svg:not(.is-live) { display: none; } /* the static fallback is drawn for the desktop stage */
  .vh-chat { min-width: var(--mw); max-width: 340px; font-size: max(15px, calc(14px / var(--s))); }
  .vh-node b { font-size: max(13px, calc(12px / var(--s))); }
  .vh-node--in { flex-direction: column-reverse; }
  .vh-hub-label { transform: none; }
  /* tasks: a small agent badge beside the sentence, so the whole sentence shows after a tap */
  .vs-stage { min-height: 0; flex-wrap: nowrap; align-items: flex-start; gap: 16px; }
  .vs-agent { width: 56px; height: 56px; font-size: 18px; }
  .vs-agent::before, .vs-agent::after { inset: -8px; }
  .vs-body { flex: 1 1 auto; }
}
/* Narrow slider: the sweep rests at each end instead of crossing the text slowly. */
@media (max-width: 607px) {
  .cx--auto { animation-name: cx-sweep-n; }
}
@keyframes cx-sweep-n { 0%, 42% { --p: 100%; } 50%, 92% { --p: 0%; } 100% { --p: 100%; } }
@media (max-width: 480px) {
  .n-head-in { padding: 10px 16px; gap: 12px 16px; }
  .cf-nav { margin: 22px -20px 0; padding: 12px 20px 16px; }
  .n-foot-in { padding: 28px 16px; }
  .v-shimmer { height: auto; min-height: 56px; padding: 14px 24px; text-align: center; }
  .bk-in { padding: 28px 20px 16px; }
  .vh-cta { white-space: nowrap; }
}
/* Small phones: the header stays on one line (logo · ES/EN · sign in) */
@media (max-width: 400px) {
  .vh-title { font-size: 31px; line-height: 37px; }
  .n-head-in { flex-wrap: nowrap; gap: 10px; padding: 10px 12px; }
  .neo a.n-brand { gap: 6px; min-width: 0; }
  .n-brand svg { width: 30px; height: 30px; }
  .n-brand-name { font-size: 20px; }
  .n-lang { border: 0; }
  .n-lang > * { padding: 4px 5px; }
  .n-signin.n-btn--sm { padding: 0 12px; gap: 6px; font-size: 14px; white-space: nowrap; }
  .vh .v-shimmer { padding: 14px 18px; font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .neo *, .neo *::before, .neo *::after, dialog.bk { animation: none !important; transition: none !important; }
  .vf-item { max-height: 90px; opacity: 1; margin-bottom: 8px; transform: none; }
  .vt-line { width: auto; opacity: 1; }
  .vs-line, .vs-note, .cf-agent { opacity: 1; }
  .cx--auto { animation: none; }
  .cx { --p: 0%; }
}

/* area icons instead of two-letter codes */
.vh-node--agent .vh-dot svg { width: 26px; height: 26px; }
.vs-agent svg { width: 44%; height: 44%; }
.vf-item i svg { width: 17px; height: 17px; }
.cf-av svg { width: 22px; height: 22px; }

/* case format: antes (struck) / ahora (big result) / como */
.vs-lines { gap: 8px; }
.vs-lines p { margin: 0; opacity: 0; animation: vs-up .5s ease forwards; }
.vs-before { font-size: 16px; line-height: 24px; color: var(--hai); text-decoration: line-through; text-decoration-color: rgba(217,87,59,0.7); animation-delay: .2s !important; }
.vs-now { font-family: var(--f-disp); font-weight: 800; font-size: clamp(28px, 3.4vw, 42px); line-height: 1.12; color: var(--seiji); animation-delay: .5s !important; }
.vs-how { font-size: 18px; line-height: 27px; color: var(--washi, #ebe6dc); animation-delay: .8s !important; }
.vs-note { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; }
.cf-agent .cf-before { margin: 4px 0 0; font-size: 14px; line-height: 19px; color: #6f675f; text-decoration: line-through; }
.cf-agent .cf-now { margin: 2px 0 0; font-family: var(--f-disp); font-weight: 800; font-size: 18px; line-height: 23px; color: #2f7a72; }
.cf-agent .cf-how { margin: 2px 0 0; font-size: 14px; line-height: 20px; color: #3a332c; }
@media (prefers-reduced-motion: reduce) { .vs-lines p { opacity: 1; animation: none; } }

/* Wide screens: hero copy on the left, the beam diagram on the right, so both fit in the first screen. */
@media (min-width: 1000px) {
  .vh { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: center; column-gap: 40px;
    padding: 56px max(32px, calc((100% - 1320px) / 2)) 64px; }
  .vh-copy { align-items: flex-start; text-align: left; }
  .vh-title { font-size: clamp(36px, 3.7vw, 52px); line-height: 1.12; }
  .vh-sub { max-width: 460px; }
  .vh-ctabox { align-items: flex-start; }
  .vh-box { --s: .45; width: 100%; margin: 0; }
}
/* No-JS fallback scale for the side-by-side hero (landing.js sets the exact value inline). */
@media (min-width: 1200px) { .vh-box { --s: .55; } }
@media (min-width: 1440px) { .vh-box { --s: .64; } }

/* Slider knob says "drag me" without words: small arrows on both sides of the logo. */
.cx-knob::before, .cx-knob::after { position: absolute; top: 50%; transform: translateY(-50%); font-family: var(--f-body); font-size: 20px; font-weight: 700; line-height: 1; color: var(--shu); }
.cx-knob::before { content: "\2039"; left: 6px; }
.cx-knob::after { content: "\203A"; right: 6px; }
/* After a drag the slider settles on the nearest end, so at rest one full list is readable. */
.cx--snap { transition: --p .35s ease-out; }
@media (min-width: 1000px) and (max-width: 1199px) {
  .vh { grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr); }
}

/* Section divider: a thin line that fades at both ends, with the octopus in the middle. */
.v-sep { position: relative; z-index: 3; height: 1px; margin: 0 auto; max-width: 1160px; background: linear-gradient(90deg, transparent, rgba(235,230,220,0.16) 20%, rgba(217,87,59,0.45) 50%, rgba(235,230,220,0.16) 80%, transparent); }
.v-sep { pointer-events: none; }
.v-sep i { position: absolute; left: 50%; top: 50%; width: 32px; height: 32px; margin: -16px 0 0 -16px; border-radius: 50%; display: grid; place-items: center; background: var(--sumi); opacity: .55; }
