:root {
  --ink: #111827;
  --muted: #5f6c7a;
  --soft: #f6f8fb;
  --white: #ffffff;
  --line: #dbe4ec;
  --blue: #2f6fed;
  --green: #2f8a73;
  --coral: #e4564f;
  --yellow: #f3bd4a;
  --dark: #0f172a;
  --shadow: 0 24px 70px rgba(15, 23, 42, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, Arial, sans-serif;
  line-height: 1.55;
}

img,
svg {
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  padding: 0 42px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid rgba(219, 228, 236, 0.8);
  backdrop-filter: blur(20px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 162px;
  color: var(--ink);
}

.brand-icon {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.brand-name {
  font-size: 0.95rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 0.88rem;
  font-weight: 800;
}

.site-nav a {
  color: rgba(17, 24, 39, 0.78);
}

.site-nav a:hover {
  color: var(--ink);
}

.nav-button {
  padding: 11px 18px;
  color: var(--white) !important;
  background: var(--ink);
  border-radius: 4px;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

.hero {
  position: relative;
  display: grid;
  align-items: start;
  min-height: 82vh;
  padding: 106px 32px 50px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.98)),
    linear-gradient(120deg, rgba(47, 111, 237, 0.12), rgba(47, 138, 115, 0.08), rgba(243, 189, 74, 0.12)),
    var(--soft);
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  line-height: 0.98;
  letter-spacing: 0;
}

h1 {
  margin-bottom: 20px;
  font-size: 4.05rem;
  font-weight: 900;
}

h2 {
  margin-bottom: 18px;
  font-size: 3.45rem;
  font-weight: 900;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.08rem;
}

.hero-text {
  max-width: 650px;
  margin: 0 auto 24px;
  color: var(--muted);
  font-size: 1.2rem;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 4px;
  font-weight: 900;
  text-align: center;
}

.button.primary {
  color: var(--white);
  background: var(--blue);
}

.button.light {
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
}

.button.text-button {
  min-width: 0;
  padding: 0 10px;
  color: var(--muted);
  background: transparent;
}

.button.text-button:hover {
  color: var(--ink);
}

.hero-snapshot {
  width: min(660px, 92vw);
  margin: 34px auto 0;
  padding: 22px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(219, 228, 236, 0.95);
  border-radius: 8px;
  box-shadow: 0 18px 56px rgba(15, 23, 42, 0.1);
}

.facts-row {
  display: flex;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  max-width: 980px;
  margin: 26px auto 0;
  color: rgba(17, 24, 39, 0.72);
  font-size: 0.83rem;
  font-weight: 800;
  text-align: center;
}

.facts-row span {
  display: inline-flex;
  align-items: center;
  padding: 7px 0;
}

.facts-row span:not(:last-child)::after {
  content: "";
  width: 4px;
  height: 4px;
  margin: 0 14px;
  border-radius: 50%;
  background: var(--blue);
}

.snapshot-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
  text-align: left;
}

.snapshot-header span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.snapshot-header strong {
  font-size: 1.05rem;
}

.snapshot-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}

.snapshot-metrics div {
  padding: 14px;
  background: var(--soft);
  border-radius: 6px;
}

.snapshot-metrics small {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.snapshot-metrics strong {
  font-size: 1.65rem;
}

.snapshot-lines {
  display: grid;
  gap: 8px;
}

.snapshot-lines span {
  height: 7px;
  border-radius: 999px;
}

.snapshot-lines span:nth-child(1) {
  width: 86%;
  background: var(--blue);
}

.snapshot-lines span:nth-child(2) {
  width: 64%;
  background: var(--green);
}

.snapshot-lines span:nth-child(3) {
  width: 74%;
  background: var(--yellow);
}

.section {
  padding: 104px 36px;
}

.anchor-alias {
  display: block;
  position: relative;
  top: -68px;
  height: 0;
}

.section {
  scroll-margin-top: 68px;
}

.centered {
  max-width: 820px;
  margin: 0 auto 46px;
  text-align: center;
}

.section-copy p:last-child {
  color: var(--muted);
  font-size: 1.08rem;
}

.site-footer p {
  color: var(--muted);
}

.insight-section {
  padding-top: 76px;
  padding-bottom: 78px;
  background: var(--white);
}

.compact-copy {
  max-width: 720px;
  margin-bottom: 34px;
}

.compact-copy h2 {
  font-size: 2.35rem;
  line-height: 1.04;
}

.business-summary {
  max-width: 820px;
  margin: 0 auto 34px;
  text-align: center;
}

.business-summary p {
  max-width: 760px;
  margin: 0 auto 18px;
  color: var(--ink);
  font-size: 1.08rem;
}

.business-points {
  display: flex;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 900;
  text-transform: uppercase;
}

.business-points span {
  display: inline-flex;
  align-items: center;
}

.business-points span:not(:last-child)::after {
  content: "";
  width: 5px;
  height: 5px;
  margin: 0 16px;
  border-radius: 50%;
  background: var(--yellow);
}

.start-section {
  padding-top: 82px;
  padding-bottom: 84px;
  background: var(--soft);
}

.system-section {
  background: var(--white);
}

.interaction-cue {
  max-width: 620px;
  margin: -10px auto 18px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
}

.term-cloud {
  position: relative;
  display: flex;
  justify-content: center;
  gap: 18px 34px;
  flex-wrap: wrap;
  max-width: 960px;
  margin: 0 auto;
  padding: 10px 0 34px;
  text-align: center;
}

.term-item {
  position: relative;
  display: inline-grid;
  place-items: center;
  min-height: 44px;
  padding: 0;
  color: var(--ink);
  background: transparent;
  border: 0;
  cursor: pointer;
  font: inherit;
  text-align: center;
}

.term-label {
  position: relative;
  display: inline-block;
  padding: 8px 2px;
  font-size: 1.03rem;
  font-weight: 900;
  line-height: 1.2;
}

.term-label::after {
  content: "";
  position: absolute;
  left: 50%;
  right: 50%;
  bottom: 2px;
  height: 2px;
  background: var(--blue);
  transition: left 180ms ease, right 180ms ease;
}

.term-popover {
  position: absolute;
  left: 50%;
  top: calc(100% + 12px);
  z-index: 8;
  width: min(280px, calc(100vw - 44px));
  padding: 16px 18px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.14);
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.5;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 8px) scale(0.98);
  transition: opacity 180ms ease, transform 180ms ease;
}

.term-popover::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -6px;
  width: 11px;
  height: 11px;
  background: inherit;
  border-left: 1px solid var(--line);
  border-top: 1px solid var(--line);
  transform: translateX(-50%) rotate(45deg);
}

.term-item:hover .term-label::after,
.term-item:focus-visible .term-label::after,
.term-item.is-active .term-label::after {
  left: 0;
  right: 0;
}

.term-item:hover .term-popover,
.term-item:focus-visible .term-popover,
.term-item.is-active .term-popover {
  opacity: 1;
  transform: translate(-50%, 0) scale(1);
}

.term-item:focus-visible {
  outline: 2px solid rgba(47, 111, 237, 0.45);
  outline-offset: 6px;
}

.compact-terms,
.system-terms {
  max-width: 1040px;
}

.system-terms .term-label {
  font-size: 1.12rem;
}

.contact-logo {
  display: grid;
  place-items: center;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
}

.contact-logo svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.contact-section {
  background: var(--white);
  padding-top: 84px;
}

.contact-list {
  display: grid;
  gap: 24px;
  max-width: 620px;
  margin: 0 auto;
}

.contact-line {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 18px;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
  text-align: left;
}

.contact-line:hover strong {
  color: var(--blue);
}

.linkedin-logo {
  color: #0a66c2;
}

.linkedin-logo svg {
  width: 31px;
  height: 31px;
  fill: none;
  stroke: none;
}

.linkedin-bg {
  fill: #0a66c2;
}

.linkedin-mark {
  fill: none;
  stroke: #ffffff;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.location-logo {
  color: var(--green);
}

.gmail-logo svg {
  width: 31px;
  height: 31px;
  stroke: none;
}

.gmail-red {
  fill: #ea4335;
}

.gmail-blue {
  fill: #4285f4;
}

.gmail-green {
  fill: #34a853;
}

.gmail-yellow {
  fill: #fbbc04;
}

.contact-line small {
  display: block;
  margin-bottom: 2px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-line strong {
  overflow-wrap: anywhere;
  font-size: 1.08rem;
}

.site-footer {
  display: grid;
  justify-items: center;
  gap: 18px;
  padding: 56px 28px;
  text-align: center;
  color: var(--white);
  background: var(--dark);
}

.site-footer .brand {
  color: var(--white);
}

.site-footer .brand-icon {
  filter: brightness(0) invert(1);
}

.site-footer p {
  max-width: 620px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.68);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.copyright {
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

@media (max-width: 1080px) {
  h1 {
    font-size: 3.55rem;
  }

  h2 {
    font-size: 2.8rem;
  }

  .term-cloud {
    max-width: 760px;
  }
}

@media (max-width: 820px) {
  .site-header {
    min-height: 66px;
    padding: 0 20px;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: 66px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 20px 22px;
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid var(--line);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 15px 0;
    text-align: center;
  }

  .nav-button {
    margin-top: 8px;
  }

}

@media (max-width: 600px) {
  .hero {
    padding: 104px 20px 28px;
  }

  .hero-inner,
  .hero-actions,
  .hero-snapshot {
    width: calc(100vw - 40px);
    max-width: calc(100vw - 40px);
  }

  h1 {
    font-size: 2.7rem;
  }

  h2 {
    font-size: 2.2rem;
  }

  .hero-text {
    font-size: 1.04rem;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .button {
    min-width: 0;
  }

  .button.text-button {
    width: auto;
    min-height: 34px;
  }

  .facts-row {
    display: grid;
    gap: 6px;
    font-size: 0.8rem;
  }

  .facts-row span {
    justify-content: center;
    padding: 0;
  }

  .facts-row span:not(:last-child)::after {
    display: none;
  }

  .hero-snapshot {
    width: 100%;
    padding: 18px;
  }

  .snapshot-header {
    grid-template-columns: 1fr;
  }

  .snapshot-header {
    display: grid;
    gap: 4px;
    text-align: center;
  }

  .section {
    padding: 76px 20px;
  }

  .insight-section {
    padding-top: 58px;
    padding-bottom: 60px;
  }

  .compact-copy h2 {
    font-size: 1.9rem;
  }

  .business-summary p {
    font-size: 1rem;
  }

  .business-points {
    display: grid;
    gap: 8px;
  }

  .business-points span {
    justify-content: center;
  }

  .business-points span:not(:last-child)::after {
    display: none;
  }

  .term-cloud {
    display: grid;
    justify-items: center;
    gap: 12px;
    padding-bottom: 22px;
  }

  .term-item {
    min-height: 38px;
  }

  .term-label {
    font-size: 1rem;
  }

  .term-popover {
    position: fixed;
    left: 50%;
    top: auto;
    bottom: 24px;
    width: min(330px, calc(100vw - 32px));
    transform: translate(-50%, 12px) scale(0.98);
  }

  .term-popover::before {
    display: none;
  }

  .term-item:hover .term-popover,
  .term-item:focus-visible .term-popover,
  .term-item.is-active .term-popover {
    transform: translate(-50%, 0) scale(1);
  }

  .contact-line {
    justify-content: center;
    text-align: center;
    flex-direction: column;
    gap: 10px;
  }
}

@media (max-width: 360px) {
  .hero {
    padding-left: 14px;
    padding-right: 14px;
  }

  .hero-inner,
  .hero-actions,
  .hero-snapshot {
    width: calc(100vw - 28px);
    max-width: calc(100vw - 28px);
  }

  h1 {
    font-size: 2.35rem;
  }

  .hero .eyebrow {
    font-size: 0.72rem;
    overflow-wrap: anywhere;
  }
}
