:root {
  --ink: #07162d;
  --muted: #5b6b82;
  --line: #dbe5ee;
  --surface: #ffffff;
  --soft: #f5f8fb;
  --teal: #009b94;
  --teal-dark: #006b72;
  --lime: #c8ff35;
  --navy: #001f39;
  --shadow: 0 24px 80px rgba(9, 33, 60, 0.12);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 104px;
}

body {
  margin: 0;
  background: #ffffff;
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
  position: relative;
  transition: background-color 0.25s ease, color 0.25s ease;
}

body.nav-open {
  overflow: hidden;
}

body.theme-dark {
  background: #020b19;
  color: #f2f8ff;
}

body.theme-dark::before {
  animation: darkSourceDrift 12s ease-in-out infinite alternate;
  background:
    radial-gradient(circle at 18% 18%, rgba(0, 155, 148, 0.38), transparent 28%),
    radial-gradient(circle at 86% 12%, rgba(200, 255, 53, 0.16), transparent 24%),
    radial-gradient(circle at 66% 74%, rgba(18, 79, 142, 0.42), transparent 34%),
    linear-gradient(135deg, #001426 0%, #052b49 48%, #001f39 100%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: fixed;
  transform: translate3d(0, 0, 0) scale(1.04);
  z-index: -2;
}

@keyframes darkSourceDrift {
  0% {
    filter: hue-rotate(0deg) brightness(0.92);
    transform: translate3d(-1.5%, -1%, 0) scale(1.04);
  }
  100% {
    filter: hue-rotate(8deg) brightness(1.08);
    transform: translate3d(1.5%, 1%, 0) scale(1.08);
  }
}

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

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

.site-header {
  align-items: center;
  background: rgba(0, 20, 38, 0.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(219, 229, 238, 0);
  display: grid;
  gap: clamp(12px, 1.8vw, 22px);
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  left: 0;
  padding: 22px clamp(20px, 5vw, 58px);
  position: fixed;
  right: 0;
  top: 0;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, padding 0.2s ease;
  z-index: 20;
}

.site-header.is-scrolled {
  border-color: rgba(219, 229, 238, 0.9);
  box-shadow: 0 10px 34px rgba(12, 28, 52, 0.08);
  padding-bottom: 14px;
  padding-top: 14px;
}

.brand {
  align-items: center;
  display: inline-flex;
  min-width: 174px;
}

.brand img {
  height: auto;
  width: 168px;
}

.site-nav {
  align-items: center;
  display: flex;
  gap: clamp(12px, 1.8vw, 28px);
  justify-content: center;
  min-width: 0;
}

.site-nav a,
.header-cta {
  font-size: clamp(12px, 0.95vw, 14px);
  font-weight: 700;
  white-space: nowrap;
}

.theme-toggle {
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font: 800 13px "Inter", sans-serif;
  gap: 9px;
  min-height: 42px;
  padding: 0 14px;
}

.theme-toggle-icon {
  background: var(--lime);
  border-radius: 50%;
  box-shadow: 0 0 18px rgba(200, 255, 53, 0.45);
  height: 13px;
  position: relative;
  width: 13px;
}

body.theme-dark .theme-toggle-icon {
  background: #72fff3;
  box-shadow: 0 0 22px rgba(114, 255, 243, 0.7);
}

.site-nav a {
  color: #ffffff;
  position: relative;
}

.site-nav a::after {
  background: var(--teal);
  bottom: -8px;
  content: "";
  height: 2px;
  left: 0;
  position: absolute;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
  width: 100%;
}

.site-nav a:hover::after {
  transform: scaleX(1);
}

.header-cta,
.button {
  align-items: center;
  border-radius: var(--radius);
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
}

.header-cta {
  background: var(--lime);
  box-shadow: 0 15px 28px rgba(0, 31, 57, 0.2);
  color: var(--ink);
}

.nav-toggle {
  background: transparent;
  border: 0;
  display: none;
  height: 42px;
  justify-self: end;
  padding: 0;
  width: 42px;
}

.nav-toggle span {
  background: #fff;
  display: block;
  height: 2px;
  margin: 7px auto;
  transition: transform 0.2s ease;
  width: 24px;
}

.section-pad {
  padding: clamp(76px, 9vw, 132px) clamp(20px, 5vw, 58px);
}

.hero {
  align-items: center;
  display: grid;
  gap: clamp(36px, 5vw, 74px);
  grid-template-columns: minmax(0, 0.86fr) minmax(420px, 1.14fr);
  min-height: 760px;
  overflow: hidden;
  padding-bottom: 54px;
  padding-top: 116px;
  position: relative;
}

.hero::before {
  background: radial-gradient(circle, rgba(0, 155, 148, 0.14), transparent 42%);
  content: "";
  height: 520px;
  left: -220px;
  position: absolute;
  top: 120px;
  width: 520px;
  z-index: -1;
}

h1,
h2,
h3 {
  font-family: "Sora", sans-serif;
  letter-spacing: 0;
  line-height: 1.05;
  margin: 0;
}

h1 {
  font-size: clamp(43px, 5vw, 70px);
  max-width: 690px;
}

h1::after {
  background: var(--teal);
  content: "";
  display: block;
  height: 4px;
  margin-top: 30px;
  width: 76px;
}

h1::first-line {
  color: var(--ink);
}

h2 {
  font-size: clamp(31px, 4vw, 56px);
}

h3 {
  font-size: 20px;
}

.hero-copy p,
.section-heading p,
.split-copy p,
.ecosystem-copy p,
.contact-band p,
.site-footer p {
  color: var(--muted);
  font-size: 18px;
  margin: 24px 0 0;
  max-width: 610px;
}

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

.button.primary {
  background: var(--navy);
  box-shadow: 0 18px 32px rgba(0, 31, 57, 0.2);
  color: #fff;
}

.button.secondary {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
}

.button.outline {
  border: 1px solid var(--teal);
  color: var(--teal-dark);
}

.hero-metrics {
  border-left: 2px solid var(--teal);
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1fr);
  margin-top: 36px;
  max-width: 620px;
  padding-left: 20px;
}

.hero-metrics strong {
  display: block;
  font-family: "Sora", sans-serif;
  font-size: clamp(28px, 3vw, 42px);
}

.hero-metrics span {
  color: var(--muted);
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin-top: 4px;
}

.hero-copy,
.hero-visual,
.split-copy,
.capability-list,
.ecosystem-copy,
.ecosystem-image,
.contact-form {
  min-width: 0;
}

.hero-visual {
  border-radius: 8px 0 0 8px;
  box-shadow: var(--shadow);
  margin-right: calc(clamp(20px, 5vw, 58px) * -1);
  overflow: hidden;
  position: relative;
}

.hero-visual img {
  aspect-ratio: 1.42 / 1;
  height: 100%;
  object-fit: cover;
}

.floating-panel {
  background: rgba(0, 31, 57, 0.86);
  border: 1px solid rgba(65, 244, 230, 0.5);
  border-radius: var(--radius);
  box-shadow: 0 22px 40px rgba(0, 31, 57, 0.24);
  color: #fff;
  padding: 14px 16px;
  position: absolute;
}

.floating-panel span {
  color: var(--lime);
  display: block;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.floating-panel strong {
  display: block;
  font-size: 13px;
  margin-top: 2px;
}

.panel-payment {
  left: 7%;
  top: 18%;
}

.panel-roads {
  right: 8%;
  top: 29%;
}

.panel-chain {
  bottom: 10%;
  right: 12%;
}

.service-grid {
  background: linear-gradient(180deg, #ffffff, var(--soft));
  border-top: 1px solid var(--line);
  padding: 74px clamp(20px, 5vw, 58px);
}

.section-heading {
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.7fr);
  margin: 0 auto 34px;
  max-width: var(--max);
}

.section-heading.narrow {
  display: block;
  max-width: 710px;
  text-align: center;
}

.section-heading p {
  margin-top: 0;
}

.cards.four {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0 auto;
  max-width: var(--max);
}

.solution-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 14px 40px rgba(21, 47, 76, 0.06);
  min-height: 250px;
  padding: 32px 28px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.solution-card:hover {
  border-color: rgba(0, 155, 148, 0.35);
  box-shadow: 0 26px 60px rgba(21, 47, 76, 0.11);
  transform: translateY(-6px);
}

.solution-card p,
.capability p,
.step p,
.faq-item p {
  color: var(--muted);
}

.solution-card a {
  color: var(--teal-dark);
  display: inline-block;
  font-weight: 800;
  margin-top: 8px;
}

.card-icon {
  height: 54px;
  margin-bottom: 26px;
  position: relative;
  width: 54px;
}

.card-icon::before,
.card-icon::after {
  content: "";
  position: absolute;
}

.wallet-icon::before {
  border: 5px solid var(--ink);
  border-radius: 7px;
  height: 32px;
  left: 2px;
  top: 11px;
  width: 44px;
}

.wallet-icon::after {
  background: var(--lime);
  border-radius: 3px;
  height: 12px;
  right: 2px;
  top: 21px;
  width: 18px;
}

.road-icon::before {
  background: linear-gradient(90deg, transparent 42%, var(--teal) 42% 58%, transparent 58%);
  height: 52px;
  left: 24px;
  transform: skewX(-15deg);
  width: 20px;
}

.road-icon::after {
  border-left: 5px solid var(--ink);
  border-right: 5px solid var(--ink);
  height: 48px;
  left: 12px;
  transform: skewX(-15deg);
  width: 32px;
}

.app-icon::before {
  border: 5px solid var(--ink);
  border-radius: 8px;
  height: 48px;
  left: 10px;
  width: 32px;
}

.app-icon::after {
  background: linear-gradient(90deg, var(--teal) 0 42%, transparent 42% 58%, var(--lime) 58%);
  height: 20px;
  left: 18px;
  top: 14px;
  width: 18px;
}

.chain-icon::before {
  border: 4px solid var(--ink);
  border-radius: 50%;
  height: 12px;
  left: 18px;
  top: 18px;
  width: 12px;
}

.chain-icon::after {
  border: 3px solid var(--teal);
  border-radius: 8px;
  height: 42px;
  left: 5px;
  top: 5px;
  transform: rotate(45deg);
  width: 42px;
}

.trust-strip {
  align-items: center;
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  display: grid;
  gap: 26px;
  grid-template-columns: auto 1fr;
  padding: 34px clamp(20px, 5vw, 58px);
}

.trust-strip span {
  color: var(--muted);
  font-weight: 800;
}

.trust-strip div {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(24px, 5vw, 68px);
  justify-content: flex-end;
}

.trust-strip strong {
  color: #758294;
  font-family: "Sora", sans-serif;
  font-size: clamp(18px, 2vw, 27px);
}

.about-section {
  align-items: center;
  display: grid;
  gap: clamp(38px, 6vw, 86px);
  grid-template-columns: minmax(260px, 0.55fr) minmax(0, 1fr);
  margin: 0 auto;
  max-width: calc(var(--max) + 116px);
}

.about-mark {
  background:
    radial-gradient(circle at 50% 0%, rgba(0, 155, 148, 0.16), transparent 45%),
    #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(26px, 4vw, 54px);
}

.about-mark img {
  border-radius: var(--radius);
  width: 100%;
}

.about-copy blockquote {
  border-left: 4px solid var(--teal);
  color: var(--ink);
  font-family: "Sora", sans-serif;
  font-size: clamp(22px, 2.6vw, 34px);
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 28px;
  padding-left: 24px;
}

.about-copy p {
  color: var(--muted);
  font-size: 18px;
  margin: 16px 0 0;
}

.about-values {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 34px;
}

.about-values article {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}

.about-values p {
  font-size: 15px;
}

.split-section,
.ecosystem {
  display: grid;
  gap: clamp(40px, 6vw, 86px);
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.1fr);
  margin: 0 auto;
  max-width: calc(var(--max) + 116px);
}

.section-label {
  color: var(--teal);
  display: block;
  font-family: "Sora", sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  margin-bottom: 18px;
  text-transform: uppercase;
}

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

.capability {
  align-items: flex-start;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 20px;
  padding: 26px 28px 26px 0;
}

.capability span {
  color: var(--teal);
  font-family: "Sora", sans-serif;
  font-size: 22px;
  font-weight: 800;
}

.capability h3,
.step h3 {
  font-size: 19px;
}

.ecosystem {
  align-items: center;
  background: var(--soft);
  max-width: none;
}

.ecosystem-image {
  border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: var(--shadow);
  margin-left: calc(clamp(20px, 5vw, 58px) * -1);
  overflow: hidden;
}

.ecosystem-image img {
  aspect-ratio: 1.55 / 1;
  height: 100%;
  object-fit: cover;
}

.ecosystem-copy {
  max-width: 620px;
}

.specialisation {
  display: grid;
  gap: 14px;
  margin-top: 34px;
}

.specialisation div {
  background: #fff;
  border-left: 3px solid var(--teal);
  border-radius: var(--radius);
  box-shadow: 0 12px 28px rgba(12, 28, 52, 0.06);
  padding: 18px 20px;
}

.specialisation span {
  color: var(--muted);
  display: block;
  margin-top: 3px;
}

.process {
  background: #fff;
}

.timeline {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 52px auto 0;
  max-width: var(--max);
  position: relative;
}

.timeline::before {
  background: linear-gradient(90deg, transparent, var(--line), transparent);
  content: "";
  height: 1px;
  left: 7%;
  position: absolute;
  right: 7%;
  top: 26px;
}

.step {
  text-align: center;
  z-index: 1;
}

.step span {
  align-items: center;
  background: var(--teal);
  border-radius: 50%;
  color: #fff;
  display: inline-flex;
  font-family: "Sora", sans-serif;
  font-weight: 800;
  height: 52px;
  justify-content: center;
  margin-bottom: 20px;
  width: 52px;
}

.faq {
  background: var(--soft);
  padding-top: 86px;
}

.faq-list {
  display: grid;
  gap: 14px;
  margin: 38px auto 0;
  max-width: 850px;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  font: inherit;
  padding: 24px 26px;
  text-align: left;
}

.faq-item span {
  color: var(--ink);
  display: flex;
  font-family: "Sora", sans-serif;
  font-size: 18px;
  font-weight: 700;
  justify-content: space-between;
}

.faq-item span::after {
  color: var(--teal);
  content: "+";
}

.faq-item[aria-expanded="true"] span::after {
  content: "-";
}

.faq-item p {
  display: none;
  margin: 12px 0 0;
}

.faq-item[aria-expanded="true"] p {
  display: block;
}

.contact-band {
  background:
    radial-gradient(circle at 92% 0%, rgba(200, 255, 53, 0.25), transparent 24%),
    radial-gradient(circle at 0% 100%, rgba(0, 155, 148, 0.34), transparent 30%),
    var(--navy);
  border-radius: var(--radius);
  color: #fff;
  display: grid;
  gap: 38px;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.7fr);
  margin: 0 clamp(20px, 5vw, 58px) 0;
  padding: clamp(38px, 5vw, 66px);
}

.contact-band h2 {
  color: #fff;
}

.contact-band h2::after {
  color: var(--lime);
  content: " together.";
}

.contact-band p {
  color: #cfe0ed;
}

.contact-form {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  display: grid;
  gap: 14px;
  padding: 24px;
}

.contact-form label {
  display: grid;
  gap: 7px;
}

.contact-form .hp-field {
  display: none;
}

.contact-form span {
  color: #d6e7f2;
  font-size: 13px;
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  appearance: none;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid transparent;
  border-radius: var(--radius);
  color: var(--ink);
  font: 600 15px "Inter", sans-serif;
  min-height: 46px;
  padding: 0 14px;
  width: 100%;
}

.contact-form textarea {
  min-height: 104px;
  padding: 12px 14px;
  resize: vertical;
}

.contact-form .button {
  background: var(--lime);
  border: 0;
  color: var(--ink);
  cursor: pointer;
}

.form-status {
  color: var(--lime);
  font-weight: 700;
  margin: 0;
  min-height: 20px;
}

.site-footer {
  background: #001426;
  color: #fff;
  display: grid;
  gap: 40px;
  grid-template-columns: minmax(260px, 1fr) auto minmax(240px, 0.6fr);
  padding: 58px clamp(20px, 5vw, 58px);
}

.site-footer p,
.site-footer span,
.site-footer a {
  color: #cad8e4;
}

.site-footer nav,
.footer-contact {
  display: grid;
  gap: 10px;
}

.footer-contact address {
  color: #cad8e4;
  font-style: normal;
  line-height: 1.6;
}

.footer-contact strong {
  color: #fff;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.detail-main {
  background: #ffffff;
}

.detail-hero {
  align-items: center;
  background:
    radial-gradient(circle at 0% 30%, rgba(0, 155, 148, 0.14), transparent 24%),
    linear-gradient(180deg, #ffffff 0%, #f4f8fb 100%);
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: clamp(36px, 6vw, 82px);
  grid-template-columns: minmax(0, 0.82fr) minmax(420px, 1.18fr);
  min-height: 720px;
  padding-top: 132px;
}

.crumbs {
  align-items: center;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  font-size: 14px;
  font-weight: 800;
  gap: 10px;
  margin-bottom: 24px;
}

.crumbs a {
  color: var(--teal-dark);
}

.crumbs span::before {
  color: #94a3b8;
  content: "/";
  margin-right: 10px;
}

.detail-hero p {
  color: var(--muted);
  font-size: clamp(20px, 2.4vw, 29px);
  font-weight: 700;
  margin: 26px 0 0;
  max-width: 670px;
}

.detail-hero-media,
.detail-image-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.detail-hero-media img {
  aspect-ratio: 1.48 / 1;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.partner-logo {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 30px rgba(9, 33, 60, 0.1);
  margin-bottom: 26px;
  max-width: 190px;
  padding: 12px 16px;
}

.detail-section {
  align-items: center;
  display: grid;
  gap: clamp(36px, 6vw, 86px);
  grid-template-columns: minmax(0, 1fr) minmax(330px, 0.82fr);
  margin: 0 auto;
  max-width: calc(var(--max) + 116px);
}

.detail-copy p {
  color: var(--muted);
  font-size: 18px;
  margin: 18px 0 0;
}

.detail-copy .detail-lead {
  color: var(--teal-dark);
  font-family: "Sora", sans-serif;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.detail-image-card {
  align-self: stretch;
  display: grid;
  place-items: center;
}

.detail-image-card img {
  max-height: 620px;
  object-fit: contain;
  width: 100%;
}

.detail-band {
  background: var(--soft);
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
}

.feature-matrix,
.method-grid,
.case-grid {
  display: grid;
  gap: 22px;
  margin: 0 auto;
  max-width: var(--max);
}

.feature-matrix {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

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

.case-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-matrix article,
.method-grid article,
.case-grid article,
.number-list article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 14px 40px rgba(21, 47, 76, 0.06);
  padding: 26px;
}

.feature-matrix p,
.method-grid p,
.case-grid p,
.number-list p {
  color: var(--muted);
}

.case-grid strong {
  color: var(--teal-dark);
  display: inline-block;
  font-family: "Sora", sans-serif;
  margin-top: 10px;
}

.number-list {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.number-list.horizontal {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0 auto;
  max-width: var(--max);
}

.number-list span {
  color: var(--teal);
  display: block;
  font-family: "Sora", sans-serif;
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 10px;
}

.detail-cta {
  background:
    radial-gradient(circle at 90% 0%, rgba(200, 255, 53, 0.28), transparent 22%),
    var(--navy);
  color: #fff;
  margin: clamp(48px, 7vw, 86px) clamp(20px, 5vw, 58px);
  border-radius: var(--radius);
  padding: clamp(38px, 5vw, 66px);
  text-align: center;
}

.detail-cta p {
  color: #cfe0ed;
  font-size: 18px;
  margin: 18px auto 28px;
  max-width: 760px;
}

body.theme-dark .hero,
body.theme-dark .service-grid,
body.theme-dark .about-section,
body.theme-dark .split-section,
body.theme-dark .ecosystem,
body.theme-dark .process,
body.theme-dark .faq,
body.theme-dark .detail-main,
body.theme-dark .detail-section,
body.theme-dark .detail-hero,
body.theme-dark .detail-band {
  background: transparent;
}

body.theme-dark .hero::before {
  background: radial-gradient(circle, rgba(114, 255, 243, 0.28), transparent 45%);
}

body.theme-dark .service-grid,
body.theme-dark .ecosystem,
body.theme-dark .faq,
body.theme-dark .detail-main,
body.theme-dark .detail-band {
  border-color: rgba(255, 255, 255, 0.1);
}

body.theme-dark h1,
body.theme-dark h1::first-line,
body.theme-dark h2,
body.theme-dark h3,
body.theme-dark .about-copy blockquote,
body.theme-dark .faq-item span {
  color: #f5faff;
}

body.theme-dark .hero-copy p,
body.theme-dark .section-heading p,
body.theme-dark .split-copy p,
body.theme-dark .ecosystem-copy p,
body.theme-dark .detail-copy p,
body.theme-dark .detail-hero p,
body.theme-dark .about-copy p,
body.theme-dark .solution-card p,
body.theme-dark .capability p,
body.theme-dark .step p,
body.theme-dark .faq-item p,
body.theme-dark .method-grid p,
body.theme-dark .feature-matrix p,
body.theme-dark .case-grid p,
body.theme-dark .number-list p,
body.theme-dark .hero-metrics span,
body.theme-dark .specialisation span {
  color: #c8d8e8;
}

body.theme-dark .hero-metrics strong {
  color: #f5faff;
}

body.theme-dark .button.primary {
  background: rgba(0, 20, 38, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

body.theme-dark .contact-form .button {
  background: var(--lime);
  border: 0;
  color: var(--ink);
}

body.theme-dark .contact-form input,
body.theme-dark .contact-form select,
body.theme-dark .contact-form textarea {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--ink);
}

body.theme-dark .contact-form option {
  background: #ffffff;
  color: var(--ink);
}

body.theme-dark .crumbs a {
  color: #72fff3;
}

body.theme-dark .solution-card,
body.theme-dark .capability,
body.theme-dark .specialisation div,
body.theme-dark .faq-item,
body.theme-dark .about-values article,
body.theme-dark .feature-matrix article,
body.theme-dark .method-grid article,
body.theme-dark .case-grid article,
body.theme-dark .number-list article,
body.theme-dark .detail-hero-media,
body.theme-dark .detail-image-card {
  background: rgba(2, 19, 36, 0.78);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
}

body.theme-dark .about-mark {
  background:
    radial-gradient(circle at 20% 10%, rgba(114, 255, 243, 0.18), transparent 42%),
    rgba(255, 255, 255, 0.92);
}

body.theme-dark .button.secondary,
body.theme-dark .button.outline {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.18);
  color: #f5faff;
}

body.theme-dark .trust-strip {
  background: rgba(0, 20, 38, 0.42);
  border-color: rgba(255, 255, 255, 0.1);
}

body.theme-dark .trust-strip strong,
body.theme-dark .trust-strip span,
body.theme-dark .crumbs {
  color: #c8d8e8;
}

body.theme-dark .contact-band,
body.theme-dark .detail-cta {
  animation: darkPanelGlow 9s ease-in-out infinite alternate;
  background:
    radial-gradient(circle at 92% 0%, rgba(200, 255, 53, 0.26), transparent 25%),
    radial-gradient(circle at 0% 100%, rgba(0, 155, 148, 0.42), transparent 34%),
    linear-gradient(135deg, #001426 0%, #063255 52%, #001f39 100%);
}

@keyframes darkPanelGlow {
  0% {
    background-position: 0% 0%, 0% 100%, 0% 50%;
  }
  100% {
    background-position: 100% 12%, 30% 70%, 100% 50%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

@media (max-width: 1060px) {
  .hero,
  .detail-hero,
  .split-section,
  .about-section,
  .ecosystem,
  .detail-section,
  .contact-band,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .detail-hero {
    min-height: auto;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual,
  .ecosystem-image {
    border-radius: var(--radius);
    margin-left: 0;
    margin-right: 0;
  }

  .cards.four,
  .timeline,
  .about-values,
  .feature-matrix,
  .method-grid,
  .case-grid.three,
  .number-list.horizontal {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .timeline::before {
    display: none;
  }
}

@media (max-width: 820px) {
  .site-header {
    grid-template-columns: auto auto auto;
  }

  .theme-toggle {
    justify-self: end;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav,
  .header-cta {
    display: none;
  }

  .site-header.is-open .site-nav {
    align-items: flex-start;
    background: var(--navy);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    display: grid;
    grid-column: 1 / -1;
    gap: 0;
    inset: 78px 0 auto;
    padding: 12px 20px 22px;
    position: fixed;
  }

  .site-header.is-open .site-nav a {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    padding: 16px 0;
  }

  .site-header.is-open .nav-toggle span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }

  .site-header.is-open .nav-toggle span:nth-child(2) {
    opacity: 0;
  }

  .site-header.is-open .nav-toggle span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }

  .section-heading,
  .capability-list,
  .trust-strip {
    grid-template-columns: 1fr;
  }

  .trust-strip div {
    justify-content: flex-start;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .detail-hero-media img {
    aspect-ratio: 1.25 / 1;
  }

  .floating-panel {
    display: none;
  }
}

@media (max-width: 620px) {
  .brand {
    min-width: 150px;
  }

  .brand img {
    width: 136px;
  }

  .theme-toggle {
    min-height: 38px;
    padding: 0 10px;
  }

  .theme-toggle [data-theme-label] {
    display: none;
  }

  .hero {
    padding-top: 112px;
  }

  h1 {
    font-size: 34px;
    max-width: calc(100vw - 40px);
  }

  .hero-copy p,
  .section-heading p,
  .split-copy p,
  .ecosystem-copy p,
  .contact-band p {
    font-size: 16px;
  }

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

  .hero-actions {
    gap: 12px;
  }

  .cards.four,
  .timeline,
  .about-values,
  .feature-matrix,
  .method-grid,
  .case-grid.three,
  .number-list.horizontal {
    grid-template-columns: 1fr;
  }

  .solution-card {
    min-height: auto;
  }

  .contact-band {
    margin-left: 0;
    margin-right: 0;
    border-radius: 0;
    min-width: 0;
  }
}
