:root {
  color-scheme: dark;
  --bg: #080508;
  --surface: #0e0a0f;
  --surface-raised: #171117;
  --surface-light: #0a070b;
  --text: #f6f6f3;
  --text-dark: #121316;
  --muted: #aaadb5;
  --muted-dark: #5d616b;
  --line: #292c33;
  --line-light: #d4d3ce;
  --red: #df2532;
  --red-bright: #f0444f;
  --green: #42d17c;
  --max-width: 1180px;
  --header-height: 72px;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

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

body {
  margin: 0;
  overflow-x: clip;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
}

body.dialog-open {
  overflow: hidden;
}

button,
input,
select,
textarea {
  font: inherit;
  letter-spacing: 0;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: 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;
}

h2 {
  margin-bottom: 20px;
  font-size: 44px;
  max-width: 760px;
}

h3 {
  font-size: 22px;
}

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  height: var(--header-height);
  border: 0;
  background: transparent;
}

.site-header.is-scrolled {
  border-color: transparent;
}

.header-inner,
.section-inner,
.footer-inner,
.footer-bottom,
.cta-inner {
  width: min(calc(100% - 48px), var(--max-width));
  margin: 0 auto;
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 36px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand-mark {
  width: 58px;
  height: 58px;
  overflow: visible;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-name {
  font-weight: 800;
  font-size: 19px;
}

.footer-brand .brand-mark {
  width: 76px;
  height: 76px;
}

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

.desktop-nav a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  transition: color 160ms ease;
}

.desktop-nav a:hover,
.desktop-nav a:focus-visible {
  color: var(--text);
}

.button,
.package-action {
  min-height: 42px;
  border: 1px solid transparent;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 17px;
  cursor: pointer;
  font-weight: 750;
  font-size: 14px;
  transition: transform 150ms ease, background 150ms ease, border-color 150ms ease;
}

.button svg,
.package-action svg,
.icon-button svg {
  width: 18px;
  height: 18px;
  stroke-width: 2;
}

.button:hover,
.package-action:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--red);
  color: #fff;
}

.button-primary:hover {
  background: var(--red-bright);
}

.button-secondary {
  border-color: #3a3d45;
  background: rgba(8, 9, 11, 0.7);
  color: var(--text);
}

.button-secondary:hover {
  border-color: #656a75;
  background: #14161a;
}

.button-light {
  background: var(--red);
  color: #fff;
}

.button-light:hover {
  background: var(--red-bright);
}

.button-large {
  min-height: 50px;
  padding-inline: 22px;
  font-size: 15px;
}

.icon-button {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  display: inline-grid;
  place-items: center;
  background: var(--surface);
  cursor: pointer;
}

.menu-toggle,
.mobile-nav {
  display: none;
}

.hero {
  position: relative;
  height: calc(100svh - 48px);
  min-height: 620px;
  overflow: hidden;
  isolation: isolate;
}

.hero-background,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-background {
  z-index: -3;
  object-fit: cover;
  object-position: center;
  transform: scale(1.03);
  animation: hero-breathe 14s ease-in-out infinite alternate;
}

.hero-shade {
  z-index: -2;
  background: rgba(5, 6, 8, 0.12);
}

.hero-inner {
  width: min(calc(100% - 48px), var(--max-width));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-copy {
  width: 100%;
  min-width: 0;
  max-width: 760px;
  padding: 36px 0;
  text-align: center;
  text-shadow: 0 2px 22px rgba(0, 0, 0, 0.65);
}

.status-line,
.section-kicker {
  margin-bottom: 18px;
  color: #d6d7db;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 800;
  text-transform: uppercase;
}

.status-line {
  width: fit-content;
  min-height: 38px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 14px;
  border: 1px solid rgba(240, 68, 79, 0.38);
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 9px;
  background: rgba(78, 12, 18, 0.34);
  animation: hero-enter 600ms 80ms ease both;
}

.status-line span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: none;
}

.hero h1 {
  margin-bottom: 20px;
  font-family: "Arial Black", Inter, ui-sans-serif, sans-serif;
  font-size: 78px;
  line-height: 0.98;
  animation: hero-enter 650ms 160ms ease both;
}

.hero-lede {
  max-width: 620px;
  overflow-wrap: anywhere;
  margin-bottom: 30px;
  color: #e0e1e4;
  font-size: 21px;
  line-height: 1.5;
  margin-left: auto;
  margin-right: auto;
  animation: hero-enter 650ms 240ms ease both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  animation: hero-enter 650ms 320ms ease both;
}

.hero-points {
  margin: 30px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px 24px;
  list-style: none;
  color: #d8dade;
  font-size: 13px;
  font-weight: 650;
  animation: hero-enter 650ms 400ms ease both;
}

.hero-points li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero-points svg {
  width: 16px;
  color: var(--red-bright);
}

.proof-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #0d0f12;
}

.proof-inner {
  min-height: 104px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.proof-inner > div {
  padding: 24px 28px;
  border-left: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.proof-inner > div:last-child {
  border-right: 1px solid var(--line);
}

.proof-inner strong {
  color: var(--text);
  font-size: 18px;
}

.proof-inner span {
  color: var(--muted);
  font-size: 12px;
}

.section {
  padding: 108px 0;
  border-top: 1px solid #261923;
  background: var(--surface-light);
  color: var(--text);
}

.section-dark {
  border-top-color: #2a1924;
  border-bottom: 1px solid #2a1924;
  background: #0c080d;
  color: var(--text);
}

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

.section-heading > p:last-child {
  max-width: 650px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 18px;
}

.section-dark .section-heading > p:last-child {
  color: var(--muted);
}

.section-kicker {
  color: var(--red);
}

.split-heading {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.8fr);
  gap: 80px;
  align-items: end;
}

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

.package-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  grid-template-areas:
    "featured small"
    "featured big";
  grid-template-rows: repeat(2, minmax(292px, auto));
  gap: 18px;
}

.service-card,
.package-card {
  position: relative;
  min-width: 0;
  border: 1px solid var(--line-light);
  border-radius: 6px;
  background: #fff;
  padding: 30px;
}

.service-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 52px;
  border: 1px solid #d6d5d0;
  border-radius: 6px;
  display: grid;
  place-items: center;
  color: var(--red);
}

.service-icon svg {
  width: 21px;
}

.service-number {
  position: absolute;
  top: 31px;
  right: 30px;
  color: #8b8e95;
  font-size: 12px;
  font-weight: 800;
}

.service-card > p:not(.service-number),
.package-card > p {
  color: var(--muted-dark);
}

.service-card ul,
.package-card ul {
  margin: 24px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid var(--line-light);
  list-style: none;
  color: #3f4249;
  font-size: 14px;
}

.service-card li + li,
.package-card li + li {
  margin-top: 9px;
}

.package-card {
  min-height: 0;
  border-color: var(--line);
  background: #141016;
  color: var(--text);
  display: flex;
  flex-direction: column;
}

.package-card.package-featured {
  grid-area: featured;
  min-height: 602px;
  border-color: var(--red);
  box-shadow: inset 0 3px 0 var(--red);
}

.package-card:nth-child(1) {
  grid-area: small;
}

.package-card:nth-child(3) {
  grid-area: big;
}

.package-topline {
  margin-bottom: 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  text-transform: uppercase;
}

.package-featured .package-topline {
  margin-bottom: 74px;
}

.package-topline span:first-child {
  color: var(--red-bright);
}

.package-card h3 {
  font-size: 25px;
}

.package-card > p {
  color: var(--muted);
}

.package-card ul {
  margin-top: 18px;
  padding-top: 16px;
  border-color: var(--line);
  color: #d8d9dc;
}

.package-card li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.package-card li svg {
  width: 15px;
  color: var(--green);
}

.package-action {
  width: 100%;
  margin-top: auto;
  border-color: #3a3d44;
  background: #1b141b;
}

.package-action:hover {
  border-color: var(--red);
  background: #241722;
}

.price-note {
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 22px 24px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 26px;
  align-items: center;
  background: #120d13;
}

.price-note > div {
  min-width: 120px;
  display: flex;
  flex-direction: column;
}

.price-note span,
.price-note p {
  color: var(--muted);
  font-size: 13px;
}

.price-note strong {
  font-size: 24px;
}

.price-note p {
  margin: 0;
}

.process-list {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  list-style: none;
}

.process-list li {
  min-height: 168px;
  border: 1px solid #30212c;
  border-radius: 6px;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 12px;
  align-items: start;
  padding: 30px;
  background: #120d13;
  transition: border-color 180ms ease, transform 180ms ease;
}

.process-list li:hover {
  border-color: rgba(240, 68, 79, 0.58);
  transform: translateY(-2px);
}

.process-list > li > span {
  color: var(--red);
  font-size: 13px;
  font-weight: 800;
}

.process-list h3 {
  margin: 0 0 7px;
}

.process-list p {
  max-width: 650px;
  margin: 0;
  color: var(--muted);
}

.capability-band {
  width: min(calc(100% - 48px), var(--max-width));
  min-height: 560px;
  margin: 100px auto;
  border: 1px solid #30212c;
  border-radius: 8px;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(460px, 0.9fr);
  background: #100b11;
}

.capability-media {
  position: relative;
  min-height: 560px;
  overflow: hidden;
}

.capability-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  animation: hero-breathe 14s ease-in-out infinite alternate-reverse;
}

.capability-signal {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  color: #f3f3f1;
  font-size: 18px;
  font-weight: 800;
  text-transform: uppercase;
}

.capability-signal svg {
  width: 84px;
  height: 84px;
  color: var(--red-bright);
  filter: drop-shadow(0 0 32px rgba(223, 37, 50, 0.5));
  animation: signal-pulse 2.8s ease-in-out infinite;
}

.capability-copy {
  padding: 96px clamp(48px, 7vw, 110px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.capability-copy h2 {
  font-size: 42px;
}

.capability-copy > p:not(.section-kicker) {
  color: var(--muted);
  font-size: 17px;
}

.capability-list {
  margin-top: 30px;
  border-top: 1px solid var(--line);
}

.capability-list > div {
  min-height: 62px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 13px;
  color: #dedfe2;
  font-size: 14px;
}

.capability-list svg {
  width: 18px;
  color: var(--red-bright);
}

.cta-section {
  width: min(calc(100% - 48px), var(--max-width));
  margin: 0 auto 100px;
  padding: 56px;
  border: 1px solid rgba(240, 68, 79, 0.45);
  border-radius: 8px;
  background: #190b11;
  color: white;
}

.cta-inner {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.cta-inner .section-kicker {
  color: var(--red-bright);
}

.cta-inner h2 {
  margin: 0;
  font-size: 44px;
}

.site-footer {
  padding: 72px 0 24px;
  border-top: 1px solid #261923;
  background: #080508;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) minmax(0, 1.2fr);
  gap: 100px;
}

.footer-brand p {
  max-width: 300px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 14px;
}

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

.footer-links > div {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-links strong {
  margin-bottom: 6px;
  font-size: 13px;
}

.footer-links a,
.footer-links span,
.footer-links button {
  padding: 0;
  border: 0;
  background: none;
  color: var(--muted);
  font-size: 13px;
  text-align: left;
}

.footer-links button {
  cursor: pointer;
}

.footer-links a:hover,
.footer-links button:hover {
  color: var(--text);
}

.footer-bottom {
  margin-top: 64px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: #747780;
  font-size: 12px;
}

.brief-dialog {
  width: min(680px, calc(100% - 32px));
  max-height: calc(100svh - 32px);
  border: 1px solid #393c44;
  border-radius: 8px;
  padding: 0;
  background: #111318;
  color: var(--text);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.65);
}

.brief-dialog::backdrop {
  background: rgba(4, 5, 7, 0.78);
  backdrop-filter: blur(8px);
}

.dialog-header {
  padding: 28px 30px 22px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.dialog-header .section-kicker {
  margin-bottom: 8px;
}

.dialog-header h2 {
  margin: 0;
  font-size: 27px;
}

.brief-dialog form {
  padding: 28px 30px 30px;
}

.brief-dialog label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  color: #d8d9dd;
  font-size: 13px;
  font-weight: 700;
}

.brief-dialog label + label,
.brief-dialog .form-grid + label,
.brief-dialog label + .form-grid {
  margin-top: 18px;
}

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

.brief-dialog .form-grid > label + label {
  margin-top: 0;
}

@keyframes hero-enter {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-breathe {
  from {
    transform: scale(1.03);
    filter: brightness(0.86);
  }
  to {
    transform: scale(1.08);
    filter: brightness(1.04);
  }
}

@keyframes signal-pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.08);
    opacity: 1;
  }
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #363941;
  border-radius: 6px;
  outline: none;
  background: #0b0d10;
  color: var(--text);
}

input,
select {
  height: 46px;
  padding: 0 13px;
}

textarea {
  resize: vertical;
  min-height: 126px;
  padding: 12px 13px;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--red-bright);
}

input::placeholder,
textarea::placeholder {
  color: #676a72;
}

.dialog-submit {
  width: 100%;
  margin-top: 24px;
}

.toast {
  position: fixed;
  z-index: 100;
  right: 22px;
  bottom: 22px;
  max-width: calc(100% - 44px);
  min-height: 52px;
  border: 1px solid #3d4149;
  border-radius: 6px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #16191e;
  color: var(--text);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.4);
  font-size: 13px;
}

.toast svg {
  width: 18px;
  color: var(--green);
}

@media (max-width: 980px) {
  h2,
  .cta-inner h2 {
    font-size: 38px;
  }

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

  .header-inner {
    justify-content: space-between;
  }

  .menu-toggle {
    display: inline-grid;
  }

  .mobile-nav {
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    padding: 18px 24px 24px;
    border-bottom: 1px solid var(--line);
    background: #0b0d10;
  }

  .mobile-nav:not([hidden]) {
    display: flex;
    flex-direction: column;
    gap: 5px;
  }

  .mobile-nav a {
    padding: 11px 4px;
    color: var(--muted);
    font-weight: 700;
  }

  .mobile-nav .button {
    margin-top: 8px;
  }

  .hero h1 {
    font-size: 62px;
  }

  .package-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "featured"
      "small"
      "big";
    grid-template-rows: auto;
  }

  .service-card,
  .package-card {
    min-height: auto;
  }

  .package-card.package-featured {
    min-height: auto;
  }

  .package-card ul {
    margin-bottom: 34px;
  }

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

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

  .capability-media {
    min-height: 480px;
  }

  .capability-copy {
    padding: 72px 48px;
  }
}

@media (max-width: 680px) {
  :root {
    --header-height: 66px;
  }

  .header-inner,
  .section-inner,
  .footer-inner,
  .footer-bottom,
  .cta-inner,
  .hero-inner {
    width: min(calc(100% - 32px), var(--max-width));
  }

  .brand-mark {
    width: 52px;
    height: 52px;
  }

  .hero {
    height: calc(100svh - 32px);
    min-height: 600px;
  }

  .hero-background {
    object-position: center;
  }

  .hero-shade {
    background: rgba(5, 6, 8, 0.16);
  }

  .hero h1 {
    font-size: 48px;
  }

  .hero-lede {
    font-size: 17px;
  }

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

  .hero-points {
    display: grid;
    gap: 9px;
  }

  .section {
    padding: 78px 0;
  }

  h2,
  .cta-inner h2,
  .capability-copy h2 {
    font-size: 32px;
  }

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

  .service-card,
  .package-card {
    padding: 24px;
  }

  .price-note {
    grid-template-columns: 1fr;
  }

  .price-note .button {
    width: 100%;
  }

  .process-list li {
    min-height: 0;
    grid-template-columns: 54px 1fr;
    gap: 4px;
    padding: 24px;
  }

  .process-list {
    grid-template-columns: 1fr;
  }

  .capability-media {
    min-height: 360px;
  }

  .capability-copy {
    padding: 64px 24px;
  }

  .capability-band,
  .cta-section {
    width: min(calc(100% - 32px), var(--max-width));
    margin-top: 72px;
    margin-bottom: 72px;
  }

  .cta-section {
    padding: 32px 24px;
  }

  .cta-inner {
    width: 100%;
    align-items: stretch;
    flex-direction: column;
  }

  .cta-inner .button {
    width: 100%;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .footer-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 34px;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .dialog-header,
  .brief-dialog form {
    padding-left: 20px;
    padding-right: 20px;
  }

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

  .brief-dialog .form-grid label + label {
    margin-top: 0;
  }
}

@media (max-height: 650px) and (min-width: 681px) {
  .hero {
    min-height: 500px;
  }

  .hero h1 {
    font-size: 58px;
  }

  .hero-copy {
    padding-block: 24px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
