:root {
  color-scheme: dark;
  --ink: #07080d;
  --night: #0c111f;
  --gold: #d8b55b;
  --gold-soft: #f4dda0;
  --copper: #d7774f;
  --paper: #eee0bd;
  --text: #f4ecd9;
  --muted: #b6aa92;
  --line: rgba(216, 181, 91, 0.28);
  --panel: rgba(10, 12, 18, 0.78);
  --shadow: rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background: linear-gradient(180deg, #090a0f 0%, #0b1020 42%, #05060a 100%);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

a {
  color: inherit;
}

.ambient-backdrop {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  contain: paint;
  background:
    radial-gradient(circle at 50% 0%, rgba(216, 181, 91, 0.08), transparent 31rem),
    radial-gradient(circle at 80% 28%, rgba(75, 85, 130, 0.14), transparent 26rem);
}

.ambient-backdrop::before {
  content: "";
  position: absolute;
  inset: -8%;
  opacity: 0.58;
  background-image:
    linear-gradient(rgba(216, 181, 91, 0.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(216, 181, 91, 0.022) 1px, transparent 1px),
    radial-gradient(circle, rgba(216, 181, 91, 0.13) 1px, transparent 1.8px);
  background-size: 78px 78px, 78px 78px, 34px 34px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.30) 62%, transparent);
}

.ambient-glow,
.cursor-light {
  position: absolute;
  left: 0;
  top: 0;
  will-change: transform;
  transform: translate3d(0, 0, 0);
}

.ambient-glow {
  width: 72vw;
  height: 72vh;
  min-width: 760px;
  min-height: 520px;
  background: radial-gradient(ellipse at center, rgba(215, 117, 78, 0.18), rgba(216, 181, 91, 0.06) 38%, transparent 70%);
  transform: translate3d(18vw, 4vh, 0);
}

.cursor-light {
  width: 460px;
  height: 460px;
  margin-left: -230px;
  margin-top: -230px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(216, 181, 91, 0.22), rgba(215, 117, 78, 0.11) 34%, transparent 68%);
  opacity: 0.8;
}

.site-header,
main,
.site-footer {
  position: relative;
  z-index: 2;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(7, 8, 13, 0.92);
  border-bottom: 1px solid rgba(216, 181, 91, 0.16);
}

.nav {
  width: min(1160px, calc(100% - 32px));
  min-height: 70px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  box-shadow: 0 10px 26px var(--shadow);
}

.brand span,
h1,
h2,
h3 {
  font-family: Georgia, "Times New Roman", serif;
}

.brand span {
  color: var(--gold-soft);
  font-weight: 800;
  letter-spacing: 0.03em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

.nav-links a {
  text-decoration: none;
}

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

.hero {
  width: min(1160px, calc(100% - 32px));
  min-height: calc(100svh - 70px);
  margin: 0 auto;
  padding: 70px 0 54px;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.85fr);
  gap: 56px;
  align-items: center;
}

.hero-copy {
  max-width: 670px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  color: var(--gold-soft);
  font-size: clamp(58px, 8vw, 104px);
  line-height: 0.95;
  letter-spacing: 0;
  text-shadow: 0 18px 46px rgba(0, 0, 0, 0.56);
}

h2 {
  margin: 0;
  color: var(--gold-soft);
  font-size: clamp(32px, 4.6vw, 54px);
  line-height: 1.06;
}

h3 {
  margin: 0;
  color: var(--gold-soft);
  font-size: 21px;
}

.lead {
  max-width: 620px;
  margin: 24px 0 0;
  color: var(--paper);
  font-size: clamp(18px, 2vw, 22px);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--gold-soft);
  background: rgba(8, 10, 16, 0.62);
  text-decoration: none;
  font-weight: 800;
}

.button.primary {
  color: #15110a;
  background: linear-gradient(180deg, #f2d98f, #cda344);
  border-color: rgba(255, 236, 170, 0.72);
}

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

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.hero-points span {
  padding: 7px 11px;
  border: 1px solid rgba(216, 181, 91, 0.22);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(0, 0, 0, 0.22);
  font-size: 13px;
  font-weight: 700;
}

.hero-showcase {
  position: relative;
  min-height: 690px;
}

.device-frame {
  position: absolute;
  right: 28px;
  top: 0;
  width: 350px;
  aspect-ratio: 350 / 760;
  padding: 9px;
  border-radius: 40px;
  background: linear-gradient(145deg, rgba(244, 221, 160, 0.58), rgba(86, 65, 30, 0.38));
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.54);
}

.device-frame img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 32px;
}

.section,
.feature-band {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.section {
  padding: 82px 0;
}

.section.compact {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(280px, 0.9fr);
  gap: 44px;
  align-items: end;
  padding-bottom: 34px;
}

.section-intro {
  max-width: 760px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.feature-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding-bottom: 66px;
}

.feature {
  min-height: 172px;
  padding: 20px;
  border: 1px solid rgba(216, 181, 91, 0.20);
  border-radius: 16px;
  background: rgba(7, 9, 15, 0.72);
}

.feature .mark {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--gold);
  font-size: 20px;
}

.feature p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
}

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

.screen {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(216, 181, 91, 0.20);
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.28);
}

.screen img {
  width: 100%;
  height: auto;
  aspect-ratio: 258 / 560;
  display: block;
  object-fit: cover;
}

.screen figcaption {
  padding: 12px 13px 14px;
  color: var(--paper);
  font-size: 13px;
  font-weight: 700;
}

.support-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    linear-gradient(90deg, rgba(216, 181, 91, 0.12), transparent),
    rgba(7, 9, 15, 0.78);
}

.support-band h2 {
  font-size: 32px;
}

.support-band p {
  margin: 10px 0 0;
  color: var(--muted);
}

.policy-page {
  width: min(900px, calc(100% - 32px));
  margin: 0 auto;
  padding: 76px 0 96px;
}

.policy-page h1 {
  font-size: clamp(40px, 6vw, 68px);
}

.policy-card {
  margin-top: 28px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(8, 10, 18, 0.76);
}

.policy-card h2 {
  margin: 30px 0 8px;
  color: var(--gold-soft);
  font-size: 24px;
}

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

.policy-card p,
.policy-card li {
  color: var(--paper);
}

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

.site-footer {
  border-top: 1px solid rgba(216, 181, 91, 0.14);
  background: rgba(0, 0, 0, 0.24);
}

.footer-inner {
  width: min(1160px, calc(100% - 32px));
  min-height: 92px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
  font-size: 13px;
}

.footer-inner a {
  color: var(--gold-soft);
  text-decoration: none;
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 34px;
    padding-top: 48px;
  }

  .hero-showcase {
    min-height: 780px;
  }

  .device-frame {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
  }

  .section.compact {
    grid-template-columns: 1fr;
    gap: 16px;
  }

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

@media (max-width: 580px) {
  .nav {
    min-height: 62px;
  }

  .brand span {
    font-size: 14px;
  }

  .nav-links a:not(.always) {
    display: none;
  }

  .hero {
    padding-top: 40px;
  }

  h1 {
    font-size: clamp(48px, 16vw, 68px);
  }

  .hero-showcase {
    min-height: 610px;
  }

  .device-frame {
    width: min(300px, 86vw);
  }

  .feature-band,
  .screens {
    grid-template-columns: 1fr;
  }

  .support-band {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    min-height: 110px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
  }
}

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

  .cursor-light,
  .ambient-glow {
    display: none;
  }
}
