:root {
  --ink: #10243f;
  --navy: #0f2741;
  --teal: #1f7a6d;
  --sand: #f4ecdf;
  --paper: #fffdf8;
  --accent: #ee8c4a;
  --line: rgba(16, 36, 63, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", "Segoe UI", sans-serif;
  background: var(--paper);
  color: var(--ink);
}

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

.site-shell {
  min-height: 100vh;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.5rem;
  color: #fff;
  background: rgba(15, 39, 65, 0.88);
  backdrop-filter: blur(16px);
}

.brand {
  font-weight: 800;
  letter-spacing: 0.05em;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hero {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 2rem;
  padding: 5rem 1.5rem 4rem;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.18), transparent 30%),
    radial-gradient(circle at bottom right, rgba(238, 140, 74, 0.22), transparent 28%),
    linear-gradient(135deg, var(--navy) 0%, #174463 52%, var(--teal) 100%);
  color: #fff;
}

.hero-copy,
.hero-panel,
.section,
.cta-band {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.hero-copy {
  align-self: center;
}

.eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal);
}

.hero .eyebrow,
.cta-band .eyebrow {
  color: rgba(255, 255, 255, 0.76);
}

h1,
h2 {
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  line-height: 1.04;
  letter-spacing: -0.04em;
}

h1 {
  max-width: 12ch;
  font-size: clamp(2.8rem, 6vw, 5rem);
}

h2 {
  max-width: 18ch;
  font-size: clamp(2rem, 4vw, 3.4rem);
}

h3 {
  margin: 0 0 0.8rem;
  font-size: 1.2rem;
}

.hero-text,
.cta-band p,
.feature-card p,
.step-card p,
.panel-note,
.domain-role {
  line-height: 1.8;
}

.hero-text {
  max-width: 56rem;
  margin: 1.4rem 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.08rem;
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.primary-link,
.secondary-link,
.ghost-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 1.3rem;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}

.primary-link:hover,
.secondary-link:hover,
.ghost-link:hover {
  transform: translateY(-1px);
}

.primary-link {
  color: var(--ink);
  background: #f7d58c;
}

.primary-link:hover {
  background: #f0ca6f;
}

.secondary-link {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.secondary-link:hover,
.ghost-link:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.46);
}

.ghost-link {
  color: rgba(255, 255, 255, 0.88);
  border: 1px solid transparent;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  padding: 0;
  margin: 1.6rem 0 0;
  list-style: none;
}

.hero-pills li {
  padding: 0.65rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.95rem;
}

.hero-panel {
  align-self: end;
}

.panel-card {
  padding: 2rem;
  border-radius: 2rem;
  color: var(--ink);
  background: rgba(255, 253, 248, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow: 0 24px 52px rgba(8, 21, 38, 0.25);
}

.panel-label {
  margin: 0 0 1rem;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
}

.domain-list {
  display: grid;
  gap: 1rem;
}

.domain-list > div {
  padding: 1rem 1rem 1.05rem;
  border-radius: 1.15rem;
  background: rgba(16, 36, 63, 0.04);
  border: 1px solid rgba(16, 36, 63, 0.08);
}

.domain-name {
  display: block;
  margin-bottom: 0.3rem;
  font-weight: 800;
}

.domain-role {
  display: block;
  color: rgba(16, 36, 63, 0.78);
}

.panel-note {
  margin: 1.2rem 0 0;
  color: rgba(16, 36, 63, 0.72);
}

.section {
  padding: 5rem 1.5rem;
}

.sand {
  background: var(--sand);
}

.section-heading {
  margin-bottom: 2rem;
}

.card-grid {
  display: grid;
  gap: 1.25rem;
}

.card-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card-grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature-card,
.step-card {
  padding: 1.7rem;
  border-radius: 1.5rem;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 16px 34px rgba(16, 36, 63, 0.05);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: 1rem;
  border-radius: 50%;
  color: #fff;
  background: var(--navy);
  font-weight: 800;
}

.cta-band {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 2rem;
  padding: 2rem;
  margin: 0 1.5rem 5rem;
  border-radius: 2rem;
  color: #fff;
  background: linear-gradient(135deg, var(--navy) 0%, #194667 48%, #165f61 100%);
}

.cta-copy p:last-child {
  margin: 1rem 0 0;
  color: rgba(255, 255, 255, 0.8);
}

.cta-actions {
  align-items: center;
  justify-content: flex-end;
}

@media (max-width: 980px) {
  .hero,
  .cta-band,
  .steps,
  .card-grid.three,
  .card-grid.four {
    grid-template-columns: 1fr;
  }

  .cta-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  .topbar {
    flex-direction: column;
    align-items: stretch;
  }

  .topbar-actions {
    flex-wrap: wrap;
  }

  .hero,
  .section {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .cta-band {
    margin-left: 1rem;
    margin-right: 1rem;
  }
}
