:root {
  --navy: #10273d;
  --navy-2: #172f48;
  --ink: #17202d;
  --muted: #647084;
  --line: rgba(28, 43, 67, 0.14);
  --gold: #d7b957;
  --gold-2: #f2d873;
  --paper: #f6f1e8;
  --paper-2: #ebe2d2;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(16, 39, 61, 0.16);
  --radius: 8px;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: Georgia, "Times New Roman", serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

.wrap {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 18px clamp(20px, 4vw, 54px);
  background: rgba(246, 241, 232, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  width: 184px;
  flex: 0 0 auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 750;
}

.site-nav a {
  opacity: 0.78;
}

.site-nav a:hover {
  opacity: 1;
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid rgba(16, 39, 61, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
}

.language-option {
  min-width: 34px;
  height: 30px;
  padding: 0 8px;
  color: rgba(16, 39, 61, 0.68);
  border: 0;
  border-radius: 999px;
  background: transparent;
  font: inherit;
  font-size: 11px;
  font-weight: 850;
  cursor: pointer;
}

.language-option.active {
  color: var(--white);
  background: var(--navy);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 16px;
  color: var(--navy);
  border: 1px solid rgba(16, 39, 61, 0.22);
  border-radius: 999px;
  background: var(--white);
}

.menu-button {
  display: none;
  width: 44px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--navy);
}

.hero {
  position: relative;
  min-height: 640px;
  display: grid;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(16, 39, 61, 0.97), rgba(23, 47, 72, 0.9)),
    var(--navy);
  color: var(--white);
}

.hero-media {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.signal-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 84px 84px;
  mask-image: linear-gradient(to bottom, black 0%, transparent 84%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.85fr);
  gap: clamp(36px, 6vw, 96px);
  align-items: center;
  padding: 72px 0 76px;
}

.eyebrow,
.kicker {
  margin: 0 0 18px;
  color: var(--gold-2);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.kicker {
  color: #957636;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.05;
}

h1,
h2 {
  font-family: var(--serif);
  font-weight: 400;
}

h1 {
  max-width: 760px;
  font-size: clamp(46px, 5.4vw, 74px);
  line-height: 1.02;
}

h2 {
  color: var(--navy);
  font-size: clamp(34px, 5vw, 62px);
}

h3 {
  color: var(--navy);
  font-size: 22px;
}

.hero-copy {
  max-width: 620px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-family: var(--serif);
  font-size: clamp(19px, 1.7vw, 24px);
  line-height: 1.36;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(16, 39, 61, 0.18);
}

.button.primary {
  color: var(--navy);
  background: var(--gold-2);
  border: 1px solid var(--gold-2);
}

.button.secondary {
  color: inherit;
  border: 1px solid rgba(215, 185, 87, 0.5);
  background: rgba(255, 255, 255, 0.08);
}

.hero-showcase {
  width: 100%;
  max-width: 500px;
  justify-self: end;
  align-self: center;
  padding: 18px;
  border: 1px solid rgba(242, 216, 115, 0.24);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.24);
}

.showcase-top,
.showcase-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.showcase-top {
  padding: 10px 6px 18px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.showcase-top strong {
  color: var(--gold-2);
}

.showcase-row {
  min-height: 68px;
  margin-top: 8px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
}

.showcase-row.active {
  border-color: rgba(242, 216, 115, 0.5);
  background: rgba(242, 216, 115, 0.12);
}

.showcase-row span {
  color: var(--white);
  font-size: 20px;
  font-weight: 850;
}

.showcase-row strong {
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
}

.showcase-meter {
  height: 8px;
  margin: 22px 6px 4px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
}

.showcase-meter span {
  display: block;
  width: 42%;
  height: 100%;
  background: var(--gold-2);
}

.section {
  padding: 94px 0;
}

.section.dark {
  background: var(--navy);
  color: var(--white);
}

.section.soft {
  background: var(--paper-2);
}

.dark h2,
.dark h3 {
  color: var(--white);
}

.dark .kicker {
  color: var(--gold-2);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 56px;
  align-items: start;
}

.intro-text {
  padding-top: 12px;
  color: var(--muted);
  font-size: 18px;
}

.intro-text p {
  margin: 0 0 18px;
}

.section-head {
  max-width: 920px;
  margin-bottom: 34px;
}

.section-head.compact {
  max-width: 760px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.product-card {
  min-height: 260px;
  padding: 24px;
  border: 1px solid rgba(242, 216, 115, 0.2);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
}

.product-card.featured {
  grid-column: span 2;
  background:
    linear-gradient(135deg, rgba(242, 216, 115, 0.18), rgba(255, 255, 255, 0.06)),
    rgba(255, 255, 255, 0.08);
}

.product-label {
  margin-bottom: 18px;
  color: var(--gold-2);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.product-card p {
  color: rgba(255, 255, 255, 0.74);
}

.product-card ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 12px;
  padding: 0;
  margin: 22px 0 0;
  list-style: none;
}

.product-card li {
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
}

.product-card li::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 8px;
  border-radius: 999px;
  background: var(--gold-2);
}

.plugin-list {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
  box-shadow: var(--shadow);
}

.plugin-list article {
  display: grid;
  grid-template-columns: 70px 0.8fr 1.2fr;
  gap: 24px;
  align-items: center;
  padding: 26px 30px;
  background: var(--white);
}

.plugin-list span {
  color: #a27e37;
  font-family: var(--serif);
  font-size: 26px;
}

.plugin-list p,
.service-grid p,
.timeline p,
.contact-panel p {
  margin: 0;
  color: var(--muted);
}

.service-grid {
  display: grid;
  gap: 14px;
}

.service-grid article {
  padding: 24px;
  border: 1px solid rgba(16, 39, 61, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.56);
}

.service-grid h3 {
  margin-bottom: 10px;
}

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

.timeline article {
  padding: 28px;
  border-top: 4px solid var(--gold);
  background: var(--white);
  box-shadow: 0 18px 46px rgba(16, 39, 61, 0.08);
}

.timeline span {
  display: block;
  margin-bottom: 24px;
  color: #8d6d31;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.timeline h3 {
  margin-bottom: 12px;
}

.company {
  background: var(--white);
}

.company-inner > div:first-child p:not(.kicker) {
  max-width: 620px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.company-card {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.company-card dl {
  display: grid;
  gap: 1px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(16, 39, 61, 0.1);
  border-radius: var(--radius);
  background: rgba(16, 39, 61, 0.1);
}

.company-card dl div {
  display: grid;
  grid-template-columns: minmax(150px, 0.7fr) minmax(0, 1.3fr);
  gap: 18px;
  padding: 16px 18px;
  background: var(--white);
}

.company-card dt {
  color: #8d6d31;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.company-card dd {
  margin: 0;
  color: var(--navy);
  font-weight: 750;
}

.company-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.contact {
  padding-top: 30px;
}

.contact-panel {
  padding: clamp(34px, 6vw, 74px);
  color: var(--white);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(16, 39, 61, 0.96), rgba(23, 47, 72, 0.9)),
    var(--navy);
  box-shadow: var(--shadow);
}

.contact-panel h2 {
  max-width: 770px;
  color: var(--white);
}

.contact-panel p {
  max-width: 680px;
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 18px;
}

.site-footer {
  padding: 34px 0;
  background: #0c1f31;
  color: rgba(255, 255, 255, 0.72);
}

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

.footer-inner img {
  width: 150px;
  filter: brightness(0) invert(1);
  opacity: 0.86;
}

.footer-inner p {
  margin: 0;
  font-size: 13px;
}

@media (max-width: 940px) {
  .menu-button {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: 74px;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
  }

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

  .site-nav a {
    padding: 12px;
  }

  .nav-cta {
    justify-content: center;
  }

  .language-switcher {
    align-self: center;
    margin: 8px 0;
  }

  .split,
  .plugin-list article,
  .timeline,
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-showcase {
    justify-self: start;
    max-width: 100%;
  }

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

  .product-card.featured {
    grid-column: span 2;
  }
}

@media (max-width: 640px) {
  .wrap {
    width: min(100% - 28px, 1160px);
  }

  .site-header {
    padding: 14px;
  }

  .brand {
    width: 154px;
  }

  .hero {
    min-height: 620px;
  }

  .hero-inner {
    padding: 72px 0 58px;
  }

  h1 {
    font-size: clamp(42px, 15vw, 64px);
  }

  .section {
    padding: 64px 0;
  }

  .product-grid,
  .product-card ul {
    grid-template-columns: 1fr;
  }

  .product-card.featured {
    grid-column: auto;
  }

  .plugin-list article {
    gap: 10px;
    padding: 22px;
  }

  .company-card {
    padding: 18px;
  }

  .company-card dl div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .button {
    width: 100%;
  }

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