:root {
  color-scheme: dark;
  --ink: #101113;
  --ink-2: #15191c;
  --panel: #2b303a;
  --panel-deep: #172220;
  --panel-soft: #20252c;
  --cream: #f2efe7;
  --muted: #c9c3b7;
  --muted-2: #948f86;
  --gold: #d0a75d;
  --gold-2: #f1d689;
  --danger: #c94d4f;
  --danger-soft: #4a1d20;
  --line: rgba(242, 239, 231, 0.14);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 76px;
  padding: 12px clamp(18px, 4vw, 56px);
  background: rgba(16, 17, 19, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

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

.brand img {
  width: 58px;
  height: 50px;
  object-fit: cover;
  border: 1px solid rgba(208, 167, 93, 0.35);
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  color: var(--muted);
  font-size: 0.92rem;
}

.desktop-nav a {
  padding: 8px 0;
}

.desktop-nav a:hover,
.desktop-nav a:focus-visible {
  color: var(--cream);
}

.header-actions,
.hero-actions,
.contact-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.link-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  line-height: 1.1;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.link-button:hover,
.link-button:focus-visible {
  transform: translateY(-1px);
}

.link-button.primary {
  background: var(--gold);
  color: #12110f;
  border-color: var(--gold);
}

.link-button.secondary {
  border-color: rgba(208, 167, 93, 0.7);
  color: var(--cream);
  background: rgba(208, 167, 93, 0.08);
}

.link-button.ghost {
  border-color: rgba(242, 239, 231, 0.32);
  color: var(--cream);
  background: rgba(242, 239, 231, 0.06);
}

.link-button.large {
  min-height: 54px;
  padding: 0 24px;
  font-size: 1rem;
}

.hero {
  position: relative;
  min-height: calc(88svh - 76px);
  overflow: hidden;
  isolation: isolate;
  display: flex;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(16, 17, 19, 0.98) 0%, rgba(16, 17, 19, 0.88) 46%, rgba(16, 17, 19, 0.18) 100%),
    #101113;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(16, 17, 19, 0.06), rgba(16, 17, 19, 0.62)),
    url("assets/apex-machine.png") right 7vw center / min(42vw, 560px) auto no-repeat;
  opacity: 0.92;
}

.hero::after {
  content: "";
  position: absolute;
  right: clamp(22px, 8vw, 120px);
  bottom: 0;
  z-index: -1;
  width: min(38vw, 560px);
  height: 76%;
  border-right: 1px solid rgba(208, 167, 93, 0.38);
  border-bottom: 1px solid rgba(208, 167, 93, 0.38);
  opacity: 0.52;
}

.hero-inner {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(56px, 7vw, 92px) 0 clamp(60px, 7vw, 84px);
}

.hero-inner > * {
  max-width: 780px;
}

.eyebrow {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 14px;
}

h1,
h2,
h3 {
  font-weight: 900;
  line-height: 0.98;
}

h1 {
  max-width: 900px;
  font-size: clamp(3rem, 6.2vw, 5.8rem);
}

h2 {
  font-size: clamp(2.15rem, 5vw, 5rem);
}

h3 {
  font-size: clamp(1.45rem, 2.6vw, 2.3rem);
}

.hero h1 {
  color: var(--cream);
}

.hero-copy {
  margin-top: 26px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  max-width: 720px;
}

.hero-actions {
  margin-top: 34px;
}

.trust-note {
  margin-top: 18px;
  color: var(--gold-2);
  font-weight: 800;
}

.section {
  padding: clamp(70px, 9vw, 126px) 0;
}

.section-inner {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.75fr);
  gap: clamp(28px, 6vw, 82px);
  align-items: end;
  margin-bottom: 42px;
}

.section-heading.wide {
  grid-template-columns: minmax(0, 1fr);
  max-width: 900px;
}

.section-heading p,
.product-copy p,
.restocking-section p,
.proof-copy p,
.contact-panel p {
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.2rem);
}

.problem-section {
  background: #2a2f38;
  border-top: 1px solid var(--line);
}

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

.problem-card {
  min-height: 290px;
  padding: 38px 34px;
  background: var(--panel-deep);
  border: 1px solid rgba(208, 167, 93, 0.24);
  border-top: 8px solid var(--gold);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.problem-card.warning {
  background: var(--danger-soft);
  border-color: rgba(201, 77, 79, 0.7);
  border-top-color: var(--danger);
}

.problem-card span {
  display: block;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 34px;
}

.problem-card h3 {
  color: var(--cream);
  margin-bottom: 26px;
}

.problem-card.warning h3 {
  color: #ff8383;
}

.problem-card p {
  color: var(--muted);
  padding-top: 22px;
  border-top: 1px solid rgba(242, 239, 231, 0.18);
}

.product-section {
  background: var(--ink);
}

.product-layout,
.proof-layout,
.promise-layout,
.split {
  display: grid;
  grid-template-columns: minmax(280px, 0.76fr) minmax(0, 1fr);
  gap: clamp(34px, 7vw, 92px);
  align-items: center;
}

.machine-stage,
.proof-image {
  display: flex;
  justify-content: center;
  background: #050505;
  border: 1px solid rgba(208, 167, 93, 0.18);
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.machine-stage img {
  width: min(100%, 470px);
}

.product-copy {
  max-width: 680px;
}

.product-copy h2,
.restocking-section h2,
.proof-copy blockquote p,
.contact-panel h2 {
  margin-bottom: 22px;
}

.feature-pills {
  list-style: none;
  padding: 0;
  margin: 34px 0 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.feature-pills li {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 12px 14px;
  border: 2px solid rgba(208, 167, 93, 0.75);
  border-radius: 8px;
  color: var(--gold-2);
  font-weight: 800;
  text-align: center;
  background: rgba(208, 167, 93, 0.06);
}

.package-section {
  background: #111719;
  border-block: 1px solid rgba(208, 167, 93, 0.14);
}

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

.package-card {
  min-height: 230px;
  padding: 28px;
  background: var(--panel);
  border: 1px solid rgba(242, 239, 231, 0.08);
  border-top: 8px solid var(--gold);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.card-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.card-topline span,
.card-topline strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 54px;
  min-height: 42px;
  padding: 8px 14px;
  border: 1px solid rgba(208, 167, 93, 0.72);
  border-radius: 8px;
  color: var(--gold-2);
  font-weight: 900;
}

.package-card p {
  margin-top: 24px;
  color: var(--muted);
  max-width: 520px;
}

.restocking-section {
  background: #2e3d36;
}

.split {
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 1fr);
}

.stock-panel {
  padding: clamp(24px, 4vw, 40px);
  background: #111c19;
  border: 2px solid rgba(208, 167, 93, 0.72);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.stock-row {
  display: grid;
  grid-template-columns: 120px 1fr 54px;
  gap: 18px;
  align-items: center;
  margin-bottom: 24px;
  color: var(--muted);
}

.stock-row span,
.stock-row strong {
  font-weight: 800;
}

.bar {
  height: 26px;
  background: #30443d;
  overflow: hidden;
}

.bar i {
  display: block;
  height: 100%;
  background: var(--gold);
}

.stock-row.low .bar i {
  background: var(--danger);
}

.stock-row.low strong {
  color: #ff8585;
}

.stock-message {
  margin-top: 8px;
  padding: 16px;
  border: 1px solid rgba(208, 167, 93, 0.75);
  border-radius: 8px;
  color: var(--gold-2);
  font-weight: 800;
  text-align: center;
}

.promise-section {
  background: #2b303a;
}

.promise-layout {
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1fr);
  align-items: start;
}

.promise-list {
  display: grid;
  gap: 0;
}

.promise-list article {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 22px;
  padding: 26px 0;
  border-bottom: 1px solid rgba(242, 239, 231, 0.13);
}

.promise-list article:first-child {
  padding-top: 0;
}

.promise-list span {
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(208, 167, 93, 0.72);
  border-radius: 50%;
  color: var(--gold-2);
  font-weight: 900;
}

.promise-list h3 {
  margin-bottom: 8px;
  font-size: clamp(1.45rem, 2.5vw, 2rem);
}

.promise-list p {
  color: var(--muted);
}

.proof-section {
  background: var(--ink);
}

.proof-layout {
  grid-template-columns: minmax(260px, 0.58fr) minmax(0, 1fr);
}

.proof-image img {
  width: min(100%, 420px);
}

.proof-copy blockquote {
  margin: 0 0 24px;
  padding: 0;
}

.proof-copy blockquote p {
  color: var(--cream);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.05rem, 4.8vw, 4.35rem);
  font-style: italic;
  line-height: 1.05;
}

.proof-location {
  color: var(--cream);
  font-weight: 800;
  margin-bottom: 28px;
}

.contact-section {
  background:
    linear-gradient(180deg, rgba(17, 23, 25, 0.96), rgba(16, 17, 19, 0.96)),
    var(--ink);
  padding-bottom: clamp(92px, 10vw, 140px);
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  padding: clamp(28px, 5vw, 56px);
  background: var(--panel);
  border: 2px solid rgba(208, 167, 93, 0.65);
  border-top-width: 8px;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.contact-panel h2 {
  font-size: clamp(2.2rem, 5vw, 5.1rem);
}

.contact-card {
  display: grid;
  gap: 12px;
  padding: 28px;
  background: #111719;
  border: 1px solid rgba(242, 239, 231, 0.11);
  border-radius: 8px;
  font-style: normal;
}

.contact-card strong {
  font-size: clamp(1.7rem, 4vw, 2.55rem);
  line-height: 1.04;
}

.contact-card span {
  color: var(--gold);
  font-weight: 900;
  text-transform: uppercase;
}

.contact-card a {
  color: var(--cream);
  overflow-wrap: anywhere;
}

.contact-actions {
  grid-column: 1 / -1;
}

.site-footer {
  display: flex;
  justify-content: center;
  gap: 22px;
  flex-wrap: wrap;
  padding: 28px 20px 96px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.site-footer span {
  color: var(--gold);
  font-weight: 900;
}

.mobile-contact {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 30;
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 10px;
  background: rgba(16, 17, 19, 0.92);
  border: 1px solid var(--line);
  border-radius: 8px;
  backdrop-filter: blur(12px);
}

.mobile-contact a {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-weight: 900;
}

.mobile-contact a:first-child {
  background: var(--gold);
  color: #11110f;
}

.mobile-contact a:last-child {
  border: 1px solid rgba(208, 167, 93, 0.72);
  color: var(--cream);
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto 1fr;
  }

  .desktop-nav {
    display: none;
  }

  .header-actions {
    justify-content: end;
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(16, 17, 19, 0.84), rgba(16, 17, 19, 0.98)),
      url("assets/apex-machine.png") right -28px bottom 8px / min(56vw, 380px) auto no-repeat;
  }

  .hero::after {
    width: 44vw;
  }

  .section-heading,
  .product-layout,
  .proof-layout,
  .promise-layout,
  .split,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .problem-grid,
  .package-grid {
    grid-template-columns: 1fr;
  }

  .problem-card {
    min-height: 230px;
  }

  .machine-stage,
  .proof-image {
    max-width: 460px;
    margin: 0 auto;
  }
}

@media (max-width: 720px) {
  .site-header {
    position: static;
    min-height: 70px;
    padding: 10px 18px;
  }

  .brand img {
    width: 52px;
    height: 46px;
  }

  .header-actions {
    display: none;
  }

  .hero {
    min-height: calc(78svh - 70px);
    align-items: flex-start;
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(16, 17, 19, 0.84), rgba(16, 17, 19, 0.98) 72%),
      url("assets/apex-machine.png") center bottom / min(76vw, 360px) auto no-repeat;
    opacity: 0.72;
  }

  .hero::after {
    display: none;
  }

  .hero-inner {
    width: min(100% - 32px, var(--max));
    padding-top: 56px;
    padding-bottom: 44px;
  }

  h1 {
    font-size: clamp(2.65rem, 12vw, 3.25rem);
  }

  h2 {
    font-size: clamp(2.15rem, 11vw, 3.4rem);
  }

  .hero-actions {
    display: none;
  }

  .trust-note {
    margin-top: 20px;
    padding-right: 88px;
    font-size: 0.95rem;
  }

  .contact-actions {
    align-items: stretch;
  }

  .hero-actions .link-button,
  .contact-actions .link-button {
    width: 100%;
  }

  .section {
    padding: 64px 0;
  }

  .section-inner {
    width: min(100% - 32px, var(--max));
  }

  .feature-pills {
    grid-template-columns: 1fr;
  }

  .stock-panel {
    padding: 20px;
  }

  .stock-row {
    grid-template-columns: 1fr 48px;
    gap: 10px 14px;
  }

  .stock-row .bar {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .promise-list article {
    grid-template-columns: 44px 1fr;
    gap: 16px;
  }

  .promise-list span {
    width: 40px;
    height: 40px;
  }

  .contact-panel {
    padding: 24px;
  }

  .contact-card {
    padding: 22px;
  }

  .mobile-contact {
    display: grid;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
