:root {
  --ink: #292836;
  --purple: #4b495c;
  --purple-soft: #747086;
  --gold: #e2a820;
  --gold-dark: #bd8510;
  --cream: #faf7f0;
  --lavender: #f1f0f5;
  --white: #ffffff;
  --muted: #666474;
  --line: #dedce5;
  --shadow: 0 24px 70px rgba(54, 50, 70, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: "Avenir Next", Avenir, Inter, ui-sans-serif, system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

button,
input,
select,
textarea {
  font: inherit;
}

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

img {
  display: block;
  max-width: 100%;
}

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

h1,
h2,
h3 {
  line-height: 1.08;
  letter-spacing: -0.035em;
}

section[id] {
  scroll-margin-top: 90px;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.section {
  padding: 112px 0;
}

.eyebrow {
  margin-bottom: 18px;
  color: var(--gold-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.eyebrow-light {
  color: #f8ce69;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gold);
  border-radius: 8px;
  background: var(--gold);
  color: #272430;
  cursor: pointer;
  font-size: 0.94rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  padding: 13px 22px;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover {
  border-color: #edbb40;
  background: #edbb40;
  transform: translateY(-2px);
}

.button:focus-visible,
a:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(226, 168, 32, 0.42);
  outline-offset: 3px;
}

.button-small {
  min-height: 43px;
  padding: 9px 17px;
}

.button-full {
  width: 100%;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--purple);
  font-size: 0.95rem;
  font-weight: 800;
}

.text-link span {
  color: var(--gold-dark);
  font-size: 1.25rem;
  transition: transform 180ms ease;
}

.text-link:hover span {
  transform: translateX(4px);
}

.brand-logo {
  position: relative;
  display: block;
  width: 210px;
  aspect-ratio: 1841 / 438;
  overflow: hidden;
}

.brand-logo img {
  width: 111.25%;
  max-width: none;
  transform: translate(-5.42%, -38.52%);
}

.brand-logo-light img {
  filter: brightness(0) invert(1);
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid rgba(222, 220, 229, 0.78);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
}

.brand-link {
  display: inline-flex;
  flex-shrink: 0;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-left: auto;
}

.desktop-nav a {
  color: #565464;
  font-size: 0.9rem;
  font-weight: 700;
}

.desktop-nav a:hover {
  color: var(--gold-dark);
}

.mobile-nav {
  position: relative;
  display: none;
}

.mobile-nav summary {
  cursor: pointer;
  font-weight: 800;
  list-style: none;
}

.mobile-nav summary::-webkit-details-marker {
  display: none;
}

.mobile-nav nav {
  position: absolute;
  top: 43px;
  right: 0;
  display: grid;
  width: 260px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.mobile-nav nav a {
  border-bottom: 1px solid var(--line);
  padding: 14px 18px;
  font-weight: 700;
}

.mobile-nav nav a:last-child {
  border: 0;
  background: var(--gold);
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 86% 20%, rgba(226, 168, 32, 0.16), transparent 24%),
    linear-gradient(145deg, #fcfaf6 0%, #f5f3f7 58%, #ece9f0 100%);
  padding: 112px 0 104px;
}

.hero::after {
  position: absolute;
  right: -190px;
  bottom: -330px;
  width: 640px;
  height: 640px;
  border: 1px solid rgba(75, 73, 92, 0.12);
  border-radius: 50%;
  content: "";
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 1.18fr) minmax(360px, 0.82fr);
  gap: 84px;
}

.hero-copy h1 {
  max-width: 760px;
  margin-bottom: 26px;
  color: var(--purple);
  font-size: clamp(3.5rem, 6.1vw, 6.1rem);
  font-weight: 750;
}

.hero-copy h1 span {
  display: block;
  color: var(--gold-dark);
}

.hero-lead {
  max-width: 680px;
  margin-bottom: 34px;
  color: #595766;
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.hero-panel {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: var(--purple);
  box-shadow: 0 32px 80px rgba(55, 52, 70, 0.24);
  color: var(--white);
  padding: 42px;
}

.panel-glow {
  position: absolute;
  top: -100px;
  right: -70px;
  width: 230px;
  height: 230px;
  border-radius: 50%;
  background: rgba(226, 168, 32, 0.3);
  filter: blur(4px);
}

.panel-kicker {
  position: relative;
  margin-bottom: 16px;
  color: #f6cd6a;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-panel h2 {
  position: relative;
  margin-bottom: 34px;
  font-size: clamp(1.9rem, 3vw, 2.65rem);
}

.panel-list {
  display: grid;
  gap: 4px;
}

.panel-list div {
  display: grid;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  grid-template-columns: 45px 1fr;
  padding: 18px 0;
}

.panel-list span {
  color: #f3c559;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.panel-list p {
  margin: 0;
  color: #f2f0f5;
  font-size: 0.96rem;
  font-weight: 650;
}

.expertise-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
  padding: 25px 0;
}

.expertise-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.expertise-inner > p {
  margin: 0;
  color: var(--purple);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.expertise-inner > div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.expertise-inner span {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--cream);
  color: #5a5867;
  font-size: 0.79rem;
  font-weight: 700;
  padding: 8px 13px;
}

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

.section-heading {
  max-width: 760px;
  margin-bottom: 54px;
}

.section-heading h2,
.platform-heading h2,
.why-copy h2,
.contact-copy h2 {
  margin-bottom: 22px;
  color: var(--purple);
  font-size: clamp(2.45rem, 4.6vw, 4.25rem);
}

.section-heading > p:last-child,
.platform-heading > p,
.why-copy > p,
.contact-copy > p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.service-card {
  display: flex;
  min-height: 590px;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 14px 34px rgba(59, 56, 72, 0.06);
  padding: 30px;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.service-card:hover {
  border-color: rgba(226, 168, 32, 0.65);
  box-shadow: 0 24px 55px rgba(59, 56, 72, 0.12);
  transform: translateY(-6px);
}

.service-card:nth-child(2) {
  background: var(--purple);
  color: var(--white);
}

.service-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 42px;
}

.service-number {
  color: var(--gold-dark);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.service-card:nth-child(2) .service-number {
  color: #f5c75c;
}

.service-label {
  border-radius: 999px;
  background: var(--lavender);
  color: var(--purple);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 7px 11px;
  text-transform: uppercase;
}

.service-card:nth-child(2) .service-label {
  background: rgba(255, 255, 255, 0.12);
  color: #f5c75c;
}

.service-card h3 {
  margin-bottom: 18px;
  color: var(--purple);
  font-size: 1.7rem;
}

.service-card:nth-child(2) h3 {
  color: var(--white);
}

.service-card > p {
  margin-bottom: 23px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.72;
}

.service-card:nth-child(2) > p {
  color: #dcd9e2;
}

.service-card ul {
  display: grid;
  gap: 13px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.service-card li {
  position: relative;
  color: #555361;
  font-size: 0.88rem;
  font-weight: 650;
  line-height: 1.45;
  padding-left: 22px;
}

.service-card li::before {
  position: absolute;
  top: 0.57em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  content: "";
}

.service-card:nth-child(2) li {
  color: #eeecf1;
}

.service-card > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  border-top: 1px solid var(--line);
  color: var(--purple);
  font-size: 0.88rem;
  font-weight: 800;
  padding-top: 20px;
}

.service-card:nth-child(2) > a {
  border-color: rgba(255, 255, 255, 0.18);
  color: #f6cb65;
}

.platform-section {
  background: var(--cream);
}

.platform-heading {
  display: grid;
  align-items: end;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 80px;
  margin-bottom: 56px;
}

.platform-heading h2 {
  margin-bottom: 0;
}

.platform-heading > p {
  margin-bottom: 6px;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid #d8d3c9;
  border-left: 1px solid #d8d3c9;
}

.capability-grid article {
  min-height: 245px;
  border-right: 1px solid #d8d3c9;
  border-bottom: 1px solid #d8d3c9;
  padding: 28px;
}

.capability-index {
  display: block;
  margin-bottom: 45px;
  color: var(--gold-dark);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.13em;
}

.capability-grid h3 {
  margin-bottom: 12px;
  color: var(--purple);
  font-size: 1.12rem;
  letter-spacing: -0.02em;
}

.capability-grid p {
  margin: 0;
  color: #6c6872;
  font-size: 0.88rem;
  line-height: 1.65;
}

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

.why-grid {
  display: grid;
  align-items: center;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 100px;
}

.why-visual {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: linear-gradient(150deg, var(--purple) 0%, #373644 100%);
  box-shadow: var(--shadow);
  color: var(--white);
  padding: 58px 48px;
}

.why-visual::after {
  position: absolute;
  right: -100px;
  bottom: -130px;
  width: 310px;
  height: 310px;
  border: 45px solid rgba(226, 168, 32, 0.15);
  border-radius: 50%;
  content: "";
}

.why-visual > p {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: clamp(1.65rem, 3vw, 2.45rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.balance-line {
  position: relative;
  z-index: 1;
  height: 5px;
  margin: 35px 0;
  border-radius: 99px;
  background: linear-gradient(90deg, #f3c253 0 50%, rgba(255, 255, 255, 0.22) 50%);
}

.balance-line span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 25px;
  height: 25px;
  border: 5px solid var(--purple);
  border-radius: 50%;
  background: var(--gold);
  transform: translate(-50%, -50%);
}

.why-visual strong {
  position: relative;
  z-index: 1;
  display: block;
  margin-top: 48px;
  color: #f3c65f;
  font-size: 0.77rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.why-copy h2 {
  max-width: 680px;
}

.why-copy > p {
  margin-bottom: 19px;
}

.why-copy .text-link {
  margin-top: 12px;
}

.process-section {
  border-top: 1px solid var(--line);
  background: var(--lavender);
}

.process-heading {
  margin-bottom: 48px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 42px;
}

.steps-grid article {
  border-top: 2px solid var(--purple);
  padding-top: 22px;
}

.steps-grid span {
  display: inline-grid;
  width: 36px;
  height: 36px;
  place-items: center;
  margin-bottom: 31px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 900;
}

.steps-grid h3 {
  margin-bottom: 13px;
  color: var(--purple);
  font-size: 1.4rem;
}

.steps-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.7;
}

.contact-section {
  background: var(--purple);
  color: var(--white);
  padding: 112px 0;
}

.contact-grid {
  display: grid;
  align-items: start;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 90px;
}

.contact-copy h2 {
  color: var(--white);
}

.contact-copy > p {
  color: #dedbe4;
}

.contact-points {
  display: grid;
  gap: 13px;
  margin-top: 35px;
}

.contact-points span {
  position: relative;
  color: #f5f3f7;
  font-size: 0.9rem;
  font-weight: 700;
  padding-left: 24px;
}

.contact-points span::before {
  position: absolute;
  top: 0.58em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  content: "";
}

.consultation-form {
  display: grid;
  gap: 17px;
  border-radius: 20px;
  background: var(--white);
  box-shadow: 0 30px 80px rgba(27, 25, 34, 0.26);
  color: var(--ink);
  padding: 34px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 17px;
}

.consultation-form label {
  display: grid;
  gap: 7px;
  color: #4c4a57;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.consultation-form input,
.consultation-form select,
.consultation-form textarea {
  width: 100%;
  border: 1px solid #d7d5dc;
  border-radius: 7px;
  background: #fcfbfd;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 12px 13px;
}

.consultation-form input,
.consultation-form select {
  min-height: 47px;
}

.consultation-form textarea {
  resize: vertical;
}

.integration-note {
  margin: -4px 0 0;
  color: #7a7783;
  font-size: 0.75rem;
  text-align: center;
}

footer {
  background: #25242e;
  color: #d9d6df;
  padding: 46px 0;
}

.footer-inner {
  display: grid;
  align-items: end;
  grid-template-columns: 1.2fr 1fr auto;
  gap: 40px;
}

.footer-inner .brand-logo {
  width: 185px;
  margin-bottom: 12px;
}

.footer-inner p {
  margin: 0;
  color: #aaa7b3;
  font-size: 0.82rem;
}

.footer-inner > div p {
  color: #f2c35a;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-inner a {
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 800;
}

@media (max-width: 1020px) {
  .desktop-nav,
  .header-inner > .button-small {
    display: none;
  }

  .mobile-nav {
    display: block;
    margin-left: auto;
  }

  .hero-grid,
  .why-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 54px;
  }

  .hero-copy {
    max-width: 820px;
  }

  .hero-panel {
    max-width: 660px;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 0;
  }

  .platform-heading {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .platform-heading > p {
    max-width: 680px;
  }

  .capability-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-grid,
  .contact-grid {
    gap: 56px;
  }

  .why-visual {
    max-width: 640px;
  }

  .contact-copy {
    max-width: 720px;
  }

  .footer-inner {
    grid-template-columns: 1fr auto;
  }

  .footer-inner > p {
    display: none;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .section,
  .contact-section {
    padding: 82px 0;
  }

  .header-inner {
    min-height: 69px;
  }

  .brand-logo {
    width: 174px;
  }

  .hero {
    padding: 82px 0 74px;
  }

  .hero-copy h1 {
    font-size: clamp(3.1rem, 15vw, 4.65rem);
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

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

  .hero-panel {
    border-radius: 18px;
    padding: 30px 25px;
  }

  .expertise-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .expertise-inner > div {
    gap: 7px;
  }

  .section-heading {
    margin-bottom: 38px;
  }

  .section-heading h2,
  .platform-heading h2,
  .why-copy h2,
  .contact-copy h2 {
    font-size: clamp(2.25rem, 10vw, 3.2rem);
  }

  .service-card {
    padding: 25px;
  }

  .service-card-top {
    margin-bottom: 30px;
  }

  .capability-grid {
    grid-template-columns: 1fr;
  }

  .capability-grid article {
    min-height: 0;
  }

  .capability-index {
    margin-bottom: 25px;
  }

  .why-visual {
    padding: 43px 28px;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .steps-grid span {
    margin-bottom: 22px;
  }

  .consultation-form {
    border-radius: 14px;
    padding: 23px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    align-items: start;
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
