:root {
  --blue: #1f5fae;
  --blue-dark: #184c8a;
  --orange: #f06a22;
  --orange-dark: #cf5415;
  --yellow: #f7d62c;
  --cream: #fff7e0;
  --ink: #1b1b1f;
  --muted: #5f6772;
  --bg: #fbfbfd;
  --white: #ffffff;
  --shadow: 0 24px 60px rgba(31, 95, 174, 0.16);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

h1, h2, h3 {
  font-family: "Montserrat", system-ui, -apple-system, sans-serif;
  margin: 0 0 0.6rem;
}

h1 {
  font-size: clamp(2.5rem, 3.8vw, 3.8rem);
  font-weight: 800;
  color: var(--blue);
}

h2 {
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  color: var(--blue-dark);
}

p {
  margin: 0 0 1rem;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.site-header {
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 10;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  gap: 1rem;
}

.brand img {
  width: 180px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-weight: 600;
  color: var(--blue-dark);
}

.site-nav a {
  position: relative;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--orange);
  transition: width 0.2s ease;
}

.site-nav a:hover::after {
  width: 100%;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  border: 2px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 18px rgba(31, 95, 174, 0.18);
}

.btn-primary {
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  color: var(--white);
}

.btn-secondary {
  background: var(--blue);
  color: var(--white);
}

.btn-outline {
  color: var(--blue);
  border-color: var(--blue);
}

.hero {
  padding: 4rem 0 3rem;
  background: radial-gradient(circle at top right, rgba(247, 214, 44, 0.3), transparent 55%),
    linear-gradient(180deg, rgba(31, 95, 174, 0.06), transparent 50%);
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.eyebrow {
  font-weight: 600;
  color: var(--orange);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.tagline {
  font-size: 1.2rem;
  color: var(--blue-dark);
  font-weight: 600;
}

.sub-tagline {
  color: var(--muted);
  font-size: 1rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.hero-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.highlight {
  background: var(--white);
  padding: 1rem 1.2rem;
  border-radius: 16px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
}

.highlight span {
  display: inline-block;
  font-weight: 700;
  color: var(--orange);
  margin-bottom: 0.3rem;
}

.hero-visual {
  position: relative;
  display: grid;
  gap: 1.5rem;
}

.hero-card {
  background: var(--white);
  border-radius: 28px;
  box-shadow: var(--shadow);
  padding: 2rem;
  display: grid;
  gap: 1.5rem;
  text-align: center;
}

.hero-card img {
  width: min(320px, 100%);
  margin: 0 auto;
}

.hero-card h2 {
  color: var(--orange-dark);
}

.hero-badge {
  background: var(--blue);
  color: var(--white);
  padding: 0.6rem 1.6rem;
  border-radius: 999px;
  width: fit-content;
  justify-self: center;
  font-weight: 600;
}

.info {
  padding: 3rem 0 4rem;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2.5rem;
}

.site-footer {
  background: var(--blue-dark);
  color: var(--white);
  padding: 2.5rem 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  align-items: flex-start;
}

.footer-note {
  opacity: 0.8;
  font-size: 0.9rem;
}

.error-page {
  min-height: 100vh;
  display: flex;
  background: radial-gradient(circle at top left, rgba(247, 214, 44, 0.25), transparent 55%),
    linear-gradient(160deg, rgba(31, 95, 174, 0.08), transparent 60%);
}

.error-layout {
  width: min(960px, 92%);
  margin: auto;
  padding: 4rem 0;
  display: flex;
  justify-content: center;
}

.error-card {
  background: var(--white);
  padding: 3rem;
  border-radius: 32px;
  text-align: center;
  box-shadow: var(--shadow);
  display: grid;
  gap: 1rem;
}

.error-logo {
  width: 200px;
  margin: 0 auto;
}

.error-code {
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 800;
  color: var(--orange);
  margin: 0;
}

.error-message {
  color: var(--muted);
  font-size: 1.05rem;
}

.error-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 860px) {
  .site-nav {
    display: none;
  }

  .brand img {
    width: 150px;
  }

  .error-card {
    padding: 2.2rem 1.6rem;
  }
}
