:root {
  --bg: #f4f6fb;
  --surface: #ffffff;
  --surface-alt: #e9eef7;
  --ink: #10213a;
  --muted: #4d5d7a;
  --accent: #0d5bd7;
  --accent-dark: #0a45a3;
  --line: #d5deee;
  --ok: #0f766e;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
}

a {
  color: var(--accent);
}

a:hover,
a:focus {
  color: var(--accent-dark);
}

.site-shell {
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
}

.sidebar {
  width: 320px;
  min-height: 100vh;
  padding: 2rem 1.5rem;
  background: #0f1f38;
  color: #eaf1ff;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  position: sticky;
  top: 0;
}

.brand {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.ad-disclosure {
  font-size: 0.82rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 0.75rem;
}

.sidebar nav {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.nav-link {
  color: #d7e4ff;
  text-decoration: none;
  padding: 0.45rem 0.6rem;
  border-radius: 8px;
  transition: background-color 0.2s ease;
}

.nav-link:hover,
.nav-link:focus {
  background: rgba(255, 255, 255, 0.12);
}

.sticky-cta {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border: 0;
  border-radius: 10px;
  padding: 0.8rem 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.button:hover,
.button:focus {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--accent);
  color: #ffffff;
}

.button-primary:hover,
.button-primary:focus {
  background: var(--accent-dark);
  color: #ffffff;
}

.button-light {
  background: #ffffff;
  color: #0f1f38;
}

.button-light:hover,
.button-light:focus {
  background: #dfe9ff;
}

.content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.panel {
  margin: 1.2rem 1.5rem 0;
  padding: 1.4rem;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.insight-bg {
  background-color: #1d2f4a;
  background-image: linear-gradient(rgba(10, 20, 34, 0.72), rgba(10, 20, 34, 0.72)), url("https://images.unsplash.com/photo-1497366811353-6870744d04b2?w=1400&q=80");
  background-size: cover;
  background-position: center;
  color: #f0f6ff;
}

.insight-bg a {
  color: #b4d4ff;
}

.hero {
  overflow: hidden;
  padding: 0;
}

.hero-wrap {
  display: flex;
  flex-wrap: wrap;
}

.hero-copy {
  flex: 1 1 360px;
  padding: 2rem;
}

.hero-title {
  margin: 0 0 0.7rem;
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.1;
}

.hero-media {
  flex: 1 1 320px;
  background: #d9e6ff;
}

.hero-media img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  display: block;
}

.eyebrow {
  margin: 0;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.split {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.split > * {
  flex: 1 1 260px;
}

.media-wrap {
  background: #dce6f7;
  border-radius: 12px;
  overflow: hidden;
}

.media-wrap img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
}

.card-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.card {
  flex: 1 1 230px;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: #ffffff;
}

.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.card-copy {
  padding: 0.9rem;
}

.service-item {
  border-left: 3px solid var(--accent);
  padding: 0.6rem 0.9rem;
  background: var(--surface-alt);
  margin-bottom: 0.8rem;
}

.service-item strong {
  display: inline-block;
  margin-right: 0.4rem;
}

form {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

label {
  font-weight: 600;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #b5c4df;
  border-radius: 8px;
  padding: 0.72rem 0.8rem;
  font: inherit;
  color: #13233d;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(13, 91, 215, 0.25);
  border-color: var(--accent);
}

.inline-cta {
  font-weight: 600;
  text-decoration: underline;
}

.notice {
  background: #eefcf8;
  border: 1px solid #bfe8de;
  color: #10473f;
  border-radius: 10px;
  padding: 0.9rem;
}

.disclaimer {
  font-size: 0.9rem;
  color: #3d4e6f;
  background: #f8fbff;
}

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  background: #0e2038;
  color: #f2f7ff;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 1rem;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  z-index: 20;
}

.cookie-actions {
  display: flex;
  gap: 0.6rem;
}

.footer {
  margin: 1.2rem 1.5rem;
  padding: 1rem 1.4rem 1.6rem;
  color: #445273;
}

.reference-list {
  margin: 0.4rem 0 0;
  padding-left: 1.1rem;
}

@media (max-width: 980px) {
  .site-shell {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
    min-height: auto;
    position: static;
  }

  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
  }
}
