:root {
  --bg: #070604;
  --ink: #100d08;
  --panel: #14110b;
  --panel-soft: #1c160d;
  --gold: #d6a84f;
  --gold-bright: #f3d88f;
  --amber: #b9822b;
  --copper: #7a471f;
  --text: #f7f0e2;
  --muted: #b8a98f;
  --border: #352817;
  --radius: 8px;
  --shadow: 0 34px 90px rgba(0, 0, 0, 0.5);
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    linear-gradient(90deg, rgba(214, 168, 79, 0.08) 0 1px, transparent 1px 92px),
    linear-gradient(180deg, rgba(214, 168, 79, 0.07) 0 1px, transparent 1px 92px),
    radial-gradient(circle at 6% 10%, rgba(214, 168, 79, 0.18), transparent 24rem),
    radial-gradient(circle at 88% 34%, rgba(122, 71, 31, 0.22), transparent 28rem),
    linear-gradient(135deg, #0d0904 0%, var(--bg) 46%, #040403 100%);
  color: var(--text);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(243, 216, 143, 0.08), transparent 32%, transparent 68%, rgba(185, 130, 43, 0.08));
  mix-blend-mode: screen;
  opacity: 0.5;
}

.grain {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 4px 4px;
  mask-image: linear-gradient(180deg, black, transparent 86%);
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.site-header,
main,
.site-footer {
  width: min(1180px, calc(100% - 36px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 16px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 16px;
  padding: 10px;
  border: 1px solid rgba(243, 216, 143, 0.18);
  border-radius: var(--radius);
  background: rgba(10, 8, 5, 0.72);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(243, 216, 143, 0.48);
  border-radius: var(--radius);
  background: #0f0b05;
  color: var(--gold-bright);
  font-weight: 900;
  box-shadow: inset 0 0 0 1px rgba(214, 168, 79, 0.18), 0 0 34px rgba(214, 168, 79, 0.22);
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.05;
}

.brand small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.main-nav a {
  border-radius: var(--radius);
  padding: 10px 12px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.main-nav a:hover {
  background: rgba(214, 168, 79, 0.1);
  color: var(--gold-bright);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--panel);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--gold-bright);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr) 260px;
  gap: 30px;
  align-items: end;
  min-height: calc(100vh - 88px);
  padding: 86px 0 54px;
}

.hero::after {
  content: "";
  position: absolute;
  right: -18vw;
  bottom: 0;
  width: 74vw;
  height: 38vh;
  border-top: 1px solid rgba(243, 216, 143, 0.18);
  background: linear-gradient(135deg, transparent, rgba(214, 168, 79, 0.09));
  transform: skewY(-8deg);
  transform-origin: right bottom;
  z-index: -1;
}

.hero-symbol {
  display: grid;
  min-height: 560px;
  place-items: center;
  border: 1px solid rgba(243, 216, 143, 0.18);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(243, 216, 143, 0.11), rgba(185, 130, 43, 0.02)),
    rgba(10, 8, 5, 0.58);
}

.hero-symbol span {
  color: transparent;
  font-size: clamp(96px, 13vw, 182px);
  font-weight: 900;
  line-height: 1;
  -webkit-text-stroke: 2px rgba(243, 216, 143, 0.7);
  text-shadow: 0 0 52px rgba(214, 168, 79, 0.28);
  writing-mode: vertical-rl;
}

.hero-copy {
  max-width: 780px;
  padding-bottom: 28px;
}

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

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

h1 {
  margin-bottom: 22px;
  font-size: clamp(58px, 10vw, 132px);
  line-height: 0.86;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(34px, 5vw, 66px);
  line-height: 0.98;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
}

p {
  color: var(--muted);
  line-height: 1.68;
}

.hero-text {
  max-width: 650px;
  font-size: 18px;
}

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

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(243, 216, 143, 0.22);
  border-radius: var(--radius);
  padding: 0 20px;
  font-weight: 900;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

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

.button-primary {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold) 48%, var(--amber));
  color: #160e05;
  box-shadow: 0 16px 44px rgba(214, 168, 79, 0.28);
}

.button-ghost {
  background: rgba(20, 17, 11, 0.76);
  color: var(--gold-bright);
}

.hero-facts {
  display: grid;
  gap: 10px;
  padding-bottom: 36px;
}

.hero-facts span {
  border-left: 2px solid var(--gold);
  padding: 13px 0 13px 14px;
  background: linear-gradient(90deg, rgba(214, 168, 79, 0.1), transparent);
  color: var(--text);
  font-size: 13px;
  font-weight: 800;
}

.screenshot-stage {
  display: grid;
  grid-template-columns: 0.74fr 1.26fr;
  gap: 28px;
  align-items: end;
  margin-bottom: 84px;
}

.screenshot-copy {
  border-top: 1px solid rgba(243, 216, 143, 0.28);
  padding-top: 24px;
}

.screenshot-frame {
  position: relative;
  margin: 0;
  border: 1px solid rgba(243, 216, 143, 0.2);
  border-radius: var(--radius);
  padding: 10px;
  background:
    linear-gradient(135deg, rgba(243, 216, 143, 0.12), transparent 28%),
    var(--panel);
  box-shadow: var(--shadow), 0 0 80px rgba(214, 168, 79, 0.16);
}

.screenshot-frame::before {
  content: "";
  display: block;
  height: 30px;
  border-bottom: 1px solid var(--border);
  margin: -10px -10px 10px;
  background:
    radial-gradient(circle at 18px 15px, var(--gold-bright) 0 4px, transparent 4.5px),
    radial-gradient(circle at 34px 15px, var(--amber) 0 4px, transparent 4.5px),
    radial-gradient(circle at 50px 15px, #5e5547 0 4px, transparent 4.5px);
}

.screenshot-frame img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: calc(var(--radius) - 2px);
  object-fit: cover;
  background: #0c0905;
}

.screenshot-frame figcaption {
  padding: 12px 2px 2px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.section {
  padding: 86px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.feature-mosaic {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 14px;
}

.feature-mosaic article {
  min-height: 226px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(243, 216, 143, 0.06), rgba(20, 17, 11, 0.88)),
    var(--panel);
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.24);
}

.feature-mosaic .feature-lead {
  grid-row: span 2;
  min-height: 466px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background:
    radial-gradient(circle at 80% 18%, rgba(243, 216, 143, 0.2), transparent 10rem),
    linear-gradient(150deg, rgba(122, 71, 31, 0.36), rgba(20, 17, 11, 0.92)),
    var(--panel);
}

.icon {
  display: inline-flex;
  margin-bottom: 30px;
  color: var(--gold-bright);
  font-weight: 900;
}

.workflow {
  border-block: 1px solid rgba(243, 216, 143, 0.1);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  min-height: 232px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  background: rgba(20, 17, 11, 0.76);
}

.steps span {
  display: block;
  margin-bottom: 54px;
  color: var(--gold-bright);
  font-weight: 900;
}

.steps strong {
  display: block;
  margin-bottom: 10px;
  font-size: 20px;
}

.loader-section {
  padding-bottom: 56px;
}

.loader-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.loader-row span {
  display: grid;
  min-height: 92px;
  place-items: center;
  border: 1px solid rgba(243, 216, 143, 0.18);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(243, 216, 143, 0.1), rgba(185, 130, 43, 0.04)),
    var(--panel);
  color: var(--gold-bright);
  font-weight: 900;
}

.notice-section {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 14px;
  padding-top: 28px;
}

.notice-main,
.notice-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  background: rgba(20, 17, 11, 0.78);
}

.notice-card strong {
  display: block;
  margin-bottom: 12px;
  color: var(--gold-bright);
  font-size: 20px;
}

.download-section {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 34px;
  align-items: center;
  margin: 44px 0;
  border: 1px solid rgba(243, 216, 143, 0.24);
  border-radius: var(--radius);
  padding: 34px;
  background:
    linear-gradient(110deg, rgba(243, 216, 143, 0.16), transparent 34%),
    linear-gradient(135deg, rgba(28, 22, 13, 0.98), rgba(7, 6, 4, 0.98));
  box-shadow: var(--shadow);
}

.download-section h2 {
  font-size: clamp(30px, 4vw, 48px);
}

.download-actions {
  justify-content: flex-end;
  margin-top: 0;
}

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

details {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(20, 17, 11, 0.82);
}

summary {
  cursor: pointer;
  padding: 18px 20px;
  color: var(--text);
  font-weight: 900;
}

details p {
  margin: 0;
  padding: 0 20px 20px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 34px 0 44px;
  border-top: 1px solid var(--border);
  color: var(--muted);
}

.site-footer p {
  max-width: 620px;
  margin-bottom: 0;
  font-size: 12px;
}

@media (max-width: 980px) {
  .site-header,
  main,
  .site-footer {
    width: min(100% - 26px, 760px);
  }

  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    inset: calc(100% + 8px) 0 auto 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 10px;
    background: rgba(10, 8, 5, 0.96);
  }

  .main-nav.open {
    display: flex;
  }

  .hero,
  .screenshot-stage,
  .notice-section,
  .download-section {
    grid-template-columns: 1fr;
  }

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

  .hero-symbol {
    min-height: 160px;
  }

  .hero-symbol span {
    writing-mode: horizontal-tb;
  }

  .hero-copy,
  .hero-facts {
    padding-bottom: 0;
  }

  .feature-mosaic {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-mosaic .feature-lead {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 320px;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .loader-row {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .site-footer {
    display: block;
  }
}

@media (max-width: 620px) {
  .site-header,
  main,
  .site-footer {
    width: min(100% - 22px, 520px);
  }

  .hero {
    gap: 18px;
    padding: 46px 0 44px;
  }

  h1 {
    font-size: clamp(48px, 17vw, 72px);
  }

  .hero-actions,
  .download-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .screenshot-stage {
    margin-bottom: 36px;
  }

  .feature-mosaic,
  .loader-row {
    grid-template-columns: 1fr;
  }

  .feature-mosaic .feature-lead {
    min-height: 280px;
  }

  .section {
    padding: 62px 0;
  }

  .download-section {
    padding: 24px;
  }
}
