:root {
  color-scheme: dark;
  --bg: #0d1115;
  --panel: #171d23;
  --panel-2: #20272e;
  --line: #33424d;
  --text: #f2f5f4;
  --muted: #afbdc3;
  --teal: #5bd1ba;
  --amber: #edbd55;
  --rose: #e77973;
  --blue: #83b7e8;
  --green-soft: #d9ead8;
  --ink: #090d10;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px clamp(18px, 4vw, 48px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(13, 17, 21, 0.82);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-weight: 800;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(91, 209, 186, 0.55);
  border-radius: 8px;
  background: rgba(91, 209, 186, 0.12);
  color: var(--teal);
  font-size: 0.78rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  color: var(--muted);
  font-size: 0.92rem;
}

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

.header-cta,
.primary-link,
.secondary-link,
.danger-link,
.auth-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 0;
  border-radius: 8px;
  padding: 0 18px;
  cursor: pointer;
  font-weight: 800;
}

.header-cta,
.primary-link,
.auth-button {
  background: var(--amber);
  color: #17110a;
}

.secondary-link,
.auth-button.ghost {
  border: 1px solid rgba(175, 189, 195, 0.35);
  background: transparent;
  color: var(--text);
}

.danger-link {
  border: 1px solid rgba(231, 121, 115, 0.55);
  background: rgba(231, 121, 115, 0.14);
  color: #ffb5b0;
}

.danger-link:hover {
  border-color: rgba(231, 121, 115, 0.9);
  background: rgba(231, 121, 115, 0.22);
}

.auth-nav {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.account-chip {
  max-width: 210px;
  overflow: hidden;
  border: 1px solid rgba(91, 209, 186, 0.36);
  border-radius: 999px;
  padding: 9px 11px;
  color: var(--teal);
  font-size: 0.84rem;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: 92vh;
  padding: 92px clamp(18px, 5vw, 70px) 72px;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.launch-counter {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(220px, auto) minmax(180px, 1fr) auto;
  align-items: center;
  gap: 18px;
  width: min(1180px, calc(100% - 36px));
  margin: 88px auto -58px;
  border: 1px solid rgba(237, 189, 85, 0.4);
  border-radius: 8px;
  padding: 14px 16px;
  background: rgba(23, 29, 35, 0.92);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(14px);
}

.launch-counter strong {
  display: block;
  margin-top: 3px;
  font-size: 1.05rem;
}

.launch-counter p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  text-align: right;
}

.launch-counter p strong {
  display: inline;
  color: var(--amber);
  font-size: inherit;
}

.counter-track {
  height: 12px;
  overflow: hidden;
  border: 1px solid rgba(237, 189, 85, 0.35);
  border-radius: 999px;
  background: #0f1418;
}

.counter-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--amber);
}

.hero-visual {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 92px clamp(18px, 5vw, 70px) 58px;
  opacity: 0.64;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(13, 17, 21, 0.95) 0%, rgba(13, 17, 21, 0.64) 42%, rgba(13, 17, 21, 0.18) 100%),
    linear-gradient(0deg, rgba(13, 17, 21, 0.96) 0%, rgba(13, 17, 21, 0.16) 48%, rgba(13, 17, 21, 0.72) 100%);
}

.app-frame {
  width: min(1180px, 96vw);
  min-height: 620px;
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr) 320px;
  border: 1px solid rgba(175, 189, 195, 0.22);
  border-radius: 8px;
  overflow: hidden;
  background: #13181d;
  box-shadow: 0 40px 110px rgba(0, 0, 0, 0.55);
  transform: perspective(1200px) rotateX(2deg) rotateY(-5deg) translateX(12%);
}

.app-left,
.app-main,
.app-archive {
  min-width: 0;
  padding: 18px;
}

.app-left {
  display: grid;
  align-content: start;
  gap: 10px;
  border-right: 1px solid rgba(175, 189, 195, 0.16);
}

.menu-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--teal);
}

.menu-dot.amber {
  background: var(--amber);
}

.menu-dot.rose {
  background: var(--rose);
}

.mini-nav {
  border: 1px solid rgba(175, 189, 195, 0.22);
  border-radius: 8px;
  padding: 12px;
  color: var(--muted);
}

.mini-nav.active {
  border-color: rgba(91, 209, 186, 0.62);
  background: rgba(91, 209, 186, 0.12);
  color: var(--teal);
}

.app-main {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 22px;
  border-right: 1px solid rgba(175, 189, 195, 0.16);
}

.top-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(175, 189, 195, 0.16);
}

.top-strip strong {
  display: block;
  margin-top: 7px;
  font-size: 1.45rem;
}

.small-label,
.eyebrow {
  color: var(--teal);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.model-chip {
  border: 1px solid rgba(237, 189, 85, 0.46);
  border-radius: 999px;
  padding: 8px 12px;
  color: var(--amber);
  white-space: nowrap;
}

.chat-stream {
  display: grid;
  align-content: end;
  gap: 14px;
}

.bubble {
  max-width: 690px;
  border: 1px solid rgba(175, 189, 195, 0.2);
  border-radius: 8px;
  padding: 16px;
  background: var(--panel-2);
  line-height: 1.45;
}

.bubble.player {
  justify-self: end;
  border-color: rgba(91, 209, 186, 0.42);
  background: rgba(91, 209, 186, 0.12);
}

.bubble.compact {
  width: fit-content;
  color: var(--amber);
}

.app-archive {
  display: grid;
  align-content: start;
  gap: 14px;
}

.archive-card {
  display: grid;
  gap: 7px;
  border: 1px solid rgba(175, 189, 195, 0.22);
  border-radius: 8px;
  padding: 14px;
  background: #11161a;
}

.archive-card span {
  color: var(--muted);
  font-size: 0.82rem;
}

.archive-card.active {
  border-color: rgba(91, 209, 186, 0.76);
  box-shadow: inset 0 0 0 1px rgba(91, 209, 186, 0.2);
}

.archive-card.map {
  border-color: rgba(131, 183, 232, 0.46);
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(760px, 100%);
}

.hero-copy h1 {
  margin: 8px 0 18px;
  font-size: clamp(3rem, 8vw, 7.4rem);
  line-height: 0.92;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 680px;
  color: var(--green-soft);
  font-size: clamp(1.08rem, 2vw, 1.42rem);
  line-height: 1.48;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.section {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(58px, 9vw, 112px) 0;
}

.demo-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(360px, 1.15fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: start;
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(58px, 8vw, 92px) 0;
}

.demo-copy h2 {
  margin: 8px 0 14px;
  font-size: clamp(2rem, 4.5vw, 3.7rem);
  line-height: 1;
}

.demo-copy p {
  color: var(--muted);
  line-height: 1.6;
}

.demo-box {
  display: grid;
  gap: 12px;
  border: 1px solid rgba(175, 189, 195, 0.22);
  border-radius: 8px;
  padding: 18px;
  background: var(--panel);
}

.demo-box label {
  color: var(--muted);
  font-size: 0.84rem;
}

.demo-box textarea {
  width: 100%;
  min-height: 116px;
  resize: vertical;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #0f1418;
  color: var(--text);
  outline: none;
}

.demo-box textarea:focus {
  border-color: var(--teal);
}

.demo-box button {
  justify-self: start;
  min-height: 42px;
  border: 0;
  border-radius: 8px;
  padding: 0 16px;
  background: var(--amber);
  color: #17110a;
  cursor: pointer;
  font-weight: 900;
}

.demo-output {
  display: grid;
  gap: 10px;
}

.demo-output article {
  display: grid;
  gap: 5px;
  border: 1px solid rgba(91, 209, 186, 0.22);
  border-radius: 8px;
  padding: 12px;
  background: #10161a;
}

.demo-output span {
  color: var(--teal);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.demo-output strong {
  line-height: 1.35;
}

.section-heading {
  max-width: 820px;
}

.section h2 {
  margin: 8px 0 14px;
  font-size: clamp(2rem, 4.8vw, 4rem);
  line-height: 1;
}

.section p {
  color: var(--muted);
  line-height: 1.6;
}

.process-grid,
.feature-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.process-grid article,
.feature-list article,
.buy-box,
.license-panel,
.faq-section details,
.metric {
  border: 1px solid rgba(175, 189, 195, 0.22);
  border-radius: 8px;
  background: var(--panel);
}

.process-grid article,
.feature-list article {
  padding: 18px;
}

.step {
  color: var(--amber);
  font-weight: 900;
}

h3 {
  margin: 12px 0 8px;
  font-size: 1.16rem;
}

.feature-band {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: start;
}

.feature-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 0;
}

.proof-section {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding-top: 12px;
}

.community-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.community-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.metric {
  padding: 22px;
}

.metric strong {
  display: block;
  color: var(--amber);
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1;
}

.metric span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
}

.license-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.7fr);
  gap: 18px;
  margin-top: 30px;
  padding: 24px;
}

ol {
  margin: 16px 0 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.75;
}

.license-code {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  border: 1px solid rgba(91, 209, 186, 0.36);
  border-radius: 8px;
  padding: 20px;
  background: #10161a;
  text-align: center;
}

.license-code span {
  color: var(--teal);
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  font-weight: 900;
}

.license-code small,
.buy-box small {
  color: var(--muted);
}

.buy-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
}

.buy-box {
  padding: 24px;
}

.primary-link.full {
  width: 100%;
  margin: 12px 0 10px;
}

.faq-section {
  display: grid;
  gap: 12px;
}

.faq-section details {
  padding: 18px 20px;
}

.faq-section summary {
  cursor: pointer;
  font-weight: 800;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 5vw, 70px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
}

.site-footer a {
  color: var(--teal);
  font-weight: 800;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-end;
}

.legal-hero h1 {
  max-width: 760px;
}

.legal-layout {
  width: min(960px, calc(100% - 36px));
  margin: 0 auto;
  padding-bottom: 84px;
}

.legal-card {
  display: grid;
  gap: 14px;
  border: 1px solid rgba(175, 189, 195, 0.22);
  border-radius: 8px;
  padding: clamp(22px, 4vw, 34px);
  background: var(--panel);
}

.legal-card h2 {
  margin: 12px 0 0;
  font-size: 1.25rem;
}

.legal-card h2:first-child {
  margin-top: 0;
}

.legal-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.legal-card a,
.pricing-card a {
  color: var(--teal);
  font-weight: 800;
}

.auth-overlay {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(5, 8, 10, 0.72);
  backdrop-filter: blur(10px);
}

.auth-modal {
  display: grid;
  gap: 16px;
  width: min(460px, 100%);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
  background: #151b20;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.48);
}

.auth-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
}

.auth-header h2 {
  margin: 6px 0 0;
}

.auth-close {
  width: 38px;
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  font-weight: 900;
}

.auth-form {
  display: grid;
  gap: 12px;
}

.auth-form label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 0.84rem;
}

.auth-form input {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 11px;
  background: #0f1418;
  color: var(--text);
  outline: none;
}

.auth-form input:focus {
  border-color: var(--teal);
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.auth-status {
  min-height: 20px;
  color: var(--rose);
  font-size: 0.82rem;
}

.auth-switch {
  justify-self: start;
  border: 0;
  background: transparent;
  color: var(--teal);
  cursor: pointer;
  font-weight: 800;
}

.modal-copy {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.confirm-label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.84rem;
}

.confirm-label input {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 11px;
  background: #0f1418;
  color: var(--text);
  outline: none;
}

.confirm-label input:focus {
  border-color: var(--rose);
}

.danger-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.locked-panel {
  width: min(820px, calc(100% - 36px));
  margin: 0 auto;
  border: 1px solid rgba(237, 189, 85, 0.38);
  border-radius: 8px;
  padding: 26px;
  background: var(--panel);
}

.locked-panel h2 {
  margin: 8px 0 12px;
  font-size: clamp(1.8rem, 4vw, 3.4rem);
  line-height: 1;
}

.locked-panel p {
  color: var(--muted);
  line-height: 1.55;
}

.page-main {
  min-height: 100vh;
  padding-top: 84px;
}

.page-hero {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(58px, 9vw, 112px) 0 clamp(32px, 6vw, 72px);
}

.page-hero h1 {
  max-width: 900px;
  margin: 8px 0 18px;
  font-size: clamp(3rem, 7vw, 6.4rem);
  line-height: 0.94;
}

.page-hero p {
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  line-height: 1.55;
}

.forum-layout,
.pricing-grid {
  display: grid;
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  gap: 14px;
}

.forum-layout {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.release-grid {
  display: grid;
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  gap: 14px;
}

.forum-category,
.pricing-card,
.forum-note,
.release-card {
  border: 1px solid rgba(175, 189, 195, 0.22);
  border-radius: 8px;
  background: var(--panel);
}

.forum-category {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
  padding: 20px;
}

.forum-category h2,
.pricing-card h2 {
  margin: 8px 0 8px;
  font-size: 1.45rem;
}

.forum-category p,
.pricing-card p,
.forum-note p {
  color: var(--muted);
  line-height: 1.55;
}

.forum-count {
  flex: 0 0 auto;
  border: 1px solid rgba(91, 209, 186, 0.38);
  border-radius: 999px;
  padding: 6px 9px;
  color: var(--teal);
  font-size: 0.74rem;
  font-weight: 900;
}

.release-card {
  display: grid;
  gap: 14px;
  padding: 22px;
}

.release-card-head,
.release-actions,
.release-meta {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 14px;
}

.release-card h2 {
  margin: 7px 0 0;
  font-size: 1.55rem;
}

.release-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.release-card ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.45;
}

.release-meta {
  align-items: center;
  border-top: 1px solid rgba(175, 189, 195, 0.14);
  padding-top: 12px;
  color: var(--muted);
}

.release-meta code {
  max-width: min(680px, 100%);
  overflow-wrap: anywhere;
  border: 1px solid rgba(91, 209, 186, 0.28);
  border-radius: 8px;
  padding: 9px;
  background: #0f1418;
  color: var(--teal);
  font-size: 0.75rem;
}

.release-actions {
  justify-content: flex-start;
  flex-wrap: wrap;
}

.forum-note {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  padding: 24px;
}

.pricing-hero {
  text-align: center;
}

.pricing-hero p {
  margin-left: auto;
  margin-right: auto;
}

.pricing-grid {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: stretch;
}

.download-gate,
.download-layout {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.download-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 14px;
  padding-bottom: 80px;
}

.download-card {
  display: grid;
  align-content: start;
  gap: 12px;
  border: 1px solid rgba(175, 189, 195, 0.22);
  border-radius: 8px;
  padding: 22px;
  background: var(--panel);
}

.license-self-service {
  gap: 14px;
}

.license-self-service .primary-link,
.license-self-service .secondary-link {
  min-height: 44px;
}

.download-card.featured {
  border-color: rgba(237, 189, 85, 0.52);
  box-shadow: inset 0 0 0 1px rgba(237, 189, 85, 0.18), 0 24px 60px rgba(0, 0, 0, 0.24);
}

.download-card h2 {
  margin: 0;
  font-size: 1.55rem;
}

.download-card p,
.download-card small {
  color: var(--muted);
  line-height: 1.55;
}

.support-note {
  border-top: 1px solid rgba(175, 189, 195, 0.14);
  padding-top: 10px;
}

.support-note a {
  color: var(--teal);
  font-weight: 800;
}

.download-card code {
  overflow-wrap: anywhere;
  border: 1px solid rgba(91, 209, 186, 0.28);
  border-radius: 8px;
  padding: 11px;
  background: #0f1418;
  color: var(--teal);
  font-size: 0.78rem;
}

.license-self-service label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.84rem;
}

.license-self-service label span {
  color: var(--muted);
  font-weight: 700;
}

.license-self-service input,
.license-self-service textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #0f1418;
  color: var(--text);
  outline: none;
}

.license-self-service input {
  min-height: 44px;
  font-size: 0.94rem;
}

.license-self-service textarea {
  min-height: 132px;
  resize: vertical;
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  font-size: 0.82rem;
  line-height: 1.45;
}

.license-self-service input:focus,
.license-self-service textarea:focus {
  border-color: var(--teal);
}

.license-list {
  display: grid;
  gap: 8px;
}

.release-notes-card {
  grid-column: 1 / -1;
}

.license-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 1px solid rgba(175, 189, 195, 0.2);
  border-radius: 8px;
  padding: 10px;
  background: #10161a;
}

.license-row strong,
.license-row span {
  display: block;
}

.license-row strong {
  overflow-wrap: anywhere;
}

.license-row span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.78rem;
}

.license-row.revoked {
  opacity: 0.62;
}

[data-download-placeholder] {
  pointer-events: none;
  opacity: 0.72;
}

.pricing-card {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 24px;
}

.pricing-card.featured {
  border-color: rgba(237, 189, 85, 0.52);
  box-shadow: inset 0 0 0 1px rgba(237, 189, 85, 0.18), 0 24px 60px rgba(0, 0, 0, 0.24);
}

.price {
  color: var(--amber);
  font-size: clamp(3rem, 7vw, 5.6rem);
  font-weight: 900;
  line-height: 0.95;
}

.pricing-card ul {
  display: grid;
  gap: 9px;
  margin: 10px 0;
  padding-left: 20px;
  color: var(--muted);
}

.pricing-card small {
  color: var(--muted);
}

.secondary-link.full {
  width: 100%;
}

.admin-panel {
  display: grid;
  gap: 16px;
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding-bottom: 80px;
}

.admin-main {
  padding-top: 88px;
}

.admin-header-panel {
  display: grid;
  grid-template-columns: minmax(180px, auto) minmax(0, 1fr);
  align-items: end;
  gap: 18px;
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 24px 0 18px;
}

.admin-header-panel h1 {
  margin: 5px 0 0;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1;
}

.admin-header-panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.admin-toolbar,
.admin-actions,
.license-tool {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.admin-toolbar input,
.admin-actions input,
.admin-actions select,
.license-tool input {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 11px;
  background: #0f1418;
  color: var(--text);
  outline: none;
}

.admin-toolbar input:focus,
.admin-actions input:focus,
.admin-actions select:focus,
.license-tool input:focus,
.license-output:focus {
  border-color: var(--teal);
}

.admin-toolbar input {
  flex: 1 1 280px;
}

.admin-actions input,
.license-tool input {
  flex: 1 1 180px;
}

.admin-actions select {
  flex: 0 0 130px;
}

.admin-status {
  color: var(--muted);
}

.admin-users {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
}

.admin-user {
  display: grid;
  gap: 14px;
  border: 1px solid rgba(175, 189, 195, 0.22);
  border-radius: 8px;
  padding: 18px;
  background: var(--panel);
}

.admin-user-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

.admin-badges {
  display: flex;
  flex: 0 0 auto;
  align-items: start;
  gap: 8px;
}

.danger-compact {
  min-height: 32px;
  border-radius: 8px;
  padding: 0 10px;
  font-size: 0.78rem;
  color: #ffd0cc;
}

.admin-user h2 {
  margin: 7px 0 5px;
  font-size: 1.25rem;
}

.admin-user p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  overflow-wrap: anywhere;
}

.license-output {
  width: 100%;
  min-height: 86px;
  resize: vertical;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #0f1418;
  color: var(--text);
  outline: none;
}

.admin-notes {
  width: 100%;
  min-height: 78px;
  resize: vertical;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #0f1418;
  color: var(--text);
  outline: none;
  line-height: 1.45;
}

.admin-notes:focus {
  border-color: var(--teal);
}

.admin-license-history {
  border-top: 1px solid rgba(175, 189, 195, 0.16);
  padding-top: 10px;
}

.admin-license-history summary {
  cursor: pointer;
  color: var(--teal);
  font-weight: 900;
}

.admin-license-list {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.admin-license-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  border: 1px solid rgba(175, 189, 195, 0.18);
  border-radius: 8px;
  padding: 10px;
  background: #10161a;
}

.admin-license-row strong,
.admin-license-row span {
  display: block;
  overflow-wrap: anywhere;
}

.admin-license-row span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.78rem;
}

.admin-license-row.revoked {
  opacity: 0.58;
}

.compact-button {
  min-height: 34px;
  padding: 0 12px;
  font-size: 0.8rem;
}

.muted-note {
  margin: 10px 0 0;
  color: var(--muted);
}

@media (max-width: 760px) {
  .admin-header-panel {
    grid-template-columns: 1fr;
  }

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

button.primary-link,
button.secondary-link,
button.danger-link {
  font: inherit;
}

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

  .hero {
    min-height: 86vh;
    padding-bottom: 54px;
  }

  .hero-visual {
    opacity: 0.48;
  }

  .app-frame {
    grid-template-columns: 1fr;
    min-height: 560px;
    transform: translateX(10%) scale(0.92);
  }

  .app-left,
  .app-archive {
    display: none;
  }

  .process-grid,
  .demo-section,
  .community-section,
  .forum-layout,
  .forum-note,
  .download-layout,
  .pricing-grid,
  .feature-band,
  .proof-section,
  .license-panel,
  .buy-section {
    grid-template-columns: 1fr;
  }

  .community-actions {
    justify-content: flex-start;
  }

  .launch-counter {
    grid-template-columns: 1fr;
    margin-top: 76px;
    margin-bottom: -46px;
  }

  .launch-counter p {
    text-align: left;
  }
}

@media (max-width: 620px) {
  .site-header {
    padding: 12px 14px;
  }

  .brand span:last-child {
    display: none;
  }

  .header-cta {
    min-height: 38px;
    padding: 0 12px;
  }

  .auth-nav {
    gap: 6px;
  }

  .auth-button {
    min-height: 38px;
    padding: 0 10px;
    font-size: 0.82rem;
  }

  .account-chip {
    max-width: 120px;
  }

  .hero {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero-actions,
  .primary-link,
  .secondary-link {
    width: 100%;
  }

  .feature-list,
  .process-grid {
    grid-template-columns: 1fr;
  }
}
