/* DatA+ marketing site. Light, professional, trustworthy: deep navy ink on warm
   paper with a single restrained clay accent. Editorial premium, not AI-SaaS neon.
   Native scroll, no motion libraries. No em-dashes, no default fonts, no gradients. */

:root {
  --paper: #f7f4ee;
  --paper-2: #efe9df;
  --card: #ffffff;
  --ink: #16243a;
  --ink-2: #3a4759;
  --muted: #6c7789;
  --line: #e5ded2;
  --line-2: #d9d1c2;
  --navy: #16243a;
  --navy-2: #1e3049;
  --accent: #bd5a3c;
  --accent-deep: #a54d33;
  --ok: #2f8f5f;

  --shadow-sm: 0 1px 2px rgba(22, 36, 58, 0.05);
  --shadow: 0 2px 6px rgba(22, 36, 58, 0.06), 0 14px 34px -20px rgba(22, 36, 58, 0.22);
  --shadow-lg: 0 4px 10px rgba(22, 36, 58, 0.07), 0 26px 60px -28px rgba(22, 36, 58, 0.32);

  --font-display: "Cabinet Grotesk", "Space Grotesk", system-ui, sans-serif;
  --font-body: "General Sans", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --maxw: 1160px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--paper);
  color: var(--ink-2);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}
ul {
  list-style: none;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.06;
  color: var(--ink);
}

::selection {
  background: var(--ink);
  color: var(--paper);
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
}
.wrap.narrow {
  max-width: 880px;
}
.mono {
  font-family: var(--font-mono);
}
.kicker {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
/* Was a gradient accent; now a restrained clay highlight. */
.grad-text {
  color: var(--accent);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  padding: 12px 22px;
  border-radius: 8px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s var(--ease), background 0.18s var(--ease), border-color 0.18s var(--ease), color 0.18s var(--ease);
}
.btn-primary {
  background: var(--navy);
  color: var(--paper);
}
.btn-primary:hover {
  background: var(--navy-2);
  transform: translateY(-1px);
}
.btn-ghost {
  border-color: var(--line-2);
  color: var(--ink);
  background: var(--card);
}
.btn-ghost:hover {
  border-color: var(--ink);
}

/* Nav */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 28px;
  border-bottom: 1px solid transparent;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.nav.scrolled {
  background: rgba(247, 244, 238, 0.82);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.brand {
  display: flex;
  align-items: center;
}
.brand-logo {
  height: 34px;
  width: auto;
  display: block;
}
.foot-logo {
  height: 26px;
  width: auto;
  display: block;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
}
.nav-links a:not(.btn) {
  font-size: 14px;
  color: var(--ink-2);
  transition: color 0.18s var(--ease);
}
.nav-links a:not(.btn):hover {
  color: var(--accent);
}
.nav-links .btn {
  padding: 9px 18px;
  font-size: 14px;
}

/* Section rhythm */
section {
  position: relative;
  padding: 96px 0;
}
section[id] {
  scroll-margin-top: 84px;
}
.eyebrow {
  margin-bottom: 18px;
}
.section-title {
  font-size: clamp(30px, 4.2vw, 50px);
  max-width: 18ch;
}
.section-lead {
  margin-top: 18px;
  max-width: 56ch;
  color: var(--ink-2);
  font-size: clamp(16px, 1.5vw, 18px);
}
.section-lead + .section-lead {
  margin-top: 14px;
}

/* Hero */
.hero {
  min-height: 92svh;
  display: flex;
  align-items: center;
  padding: 130px 0 80px;
}
.hero .wrap {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(42px, 6.4vw, 78px);
  line-height: 1.0;
}
.hero h1 span[data-hero] {
  display: block;
}
.hero-sub {
  margin-top: 26px;
  max-width: 46ch;
  font-size: clamp(17px, 1.5vw, 19px);
  color: var(--ink-2);
}
.hero-cta {
  margin-top: 34px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.hero-meta {
  margin-top: 40px;
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hero-meta b {
  color: var(--ink);
  font-weight: 600;
}

/* Hero product mockup (light) */
.mockup {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.mockup-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.mockup-bar i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--line-2);
}
.mockup-bar span {
  margin-left: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
}
.mockup-body {
  padding: 20px;
}
.mockup-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.mockup-row:last-child {
  border-bottom: 0;
}
.mockup-row .lbl {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-2);
}
.mockup-row .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.dot.ok {
  background: var(--ok);
}
.dot.warn {
  background: var(--accent);
}
.mockup-row .val {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--ink);
}
.mockup-row .val.fix {
  color: var(--accent);
}
.mockup-chart {
  margin-top: 14px;
  height: 66px;
  display: flex;
  align-items: flex-end;
  gap: 6px;
}
.mockup-chart span {
  flex: 1;
  background: var(--navy);
  border-radius: 3px 3px 0 0;
  opacity: 0.9;
  height: var(--h);
}

/* Statement */
#shift {
  text-align: center;
  padding: 80px 0;
}
.statement {
  font-size: clamp(28px, 3.6vw, 46px);
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin: 16px auto 0;
  max-width: 24ch;
}

/* Operator loop */
.loop {
  position: relative;
  margin-top: 52px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}
.signal-line {
  position: absolute;
  top: 21px;
  left: 6%;
  width: 88%;
  height: 2px;
  background: var(--line-2);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.1s var(--ease);
}
.loop.drawn .signal-line {
  transform: scaleX(1);
  background: var(--navy);
}
.loop-step {
  position: relative;
  padding-top: 6px;
}
.loop-step .node {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--paper);
  border: 1.5px solid var(--line-2);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
  transition: color 0.4s var(--ease), border-color 0.4s var(--ease), background 0.4s var(--ease);
}
.loop-step.lit .node {
  color: #fff;
  background: var(--accent);
  border-color: var(--accent);
}
.loop-step h3 {
  margin-top: 16px;
  font-size: 19px;
}
.loop-step p {
  margin-top: 8px;
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.5;
}

/* Capabilities bento */
.bento {
  margin-top: 52px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.cell {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease);
}
.cell-wide {
  grid-column: span 2;
  flex-direction: row;
  align-items: center;
  gap: 28px;
}
.cell-wide .cell-head {
  flex: 1;
}
.cell:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.cell:not(.cell-wide) .viz {
  margin-top: auto;
}
.cell h3 {
  font-size: 20px;
}
.cell p {
  margin-top: 10px;
  color: var(--ink-2);
  font-size: 14.5px;
}
.cell-wide p {
  font-size: 15.5px;
  max-width: 42ch;
}

/* Bento micro-visuals */
.viz {
  border-radius: 10px;
}
.viz-bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 120px;
  min-width: 200px;
  padding: 14px;
  background: var(--paper);
  border: 1px solid var(--line);
}
.viz-bars span {
  flex: 1;
  height: var(--h);
  border-radius: 4px 4px 0 0;
  background: var(--navy);
  opacity: 0.88;
}
.viz-bars span:last-child {
  background: var(--accent);
  opacity: 1;
}
.viz-diff {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  font-size: 13px;
}
.viz-diff .old {
  color: var(--muted);
  text-decoration: line-through;
}
.viz-diff .new {
  color: var(--ink);
  font-weight: 500;
}
.viz-checks {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--ink-2);
}
.viz-checks i {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 8px;
}
.viz-checks i.ok {
  background: var(--ok);
}
.viz-checks i.warn {
  background: var(--accent);
}
.viz-track {
  padding: 16px 14px;
  background: var(--paper);
  border: 1px solid var(--line);
}
.viz-track .track {
  display: block;
  height: 6px;
  border-radius: 3px;
  background: var(--navy);
}
.viz-track .track-label {
  display: block;
  margin-top: 10px;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.06em;
}
.viz-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--ink-2);
}
.viz-chip .chip {
  background: rgba(189, 90, 60, 0.12);
  color: var(--accent-deep);
  border: 1px solid rgba(189, 90, 60, 0.3);
  border-radius: 6px;
  padding: 3px 8px;
  font-size: 11px;
}
.viz-report {
  position: relative;
  min-width: 200px;
  padding: 16px 14px 34px;
  background: var(--paper);
  border: 1px solid var(--line);
}
.viz-report .rl {
  display: block;
  height: 8px;
  border-radius: 4px;
  background: var(--line-2);
  margin-bottom: 9px;
}
.viz-report .w70 { width: 70%; }
.viz-report .w90 { width: 90%; }
.viz-report .w55 { width: 55%; }
.viz-report .brandtag {
  position: absolute;
  bottom: 10px;
  right: 12px;
  font-size: 11px;
  color: var(--accent);
}
.soon {
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--line-2);
  border-radius: 5px;
  padding: 1px 6px;
  margin-left: 6px;
  vertical-align: middle;
}

/* Auditor split + light report card */
.split {
  margin-top: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: center;
}
.readout {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.readout-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.readout-bar i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--line-2);
}
.readout-path {
  margin-left: 8px;
  font-size: 12px;
  color: var(--muted);
}
.readout-body {
  padding: 8px 18px;
  font-size: 13px;
}
.check {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink-2);
}
.check:last-child {
  border-bottom: 0;
}
.check .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.check .dot.ok {
  background: var(--ok);
}
.check .dot.warn {
  background: var(--accent);
}
.check .score {
  margin-left: auto;
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 12px;
}

/* Agency band (navy) */
.agency-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 52px;
  border-radius: 20px;
  background: var(--navy);
  box-shadow: var(--shadow-lg);
}
.agency-band .kicker {
  color: #e79c82;
}
.agency-band .section-title {
  color: #fff;
  margin: 14px 0 26px;
}
.agency-band .btn-primary {
  background: #fff;
  color: var(--ink);
}
.agency-band .btn-primary:hover {
  background: var(--paper);
}
.agency-points {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.agency-points li {
  padding-left: 20px;
  border-left: 2px solid var(--accent);
}
.agency-points h3 {
  font-size: 18px;
  color: #fff;
}
.agency-points p {
  margin-top: 6px;
  color: #b9c2cf;
  font-size: 14.5px;
}

/* Pricing */
.tiers {
  margin-top: 52px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: start;
}
.tier {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 30px;
  box-shadow: var(--shadow-sm);
}
.tier-featured {
  border: 1.5px solid var(--navy);
  box-shadow: var(--shadow);
  transform: translateY(-8px);
}
.tier-flag {
  position: absolute;
  top: -11px;
  left: 30px;
  background: var(--navy);
  color: var(--paper);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 6px;
  font-weight: 500;
}
.tier-name {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.tier-price {
  margin-top: 14px;
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 700;
  color: var(--ink);
}
.tier-price span {
  font-size: 15px;
  color: var(--muted);
  font-family: var(--font-mono);
}
.tier-note {
  margin-top: 6px;
  color: var(--ink-2);
  font-size: 14px;
}
.tier ul {
  margin: 22px 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.tier li {
  position: relative;
  padding-left: 22px;
  color: var(--ink-2);
  font-size: 14.5px;
}
.tier li::before {
  content: "+";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-family: var(--font-mono);
  font-weight: 600;
}
.tier .btn {
  width: 100%;
  justify-content: center;
}

/* Trust */
.trust-list {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.trust-list li {
  display: flex;
  gap: 14px;
}
.trust-list .tick {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  border-radius: 6px;
  background: var(--navy);
  position: relative;
}
.trust-list .tick::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 4px;
  width: 6px;
  height: 10px;
  border: solid var(--paper);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.trust-list h3 {
  font-size: 17px;
}
.trust-list p {
  margin-top: 7px;
  color: var(--ink-2);
  font-size: 14.5px;
}

/* Closing CTA (navy full-bleed band) */
.cta-final {
  background: var(--navy);
  text-align: center;
}
.cta-final h2 {
  color: #fff;
  font-size: clamp(34px, 5.4vw, 64px);
  margin: 0 auto;
  max-width: 18ch;
}
.cta-final .grad-text {
  color: #e79c82;
}
.cta-final p {
  margin: 18px auto 0;
  max-width: 46ch;
  color: #b9c2cf;
}
.cta-final .btn-primary {
  margin-top: 30px;
  background: #fff;
  color: var(--ink);
}
.cta-final .btn-primary:hover {
  background: var(--paper);
}

/* Footer */
footer {
  border-top: 1px solid var(--line);
  padding: 38px 0;
  color: var(--muted);
  font-size: 14px;
}
.foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.foot-tag {
  font-size: 12px;
}
.foot-links {
  display: flex;
  gap: 18px;
}
.foot-links a {
  color: var(--muted);
  font-size: 13px;
  transition: color 0.18s var(--ease);
}
.foot-links a:hover {
  color: var(--ink);
}

/* Reveal + hero stagger (gated on html.js so a JS failure never hides content) */
html.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  will-change: opacity, transform;
}
html.js .reveal.in {
  opacity: 1;
  transform: none;
}
html.js [data-hero] {
  opacity: 0;
  transform: translateY(20px);
}
[data-hero] {
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
html.js [data-hero].in {
  opacity: 1;
  transform: none;
}

/* Responsive */
@media (max-width: 940px) {
  section {
    padding: 78px 0;
  }
  .hero {
    padding: 116px 0 60px;
  }
  .hero .wrap {
    grid-template-columns: 1fr;
    gap: 44px;
  }
  .nav-links {
    gap: 14px;
  }
  .nav-links a:not(.btn) {
    display: none;
  }
  .loop {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  .signal-line {
    display: none;
  }
  .bento {
    grid-template-columns: 1fr 1fr;
  }
  .cell-wide {
    grid-column: span 2;
  }
  .split,
  .agency-band {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .tiers {
    grid-template-columns: 1fr;
    max-width: 460px;
    margin-inline: auto;
  }
  .tier-featured {
    transform: none;
  }
  .trust-list {
    grid-template-columns: 1fr;
    gap: 22px;
  }
}
@media (max-width: 560px) {
  body {
    font-size: 16px;
  }
  .wrap {
    padding: 0 20px;
  }
  .loop,
  .bento {
    grid-template-columns: 1fr;
  }
  .cell-wide {
    grid-column: span 1;
    flex-direction: column;
    align-items: flex-start;
  }
  .agency-band {
    padding: 30px;
  }
}

/* Reduced-motion: everything at rest and visible. */
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  html.js .reveal,
  html.js [data-hero] {
    opacity: 1;
    transform: none;
  }
  .signal-line {
    transform: scaleX(1);
  }
}
