@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:ital,wght@0,500;0,600;0,700;0,800;1,800&family=Noto+Sans+SC:wght@400;500;700;900&display=swap');

:root {
  --ink: #0b0b09;
  --ink-soft: #171713;
  --paper: #e9e3d5;
  --paper-deep: #d8d0bf;
  --orange: #ef6b22;
  --orange-hot: #ff8a34;
  --sand: #c7a76b;
  --muted: #918b7e;
  --line: rgba(255, 255, 255, 0.16);
  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Noto Sans SC", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--paper);
  background: var(--ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  height: 86px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 4.5vw;
  border-bottom: 1px solid var(--line);
  transition: background .3s ease, height .3s ease;
}
.site-header.scrolled {
  height: 70px;
  background: rgba(9, 9, 7, .94);
  backdrop-filter: blur(14px);
}
.brand { display: inline-flex; align-items: center; gap: 12px; width: fit-content; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: var(--ink);
  background: var(--orange);
  clip-path: polygon(0 0, 100% 0, 100% 72%, 76% 100%, 0 100%);
  font: 900 23px/1 var(--font-display);
}
.brand-name { font: 800 25px/1 var(--font-display); letter-spacing: .045em; }
.brand-name span { color: var(--orange); }
.site-nav { display: flex; align-items: center; gap: clamp(28px, 3.5vw, 58px); height: 100%; }
.site-nav a {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
  color: rgba(255,255,255,.66);
  font-size: 14px;
  font-weight: 500;
  transition: color .2s ease;
}
.site-nav a:hover, .site-nav a.active { color: #fff; }
.site-nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 3px;
  background: var(--orange);
}
.nav-toggle { display: none; }

.hero {
  position: relative;
  min-height: 780px;
  height: 100svh;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 105px 8vw 55px;
  isolation: isolate;
  background: #22160e url("hero-metalmax.png") center center / cover no-repeat;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(5,5,4,.92) 0%, rgba(5,5,4,.64) 32%, rgba(5,5,4,.08) 67%, rgba(5,5,4,.1) 100%);
}
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: auto 0 0;
  height: 35%;
  background: linear-gradient(0deg, #0b0b09 0%, transparent 100%);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .28;
  background-image: repeating-linear-gradient(0deg, transparent, transparent 3px, rgba(255,255,255,.025) 4px);
}
.hero-content { position: relative; width: min(620px, 52vw); z-index: 2; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 20px;
  color: #dfc999;
  font: 600 13px/1 var(--font-body);
  letter-spacing: .28em;
}
.eyebrow span { width: 34px; height: 2px; background: var(--orange); }
.hero h1 {
  margin: 0;
  color: #f4eee2;
  font: 900 clamp(76px, 8.2vw, 138px)/.75 var(--font-display);
  letter-spacing: -.035em;
  text-transform: uppercase;
  text-shadow: 0 6px 34px rgba(0,0,0,.45);
}
.hero h1 em { color: var(--orange); font-style: italic; }
.hero-copy {
  margin: 36px 0 34px;
  color: rgba(255,255,255,.74);
  font-size: 16px;
  line-height: 2;
}
.creator-card {
  position: relative;
  width: min(390px, 100%);
  min-height: 74px;
  margin: 0 0 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 8px 18px 8px 8px;
  overflow: hidden;
  background: linear-gradient(90deg, rgba(16,16,13,.94), rgba(16,16,13,.7));
  border: 1px solid rgba(255,255,255,.25);
  border-left: 4px solid var(--orange);
  box-shadow: 0 14px 34px rgba(0,0,0,.3);
  backdrop-filter: blur(9px);
}
.creator-avatar-wrap {
  position: relative;
  flex: 0 0 54px;
  width: 54px;
  height: 54px;
  padding: 2px;
  background: var(--orange);
  clip-path: polygon(0 0, 100% 0, 100% 78%, 78% 100%, 0 100%);
}
.creator-avatar-wrap::after {
  content: "";
  position: absolute;
  right: 3px;
  bottom: 5px;
  width: 8px;
  height: 8px;
  border: 2px solid #151511;
  border-radius: 50%;
  background: #80c96b;
}
.creator-avatar { display: block; width: 100%; height: 100%; object-fit: cover; }
.creator-info { position: relative; z-index: 1; display: grid; gap: 5px; }
.creator-label { color: var(--orange-hot); font: 700 9px/1 var(--font-display); letter-spacing: .18em; }
.creator-info strong { color: #fff; font-size: 20px; line-height: 1; letter-spacing: .06em; }
.creator-stamp {
  position: absolute;
  right: -3px;
  bottom: -5px;
  color: rgba(255,255,255,.045);
  font: 900 36px/1 var(--font-display);
  letter-spacing: .04em;
}
.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  scroll-margin-block: 120px;
}
.download-button {
  position: relative;
  min-width: 255px;
  height: 68px;
  display: grid;
  grid-template-columns: 38px 1fr 18px;
  align-items: center;
  gap: 10px;
  padding: 0 18px;
  overflow: hidden;
  background: var(--orange);
  color: #11100d;
  font-weight: 900;
  box-shadow: 0 14px 35px rgba(0,0,0,.28);
  transition: transform .2s, background .2s;
}
.download-button::before {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-105%);
  background: rgba(255,255,255,.16);
  transition: transform .35s ease;
}
.download-button:hover { transform: translateY(-3px); background: var(--orange-hot); }
.download-button:hover::before { transform: translateX(0); }
.download-button.pc { color: #f4eee2; background: rgba(16,16,13,.82); border: 1px solid rgba(255,255,255,.35); }
.download-button.pc:hover { border-color: var(--orange); background: #151511; }
.download-button > * { position: relative; z-index: 1; }
.download-button small { display: block; margin-bottom: 4px; opacity: .62; font: 600 9px/1 var(--font-display); letter-spacing: .2em; }
.package-size { font: inherit; font-style: normal; letter-spacing: .08em; }
.package-version {
  display: inline-block;
  margin-left: 8px;
  padding: 4px 8px 3px;
  color: var(--orange);
  background: #171713;
  font: 800 14px/1 var(--font-display);
  font-style: normal;
  letter-spacing: .06em;
  vertical-align: 0;
}
.download-button.pc .package-version { color: #16140f; background: var(--orange); }
.platform-icon { font-size: 27px; }
.platform-icon.windows { font-size: 31px; font-family: Arial, sans-serif; }
.download-button b { justify-self: end; font-size: 21px; }
.build-note { margin: 14px 0 0; color: rgba(255,255,255,.38); font-size: 11px; letter-spacing: .08em; }
.scroll-hint {
  position: absolute;
  left: 4.5vw;
  bottom: 34px;
  display: flex;
  align-items: center;
  gap: 16px;
  color: rgba(255,255,255,.48);
  font-size: 11px;
  letter-spacing: .2em;
  writing-mode: vertical-rl;
}
.scroll-hint i { display: block; width: 1px; height: 44px; overflow: hidden; background: rgba(255,255,255,.2); }
.scroll-hint i::after { content: ""; display: block; width: 1px; height: 20px; background: var(--orange); animation: scroll 1.8s infinite ease-in-out; }
@keyframes scroll { from { transform: translateY(-22px); } to { transform: translateY(48px); } }
.hero-status {
  position: absolute;
  right: 4.5vw;
  bottom: 35px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,.38);
  font: 600 10px/1 var(--font-display);
  letter-spacing: .18em;
}
.hero-status .line { width: 55px; height: 1px; background: rgba(255,255,255,.3); }

.section { position: relative; padding: 130px 9vw; }
.intro {
  display: grid;
  grid-template-columns: minmax(420px, 1.1fr) 1fr;
  gap: 10vw;
  color: var(--ink);
  background-color: var(--paper);
  background-image: linear-gradient(rgba(30,28,23,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(30,28,23,.035) 1px, transparent 1px);
  background-size: 28px 28px;
}
.section-number {
  position: absolute;
  top: 84px;
  right: 6vw;
  color: rgba(0,0,0,.045);
  font: 900 200px/1 var(--font-display);
}
.eyebrow.dark { color: #76674d; }
.intro h2, .features h2, .cta h2 {
  margin: 0;
  font: 800 clamp(48px, 5.1vw, 78px)/.98 var(--font-display);
  letter-spacing: -.025em;
}
.intro h2 span { color: var(--orange); }
.intro-copy { padding-top: 40px; }
.intro-copy p { margin: 0 0 22px; color: #605b51; font-size: 15px; line-height: 2.05; }
.intro-copy p:first-child::first-letter { float: left; margin: 2px 9px 0 0; color: var(--orange); font: 800 52px/.8 var(--font-display); }

.features { padding: 125px 9vw 145px; background: var(--ink-soft); }
.features-heading { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 58px; }
.features h2 span { color: var(--orange); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255,255,255,.13); border-left: 1px solid rgba(255,255,255,.13); }
.feature-card {
  position: relative;
  min-height: 370px;
  padding: 38px 35px;
  border-right: 1px solid rgba(255,255,255,.13);
  border-bottom: 1px solid rgba(255,255,255,.13);
  background: #171713;
  transition: background .3s, transform .3s;
}
.feature-card:hover { z-index: 2; transform: translateY(-6px); background: #1d1c17; }
.feature-card.feature-primary { background: #211811; }
.feature-card.feature-primary::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 70px;
  background: var(--orange);
}
.feature-index { color: rgba(255,255,255,.3); font: 600 12px/1 var(--font-display); letter-spacing: .15em; }
.feature-symbol { margin: 45px 0 28px; color: var(--orange); font-size: 45px; }
.feature-card h3 { margin: 0 0 17px; font: 800 31px/1 var(--font-display); letter-spacing: .04em; }
.feature-card p { max-width: 330px; margin: 0; color: rgba(255,255,255,.5); font-size: 13px; line-height: 1.9; }
.feature-tag { position: absolute; left: 35px; bottom: 30px; color: rgba(255,255,255,.24); font: 600 10px/1 var(--font-display); letter-spacing: .2em; }

.cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--ink);
  background: var(--paper-deep);
  border-bottom: 8px solid var(--orange);
}
.cta p:last-child { color: #655f54; }
.cta-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 230px;
  padding: 20px 23px;
  color: white;
  background: var(--ink);
  font-size: 14px;
  font-weight: 700;
  transition: background .2s, transform .2s;
}
.cta-button:hover { background: var(--orange); transform: translateX(4px); }
.cta-button span { font-size: 24px; }

footer {
  min-height: 170px;
  padding: 48px 5vw;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  color: rgba(255,255,255,.36);
  background: #080806;
  font: 500 10px/1.5 var(--font-display);
  letter-spacing: .12em;
}
.footer-note { justify-self: end; }
.footer-brand { filter: grayscale(1); opacity: .6; }

.toast {
  position: fixed;
  z-index: 50;
  right: 24px;
  bottom: 24px;
  width: min(360px, calc(100vw - 32px));
  padding: 17px 20px;
  color: var(--paper);
  background: #191813;
  border-left: 4px solid var(--orange);
  box-shadow: 0 18px 50px rgba(0,0,0,.45);
  transform: translateY(140%);
  opacity: 0;
  transition: transform .35s ease, opacity .35s ease;
}
.toast.show { transform: translateY(0); opacity: 1; }
.toast strong, .toast span { display: block; }
.toast strong { margin-bottom: 5px; color: var(--orange); font-size: 14px; }
.toast span { color: rgba(255,255,255,.6); font-size: 12px; line-height: 1.6; }

@media (max-width: 900px) {
  .site-header { grid-template-columns: 1fr auto; padding: 0 24px; }
  .nav-toggle { display: grid; gap: 5px; padding: 8px 0 8px 12px; border: 0; color: white; background: none; }
  .nav-toggle span { width: 26px; height: 2px; background: currentColor; transition: .25s; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: auto;
    padding: 12px 24px 24px;
    display: grid;
    gap: 0;
    background: rgba(9,9,7,.97);
    border-bottom: 1px solid var(--line);
    transform: translateY(-10px);
    opacity: 0;
    visibility: hidden;
    transition: .25s;
  }
  .site-nav.open { transform: none; opacity: 1; visibility: visible; }
  .site-nav a { height: 48px; border-bottom: 1px solid rgba(255,255,255,.08); }
  .site-nav a.active::after { display: none; }
  .hero { min-height: 750px; padding: 110px 8vw 70px; background-position: 62% center; }
  .hero::before { background: linear-gradient(90deg, rgba(5,5,4,.91), rgba(5,5,4,.56) 72%, rgba(5,5,4,.15)); }
  .hero-content { width: min(620px, 80vw); }
  .intro { grid-template-columns: 1fr; gap: 35px; }
  .intro-copy { padding-top: 0; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 320px; }
  footer { grid-template-columns: 1fr; gap: 24px; text-align: center; justify-items: center; }
  .footer-note { justify-self: center; }
}

@media (max-width: 580px) {
  .site-header { height: 68px; }
  .brand-name { font-size: 21px; }
  .hero { min-height: 760px; height: auto; padding: 115px 22px 85px; align-items: flex-end; background-position: 66% center; }
  .hero::before { background: linear-gradient(0deg, rgba(5,5,4,.96) 0%, rgba(5,5,4,.5) 65%, rgba(5,5,4,.12)); }
  .hero-content { width: 100%; }
  .eyebrow { font-size: 10px; letter-spacing: .2em; }
  .hero h1 { font-size: clamp(66px, 21vw, 94px); }
  .hero-copy { margin: 28px 0; font-size: 13px; line-height: 1.85; }
  .hero-copy br { display: none; }
  .creator-card { width: 100%; min-height: 68px; margin-bottom: 18px; }
  .creator-avatar-wrap { flex-basis: 50px; width: 50px; height: 50px; }
  .creator-info strong { font-size: 18px; }
  .download-actions { display: grid; grid-template-columns: 1fr; }
  .download-button { width: 100%; min-width: 0; }
  .build-note { text-align: center; }
  .scroll-hint, .hero-status { display: none; }
  .section, .features { padding: 85px 24px; }
  .intro { display: block; }
  .intro h2, .features h2, .cta h2 { font-size: 47px; }
  .intro-copy { margin-top: 34px; }
  .section-number { top: 52px; right: 10px; font-size: 130px; }
  .features-heading { display: block; }
  .feature-card { min-height: 300px; padding: 30px 27px; }
  .feature-symbol { margin: 35px 0 22px; }
  .feature-tag { left: 27px; }
  .cta { display: block; }
  .cta-button { width: 100%; margin-top: 34px; }
  footer { padding: 48px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
