:root {
  color-scheme: dark;
  --bg: #0d1425;
  --bg-soft: #162039;
  --panel: rgba(18, 28, 49, 0.82);
  --panel-strong: rgba(243, 247, 255, 0.96);
  --line: rgba(252, 185, 0, 0.18);
  --line-strong: rgba(252, 185, 0, 0.42);
  --text: #f4f7ff;
  --text-muted: #c4cede;
  --ink: #111827;
  --accent: #fcb900;
  --accent-soft: #ffe6a0;
  --accent-strong: #d39d05;
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.34);
  --wrap: min(1180px, calc(100vw - 2rem));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "Heebo", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(252, 185, 0, 0.16), transparent 24rem),
    radial-gradient(circle at 88% 16%, rgba(59, 86, 145, 0.42), transparent 28rem),
    linear-gradient(180deg, #0d1425 0%, #09101d 100%);
}

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

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

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

.page-shell {
  position: relative;
  overflow: clip;
}

.page-shell::before,
.page-shell::after {
  content: "";
  position: fixed;
  pointer-events: none;
  z-index: -1;
  border-radius: 50%;
  filter: blur(24px);
}

.page-shell::before {
  top: 12vh;
  right: -6rem;
  width: 21rem;
  height: 21rem;
  background: radial-gradient(circle, rgba(252, 185, 0, 0.18), transparent 68%);
}

.page-shell::after {
  bottom: 10vh;
  left: -8rem;
  width: 24rem;
  height: 24rem;
  background: radial-gradient(circle, rgba(75, 108, 182, 0.24), transparent 70%);
}

.wrap {
  width: var(--wrap);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: linear-gradient(180deg, rgba(9, 16, 29, 0.94), rgba(9, 16, 29, 0.7));
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.brand-lockup,
.header-actions,
.hero-actions,
.tool-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.brand-plate {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.24);
}

.brand-logo,
.footer-logo {
  width: 10.8rem;
  height: auto;
}

.concept-badge,
.eyebrow,
.trust-label,
.service-kicker,
.result-kicker,
.module-note strong,
.signal-card small,
.dispatch-card span,
.footer-title {
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.concept-badge {
  padding: 0.5rem 0.75rem;
  border-radius: 999px;
  background: rgba(252, 185, 0, 0.16);
  color: var(--accent-soft);
  font-size: 0.74rem;
  font-weight: 800;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  color: var(--text-muted);
  font-size: 0.96rem;
}

.site-nav a {
  position: relative;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 100%;
  height: 1px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
  background: var(--accent);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.95rem;
  padding: 0.78rem 1.14rem;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent) 0%, #ffd561 100%);
  color: #11192b;
  font-weight: 800;
  box-shadow: 0 16px 42px rgba(252, 185, 0, 0.18);
  cursor: pointer;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 18px 48px rgba(252, 185, 0, 0.22);
}

.button-secondary,
.button-ghost {
  box-shadow: none;
}

.button-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.button-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(252, 185, 0, 0.28);
}

.hero {
  position: relative;
  padding: 5.6rem 0 2.6rem;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 3.2rem 0 auto;
  height: 24rem;
  opacity: 0.5;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px) 0 0 / 3.8rem 3.8rem,
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px) 0 0 / 3.8rem 3.8rem;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent);
}

.hero-grid,
.module-layout,
.premium-layout,
.area-layout,
.footer-grid {
  display: grid;
  gap: 1.6rem;
}

.hero-grid {
  grid-template-columns: minmax(0, 1.02fr) minmax(20rem, 0.98fr);
  align-items: stretch;
}

.hero-copy,
.hero-panel,
.service-card,
.matrix-card,
.module-card,
.dispatch-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.hero-copy {
  position: relative;
  padding: 2.25rem;
  overflow: hidden;
}

.hero-copy::after {
  content: "";
  position: absolute;
  inset: auto -6rem -7rem auto;
  width: 18rem;
  height: 18rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(252, 185, 0, 0.16), transparent 70%);
}

.eyebrow,
.trust-label,
.result-kicker {
  margin: 0 0 0.8rem;
  color: var(--accent-soft);
  font-size: 0.8rem;
  font-weight: 800;
}

h1,
h2 {
  margin: 0;
  font-family: "IBM Plex Serif", serif;
  letter-spacing: -0.03em;
  line-height: 0.97;
}

h1 {
  max-width: 11ch;
  font-size: clamp(3.15rem, 7vw, 6rem);
}

h2 {
  font-size: clamp(2.25rem, 5vw, 4.1rem);
}

h3 {
  margin: 0;
  font-size: 1.22rem;
}

p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.7;
}

.hero-lead {
  max-width: 62ch;
  margin-top: 1.25rem;
  font-size: 1.06rem;
}

.hero-trust,
.service-card ul,
.tool-result ul,
#dispatch-points {
  display: grid;
  gap: 0.8rem;
  padding: 0;
  margin: 1.4rem 0 0;
  list-style: none;
}

.hero-trust li,
.service-card li,
.tool-result li,
#dispatch-points li {
  position: relative;
  padding-left: 1.2rem;
}

.hero-trust li::before,
.service-card li::before,
.tool-result li::before,
#dispatch-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--accent);
}

.hero-panel {
  padding: 1rem;
}

.hero-media {
  position: relative;
  min-height: 21rem;
  overflow: hidden;
  border-radius: 26px;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 1 / 1.06;
  filter: saturate(1.02) contrast(1.02);
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 16, 29, 0.08), rgba(10, 16, 29, 0.82));
}

.hero-media-badge {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 1;
  padding: 1rem 1.05rem;
  border-radius: 20px;
  background: rgba(12, 18, 33, 0.78);
  border: 1px solid rgba(252, 185, 0, 0.22);
  backdrop-filter: blur(10px);
}

.hero-media-badge strong,
.signal-card strong,
.matrix-card strong,
.dispatch-card strong {
  display: block;
}

.hero-signal-grid,
.premium-matrix,
.dispatch-grid {
  display: grid;
  gap: 1rem;
}

.hero-signal-grid {
  margin-top: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.signal-card {
  padding: 1.1rem;
  border-radius: 22px;
  background: rgba(11, 18, 32, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.signal-card-primary {
  background: linear-gradient(180deg, rgba(252, 185, 0, 0.16), rgba(11, 18, 32, 0.84));
}

.signal-card small,
.dispatch-card span,
.service-kicker,
.footer-title {
  display: block;
  margin-bottom: 0.55rem;
  color: var(--accent-soft);
  font-size: 0.76rem;
  font-weight: 800;
}

.signal-card p,
.matrix-card p {
  margin-top: 0.4rem;
}

.trust-strip,
.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.trust-strip {
  padding: 1rem 0 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
}

.trust-grid > div {
  padding: 1rem 1.1rem;
  border-radius: 20px;
  background: rgba(12, 19, 34, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.trust-grid strong {
  display: block;
  font-size: 1rem;
  color: var(--text);
}

.section {
  padding: 5.2rem 0;
}

.section-heading {
  display: grid;
  gap: 1rem;
  max-width: 52rem;
  margin-bottom: 2rem;
}

.section-heading-compact {
  margin-bottom: 0;
}

.service-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.service-card {
  padding: 1.5rem;
}

.service-card-featured {
  background:
    linear-gradient(180deg, rgba(252, 185, 0, 0.12), rgba(18, 28, 49, 0.84)),
    var(--panel);
}

.service-card p,
.service-card ul {
  margin-top: 0.8rem;
}

.section-dark {
  padding-top: 0.4rem;
}

.premium-layout {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: start;
}

.premium-copy {
  display: grid;
  gap: 1rem;
}

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

.matrix-card {
  padding: 1.4rem;
}

.module-layout {
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  align-items: start;
}

.module-layout-reverse {
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
}

.module-intro {
  display: grid;
  gap: 1rem;
  position: sticky;
  top: 6.4rem;
}

.module-note {
  display: grid;
  gap: 0.3rem;
  padding: 1rem 1.1rem;
  border-radius: 20px;
  background: rgba(12, 19, 34, 0.76);
  border: 1px solid rgba(252, 185, 0, 0.16);
}

.module-card {
  padding: 1.4rem;
}

.tool-form,
.field-grid,
.field-stack,
.tool-result,
.dispatch-board {
  display: grid;
  gap: 1rem;
}

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

label {
  display: grid;
  gap: 0.45rem;
  font-weight: 700;
  color: var(--text);
}

label span {
  font-size: 0.94rem;
}

select,
textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 0.9rem 1rem;
  background: rgba(9, 16, 29, 0.7);
  color: var(--text);
  outline: none;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease;
}

select:focus,
textarea:focus {
  border-color: rgba(252, 185, 0, 0.44);
  box-shadow: 0 0 0 4px rgba(252, 185, 0, 0.1);
}

textarea {
  resize: vertical;
}

.tool-result,
.dispatch-board {
  margin-top: 1.2rem;
  padding: 1.2rem;
  border-radius: 24px;
  background: rgba(10, 17, 30, 0.84);
  border: 1px solid rgba(252, 185, 0, 0.18);
}

.tool-result h3,
.dispatch-headline h3 {
  font-size: 1.28rem;
}

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

.dispatch-card {
  padding: 1rem;
  border-radius: 20px;
  background: rgba(17, 25, 44, 0.9);
}

.section-automation {
  padding-top: 0;
}

.section-areas {
  padding-top: 0;
}

.area-layout {
  align-items: center;
}

.area-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.area-chips span {
  display: inline-flex;
  align-items: center;
  min-height: 2.7rem;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(252, 185, 0, 0.18);
  background: rgba(11, 18, 32, 0.72);
}

.site-footer {
  padding: 2.4rem 0 3rem;
}

.footer-grid {
  grid-template-columns: minmax(0, 1.2fr) repeat(2, minmax(0, 0.8fr));
  align-items: start;
}

.footer-grid > div {
  display: grid;
  gap: 0.65rem;
}

.footer-small {
  font-size: 0.95rem;
}

@media (max-width: 1080px) {
  .site-nav {
    display: none;
  }

  .hero-grid,
  .premium-layout,
  .module-layout,
  .module-layout-reverse,
  .footer-grid,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .hero-signal-grid,
  .premium-matrix,
  .trust-grid,
  .dispatch-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .module-intro {
    position: static;
  }
}

@media (max-width: 760px) {
  .header-row {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .hero {
    padding-top: 4.4rem;
  }

  .hero-copy,
  .hero-panel,
  .module-card,
  .service-card {
    padding: 1.2rem;
  }

  h1 {
    font-size: clamp(2.6rem, 12vw, 4rem);
  }

  h2 {
    font-size: clamp(2rem, 9vw, 3rem);
  }

  .field-grid,
  .hero-signal-grid,
  .premium-matrix,
  .trust-grid,
  .dispatch-grid {
    grid-template-columns: 1fr;
  }

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

  .header-actions {
    justify-content: stretch;
  }

  .header-actions .button,
  .hero-actions .button,
  .tool-actions .button {
    flex: 1 1 100%;
    min-width: 0;
  }

  .brand-lockup {
    width: 100%;
    justify-content: flex-start;
    align-items: flex-start;
  }

  .brand-plate {
    max-width: calc(100vw - 8rem);
  }
}

@media (max-width: 480px) {
  .brand-lockup {
    gap: 0.6rem;
  }

  .brand-plate {
    max-width: 100%;
    padding-inline: 0.85rem;
  }

  .concept-badge {
    flex-basis: 100%;
  }
}
