@font-face {
  font-family: "Space Grotesk";
  src: url("assets/space-grotesk-latin-wght.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

/* DK's shared tokens: the WHMCS theme replicates this block. */
:root {
  --black: #05070d;
  --metal: #0b0f18;
  --raised: #121824;
  --line: #263044;
  --line-strong: #566178;
  --stone: #e9eaee;
  --stone-ink: #10141c;
  --stone-muted: #4a5262;
  --ink: #f2f5fb;
  --muted: #a8b2c6;
  --primary: #0043ff;
  /* The holographic accent (Owner, 2026-11-05; docs/palette.md): light on a material, not paint. It starts on Sky
     Blue so it stays in one family with the buttons. Little of it, dark grounds only, it moves only when the visitor
     does (--foil, from the scroll and the pointer). */
  /* Blue chrome balance (Owner, 2026-11-06, "Bajale al morado y subele al azul"; 2026-11-20, no pink: "sin salir del
     espectro azul"): the same loop as the DK glass, all blue (Sky Blue, aqua, a white glint, Sea Blue), closing on a
     minimal note of periwinkle. */
  --holo: linear-gradient(100deg, #00b4fa 0%, #33dbff 26%, #edf7ff 42%, #0080ff 66%, #7b8cff 100%);
  --holo-glow: 0, 180, 250;
  /* A thin specular band, as real foil catches the light. */
  --sheen: linear-gradient(100deg, transparent 40%, rgba(255, 255, 255, 0.75) 49%, rgba(255, 255, 255, 0.9) 50%, rgba(255, 255, 255, 0.75) 51%, transparent 60%);
  --foil: 0%;
  --foil-s: 0%;
  /* The chrome finish (Owner, 2026-11-05, option T1c + B1/B2; docs/reference-study-holo.md). The base is
     polished metal, and the holo spectrum shows only as a narrow fringe beside a moving white core, with a fine grain. */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --core: linear-gradient(100deg, transparent 44%, rgba(255, 255, 255, 0.95) 50%, transparent 56%);
  --fringe: linear-gradient(100deg, transparent 30%, #0080ff 36%, #00b4fa 40%, #33dbff 44%, #edf7ff 47%, transparent 50%, #33dbff 53.5%, #7b8cff 58%, transparent 66%);
  --chrome: linear-gradient(180deg, #ffffff 0%, #e3ecff 30%, #8e9cc0 49%, #525f80 53%, #c9d6f2 60%, #ffffff 82%, #dfe7f7 100%);
  /* The white title words' polished silver (Owner, 2026-11-22: "Plata pulida"): white at the top, a soft silver horizon
     just below the middle, white again at the foot, under the site's fine grain. Every white title word uses it, on the
     home and the inner pages (inner.css, inner-system.css). Forced colours drop it for the plain text colour. */
  --silver: var(--grain) 0 0 / 160px 160px repeat, linear-gradient(180deg, #ffffff 0%, #f3f7ff 28%, #c6d3ec 50%, #9fb0d0 56%, #dde6f6 76%, #ffffff 100%) 0 0 / 100% 100% no-repeat;
  --silver-blend: soft-light, normal;
  --sky: 0, 180, 250;
  --cut: 14px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --gutter: 24px;
  --section: clamp(96px, 11vw, 160px);
}

@property --angle { syntax: "<angle>"; inherits: true; initial-value: 100deg; }
/* How far a line or a card has arrived (0 to 1): its own fade, kept apart from the scene's so the two can multiply. */
@property --arrive { syntax: "<number>"; inherits: false; initial-value: 1; }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 400 1.0625rem/1.6 "Space Grotesk", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
/* No underlined links anywhere on the site, not even on hover (Owner, 2026-10-27; made global 2026-11-12). A link inside
   running text shows in the accent colour and brightens under the cursor. */
:where(p, li, dd, td, figcaption) a:not([class]) { color: var(--accent); transition: color 0.25s; }
:where(p, li, dd, td, figcaption) a:not([class]):hover { color: #fff; }
h1, h2, h3, p, ol, ul, dl, dd, figure, fieldset { margin: 0; padding: 0; }
ol, ul { list-style: none; }
fieldset { border: 0; min-width: 0; }
button, input { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.sprite { position: absolute; width: 0; height: 0; }
.ico { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: square; stroke-linejoin: miter; }

h2 {
  text-wrap: balance;
}
h3 { font-size: clamp(1.3rem, 1.2rem + 0.4vw, 1.5rem); font-weight: 600; line-height: 1.2; letter-spacing: -0.015em; }
h2 .lit { display: block; }
.lede { color: var(--muted); font-size: clamp(1.125rem, 1.05rem + 0.3vw, 1.25rem); line-height: 1.5; max-width: 34em; text-wrap: pretty; }
.wrap { width: min(1240px, 100%); margin-inline: auto; padding-inline: var(--gutter); }
.head { max-width: 860px; }
.head h2 { margin-top: 20px; }
.head .lede { margin-top: 20px; }
/* Section labels (Owner, 2026-11-17: the old dash "se pierde visualmente, incluso en la versión desktop"; then "en
   desktop creo que es mejor la opción A y B en móvil"). Desktop and tablets, option A: brighter text and a longer,
   thicker dash in the official gradient toward Sky and white, with a stronger glow; it draws in with its section and
   the spark runs along it. Phones (640px and below), option B: the inner pages' glass pill (.st-tag), with the
   four-point spark, sentence case and no dash. */
.label {
  position: relative; display: flex; align-items: center; gap: 14px;
  color: #e6eef9; font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase;
  text-shadow: 0 0 18px rgba(0, 128, 255, 0.35);
}
.label::before {
  content: ""; flex: none; width: 72px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, transparent, #fff, transparent) no-repeat, linear-gradient(90deg, rgba(0, 67, 255, 0.35), #0080ff 40%, #00b4fa 75%, #edf7ff);
  background-size: 22px 2px, 100% 2px; background-position: -24px 0, 0 0;
  box-shadow: 0 0 10px rgba(0, 180, 250, 0.6), 0 0 22px rgba(0, 128, 255, 0.35);
  transform: scaleX(0); transform-origin: 0 50%; transition: transform 0.9s cubic-bezier(0.2, 0.7, 0.1, 1) 0.15s;
  animation: label-spark 2.6s linear infinite;
}
.label-center { justify-content: center; }
.label-center::before { transform-origin: 100% 50%; }
.in .label::before, .label.in::before, .hero .label::before { transform: scaleX(1); }
@keyframes label-spark { 0% { background-position: -24px 0, 0 0; } 60%, 100% { background-position: 96px 0, 0 0; } }
html.still .label::before { transform: none; transition: none; animation: none; }
@media (max-width: 640px) {
  .label {
    gap: 10px; width: fit-content; max-width: 100%; padding: 7px 16px 7px 13px; border-radius: 999px;
    background: rgba(10, 16, 32, 0.55); box-shadow: inset 0 -7px 12px rgba(0, 128, 255, 0.14), 0 10px 30px rgba(0, 8, 40, 0.35);
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
    color: #e3eaf5; font-size: 0.875rem; letter-spacing: 0.01em; line-height: 1.3; text-transform: none; text-shadow: none;
  }
  .label::after {
    content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
    background: linear-gradient(100deg, rgba(0, 180, 250, 0.55), rgba(237, 247, 255, 0.12) 45%, rgba(0, 67, 255, 0.5));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
    mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  }
  .label::before, .in .label::before, .label.in::before, .hero .label::before {
    width: 10px; height: 10px; border-radius: 0; box-shadow: none; transform: none; transition: none; animation: none;
    clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
    background: linear-gradient(135deg, #edf7ff, #00b4fa 35%, #0080ff 60%, #0043ff);
    filter: drop-shadow(0 0 4px rgba(0, 128, 255, 0.7));
  }
  .label-center { margin-inline: auto; }
}
@media (forced-colors: active) { .label { border: 1px solid CanvasText; } .label::after { display: none; } }

.skip { position: absolute; left: 16px; top: -64px; z-index: 30; padding: 12px 16px; background: var(--primary); color: #fff; }
.skip:focus { top: 12px; }

/* The cut corner: DK's one shape, at the crown's angle. The hairline is the element's own background. */
.cut, .btn {
  --corners: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, var(--cut) 100%, 0 calc(100% - var(--cut)));
  clip-path: var(--corners);
}
.cut {
  --mx: 50%; --my: 0%;
  position: relative; isolation: isolate;
  background: radial-gradient(360px circle at var(--mx) var(--my), rgba(var(--sky), var(--glow, 0)), transparent 70%), var(--line);
}
.cut::before { content: ""; position: absolute; inset: 1px; z-index: -1; background: var(--metal); clip-path: var(--corners); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px;
  border: 0;
  font-size: 1rem; font-weight: 500; letter-spacing: 0; text-decoration: none; white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.18s, color 0.18s, transform 0.16s var(--ease-out);
}
.btn:focus-visible { outline-offset: -5px; outline-color: #fff; }
.btn:active { transform: scale(0.97); }
.btn .ico { transition: transform 0.25s var(--ease-out); }
.btn-primary { background: var(--primary); color: #fff; }
.btn-quiet { background: rgba(18, 24, 36, 0.78); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-strong); }
.btn-small { min-height: 44px; padding: 0 18px; font-size: 0.9375rem; }
@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover { background: #1a57ff; }
  .btn-primary:hover .ico { transform: translateX(4px); }
  .btn-quiet:hover { background: var(--raised); }
}


/* Proposal B: thin glass over one living world. */
html { scrollbar-width: thin; scrollbar-color: #2b3a5c transparent; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
/* While the intro plays, the page holds still (src/app.js, live report 2026-11-24): no panning, zoom still works. */
html.intro-hold { touch-action: pinch-zoom; }
#world { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: 0; transition: opacity 1.2s; }
#world.on { opacity: 1; }
/* The first instant (Owner, 2026-11-14: "la web se queda en negro por 2-3 segundos antes de iniciar todo con el rayo de
   luz"). From the first paint the sky is there (a few dim stars) and the light gathers at the right edge, where the
   world's own first frames show the beam's glow before it sweeps in; it breathes while the world loads. When the world
   fades in (#world.on, 1.2 s) this layer fades out over the same time, so the beam arrives into light that was already
   there. CSS only, composited (opacity and scale). */
.pre { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; transition: opacity 1.2s; }
/* The Owner, 2026-11-22: "Sería mejor que el foco entre directo sin bounce". The announcement hands over to the beam on
   the world's own clock. world.js fades this layer only once the world's light at that edge is already brighter
   (clock 0.85-1.6 s), so the light at the edge only ever grows. Without the world it stays, as the hero's sky light. */
#world.on ~ .pre { transition: none; }
.pre i { position: absolute; display: block; opacity: 0; }
/* The Owner, 2026-11-22: "la luz protagonista en toda la web es el Rayo". The 2026-11-14 first-instant glow
   is the intro's quiet announcement. It gathers at the beam's entry edge from the logo's return to dark (html.d-focus),
   in 0.9 s, to 0.7 (the live glow went to 0.85 and then breathed), and leaves as the world fades in. */
.pre-glow { right: -26vw; top: 46vh; width: 58vw; height: 78vh; translate: 0 -50%; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 120, 255, 0.95), rgba(0, 72, 255, 0.62) 22%, rgba(0, 67, 255, 0.26) 52%, rgba(0, 67, 255, 0.07) 78%, rgba(0, 67, 255, 0) 100%); transform-origin: 100% 50%; }
/* It keeps rising (ease-in-out, 1.2 s) until the world's light arrives over it: no hold before the beam. */
html.d-focus .pre-glow { animation: intro-charge 1.2s cubic-bezier(0.45, 0, 0.55, 1) forwards; }
@keyframes intro-charge { from { opacity: 0; transform: scale(0.55); } to { opacity: 0.7; transform: scale(1); } }
/* Phones: the hero is on screen from the start, so the light stays low behind it, at the same edge. */
@media (max-width: 819px) {
  .pre-glow { right: -48vw; top: 30vh; width: 96vw; height: 56vh; }
  /* Phones: the world's light reaches that edge later and softer, so the glow rises longer and still accelerating
     (ease-in, 1.5 s) into it, instead of settling just before it arrives. */
  html.d-focus .pre-glow { animation-duration: 1.5s; animation-timing-function: cubic-bezier(0.42, 0, 1, 1); }
}
/* One sky from the first paint. The world's own night sky (its first intro frame before the beam charges, at 1440 x 900
   and 390 x 844 @2x) fills the screen at once; it is the page's
   largest paint. Its stars are laid out from the bottom-left corner in units of the screen's height, so it is scaled to
   the height (cover) and pinned to that corner: on any screen up to 1.6:1 (all phones, most laptops) every star sits
   where the world draws it. The world's canvas fades in over it; it leaves once the world is on (app.js).
   Its box stops 1 px short of the screen's bottom edge (the image itself keeps the full height, pinned as the world's
   canvas): Chrome does not count an image that exactly fills the screen as a contentful paint (it takes it for a
   background), and this sky is the first view's content. The last row shows the page's own near-black. */
.intro-skybox { position: fixed; inset: 0 0 1px; z-index: -1; overflow: hidden; pointer-events: none; }
/* It shows once it is whole (onload): on a slow connection Chrome paints a WebP as it streams in, and a sky painted
   half-loaded is not counted as the page's largest paint (its bytes per pixel are judged on that first paint). */
.intro-sky { position: absolute; left: 0; top: 0; display: block; width: 100%; height: calc(100% + 1px); object-fit: cover; object-position: 0 100%; visibility: hidden; }
.intro-sky.in { visibility: visible; }
/* The pre-load: the render's square framing (desktop 52vh, centred; phones 74vw, centred at 57 % of the height, between
   the headline and the subtext) holds the frames' crop at (140, 109)-(886, 891) of 1000. The frames are opaque on black,
   screened onto the sky, so their black drops out. The box is fixed: no layout shift. */
.intro-logo { position: fixed; z-index: -1; left: calc(50% - 18.72vh); top: 29.668vh; width: 38.792vh; height: 40.664vh; pointer-events: none; mix-blend-mode: screen; }
.intro-seq, .intro-logo picture, .intro-still-img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
html.intro-done .intro-logo { display: none; }
/* Phones (video): the lit hold breathes as the frames' does (8 %, 3.6 s). */
video.intro-seq.breathe { animation: intro-breathe 3.6s ease-in-out infinite; }
@keyframes intro-breathe { 50% { opacity: 0.92; } }
@media (max-width: 819px) {
  .intro-logo { left: calc(50% - 26.64vw); top: calc(57vh - 28.934vw); width: 55.204vw; height: 57.868vw; }
}
/* Tablets (641-819 px): the hero's text and keys sit right under the headline (down to about 430 px), so the logo takes
   the free band below them, centred in it, and shrinks to fit a short screen (it covered the keys at 768 x 1024). */
@media (min-width: 641px) and (max-width: 819px) {
  .intro-logo { --lw: min(55.204vw, calc((100vh - 470px) / 1.04826)); left: calc(50% - var(--lw) * 0.48257); top: calc((100vh + 440px) / 2 - var(--lw) * 0.52413); width: var(--lw); height: calc(var(--lw) * 1.04826); }
}
/* Reduced motion and data saver (html.intro-still): no sequence, no animation. The sky and the lit still, then the still
   fades as the hero arrives (desktop: its copy waits for it, since the logo sits where the headline and buttons are;
   phones: the copy is there from the start, the logo between the headline and the subtext). */
html.intro-still .intro-seq { display: none; }
html.intro-still .intro-still-img { transition: opacity 0.8s ease-in-out; }
html.intro-rm-out .intro-still-img { opacity: 0; }
html.intro-still .hero::after { transition: opacity 0.8s ease-in-out 0.3s; }
html.intro-still:not(.intro-rm-out) .hero::after { opacity: 0; }
@media (min-width: 820px) {
  html.intro-still .hero .a { transition: opacity 0.8s ease-in-out 0.3s; }
  html.intro-still:not(.intro-rm-out) .hero .a { opacity: 0; }
}
/* Once the world has drawn its first frame (hidden, in the lit hold), its canvas is composited at 0.2 %
   (out of sight), so the screen's first composite of it is not paid in the middle of the logo's return to dark. */
html.intro-warm #world:not(.on) { opacity: 0.002; }
body { background: var(--black); color: var(--ink); transition: color 0.45s; }
h1, h2, .say { font-weight: 500; letter-spacing: -0.042em; }
h2 { font-size: clamp(2.3rem, 1.3rem + 3.5vw, 4.1rem); line-height: 1.02; }
.lit { color: var(--accent); }

/* Section titles share the hero's type (round 3, notes 10, 13 and 16): a label above, a heavier weight,
   tight tracking, and the metal and lit gradients painted on each rising word. */
main h2, .say { font-weight: 600; letter-spacing: -0.05em; line-height: 0.96; }
main h2[data-words] .w, .say .w { padding-bottom: 0.18em; margin-bottom: -0.18em; }
main h2 .w > span, .say > .w > span { padding-bottom: 0.16em; margin-bottom: -0.16em; background: var(--silver); background-blend-mode: var(--silver-blend); -webkit-background-clip: text; background-clip: text; color: transparent; }
main h2 .lit .w > span {
  background-image: var(--grain), var(--core), var(--fringe), var(--chrome);
  background-size: 160px 160px, 6em 100%, 6em 100%, 100% 100%;
  background-position: 0 0, calc(var(--lp, -999px) - 3em) 0, calc(var(--lp, -999px) - 3em) 0, 0 0;
  background-repeat: repeat, no-repeat, no-repeat, no-repeat;
  background-blend-mode: soft-light, normal, normal, normal;
}
main .label { margin-bottom: 18px; }
.route-head .label, .faq-head .label { margin-bottom: 18px; }

.nav { position: fixed; inset: 0 0 auto; z-index: 20; display: flex; align-items: center; gap: 20px; height: 72px; padding-inline: max(var(--gutter), calc((100% - 1320px) / 2)); transition: background-color 0.35s; }
.nav::before { content: ""; position: absolute; inset: 0 0 -96px; z-index: -1; background: linear-gradient(rgba(5, 7, 13, 0.94), rgba(5, 7, 13, 0.7) 34%, rgba(5, 7, 13, 0.24) 66%, transparent); pointer-events: none; transition: background-color 0.35s, opacity 0.35s; }
html.clear-nav .nav::before { opacity: 0; }
.pin { color: var(--ink); }
.free { color: var(--ink); }
.nav-logo { flex: 1 0 0; display: flex; align-items: center; min-height: 44px; }
.nav-logo img { width: 172px; height: auto; transition: filter 0.35s; }
.nav-end { flex: 1 0 0; display: flex; justify-content: flex-end; align-items: center; gap: 2px; }

/* The menu (round 3, note 6): a glass capsule in the middle; Solutions, Company and Resources open mega menus
   across the page. On phones and tablets a button opens a sheet instead. */
.nav .ico { width: 16px; height: 16px; }
.nav .chev { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.5; transition: rotate 0.3s var(--ease-out); }
.nav [aria-expanded="true"] .chev, .mn-acc[open] .chev { rotate: 180deg; }
.nav button:not(.btn) { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
.nav button.mn-link { padding: 0; }
.nav em { margin-left: 6px; padding: 2px 7px; border-radius: 999px; font-size: 0.6875rem; font-style: normal; font-weight: 500; letter-spacing: 0.06em; vertical-align: 2px; }
/* No blur on the capsule: a backdrop filter would make it the panels' container and box them in. */
.mn-pill { display: flex; align-items: center; gap: 2px; margin-inline: auto; padding: 5px; border-radius: 999px; }
.mn-pill > a, .mn-trigger { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 15px; border-radius: 999px; color: #dfe6f2; font-size: 0.9375rem; text-decoration: none; white-space: nowrap; transition: background-color 0.2s, color 0.2s; }
.mn-pill > a:hover, .mn-trigger:hover, .mn-trigger[aria-expanded="true"] { background: rgba(255, 255, 255, 0.07); color: #fff; }
/* The language and the client area share one capsule on the right, the menu capsule's twin. */
.mn-acct { display: inline-flex; align-items: center; gap: 4px; padding: 5px; border-radius: 999px; }
.mn-acct .mn-lang { padding: 0; background: none; box-shadow: none; }
.mn-sep { width: 1px; height: 20px; margin: 0 4px; }
.mn-user { position: relative; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; color: #dfe6f2; transition: background-color 0.2s, color 0.2s; }
.mn-user:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }
.mn-user svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.mn-user::after { content: attr(data-tip); position: absolute; top: calc(100% + 12px); right: -5px; padding: 6px 10px; border-radius: 8px; color: #dfe6f2; font-size: 0.75rem; white-space: nowrap; opacity: 0; translate: 0 -4px; pointer-events: none; transition: opacity 0.2s, translate 0.25s var(--ease-out); }
.mn-user:hover::after, .mn-user:focus-visible::after { opacity: 1; translate: 0 0; }
.mn-lang { display: inline-flex; padding: 3px; border-radius: 999px; background: rgba(255, 255, 255, 0.05); }
.mn-lang a { display: grid; place-items: center; min-width: 34px; height: 28px; padding: 0 8px; border-radius: 999px; color: #9fb0cc; font-size: 0.75rem; font-weight: 500; letter-spacing: 0.08em; text-decoration: none; transition: background-color 0.2s, color 0.2s; }
.mn-lang a:not([aria-current]):hover { color: #fff; }
.mn-burger { display: none; align-items: center; gap: 10px; height: 40px; padding: 0 8px 0 16px; border-radius: 999px; background: rgba(255, 255, 255, 0.06) !important; font-size: 0.875rem !important; }
.mn-burger i { position: relative; width: 26px; height: 26px; border-radius: 50%; }
.mn-burger i::before, .mn-burger i::after { content: ""; position: absolute; left: 8px; right: 8px; height: 1.5px; transition: transform 0.35s var(--ease-out), top 0.35s var(--ease-out); }
.mn-burger i::before { top: 10px; }
.mn-burger i::after { top: 15px; }
.mn-burger[aria-expanded="true"] i::before { top: 12.25px; transform: rotate(45deg); }
.mn-burger[aria-expanded="true"] i::after { top: 12.25px; transform: rotate(-45deg); }

.mn-panel { position: absolute; z-index: 5; left: max(var(--gutter), calc((100% - 1320px) / 2)); right: max(var(--gutter), calc((100% - 1320px) / 2)); top: 74px; padding: 22px; border-radius: 28px; opacity: 0; visibility: hidden; translate: 0 8px; transition: opacity 0.25s, translate 0.35s var(--ease-out), visibility 0s 0.25s; }
.mn-drop.open .mn-panel { opacity: 1; visibility: visible; translate: 0 0; transition: opacity 0.25s, translate 0.35s var(--ease-out); }
.mn-solgrid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.mn-sc { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 14px 16px 18px; border-radius: 18px; text-align: left; transition: background-color 0.2s; }
.mn-sc img { width: 128px; height: 128px; margin: -8px 0 4px -10px; transition: scale 0.4s var(--ease-out); }
.mn-sc:hover img { scale: 1.08; }
.mn-sc b { color: #fff; font-size: 1.125rem; font-weight: 600; }
.mn-sc small { color: #9fb0cc; font-size: 0.875rem; line-height: 1.35; }
.mn-sc ul { display: grid; gap: 5px; width: 100%; margin-top: 8px; padding-top: 10px; border-top: 1px solid rgba(var(--sky), 0.12); }
.mn-sc li { display: flex; align-items: center; gap: 8px; color: #dfe6f2; font-size: 0.8125rem; }
.mn-sc li::before { content: ""; flex: none; width: 4px; height: 4px; border-radius: 50%; }
.mn-panel-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 10px; padding: 16px 16px 2px; border-top: 1px solid rgba(var(--sky), 0.14); color: #9fb0cc; font-size: 0.875rem; }
.mn-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; white-space: nowrap; }
.mn-link .ico { transition: translate 0.25s var(--ease-out); }
.mn-link:hover .ico { translate: 4px 0; }
/* Company and Resources: a list of rows, with a feature card filling the rest of the width. */
.mn-two { display: grid; grid-template-columns: 520px minmax(0, 1fr); gap: 16px; }
.mn-panel.resources .mn-two { grid-template-columns: minmax(0, 1fr) 400px; }
.mn-list { display: grid; align-content: center; gap: 2px; }
.mn-item { display: flex; align-items: center; gap: 14px; margin: 0; padding: 14px 16px; border-radius: 14px; color: inherit; text-decoration: none; transition: background-color 0.2s; }
.mn-item b { display: block; color: #fff; font-size: 1rem; font-weight: 600; }
.mn-item small { display: block; margin-top: 2px; color: #9fb0cc; font-size: 0.875rem; line-height: 1.35; }
.mn-icon { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 11px; transition: background-color 0.2s; }
.mn-ic, .mn-mark { fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.mn-ic { width: 20px; height: 20px; }
.mn-go { margin-left: auto; transition: opacity 0.2s, translate 0.25s var(--ease-out); }
.mn-item:hover .mn-go { opacity: 1; translate: 3px 0; }
.mn-feature { position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; min-height: 240px; padding: 16px; overflow: hidden; border-radius: 18px; color: inherit; text-decoration: none; }
.mn-feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 40% 50%; opacity: 0.55; transition: scale 0.6s var(--ease-out), opacity 0.3s; }
.mn-feature:hover img { scale: 1.05; opacity: 0.7; }
.mn-feature::before { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 30%, rgba(5, 8, 18, 0.92)); }
.mn-feature > :not(img) { position: relative; }
.mn-feature b { color: #fff; font-size: 1.0625rem; font-weight: 600; }
.mn-feature small { color: #c4cede; font-size: 0.8125rem; line-height: 1.4; }
/* The help card, after the Owner's Zagirova reference: a mark, a bold question, a calm line, the link at the foot. */
.mn-feature.help { justify-content: flex-start; gap: 10px; padding: 26px 26px 24px; border-radius: 22px; }
.mn-feature.help::before { display: none; }
.mn-mark { width: 30px; height: 30px; margin-bottom: 14px; stroke-width: 1.5; }
.mn-feature.help b { font-size: 1.375rem; letter-spacing: -0.02em; line-height: 1.2; }
.mn-feature.help small { max-width: 26em; color: #9fb0cc; font-size: 1rem; line-height: 1.5; }
.mn-feature.help .mn-link { margin-top: auto; font-size: 1.0625rem; }

.mn-sheet { position: fixed; inset: 0; z-index: -1; -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); opacity: 0; visibility: hidden; transition: opacity 0.4s, visibility 0s 0.4s; }
html.menu-open .mn-sheet { opacity: 1; visibility: visible; transition: opacity 0.4s; }
html.menu-open .nav::before { opacity: 0; }
.mn-sheet-in { display: flex; flex-direction: column; height: 100%; padding: 84px 18px 26px; overflow: auto; overscroll-behavior: contain; }
.mn-row, .mn-acc summary { display: flex; align-items: center; justify-content: space-between; min-height: 58px; border-bottom: 1px solid rgba(var(--sky), 0.12); color: #fff; font-size: 1.375rem; font-weight: 500; letter-spacing: -0.02em; text-decoration: none; list-style: none; cursor: pointer; }
.mn-acc summary::-webkit-details-marker { display: none; }
.mn-acc .chev { width: 16px; height: 16px; }
.mn-acc-in { padding: 6px 0 10px; }
.mn-acc-in .mn-item { align-items: flex-start; padding: 10px; }
.mn-sol { display: flex; align-items: center; gap: 14px; width: 100%; padding: 8px 10px; border-radius: 14px; text-align: left; }
.mn-sol img { width: 48px; height: 48px; flex: none; }
.mn-sol b { display: block; color: #fff; font-size: 0.9375rem; font-weight: 600; }
.mn-sol small { display: block; margin-top: 2px; color: #9fb0cc; font-size: 0.8125rem; line-height: 1.35; }
.mn-sheet-foot { display: flex; flex-direction: column; align-items: center; gap: 16px; margin-top: auto; padding-top: 24px; }
.mn-sheet-foot .btn { width: 100%; }
html.menu-open .mn-sheet-in > * { animation: fade 0.6s var(--ease-out) both; }
html.menu-open .mn-sheet-in > :nth-child(2) { animation-delay: 0.04s; }
html.menu-open .mn-sheet-in > :nth-child(3) { animation-delay: 0.08s; }
html.menu-open .mn-sheet-in > :nth-child(4) { animation-delay: 0.12s; }
html.menu-open .mn-sheet-in > :nth-child(5) { animation-delay: 0.16s; }
html.menu-open .mn-sheet-in > :nth-child(6) { animation-delay: 0.2s; }
@keyframes fade { from { opacity: 0; transform: translateY(14px); } }
@media (min-width: 1181px) { .mn-sheet { display: none; } }
@media (max-width: 1180px) {
  .mn-pill, .mn-acct .mn-lang, .mn-sep, .mn-user::after { display: none; }
  .mn-acct { margin-right: 8px; padding: 2px; }
  .mn-burger { display: inline-flex; }
}




.ch { position: relative; height: calc(var(--len, 100) * 1svh); }
.pin .wrap { transition: opacity 0.4s, transform 0.5s var(--ease-out); }
.ch.free { height: auto; }
.pin { position: sticky; top: 0; height: 100svh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }

/* The hero (round 3): a label or the services strip, a big two-tone headline, one supporting line, two buttons.
   Five versions take turns, one per visit (the picker sits right after the hero in index.html). */
.hero { justify-content: flex-start; align-items: center; text-align: center; padding: clamp(100px, 12svh, 124px) var(--gutter) 0; }
.hero h1 { font-weight: 600; font-size: clamp(2.8rem, 1rem + 4.3vw, 6rem); letter-spacing: -0.055em; line-height: 0.9; text-wrap: balance; }
.hero h1 > span { display: block; }
.hero.big h1 { font-size: clamp(3.4rem, 1rem + 5.8vw, 7.6rem); }
.hero .label { margin-bottom: 26px; }
.hero .metal { background: var(--silver); background-blend-mode: var(--silver-blend); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lit {
  background-image: var(--grain), var(--core), var(--fringe), var(--chrome);
  background-size: 160px 160px, 6em 100%, 6em 100%, 100% 100%;
  background-position: 0 0, calc(var(--lp, -999px) - 3em) 0, calc(var(--lp, -999px) - 3em) 0, 0 0;
  background-repeat: repeat, no-repeat, no-repeat, no-repeat;
  background-blend-mode: soft-light, normal, normal, normal;
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
@media (forced-colors: active) { .hero .lit, main h2 .w > span, .hero .metal { background: none; color: CanvasText; -webkit-text-fill-color: CanvasText; } }
/* Clipped gradients paint only inside the box, and the tight line height cuts g, j, q and y: extend the box below. */
.hero .metal, .hero .lit { padding-bottom: 0.16em; margin-bottom: -0.16em; }
.hero .glow { filter: drop-shadow(0 0 28px rgba(0, 150, 255, 0.45)); }
.hero .lede { margin: 24px auto 0; max-width: 36em; color: #b4bfd2; font-size: 1.1875rem; text-wrap: balance; }
.hero .lede b { color: #fff; font-weight: 500; }
.hero .actions { margin-top: 32px; }
.strip { display: flex; gap: 4px; margin: 0 0 26px; padding: 6px; border-radius: 999px; }
.strip li { display: flex; align-items: center; padding: 6px 14px; color: #dfe6f2; font-size: 0.875rem; letter-spacing: 0.02em; }
.strip li + li::before { content: ""; margin-right: 18px; }
.rot { display: inline-block; }
.rot.out { opacity: 0; transform: translateY(-0.35em); filter: blur(10px); }
.rot.in { opacity: 0; transform: translateY(0.35em); filter: blur(10px); }
/* Each piece comes out of a soft blur, in turn. */
.hero .a { animation: hero-in 1.3s var(--ease-out) calc(var(--d, 0) * 1s) both; }
@keyframes hero-in { from { opacity: 0; filter: blur(16px); transform: translateY(28px) scale(1.02); } }
/* The intro (desktop): the headline waits for the beam and the crown. The menu is there from the first frame
   (Owner, 2026-11-10: option A). */
html.intro:not(.intro-title) .hero .a { animation-play-state: paused; }
.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 30px; }

/* Words rise one by one when a chapter arrives. */
[data-words] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.1em; margin-bottom: -0.1em; }
[data-words] .w > span { display: inline-block; transform: translateY(106%); transition: transform 0.95s var(--ease-out); transition-delay: calc(var(--i) * 38ms); }
.in [data-words] .w > span, [data-words].in .w > span { transform: none; }
[data-rise] { --arrive: 0; opacity: var(--arrive); transform: translateY(16px); transition: --arrive 0.8s 0.3s, transform 0.9s var(--ease-out) 0.3s; }
.in [data-rise], [data-rise].in { --arrive: 1; transform: none; }
/* A scene's own lines (the problem's lede) fade with the scene; while it changes they follow the scroll at once. */
.in .pin > [data-rise], .pin > [data-rise].in { opacity: var(--op, 1); }
.fading .pin > [data-rise] { transition: none; }
.say mark { position: relative; padding: 0 0.12em; background: none; color: #fff; }
.say mark::before { content: ""; position: absolute; inset: 0.05em 0 0; z-index: -1; transform: scaleX(0); transform-origin: left; transition: transform 0.8s var(--ease-in-out) 0.5s; }
.in .say mark::before { transform: none; }

.pieces { align-items: center; text-align: center; padding-inline: var(--gutter); }
.say { position: relative; z-index: 0; max-width: 15em; font-size: clamp(2.5rem, 1.4rem + 4.1vw, 5.1rem); line-height: 1.03; text-wrap: balance; }
.pieces .lede { margin-top: 22px; color: #dbe2ef; }
.loose .say .w { transform: translate(calc(var(--x) * var(--loose, 1)), calc(var(--y) * var(--loose, 1))); filter: blur(calc(var(--loose, 1) * 7px)); opacity: calc(1 - var(--loose, 1) * 0.75); overflow: visible; }
.loose .say mark::before { display: none; }
.loose .say mark i { position: absolute; z-index: -1; top: 0.05em; bottom: 0; width: 36%; transform: translate(calc(var(--mx) * var(--split, 1)), calc(var(--my) * var(--split, 1))) rotate(calc(var(--mr) * var(--split, 1))) scaleX(0); transform-origin: left; transition: scale 0.6s var(--ease-out) 0.5s; }
.loose .in .say mark i, .loose .in.say mark i { transform: translate(calc(var(--mx) * var(--split, 1)), calc(var(--my) * var(--split, 1))) rotate(calc(var(--mr) * var(--split, 1))); }
.loose .say mark i:nth-of-type(1) { left: 0; --mx: -0.03em; --my: -0.06em; --mr: -1.6deg; }
.loose .say mark i:nth-of-type(2) { left: 32%; --mx: 0em; --my: 0.07em; --mr: 1deg; }
.loose .say mark i:nth-of-type(3) { left: 64%; --mx: 0.03em; --my: -0.04em; --mr: -1.2deg; }

.one { justify-content: flex-end; padding-bottom: max(76px, 22svh); }
.one .wrap { width: min(1320px, 100%); }
.one h2 { text-align: center; }
.one h2 .lit { display: block; }
.close-answer { max-width: 40em; margin: 18px auto 0; color: var(--muted); font-size: 1rem; line-height: 1.6; text-align: center; text-wrap: balance; }
.five { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin-top: 30px; }
.work .wrap { padding-bottom: 28px; }
.card {
  position: relative; display: flex; flex-direction: column; padding: 20px 20px 8px; overflow: hidden;
  border-radius: 20px;
  --arrive: 0; opacity: var(--arrive); transform: translateY(44px); transition: --arrive 0.7s, transform 0.95s var(--ease-out), background-color 0.2s;
  transition-delay: calc(var(--i) * 60ms);
}
.in .card { --arrive: 1; transform: none; }
.card h3 { font-size: 1.1875rem; font-weight: 600; }
.card p { margin-top: 6px; font-size: 0.9375rem; line-height: 1.4; min-height: 2.8em; text-wrap: balance; }
.card .art { display: block; width: calc(100% + 16px); max-width: none; height: auto; aspect-ratio: 1; margin: auto -8px -4px; transition: scale 0.5s var(--ease-out); }
.card:hover .art { scale: 1.04; }
.card-more { display: inline-flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; min-height: 44px; padding: 0; border: 0; border-top: 1px solid; background: none; font-size: 0.875rem; font-weight: 500; cursor: pointer; }
.card-more::after { content: ""; position: absolute; inset: 0; }
.card-more .ico { width: 16px; height: 16px; transition: transform 0.25s var(--ease-out); }
/* The arrow leaves on a diagonal and comes back pointing up-right: the gesture of opening (Owner, 2026-11-12). */
.card:hover .card-more .ico { animation: dk-go 0.6s var(--ease-out) forwards; }
@keyframes dk-go { 0% { transform: none; opacity: 1; } 40% { transform: translate(9px, -9px) rotate(-45deg); opacity: 0; } 41% { transform: translate(-9px, 9px) rotate(-45deg); opacity: 0; } 100% { transform: rotate(-45deg); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .card:hover .card-more .ico { animation: none; } }

.work { padding: 118px var(--gutter) 24px; }
.work h2 { font-size: clamp(2rem, 1rem + 2.6vw, 3.2rem); }
.work h2 .lit { display: inline; }
.work-in { display: flex; flex-direction: column; align-items: center; gap: 22px; width: min(1320px, 100%); margin-inline: auto; text-align: center; }
.film { position: relative; width: min(100%, calc((100svh - 250px) * 16 / 9)); aspect-ratio: 16 / 9; border-radius: 22px; overflow: hidden; background: #03050c; box-shadow: 0 0 0 1px rgba(var(--sky), 0.22), 0 30px 80px rgba(0, 24, 110, 0.5); }
.film video { display: block; width: 100%; height: 100%; object-fit: cover; }
/* Phones play the vertical 2:3 cut (round 4, 2026-11-17; app.js switches below 820 px; Owner: the 4:5 box sat small,
   it should take more of the screen's height). The box takes its shape and fills the screen: as tall as the space
   under the title and as wide as the screen less 12 px each side, past the column's gutter. The chapter gives it more
   room on phones: 96 px at the top (the 72 px menu and a step) and 8 + 8 px below, so the space taken around the box is
   96 + 8 + 8 px, the label and title (up to 106 px) and the 22 px gap: 240 px, kept at 244. */
@media (max-width: 819px) {
  .work { padding-top: 96px; padding-bottom: 8px; }
  .work .wrap { padding-bottom: 8px; }
  .film { width: clamp(240px, min(calc(100vw - 24px), calc((100svh - 244px) * 2 / 3)), 100vw); aspect-ratio: 2 / 3; border-radius: 20px; }
}
/* Work's video waits for the visitor (Owner, 2026-11-05): a glass play button over the poster starts it, and once it
   plays the button shrinks to the corner as a pause button. Leaving the scene pauses it. */
.film::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 60% at 50% 50%, rgba(2, 6, 18, 0.5), rgba(2, 6, 18, 0.2)); pointer-events: none; transition: opacity 0.6s var(--ease-out); }
.film.playing::after { opacity: 0; }
.film button { position: absolute; z-index: 1; left: 50%; top: 50%; translate: -50% -50%; display: grid; place-items: center; width: 92px; height: 92px; padding: 0; border: 0; border-radius: 50%; background: rgba(10, 20, 44, 0.5); color: #fff; box-shadow: inset 0 0 0 1px rgba(var(--sky), 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 0 40px rgba(0, 120, 255, 0.35); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); cursor: pointer; transition: left 0.6s var(--ease-out), top 0.6s var(--ease-out), translate 0.6s var(--ease-out), width 0.6s var(--ease-out), height 0.6s var(--ease-out), background 0.3s, opacity 0.4s; }
.film button::before { content: ""; position: absolute; inset: -1px; border-radius: 50%; box-shadow: 0 0 0 0 rgba(0, 180, 250, 0.45); animation: film-ring 2.4s ease-out infinite; }
@keyframes film-ring { 0% { box-shadow: 0 0 0 0 rgba(0, 180, 250, 0.45); } 70%, 100% { box-shadow: 0 0 0 22px rgba(0, 180, 250, 0); } }
.film button svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.film .i-play { fill: currentColor; translate: 2px 0; }
.film .i-pause, .film.playing .i-play { display: none; }
.film.playing .i-pause { display: block; }
.film.playing button { left: calc(100% - 36px); top: calc(100% - 36px); width: 44px; height: 44px; background: rgba(8, 14, 28, 0.72); box-shadow: inset 0 0 0 1px rgba(var(--sky), 0.3); opacity: 0.7; }
.film.playing button::before { animation: none; }
.film.playing button svg { width: 18px; height: 18px; stroke-width: 2.4; }
.film.playing:hover button, .film.playing button:focus-visible { opacity: 1; }

.route { justify-content: flex-start; padding-top: clamp(88px, 12svh, 116px); }
.route .wrap { width: min(1320px, 100%); display: grid; grid-template-columns: minmax(0, 0.96fr) minmax(0, 1fr); gap: 48px; align-items: center; height: calc(100svh - 170px); }
.route h2 .lit { display: block; }
.sheet { position: relative; border-radius: 26px; transform: perspective(1500px) rotateX(calc(var(--tilt, 1) * 12deg)) rotateY(calc(var(--tilt, 1) * -18deg)) translateY(calc(var(--tilt, 1) * 30px)); }
.sheet-head { display: flex; justify-content: space-between; border-bottom: 1px solid rgba(var(--sky), 0.2); font-size: 0.9375rem; color: #c4cede; }
.sheet-head span:first-child { color: var(--ink); font-weight: 500; }
.steps { position: relative; margin-top: 8px; }
.steps::before, .steps::after { content: ""; position: absolute; left: 21px; width: 2px; }
.steps::after { transform: scaleY(var(--q, 0)); transform-origin: top; }
.steps li { position: relative; z-index: 1; display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; padding: 16px 0; transition: opacity 0.4s; }
.steps .n { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.02em; transition: background-color 0.35s, color 0.35s, box-shadow 0.35s; }
.steps h3 { font-size: 1.375rem; font-weight: 500; letter-spacing: -0.02em; }
.steps p { margin-top: 4px; color: #c4cede; }
.sheet-foot { margin-top: 6px; padding-top: 16px; font-size: 1.0625rem; font-weight: 500; opacity: clamp(0, calc((var(--q, 0) - 0.9) * 10), 1); }

.toronto .wrap { width: min(1320px, 100%); position: relative; z-index: 1; }
.toronto-in { display: grid; grid-template-columns: min(640px, 100%); justify-content: end; justify-items: start; }
.toronto-in h2 .lit { display: block; }
.toronto-in .lede { margin-top: 18px; max-width: 560px; color: #dbe2ef; }
#city { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: 0; visibility: hidden; object-fit: cover; object-position: 30% 50%; -webkit-mask-image: var(--mk, none); mask-image: var(--mk, none); }
/* Pass 12: the city's own light, small and soft, under the city: it fills the gaps where the render's floor stood. */
#city-haze { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: 0; visibility: hidden; object-fit: cover; object-position: 30% 50%; filter: blur(26px) brightness(1.3) saturate(1.1); -webkit-mask-image: var(--mk, none); mask-image: var(--mk, none); pointer-events: none; }
/* The Toronto flight's live floor and dark ground, under the city frames (pass 9). */
#about { position: absolute; top: 72%; }
.osm { position: absolute; right: 16px; bottom: 4px; z-index: 1; padding: 14px 8px; color: #c4cede; font-size: 0.75rem; text-decoration: none; text-shadow: 0 0 4px #03050c, 0 0 10px #03050c; opacity: 0; visibility: hidden; transition: opacity 0.9s, visibility 0s 0.9s; }
.osm.on { opacity: 0.65; visibility: visible; transition: opacity 0.5s; }
.osm:hover { color: #fff; }
/* The FAQ and the close sit on a dark veil over the world. Its edges fade over a fixed 280 px, so no line shows. */
.free { padding-block: var(--section); background: linear-gradient(transparent, rgba(5, 7, 13, 0.82) 280px, rgba(5, 7, 13, 0.82) calc(100% - 280px), transparent); }

/* Scene changes: each kind shapes the content as it arrives and leaves (the script sets --op, --ty, --sc, --bl, --br,
   --rx, and a mask --mk on the scene box). The world plays the same change behind it. */
.pin > *, .free > .wrap, .footer-map > * { opacity: var(--op, 1); translate: var(--tx, 0px) var(--ty, 0px); scale: var(--sc, 1); }
.fading > *, .free.fading > .wrap { filter: blur(var(--bl, 0px)) brightness(var(--br, 1)); rotate: x var(--rx, 0deg); transform-origin: 50% 100%; }
.fading > .pin { perspective: 1400px; }
/* The shorthand, so a mask can carry its own position and size (the monogram window). */
.pin, .free > .wrap { -webkit-mask: var(--mk, none); mask: var(--mk, none); }
/* Scenes with frosted glass in them (the Solutions cards, the plan, the FAQ, the hero's strip and buttons). A pane can
   only frost the world behind it when none of its ancestors has an opacity, a filter or a mask; otherwise it frosts
   nothing and shows clear until the change ends (Owner, pass 9: "las tarjetas entran con estilo clear-transparente y
   luego ajustan su estilo"). In these scenes the scene box keeps only the movement, and each piece (data-carry, set by
   the script) carries the fade, the blur and its own copy of the mask. */
.deep .pin > *, .deep.free > .wrap { opacity: 1; }
.deep.fading > *, .deep.free.fading > .wrap { filter: none; }
.deep .pin, .deep.free > .wrap { -webkit-mask: none; mask: none; }
.deep [data-carry] { opacity: calc(var(--arrive) * var(--op, 1)); -webkit-mask: var(--mko, none); mask: var(--mko, none); }
.deep.fading [data-carry] { filter: blur(var(--bl, 0px)) brightness(var(--br, 1)); }
/* Lines of light that lead a scan, a sweep or the horizon across the screen, and the bloom of a flash. */
.fx-line { position: fixed; z-index: 0; top: 0; left: 0; pointer-events: none; opacity: 0; }
.fx-y { width: 100%; height: 2px; margin-top: -1px; background: linear-gradient(90deg, transparent, rgba(0, 180, 250, 0.9) 18%, #d9f4ff 50%, rgba(0, 180, 250, 0.9) 82%, transparent); box-shadow: 0 0 18px 2px rgba(0, 150, 255, 0.7), 0 0 60px 8px rgba(0, 67, 255, 0.35); }
.fx-x { width: 2px; height: 100%; margin-left: -1px; background: linear-gradient(transparent, rgba(0, 180, 250, 0.9) 12%, #d9f4ff 50%, rgba(0, 180, 250, 0.9) 88%, transparent); box-shadow: 0 0 18px 2px rgba(0, 150, 255, 0.7), 0 0 60px 8px rgba(0, 67, 255, 0.35); }
.fx-bloom { position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: 0; background: radial-gradient(ellipse 80% 70% at var(--bx, 50%) var(--by, 58%), rgba(170, 225, 255, 0.95), rgba(0, 150, 255, 0.6) 30%, rgba(0, 67, 255, 0.22) 58%, transparent 80%); mix-blend-mode: screen; }
/* Logo transitions (round 3, second pass): the official monogram in light, its three gems, and the glass monogram. */
.fx-logo { position: fixed; left: 0; top: 0; z-index: 0; opacity: 0; pointer-events: none; background: center / contain no-repeat; will-change: transform, opacity; }
.fx-mark { background-image: url(assets/dk-iso.svg); filter: brightness(1.5) drop-shadow(0 0 18px rgba(0, 180, 250, 0.85)) drop-shadow(0 0 60px rgba(0, 67, 255, 0.6)); mix-blend-mode: screen; }
.fx-gem { filter: brightness(1.25) drop-shadow(0 0 22px rgba(0, 180, 250, 0.7)); }
.fx-glass { background-image: url(assets/crown.webp); mix-blend-mode: screen; filter: brightness(1.2) drop-shadow(0 0 40px rgba(0, 120, 255, 0.5)); }
.fx-dust { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
/* The Toronto entrance "light" (pass 9): a veil blurs the city outside the light from the centre, and a wide glow of
   DK blue light runs just inside its edge. */
.fx-haze { position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: 0; -webkit-backdrop-filter: blur(var(--hb, 14px)) brightness(1.25); backdrop-filter: blur(var(--hb, 14px)) brightness(1.25); -webkit-mask: var(--hm, none); mask: var(--hm, none); }
.fx-ring { position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: 0; mix-blend-mode: screen; }
.footer-map > :nth-child(2) { translate: 0 calc(var(--ty, 0px) / 36 * 56); }
.footer-map > :nth-child(3) { translate: 0 calc(var(--ty, 0px) / 36 * 76); }
.footer-map > :nth-child(4) { translate: 0 calc(var(--ty, 0px) / 36 * 96); }
.footer-map > :nth-child(5) { translate: 0 calc(var(--ty, 0px) / 36 * 116); }

/* Cinema: while the explainer plays, everything around it dims. */
body::after { content: ""; position: fixed; inset: 0; z-index: -1; background: rgba(2, 4, 10, 0.72); opacity: 0; pointer-events: none; transition: opacity 0.9s var(--ease-out); }
html.cinema body::after { opacity: 1; }
html.cinema .nav { opacity: 0.55; transition: opacity 0.9s var(--ease-out); }
html.cinema .nav:hover, html.cinema .nav:focus-within { opacity: 1; }
.faq-grid { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.faq-list { interpolate-size: allow-keywords; border-radius: 26px; }
.faq-list details + details { border-top: 1px solid rgba(var(--sky), 0.16); }
.faq-list details::details-content { block-size: 0; overflow: clip; opacity: 0; transition: block-size 0.42s var(--ease-out), opacity 0.3s, content-visibility 0.42s allow-discrete; }
.faq-list details[open]::details-content { block-size: auto; opacity: 1; }
.faq-list summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  min-height: 68px; padding: 12px 0; cursor: pointer; list-style: none; font-size: 1.125rem; font-weight: 500; line-height: 1.3;
  transition: color 0.18s;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { flex: none; color: var(--accent); font-size: 1.5rem; font-weight: 400; }
.faq-list details p { padding-bottom: 22px; color: #c4cede; max-width: 40em; }


#start { padding: 0; background: none; }
.close-cta { margin-top: 26px; }
.close-in { position: sticky; top: 0; display: grid; align-content: start; justify-items: center; height: 100svh; text-align: center; }
html.still .close-in { position: static; height: auto; padding-block: 96px; }
.close-in .lede { margin-top: 14px; color: #dbe2ef; }
.footer { position: relative; border-radius: 26px 26px 0 0; color: rgba(241, 247, 254, 0.68); font-size: 0.875rem; }
.footer-map { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(4, minmax(0, 1fr)); }
.footer-id { display: grid; justify-items: start; align-content: start; gap: 18px; line-height: 1.45; }
/* The official address (Owner, 2026-11-22): each line breaks only at its seam on narrow columns. */
.footer-addr .nw { white-space: nowrap; }
.footer-pill { display: inline-flex; align-items: center; gap: 9px; padding: 7px 14px 7px 12px; border-radius: 999px; color: var(--ink); font-size: 0.8125rem; }
.footer-pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; }
.footer-copy { font-size: 0.8125rem; }
.footer-social { display: flex; gap: 8px; }
.footer-map .footer-social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; transition: box-shadow 0.25s; }
.footer-social img { width: auto; height: 16px; }
.footer-map nav { display: grid; justify-items: start; align-content: start; gap: 2px; }
.footer-map h2 { margin-bottom: 10px; color: var(--ink); font-size: 0.875rem; font-weight: 500; letter-spacing: 0; line-height: 1.4; }
.footer-map a, .footer-map button { display: inline-flex; align-items: center; padding: 0; border: 0; color: inherit; font-size: 0.875rem; text-align: left; text-decoration: none; cursor: pointer; }
@media (max-width: 1020px) {
  .footer-map { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-id { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .footer-map a, .footer-map button { min-height: 40px; }
}

.panel-head { display: flex; justify-content: space-between; gap: 16px; color: var(--muted); font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; }
.progress { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; margin-top: 14px; }
.progress li { height: 2px; overflow: hidden; }
.progress li::after { content: ""; display: block; height: 100%; transform: scaleX(0); transform-origin: left; transition: transform 0.32s var(--ease-in-out); }
.progress li.on::after { transform: none; }
.step { margin-top: 24px; animation: step-in 0.3s var(--ease-out); }
@keyframes step-in { from { opacity: 0; transform: translateX(var(--from, 16px)); } }
.step legend:focus { outline: 0; }
.step legend { padding: 0; font-size: 1.625rem; font-weight: 600; line-height: 1.2; letter-spacing: -0.02em; }
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 20px; }
.tiles-one { grid-template-columns: 1fr; }
#form-solutions .tile:last-of-type { grid-column: 1 / -1; }
.tile { position: relative; display: block; cursor: pointer; }
.tile input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.tile span {
  display: flex; flex-direction: column; justify-content: center; gap: 2px; height: 100%; min-height: 64px; padding: 12px 16px; font-weight: 500; line-height: 1.3;
  transition: box-shadow 0.16s, background-color 0.16s, transform 0.16s var(--ease-out);
}
.tile small { color: var(--muted); font-size: 0.875rem; font-weight: 400; }
.tile input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.tile:active span { transform: scale(0.98); }
.field { display: block; margin-top: 16px; font-size: 0.9375rem; }
.field span { display: block; margin-bottom: 6px; }
.field textarea { resize: vertical; font: inherit; line-height: 1.5; color: inherit; }
.field select { color: inherit; font: inherit; cursor: pointer; }
.field select option { background: #0e1320; color: #e8ecf4; }
.field-count { display: block; margin-top: 6px; font-size: 0.75rem; color: var(--muted); text-align: right; }
.field input, .field select, .field textarea { width: 100%; min-height: 52px; padding: 0 14px; border: 1px solid var(--line-strong); }
.error { margin-top: 12px; color: #ffb4a8; font-size: 0.9375rem; }
.error a { color: inherit; }
/* The form's bot trap: off screen, out of the tab order and hidden from screen readers. */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.review { margin-top: 20px; }
.review div { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.review dt { color: var(--muted); font-size: 0.9375rem; }
.review dd { overflow-wrap: anywhere; }
.form-nav { display: flex; justify-content: flex-end; gap: 8px; margin-top: 24px; }
/* Plan form (UX review 2026-11-12): "Back" reads as a quiet text key next to "Continue" (L1); in the dialog, the
   step count and the progress bar leave room for the close key (P4). */
.form-nav #back, html .form-nav #back { flex: 0 0 auto; background: none; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; color: var(--muted); padding-inline: 12px; }
.form-nav #back::before, .form-nav #back::after { display: none; }
.form-nav #back:hover { color: var(--ink); background: none; }
#plan-sheet .panel-head, #plan-sheet .progress { margin-right: 52px; }
.step-hint { margin: 4px 0 14px; color: var(--muted); font-size: 0.875rem; }
.step-done { padding-block: 28px 8px; text-align: center; outline: 0; }
.step-done svg { width: 80px; margin: 0 auto 16px; overflow: visible; fill: none; }
.done-gem { fill: var(--primary); stroke-width: 1; animation: settle 0.8s var(--ease-out); transform-origin: 40px 40px; }
.done-line { stroke: rgba(255, 255, 255, 0.5); stroke-width: 1; }
@keyframes settle { from { transform: scale(0.7) rotate(-20deg); opacity: 0.2; } }
.step-done p { margin-top: 6px; color: var(--muted); }
.privacy { margin-top: 18px; color: var(--muted); font-size: 0.8125rem; }


@media (max-width: 1020px) {
  .nav { justify-content: space-between; }
  .five { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .five .card:last-child { grid-column: 1 / -1; }
  .card { min-height: 0; }
  .card-more { margin-top: 8px; }
  .faq-grid { grid-template-columns: 1fr; }
  .one { padding-bottom: 20px; }
}
@media (max-width: 640px) {
  :root { --gutter: 16px; }
  .nav-logo img { width: 138px; }
  .hero { padding: 92px 22px 34px; }
  .hero h1 { font-size: 10vw; }
  .hero.big h1 { font-size: 13vw; }
  .hero .label { margin-bottom: 18px; font-size: 0.8125rem; }
  .hero .lede { margin-top: auto; font-size: 1rem; text-shadow: 0 1px 12px var(--black); }
  .hero .actions { width: 100%; margin-top: 18px; }
  .strip { gap: 0; margin-bottom: 18px; }
  .strip li { padding: 4px 7px; font-size: 0.75rem; }
  .strip li + li::before { margin-right: 11px; }
  .actions .btn { width: 100%; }
  .actions .btn-quiet { display: none; }
  .tiles { grid-template-columns: 1fr; }
  .form-nav .btn { flex: 1; }
  .review div { grid-template-columns: 1fr; gap: 2px; }
  .one { padding-bottom: 7svh; }
  .five { grid-template-columns: 1fr; gap: 6px; margin-top: 16px; }
  .five .card:last-child { grid-column: auto; }
  .card { padding: 10px 14px; border-radius: 14px; min-height: 0; }
  .card h3 { font-size: 1rem; padding-right: 64px; }
  .card p { font-size: 0.8125rem; min-height: 2.8em; padding-right: 64px; }
  .card .art { position: absolute; right: 2px; top: 50%; width: 62px; margin: -31px 0 0; }
  .card-more { min-height: 0; margin: 0; border: 0; font-size: 0; }
  .card-more .ico { display: none; }
  .faq-list { padding: 4px 18px; }
  .one h2 { font-size: 1.9rem; }
  .close-answer { font-size: 0.9375rem; text-wrap: pretty; }
  .toronto h2 { font-size: 2rem; }
  .route .wrap { display: block; height: auto; }
  .sheet { margin-top: 20px; padding: 18px 18px 20px; transform: none; }
  .steps::before, .steps::after { top: 22px; bottom: 26px; }
  .steps li { padding: 10px 0; }
  .steps h3 { font-size: 1.125rem; }
  .steps p { font-size: 0.875rem; }
}
html.still .ch { height: auto; }
html.still #city, html.still #city-haze, html.still .osm { display: none; }
html.still #about { top: 0; }
html.still .toronto { background: url("assets/toronto/d/f199.webp") 30% 50% / cover no-repeat; }
@media (max-width: 819px), (orientation: portrait) {
  .toronto { justify-content: flex-end; padding-bottom: 28px; }
  .toronto-in { justify-content: start; }
  .toronto::before { content: ""; position: absolute; inset: auto 0 0; height: 62%; background: linear-gradient(transparent, rgba(3, 5, 12, 0.88) 42%); opacity: 0; transition: opacity 0.6s; }
  .in .toronto::before { opacity: var(--seen, 1); }
  #city, #city-haze { object-position: 50% 50%; }
  html.still .toronto { background-image: url("assets/toronto/p/f198.webp"); background-position: 50% 50%; }
  html.still .toronto::before { opacity: 1; }
}
html.still .pin { position: relative; height: auto; min-height: 90svh; overflow: clip visible; padding-block: 96px; }
html.still .hero { height: 100svh; }
html.still .hero::after { content: ""; position: absolute; inset: auto 0 0; height: 44svh; background: url("assets/crown.webp") center bottom / contain no-repeat; }
/* Phones: the hero's lede and key sit at the bottom, so the still crown takes the free middle instead of covering them. */
@media (max-width: 640px) { html.still .hero::after { inset: 36svh 0 auto; height: 30svh; background-position: center; } }
html.still [data-rise], html.still .card, html.still [data-words] .w > span { --arrive: 1; opacity: 1; transform: none; transition: none; }
html.still .say mark::before { transform: none; }
html.still .route .wrap { height: auto; }
html.still .sheet { transform: none; }
html.still .steps li { opacity: 1; }
html.still .steps::after { transform: none; }
html.still .sheet-foot { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero .a, .step, .done-gem { animation: none; }
  .rot { transition: none; }
  .btn:active, .tile:active span { transform: none; }
  html.menu-open .mn-sheet-in > * { animation: none; }
  .mn-panel, .mn-sheet { transition: none; translate: none; }
}

/* Soft interface, chosen by the Owner in round 2. */
html .btn, html .card, html .cut { clip-path: none; }
html .cut::before { clip-path: none; border-radius: inherit; }
html .card { overflow: hidden; }



html { --r-btn: 16px; --r-card: 22px; }
html .btn { position: relative; isolation: isolate; border-radius: var(--r-btn); transition: transform 0.35s var(--ease-out), box-shadow 0.35s; }
html .btn-quiet {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
/* The grain inside the key, below the label. */
html .btn::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--grain); mix-blend-mode: soft-light; opacity: 0.5; pointer-events: none; }
html .btn-quiet::after { opacity: 0.35; }
/* The foil ring: outside the primary key (with a 2 px dark gap), on the glass button's own edge. */
html .btn::before {
  content: ""; position: absolute; inset: -3.5px; border-radius: calc(var(--r-btn) + 3.5px); padding: 1.5px; pointer-events: none;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  opacity: 0.55; transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
html .btn-quiet::before { inset: 0; border-radius: inherit; padding: 1px; opacity: 0.6; }
html .btn:hover::before, html .btn:focus-visible::before { opacity: 1; }
@media (forced-colors: active) { html .btn::before, html .btn::after { display: none; } }
html .card { color: var(--ink); }
html .card p { color: #c4cede; }
.card::before { content: ""; position: absolute; inset: 0; z-index: 1; padding: 1px; border-radius: inherit; background: var(--sheen) var(--foil-s) 0 / 320% 100% no-repeat, var(--holo) var(--foil) 0 / 260% 100%; -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); opacity: 0; pointer-events: none; transition: opacity 0.45s var(--ease-out); }
.card:hover::before, .card:focus-within::before { opacity: 0.95; }
html .cut { border-radius: var(--r-card); }

/* Sheets: the form and each solution's detail, in the site's glass. */
.sheet-d { width: min(760px, calc(100% - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 0; border-radius: 26px; color: var(--ink); overscroll-behavior: contain; }
.sheet-d[open] { animation: sheet-in 0.5s var(--ease-out); }
.sheet-d::backdrop { background: rgba(3, 6, 14, 0.62); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
@keyframes sheet-in { from { opacity: 0; transform: translateY(24px) scale(0.985); } }
.sheet-in { position: relative; padding: clamp(24px, 4vw, 40px); }
.sheet-x { position: absolute; right: 14px; top: 14px; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; color: var(--muted); cursor: pointer; }
.sheet-x:hover { color: var(--ink); }
.panel-head { padding-right: 44px; }
.panel-head span { white-space: nowrap; }
#solution-name:focus { outline: 0; }
.solution-art { right: 40px; top: 48px; pointer-events: none; }
.sheet-in h2 { max-width: 12em; padding-right: 150px; font-size: clamp(2rem, 1.5rem + 1.6vw, 2.75rem); }
.solution-line { margin-top: 10px; padding-right: 170px; color: #dbe2ef; font-size: 1.125rem; line-height: 1.4; }
.detail { margin: 26px 0 28px; }
.detail div { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 16px; padding: 14px 0; border-top: 1px solid rgba(var(--sky), 0.16); }
.detail dt { font-size: 0.9375rem; }
.tile span { border-radius: 12px; }
.field input, .field select, .field textarea { border-radius: 12px; }
@media (max-width: 640px) {
  .solution-art { right: 14px; top: 58px; width: 84px; }
  .panel-head { letter-spacing: 0.08em; font-size: 0.75rem; }
  .sheet-in h2 { padding-right: 96px; font-size: 1.9rem; }
  .solution-line { padding-right: 96px; font-size: 1rem; }
  .detail div { grid-template-columns: 1fr; gap: 2px; }
  .sheet-in .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .sheet-d[open] { animation: none; } }

/* Legal page: one calm column, no world behind it. */
.legal-top { position: fixed; inset: 0 0 auto; z-index: 20; display: flex; align-items: center; justify-content: space-between; height: 72px; padding-inline: max(var(--gutter), calc((100% - 1320px) / 2)); background: linear-gradient(rgba(5, 7, 13, 0.96) 70%, transparent); }
.legal-top img { width: 148px; height: auto; }
.legal { width: min(760px, 100%); margin-inline: auto; padding: 132px var(--gutter) 72px; }
.legal h1 { font-size: clamp(2.3rem, 1.3rem + 3.5vw, 4.1rem); line-height: 1.02; }
.legal-jump { display: flex; flex-wrap: wrap; gap: 4px 20px; margin-top: 18px; }
.legal-jump a { display: inline-flex; align-items: center; min-height: 44px; }
.legal section { margin-top: 40px; padding-top: 32px; border-top: 1px solid rgba(var(--sky), 0.16); scroll-margin-top: 80px; }
.legal h2 { font-size: clamp(1.625rem, 1.4rem + 0.8vw, 2.125rem); }
.legal section p, .legal section ul { margin-top: 14px; color: #c4cede; max-width: 40em; }
.legal section li + li { margin-top: 8px; }
.legal .pending { padding: 12px 16px; border-radius: 12px; color: var(--ink); font-size: 0.9375rem; }
.legal-foot { width: min(760px, 100%); margin-inline: auto; padding: 0 var(--gutter) 28px; color: var(--muted); font-size: 0.875rem; }

/* DK glass (Owner, 2026-11-06): the canvas over the content draws the glass; the DOM keeps the real text and labels.
   z-index 10 sits above the page and below the menu (20); dialogs are in the top layer. */
#glass { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 10; pointer-events: none; }
html.glass main .btn.g, html.glass main .btn.g:hover { background: transparent; box-shadow: none; border-radius: 999px; color: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; }
html.glass main .btn.g::before, html.glass main .btn.g::after { display: none; }
html.glass main .btn.g:focus-visible { outline-color: var(--accent); }

/* Glass surfaces (round 3, pass 4; Owner, 2026-11-06: "Me siguen cargando estilos viejos ... Revisa toda la web
   completa pixel por pixel"). Every panel is DK glass: a clear, frosted body here, and the living blue chrome light on
   its edge drawn by the canvas (src/glass.js, kind "panel"). Without the canvas the edge is a blue chrome hairline. */
:root {
  --pane: linear-gradient(165deg, rgba(237, 247, 255, 0.075), rgba(237, 247, 255, 0.018) 36%, rgba(5, 9, 22, 0.44));
  --pane-deep: linear-gradient(165deg, rgba(237, 247, 255, 0.075), rgba(9, 15, 34, 0.78) 30%, rgba(4, 7, 16, 0.92));
  --pane-edge: inset 0 0 0 1px rgba(51, 219, 255, 0.22), inset 0 1px 0 rgba(237, 247, 255, 0.14);
  --pane-shadow: 0 30px 80px rgba(0, 8, 40, 0.45);
  --pane-blur: blur(22px) saturate(1.5);
  --chrome-line: linear-gradient(90deg, transparent, #0080ff 18%, #33dbff 42%, #edf7ff 50%, #33dbff 58%, #0080ff 82%, transparent);
}
html.glass { --pane-edge: inset 0 0 0 1px rgba(237, 247, 255, 0.07), inset 0 1px 0 rgba(237, 247, 255, 0.12); }
html .card, .sheet, .faq-list, .strip { background: var(--pane); box-shadow: var(--pane-edge), var(--pane-shadow); -webkit-backdrop-filter: var(--pane-blur); backdrop-filter: var(--pane-blur); }
html.glass .card::before { display: none; }
html.glass .hero .lit, html.glass main h2 .lit { opacity: 0; }
/* Until the glass draws it, the hero's phrase is not shown in the CSS chrome either (index.html, src/app.js). */
html.glass-wait .hero .lit { opacity: 0; }
/* The canvases of the menu and the dialogs. */
.glass-nav { position: absolute; left: 0; top: 0; z-index: 6; width: 100%; height: min(100vh, 640px); pointer-events: none; }
.glass-sheet { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; pointer-events: none; }
html.glass .btn.g, html.glass .btn.g:hover { background: transparent; box-shadow: none; border-radius: 999px; color: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; }
html.glass .btn.g::before, html.glass .btn.g::after { display: none; }
html.glass .btn.g:focus-visible { outline-color: var(--accent); }

/* The menu: the capsules and the mega menus are glass. The capsule takes no backdrop blur (it would box the panels in). */
.mn-pill, .mn-acct { background: linear-gradient(165deg, rgba(237, 247, 255, 0.07), rgba(8, 13, 28, 0.82) 60%); }
.mn-panel { background: var(--pane-deep); box-shadow: var(--pane-edge), 0 30px 80px rgba(0, 8, 40, 0.55); -webkit-backdrop-filter: var(--pane-blur); backdrop-filter: var(--pane-blur); }
.mn-sc:hover, a.mn-item:hover { box-shadow: inset 0 0 0 1px rgba(237, 247, 255, 0.08); }
.mn-sc ul, .mn-panel-foot { border-top-color: rgba(237, 247, 255, 0.08); }
.mn-sc li::before { opacity: 1; }
.mn-feature { background: rgba(237, 247, 255, 0.04); box-shadow: inset 0 0 0 1px rgba(237, 247, 255, 0.08); }
.mn-feature.help { background: radial-gradient(260px circle at 88% 0%, rgba(0, 128, 255, 0.26), transparent 70%), linear-gradient(165deg, rgba(237, 247, 255, 0.06), rgba(237, 247, 255, 0.015)); box-shadow: inset 0 0 0 1px rgba(237, 247, 255, 0.09), inset 0 1px 0 rgba(237, 247, 255, 0.12); }
.mn-user::after { background: rgba(9, 15, 32, 0.94); }
.mn-sheet { background: rgba(3, 6, 14, 0.82); }
.mn-row, .mn-acc summary { border-bottom-color: rgba(237, 247, 255, 0.08); }

/* The strip's separators: small blue chrome lights instead of triangles (no triangles as icons). */

/* The problem: "in pieces." sits on plates of blue chrome glass (was a flat Electric Blue block). A glint of light runs
   across them, slowly. */
.say mark::before, .loose .say mark i {
  background: linear-gradient(100deg, transparent 38%, rgba(237, 247, 255, 0.34) 48%, rgba(237, 247, 255, 0.5) 50%, rgba(237, 247, 255, 0.34) 52%, transparent 62%) 0 0 / 300% 100% no-repeat, linear-gradient(100deg, rgba(0, 67, 255, 0.82), rgba(0, 128, 255, 0.66) 48%, rgba(0, 180, 250, 0.7));
  box-shadow: inset 0 0 0 1px rgba(51, 219, 255, 0.55), inset 0 1px 0 rgba(237, 247, 255, 0.6), 0 0 36px rgba(0, 128, 255, 0.35);
  border-radius: 6px; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  animation: plate-glint 7s linear infinite;
}
.loose .say mark i:nth-of-type(2) { animation-delay: -2.3s; }
.loose .say mark i:nth-of-type(3) { animation-delay: -4.6s; }
@keyframes plate-glint { 0% { background-position: 130% 0, 0 0; } 45%, 100% { background-position: -30% 0, 0 0; } }
html.still .say mark::before { animation: none; }

/* The film's frame. */
html.glass .film { box-shadow: 0 0 0 1px rgba(237, 247, 255, 0.07), 0 30px 80px rgba(0, 24, 110, 0.5); }
.film button:hover { background: rgba(0, 128, 255, 0.3); }

/* How we work: the plan as a sheet of glass. Each step is a glass node that lights from inside as the plan reaches
   it, the line between them is a beam of blue chrome light, and the step just reached sits on a lit glass row. */
.sheet { padding: 28px 34px 30px; background: linear-gradient(165deg, rgba(237, 247, 255, 0.07), rgba(6, 10, 24, 0.66) 34%, rgba(4, 7, 16, 0.8)); }
.sheet-head { align-items: center; border-bottom-color: rgba(237, 247, 255, 0.08); }
.sheet-head span:first-child { display: inline-flex; align-items: center; gap: 10px; }
.sheet-head span:first-child::before { content: ""; width: 7px; height: 7px; border-radius: 50%; }
.steps::before { background: rgba(237, 247, 255, 0.08); }
.steps li::before { content: ""; position: absolute; z-index: -1; inset: 4px -16px; border-radius: 18px; background: linear-gradient(100deg, rgba(0, 128, 255, 0.16), rgba(237, 247, 255, 0.035) 60%); box-shadow: inset 0 0 0 1px rgba(237, 247, 255, 0.08), inset 0 1px 0 rgba(237, 247, 255, 0.1); opacity: 0; transition: opacity 0.5s; }
.steps li.now::before { opacity: 1; }
.steps .n { box-shadow: inset 0 0 0 1px rgba(237, 247, 255, 0.16), inset 0 1px 0 rgba(237, 247, 255, 0.14); }
.steps li.done .n { text-shadow: 0 1px 6px rgba(0, 30, 120, 0.8); box-shadow: inset 0 0 0 1px rgba(237, 247, 255, 0.55), 0 0 22px rgba(0, 180, 250, 0.5); }
.sheet-foot { border-top-color: rgba(237, 247, 255, 0.08); }

/* The FAQ: one sheet of glass. Each question has a small glass key that lights and turns when it opens, and the open
   answer sits on a lit glass row with a line of light beside it. */
.faq-list { padding: 10px 22px; }
.faq-list details { position: relative; padding-inline: 16px; border-radius: 18px; transition: background-color 0.4s; }
.faq-list details + details { border-top-color: rgba(237, 247, 255, 0.07); }
.faq-list details[open] { background: linear-gradient(100deg, rgba(0, 128, 255, 0.12), rgba(237, 247, 255, 0.03) 70%); box-shadow: inset 0 0 0 1px rgba(237, 247, 255, 0.07), inset 0 1px 0 rgba(237, 247, 255, 0.09); }
.faq-list details[open] + details { border-top-color: transparent; }
.faq-list details::after { content: ""; position: absolute; left: 0; top: 18px; bottom: 18px; width: 2px; border-radius: 2px; opacity: 0; transform: scaleY(0.4); transition: opacity 0.4s, transform 0.5s var(--ease-out); }
.faq-list details[open]::after { opacity: 1; transform: none; }
.faq-list summary::after { content: ""; width: 30px; height: 30px; border-radius: 50%; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath d='M15 10v10M10 15h10' stroke='%2333dbff' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") center / 30px no-repeat, rgba(237, 247, 255, 0.04); box-shadow: inset 0 0 0 1px rgba(237, 247, 255, 0.14), inset 0 1px 0 rgba(237, 247, 255, 0.12); transition: transform 0.35s var(--ease-out), background-color 0.3s, box-shadow 0.3s; }
.faq-list details[open] summary::after { transform: rotate(45deg); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath d='M15 10v10M10 15h10' stroke='%23ffffff' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") center / 30px no-repeat, radial-gradient(circle at 34% 28%, rgba(237, 247, 255, 0.5), rgba(0, 128, 255, 0.55) 55%, rgba(0, 67, 255, 0.7)); box-shadow: inset 0 0 0 1px rgba(237, 247, 255, 0.45), 0 0 16px rgba(0, 180, 250, 0.45); }

/* The dialogs: deep glass, glass tiles and fields, the solution's icon beside its title. */
.sheet-d { background: var(--pane-deep); box-shadow: var(--pane-edge), 0 40px 110px rgba(0, 20, 90, 0.6); -webkit-backdrop-filter: var(--pane-blur); backdrop-filter: var(--pane-blur); }
.sheet-in { z-index: 1; }
.sheet-x { z-index: 4; border-radius: 50%; background: rgba(237, 247, 255, 0.04); box-shadow: inset 0 0 0 1px rgba(237, 247, 255, 0.1); transition: color 0.18s, box-shadow 0.25s; }
.solution-top { display: grid; grid-template-columns: minmax(0, 1fr) 132px; gap: 20px; align-items: center; padding-right: 44px; }
.solution-art { position: static; width: 132px; height: 132px; margin: -10px 0 -14px; }
.sheet-in .solution-top h2 { padding-right: 0; }
.solution-top .solution-line { padding-right: 0; }
.detail { margin-top: 22px; }
.progress li { background: rgba(237, 247, 255, 0.1); }
.tile span { background: rgba(237, 247, 255, 0.035); box-shadow: inset 0 0 0 1px rgba(237, 247, 255, 0.1), inset 0 1px 0 rgba(237, 247, 255, 0.08); }
.tile:hover span { box-shadow: inset 0 0 0 1px rgba(237, 247, 255, 0.22), inset 0 1px 0 rgba(237, 247, 255, 0.1); }
.field input, .field select, .field textarea { background: rgba(237, 247, 255, 0.035); border-color: rgba(237, 247, 255, 0.14); transition: border-color 0.2s, box-shadow 0.2s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; }
.review div { border-bottom-color: rgba(237, 247, 255, 0.08); }
@media (max-width: 640px) {
  /* The art sits above the title on phones, so the title and its line get the full width and never orphan a word
     (Owner, 2026-11-22: the pop-ups' symmetry). The close button keeps the top right beside the art. */
  .solution-top { grid-template-columns: minmax(0, 1fr); gap: 10px; padding-right: 0; }
  .solution-art { order: -1; width: 84px; height: 84px; margin: 0; }
  .solution-line, .detail dd { text-wrap: balance; }
  .sheet-in .solution-top h2, .solution-top .solution-line { padding-right: 0; }
  .faq-list { padding: 6px 8px; }
  .faq-list details { padding-inline: 12px; }
  .steps li::before { inset: 2px -10px; }
}

/* The footer: deep glass with a line of blue chrome light along its top edge. */
.footer { background: radial-gradient(52% 300px at 50% 0, rgba(0, 128, 255, 0.16), transparent), var(--pane-deep); box-shadow: inset 0 0 0 1px rgba(237, 247, 255, 0.06), 0 -40px 120px rgba(2, 4, 10, 0.85); }
.footer::before { content: ""; position: absolute; left: 6%; right: 6%; top: 0; height: 1px; }
.footer-pill, .footer-map .footer-social a { background: rgba(237, 247, 255, 0.04); }

/* The close and the footer, one scene (round 3, pass 4). The close stays pinned to the end of the page: the footer is
   pulled up over the last part of the close's own scroll, so it rises into the scene instead of arriving after it, and
   the close's content glides up by --lift (set by the script) to make room. The crown sits just above the label. */
#start { height: calc(130svh + var(--fh, 320px)); }
.close-in { padding-top: clamp(290px, 42svh, 410px); }
.close-in > * { translate: 0 calc(-1 * var(--lift, 0px)); }
.footer { z-index: 1; margin-top: calc(-1 * var(--fh, 320px)); padding-block: 44px 28px; }
.footer-map { gap: 28px 28px; }
.footer-map a, .footer-map button { min-height: 32px; }
/* A heading that is a link keeps the heading's own height, so the five columns start on one line (home scroll review,
   B11: Solutions and Legal sat about 12 px lower). Touch screens keep their 44 px targets (below). */
.footer-map h2 a { min-height: 0; }
html.foot-apart #start { height: 132svh; }
html.foot-apart .footer { margin-top: 0; }
html.still #start { height: auto; }
html.still .footer { margin-top: 0; }

/* Round 3, pass 5. "in pieces." on one plate of blue chrome glass, the official DK gradient, with warped top and bottom
   edges (drawn by the script, the warp follows the scroll). It grows in from the left as the scene arrives. */
.say mark.plated::before { display: none; }
.say mark .plate { position: absolute; z-index: -1; left: -0.04em; right: -0.04em; top: 0.02em; bottom: -0.02em; width: calc(100% + 0.08em); height: calc(100% - 0.0em); overflow: visible; filter: drop-shadow(0 10px 26px rgba(0, 67, 255, 0.4)); clip-path: inset(-30% 100% -30% 0); transition: clip-path 0.8s var(--ease-in-out) 0.15s; }
.in .say mark .plate, .in.say mark .plate { clip-path: inset(-30% -4% -30% 0); }
.say mark .pl-edge { stroke-width: 1.4px; vector-effect: non-scaling-stroke; stroke-linecap: round; opacity: 0.9; }
.say mark .pl-edge.low { opacity: 0.5; }
html.still .say mark .plate { clip-path: none; transition: none; }
/* The close follows the FAQ sooner (Owner: "se siente un retraso"): less empty scroll between the two scenes. */
#questions { padding-bottom: clamp(32px, 4vw, 56px); }
#start { margin-top: -12svh; }
html.still #start { margin-top: 0; }
/* The close's title reads over the beam (Owner: "el rayo esta muy intenso y dificulta la lectura"): the beam is softer
   in this scene, and a soft veil of night sits behind the title and its line. */
#start h2 { position: relative; }
#start h2::before { content: ""; position: absolute; z-index: -1; inset: -34% -14% -52%; background: radial-gradient(closest-side, rgba(3, 5, 12, 0.62), rgba(3, 5, 12, 0.34) 55%, transparent); pointer-events: none; }
/* At 360 the veil's -14% sides ran 14 px past the screen and the page scrolled sideways (Block 8, 2026-11-17). Its edges
   are transparent, so clipping them at the scene's sides changes nothing you can see; clip (not hidden) keeps the sticky close. */
#start { overflow-x: clip; }

/* Round 3, pass 5. The official DK blue, with its gradient, replaces Sky Blue as the accent (Owner: "Seguimos con el color
   Sky Blue - acordamos que lo ibamos a cambiar por el color oficial de DK - El azul con degradado"). The gradient is the
   official logo's own: Electric Blue #0043FF, Sea Blue #0080FF, Sky Blue #00B4FA (assets/dk-iso.svg). Sky Blue now lives
   only as the light end of that gradient, never as a flat colour. Small text stays white for legibility (Electric Blue
   text on the night is 3.1:1); the gradient goes on the marks beside it: icons, dashes, arrows, underlines, keys. */
:root {
  --dk-grad: linear-gradient(100deg, #0043ff 0%, #0080ff 52%, #00b4fa 100%);
  --dk-grad-v: linear-gradient(180deg, #00b4fa 0%, #0080ff 48%, #0043ff 100%);
  --dk-edge: 0, 128, 255;
  --accent: #0080ff;
}
:root:not(.glass) { --pane-edge: inset 0 0 0 1px rgba(var(--dk-edge), 0.26), inset 0 1px 0 rgba(237, 247, 255, 0.14); }
:focus-visible { outline-color: #0080ff; }

/* Menu. */
.mn-pill, .mn-acct, .mn-lang { box-shadow: inset 0 0 0 1px rgba(var(--dk-edge), 0.2), 0 10px 30px rgba(0, 0, 0, 0.25); }
.mn-sep { background: linear-gradient(transparent, rgba(var(--dk-edge), 0.5), transparent); }
.mn-lang a[aria-current] { background: var(--dk-grad); color: #fff; box-shadow: inset 0 1px 0 rgba(237, 247, 255, 0.35); }
.nav em { background: var(--dk-grad); color: #fff; }
.mn-icon { background: linear-gradient(150deg, rgba(0, 128, 255, 0.16), rgba(0, 67, 255, 0.06)); box-shadow: inset 0 0 0 1px rgba(var(--dk-edge), 0.3); }
a.mn-item:hover .mn-icon { background: linear-gradient(150deg, rgba(0, 128, 255, 0.3), rgba(0, 67, 255, 0.14)); box-shadow: inset 0 0 0 1px rgba(var(--dk-edge), 0.55); }
.mn-ic, .mn-mark, .mn-go, .mn-row .ico, .mn-acc .chev, .mn-link .ico, .card-more .ico { stroke: url(#dk-grad); color: #0080ff; }
.mn-go { opacity: 0.6; }
.mn-sc li::before { background: var(--dk-grad); }
.mn-sc:hover, a.mn-item:hover { background: rgba(var(--dk-edge), 0.08); }
.mn-link { color: #fff !important; }
.mn-link { position: relative; }
.mn-link::after { position: absolute; left: 0; right: 0; bottom: -3px; height: 1px; background: var(--dk-grad); transform: scaleX(0.35); transform-origin: 0 50%; opacity: 0.8; transition: transform 0.35s var(--ease-out), opacity 0.35s; }
.mn-link:hover::after { transform: none; opacity: 1; }
.mn-user::after { box-shadow: inset 0 0 0 1px rgba(var(--dk-edge), 0.3); }
.mn-burger { box-shadow: inset 0 0 0 1px rgba(var(--dk-edge), 0.24); }

/* Cards. */
html .card-more { color: #fff; border-top-color: rgba(var(--dk-edge), 0.18); }
html .card:hover { box-shadow: var(--pane-edge), var(--pane-shadow); }

/* Keys outside the page's glass (menu, dialogs, and the fallback): the official gradient with a white label. The face
   behind the label runs Electric Blue to #0057FF (a point on the same gradient), so white reads at 4.6:1 or better;
   Sky Blue shows only where the top edge catches the light. */
html .btn-primary {
  color: #fff;
  background: radial-gradient(90px 60px at var(--mx, 72%) var(--my, 0%), rgba(237, 247, 255, 0.32), rgba(237, 247, 255, 0) 70%), linear-gradient(180deg, #00b4fa 0%, #0080ff 14%, #0057ff 46%, #0043ff 100%);
  box-shadow: inset 0 1px 0 rgba(237, 247, 255, 0.6), inset 0 -1px 0 rgba(3, 5, 12, 0.3), 0 0 0 2px var(--black), 0 14px 34px -16px rgba(0, 67, 255, 0.8);
}
html .btn-primary:hover {
  background: radial-gradient(110px 70px at var(--mx, 72%) var(--my, 0%), rgba(237, 247, 255, 0.42), rgba(237, 247, 255, 0) 70%), linear-gradient(180deg, #00b4fa 0%, #0080ff 16%, #0057ff 48%, #0043ff 100%);
  box-shadow: inset 0 1px 0 rgba(237, 247, 255, 0.75), inset 0 -1px 0 rgba(3, 5, 12, 0.3), 0 0 0 2px var(--black), 0 18px 40px -16px rgba(0, 67, 255, 0.95);
}
html .btn-primary:focus-visible { outline-color: #fff; }
html .btn::before { background: conic-gradient(from var(--angle), #ffffff 0deg, #edf7ff 16deg, #00b4fa 60deg, #0080ff 110deg, #0043ff 160deg, rgba(0, 67, 255, 0.3) 200deg, rgba(0, 67, 255, 0.3) 250deg, #0043ff 285deg, #0080ff 315deg, #00b4fa 340deg, #ffffff 360deg); }
html .btn-quiet { background: radial-gradient(140px 80px at var(--mx, 72%) var(--my, 0%), rgba(0, 67, 255, 0.22), rgba(0, 67, 255, 0) 70%), rgba(8, 14, 28, 0.6); }
html .btn-quiet:hover { background: radial-gradient(160px 90px at var(--mx, 72%) var(--my, 0%), rgba(0, 128, 255, 0.28), rgba(0, 128, 255, 0) 70%), rgba(18, 24, 36, 0.92); }

/* The plan sheet and the FAQ. */
.steps::after { background: var(--dk-grad-v); box-shadow: 0 0 14px rgba(0, 128, 255, 0.6), 0 0 34px rgba(0, 67, 255, 0.35); }
.sheet-head span:first-child::before { background: radial-gradient(circle at 35% 30%, #edf7ff, #0080ff 50%, #0043ff); box-shadow: 0 0 10px rgba(0, 128, 255, 0.8); }
.sheet-foot { -webkit-background-clip: text; background-clip: text; }
.faq-list details::after { background: var(--dk-grad-v); box-shadow: 0 0 10px rgba(0, 128, 255, 0.7); }
.faq-list summary:hover { color: #fff; }
.faq-list summary:hover::after { box-shadow: inset 0 0 0 1px rgba(var(--dk-edge), 0.6), 0 0 14px rgba(0, 67, 255, 0.4); }

/* Dialogs. */
.detail dt { color: #fff; display: flex; align-items: baseline; gap: 10px; }
.detail dt::before { content: ""; flex: none; width: 14px; height: 2px; border-radius: 2px; translate: 0 -0.3em; background: var(--dk-grad); }
.detail div { border-top-color: rgba(var(--dk-edge), 0.16); }
.sheet-x:hover { box-shadow: inset 0 0 0 1px rgba(var(--dk-edge), 0.6); }
.progress li::after { background: var(--dk-grad); box-shadow: 0 0 8px rgba(0, 128, 255, 0.6); }
.tile input:checked + span { background: linear-gradient(100deg, rgba(0, 128, 255, 0.26), rgba(0, 67, 255, 0.14)); box-shadow: inset 0 0 0 1px rgba(var(--dk-edge), 0.8), 0 0 22px rgba(0, 67, 255, 0.3); }
.tile input:focus-visible + span { outline-color: #0080ff; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: #0080ff; box-shadow: 0 0 0 3px rgba(0, 67, 255, 0.28); }
.done-gem { stroke: #0080ff; }

/* Footer. */
.footer::before { background: linear-gradient(90deg, transparent, #0043ff 18%, #0080ff 38%, #edf7ff 50%, #00b4fa 62%, #0043ff 82%, transparent); box-shadow: 0 0 14px rgba(0, 67, 255, 0.6); }
.footer-pill, .footer-map .footer-social a { box-shadow: inset 0 0 0 1px rgba(var(--dk-edge), 0.22); }
.footer-pill::before { background: radial-gradient(circle at 35% 30%, #edf7ff, #0080ff 50%, #0043ff); box-shadow: 0 0 8px rgba(0, 128, 255, 0.6); }
.footer-map .footer-social a:hover { box-shadow: inset 0 0 0 1px #0080ff, 0 0 18px rgba(0, 67, 255, 0.45); }
.footer-map a, .footer-map button { background: var(--dk-grad) 0 100% / 0 1px no-repeat; transition: color 0.25s, background-size 0.35s var(--ease-out); }
.footer-map a:hover, .footer-map button:hover { color: #fff; background-size: 100% 1px; }
.footer-map .footer-social a, .footer-map .footer-social a:hover { background: rgba(18, 24, 36, 0.8); }

/* Elsewhere. */
.film button::before { animation-name: film-ring-dk; }
@keyframes film-ring-dk { 0% { box-shadow: 0 0 0 0 rgba(0, 128, 255, 0.5); } 70%, 100% { box-shadow: 0 0 0 22px rgba(0, 128, 255, 0); } }
/* No underlined links anywhere (Owner, 2026-11-12): the accent colour marks a link, a brighter one answers the cursor. */
.legal-jump a, .legal section a { color: var(--accent); text-decoration: none; transition: color 0.25s; }
.legal-jump a:hover, .legal section a:hover { color: #fff; }
.legal .pending { background: rgba(0, 67, 255, 0.1); box-shadow: inset 0 0 0 1px rgba(var(--dk-edge), 0.3); }

/* The hero strip's dividers (Owner, round 3): the spark, in the official gradient (the Owner chose it, 2026-11-06). */
.strip li + li::before { width: 9px; height: 9px; border-radius: 0; clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%); background: linear-gradient(135deg, #edf7ff, #00b4fa 35%, #0080ff 60%, #0043ff); box-shadow: none; filter: drop-shadow(0 0 4px rgba(0, 128, 255, 0.7)); }
/* The phone menu key and the plan's closing line (pass 5). */
.mn-burger i { background: var(--dk-grad); box-shadow: inset 0 1px 0 rgba(237, 247, 255, 0.4); }
.mn-burger i::before, .mn-burger i::after { background: #fff; }
.sheet-foot { background: none; color: #fff; -webkit-text-fill-color: #fff; border-top: 1px solid transparent; border-image: linear-gradient(90deg, #0043ff, #0080ff 50%, rgba(0, 180, 250, 0)) 1; }
/* The broken plate's cracks: a thin line of light on each broken edge, fading as the shards join. */
.say mark .pl-crack { fill: none; stroke: #edf7ff; stroke-width: 1.2px; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
/* Focus handed back by a dialog closed with the mouse shows no ring; the keyboard ring itself follows the shape it sits on. */
.no-ring:focus-visible, .no-ring:focus { outline: none !important; }
.card-more:focus-visible { outline-offset: 4px; border-radius: 12px; }

/* The rotating word: its width eases between words so the line re-centres smoothly (pass 8). */
.rot { white-space: nowrap; transition: opacity 0.45s, transform 0.6s var(--ease-out), filter 0.45s, width 0.45s var(--ease-in-out); }
.rot.in { transition: none; }

/* The header's plan key (Owner, 2026-11-12). It takes the place of the client-area icon, which now lives only in the
   menu and the footer, and shows once the hero's own key has scrolled away. On phones the menu key folds to its icon
   while the plan key is out, so the logo, the plan key and the menu fit in one row. */
.nav-cta { min-height: 40px; padding: 0 18px; border-radius: 999px; font-size: 0.875rem; font-weight: 600; opacity: 0; visibility: hidden; translate: 0 -6px; transition: opacity 0.3s var(--ease-out), translate 0.4s var(--ease-out), visibility 0s 0.3s; }
html.past-hero .nav-cta { opacity: 1; visibility: visible; translate: none; transition: opacity 0.3s var(--ease-out), translate 0.4s var(--ease-out), visibility 0s; }
@media (max-width: 1180px) { .nav-cta { margin-right: 8px; min-height: 38px; padding: 0 15px; } }
@media (max-width: 640px) {
  .nav-cta { padding: 0 13px; font-size: 0.8125rem; }
  html.past-hero .mn-burger span { display: none; }
  html.past-hero .mn-burger { padding: 0 6px; }
}
@media (prefers-reduced-motion: reduce) { .nav-cta { transition: none; } }
/* Desktop keeps a clean header: the plan key there is a floating card at the foot of the screen (story pages). */
@media (min-width: 1181px) { .nav-cta { display: none; } }

/* ---------- Block 8, the final review (2026-11-17) ---------- */
/* No underline, even on hover (Owner rule): the mega menu's "All solutions" and the footer links change colour only. */
.mn-link::after { content: none; }
.footer-map a, .footer-map button, .footer-map a:hover, .footer-map button:hover { background-image: none; }
/* Past the hero the menu button shows only its icon; its word stays for screen readers (it was display: none). */
html.past-hero .mn-burger span { display: block; position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* iPhone zooms into any field under 16 px when it is tapped. */
.field input, .field select, .field textarea { font-size: max(16px, 1rem); }
/* Touch targets of at least 44 px on phones and tablets. */
@media (max-width: 1180px) {
  .nav-cta { min-height: 44px; }
  .mn-burger { height: 44px; min-width: 44px; }
  html.past-hero .mn-burger { padding: 0 9px; }
}
@media (max-width: 640px), (pointer: coarse) {
  .footer-map a, .footer-map button { min-height: 44px; min-width: 44px; }
  .footer-map h2 a, .ip .footer .footer-map h2 a { display: inline-flex; align-items: center; min-height: 44px; }
  /* every heading takes the same 44 px row, linked (Solutions, Legal) or not (Company, Help), so the two columns share one
     grid: headings level and links on the same rows (final review, 2026-11-22) */
  .footer-map h2 { display: flex; align-items: center; min-height: 44px; }
  .footer-map .footer-social a { width: 44px; height: 44px; }
}
/* No lone last word in the home FAQ questions. */
.faq-list summary { text-wrap: balance; }
/* The beam over text on phones (Owner, 2026-11-17: Block 8 review, follow the recommendation): at phone width the beam
   runs down the same column as the text, so the close's night veil grows to cover its tag, line and key, and the Work
   title gets the same veil. Edges are transparent; the beam still shows around the text. */
@media (max-width: 640px) {
  #start h2::before { inset: -80% -16% -260%; background: radial-gradient(closest-side, rgba(3, 5, 12, 0.8), rgba(3, 5, 12, 0.5) 55%, transparent); }
  #work { overflow-x: clip; } /* the veil's sides stay inside the screen (no sideways scroll) */
  #work h2 { position: relative; }
  #work h2::before { content: ""; position: absolute; z-index: -1; inset: -40% -14% -50%; background: radial-gradient(closest-side, rgba(3, 5, 12, 0.62), rgba(3, 5, 12, 0.34) 55%, transparent); pointer-events: none; }
}
/* Home scroll review (2026-11-19). Off the screen, a scene's looping lights rest (app.js sets .away), so the browser
   does not restyle and repaint them every frame (A2). */
.ch.away .label::before, .ch.away .film button::before { animation-play-state: paused; }
/* B14: no lone last word in the plan's steps ("agreement." stood alone at 1440). */
.steps p { text-wrap: pretty; }
/* B12: on phones the hero's lede and button sit low, over the brightest points of the floor; a soft shade behind them
   keeps them readable (the same treatment as Work's title on phones). */
@media (max-width: 640px) {
  .hero .lede { position: relative; }
  .hero .lede::before { content: ""; position: absolute; z-index: -1; inset: -60% -10% -170%; background: radial-gradient(closest-side, rgba(3, 5, 12, 0.7), rgba(3, 5, 12, 0.38) 58%, transparent); pointer-events: none; }
}
/* A field that failed the check is marked, not only named in the message (Block 8 review, m9). */
.field [aria-invalid="true"] { border-color: #fca5a5; box-shadow: inset 0 0 0 1px rgba(252, 165, 165, 0.5); }
/* Web corrections (Owner, 2026-11-22, the home walkthrough). How we work: the plan sheet. */
/* 3. The dot before "Project plan" breathes, and a soft ring leaves it, so the sheet reads as live (transform and
   opacity only; it rests off screen, and with reduced motion or the still page it stays a plain dot). */
.sheet-head span:first-child { position: relative; }
.sheet-head span:first-child::before { flex: none; animation: plan-dot 2.8s ease-in-out infinite; }
.sheet-head span:first-child::after { content: ""; position: absolute; left: -7.5px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(51, 219, 255, 0.85), 0 0 10px rgba(0, 128, 255, 0.4); opacity: 0; pointer-events: none; animation: plan-ping 2.8s cubic-bezier(0.2, 0.7, 0.2, 1) infinite; }
@keyframes plan-dot { 0%, 100% { transform: scale(1); opacity: 0.8; } 35% { transform: scale(1.2); opacity: 1; } }
@keyframes plan-ping { 0%, 20% { transform: scale(0.32); opacity: 0; } 30% { opacity: 0.6; } 85%, 100% { transform: scale(1); opacity: 0; } }
.ch.away .sheet-head span:first-child::before, .ch.away .sheet-head span:first-child::after { animation-play-state: paused; }
html.still .sheet-head span:first-child::before { animation: none; }
html.still .sheet-head span:first-child::after { display: none; }
@media (prefers-reduced-motion: reduce) { .sheet-head span:first-child::before { animation: none; } .sheet-head span:first-child::after { display: none; } }
/* 4. "Your business" as the site's glass pill (the inner pages' .st-tag and the phone labels): a lit hairline edge, a
   blue glow from below and the four-point spark. */
.sheet-head span:last-child { position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 11px; border-radius: 999px; background: rgba(10, 16, 32, 0.55); box-shadow: inset 0 -7px 12px rgba(0, 128, 255, 0.14), 0 10px 30px rgba(0, 8, 40, 0.35); color: #e3eaf5; font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.01em; line-height: 1.3; white-space: nowrap; }
.sheet-head span:last-child::before { content: ""; flex: none; width: 9px; height: 9px; clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%); background: linear-gradient(135deg, #edf7ff, #00b4fa 35%, #0080ff 60%, #0043ff); filter: drop-shadow(0 0 4px rgba(0, 128, 255, 0.7)); }
.sheet-head span:last-child::after { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: linear-gradient(100deg, rgba(0, 180, 250, 0.55), rgba(237, 247, 255, 0.12) 45%, rgba(0, 67, 255, 0.5)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); pointer-events: none; }
.sheet-head { padding-bottom: 14px; }
@media (forced-colors: active) { .sheet-head span:last-child { border: 1px solid CanvasText; } .sheet-head span:last-child::after { display: none; } }
/* 5. The line runs from the centre of 01 to the centre of 04 and stops there: the list is a grid, and the line is
   placed on its first three rows, reaching one circle's centre (the row's top padding and half a circle) into the
   fourth. The circles have an opaque glass core, so the line passes behind them, and a step not reached yet dims its
   words, not its circle (a see-through circle showed the line). */
.steps { display: grid; grid-template-columns: minmax(0, 1fr); }
.steps::before, .steps::after { grid-column: 1; grid-row: 1 / 4; top: 38px; bottom: -38px; }
.steps li, .steps li.done { opacity: 1; }
.steps li > div { opacity: 0.42; transition: opacity 0.4s; }
.steps li.done > div { opacity: 1; }
.steps .n { background: radial-gradient(circle at 34% 28%, rgba(237, 247, 255, 0.12), rgba(237, 247, 255, 0) 55%), #0a1124; color: rgba(196, 206, 222, 0.55); }
.steps li.done .n, html.still .steps li .n { background: radial-gradient(circle at 34% 28%, rgba(237, 247, 255, 0.9), rgba(0, 180, 250, 0.7) 22%, rgba(0, 128, 255, 0.8) 52%, #0043ff), #06155a; color: #fff; }
html.still .steps li > div { opacity: 1; }
@media (max-width: 640px) { .steps::before, .steps::after { top: 32px; bottom: -32px; } }
/* The steps' lines balance at every width (coordinator, 2026-11-22): at 1024 and 768 the column is narrow and "pretty"
   still left uneven pairs ("…one scope and / one number."). */
#steps li p { text-wrap: balance; }
/* 6. The foot on one line, as wide as the sheet: the three phrases at its left edge, its centre and its right edge, with
   the spark centred between them (the same mark as the notes under the plan keys). */
.sheet-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; white-space: nowrap; }
.sheet-foot i { flex: none; width: 8px; height: 8px; clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%); background: linear-gradient(135deg, #edf7ff, #00b4fa 35%, #0080ff 60%, #0043ff); }
/* Measured on the sheet's own width: a narrow sheet (the two columns at 768, phones) sets the line smaller, and the
   narrowest (360) keeps the even spacing without the sparks, so it never wraps or overflows. */
.sheet { container-type: inline-size; }
@container (max-width: 400px) { .sheet-foot { gap: 8px; font-size: 0.875rem; } }
@container (max-width: 268px) { .sheet-foot i { display: none; } }
/* 10. The close: the standard note under its plan key, as on the inner pages' close band (inner-story.css .st-note). */
#start .st-note { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 12px; margin-top: 18px; color: #9fb0cc; font-size: 0.875rem; line-height: 1.4; }
#start .st-note i { flex: none; width: 8px; height: 8px; clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%); background: linear-gradient(135deg, #edf7ff, #00b4fa 35%, #0080ff 60%, #0043ff); }
@media (max-width: 380px) { #start .st-note { flex-direction: column; gap: 2px; } #start .st-note > i { display: none; } }
/* The Toronto subtitle: one statement per line (Owner, 2026-11-22: "B ajustada"); each balances to two lines on phones. */
.lede-lines .ln { display: block; text-wrap: balance; }
