:root {
  --bg: #0a0c0b;
  --bg-soft: #101311;
  --panel: rgba(15, 18, 16, 0.92);
  --panel-strong: #111511;
  --panel-soft: #161a17;
  --text: #f4efe6;
  --muted: #b9afa0;
  --dim: #81776b;
  --gold: #c9a767;
  --gold-bright: #e7ca87;
  --gold-dark: #7b6336;
  --line: rgba(201, 167, 103, 0.34);
  --line-soft: rgba(201, 167, 103, 0.16);
  --green: #75a86c;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.52);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 12%, rgba(201, 167, 103, 0.13), transparent 24%),
    radial-gradient(circle at 82% 0%, rgba(231, 202, 135, 0.08), transparent 20%),
    linear-gradient(180deg, #101311 0%, #050606 100%);
  font-family: "Segoe UI", Tahoma, sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent 70%);
  pointer-events: none;
}

.page-bg {
  position: fixed;
  inset: 0;
  background:
    linear-gradient(115deg, transparent 0 61%, rgba(201, 167, 103, 0.14) 61% 61.12%, transparent 61.12% 100%),
    radial-gradient(circle at 50% 108%, rgba(201, 167, 103, 0.08), transparent 26%);
  pointer-events: none;
}

.site-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.nav {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line-soft);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  color: var(--text);
  text-decoration: none;
  outline: none;
}

.brand:focus,
.brand:focus-visible,
.brand-logo:focus,
.brand-logo:focus-visible {
  outline: none;
}

.brand:focus-visible .brand-logo {
  box-shadow: 0 0 0 1px var(--gold-bright), 0 0 24px rgba(201, 167, 103, 0.28);
}

.brand-logo {
  width: 78px;
  height: 78px;
  object-fit: contain;
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.45));
}

.brand-wordmark {
  display: grid;
  gap: 7px;
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0.34em;
  text-transform: uppercase;
}

.brand-wordmark span:first-child {
  font-size: 1.25rem;
}

.brand-wordmark span:last-child {
  color: var(--muted);
  font-size: 0.76rem;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 34px;
}

.nav-links a,
.footer a,
.feature-card a,
.version-lockup a {
  color: var(--text);
  text-decoration: none;
}

.nav-links a {
  position: relative;
  color: #e8dfd1;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
}

.nav-links a.active::after,
.nav-links a:hover::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -13px;
  height: 2px;
  background: var(--gold-bright);
}

.release-badge {
  min-width: 148px;
  padding: 14px 18px;
  text-align: center;
  border: 1px solid var(--line);
  background: rgba(8, 10, 9, 0.8);
}

.release-badge span {
  display: block;
  color: var(--text);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.86rem;
}

.release-badge strong {
  display: block;
  margin-top: 7px;
  color: var(--gold-bright);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  font-weight: 400;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 40px;
  padding: 28px 0 36px;
}

.hero-copy {
  padding: 26px 8px 0 20px;
}

.eyebrow {
  margin: 0 0 28px;
  color: var(--gold-bright);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.42em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

h1 {
  max-width: 760px;
  font-size: clamp(3.2rem, 7vw, 5.6rem);
  line-height: 0.94;
  letter-spacing: -0.045em;
}

.lead {
  max-width: 700px;
  margin: 28px 0 0;
  color: #d2c8ba;
  font-size: 1.08rem;
  line-height: 1.75;
  letter-spacing: 0.02em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 32px;
}

.button {
  min-width: 260px;
  display: inline-grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  column-gap: 16px;
  row-gap: 2px;
  padding: 18px 22px;
  color: var(--text);
  border: 1px solid var(--line);
  background: rgba(8, 10, 9, 0.74);
  text-decoration: none;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
  border-color: var(--gold-bright);
  background: rgba(18, 22, 19, 0.96);
}

.button.primary {
  color: #16120b;
  border-color: var(--gold-bright);
  background: linear-gradient(180deg, #e2c582 0%, #bd9652 100%);
}

.button small {
  grid-column: 2;
  color: currentColor;
  opacity: 0.72;
  font-size: 0.78rem;
}

.button-icon {
  grid-row: 1 / span 2;
  color: currentColor;
  font-size: 1.7rem;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid var(--line-soft);
}

.trust-row div {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 12px;
  padding: 0 18px;
  border-right: 1px solid var(--line-soft);
}

.trust-row div:first-child {
  padding-left: 0;
}

.trust-row div:last-child {
  border-right: 0;
}

.line-icon {
  grid-row: 1 / span 2;
  color: var(--gold-bright);
  font-size: 1.6rem;
}

.trust-row strong {
  color: var(--text);
  font-size: 0.92rem;
}

.trust-row p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

.activation-panel,
.feature-card,
.release-card,
.success-card {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(18, 21, 18, 0.92), rgba(9, 11, 10, 0.94));
  box-shadow: var(--shadow);
}

.activation-panel {
  padding: 24px;
}

.panel-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.key-mark,
.feature-icon {
  color: var(--gold-bright);
  font-size: 2rem;
}

.activation-panel h2,
.feature-card h2,
.release-card h2,
.success-card h1 {
  color: var(--text);
  font-size: 1.45rem;
}

.activation-panel p,
.feature-card p,
.release-card p,
.success-lead {
  color: var(--muted);
  line-height: 1.68;
}

.activation-steps {
  display: grid;
  gap: 14px;
  margin: 24px 0;
  padding: 0;
  list-style: none;
}

.activation-steps li {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 14px;
  align-items: start;
  color: #d7cfc2;
  line-height: 1.5;
}

.activation-steps span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: var(--gold-bright);
  border: 1px solid var(--line);
  font-size: 0.82rem;
}

.machine-card {
  padding: 14px;
  border: 1px solid var(--line-soft);
  background: rgba(5, 6, 6, 0.62);
}

.machine-card span {
  display: block;
  color: var(--text);
  font-size: 0.84rem;
}

.machine-card code {
  display: block;
  margin: 8px 0;
  padding: 9px;
  color: var(--gold-bright);
  background: #070807;
  border: 1px solid var(--line-soft);
  font-family: Consolas, "Courier New", monospace;
}

.machine-card p {
  margin: 0;
  font-size: 0.82rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 0 0 28px;
}

.feature-card {
  padding: 28px;
  box-shadow: none;
}

.feature-card + .feature-card {
  border-left: 0;
}

.feature-card h2 {
  margin-top: 14px;
}

.feature-card a,
.version-lockup a {
  display: inline-block;
  margin-top: 20px;
  color: var(--gold-bright);
}

.release-section {
  padding-bottom: 48px;
}

.release-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
  padding: 28px;
}

.version-lockup {
  min-width: 260px;
  padding: 22px;
  text-align: center;
  border: 1px solid var(--line-soft);
}

.version-lockup span {
  display: block;
  color: var(--text);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3.2rem;
}

.version-lockup strong {
  display: inline-block;
  margin: 10px 0 4px;
  padding: 5px 10px;
  color: var(--gold-bright);
  border: 1px solid var(--line);
  font-size: 0.8rem;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 24px 0 32px;
  color: var(--muted);
  border-top: 1px solid var(--line-soft);
  font-size: 0.9rem;
}

.footer nav {
  display: flex;
  gap: 28px;
}

.success-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 34px 20px;
  position: relative;
  z-index: 1;
}

.success-card {
  width: min(980px, 100%);
  padding: 32px;
}

.success-brand {
  margin-bottom: 34px;
}

.success-card h1 {
  max-width: 720px;
  margin-top: 10px;
  font-size: clamp(2.8rem, 6vw, 5rem);
  line-height: 0.96;
}

.success-lead {
  max-width: 760px;
  margin: 20px 0 0;
  font-size: 1.02rem;
}

.status-pill {
  display: inline-flex;
  margin-top: 22px;
  padding: 8px 14px;
  color: var(--gold-bright);
  border: 1px solid var(--line);
  background: rgba(8, 10, 9, 0.72);
}

.success-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 26px;
}

.success-actions {
  margin-top: 28px;
}

@media (max-width: 980px) {
  .nav,
  .hero,
  .release-card {
    grid-template-columns: 1fr;
  }

  .nav-links {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .release-badge {
    width: fit-content;
  }

  .feature-grid,
  .trust-row,
  .success-grid {
    grid-template-columns: 1fr;
  }

  .feature-card + .feature-card,
  .trust-row div {
    border-left: 1px solid var(--line);
    border-right: 1px solid var(--line);
  }

  .trust-row div {
    padding: 14px 0;
    border-right: 0;
  }
}

@media (max-width: 640px) {
  .site-shell {
    width: min(100% - 24px, 1180px);
  }

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

  .brand-wordmark {
    letter-spacing: 0.22em;
  }

  .nav-links {
    gap: 18px;
  }

  .hero-copy {
    padding-left: 0;
  }

  .button {
    width: 100%;
  }
}
