/* ==========================================================================
   Skyline VPS, concept A: "The glass mark"
   Light theme only. Glass on white, warm light, editorial typography.
   ========================================================================== */

:root {
  --accent: #FF4D2E;
  --accent-dark: #E63E1F;
  --accent-light: #FFE4DC;
  --accent-soft: #FFF1EC;
  --bg: #FFFFFF;
  --bg-soft: #FAFAFA;
  --bg-subtle: #F5F5F7;
  --ink: #0A0A0B;
  --ink-2: #2A2A2E;
  --ink-3: #5C5C66;
  --ink-4: #8C8C94;
  --line: #EAEAEC;
  --green: #10B981;

  --r-s: 10px;
  --r-m: 16px;
  --r-l: 24px;

  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 56px);

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-spring: cubic-bezier(.22, 1.2, .36, 1);
  --dur: 900ms;

  /* shared cursor position for glass speculars, set by main.js (viewport px) */
  --cx: 50vw;
  --cy: 40vh;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  font-feature-settings: "cv11", "ss01", "ss03";
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

::selection { background: var(--accent-light); color: var(--ink); }

.mono {
  font-family: var(--mono);
  font-weight: 500;
  letter-spacing: .02em;
}

.wrap {
  width: min(var(--wrap), 100% - 2 * var(--gutter));
  margin-inline: auto;
}

.skip {
  position: fixed;
  top: 12px; left: 12px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--ink);
  color: #fff;
  border-radius: 999px;
  /* invisible AND non-interactive until it has keyboard focus: a transform alone still shows up
     when Safari's elastic overscroll reveals the area above the viewport */
  opacity: 0;
  pointer-events: none;
  transform: translateY(-16px);
  transition: transform .2s var(--ease-out), opacity .2s;
}
.skip:focus-visible, .skip:focus {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

/* --------------------------------------------------------------------------
   Stage: the fixed WebGL canvas behind everything
   -------------------------------------------------------------------------- */
#stage {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  display: block;
  pointer-events: none;
  background: #fff;
}

/* fine photographic grain over the render only; the copy sits above it */
.grain {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: .055;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .9 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-size: 220px 220px;
}

main, .top, .drawer, .foot { position: relative; z-index: 1; }

/* --------------------------------------------------------------------------
   Glass recipe
   -------------------------------------------------------------------------- */
.glass {
  position: relative;
  isolation: isolate;
  background:
    linear-gradient(165deg, rgba(255, 255, 255, .82) 0%, rgba(255, 255, 255, .58) 55%, rgba(255, 255, 255, .72) 100%);
  -webkit-backdrop-filter: blur(22px) saturate(1.25);
  backdrop-filter: blur(22px) saturate(1.25);
  border: 1px solid rgba(255, 255, 255, .95);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 1),
    inset 0 -1px 0 rgba(10, 10, 11, .035),
    inset 0 0 0 1px rgba(10, 10, 11, .03),
    0 1px 2px rgba(10, 10, 11, .04),
    0 24px 60px -28px rgba(255, 77, 46, .22),
    0 30px 80px -40px rgba(10, 10, 11, .18);
}
/* thin bright edge that catches the light, plus a moving specular */
.glass::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background:
    radial-gradient(420px 420px at var(--sx, 30%) var(--sy, 0%), rgba(255, 255, 255, 1), rgba(255, 255, 255, .25) 40%, rgba(255, 210, 196, .35) 70%, rgba(255, 255, 255, 0) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 1;
}
.glass::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(60% 50% at var(--sx, 30%) var(--sy, 0%), rgba(255, 255, 255, .55), rgba(255, 255, 255, 0) 70%),
    linear-gradient(180deg, rgba(255, 255, 255, .35), rgba(255, 255, 255, 0) 30%);
  pointer-events: none;
  z-index: -1;
  mix-blend-mode: screen;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -.01em;
  white-space: nowrap;
  transition: transform .35s var(--ease-spring), background-color .2s, box-shadow .3s, color .2s;
  will-change: transform;
}
.btn:active { transform: scale(.97); }
.btn-lg { height: 54px; padding: 0 26px; font-size: 16px; }
.btn-block { width: 100%; height: 50px; }

.btn-solid {
  background: var(--accent);
  color: #fff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .25),
    0 1px 2px rgba(230, 62, 31, .3),
    0 14px 30px -12px rgba(255, 77, 46, .6);
}
.btn-solid:hover { background: var(--accent-dark); transform: translateY(-1px); }

.btn-ghost { color: var(--ink-2); }
.btn-ghost:hover { color: var(--ink); background: rgba(10, 10, 11, .04); }

.btn-glass {
  background: rgba(255, 255, 255, .65);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, .95);
  box-shadow:
    inset 0 1px 0 #fff,
    inset 0 0 0 1px rgba(10, 10, 11, .05),
    0 10px 30px -14px rgba(10, 10, 11, .18);
  color: var(--ink);
}
.btn-glass:hover { background: rgba(255, 255, 255, .9); transform: translateY(-1px); }

/* --------------------------------------------------------------------------
   Top bar
   -------------------------------------------------------------------------- */
.top {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 14px var(--gutter) 0;
  pointer-events: none;
}
.top-inner {
  pointer-events: auto;
  width: min(var(--wrap), 100%);
  margin-inline: auto;
  height: 60px;
  padding: 0 10px 0 18px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .62);
  -webkit-backdrop-filter: blur(24px) saturate(1.3);
  backdrop-filter: blur(24px) saturate(1.3);
  border: 1px solid rgba(255, 255, 255, .9);
  box-shadow:
    inset 0 1px 0 #fff,
    inset 0 0 0 1px rgba(10, 10, 11, .04),
    0 10px 40px -20px rgba(10, 10, 11, .25);
  transition: box-shadow .4s, background-color .4s;
}
.top.is-scrolled .top-inner {
  background: rgba(255, 255, 255, .78);
  box-shadow:
    inset 0 1px 0 #fff,
    inset 0 0 0 1px rgba(10, 10, 11, .05),
    0 16px 50px -22px rgba(10, 10, 11, .3);
}

.top-links {
  display: flex;
  justify-content: center;
  gap: 4px;
}
.top-links a {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-2);
  transition: background-color .2s, color .2s;
}
.top-links a:hover { background: rgba(10, 10, 11, .05); color: var(--ink); }
.top-actions { display: flex; gap: 6px; }

.burger {
  display: none;
  width: 44px; height: 44px;
  border-radius: 50%;
  position: relative;
}
.burger span {
  position: absolute;
  left: 13px; right: 13px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .35s var(--ease-out), top .35s var(--ease-out);
}
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

.drawer {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: blur(30px) saturate(1.3);
  backdrop-filter: blur(30px) saturate(1.3);
  padding: 100px var(--gutter) 40px;
  opacity: 0;
  transform: translateY(-12px);
  transition: opacity .35s var(--ease-out), transform .45s var(--ease-out);
}
.drawer.is-open { opacity: 1; transform: none; }
.drawer[hidden] { display: none; }
.drawer-inner { display: flex; flex-direction: column; gap: 6px; }
.drawer-link {
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -.03em;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.drawer-actions { display: flex; gap: 10px; margin-top: 24px; }
.drawer-actions .btn { flex: 1; height: 50px; }
.drawer-note { margin-top: 24px; color: var(--ink-4); font-size: 12px; }

/* --------------------------------------------------------------------------
   Typography
   -------------------------------------------------------------------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--ink-3);
}
.eyebrow .dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.display {
  font-size: clamp(54px, 7.6vw, 112px);
  line-height: .94;
  font-weight: 800;
  letter-spacing: -.045em;
  font-feature-settings: "cv11", "ss01", "ss03", "kern";
  margin-top: 22px;
}
.display .line { display: block; }
/* Safari: while a heading is composited for its reveal (opacity + translate), its paint bounds stop at the box and
   the italic descenders of the serif accent (g, p, y) get cut, sometimes until the next full repaint. An empty
   block after the text, padded then pulled back up, extends the painted box below the baseline with no layout change
   (flow-root keeps the negative margin inside the heading). */
.display, .display-2 { display: flow-root; }
.display::after, .display-2::after { content: ""; display: block; padding-bottom: .34em; margin-bottom: -.34em; }
.display-2 {
  font-size: clamp(38px, 5.2vw, 76px);
  line-height: .98;
  font-weight: 800;
  letter-spacing: -.04em;
  margin-top: 18px;
}
.accent-serif {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -.012em;
  font-size: 1.08em;
  /* solid colour on purpose: a gradient clipped to text gets its italic descenders (g, p, y) cut in Safari */
  color: var(--accent);
  padding-right: .06em;
  /* Safari clips text to the heading box while the reveal (opacity + translate) is composited, cutting the
     descenders of g, p, y. An invisible text-shadow extends the paint bounds below the baseline, no layout change. */
  text-shadow: 0 .35em 0 rgba(0, 0, 0, 0);
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  align-items: center;
  gap: 40px;
}
.hero-copy { max-width: 640px; }
.sub {
  margin-top: 28px;
  max-width: 34em;
  font-size: clamp(17px, 1.3vw, 20px);
  line-height: 1.5;
  color: var(--ink-3);
  text-wrap: pretty;
}
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 36px;
}
.fact {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 34px;
  padding: 0 14px 0 10px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: .01em;
  color: var(--ink-2);
  background: rgba(255, 255, 255, .6);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, .95);
  box-shadow: inset 0 1px 0 #fff, inset 0 0 0 1px rgba(10, 10, 11, .05), 0 8px 24px -14px rgba(10, 10, 11, .2);
}
.fact-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, .15);
}
.hero-stage {
  position: relative;
  min-height: 60vh;
}
.light-hint {
  position: absolute;
  right: 0;
  bottom: 6%;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-4);
  opacity: 0;
  transition: opacity 1.2s ease 1.4s;
}
.is-live .light-hint { opacity: 1; }
.light-hint-ring {
  width: 10px; height: 10px;
  border-radius: 50%;
  border: 1.5px solid var(--accent);
  box-shadow: 0 0 12px rgba(255, 77, 46, .6);
  animation: ringpulse 2.4s ease-in-out infinite;
}
@keyframes ringpulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.35); opacity: .55; }
}
.scroll-cue {
  position: absolute;
  left: var(--gutter);
  bottom: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-4);
}
.scroll-cue-line {
  width: 44px; height: 1px;
  background: var(--ink-4);
  position: relative;
  overflow: hidden;
}
.scroll-cue-line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform: translateX(-100%);
  animation: cue 2.2s var(--ease-out) infinite;
}
@keyframes cue {
  0% { transform: translateX(-100%); }
  60%, 100% { transform: translateX(100%); }
}

/* --------------------------------------------------------------------------
   Signature section: while you sleep
   -------------------------------------------------------------------------- */
.night {
  position: relative;
  height: 420vh;
}
.night-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.night-grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  gap: 40px;
  align-items: center;
  /* no width override here: .wrap keeps the page gutters and centres the grid inside the sticky flex box */
}
.night-copy { max-width: 560px; }
.clock {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 40px;
  padding: 0 14px 0 14px;
  border-radius: 999px;
  margin-top: 28px;
  font-size: 13px;
  color: var(--ink-2);
}
.clock-time { font-weight: 600; font-variant-numeric: tabular-nums; min-width: 3.2em; }
.clock-zone { color: var(--ink-4); font-size: 11px; letter-spacing: .12em; }
.clock-arc {
  width: 120px; height: 4px;
  border-radius: 999px;
  background: rgba(10, 10, 11, .08);
  overflow: hidden;
}
.clock-arc i {
  display: block;
  height: 100%;
  width: 0%;
  border-radius: inherit;
  background: linear-gradient(90deg, #FF8A65, #FF4D2E);
}
.moments {
  position: relative;
  margin-top: 30px;
  min-height: 250px;
}
.moment {
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .55s var(--ease-out), transform .7s var(--ease-out);
  pointer-events: none;
}
.moment.is-on { opacity: 1; transform: none; pointer-events: auto; }
.moment.is-past { opacity: 0; transform: translateY(-14px); }
.moment-time {
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--accent);
}
.moment-title {
  margin-top: 10px;
  font-size: clamp(24px, 2.2vw, 32px);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1.1;
}
.moment-text {
  margin-top: 12px;
  color: var(--ink-3);
  font-size: 16.5px;
  max-width: 36em;
  text-wrap: pretty;
}
.night-stage {
  position: relative;
  height: 70vh;
}
.chip {
  position: absolute;
  left: 0; top: 0;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 36px;
  padding: 0 14px 0 11px;
  border-radius: 999px;
  font-size: 11.5px;
  color: var(--ink-4);
  white-space: nowrap;
  transform: translate(-50%, -50%) scale(.92);
  opacity: .55;
  transition: opacity .5s var(--ease-out), color .5s, box-shadow .6s;
  will-change: transform;
}
.chip b { font-weight: 600; color: inherit; }
.chip-led {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(10, 10, 11, .18);
  transition: background-color .4s, box-shadow .6s;
}
.chip.is-lit {
  opacity: 1;
  color: var(--ink);
  box-shadow:
    inset 0 1px 0 #fff,
    inset 0 0 0 1px rgba(255, 77, 46, .18),
    0 1px 2px rgba(10, 10, 11, .04),
    0 10px 30px -10px rgba(255, 77, 46, .55);
}
.chip.is-lit .chip-led {
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(255, 77, 46, .18), 0 0 16px rgba(255, 77, 46, .9);
}

/* --------------------------------------------------------------------------
   Sections shared
   -------------------------------------------------------------------------- */
.sec-intro { max-width: 760px; }
.sec-intro-row {
  max-width: none;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.sec-sub {
  margin-top: 20px;
  color: var(--ink-3);
  font-size: 18px;
  max-width: 34em;
  text-wrap: pretty;
}

/* --------------------------------------------------------------------------
   Features bento
   -------------------------------------------------------------------------- */
.feat { position: relative; padding: 12vh 0 16vh; }
.bento {
  --gx: 50%;
  --gy: 50%;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 14px;
  margin-top: 56px;
  perspective: 1600px;
}
.span-7 { grid-column: span 7; }
.span-5 { grid-column: span 5; }
.span-4 { grid-column: span 4; }
.span-12 { grid-column: span 12; }

.tile {
  border-radius: var(--r-l);
  padding: 30px;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  transform-style: preserve-3d;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .5s var(--ease-out);
  overflow: hidden;
}
/* the shared light: one gradient per tile, centred on the same grid point */
.tile .tile-light {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(520px 520px at var(--lx, 50%) var(--ly, 50%), rgba(255, 255, 255, .95), rgba(255, 241, 236, .55) 25%, rgba(255, 228, 220, .18) 45%, rgba(255, 255, 255, 0) 70%);
  pointer-events: none;
  z-index: 0;
}
.tile .tile-edge {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: radial-gradient(420px 420px at var(--lx, 50%) var(--ly, 50%), rgba(255, 77, 46, .55), rgba(255, 255, 255, 0) 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 3;
}
.tile-body { position: relative; z-index: 2; }
.tile-kicker { font-size: 11px; letter-spacing: .16em; color: var(--accent); }
.tile-title {
  margin-top: 10px;
  font-size: clamp(22px, 1.9vw, 28px);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1.1;
}
.tile-text {
  margin-top: 12px;
  color: var(--ink-3);
  font-size: 15.5px;
  max-width: 40em;
  text-wrap: pretty;
}
.tile-demo { position: relative; z-index: 2; }
.demo-tag {
  position: absolute;
  right: 0;
  bottom: -18px;
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-4);
}
.tile-wide {
  min-height: 0;
  flex-direction: row;
  align-items: center;
  gap: 40px;
  padding: 26px 30px;
}
.tile-wide .tile-body { flex: 0 0 300px; }
.wide-list {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  flex: 1;
  font-size: 14.5px;
  color: var(--ink-3);
}
.wide-list strong { color: var(--ink); font-weight: 600; display: block; }

/* mini demos */
.rdp { padding-right: 40px; }
.rdp-card {
  border-radius: var(--r-m);
  padding: 16px 18px;
  display: grid;
  gap: 12px;
  max-width: 400px;
}
.rdp-row { display: flex; align-items: center; gap: 10px; }
.rdp-ico {
  width: 28px; height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, #FF6B4A, #FF4D2E);
  box-shadow: 0 6px 14px -6px rgba(255, 77, 46, .7);
  position: relative;
}
.rdp-ico::after {
  content: "";
  position: absolute;
  left: 7px; right: 7px; top: 9px; bottom: 8px;
  background:
    linear-gradient(#fff, #fff) 0 100% / 4px 60% no-repeat,
    linear-gradient(#fff, #fff) 50% 100% / 4px 100% no-repeat,
    linear-gradient(#fff, #fff) 100% 100% / 4px 45% no-repeat;
}
.rdp-name { font-size: 12.5px; color: var(--ink); }
.rdp-meta { display: flex; gap: 14px; font-size: 11px; color: var(--ink-4); }
.rdp-btn {
  justify-self: start;
  height: 34px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 12.5px;
  font-weight: 600;
}
.dash { display: grid; gap: 8px; padding-bottom: 6px; }
.dash-row {
  display: grid;
  grid-template-columns: 10px 1fr auto;
  align-items: center;
  gap: 10px;
  height: 36px;
  padding: 0 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .55);
  border: 1px solid rgba(255, 255, 255, .95);
  box-shadow: inset 0 0 0 1px rgba(10, 10, 11, .04);
  font-size: 12px;
  color: var(--ink-2);
}
.dash-val { color: var(--ink-4); }
.led { width: 8px; height: 8px; border-radius: 50%; background: var(--ink-4); }
.led.ok { background: var(--green); box-shadow: 0 0 0 3px rgba(16, 185, 129, .14); animation: led 2.6s ease-in-out infinite; }
.dash-row:nth-child(2) .led { animation-delay: .6s; }
.dash-row:nth-child(3) .led { animation-delay: 1.3s; }
@keyframes led { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }
.dash-bars {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr;
  gap: 10px;
  align-items: center;
  font-size: 11px;
  color: var(--ink-4);
  padding: 4px 2px 0;
}
.bar { display: block; height: 6px; border-radius: 999px; background: rgba(10, 10, 11, .07); overflow: hidden; }
.bar b { display: block; height: 100%; width: var(--w); border-radius: inherit; background: linear-gradient(90deg, #FF8A65, #FF4D2E); animation: breathe 5s ease-in-out infinite; transform-origin: left; }
@keyframes breathe { 0%, 100% { transform: scaleX(1); } 50% { transform: scaleX(1.12); } }

.pulse { height: 90px; position: relative; }
.pulse-core, .pulse-ring {
  position: absolute;
  left: 50%; top: 50%;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.pulse-core {
  width: 14px; height: 14px;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(255, 77, 46, .18), 0 0 24px rgba(255, 77, 46, .8);
}
.pulse-ring {
  width: 14px; height: 14px;
  border: 1.5px solid rgba(255, 77, 46, .6);
  animation: ring 3s var(--ease-out) infinite;
}
.pulse-ring:nth-child(2) { animation-delay: 1.5s; }
@keyframes ring {
  0% { width: 14px; height: 14px; opacity: 1; }
  100% { width: 120px; height: 120px; opacity: 0; }
}
.tg { position: relative; padding-bottom: 8px; }
.tg-bubble {
  border-radius: 16px 16px 16px 4px;
  padding: 12px 14px;
  font-size: 13.5px;
  color: var(--ink);
  display: grid;
  gap: 4px;
  max-width: 280px;
}
.tg-time { font-size: 10.5px; color: var(--ink-4); letter-spacing: .1em; }
.snaps { display: flex; gap: 10px; height: 60px; align-items: flex-end; }
.snap {
  flex: 1;
  height: 100%;
  border-radius: 10px;
  background: rgba(255, 255, 255, .6);
  border: 1px solid rgba(255, 255, 255, .95);
  box-shadow: inset 0 0 0 1px rgba(10, 10, 11, .04);
  position: relative;
}
.snap::after {
  content: "";
  position: absolute;
  left: 10px; right: 10px; bottom: 10px;
  height: 4px;
  border-radius: 2px;
  background: rgba(10, 10, 11, .08);
}
.snap:first-child::after { background: linear-gradient(90deg, #FF8A65, #FF4D2E); }

/* --------------------------------------------------------------------------
   Pricing
   -------------------------------------------------------------------------- */
.plans { position: relative; padding: 10vh 0 14vh; }
.toggle {
  position: relative;
  display: inline-flex;
  padding: 4px;
  border-radius: 999px;
  gap: 2px;
}
.toggle-thumb {
  position: absolute;
  top: 4px; bottom: 4px; left: 4px;
  width: var(--tw, 110px);
  transform: translateX(var(--tx, 0px));
  border-radius: 999px;
  background: var(--ink);
  transition: transform .55s var(--ease-spring), width .55s var(--ease-spring);
  z-index: 0;
}
.toggle-btn {
  position: relative;
  z-index: 1;
  height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink-3);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: color .3s;
}
.toggle-btn.is-on { color: #fff; }
.toggle-save {
  font-size: 10.5px;
  letter-spacing: .06em;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  transition: background-color .3s, color .3s;
}
.toggle-btn.is-on .toggle-save { background: rgba(255, 255, 255, .16); color: #fff; }

.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 64px;
  align-items: end;
}
.plan {
  border-radius: var(--r-l);
  padding: 30px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  background:
    linear-gradient(165deg, rgba(255, 255, 255, .78) 0%, rgba(255, 255, 255, .52) 60%, rgba(255, 255, 255, .7) 100%);
}
.plan.is-popular {
  padding-top: 38px;
  box-shadow:
    inset 0 1px 0 #fff,
    inset 0 0 0 1px rgba(255, 77, 46, .25),
    0 1px 2px rgba(10, 10, 11, .04),
    0 40px 90px -40px rgba(255, 77, 46, .5),
    0 30px 80px -40px rgba(10, 10, 11, .2);
}
.plan-tag {
  position: absolute;
  top: 14px; right: 16px;
  z-index: 2;
  font-size: 10.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 20px -8px rgba(255, 77, 46, .8);
}
.plan-name { font-size: 24px; font-weight: 700; letter-spacing: -.03em; }
.plan-for { margin-top: 4px; color: var(--ink-4); font-size: 14px; }
.price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  letter-spacing: -.045em;
  font-weight: 800;
  line-height: 1;
}
.price-cur { font-size: 24px; color: var(--ink-3); align-self: flex-start; margin-top: 8px; }
.price-num { font-size: 60px; font-variant-numeric: tabular-nums; transition: opacity .25s, transform .4s var(--ease-spring); display: inline-block; }
.price-num.is-swapping { opacity: 0; transform: translateY(8px); }
.price-per { font-size: 12px; color: var(--ink-4); margin-left: 8px; letter-spacing: .06em; }
.price-note { font-size: 11.5px; color: var(--ink-4); margin-top: -12px; min-height: 1.4em; }
.specs { display: grid; gap: 10px; font-size: 15px; color: var(--ink-2); }
.specs li { display: flex; align-items: center; gap: 10px; }
.specs li::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
  flex: none;
}
.enterprise {
  margin-top: 16px;
  padding: 20px 26px;
  border-radius: var(--r-m);
  font-size: 15.5px;
  color: var(--ink-3);
}
.enterprise strong { color: var(--ink); font-weight: 600; }
.enterprise a { color: var(--accent); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.guarantee {
  margin: 28px auto 0;
  max-width: 62em;
  text-align: center;
  color: var(--ink-4);
  font-size: 13.5px;
  text-wrap: pretty;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.foot {
  background: rgba(255, 255, 255, .72);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--line);
  padding: 72px 0 36px;
}
.foot-top {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: 48px;
}
.foot-brand img { height: 26px; width: auto; }
.foot-tag { margin-top: 18px; color: var(--ink-3); font-size: 15px; max-width: 30em; }
.foot-support { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 16px; font-size: 12.5px; }
.foot-support a { color: var(--accent); }
.foot-cols {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px;
}
.foot-col { display: grid; gap: 10px; align-content: start; }
.foot-col h4 {
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-4);
  margin-bottom: 6px;
}
.foot-col a { font-size: 14.5px; color: var(--ink-2); transition: color .2s; }
.foot-col a:hover { color: var(--accent); }
.foot-bottom {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 11.5px;
  color: var(--ink-4);
}

/* --------------------------------------------------------------------------
   Reveals
   -------------------------------------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .9s var(--ease-out), transform 1.1s var(--ease-spring);
  transition-delay: var(--d, 0ms);
}
[data-reveal].in { opacity: 1; transform: none; }
.tile[data-reveal] { transform: translateY(26px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }
.tile[data-reveal].in { transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }
.plan[data-reveal] { transform: translateY(90px); }
.plan[data-reveal].in { transform: none; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
  .foot-top { grid-template-columns: 1fr; }
  .foot-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .wide-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .top-links, .top-actions { display: none; }
  .top-inner { grid-template-columns: auto 1fr auto; padding-right: 6px; }
  .burger { display: block; grid-column: 3; }

  .hero { padding: 108px 0 40px; align-items: flex-start; }
  .hero-grid { grid-template-columns: 1fr; gap: 0; }
  .hero-copy { max-width: none; }
  .display { font-size: clamp(46px, 13vw, 72px); margin-top: 16px; }
  .sub { margin-top: 20px; font-size: 16.5px; max-width: 30em; }
  .cta-row { margin-top: 26px; }
  .cta-row .btn { flex: 1 1 auto; }
  .facts { margin-top: 22px; }
  .hero-stage { min-height: 42vh; }
  .light-hint { display: none; }
  .scroll-cue { display: none; }

  .night { height: 360vh; }
  .night-grid { grid-template-columns: 1fr; align-content: start; gap: 0; }
  .night-sticky { align-items: flex-start; padding-top: 96px; }
  .night-copy { max-width: none; }
  .moments { min-height: 220px; }
  .moment-text { font-size: 15px; }
  .night-stage { height: 38vh; }
  .chip { height: 32px; font-size: 10.5px; padding: 0 12px 0 10px; }

  .bento { grid-template-columns: 1fr; gap: 12px; margin-top: 36px; perspective: none; }
  .span-7, .span-5, .span-4, .span-12 { grid-column: span 1; }
  .tile { min-height: 0; padding: 24px; transform: none !important; }
  .tile-wide { flex-direction: column; align-items: stretch; gap: 20px; }
  .tile-wide .tile-body { flex: none; }
  .wide-list { grid-template-columns: 1fr; gap: 14px; }

  .sec-intro-row { flex-direction: column; align-items: flex-start; }
  .plan-grid { grid-template-columns: 1fr; margin-top: 36px; }
  .plan { padding: 26px 22px; }
  .plan.is-popular { padding-top: 34px; }
  .foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-bottom { flex-direction: column; }
}

@media (max-width: 420px) {
  .display { font-size: clamp(42px, 13.5vw, 56px); }
  .fact { font-size: 11.5px; height: 32px; }
}

/* --------------------------------------------------------------------------
   Reduced motion: instant reveals, no autoplay motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .plan[data-reveal], .tile[data-reveal] { transform: none; }
  .light-hint { opacity: 1; }
  .moment { transition: none; }
  .wdg-log li, .tg-stack li { opacity: 1; transform: none; }
  .snp-bar b { width: 100%; }
  .snp-state span { opacity: 0; }
  .snp-state span:last-child { opacity: 1; }
}

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */
:root { interpolate-size: allow-keywords; }
.faq { position: relative; padding: 40px 0 120px; }
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 56px;
  align-items: start;
}
.faq-intro { position: sticky; top: 120px; }
.faq-intro .sec-sub { margin-top: 20px; }
.link { color: var(--accent); font-weight: 600; }
.link:hover { color: var(--accent-dark); }
.faq-list { display: grid; gap: 12px; }
.qa { border-radius: var(--r-m); }
.qa summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 24px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -.015em;
  color: var(--ink);
}
.qa summary::-webkit-details-marker { display: none; }
.qa-plus {
  position: relative;
  flex: none;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--accent-soft);
  transition: transform .5s var(--ease-spring), background-color .3s;
}
.qa-plus::before, .qa-plus::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 12px; height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transform: translate(-50%, -50%);
}
.qa-plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.qa[open] .qa-plus { transform: rotate(135deg); background: var(--accent-light); }
.qa::details-content {
  height: 0;
  overflow: clip;
  transition: height .45s var(--ease-out), content-visibility .45s allow-discrete;
}
.qa[open]::details-content { height: auto; }
.qa-body { padding: 0 24px 24px; }
.qa-body p {
  color: var(--ink-3);
  font-size: 16px;
  line-height: 1.6;
  max-width: 54ch;
}

/* --------------------------------------------------------------------------
   Final call
   -------------------------------------------------------------------------- */
.final { position: relative; padding: 20px 0 140px; }
.final-card {
  border-radius: var(--r-l);
  padding: clamp(40px, 6vw, 88px) clamp(24px, 5vw, 72px);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.final-card .display-2 { font-size: clamp(36px, 4.8vw, 68px); max-width: 14ch; }
.final-card .sec-sub { margin-top: 20px; max-width: 42ch; }
.final-card .cta-row { justify-content: center; margin-top: 32px; }
.final-note { margin-top: 22px; font-size: 12px; color: var(--ink-4); letter-spacing: .04em; }

@media (max-width: 900px) {
  .faq { padding: 20px 0 80px; }
  .faq-grid { grid-template-columns: 1fr; gap: 28px; }
  .faq-intro { position: static; }
  .qa summary { padding: 18px 18px; font-size: 16px; }
  .qa-body { padding: 0 18px 18px; }
  .final { padding-bottom: 80px; }
  .final-card .cta-row { flex-direction: column; width: 100%; }
  .final-card .cta-row .btn { width: 100%; }
}

/* --------------------------------------------------------------------------
   Control room: the real dashboard (light theme, Jordan's own overview) inside a glass frame
   -------------------------------------------------------------------------- */
/* the film: one night in one minute */
.film { position: relative; padding: 70px 0 50px; }
.film-wrap { margin-top: 44px; }
.film-wrap[data-reveal] { transform: translateY(70px); }
.film-wrap[data-reveal].in { transform: none; }
.film-frame {
  border-radius: 28px;
  padding: 10px;
  box-shadow:
    inset 0 1px 0 #fff,
    inset 0 0 0 1px rgba(10, 10, 11, .04),
    0 2px 4px rgba(10, 10, 11, .05),
    0 40px 90px -30px rgba(10, 10, 11, .30),
    0 30px 70px -40px rgba(255, 77, 46, .25);
}
.film-video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 19px;
  background: #F3F1F0;
  object-fit: cover;
}
.film-sound {
  position: absolute;
  left: 30px;
  bottom: 30px;
  z-index: 2;
  gap: 10px;
  transition: opacity .35s var(--ease-out), transform .35s var(--ease-out);
}
.film-frame.has-sound .film-sound { opacity: 0; transform: translateY(8px); pointer-events: none; }
@media (max-width: 900px) {
  .film { padding: 40px 0 30px; }
  .film-wrap { margin-top: 28px; }
  .film-frame { border-radius: 20px; padding: 6px; }
  .film-video { border-radius: 15px; }
  .film-sound { left: 12px; bottom: 12px; padding: 10px 14px; font-size: 13px; }
}
@media (max-width: 600px) {
  .film-sound { left: 10px; bottom: 10px; width: 42px; height: 42px; padding: 0; justify-content: center; }
  .film-sound-label { display: none; }
}

.control { position: relative; padding: 60px 0 40px; }
.shot-wrap {
  margin-top: 48px;
  perspective: 2000px;
  perspective-origin: 50% 30%;
}
.shot-wrap[data-reveal] { transform: translateY(70px); }
.shot-wrap[data-reveal].in { transform: none; }
.shot {
  --rx: 0deg; --ry: 0deg;
  position: relative;
  border-radius: 28px;
  padding: 10px;
  transform: rotateX(var(--rx)) rotateY(var(--ry));
  transform-style: preserve-3d;
  transition: transform .5s var(--ease-out);
  will-change: transform;
  box-shadow:
    inset 0 1px 0 #fff,
    inset 0 0 0 1px rgba(10, 10, 11, .04),
    0 2px 4px rgba(10, 10, 11, .05),
    0 40px 90px -30px rgba(10, 10, 11, .35),
    0 30px 70px -40px rgba(255, 77, 46, .25);
}
.shot-stage {            /* sized by main.js: height = DH * scale */
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: inset 0 0 0 1px rgba(10, 10, 11, .06);
}
.dboard {
  --db-bg: #FAFAFA; --db-card: #FFFFFF; --db-soft: #F5F5F7;
  --db-ink: #0A0A0B; --db-ink2: #2A2A2E; --db-ink3: #5C5C66; --db-ink4: #8C8C94;
  --db-line: #EAEAEC;
  position: absolute;
  inset: 0 auto auto 0;
  width: 1600px;
  height: 980px;
  transform-origin: 0 0;
  transform: scale(var(--s, 1));
  background: var(--db-bg);
  color: var(--db-ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.4;
  letter-spacing: 0;
  display: grid;
  grid-template-columns: 256px 1fr;
  grid-template-rows: 60px 1fr;
  overflow: hidden;
}
.dboard .mono { font-family: var(--mono); font-weight: 500; letter-spacing: 0; }
.dboard svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* sidebar */
.db-side {
  grid-row: 1 / 3;
  background: #fff;
  border-right: 1px solid var(--db-line);
  display: flex;
  flex-direction: column;
  padding: 0 12px 16px;
}
.db-brand { display: flex; align-items: center; gap: 12px; height: 80px; padding: 0 10px; font-size: 19px; font-weight: 700; letter-spacing: -.01em; border-bottom: 1px solid var(--db-line); margin-bottom: 10px; }
.db-brand img { width: 38px; height: 38px; border-radius: 10px; }
.db-brand b { color: var(--accent); font-weight: 700; }
.db-nav { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.db-nav small { display: block; font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--db-ink4); padding: 18px 14px 8px; }
.db-nav span { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 10px; font-size: 15px; font-weight: 500; color: var(--db-ink2); }
.db-nav span svg { color: var(--db-ink3); }
.db-nav span.is-on { background: var(--accent-soft); color: var(--accent); font-weight: 600; }
.db-nav span.is-on svg { color: var(--accent); }
.db-dot { margin-left: auto; width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.db-badge { margin-left: auto; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--green); color: #fff; font-size: 11px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; font-style: normal; }
.db-user { display: flex; align-items: center; gap: 12px; padding: 14px 10px 0; border-top: 1px solid var(--db-line); margin-top: 10px; }
.db-user i { width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: #fff; font-style: normal; font-weight: 700; font-size: 13px; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.db-user b { display: block; font-size: 14px; font-weight: 600; }
.db-mail {
  display: inline-block;
  margin-top: 3px;
  font-size: 11px;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 2px 8px;
  border-radius: 6px;
  filter: blur(2.2px);            /* the one thing we hide: the address */
  user-select: none;
}

/* top bar */
.db-top { display: flex; align-items: center; gap: 18px; padding: 0 28px; background: #fff; border-bottom: 1px solid var(--db-line); }
.db-title { font-size: 16px; font-weight: 600; }
.db-search { margin-left: auto; display: inline-flex; align-items: center; gap: 10px; width: 300px; height: 38px; padding: 0 12px; border: 1px solid var(--db-line); border-radius: 10px; background: var(--db-bg); color: var(--db-ink4); font-size: 13.5px; }
.db-search kbd { margin-left: auto; font-family: var(--mono); font-size: 11px; background: #fff; border: 1px solid var(--db-line); border-radius: 5px; padding: 1px 6px; color: var(--db-ink3); }
.db-icons { display: inline-flex; gap: 18px; color: var(--db-ink3); }
.db-icons svg { width: 20px; height: 20px; }
.db-icons .has-dot { position: relative; overflow: visible; }
.db-icons .has-dot::after { content: ""; }

/* main */
.db-main { padding: 34px 32px 28px; display: flex; flex-direction: column; gap: 20px; overflow: hidden; }
.db-greet h3 { display: flex; align-items: center; gap: 14px; font-size: 30px; font-weight: 700; letter-spacing: -.03em; }
.db-greet p { margin-top: 6px; font-size: 15px; color: var(--db-ink3); }
.db-greet b { font-weight: 500; }
.db-pill { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 600; letter-spacing: .02em; padding: 5px 11px; border-radius: 999px; background: var(--db-soft); color: var(--db-ink2); }
.db-pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.db-pill.ok { background: rgba(16, 185, 129, .12); color: #0E9F6E; text-transform: uppercase; font-size: 11px; }
.db-greet .db-pill.ok { text-transform: none; font-size: 13px; font-weight: 500; }
.db-pill.warm { background: var(--accent-soft); color: var(--accent); text-transform: uppercase; font-size: 11px; }
.db-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.db-stat { background: var(--db-card); border: 1px solid var(--db-line); border-radius: 14px; padding: 20px 22px; display: flex; flex-direction: column; gap: 6px; }
.db-lab { font-size: 11.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--db-ink3); }
.db-val { font-size: 19px; font-weight: 500; color: var(--db-ink3); font-variant-numeric: tabular-nums; }
.db-val b { font-weight: 500; }
.db-val.db-neg { color: #EF4444; font-size: 30px; font-weight: 700; letter-spacing: -.02em; }
.db-sub { font-size: 13px; color: var(--db-ink3); }
.db-row2 { display: grid; grid-template-columns: 1fr 390px; gap: 20px; }
.db-row3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.db-card { background: var(--db-card); border: 1px solid var(--db-line); border-radius: 14px; padding: 20px 22px; min-width: 0; overflow: hidden; }
.db-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.db-head b { font-size: 16px; font-weight: 600; }
.db-head.col { flex-direction: column; align-items: flex-start; gap: 4px; }
.db-head span { font-size: 13.5px; color: var(--db-ink3); }
.db-head a { color: var(--accent); font-size: 13.5px; font-weight: 500; }
.db-spark { display: block; width: 100%; height: auto; margin-top: 14px; }
.db-quick { display: flex; flex-direction: column; gap: 10px; }
.db-btn { display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 16px; border-radius: 10px; border: 1px solid var(--db-line); background: #fff; font-size: 14.5px; font-weight: 600; color: var(--db-ink); }
.db-btn em { font-style: normal; font-weight: 400; color: var(--db-ink3); }
.db-btn.solid { background: var(--accent); border-color: var(--accent); color: #fff; box-shadow: 0 8px 20px -10px rgba(255, 77, 46, .6); }
.db-card dl { display: grid; gap: 14px; margin: 16px 0 0; }
.db-card dt { font-size: 11.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--db-ink3); }
.db-card dd { margin: 4px 0 0; font-size: 16px; font-weight: 600; }
.db-card dd code { font-family: var(--mono); font-size: 14px; font-weight: 500; background: var(--db-soft); border: 1px solid var(--db-line); border-radius: 8px; padding: 6px 10px; }
.db-eas { margin: 14px 0 0; display: grid; gap: 10px; }
.db-eas li { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 10px; background: var(--db-soft); }
.db-eas b { display: block; font-size: 15px; font-weight: 600; }
.db-eas span { display: block; font-size: 12px; color: var(--db-ink3); margin-top: 3px; }
.db-led { width: 12px; height: 12px; border-radius: 50%; background: var(--green); flex: none; animation: led 2.6s ease-in-out infinite; }
.db-eas li:nth-child(2) .db-led { animation-delay: .9s; }
.db-empty { margin-top: 40px; text-align: center; color: var(--db-ink3); font-size: 14.5px; }
.db-chat { position: absolute; right: 28px; bottom: 28px; width: 72px; height: 72px; border-radius: 50%; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 14px 30px -10px rgba(255, 77, 46, .6); }
.db-chat svg { width: 30px; height: 30px; }
.shot-cap { margin-top: 18px; text-align: center; font-size: 12px; color: var(--ink-4); letter-spacing: .04em; }

@media (max-width: 900px) {
  .control { padding: 20px 0 10px; }
  .shot-wrap { margin-top: 28px; perspective: none; }
  .shot { padding: 6px; border-radius: 18px; transform: none !important; }
  .shot-stage { border-radius: 13px; }
}

/* --------------------------------------------------------------------------
   Logo lockup (tile mark + text, like the dashboard) and the floating Telegram button
   -------------------------------------------------------------------------- */
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 700; font-size: 19px; letter-spacing: -.02em; }
.brand-mark { width: 30px; height: 30px; border-radius: 8px; }
.brand-word b { color: var(--accent); font-weight: 700; }
.foot-brand .brand { font-size: 18px; }
.tg-float {
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 52px;
  padding: 0 18px 0 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .72);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  backdrop-filter: blur(18px) saturate(1.3);
  border: 1px solid rgba(255, 255, 255, .95);
  box-shadow: inset 0 1px 0 #fff, inset 0 0 0 1px rgba(10, 10, 11, .05), 0 16px 40px -16px rgba(10, 10, 11, .3);
  color: var(--ink);
  font-weight: 600;
  font-size: 14px;
  transition: transform .35s var(--ease-spring), box-shadow .3s;
}
.tg-float:hover { transform: translateY(-2px); box-shadow: inset 0 1px 0 #fff, inset 0 0 0 1px rgba(10, 10, 11, .05), 0 22px 50px -18px rgba(255, 77, 46, .45); }
.tg-float-ico { width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: #fff; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 8px 18px -8px rgba(255, 77, 46, .7); }
.tg-float-ico svg { margin-left: -2px; }
@media (max-width: 900px) {
  .tg-float { right: 14px; bottom: 14px; height: 48px; padding: 0 4px; }
  .tg-float-label { display: none; }
}

/* --------------------------------------------------------------------------
   Compatibility + brokers
   -------------------------------------------------------------------------- */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.compat { position: relative; padding: 80px 0 40px; }
.plat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 48px;
}
.plat {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 24px;
  border-radius: var(--r-l);
  transition: transform .5s var(--ease-out);
}
.plat:hover { transform: translateY(-3px); }
.plat img, .plat-plus { width: 56px; height: 56px; border-radius: 14px; flex: none; background: #fff; box-shadow: inset 0 0 0 1px rgba(10, 10, 11, .06); object-fit: contain; padding: 6px; }
.plat-plus { display: inline-flex; align-items: center; justify-content: center; font-size: 30px; font-weight: 300; color: var(--accent); background: var(--accent-soft); }
.plat b { display: block; font-size: 17px; font-weight: 700; letter-spacing: -.015em; }
.plat-tag { display: inline-block; margin-top: 6px; font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); background: rgba(10, 10, 11, .05); padding: 3px 8px; border-radius: 999px; }
.plat-tag.ok { color: #0E9F6E; background: rgba(16, 185, 129, .12); }
.plat p { margin-top: 8px; font-size: 14px; color: var(--ink-3); line-height: 1.5; }

.brokers { margin-top: 56px; }
.brokers-cap { display: block; font-size: 12px; letter-spacing: .06em; color: var(--ink-4); text-align: center; margin-bottom: 22px; }
.marquee {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 72px;
  width: max-content;
  padding: 10px 0;
  animation: marquee 42s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track img { height: 28px; width: auto; opacity: .55; filter: grayscale(1) contrast(1.05); transition: opacity .3s, filter .3s; }
.marquee-track img:hover { opacity: 1; filter: none; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 36px)); } }

/* --------------------------------------------------------------------------
   Built for you
   -------------------------------------------------------------------------- */
.personas { position: relative; padding: 60px 0 40px; }
.persona-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 48px; }
.persona {
  display: flex;
  flex-direction: column;
  padding: 28px 26px;
  border-radius: var(--r-l);
  transition: transform .5s var(--ease-out);
}
.persona:hover { transform: translateY(-4px); }
.persona.is-hot { box-shadow: inset 0 1px 0 #fff, inset 0 0 0 1px rgba(255, 77, 46, .35), 0 24px 60px -28px rgba(255, 77, 46, .35), 0 30px 80px -40px rgba(10, 10, 11, .18); }
.persona-kicker { font-size: 11px; letter-spacing: .14em; color: var(--accent); }
.persona h3 { margin-top: 14px; font-size: 24px; font-weight: 700; letter-spacing: -.025em; }
.persona-text { margin-top: 10px; font-size: 15px; line-height: 1.55; color: var(--ink-3); }
.persona-list { margin-top: 18px; display: grid; gap: 8px; font-size: 14px; color: var(--ink-2); }
.persona-list li { padding-left: 18px; position: relative; }
.persona-list li::before { content: ""; position: absolute; left: 0; top: .5em; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.persona-plan { margin-top: auto; padding-top: 24px; display: flex; flex-direction: column; gap: 2px; }
.persona-plan span { font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-4); }
.persona-plan b { font-size: 16px; font-weight: 700; letter-spacing: -.01em; }
.persona .btn { margin-top: 16px; width: 100%; }

/* --------------------------------------------------------------------------
   Comparison
   -------------------------------------------------------------------------- */
.compare { position: relative; padding: 60px 0 40px; }
.cmp { margin-top: 48px; border-radius: var(--r-l); padding: 10px; overflow: hidden; }
.cmp-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 15px; }
.cmp-table th, .cmp-table td { padding: 18px 20px; text-align: left; border-bottom: 1px solid rgba(10, 10, 11, .06); vertical-align: middle; }
.cmp-table thead th { font-size: 13px; font-weight: 600; letter-spacing: .02em; color: var(--ink-3); padding-top: 14px; padding-bottom: 14px; }
.cmp-table tbody th { font-weight: 500; color: var(--ink-2); }
.cmp-table tbody tr:last-child th, .cmp-table tbody tr:last-child td { border-bottom: 0; }
.cmp-table td { color: var(--ink-3); }
.cmp-us { background: rgba(255, 77, 46, .055); }
.cmp-table thead .cmp-us { color: var(--ink); font-weight: 700; font-size: 14px; border-radius: 14px 14px 0 0; }
.cmp-table tbody tr:last-child .cmp-us { border-radius: 0 0 14px 14px; }
.cmp-mark { display: inline-block; width: 10px; height: 10px; border-radius: 3px; background: linear-gradient(135deg, #FF6B4A, #FF4D2E); margin-right: 10px; vertical-align: -1px; }
.cmp-table i.yes, .cmp-table i.no { display: inline-block; width: 22px; height: 22px; border-radius: 50%; position: relative; }
.cmp-table i.yes { background: var(--accent); box-shadow: 0 6px 14px -6px rgba(255, 77, 46, .7); }
.cmp-table i.yes::after { content: ""; position: absolute; left: 7px; top: 4px; width: 6px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.cmp-table i.no { background: rgba(10, 10, 11, .06); }
.cmp-table i.no::after { content: ""; position: absolute; left: 7px; top: 10px; width: 8px; height: 2px; background: var(--ink-4); border-radius: 2px; }

/* --------------------------------------------------------------------------
   Reviews
   -------------------------------------------------------------------------- */
.reviews { position: relative; padding: 60px 0 40px; }
.review-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 48px; }
.review {
  margin: 0;
  padding: 28px 26px 24px;
  border-radius: var(--r-l);
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: transform .5s var(--ease-out);
}
.review:hover { transform: translateY(-4px); }
.review-tag { align-self: flex-start; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); background: var(--accent-soft); padding: 4px 9px; border-radius: 999px; }
.review blockquote {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 23px;
  line-height: 1.3;
  letter-spacing: -.01em;
  color: var(--ink);
  text-wrap: pretty;
}
.review blockquote::before { content: "\201C"; color: var(--accent); margin-right: 2px; }
.review figcaption { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.review figcaption i { width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(135deg, #FFE4DC, #FFB196); color: var(--accent-dark); font-style: normal; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.review figcaption b { display: block; font-size: 14.5px; font-weight: 600; }
.review figcaption span { font-size: 12.5px; color: var(--ink-4); }

@media (max-width: 1100px) {
  .persona-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .compat, .personas, .compare, .reviews { padding: 40px 0 20px; }
  .plat-grid, .persona-grid, .review-grid { grid-template-columns: 1fr; gap: 12px; margin-top: 28px; }
  .brokers { margin-top: 36px; }
  .marquee-track { gap: 44px; }
  .marquee-track img { height: 22px; }
  .cmp { padding: 6px; overflow-x: auto; }
  .cmp-table { min-width: 640px; font-size: 14px; }
  .cmp-table th, .cmp-table td { padding: 14px 12px; }
  .review blockquote { font-size: 20px; }
}

/* --------------------------------------------------------------------------
   Bento widgets 03, 04, 05: small live scenes, each on a 10 s loop in CSS only
   -------------------------------------------------------------------------- */
/* 03 · watchdog: an incident caught and fixed */
.wdg { display: flex; flex-direction: column; gap: 10px; }
.wdg-head { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--ink-2); }
.wdg-toggle { margin-left: auto; width: 32px; height: 18px; border-radius: 999px; background: var(--accent); position: relative; }
.wdg-toggle::after { content: ""; position: absolute; top: 2px; right: 2px; width: 14px; height: 14px; border-radius: 50%; background: #fff; }
.wdg-log { display: grid; gap: 6px; }
.wdg-log li {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 10px 8px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .62);
  border: 1px solid rgba(255, 255, 255, .95);
  box-shadow: inset 0 0 0 1px rgba(10, 10, 11, .04);
  font-size: 11.5px;
  color: var(--ink-2);
  opacity: 0;
  transform: translateY(6px);
  animation: 10s ease-in-out infinite;
}
.wdg-log li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ink-4); flex: none; }
.wdg-log li.is-bad::before { background: #EF4444; box-shadow: 0 0 0 3px rgba(239, 68, 68, .15); }
.wdg-log li.is-work::before { background: var(--accent); box-shadow: 0 0 0 3px rgba(255, 77, 46, .18); animation: led 1s ease-in-out infinite; }
.wdg-log li.is-ok::before { background: var(--green); box-shadow: 0 0 0 3px rgba(16, 185, 129, .15); }
.wdg-log time { color: var(--ink-4); flex: none; }
.wdg-log li:nth-child(1) { animation-name: wd1; }
.wdg-log li:nth-child(2) { animation-name: wd2; }
.wdg-log li:nth-child(3) { animation-name: wd3; }
.wdg-log li:nth-child(4) { animation-name: wd4; }
@keyframes wd1 { 0% { opacity: 0; transform: translateY(6px); } 6%, 88% { opacity: 1; transform: none; } 95%, 100% { opacity: 0; } }
@keyframes wd2 { 0%, 16% { opacity: 0; transform: translateY(6px); } 22%, 88% { opacity: 1; transform: none; } 95%, 100% { opacity: 0; } }
@keyframes wd3 { 0%, 36% { opacity: 0; transform: translateY(6px); } 42%, 88% { opacity: 1; transform: none; } 95%, 100% { opacity: 0; } }
@keyframes wd4 { 0%, 48% { opacity: 0; transform: translateY(6px); } 54%, 88% { opacity: 1; transform: none; } 95%, 100% { opacity: 0; } }

/* 04 · Telegram: three real message shapes arriving one after the other */
.tg-stack { display: grid; gap: 10px; }
.tg-stack li {
  display: flex; align-items: flex-start; gap: 10px;
  opacity: 0;
  transform: translateY(10px) scale(.98);
  animation: 10s ease-in-out infinite;
}
.tg-stack li:nth-child(1) { animation-name: tg1; }
.tg-stack li:nth-child(2) { animation-name: tg2; }
.tg-stack li:nth-child(3) { animation-name: tg3; }
@keyframes tg1 { 0% { opacity: 0; transform: translateY(10px) scale(.98); } 6%, 88% { opacity: 1; transform: none; } 95%, 100% { opacity: 0; } }
@keyframes tg2 { 0%, 28% { opacity: 0; transform: translateY(10px) scale(.98); } 34%, 88% { opacity: 1; transform: none; } 95%, 100% { opacity: 0; } }
@keyframes tg3 { 0%, 54% { opacity: 0; transform: translateY(10px) scale(.98); } 60%, 88% { opacity: 1; transform: none; } 95%, 100% { opacity: 0; } }
.tg-ava { width: 28px; height: 28px; border-radius: 50%; flex: none; background: var(--accent) url("/assets/favicon.svg") center / 60% no-repeat; box-shadow: 0 6px 14px -6px rgba(255, 77, 46, .6); margin-top: 2px; }
.tg-stack li > div {
  position: relative;
  flex: 1; min-width: 0;
  padding: 9px 12px 8px;
  border-radius: 4px 14px 14px 14px;
  background: rgba(255, 255, 255, .85);
  border: 1px solid rgba(255, 255, 255, .95);
  box-shadow: inset 0 0 0 1px rgba(10, 10, 11, .04), 0 10px 24px -16px rgba(10, 10, 11, .25);
}
.tg-stack b { display: block; font-size: 11.5px; font-weight: 600; color: var(--accent); margin-bottom: 2px; }
.tg-stack p { font-size: 12.5px; line-height: 1.4; color: var(--ink-2); padding-right: 36px; }
.tg-stack p strong { font-weight: 600; color: var(--ink); }
.tg-stack time { position: absolute; right: 10px; bottom: 7px; font-size: 10px; color: var(--ink-4); }

/* 05 · snapshots: the real list, and a restore that completes */
.snp { display: flex; flex-direction: column; gap: 8px; }
.snp-list { display: grid; gap: 6px; }
.snp-list li {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .62);
  border: 1px solid rgba(255, 255, 255, .95);
  box-shadow: inset 0 0 0 1px rgba(10, 10, 11, .04);
}
.snp-ico { width: 30px; height: 30px; border-radius: 8px; flex: none; background: var(--accent-soft); position: relative; }
.snp-ico::before { content: ""; position: absolute; inset: 9px 7px 8px; border: 1.6px solid var(--accent); border-radius: 3px; }
.snp-ico::after { content: ""; position: absolute; left: 12px; right: 12px; top: 6px; height: 3px; border-radius: 2px; background: var(--accent); }
.snp-list li > div { flex: 1; min-width: 0; }
.snp-list b { display: block; font-size: 12.5px; font-weight: 600; color: var(--ink); }
.snp-list span.mono { display: block; font-size: 10.5px; color: var(--ink-4); margin-top: 1px; }
.snp-bar { display: block; height: 4px; margin-top: 7px; border-radius: 4px; background: rgba(10, 10, 11, .06); overflow: hidden; }
.snp-bar b { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, #FF8A65, #FF4D2E); animation: snpBar 10s ease-in-out infinite; }
@keyframes snpBar { 0%, 14% { width: 0; } 62%, 86% { width: 100%; } 92%, 100% { width: 0; } }
.snp-state { position: relative; flex: none; width: 74px; height: 24px; font-style: normal; font-size: 10.5px; letter-spacing: .04em; }
.snp-state span { position: absolute; inset: 0; display: inline-flex; align-items: center; justify-content: center; border-radius: 6px; border: 1px solid rgba(10, 10, 11, .08); background: #fff; color: var(--ink-2); }
.snp-state span:nth-child(2) { color: var(--accent); border-color: rgba(255, 77, 46, .35); }
.snp-state span:nth-child(3) { color: #0E9F6E; border-color: rgba(16, 185, 129, .35); background: rgba(16, 185, 129, .08); }
.is-live .snp-state span:nth-child(1) { animation: snpS1 10s ease-in-out infinite; }
.is-live .snp-state span:nth-child(2) { opacity: 0; animation: snpS2 10s ease-in-out infinite; }
.is-live .snp-state span:nth-child(3) { opacity: 0; animation: snpS3 10s ease-in-out infinite; }
@keyframes snpS1 { 0%, 12% { opacity: 1; } 15%, 90% { opacity: 0; } 94%, 100% { opacity: 1; } }
@keyframes snpS2 { 0%, 12% { opacity: 0; } 15%, 60% { opacity: 1; } 64%, 100% { opacity: 0; } }
@keyframes snpS3 { 0%, 62% { opacity: 0; } 66%, 88% { opacity: 1; } 92%, 100% { opacity: 0; } }
.snp-add { font-size: 11px; color: var(--accent); letter-spacing: .04em; padding: 2px 4px; }

/* the bento widget loops run only while the grid is on screen (main.js toggles .is-live) */
.wdg-log li, .tg-stack li, .snp-bar b, .snp-list .is-live .snp-state span, .wdg-log li.is-work::before { animation-play-state: paused; }
.bento.is-live .wdg-log li, .bento.is-live .tg-stack li, .bento.is-live .snp-bar b, .bento.is-live .snp-list .is-live .snp-state span, .bento.is-live .wdg-log li.is-work::before { animation-play-state: running; }
