:root {
  color-scheme: dark;
  --ink: #050609;
  --ink-2: #080a0e;
  --panel: #0d1219;
  --panel-soft: #121922;
  --gold: #c89a43;
  --gold-soft: #e6c06a;
  --gold-light: #f4da93;
  --gold-text: #ffe6ad;
  --line: rgba(244, 218, 147, 0.18);
  --line-strong: rgba(244, 218, 147, 0.42);
  --text: #f4f7fb;
  --muted: #aeb6c2;
  --aqua: #2eead8;
  --magenta: #f236bc;
  --blue: #3674ff;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
  --font-display: "SF Pro Display", "Avenir Next", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: Inter, "SF Pro Text", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-family: var(--font-body);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(160deg, #050609 0%, #080a0e 56%, #0b0804 100%);
  color: var(--text);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  opacity: 0.36;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(244, 218, 147, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 218, 147, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, #000, transparent 72%);
}

img,
iframe,
canvas {
  display: block;
}

img {
  max-width: 100%;
}

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

button {
  font: inherit;
}

.ambient-canvas {
  position: fixed;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  opacity: 0.62;
  pointer-events: none;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
  width: min(1180px, calc(100vw - 32px));
  margin: 24px auto 0;
  padding: 0;
  pointer-events: none;
}

.site-header.is-scrolled {
  background: transparent;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-family: var(--font-display);
  font-weight: 760;
  letter-spacing: 0;
  pointer-events: auto;
}

.brand-lockup img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(244, 218, 147, 0.32), 0 0 22px rgba(226, 181, 92, 0.24);
}

.header-cta {
  justify-self: end;
  min-height: 38px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding: 9px 14px;
  background: linear-gradient(180deg, rgba(200, 154, 67, 0.18), rgba(124, 85, 32, 0.14));
  color: var(--gold-text);
  font-size: 14px;
  font-weight: 750;
  pointer-events: auto;
  backdrop-filter: blur(14px);
}

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 100svh;
  padding: 132px 0 78px;
  overflow: hidden;
}

.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-shade {
  z-index: -1;
  background:
    radial-gradient(circle at 72% 42%, rgba(226, 181, 92, 0.12), transparent 27rem),
    linear-gradient(90deg, rgba(5, 6, 9, 0.98) 0%, rgba(5, 6, 9, 0.88) 48%, rgba(5, 6, 9, 0.74) 100%),
    linear-gradient(0deg, var(--ink) 0%, transparent 32%);
}

.hero-inner,
.video-section,
.site-footer {
  width: min(1180px, calc(100vw - 32px));
  margin: 0 auto;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(360px, 0.72fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
}

.hero-copy-block {
  display: grid;
  gap: 22px;
}

.eyebrow,
.section-kicker {
  margin: 0;
  color: var(--gold-soft);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p,
dl,
dd {
  margin: 0;
}

h1 {
  max-width: 8ch;
  font-family: var(--font-display);
  font-size: clamp(56px, 7.4vw, 104px);
  font-weight: 710;
  line-height: 0.94;
  letter-spacing: 0;
  text-shadow:
    0 0 24px rgba(226, 181, 92, 0.18),
    0 22px 70px rgba(0, 0, 0, 0.72);
}

h2 {
  font-family: var(--font-display);
  font-size: clamp(30px, 4.1vw, 52px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 650px;
  color: rgba(244, 247, 251, 0.84);
  font-size: clamp(18px, 1.55vw, 21px);
  line-height: 1.52;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 4px;
}

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding: 0 20px;
  font-weight: 720;
  text-align: center;
  transition: transform 150ms ease, border-color 150ms ease, box-shadow 150ms ease;
}

.button::after {
  content: "";
  position: absolute;
  inset: -90% auto -90% -48%;
  width: 38%;
  transform: rotate(18deg);
  background: linear-gradient(90deg, transparent, rgba(255, 248, 220, 0.42), transparent);
  opacity: 0.6;
  transition: left 480ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button:hover::after {
  left: 108%;
}

.button-primary {
  background:
    linear-gradient(115deg, rgba(255, 244, 202, 0.34) 0%, rgba(255, 244, 202, 0) 30%),
    linear-gradient(135deg, var(--gold-light), var(--gold) 50%, #b17d38);
  color: #1b1408;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.34), 0 0 26px rgba(226, 181, 92, 0.28);
}

.button-ghost {
  background: rgba(8, 12, 17, 0.52);
  color: var(--gold-text);
  backdrop-filter: blur(14px);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  width: min(560px, 100%);
  margin-top: 22px;
  border: 1px solid rgba(244, 218, 147, 0.14);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(244, 218, 147, 0.08);
}

.hero-metrics div {
  position: relative;
  padding: 18px 18px 18px 66px;
  background: rgba(5, 6, 9, 0.58);
  backdrop-filter: blur(12px);
}

.service-stat img {
  position: absolute;
  left: 18px;
  top: 18px;
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.service-stat:first-child img {
  width: 38px;
}

.hero-metrics dt {
  color: var(--gold-light);
  font-size: 24px;
  font-weight: 740;
}

.hero-metrics dd {
  margin-top: 3px;
  color: var(--muted);
  font-size: 13px;
}

.hero-visualizer-panel {
  position: relative;
  min-height: clamp(420px, 54vw, 650px);
  overflow: visible;
}

.hero-visualizer {
  width: 100%;
  height: 100%;
  min-height: clamp(420px, 54vw, 650px);
  opacity: 0.78;
  filter: saturate(1.05);
}

.video-section {
  padding: 86px 0;
  scroll-margin-top: 96px;
}

.section-head p,
.site-footer p {
  color: var(--muted);
  line-height: 1.65;
}

.section-head {
  display: grid;
  gap: 14px;
  max-width: 850px;
  margin-bottom: 34px;
}

.video-shell {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(244, 218, 147, 0.18);
  border-radius: 8px;
  aspect-ratio: 16 / 9;
  background: #020304;
  box-shadow: var(--shadow), 0 0 44px rgba(46, 234, 216, 0.08);
}

.video-shell iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 34px 0 44px;
  border-top: 1px solid rgba(244, 218, 147, 0.1);
}

.contact-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(244, 218, 147, 0.28);
  border-radius: 50%;
  background: rgba(8, 12, 17, 0.54);
  color: var(--gold-text);
  box-shadow: inset 0 1px 0 rgba(244, 218, 147, 0.06);
  transition: transform 150ms ease, border-color 150ms ease, background 150ms ease;
}

.contact-links a:hover {
  transform: translateY(-1px);
  border-color: rgba(244, 218, 147, 0.62);
  background: rgba(200, 154, 67, 0.14);
}

.contact-links svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-visualizer-panel,
  .hero-visualizer {
    min-height: 390px;
  }
}

@media (max-width: 620px) {
  .site-header {
    width: calc(100vw - 20px);
    margin-top: 10px;
  }

  .brand-lockup span {
    max-width: 86px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .header-cta {
    padding-inline: 10px;
    font-size: 13px;
  }

  .hero {
    min-height: 92svh;
    padding: 116px 0 48px;
  }

  .hero-inner,
  .video-section,
  .site-footer {
    width: calc(100vw - 24px);
  }

  h1 {
    font-size: clamp(52px, 17vw, 78px);
  }

  h2 {
    font-size: clamp(30px, 11vw, 44px);
  }

  .hero-copy {
    font-size: 17px;
  }

  .hero-actions,
  .site-footer {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

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

  .hero-metrics div {
    padding: 16px 16px 16px 62px;
  }

  .service-stat img {
    left: 16px;
    top: 16px;
    width: 32px;
  }

  .video-section {
    padding: 58px 0;
  }

  .hero-visualizer-panel,
  .hero-visualizer {
    min-height: 330px;
  }

  .site-footer {
    align-items: flex-start;
  }
}

/* ─── Legal / Policy pages ─── */

.legal-page {
  padding-top: 120px;
  padding-bottom: 80px;
}

.legal-content {
  width: min(780px, calc(100vw - 32px));
  margin: 0 auto;
}

.legal-content h1 {
  max-width: unset;
  font-size: clamp(36px, 5vw, 62px);
  margin-bottom: 8px;
  line-height: 1.1;
}

.legal-content .last-updated {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 48px;
  display: block;
}

.legal-content h2 {
  font-size: clamp(20px, 2.5vw, 26px);
  margin-top: 48px;
  margin-bottom: 12px;
  color: var(--gold-light);
}

.legal-content h3 {
  font-size: 18px;
  font-weight: 680;
  margin-top: 28px;
  margin-bottom: 8px;
  color: var(--text);
}

.legal-content p,
.legal-content li {
  color: rgba(244, 247, 251, 0.82);
  font-size: 16px;
  line-height: 1.72;
  margin-top: 10px;
}

.legal-content ul,
.legal-content ol {
  padding-left: 24px;
  margin-top: 10px;
}

.legal-content a {
  color: var(--gold-soft);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-content a:hover {
  color: var(--gold-light);
}

.legal-content hr {
  border: none;
  border-top: 1px solid var(--line);
  margin: 44px 0;
}

/* ─── Pricing page / section ─── */

.pricing-page {
  padding-top: 120px;
  padding-bottom: 80px;
}

.section-pricing {
  padding: 86px 0;
  scroll-margin-top: 96px;
}

.pricing-inner {
  width: min(960px, calc(100vw - 32px));
  margin: 0 auto;
}

.pricing-header {
  text-align: center;
  margin-bottom: 56px;
}

.pricing-header h1 {
  max-width: unset;
  font-size: clamp(36px, 5vw, 62px);
  margin-bottom: 14px;
}

.pricing-header p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 740px;
  margin: 0 auto;
}

.pricing-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 32px;
  background: rgba(13, 18, 25, 0.72);
  backdrop-filter: blur(12px);
}

.pricing-card.featured {
  border-color: var(--line-strong);
  background: rgba(200, 154, 67, 0.06);
  box-shadow: 0 0 40px rgba(226, 181, 92, 0.08);
}

.pricing-card-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: #1b1408;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.pricing-card h2 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}

.pricing-card .price {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 740;
  color: var(--gold-light);
  line-height: 1;
  margin: 16px 0 4px;
}

.pricing-card .price-note {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 24px;
}

.pricing-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
}

.pricing-card ul li {
  color: rgba(244, 247, 251, 0.82);
  font-size: 15px;
  line-height: 1.6;
  padding: 6px 0;
  padding-left: 22px;
  position: relative;
  margin: 0;
}

.pricing-card ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--gold-soft);
  font-weight: 700;
}

.pricing-card .button {
  width: 100%;
  font-size: 15px;
}

.pricing-card > .button,
.pricing-card > .checkout-field {
  margin-top: auto;
}

.pricing-card > .checkout-field + .button {
  margin-top: 0;
}

.checkout-field {
  display: grid;
  gap: 8px;
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.checkout-field input {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 13px;
  background: rgba(5, 6, 9, 0.72);
  color: var(--text);
  outline: none;
}

.checkout-field input:focus {
  border-color: var(--line-strong);
  box-shadow: 0 0 0 3px rgba(200, 154, 67, 0.14);
}

.button:disabled {
  cursor: wait;
  opacity: 0.68;
  transform: none;
}

.checkout-message {
  min-height: 20px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.checkout-message:empty {
  display: none;
}

.purchase-page {
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding: 128px 16px 72px;
}

.purchase-panel {
  display: grid;
  gap: 20px;
  width: min(620px, 100%);
  margin: 0 auto;
}

.purchase-panel h1 {
  max-width: unset;
  font-size: clamp(40px, 6vw, 68px);
}

.purchase-panel p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.purchase-panel .button {
  width: fit-content;
}

.recover-form {
  display: grid;
  gap: 14px;
  max-width: 420px;
}

.recover-link {
  width: fit-content;
  color: var(--gold-soft);
  font-size: 14px;
  font-weight: 760;
}

.recover-link:hover {
  color: var(--gold-light);
}

.license-box {
  display: grid;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: rgba(13, 18, 25, 0.72);
}

.license-box[hidden] {
  display: none;
}

.license-box span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.license-box code {
  overflow-wrap: anywhere;
  color: var(--gold-light);
  font-size: clamp(18px, 4vw, 26px);
  font-weight: 800;
}

@media (max-width: 600px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .purchase-panel .button {
    width: 100%;
  }
}

/* ─── Footer legal links ─── */

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.footer-legal a {
  color: var(--muted);
  font-size: 13px;
  transition: color 150ms ease;
}

.footer-legal a:hover {
  color: var(--gold-soft);
}

@media (max-width: 620px) {
  .footer-legal {
    gap: 12px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }

  .ambient-canvas {
    display: none;
  }
}
