/* Destenee Automated · The Deal Velocity System
   Brand: Espresso / Bone / Acid chartreuse. Archivo + IBM Plex Mono.
   Flat color only, sharp corners, hairline rules. */

:root {
  --espresso: #2B1A13;
  --bone: #F2EADD;
  --chartreuse: #D6F23C;
  --soft-bone: #E4D8C6;
  --muted-brown: #5A4436;
  --rule-brown: #8A7566;

  --font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --gutter: 16px;
  --max: 1160px;
  --header-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; } }

body {
  margin: 0;
  background: var(--espresso);
  color: var(--bone);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Subtle film grain over the whole page */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none; z-index: 100;
  opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

a { color: inherit; }
img, iframe { max-width: 100%; display: block; }
h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -0.025em; line-height: 1.02; }
p { margin: 0; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
@media (min-width: 768px) { :root { --gutter: 32px; } }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--chartreuse); color: var(--espresso); padding: 8px 12px; z-index: 200; }
.skip:focus { left: 8px; }

:focus-visible { outline: 2px solid var(--chartreuse); outline-offset: 3px; }

/* Type helpers */
.mono { font-family: var(--mono); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; }
.label {
  font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--soft-bone); margin-bottom: 20px;
}
.lede { font-size: clamp(17px, 2vw, 20px); color: var(--soft-bone); max-width: 640px; }

/* Buttons: chartreuse with espresso text, or espresso with chartreuse text */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 26px;
  font-family: var(--font); font-weight: 700; font-size: 16px; letter-spacing: .01em;
  text-decoration: none; border: 1px solid transparent; border-radius: 0;
  cursor: pointer; transition: transform .15s ease, background-color .15s ease, color .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--chartreuse); color: var(--espresso); }
.btn-primary:hover { background: var(--bone); }
.btn-ghost { border-color: var(--rule-brown); color: var(--bone); }
.btn-ghost:hover { border-color: var(--chartreuse); color: var(--chartreuse); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn-block { width: 100%; }

.text-link { color: var(--soft-bone); text-decoration: none; font-weight: 600; border-bottom: 1px solid var(--rule-brown); padding-bottom: 2px; }
.text-link:hover { color: var(--bone); border-color: var(--bone); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--espresso);
  border-bottom: 1px solid rgba(138, 117, 102, .35);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.logo { text-decoration: none; font-weight: 800; font-size: 16px; letter-spacing: .02em; white-space: nowrap; }
.logo .paren { font-weight: 200; color: var(--chartreuse); }
.logo-light { font-weight: 400; letter-spacing: 0; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a:not(.btn) { text-decoration: none; font-size: 14px; color: var(--soft-bone); }
.nav a:not(.btn):hover { color: var(--bone); }
@media (max-width: 767px) { .nav a:not(.btn) { display: none; } }

/* Hero */
.hero { padding: clamp(56px, 10vw, 120px) 0 clamp(56px, 8vw, 96px); }
.status { display: flex; align-items: center; gap: 10px; color: var(--soft-bone); margin-bottom: 40px; flex-wrap: wrap; }
.dot { width: 8px; height: 8px; background: var(--chartreuse); flex: none; animation: blink 1.6s steps(2, start) infinite; }
.hero h1 {
  font-size: clamp(40px, 7.4vw, 96px);
  font-weight: 800; font-stretch: 92%;
  letter-spacing: -0.035em; line-height: .98;
  max-width: 15ch; margin-bottom: 28px;
  text-wrap: balance;
}
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 28px; margin-top: 36px; }

.ticker {
  margin-top: clamp(48px, 7vw, 80px);
  border-top: 1px solid var(--rule-brown);
  max-width: 560px;
  color: var(--soft-bone);
  text-transform: none;
}
.ticker-row { display: flex; gap: 20px; padding: 10px 0; border-bottom: 1px dashed rgba(138, 117, 102, .5); }
.ticker-row .t { color: var(--rule-brown); flex: none; width: 52px; }
.ticker-row.is-live { color: var(--bone); border-bottom-style: solid; border-bottom-color: var(--rule-brown); }
.ticker-row.is-live .t { color: var(--bone); }
.cursor { margin-left: 4px; animation: blink 1s steps(2, start) infinite; }
@keyframes blink { to { visibility: hidden; } }

/* Sections */
.section { padding: clamp(64px, 10vw, 128px) 0; }
.section h2 { font-size: clamp(30px, 4.6vw, 56px); max-width: 20ch; margin-bottom: clamp(32px, 5vw, 56px); text-wrap: balance; }

/* Demo */
.demo { border-top: 1px solid rgba(138, 117, 102, .35); padding-top: clamp(56px, 8vw, 96px); }
.video-frame {
  position: relative; width: 100%; aspect-ratio: 16 / 9;
  background: #1F120D; border: 1px solid var(--rule-brown);
}
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-placeholder { position: absolute; inset: 0; display: grid; place-items: center; color: var(--rule-brown); padding: 16px; text-align: center; }

/* Bone sections */
.solve, .offer { background: var(--bone); color: var(--espresso); }
.solve .label, .offer .label { color: var(--muted-brown); }
.offer { padding-top: 0; }

.cards { display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--espresso); }
.card { padding: 28px 0 36px; border-bottom: 1px solid rgba(43, 26, 19, .25); }
.card-num { color: var(--muted-brown); margin-bottom: 20px; }
.card h3 { font-size: clamp(24px, 2.6vw, 32px); margin-bottom: 12px; }
.card p:last-child { color: var(--muted-brown); max-width: 34ch; }
@media (min-width: 860px) {
  .cards { grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid rgba(43, 26, 19, .25); }
  .card { padding: 32px 32px 48px; border-bottom: 0; border-left: 1px solid rgba(43, 26, 19, .25); }
  .card:first-child { padding-left: 0; border-left: 0; }
}

/* Offer */
.offer .wrap { border-top: 1px solid rgba(43, 26, 19, .25); padding-top: clamp(64px, 10vw, 128px); }
.tiers { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 860px) { .tiers { grid-template-columns: 1fr 1fr; gap: 0; } }
.tier { border: 1px solid var(--espresso); padding: 32px 24px; }
@media (min-width: 860px) {
  .tier { padding: 44px 40px; }
  .tier + .tier { border-left: 0; }
}
.tier-step { color: var(--muted-brown); margin-bottom: 20px; }
.tier h3 { font-size: clamp(24px, 2.6vw, 32px); margin-bottom: 12px; max-width: 16ch; }
.price { font-weight: 800; font-size: clamp(28px, 3.2vw, 40px); letter-spacing: -0.02em; margin-bottom: 12px; }
.price small { font-size: 16px; font-weight: 500; color: var(--muted-brown); letter-spacing: 0; }
.price:empty { display: none; }
.tier > p:not(.mono):not(.price) { color: var(--muted-brown); margin-bottom: 24px; }
.tier ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(43, 26, 19, .25); }
.tier li { padding: 12px 0 12px 22px; border-bottom: 1px solid rgba(43, 26, 19, .15); position: relative; font-size: 16px; }
.tier li::before { content: "→"; position: absolute; left: 0; color: var(--muted-brown); }

/* Final CTA */
.audit-inner { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.audit .mono { color: var(--soft-bone); text-transform: none; font-size: 14px; }
.audit h2 { font-size: clamp(48px, 10vw, 128px); font-weight: 700; letter-spacing: -0.045em; margin-bottom: 0; max-width: none; }
.accent { color: var(--chartreuse); }
.audit .btn { margin-top: 12px; }

/* Footer */
.site-footer { border-top: 1px solid rgba(138, 117, 102, .35); padding: 28px 0; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; color: var(--soft-bone); }
.logo-sm { font-size: 14px; }

/* Sticky mobile CTA */
.mobile-cta { display: none; }
@media (max-width: 767px) {
  .mobile-cta {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
    background: var(--espresso); border-top: 1px solid var(--rule-brown);
    transform: translateY(110%); transition: transform .25s ease;
  }
  .mobile-cta.is-visible { transform: none; }
  .site-footer { padding-bottom: 96px; }
  .hero-cta .btn { width: 100%; }
}

/* What's included (espresso) */
.engine { border-top: 1px solid rgba(138, 117, 102, .35); }
.engine h2 { margin-bottom: 24px; }
.engine-intro { font-size: clamp(17px, 2vw, 20px); color: var(--soft-bone); max-width: 680px; margin-bottom: clamp(40px, 6vw, 64px); }
.engine-sub { color: var(--rule-brown); margin-bottom: 0; padding-bottom: 16px; border-bottom: 1px solid var(--rule-brown); }
.features { display: grid; grid-template-columns: 1fr; }
.feature { padding: 28px 0 32px; border-bottom: 1px solid rgba(138, 117, 102, .35); }
.feature .card-num { color: var(--rule-brown); margin-bottom: 16px; }
.feature h3 { font-size: clamp(22px, 2.4vw, 28px); margin-bottom: 14px; max-width: 22ch; }
.feature ul { margin: 0; padding: 0; list-style: none; }
.feature li { color: var(--soft-bone); padding-left: 22px; position: relative; max-width: 52ch; }
.feature li + li { margin-top: 10px; }
.feature li::before { content: "→"; position: absolute; left: 0; color: var(--rule-brown); }
@media (min-width: 860px) {
  .features { grid-template-columns: 1fr 1fr; }
  .feature { padding: 36px 40px 44px 0; }
  .feature:nth-child(even) { padding: 36px 0 44px 40px; border-left: 1px solid rgba(138, 117, 102, .35); }
}

/* Timeline (bone) */
.timeline { background: var(--bone); color: var(--espresso); padding-top: 0; }
.timeline .label { color: var(--muted-brown); }
.timeline .wrap { border-top: 1px solid rgba(43, 26, 19, .25); padding-top: clamp(64px, 10vw, 128px); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--espresso); }
.step { padding: 24px 0 28px; border-bottom: 1px solid rgba(43, 26, 19, .25); }
.step-day { color: var(--muted-brown); margin-bottom: 14px; font-weight: 600; }
.step h3 { font-size: 22px; margin-bottom: 10px; letter-spacing: -0.015em; }
.step p:last-child { color: var(--muted-brown); font-size: 16px; }
@media (min-width: 860px) {
  .steps { grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid rgba(43, 26, 19, .25); }
  .step { padding: 28px 24px 40px; border-bottom: 0; border-left: 1px solid rgba(43, 26, 19, .25); }
  .step:first-child { padding-left: 0; border-left: 0; }
}
.tier li::before { content: "→"; }
