:root {
  --ink: #08111f;
  --slate: #1d2f46;
  --muted: #5f7086;
  --paper: #f7f9fc;
  --soft: #eef3f8;
  --white: #ffffff;
  --line: #dbe5ef;
  --orange: #20c7b5;
  --orange-dark: #087b8a;
  --gold: #7dd3fc;
  --green: #14b8a6;
  --blue: #2563eb;
  --navy: #07111f;
  --mint: #e7f9fb;
  --peach: #eaf6ff;
  --shadow: 0 24px 70px rgba(8, 17, 31, 0.13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; max-width: 100%; overflow-x: hidden; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% -10%, rgba(37,99,235,.07), transparent 26%),
    radial-gradient(circle at 92% 4%, rgba(20,184,166,.08), transparent 28%),
    var(--paper);
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 72px;
  padding: 14px clamp(20px, 5vw, 72px);
  background: rgba(247, 249, 252, 0.92);
  border-bottom: 1px solid rgba(219, 229, 239, 0.9);
  backdrop-filter: blur(18px);
  transition: box-shadow .2s ease, background .2s ease;
}
.site-header.scrolled {
  background: rgba(247, 249, 252, 0.97);
  box-shadow: 0 12px 34px rgba(8,17,31,.08);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  white-space: nowrap;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  color: white;
  background: linear-gradient(135deg, var(--blue), var(--green));
  font-size: 15px;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: auto;
  font-size: 14px;
  font-weight: 850;
}
.site-nav a {
  padding: 8px 0;
}
.site-nav a.active {
  color: var(--orange-dark);
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  font-weight: 900;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(8,17,31,.14);
}
.button.small { min-height: 40px; padding: 0 18px; }
.button.dark { color: white; background: var(--ink); }
.button.primary {
  color: white;
  border-color: var(--blue);
  background: linear-gradient(135deg, var(--blue), var(--green));
  box-shadow: 0 16px 30px rgba(37, 99, 235, 0.22);
}
.button.light { background: var(--white); }
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  margin-left: auto;
  padding: 10px;
  border: 0;
  background: transparent;
}
.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
}

.hero, .page-hero {
  max-width: 1220px;
  margin: 0 auto;
  padding: clamp(46px, 5.4vw, 78px) 22px 44px;
}
.enterprise-hero {
  background:
    linear-gradient(135deg, rgba(255,255,255,.82), rgba(238,243,248,.76)),
    radial-gradient(circle at 84% 18%, rgba(37, 99, 235, 0.09), transparent 32%),
    radial-gradient(circle at 74% 78%, rgba(20, 184, 166, 0.09), transparent 34%);
  border-bottom: 1px solid var(--line);
}
.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
  align-items: center;
  gap: clamp(38px, 7vw, 88px);
}
.eyebrow {
  margin: 0 0 14px;
  color: var(--orange-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  max-width: 700px;
  margin: 0 0 24px;
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1.08;
  letter-spacing: 0;
}
.page-hero {
  text-align: center;
}
.page-hero h1 {
  margin-inline: auto;
}
.page-hero p,
.hero-copy {
  max-width: 700px;
  color: var(--muted);
  font-size: clamp(16px, 1.35vw, 18px);
  line-height: 1.65;
}
.page-hero p {
  margin-inline: auto;
}
.page-hero a {
  color: var(--orange-dark);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero-media-card {
  position: relative;
  overflow: hidden;
  border: 1px solid #cbd8e6;
  border-radius: 28px;
  background: white;
  box-shadow: 0 28px 80px rgba(8,17,31,.12);
  transform: translate3d(0, 0, 0);
  transition: transform .35s ease, box-shadow .35s ease;
}
.hero-media-card:hover {
  box-shadow: 0 34px 90px rgba(8,17,31,.16);
}
.hero-media-card img {
  width: 100%;
  height: 430px;
  object-fit: cover;
}
.media-caption {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  padding: 18px 20px;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 20px;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(16px);
}
.media-caption span {
  display: block;
  margin-bottom: 6px;
  color: var(--orange-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.media-caption strong {
  display: block;
  color: var(--ink);
  line-height: 1.35;
}

.command-center {
  padding: 24px;
  border: 2px solid var(--ink);
  border-radius: 34px;
  background: rgba(255,255,255,.88);
  box-shadow: 0 28px 80px rgba(8,17,31,.16);
  backdrop-filter: blur(18px);
}
.command-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
}
.radar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  min-height: 220px;
  padding: 18px;
  border-radius: 28px;
  background:
    radial-gradient(circle, rgba(37,99,235,.12) 0 16%, transparent 17% 36%, rgba(20,184,166,.16) 37% 38%, transparent 39%),
    linear-gradient(135deg, #eef7ff, #f2fbfb);
}
.radar span {
  display: grid;
  place-items: center;
  min-height: 74px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,.9);
  font-weight: 900;
}
.system-grid {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}
.system-grid article {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
}
.system-grid strong {
  color: var(--orange);
  white-space: nowrap;
}
.system-grid span {
  color: var(--muted);
  font-weight: 700;
}

.logo-cloud {
  padding: 28px 22px 36px;
  text-align: center;
}
.logo-cloud p {
  color: var(--muted);
  font-size: 14px;
  font-weight: 850;
}
.logo-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}
.logo-row span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 118px;
  min-height: 50px;
  padding: 0 18px;
  border: 1px solid #d7e2ee;
  border-radius: 999px;
  background: white;
  color: var(--slate);
  font-weight: 900;
  box-shadow: 0 8px 24px rgba(30, 24, 18, 0.04);
}

.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  max-width: 1160px;
  margin: 20px auto 0;
  padding: 0 22px;
}
.stats-strip article {
  min-height: 128px;
  padding: 22px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.9);
  box-shadow: 0 14px 32px rgba(8,17,31,.04);
  transition: transform .18s ease, border-color .18s ease;
}
.stats-strip article:hover {
  transform: translateY(-3px);
  border-color: #bdd7ee;
}
.stats-strip strong {
  display: block;
  margin-bottom: 12px;
  color: var(--blue);
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1;
}
.stats-strip span {
  color: var(--muted);
  font-weight: 750;
  line-height: 1.45;
}

.section {
  padding: clamp(54px, 6.4vw, 84px) clamp(22px, 6vw, 84px);
}
.interactive-section {
  padding-top: clamp(46px, 5vw, 72px);
}
.section-head {
  margin-bottom: 42px;
}
.section-head.centered {
  max-width: 850px;
  margin-inline: auto;
  text-align: center;
}
.section-head.split {
  display: grid;
  grid-template-columns: minmax(280px, 720px) minmax(260px, 440px);
  gap: 46px;
  align-items: end;
}
.section-head.split p:not(.eyebrow),
.feature-band p,
.contact-section p {
  color: var(--muted);
  line-height: 1.72;
}
h2 {
  margin-bottom: 0;
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1.1;
}
h3 {
  margin-bottom: 12px;
  font-size: 20px;
}

.mega-grid,
.technical-grid,
.journey-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.journey-grid {
  grid-template-columns: repeat(4, 1fr);
}
.cap-card,
.service-row,
.journey-grid article,
.contact-form {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 16px 42px rgba(8,17,31,.07);
}
.cap-card {
  min-height: 238px;
  padding: 22px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.cap-card:hover,
.service-row:hover {
  transform: translateY(-3px);
  border-color: #bdd7ee;
  box-shadow: 0 26px 70px rgba(8,17,31,.11);
}

.solution-explorer {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 18px;
}
.solution-tabs {
  display: grid;
  gap: 10px;
  align-content: start;
}
.solution-tabs button {
  min-height: 58px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  color: var(--slate);
  background: rgba(255,255,255,.82);
  text-align: left;
  font-weight: 900;
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.solution-tabs button:hover {
  transform: translateX(3px);
  border-color: #bdd7ee;
}
.solution-tabs button.active {
  color: white;
  border-color: transparent;
  background: linear-gradient(135deg, var(--blue), var(--green));
}
.solution-panel {
  min-height: 360px;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.95), rgba(234,246,255,.9));
  box-shadow: 0 20px 60px rgba(8,17,31,.08);
}
.solution-panel-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: start;
  margin-bottom: 30px;
}
.solution-panel h3 {
  margin-bottom: 10px;
  font-size: clamp(26px, 3vw, 38px);
}
.solution-panel p {
  max-width: 720px;
  color: var(--muted);
  line-height: 1.7;
}
.solution-score {
  display: grid;
  place-items: center;
  min-width: 116px;
  min-height: 96px;
  border-radius: 20px;
  color: var(--ink);
  background: white;
  border: 1px solid #d7e2ee;
}
.solution-score strong {
  color: var(--blue);
  font-size: 30px;
  line-height: 1;
}
.solution-score span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}
.solution-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.solution-columns div {
  padding: 18px;
  border-radius: 18px;
  background: white;
  border: 1px solid #d7e2ee;
}
.solution-columns strong {
  display: block;
  margin-bottom: 10px;
}
.solution-columns ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.solution-columns li {
  color: var(--muted);
  line-height: 1.45;
}
.cap-card small,
.service-row small {
  display: inline-flex;
  margin-bottom: 24px;
  color: var(--orange-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.cap-card p,
.service-row p,
.journey-grid p {
  color: var(--muted);
  line-height: 1.65;
}
.cap-card ul,
.service-row ul {
  display: grid;
  gap: 9px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}
.cap-card li,
.service-row li {
  position: relative;
  padding-left: 18px;
  color: var(--slate);
  font-weight: 700;
  line-height: 1.45;
}
.cap-card li::before,
.service-row li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .6em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
}

.dark-section {
  color: white;
  background:
    radial-gradient(circle at 84% 20%, rgba(37,99,235,.22), transparent 34%),
    radial-gradient(circle at 14% 80%, rgba(20,184,166,.18), transparent 30%),
    linear-gradient(135deg, #07111f, #10233a);
}
.dark-section .eyebrow {
  color: var(--gold);
}
.dark-section h2,
.dark-section h3 {
  color: white;
}
.dark-section .journey-grid article {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.18);
}
.journey-grid span {
  display: block;
  margin-bottom: 32px;
  color: var(--gold);
  font-size: 42px;
  font-weight: 900;
}

.feature-band {
  display: grid;
  grid-template-columns: minmax(280px, .9fr) minmax(320px, 560px);
  gap: clamp(36px, 7vw, 86px);
  align-items: center;
  background:
    linear-gradient(135deg, rgba(255,255,255,.72), rgba(234,241,248,.86)),
    var(--soft);
}
.feature-band img {
  width: 100%;
  aspect-ratio: 1.18;
  object-fit: cover;
  border: 1px solid #cbd8e6;
  border-radius: 24px;
  box-shadow: 0 24px 70px rgba(8,17,31,.12);
}
.arrow-link {
  display: inline-flex;
  margin-top: 20px;
  color: var(--ink);
  font-weight: 900;
}

.service-table {
  display: grid;
  gap: 18px;
}
.service-row {
  display: grid;
  grid-template-columns: minmax(220px, .75fr) 1.2fr minmax(220px, .75fr);
  gap: 28px;
  align-items: start;
  padding: 26px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.service-row .chips,
.contact-badges {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  align-items: flex-start;
  gap: 8px;
}
.service-row .chips span,
.contact-badges span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 12px;
  border-radius: 999px;
  color: #075985;
  background: var(--peach);
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.soft-panel {
  background: var(--soft);
}
.identity-hero,
.automation-hero,
.contact-hero {
  background:
    linear-gradient(135deg, rgba(255,255,255,.78), rgba(234,241,248,.82)),
    radial-gradient(circle at 50% 12%, rgba(37,99,235,.12), transparent 34%),
    radial-gradient(circle at 12% 78%, rgba(20,184,166,.12), transparent 30%);
}
.architecture-map {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 10px;
  align-items: center;
}
.architecture-map div,
.architecture-map span,
.workflow-stack span {
  display: grid;
  place-items: center;
  min-height: 94px;
  padding: 14px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 20px;
  background: rgba(255,255,255,.08);
  color: white;
  font-weight: 900;
  text-align: center;
}
.architecture-map div {
  background: linear-gradient(135deg, var(--blue), var(--green));
}
.workflow-stack {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.workflow-stack span {
  border-color: var(--line);
  background: white;
  color: var(--ink);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(280px, .85fr) minmax(320px, 560px);
  gap: clamp(36px, 7vw, 90px);
}
.contact-form {
  display: grid;
  gap: 12px;
  padding: 30px;
}
input, select, textarea {
  width: 100%;
  min-height: 54px;
  padding: 0 18px;
  border: 2px solid var(--ink);
  border-radius: 22px;
  background: white;
  color: var(--ink);
}
textarea {
  min-height: 150px;
  padding-top: 16px;
  resize: vertical;
}
.hidden-field {
  display: none;
}

.final-cta {
  padding: clamp(62px, 7vw, 94px) 22px;
  text-align: center;
  color: white;
  background:
    radial-gradient(circle at 20% 20%, rgba(125,211,252,.22), transparent 30%),
    linear-gradient(135deg, #07111f, #12385d 58%, #0f766e);
}
.final-cta h2 {
  max-width: 860px;
  margin: 0 auto;
}
.final-cta p:not(.eyebrow) {
  max-width: 690px;
  margin: 22px auto 28px;
  color: rgba(255,255,255,.88);
  font-size: 18px;
  line-height: 1.65;
}
.final-cta .eyebrow {
  color: rgba(255,255,255,.86);
}

.site-footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 30px clamp(22px, 6vw, 84px);
  color: white;
  background: var(--ink);
}
.site-footer nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
  font-weight: 800;
}
.site-footer p {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  margin: 0;
  color: rgba(255,255,255,.72);
}
.everify-logo {
  width: 116px;
  height: auto;
  padding: 4px 8px;
  border-radius: 8px;
  background: white;
}

.reveal {
  opacity: 1;
  transform: translateY(0);
}
body.reveal-ready .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .55s ease, transform .55s ease;
}
body.reveal-ready .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .site-header > .button { display: none; }
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 22px 24px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
  }
  .site-nav.open { display: flex; }
  .site-nav a {
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
  }
  .hero-layout,
  .section-head.split,
  .solution-explorer,
  .feature-band,
  .service-row,
  .contact-section,
  .site-footer {
    grid-template-columns: 1fr;
  }
  .stats-strip,
  .mega-grid,
  .technical-grid,
  .journey-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .architecture-map {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  body, main, .hero, .page-hero, .section, .final-cta, .site-footer {
    width: 100vw;
    max-width: 100vw;
    overflow-x: hidden;
  }
  h1 {
    max-width: 292px;
    margin-inline: auto;
    font-size: clamp(28px, 7.8vw, 32px);
    line-height: 1.08;
  }
  h2 {
    font-size: clamp(28px, 8vw, 36px);
  }
  .hero, .page-hero {
    padding-top: 54px;
    text-align: center;
  }
  .hero-layout {
    gap: 34px;
  }
  .hero .eyebrow {
    max-width: 292px;
    margin-inline: auto;
    line-height: 1.45;
  }
  .hero-copy,
  .page-hero p {
    max-width: 300px;
    margin-inline: auto;
    font-size: 16px;
  }
  .hero-actions {
    display: grid;
    width: min(100%, 290px);
    margin-inline: auto;
  }
  .button {
    width: 100%;
  }
  .hero-media-card {
    width: min(100%, 320px);
    margin-inline: auto;
  }
  .hero-media-card img {
    height: 300px;
  }
  .media-caption {
    left: 14px;
    right: 14px;
    bottom: 14px;
    padding: 14px;
  }
  .command-center {
    width: min(100%, 290px);
    margin-inline: auto;
    padding: 18px;
    box-shadow: 10px 10px 0 rgba(7,17,31,.08);
  }
  .system-grid article {
    display: grid;
    gap: 6px;
    text-align: center;
  }
  .system-grid strong,
  .system-grid span {
    white-space: normal;
  }
  .radar,
  .stats-strip,
  .mega-grid,
  .technical-grid,
  .journey-grid,
  .solution-columns,
  .workflow-stack {
    grid-template-columns: 1fr;
  }
  .solution-panel-header {
    grid-template-columns: 1fr;
  }
  .solution-score {
    width: 100%;
  }
  .logo-row {
    display: grid;
    grid-template-columns: 1fr;
    max-width: 300px;
    margin-inline: auto;
  }
  .logo-cloud p {
    max-width: 300px;
    margin-inline: auto;
    line-height: 1.45;
  }
  .site-footer nav {
    justify-content: flex-start;
  }
  .site-footer p {
    align-items: flex-start;
    justify-content: flex-start;
    flex-direction: column;
  }
}
