:root {
  --gold: #d7a323;
  --gold-2: #f4cd62;
  --ink: #18140b;
  --charcoal: #242015;
  --muted: #6f6755;
  --line: #e9ddc1;
  --paper: #fffaf0;
  --white: #ffffff;
  --green: #234c3c;
  --shadow: 0 18px 55px rgba(64, 48, 12, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 250, 240, 0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(215, 163, 35, 0.2);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand img {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 8px 22px rgba(215, 163, 35, 0.28);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  color: #4f4634;
  font-size: 0.95rem;
}

.nav-links a {
  padding: 8px 0;
  border-bottom: 2px solid transparent;
}

.nav-links a:hover,
.nav-links .active {
  color: var(--ink);
  border-bottom-color: var(--gold);
}

.nav-cta,
.btn,
button {
  border: 0;
  cursor: pointer;
  font: inherit;
}

.nav-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 750;
  background: var(--ink);
  color: var(--white);
  box-shadow: 0 12px 30px rgba(24, 20, 11, 0.16);
}

.btn.secondary {
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: none;
}

.section {
  padding: 92px 0;
}

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

.hero {
  min-height: calc(100vh - 76px);
  display: grid;
  align-items: center;
  background:
    linear-gradient(110deg, rgba(24, 20, 11, 0.9) 0%, rgba(24, 20, 11, 0.74) 48%, rgba(24, 20, 11, 0.2) 100%),
    url("https://images.unsplash.com/photo-1611974789855-9c2a0a7236a3?q=80&w=1769&auto=format&fit=crop") center/cover;
  color: var(--white);
}

.hero-inner {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 76px 0 54px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  color: #2d2306;
  background: linear-gradient(135deg, var(--gold-2), #fff1a6);
  font-weight: 800;
  font-size: 0.82rem;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.05;
  letter-spacing: 0;
}

h1 {
  max-width: 790px;
  margin-top: 24px;
  font-size: clamp(3rem, 8vw, 6.4rem);
}

.hero p {
  max-width: 690px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
}

.hero-actions,
.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.hero-actions .btn:first-child {
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  color: #211705;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 760px;
  margin-top: 54px;
}

.stat {
  min-height: 112px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
}

.stat strong {
  display: block;
  font-size: 1.65rem;
  line-height: 1;
}

.stat span {
  display: block;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
}

.section-title {
  max-width: 740px;
  margin-bottom: 44px;
}

.section-title h2 {
  font-size: clamp(2rem, 4vw, 3.6rem);
}

.section-title p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.split {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 52px;
  align-items: center;
}

.panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.market-panel {
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(244, 205, 98, 0.22), transparent 48%),
    var(--white);
}

.chart-line {
  height: 180px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, transparent 8%, rgba(35, 76, 60, 0.14) 8% 12%, transparent 12% 24%, rgba(215, 163, 35, 0.24) 24% 30%, transparent 30%),
    repeating-linear-gradient(0deg, transparent 0 35px, rgba(215, 163, 35, 0.18) 36px),
    linear-gradient(180deg, #fff8df, #ffffff);
  position: relative;
  overflow: hidden;
}

.chart-line::after {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 54%;
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--green), var(--gold), var(--gold-2));
  transform: skewY(-10deg);
  box-shadow: 0 -40px 0 -2px rgba(215, 163, 35, 0.22), 0 42px 0 -2px rgba(35, 76, 60, 0.1);
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.metric {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 240, 0.76);
}

.metric span {
  color: var(--muted);
  font-size: 0.85rem;
}

.metric strong {
  display: block;
  margin-top: 6px;
  font-size: 1.22rem;
}

.feature-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.feature {
  min-height: 230px;
  padding: 24px;
  border-radius: 8px;
  background: var(--paper);
  border: 1px solid var(--line);
}

.icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  color: #241906;
  font-weight: 900;
}

.feature h3,
.legal-section h2 {
  margin-top: 20px;
  font-size: 1.2rem;
}

.feature p,
.legal-section p,
.legal-section li {
  color: var(--muted);
}

.band {
  background: linear-gradient(135deg, #201a0e, #3b2d10);
  color: var(--white);
}

.band .section-title p,
.band .step p {
  color: rgba(255, 255, 255, 0.74);
}

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

.step {
  min-height: 214px;
  padding: 28px;
  border-radius: 8px;
  border: 1px solid rgba(244, 205, 98, 0.22);
  background: rgba(255, 255, 255, 0.06);
}

.step-num {
  color: var(--gold-2);
  font-size: 0.9rem;
  font-weight: 850;
}

.scenario {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 26px;
  align-items: stretch;
}

.scenario-media {
  min-height: 420px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 72% 24%, rgba(244, 205, 98, 0.5), transparent 18%),
    linear-gradient(135deg, rgba(35, 76, 60, 0.12), transparent 34%),
    linear-gradient(180deg, #fff6dc, #ffffff);
  position: relative;
}

.scenario-media::before,
.scenario-media::after {
  content: "";
  position: absolute;
  border-radius: 8px;
}

.scenario-media::before {
  left: 12%;
  right: 12%;
  top: 18%;
  height: 46%;
  border: 1px solid rgba(215, 163, 35, 0.42);
  background:
    repeating-linear-gradient(0deg, transparent 0 27px, rgba(215, 163, 35, 0.18) 28px),
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(244, 205, 98, 0.24));
  box-shadow: var(--shadow);
}

.scenario-media::after {
  left: 22%;
  right: 22%;
  bottom: 17%;
  height: 16px;
  background: linear-gradient(90deg, var(--green), var(--gold), var(--gold-2));
  transform: skewY(-8deg);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.scenario-list {
  display: grid;
  gap: 14px;
}

.scenario-item {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.quote-grid,
.contact-grid,
.download-grid,
.legal-grid,
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.quote,
.value-card,
.legal-card,
.download-card,
.contact-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.split .value-grid,
.split .contact-grid {
  grid-template-columns: 1fr;
}

.quote p {
  margin-top: 0;
  color: #3e3525;
}

.quote strong {
  color: var(--muted);
  font-size: 0.92rem;
}

.cta-band {
  padding: 56px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  color: #211705;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}

.cta-band h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
}

.footer {
  padding: 44px 0;
  background: #141109;
  color: rgba(255, 255, 255, 0.76);
}

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

.footer a {
  color: var(--gold-2);
}

.page-hero {
  padding: 88px 0 68px;
  background:
    radial-gradient(circle at 82% 20%, rgba(244, 205, 98, 0.42), transparent 26%),
    linear-gradient(135deg, #fff9e9, #ffffff);
}

.page-hero h1 {
  color: var(--ink);
  font-size: clamp(2.7rem, 6vw, 5.2rem);
}

.page-hero p {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.14rem;
}

.about-photo,
.download-photo {
  min-height: 470px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.about-photo img,
.download-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.legal-shell {
  max-width: 900px;
  margin: 0 auto;
}

.legal-note {
  padding: 24px;
  margin-bottom: 26px;
  border-radius: 8px;
  background: var(--paper);
  border: 1px solid var(--line);
}

.legal-section {
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.legal-section h2 {
  margin: 0 0 12px;
}

.form-panel {
  padding: 30px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.field {
  display: grid;
  gap: 8px;
}

.field.full {
  grid-column: 1 / -1;
}

label {
  font-weight: 750;
  color: #3d341f;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 48px;
  padding: 12px 14px;
  font: inherit;
  color: var(--ink);
  background: var(--white);
}

textarea {
  min-height: 150px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(215, 163, 35, 0.24);
  border-color: var(--gold);
}

.check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--muted);
}

.check input {
  width: 18px;
  min-height: 18px;
  margin-top: 4px;
}

.form-message {
  min-height: 24px;
  color: var(--green);
  font-weight: 750;
}

.download-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.store-btn {
  min-width: 180px;
  padding: 14px 18px;
  border-radius: 8px;
  background: #141109;
  color: var(--white);
}

.store-btn span {
  display: block;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.76rem;
}

.h5-page {
  background: var(--paper);
}

.h5-shell {
  width: min(760px, calc(100% - 28px));
  margin: 0 auto;
  padding: 28px 0 48px;
}

.h5-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
  font-weight: 850;
}

.h5-brand img {
  width: 50px;
  height: 50px;
  border-radius: 10px;
}

.h5-section {
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

@media (max-width: 900px) {
  .nav {
    min-height: auto;
    padding: 14px 0;
    align-items: flex-start;
  }

  .nav,
  .footer-inner,
  .cta-band {
    flex-direction: column;
  }

  .nav-links {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .split,
  .scenario,
  .cta-band {
    grid-template-columns: 1fr;
  }

  .feature-flow,
  .steps,
  .quote-grid,
  .contact-grid,
  .download-grid,
  .legal-grid,
  .value-grid,
  .hero-stats {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .section {
    padding: 64px 0;
  }

  .cta-band {
    padding: 32px;
  }

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