:root {
  color-scheme: light;
  --red: #ff1010;
  --red-dark: #b90000;
  --ink: #111111;
  --muted: #606060;
  --faint: #f4f4f4;
  --line: #dedede;
  --paper: #ffffff;
  --shadow: 0 26px 70px rgba(17, 17, 17, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  --page-progress: 0;
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial,
    sans-serif;
  color: var(--ink);
  background-color: var(--paper);
  background-image:
    radial-gradient(circle at 18% 14%, rgba(255, 16, 16, 0.055), transparent 26%),
    radial-gradient(circle at 84% 86%, rgba(17, 17, 17, 0.035), transparent 24%),
    linear-gradient(var(--faint) 1px, transparent 1px),
    linear-gradient(90deg, var(--faint) 1px, transparent 1px);
  background-size: 82px 82px;
  animation: pageGridDrift 54s linear infinite;
}

body.modal-open {
  overflow: hidden;
}

::selection {
  background: var(--red);
  color: white;
}

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

img {
  display: block;
}

:focus-visible {
  outline: 3px solid rgba(255, 16, 16, 0.5);
  outline-offset: 3px;
}

.admin-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 86% 12%, rgba(255, 16, 16, 0.12), transparent 26%),
    radial-gradient(circle at 12% 88%, rgba(255, 16, 16, 0.06), transparent 22%),
    linear-gradient(var(--faint) 1px, transparent 1px),
    linear-gradient(90deg, var(--faint) 1px, transparent 1px),
    #fff;
  background-size: auto, auto, 76px 76px, 76px 76px, auto;
}

.admin-page.admin-auth-pending .admin-console,
.admin-page.admin-auth-pending .admin-modal-backdrop {
  display: none;
}

.admin-console {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
}

.admin-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 28px 18px;
  border-right: 1px solid rgba(17, 17, 17, 0.08);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px);
}

.admin-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 10px 28px;
  font-weight: 950;
}

.admin-logo img {
  width: 42px;
  height: 42px;
}

.admin-tabs {
  display: grid;
  gap: 10px;
}

.admin-tab {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 54px;
  padding: 10px 14px;
  border: 1px solid transparent;
  border-radius: 16px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-weight: 950;
  text-align: left;
  cursor: pointer;
}

.admin-tab.active {
  background: linear-gradient(135deg, var(--red), #ff3434);
  color: white;
  box-shadow: 0 18px 36px rgba(255, 16, 16, 0.16);
}

.admin-tab-icon {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.admin-workspace {
  padding: clamp(28px, 5vw, 64px);
}

.admin-topline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
}

.admin-top-actions {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.admin-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 50px;
  padding: 10px 14px;
  border: 1px solid rgba(17, 17, 17, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--ink);
  font-weight: 950;
  cursor: pointer;
  box-shadow: 0 18px 44px rgba(17, 17, 17, 0.06);
}

.admin-toggle input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.admin-toggle-track {
  width: 44px;
  height: 26px;
  padding: 3px;
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.12);
  transition: background 160ms ease;
}

.admin-toggle-track::before {
  content: "";
  display: block;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: white;
  box-shadow: 0 6px 14px rgba(17, 17, 17, 0.16);
  transition: transform 160ms ease;
}

.admin-toggle input:checked + .admin-toggle-track {
  background: var(--red);
}

.admin-toggle input:checked + .admin-toggle-track::before {
  transform: translateX(18px);
}

.admin-kicker {
  margin: 0 0 8px;
  color: var(--red-dark);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-topline h1,
.admin-modal h2 {
  margin: 0;
  font-size: clamp(2.6rem, 6vw, 5.4rem);
  line-height: 0.92;
}

.admin-add-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 12px 18px;
  border: 0;
  border-radius: 14px;
  background: var(--red);
  color: white;
  font: inherit;
  font-weight: 950;
  cursor: pointer;
  box-shadow: 0 18px 38px rgba(255, 16, 16, 0.18);
}

.admin-add-button span {
  font-size: 1.35rem;
  line-height: 1;
}

.admin-add-button.full {
  width: 100%;
}

.admin-table-card {
  border: 1px solid rgba(17, 17, 17, 0.1);
  border-radius: 24px;
  background:
    radial-gradient(circle at 90% 0%, rgba(255, 16, 16, 0.08), transparent 30%),
    rgba(255, 255, 255, 0.9);
  box-shadow: 0 28px 80px rgba(17, 17, 17, 0.08);
  overflow: hidden;
}

.admin-table-head,
.admin-code-row {
  display: grid;
  grid-template-columns: 1.1fr 1fr 0.55fr 0.75fr 1fr;
  gap: 18px;
  align-items: center;
  padding: 18px 22px;
}

.admin-users-head,
.admin-user-row {
  grid-template-columns: 0.95fr 0.85fr minmax(180px, 1.1fr) 0.75fr 0.75fr 1.25fr;
}

.admin-table-head {
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-code-row {
  min-height: 78px;
  border-bottom: 1px solid rgba(17, 17, 17, 0.07);
}

.admin-user-row {
  display: grid;
  min-height: 78px;
  gap: 18px;
  align-items: center;
  padding: 18px 22px;
  border-bottom: 1px solid rgba(17, 17, 17, 0.07);
}

.admin-code-row:last-child {
  border-bottom: 0;
}

.admin-user-row:last-child {
  border-bottom: 0;
}

.admin-empty-codes {
  margin: 0;
  padding: 28px 22px;
  color: var(--muted);
  font-weight: 850;
}

.admin-status {
  margin: 14px 22px 0;
  padding: 12px 14px;
  border: 1px solid rgba(17, 17, 17, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--muted);
  font-weight: 850;
}

.admin-status[data-tone="success"] {
  border-color: rgba(10, 126, 72, 0.22);
  color: #0a6b42;
}

.admin-status[data-tone="warn"] {
  border-color: rgba(255, 16, 16, 0.22);
  color: #8f1515;
}

.admin-code-row code {
  width: fit-content;
  padding: 8px 10px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 10px;
  background: rgba(244, 244, 244, 0.78);
  font-weight: 900;
}

.admin-user-row code {
  width: fit-content;
  max-width: 100%;
  padding: 8px 10px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 10px;
  background: rgba(244, 244, 244, 0.78);
  font-weight: 900;
  overflow-wrap: anywhere;
}

.admin-user-email {
  color: var(--muted);
  font-weight: 850;
  overflow-wrap: anywhere;
}

.admin-user-status {
  width: fit-content;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.06);
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 950;
}

.admin-row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.admin-row-actions button {
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid rgba(17, 17, 17, 0.14);
  border-radius: 10px;
  background: white;
  font: inherit;
  font-weight: 950;
  cursor: pointer;
}

.admin-row-actions button.danger {
  border-color: rgba(255, 16, 16, 0.2);
  color: var(--red);
}

.admin-row-actions .admin-delete-user-data {
  background: rgba(255, 16, 16, 0.06);
}

.admin-danger-button {
  background: var(--red);
  color: white;
  box-shadow: 0 18px 38px rgba(255, 16, 16, 0.18);
}

.admin-danger-button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  box-shadow: none;
}

.admin-user-delete-modal p {
  line-height: 1.55;
}

.admin-workspace[hidden] {
  display: none;
}

.admin-feedback-shell {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr);
  gap: 22px;
}

.admin-feedback-inbox,
.admin-feedback-detail,
.admin-email-card {
  min-height: 420px;
  border: 1px solid rgba(17, 17, 17, 0.1);
  border-radius: 24px;
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 16, 16, 0.08), transparent 28%),
    rgba(255, 255, 255, 0.9);
  box-shadow: 0 28px 80px rgba(17, 17, 17, 0.08);
}

.admin-feedback-inbox {
  padding: 16px;
}

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

.admin-feedback-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 16px;
  border: 1px solid rgba(17, 17, 17, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.84);
  color: var(--ink);
}

.admin-feedback-item:hover,
.admin-feedback-item:focus-within {
  border-color: rgba(255, 16, 16, 0.28);
  transform: translateY(-1px);
}

.admin-feedback-open {
  display: grid;
  gap: 8px;
  min-width: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.admin-feedback-open:focus-visible,
.admin-feedback-delete:focus-visible,
.admin-delete-feedback-detail:focus-visible {
  outline: none;
}

.admin-feedback-sender,
.admin-feedback-date {
  color: var(--red-dark);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-feedback-item strong {
  color: var(--ink);
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.admin-feedback-item small,
.admin-feedback-user {
  color: var(--muted);
  font-weight: 800;
}

.admin-feedback-detail {
  position: relative;
  padding: 30px;
}

.admin-feedback-detail h2 {
  max-width: calc(100% - 58px);
  margin: 8px 0 10px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 0.94;
}

.admin-feedback-body {
  margin-top: 22px;
  padding: 18px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
  font-weight: 760;
  line-height: 1.55;
  white-space: pre-wrap;
}

.admin-feedback-image {
  width: 100%;
  max-height: 520px;
  margin-top: 18px;
  border: 1px solid rgba(17, 17, 17, 0.1);
  border-radius: 18px;
  object-fit: contain;
  background: white;
}

.admin-feedback-delete,
.admin-delete-feedback-detail {
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 16, 16, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--red);
  font: inherit;
  font-weight: 950;
  cursor: pointer;
}

.admin-delete-feedback-detail {
  margin-top: 18px;
}

.admin-confirm-modal p {
  margin: 12px 0 22px;
  color: var(--muted);
  font-weight: 800;
  line-height: 1.5;
}

.admin-confirm-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.admin-secondary-button {
  min-height: 52px;
  padding: 0 18px;
  border: 1px solid rgba(17, 17, 17, 0.12);
  border-radius: 14px;
  background: white;
  color: var(--ink);
  font: inherit;
  font-weight: 950;
  cursor: pointer;
}

.admin-email-card {
  width: min(820px, 100%);
  padding: 28px;
}

.admin-email-card label {
  display: grid;
  gap: 9px;
  margin: 0 0 20px;
  color: var(--ink);
  font-weight: 950;
}

.admin-email-card input,
.admin-email-card textarea {
  width: 100%;
  min-height: 52px;
  padding: 13px 14px;
  border: 1px solid rgba(17, 17, 17, 0.14);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  font: inherit;
  font-weight: 750;
}

.admin-email-card input[readonly] {
  color: var(--muted);
  background: rgba(244, 244, 244, 0.82);
}

.admin-email-card textarea {
  min-height: 220px;
  line-height: 1.5;
  resize: vertical;
}

.admin-field-hint {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.admin-email-card input[type="file"] {
  padding: 11px 14px;
  cursor: pointer;
}

.admin-email-image-preview {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: -4px 0 22px;
  padding: 12px;
  border: 1px solid rgba(255, 24, 24, 0.2);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
}

.admin-email-image-preview[hidden] {
  display: none;
}

.admin-email-image-preview img {
  width: 96px;
  height: 72px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid rgba(17, 17, 17, 0.1);
}

.admin-email-image-preview button {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(255, 24, 24, 0.25);
  border-radius: 999px;
  background: white;
  color: var(--red);
  font: inherit;
  font-weight: 950;
  cursor: pointer;
}

.admin-email-history {
  width: min(820px, 100%);
  margin-top: 26px;
  padding: 24px;
  border: 1px solid rgba(17, 17, 17, 0.1);
  border-radius: 24px;
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 16, 16, 0.08), transparent 34%),
    rgba(255, 255, 255, 0.88);
  box-shadow: 0 28px 80px rgba(17, 17, 17, 0.08);
}

.admin-email-history-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.admin-email-history-head h2 {
  margin: 0;
  font-size: 1.45rem;
}

.admin-email-history-list {
  display: grid;
  gap: 12px;
}

.admin-email-history .admin-empty {
  margin: 0;
  padding: 18px;
  border: 1px dashed rgba(17, 17, 17, 0.14);
  border-radius: 16px;
  color: var(--muted);
  font-weight: 850;
}

.admin-email-history-item {
  display: grid;
  gap: 8px;
  padding: 16px;
  border: 1px solid rgba(17, 17, 17, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
}

.admin-email-history-item div {
  display: grid;
  gap: 4px;
}

.admin-email-history-item strong {
  color: var(--red);
  font-weight: 950;
  overflow-wrap: anywhere;
}

.admin-email-history-item span {
  color: var(--ink);
  font-weight: 950;
}

.admin-email-history-item small {
  color: var(--muted);
  font-weight: 800;
}

.admin-email-history-item p {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
  line-height: 1.45;
}

.admin-traffic-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin: 24px 0;
}

.admin-traffic-card,
.admin-traffic-chart-card {
  border: 1px solid rgba(17, 17, 17, 0.1);
  border-radius: 24px;
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 16, 16, 0.08), transparent 34%),
    rgba(255, 255, 255, 0.88);
  box-shadow: 0 28px 80px rgba(17, 17, 17, 0.08);
}

.admin-traffic-card {
  padding: 24px;
}

.admin-traffic-card span,
.admin-traffic-card small {
  display: block;
  color: var(--muted);
  font-weight: 850;
}

.admin-traffic-card strong {
  display: block;
  margin: 10px 0;
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  line-height: 0.95;
}

.admin-traffic-chart-card {
  padding: 24px;
}

.admin-traffic-source-card {
  margin-bottom: 24px;
}

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

.admin-source-row {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  overflow: hidden;
  min-height: 54px;
  padding: 12px 14px;
  border: 1px solid rgba(17, 17, 17, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.78);
}

.admin-source-row i {
  position: absolute;
  inset: auto auto 0 0;
  width: var(--source-width, 0%);
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, #4079ff, #ff1010);
}

.admin-source-row span,
.admin-source-row strong {
  position: relative;
  z-index: 1;
}

.admin-source-row span {
  color: var(--ink);
  font-weight: 950;
}

.admin-source-row strong {
  font-size: 1.2rem;
  font-weight: 1000;
}

.admin-traffic-chart {
  min-height: 260px;
  padding: 10px 0 0;
  overflow-x: auto;
}

.admin-traffic-chart svg {
  display: block;
  width: max(760px, 100%);
  height: auto;
  min-height: 260px;
}

.admin-traffic-gridline {
  stroke: rgba(17, 17, 17, 0.09);
  stroke-width: 2;
}

.admin-traffic-line {
  fill: none;
  stroke: url("#adminTrafficLineGradient");
  stroke-width: 8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.admin-traffic-point {
  fill: #4079ff;
  stroke: white;
  stroke-width: 6;
  filter: drop-shadow(0 8px 14px rgba(64, 121, 255, 0.24));
}

.admin-traffic-axis-label,
.admin-traffic-date-label,
.admin-traffic-point-label {
  fill: var(--muted);
  font-family: inherit;
  font-weight: 900;
}

.admin-traffic-axis-label,
.admin-traffic-date-label {
  font-size: 18px;
}

.admin-traffic-point-label {
  fill: var(--ink);
  font-size: 22px;
}

.admin-traffic-date-label {
  color: var(--muted);
}

.admin-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(17, 17, 17, 0.36);
  backdrop-filter: blur(8px);
}

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

.admin-modal {
  position: relative;
  width: min(520px, 100%);
  padding: 34px;
  border: 1px solid rgba(17, 17, 17, 0.12);
  border-top: 5px solid var(--red);
  border-radius: 24px;
  background: white;
  box-shadow: 0 34px 100px rgba(17, 17, 17, 0.22);
}

.admin-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(17, 17, 17, 0.12);
  border-radius: 50%;
  background: white;
  font: inherit;
  font-weight: 950;
  cursor: pointer;
}

.admin-generated-code {
  display: grid;
  gap: 10px;
  margin: 22px 0;
  padding: 16px;
  border: 1px solid rgba(17, 17, 17, 0.1);
  border-radius: 16px;
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 16, 16, 0.1), transparent 42%),
    rgba(247, 247, 247, 0.86);
}

.admin-generated-code span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-generated-code code {
  width: fit-content;
  max-width: 100%;
  padding: 10px 12px;
  border-radius: 12px;
  background: white;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 950;
  letter-spacing: 0.03em;
  overflow-wrap: anywhere;
}

.admin-generated-code button {
  width: fit-content;
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid rgba(17, 17, 17, 0.14);
  border-radius: 10px;
  background: white;
  font: inherit;
  font-weight: 950;
  cursor: pointer;
}

.admin-modal label {
  display: grid;
  gap: 8px;
  margin: 22px 0;
  color: var(--ink);
  font-weight: 950;
}

.admin-modal input,
.admin-modal select {
  min-height: 52px;
  padding: 0 14px;
  border: 1px solid rgba(17, 17, 17, 0.14);
  border-radius: 12px;
  background: white;
  font: inherit;
  font-weight: 750;
}

@media (max-width: 800px) {
  .admin-console {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: static;
    height: auto;
  }

  .admin-topline,
  .admin-table-head,
  .admin-code-row,
  .admin-user-row {
    grid-template-columns: 1fr;
  }

  .admin-table-head {
    display: none;
  }

  .admin-topline {
    display: grid;
  }

  .admin-feedback-shell {
    grid-template-columns: 1fr;
  }

  .admin-feedback-detail {
    min-height: 0;
  }

  .admin-traffic-grid {
    grid-template-columns: 1fr;
  }

  .admin-traffic-chart {
    overflow-x: auto;
  }
}

.page-loader {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 46%, rgba(255, 16, 16, 0.1), transparent 28%),
    rgba(255, 255, 255, 0.96);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 260ms ease, visibility 260ms ease;
}

.is-loading .page-loader {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  animation: loaderFailsafe 8s ease forwards;
}

.loader-mark {
  position: relative;
  width: 92px;
  height: 92px;
  display: grid;
  place-items: center;
}

.loader-mark::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 16, 16, 0.24);
  border-radius: 50%;
  box-shadow: 0 20px 48px rgba(255, 16, 16, 0.16);
}

.loader-logo {
  width: 62px;
  height: 62px;
  object-fit: contain;
  animation: loaderSpin 950ms linear infinite;
  filter: drop-shadow(0 10px 18px rgba(255, 16, 16, 0.2));
}

.scroll-progress {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 80;
  width: 100%;
  height: 3px;
  pointer-events: none;
  background: linear-gradient(90deg, var(--red), var(--red-dark));
  transform: scaleX(var(--page-progress));
  transform-origin: left;
  box-shadow: 0 0 18px rgba(255, 16, 16, 0.5);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px min(7vw, 72px);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  animation: headerDrop 520ms ease both;
  transition: padding 180ms ease, background 180ms ease, box-shadow 180ms ease,
    border-color 180ms ease;
}

.site-header.is-scrolled {
  padding-top: 12px;
  padding-bottom: 12px;
  border-color: rgba(255, 16, 16, 0.18);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 46px rgba(17, 17, 17, 0.08);
}

.brand,
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  letter-spacing: 0;
}

.home-brand {
  position: relative;
}

.home-brand::after {
  content: "Go home";
  position: absolute;
  left: 50%;
  top: calc(100% + 12px);
  z-index: 30;
  padding: 8px 10px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  background: white;
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 900;
  white-space: nowrap;
  box-shadow: 0 12px 30px rgba(17, 17, 17, 0.12);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -6px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.home-brand:hover::after,
.home-brand:focus-visible::after {
  opacity: 1;
  transform: translate(-50%, 0);
}

.brand-mark {
  transition: transform 220ms ease;
}

.brand:hover .brand-mark {
  transform: rotate(8deg) scale(1.06);
}

.brand-mark,
.site-footer img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 750;
}

.nav-links a:hover {
  color: var(--red-dark);
}

.nav-links a {
  position: relative;
  padding-bottom: 5px;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms ease;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-version {
  color: rgba(17, 17, 17, 0.66);
  font-size: 0.9rem;
  font-weight: 520;
  white-space: nowrap;
}

button,
.primary-action,
.secondary-action,
.voronaut-action,
.login-button {
  font: inherit;
}

.app-menu-button,
.primary-action,
.secondary-action,
.voronaut-action,
.login-button {
  position: relative;
  overflow: hidden;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 18px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  font-weight: 850;
  cursor: pointer;
  transition: border-color 180ms ease, color 180ms ease, background 180ms ease,
    transform 180ms ease, box-shadow 180ms ease;
}

.app-menu-button::after,
.primary-action::after,
.secondary-action::after,
.voronaut-action::after,
.login-button::after {
  content: "";
  position: absolute;
  inset: -80% auto -80% -45%;
  width: 38%;
  background: rgba(255, 255, 255, 0.42);
  transform: rotate(18deg) translateX(-140%);
  transition: transform 420ms ease;
}

.app-menu-button:hover,
.primary-action:hover,
.secondary-action:hover,
.voronaut-action:hover,
.login-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(17, 17, 17, 0.1);
}

.app-menu-button:hover::after,
.primary-action:hover::after,
.secondary-action:hover::after,
.voronaut-action:hover::after,
.login-button:hover::after {
  transform: rotate(18deg) translateX(420%);
}

.primary-action,
.login-button {
  border-color: var(--red);
  background: var(--red);
  color: white;
}

.primary-action:hover,
.login-button:hover {
  border-color: var(--red-dark);
  background: var(--red-dark);
}

.secondary-action:hover,
.app-menu-button:hover {
  border-color: var(--red);
  color: var(--red-dark);
}

.login-icon {
  position: relative;
  z-index: 1;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.4;
}

.profile-control {
  position: relative;
  z-index: 30;
}

.profile-button {
  width: 48px;
  height: 48px;
  display: inline-grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 16, 16, 0.28);
  border-radius: 50%;
  background: white;
  cursor: pointer;
  box-shadow: 0 12px 26px rgba(17, 17, 17, 0.08);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.profile-button:hover,
.profile-control:focus-within .profile-button {
  transform: translateY(-2px);
  border-color: var(--red);
  box-shadow: 0 18px 34px rgba(255, 16, 16, 0.16);
}

.header-profile-avatar,
.profile-menu-avatar {
  display: inline-grid;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
  background:
    radial-gradient(circle at 28% 24%, rgba(255, 255, 255, 0.5), transparent 24%),
    linear-gradient(135deg, var(--red), var(--ink));
  background-position: center;
  background-size: cover;
  color: white;
  font-weight: 950;
}

.header-profile-avatar {
  width: 38px;
  height: 38px;
}

.profile-menu-avatar {
  width: 46px;
  height: 46px;
}

.profile-menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: min(270px, calc(100vw - 28px));
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid rgba(17, 17, 17, 0.13);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 26px 70px rgba(17, 17, 17, 0.16);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px) scale(0.98);
  transform-origin: top right;
  transition: opacity 180ms ease, transform 180ms ease;
  backdrop-filter: blur(18px);
}

.profile-control:hover .profile-menu,
.profile-control:focus-within .profile-menu,
.profile-control.is-open .profile-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.profile-menu-header {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 12px;
  padding: 8px 8px 12px;
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
}

.profile-menu-header span {
  min-width: 0;
}

.profile-menu-header strong,
.profile-menu-header small {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-menu-header small {
  margin-top: 3px;
  color: var(--red-dark);
  font-weight: 850;
}

.profile-menu a,
.profile-menu button {
  min-height: 42px;
  display: flex;
  align-items: center;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--ink);
  padding: 0 10px;
  font: inherit;
  font-weight: 900;
  text-align: left;
  transition: background 180ms ease, color 180ms ease;
}

.profile-menu a:hover,
.profile-menu button:hover {
  background: rgba(255, 16, 16, 0.08);
  color: var(--red-dark);
}

.confirm-dialog {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: grid;
  place-items: center;
  padding: 22px;
  background:
    radial-gradient(circle at 52% 38%, rgba(255, 16, 16, 0.16), transparent 26%),
    rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(18px);
}

.confirm-dialog[hidden] {
  display: none;
}

.confirm-card {
  width: min(460px, 100%);
  padding: 28px;
  border: 1px solid rgba(17, 17, 17, 0.14);
  border-radius: 18px;
  background:
    radial-gradient(circle at 88% 12%, rgba(255, 16, 16, 0.11), transparent 28%),
    white;
  box-shadow: 0 34px 90px rgba(17, 17, 17, 0.2);
  animation: confirmIn 180ms ease both;
}

.confirm-card h2 {
  margin: 0;
  font-size: clamp(1.75rem, 5vw, 2.45rem);
  line-height: 1.02;
}

.confirm-card p:not(.eyebrow) {
  margin: 14px 0 0;
  color: var(--muted);
  font-weight: 750;
  line-height: 1.55;
}

.confirm-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 24px;
}

.confirm-actions .primary-action,
.confirm-actions .secondary-button {
  width: 100%;
  min-height: 54px;
}

.confirm-actions .primary-action {
  font-weight: 950;
}

.confirm-actions .secondary-button {
  border: 1px solid #cfcfcf;
  border-radius: 10px;
  background: white;
  color: var(--ink);
  font: inherit;
  font-weight: 950;
  transition: transform 180ms ease, border-color 180ms ease, color 180ms ease,
    box-shadow 180ms ease;
}

.confirm-actions .secondary-button:hover {
  transform: translateY(-2px);
  border-color: var(--red);
  color: var(--red-dark);
  box-shadow: 0 14px 28px rgba(17, 17, 17, 0.1);
}

.hero-cta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.hero-voronaut {
  display: flex;
  animation: riseIn 720ms 320ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.voronaut-action {
  border-color: var(--ink);
  background: var(--ink);
  color: white;
}

.voronaut-action:hover,
.voronaut-action:focus-visible {
  animation: voronautHoverPulse 1.9s ease both;
}

.voronaut-label {
  position: relative;
  z-index: 2;
}

.starfield {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0;
  background:
    radial-gradient(circle at 18% 38%, white 0 1.5px, transparent 2px),
    radial-gradient(circle at 32% 70%, rgba(255, 255, 255, 0.9) 0 1px, transparent 1.8px),
    radial-gradient(circle at 52% 28%, rgba(255, 255, 255, 0.95) 0 1.4px, transparent 2px),
    radial-gradient(circle at 72% 62%, white 0 1.2px, transparent 2px),
    radial-gradient(circle at 86% 35%, rgba(255, 255, 255, 0.9) 0 1px, transparent 1.8px),
    linear-gradient(115deg, transparent 18%, rgba(255, 16, 16, 0.34), transparent 58%);
  transform: translateY(8px) scale(0.96);
  transition: opacity 180ms ease, transform 260ms ease;
}

.starfield::before,
.starfield::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  background:
    radial-gradient(circle at 12% 72%, white 0 1px, transparent 1.8px),
    radial-gradient(circle at 42% 18%, rgba(255, 255, 255, 0.95) 0 1.2px, transparent 2px),
    radial-gradient(circle at 66% 78%, white 0 1px, transparent 1.8px),
    radial-gradient(circle at 92% 56%, rgba(255, 255, 255, 0.9) 0 1.4px, transparent 2px);
}

.starfield::after {
  filter: blur(1px);
  transform: scale(1.08);
}

.voronaut-action:hover .starfield,
.voronaut-action:focus-visible .starfield {
  transform: translateY(0) scale(1);
  animation: starfieldDrift 1.9s linear, starfieldGlow 1.9s ease-in-out,
    starfieldFade 1.9s ease forwards;
}

.voronaut-action:hover .starfield::before,
.voronaut-action:focus-visible .starfield::before {
  animation: starTwinkle 1.9s ease-in-out forwards;
}

.voronaut-action:hover .starfield::after,
.voronaut-action:focus-visible .starfield::after {
  animation: starTwinkle 1.9s 220ms ease-in-out forwards;
}

.voronaut-action:hover .voronaut-label,
.voronaut-action:focus-visible .voronaut-label {
  animation: voronautLabelGlow 1.9s ease forwards;
}

.grid-icon {
  width: 16px;
  height: 16px;
  display: inline-grid;
  grid-template-columns: repeat(3, 4px);
  grid-template-rows: repeat(3, 4px);
  gap: 2px;
}

.grid-icon::before {
  content: "";
  width: 16px;
  height: 16px;
  background:
    radial-gradient(circle at 2px 2px, currentColor 0 2px, transparent 2px),
    radial-gradient(circle at 8px 2px, currentColor 0 2px, transparent 2px),
    radial-gradient(circle at 14px 2px, currentColor 0 2px, transparent 2px),
    radial-gradient(circle at 2px 8px, currentColor 0 2px, transparent 2px),
    radial-gradient(circle at 8px 8px, currentColor 0 2px, transparent 2px),
    radial-gradient(circle at 14px 8px, currentColor 0 2px, transparent 2px),
    radial-gradient(circle at 2px 14px, currentColor 0 2px, transparent 2px),
    radial-gradient(circle at 8px 14px, currentColor 0 2px, transparent 2px),
    radial-gradient(circle at 14px 14px, currentColor 0 2px, transparent 2px);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100svh + 240px);
  display: block;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.86);
}

.hero-pin {
  position: sticky;
  top: 72px;
  height: calc(100svh - 72px);
  min-height: 680px;
  max-height: 940px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
  align-items: center;
  gap: min(7vw, 86px);
  padding: 72px min(7vw, 72px) 54px;
  overflow: hidden;
}

.hero-atmosphere {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: hidden;
  pointer-events: none;
  contain: paint;
  transform: translateY(var(--hero-drift-y, 0px));
  transition: transform 120ms linear;
}

.hero-atmosphere::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.9;
  background:
    radial-gradient(circle at 18% 16%, rgba(255, 16, 16, 0.115), transparent 24%),
    radial-gradient(circle at 82% 72%, rgba(255, 16, 16, 0.095), transparent 26%);
  transform: translate(var(--dot-field-x, 0px), var(--dot-field-y, 0px));
  mask-image: linear-gradient(90deg, transparent, black 8%, black 94%, transparent);
  transition: transform 120ms linear, opacity 180ms ease;
}

.hero-atmosphere::after {
  content: "";
  position: absolute;
  inset: 5% 0 auto 12%;
  width: 52%;
  height: 52%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 16, 16, 0.14), rgba(255, 16, 16, 0.075) 34%, transparent 68%);
  filter: blur(2px);
  transform: translate(
    calc(var(--glow-x, 0px) + var(--hero-pointer-glow-x, 0px)),
    calc(var(--glow-y, 0px) + var(--hero-pointer-glow-y, 0px))
  );
  transition: transform 220ms ease-out;
}

.hero-float {
  position: absolute;
  width: clamp(56px, 8vw, 122px);
  height: auto;
  opacity: 0.075;
  filter: drop-shadow(0 18px 30px rgba(255, 16, 16, 0.22));
  animation: heroLogoDrift 12s ease-in-out infinite;
}

.hero-float-one {
  left: 10%;
  top: calc(20% + var(--float-one-y, 0px));
  transform: rotate(-10deg);
}

.hero-float-two {
  right: 11%;
  top: calc(16% + var(--float-two-y, 0px));
  width: clamp(76px, 11vw, 172px);
  opacity: 0.06;
  animation-delay: -5s;
  animation-duration: 15s;
}

.hero-orbit {
  position: absolute;
  border: 2px solid rgba(255, 16, 16, 0.1);
  border-radius: 50%;
  animation: heroOrbitSlow 22s linear infinite;
}

.hero-orbit-one {
  right: 2%;
  top: calc(12% + var(--orbit-one-y, 0px));
  width: min(42vw, 420px);
  height: min(42vw, 420px);
}

.hero-orbit-two {
  left: -160px;
  bottom: calc(-90px + var(--orbit-two-y, 0px));
  width: 360px;
  height: 360px;
  border-color: rgba(17, 17, 17, 0.06);
  animation-direction: reverse;
  animation-duration: 28s;
}

.hero-spark,
.hero-star {
  position: absolute;
  border-radius: 50%;
  background: var(--red);
}

.hero-spark {
  width: 9px;
  height: 9px;
  opacity: 0.28;
  animation: heroSparkFloat 6.8s ease-in-out infinite;
}

.hero-spark-one {
  left: 34%;
  top: calc(18% + var(--spark-one-y, 0px));
}

.hero-spark-two {
  right: 28%;
  bottom: calc(28% + var(--spark-two-y, 0px));
  animation-delay: -2.2s;
}

.hero-spark-three {
  left: 16%;
  bottom: calc(24% + var(--spark-three-y, 0px));
  width: 6px;
  height: 6px;
  animation-delay: -4s;
}

.hero-star {
  width: var(--star-size, 5px);
  height: var(--star-size, 5px);
  opacity: var(--star-opacity, 0.22);
  transform: translateY(var(--star-drift, 0px));
  box-shadow: 0 0 14px rgba(255, 16, 16, 0.18);
  animation: heroStarBlink var(--star-speed, 4.8s) ease-in-out infinite;
}

.hero-star-one {
  left: 6%;
  top: 14%;
  --star-size: 5px;
  --star-opacity: 0.18;
  --star-speed: 5.7s;
}

.hero-star-two {
  left: 19%;
  top: 43%;
  --star-size: 7px;
  --star-opacity: 0.2;
  --star-speed: 6.4s;
}

.hero-star-three {
  left: 29%;
  top: 11%;
  --star-size: 4px;
  --star-opacity: 0.16;
}

.hero-star-four {
  left: 42%;
  top: 36%;
  --star-size: 6px;
  --star-opacity: 0.2;
  --star-speed: 7.2s;
}

.hero-star-five {
  left: 53%;
  top: 22%;
  --star-size: 3px;
  --star-opacity: 0.2;
}

.hero-star-six {
  left: 61%;
  top: 58%;
  --star-size: 8px;
  --star-opacity: 0.16;
  --star-speed: 6.9s;
}

.hero-star-seven {
  right: 18%;
  top: 35%;
  --star-size: 5px;
  --star-opacity: 0.24;
}

.hero-star-eight {
  right: 8%;
  top: 53%;
  --star-size: 4px;
  --star-opacity: 0.18;
  --star-speed: 5.3s;
}

.hero-star-nine {
  left: 13%;
  bottom: 18%;
  --star-size: 4px;
  --star-opacity: 0.22;
}

.hero-star-ten {
  right: 32%;
  bottom: 17%;
  --star-size: 7px;
  --star-opacity: 0.17;
  --star-speed: 6.1s;
}

.hero-star-eleven {
  right: 44%;
  top: 72%;
  --star-size: 3px;
  --star-opacity: 0.2;
}

.hero-star-twelve {
  right: 6%;
  bottom: 16%;
  --star-size: 6px;
  --star-opacity: 0.18;
  --star-speed: 7.6s;
}

.hero-rocket-path {
  position: absolute;
  left: 39%;
  bottom: clamp(52px, 8svh, 96px);
  z-index: 2;
  width: clamp(210px, 27vw, 370px);
  transform: translate(var(--rocket-x, 0px), var(--rocket-y, 0px))
    rotate(var(--rocket-tilt, -14deg)) scale(var(--rocket-scale, 1));
  transform-origin: 50% 82%;
  opacity: var(--rocket-opacity, 0);
  filter: drop-shadow(0 28px 34px rgba(255, 16, 16, 0.22))
    drop-shadow(0 10px 24px rgba(17, 17, 17, 0.1));
  transition: transform 120ms linear, opacity 160ms ease;
}

.hero-rocket-path::before {
  content: "";
  position: absolute;
  left: 9%;
  bottom: -10%;
  z-index: 0;
  width: 42%;
  height: 40%;
  border-radius: 999px;
  background:
    radial-gradient(circle at 30% 70%, rgba(255, 255, 255, 0.92), transparent 18%),
    radial-gradient(circle at 54% 58%, rgba(255, 16, 16, 0.45), transparent 38%),
    linear-gradient(135deg, rgba(255, 16, 16, 0.48), rgba(255, 255, 255, 0));
  filter: blur(10px);
  opacity: 0.72;
  transform: rotate(-28deg);
  animation: rocketLaunchGlow 1.45s ease-in-out infinite;
}

.hero-rocket {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  display: block;
  animation: rocketHumanFloat 3.6s ease-in-out infinite;
}

.hero::before {
  content: "";
  position: absolute;
  left: min(7vw, 72px);
  right: min(7vw, 72px);
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 16, 16, 0.42), transparent);
}

.hero::after {
  content: "";
  position: absolute;
  left: -18%;
  bottom: -180px;
  width: 540px;
  height: 540px;
  border: 1px solid rgba(255, 16, 16, 0.16);
  border-radius: 50%;
  opacity: 0.86;
  pointer-events: none;
  animation: heroRingDrift 11s ease-in-out infinite;
}

.hero-copy {
  position: relative;
  z-index: 4;
}

.hero-copy::before {
  content: "";
  display: block;
  width: 54px;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--red), var(--ink));
  box-shadow: 0 12px 30px rgba(255, 16, 16, 0.2);
  animation: riseIn 720ms 80ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.hero-visual {
  position: relative;
  z-index: 1;
}

.eyebrow,
.section-kicker {
  margin: 0;
  color: var(--red-dark);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 820px;
  margin: 22px 0 0;
  font-size: 5.15rem;
  line-height: 0.98;
  letter-spacing: 0;
  animation: riseIn 720ms 120ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 660px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.58;
  text-wrap: balance;
  animation: riseIn 720ms 240ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  animation: riseIn 720ms 360ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.hero-visual {
  --scroll-progress: 0;
  min-height: 540px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-left: 1px solid var(--line);
  contain: layout paint;
}

.motion-logo {
  position: relative;
  width: min(100%, 560px);
  aspect-ratio: 1;
  isolation: isolate;
  transform: translateY(calc(var(--scroll-progress) * -26px));
  transition: transform 120ms linear;
  animation: fadeIn 760ms 260ms ease both;
  will-change: transform;
}

.motion-logo::before {
  content: "";
  position: absolute;
  inset: 2%;
  border: 18px solid rgba(255, 16, 16, 0.08);
  border-left-color: transparent;
  border-radius: 50%;
  transform: rotate(calc(var(--scroll-progress) * -72deg));
  transition: transform 120ms linear;
  animation: logoOrbit 12s linear infinite;
}

.motion-grid {
  position: absolute;
  inset: 7%;
  border: 1px solid var(--line);
  border-radius: 14px;
  background-image: linear-gradient(var(--faint) 1px, transparent 1px),
    linear-gradient(90deg, var(--faint) 1px, transparent 1px);
  background-size: 52px 52px;
  background-color: rgba(255, 255, 255, 0.74);
  box-shadow: 0 28px 80px rgba(17, 17, 17, 0.12), 0 0 0 1px rgba(255, 255, 255, 0.72) inset;
  z-index: -3;
  animation: gridPan 16s linear infinite;
}

.motion-grid::before,
.motion-grid::after {
  content: "";
  position: absolute;
  inset: 14%;
  border: 1px solid rgba(255, 16, 16, 0.16);
  border-radius: 50%;
}

.motion-grid::after {
  inset: 28%;
  animation: softPulse 3.8s ease-in-out infinite;
}

.motion-redline {
  position: absolute;
  left: 50%;
  top: 9%;
  width: 2px;
  height: 42%;
  background: linear-gradient(var(--red), rgba(255, 16, 16, 0));
  transform-origin: 50% 100%;
  transform: translateX(-50%) rotate(calc(-38deg + var(--scroll-progress) * 120deg));
  transition: transform 120ms linear;
  z-index: -1;
  animation: redlineGlow 2.8s ease-in-out infinite;
}

.motion-logo-image {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 58%;
  height: 58%;
  object-fit: contain;
  transform: translate(-50%, -50%) rotate(calc(var(--scroll-progress) * 18deg))
    scale(calc(1 + var(--scroll-progress) * 0.06));
  filter: drop-shadow(0 20px 40px rgba(255, 16, 16, 0.2));
  transition: transform 120ms linear;
  animation: logoBreathe 4.6s ease-in-out infinite;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.section {
  display: grid;
  grid-template-columns: 220px minmax(0, 860px);
  gap: min(8vw, 96px);
  padding: 110px min(7vw, 72px);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
}

.section-body h2,
.contact-section h2 {
  margin: 0;
  font-size: 3.25rem;
  line-height: 1.03;
  letter-spacing: 0;
}

.section-body p,
.contact-section p {
  max-width: 760px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.62;
}

.direction-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 360px;
  align-items: center;
  background:
    radial-gradient(circle at 74% 52%, rgba(255, 16, 16, 0.2), transparent 22%),
    radial-gradient(circle at 18% 20%, rgba(255, 255, 255, 0.08), transparent 28%),
    linear-gradient(135deg, #0d0d0f 0%, #121214 58%, #160d0d 100%);
  color: white;
}

.direction-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 58px 58px;
  opacity: 0.38;
  animation: darkGridDrift 18s linear infinite;
}

.direction-section::after {
  content: "";
  position: absolute;
  inset: 24px;
  z-index: -1;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.06), transparent 54%),
    radial-gradient(circle at 80% 50%, rgba(255, 16, 16, 0.16), transparent 32%);
  pointer-events: none;
}

.direction-motion {
  --scroll-progress: 0;
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  contain: paint;
}

.direction-ring {
  position: absolute;
  border-radius: 50%;
  border-style: solid;
  border-color: rgba(255, 64, 64, 0.3);
  opacity: 0.72;
}

.direction-ring-one {
  width: 360px;
  height: 360px;
  right: min(7vw, 88px);
  top: 50%;
  border-width: 18px;
  border-left-color: transparent;
  border-bottom-color: transparent;
  transform: translate3d(
      calc(var(--scroll-progress) * -120px),
      calc(var(--scroll-progress) * -170px),
      0
    )
    rotate(calc(var(--scroll-progress) * 110deg));
  animation: directionRingSpin 16s linear infinite;
}

.direction-ring-two {
  width: 560px;
  height: 560px;
  right: -170px;
  top: -170px;
  border-width: 1px;
  border-color: rgba(255, 255, 255, 0.13);
  animation: directionRingFloat 9s ease-in-out infinite;
}

.direction-ring-three {
  width: 220px;
  height: 220px;
  right: 38%;
  bottom: -86px;
  border-width: 16px;
  border-top-color: transparent;
  border-right-color: transparent;
  opacity: 0.42;
  transform: translate3d(
      calc(var(--scroll-progress) * 150px),
      calc(var(--scroll-progress) * -120px),
      0
    )
    rotate(calc(var(--scroll-progress) * -90deg));
  animation: directionRingSpin 13s linear infinite reverse;
}

.direction-mark {
  position: absolute;
  right: max(28px, 7vw);
  bottom: 28px;
  width: clamp(120px, 22vw, 270px);
  opacity: 0.1;
  filter: grayscale(1) brightness(2.1);
  transform: translate3d(
      calc(var(--scroll-progress) * -80px),
      calc(var(--scroll-progress) * -190px),
      0
    )
    rotate(calc(var(--scroll-progress) * 32deg))
    scale(calc(1 + var(--scroll-progress) * 0.14));
  transition: transform 120ms linear;
}

.direction-rocket {
  position: absolute;
  right: clamp(96px, 17vw, 340px);
  top: 50%;
  width: clamp(190px, 14vw, 265px);
  opacity: 0.92;
  filter: drop-shadow(0 24px 44px rgba(255, 16, 16, 0.28));
  transform: translate3d(0, -50%, 0) rotate(12deg);
}

@media (max-width: 1180px) {
  .direction-rocket {
    right: 40px;
    width: 190px;
    opacity: 0.28;
  }
}

.direction-section .section-kicker,
.direction-section .section-body {
  position: relative;
  z-index: 1;
}

.direction-copy {
  grid-column: 1 / -1;
  max-width: 760px;
}

.direction-section .section-kicker {
  color: #ffb7b7;
}

.direction-section p {
  max-width: 660px;
  color: rgba(255, 255, 255, 0.76);
}

.voron-plus-section {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: min(7vw, 78px);
  align-items: center;
  padding: 98px min(7vw, 72px);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 86% 8%, rgba(255, 16, 16, 0.1), transparent 28%),
    radial-gradient(circle at 8% 92%, rgba(66, 121, 255, 0.11), transparent 30%),
    rgba(255, 255, 255, 0.94);
  overflow: hidden;
}

.voron-plus-section::before {
  content: "";
  position: absolute;
  right: -92px;
  top: -92px;
  z-index: -1;
  width: 310px;
  height: 310px;
  border: 22px solid rgba(255, 16, 16, 0.08);
  border-left-color: transparent;
  border-radius: 50%;
}

.voron-tier-switch {
  --tier-slider-x: 7px;
  --tier-slider-y: 7px;
  --tier-slider-width: calc(33.333% - 10px);
  --tier-slider-height: 54px;
  position: relative;
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  width: min(680px, 100%);
  padding: 7px;
  border: 1px solid rgba(17, 17, 17, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 44px rgba(17, 17, 17, 0.06);
}

.voron-tier-switch::before {
  content: "";
  position: absolute;
  left: var(--tier-slider-x);
  top: var(--tier-slider-y);
  width: var(--tier-slider-width);
  height: var(--tier-slider-height);
  border: 1px solid rgba(255, 16, 16, 0.28);
  border-radius: 13px;
  background:
    radial-gradient(circle at 90% 8%, rgba(255, 16, 16, 0.1), transparent 34%),
    rgba(255, 255, 255, 0.96);
  transition:
    left 280ms cubic-bezier(0.22, 1, 0.36, 1),
    top 280ms cubic-bezier(0.22, 1, 0.36, 1),
    width 280ms cubic-bezier(0.22, 1, 0.36, 1),
    height 280ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 180ms ease,
    background 180ms ease;
  pointer-events: none;
}

.voron-tier-switch button {
  position: relative;
  z-index: 1;
  min-height: 54px;
  border: 1px solid transparent;
  border-radius: 13px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-weight: 1000;
  cursor: pointer;
  transition: color 170ms ease, background 170ms ease, border-color 170ms ease, transform 170ms ease;
}

.voron-tier-switch button:hover,
.voron-tier-switch button:focus-visible {
  color: var(--ink);
  transform: translateY(-1px);
}

.voron-tier-switch button.active {
  border-color: transparent;
  background: transparent;
  color: var(--ink);
}

.premium-page-main {
  min-height: calc(100vh - 220px);
}

.voron-plus-copy h1,
.voron-plus-copy h2 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(3.4rem, 8vw, 7rem);
  line-height: 0.92;
  letter-spacing: 0;
}

.voron-plus-copy p {
  max-width: 680px;
  margin: 24px 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.8vw, 1.24rem);
  font-weight: 780;
  line-height: 1.55;
}

.voron-plus-perks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 14px;
  max-width: 700px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.voron-plus-perks li {
  position: relative;
  min-height: 46px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid rgba(17, 17, 17, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.78);
  font-weight: 950;
}

.voron-plus-perks li::before {
  content: none;
}

.voron-plan-feature-list .feature-state {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 1000;
  line-height: 1;
}

.voron-plan-feature-list li.is-included {
  border-color: rgba(46, 190, 125, 0.28);
}

.voron-plan-feature-list li.is-included .feature-state {
  background: rgba(46, 190, 125, 0.13);
  color: #148653;
}

.voron-plan-feature-list li.is-missing {
  color: rgba(17, 17, 17, 0.55);
}

.voron-plan-feature-list li.is-missing .feature-state {
  background: rgba(255, 16, 16, 0.08);
  color: var(--red);
}

.voron-plus-card {
  display: grid;
  gap: 18px;
  padding: clamp(22px, 3.5vw, 32px);
  border: 1px solid rgba(255, 16, 16, 0.22);
  border-radius: 24px;
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 16, 16, 0.08), transparent 30%),
    rgba(255, 255, 255, 0.92);
  box-shadow: 0 28px 80px rgba(17, 17, 17, 0.08);
}

.voron-plus-card[data-status="premium"] {
  border-color: rgba(46, 190, 125, 0.42);
  background:
    radial-gradient(circle at 100% 0%, rgba(46, 190, 125, 0.11), transparent 30%),
    rgba(255, 255, 255, 0.94);
}

.voron-plus-card[data-selected-tier="free"] .voron-plus-plan-switch {
  display: none;
}

.voron-plus-card[data-selected-tier="free"] .voron-plus-currency-switch {
  display: none;
}

.voron-plus-plan-switch {
  --plan-slider-x: 7px;
  --plan-slider-y: 7px;
  --plan-slider-width: calc(50% - 11px);
  --plan-slider-height: 82px;
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 7px;
  border: 1px solid rgba(17, 17, 17, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.78);
}

.voron-plus-plan-switch::before {
  content: "";
  position: absolute;
  left: var(--plan-slider-x);
  top: var(--plan-slider-y);
  width: var(--plan-slider-width);
  height: var(--plan-slider-height);
  border: 1px solid rgba(255, 16, 16, 0.24);
  border-radius: 12px;
  background:
    radial-gradient(circle at 90% 12%, rgba(255, 16, 16, 0.08), transparent 36%),
    rgba(255, 246, 246, 0.92);
  transition:
    left 280ms cubic-bezier(0.22, 1, 0.36, 1),
    top 280ms cubic-bezier(0.22, 1, 0.36, 1),
    width 280ms cubic-bezier(0.22, 1, 0.36, 1),
    height 280ms cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.voron-plus-plan-switch button {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 4px;
  min-height: 82px;
  padding: 12px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-weight: 950;
  text-align: left;
  cursor: pointer;
  transition: color 170ms ease, transform 170ms ease;
}

.voron-plus-plan-switch button.active {
  border-color: transparent;
  background: transparent;
  color: var(--ink);
}

.voron-plus-plan-switch button:hover,
.voron-plus-plan-switch button:focus-visible {
  color: var(--ink);
  transform: translateY(-1px);
  outline: none;
}

.voron-plus-plan-switch button:disabled {
  opacity: 0.5;
  cursor: default;
}

.voron-plus-plan-switch strong {
  color: var(--ink);
  font-size: 1.1rem;
}

.voron-plus-plan-switch small {
  color: var(--red);
  font-size: 0.74rem;
  font-weight: 1000;
}

.voron-plus-currency-switch {
  --currency-slider-x: 6px;
  --currency-slider-y: 6px;
  --currency-slider-width: calc(33.333% - 8px);
  --currency-slider-height: 42px;
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  padding: 6px;
  border: 1px solid rgba(17, 17, 17, 0.1);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.82);
}

.voron-plus-currency-switch::before {
  content: "";
  position: absolute;
  left: var(--currency-slider-x);
  top: var(--currency-slider-y);
  width: var(--currency-slider-width);
  height: var(--currency-slider-height);
  border: 1px solid rgba(62, 123, 255, 0.22);
  border-radius: 11px;
  background:
    radial-gradient(circle at 90% 8%, rgba(62, 123, 255, 0.1), transparent 36%),
    rgba(246, 249, 255, 0.96);
  transition:
    left 260ms cubic-bezier(0.22, 1, 0.36, 1),
    top 260ms cubic-bezier(0.22, 1, 0.36, 1),
    width 260ms cubic-bezier(0.22, 1, 0.36, 1),
    height 260ms cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.voron-plus-currency-switch button {
  position: relative;
  z-index: 1;
  min-height: 42px;
  border: 1px solid transparent;
  border-radius: 11px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.86rem;
  font-weight: 1000;
  cursor: pointer;
  transition: color 170ms ease, background 170ms ease, border-color 170ms ease, transform 170ms ease;
}

.voron-plus-currency-switch button:hover,
.voron-plus-currency-switch button:focus-visible {
  color: var(--ink);
  transform: translateY(-1px);
  outline: none;
}

.voron-plus-currency-switch button.active {
  border-color: transparent;
  background: transparent;
  color: var(--ink);
}

.voron-plus-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: nowrap;
  min-width: 0;
}

.voron-plus-price strong {
  flex: 0 1 auto;
  min-width: 0;
  max-width: calc(100% - 62px);
  font-size: clamp(2.4rem, 4.8vw, 4.35rem);
  line-height: 0.92;
  word-break: keep-all;
  white-space: nowrap;
}

.voron-plus-price span,
.voron-plus-card p {
  color: var(--muted);
  font-weight: 900;
}

.voron-plus-price span {
  flex: 0 0 auto;
  font-size: clamp(0.92rem, 1.5vw, 1.1rem);
  white-space: nowrap;
}

.voron-plus-action {
  width: fit-content;
  border: 0;
}

.voron-plus-action:disabled {
  opacity: 0.72;
  cursor: default;
  filter: grayscale(0.15);
}

.voron-ad-row {
  display: grid;
  place-items: center;
  padding: 34px min(7vw, 72px);
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
  background:
    radial-gradient(circle at 15% 18%, rgba(66, 121, 255, 0.08), transparent 32%),
    radial-gradient(circle at 86% 82%, rgba(255, 16, 16, 0.08), transparent 34%),
    rgba(255, 255, 255, 0.92);
}

.premium-ad-row {
  border-top: 1px solid rgba(17, 17, 17, 0.08);
}

.voron-ad-slot {
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  width: min(100%, 980px);
  min-height: 110px;
  border: 1px solid rgba(17, 17, 17, 0.1);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(255, 246, 246, 0.64)),
    radial-gradient(circle at 12% 22%, rgba(66, 121, 255, 0.09), transparent 34%),
    radial-gradient(circle at 88% 80%, rgba(255, 16, 16, 0.08), transparent 38%);
  color: rgba(83, 97, 122, 0.58);
  font-size: 0.68rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.voron-ad-unit {
  display: block;
  width: 100%;
  min-height: 110px;
}

.voron-ad-placeholder {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 6px 10px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
}

.voron-ad-slot[data-ad-ready="true"] .voron-ad-placeholder {
  display: none;
}

.voron-ad-slot[data-ad-ready="auto"]::after {
  content: "Auto ads active";
  position: absolute;
  right: 14px;
  bottom: 14px;
  color: rgba(83, 97, 122, 0.5);
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: none;
}

@media (max-width: 860px) {
  .voron-plus-section {
    grid-template-columns: 1fr;
    padding: 72px min(7vw, 32px);
  }

  .voron-plus-perks {
    grid-template-columns: 1fr;
  }

  .voron-plus-action {
    width: 100%;
  }

  .voron-plus-price {
    align-items: baseline;
  }

  .voron-plus-price strong {
    max-width: calc(100% - 54px);
    font-size: clamp(2.15rem, 11.5vw, 3.45rem);
  }

  .voron-ad-row {
    padding: 22px min(7vw, 32px);
  }

  .voron-ad-slot,
  .voron-ad-unit {
    min-height: 86px;
  }
}

.project-spotlight {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
  align-items: center;
  gap: min(8vw, 90px);
  padding: 92px min(7vw, 72px);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 16, 16, 0.08), transparent 26%),
    radial-gradient(circle at 92% 82%, rgba(17, 17, 17, 0.035), transparent 24%),
    rgba(255, 255, 255, 0.94);
}

.project-spotlight::before {
  content: "";
  position: absolute;
  left: min(7vw, 72px);
  top: 0;
  width: min(210px, 44vw);
  height: 5px;
  border-radius: 0 0 999px 999px;
  background: linear-gradient(90deg, var(--red), var(--ink));
}

.spotlight-copy {
  max-width: 760px;
}

.spotlight-copy h2 {
  margin: 0;
  font-size: clamp(2.4rem, 5.2vw, 4.8rem);
  line-height: 1;
  letter-spacing: 0;
  text-wrap: balance;
}

.spotlight-copy p:not(.eyebrow) {
  max-width: 640px;
  margin: 24px 0 24px;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.7;
}

.spotlight-visual {
  position: relative;
  isolation: isolate;
  display: grid;
  gap: 16px;
  padding: 18px;
  border: 1px solid rgba(17, 17, 17, 0.14);
  border-radius: 16px;
  background:
    linear-gradient(white, white) padding-box,
    linear-gradient(135deg, rgba(255, 16, 16, 0.38), rgba(17, 17, 17, 0.12)) border-box;
  box-shadow: 0 26px 70px rgba(17, 17, 17, 0.12);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.spotlight-visual::before {
  content: "";
  position: absolute;
  inset: -36px -28px auto auto;
  z-index: -1;
  width: 160px;
  height: 160px;
  border: 18px solid rgba(255, 16, 16, 0.08);
  border-left-color: transparent;
  border-radius: 50%;
  transform: rotate(22deg);
}

.spotlight-visual:hover,
.spotlight-visual:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(255, 16, 16, 0.42);
  box-shadow: 0 34px 86px rgba(17, 17, 17, 0.16);
}

.spotlight-visual img {
  width: 100%;
  aspect-ratio: 1.65;
  object-fit: contain;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.spotlight-visual span {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
}

.spotlight-visual strong {
  font-size: 1.3rem;
  font-weight: 950;
}

.spotlight-visual small {
  color: var(--muted);
  font-weight: 850;
  text-align: right;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(300px, 460px);
  align-items: center;
  gap: min(8vw, 96px);
  padding: 98px min(7vw, 72px);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
}

.contact-card {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 14px;
  padding: 30px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  background: white;
  box-shadow: var(--shadow);
  transition: transform 190ms ease, box-shadow 190ms ease, border-color 190ms ease;
}

.contact-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background: var(--red);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 190ms ease;
}

.contact-card::after {
  content: "";
  position: absolute;
  right: 24px;
  top: 28px;
  width: 10px;
  height: 10px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  opacity: 0;
  transform: translate(-8px, 8px) rotate(45deg);
  transition: opacity 190ms ease, transform 190ms ease;
}

.contact-card:hover {
  border-color: var(--red);
  transform: translateY(-5px);
  box-shadow: 0 34px 72px rgba(17, 17, 17, 0.16);
}

.contact-card:hover::before,
.contact-card:focus-visible::before {
  transform: scaleY(1);
}

.contact-card:hover::after,
.contact-card:focus-visible::after {
  opacity: 0.8;
  transform: translate(0, 0) rotate(45deg);
}

.contact-list {
  display: grid;
  gap: 14px;
}

.contact-card span {
  color: var(--red-dark);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-card strong {
  font-size: 1.55rem;
  overflow-wrap: anywhere;
}

.legal-page {
  min-height: calc(100vh - 220px);
  display: block;
  padding: 110px min(7vw, 72px);
  background: rgba(255, 255, 255, 0.92);
}

.legal-page h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.legal-page h2 {
  max-width: 860px;
  margin: 0 0 14px;
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  line-height: 1.08;
}

.legal-page p:not(.eyebrow) {
  max-width: 720px;
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 1.15rem;
  line-height: 1.75;
}

.legal-page a:not(.primary-action) {
  color: var(--ink);
  font-weight: 900;
}

.legal-page ul {
  max-width: 860px;
  margin: 0;
  padding-left: 22px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.68;
}

.legal-page li + li {
  margin-top: 8px;
}

.legal-intro,
.legal-section {
  max-width: 960px;
}

.legal-intro {
  display: grid;
  gap: 20px;
  margin-bottom: 48px;
}

.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.legal-meta span {
  padding: 8px 12px;
  border: 1px solid rgba(17, 17, 17, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.84);
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 900;
}

.legal-section {
  padding: 32px 0;
  border-top: 1px solid rgba(17, 17, 17, 0.1);
}

.legal-callout {
  max-width: 860px;
  margin: 20px 0 0;
  padding: 18px 20px;
  border: 1px solid rgba(17, 17, 17, 0.12);
  border-radius: 14px;
  background:
    radial-gradient(circle at 12% 10%, rgba(255, 16, 16, 0.055), transparent 32%),
    rgba(255, 255, 255, 0.86);
  color: var(--ink);
  font-weight: 850;
  line-height: 1.55;
}

.legal-page .primary-action {
  width: fit-content;
}

.snake-only-main {
  min-height: calc(100vh - 218px);
  display: grid;
  place-items: center;
  padding: 54px 20px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.9);
}

.snake-game-wrap {
  position: relative;
  isolation: isolate;
  width: min(88vw, 620px);
  display: grid;
  justify-items: center;
  gap: 16px;
}

.snake-game-wrap::before {
  content: "";
  position: absolute;
  inset: -18px;
  z-index: -1;
  border: 1px solid rgba(255, 16, 16, 0.18);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(255, 16, 16, 0.08), transparent 36%),
    repeating-linear-gradient(
      90deg,
      rgba(17, 17, 17, 0.035) 0,
      rgba(17, 17, 17, 0.035) 1px,
      transparent 1px,
      transparent 28px
    );
  opacity: 0.8;
  animation: boardAura 5.5s ease-in-out infinite;
}

.snake-stage {
  position: relative;
  width: 100%;
}

#snake-board {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 32px 80px rgba(17, 17, 17, 0.16), 0 0 0 10px rgba(255, 16, 16, 0.035);
  cursor: pointer;
  touch-action: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.snake-game-wrap:hover #snake-board {
  border-color: rgba(255, 16, 16, 0.46);
  box-shadow: 0 38px 90px rgba(17, 17, 17, 0.18), 0 0 0 10px rgba(255, 16, 16, 0.06);
  transform: translateY(-2px);
}

.snake-play-button {
  width: 58px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid var(--red);
  border-radius: 8px;
  background: var(--red);
  box-shadow: 0 16px 36px rgba(255, 16, 16, 0.24);
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease, opacity 180ms ease,
    transform 180ms ease, box-shadow 180ms ease;
}

.snake-play-button span {
  width: 0;
  height: 0;
  margin-left: 4px;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid white;
}

.snake-play-button:hover {
  border-color: var(--red-dark);
  background: var(--red-dark);
  box-shadow: 0 20px 44px rgba(255, 16, 16, 0.3);
  transform: translateY(-2px) scale(1.03);
}

.snake-play-button.is-hidden {
  opacity: 0;
  transform: translateY(-8px) scale(0.94);
  pointer-events: none;
}

.snake-result {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.68);
  backdrop-filter: blur(8px);
  pointer-events: auto;
  animation: resultFade 220ms ease both;
}

.snake-result[hidden] {
  display: none;
}

.snake-result::before {
  content: "";
  position: absolute;
  inset: 12%;
  border: 2px solid rgba(255, 16, 16, 0.35);
  border-radius: 12px;
  animation: resultRing 820ms cubic-bezier(0.2, 0.9, 0.2, 1) both;
}

.snake-result-card {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  max-width: min(86%, 390px);
  padding: 12px;
  border: 1px solid rgba(17, 17, 17, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 22px 54px rgba(17, 17, 17, 0.18);
  pointer-events: auto;
  animation: resultPop 360ms cubic-bezier(0.2, 0.9, 0.2, 1) both;
}

.snake-result-score {
  color: var(--red-dark);
  font-size: clamp(1rem, 4vw, 1.35rem);
  font-weight: 950;
  line-height: 1;
  white-space: nowrap;
}

.snake-result-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.snake-share-button,
.snake-again-button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 14px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  background: white;
  color: var(--ink);
  font: inherit;
  font-weight: 950;
  cursor: pointer;
  white-space: nowrap;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease,
    transform 180ms ease, box-shadow 180ms ease;
}

.snake-again-button {
  border-color: var(--red);
  background: var(--red);
  color: white;
}

.snake-again-button span {
  width: 0;
  height: 0;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 10px solid currentColor;
}

.snake-share-button:hover,
.snake-again-button:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(17, 17, 17, 0.18);
}

.snake-share-button.copied {
  background: var(--red);
  border-color: var(--red);
  color: white;
}

.share-symbol {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.share-symbol circle {
  fill: currentColor;
  stroke: none;
}

.site-footer {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(220px, 0.7fr) auto;
  align-items: center;
  gap: clamp(20px, 4vw, 56px);
  min-height: 156px;
  padding: 38px min(7vw, 72px);
  border-top: 1px solid rgba(255, 24, 24, 0.18);
  background:
    radial-gradient(circle at 92% 12%, rgba(255, 24, 24, 0.16), transparent 34%),
    radial-gradient(circle at 8% 86%, rgba(61, 119, 255, 0.13), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(249, 252, 255, 0.95) 48%, rgba(255, 235, 235, 0.94));
  color: var(--ink);
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: auto -72px -180px auto;
  width: 440px;
  height: 440px;
  border: 32px solid rgba(255, 24, 24, 0.08);
  border-radius: 50%;
  pointer-events: none;
  animation: footerRing 9s ease-in-out infinite;
}

.site-footer::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(7, 7, 7, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(7, 7, 7, 0.06) 1px, transparent 1px);
  background-size: 42px 42px;
  -webkit-mask-image: linear-gradient(90deg, transparent, black 24%, black);
  mask-image: linear-gradient(90deg, transparent, black 24%, black);
  opacity: 0.16;
  pointer-events: none;
  animation: footerGridSlide 16s linear infinite;
}

.footer-brand,
.site-footer p,
.footer-links {
  position: relative;
  z-index: 1;
}

.footer-brand {
  align-items: center;
  gap: 14px;
}

.footer-brand strong {
  font-size: 1.18rem;
  line-height: 1;
  font-weight: 950;
}

.footer-brand-text {
  display: grid;
  gap: 5px;
}

.footer-brand-text small {
  color: rgba(7, 7, 7, 0.58);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.02em;
}

.footer-logo {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(7, 7, 7, 0.12);
  border-radius: 8px;
  background: white;
  box-shadow: 0 16px 34px rgba(39, 72, 142, 0.12), 0 0 0 8px rgba(255, 24, 24, 0.04);
  transition: transform 220ms ease;
}

.footer-brand:hover .footer-logo {
  transform: rotate(-8deg) scale(1.04);
}

.footer-logo img {
  width: 42px;
  height: 42px;
}

.site-footer p {
  margin: 0;
  max-width: 320px;
  color: rgba(7, 7, 7, 0.78);
  font-size: clamp(1rem, 1.5vw, 1.26rem);
  line-height: 1.35;
  font-weight: 900;
  letter-spacing: 0;
  text-align: left;
  text-transform: none;
}

.site-footer p::after {
  content: "";
  display: block;
  width: 78px;
  height: 2px;
  margin: 14px auto 0 0;
  background: linear-gradient(90deg, var(--red), rgba(61, 119, 255, 0.42));
}

.site-footer a {
  color: var(--ink);
  font-weight: 900;
}

.footer-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  font-size: 0.9rem;
}

.footer-links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid rgba(7, 7, 7, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  opacity: 0.9;
  transition: opacity 180ms ease, transform 180ms ease, background 180ms ease,
    border-color 180ms ease;
}

.footer-links a::after {
  content: none;
}

.footer-links a:hover {
  opacity: 1;
  transform: translateY(-2px);
  border-color: rgba(255, 24, 24, 0.26);
  background: rgba(255, 255, 255, 0.95);
}

.menu-backdrop {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(0, 0, 0, 0.22);
}

.app-menu {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 50;
  width: min(440px, 100vw);
  height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 24px;
  border-left: 1px solid var(--ink);
  background:
    radial-gradient(circle at 84% 18%, rgba(255, 16, 16, 0.12), transparent 28%),
    linear-gradient(180deg, white, #fff8f8);
  box-shadow: var(--shadow);
  transform: translateX(105%);
  transition: transform 180ms ease;
}

.app-menu::before {
  content: "";
  position: absolute;
  inset: auto -120px -120px auto;
  width: 260px;
  height: 260px;
  border: 18px solid rgba(255, 16, 16, 0.09);
  border-radius: 50%;
  pointer-events: none;
}

.app-menu.open {
  transform: translateX(0);
}

.app-menu.open .app-menu-header,
.app-menu.open .empty-app-state,
.app-menu.open .app-list {
  animation: menuItemsIn 360ms ease both;
}

.app-menu.open .empty-app-state,
.app-menu.open .app-list {
  animation-delay: 70ms;
}

.app-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.app-menu-header h2 {
  margin: 0;
  font-size: 2rem;
}

.icon-button {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--faint);
  color: var(--ink);
  font-size: 1rem;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
}

.empty-app-state {
  min-height: 360px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 14px;
  padding: 34px 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff7f7;
  text-align: center;
}

.empty-app-state img {
  width: 96px;
  height: 96px;
  object-fit: contain;
  animation: emptyLogoFloat 4s ease-in-out infinite;
}

.empty-app-state h3 {
  margin: 8px 0 0;
  font-size: 1.35rem;
}

.empty-app-state p {
  max-width: 300px;
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

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

.app-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 92px 1fr;
  align-items: center;
  gap: 14px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background:
    linear-gradient(white, white) padding-box,
    linear-gradient(135deg, rgba(255, 16, 16, 0.26), rgba(17, 17, 17, 0.08)) border-box;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.app-card::after {
  content: "";
  position: absolute;
  right: 16px;
  top: 50%;
  width: 11px;
  height: 11px;
  border-top: 2px solid var(--red);
  border-right: 2px solid var(--red);
  opacity: 0;
  transform: translate(-10px, -50%) rotate(45deg);
  transition: opacity 180ms ease, transform 180ms ease;
}

.app-card:hover {
  border-color: var(--red);
  box-shadow: 0 18px 42px rgba(17, 17, 17, 0.12);
  transform: translateY(-2px);
}

.app-card:hover::after,
.app-card:focus-visible::after {
  opacity: 1;
  transform: translate(0, -50%) rotate(45deg);
}

.app-card img {
  width: 92px;
  height: 64px;
  object-fit: contain;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
  transition: transform 180ms ease;
}

.app-card:hover img {
  transform: scale(1.035);
}

.app-card span {
  display: grid;
  gap: 4px;
}

.app-card strong {
  font-size: 1.1rem;
  font-weight: 950;
}

.app-card small {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

@keyframes pageGridDrift {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 82px 82px;
  }
}

@keyframes confirmIn {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes loaderSpin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes loaderFailsafe {
  0%,
  85% {
    opacity: 1;
    visibility: visible;
  }

  100% {
    opacity: 0;
    visibility: hidden;
  }
}

@keyframes headerDrop {
  from {
    opacity: 0;
    transform: translateY(-14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes gridPan {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 52px 52px;
  }
}

@keyframes heroRingDrift {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(26px, -18px) scale(1.04);
  }
}

@keyframes heroLogoDrift {
  0%,
  100% {
    transform: translateY(0) rotate(-10deg) scale(1);
  }

  50% {
    transform: translateY(-24px) rotate(7deg) scale(1.04);
  }
}

@keyframes heroOrbitSlow {
  to {
    transform: rotate(360deg);
  }
}

@keyframes heroSparkFloat {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(-18px) scale(1.35);
  }
}

@keyframes heroStarBlink {
  0%,
  100% {
    opacity: var(--star-opacity, 0.22);
    transform: translateY(var(--star-drift, 0px)) scale(1);
  }

  50% {
    opacity: calc(var(--star-opacity, 0.22) + 0.16);
    transform: translateY(calc(var(--star-drift, 0px) - 7px)) scale(1.32);
  }
}

@keyframes rocketHumanFloat {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }

  35% {
    transform: translate(4px, -8px) rotate(2.5deg);
  }

  68% {
    transform: translate(-3px, 4px) rotate(-1.5deg);
  }
}

@keyframes rocketLaunchGlow {
  0%,
  100% {
    opacity: 0.5;
    transform: rotate(-28deg) scale(0.88);
  }

  50% {
    opacity: 0.82;
    transform: rotate(-24deg) scale(1.08);
  }
}

@keyframes starfieldDrift {
  from {
    background-position: 0 0, 0 0, 0 0, 0 0, 0 0, -120px 0;
  }
  to {
    background-position: 34px -18px, -22px -26px, 18px -32px, -28px -20px, 24px -18px,
      120px 0;
  }
}

@keyframes voronautHoverPulse {
  0% {
    border-color: var(--ink);
    background: var(--ink);
    box-shadow: none;
    transform: translateY(0);
  }
  18%,
  68% {
    border-color: var(--red);
    background: #151515;
    box-shadow: 0 16px 42px rgba(255, 16, 16, 0.26);
    transform: translateY(-2px);
  }
  100% {
    border-color: var(--ink);
    background: var(--ink);
    box-shadow: none;
    transform: translateY(0);
  }
}

@keyframes starfieldFade {
  0% {
    opacity: 0;
  }
  14%,
  72% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

@keyframes starfieldGlow {
  0%,
  100% {
    filter: saturate(1);
  }
  50% {
    filter: saturate(1.3);
  }
}

@keyframes starTwinkle {
  0% {
    opacity: 0;
    transform: translateY(3px);
  }
  18%,
  72% {
    opacity: 0.9;
    transform: translateY(-3px);
  }
  100% {
    opacity: 0;
    transform: translateY(0);
  }
}

@keyframes voronautLabelGlow {
  0%,
  100% {
    text-shadow: none;
  }
  22%,
  68% {
    text-shadow: 0 0 14px rgba(255, 255, 255, 0.52);
  }
}

@keyframes logoOrbit {
  from {
    rotate: 0deg;
  }
  to {
    rotate: 360deg;
  }
}

@keyframes softPulse {
  0%,
  100% {
    opacity: 0.5;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.035);
  }
}

@keyframes redlineGlow {
  0%,
  100% {
    opacity: 0.52;
  }
  50% {
    opacity: 0.95;
  }
}

@keyframes logoBreathe {
  0%,
  100% {
    filter: drop-shadow(0 20px 40px rgba(255, 16, 16, 0.18));
  }
  50% {
    filter: drop-shadow(0 28px 62px rgba(255, 16, 16, 0.32));
  }
}

@keyframes footerRing {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(-18px, -12px) scale(1.04);
  }
}

@keyframes footerGridSlide {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 42px 42px;
  }
}

@keyframes emptyLogoFloat {
  0%,
  100% {
    transform: translateY(0) rotate(0);
  }
  50% {
    transform: translateY(-8px) rotate(4deg);
  }
}

@keyframes menuItemsIn {
  from {
    opacity: 0;
    transform: translateX(14px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes darkGridDrift {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 58px 58px;
  }
}

@keyframes directionRingSpin {
  from {
    rotate: 0deg;
  }
  to {
    rotate: 360deg;
  }
}

@keyframes directionRingFloat {
  0%,
  100% {
    transform: translate3d(
        calc(var(--scroll-progress) * -150px),
        calc(var(--scroll-progress) * 110px),
        0
      )
      scale(1);
  }
  50% {
    transform: translate3d(
        calc(var(--scroll-progress) * -150px - 28px),
        calc(var(--scroll-progress) * 110px - 18px),
        0
      )
      scale(1.05);
  }
}

@keyframes boardAura {
  0%,
  100% {
    opacity: 0.62;
    transform: translateY(0);
  }
  50% {
    opacity: 1;
    transform: translateY(-6px);
  }
}

@keyframes resultFade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes resultPop {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.94);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes resultRing {
  from {
    opacity: 0.8;
    transform: scale(0.58);
  }
  to {
    opacity: 0;
    transform: scale(1.16);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}

@media (max-width: 980px) {
  .nav-links {
    display: none;
  }

  .hero-pin,
  .project-spotlight,
  .contact-section,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-pin {
    top: 66px;
    height: calc(100svh - 66px);
    min-height: 760px;
    max-height: none;
    gap: 32px;
    padding-top: 46px;
    padding-bottom: 38px;
  }

  .hero-visual {
    min-height: clamp(220px, 30svh, 300px);
    margin-top: 54px;
    border-left: 0;
    border-top: 0;
  }

  .hero h1 {
    font-size: clamp(3.55rem, 8vw, 4.45rem);
  }

  .hero-copy > p:not(.eyebrow) {
    margin-top: 20px;
    font-size: 1.1rem;
    line-height: 1.55;
  }

  .hero-rocket-path {
    left: 42%;
    bottom: clamp(54px, 8svh, 88px);
    width: clamp(180px, 30vw, 260px);
  }

  .section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .site-header {
    gap: 14px;
    padding: 14px 20px;
  }

  .site-header.is-scrolled {
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .brand span {
    display: none;
  }

  .hero-pin,
  .section,
  .project-spotlight,
  .contact-section {
    padding-top: 52px;
    padding-bottom: 54px;
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero {
    gap: 34px;
  }

  .hero-pin {
    min-height: 700px;
    gap: 22px;
  }

  .hero h1 {
    font-size: clamp(2.7rem, 13vw, 3.05rem);
    line-height: 1;
  }

  .hero-copy > p:not(.eyebrow) {
    margin-top: 22px;
    font-size: 1.05rem;
    line-height: 1.62;
  }

  .hero-cta-row,
  .hero-voronaut,
  .hero-actions {
    width: 100%;
  }

  .hero-cta-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }

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

  .voronaut-action,
  .primary-action,
  .secondary-action {
    width: 100%;
  }

  .hero-visual {
    margin-top: 4px;
    min-height: clamp(190px, 27svh, 260px);
  }

  .hero-rocket-path {
    left: 50%;
    bottom: clamp(28px, 5svh, 52px);
    width: clamp(132px, 38vw, 178px);
  }

  .section-body h2,
  .contact-section h2 {
    font-size: 2.25rem;
  }

  .motion-logo {
    width: min(100%, 330px);
  }

  .direction-copy {
    max-width: 100%;
  }

  .direction-section::after {
    inset: 14px;
    border-radius: 22px;
  }

  .direction-ring-one {
    right: -120px;
    top: 44%;
  }

  .direction-ring-three {
    right: 18%;
  }

  .direction-rocket {
    display: none;
  }

  .contact-section {
    gap: 36px;
  }

  .project-spotlight {
    gap: 34px;
  }

  .spotlight-copy h2 {
    font-size: clamp(2.25rem, 10vw, 3.1rem);
  }

  .spotlight-copy p:not(.eyebrow) {
    font-size: 1.03rem;
    line-height: 1.62;
  }

  .spotlight-visual {
    padding: 14px;
  }

  .spotlight-visual span {
    display: grid;
    align-items: start;
  }

  .spotlight-visual small {
    text-align: left;
  }

  .contact-card {
    padding: 24px 22px;
  }

  .contact-card strong {
    font-size: 1.2rem;
  }

  .app-menu {
    width: 100vw;
    padding: 20px;
  }

  .app-menu-header h2 {
    font-size: 1.65rem;
  }

  .app-card {
    grid-template-columns: 82px 1fr;
    gap: 12px;
  }

  .app-card img {
    width: 82px;
    height: 58px;
  }

  .site-footer {
    align-items: start;
    gap: 18px;
    padding: 30px 20px;
  }

  .site-footer p {
    text-align: left;
  }

  .site-footer p::after {
    margin-left: 0;
    margin-right: auto;
  }

  .footer-links {
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: flex-start;
  }

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

@media (max-width: 430px) {
  .header-actions {
    gap: 8px;
  }

  .header-version {
    display: none;
  }

  .app-menu-button,
  .login-button {
    min-height: 42px;
    padding: 0 12px;
  }

  .profile-button {
    width: 44px;
    height: 44px;
  }

  .header-profile-avatar {
    width: 34px;
    height: 34px;
  }

  .hero h1 {
    font-size: 2.65rem;
  }

  .section-body h2,
  .contact-section h2 {
    font-size: 2rem;
  }

  .motion-logo {
    width: min(100%, 292px);
  }

  .app-card {
    grid-template-columns: 1fr;
  }

  .app-card img {
    width: 100%;
    height: 96px;
  }
}

.community-report-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1800;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(9, 17, 35, 0.28);
  backdrop-filter: blur(10px);
}

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

.community-report-card {
  position: relative;
  width: min(100%, 520px);
  display: grid;
  gap: 16px;
  padding: clamp(24px, 5vw, 40px);
  border: 1px solid rgba(62, 123, 255, 0.22);
  border-radius: 26px;
  background:
    radial-gradient(circle at 10% 0%, rgba(62, 123, 255, 0.12), transparent 34%),
    radial-gradient(circle at 95% 5%, rgba(255, 30, 30, 0.10), transparent 34%),
    rgba(255, 255, 255, 0.96);
  box-shadow: 0 24px 70px rgba(17, 24, 39, 0.16);
}

.community-report-card h2 {
  margin: 0;
  font-size: clamp(2.4rem, 10vw, 4.4rem);
  line-height: 0.95;
}

.community-report-card p {
  margin: 0;
  color: #627089;
  font-weight: 800;
  line-height: 1.45;
}

.community-report-card label {
  display: grid;
  gap: 8px;
  color: #0f1115;
  font-weight: 900;
}

.community-report-card select,
.community-report-card textarea {
  width: 100%;
  border: 1px solid rgba(15, 17, 21, 0.14);
  border-radius: 16px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.9);
  color: #0f1115;
  font: inherit;
  font-weight: 800;
}

.post-report,
.comment-report {
  color: #64748b;
}

.post-report:hover,
.comment-report:hover {
  border-color: rgba(62, 123, 255, 0.35);
  color: #2f6fff;
}

.admin-reports-card {
  display: grid;
  gap: 14px;
}

.admin-report-list {
  display: grid;
  gap: 14px;
}

.admin-report-item {
  display: grid;
  gap: 10px;
  padding: 18px;
  border: 1px solid rgba(15, 17, 21, 0.1);
  border-radius: 18px;
  background:
    radial-gradient(circle at 0% 0%, rgba(62, 123, 255, 0.08), transparent 36%),
    radial-gradient(circle at 100% 0%, rgba(255, 30, 30, 0.07), transparent 34%),
    rgba(255, 255, 255, 0.92);
}

.admin-report-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.admin-report-head strong {
  font-size: 1.05rem;
}

.admin-report-head span,
.admin-report-meta,
.admin-report-details {
  color: #64748b;
  font-weight: 800;
}

.admin-report-target {
  margin: 0;
  padding: 14px 16px;
  border-left: 4px solid #3e7bff;
  border-radius: 14px;
  background: rgba(62, 123, 255, 0.08);
  color: #0f1115;
  font-weight: 850;
}

.admin-report-actions {
  display: flex;
  justify-content: flex-start;
  gap: 10px;
  flex-wrap: wrap;
}

.admin-report-open {
  min-height: 42px;
  text-decoration: none;
}

.beta-notice {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 80;
  width: min(380px, calc(100vw - 28px));
}

.beta-notice-card {
  padding: 20px;
  border: 1px solid rgba(255, 24, 24, 0.22);
  border-top: 4px solid var(--red);
  border-radius: 24px;
  background:
    radial-gradient(circle at 90% 0%, rgba(255, 24, 24, 0.12), transparent 42%),
    rgba(255, 255, 255, 0.88);
  box-shadow: 0 22px 70px rgba(18, 28, 58, 0.12);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.beta-notice-card strong {
  display: block;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 950;
}

.beta-notice-card p {
  margin: 8px 0 14px;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.45;
}

.beta-notice-card button {
  min-height: 42px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: var(--red);
  box-shadow: 0 14px 34px rgba(255, 24, 24, 0.22);
  font: inherit;
  font-weight: 950;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.beta-notice-card button:hover,
.beta-notice-card button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 18px 42px rgba(255, 24, 24, 0.28);
  outline: none;
}

@media (max-width: 680px) {
  .beta-notice {
    right: 14px;
    bottom: 14px;
  }
}

/* Beta 1.24.4: soft UI pass for Voron and admin pages. */
body *,
body *::before,
body *::after {
  box-shadow: none !important;
}

.site-header,
.app-menu,
.beta-notice-card,
.hero-visual,
.motion-logo-card,
.app-card,
.contact-card,
.footer-inner,
.modal,
.confirm-dialog,
.admin-shell,
.admin-sidebar,
.admin-card,
.admin-stat-card,
.admin-user-card,
.admin-traffic-card,
.admin-traffic-chart-card,
.admin-source-row,
.admin-panel,
.admin-table,
.admin-tab,
.admin-search,
.admin-form,
.admin-modal-card {
  border-color: rgba(17, 17, 17, 0.1) !important;
}

.app-menu-button,
.primary-action,
.secondary-action,
.voronaut-action,
.login-button,
.confirm-actions .secondary-button,
.admin-primary-button,
.admin-secondary-button,
.admin-tab,
.beta-notice-card button {
  border-color: rgba(17, 17, 17, 0.12) !important;
}

.primary-action,
.login-button,
.admin-primary-button,
.beta-notice-card button {
  border-color: rgba(255, 16, 16, 0.22) !important;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent 38%),
    linear-gradient(135deg, #ff1616, #f23636) !important;
  color: #fff !important;
}

.secondary-action,
.app-menu-button,
.confirm-actions .secondary-button,
.admin-secondary-button,
.admin-tab {
  background: rgba(255, 255, 255, 0.88) !important;
  color: var(--ink) !important;
}

.voronaut-action {
  border-color: rgba(17, 17, 17, 0.86) !important;
  background: var(--ink) !important;
  color: #fff !important;
}

.app-menu-button:hover,
.primary-action:hover,
.secondary-action:hover,
.voronaut-action:hover,
.login-button:hover,
.confirm-actions .secondary-button:hover,
.admin-primary-button:hover,
.admin-secondary-button:hover,
.admin-tab:hover,
.admin-tab:focus-visible {
  transform: translateY(-1px);
  outline: 3px solid rgba(62, 123, 255, 0.14);
}

/* Beta 1.40.8: cleaner mobile admin console. */
@media (max-width: 860px) {
  .admin-page {
    overflow-x: hidden;
    background-size: auto, auto, 42px 42px, 42px 42px, auto;
  }

  .admin-console {
    display: block;
    min-height: 100dvh;
  }

  .admin-sidebar {
    position: sticky;
    top: 0;
    z-index: 40;
    height: auto;
    padding: 14px 14px 10px;
    border-right: 0;
    border-bottom: 1px solid rgba(17, 17, 17, 0.1);
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(18px);
  }

  .admin-logo {
    justify-content: center;
    padding: 0 6px 12px;
  }

  .admin-logo img {
    width: 36px;
    height: 36px;
  }

  .admin-tabs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 0 2px 6px;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }

  .admin-tabs::-webkit-scrollbar {
    display: none;
  }

  .admin-tab {
    flex: 0 0 auto;
    width: auto;
    min-height: 44px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9) !important;
    color: #52627a !important;
    scroll-snap-align: start;
    white-space: nowrap;
  }

  .admin-tab.active {
    border-color: rgba(64, 121, 255, 0.24) !important;
    background: linear-gradient(135deg, #4079ff, #9fc4ff) !important;
    color: white !important;
  }

  .admin-tab-icon {
    width: 28px;
    height: 28px;
    background: rgba(64, 121, 255, 0.1);
  }

  .admin-tab.active .admin-tab-icon {
    background: rgba(255, 255, 255, 0.2);
  }

  .admin-workspace {
    padding: 24px 14px 34px;
  }

  .admin-topline {
    display: grid;
    gap: 14px;
    margin-bottom: 18px;
  }

  .admin-topline h1 {
    font-size: clamp(2.7rem, 14vw, 4.6rem);
    letter-spacing: -0.02em;
  }

  .admin-topline p {
    margin: 8px 0 0;
  }

  .admin-top-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    justify-content: stretch;
  }

  .admin-toggle,
  .admin-add-button,
  .admin-secondary-button {
    width: 100%;
    justify-content: center;
    min-height: 46px;
    border-radius: 12px;
  }

  .admin-table-card,
  .admin-feedback-inbox,
  .admin-feedback-detail,
  .admin-email-card,
  .admin-email-history,
  .admin-traffic-card,
  .admin-traffic-chart-card {
    border-radius: 18px;
    background:
      radial-gradient(circle at 100% 0%, rgba(64, 121, 255, 0.08), transparent 32%),
      rgba(255, 255, 255, 0.92);
  }

  .admin-table-head {
    display: none;
  }

  .admin-code-row,
  .admin-user-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 11px;
    min-height: 0;
    padding: 16px;
  }

  .admin-code-row + .admin-code-row,
  .admin-user-row + .admin-user-row {
    border-top: 1px solid rgba(17, 17, 17, 0.06);
  }

  .admin-code-row > strong,
  .admin-code-row > code,
  .admin-code-row > span,
  .admin-user-row > strong,
  .admin-user-row > code,
  .admin-user-row > span {
    display: grid;
    gap: 4px;
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .admin-code-row > strong::before,
  .admin-code-row > code::before,
  .admin-code-row > span::before,
  .admin-user-row > strong::before,
  .admin-user-row > code::before,
  .admin-user-row > span::before {
    color: #6a7688;
    font-size: 0.72rem;
    font-weight: 950;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .admin-code-row > strong::before {
    content: "Title";
  }

  .admin-code-row > code::before {
    content: "Code";
  }

  .admin-code-row > span[data-limit]::before {
    content: "Uses";
  }

  .admin-code-row > span:not([data-limit])::before {
    content: "Expires";
  }

  .admin-user-row > strong::before {
    content: "User";
  }

  .admin-user-row > code::before {
    content: "Username";
  }

  .admin-user-row > .admin-user-email::before {
    content: "Email";
  }

  .admin-user-row > .admin-user-status::before {
    content: "Status";
  }

  .admin-user-row > span:not(.admin-user-email):not(.admin-user-status)::before {
    content: "Joined";
  }

  .admin-user-status {
    width: 100%;
    border-radius: 12px;
    background: rgba(64, 121, 255, 0.08);
  }

  .admin-row-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 2px;
  }

  .admin-row-actions button {
    width: 100%;
    min-height: 42px;
    border-radius: 12px;
  }

  .admin-feedback-shell {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .admin-feedback-inbox,
  .admin-feedback-detail,
  .admin-email-card {
    min-height: 0;
    padding: 16px;
  }

  .admin-feedback-item {
    grid-template-columns: 1fr;
    border-radius: 14px;
  }

  .admin-feedback-detail h2 {
    max-width: calc(100% - 48px);
    font-size: clamp(2rem, 10vw, 3.2rem);
  }

  .admin-email-card textarea {
    min-height: 170px;
  }

  .admin-email-history {
    padding: 16px;
  }

  .admin-email-history-head {
    display: grid;
    gap: 10px;
  }

  .admin-email-image-preview {
    align-items: stretch;
    flex-direction: column;
    border-radius: 14px;
  }

  .admin-email-image-preview img {
    width: 100%;
    height: 150px;
  }

  .admin-traffic-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .admin-traffic-card {
    padding: 18px;
  }

  .admin-traffic-card strong {
    font-size: clamp(3rem, 18vw, 4.4rem);
  }

  .admin-traffic-chart-card {
    padding: 16px;
  }

  .admin-traffic-chart svg {
    width: max(660px, 100%);
  }

  .admin-modal-backdrop {
    align-items: start;
    justify-items: center;
    overflow: auto;
    padding: 12px;
  }

  .admin-modal {
    width: min(100%, 560px);
    max-height: calc(100dvh - 24px);
    overflow: auto;
    margin: 0;
    padding: 26px 18px 18px;
    border-radius: 18px;
  }

  .admin-modal h2 {
    padding-right: 42px;
    font-size: clamp(2.5rem, 13vw, 4.5rem);
  }

  .admin-modal-close {
    top: 12px;
    right: 12px;
  }

  .admin-confirm-actions {
    grid-template-columns: 1fr;
  }

  .admin-user-delete-modal p {
    font-size: 0.95rem;
  }
}

@media (max-width: 430px) {
  .admin-sidebar {
    padding-inline: 10px;
  }

  .admin-logo span {
    font-size: 0.95rem;
  }

  .admin-tab {
    min-height: 42px;
    padding-inline: 12px;
    font-size: 0.92rem;
  }

  .admin-workspace {
    padding-inline: 10px;
  }

  .admin-topline h1 {
    font-size: clamp(2.4rem, 16vw, 3.8rem);
  }

  .admin-code-row,
  .admin-user-row,
  .admin-email-card,
  .admin-email-history,
  .admin-feedback-inbox,
  .admin-feedback-detail,
  .admin-traffic-card,
  .admin-traffic-chart-card {
    padding: 14px;
  }
}
