:root {
  --bs-body-font-family: "Inter", sans-serif;
  --mono: "DM Mono", monospace;
  --accent: #0066ff;
  --scroll-offset: 96px;
  --g1: #f5f5f5;
  --g2: #d7d7d7;
  --g3: #b0b0b0;
  --g4: #6e6e6e;
  --g5: #3a3a3a;
}
html {
  overflow-x: clip;
  scroll-behavior: smooth;
}
body {
  font-family: "Inter", sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}
/* Safari-safe overflow wrapper */
.page-wrap {
  overflow-x: hidden;
  width: 100%;
  position: relative;
}
[id] {
  scroll-margin-top: var(--scroll-offset);
}

/* NAV */
.navbar {
  backdrop-filter: blur(16px);
  background: rgba(255, 255, 255, 0.92) !important;
  border-bottom: 1px solid var(--g2);
  padding: 0.5rem 0;
}
.navbar-brand {
  font-family: var(--mono);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #0a0a0a;
}
.btn-nav-cta {
  font-size: 0.78rem;
  font-weight: 600;
  background: #0a0a0a;
  color: #fff;
  border-radius: 999px;
  padding: 0.45rem 1.1rem;
  border: none;
  text-decoration: none;
  transition: background 0.15s;
}
.btn-nav-cta:hover {
  background: var(--g5);
  color: #fff;
}

/* HERO */
.hero-section {
  padding-top: 100px;
}
.hero-eyebrow {
  font-family: var(--mono);
  font-size: 0.63rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--g4);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.hero-h1 {
  font-size: clamp(2.8rem, 6vw, 3.5rem);
  font-weight: 700;
  line-height: normal;
  letter-spacing: -0.04em;
  color: #0a0a0a;
}
.hero-sub {
  font-size: 1rem;
  font-weight: 500;
  color: var(--g4);
  line-height: 1.8;
}
.hero-sub-bold {
  font-weight: 500;
  color: #0a0a0a;
}
.strip-icon {
  font-size: 1rem;
  color: var(--g4);
}
.hero-bullets {
  list-style: none;
  padding: 0;
}
.hero-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  font-weight: 400;
  color: #0a0a0a;
  line-height: 1.5;
  margin-bottom: 0.65rem;
}
.hero-bullets li::before {
  content: "→";
  color: #0a0a0a;
  flex-shrink: 0;
  font-weight: 600;
}
.hero-pill-form {
  display: flex;
  align-items: center;
  background: var(--g1);
  border: 1.5px solid var(--g2);
  border-radius: 999px;
  padding: 0.32rem 0.32rem 0.32rem 1.25rem;
  transition: border-color 0.2s;
  max-width: 440px;
}
.hero-pill-form:focus-within {
  border-color: #0a0a0a;
}
.hero-pill-input {
  flex: 1;
  border: none;
  background: transparent;
  outline: none;
  font-family: "Inter", sans-serif;
  font-size: 0.9rem;
  color: #0a0a0a;
  min-width: 0;
}
.hero-pill-input::placeholder {
  color: var(--g3);
}
.hero-pill-btn {
  background: #0a0a0a;
  color: #fff;
  border: none;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.65rem 1.2rem;
  border-radius: 999px;
  white-space: nowrap;
  transition: background 0.15s;
  flex-shrink: 0;
}
.hero-pill-btn:hover {
  background: var(--g5);
}

/* Diagnostic log */
.hero-log {
  background: #0a0a0a;
  border-radius: 14px;
  overflow: hidden;
  font-family: var(--mono);
  font-size: 0.72rem;
  line-height: 1.8;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.15);
}
.log-bar {
  background: #1a1a1a;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.log-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.log-file {
  font-size: 0.62rem;
  color: rgba(255, 255, 255, 0.3);
  margin-left: auto;
  letter-spacing: 0.06em;
}
.log-body {
  padding: 1.25rem;
  overflow: hidden;
}
.lc {
  display: block;
  overflow-wrap: anywhere;
  word-break: break-all;
  max-width: 100%;
}
.lc-cmt {
  color: #4a5568;
}
.lc-crit {
  color: #ff5f57;
  font-weight: 500;
}
.lc-warn {
  color: #febc2e;
}
.lc-fix {
  color: #28c840;
}
.lc-dim {
  color: rgba(255, 255, 255, 0.25);
}
.lc-ready {
  color: var(--accent);
}
.log-spacer {
  display: block;
  height: 0.5rem;
}

/* TRUST STRIP */
.trust-strip {
  background: #111315;
  border-top: 1px solid #1f2329;
  border-bottom: 1px solid #1f2329;
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.58);
}
.trust-strip span {
  color: rgba(255, 255, 255, 0.82);
}

/* SECTION LABELS */
.sec-label {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--g4);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.sec-label::before {
  content: "//";
  color: var(--g3);
}
.section-heading {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: #0a0a0a;
}
.section-sub {
  font-size: 0.95rem;
  font-weight: 300;
  /* color: var(--g4); */
  color: #000;
  line-height: 1.78;
}

/* ANALYSER */
.analyser-section {
  background: var(--g1);
}
.analyser-panel {
  background: #fff;
  border: 1px solid var(--g2);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}
.ap-head {
  padding: 1.5rem 1.75rem;
  border-bottom: 1px solid var(--g2);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}
.ap-head h3 {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0a0a0a;
  margin-bottom: 0.2rem;
}
.ap-head p {
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--g4);
  margin: 0;
}
.ap-form-code {
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  color: var(--g3);
  flex-shrink: 0;
  padding-top: 0.25rem;
}
.ap-group-title {
  font-family: var(--mono);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--g4);
  border-bottom: 1px solid var(--g2);
  padding-bottom: 0.65rem;
  margin-bottom: 0.75rem;
}
.ap-finding {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.83rem;
  font-weight: 300;
  color: var(--g5);
  padding: 0.55rem 0;
  border-bottom: 1px solid #f0f0f0;
  cursor: pointer;
  transition: color 0.15s;
  line-height: 1.45;
}
.ap-finding:last-child {
  border-bottom: none;
}
.ap-finding:hover {
  color: #0a0a0a;
}
.ap-finding input[type="checkbox"] {
  appearance: none;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  border: 1.5px solid var(--g2);
  border-radius: 4px;
  background: transparent;
  cursor: pointer;
  position: relative;
  transition:
    border-color 0.15s,
    background 0.15s;
  margin-top: 2px;
}
.ap-finding input[type="checkbox"]:checked {
  border-color: #0a0a0a;
  background: #0a0a0a;
}
.ap-finding input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 3px;
  top: 1px;
  width: 5px;
  height: 8px;
  border: 1.5px solid #fff;
  border-top: none;
  border-left: none;
  transform: rotate(45deg);
}
.ap-risk {
  padding: 1.25rem 1.75rem;
  background: #ffffff;
}
.ap-risk-label {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--g4);
}
.ap-risk-score {
  font-family: var(--mono);
  font-size: 1rem;
  font-weight: 500;
  color: #0a0a0a;
}
.ap-risk-bar {
  height: 4px;
  border-radius: 999px;
  background: var(--g2);
  overflow: hidden;
}
.ap-risk-fill {
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: #0a0a0a;
  transition: width 0.35s ease;
}
.ap-risk-msg {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.02em;
  color: var(--g4);
}
.ap-risk-details {
  font-size: 0.8rem;
  font-weight: 300;
  color: var(--g4);
  line-height: 1.55;
}
.ap-risk-cta {
  background: #0a0a0a;
  color: #fff;
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  white-space: nowrap;
  transition: opacity 0.15s;
}
.ap-risk-cta:hover {
  opacity: 0.75;
  color: #fff;
}
@media (min-width: 768px) {
  .analyser-mid-col {
    border-left: 1px solid var(--g2);
    border-right: 1px solid var(--g2);
  }
}

/* PROCESS */
.process-section {
  background: #fff;
}
.process-grid-wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--g2);
}
.process-card {
  padding: 2rem 1.75rem 1.75rem;
  border-right: 1px solid var(--g2);
  background: #fff;
  transition: background 0.15s;
}
.process-card:last-child {
  border-right: none;
}
.process-card:hover {
  background: var(--g1);
}
.ps-num {
  font-size: 3rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--g2);
  line-height: 1;
  margin-bottom: 1.25rem;
}
.ps-title {
  font-size: 1rem;
  font-weight: 700;
  color: #0a0a0a;
  margin-bottom: 0.6rem;
  letter-spacing: -0.01em;
}
.ps-body {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--g4);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}
.ps-badge {
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--g4);
  border: 1px solid var(--g2);
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  display: inline-block;
}
/* WHY US */
.why-section {
  background: var(--g1);
}
.stat-card {
  background: #fff;
  border: 1px solid var(--g2);
  border-radius: 0;
  padding: 1.75rem 1.5rem;
  transition: background 0.15s;
  height: 100%;
}
.stat-grid-wrap {
  border: 1px solid var(--g2);
  overflow: hidden;
}
.stat-grid-wrap .col-6 {
  border-right: 1px solid var(--g2);
  border-bottom: 1px solid var(--g2);
}
.stat-grid-wrap .col-6:nth-child(2n) {
  border-right: none;
}
.stat-grid-wrap .col-6:nth-child(3),
.stat-grid-wrap .col-6:nth-child(4) {
  border-bottom: none;
}
.stat-card {
  border: none;
}
.stat-card:hover {
  background: var(--g1);
}
.stat-val {
  font-size: 2.8rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: #0a0a0a;
  line-height: 1;
  margin-bottom: 0.35rem;
}
.stat-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: #0a0a0a;
  margin-bottom: 0.15rem;
}
.stat-desc {
  font-size: 0.78rem;
  font-weight: 300;
  color: var(--g4);
  line-height: 1.5;
}
.president-quote {
  font-size: 0.95rem;
  font-weight: 300;
  /* color: var(--g4); */
  color: #000;
  line-height: 1.85;
}
.sig-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #0a0a0a;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 500;
  flex-shrink: 0;
}
.sig-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: #0a0a0a;
}
.sig-role {
  font-size: 0.75rem;
  font-weight: 300;
  color: var(--g4);
}

/* CTA */
.cta-section {
  background: #0a0a0a;
}
.cta-heading {
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: #fff;
}
.cta-sub {
  font-size: 0.95rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.78;
}
.cta-pill-form {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  padding: 0.4rem 0.4rem 0.4rem 1.5rem;
  transition: border-color 0.2s;
}
.cta-pill-form:focus-within {
  border-color: rgba(255, 255, 255, 0.4);
}
.cta-pill-input {
  flex: 1;
  border: none;
  background: transparent;
  outline: none;
  font-family: "Inter", sans-serif;
  font-size: 0.9rem;
  color: #fff;
  min-width: 0;
}
.cta-pill-input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}
.cta-pill-btn {
  background: #fff;
  color: #0a0a0a;
  border: none;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.65rem 1.25rem;
  border-radius: 999px;
  white-space: nowrap;
  transition: opacity 0.15s;
  flex-shrink: 0;
}
.cta-pill-btn:hover {
  opacity: 0.85;
}
.cta-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--mono);
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  transition: color 0.2s;
}
.cta-contact-row {
  margin-top: 2rem;
}
.cta-link:hover {
  color: #fff;
}
.cta-link svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

/* FOOTER */
.footer-section {
  background: #0a0a0a;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.foot-logo {
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
}
.foot-legal {
  font-family: "Inter", sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.55);
}
.foot-link {
  font-family: "Inter", sans-serif;
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color 0.15s;
}
.foot-link:hover {
  color: rgba(255, 255, 255, 0.72);
}

/* Utility classes replacing inline styles */
.hero-container {
  padding-bottom: 60px;
}
.log-dot-red {
  background: #ff5f57;
}
.log-dot-yellow {
  background: #febc2e;
}
.log-dot-green {
  background: #28c840;
}
.analyser-rows {
  border-color: var(--g2) !important;
}
.cta-container {
  max-width: 640px;
}
.cta-sec-label {
  color: rgba(255, 255, 255, 0.35);
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.section-sub-max {
  max-width: 560px;
}
/* REVEAL */
.rv {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}
.rv.in {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive pill forms */
@media (max-width: 480px) {
  .hero-pill-form {
    flex-direction: column;
    border-radius: 12px;
    padding: 0.75rem;
    align-items: stretch;
    max-width: 100%;
  }
  .hero-pill-btn {
    width: 100%;
    text-align: center;
  }
  .cta-pill-form {
    flex-direction: column;
    border-radius: 12px;
    padding: 0.75rem;
    align-items: stretch;
  }
  .cta-pill-btn {
    width: 100%;
    text-align: center;
  }
}

/* Responsive process grid */
@media (max-width: 991px) {
  .process-grid-wrap {
    grid-template-columns: repeat(2, 1fr);
  }
  .process-card:nth-child(2) {
    border-right: none;
  }
  .process-card:nth-child(1),
  .process-card:nth-child(2) {
    border-bottom: 1px solid var(--g2);
  }
  .process-card:nth-child(3) {
    border-right: 1px solid var(--g2);
  }
  .process-card:nth-child(4) {
    border-right: none;
  }
}
@media (max-width: 786px) {
  .ap-head{
    padding: 1.5rem 1rem;
  }
    .analyser-rows{
      padding: 1.5rem 1rem !important;
    }
    .process-card{
      padding: 1rem 1rem 1rem;
    }
    .ps-num{
      font-size: 2.5rem;
      font-weight: 700;
    }
  .stat-card{
    padding: 1.5rem 0.75rem;
  }
  :root {
    --scroll-offset: 84px;
  }
}
@media (max-width: 575px) {
  .process-grid-wrap {
    grid-template-columns: 1fr;
  }
  .process-card {
    border-right: none !important;
    border-bottom: 1px solid var(--g2);
  }
  .process-card:last-child {
    border-bottom: none;
  }
}
