/* ==========================================================================
   Review Room Marketing Site (reviewroom.si)
   Grounded in Review Room tokens + Nexora, Glaze, Driftbar, and Hairline craft
   ========================================================================== */

@font-face {
  font-family: "Instrument Serif";
  src: url("../assets/fonts/instrument-serif-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Instrument Serif";
  src: url("../assets/fonts/instrument-serif-400-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("../assets/fonts/inter-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("../assets/fonts/inter-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("../assets/fonts/inter-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("../assets/fonts/inter-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter Tight";
  src: url("../assets/fonts/inter-tight-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter Tight";
  src: url("../assets/fonts/inter-tight-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "JetBrains Mono";
  src: url("../assets/fonts/jetbrains-mono-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "JetBrains Mono";
  src: url("../assets/fonts/jetbrains-mono-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #ffffff;
  --bg-soft: #f7f8fb;
  --bg-sky-top: #dbe3ee;
  --bg-sky-mid: #eef2f8;
  --bg-sky-bot: #f4f7fb;
  --ink: #121316;
  --ink-2: #3b4250;
  --ink-muted: #5d6675;
  --line: rgba(15, 23, 42, 0.09);
  --line-strong: rgba(15, 23, 42, 0.16);
  --accent: #1d63dc;
  --accent-hover: #174fb3;
  --accent-bright: #3392ff;
  --theater: #12151b;
  --theater-surface: #181c24;
  --theater-line: rgba(255, 255, 255, 0.1);
  --paper: #f1f1ee;
  --mist: #e2e3f1;
  --font-display: "Instrument Serif", Georgia, serif;
  --font-tight: "Inter Tight", "Inter", system-ui, -apple-system, sans-serif;
  --font-sans: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --shadow-dashboard: 0 28px 80px -12px rgba(15, 23, 42, 0.12), 0 0 0 1px rgba(15, 23, 42, 0.06);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-pill: cubic-bezier(0.7, 0, 0.2, 1);
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

img,
video,
svg {
  display: block;
  max-width: 100%;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.wrap {
  width: min(1240px, calc(100% - clamp(32px, 8vw, 144px)));
  margin: 0 auto;
}

.wrap-wide {
  width: min(1380px, calc(100% - clamp(24px, 6vw, 112px)));
  margin: 0 auto;
}

section[id] {
  scroll-margin-top: 84px;
}

/* ==========================================================================
   Brand Mark (faithful to Review Room shell RR mark)
   ========================================================================== */

.rr-mark {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: #121316;
  color: #ffffff;
  font-family: var(--font-tight);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: -0.02em;
  flex: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 1px 3px rgba(15, 23, 42, 0.18);
}

.rr-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-tight);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

/* ==========================================================================
   Loader (Glaze upward mask wipe — skipped on reduced motion)
   ========================================================================== */

.page-loader {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--bg-sky-bot);
  display: grid;
  place-items: center;
  padding: 24px;
  clip-path: inset(0 0 0 0);
}

.page-loader.is-done {
  display: none;
}

.page-loader__mask {
  overflow: hidden;
  padding-bottom: 0.1em;
}

.page-loader__line {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 42px);
  letter-spacing: -0.02em;
  color: var(--ink);
  transform: translateY(115%);
}

/* ==========================================================================
   Dual Floating Glass Pills Header (Glaze + Youssef glass-pill preference)
   ========================================================================== */

.site-header {
  position: fixed;
  top: clamp(14px, 1.6vw, 22px);
  left: clamp(14px, 4.8vw, 72px);
  right: clamp(14px, 4.8vw, 72px);
  z-index: 60;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  pointer-events: none;
}

.nav-pill {
  pointer-events: auto;
  display: flex;
  align-items: center;
  background: rgba(242, 246, 252, 0.82);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.nav-pill--left {
  height: 56px;
  width: min(650px, calc(100vw - 320px));
  padding: 0 16px 0 14px;
  border-radius: 16px;
  overflow: hidden;
  justify-content: space-between;
  transition: width 0.55s var(--ease-pill), background-color 0.25s ease;
}

.site-header.is-compact .nav-pill--left {
  width: 224px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.7vw, 26px);
  margin-left: clamp(16px, 2.2vw, 34px);
  margin-right: auto;
  transition: opacity 0.28s ease;
}

.site-header.is-compact .nav-links {
  opacity: 0;
  pointer-events: none;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: #2c333f;
  white-space: nowrap;
  padding: 6px 2px;
  transition: color 0.18s ease, opacity 0.18s ease;
}

.nav-links a:hover {
  opacity: 0.62;
}

.nav-links a[aria-current="page"] {
  color: var(--accent);
}

.nav-more {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: inline-grid;
  place-items: center;
  flex: none;
  color: var(--ink);
  transition: background-color 0.18s ease;
}

.nav-more:hover {
  background: rgba(15, 23, 42, 0.06);
}

.nav-pill--right {
  height: 52px;
  margin-top: 2px;
  padding: 0 8px 0 18px;
  border-radius: 15px;
  gap: 14px;
  flex: none;
}

.nav-login {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  white-space: nowrap;
  transition: opacity 0.18s ease;
}

.nav-login:hover {
  opacity: 0.62;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0 15px;
  border-radius: 10px;
  background: #121316;
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 500;
  white-space: nowrap;
  transition: background-color 0.2s ease, transform 0.25s var(--ease-expo);
}

.nav-cta:hover {
  background: #252a34;
  transform: translateY(-1px);
}

/* Compact / Mobile floating nav drawer */
.nav-drawer {
  position: fixed;
  top: 82px;
  left: clamp(14px, 4.8vw, 72px);
  width: min(320px, calc(100vw - 28px));
  padding: 12px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid rgba(15, 23, 42, 0.1);
  box-shadow: 0 24px 60px -12px rgba(15, 23, 42, 0.18);
  z-index: 59;
  display: grid;
  gap: 4px;
  opacity: 0;
  transform: translateY(-8px) scale(0.98);
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.24s var(--ease-expo);
}

.nav-drawer.is-open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.nav-drawer a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink);
}

.nav-drawer a:hover,
.nav-drawer a[aria-current="page"] {
  background: rgba(29, 99, 220, 0.08);
  color: var(--accent);
}

/* ==========================================================================
   Shared Buttons & Editorial Typography Primitives
   ========================================================================== */

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  padding: 0 24px;
  border-radius: 999px;
  background: #121316;
  color: #ffffff;
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: background-color 0.2s ease, transform 0.28s var(--ease-expo), box-shadow 0.2s ease;
}

.btn-primary:hover {
  background: #232833;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px -8px rgba(15, 23, 42, 0.35);
}

.btn-cobalt {
  background: var(--accent);
  color: #ffffff;
}

.btn-cobalt:hover {
  background: var(--accent-hover);
  box-shadow: 0 12px 28px -8px rgba(29, 99, 220, 0.42);
}

.btn-play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
  color: var(--ink);
  transition: transform 0.25s var(--ease-expo), background-color 0.2s ease;
}

.btn-play:hover {
  transform: scale(1.06);
  background: #ffffff;
}

.eyebrow {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.section-heading {
  margin: 12px 0 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(36px, 4.6vw, 62px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.section-heading em {
  font-style: italic;
}

.section-lead {
  margin: 14px 0 0;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 560px;
}

/* ==========================================================================
   HOME HERO (Nexora Prompt Craft: Atmospheric Sky + Instrument Serif + Frosted Glass UI)
   ========================================================================== */

.hero-nexora {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(104px, 12vh, 132px) clamp(16px, 4vw, 48px) 0;
  background: #ffffff;
  overflow: hidden;
  isolation: isolate;
}

.hero-nexora__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-nexora__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  opacity: 0.92;
}

.hero-nexora__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.98) 0%,
    rgba(255, 255, 255, 0.88) 42%,
    rgba(244, 247, 251, 0.45) 75%,
    rgba(255, 255, 255, 0.25) 100%
  );
}

.hero-nexora__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(10px);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
  margin-bottom: 20px;
}

.hero-badge__mark {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.hero-nexora h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(48px, 6.4vw, 88px);
  line-height: 0.95;
  letter-spacing: -0.025em;
  color: var(--ink);
  max-width: 14.5ch;
}

.hero-nexora h1 em {
  font-style: italic;
}

.hero-nexora__sub {
  margin: 18px 0 0;
  font-size: clamp(16px, 1.35vw, 18.5px);
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 610px;
}

.hero-nexora__actions {
  margin-top: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-play-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-2);
  padding-right: 6px;
}

/* Custom-coded Frosted Glass Dashboard Preview (Nexora section 5) */
.hero-glass-frame {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1040px;
  margin: 34px auto -28px;
  padding: 12px;
  border-radius: 22px 22px 0 0;
  background: rgba(255, 255, 255, 0.44);
  backdrop-filter: blur(22px) saturate(140%);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-bottom: 0;
  box-shadow: var(--shadow-dashboard);
  text-align: left;
}

.rr-app-preview {
  background: #ffffff;
  border-radius: 14px 14px 0 0;
  border: 1px solid rgba(15, 23, 42, 0.08);
  overflow: hidden;
  font-size: 12px;
  color: #121316;
}

.rr-app-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 16px;
  background: #fafafa;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.rr-app-modes {
  display: inline-flex;
  background: #ebebeb;
  padding: 3px;
  border-radius: 9px;
  gap: 2px;
}

.rr-mode-btn {
  padding: 5px 11px;
  border-radius: 7px;
  font-size: 11.5px;
  font-weight: 500;
  color: #4b5563;
  transition: background-color 0.16s ease, color 0.16s ease, box-shadow 0.16s ease;
}

.rr-mode-btn.is-active {
  background: #ffffff;
  color: #121316;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
}

.rr-app-meta {
  display: flex;
  align-items: center;
  gap: 8px;
}

.rr-kbd {
  font-family: var(--font-mono);
  font-size: 10.5px;
  padding: 3px 7px;
  border-radius: 6px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: #ffffff;
  color: #525866;
}

.rr-app-pill {
  font-size: 11px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(29, 99, 220, 0.1);
  color: var(--accent);
}

.rr-app-shell {
  display: grid;
  grid-template-columns: 190px 1fr;
  min-height: 360px;
}

.rr-sidebar {
  background: #fafafa;
  border-right: 1px solid rgba(15, 23, 42, 0.07);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.rr-ws-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 6px 10px;
  font-weight: 600;
  font-size: 12px;
}

.rr-side-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 9px;
  border-radius: 7px;
  font-size: 11.5px;
  color: #4b5563;
}

.rr-side-item.is-selected {
  background: var(--accent);
  color: #ffffff;
  font-weight: 500;
}

.rr-side-group {
  margin-top: 10px;
  padding: 4px 9px;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #6b7280;
  text-transform: uppercase;
}

.rr-side-count {
  font-size: 10px;
  padding: 1px 6px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.07);
  color: #374151;
}

.rr-app-main {
  padding: 14px 16px 24px;
  background: #ffffff;
}

.rr-board-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  gap: 10px;
  flex-wrap: wrap;
}

.rr-board-title {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
}

.rr-board-sub {
  font-size: 11px;
  color: var(--ink-muted);
}

.rr-kanban {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.rr-col {
  background: #f6f7f9;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 12px;
  padding: 9px;
  display: grid;
  gap: 8px;
  align-content: start;
}

.rr-col-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11.5px;
  font-weight: 600;
  color: #1f2937;
}

.rr-col-num {
  font-size: 10.5px;
  color: #6b7280;
  font-weight: 500;
}

.rr-card {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.07);
  border-radius: 9px;
  padding: 9px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  display: grid;
  gap: 6px;
  transition: border-color 0.16s ease, transform 0.2s var(--ease-expo);
  cursor: pointer;
}

.rr-card:hover {
  border-color: rgba(29, 99, 220, 0.35);
  transform: translateY(-1px);
}

.rr-card.is-picked {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(29, 99, 220, 0.12);
}

.rr-card-thumb {
  height: 56px;
  border-radius: 6px;
  background: linear-gradient(135deg, #e7edf8 0%, #dbe4f3 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 5px;
}

.rr-card-thumb--warm {
  background: linear-gradient(135deg, #edf2f7 0%, #d8e2ee 100%);
}

.rr-card-thumb--slate {
  background: linear-gradient(135deg, #1d2432 0%, #2d384d 100%);
}

.rr-card-thumb span {
  font-size: 9.5px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 5px;
  background: rgba(18, 19, 22, 0.72);
  color: #ffffff;
}

.rr-card-title {
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.3;
  color: #111827;
}

.rr-card-meta {
  font-size: 10.5px;
  color: #6b7280;
}

.rr-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 7px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 600;
  width: fit-content;
}

.rr-chip--qa { background: #ede9fe; color: #5b21b6; }
.rr-chip--review { background: #ffedd5; color: #c2410c; }
.rr-chip--changes { background: #fee2e2; color: #b91c1c; }
.rr-chip--approved { background: #dcfce7; color: #15803d; }
.rr-chip--draft { background: #e0e7ff; color: #1d4ed8; }

.rr-portal-view {
  padding: 16px 20px 26px;
}

.rr-portal-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  flex-wrap: wrap;
}

.rr-portal-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.rr-portal-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #1e293b;
  color: #ffffff;
  display: grid;
  place-items: center;
  font-weight: 600;
  font-size: 12px;
}

.rr-portal-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.rr-mini-btn {
  padding: 6px 11px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 600;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: #ffffff;
  transition: background-color 0.16s ease, border-color 0.16s ease;
}

.rr-mini-btn--blue {
  background: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
}

.rr-portal-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.rr-portal-tile {
  border-radius: 10px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  padding: 10px;
  background: #fafafa;
  display: grid;
  gap: 8px;
}

.rr-portal-notice {
  margin-top: 12px;
  padding: 9px 12px;
  border-radius: 9px;
  background: #f1f5f9;
  font-size: 11px;
  color: #334155;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.rr-hidden {
  display: none !important;
}

/* ==========================================================================
   Section 2: Kinetic Marquee Ticker (Glaze Section 7)
   ========================================================================== */

.ticker-section {
  padding: clamp(54px, 6vw, 84px) 0 clamp(32px, 4vw, 48px);
  background: #ffffff;
  border-bottom: 1px solid var(--line);
}

.ticker-caption {
  margin: 0;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: rgba(15, 23, 42, 0.45);
  padding: 0 20px;
}

.ticker-viewport {
  margin-top: 28px;
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent);
}

.ticker-track {
  display: flex;
  width: max-content;
  will-change: transform;
}

.ticker-list {
  display: flex;
  align-items: center;
  gap: clamp(38px, 5vw, 76px);
  padding-right: clamp(38px, 5vw, 76px);
}

.ticker-item {
  height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  color: #0e1116;
  font-family: var(--font-tight);
  font-size: clamp(20px, 2vw, 27px);
  font-weight: 600;
  letter-spacing: -0.025em;
}

.ticker-item--serif {
  font-family: var(--font-display);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(24px, 2.3vw, 31px);
  letter-spacing: -0.01em;
}

.ticker-item--mono {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: clamp(16px, 1.5vw, 20px);
  letter-spacing: 0.02em;
  color: var(--accent);
}

/* ==========================================================================
   Section 3: Glaze Dark Two-Track Timeline -> Inline Statement FLIP
   ========================================================================== */

.timeline-story {
  position: relative;
  overflow: hidden;
  background: linear-gradient(to bottom, #ffffff 0%, #f5f7fb 50%, #ffffff 100%);
  padding: clamp(72px, 8vw, 128px) 0 clamp(80px, 9vw, 140px);
}

.timeline-intro {
  text-align: center;
  max-width: 720px;
  margin: 0 auto clamp(34px, 4vw, 54px);
  padding: 0 20px;
}

.timeline-intro .section-lead {
  margin-left: auto;
  margin-right: auto;
}

.tl-stage-wrap {
  padding: 0 clamp(12px, 4.4vw, 68px);
}

.tl-box {
  position: relative;
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  aspect-ratio: 1372 / 500;
}

.tl-panel {
  position: absolute;
  inset: 0;
  border-radius: clamp(18px, 3vw, 42px);
  background: var(--theater);
  box-shadow: 0 38px 70px rgba(24, 38, 72, 0.2), 0 6px 14px rgba(15, 23, 42, 0.16);
}

.tl-pause {
  position: absolute;
  left: 1.7%;
  top: 4.4%;
  width: clamp(22px, 2.7vw, 40px);
  height: clamp(22px, 2.7vw, 40px);
  border-radius: clamp(6px, 0.8vw, 11px);
  background: #262c37;
  display: grid;
  place-items: center;
  color: #f4f7fb;
  z-index: 4;
  transition: background-color 0.18s ease;
}

.tl-pause:hover {
  background: #333b4a;
}

.tl-pause svg {
  width: 36%;
  height: 36%;
}

.tl-ruler {
  position: absolute;
  left: 8%;
  right: 2.4%;
  top: 5.2%;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}

.tl-ruler-label {
  font-family: var(--font-mono);
  font-size: clamp(9px, 0.88vw, 13px);
  font-weight: 500;
  color: #e9edf3;
}

.tl-ruler-tick {
  width: 1px;
  height: clamp(6px, 0.68vw, 10px);
  background: rgba(255, 255, 255, 0.22);
}

.tl-lane {
  position: absolute;
  left: 8%;
  right: 2.4%;
  height: 33%;
  border-radius: clamp(8px, 1vw, 14px);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.tl-lane--v1 { top: 16%; }
.tl-lane--v2 { top: 56%; }

.tl-lane-tag {
  position: absolute;
  left: 1.6%;
  transform: translateY(-50%);
  font-family: var(--font-mono);
  font-size: clamp(8px, 0.8vw, 12px);
  font-weight: 500;
  color: #9aa4b5;
  letter-spacing: 0.04em;
}

.tl-lane-tag--v1 { top: 32.5%; }
.tl-lane-tag--v2 { top: 72.5%; }

.tl-playhead {
  position: absolute;
  top: 12.5%;
  bottom: 4.5%;
  left: 8%;
  width: 2px;
  background: var(--accent-bright);
  z-index: 3;
  pointer-events: none;
  box-shadow: 0 0 14px rgba(51, 146, 255, 0.45);
}

.tl-timecode {
  position: absolute;
  top: -22px;
  left: 50%;
  transform: translateX(-50%);
  padding: 3px 7px;
  border-radius: 6px;
  background: var(--accent);
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: clamp(8px, 0.78vw, 11.5px);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.tl-slot {
  position: absolute;
  height: 28%;
  aspect-ratio: 1;
  z-index: 2;
}

.tl-slot--0 { top: 18.5%; left: 10%; }
.tl-slot--1 { top: 58.5%; left: 23.5%; }
.tl-slot--2 { top: 18.5%; left: 36.5%; }
.tl-slot--3 { top: 58.5%; left: 53.5%; }
.tl-slot--4 { top: 18.5%; left: 69.5%; }

.tl-block {
  position: absolute;
  inset: 0;
  will-change: transform;
  transform-origin: center center;
}

.tl-tile {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 24%;
  background: #1b2230;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

@supports (clip-path: path("M 0 0")) {
  .tl-tile {
    border-radius: 22%;
  }
}

.tl-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 18px rgba(255, 255, 255, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.38);
  pointer-events: none;
}

.tl-tile canvas,
.tl-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tl-tile-cap {
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 8%;
  padding: 4px 6px;
  border-radius: 7px;
  background: rgba(12, 15, 20, 0.76);
  backdrop-filter: blur(6px);
  font-size: clamp(7px, 0.72vw, 10.5px);
  font-weight: 600;
  color: #f8fafc;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: opacity 0.25s ease;
}

.tl-block.is-in-sentence .tl-tile-cap {
  opacity: 0;
}

/* Giant 3-line FLIP statement below timeline */
.tl-statement-wrap {
  padding: clamp(64px, 8vw, 118px) clamp(20px, 6vw, 88px) clamp(24px, 4vw, 48px);
}

.tl-statement {
  margin: 0 auto;
  max-width: 26ch;
  text-align: center;
  font-family: var(--font-tight);
  font-weight: 500;
  font-size: clamp(28px, 3.85vw, 57px);
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.tl-statement em {
  font-family: var(--font-display);
  font-weight: 400;
  font-style: italic;
  font-size: 1.08em;
}

.tl-inline-slot {
  display: inline-block;
  width: 1.06em;
  height: 1.06em;
  vertical-align: middle;
  margin: -0.14em 0.16em 0.04em;
  border-radius: 24%;
  background: rgba(29, 99, 220, 0.04);
  border: 1px solid rgba(29, 99, 220, 0.14);
}

/* ==========================================================================
   Section 4: Hairline Isometric Interactive Strip (Open Gutters, No Box Cages)
   ========================================================================== */

.hairline-section {
  padding: clamp(72px, 8vw, 120px) 0;
  background: #ffffff;
  border-top: 1px solid var(--line);
}

.hairline-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 5vw, 72px);
  align-items: end;
  margin-bottom: clamp(40px, 5vw, 68px);
}

.hairline-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 44px);
}

.hl-item {
  border-top: 1px solid var(--line-strong);
  padding-top: 18px;
  display: flex;
  flex-direction: column;
}

.hl-stage {
  width: 100%;
  margin: 8px 0 14px;
  --hairline-plate: #ffffff;
  --hairline-hi: var(--accent);
  --hairline-edge: #1e293b;
  --hairline-mid: #94a3b8;
  --hairline-lo: #e2e8f0;
  --hairline-stroke: 1.05;
}

.hl-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.hl-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-muted);
}

.hl-read {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  min-height: 16px;
}

.hl-item h3 {
  margin: 0;
  font-family: var(--font-tight);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.hl-item p {
  margin: 8px 0 0;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-2);
}

/* ==========================================================================
   Section 5: Real Product Showcase Videos & Cross-Theme Switcher
   ========================================================================== */

.showcase-section {
  padding: clamp(72px, 8vw, 120px) 0;
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
}

.showcase-layout {
  display: grid;
  grid-template-columns: minmax(260px, 360px) 1fr;
  gap: clamp(28px, 4.5vw, 64px);
  align-items: start;
  margin-top: clamp(32px, 4vw, 52px);
}

.chapter-tabs {
  display: grid;
  gap: 6px;
}

.chapter-tab {
  text-align: left;
  padding: 16px 14px;
  border-top: 1px solid var(--line);
  transition: background-color 0.2s ease, border-color 0.2s ease;
  display: grid;
  gap: 5px;
}

.chapter-tab:last-child {
  border-bottom: 1px solid var(--line);
}

.chapter-tab:hover {
  background: rgba(255, 255, 255, 0.72);
}

.chapter-tab.is-active {
  border-top-color: var(--accent);
  background: #ffffff;
}

.chapter-tab__kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
}

.chapter-tab strong {
  font-family: var(--font-tight);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.chapter-tab span {
  font-size: 13.5px;
  color: var(--ink-muted);
  line-height: 1.45;
}

.video-stage {
  border-radius: 18px;
  overflow: hidden;
  background: #12151b;
  border: 1px solid rgba(15, 23, 42, 0.12);
  box-shadow: 0 24px 64px -16px rgba(15, 23, 42, 0.16);
}

.video-stage__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 16px;
  background: #181c24;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #e2e8f0;
  font-size: 12px;
}

.video-stage__player {
  width: 100%;
  aspect-ratio: 1280 / 682;
  background: #12151b;
  object-fit: contain;
}

.video-stage__caption {
  padding: 12px 16px;
  background: #141820;
  color: #9aa4b5;
  font-size: 12.5px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

/* ==========================================================================
   Section 6: Live 3D Physics Keychain Stage (Glaze Section 6 — Three.js + Rapier3D)
   ========================================================================== */

.physics-stage {
  position: relative;
  min-height: clamp(540px, 78vh, 780px);
  background: linear-gradient(180deg, var(--bg-sky-top) 0%, var(--bg-sky-mid) 62%, var(--bg-sky-bot) 100%);
  overflow: hidden;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: flex-end;
}

.physics-stage--hero {
  min-height: 100svh;
  border-top: 0;
}

.physics-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.physics-overlay {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: clamp(120px, 18vh, 220px) clamp(20px, 5.8vw, 90px) clamp(40px, 6vw, 68px);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  pointer-events: none;
}

.physics-overlay > * {
  pointer-events: auto;
}

.physics-title {
  margin: 0;
  font-family: var(--font-tight);
  font-weight: 500;
  font-size: clamp(46px, 7.6vw, 114px);
  line-height: 0.94;
  letter-spacing: -0.035em;
  color: #111418;
}

.physics-title em {
  font-family: var(--font-display);
  font-weight: 400;
  font-style: italic;
}

.physics-right {
  max-width: 340px;
  padding-bottom: 6px;
}

.physics-right p {
  margin: 0 0 20px;
  font-size: clamp(16px, 1.45vw, 20px);
  line-height: 1.35;
  color: #272d37;
}

.physics-hint {
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: #556070;
}

/* ==========================================================================
   Inner Pages: Surface Explorer, Pipeline Simulator, Agencies Cross-Theme, Access Mesh
   ========================================================================== */

.page-opener {
  padding: clamp(114px, 14vh, 148px) 0 clamp(44px, 6vw, 68px);
  background: #ffffff;
}

.page-opener--dark {
  background: var(--theater);
  color: #f8fafc;
}

.page-opener--dark .section-heading,
.page-opener--dark .eyebrow {
  color: #f8fafc;
}

.page-opener--dark .section-lead {
  color: #b2bccb;
}

.explorer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.pill-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill-tab {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
  background: #ffffff;
  transition: all 0.16s ease;
}

.pill-tab.is-active {
  background: #121316;
  border-color: #121316;
  color: #ffffff;
}

.theme-switch {
  display: inline-flex;
  padding: 4px;
  border-radius: 999px;
  background: #e9edf4;
  gap: 4px;
}

.theme-switch button {
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  color: #475569;
}

.theme-switch button.is-active {
  background: #ffffff;
  color: #121316;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.12);
}

.capture-frame {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  box-shadow: 0 24px 64px -18px rgba(15, 23, 42, 0.16);
  background: #f8fafc;
}

.capture-frame img {
  width: 100%;
  height: auto;
}

.capture-caption {
  padding: 14px 18px;
  background: #ffffff;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: var(--ink-2);
  flex-wrap: wrap;
}

/* Two-track interactive simulator on workflow.html */
.sim-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 3vw, 36px);
  margin-top: 28px;
}

.sim-pane {
  padding: 24px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
}

.sim-pane--client {
  background: #ffffff;
  color: #121316;
  border-color: rgba(15, 23, 42, 0.12);
}

.sim-pane__label {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0.72;
}

.sim-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.sim-step-btn {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #d4dce8;
  font-size: 13px;
  font-weight: 500;
}

.sim-step-btn.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
}

.sim-hold-btn {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(248, 113, 113, 0.45);
  color: #fca5a5;
  font-size: 13px;
  font-weight: 500;
}

.sim-hold-btn.is-active {
  background: #b91c1c;
  border-color: #b91c1c;
  color: #ffffff;
}

/* Cross-theme split on agencies.html */
.split-captures {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 28px;
}

.role-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 28px;
}

.role-table th,
.role-table td {
  text-align: left;
  padding: 16px 12px 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  vertical-align: top;
}

.role-table th {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-muted);
}

/* Waitlist Access Mesh Stage (modeled on Review Room sign-in.tsx + MeshGradient) */
.access-stage {
  position: relative;
  min-height: calc(100svh - 60px);
  padding: clamp(114px, 14vh, 146px) clamp(16px, 4vw, 48px) clamp(72px, 8vw, 110px);
  display: grid;
  place-items: center;
  background: #f7f8fb;
  overflow: hidden;
}

.access-mesh {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.mesh-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(52px);
  opacity: 0.34;
  transform: translate(-50%, -50%);
}

.mesh-blob--1 { left: 18%; top: 24%; width: 52vw; height: 52vw; background: radial-gradient(circle, #1d63dc 0%, transparent 70%); animation: mesh-float 24s ease-in-out infinite alternate; }
.mesh-blob--2 { left: 82%; top: 20%; width: 46vw; height: 46vw; background: radial-gradient(circle, #3392ff 0%, transparent 72%); animation: mesh-float 29s ease-in-out -8s infinite alternate; }
.mesh-blob--3 { left: 60%; top: 78%; width: 56vw; height: 56vw; background: radial-gradient(circle, #174fb3 0%, transparent 72%); animation: mesh-float 33s ease-in-out -14s infinite alternate; }

@keyframes mesh-float {
  from { transform: translate(-50%, -50%) translate3d(-3%, -2%, 0) scale(1); }
  to { transform: translate(-50%, -50%) translate3d(3%, 2%, 0) scale(1.07); }
}

.access-card {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 940px;
  border-radius: 22px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.1);
  box-shadow: 0 28px 80px -16px rgba(15, 23, 42, 0.14);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
}

.access-form-col {
  padding: clamp(28px, 4vw, 44px);
}

.access-showcase-col {
  position: relative;
  padding: clamp(28px, 4vw, 40px);
  background: linear-gradient(155deg, #0d1a2e 0%, #163056 58%, #1d63dc 100%);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}

.field {
  display: grid;
  gap: 6px;
  margin-bottom: 16px;
}

.field label {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 11px 13px;
  border-radius: 10px;
  border: 1px solid rgba(15, 23, 42, 0.16);
  background: #ffffff;
  font: inherit;
  font-size: 14.5px;
  color: var(--ink);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(29, 99, 220, 0.14);
}

.notice-box {
  padding: 12px 14px;
  border-radius: 10px;
  background: #f1f5f9;
  border: 1px solid rgba(15, 23, 42, 0.08);
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.5;
}

/* Lightbox video modal */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 95;
  background: rgba(10, 14, 22, 0.78);
  backdrop-filter: blur(10px);
  display: none;
  place-items: center;
  padding: 20px;
}

.video-modal.is-open {
  display: grid;
}

.video-modal__dialog {
  width: min(980px, 100%);
  border-radius: 18px;
  overflow: hidden;
  background: #12151b;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.48);
}

.video-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  color: #f1f5f9;
  font-size: 13px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.video-modal__close {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  display: grid;
  place-items: center;
}

.video-modal video {
  width: 100%;
  display: block;
}

/* ==========================================================================
   DRIFTBAR MEADOW MIST FROSTED-GLASS WORDMARK FOOTER (pasted-text-3.txt craft)
   ========================================================================== */

.meadow-footer {
  --u: min(100vw / 1440, 100svh / 720);
  position: relative;
  min-height: clamp(580px, 92svh, 820px);
  background: var(--paper);
  overflow: hidden;
  isolation: isolate;
  color: #0c0c0c;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.footer__stage {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.footer__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 100%;
  transform: translateY(7%);
}

.footer__stage::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    var(--paper) 0%,
    rgba(241, 241, 238, 0.96) 27%,
    rgba(241, 241, 238, 0.72) 46%,
    rgba(241, 241, 238, 0) 74%
  );
}

.footer__wordmark {
  position: absolute;
  left: 50%;
  bottom: 0.4vw;
  transform: translateX(-50%);
  z-index: 1;
  margin: 0;
  font-family: var(--font-tight);
  font-weight: 600;
  font-size: clamp(56px, 13.4vw, 198px);
  line-height: 0.78;
  letter-spacing: -0.048em;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  color: rgba(232, 234, 250, 0.42);
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.84),
    rgba(214, 218, 246, 0.36) 50%,
    rgba(255, 255, 255, 0.68)
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 -1px 0 rgba(255, 255, 255, 0.6)) drop-shadow(0 0 22px rgba(190, 200, 255, 0.46));
}

.footer__fog {
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  height: 18%;
  pointer-events: none;
  background: linear-gradient(
    to top,
    var(--mist) 0%,
    rgba(226, 227, 241, 0.62) 32%,
    rgba(226, 227, 241, 0) 100%
  );
}

.footer__content {
  position: relative;
  z-index: 3;
  width: min(1240px, calc(100% - clamp(32px, 8vw, 144px)));
  margin: 0 auto;
  padding: clamp(56px, 6.5vw, 90px) 0 clamp(170px, 18vw, 250px);
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}

.brand__title {
  margin: 18px 0 0;
  font-family: var(--font-tight);
  font-size: 21px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.brand__text {
  margin: 12px 0 0;
  max-width: 390px;
  font-size: 14px;
  line-height: 1.5;
  color: #5c5e5a;
}

.brand__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  margin-top: 18px;
  padding: 0 18px;
  border-radius: 9px;
  background: #0c0c0c;
  color: #ffffff;
  font-size: 13px;
  font-weight: 500;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.brand__cta:hover {
  background: #25262a;
  transform: translateY(-1px);
}

.brand__copy {
  margin: 20px 0 0;
  font-size: 12.5px;
  color: #6b6e6a;
}

.brand__status {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.footer-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 26px;
  padding: 0 11px;
  border-radius: 999px;
  border: 1px solid rgba(12, 12, 12, 0.12);
  background: rgba(255, 255, 255, 0.62);
  font-size: 11.5px;
  font-weight: 500;
  color: #1f2228;
  white-space: nowrap;
}

.footer-chip__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 2.5px rgba(29, 99, 220, 0.2);
}

.footer-col__title {
  margin: 0;
  font-family: var(--font-tight);
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.footer-col__list {
  display: grid;
  gap: 13px;
  margin-top: 18px;
  font-size: 14px;
  color: #1c1d20;
}

.footer-col__list a {
  transition: opacity 0.18s ease;
}

.footer-col__list a:hover {
  opacity: 0.56;
}

/* ==========================================================================
   Responsive Breakpoints (1024px, 820px phone, 420px small phone)
   ========================================================================== */

@media (max-width: 1024px) {
  .nav-pill--left {
    width: auto;
    max-width: calc(100vw - 260px);
  }
  .hairline-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .showcase-layout {
    grid-template-columns: 1fr;
  }
  .rr-app-shell {
    grid-template-columns: 1fr;
  }
  .rr-sidebar {
    display: none;
  }
  .rr-kanban,
  .rr-portal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer__content {
    grid-template-columns: 1fr 1fr;
  }
  .access-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .site-header {
    top: 12px;
    left: 12px;
    right: 12px;
  }
  .nav-pill--left {
    height: 46px;
    width: auto;
    max-width: none;
    padding: 0 8px 0 10px;
    border-radius: 13px;
    gap: 8px;
  }
  .site-header.is-compact .nav-pill--left {
    width: auto;
  }
  .nav-links {
    display: none;
  }
  .nav-pill--right {
    height: 46px;
    margin-top: 0;
    padding: 0 6px 0 12px;
    border-radius: 13px;
    gap: 10px;
  }
  .nav-login {
    display: none;
  }
  .hero-nexora {
    padding-top: 96px;
  }
  .hero-nexora h1 {
    font-size: clamp(42px, 11.4vw, 60px);
  }
  .hero-glass-frame {
    margin-top: 26px;
    padding: 8px;
  }
  .rr-kanban,
  .rr-portal-grid,
  .hairline-head,
  .hairline-grid,
  .sim-grid,
  .split-captures {
    grid-template-columns: 1fr;
  }
  .tl-box {
    aspect-ratio: 1372 / 640;
  }
  .tl-statement {
    font-size: clamp(24px, 7.6vw, 38px);
    max-width: 18ch;
  }
  .physics-overlay {
    flex-direction: column;
    align-items: flex-start;
    padding-top: 280px;
  }
  .rr-app-meta {
    gap: 6px;
  }
  .rr-kbd {
    display: none;
  }
  .rr-app-pill {
    white-space: nowrap;
    font-size: 10.5px;
    padding: 4px 8px;
  }
  .rr-mode-btn {
    white-space: nowrap;
  }
  .meadow-footer {
    min-height: auto;
  }
  .footer__content {
    grid-template-columns: 1fr 1fr;
    padding: 44px 0 max(30vw, 145px);
    gap: 28px 24px;
  }
  .footer__brand {
    grid-column: 1 / -1;
  }
  .footer__stage::after {
    background: linear-gradient(
      to bottom,
      var(--paper) 0%,
      rgba(241, 241, 238, 0.95) 48%,
      rgba(241, 241, 238, 0.78) 68%,
      rgba(241, 241, 238, 0) 90%
    );
  }
  .footer__wordmark {
    bottom: 4.5vw;
    font-size: 16.5vw;
  }
}

@media (max-width: 380px) {
  .footer__content {
    grid-template-columns: 1fr 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .page-loader {
    display: none !important;
  }
  .mesh-blob {
    animation: none !important;
  }
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
