:root {
  --blue-950: #0b1736;
  --blue-900: #122b5e;
  --blue-800: #183a7a;
  --orange: #ff6600;
  --text: #1f2937;
  --muted: #64748b;
  --surface: #ffffff;
  --surface-soft: #f5f8fc;
  --border: rgba(18, 43, 94, 0.12);
  --shadow: 0 24px 70px rgba(18, 43, 94, 0.16);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255, 102, 0, 0.10), transparent 30rem),
    linear-gradient(135deg, #f8fbff 0%, #eef4fb 100%);
  line-height: 1.6;
}

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

a { color: inherit; }

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

.subpage-shell {
  max-width: 940px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.95fr);
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
  min-height: calc(100vh - 64px);
}

.hero__content,
.section,
.contact {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--border);
  border-radius: 32px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.hero__content {
  padding: clamp(28px, 5vw, 56px);
}

.brand {
  display: inline-block;
  margin-bottom: clamp(36px, 7vw, 72px);
}

.brand img {
  width: min(240px, 70vw);
  height: auto;
}

.brand--small {
  margin-bottom: 0;
}

.brand--small img {
  width: min(190px, 48vw);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1, h2, h3 { color: var(--blue-950); line-height: 1.08; margin: 0; }

h1 {
  max-width: 10.8ch;
  font-size: clamp(2.55rem, 5.4vw, 4.85rem);
  letter-spacing: -0.06em;
  overflow-wrap: normal;
  text-wrap: balance;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  letter-spacing: -0.045em;
}

h3 {
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.lead {
  max-width: 650px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover { transform: translateY(-2px); }
.button:focus-visible { outline: 4px solid rgba(255, 102, 0, 0.28); outline-offset: 3px; }

.button--primary {
  color: #fff;
  background: var(--orange);
  box-shadow: 0 12px 26px rgba(255, 102, 0, 0.26);
}

.button--primary:hover { box-shadow: 0 16px 34px rgba(255, 102, 0, 0.36); }

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

.hero__image-wrap {
  position: relative;
  isolation: isolate;
}

.hero__image-wrap::before {
  content: "";
  position: absolute;
  inset: -18px 18px 18px -18px;
  z-index: -1;
  border-radius: 36px;
  background: linear-gradient(135deg, var(--blue-900), var(--orange));
  opacity: 0.92;
}

.hero__image {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  border-radius: 36px;
  box-shadow: var(--shadow);
}

.section {
  margin-top: 32px;
  padding: clamp(28px, 5vw, 48px);
}

.section__intro {
  display: grid;
  grid-template-columns: 0.6fr 1.4fr;
  gap: 28px;
  align-items: start;
}

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

.card {
  min-height: 190px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--surface-soft);
}

.card p {
  margin: 14px 0 0;
  color: var(--muted);
}

.contact {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: center;
  margin-top: 32px;
  padding: clamp(28px, 5vw, 48px);
  background: var(--blue-950);
  color: rgba(255,255,255,0.78);
}

.contact h2 { color: #fff; }
.contact p:last-child { max-width: 620px; margin-bottom: 0; }
.contact .button { flex: 0 0 auto; }

.subpage-header__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 30px;
}

.page-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.page-nav a {
  text-decoration: none;
  color: var(--blue-900);
  font-weight: 800;
}

.page-nav a:hover,
.page-nav a:focus-visible {
  text-decoration: underline;
}

.subpage-title {
  max-width: none;
  font-size: clamp(2.1rem, 5vw, 3.6rem);
}

.subpage-lead {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.legal-content {
  max-width: 760px;
  margin-top: 0;
  color: var(--muted);
}

.legal-content--wide {
  max-width: none;
}

.legal-content h3 {
  margin-top: 24px;
  font-size: 1.05rem;
}

.legal-content h3:first-child { margin-top: 0; }

.legal-content p { margin: 10px 0 0; }

.legal-content a {
  color: var(--blue-900);
  font-weight: 700;
}

.email-image {
  width: auto;
  max-width: min(100%, 439px);
  height: auto;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 24px 4px 8px;
  color: var(--muted);
  font-size: 0.95rem;
}

.site-footer a {
  color: var(--blue-900);
  font-weight: 800;
  text-decoration: none;
}

.site-footer a:hover { text-decoration: underline; }

.footer-links {
  display: inline-flex;
  gap: 18px;
  flex-wrap: wrap;
}

@media (max-width: 900px) {
  .hero,
  .section__intro,
  .cards,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .cards {
    display: grid;
  }

  .contact {
    display: grid;
  }
}

@media (max-width: 720px) {
  .page-shell {
    width: min(100%, calc(100% - 20px));
    padding: 20px 0;
  }

  .subpage-header__top,
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  h1 {
    max-width: none;
  }
}
