:root {
  --paper: #FCFCFA;
  --surface: #FFFFFF;
  --ink: #0F172A;
  --muted: #64748B;
  --accent: #2563EB;
  --line: #E2E8F0;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: auto;
  background: var(--paper);
}

body {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

::selection {
  background: rgba(37, 99, 235, .14);
  color: var(--ink);
}

a, button { transition: border-color .25s ease, color .25s ease, background .25s ease, transform .25s ease; }

.brand-mark {
  display: grid;
  width: 2.4rem;
  height: 2.4rem;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
}

.nav-link {
  position: relative;
}

.nav-link::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 1px;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  background: var(--ink);
  transition: transform .35s ease;
}

.nav-link:hover { color: var(--ink); }
.nav-link:hover::after { transform: scaleX(1); transform-origin: left; }

.section-pad { padding: clamp(6rem, 12vw, 11rem) 0; }

.eyebrow {
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .18em;
  color: var(--accent);
}

.text-balance { text-wrap: balance; }

.text-mask {
  display: block;
  overflow: hidden;
  clip-path: inset(0 0 0 0);
}

.signal-pill {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .78);
  padding: .7rem 1rem;
  color: var(--muted);
  font-size: .9rem;
  font-weight: 650;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(226, 232, 240, .62) 1px, transparent 1px),
    linear-gradient(90deg, rgba(226, 232, 240, .62) 1px, transparent 1px),
    radial-gradient(circle at 80% 25%, rgba(37, 99, 235, .12), transparent 32%),
    linear-gradient(180deg, rgba(255,255,255,.7), transparent 38%);
  background-size: 42px 42px, 42px 42px, auto, auto;
  mask-image: linear-gradient(to bottom, #000 0%, #000 68%, transparent 100%);
}

.data-stage {
  position: absolute;
  inset: 8% 0 0 8%;
  border: 1px solid var(--line);
  border-radius: 2rem;
  background: linear-gradient(145deg, rgba(255,255,255,.94), rgba(252,252,250,.74));
}

.data-stage::before {
  position: absolute;
  inset: 13%;
  content: "";
  border: 1px solid rgba(15, 23, 42, .12);
  border-radius: 50%;
}

.data-orbit {
  position: absolute;
  border: 1px solid rgba(37, 99, 235, .28);
  border-radius: 50%;
}

.orbit-one { inset: 20% 16%; }
.orbit-two { inset: 32% 29%; border-style: dashed; }

.data-panel {
  position: absolute;
  border: 1px solid var(--line);
  border-radius: 1.1rem;
  background: var(--surface);
}

.panel-main {
  right: 10%;
  bottom: 13%;
  width: min(72%, 360px);
  padding: 1.15rem;
}

.panel-topline {
  width: 40%;
  height: 6px;
  margin-bottom: 1.2rem;
  border-radius: 99px;
  background: var(--accent);
}

.metric-row {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding: .9rem 0;
  color: var(--muted);
}

.metric-row strong { color: var(--ink); }

.panel-side {
  top: 12%;
  left: -5%;
  display: grid;
  gap: .8rem;
  width: 185px;
  padding: 1.2rem;
  font-weight: 700;
}

.panel-side svg { color: var(--accent); }

.data-ruler {
  position: absolute;
  top: 13%;
  right: -22px;
  width: 44px;
  height: 72%;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: repeating-linear-gradient(to bottom, var(--surface), var(--surface) 16px, var(--line) 17px);
}

.sticky-copy, .method-sticky {
  position: sticky;
  top: 7.5rem;
  align-self: start;
}

.story-stack { padding-top: 3rem; }

.story-line {
  min-height: 42vh;
  font-size: clamp(3.2rem, 8vw, 8.8rem);
  font-weight: 900;
  line-height: .9;
  color: var(--ink);
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1rem;
}

.bento-item {
  min-height: 250px;
  grid-column: span 2;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(37, 99, 235, .055), transparent 42%),
    var(--surface);
  padding: clamp(1.3rem, 3vw, 2.2rem);
}

.bento-item svg {
  width: 2rem;
  height: 2rem;
  color: var(--accent);
}

.bento-item h3 {
  margin-top: 2rem;
  font-size: clamp(1.55rem, 2vw, 2.25rem);
  font-weight: 800;
  line-height: 1;
}

.bento-item p {
  margin-top: 1rem;
  max-width: 29rem;
  color: var(--muted);
  line-height: 1.7;
}

.bento-large { grid-column: span 3; min-height: 340px; }
.bento-tall { grid-row: span 2; min-height: 516px; }
.bento-wide { grid-column: span 4; }

.comparison {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--surface);
}

.comparison-column {
  padding: clamp(1.5rem, 5vw, 4rem);
}

.comparison-column h3 {
  font-size: clamp(2rem, 4vw, 4.5rem);
  font-weight: 900;
  line-height: .92;
}

.comparison-column ul { margin-top: 3rem; display: grid; gap: 1rem; }
.comparison-column li { border-top: 1px solid var(--line); padding-top: 1rem; color: var(--muted); line-height: 1.6; }
.proveho-col { background: linear-gradient(135deg, rgba(37, 99, 235, .1), rgba(255,255,255,.9)); }
.proveho-col h3 { color: var(--accent); }

.service-panels { display: grid; gap: .7rem; }

.service-panel {
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 0;
  text-align: left;
}

.service-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: clamp(1.2rem, 3vw, 2rem);
  font-size: clamp(1.6rem, 3vw, 3.35rem);
  font-weight: 850;
  line-height: 1;
}

.service-body {
  display: grid;
  max-height: 0;
  gap: 1rem;
  overflow: hidden;
  padding: 0 clamp(1.2rem, 3vw, 2rem);
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
  transition: max-height .55s ease, padding-bottom .55s ease;
}

.service-panel.active {
  border-color: rgba(37, 99, 235, .38);
  background: linear-gradient(135deg, rgba(37, 99, 235, .06), #fff 45%);
}

.service-panel.active .service-body {
  max-height: 460px;
  padding-bottom: 2rem;
}

.topic-line, .outcome-line {
  display: block;
  color: var(--ink);
  font-weight: 650;
}

.method-wrap {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(3rem, 8vw, 8rem);
}

.progress-rail {
  width: 100%;
  height: 3px;
  margin-top: 3rem;
  overflow: hidden;
  border-radius: 99px;
  background: var(--line);
}

.progress-rail span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--accent);
}

.method-steps { display: grid; gap: 22vh; padding-bottom: 14vh; }

.method-step {
  min-height: 48vh;
  border-top: 1px solid var(--line);
  padding-top: 2rem;
}

.method-step span {
  color: var(--accent);
  font-size: .9rem;
  font-weight: 850;
}

.method-step h3 {
  margin-top: 1rem;
  font-size: clamp(3rem, 7vw, 8rem);
  font-weight: 900;
  line-height: .88;
}

.method-step p {
  margin-top: 2rem;
  max-width: 46rem;
  color: var(--muted);
  font-size: clamp(1.2rem, 2vw, 1.7rem);
  line-height: 1.55;
}

.cert-band {
  display: grid;
  grid-template-columns: 1.2fr .6fr;
  gap: 3rem;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(2rem, 6vw, 5rem);
}

.cert-seal {
  display: grid;
  aspect-ratio: 1;
  place-items: center;
  justify-self: end;
  width: min(100%, 280px);
  border: 1px solid rgba(37, 99, 235, .35);
  border-radius: 50%;
  background: radial-gradient(circle at 50% 38%, rgba(37, 99, 235, .12), transparent 52%), var(--surface);
  color: var(--accent);
}

.cert-seal strong {
  color: var(--ink);
  font-size: 3.5rem;
  font-weight: 900;
}

.cert-seal span { color: var(--muted); font-weight: 700; }
.cert-seal svg { width: 2.2rem; height: 2.2rem; }

.cert-copy {
  grid-column: 1 / -1;
}

.cert-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  margin-top: 2rem;
}

.cta-section {
  border-top: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(226, 232, 240, .75) 1px, transparent 1px),
    linear-gradient(rgba(226, 232, 240, .75) 1px, transparent 1px),
    var(--paper);
  background-size: 64px 64px;
}

.contact-link {
  display: inline-flex;
  width: fit-content;
  border-radius: 999px;
  background: var(--accent);
  padding: 1rem 1.4rem;
  color: #fff;
  font-weight: 800;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  gap: clamp(4rem, 8vw, 7rem);
  align-items: start;
}

.contact-copy {
  position: sticky;
  top: 7.5rem;
}

.contact-copy h2 {
  margin-top: 1.5rem;
  max-width: 34rem;
  font-size: clamp(2.75rem, 4.8vw, 5.4rem);
  font-weight: 900;
  line-height: .94;
}

.consultation-form {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  min-width: 0;
  gap: 1.15rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(37, 99, 235, .055), transparent 38%),
    rgba(255, 255, 255, .94);
  padding: clamp(1.4rem, 4vw, 2.7rem);
  box-shadow: 0 24px 80px rgba(15, 23, 42, .06);
}

.form-intro {
  grid-column: 1 / -1;
  display: grid;
  gap: .45rem;
  margin-bottom: .65rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 1.35rem;
}

.form-intro span {
  color: var(--accent);
  font-size: .72rem;
  font-weight: 850;
}

.form-intro strong {
  max-width: 35rem;
  color: var(--ink);
  font-size: clamp(1.55rem, 2.6vw, 2.6rem);
  font-weight: 850;
  line-height: 1;
}

.form-field {
  display: grid;
  gap: .55rem;
}

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

.form-field label {
  color: var(--muted);
  font-size: .84rem;
  font-weight: 750;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 1.15rem 1.05rem;
  color: var(--ink);
  font: inherit;
  font-size: 1.02rem;
  outline: none;
}

.form-field textarea {
  min-height: 190px;
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, .1);
}

.form-submit {
  grid-column: 1 / -1;
  width: 100%;
  border-radius: 999px;
  background: var(--ink);
  margin-top: .45rem;
  padding: 1.15rem 1.35rem;
  color: #fff;
  font-size: 1.02rem;
  font-weight: 800;
  text-align: center;
}

.blog-contact {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
  margin-top: clamp(5rem, 10vw, 8rem);
  border-top: 1px solid var(--line);
  padding-top: clamp(2.5rem, 6vw, 5rem);
}

.blog-contact h2 {
  max-width: 36rem;
  font-size: clamp(2.25rem, 4.7vw, 4.7rem);
}

.benefits {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  color: var(--muted);
  font-size: .9rem;
}

.benefits span {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  padding: .65rem .85rem;
}

#blog-articles {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.article-row {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: center;
  padding: clamp(1.5rem, 3vw, 2.5rem) 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
  cursor: pointer;
  transition: background .3s ease, padding-left .3s ease;
}

.article-row:hover {
  background: linear-gradient(90deg, rgba(37, 99, 235, .04), transparent 40%);
  padding-left: clamp(.8rem, 2vw, 1.5rem);
}

.article-row span {
  color: var(--muted);
  font-size: .85rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: .04em;
  transition: color .3s ease;
}

.article-row em {
  color: var(--muted);
  font-style: normal;
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .03em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color .3s ease;
}

.article-row strong {
  font-size: clamp(1.6rem, 3.5vw, 3rem);
  font-weight: 850;
  line-height: 1.08;
  letter-spacing: -.01em;
  transition: color .3s ease, transform .3s ease;
}

.article-row:hover strong {
  color: var(--accent);
  transform: translateX(4px);
}

.article-row:hover span { color: var(--accent); }

.article-row:hover em { color: var(--ink); }

.article-body {
  border-top: 1px solid var(--line);
}

.article-body h2 {
  margin-top: 3rem;
  font-size: clamp(2rem, 4vw, 4rem);
  font-weight: 850;
  line-height: .95;
}

.article-body p {
  margin-top: 1rem;
  max-width: 46rem;
  color: var(--muted);
  font-size: 1.2rem;
  line-height: 1.8;
}

.cursor-dot {
  position: fixed;
  z-index: 100;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  pointer-events: none;
  background: var(--accent);
  opacity: 0;
  transform: translate(-50%, -50%);
}

@media (max-width: 900px) {
  .sticky-copy, .method-sticky, .contact-copy { position: relative; top: auto; }
  .story-line { min-height: 28vh; }
  .bento-grid, .comparison, .method-wrap, .cert-band { grid-template-columns: 1fr; }
  .bento-item, .bento-large, .bento-tall, .bento-wide { grid-column: span 1; min-height: 250px; }
  .comparison { border-radius: 1rem; }
  .cert-seal { justify-self: start; }
  .article-row { grid-template-columns: 1fr; gap: 1rem; }
  .panel-side { left: 4%; }
  .contact-copy h2 { max-width: 100%; }
}

@media (max-width: 640px) {
  .hero { padding-top: 7rem; }
  .data-stage { inset: 0; }
  .service-head { align-items: flex-start; }
  .contact-link { max-width: 100%; font-size: .96rem; }
  .consultation-form { grid-template-columns: 1fr; }
  .cursor-dot { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
