/* Hallmark · surface: landing · macrostructure: Marquee Hero · theme: studied-DNA
 * pre-emit critique: P4 H4 E4 S4 R4 V4
 * Auros structure, Oceanus blue undertone. Copy unchanged.
 */

/* ---------------------------------------------------------------- tokens */
:root {
  /* Sandbox idea (2026-11-04, PM): a neutral grey scale, mostly black and white. The teal
     names stay as the page's accent roles; the accent is now white here, black in light. */
  --ld-bg:        #0b0b0c;
  --ld-bg-2:      #070708;
  --ld-kelp:      #161617;
  --ld-ink:       #f5f5f5;
  --ld-ink-soft:  #a6a6a6;
  --ld-ink-mute:  #8c8c8c;
  --ld-ink-faint: #6e6e6e;
  --ld-hair:      rgba(255, 255, 255, 0.08);
  --ld-hair-2:    rgba(255, 255, 255, 0.14);
  --ld-hover:     rgba(255, 255, 255, 0.06);
  --ld-hover-strong: rgba(255, 255, 255, 0.12);
  --ld-fill:      rgba(255, 255, 255, 0.08);

  --ld-teal:      #9a9a9a;
  --ld-teal-hi:   #ffffff;
  --ld-teal-soft: rgba(255, 255, 255, 0.10);
  --ld-sand:      #d6d6d6;
  --ld-up:        #63cf9c;
  --ld-down:      #e07a7a;
  --ld-c1: #e6e6e6; --ld-c1-bg: rgba(255, 255, 255, 0.10);
  --ld-c2: #bdbdbd; --ld-c2-bg: rgba(255, 255, 255, 0.08);
  --ld-c3: #9a9a9a; --ld-c3-bg: rgba(255, 255, 255, 0.07);
  --ld-c4: #d0d0d0; --ld-c4-bg: rgba(255, 255, 255, 0.09);
  --ld-tone: var(--ld-teal-hi);
  --ld-tone-bg: var(--ld-teal-soft);
  --ld-aurora: #f5f5f5;
  --ld-cta-ink: #0b0b0c;
  --ld-hot: #d9d9d9;      /* the hero actions on hover: a light grey with black ink */
  --ld-hot-ink: #0b0b0c;

  /* Sandbox idea (2026-11-03): Inter for text and controls, Geist for display (Arc's pairing). */
  --ld-sans:    "Inter", "PingFang SC", "Noto Sans SC", "Geist", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --ld-display: "Geist", "Geist Sans", "PingFang SC", "Noto Sans SC", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --ld-mono:    "Geist Mono", "Geist", "Geist Sans", "Libre Franklin", ui-monospace, monospace;

  --ld-max:  1440px;
  --ld-gut:  clamp(20px, 5vw, 56px);
  --ld-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ld-dur:  220ms;
  --ld-s1: 8px; --ld-s2: 12px; --ld-s3: 16px; --ld-s4: 24px;
  --ld-s5: 32px; --ld-s6: 48px; --ld-s7: 80px;
  --ld-r: 6px;
  --ld-r-lg: 16px;
  --ld-pill: 6px;

  --ld-glass-fill: rgba(22, 22, 23, 0.40);
  --ld-glass: rgba(22, 22, 23, 0.40);
  --ld-glass-edge: rgba(255, 255, 255, 0.14);
  --ld-frost: rgba(22, 22, 23, 0.40);
  --ld-frost-scrolled: rgba(22, 22, 23, 0.58);
  --ld-blur: blur(28px) saturate(165%);
  --ld-lift: 0 10px 32px rgba(0, 0, 0, 0.22);
  --ld-lift-hi: 0 12px 36px rgba(0, 0, 0, 0.28);
  --ld-scrim: none;
  --ld-neon: #ffffff;
  --ld-neon-2: #ffffff;

  --ld-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='0.82' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

html:lang(zh-Hant) {
  --ld-sans: "Inter", "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", "Heiti TC", "Noto Sans CJK TC", "Geist", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --ld-display: "Geist", "Geist Sans", "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", "Heiti TC", "Noto Sans CJK TC", "Helvetica Neue", Helvetica, Arial, sans-serif;
}
html:lang(ja) {
  --ld-sans: "Inter", "Noto Sans JP", "Hiragino Sans", "Yu Gothic", "Geist", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --ld-display: "Geist", "Geist Sans", "Noto Sans JP", "Hiragino Sans", "Yu Gothic", "Helvetica Neue", Helvetica, Arial, sans-serif;
}
html:lang(ko) {
  --ld-sans: "Inter", "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", "Geist", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --ld-display: "Geist", "Geist Sans", "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-padding-top: 88px; color-scheme: dark; }
html[data-theme="light"] { color-scheme: light; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
html, body {
  background: var(--ld-bg);
  overflow-x: clip;
}

body.landing {
  margin: 0;
  color: var(--ld-ink-soft);
  font-family: var(--ld-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0.002em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
body.landing a { color: inherit; text-decoration: none; }
body.landing img { display: block; max-width: 100%; }
body.landing ::selection { background: color-mix(in srgb, var(--ld-ink) 22%, transparent); }
body.landing :focus-visible {
  outline: 2px solid var(--ld-teal-hi);
  outline-offset: 3px;
  transition: none;
}

.ld-skip {
  position: absolute;
  left: var(--ld-s3);
  top: var(--ld-s3);
  z-index: 400;
  background: var(--ld-teal);
  color: #0b1016;
  padding: 8px 14px;
  border-radius: var(--ld-r);
  font-size: 13px;
  font-weight: 500;
  transform: translateY(-250%);
}
.ld-skip:focus { transform: none; }

/* ------------------------------------------------------- ambient surface */
.ld-back {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  isolation: isolate;
}
.ld-horizon {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 35% 48%;
  display: block;
  z-index: 0;
  opacity: 0;
}
.ld-field {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: var(--ld-bg);
}
.ld-field::before { content: none; }

.ld-grain {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background-image: var(--ld-grain);
  background-size: 180px 180px;
  opacity: 0.02;
}
.ld-hero, .ld-sec, .ld-cta, .ld-foot { position: relative; z-index: 3; }

/* -------------------------------------------------------------- material */
.ld-pane,
.ld-glass,
.ld-cell,
.ld-room,
.ld-stack-visual,
.ld-hero-more,
.ld-close,
.ld-foot-inner {
  position: relative;
  background: var(--ld-frost);
  border: 0;
  border-radius: var(--ld-r-lg);
  isolation: isolate;
  -webkit-backdrop-filter: var(--ld-blur);
          backdrop-filter: var(--ld-blur);
}
.ld-pane::before,
.ld-glass::before,
.ld-cell::before { content: none; }

.tone-1 { --ld-tone: var(--ld-c1); --ld-tone-bg: var(--ld-c1-bg); }
.tone-2 { --ld-tone: var(--ld-c2); --ld-tone-bg: var(--ld-c2-bg); }
.tone-3 { --ld-tone: var(--ld-c3); --ld-tone-bg: var(--ld-c3-bg); }
.tone-4 { --ld-tone: var(--ld-c4); --ld-tone-bg: var(--ld-c4-bg); }

/* ------------------------------------------------------------------- nav */
.ld-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0;
  pointer-events: none;
  background: var(--ld-frost);
  border-bottom: 0;
  -webkit-backdrop-filter: var(--ld-blur);
          backdrop-filter: var(--ld-blur);
}
.ld-nav.is-scrolled {
  background: var(--ld-frost-scrolled);
}
.ld-nav-inner {
  pointer-events: auto;
  max-width: var(--ld-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
  padding:
    calc(10px + env(safe-area-inset-top, 0px))
    calc(var(--ld-gut) + env(safe-area-inset-right, 0px))
    10px
    calc(var(--ld-gut) + env(safe-area-inset-left, 0px));
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.ld-brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.ld-brand img {
  height: 28px; width: auto;
  filter: brightness(0) invert(1);
  opacity: 1;
}
.ld-brand-tag {
  font-family: var(--ld-sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1;
  color: var(--ld-ink);
  padding-left: 12px;
  border-left: 1px solid var(--ld-hair-2);
  white-space: nowrap;
  text-transform: uppercase;
}

.ld-nav-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 1 1 auto;
}
.ld-nav-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  margin-left: auto;
}
.ld-nav-anchors { display: flex; align-items: center; gap: 2px; margin-right: 2px; }

.ld-lang {
  display: inline-flex;
  align-items: stretch;
  overflow: hidden;
  flex: 0 0 auto;
  border-radius: var(--ld-r);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--ld-hair);
}
.ld-lang-cell {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ld-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--ld-ink-mute);
  background: transparent;
  border: 0;
  padding: 7px 12px;
  max-width: 4.2rem;
  white-space: nowrap;
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;
  transition:
    max-width 0.45s var(--ld-ease),
    padding 0.45s var(--ld-ease),
    opacity 0.3s var(--ld-ease),
    color var(--ld-dur) var(--ld-ease),
    background-color var(--ld-dur) var(--ld-ease);
}
.ld-lang-cell[aria-current="true"] {
  color: var(--ld-teal-hi);
  cursor: default;
}
.ld-lang-cell:focus-visible {
  outline: 2px solid var(--ld-teal-hi);
  outline-offset: -2px;
}
button.ld-lang-cell:hover { color: var(--ld-ink); background: var(--ld-hover); }
.ld-lang:not(:hover):not(:focus-within) .ld-lang-cell:not([aria-current="true"]) {
  max-width: 0;
  padding-inline: 0;
  opacity: 0;
}
@media (prefers-reduced-motion: reduce) {
  .ld-lang-cell { transition-duration: 0.12s; }
}

.ld-nav-anchors a,
.ld-theme-btn,
body.landing .lang-pop-btn,
.ld-foot a,
.ld-foot button {
  font-family: var(--ld-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ld-ink-mute);
  background: transparent;
  border: 0;
  border-radius: var(--ld-r);
  box-shadow: none;
  cursor: pointer;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  z-index: 0;
  transition: color var(--ld-dur) var(--ld-ease), background-color var(--ld-dur) var(--ld-ease);
}
.ld-nav-anchors a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  white-space: nowrap;
}
.ld-nav-anchors > a { display: none; }
@media (min-width: 1280px) { .ld-nav-anchors > a { display: inline-flex; } }
body.landing a.ld-btn,
body.landing a.ld-link,
.ld-btn,
.ld-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  white-space: nowrap;
  font-family: var(--ld-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ld-cta-ink);
  background: var(--ld-aurora);
  border: 0;
  border-radius: var(--ld-r);
  box-shadow: none;
  filter: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  z-index: 0;
  transition: color var(--ld-dur) var(--ld-ease), background-color var(--ld-dur) var(--ld-ease);
}
.ld-btn.lg { padding: 14px 22px; font-size: 14px; }
.ld-btn::before,
.ld-btn::after,
.ld-link::before,
.ld-link::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
}
.ld-btn::before,
.ld-link::before {
  z-index: 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--ld-neon) 35%,
    var(--ld-neon-2) 50%,
    var(--ld-neon) 65%,
    transparent 100%
  );
  background-size: 220% 100%;
  background-position: 120% 0;
  opacity: 0;
  mix-blend-mode: screen;
  transition: opacity 0.22s var(--ld-ease);
}
.ld-btn::after,
.ld-link::after {
  z-index: 1;
  background: linear-gradient(
    105deg,
    transparent 38%,
    rgba(255, 255, 255, 0.42) 50%,
    transparent 62%
  );
  background-size: 220% 100%;
  background-position: 140% 0;
  opacity: 0;
}
.ld-btn > *,
.ld-link > * { position: relative; z-index: 2; }
.ld-btn .arrow,
.ld-link .arrow { font-weight: 400; opacity: 0.7; color: inherit; }
.ld-btn:active,
.ld-link:active,
.ld-nav-anchors a:active { transform: scale(0.98); }

.ld-theme-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px; min-width: 36px;
  margin: 0;
  padding: 0;
  font-size: 14px;
  line-height: 1;
  color: var(--ld-ink-soft);
}
.ld-theme-btn .theme-ico {
  width: 18px;
  height: 18px;
}
.ld-nav-anchors a:hover,
.ld-theme-btn:hover,
body.landing .lang-pop-btn:hover,
body.landing .lang-pop-btn[aria-expanded="true"],
.ld-foot a:hover,
.ld-foot button:hover {
  color: var(--ld-ink);
  background: var(--ld-hover);
}
body.landing a.ld-btn:hover,
body.landing a.ld-link:hover,
.ld-btn:hover,
.ld-link:hover {
  color: var(--ld-cta-ink);
  background: var(--ld-aurora);
  filter: none;
  box-shadow: none;
}
.ld-btn:hover::before,
.ld-link:hover::before { opacity: 0.85; }
.ld-btn:hover::after,
.ld-link:hover::after { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .ld-btn:hover::before,
  .ld-btn:hover::after,
  .ld-link:hover::before,
  .ld-link:hover::after {
    animation: ld-neon-flow 1.5s linear infinite;
  }
}
@keyframes ld-neon-flow {
  from { background-position: 120% 0; }
  to { background-position: -20% 0; }
}

body.landing .lang-pop { margin-right: 2px; }
body.landing .lang-pop-btn {
  width: 36px; height: 36px; min-width: 36px;
  padding: 0;
  color: var(--ld-ink-soft);
}
body.landing .lang-pop-menu {
  font-family: var(--ld-sans);
  background: var(--ld-kelp);
  color: var(--ld-ink);
  border: 0;
  border-radius: var(--ld-r);
}
body.landing .lang-pop-item:hover,
body.landing .lang-pop-item:focus-visible {
  background: var(--ld-hover);
}

/* ------------------------------------------------------------------ hero */
.ld-hero {
  position: relative;
  display: block;
  min-height: 0;
  padding: 0;
  overflow: visible;
}
.ld-hero-fold {
  --ld-globe-top: 200px;
  --ld-globe-h: 170vh;
  /* Where the sphere's top edge sits: the canvas top plus 28% of its height. */
  --ld-sphere-top: calc(var(--ld-globe-top) + var(--ld-globe-h) * 0.28);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-end;
  min-height: calc(var(--ld-globe-top) + var(--ld-globe-h));
  padding:
    calc(88px + env(safe-area-inset-top, 0px))
    var(--ld-gut)
    0;
  overflow: visible;
}
/* The hero's statement, centred in the open grid between the bar and the
   sphere's top. */
.ld-hero-lead {
  position: absolute;
  top: 0;
  right: var(--ld-gut);
  left: var(--ld-gut);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: var(--ld-sphere-top);
  padding-top: 64px;
  text-align: center;
  pointer-events: none;
}
.ld-hero-lead > * { pointer-events: auto; }
/* The hero is the art, its two actions and the invitation under them; the
   copy follows it. A first-screen box stacks the actions from its foot, so
   they sit near the bottom of the screen over the orb and a note that wraps
   on a phone never pushes them off. While the cookie banner is open they
   rise above it. */
.ld-hero-act {
  --ld-cta-foot: clamp(32px, 6svh, 56px);
  position: absolute;
  top: 0;
  right: var(--ld-gut);
  left: var(--ld-gut);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  height: 100svh;
  padding-bottom: calc(var(--ld-cta-foot) + env(safe-area-inset-bottom, 0px));
  pointer-events: none;
}
.ld-hero-act > * { pointer-events: auto; }
html.cb-open body.landing .ld-hero-act {
  translate: 0 calc(-1 * (var(--oc-cookie-bar, 0px) + 16px));
}
.ld-hero-after {
  position: relative;
  z-index: 2;
  padding: clamp(64px, 10vh, 112px) var(--ld-gut) clamp(48px, 8vh, 96px);
}
.ld-hero-after .ld-hero-inner { padding-top: 0; }
.ld-hero-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background: none;
}
/* A hairline grid, a small square joining the lines at every crossing. It is
   fixed to the screen, so the page scrolls over it, solid down the top 40% of
   the screen and dimming through the lower half to 15% at the foot (PM,
   2026-11-04). It sits at
   the bottom of the page's layers: the sections after it in the page paint
   over it, the background layer under it. */
.ld-hero-grid {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 0;
  width: 100%;
  height: 100vh;
  height: 100lvh;
  overflow: hidden;
  pointer-events: none;
  color: var(--ld-ink);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 40%, rgb(0 0 0 / .15) 100%);
          mask-image: linear-gradient(to bottom, #000 0%, #000 40%, rgb(0 0 0 / .15) 100%);
}
.ld-hero-grid .ld-grid-line { fill: none; stroke: currentColor; stroke-opacity: .08; stroke-width: 1; }
.ld-hero-grid .ld-grid-node { fill: none; stroke: currentColor; stroke-opacity: .2; stroke-width: 1; }
.ld-orb {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  transform: none;
  color: var(--ld-teal-hi);
  pointer-events: none;
  opacity: 1;
  -webkit-mask-image: none;
          mask-image: none;
}
.ld-orb::before { content: none; }
.ld-orb canvas {
  position: absolute;
  top: var(--ld-globe-top, 200px);
  left: 0;
  width: 100%;
  height: var(--ld-globe-h, 170vh);
  display: block;
  pointer-events: none;
}
.ld-orb-svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}
.ld-orb-svg text {
  font-family: var(--ld-sans);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  fill: currentColor;
  letter-spacing: 0;
}
.ld-hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  flex: 0 0 auto;
  min-height: 0;
  padding-top: clamp(28px, 6vh, 72px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  gap: 0;
}

.ld-hero-copy {
  padding: 0;
  min-width: 0;
  background: none;
  width: 100%;
}
.ld-hero .ld-life { display: none; }
.ld-h1 {
  font-family: var(--ld-display);
  font-weight: 600;
  font-size: clamp(48px, 6.4vw, 84px);
  line-height: 0.96;
  letter-spacing: -0.045em;
  text-transform: none;
  margin: 0 auto 18px;
  max-width: 18ch;
  overflow-wrap: anywhere;
  min-width: 0;
  color: var(--ld-ink);
}
.ld-h1 em {
  font-style: normal;
  font-weight: inherit;
  color: var(--ld-teal-hi);
}

.ld-hero-sub {
  margin: 0 auto 18px;
  max-width: 38rem;
  font-size: clamp(18px, 2.1vw, 24px);
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: -0.015em;
  color: var(--ld-ink);
}
.ld-hero-rail { display: none; }
.ld-life { max-width: 280px; margin: 4px auto 18px; color: var(--ld-ink); --ld-tone: var(--ld-teal-hi); }
.ld-life .ld-dg { height: 48px; }

.ld-lede {
  position: relative;
  z-index: 2;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.55;
  color: var(--ld-ink-soft);
  max-width: none;
  margin: 0;
  padding: 16px 18px;
  text-align: left;
  overflow: visible;
}
.ld-hero-rail {
  position: absolute;
  left: max(12px, var(--ld-gut));
  top: 56vh;
  z-index: 3;
  width: min(260px, 22vw);
  height: min(38vh, 340px);
  pointer-events: none;
}
.ld-hero-rail-glass {
  position: relative;
  isolation: isolate;
  height: 100%;
  overflow: hidden;
  border-radius: var(--ld-r-lg);
  background: transparent;
  border: 0;
}
.ld-hero-rail-glass::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--ld-frost);
  -webkit-backdrop-filter: var(--ld-blur);
          backdrop-filter: var(--ld-blur);
  pointer-events: none;
}
.ld-hero-rail-track {
  position: relative;
  z-index: 1;
  will-change: transform;
  backface-visibility: hidden;
  transform: translate3d(0, 0, 0);
  animation: ld-rail-y 16s linear infinite;
}
@keyframes ld-rail-y {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(0, -50%, 0); }
}
@keyframes ld-rail-x {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}
.ld-hero-more {
  position: relative;
  z-index: 2;
  width: min(36rem, 46%);
  margin: 4vh 0 0;
  margin-left: max(12px, var(--ld-gut));
  padding: 28px 30px 30px;
  border-radius: var(--ld-r-lg);
  background: var(--ld-frost);
  -webkit-backdrop-filter: var(--ld-blur);
          backdrop-filter: var(--ld-blur);
  border: 0;
  color: var(--ld-ink-soft);
}
.ld-hero-more-title {
  font-family: var(--ld-display);
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--ld-ink);
  margin: 0 0 14px;
}
.ld-hero-more p {
  font-size: 15px;
  line-height: 1.5;
  margin: 0 0 12px;
}
.ld-hero-more p:last-child { margin-bottom: 0; }
.ld-hero-cta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: center; }
.ld-hero-note {
  font-size: 13px;
  letter-spacing: 0.01em;
  color: var(--ld-ink-mute);
  margin: 16px 0 0;
}

.ld-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ld-ink-mute);
  margin: 0 0 18px;
}
.ld-eyebrow::after { content: none; }

.ld-stage-band {
  position: relative;
  z-index: 3;
  margin-top: 0;
  padding: 0 0 clamp(40px, 6vh, 72px);
  overflow: clip;
}
.ld-stage {
  position: relative;
  width: 100%;
  max-width: none;
  margin: 0 auto;
  z-index: 4;
}
.ld-stage .ld-draft { padding: 10px 12px; font-size: 12.5px; }
.ld-stage .ld-audit { display: none; }
.ld-glass {
  border-radius: var(--ld-r-lg);
  overflow: hidden;
  text-align: left;
}
.ld-stage .ld-spark { display: none; }
.ld-glass-bar {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  font-size: 13px;
  color: var(--ld-ink-mute);
}
.ld-glass-bar .pill {
  font-size: 10px;
  letter-spacing: 0.08em;
  padding: 4px 9px;
  border-radius: var(--ld-pill);
  color: var(--ld-teal-hi);
  background: var(--ld-teal-soft);
  white-space: nowrap;
}
.ld-glass-body { position: relative; z-index: 1; padding: 10px 14px 12px; }
.ld-spark { margin: 0 0 16px; --ld-tone: var(--ld-c1); }
.ld-spark .ld-dg { height: 96px; }

.ld-turn { margin-bottom: 14px; }
.ld-turn .who {
  font-size: 12px;
  font-weight: 500;
  color: var(--ld-ink-mute);
  margin-bottom: 7px;
}
.ld-turn .say {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ld-ink-soft);
}
.ld-turn.me .say { color: var(--ld-ink); }

.ld-tools { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0; }
.ld-tools span {
  font-size: 11px;
  letter-spacing: 0.02em;
  padding: 4px 9px;
  border-radius: var(--ld-r);
  color: var(--ld-teal-hi);
  background: var(--ld-teal-soft);
}

.ld-draft {
  padding: 14px 15px;
  border-radius: var(--ld-r);
  background: rgba(255, 255, 255, 0.06);
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ld-ink);
}
.ld-draft .meta {
  display: block;
  margin-top: 9px;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ld-teal-hi);
}
.ld-audit {
  margin: 15px 0 0;
  padding-top: 13px;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--ld-ink-faint);
}
.ld-stage-caption {
  margin: 10px 2px 0;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ld-ink-faint);
  text-align: center;
}

/* -------------------------------------------------------------- product deck */
.ld-deck {
  max-width: 1520px;
  margin: 0 auto;
  padding: 0 var(--ld-gut);
  outline: none;
}
.ld-deck:focus-visible {
  box-shadow: 0 0 0 1px var(--ld-teal-hi);
  border-radius: var(--ld-r-lg);
}
.ld-deck-head {
  text-align: center;
  margin: 0 auto 18px;
  max-width: 40rem;
}
.ld-deck-kicker {
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ld-ink-mute);
}
.ld-deck-title {
  margin: 0;
  min-height: 1.2em;
  font-family: var(--ld-display);
  font-size: clamp(22px, 2.6vw, 34px);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--ld-ink);
}
.ld-deck-viewport {
  position: relative;
  height: clamp(250px, 46vw, 540px);
  perspective: 1600px;
  perspective-origin: 50% 48%;
}
.ld-deck-stage {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
}
.ld-deck-slide {
  position: absolute;
  left: 50%;
  top: 0;
  width: min(72%, 980px);
  height: 100%;
  margin: 0;
  --shift: 0;
  --sc: 1;
  --ry: 0deg;
  --tz: 0px;
  transform:
    translateX(-50%)
    translateX(var(--shift))
    translateZ(var(--tz))
    rotateY(var(--ry))
    scale(var(--sc));
  transform-style: preserve-3d;
  transform-origin: center center;
  opacity: var(--o, 1);
  z-index: var(--z, 1);
  pointer-events: none;
}
@media (prefers-reduced-motion: no-preference) {
  .ld-deck-slide {
    transition:
      transform 0.78s var(--ld-ease),
      opacity 0.48s var(--ld-ease);
  }
}
.ld-deck-slide.is-active {
  --shift: 0;
  --sc: 1;
  --ry: 0deg;
  --tz: 48px;
  --o: 1;
  --z: 4;
  pointer-events: auto;
}
.ld-deck-slide.is-prev {
  --shift: -54%;
  --sc: 0.88;
  --ry: 32deg;
  --tz: -120px;
  --o: 0.55;
  --z: 2;
  pointer-events: auto;
  cursor: pointer;
}
.ld-deck-slide.is-next {
  --shift: 54%;
  --sc: 0.88;
  --ry: -32deg;
  --tz: -120px;
  --o: 0.55;
  --z: 2;
  pointer-events: auto;
  cursor: pointer;
}
.ld-deck-slide.is-far-prev {
  --shift: -96%;
  --sc: 0.78;
  --ry: 42deg;
  --tz: -220px;
  --o: 0;
  --z: 1;
}
.ld-deck-slide.is-far-next {
  --shift: 96%;
  --sc: 0.78;
  --ry: -42deg;
  --tz: -220px;
  --o: 0;
  --z: 1;
}
@media (prefers-reduced-motion: reduce) {
  .ld-deck-slide {
    --ry: 0deg;
    --tz: 0px;
  }
}
.ld-deck-frame {
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: var(--ld-r-lg);
  background: #141b26;
  box-shadow: var(--ld-lift-hi);
  border: 0;
  backface-visibility: hidden;
}
.ld-deck-shot {
  height: 100%;
  width: 136%;
  transform: translateZ(0);
  backface-visibility: hidden;
}
.ld-deck-shot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left top;
  max-width: none;
}
@media (prefers-reduced-motion: no-preference) {
  .ld-deck-shot {
    animation: ld-deck-pan 3.2s linear infinite alternate;
  }
  .ld-deck:hover .ld-deck-shot,
  .ld-deck:focus-within .ld-deck-shot {
    animation-play-state: paused;
  }
}
@keyframes ld-deck-pan {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-26.5%, 0, 0); }
}
.ld-deck-nav {
  position: absolute;
  top: 50%;
  z-index: 6;
  width: 42px;
  height: 42px;
  margin-top: -21px;
  border: 0;
  border-radius: 50%;
  background: var(--ld-frost);
  color: var(--ld-ink);
  -webkit-backdrop-filter: var(--ld-blur);
          backdrop-filter: var(--ld-blur);
  cursor: pointer;
  display: grid;
  place-items: center;
  padding: 0;
  font-size: 26px;
  line-height: 1;
  font-family: var(--ld-sans);
}
.ld-deck-nav span { transform: translateY(-1px); }
.ld-deck-nav.prev {
  left: max(8px, calc((100% - min(78%, 1040px)) / 2 - 68px));
}
.ld-deck-nav.next {
  right: max(8px, calc((100% - min(78%, 1040px)) / 2 - 68px));
}
.ld-deck-nav:hover { color: var(--ld-teal-hi); background: var(--ld-hover-strong); }
.ld-deck-nav:active { transform: scale(0.98); }
.ld-deck-nav:focus-visible {
  outline: 1px solid var(--ld-teal-hi);
  outline-offset: 2px;
}
.ld-deck-pager {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}
.ld-deck-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--ld-ink-faint);
  opacity: 0.4;
  cursor: pointer;
}
.ld-deck-dot.is-on {
  opacity: 1;
  background: var(--ld-teal-hi);
}
.ld-deck-dot:hover { opacity: 0.8; }
.ld-deck-dot:focus-visible {
  outline: 1px solid var(--ld-teal-hi);
  outline-offset: 3px;
}
.ld-deck-caption {
  margin: 16px auto 0;
  max-width: 46ch;
  text-align: center;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ld-ink-soft);
}

/* -------------------------------------------------------------- sections */
.ld-sec {
  position: relative;
  padding: clamp(64px, 8vh, 88px) var(--ld-gut);
  scroll-margin-top: 88px;
}
.ld-sec-inner { max-width: var(--ld-max); margin: 0 auto; }

.ld-sec-head {
  display: grid;
  gap: 8px 40px;
  margin-bottom: clamp(22px, 3.4vw, 40px);
}
@media (min-width: 48rem) {
  .ld-sec-head {
    grid-template-columns: 56px minmax(0, 1fr) minmax(0, 0.92fr);
    align-items: start;
  }
}
.ld-index { padding-top: 2px; }

.ld-mark {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  border-radius: 10px;
  background: var(--ld-tone-bg, var(--ld-c1-bg));
  color: var(--ld-tone, var(--ld-c1));
}
.ld-index .ld-mark { background: var(--ld-c1-bg); color: var(--ld-c1); }
#platform .ld-index .ld-mark { background: var(--ld-c2-bg); color: var(--ld-c2); }
#workspace .ld-index .ld-mark { background: var(--ld-c3-bg); color: var(--ld-c3); }
#stack .ld-index .ld-mark { background: var(--ld-c4-bg); color: var(--ld-c4); }

.ld-mark.sm { width: 28px; height: 28px; flex-basis: 28px; border-radius: 8px; }
.ld-ico { width: 18px; height: 18px; display: block; }
.ld-mark.sm .ld-ico { width: 14px; height: 14px; }

.ld-kicker {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ld-ink-mute);
  margin: 0 0 8px;
}
.ld-h2 {
  font-family: var(--ld-display);
  font-weight: 600;
  font-size: clamp(28px, 3.4vw, 36px);
  line-height: 1.0;
  letter-spacing: -0.02em;
  margin: 0;
  max-width: 22ch;
  overflow-wrap: anywhere;
  min-width: 0;
  color: var(--ld-ink);
}
.ld-sub {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--ld-ink-soft);
  max-width: 54ch;
  margin: 0;
  padding-top: 4px;
}

/* --------------------------------------------------------------- bento */
.ld-bento {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
}
.ld-cell {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 12px;
  padding: clamp(22px, 2.6vw, 36px);
  min-width: 0;
  min-height: 240px;
  overflow: hidden;
  color: var(--ld-tone);
}
.ld-cell > * { position: relative; z-index: 1; }
.ld-cell-copy { min-width: 0; color: var(--ld-ink); }
.ld-cell-fig { min-width: 0; align-self: center; }
.ld-cell-fig.sm { max-width: 280px; margin: 8px 0 14px; }
.ld-cell-fig.overlay {
  position: absolute;
  left: 12px; right: 12px; bottom: 12px;
  z-index: 2;
  background: var(--ld-frost);
  -webkit-backdrop-filter: var(--ld-blur);
          backdrop-filter: var(--ld-blur);
  border-radius: var(--ld-r);
  padding: 6px 8px;
  max-width: none;
  margin: 0;
}

@media (min-width: 761px) {
  .ld-flow .ld-cell:nth-child(1) { grid-column: span 7; }
  .ld-flow .ld-cell:nth-child(2) { grid-column: span 5; }
  .ld-flow .ld-cell:nth-child(3) { grid-column: span 5; }
  .ld-flow .ld-cell:nth-child(4) { grid-column: span 7; }
}

.ld-ledger-n {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.ld-ledger-n .lab {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ld-ink);
}
.ld-cell-copy h3,
.ld-ledger-body h3 {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 8px;
  color: var(--ld-ink);
}
.ld-cell-copy p {
  margin: 0 0 12px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ld-ink-soft);
  max-width: 54ch;
}
.ld-ledger-tools {
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--ld-tone, var(--ld-ink-mute));
}

/* --------------------------------------------------------------- diagrams */
.ld-dg {
  width: 100%;
  height: auto;
  display: block;
  overflow: visible;
}
.ld-dg .g-line {
  stroke: currentColor;
  stroke-width: 1.4;
  opacity: 0.62;
}
.ld-dg .g-accent {
  stroke: var(--ld-tone, var(--ld-teal-hi));
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}
.ld-dg .g-accent-fill { fill: var(--ld-tone, var(--ld-teal-hi)); }
.ld-dg .g-dot { fill: var(--ld-tone, var(--ld-teal-hi)); }
.ld-dg .g-soft { fill: var(--ld-tone-bg, var(--ld-teal-soft)); }
.ld-dg .g-band { fill: var(--ld-tone-bg, var(--ld-teal-soft)); }
.ld-dg .g-bar { fill: rgba(255, 255, 255, 0.14); }
.ld-dg .g-bar-lead { fill: var(--ld-tone, var(--ld-teal-hi)); opacity: 0.88; }

/* ------------------------------------------------------------------ close */
.ld-close {
  margin-top: 16px;
  display: flex;
  align-items: flex-end;
}
.ld-close-body {
  display: grid;
  gap: 12px 36px;
  padding: clamp(22px, 3vw, 36px);
  width: 100%;
}
@media (min-width: 860px) {
  .ld-close-body { grid-template-columns: 180px minmax(0, 1fr); align-items: end; }
}
.ld-close .tag {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ld-sand);
  margin: 0;
}
.ld-close h3 {
  font-weight: 600;
  font-size: clamp(20px, 2.4vw, 28px);
  line-height: 1.15;
  margin: 0 0 8px;
  letter-spacing: -0.02em;
  color: var(--ld-ink);
}
.ld-close p {
  margin: 0;
  font-size: 15px;
  line-height: 1.62;
  color: var(--ld-ink-soft);
  max-width: 58ch;
}

/* ---------------------------------------------------- 02 · desk (rooms) */
.ld-rooms .ld-room { grid-column: span 12; }
@media (min-width: 761px) {
  .ld-rooms .ld-room:nth-child(1) { grid-column: span 7; }
  .ld-rooms .ld-room:nth-child(2) { grid-column: span 5; }
  .ld-rooms .ld-room:nth-child(3) { grid-column: span 5; }
  .ld-rooms .ld-room:nth-child(4) { grid-column: span 7; }
}

.ld-room {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.ld-room-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: clamp(22px, 2.6vw, 36px);
  min-width: 0;
}
.ld-room .ld-mark { margin-bottom: 14px; }
.ld-room .sec {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--ld-tone, var(--ld-ink-mute));
  margin-bottom: 8px;
}
.ld-room h3 {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
}
.ld-room p {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ld-ink-soft);
  flex: 1;
  max-width: 46ch;
}
.ld-room .routes { display: flex; flex-wrap: wrap; gap: 5px; margin-top: auto; }
.ld-room .routes span {
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 7px;
  background: var(--ld-fill);
  color: var(--ld-ink-mute);
}

/* --------------------------------------------- 03 · surfaces */
.ld-surfaces .ld-surface { grid-column: span 12; }
@media (min-width: 761px) {
  .ld-surfaces .ld-surface:nth-child(2),
  .ld-surfaces .ld-surface:nth-child(3) { grid-column: span 6; }
}

.ld-surface {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  overflow: hidden;
  min-width: 0;
  padding: 0;
}
@media (min-width: 900px) {
  .ld-surfaces .ld-surface:nth-child(1) {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  }
  .ld-surfaces .ld-surface:nth-child(4) {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  }
  .ld-surfaces .ld-surface:nth-child(4) .ld-surface-visual { order: 2; }
}
.ld-surface-visual {
  position: relative;
  min-height: 180px;
  overflow: hidden;
  min-width: 0;
  display: grid;
  place-items: center;
  padding: 20px 24px;
  background: radial-gradient(80% 80% at 50% 40%, var(--ld-tone-bg, var(--ld-teal-soft)), transparent 70%);
}
.ld-surface-visual .ld-dg {
  max-width: 360px;
  width: 100%;
}
.ld-surface-copy {
  position: relative;
  z-index: 1;
  padding: clamp(22px, 2.6vw, 36px);
  min-width: 0;
}
.ld-surface .kick {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ld-ink-mute);
  margin-bottom: 12px;
}
.ld-surface h3 {
  font-weight: 600;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
  max-width: 28ch;
}
.ld-surface-copy > p {
  margin: 0 0 20px;
  font-size: 14.5px;
  line-height: 1.64;
  color: var(--ld-ink-soft);
  max-width: 54ch;
}
.ld-bullets {
  list-style: none;
  margin: auto 0 0;
  padding: 16px 0 0;
  border-top: 1px solid var(--ld-hair);
  display: flex;
  flex-direction: column;
  gap: 0;
}
.ld-bullets li {
  display: grid;
  grid-template-columns: minmax(0, 120px) minmax(0, 1fr);
  gap: 6px 16px;
  padding: 11px 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ld-ink-soft);
}
.ld-bullets li + li { border-top: 1px solid var(--ld-hair); }
.ld-bullets strong {
  font-size: 13px;
  font-weight: 500;
  color: var(--ld-ink);
  padding-top: 1px;
}

/* ------------------------------------------------------------ 04 · stack */
.ld-stack-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 16px;
  align-items: stretch;
}
.ld-stack-visual {
  min-height: 280px;
  display: grid;
  place-items: center;
  padding: 28px;
  --ld-tone: var(--ld-c1);
  --ld-tone-bg: var(--ld-c1-bg);
}
.ld-stack-visual .ld-dg { width: 100%; max-width: 360px; }
.ld-layers { border-radius: var(--ld-r-lg); overflow: hidden; }
.ld-layer {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 16px;
  padding: clamp(18px, 2.2vw, 24px) clamp(18px, 2.2vw, 26px);
}
.ld-layer + .ld-layer { border-top: 1px solid var(--ld-hair); }
.ld-layer:nth-child(1) { --ld-tone: var(--ld-c1); --ld-tone-bg: var(--ld-c1-bg); }
.ld-layer:nth-child(2) { --ld-tone: var(--ld-c2); --ld-tone-bg: var(--ld-c2-bg); }
.ld-layer:nth-child(3) { --ld-tone: var(--ld-c3); --ld-tone-bg: var(--ld-c3-bg); }
.ld-layer:nth-child(4) { --ld-tone: var(--ld-c4); --ld-tone-bg: var(--ld-c4-bg); }
.ld-layer h3 {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin: 3px 0 7px;
  color: var(--ld-ink);
}
.ld-layer p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--ld-ink-soft);
  max-width: 54ch;
}

.ld-deploy {
  grid-column: 1 / -1;
  padding: clamp(22px, 2.6vw, 32px);
}
.ld-deploy > * { position: relative; z-index: 1; }
.ld-deploy h3 {
  font-weight: 600;
  font-size: clamp(16px, 1.8vw, 20px);
  letter-spacing: -0.015em;
  margin: 0 0 10px;
  color: var(--ld-ink);
}
.ld-deploy > p {
  margin: 0 0 20px;
  font-size: 14px;
  line-height: 1.62;
  color: var(--ld-ink-soft);
  max-width: 70ch;
}
.ld-spec {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--ld-hair);
}
.ld-spec-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 16px 4px 0;
  border-bottom: 0;
  font-size: 13px;
}
.ld-spec-row .k { color: var(--ld-ink-mute); font-size: 12px; letter-spacing: 0.04em; }
.ld-spec-row .v { color: var(--ld-ink); font-weight: 500; }

/* --------------------------------------------------------------- 05 · cta */
.ld-cta {
  margin: 0;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: transparent;
  border-radius: 0;
  padding: 96px var(--ld-gut) 120px;
}
.ld-cta-inner,
.ld-cta-inner.ld-pane {
  max-width: 640px;
  margin: 0 auto;
  padding: clamp(12px, 2vw, 24px) 0;
  text-align: center;
  background: none;
  border: 0;
  box-shadow: none;
  -webkit-backdrop-filter: none;
          backdrop-filter: none;
}
.ld-cta h2 {
  font-family: var(--ld-display);
  font-weight: 700;
  font-size: clamp(28px, 3.4vw, 36px);
  line-height: 1.0;
  color: var(--ld-ink);
  letter-spacing: -0.02em;
  margin: 0 0 14px;
}
.ld-cta p {
  margin: 0 auto 28px;
  max-width: 48ch;
  font-size: 16px;
  line-height: 1.64;
  color: var(--ld-ink-soft);
}
.ld-cta-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* ---------------------------------------------------------------- footer */
.ld-foot {
  position: relative;
  z-index: 40;
  width: 100%;
  max-width: none;
  margin: -64px 0 0;
  padding: 0 var(--ld-gut) calc(12px + env(safe-area-inset-bottom, 0px));
  background: transparent;
  border: 0;
  box-shadow: none;
  pointer-events: none;
  font-size: 12.5px;
  color: var(--ld-ink-mute);
}
body.landing:has(.cookie-banner[data-open="1"]) .ld-foot {
  padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px));
}
.ld-foot-inner {
  pointer-events: auto;
  max-width: var(--ld-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 12px 16px;
  border-radius: 18px;
  background: var(--ld-frost);
  border: 0;
  box-shadow: var(--ld-lift);
  -webkit-backdrop-filter: var(--ld-blur);
          backdrop-filter: var(--ld-blur);
}
.ld-foot-left { display: flex; align-items: center; gap: 10px; }
.ld-foot-left img { height: 22px; width: auto; filter: brightness(0) invert(1); opacity: 1; }
.ld-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  min-width: 0;
  padding: 4px;
  font-size: 13px;
  line-height: 1;
  color: var(--ld-ink-mute);
}
.ld-social svg { width: 1.55em; height: 1.55em; display: block; }
.ld-foot-links { display: flex; gap: 4px; flex-wrap: wrap; align-items: center; }
.ld-foot a, .ld-foot button {
  color: var(--ld-ink-mute);
  font-size: 13px;
  padding: 6px 10px;
}
.ld-foot-mono {
  font-size: 12px;
  letter-spacing: 0.01em;
  color: var(--ld-ink-faint);
}
.ld-foot-prefs {
  display: flex;
  align-items: center;
  gap: 0;
  opacity: 0.72;
  transition: opacity var(--ld-dur) var(--ld-ease);
}
.ld-foot-prefs:hover,
.ld-foot-prefs:focus-within { opacity: 0.95; }
.ld-foot-prefs .lang-pop { z-index: 20; }
.ld-foot-prefs .lang-pop-btn,
.ld-foot-prefs .ld-theme-btn {
  width: auto;
  height: 28px;
  min-width: 0;
  padding: 4px 8px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ld-ink-mute);
  background: transparent;
  border: 0;
  box-shadow: none;
}
.ld-foot-prefs .lang-pop-code {
  display: inline !important;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
}
.ld-foot-prefs .lang-pop-flag,
.ld-foot-prefs .lang-pop-globe,
.ld-foot-prefs .lang-pop-caret { display: none !important; }
.ld-foot-prefs .lang-pop-menu {
  top: auto;
  bottom: calc(100% + 8px);
  transform-origin: bottom right;
}

/* ---------------------------------------------------------------- reveal */
html.reveal-armed [data-reveal]:not(.is-in) {
  opacity: 0;
  transform: translateY(18px);
}
html.reveal-armed [data-reveal] {
  transition:
    opacity 0.7s var(--ld-ease),
    transform 0.7s var(--ld-ease);
  transition-delay: calc(var(--i, 0) * 70ms);
}
html.reveal-armed [data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: no-preference) {
  html.reveal-armed [data-reveal].is-in .draw {
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    animation: ld-draw 1.25s var(--ld-ease) 0.12s forwards;
  }
}
@keyframes ld-draw { to { stroke-dashoffset: 0; } }

/* --------------------------------------------------------------- responsive */
@media (max-width: 1000px) {
  .ld-stack-grid { grid-template-columns: 1fr; }
  .ld-spec { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ld-hero-rail {
    width: min(220px, 24vw);
    left: 12px;
  }
}
@media (max-width: 760px) {
  body.landing { font-size: 15.5px; }
  .ld-nav { padding: 0; }
  .ld-nav-inner {
    padding:
      calc(8px + env(safe-area-inset-top, 0px))
      calc(12px + env(safe-area-inset-right, 0px))
      8px
      calc(12px + env(safe-area-inset-left, 0px));
    min-height: 56px;
    gap: 10px;
  }
  .ld-nav-left { gap: 8px; }
  .ld-brand { gap: 8px; }
  .ld-brand img { height: 20px; }
  .ld-brand-tag {
    font-size: 11px;
    padding-left: 8px;
    letter-spacing: 0.04em;
  }
  .ld-btn { padding: 6px 10px; font-size: 12px; }
  .ld-nav-right .ld-btn:not(:last-child) { display: none; }
  .ld-hero { min-height: 0; padding: 0; }
  .ld-hero-fold {
    --ld-globe-top: 72px;
    --ld-globe-h: 155vh;
    min-height: calc(var(--ld-globe-top) + var(--ld-globe-h));
    padding-top: calc(72px + env(safe-area-inset-top, 0px));
    padding-bottom: 0;
    justify-content: flex-end;
  }
  .ld-h1 { max-width: none; font-size: clamp(32px, 10vw, 44px); }
  .ld-hero-inner {
    margin-bottom: 8px;
    align-items: center;
    flex: 0 0 auto;
    min-height: 0;
    padding-top: 12px;
  }
  .ld-lede { max-width: none; }
  .ld-hero-rail {
    position: absolute;
    left: var(--ld-gut);
    right: var(--ld-gut);
    top: calc(100dvh - 90px);
    bottom: auto;
    width: auto;
    height: 72px;
    margin: 0;
  }
  .ld-hero-rail-glass {
    mask-image: none;
    -webkit-mask-image: none;
  }
  .ld-hero-rail-track {
    display: flex;
    width: max-content;
    animation: ld-rail-x 18s linear infinite;
  }
  .ld-hero-rail .ld-lede {
    white-space: nowrap;
    padding: 24px 40px 24px 24px;
    font-size: 13px;
  }
  .ld-hero-more {
    width: 100%;
    margin: 6vh 0 0;
    padding: 22px 20px 24px;
  }
  .ld-stage-band { margin-top: 0; padding-top: 0; }
  .ld-stage { max-width: none; }
  .ld-deck-viewport { height: clamp(210px, 64vw, 360px); }
  .ld-deck-slide { width: 100%; }
  .ld-deck-viewport { perspective: none; }
  .ld-deck-slide.is-prev,
  .ld-deck-slide.is-next {
    --shift: 0;
    --sc: 1;
    --ry: 0deg;
    --tz: 0px;
    --o: 0;
    pointer-events: none;
  }
  .ld-deck-nav.prev { left: 8px; }
  .ld-deck-nav.next { right: 8px; }
  .ld-deck-nav {
    width: 36px;
    height: 36px;
    margin-top: -18px;
    font-size: 22px;
    background: rgba(11, 11, 12, 0.62);
  }
  .ld-deck-title { font-size: 22px; }
  .ld-orb {
    inset: 0;
    opacity: 1;
  }
  .ld-orb canvas {
    top: var(--ld-globe-top, 72px);
    height: var(--ld-globe-h, 155vh);
  }
  .ld-cell { grid-template-columns: 1fr; }
  .ld-flow .ld-cell,
  .ld-rooms .ld-room,
  .ld-surfaces .ld-surface { grid-column: 1 / -1; }

  .ld-sec-head { margin-bottom: 20px; }
  .ld-cta { margin-inline: 0; min-height: 0; padding: 64px var(--ld-gut) 96px; }
  .ld-spec { grid-template-columns: 1fr 1fr; }
  .ld-bullets li { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .ld-spec { grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------------- login popup */
body.landing.ld-login-lock { overflow: hidden; }

.ld-login {
  --ld-login-r: 20px;
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px 16px;
  padding-bottom: max(22px, env(safe-area-inset-bottom, 0px));
  visibility: hidden;
  pointer-events: none;
  transition: visibility 0s linear 0.24s;
}
.ld-login.is-open {
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
}
.ld-login-scrim {
  position: absolute;
  inset: 0;
  background: rgba(4, 5, 7, 0.38);
  -webkit-backdrop-filter: blur(16px) saturate(130%);
          backdrop-filter: blur(16px) saturate(130%);
  opacity: 0;
  transition: opacity 0.2s cubic-bezier(0.4, 0, 1, 1);
}
.ld-login.is-open .ld-login-scrim {
  opacity: 1;
  transition-duration: 0.32s;
  transition-timing-function: var(--ld-ease);
}
.ld-login-panel {
  position: relative;
  z-index: 1;
  width: min(412px, calc(100% - 8px));
  height: auto;
  overflow: visible;
  background: transparent;
  border: 0;
  box-shadow: none;
  opacity: 0;
  transform: translate3d(0, 12px, 0);
  transition:
    transform 0.22s cubic-bezier(0.4, 0, 1, 1),
    opacity 0.2s cubic-bezier(0.4, 0, 1, 1);
}
.ld-login.is-open .ld-login-panel {
  transform: translate3d(0, 0, 0);
  opacity: 1;
  transition-duration: 0.44s, 0.36s;
  transition-timing-function: var(--ld-ease), var(--ld-ease);
}
.ld-login-shell {
  border-radius: var(--ld-login-r);
  overflow: hidden;
  background: transparent;
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.55);
  transform: translateZ(0);
}
.ld-login-title {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
.ld-login-close {
  position: absolute;
  top: -38px;
  right: 2px;
  z-index: 2;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ld-ink-soft);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: background var(--ld-dur) var(--ld-ease), color var(--ld-dur) var(--ld-ease);
}
.ld-login-close:hover {
  background: var(--ld-hover);
  color: var(--ld-ink);
}
.ld-login-frame {
  display: block;
  width: 100%;
  height: 480px;
  border: 0;
  background: transparent;
  color-scheme: inherit;
  opacity: 0;
  transition: opacity 0.28s var(--ld-ease);
}
.ld-login.is-ready .ld-login-frame { opacity: 1; }

@media (max-width: 560px) {
  .ld-login { padding: 48px 10px 16px; }
  .ld-login-panel { width: min(412px, 100%); }
}

/* ---------------------------------------------------------------- legal sheet */
body.landing.ld-legal-lock { overflow: hidden; }

.ld-legal {
  position: fixed;
  inset: 0;
  z-index: 190;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 36px 20px;
  padding-bottom: max(36px, env(safe-area-inset-bottom, 0px));
  overflow: hidden;
  pointer-events: none;
  visibility: hidden;
  transition: visibility 0s linear 0.24s;
}
.ld-legal.is-open {
  pointer-events: auto;
  visibility: visible;
  transition-delay: 0s;
}
.ld-legal-scrim {
  position: absolute;
  inset: 0;
  background: rgba(4, 5, 7, 0.42);
  -webkit-backdrop-filter: blur(16px) saturate(130%);
          backdrop-filter: blur(16px) saturate(130%);
  opacity: 0;
  transition: opacity 0.18s cubic-bezier(0.22, 1, 0.36, 1);
}
.ld-legal.is-open .ld-legal-scrim {
  opacity: 1;
  transition-duration: 0.22s;
}
.ld-legal-sheet {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: min(760px, 100%);
  max-height: min(80vh, 820px);
  transform: translate3d(0, 100vh, 0);
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(23, 22, 19, 0.08);
  background: #f7f4ee;
  color: #171613;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.32);
  transition: transform 0.22s cubic-bezier(0.4, 0, 1, 1);
  will-change: transform;
}
.ld-legal.is-open .ld-legal-sheet {
  transform: translate3d(0, 0, 0);
  transition-duration: 0.26s;
  transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
}
.ld-legal-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-shrink: 0;
  padding: 16px 20px 12px;
  border-bottom: 1px solid rgba(23, 22, 19, 0.1);
  background: #f7f4ee;
}
.ld-legal-heading {
  margin: 0;
  font-family: var(--ld-sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #171613;
}
.ld-legal-close {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(23, 22, 19, 0.62);
  font-family: var(--ld-sans);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.28s var(--ld-ease), color 0.28s var(--ld-ease);
}
.ld-legal-close:hover {
  background: rgba(23, 22, 19, 0.06);
  color: #171613;
}
.ld-legal-body {
  flex: 1 1 auto;
  overflow: auto;
  padding: 8px 28px 28px;
  font-family: var(--ld-sans);
  font-size: 15.5px;
  font-weight: 400;
  line-height: 1.64;
  color: rgba(23, 22, 19, 0.88);
  background: #f7f4ee;
  -webkit-overflow-scrolling: touch;
}
.ld-legal-body article,
.ld-legal-body .legal-doc {
  max-width: none;
  margin: 0;
  padding: 0;
  font: inherit;
  color: inherit;
  background: transparent;
}
.ld-legal-body h1 {
  margin: 12px 0 10px;
  font-family: var(--ld-sans);
  font-size: clamp(20px, 2.2vw, 24px);
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: -0.015em;
  text-transform: none;
  color: #171613;
}
.ld-legal-body h2,
.ld-legal-body h3 {
  margin: 22px 0 8px;
  font-family: var(--ld-sans);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: #171613;
}
.ld-legal-body h3 { font-size: 15px; font-weight: 500; }
.ld-legal-body p,
.ld-legal-body li {
  margin: 0 0 12px;
  font-family: var(--ld-sans);
  font-size: inherit;
  line-height: inherit;
  color: inherit;
}
.ld-legal-body ul,
.ld-legal-body ol { margin: 0 0 14px; padding-left: 1.2em; }
.ld-legal-body li { margin-bottom: 6px; }
.ld-legal-body a {
  color: #171613;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.ld-legal-body .dim,
.ld-legal-body .legal-meta {
  color: rgba(23, 22, 19, 0.52);
  font-size: 13px;
}
.ld-legal-body .legal-head { margin-bottom: 8px; }
.ld-legal-body .legal-section { margin: 0 0 8px; }
.ld-legal-body .legal-allcaps {
  font-family: var(--ld-sans);
  font-size: 13.5px;
  letter-spacing: 0.01em;
  text-transform: none;
  color: rgba(23, 22, 19, 0.82);
}
.ld-legal-body button.cookie-prefs-link {
  font: inherit;
  color: #171613;
  background: none;
  border: 0;
  padding: 0;
  text-decoration: underline;
  cursor: pointer;
}

@media (max-width: 560px) {
  .ld-legal {
    padding: 20px 12px;
    padding-bottom: max(20px, env(safe-area-inset-bottom, 0px));
  }
  .ld-legal-sheet {
    max-height: calc(100dvh - 48px);
    border-radius: 18px;
  }
  .ld-legal-body { padding: 4px 18px 22px; font-size: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ld-field,
  .ld-field::before,
  .ld-photo,
  .ld-hero-photo img,
  .ld-orb-svg,
  .ld-surface-visual img,
  .ld-deck-frame img,
  .ld-deck-shot { animation: none !important; transform: none !important; }
  html.reveal-armed [data-reveal]:not(.is-in) {
    opacity: 1;
    transform: none;
  }
  body.landing *, body.landing *::before, body.landing *::after {
    transition-duration: .01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
  .ld-login-panel { transform: none; }
  .ld-login-frame { opacity: 1; }
  .ld-hero-rail-track { animation: none !important; transform: none !important; }
  .ld-hero-rail-glass {
    overflow: auto;
    mask-image: none !important;
    -webkit-mask-image: none !important;
  }
}

@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .ld-pane, .ld-glass, .ld-cell, .ld-room, .ld-stack-visual, .ld-nav,
  .ld-foot-inner, .ld-close, .ld-hero-rail-glass, .ld-hero-more {
    background-color: rgba(22, 22, 23, 0.88);
  }
}

/* ------------------------------------------------ introduction + hero positions */
.ld-drop { position: relative; }
.ld-drop-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.ld-nav-anchors .ld-drop-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
}
.ld-drop-caret {
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  display: inline-block;
  transition: transform var(--arc-dur-fast) var(--arc-ease);
}
.ld-drop.is-open .ld-drop-caret { transform: rotate(180deg); }
@media (prefers-reduced-motion: reduce) {
  .ld-drop-caret { transition: none; }
}
.ld-drop-menu[hidden] { display: none; }

.ld-hero-market {
  margin: 0 auto 22px;
  max-width: 40rem;
  font-size: var(--arc-text-lg);
  font-weight: var(--arc-weight);
  line-height: 1.45;
  color: var(--ld-ink);
}
.ld-hero-pos {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  width: 100%;
  margin: 0 0 26px;
  padding: 0;
  list-style: none;
}
.ld-hero-pos li {
  min-width: 0;
  padding: 12px 10px 14px;
  text-align: center;
  background: var(--arc-surface);
  border: 1px solid var(--arc-border);
  border-radius: var(--arc-radius-card);
  box-shadow: none;
}
.ld-hero-pos b {
  display: block;
  font-size: var(--arc-text-sm);
  font-weight: var(--arc-weight-strong);
  letter-spacing: var(--arc-tracking);
  text-transform: none;
  color: var(--arc-foreground);
}
.ld-hero-pos span {
  display: block;
  margin-top: 4px;
  font-size: var(--arc-text-xs);
  font-weight: var(--arc-weight);
  letter-spacing: 0;
  text-transform: none;
  line-height: 1.35;
  color: var(--arc-text-secondary);
}
.ld-intro {
  position: relative;
  z-index: 4;
  width: min(1080px, calc(100% - 2 * var(--ld-gut)));
  margin: 8vh auto 0;
  padding: 28px 28px 24px;
  scroll-margin-top: 96px;
  text-align: left;
  background: var(--arc-surface);
  border: 1px solid var(--arc-border);
  border-radius: var(--arc-radius-card);
  box-shadow: none;
}
.ld-intro-title {
  margin: 0;
  max-width: 22em;
  font-family: var(--ld-display);
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--arc-foreground);
}
.ld-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 36px;
  margin-top: 26px;
}
.ld-intro article { scroll-margin-top: 96px; min-width: 0; }
.ld-intro h3 {
  margin: 0 0 8px;
  font-size: var(--arc-text-md);
  font-weight: var(--arc-weight-strong);
  letter-spacing: var(--arc-tracking);
  text-transform: none;
  color: var(--arc-foreground);
}
.ld-intro article p {
  margin: 0;
  font-size: var(--arc-text-md);
  line-height: 1.55;
  color: var(--arc-text-secondary);
}
.ld-intro-note {
  margin: 22px 0 0;
  font-size: 13px;
  color: var(--ld-ink-mute);
}
@media (max-width: 900px) {
  .ld-hero-pos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .ld-hero-after { padding-top: 56px; }
  .ld-hero-pos { grid-template-columns: 1fr 1fr; }
  .ld-intro { padding: 22px 18px 20px; margin-top: 6vh; }
  .ld-intro-grid { grid-template-columns: 1fr; gap: 18px; }
}

/* ============================================================ light theme */
html[data-theme="light"] {
  --ld-bg:        #ffffff;
  --ld-bg-2:      #f4f4f5;
  --ld-kelp:      #f6f6f7;
  --ld-ink:       #0b0b0c;
  --ld-ink-soft:  #4d4d4f;
  --ld-ink-mute:  #6b6b6e;
  --ld-ink-faint: #8a8a8d;
  --ld-hair:      rgba(0, 0, 0, 0.10);
  --ld-hair-2:    rgba(0, 0, 0, 0.16);
  --ld-hover:     rgba(0, 0, 0, 0.05);
  --ld-hover-strong: rgba(0, 0, 0, 0.10);
  --ld-fill:      rgba(0, 0, 0, 0.05);
  --ld-teal:      #4d4d4f;
  --ld-teal-hi:   #0b0b0c;
  --ld-teal-soft: rgba(0, 0, 0, 0.06);
  --ld-sand:      #333335;
  --ld-c1: #1a1a1b; --ld-c1-bg: rgba(0, 0, 0, 0.06);
  --ld-c2: #404042; --ld-c2-bg: rgba(0, 0, 0, 0.05);
  --ld-c3: #5c5c5f; --ld-c3-bg: rgba(0, 0, 0, 0.05);
  --ld-c4: #2e2e30; --ld-c4-bg: rgba(0, 0, 0, 0.06);
  --ld-aurora: #0b0b0c;
  --ld-cta-ink: #ffffff;
  --ld-hot: #2b2b2d;      /* hover: a dark grey with white ink */
  --ld-hot-ink: #ffffff;
  color-scheme: light;

  --ld-glass-fill: rgba(255, 255, 255, 0.55);
  --ld-glass: rgba(255, 255, 255, 0.55);
  --ld-glass-edge: rgba(0, 0, 0, 0.12);
  --ld-frost: rgba(255, 255, 255, 0.55);
  --ld-frost-scrolled: rgba(255, 255, 255, 0.70);
  --ld-blur: blur(28px) saturate(165%);
  --ld-lift: 0 10px 28px rgba(0, 0, 0, 0.08);
  --ld-lift-hi: 0 12px 32px rgba(0, 0, 0, 0.12);
  --ld-scrim: none;
  --ld-neon: #0b0b0c;
  --ld-neon-2: #4d4d4f;
}
html[data-theme="light"], html[data-theme="light"] body { background: var(--ld-bg); color: var(--ld-ink); }
html[data-theme="light"] .ld-horizon { opacity: 0; }
html[data-theme="light"] .ld-field { background: var(--ld-bg); }
html[data-theme="light"] .ld-field::before { content: none; }
html[data-theme="light"] .ld-hero-photo { background: none; }
html[data-theme="light"] .ld-nav { background: var(--ld-frost); }
html[data-theme="light"] .ld-nav-inner { background: transparent; }
html[data-theme="light"] .ld-btn,
html[data-theme="light"] .ld-link {
  background: var(--ld-aurora);
  color: var(--ld-cta-ink);
}
html[data-theme="light"] .ld-btn:hover,
html[data-theme="light"] .ld-link:hover {
  filter: none;
  color: var(--ld-cta-ink);
  background: var(--ld-aurora);
}
html[data-theme="light"] .ld-glass,
html[data-theme="light"] .ld-cell,
html[data-theme="light"] .ld-pane,
html[data-theme="light"] .ld-room,
html[data-theme="light"] .ld-stack-visual,
html[data-theme="light"] .ld-hero-more,
html[data-theme="light"] .ld-close,
html[data-theme="light"] .ld-foot-inner {
  background: var(--ld-frost);
  -webkit-backdrop-filter: var(--ld-blur);
          backdrop-filter: var(--ld-blur);
}
html[data-theme="light"] .ld-cta-inner,
html[data-theme="light"] .ld-hero-copy {
  background: none;
}
html[data-theme="light"] .ld-lang {
  background: rgba(0, 0, 0, 0.06);
}
html[data-theme="light"] .ld-lang-cell[aria-current="true"] { color: var(--ld-teal-hi); }
html[data-theme="light"] .ld-pane::before,
html[data-theme="light"] .ld-glass::before,
html[data-theme="light"] .ld-cell::before { content: none; }
html[data-theme="light"] .ld-grain { opacity: 0.025; mix-blend-mode: multiply; }
html[data-theme="light"] .ld-brand img,
html[data-theme="light"] .ld-foot-left img {
  filter: brightness(0);
  opacity: 1;
}
html[data-theme="light"] .ld-h1 em { color: var(--ld-teal-hi); }
html[data-theme="light"] .ld-nav.is-scrolled {
  background: var(--ld-frost-scrolled);
}
html[data-theme="light"] body.landing .lang-pop-menu {
  background: var(--ld-kelp);
  color: var(--ld-ink);
}
html[data-theme="light"] .ld-draft {
  background: rgba(0, 0, 0, 0.05);
}
html[data-theme="light"] .ld-tools span {
  background: var(--ld-teal-soft);
  color: var(--ld-teal-hi);
}
html[data-theme="light"] .ld-room .routes span { background: var(--ld-fill); color: var(--ld-ink-mute); }
html[data-theme="light"] .ld-dg .g-bar { fill: rgba(0, 0, 0, 0.10); }
html[data-theme="light"] .ld-login-scrim { background: rgba(232, 238, 242, 0.42); }
html[data-theme="light"] .ld-login-shell {
  box-shadow: 0 22px 48px -16px rgba(0, 0, 0, 0.24);
}
html[data-theme="light"] .ld-legal-scrim { background: rgba(0, 0, 0, 0.28); }
html[data-theme="light"] .ld-skip { color: #ffffff; }
html[data-theme="light"] .ld-cta,
html[data-theme="light"] .ld-close { background: transparent; }
html[data-theme="light"] .ld-foot { background: transparent; }
html[data-theme="light"] .ld-foot-inner { background: var(--ld-frost); border: 0; }
html[data-theme="light"] .ld-cta-inner,
html[data-theme="light"] .ld-cta-inner.ld-pane {
  background: none;
  -webkit-backdrop-filter: none;
          backdrop-filter: none;
}
@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  html[data-theme="light"] .ld-pane,
  html[data-theme="light"] .ld-glass,
  html[data-theme="light"] .ld-cell,
  html[data-theme="light"] .ld-nav,
  html[data-theme="light"] .ld-foot-inner { background-color: var(--ld-kelp); }
}


/* ==========================================================================
   Phase 7 — scroll-driven expressiveness
   --------------------------------------------------------------------------
   The landing already revealed sections with an IntersectionObserver: a
   callback per element, a class toggle, a style recalc, and a one-way trip —
   scroll back up and nothing returns. Scroll-driven animations hand all of it
   to the compositor. The reveal becomes a function of where the element is in
   the viewport, which means it plays backwards on the way up for free, costs
   no main-thread work, and needs no JS at all.

   Everything here is inside @supports. Without scroll timelines the
   IntersectionObserver path above is untouched, and the page looks the same.
   ========================================================================== */

@keyframes ld-sd-rise {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: none; }
}

@keyframes ld-sd-progress {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

@keyframes ld-sd-draw {
  from { stroke-dashoffset: 1; }
  to   { stroke-dashoffset: 0; }
}

@keyframes ld-sd-drift {
  from { transform: translateY(0); }
  to   { transform: translateY(-28px); }
}

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {

    /* html.reveal-sd is set by the landing's own script only when it has
       decided not to arm the observer, so the two mechanisms can never both
       be driving the same element. */
    html.reveal-sd [data-reveal] {
      animation: ld-sd-rise linear both;
      animation-timeline: view();
      /* Start as the element clears the fold and finish well before it is
         centred: a reveal that is still finishing when you are reading it
         reads as lag, not polish. */
      animation-range: entry 10% cover 22%;
      transition: none;
    }

    /* The bento cells keep their ledger order. --i is already on the markup
       for the observer's transition-delay; here it shifts each cell's range
       instead, so the row assembles left to right as the section arrives
       rather than all four sliding in together. */
    html.reveal-sd .ld-bento .ld-cell[data-reveal] {
      animation-range:
        entry calc(8% + var(--i, 0) * 5%)
        cover calc(20% + var(--i, 0) * 5%);
    }

    html.reveal-sd .ld-stack-grid > [data-reveal],
    html.reveal-sd .ld-map-grid > [data-reveal] {
      animation-range:
        entry calc(8% + var(--i, 0) * 4%)
        cover calc(22% + var(--i, 0) * 4%);
    }

    /* Line work draws itself as its figure crosses the viewport instead of on
       a 1.25s timer that has usually finished before you look at it. */
    html.reveal-sd [data-reveal] .draw {
      stroke-dasharray: 1;
      animation: ld-sd-draw linear both;
      animation-timeline: view();
      animation-range: entry 15% cover 40%;
    }

    /* The hero art drifts against the scroll — a few tens of pixels over the
       whole fold. Enough to feel like depth, far too little to fight the
       reader for control of the page. */
    .ld-hero-photo,
    .ld-orb {
      animation: ld-sd-drift linear both;
      animation-timeline: scroll(root block);
      animation-range: 0 100vh;
      will-change: transform;
    }
  }

  /* Reading position, as a two-pixel rule under the nav. Not decoration on a
     marketing page that is six screens long: it is the only thing telling you
     how much is left. */
  .ld-progress {
    position: fixed;
    inset: 0 0 auto;
    height: 2px;
    transform-origin: 0 50%;
    transform: scaleX(0);
    background: linear-gradient(
      90deg,
      color-mix(in srgb, var(--accent) 55%, transparent),
      var(--accent)
    );
    z-index: 1300;
    pointer-events: none;
    animation: ld-sd-progress linear both;
    animation-timeline: scroll(root block);
  }
}

/* Without scroll timelines the bar would sit at scaleX(0) forever, so it only
   exists where it can move. */
@supports not (animation-timeline: scroll()) {
  .ld-progress { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .ld-progress { display: none; }
}

/* ---------------------------------------------------------------- Cairn Assistant */
.ld-ask {
  position: fixed;
  right: max(16px, env(safe-area-inset-right, 0px));
  bottom: max(16px, env(safe-area-inset-bottom, 0px));
  z-index: 80;
  width: max-content;
  max-width: calc(100vw - 32px);
  display: flex;
  justify-content: flex-end;
  pointer-events: none;
  font-family: var(--ld-sans);
  color: var(--ld-ink);
}
.ld-ask-launch {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 16px 0 14px;
  border: 1px solid var(--ld-hair-2);
  border-radius: 999px;
  background: var(--ld-kelp);
  color: var(--ld-ink);
  box-shadow: var(--ld-lift);
  font: 600 14px/1 var(--ld-sans);
  letter-spacing: 0.01em;
  cursor: pointer;
  transform-origin: 100% 100%;
  transition: opacity 320ms ease, transform 480ms cubic-bezier(0.16, 1, 0.3, 1), background 180ms ease;
}
.ld-ask[data-open="1"] .ld-ask-launch {
  opacity: 0;
  transform: translateY(8px) scale(0.96);
  pointer-events: none;
}
.ld-ask-launch:hover { background: var(--ld-hover-strong); color: var(--ld-ink); }
.ld-ask-launch:active { transform: scale(0.98); }
.ld-ask[data-open="1"] .ld-ask-launch:active { transform: translateY(8px) scale(0.96); }
.ld-ask-launch:focus-visible,
.ld-ask-x:focus-visible,
.ld-ask-form button:focus-visible,
.ld-ask-chips button:focus-visible,
.ld-ask-end:focus-visible,
.ld-ask-more a:focus-visible {
  outline: 1px solid var(--ld-teal-hi);
  outline-offset: 2px;
}
.ld-ask-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--ld-teal);
  flex: 0 0 auto;
}
.ld-ask-panel {
  position: absolute;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  width: min(400px, calc(100vw - 32px));
  height: min(720px, calc(100dvh - var(--oc-cookie-bar, 0px) - 28px));
  border: 1px solid var(--ld-hair-2);
  border-radius: 20px;
  background: var(--ld-kelp);
  box-shadow: var(--ld-lift-hi);
  overflow: hidden;
  transform-origin: 100% 100%;
  opacity: 0;
  transform: translateY(16px) scale(0.9);
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 420ms ease,
    transform 580ms cubic-bezier(0.16, 1, 0.3, 1),
    visibility 0s linear 580ms;
}
.ld-ask[data-open="1"] .ld-ask-panel {
  opacity: 1;
  transform: none;
  visibility: visible;
  pointer-events: auto;
  transition:
    opacity 360ms ease,
    transform 580ms cubic-bezier(0.16, 1, 0.3, 1),
    visibility 0s linear 0s;
}
.ld-ask-panel[hidden] { display: none; }
.ld-ask-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex: 0 0 auto;
  padding: 14px 12px 14px 16px;
  border-bottom: 1px solid var(--ld-hair);
  background: var(--ld-kelp);
}
.ld-ask-who {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.ld-ask-head h2 {
  margin: 0;
  font: 600 15px/1.2 var(--ld-sans);
  letter-spacing: 0.01em;
}
.ld-ask-here {
  margin: 2px 0 0;
  font: 400 12px/1.3 var(--ld-sans);
  color: var(--ld-ink-soft);
}
.ld-ask-x {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ld-ink-soft);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}
.ld-ask-x:hover { background: var(--ld-hover); color: var(--ld-ink); }
.ld-ask-log {
  flex: 1 1 0%;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 18px 16px 14px;
  scrollbar-width: thin;
  scrollbar-color: color-mix(in srgb, var(--ld-ink) 35%, transparent) transparent;
}
.ld-ask-log::-webkit-scrollbar { width: 10px; }
.ld-ask-log::-webkit-scrollbar-thumb {
  background: color-mix(in srgb, var(--ld-ink) 35%, transparent);
  border-radius: 999px;
  border: 2px solid transparent;
  background-clip: padding-box;
}
.ld-ask-msg {
  margin: 0;
  max-width: 88%;
  overflow-wrap: anywhere;
  padding: 10px 13px;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ld-ink);
}
.ld-ask-msg p {
  margin: 0;
}
.ld-ask-msg p + p,
.ld-ask-msg p + ul {
  margin-top: 10px;
}
.ld-ask-msg ul {
  margin: 0;
  padding: 1px 0 1px 1.15em;
  list-style: disc;
}
.ld-ask-msg ul + p {
  margin-top: 12px;
}
.ld-ask-msg li + li {
  margin-top: 8px;
}
.ld-ask-msg li::marker {
  color: var(--ld-teal-hi);
}
.ld-ask-msg.is-assistant {
  max-width: 100%;
  border-radius: 16px 16px 16px 5px;
  background: color-mix(in srgb, var(--ld-ink) 7%, transparent);
}
.ld-ask-msg.is-user {
  align-self: flex-end;
  border-radius: 16px 16px 5px 16px;
  background: color-mix(in srgb, var(--ld-teal) 24%, transparent);
}
.ld-ask-msg.is-pending { color: var(--ld-ink-soft); }
.ld-ask-msg.is-assistant .ai-legal {
  margin: 10px 0 0;
  padding: 8px 0 0;
  border-top: 1px solid var(--ld-hair-2);
  color: var(--ld-ink-soft);
  font-size: 11px;
  font-weight: 400;
  line-height: 1.45;
}
.ld-ask-msg.is-assistant .ai-legal-title {
  margin: 0 0 4px;
  font-size: inherit;
  font-weight: 500;
  color: var(--ld-ink-soft);
}
.ld-ask-msg.is-assistant .ai-legal p {
  margin: 0 0 4px;
}
.ld-ask-msg.is-assistant .ai-legal ol {
  margin: 0;
  padding-left: 1.25em;
  list-style: decimal;
}
.ld-ask-msg.is-assistant .ai-legal li + li {
  margin-top: 2px;
}
.ld-ask-msg.is-assistant .ai-legal li::marker {
  color: var(--ld-ink-soft);
}
.ld-ask-msg.is-assistant .ai-legal a {
  color: var(--ld-ink-soft);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.ld-ask-msg.is-assistant .ai-legal a:hover {
  color: var(--ld-ink);
}
.ld-ask-msg.is-pending .ai-legal {
  display: none;
}
.ld-ask-chips {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  max-width: 100%;
}
.ld-ask-chips[hidden] { display: none; }
.ld-ask-chips button {
  border: 1px solid var(--ld-hair-2);
  border-radius: 999px;
  background: transparent;
  color: var(--ld-ink);
  font: 500 13.5px/1.35 var(--ld-sans);
  padding: 8px 13px;
  cursor: pointer;
  text-align: left;
}
.ld-ask-chips button:hover { color: var(--ld-ink); background: var(--ld-hover); }
.ld-ask-chips button:active { transform: scale(0.98); }
.ld-ask-form {
  display: flex;
  gap: 8px;
  flex: 0 0 auto;
  padding: 18px 28px 36px;
  border: 0;
  background: var(--ld-kelp);
}
.ld-ask-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.ld-ask-form input {
  flex: 1 1 auto;
  min-width: 0;
  height: 42px;
  border: 0;
  border-radius: 999px;
  appearance: none;
  -webkit-appearance: none;
  background: color-mix(in srgb, #fff 16%, var(--ld-kelp));
  color: var(--ld-ink);
  box-shadow:
    0 2px 2px rgba(0, 0, 0, 0.72),
    0 8px 14px rgba(0, 0, 0, 0.58),
    0 18px 28px rgba(0, 0, 0, 0.52);
  font: 400 14px/1 var(--ld-sans);
  padding: 0 16px;
}
.ld-ask-form input:focus,
.ld-ask-form input:focus-visible {
  outline: none;
  box-shadow:
    0 2px 2px rgba(0, 0, 0, 0.72),
    0 10px 16px rgba(0, 0, 0, 0.60),
    0 22px 32px rgba(0, 0, 0, 0.55);
}
html[data-theme="light"] .ld-ask-form input {
  background: #fff;
  box-shadow:
    0 1px 2px rgba(16, 28, 38, 0.24),
    0 8px 14px rgba(16, 28, 38, 0.16),
    0 18px 32px rgba(16, 28, 38, 0.22);
}
html[data-theme="light"] .ld-ask-form input:focus,
html[data-theme="light"] .ld-ask-form input:focus-visible {
  box-shadow:
    0 2px 3px rgba(16, 28, 38, 0.26),
    0 10px 16px rgba(16, 28, 38, 0.18),
    0 22px 36px rgba(16, 28, 38, 0.24);
}
.ld-ask-form input::placeholder { color: var(--ld-ink-faint); }
.ld-ask-form button {
  flex: 0 0 auto;
  height: 42px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: var(--ld-ink);
  color: var(--ld-bg);
  font: 600 13px/1 var(--ld-sans);
  cursor: pointer;
}
.ld-ask-form button:hover { background: var(--ld-teal-hi); color: var(--ld-bg); }
.ld-ask-form button:active { transform: scale(0.98); }
.ld-ask-form[aria-busy="true"] button { opacity: 0.55; }
.ld-ask-more {
  margin: 0;
  flex: 0 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px 14px;
  padding: 4px 16px 14px;
  font-size: 12px;
  background: var(--ld-kelp);
}
.ld-ask-end {
  border: 0;
  background: transparent;
  padding: 0;
  color: var(--ld-ink-soft);
  font: 500 12px/1.3 var(--ld-sans);
  cursor: pointer;
}
.ld-ask-end:hover { color: var(--ld-ink); }
.ld-ask-more a {
  color: var(--ld-ink-soft);
  text-decoration: none;
}
.ld-ask-more a:hover { color: var(--ld-teal-hi); }
@media (prefers-reduced-motion: no-preference) {
  .ld-ask-msg {
    animation: ld-ask-in 360ms cubic-bezier(0.16, 1, 0.3, 1);
  }
  .ld-ask-msg.is-pending {
    animation: ld-ask-wait 1.6s ease-in-out infinite;
  }
}
@keyframes ld-ask-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
@keyframes ld-ask-wait {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 1; }
}
@media (max-width: 1100px) {
  /* The cookie card spans this width. Keep the corner clear until a choice. */
  body:has(.cookie-banner[data-open="1"]) .ld-ask {
    visibility: hidden;
    pointer-events: none;
  }
}
