:root {
  --ink: #10150f;
  --ink-2: #1f2819;
  --paper: #fff2c7;
  --paper-2: #f3e3bb;
  --white: #fff9e7;
  --muted: #667257;
  --line: rgba(16, 18, 21, 0.14);
  --line-dark: rgba(255, 242, 199, 0.18);
  --teal: #5f7f35;
  --teal-dark: #304d24;
  --copper: #f49a2f;
  --lime: #fff0b4;
  --blue: #7f9850;
  --violet: #8a6a31;
  --radius: 8px;
  --max: 1180px;
  --shadow: 0 18px 46px rgba(16, 18, 21, 0.16);
}

* {
  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;
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.55;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

p,
ul {
  margin: 0;
}

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

h1 {
  font-size: 7rem;
  font-weight: 900;
}

h2 {
  font-size: 4.4rem;
  font-weight: 880;
  max-width: 850px;
}

h3 {
  font-size: 1.55rem;
  font-weight: 820;
}

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

.narrow {
  max-width: 920px;
}

.skip-link {
  position: absolute;
  left: 18px;
  top: -60px;
  z-index: 30;
  padding: 10px 14px;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--white);
}

.skip-link:focus {
  top: 18px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 242, 199, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: 0;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: var(--radius);
  object-fit: contain;
}

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

.nav-links a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 9px 13px;
  border-radius: var(--radius);
  color: var(--ink-2);
  font-size: 0.95rem;
  font-weight: 760;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  background: rgba(95, 127, 53, 0.16);
}

.nav-toggle {
  display: none;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  padding: 9px 13px;
  cursor: pointer;
  font-weight: 800;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 12px 18px;
  font-weight: 850;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

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

.button.primary {
  background: var(--ink);
  color: var(--white);
}

.button.primary:hover {
  background: var(--teal-dark);
}

.button.secondary {
  background: var(--white);
  color: var(--ink);
  border-color: var(--line);
}

.hero {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.14;
  background-image:
    linear-gradient(var(--line-dark) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-dark) 1px, transparent 1px);
  background-size: 42px 42px;
}

.hero-home {
  min-height: 620px;
  padding: 58px 0 28px;
}

.hero-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(480px, 0.92fr);
  gap: 52px;
  align-items: center;
}

.hero-copy-block {
  position: relative;
  z-index: 2;
}

.eyebrow,
.kicker {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--copper);
}

.hero-copy {
  max-width: 720px;
  margin-top: 24px;
  color: rgba(255, 253, 247, 0.78);
  font-size: 1.3rem;
}

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

.product-stage {
  position: relative;
  z-index: 1;
  min-height: 500px;
}

.sound-rail {
  position: absolute;
  left: 0;
  right: 40px;
  top: 48px;
  height: 158px;
  border: 1px solid rgba(255, 242, 199, 0.18);
  background: rgba(95, 127, 53, 0.08);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 0 24px;
}

.sound-rail span {
  width: 10px;
  border-radius: 99px;
  background: var(--copper);
  animation: wave 1.8s ease-in-out infinite;
}

.sound-rail span:nth-child(1) { height: 44px; }
.sound-rail span:nth-child(2) { height: 96px; animation-delay: 0.1s; }
.sound-rail span:nth-child(3) { height: 140px; animation-delay: 0.2s; background: var(--lime); }
.sound-rail span:nth-child(4) { height: 76px; animation-delay: 0.3s; background: #7f9850; }
.sound-rail span:nth-child(5) { height: 122px; animation-delay: 0.4s; background: var(--teal); }

@keyframes wave {
  0%, 100% { transform: scaleY(0.72); }
  50% { transform: scaleY(1); }
}

.phone-mock {
  position: absolute;
  left: 0;
  top: 68px;
  width: 238px;
  min-height: 420px;
  padding: 13px;
  border-radius: 30px;
  background: #070a05;
  box-shadow: var(--shadow);
}

.phone-top {
  width: 84px;
  height: 7px;
  margin: 5px auto 12px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.18);
}

.app-screen {
  min-height: 374px;
  border-radius: 22px;
  padding: 18px;
  background: #111a0f;
  border: 1px solid rgba(255, 242, 199, 0.14);
}

.waev-button {
  width: 142px;
  height: 142px;
  display: grid;
  place-items: center;
  margin: 24px auto 24px;
  border: 1px solid rgba(255, 242, 199, 0.18);
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(255, 242, 199, 0.16), rgba(95, 127, 53, 0.26));
  box-shadow:
    inset 0 0 0 1px rgba(255, 242, 199, 0.08),
    0 18px 46px rgba(0, 0, 0, 0.28);
  overflow: hidden;
}

.waev-button img {
  width: 118px;
  height: 118px;
  object-fit: contain;
  filter: drop-shadow(0 10px 16px rgba(0, 0, 0, 0.24));
}

.wallet-item {
  display: grid;
  gap: 5px;
  padding: 14px;
  border: 1px solid rgba(255, 242, 199, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 253, 247, 0.07);
}

.wallet-item small,
.wallet-item span {
  color: rgba(255, 253, 247, 0.58);
}

.wallet-item strong {
  color: var(--white);
}

.stamp-line {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  margin-top: 16px;
}

.stamp-line span {
  height: 10px;
  border-radius: 99px;
  background: var(--copper);
}

.stamp-line .empty {
  background: rgba(255, 242, 199, 0.18);
}

.campaign-console {
  position: absolute;
  right: 0;
  bottom: 18px;
  width: 352px;
  padding: 16px;
  border: 1px solid rgba(95, 127, 53, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 249, 231, 0.96);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.console-header {
  display: grid;
  gap: 5px;
}

.console-header span {
  color: var(--teal);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.console-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 18px;
}

.console-grid div {
  display: grid;
  gap: 4px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.console-grid strong {
  font-size: 1.35rem;
}

.console-grid span {
  color: var(--muted);
  font-size: 0.82rem;
}

.report-bars {
  height: 58px;
  display: flex;
  align-items: end;
  gap: 9px;
  margin-top: 18px;
}

.report-bars span {
  flex: 1;
  border-radius: 4px 4px 0 0;
  background: var(--teal);
}

.report-bars span:nth-child(1) { height: 34%; background: var(--teal-dark); }
.report-bars span:nth-child(2) { height: 62%; background: var(--teal); }
.report-bars span:nth-child(3) { height: 84%; background: var(--copper); }
.report-bars span:nth-child(4) { height: 48%; background: #7f9850; }
.report-bars span:nth-child(5) { height: 70%; background: #c59a3d; }

.proof-strip {
  margin-top: -1px;
  padding: 26px 0;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.proof-item {
  display: grid;
  gap: 8px;
  padding: 22px;
  background: var(--white);
}

.proof-item strong {
  font-size: 1.15rem;
}

.proof-item span {
  color: var(--muted);
}

.section {
  padding: 86px 0;
}

.section-tight {
  padding: 54px 0;
}

.split-head {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(300px, 0.55fr);
  gap: 42px;
  align-items: end;
  margin-bottom: 34px;
}

.lede {
  color: var(--ink-2);
  font-size: 1.18rem;
}

.muted {
  color: var(--muted);
}

.feature-grid,
.buyer-grid,
.pilot-fit {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.feature-card,
.buyer,
.fit-card,
.rate-card,
.package-block,
.form-card,
.flow-step {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: 26px;
}

.feature-card {
  min-height: 260px;
  display: flex;
  flex-direction: column;
}

.feature-number {
  margin-bottom: auto;
  color: var(--teal);
  font-weight: 950;
}

.feature-card h3,
.buyer h3,
.fit-card h3,
.rate-card h3,
.package-block h3,
.flow-step h3 {
  margin-bottom: 12px;
}

.feature-card p,
.buyer p,
.fit-card p,
.rate-card p,
.flow-step p {
  color: var(--muted);
}

.system-section,
.alt-section {
  background: var(--paper-2);
}

.metric-section {
  background: var(--paper);
}

.system-section {
  background: #ffffff;
  color: var(--ink);
}

.system-layout,
.deployment-layout,
.privacy-layout,
.contact-wrap,
.pilot-package,
.metric-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(360px, 0.72fr);
  gap: 32px;
  align-items: center;
}

.system-visual {
  display: grid;
  gap: 10px;
}

.venue-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 12px;
  align-items: center;
  padding: 18px;
  border: 1px solid rgba(255, 242, 199, 0.14);
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--white);
}

.venue-row span {
  color: var(--copper);
  font-weight: 900;
}

.venue-row.active {
  background: var(--teal-dark);
}

.system-copy,
.deployment-copy,
.contact-copy {
  display: grid;
  gap: 18px;
}

.plain-list {
  display: grid;
  gap: 10px;
  padding-left: 18px;
  color: var(--ink-2);
}

.plain-list li::marker {
  color: var(--teal);
}

.buyer {
  border-color: var(--line);
  background: #ffffff;
  color: var(--ink);
}

.buyer:nth-child(2) {
  border-color: var(--line);
}

.buyer:nth-child(3) {
  border-color: var(--line);
}

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

.system-section .lede,
.system-section .plain-list {
  color: var(--ink-2);
}

.system-section .plain-list li::marker {
  color: #10510f;
}

.system-section .venue-row {
  background: #132212;
}

.system-section .venue-row.active {
  background: #10510f;
}

.campaign-band,
.privacy-section,
.final-cta {
  background: var(--ink);
  color: var(--white);
}

.campaign-band .kicker,
.privacy-section .kicker,
.final-cta .kicker {
  color: var(--copper);
}

.campaign-layout,
.cta-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(360px, 0.65fr);
  gap: 34px;
  align-items: start;
}

.campaign-list {
  display: grid;
  gap: 1px;
  border: 1px solid var(--line-dark);
  background: var(--line-dark);
}

.campaign-list div {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 18px;
  padding: 18px;
  background: #151d12;
}

.campaign-list span,
.final-cta .lede,
.privacy-section p {
  color: rgba(255, 253, 247, 0.7);
}

.deck-section {
  position: relative;
  display: none;
  background: var(--paper);
  scroll-margin-top: 88px;
}

.deck-section.is-open,
.deck-section:target {
  display: block;
}

.deck-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(360px, 0.64fr);
  gap: 32px;
  align-items: start;
}

.deck-close {
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: rgba(16, 21, 15, 0.46);
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: 760;
  line-height: 1;
}

.deck-close:hover,
.deck-close:focus-visible {
  background: rgba(16, 21, 15, 0.08);
  color: var(--ink);
}

.deck-copy {
  display: grid;
  gap: 18px;
}

.cta-layout {
  align-items: center;
}

.page-hero {
  padding: 92px 0 44px;
  background: var(--ink);
  color: var(--white);
}

.page-hero .hero-copy {
  color: rgba(255, 253, 247, 0.74);
}

.page-hero h1 {
  max-width: 900px;
  font-size: 5.5rem;
}

.flow-layout {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.flow-step span {
  display: inline-flex;
  margin-bottom: 34px;
  color: var(--teal);
  font-weight: 950;
}

.deployment-visual {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.rate-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.privacy-panel {
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 28px;
}

.privacy-copy {
  display: grid;
  gap: 20px;
}

.check-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.check-grid span {
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 14px;
  color: rgba(255, 253, 247, 0.82);
}

.fit-card.dark {
  background: var(--ink);
  color: var(--white);
}

.fit-card.dark p {
  color: rgba(255, 253, 247, 0.76);
}

.timeline {
  display: grid;
  gap: 10px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 20px;
  align-items: start;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.timeline-item strong {
  color: var(--teal-dark);
}

.timeline-item span {
  color: var(--ink-2);
}

.metric-layout {
  align-items: start;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.metric-grid div {
  display: grid;
  gap: 8px;
  padding: 20px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
}

.metric-grid strong {
  font-size: 2.5rem;
  line-height: 1;
}

.metric-grid span {
  color: var(--muted);
}

.contact-section {
  background: var(--paper-2);
}

.form-card {
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 18px;
}

.form-field {
  display: grid;
  gap: 7px;
}

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

label {
  font-size: 0.88rem;
  font-weight: 820;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fffaf0;
  color: var(--ink);
  padding: 12px 13px;
}

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

.form-note {
  margin-top: 13px;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer {
  padding: 38px 0;
  border-top: 1px solid var(--line);
  background: #ffffff;
  color: var(--ink);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--muted);
}

.footer-links a:hover {
  color: var(--ink);
}

.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 480ms ease, transform 480ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }
}

@media (max-width: 1040px) {
  h1 {
    font-size: 5.2rem;
  }

  h2 {
    font-size: 3.5rem;
  }

  .hero-layout,
  .split-head,
  .system-layout,
  .deployment-layout,
  .privacy-layout,
  .contact-wrap,
  .pilot-package,
  .metric-layout,
  .deck-layout,
  .campaign-layout,
  .cta-layout {
    grid-template-columns: 1fr;
  }

  .product-stage {
    min-height: 500px;
  }

  .campaign-console {
    right: 20px;
  }

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

@media (max-width: 780px) {
  .container {
    width: min(100% - 26px, var(--max));
  }

  .nav {
    min-height: 66px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: fixed;
    inset: 66px 13px auto 13px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 253, 247, 0.98);
    box-shadow: var(--shadow);
  }

  body.menu-open .nav-links {
    display: flex;
  }

  .nav-links a {
    justify-content: flex-start;
    padding: 12px 13px;
  }

  h1,
  .page-hero h1 {
    font-size: 3.6rem;
  }

  h2 {
    font-size: 2.45rem;
  }

  .hero-home,
  .page-hero {
    padding-top: 56px;
  }

  .hero-copy {
    font-size: 1.08rem;
    margin-top: 18px;
  }

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

  .product-stage {
    min-height: 300px;
  }

  .sound-rail {
    right: 0;
    top: 8px;
    height: 104px;
  }

  .phone-mock {
    left: 50%;
    top: 16px;
    transform: translateX(-50%) scale(0.58);
    transform-origin: top center;
  }

  .campaign-console {
    display: none;
  }

  .proof-grid,
  .feature-grid,
  .buyer-grid,
  .pilot-fit,
  .flow-layout,
  .rate-grid,
  .metric-grid,
  .form-grid,
  .check-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 58px 0;
  }

  .campaign-list div,
  .timeline-item {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 430px) {
  h1,
  .page-hero h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 2.1rem;
  }

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

  .phone-mock {
    width: 246px;
  }
}
