@font-face {
  font-family: "Boing";
  src: url("./assets/fonts/Boing-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Boing";
  src: url("./assets/fonts/Boing-Medium.otf") format("opentype");
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: "Boing";
  src: url("./assets/fonts/Boing-Bold.otf") format("opentype");
  font-weight: 800;
  font-style: normal;
}

:root {
  --blue: #0d6efd;
  --ink: #161616;
  --graphite: #505050;
  --soft: #f5f7fb;
  --paper: #ffffff;
  --line: rgba(22, 22, 22, 0.12);
  --aqua: #dff8ff;
  --green: #22c79f;
  --shadow: 0 28px 80px rgba(13, 110, 253, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Boing", Arial, sans-serif;
}

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 16px clamp(22px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
}

.brand {
  width: clamp(176px, 18vw, 260px);
  display: block;
}

.brand img {
  width: 100%;
  height: auto;
  display: block;
}

nav {
  display: flex;
  gap: clamp(18px, 3vw, 34px);
  align-items: center;
  color: var(--graphite);
  font-size: 15px;
  font-weight: 600;
}

nav a {
  padding: 10px 0;
}

nav a:hover {
  color: var(--blue);
}

.language-link {
  min-width: 38px;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  border: 1px solid rgba(13, 110, 253, 0.24);
  border-radius: 8px;
  color: var(--blue);
}

.hero {
  min-height: calc(100vh - 84px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.46fr);
  align-items: center;
  gap: clamp(36px, 6vw, 88px);
  padding: clamp(54px, 8vw, 104px) clamp(22px, 6vw, 86px) clamp(44px, 7vw, 76px);
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0 50%, rgba(245, 247, 251, 0.88) 50% 100%),
    radial-gradient(circle at 86% 18%, rgba(13, 110, 253, 0.18), transparent 34%);
}

.hero-main {
  position: relative;
  isolation: isolate;
}

.hero-main::before {
  content: "/";
  speak: never;
  position: absolute;
  z-index: -1;
  left: -0.14em;
  top: -0.43em;
  color: rgba(13, 110, 253, 0.08);
  font-size: clamp(220px, 28vw, 460px);
  font-weight: 800;
  line-height: 1;
  transform: skew(-10deg);
}

.kicker {
  margin: 0 0 18px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
}

h1,
h2,
h3,
p {
  letter-spacing: 0;
}

h1 {
  max-width: 950px;
  margin: 0;
  font-size: clamp(72px, 10.5vw, 162px);
  line-height: 0.83;
  font-weight: 800;
}

.hero-text {
  width: min(720px, 100%);
  margin: 30px 0 0;
  color: var(--graphite);
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.38;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 800;
}

.button.primary {
  background: var(--blue);
  color: #ffffff;
  box-shadow: 0 16px 34px rgba(13, 110, 253, 0.22);
}

.button.ghost {
  border: 1px solid var(--line);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.7);
}

.signal-panel {
  position: relative;
  min-height: 540px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  border: 1px solid rgba(13, 110, 253, 0.18);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.panel-mark {
  position: absolute;
  width: min(360px, 78%);
  top: 28px;
  right: -18px;
  opacity: 0.12;
}

.panel-head {
  position: relative;
  display: grid;
  gap: 8px;
  margin-bottom: 26px;
}

.panel-head span,
.metric-row span {
  color: var(--graphite);
  font-size: 14px;
}

.panel-head strong {
  max-width: 270px;
  font-size: 34px;
  line-height: 1;
}

.metric-row {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: baseline;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.metric-row strong {
  color: var(--blue);
  font-size: 38px;
  font-weight: 800;
}

.statement {
  padding: clamp(58px, 8vw, 110px) clamp(22px, 7vw, 112px);
  background: var(--blue);
  color: #ffffff;
}

.statement p {
  width: min(1120px, 100%);
  margin: 0;
  font-size: clamp(34px, 5.2vw, 78px);
  line-height: 0.98;
  font-weight: 800;
}

.solutions,
.industries,
.method,
.contact {
  padding: clamp(58px, 8vw, 106px) clamp(22px, 6vw, 86px);
}

.section-label {
  display: flex;
  align-items: baseline;
  gap: 18px;
  margin-bottom: 34px;
  color: var(--blue);
}

.section-label.inverse {
  color: #ffffff;
}

.section-label span {
  font-size: 14px;
  font-weight: 800;
}

.section-label h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(34px, 5vw, 72px);
  line-height: 0.95;
}

.section-label.inverse h2 {
  color: #ffffff;
}

.solution-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.solution-list article {
  min-height: 330px;
  display: grid;
  align-content: space-between;
  padding: 30px 28px;
  border-right: 1px solid var(--line);
}

.solution-list article:last-child {
  border-right: 0;
}

.solution-index {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 2px solid var(--blue);
  color: var(--blue);
  font-weight: 800;
}

.solution-list h3,
.industry-grid h3 {
  margin: 0 0 14px;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1;
}

.solution-list p,
.industry-grid p,
.method p {
  margin: 0;
  color: var(--graphite);
  font-size: 18px;
  line-height: 1.48;
}

.industries {
  background: var(--ink);
  color: #ffffff;
}

.industry-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.16);
}

.industry-grid article {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  background: var(--ink);
}

.industry-grid article:nth-child(2) {
  background: #1e1e1e;
}

.industry-grid article:nth-child(3) {
  background: #262626;
}

.industry-grid article:nth-child(4) {
  background: #303030;
}

.industry-grid p {
  color: rgba(255, 255, 255, 0.72);
}

.method {
  background: var(--soft);
}

.method ol {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: method;
}

.method li {
  counter-increment: method;
  min-height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid var(--line);
}

.method li::before {
  content: "0" counter(method);
  color: var(--blue);
  font-size: 14px;
  font-weight: 800;
}

.method span {
  font-size: 34px;
  line-height: 1;
  font-weight: 800;
}

.contact {
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  background:
    linear-gradient(90deg, rgba(13, 110, 253, 0.93), rgba(13, 110, 253, 0.78)),
    url("./assets/logos/sdr-logo-negative.png") right -160px center / 760px auto no-repeat;
  color: #ffffff;
}

.contact .kicker {
  color: rgba(255, 255, 255, 0.78);
}

.contact h2 {
  max-width: 860px;
  margin: 0;
  font-size: clamp(42px, 6vw, 92px);
  line-height: 0.92;
}

.contact .button.primary {
  flex: 0 0 auto;
  background: #ffffff;
  color: var(--blue);
  box-shadow: none;
}

@media (max-width: 1040px) {
  .hero,
  .solution-list,
  .industry-grid,
  .method ol {
    grid-template-columns: 1fr 1fr;
  }

  .signal-panel {
    min-height: 440px;
  }

  .solution-list article:nth-child(2) {
    border-right: 0;
  }

  .solution-list article:last-child {
    grid-column: 1 / -1;
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 760px) {
  .topbar {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero,
  .solution-list,
  .industry-grid,
  .method ol {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: clamp(58px, 18vw, 92px);
  }

  .hero {
    min-height: auto;
  }

  .signal-panel {
    min-height: 390px;
  }

  .solution-list article,
  .solution-list article:nth-child(2),
  .solution-list article:last-child {
    border-right: 0;
    border-top: 1px solid var(--line);
  }

  .contact {
    align-items: flex-start;
    flex-direction: column;
    background-position: right -260px bottom 12px;
    background-size: 620px auto;
  }
}
