:root {
  --bg: #f4efe6;
  --ink: #1b2d3a;
  --muted: #5d6a73;
  --line: rgba(27, 45, 58, 0.12);
  --panel: rgba(255, 255, 255, 0.82);
  --accent: #1e6b72;
  --gold: #c88a2b;
  --shadow: 0 24px 60px rgba(28, 37, 43, 0.08);
  --radius: 26px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Avenir Next", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(200, 138, 43, 0.16), transparent 26%),
    radial-gradient(circle at top right, rgba(30, 107, 114, 0.14), transparent 24%),
    linear-gradient(180deg, #f8f3ea 0%, #f1eadf 44%, #efe8de 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.18) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.35), transparent 80%);
}

a {
  color: inherit;
}

.page-shell {
  position: relative;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(20px);
  background: rgba(244, 239, 230, 0.72);
  border-bottom: 1px solid var(--line);
}

.topbar-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background:
    linear-gradient(145deg, rgba(200, 138, 43, 0.96), rgba(200, 138, 43, 0.5)),
    linear-gradient(145deg, rgba(30, 107, 114, 0.9), rgba(30, 107, 114, 0.42));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 10px 20px rgba(30, 107, 114, 0.18);
}

.brand-copy strong {
  display: block;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-copy span {
  display: block;
  font-size: 0.85rem;
  color: var(--muted);
}

.topnav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.topnav a {
  background: rgba(255, 255, 255, 0.58);
  color: var(--ink);
  text-decoration: none;
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 0.92rem;
  box-shadow: inset 0 0 0 1px rgba(27, 45, 58, 0.08);
}

.topnav a.active {
  background: var(--ink);
  color: #fff;
}

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 32px 24px 60px;
}

.hero,
.hero-compact,
.split-grid,
.modules-grid,
.phase-grid,
.mini-grid,
.kpi-grid,
.role-grid,
.benefit-grid,
.condition-grid,
.pricing-grid,
.timeline-summary {
  display: grid;
  gap: 24px;
}

.hero {
  grid-template-columns: 1.4fr 0.9fr;
  margin-top: 24px;
}

.hero-compact {
  grid-template-columns: 1.1fr 0.9fr;
  margin-top: 24px;
}

.hero-card,
.info-card,
.section-card,
.timeline-card,
.price-card,
.price-spotlight,
.footer-card {
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.56);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
}

.hero-card,
.info-card,
.section-card,
.timeline-card,
.price-card,
.price-spotlight {
  padding: 34px;
}

.hero-card {
  position: relative;
  overflow: hidden;
}

.hero-card::after {
  content: "";
  position: absolute;
  right: -110px;
  top: -100px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(30, 107, 114, 0.16), transparent 68%);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(30, 107, 114, 0.08);
  color: var(--accent);
  font-size: 0.84rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1,
.title-xl {
  margin: 0 0 16px;
  font-family: "Baskerville", "Iowan Old Style", "Palatino Linotype", serif;
  font-size: clamp(2.6rem, 6vw, 4.7rem);
  line-height: 0.96;
  letter-spacing: -0.03em;
}

.hero p,
.lead,
.section-head p,
.price-caption {
  color: #30404c;
  line-height: 1.7;
}

.hero p {
  margin: 0 0 24px;
  font-size: 1.08rem;
  max-width: 62ch;
}

.hero-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.point,
.meta-item,
.mini-card,
.kpi-card,
.module-card,
.role-card,
.phase-card,
.benefit-card,
.condition-card {
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(27, 45, 58, 0.08);
}

.point strong,
.price-value,
.kpi-card strong {
  display: block;
  font-size: 1.2rem;
  margin-bottom: 6px;
}

.point span,
.mini-card p,
.kpi-card p,
.module-card p,
.role-card p,
.phase-card p,
.benefit-card p,
.condition-card p {
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

.module-detail {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(27, 45, 58, 0.08);
}

.module-detail:first-of-type {
  margin-top: 10px;
}

.module-detail-label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
}

.info-card h2,
.section-title,
.timeline-card h2,
.price-card h2 {
  margin: 0 0 18px;
  font-family: "Baskerville", "Iowan Old Style", "Palatino Linotype", serif;
  font-size: 1.8rem;
  line-height: 1.05;
}

.meta-grid {
  display: grid;
  gap: 16px;
}

.meta-item small,
.mini-card small,
.kpi-card small,
.module-card small,
.role-card small,
.phase-card small,
.benefit-card small,
.condition-card small {
  display: block;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  font-size: 0.73rem;
}

.section-stack {
  display: grid;
  gap: 24px;
  margin-top: 28px;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}

.section-head p {
  margin: 0;
  max-width: 58ch;
}

.lead {
  font-size: 1.04rem;
}

.list-clean,
.list-tight {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
}

.list-clean {
  gap: 12px;
}

.list-tight {
  gap: 8px;
}

.list-clean li,
.list-tight li {
  position: relative;
  padding-left: 22px;
  line-height: 1.58;
}

.list-clean li::before,
.list-tight li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 10px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold), var(--accent));
}

.modules-grid,
.pricing-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.gallery-card {
  padding: 14px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(27, 45, 58, 0.08);
}

.gallery-card img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
  box-shadow: 0 16px 28px rgba(27, 45, 58, 0.08);
}

.gallery-card h3 {
  margin: 14px 0 6px;
  font-size: 1rem;
}

.gallery-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.mini-grid,
.kpi-grid,
.role-grid,
.benefit-grid,
.condition-grid,
.phase-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.phase-card {
  position: relative;
  overflow: hidden;
}

.phase-card::after {
  content: "";
  position: absolute;
  inset: auto -40px -40px auto;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 138, 43, 0.18), transparent 68%);
}

.split-grid {
  grid-template-columns: 1.2fr 0.8fr;
}

.price-card {
  position: sticky;
  top: 104px;
  align-self: start;
}

.price-value {
  font-family: "Baskerville", "Iowan Old Style", "Palatino Linotype", serif;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1;
  margin: 10px 0 8px;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill {
  display: inline-flex;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(30, 107, 114, 0.1);
  color: var(--accent);
  font-size: 0.88rem;
}

.timeline-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
}

.timeline-table th,
.timeline-table td {
  border: 1px solid rgba(27, 45, 58, 0.09);
  padding: 14px 12px;
  text-align: center;
  font-size: 0.92rem;
}

.timeline-table th:first-child,
.timeline-table td:first-child {
  text-align: left;
}

.timeline-table thead th {
  background: rgba(30, 107, 114, 0.1);
  font-weight: 600;
}

.badge-on {
  display: inline-flex;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--gold), #d9a44e);
  color: #fff;
  font-weight: 700;
}

.timeline-summary {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: 18px;
  gap: 12px;
}

.footer-card {
  padding: 22px 28px;
  margin-top: 28px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
}

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

.cta-link {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
}

.mono {
  font-family: "Menlo", "Consolas", monospace;
}

@media (max-width: 980px) {
  .hero,
  .hero-compact,
  .split-grid,
  .modules-grid,
  .phase-grid,
  .mini-grid,
  .kpi-grid,
  .role-grid,
  .benefit-grid,
  .condition-grid,
  .pricing-grid,
  .gallery-grid,
  .timeline-summary {
    grid-template-columns: 1fr;
  }

  .hero-points {
    grid-template-columns: 1fr;
  }

  .price-card {
    position: static;
  }

  .topbar-inner,
  .footer-card,
  .section-head {
    align-items: start;
    flex-direction: column;
  }
}

@media (max-width: 720px) {
  .container {
    padding: 20px 16px 42px;
  }

  .hero-card,
  .info-card,
  .section-card,
  .timeline-card,
  .price-card,
  .price-spotlight {
    padding: 24px 20px;
    border-radius: 22px;
  }

  .topbar-inner {
    padding: 12px 16px;
  }

  .topnav {
    width: 100%;
  }

  .topnav a {
    flex: 1 1 auto;
    text-align: center;
  }

  .timeline-table {
    display: block;
    overflow-x: auto;
  }
}
