:root {
  --ink: #182033;
  --muted: #667085;
  --paper: #fbf7ef;
  --white: #ffffff;
  --sand: #efe3cf;
  --blue: #2257ff;
  --orange: #ff8a3d;
  --green: #1f9d75;
  --line: #e4dccf;
  --shadow: 0 28px 70px rgba(56, 45, 32, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(34, 87, 255, 0.06) 1px, transparent 1px),
    linear-gradient(rgba(34, 87, 255, 0.05) 1px, transparent 1px),
    var(--paper);
  background-size: 48px 48px;
  font-family: Georgia, Cambria, "Times New Roman", serif;
}

a {
  color: inherit;
  text-decoration: none;
}

.topbar {
  max-width: 1200px;
  margin: 18px auto 0;
  padding: 16px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px);
  position: sticky;
  top: 16px;
  z-index: 10;
  box-shadow: 0 12px 34px rgba(39, 31, 20, 0.08);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: Inter, Segoe UI, Arial, sans-serif;
  font-weight: 800;
}

.logo span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--blue);
  letter-spacing: -0.08em;
}

.menu {
  display: flex;
  gap: 22px;
  font-family: Inter, Segoe UI, Arial, sans-serif;
  color: var(--muted);
  font-size: 0.95rem;
}

.menu a:hover {
  color: var(--blue);
}

.menu-button {
  display: none;
}

.hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 92px 24px 66px;
  display: grid;
  grid-template-columns: 1fr 450px;
  gap: 58px;
  align-items: center;
}

.tag {
  margin: 0 0 16px;
  font-family: Inter, Segoe UI, Arial, sans-serif;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  font-weight: 900;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(3rem, 7vw, 6.7rem);
  line-height: 0.88;
  letter-spacing: -0.075em;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2.2rem, 4.2vw, 4.7rem);
  line-height: 0.93;
  letter-spacing: -0.065em;
}

h3 {
  font-size: 1.35rem;
}

.hero-text p:not(.tag),
.intro-strip p,
.capability p,
.industries-copy p,
.accordion-content,
.contact-box p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
  font-family: Inter, Segoe UI, Arial, sans-serif;
}

.button {
  display: inline-flex;
  justify-content: center;
  border-radius: 999px;
  padding: 15px 22px;
  font-weight: 800;
}

.button.dark {
  color: var(--white);
  background: var(--ink);
}

.button.light {
  border: 1px solid var(--line);
  background: var(--white);
}

.strategy-board {
  border: 1px solid var(--line);
  border-radius: 36px;
  padding: 18px;
  background: var(--white);
  box-shadow: var(--shadow);
  transform: rotate(1.5deg);
}

.board-header {
  display: flex;
  gap: 8px;
  padding: 10px 10px 18px;
}

.board-header span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--line);
}

.board-header span:nth-child(1) {
  background: var(--orange);
}

.board-header span:nth-child(2) {
  background: var(--green);
}

.board-header span:nth-child(3) {
  background: var(--blue);
}

.board-row {
  margin-bottom: 12px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fffaf1;
  font-family: Inter, Segoe UI, Arial, sans-serif;
}

.board-row.active {
  color: var(--white);
  background: var(--blue);
}

.board-row p {
  margin: 8px 0 0;
  color: inherit;
  opacity: 0.72;
}

.intro-strip,
.section,
.industries,
.numbers,
.faq,
.contact {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.intro-strip {
  padding-top: 12px;
  padding-bottom: 88px;
}

.intro-strip p {
  max-width: 920px;
  padding: 34px;
  border-left: 8px solid var(--orange);
  border-radius: 26px;
  background: var(--white);
  box-shadow: var(--shadow);
  font-size: clamp(1.18rem, 2vw, 1.6rem);
}

.section,
.faq {
  padding-top: 74px;
  padding-bottom: 82px;
}

.section-title {
  max-width: 760px;
  margin-bottom: 36px;
}

.capabilities {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.capability {
  min-height: 320px;
  display: flex;
  flex-direction: column;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: var(--white);
  box-shadow: 0 16px 44px rgba(47, 36, 21, 0.08);
}

.icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin-bottom: auto;
  border-radius: 18px;
  color: var(--white);
  background: var(--orange);
  font-family: Inter, Segoe UI, Arial, sans-serif;
  font-weight: 900;
  font-size: 1.5rem;
}

.capability:nth-child(2) .icon {
  background: var(--blue);
}

.capability:nth-child(3) .icon {
  background: var(--green);
}

.capability:nth-child(4) .icon {
  background: var(--ink);
}

.industries {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 38px;
  padding-top: 70px;
  padding-bottom: 70px;
}

.industry-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.industry-tab {
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 22px;
  color: var(--ink);
  background: var(--white);
  font: 800 1rem Inter, Segoe UI, Arial, sans-serif;
  text-align: left;
  cursor: pointer;
}

.industry-tab.active {
  color: var(--white);
  background: var(--ink);
}

.industry-panel {
  grid-column: 1 / -1;
  min-height: 142px;
  padding: 28px;
  border-radius: 26px;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), #15329b);
  font: 700 1.25rem/1.6 Inter, Segoe UI, Arial, sans-serif;
}

.numbers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding-top: 42px;
  padding-bottom: 82px;
}

.numbers article {
  padding: 30px;
  border-radius: 30px;
  color: var(--white);
  background: var(--ink);
  font-family: Inter, Segoe UI, Arial, sans-serif;
}

.numbers article:nth-child(2) {
  background: var(--orange);
}

.numbers article:nth-child(3) {
  background: var(--green);
}

.numbers strong {
  display: block;
  font-size: 4.4rem;
  line-height: 0.9;
}

.numbers span {
  display: block;
  margin-top: 18px;
  opacity: 0.82;
}

.accordion {
  max-width: 860px;
  display: grid;
  gap: 10px;
}

.accordion-item {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 22px;
  color: var(--ink);
  background: var(--white);
  font: 900 1.05rem Inter, Segoe UI, Arial, sans-serif;
  cursor: pointer;
}

.accordion-item small {
  font-size: 1.35rem;
}

.accordion-content {
  display: none;
  margin-top: -4px;
  padding: 4px 22px 22px;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-radius: 0 0 22px 22px;
  background: var(--white);
}

.accordion-content.open {
  display: block;
}

.contact {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 18px;
  padding-top: 82px;
  padding-bottom: 96px;
}

.contact-box,
.contact-details {
  border-radius: 34px;
  padding: 34px;
}

.contact-box {
  color: var(--white);
  background: var(--ink);
}

.contact-box .tag,
.contact-box p {
  color: #dbe7ff;
}

.contact-details {
  display: grid;
  align-content: center;
  gap: 18px;
  border: 1px solid var(--line);
  background: var(--white);
  font: 900 1.08rem Inter, Segoe UI, Arial, sans-serif;
}

.contact-details a {
  color: var(--blue);
}

footer {
  max-width: 1200px;
  margin: 0 auto;
  padding: 28px 24px 36px;
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-family: Inter, Segoe UI, Arial, sans-serif;
}

.fade-in {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 960px) {
  .topbar {
    border-radius: 28px;
  }

  .menu-button {
    display: inline-flex;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 10px 14px;
    background: var(--white);
    font-weight: 800;
  }

  .menu {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: var(--white);
  }

  .menu.open {
    display: flex;
  }

  .hero,
  .industries,
  .contact {
    grid-template-columns: 1fr;
  }

  .capabilities {
    grid-template-columns: repeat(2, 1fr);
  }

  .numbers {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .hero {
    padding-top: 62px;
  }

  .hero-buttons,
  footer {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .capabilities,
  .industry-list {
    grid-template-columns: 1fr;
  }
}
