:root {
  --bg: #080a0b;
  --surface: #101416;
  --surface-2: #171d1f;
  --ink: #f3f1e8;
  --muted: #aeb6b0;
  --dim: #728078;
  --line: #223034;
  --line-strong: #34484e;
  --accent: #d7f171;
  --accent-soft: rgba(215, 241, 113, 0.1);
  --signal: #62e6c8;
  --signal-2: #8da7ff;
  --clay: #ff875f;
  --radius-sm: 6px;
  --radius-md: 8px;
  --font-sans: Inter, Aptos, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: Georgia, "Times New Roman", Times, serif;
  --font-mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  color-scheme: dark;
}

:root[data-theme="light"] {
  --bg: #f5f3ea;
  --surface: #fffdf6;
  --surface-2: #e9eee8;
  --ink: #151c1d;
  --muted: #5c6863;
  --dim: #7d8b84;
  --line: #d7ded8;
  --line-strong: #bdc9c1;
  --accent: #49610a;
  --accent-soft: rgba(73, 97, 10, 0.08);
  --signal: #087a70;
  --signal-2: #5264d8;
  --clay: #b44d35;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

* {
  -webkit-tap-highlight-color: transparent;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    linear-gradient(125deg, rgba(98, 230, 200, 0.12), transparent 30%),
    linear-gradient(205deg, rgba(215, 241, 113, 0.1), transparent 34%),
    linear-gradient(180deg, rgba(243, 241, 232, 0.04), transparent 430px),
    linear-gradient(90deg, rgba(243, 241, 232, 0.028) 1px, transparent 1px),
    linear-gradient(180deg, rgba(243, 241, 232, 0.028) 1px, transparent 1px),
    var(--bg);
  background-size: auto, auto, auto, 64px 64px, 64px 64px;
  font-family: var(--font-sans);
  font-feature-settings: "kern";
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
  touch-action: manipulation;
}

button {
  font: inherit;
  touch-action: manipulation;
}

dl,
dd,
ul {
  margin: 0;
}

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

.site-header,
main,
footer {
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  width: 100%;
  min-height: 88px;
  padding: 0 clamp(18px, 5vw, 64px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 94%, transparent);
  transition:
    border-color 260ms ease,
    background 260ms ease,
    box-shadow 260ms ease;
  transform: translateZ(0);
}

:root[data-theme="light"] .site-header {
  background: color-mix(in srgb, var(--bg) 94%, transparent);
}

body.header-compact .site-header {
  border-color: color-mix(in srgb, var(--accent) 24%, transparent);
  background: color-mix(in srgb, var(--bg) 90%, transparent);
  box-shadow: 0 14px 50px rgba(0, 0, 0, 0.24);
}

:root[data-theme="light"] body.header-compact .site-header {
  border-color: color-mix(in srgb, var(--accent) 20%, transparent);
  background: color-mix(in srgb, var(--bg) 90%, transparent);
  box-shadow: 0 14px 46px rgba(24, 23, 19, 0.1);
}

main,
footer {
  width: min(1120px, calc(100% - 40px));
}

.brand,
.header-actions,
.nav-links {
  display: flex;
  align-items: center;
}

.brand {
  gap: 6px;
  font-size: 37px;
  font-weight: 700;
  line-height: 1;
  text-transform: lowercase;
  isolation: isolate;
  min-width: 0;
  transform-origin: left center;
}

.brand-logo {
  width: 58px;
  height: 58px;
  color: var(--ink);
  transform-origin: 50% 50%;
  will-change: transform;
  animation: brand-sign-presence 7.6s ease-in-out 2.6s infinite;
}

.brand-logo path {
  stroke: currentColor;
  stroke-width: 20;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brand-logo-fill {
  fill: currentColor;
  stroke: none;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  animation:
    brand-core-arrive 1.4s cubic-bezier(0.2, 0.8, 0.2, 1) 1.15s forwards,
    brand-core-presence 6.4s ease-in-out 2.8s infinite;
}

.brand-logo-line {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: brand-line-draw 2.6s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

.brand-logo-line:nth-of-type(1) {
  animation-delay: 0.12s;
}

.brand-logo-line:nth-of-type(2) {
  animation-delay: 0.22s;
}

.brand-logo-line:nth-of-type(3) {
  animation-delay: 0.32s;
}

.brand-logo-line:nth-of-type(4) {
  animation-delay: 0.5s;
}

.brand-logo-line:nth-of-type(5) {
  animation-delay: 0.64s;
}

.brand-logo-line:nth-of-type(6) {
  animation-delay: 0.82s;
}

.brand-name {
  display: inline-flex;
  overflow: hidden;
  opacity: 1;
  transform-origin: left center;
  will-change: opacity, transform;
  transition:
    opacity 520ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 560ms cubic-bezier(0.16, 1, 0.3, 1);
}

.brand-name span {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.45em) rotate(2deg);
  animation:
    brand-letter-arrive 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards,
    brand-letter-presence 7.2s ease-in-out 2.9s infinite;
}

.brand-name span:nth-child(1) {
  animation-delay: 0.96s, 2.9s;
}

.brand-name span:nth-child(2) {
  animation-delay: 1.07s, 3.02s;
}

.brand-name span:nth-child(3) {
  animation-delay: 1.18s, 3.14s;
}

.brand-name span:nth-child(4) {
  animation-delay: 1.29s, 3.26s;
}

.brand-name span:nth-child(5) {
  animation-delay: 1.4s, 3.38s;
}

.brand:hover .brand-logo {
  animation-duration: 4.8s;
}

.brand:hover .brand-name span {
  animation-duration: 1s, 4.8s;
}

body.header-compact .brand-name {
  opacity: 0;
  transform: translateX(-10px);
}

body.header-compact .brand-name span {
  animation-play-state: paused;
}

.nav-links {
  min-height: 42px;
  padding: 0 15px;
  gap: clamp(14px, 2.6vw, 26px);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(245, 243, 235, 0.026);
  color: var(--muted);
  font-size: 14px;
  line-height: 1;
  font-weight: 600;
}

.header-actions {
  position: relative;
  gap: 10px;
}

.nav-links a {
  transition: color 180ms ease;
}

.nav-links a:hover,
.connect-trigger:hover {
  color: var(--ink);
}

.nav-links a:focus-visible,
.connect-trigger:focus-visible {
  color: var(--ink);
  outline: 1px solid rgba(210, 223, 158, 0.44);
  outline-offset: 6px;
}

.connect-trigger {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  transition: color 180ms ease;
}

.theme-toggle,
.menu-toggle {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(245, 243, 235, 0.035);
  color: var(--ink);
  cursor: pointer;
  transition:
    border-color 180ms ease,
    background 180ms ease,
    transform 180ms ease;
}

:root[data-theme="light"] .theme-toggle,
:root[data-theme="light"] .menu-toggle {
  background: rgba(24, 23, 19, 0.035);
}

.theme-toggle:hover,
.theme-toggle:focus-visible,
.menu-toggle:hover,
.menu-toggle:focus-visible {
  border-color: rgba(210, 223, 158, 0.38);
  background: rgba(210, 223, 158, 0.08);
  outline: none;
  transform: translateY(-1px);
}

:root[data-theme="light"] .theme-toggle:hover,
:root[data-theme="light"] .theme-toggle:focus-visible,
:root[data-theme="light"] .menu-toggle:hover,
:root[data-theme="light"] .menu-toggle:focus-visible {
  border-color: rgba(83, 102, 11, 0.3);
  background: rgba(83, 102, 11, 0.08);
}

.theme-icon {
  position: relative;
  width: 17px;
  height: 17px;
  border-radius: 999px;
  border: 2px solid currentColor;
  box-shadow: inset -5px -3px 0 0 currentColor;
}

:root[data-theme="light"] .theme-icon {
  background: currentColor;
  box-shadow:
    0 -8px 0 -6px currentColor,
    0 8px 0 -6px currentColor,
    8px 0 0 -6px currentColor,
    -8px 0 0 -6px currentColor,
    6px 6px 0 -6px currentColor,
    -6px -6px 0 -6px currentColor,
    6px -6px 0 -6px currentColor,
    -6px 6px 0 -6px currentColor;
}

.menu-toggle {
  display: none;
}

.menu-toggle span {
  width: 17px;
  height: 1.5px;
  background: currentColor;
  transition:
    transform 180ms ease,
    opacity 180ms ease;
}

body.nav-open .menu-toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

body.nav-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

body.nav-open .menu-toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.hero {
  min-height: calc(100vh - 96px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
  gap: clamp(34px, 7vw, 92px);
  align-items: center;
  padding: clamp(52px, 8vw, 92px) 0;
}

.hero-copy {
  max-width: 820px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.5;
}

.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-right: 9px;
  display: inline-block;
  border: 1px solid currentColor;
  border-radius: 999px;
  background: color-mix(in srgb, var(--signal) 70%, transparent);
  box-shadow: 0 0 16px color-mix(in srgb, var(--signal) 38%, transparent);
  transform: translateY(-1px);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 26px;
  max-width: 760px;
  font-family: var(--font-display);
  font-size: clamp(48px, 7.4vw, 88px);
  line-height: 1.02;
  font-weight: 600;
  text-wrap: balance;
}

.headline {
  position: relative;
}

.headline-measure {
  display: block;
  visibility: hidden;
}

.headline-writing {
  position: absolute;
  inset: 0;
  display: block;
}

.headline-caret {
  display: inline-block;
  width: 0.045em;
  height: 0.78em;
  margin-left: 0.075em;
  transform: translateY(0.08em);
  background: var(--accent);
  animation: caret-breathe 1.15s ease-in-out infinite;
}

.headline-caret.is-resting {
  animation: caret-rest 1.8s ease forwards;
}

.intro {
  max-width: 740px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(17px, 1.55vw, 20px);
  line-height: 1.7;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hero-tags span,
.step-state {
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(243, 241, 232, 0.035);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.3;
}

.status-card,
.snapshot-card,
.roadmap-list article {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(12, 17, 18, 0.86);
  transition:
    border-color 220ms ease,
    background 220ms ease,
    transform 220ms ease;
}

:root[data-theme="light"] .status-card,
:root[data-theme="light"] .snapshot-card,
:root[data-theme="light"] .roadmap-list article {
  background: rgba(255, 254, 248, 0.78);
}

.status-card:hover,
.snapshot-card:hover,
.roadmap-list article:hover {
  border-color: color-mix(in srgb, var(--signal) 30%, transparent);
  background: rgba(16, 24, 25, 0.94);
  transform: translateY(-2px);
}

:root[data-theme="light"] .status-card:hover,
:root[data-theme="light"] .snapshot-card:hover,
:root[data-theme="light"] .roadmap-list article:hover {
  border-color: rgba(83, 102, 11, 0.24);
  background: rgba(255, 254, 248, 0.94);
}

.status-card {
  position: relative;
  overflow: hidden;
  contain: paint;
  align-self: end;
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(98, 230, 200, 0.09), transparent 46%),
    linear-gradient(135deg, rgba(141, 167, 255, 0.1), transparent 42%),
    rgba(12, 17, 18, 0.9);
}

.status-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent, rgba(243, 241, 232, 0.045), transparent),
    repeating-linear-gradient(180deg, transparent 0 13px, rgba(243, 241, 232, 0.025) 14px);
  opacity: 0.8;
  transform: translate3d(-38%, 0, 0);
  will-change: transform, opacity;
  animation: panel-scan 7.2s ease-in-out infinite;
}

.status-card > * {
  position: relative;
}

.signal-map {
  height: 128px;
  margin-bottom: 22px;
  display: grid;
  align-content: center;
  gap: 12px;
  border-bottom: 1px solid var(--line);
}

.signal-map span {
  position: relative;
  height: 2px;
  display: block;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
  overflow: hidden;
  container-type: inline-size;
  contain: paint;
}

.signal-map span::before,
.signal-map span::after {
  content: "";
  position: absolute;
  left: 0;
  top: -4px;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--signal);
  box-shadow: 0 0 18px color-mix(in srgb, var(--signal) 54%, transparent);
  will-change: transform, opacity;
  animation: packet-run 3.8s cubic-bezier(0.55, 0, 0.15, 1) infinite;
}

.signal-map span::after {
  background: var(--accent);
  animation-delay: 1.1s;
}

.signal-map span:nth-child(2)::before {
  animation-delay: 0.42s;
}

.signal-map span:nth-child(3)::before {
  background: var(--signal-2);
  animation-delay: 0.8s;
}

.signal-map span:nth-child(4)::before {
  background: var(--clay);
  animation-delay: 1.25s;
}

.status-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 14px;
  line-height: 1.3;
  font-weight: 700;
}

.live-dot {
  position: relative;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--signal);
}

.live-dot::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: inherit;
  background: color-mix(in srgb, var(--signal) 16%, transparent);
  transform: scale(0.75);
  opacity: 0.95;
  will-change: transform, opacity;
  animation: status-pulse 2.8s ease-in-out infinite;
}

.status-card dl {
  display: grid;
}

.status-card dl > div {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.status-card dl > div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

dt,
.snapshot-card span {
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.5;
}

dd {
  margin-top: 6px;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.28;
  font-weight: 650;
}

.snapshot,
.roadmap {
  border-top: 1px solid var(--line-strong);
  padding: clamp(58px, 8vw, 90px) 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(190px, 0.38fr) minmax(0, 1fr);
  gap: clamp(26px, 6vw, 84px);
  align-items: start;
  margin-bottom: 28px;
}

.section-heading h2 {
  max-width: 720px;
  margin-bottom: 0;
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.08;
  font-weight: 600;
  text-wrap: balance;
}

.snapshot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.snapshot-card {
  min-height: 286px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.snapshot-card.featured {
  background:
    linear-gradient(180deg, var(--accent-soft), transparent),
    linear-gradient(135deg, rgba(98, 230, 200, 0.1), transparent 50%),
    var(--surface-2);
  border-color: color-mix(in srgb, var(--signal) 24%, transparent);
}

.snapshot-card.featured h3 {
  color: color-mix(in srgb, var(--accent) 82%, var(--ink));
}

.snapshot-card h3 {
  margin: 12px 0 0;
  font-size: 25px;
  line-height: 1.12;
  font-weight: 700;
  text-wrap: balance;
}

.snapshot-card p,
.roadmap-list p {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.68;
}

.roadmap-list {
  display: grid;
  gap: 12px;
}

.roadmap-list article {
  min-height: 128px;
  padding: 22px 24px;
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.step-state {
  width: fit-content;
  color: var(--accent);
}

.step-state.next {
  color: var(--signal);
}

.step-state.later {
  color: var(--signal-2);
}

.roadmap-list h3 {
  margin-bottom: 0;
  font-size: 22px;
  line-height: 1.1;
  font-weight: 700;
  text-wrap: balance;
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 0 34px;
  border-top: 1px solid var(--line);
  color: var(--dim);
  font-size: 12px;
}

.cookie-preferences {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color 180ms ease;
}

.cookie-preferences:hover,
.cookie-preferences:focus-visible {
  color: var(--ink);
  outline: none;
}

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  padding: clamp(14px, 2.4vw, 24px);
  background: transparent;
}

.cookie-banner[hidden] {
  display: none;
}

:root[data-theme="light"] .cookie-banner {
  background: transparent;
}

.cookie-panel {
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: 18px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px 24px;
  align-items: center;
  border: 1px solid rgba(210, 223, 158, 0.22);
  border-radius: var(--radius-md);
  background:
    linear-gradient(180deg, rgba(210, 223, 158, 0.08), transparent 56%),
    var(--surface);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.42);
}

:root[data-theme="light"] .cookie-panel {
  border-color: rgba(83, 102, 11, 0.18);
  background:
    linear-gradient(180deg, rgba(83, 102, 11, 0.06), transparent 56%),
    var(--surface);
  box-shadow: 0 18px 60px rgba(24, 23, 19, 0.14);
}

.cookie-copy .eyebrow {
  margin-bottom: 6px;
}

.cookie-copy h2 {
  margin-bottom: 7px;
  font-size: 20px;
  line-height: 1.12;
  font-weight: 700;
}

.cookie-copy p:not(.eyebrow) {
  max-width: 700px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  align-items: center;
}

.cookie-button {
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--ink);
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  transition:
    border-color 180ms ease,
    background 180ms ease,
    transform 180ms ease;
}

.cookie-button:hover,
.cookie-button:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.cookie-button.primary {
  border-color: rgba(210, 223, 158, 0.38);
  background: var(--accent);
  color: var(--bg);
}

.cookie-button.secondary {
  border-color: rgba(210, 223, 158, 0.28);
  background: rgba(210, 223, 158, 0.075);
}

.cookie-button.subtle {
  border-color: transparent;
  background: transparent;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.cookie-button.secondary:hover,
.cookie-button.secondary:focus-visible,
.cookie-button.subtle:hover,
.cookie-button.subtle:focus-visible {
  border-color: rgba(210, 223, 158, 0.32);
  background: rgba(210, 223, 158, 0.08);
  color: var(--ink);
}

:root[data-theme="light"] .cookie-button.primary {
  color: #fffef8;
}

:root[data-theme="light"] .cookie-button.secondary,
:root[data-theme="light"] .cookie-button.subtle {
  background: rgba(24, 23, 19, 0.035);
}

.cookie-manage-panel {
  grid-column: 1 / -1;
  padding-top: 18px;
  display: grid;
  gap: 10px;
  border-top: 1px solid var(--line);
}

.cookie-manage-panel[hidden] {
  display: none;
}

.cookie-purpose {
  min-height: 70px;
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(245, 243, 235, 0.032);
}

:root[data-theme="light"] .cookie-purpose {
  background: rgba(24, 23, 19, 0.03);
}

.cookie-purpose strong,
.cookie-purpose span {
  display: block;
}

.cookie-purpose strong {
  color: var(--ink);
  font-size: 14px;
  line-height: 1.25;
}

.cookie-purpose span,
.cookie-state {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.cookie-state {
  margin-top: 0;
  color: var(--accent);
  white-space: nowrap;
}

.cookie-purpose-toggle {
  cursor: pointer;
}

.analytics-consent-toggle {
  width: 44px;
  height: 24px;
  appearance: none;
  flex: 0 0 auto;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(245, 243, 235, 0.12);
  cursor: pointer;
  transition:
    border-color 180ms ease,
    background 180ms ease;
}

.analytics-consent-toggle::before {
  content: "";
  display: block;
  width: 18px;
  height: 18px;
  margin: 2px;
  border-radius: 999px;
  background: var(--muted);
  transition:
    background 180ms ease,
    transform 180ms ease;
}

.analytics-consent-toggle:checked {
  border-color: rgba(210, 223, 158, 0.42);
  background: rgba(210, 223, 158, 0.18);
}

.analytics-consent-toggle:checked::before {
  background: var(--accent);
  transform: translateX(20px);
}

.analytics-consent-toggle:focus-visible {
  outline: 1px solid rgba(210, 223, 158, 0.48);
  outline-offset: 4px;
}

.cookie-manage-actions {
  display: flex;
  justify-content: flex-end;
}

body.modal-open {
  overflow: hidden;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(11, 11, 9, 0.76);
  backdrop-filter: blur(18px);
}

.modal-backdrop[hidden] {
  display: none;
}

.connect-modal {
  position: relative;
  width: min(520px, 100%);
  padding: clamp(26px, 5vw, 36px);
  border: 1px solid rgba(210, 223, 158, 0.2);
  border-radius: var(--radius-md);
  background:
    linear-gradient(180deg, rgba(210, 223, 158, 0.1), transparent 52%),
    var(--surface-2);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.52);
}

:root[data-theme="light"] .connect-modal {
  box-shadow: 0 30px 90px rgba(24, 23, 19, 0.18);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(245, 243, 235, 0.04);
  color: var(--muted);
  cursor: pointer;
  transition:
    color 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

:root[data-theme="light"] .modal-close,
:root[data-theme="light"] .modal-mark,
:root[data-theme="light"] .connect-action {
  background: rgba(24, 23, 19, 0.035);
}

.modal-close:hover,
.modal-close:focus-visible {
  color: var(--ink);
  border-color: rgba(210, 223, 158, 0.32);
  background: rgba(210, 223, 158, 0.08);
  outline: none;
}

.modal-close span {
  font-size: 22px;
  line-height: 1;
  transform: translateY(-1px);
}

.modal-mark {
  width: 91px;
  height: 91px;
  margin-bottom: 22px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(11, 11, 9, 0.24);
}

.modal-mark svg {
  width: 65px;
  height: 65px;
  color: var(--ink);
}

.modal-mark path {
  stroke: currentColor;
  stroke-width: 20;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.modal-mark-fill {
  fill: currentColor;
  stroke: none;
}

.connect-modal h2 {
  margin-bottom: 14px;
  font-family: var(--font-display);
  font-size: clamp(30px, 5vw, 44px);
  line-height: 1.04;
  font-weight: 700;
  text-wrap: balance;
}

.connect-copy {
  max-width: 420px;
  margin-bottom: 26px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.connect-actions {
  display: grid;
  gap: 10px;
}

.connect-action {
  min-height: 82px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(11, 11, 9, 0.22);
  transition:
    border-color 200ms ease,
    background 200ms ease,
    transform 200ms ease;
}

:root[data-theme="light"] .connect-action:hover,
:root[data-theme="light"] .connect-action:focus-visible {
  border-color: rgba(83, 102, 11, 0.3);
  background: rgba(83, 102, 11, 0.065);
}

.connect-action:hover,
.connect-action:focus-visible {
  border-color: rgba(210, 223, 158, 0.32);
  background: rgba(245, 243, 235, 0.045);
  transform: translateY(-1px);
  outline: none;
}

.action-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(210, 223, 158, 0.06);
  color: var(--accent);
  flex: 0 0 auto;
}

.action-icon svg {
  width: 24px;
  height: 24px;
}

.mail-icon svg path {
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.linkedin-icon {
  color: #f5f3eb;
}

:root[data-theme="light"] .linkedin-icon {
  color: var(--ink);
}

.connect-action strong,
.connect-action small {
  display: block;
}

.connect-action strong {
  color: var(--ink);
  font-size: 17px;
  line-height: 1.25;
}

.connect-action small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

@keyframes status-pulse {
  0%,
  100% {
    opacity: 0.72;
    transform: scale(0.76);
  }

  50% {
    opacity: 0.24;
    transform: scale(1.18);
  }
}

@keyframes packet-run {
  0% {
    opacity: 0;
    transform: translate3d(-12px, 0, 0);
  }

  12% {
    opacity: 1;
  }

  78% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translate3d(calc(100cqw + 12px), 0, 0);
  }
}

@keyframes panel-scan {
  0%,
  100% {
    transform: translate3d(-46%, 0, 0);
    opacity: 0.42;
  }

  52% {
    transform: translate3d(46%, 0, 0);
    opacity: 0.82;
  }
}

@keyframes brand-line-draw {
  0% {
    stroke-dashoffset: 1;
    opacity: 0.2;
  }

  45% {
    opacity: 0.78;
  }

  100% {
    stroke-dashoffset: 0;
    opacity: 1;
  }
}

@keyframes brand-core-arrive {
  0% {
    opacity: 0;
    transform: scale(0.72) rotate(-6deg);
  }

  70% {
    opacity: 1;
    transform: scale(1.05) rotate(1.5deg);
  }

  100% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
}

@keyframes brand-core-presence {
  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.045);
  }
}

@keyframes brand-sign-presence {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }

  50% {
    transform: translate3d(0, -1px, 0) rotate(-0.7deg);
  }
}

@keyframes brand-letter-arrive {
  0% {
    opacity: 0;
    transform: translateY(0.45em) rotate(2deg);
  }

  100% {
    opacity: 1;
    transform: translateY(0) rotate(0deg);
  }
}

@keyframes brand-letter-presence {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-0.04em);
  }
}

@keyframes caret-breathe {
  0%,
  100% {
    opacity: 0.3;
  }

  50% {
    opacity: 0.95;
  }
}

@keyframes caret-rest {
  0% {
    opacity: 0.75;
  }

  100% {
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .brand-logo-line {
    stroke-dashoffset: 0;
  }

  .brand-logo-fill,
  .brand-name span {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 980px) {
  .hero,
  .section-heading,
  .snapshot-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .status-card {
    align-self: stretch;
  }

  .snapshot-card {
    min-height: 220px;
  }
}

@media (max-width: 1180px) {
  .menu-toggle {
    display: grid;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: min(320px, calc(100vw - 36px));
    padding: 12px;
    display: grid;
    gap: 4px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background:
      linear-gradient(180deg, var(--accent-soft), transparent),
      rgba(17, 17, 14, 0.98);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition:
      opacity 180ms ease,
      transform 180ms ease;
  }

  :root[data-theme="light"] .nav-links {
    background:
      linear-gradient(180deg, var(--accent-soft), transparent),
      rgba(255, 254, 248, 0.98);
    box-shadow: 0 24px 80px rgba(24, 23, 19, 0.16);
  }

  body.nav-open .nav-links {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-links a,
  .connect-trigger {
    width: 100%;
    min-height: 46px;
    padding: 0 12px;
    display: flex;
    align-items: center;
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    color: var(--ink);
    text-align: left;
  }

  .nav-links a:hover,
  .connect-trigger:hover,
  .nav-links a:focus-visible,
  .connect-trigger:focus-visible {
    border-color: var(--line);
    background: rgba(245, 243, 235, 0.045);
    outline: none;
  }

  :root[data-theme="light"] .nav-links a:hover,
  :root[data-theme="light"] .connect-trigger:hover,
  :root[data-theme="light"] .nav-links a:focus-visible,
  :root[data-theme="light"] .connect-trigger:focus-visible {
    background: rgba(83, 102, 11, 0.055);
  }
}

@media (max-width: 640px) {
  .site-header {
    min-height: 84px;
    padding-right: 14px;
    padding-left: 14px;
  }

  main,
  footer {
    width: min(100% - 28px, 1120px);
  }

  .brand {
    font-size: 34px;
  }

  .brand-logo {
    width: 50px;
    height: 50px;
  }

  .nav-links {
    font-size: 13px;
  }

  h1 {
    font-size: clamp(42px, 13vw, 62px);
  }

  .status-card,
  .snapshot-card,
  .roadmap-list article {
    padding: 20px;
  }

  .roadmap-list article {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-banner {
    padding: 12px;
  }

  .cookie-panel {
    padding: 16px;
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .cookie-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .cookie-button {
    width: 100%;
  }

  .cookie-purpose {
    align-items: flex-start;
    flex-direction: column;
  }

  .cookie-purpose-toggle {
    flex-direction: row;
    align-items: center;
  }
}
