/* ================= TOKENS ================= */
:root {
  --ink: #10110F;
  --ink-soft: #1B1C18;
  --paper: #F7F5EF;
  --paper-dim: #EDEAE0;
  --lime: #C8FF4D;
  --signal: #FF5A1F;
  --grey: #8B8F86;
  --grey-light: #C7C9C0;
  --line: rgba(16,17,15,0.12);
  --line-light: rgba(247,245,239,0.16);

  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --container: 1180px;
  --radius: 4px;
}

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

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; }

.mono { font-family: var(--font-mono); letter-spacing: 0.02em; }

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

.arrow { display: inline-block; transition: transform 0.25s ease; }

/* ================= CURSOR (desktop only, decorative) ================= */
.cursor-dot {
  position: fixed;
  width: 10px; height: 10px;
  background: var(--lime);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
  transition: opacity 0.2s ease;
  opacity: 0;
  display: none;
}
@media (hover: hover) and (pointer: fine) {
  .cursor-dot { display: block; }
}

/* ================= NAV ================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(247,245,239,0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: background 0.3s ease;
}
.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  background: var(--ink);
  color: var(--lime);
  border-radius: 50%;
  font-size: 0.78rem;
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
}
.brand-name em { font-style: normal; color: var(--signal); }

.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink);
  position: relative;
  padding: 4px 0;
}
.nav-links a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--signal);
  transition: width 0.25s ease;
}
.nav-links a:not(.nav-cta):hover::after { width: 100%; }

.nav-cta {
  background: var(--ink);
  color: var(--paper) !important;
  padding: 10px 20px;
  border-radius: 100px;
  transition: background 0.2s ease, transform 0.2s ease;
}
.nav-cta:hover { background: var(--signal); transform: translateY(-1px); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 6px 0;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ================= SECTION SHARED ================= */
.section-head {
  max-width: 640px;
  margin: 0 0 56px;
  padding: 0 24px;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--signal);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
}
.eyebrow-light { color: var(--lime); }
.eyebrow-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}

h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4.2vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
}
h2.light { color: var(--paper); }

.section-sub {
  margin-top: 18px;
  font-size: 1.05rem;
  color: var(--ink-soft);
  opacity: 0.75;
  max-width: 520px;
}

/* ================= HERO ================= */
.hero {
  position: relative;
  padding: 168px 24px 0;
  overflow: hidden;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, black 30%, transparent 80%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, black 30%, transparent 80%);
  opacity: 0.7;
  z-index: 0;
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--container);
  margin: 0 auto;
  text-align: center;
}
.hero .eyebrow { justify-content: center; }

.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 6.4vw, 4.6rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
  max-width: 920px;
  margin: 0 auto;
}
.hero-title .hl {
  color: var(--signal);
  font-style: normal;
}
.hero-title .hl-outline {
  -webkit-text-stroke: 1.5px var(--ink);
  color: var(--paper);
}

.hero-sub {
  max-width: 560px;
  margin: 28px auto 0;
  font-size: 1.1rem;
  color: var(--ink-soft);
  opacity: 0.78;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.96rem;
  padding: 15px 28px;
  border-radius: 100px;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn-primary {
  background: var(--ink);
  color: var(--paper);
}
.btn-primary:hover { background: var(--signal); transform: translateY(-2px); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--line);
}
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn-ghost:hover .arrow { transform: translateX(3px); }
.btn-wide { width: 100%; justify-content: center; margin-top: 8px; }

/* hero ticker */
.hero-ticker {
  margin-top: 96px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  position: relative;
  z-index: 1;
}
.ticker-track {
  display: flex;
  width: max-content;
  gap: 28px;
  padding: 16px 0;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: var(--grey);
  animation: ticker 28s linear infinite;
}
.ticker-track span:nth-child(odd) { color: var(--ink); font-weight: 500; }
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ================= STAT STRIP ================= */
.stat-strip {
  background: var(--ink);
  color: var(--paper);
  padding: 72px 24px;
}
.stat-strip-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat-item {
  padding: 0 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.stat-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 3.6vw, 3.2rem);
  color: var(--lime);
  line-height: 1;
}
.stat-label {
  font-size: 0.92rem;
  color: var(--grey-light);
  line-height: 1.4;
}
.stat-label .mono {
  display: inline-block;
  margin-top: 6px;
  font-size: 0.68rem;
  color: var(--grey);
  letter-spacing: 0.05em;
}
.stat-divider {
  width: 1px;
  background: var(--line-light);
}

/* ================= TRUST STRIP ================= */
.trust-strip {
  padding: 56px 24px;
  border-bottom: 1px solid var(--line);
}
.trust-label {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 28px;
}
.trust-marquee { overflow: hidden; }
.trust-track {
  display: flex;
  width: max-content;
  gap: 56px;
  animation: ticker 24s linear infinite;
}
.trust-track span {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.3rem;
  color: var(--grey-light);
  white-space: nowrap;
}

/* ================= SERVICES ================= */
.services {
  padding: 120px 24px;
  max-width: var(--container);
  margin: 0 auto;
}
.service-list {
  border-top: 1px solid var(--line);
}
.service-row {
  display: grid;
  grid-template-columns: 80px 1fr 180px;
  gap: 32px;
  align-items: start;
  padding: 40px 0;
  border-bottom: 1px solid var(--line);
  transition: background 0.3s ease;
  position: relative;
}
.service-row:hover { background: var(--paper-dim); }
.service-row::before {
  content: '';
  position: absolute;
  left: -24px; top: 0; bottom: 0;
  width: 3px;
  background: var(--signal);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.3s ease;
}
.service-row:hover::before { transform: scaleY(1); }

.service-num {
  font-size: 0.9rem;
  color: var(--grey);
  padding-top: 6px;
}
.service-main h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.7rem;
  margin-bottom: 12px;
}
.service-main p {
  color: var(--ink-soft);
  opacity: 0.78;
  max-width: 560px;
  font-size: 1rem;
  margin-bottom: 18px;
}
.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.service-tags li {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.02em;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 100px;
  color: var(--ink-soft);
}
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 0.92rem;
  justify-self: end;
  padding-top: 8px;
  white-space: nowrap;
}
.service-link:hover .arrow { transform: translateX(4px); }

/* ================= COMPARE ================= */
.compare {
  background: var(--ink);
  color: var(--paper);
  padding: 120px 24px;
}
.compare .section-head { margin-left: auto; margin-right: auto; text-align: center; max-width: 600px; }
.compare-table {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line-light);
  border: 1px solid var(--line-light);
}
.compare-col { background: var(--ink); padding: 40px; }
.compare-col h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin-bottom: 24px;
}
.compare-us h3 { color: var(--lime); }
.compare-them h3 { color: var(--grey); }
.compare-col ul { display: flex; flex-direction: column; gap: 16px; }
.compare-col li {
  font-size: 0.96rem;
  line-height: 1.45;
  padding-left: 26px;
  position: relative;
  color: var(--grey-light);
}
.compare-us li::before {
  content: '✓';
  position: absolute; left: 0; top: 0;
  color: var(--lime);
  font-weight: 700;
}
.compare-them li {
  opacity: 0.6;
}
.compare-them li::before {
  content: '×';
  position: absolute; left: 0; top: 0;
  color: var(--signal);
  font-weight: 700;
}

/* ================= PROCESS ================= */
.process {
  padding: 120px 24px;
  max-width: var(--container);
  margin: 0 auto;
}
.process-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.process-list li {
  background: var(--paper);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: background 0.3s ease;
}
.process-list li:hover { background: var(--paper-dim); }
.process-step {
  font-size: 0.78rem;
  color: var(--signal);
  letter-spacing: 0.04em;
}
.process-text {
  font-size: 1.02rem;
  line-height: 1.45;
}

/* ================= CTA / CONTACT ================= */
.cta-band {
  background: var(--ink);
  color: var(--paper);
  padding: 120px 24px;
}
.cta-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.cta-inner .eyebrow { justify-content: center; }
.cta-sub {
  margin: 20px auto 48px;
  max-width: 480px;
  color: var(--grey-light);
  font-size: 1.05rem;
}

.contact-form {
  text-align: left;
  background: var(--ink-soft);
  border: 1px solid var(--line-light);
  border-radius: 12px;
  padding: 36px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--grey-light);
  margin-bottom: 8px;
}
.field input, .field select, .field textarea {
  width: 100%;
  background: var(--ink);
  border: 1px solid var(--line-light);
  border-radius: 6px;
  padding: 13px 14px;
  color: var(--paper);
  font-size: 0.95rem;
  transition: border-color 0.2s ease;
}
.field input::placeholder, .field textarea::placeholder { color: var(--grey); }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--lime);
  outline: none;
}
.field textarea { resize: vertical; min-height: 90px; }
.field select { appearance: none; cursor: pointer; }

.form-note {
  text-align: center;
  font-size: 0.84rem;
  color: var(--grey-light);
  margin-top: 14px;
}

/* ================= FOOTER ================= */
.site-footer {
  background: var(--paper-dim);
  padding: 80px 24px 32px;
}
.footer-top {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--line);
}
.footer-brand p {
  margin-top: 16px;
  color: var(--ink-soft);
  opacity: 0.7;
  font-size: 0.95rem;
  max-width: 280px;
}
.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 18px;
}
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col a, .footer-addr {
  font-size: 0.94rem;
  color: var(--ink-soft);
  opacity: 0.85;
  transition: opacity 0.2s ease;
}
.footer-col a:hover { opacity: 1; color: var(--signal); }

.footer-bottom {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  font-size: 0.86rem;
  color: var(--grey);
  flex-wrap: wrap;
  gap: 16px;
}
.footer-social { display: flex; gap: 24px; }
.footer-social a:hover { color: var(--signal); }

/* ================= SCROLL REVEAL ================= */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* ================= RESPONSIVE ================= */
@media (max-width: 880px) {
  .nav-links {
    position: fixed;
    top: 70px; left: 0; right: 0;
    background: var(--paper);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    border-bottom: 1px solid var(--line);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .nav-links.open { max-height: 360px; }
  .nav-links a { width: 100%; padding: 16px 24px; }
  .nav-links a:not(.nav-cta)::after { display: none; }
  .nav-cta { margin: 12px 24px; text-align: center; }
  .nav-toggle { display: flex; }

  .stat-strip-inner { grid-template-columns: 1fr 1fr; gap: 36px 0; }
  .stat-divider:nth-child(4) { display: none; }
  .stat-item:nth-child(odd) { border-right: 1px solid var(--line-light); }

  .service-row { grid-template-columns: 1fr; gap: 14px; }
  .service-num { padding-top: 0; }
  .service-link { justify-self: start; }

  .compare-table { grid-template-columns: 1fr; }

  .process-list { grid-template-columns: 1fr; }

  .form-row { grid-template-columns: 1fr; }

  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 540px) {
  .hero { padding-top: 140px; }
  .stat-strip-inner { grid-template-columns: 1fr; }
  .stat-item { border-right: none !important; padding: 0; }
  .stat-divider { display: none; }
  .footer-top { grid-template-columns: 1fr; }
  .compare-col { padding: 28px 24px; }
}
