:root {
  --ink: #17201d;
  --muted: #69746d;
  --paper: #f5efe3;
  --paper-soft: #fbf7ef;
  --reed: #596f55;
  --reed-dark: #263d31;
  --clay: #b96941;
  --ochre: #d49b45;
  --sage: #cbd8bf;
  --line: rgba(23, 32, 29, 0.13);
  --shadow: 0 28px 80px rgba(47, 37, 25, 0.16);
  --radius: 28px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Manrope, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 9% 8%, rgba(212, 155, 69, 0.28), transparent 28rem),
    radial-gradient(circle at 86% 18%, rgba(89, 111, 85, 0.22), transparent 24rem),
    linear-gradient(135deg, #f8f1e4 0%, #f3eadb 44%, #e9dcc7 100%);
  min-height: 100vh;
}

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  opacity: 0.09;
  z-index: 50;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 220 220' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}

.site-header {
  position: sticky;
  top: 16px;
  z-index: 20;
  width: min(1160px, calc(100% - 32px));
  margin: 16px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  background: rgba(251, 247, 239, 0.78);
  backdrop-filter: blur(18px);
  box-shadow: 0 12px 40px rgba(40, 31, 20, 0.1);
}

.brand, .nav-links a, .nav-cta, .button { text-decoration: none; color: inherit; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: block;
  object-fit: cover;
  background: #f2d2b5;
  border: 1px solid rgba(47, 37, 25, 0.22);
  box-shadow: 0 8px 18px rgba(47, 37, 25, 0.16);
}
.brand strong, .brand small { display: block; line-height: 1.05; }
.brand small { color: var(--muted); font-size: 11px; margin-top: 3px; }
.nav-links { display: flex; gap: 24px; font-size: 14px; color: var(--muted); }
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper-soft);
  padding: 11px 18px;
  font-weight: 800;
  font-size: 14px;
}

.section-shell { width: min(1160px, calc(100% - 32px)); margin: 0 auto; }
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 0.94fr);
  gap: 56px;
  align-items: center;
  padding: 12px 0 74px;
}
.eyebrow {
  margin: 0 0 14px;
  color: var(--clay);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
h1, h2, h3 { font-family: Fraunces, serif; margin: 0; letter-spacing: -0.04em; }
h1 { font-size: clamp(46px, 7vw, 88px); line-height: 0.91; max-width: 760px; }
h2 { font-size: clamp(34px, 4.6vw, 62px); line-height: 0.98; }
h3 { font-size: 28px; line-height: 1.05; }
p { line-height: 1.75; }
.hero-lede { max-width: 640px; color: var(--muted); font-size: 18px; margin: 24px 0 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 32px 0 26px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  border-radius: 999px;
  padding: 0 22px;
  font-weight: 800;
}
.button.primary { background: var(--clay); color: white; box-shadow: 0 15px 35px rgba(185, 105, 65, 0.28); }
.button.secondary { border: 1px solid var(--line); background: rgba(255,255,255,0.35); }
.trust-row { display: flex; flex-wrap: wrap; gap: 10px; }
.trust-row span {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 13px;
  background: rgba(255,255,255,0.3);
}

.hero-visual { position: relative; min-height: 620px; display: grid; place-items: center; }
.dashboard-frame {
  width: min(100%, 560px);
  border: 1px solid rgba(255,255,255,0.7);
  border-radius: 34px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(255,255,255,.84), rgba(245,239,227,.72));
  box-shadow: var(--shadow);
  transform: rotate(2deg);
}
.frame-topbar { height: 58px; display: flex; align-items: center; gap: 8px; padding: 0 18px; border-bottom: 1px solid var(--line); }
.frame-topbar span { width: 10px; height: 10px; border-radius: 50%; background: var(--clay); opacity: .75; }
.frame-topbar p { margin-left: auto; color: var(--muted); font-size: 12px; }
.frame-grid { display: grid; grid-template-columns: 138px 1fr; min-height: 392px; }
.mini-sidebar { padding: 22px 16px; display: flex; flex-direction: column; gap: 14px; background: rgba(38,61,49,.08); color: var(--muted); font-size: 12px; }
.mini-sidebar b { color: var(--ink); }
.mini-main { padding: 22px; }
.metric-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.metric-strip div, .case-card, .split-panels div {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px;
  background: rgba(255,255,255,.55);
}
small { color: var(--muted); }
.metric-strip strong, .case-card strong, .split-panels strong { display: block; margin-top: 4px; }
.case-card { margin: 18px 0; display: flex; justify-content: space-between; align-items: center; }
.case-card span { background: var(--reed); color: white; border-radius: 999px; padding: 7px 10px; font-size: 12px; }
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 18px; }
.timeline i { height: 9px; border-radius: 99px; background: var(--ochre); }
.timeline .muted { background: rgba(23,32,29,.13); }
.split-panels { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.orbit-card {
  position: absolute;
  z-index: 2;
  border-radius: 22px;
  padding: 16px 18px;
  background: rgba(251,247,239,.88);
  border: 1px solid rgba(255,255,255,.78);
  box-shadow: 0 18px 45px rgba(47,37,25,.14);
  backdrop-filter: blur(14px);
}
.orbit-card strong, .orbit-card span { display: block; }
.orbit-card span { color: var(--muted); font-size: 13px; margin-top: 4px; }
.card-claims { top: 92px; left: 0; animation: floatOne 6s ease-in-out infinite; }
.card-cash { right: 8px; bottom: 96px; animation: floatTwo 7s ease-in-out infinite; }

.platform-section, .feature-list-section, .workflow-section, .audience-section, .cta-section { padding: 78px 0; }
.section-heading { max-width: 790px; margin-bottom: 32px; }
.section-heading p:not(.eyebrow), .demo-copy p, .cta-section p { color: var(--muted); font-size: 17px; }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.feature-card {
  min-height: 290px;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.55);
  padding: 26px;
  background: rgba(251,247,239,.62);
  box-shadow: 0 18px 48px rgba(47,37,25,.09);
}
.feature-card.tall { grid-row: span 2; background: var(--reed-dark); color: var(--paper-soft); }
.feature-card.wide { grid-column: span 2; }
.feature-card p { color: color-mix(in srgb, currentColor 68%, transparent); }
.feature-number { display: inline-block; margin-bottom: 42px; color: var(--clay); font-weight: 900; }
.tall .feature-number { color: var(--ochre); }

.feature-list-section { padding-top: 36px; }
.feature-list-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.feature-list-item {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 22px;
  background: rgba(255,255,255,.34);
}
.feature-list-item span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  margin-bottom: 28px;
  border-radius: 50%;
  background: var(--reed-dark);
  color: var(--paper-soft);
  font-size: 12px;
  font-weight: 900;
}
.feature-list-item h3 {
  font-size: 24px;
  letter-spacing: -0.02em;
}
.feature-list-item p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.demo-section {
  margin: 60px 0;
  padding: 84px 0;
  background: linear-gradient(120deg, var(--reed-dark), #43543d);
  color: var(--paper-soft);
  clip-path: polygon(0 7%, 100% 0, 100% 93%, 0 100%);
}
.demo-layout { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 38px; align-items: center; }
.demo-copy p { color: rgba(251,247,239,.74); }
.check-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.check-list li::before { content: ""; width: 9px; height: 9px; display: inline-block; margin-right: 10px; border-radius: 50%; background: var(--ochre); }
.demo-board {
  border-radius: 32px;
  padding: 18px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 30px 90px rgba(0,0,0,.22);
}
.demo-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.demo-tabs button {
  border: 0;
  border-radius: 999px;
  padding: 11px 14px;
  color: var(--paper-soft);
  background: rgba(255,255,255,.1);
  cursor: pointer;
  font-weight: 800;
}
.demo-tabs .active { background: var(--ochre); color: var(--ink); }
.demo-panel {
  display: none;
  min-height: 420px;
  border-radius: 24px;
  padding: 14px;
  background: rgba(251,247,239,.94);
  color: var(--ink);
}
.demo-panel.active { display: block; }
.demo-panel img {
  width: 100%;
  aspect-ratio: 16 / 10;
  display: block;
  object-fit: cover;
  object-position: top left;
  border-radius: 16px;
  border: 1px solid rgba(23,32,29,.12);
  box-shadow: 0 18px 44px rgba(23,32,29,.12);
}
.demo-panel div { padding: 20px 12px 6px; }
.demo-panel h3 { font-size: 26px; letter-spacing: -0.02em; }
.demo-panel p { margin: 10px 0 0; color: var(--muted); }
.progress-line { height: 14px; border-radius: 999px; background: rgba(23,32,29,.12); overflow: hidden; margin-top: 34px; }
.progress-line span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--clay), var(--ochre)); }

.workflow-grid { display: grid; grid-template-columns: 1fr auto 1fr; gap: 22px; align-items: center; }
.workflow-card { border: 1px solid var(--line); border-radius: 26px; padding: 28px; background: rgba(255,255,255,.35); }
.workflow-card.highlighted { background: var(--sage); }
.workflow-arrow { font-size: 42px; color: var(--clay); }
.audience-section { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.audience-card { border-radius: 26px; background: rgba(251,247,239,.66); border: 1px solid rgba(255,255,255,.58); padding: 26px; }
.audience-card p { color: var(--muted); }
.cta-section {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 36px;
  align-items: start;
  margin-bottom: 40px;
  border-radius: 38px;
  padding: 48px;
  background: var(--ink);
  color: var(--paper-soft);
}
.cta-section p { color: rgba(251,247,239,.72); }
.lead-form { display: grid; gap: 14px; }
.lead-form label { display: grid; gap: 7px; font-size: 13px; color: rgba(251,247,239,.76); }
.lead-form input,
.lead-form textarea {
  width: 100%;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 15px;
  padding: 14px 15px;
  font: inherit;
  color: var(--paper-soft);
  background: rgba(255,255,255,.08);
  outline: none;
}
.lead-form textarea {
  min-height: 104px;
  resize: vertical;
}
.lead-form input:focus,
.lead-form textarea:focus { border-color: var(--ochre); }
.hp-field { display: none; }
.lead-form button {
  border: 0;
  border-radius: 999px;
  padding: 15px 18px;
  background: var(--ochre);
  color: var(--ink);
  font-weight: 900;
  cursor: pointer;
}
.lead-form button[disabled] {
  cursor: wait;
  opacity: .72;
}
.lead-form small.success { color: #a9e6b1; }
.lead-form small.error { color: #ffb4a2; }
.lead-form small { color: rgba(251,247,239,.55); }
.site-footer {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto 28px;
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 13px;
}
.site-footer a {
  color: inherit;
  font-weight: 800;
  text-decoration: none;
}
.site-footer a:hover { color: var(--ink); }

[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

@keyframes floatOne { 0%,100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-16px) rotate(2deg); } }
@keyframes floatTwo { 0%,100% { transform: translateY(0) rotate(3deg); } 50% { transform: translateY(14px) rotate(-2deg); } }

@media (max-width: 920px) {
  .nav-links { display: none; }
  .hero, .demo-layout, .cta-section { grid-template-columns: 1fr; }
  .hero { padding-top: 12px; }
  .hero-visual { min-height: 500px; }
  .feature-grid, .feature-list-grid, .audience-section { grid-template-columns: 1fr 1fr; }
  .feature-card.tall, .feature-card.wide { grid-column: auto; grid-row: auto; }
  .workflow-grid { grid-template-columns: 1fr; }
  .workflow-arrow { transform: rotate(90deg); text-align: center; }
}

@media (max-width: 640px) {
  .site-header { top: 8px; border-radius: 24px; }
  .brand-mark {
    background: #f2d2b5;
    border-color: rgba(47, 37, 25, 0.36);
    box-shadow: 0 0 0 3px rgba(251, 247, 239, 0.92), 0 8px 18px rgba(47, 37, 25, 0.2);
  }
  .brand small, .nav-cta { display: none; }
  h1 { font-size: 45px; }
  .hero-visual { min-height: 440px; }
  .dashboard-frame { transform: none; }
  .frame-grid { grid-template-columns: 1fr; }
  .mini-sidebar { display: none; }
  .metric-strip, .split-panels, .feature-grid, .feature-list-grid, .audience-section { grid-template-columns: 1fr; }
  .orbit-card { display: none; }
  .demo-section { clip-path: none; }
  .demo-tabs button { flex: 1 1 auto; }
  .demo-panel { min-height: 0; }
  .cta-section { padding: 28px; border-radius: 28px; }
  .site-footer { flex-direction: column; }
}
