:root {
  --bg: #f4efe7;
  --paper: rgba(255, 250, 243, 0.9);
  --ink: #17110d;
  --muted: #62554e;
  --line: rgba(23, 17, 13, 0.12);
  --accent: #ca5b2e;
  --accent-deep: #9f4020;
  --accent-soft: rgba(202, 91, 46, 0.12);
  --sage: #26443d;
  --shadow: 0 22px 70px rgba(61, 40, 18, 0.14);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: "Manrope", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(202, 91, 46, 0.17), transparent 28%),
    radial-gradient(circle at top right, rgba(38, 68, 61, 0.18), transparent 24%),
    linear-gradient(180deg, #f8f3ec 0%, #efe7dc 100%);
}

body.home-body {
  overflow: hidden;
  background:
    radial-gradient(circle at top, rgba(24, 255, 133, 0.08), transparent 30%),
    linear-gradient(180deg, #040705 0%, #08110c 45%, #030504 100%);
  color: #e7ffee;
}

.home-ambient-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.home-ambient-grid {
  z-index: 0;
  background:
    linear-gradient(rgba(84, 255, 164, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(84, 255, 164, 0.04) 1px, transparent 1px);
  background-size: 100% 32px, 32px 100%;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.72), transparent 92%);
}

.home-ambient-grid::before,
.home-ambient-grid::after {
  content: "";
  position: absolute;
  inset: 0;
}

.home-ambient-grid::before {
  background:
    linear-gradient(115deg, transparent 32%, rgba(81, 255, 162, 0.18) 49%, transparent 66%);
  transform: translateX(-100%);
  animation: laser-sweep-x 10s linear infinite;
}

.home-ambient-grid::after {
  background:
    linear-gradient(180deg, transparent 0%, rgba(98, 255, 167, 0.12) 45%, transparent 100%);
  transform: translateY(-100%);
  animation: laser-sweep-y 8s linear infinite;
}

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

.site-shell {
  width: min(1180px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 20px 0 56px;
}

.home-page {
  position: relative;
  width: min(1080px, calc(100vw - 32px));
  min-height: 100vh;
  margin: 0 auto;
  padding: 20px 0 28px;
  z-index: 2;
}

.home-page::before,
.home-page::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
  filter: blur(10px);
}

.home-page::before {
  top: 120px;
  right: 50px;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(75, 255, 159, 0.16), transparent 70%);
}

.home-page::after {
  left: 10%;
  bottom: 12%;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(25, 137, 255, 0.12), transparent 72%);
}

.home-topbar {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 18px 0 4px;
}

.home-wordmark {
  position: relative;
  z-index: 1;
  color: rgba(224, 255, 235, 0.82);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.home-hero-minimal {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 96px);
  text-align: center;
  padding: 48px 0 72px;
}

.home-hero-minimal h1 {
  position: relative;
  max-width: none;
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(4rem, 9vw, 7.2rem);
  font-weight: 700;
  line-height: 0.94;
  letter-spacing: -0.05em;
  color: #f1fff5;
  text-shadow:
    0 0 18px rgba(84, 255, 164, 0.18),
    0 0 42px rgba(84, 255, 164, 0.08);
}

.home-summary {
  position: relative;
  max-width: 26ch;
  margin: 22px 0 0;
  color: rgba(206, 255, 223, 0.7);
  font-size: clamp(1.02rem, 2.2vw, 1.2rem);
  line-height: 1.8;
}

.home-actions-minimal {
  position: relative;
  margin-top: 30px;
}

.button.primary.home-button-primary {
  min-width: 154px;
  color: #02120a;
  background:
    linear-gradient(135deg, #86ffb7 0%, #45e18a 52%, #aaffcb 100%);
  box-shadow:
    0 0 0 1px rgba(108, 255, 180, 0.22),
    0 14px 40px rgba(53, 232, 136, 0.28),
    0 0 24px rgba(53, 232, 136, 0.24);
}

.button.primary.home-button-primary:hover {
  box-shadow:
    0 0 0 1px rgba(108, 255, 180, 0.32),
    0 18px 44px rgba(53, 232, 136, 0.32),
    0 0 30px rgba(53, 232, 136, 0.3);
}

.topbar {
  position: sticky;
  top: 14px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 22px;
  background: rgba(255, 248, 239, 0.78);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 60px rgba(61, 40, 18, 0.08);
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 15px;
  color: #fff7f1;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent) 0%, var(--sage) 100%);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-copy strong {
  font-size: 1rem;
}

.brand-copy small {
  color: var(--muted);
  font-size: 0.78rem;
}

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

.nav a {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.95rem;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.nav a:hover,
.nav a.active {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.85);
  transform: translateY(-1px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(320px, 0.9fr);
  gap: 22px;
  align-items: stretch;
}

.hero-copy,
.hero-panel,
.feature-card,
.success-card,
.price-card,
.date-group,
.empty-state {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.hero-copy {
  position: relative;
  overflow: hidden;
  padding: 48px;
}

.hero-copy::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -90px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(202, 91, 46, 0.18), transparent 70%);
}

.eyebrow,
.price-tag,
.empty-kicker,
.date-label {
  margin: 0 0 14px;
  color: var(--accent-deep);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 800;
}

.hero h1,
.section-head h1,
.section-head h2 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  line-height: 0.98;
}

.hero h1 {
  max-width: 11ch;
  font-size: clamp(3.2rem, 7vw, 5.9rem);
}

.hero-text,
.section-head p,
.feature-card p,
.success-card p,
.price-card p,
.report-period,
.empty-state p {
  color: var(--muted);
  line-height: 1.7;
}

.hero-text {
  max-width: 56ch;
  margin: 22px 0 0;
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: #fff8f1;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
  box-shadow: 0 16px 34px rgba(159, 64, 32, 0.26);
}

.button.ghost {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.65);
}

.hero-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
  background:
    linear-gradient(180deg, rgba(38, 68, 61, 0.96), rgba(26, 47, 42, 0.96)),
    var(--sage);
  color: #f6efe6;
}

.hero-panel .panel-card {
  border-radius: var(--radius-lg);
  padding: 22px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-panel .panel-card span {
  display: block;
  color: rgba(246, 239, 230, 0.72);
  margin-bottom: 10px;
  font-size: 0.83rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.hero-panel .panel-card strong {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.7rem;
  margin-bottom: 8px;
}

.hero-panel .panel-card p {
  margin: 0;
  color: rgba(246, 239, 230, 0.82);
  line-height: 1.6;
}

.panel-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 14px;
}

.section {
  margin-top: 22px;
}

.feature-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-card,
.price-card {
  padding: 28px;
}

.feature-card h2,
.success-card h3,
.price-card h3,
.report-link-card h3 {
  margin: 0 0 10px;
  font-size: 1.26rem;
}

.section-head {
  margin-bottom: 18px;
}

.section-head h2,
.section-head h1 {
  font-size: clamp(2.3rem, 4vw, 3.6rem);
}

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

.success-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 34px;
}

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

.price-card {
  position: relative;
}

.price-value {
  margin: 0 0 14px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--ink);
}

.price-card.featured {
  background:
    linear-gradient(180deg, rgba(202, 91, 46, 0.08), rgba(255, 250, 243, 0.95)),
    var(--paper);
  border-color: rgba(202, 91, 46, 0.25);
  transform: translateY(-6px);
}

.reports-page {
  padding-top: 18px;
}

.reports-head {
  margin-bottom: 24px;
}

.reports-page-minimal {
  width: min(860px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 48px 0 72px;
}

.reports-head-minimal {
  margin-bottom: 28px;
}

.reports-head-minimal h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
  font-family: "Space Grotesk", sans-serif;
}

.report-timeline {
  display: grid;
  gap: 18px;
}

.report-timeline-simple {
  position: relative;
}

.timeline-list {
  position: relative;
  margin: 0;
  padding: 0 0 0 24px;
  list-style: none;
}

.timeline-list::before {
  content: "";
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 7px;
  width: 2px;
  background: rgba(23, 17, 13, 0.12);
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 0 0 24px 20px;
}

.timeline-item::before {
  content: "";
  position: absolute;
  top: 8px;
  left: -1px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(202, 91, 46, 0.12);
}

.timeline-date {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.timeline-link {
  display: block;
  padding: 0 0 10px;
  border-bottom: 1px solid rgba(23, 17, 13, 0.08);
}

.timeline-title {
  display: block;
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.5;
}

.timeline-period {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.6;
}

.timeline-link:hover .timeline-title {
  color: var(--accent-deep);
}

.date-group {
  padding: 28px;
}

.date-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.date-heading h2 {
  margin: 0;
  font-size: clamp(1.6rem, 2.6vw, 2.35rem);
  font-family: "Space Grotesk", sans-serif;
}

.report-group-list {
  display: grid;
  gap: 14px;
}

.report-link-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 22px;
  border-radius: var(--radius-md);
  background: #fffdf9;
  border: 1px solid rgba(23, 17, 13, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.report-link-card:hover {
  transform: translateY(-2px);
  border-color: rgba(202, 91, 46, 0.3);
  box-shadow: 0 14px 38px rgba(61, 40, 18, 0.09);
}

.report-link-card h3 {
  margin-bottom: 6px;
}

.report-period {
  margin: 0;
}

.report-link-arrow {
  flex: none;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-weight: 800;
  white-space: nowrap;
}

.empty-state {
  padding: 42px 30px;
  text-align: center;
}

.empty-state-minimal {
  padding: 12px 0;
  text-align: left;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

@keyframes laser-sweep-x {
  from {
    transform: translateX(-100%);
  }

  to {
    transform: translateX(100%);
  }
}

@keyframes laser-sweep-y {
  from {
    transform: translateY(-100%);
  }

  to {
    transform: translateY(100%);
  }
}

@media (max-width: 980px) {
  .hero,
  .feature-strip,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .success-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .price-card.featured {
    transform: none;
  }
}

@media (max-width: 720px) {
  .site-shell {
    width: min(100vw - 20px, 1180px);
    padding-top: 10px;
  }

  .home-page {
    width: min(100vw - 20px, 1080px);
    padding-top: 10px;
  }

  .home-topbar {
    justify-content: flex-start;
    padding-top: 12px;
  }

  .home-hero-minimal {
    min-height: calc(100vh - 72px);
    align-items: flex-start;
    text-align: left;
    padding: 38px 0 48px;
  }

  .home-hero-minimal h1,
  .home-summary {
    max-width: none;
  }

  .reports-page-minimal {
    width: min(100vw - 20px, 860px);
    padding: 28px 0 48px;
  }

  .topbar,
  .hero-copy,
  .feature-card,
  .success-card,
  .price-card,
  .date-group {
    border-radius: 20px;
  }

  .topbar {
    position: static;
    flex-direction: column;
    align-items: flex-start;
  }

  .nav {
    width: 100%;
  }

  .hero-copy,
  .hero-panel,
  .feature-card,
  .success-card,
  .price-card,
  .date-group,
  .empty-state {
    padding: 22px;
  }

  .hero h1 {
    max-width: none;
    font-size: clamp(2.6rem, 15vw, 4rem);
  }

  .panel-grid {
    grid-template-columns: 1fr;
  }

  .date-heading,
  .report-link-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 6px;
    padding-left: 18px;
  }

  .timeline-list {
    padding-left: 20px;
  }
}
