:root {
  --ink: #16213b;
  --muted: #5e7398;
  --blue: #1c63e9;
  --blue-soft: #eef5ff;
  --cyan: #36c2ff;
  --gold: #ffbe3b;
  --border: rgba(28, 99, 233, 0.14);
  --surface: #ffffff;
  --bg: #f4f8ff;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(54, 194, 255, 0.16), transparent 24%),
    radial-gradient(circle at 85% 0%, rgba(255, 190, 59, 0.16), transparent 20%),
    linear-gradient(180deg, #fbfdff 0%, var(--bg) 56%, #fffaf1 100%);
}

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

.page-shell {
  width: min(1080px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 56px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  position: sticky;
  top: 14px;
  z-index: 20;
  padding: 12px 16px;
  margin-bottom: 28px;
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.68)),
    rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(28, 99, 233, 0.16);
  box-shadow:
    0 18px 44px rgba(16, 27, 58, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.brand-banner {
  margin-bottom: 28px;
}

.brand-banner-single {
  position: relative;
  overflow: hidden;
  min-height: 460px;
  border-radius: 36px;
  border: 1px solid rgba(28, 99, 233, 0.18);
  box-shadow: 0 28px 80px rgba(11, 24, 55, 0.18);
  background:
    radial-gradient(circle at top left, rgba(54, 194, 255, 0.28), transparent 26%),
    radial-gradient(circle at 85% 18%, rgba(255, 190, 59, 0.2), transparent 18%),
    linear-gradient(135deg, #0b1d45 0%, #15449a 56%, #173670 100%);
}

.brand-banner-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: start;
  gap: 10px;
  z-index: 2;
  padding: 22px;
  background:
    linear-gradient(90deg, rgba(7, 18, 41, 0.68) 0%, rgba(7, 18, 41, 0.4) 30%, rgba(7, 18, 41, 0.14) 54%, rgba(7, 18, 41, 0.03) 76%, rgba(7, 18, 41, 0) 100%);
}

.brand-banner-overlay span {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
}

.brand-banner-overlay strong {
  font-size: clamp(1.55rem, 3vw, 2.55rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
  max-width: 8ch;
  color: white;
}

.brand-banner-pill {
  width: fit-content;
  background: linear-gradient(135deg, rgba(54, 194, 255, 0.24), rgba(255, 190, 59, 0.24));
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 10px 24px rgba(8, 18, 40, 0.14);
}

.brand-banner-lead {
  margin: 0;
  max-width: 38ch;
  font-size: 0.82rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.82);
}

.banner-ghost {
  background: rgba(255, 255, 255, 0.14);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.button:not(.ghost) {
  background: linear-gradient(135deg, #1c63e9 0%, #36c2ff 100%);
  box-shadow: 0 14px 30px rgba(28, 99, 233, 0.32);
}

.button.ghost {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.brand-banner-media {
  position: absolute;
  inset: 0;
  display: block;
  padding: 0;
}

.brand-banner-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 0;
  border: 0;
  box-shadow: none;
  opacity: 0.96;
  transform: scale(1.03);
  filter: saturate(1.08) contrast(1.04);
}

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

.brand-logo {
  width: 198px;
  max-width: 42vw;
  height: auto;
  display: block;
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 10px 18px rgba(13, 32, 70, 0.12));
}

.nav {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border-radius: 20px;
  background: rgba(245, 249, 255, 0.76);
  border: 1px solid rgba(28, 99, 233, 0.08);
  flex-wrap: wrap;
  color: #31517d;
  font-weight: 600;
  justify-content: flex-end;
}

.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 14px;
  transition:
    background 0.18s ease,
    color 0.18s ease,
    transform 0.18s ease,
    box-shadow 0.18s ease;
}

.nav a:hover {
  background: linear-gradient(135deg, rgba(28, 99, 233, 0.12), rgba(54, 194, 255, 0.14));
  color: #123d84;
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(28, 99, 233, 0.1);
}

.hero,
.contact {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: 20px;
}

.hero-copy,
.hero-panel,
.card,
.process-card,
.contact-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 28px;
  box-shadow: 0 18px 44px rgba(16, 27, 58, 0.08);
}

.hero-copy {
  padding: 40px;
}

.pill {
  display: inline-flex;
  padding: 7px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(28, 99, 233, 0.12), rgba(54, 194, 255, 0.16));
  color: var(--blue);
  font-size: 0.84rem;
  font-weight: 700;
}

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

h1 {
  margin-top: 16px;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1;
  letter-spacing: -0.04em;
  max-width: 10ch;
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  line-height: 1.12;
  max-width: 16ch;
}

.hero-copy p,
.card p,
.process-card p,
.contact-copy p,
.hero-panel-card p {
  margin-top: 14px;
  color: var(--muted);
  line-height: 1.75;
}

.cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--blue);
  color: white;
  font-weight: 700;
}

.button.ghost {
  background: white;
  color: var(--ink);
  border: 1px solid var(--border);
}

.hero-panel {
  padding: 22px;
  display: grid;
  gap: 16px;
}

.hero-panel-card {
  padding: 22px;
  border-radius: 22px;
  background: #f8fbff;
  border: 1px solid var(--border);
}

.hero-mini-grid {
  display: grid;
  gap: 12px;
}

.hero-mini-grid div,
.contact-row {
  padding: 16px 18px;
  border-radius: 18px;
  background: linear-gradient(180deg, #f8fbff, #ffffff);
  border: 1px solid var(--border);
}

.hero-mini-grid strong,
.contact-row strong {
  display: block;
  margin-bottom: 6px;
}

.hero-mini-grid span,
.contact-row span {
  color: var(--muted);
  line-height: 1.5;
}

.section {
  margin-top: 28px;
}

.section-head {
  margin-bottom: 18px;
}

.section-head h2 {
  margin-top: 12px;
}

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

.card,
.process-card {
  padding: 26px;
}

.process-card span {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--blue);
  font-weight: 800;
}

.contact {
  align-items: start;
}

.contact-copy {
  padding: 8px 0;
}

.contact-box {
  padding: 22px;
  display: grid;
  gap: 14px;
}

.compact {
  margin-top: 8px;
}

@media (max-width: 900px) {
  .topbar,
  .brand-banner,
  .hero,
  .card-grid,
  .process-grid,
  .contact {
    grid-template-columns: 1fr;
  }

  .topbar {
    align-items: flex-start;
    flex-direction: column;
    top: 10px;
    padding: 12px;
    border-radius: 20px;
  }

  .nav {
    width: 100%;
    gap: 12px;
    justify-content: flex-start;
    padding: 6px;
  }

  .brand-banner {
    min-height: auto;
  }

  .brand-banner-single {
    min-height: 340px;
    border-radius: 28px;
  }

  .brand-banner-overlay {
    gap: 8px;
    padding: 16px 14px;
    background:
      linear-gradient(180deg, rgba(9, 20, 43, 0.58) 0%, rgba(9, 20, 43, 0.28) 42%, rgba(9, 20, 43, 0.08) 72%, rgba(9, 20, 43, 0) 100%);
  }

  .brand-banner-overlay span {
    font-size: 0.64rem;
  }

  .brand-banner-overlay strong {
    font-size: clamp(1.2rem, 6vw, 1.7rem);
    max-width: 10ch;
  }

  .brand-banner-lead {
    max-width: 28ch;
    font-size: 0.74rem;
    line-height: 1.4;
  }

  .brand-banner-overlay .cta-row {
    margin-top: 10px;
    gap: 8px;
  }

  .brand-banner-overlay .button {
    min-height: 40px;
    padding: 0 14px;
    font-size: 0.84rem;
  }

  .brand-banner-overlay .button.ghost {
    display: none;
  }

  .brand-banner-media {
    padding: 0;
  }

  .brand-banner-media img {
    height: 100%;
  }

  .page-shell {
    width: min(100% - 20px, 1080px);
  }

  .hero-copy,
  .hero-panel,
  .card,
  .process-card,
  .contact-box {
    padding: 22px;
  }

  .brand-logo {
    width: 170px;
    max-width: 100%;
  }

  .section {
    margin-top: 22px;
  }

  h1,
  h2 {
    max-width: none;
  }
}

@media (max-width: 560px) {
  .page-shell {
    width: min(100% - 14px, 1080px);
    padding: 14px 0 40px;
  }

  .topbar {
    padding: 12px 14px;
    margin-bottom: 18px;
    border-radius: 18px;
  }

  .brand-logo {
    width: 138px;
  }

  .nav {
    font-size: 0.92rem;
  }

  .nav a {
    min-height: 36px;
    padding: 0 10px;
  }

  .brand-banner-single {
    min-height: 300px;
    border-radius: 22px;
  }

  .brand-banner-overlay {
    padding: 14px 12px;
  }

  .brand-banner-overlay strong {
    font-size: 1.08rem;
    max-width: 11ch;
  }

  .brand-banner-lead {
    max-width: 24ch;
    font-size: 0.7rem;
  }

  .brand-banner-overlay .button {
    min-height: 36px;
    padding: 0 12px;
    font-size: 0.78rem;
  }

  .brand-banner-overlay .button.ghost {
    display: none;
  }
}
