:root {
  color: #eef5f1;
  background: #07090b;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  color-scheme: dark;
  --bg: #07090b;
  --panel: #101418;
  --panel-strong: #151b20;
  --panel-soft: #1b2228;
  --line: #263139;
  --line-strong: #394852;
  --text: #eef5f1;
  --muted: #a8b3ad;
  --soft: #7d8a84;
  --green: #65f29d;
  --green-strong: #26c46f;
  --cyan: #54d6ff;
  --amber: #ffbf5f;
  --red: #ff6475;
  --shadow: rgba(0, 0, 0, 0.34);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

.anchor-target {
  scroll-margin-top: 86px;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background:
    linear-gradient(180deg, rgba(84, 214, 255, 0.06), transparent 520px),
    repeating-linear-gradient(90deg, rgba(101, 242, 157, 0.035) 0, rgba(101, 242, 157, 0.035) 1px, transparent 1px, transparent 84px),
    var(--bg);
}

a {
  color: inherit;
}

button,
input,
select {
  font: inherit;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 72px;
  padding: 0 32px;
  background: rgba(7, 9, 11, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand,
.actions,
.account-actions,
.trust-row,
.top-actions {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  min-width: max-content;
  color: var(--text);
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  width: 26px;
  height: 26px;
  border: 1px solid var(--green);
  background:
    linear-gradient(90deg, transparent 44%, var(--green) 44%, var(--green) 56%, transparent 56%),
    linear-gradient(0deg, transparent 44%, var(--green) 44%, var(--green) 56%, transparent 56%);
  box-shadow: 0 0 18px rgba(101, 242, 157, 0.32);
}

.footer a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

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

.nav-button {
  min-width: max-content;
  padding: 10px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  color: var(--text);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  background: var(--panel);
}

.account-actions {
  min-width: max-content;
  margin-left: auto;
  gap: 8px;
}

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

.nav-button.create-account {
  border-color: var(--green);
  color: #061109;
  background: var(--green);
}

.nav-button.create-account:hover {
  background: #8af7b2;
}

.language-switcher {
  display: inline-flex;
  gap: 6px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(16, 20, 24, 0.72);
}

.language-switcher button {
  min-height: 32px;
  padding: 0 10px;
  border: 0;
  border-radius: 6px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-size: 12px;
  font-weight: 900;
}

.language-switcher button.is-active {
  color: #061109;
  background: var(--green);
}

main,
.footer {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  min-height: calc(100vh - 130px);
  padding: 74px 0 42px;
  align-items: center;
}

.shell-grid,
.split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(330px, 0.9fr);
  gap: 42px;
}

.hero-copy,
.section-heading,
.login-preview,
.download-card,
.release-box,
.checkout-panel,
.checkout-fields {
  display: grid;
  gap: 16px;
}

.eyebrow {
  margin: 0;
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--text);
  font-size: clamp(48px, 9vw, 94px);
  line-height: 0.95;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

h2 {
  margin-bottom: 0;
  color: var(--text);
  font-size: 36px;
  line-height: 1.08;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

h3 {
  margin-bottom: 0;
  color: var(--text);
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

p,
li {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.58;
  overflow-wrap: anywhere;
}

.lead {
  max-width: 660px;
  margin-bottom: 0;
  color: #d4ddd8;
  font-size: 21px;
}

.actions {
  gap: 12px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 900;
  text-decoration: none;
}

.button.primary {
  color: #061109;
  background: var(--green);
  box-shadow: 0 0 24px rgba(101, 242, 157, 0.2);
}

.button.primary:hover {
  background: #7cffb0;
}

.button.secondary {
  color: var(--text);
  background: var(--panel-soft);
  border-color: var(--line-strong);
}

.button.full {
  width: 100%;
}

.trust-row {
  gap: 10px;
  flex-wrap: wrap;
}

.trust-row span {
  padding: 7px 10px;
  border: 1px solid var(--line);
  color: var(--muted);
  background: rgba(16, 20, 24, 0.72);
  font-size: 13px;
  font-weight: 800;
}

.console-visual,
.plan-card,
.login-preview,
.download-card,
.proof-strip,
.release-box,
.checkout-panel,
.support-card,
.dashboard-section {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(27, 34, 40, 0.94), rgba(12, 15, 18, 0.94));
  box-shadow: 0 22px 60px var(--shadow);
}

.console-visual {
  overflow: hidden;
}

.console-top {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.console-top strong {
  color: var(--green);
}

.scanline {
  height: 5px;
  background: linear-gradient(90deg, var(--green), var(--cyan), var(--amber));
}

.console-body {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 18px;
}

.status-chip {
  min-height: 38px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid var(--line);
  color: var(--cyan);
  background: #0b1114;
  font-size: 13px;
  font-weight: 900;
}

.status-chip.success {
  color: var(--green);
}

.metric {
  min-height: 106px;
  display: grid;
  align-content: end;
  gap: 8px;
  padding: 14px;
  border: 1px solid var(--line);
  background: #0d1114;
}

.metric span {
  color: var(--soft);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.metric strong {
  color: var(--text);
  font-size: 34px;
  line-height: 1;
}

.terminal-lines {
  grid-column: 1 / -1;
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid var(--line);
  background: #07090b;
  color: var(--green);
  font-family: Consolas, "Courier New", monospace;
  font-size: 13px;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-bottom: 42px;
}

.proof-strip div {
  display: grid;
  gap: 4px;
  min-height: 94px;
  align-content: center;
  padding: 18px;
  border-right: 1px solid var(--line);
}

.proof-strip div:last-child {
  border-right: 0;
}

.proof-strip strong {
  color: var(--text);
  font-size: 18px;
}

.proof-strip span {
  color: var(--muted);
  font-size: 14px;
}

.section {
  padding: 54px 0;
  border-top: 1px solid var(--line);
}

main,
section,
article,
.plan-card,
.page-header,
.section-heading,
.hero-copy,
.login-preview,
.download-card,
.release-box {
  min-width: 0;
  max-width: 100%;
}

.section-heading {
  max-width: 790px;
  margin-bottom: 24px;
}

.plans,
.steps,
.support-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

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

.plan-card,
.steps article,
.support-card {
  min-height: 220px;
  padding: 22px;
}

.plan-card {
  display: grid;
  gap: 18px;
  align-content: start;
}

.plan-card.featured {
  border-color: rgba(101, 242, 157, 0.8);
  background:
    linear-gradient(180deg, rgba(38, 196, 111, 0.16), rgba(12, 15, 18, 0.94));
}

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

.plan-badge,
.panel-label,
.badge {
  display: inline-flex;
  align-items: center;
  width: max-content;
  min-height: 26px;
  padding: 0 9px;
  border: 1px solid rgba(101, 242, 157, 0.34);
  color: var(--green);
  background: rgba(101, 242, 157, 0.08);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.plan-badge.neutral {
  border-color: rgba(84, 214, 255, 0.34);
  color: var(--cyan);
  background: rgba(84, 214, 255, 0.08);
}

.plan-badge.value {
  border-color: rgba(255, 191, 95, 0.42);
  color: var(--amber);
  background: rgba(255, 191, 95, 0.08);
}

.price-row {
  display: flex;
  align-items: end;
  gap: 12px;
}

.price-row strong {
  color: var(--text);
  font-size: 42px;
  line-height: 1;
}

.price-row span {
  padding-bottom: 5px;
  color: var(--muted);
  font-weight: 900;
}

.saving {
  margin: -8px 0 0;
  color: var(--green);
  font-size: 14px;
  font-weight: 800;
}

.feature-list,
.check-list {
  display: grid;
  gap: 9px;
  margin: 0;
  padding-left: 18px;
}

.feature-list li,
.check-list li {
  color: var(--muted);
}

.checkout-alert {
  display: none;
  margin-bottom: 16px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 191, 95, 0.44);
  color: #ffe3ba;
  background: rgba(255, 191, 95, 0.09);
  font-weight: 800;
}

.checkout-alert.is-visible {
  display: block;
}

.checkout-email {
  display: grid;
  grid-template-columns: minmax(190px, 250px) minmax(240px, 360px);
  align-items: center;
  gap: 12px;
  margin-top: 18px;
}

.checkout-consent {
  display: grid;
  gap: 12px;
  max-width: 780px;
  margin-top: 18px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(16, 20, 24, 0.72);
}

.checkout-consent label {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.checkout-consent input {
  width: 18px;
  min-height: 18px;
  margin-top: 2px;
  accent-color: var(--green);
}

.checkout-consent a {
  color: var(--green);
  font-weight: 900;
}

.signup-consent label {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.signup-consent input {
  width: 18px;
  min-height: 18px;
  margin-top: 2px;
  accent-color: var(--green);
}

.signup-consent a,
.field-errors a {
  color: var(--green);
  font-weight: 900;
}

.field-errors,
.field-errors ul {
  margin: 0;
  padding: 0;
  color: #ffe3ba;
  font-size: 13px;
  font-weight: 800;
  list-style: none;
}

.checkout-panel {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: start;
  margin-top: 22px;
  padding: 22px;
}

.checkout-panel .checkout-email {
  grid-template-columns: 1fr;
  margin-top: 0;
}

.checkout-panel .checkout-consent {
  max-width: none;
  margin-top: 0;
}

label {
  color: var(--text);
  font-weight: 900;
}

input,
select {
  width: 100%;
  min-height: 46px;
  padding: 0 12px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  color: var(--text);
  background: #080b0d;
}

input::placeholder {
  color: #68756e;
}

.split {
  align-items: center;
}

.login-preview,
.download-card,
.release-box {
  padding: 22px;
}

.download-band {
  align-items: stretch;
}

.download-card strong,
.release-box strong {
  color: var(--text);
  font-size: 24px;
}

.steps article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(16, 20, 24, 0.78);
}

.step-number {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 34px;
  margin-bottom: 18px;
  color: #061109;
  background: var(--green);
  font-size: 13px;
  font-weight: 900;
}

.page-header {
  display: grid;
  gap: 16px;
  min-height: 360px;
  align-content: center;
  padding: 56px 0 34px;
}

.support-card p {
  margin-bottom: 0;
}

.release-box {
  align-content: start;
}

.release-label {
  color: var(--soft);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.faq details {
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.faq summary {
  cursor: pointer;
  color: var(--text);
  font-weight: 900;
}

.faq details p {
  margin: 12px 0 0;
}

.legal-content {
  display: grid;
  gap: 18px;
  max-width: 880px;
}

.legal-content article {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(16, 20, 24, 0.78);
}

.legal-content h2 {
  font-size: 24px;
}

.legal-content p {
  margin-bottom: 0;
}

.legal-content ul {
  margin: 10px 0 0;
  padding-left: 18px;
}

[hidden] {
  display: none !important;
}

.footer {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: space-between;
  padding: 24px 0 42px;
  border-top: 1px solid var(--line);
  color: var(--soft);
  font-size: 14px;
}

.dashboard-body {
  background:
    linear-gradient(180deg, rgba(101, 242, 157, 0.06), transparent 440px),
    var(--bg);
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 20px 28px;
  background: rgba(7, 9, 11, 0.92);
  border-bottom: 1px solid var(--line);
}

.dashboard-header h1 {
  margin: 4px 0 2px;
  font-size: 30px;
  line-height: 1.1;
}

.dashboard-header p {
  margin-bottom: 0;
}

.dashboard-main {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: 28px 0 56px;
}

.dashboard-purchase {
  scroll-margin-top: 24px;
  margin-bottom: 34px;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--line);
}

.dashboard-purchase-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
}

.dashboard-purchase-header h2 {
  margin-top: 4px;
}

.dashboard-purchase-header p:last-child {
  max-width: 720px;
  margin-bottom: 0;
}

.account-summary {
  display: grid;
  gap: 5px;
  min-width: max-content;
  text-align: right;
}

.account-summary strong {
  color: var(--text);
}

.dashboard-checkout-controls {
  margin-bottom: 18px;
}

.dashboard-checkout-controls .checkout-consent {
  max-width: none;
  margin-top: 0;
}

.dashboard-plans .plan-card {
  min-height: 0;
  grid-template-rows: auto auto 1fr auto;
}

.dashboard-plans .plan-purchase-button {
  grid-row: 4;
}

.dashboard-section {
  margin-bottom: 22px;
  padding: 20px;
}

.dashboard-section table {
  width: 100%;
  border-collapse: collapse;
}

.dashboard-section th {
  color: var(--soft);
  text-align: left;
  font-size: 12px;
  text-transform: uppercase;
}

.dashboard-section th,
.dashboard-section td {
  padding: 11px 8px;
  border-top: 1px solid var(--line);
  vertical-align: top;
}

.dashboard-section td {
  color: var(--muted);
}

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

.empty {
  padding: 14px;
  border: 1px dashed var(--line-strong);
  border-radius: 8px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.025);
}

.plain-form {
  margin: 0;
}

.link-button {
  color: var(--green);
  font-weight: 900;
  text-decoration: none;
}

@media (max-width: 920px) {
  .topbar {
    position: static;
    align-items: flex-start;
    flex-direction: column;
    padding: 18px 20px;
  }

  .account-actions {
    min-width: 0;
    margin-left: 0;
    width: calc(100vw - 40px);
    max-width: calc(100vw - 40px);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .account-actions .nav-button {
    min-width: 0;
    width: 100%;
    padding-right: 8px;
    padding-left: 8px;
    text-align: center;
  }

  .shell-grid,
  .split,
  .plans,
  .steps,
  .support-grid,
  .proof-strip {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 48px;
  }

  .hero,
  .page-header,
  .section-heading,
  .plans,
  .checkout-email,
  .checkout-panel,
  .split,
  .steps,
  .support-grid,
  .proof-strip {
    max-width: 362px;
    margin-left: 0;
    margin-right: 0;
  }

  .checkout-email {
    grid-template-columns: 1fr;
  }

  .checkout-panel {
    grid-template-columns: 1fr;
  }

  .proof-strip div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .proof-strip div:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 640px) {
  main,
  .footer {
    width: min(1180px, calc(100% - 28px));
  }

  h2 {
    font-size: 29px;
  }

  h1 {
    font-size: 34px;
    line-height: 1.06;
  }

  .console-body {
    grid-template-columns: 1fr;
  }

  .terminal-lines {
    grid-column: auto;
  }

  .dashboard-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .dashboard-purchase-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .account-summary {
    min-width: 0;
    text-align: left;
  }

  .top-actions {
    align-items: stretch;
    flex-direction: column;
    width: 100%;
  }

  .top-actions .plain-form,
  .top-actions .plain-form .button {
    width: 100%;
  }

  .dashboard-section table,
  .dashboard-section thead,
  .dashboard-section tbody,
  .dashboard-section tr,
  .dashboard-section th,
  .dashboard-section td {
    display: block;
  }

  .dashboard-section th {
    padding-top: 14px;
  }

  .dashboard-section td {
    border-top: 0;
  }

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