:root {
  --bg: #edf2f6;
  --panel: #ffffff;
  --text: #10202b;
  --muted: #5a6d78;
  --accent: #0e7490;
  --accent-2: #f97316;
  --line: #d8e2e8;
  --shadow: 0 18px 40px rgba(16, 32, 43, 0.1);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Manrope, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 10%, rgba(14, 116, 144, 0.12), transparent 40%),
    radial-gradient(circle at 88% 12%, rgba(249, 115, 22, 0.12), transparent 34%),
    var(--bg);
  line-height: 1.6;
}

.bg-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(16, 32, 43, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 32, 43, 0.04) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle at center, black 25%, transparent 80%);
}

.hero,
main,
footer {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  position: relative;
}

.hero {
  padding: 1.2rem 0 2.4rem;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 340px);
  gap: 1rem;
  align-items: stretch;
}

.top-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.4rem;
}

.brand {
  font-family: Sora, sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--text);
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
}

.nav-links a:hover {
  color: var(--accent);
}

.hero-content {
  background: linear-gradient(130deg, rgba(14, 116, 144, 0.08), rgba(249, 115, 22, 0.08));
  border: 1px solid rgba(14, 116, 144, 0.2);
  border-radius: 24px;
  padding: clamp(1.4rem, 2vw, 2rem);
  box-shadow: var(--shadow);
  animation: reveal 700ms ease both;
}

.hero-image-wrap {
  margin: 0;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(14, 116, 144, 0.2);
  box-shadow: var(--shadow);
  animation: reveal 700ms ease both;
  background: linear-gradient(160deg, rgba(14, 116, 144, 0.08), rgba(249, 115, 22, 0.08));
}

.hero-image {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  display: block;
}

.eyebrow {
  margin: 0;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--accent);
  font-weight: 800;
}

h1,
h2,
h3 {
  font-family: Sora, sans-serif;
  line-height: 1.2;
}

h1 {
  font-size: clamp(1.9rem, 4.2vw, 3.3rem);
  margin: 0.6rem 0 0.8rem;
  max-width: 18ch;
}

.intro {
  color: var(--muted);
  max-width: 76ch;
}

.hero-actions {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin: 1.4rem 0 0.6rem;
}

.btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.66rem 1rem;
}

.btn-primary {
  background: linear-gradient(120deg, var(--accent), #1f9ab2);
  color: #fff;
}

.btn-secondary {
  background: #fff;
  color: var(--text);
  border: 1px solid var(--line);
}

.hero-meta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

main {
  display: grid;
  gap: 1.2rem;
  padding-bottom: 2.5rem;
}

.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: clamp(1.1rem, 1.8vw, 1.8rem);
  box-shadow: var(--shadow);
  animation: reveal 700ms ease both;
}

.panel h2 {
  margin: 0 0 0.8rem;
}

.section-note {
  margin: 0.9rem 0 0;
  color: var(--muted);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.chips span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.38rem 0.72rem;
  font-size: 0.9rem;
  font-weight: 600;
  background: #f6fafc;
}

.timeline {
  display: grid;
  gap: 0.9rem;
}

.timeline article {
  border-left: 4px solid rgba(14, 116, 144, 0.28);
  padding: 0.2rem 0 0.2rem 0.9rem;
}

.timeline h3 {
  margin: 0;
  font-size: 1.02rem;
}

.meta {
  margin: 0.2rem 0 0.4rem;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.9rem;
}

.timeline p {
  margin: 0;
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.stack {
  margin: 0;
  padding-left: 1.1rem;
}

.stack li {
  margin: 0.45rem 0;
  color: var(--muted);
}

.cta {
  text-align: center;
  background: linear-gradient(160deg, #fff, #f7fbfd);
}

.cta p {
  color: var(--muted);
  max-width: 64ch;
  margin: 0 auto;
}

footer {
  padding: 0 0 2rem;
}

footer p {
  text-align: center;
  color: var(--muted);
  margin: 0;
  font-size: 0.9rem;
}

@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 860px) {
  .hero-layout {
    grid-template-columns: 1fr;
  }

  .hero-image {
    max-height: 380px;
  }

  .split {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .top-nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    gap: 0.75rem;
  }

  .hero-meta {
    flex-direction: column;
    gap: 0.35rem;
  }
}
