:root {
  --sage-green: #00d639;
  --sage-green-dark: #00a829;
  --sage-mint: #dfffe7;
  --sage-pale: #f0fff3;
  --ink: #101010;
  --muted: #4a4a4a;
  --warm-white: #f7f7f4;
  --line: #d9ddd8;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--warm-white);
  color: var(--ink);
  font-family: "Sage UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

main {
  overflow: hidden;
}

.site-header {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: min(100% - 48px, 1320px);
  min-height: 88px;
  margin: 0 auto;
  border-bottom: 1px solid rgba(16, 16, 16, 0.16);
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.header-label {
  font-size: 0.9rem;
  font-weight: 650;
}

.header-help {
  justify-self: end;
  font-size: 0.9rem;
  font-weight: 650;
  text-underline-offset: 5px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(400px, 0.98fr);
  width: min(100% - 48px, 1320px);
  min-height: 650px;
  margin: 0 auto;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 690px;
  padding: 82px 64px 82px 0;
}

.eyebrow {
  margin: 0 0 18px;
  color: #087f28;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

h1,
h2,
p {
  text-wrap: pretty;
}

h1 {
  max-width: 680px;
  margin: 0;
  font-size: clamp(3.35rem, 6vw, 6.75rem);
  font-weight: 650;
  letter-spacing: -0.06em;
  line-height: 0.94;
}

h1 span {
  color: #078526;
}

.hero-lede {
  margin: 30px 0 0;
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  font-weight: 650;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.hero-detail {
  max-width: 590px;
  margin: 16px 0 32px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.6;
}

.primary-button,
.dark-button,
.light-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  width: fit-content;
  min-height: 54px;
  padding: 0 24px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: white;
  font-size: 0.96rem;
  font-weight: 750;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.primary-button:hover,
.dark-button:hover,
.light-button:hover {
  transform: translateY(-2px);
}

.primary-button:focus-visible,
.dark-button:focus-visible,
.light-button:focus-visible,
.guide-card:focus-visible,
.header-help:focus-visible,
.brand:focus-visible {
  outline: 3px solid #7eec9a;
  outline-offset: 4px;
}

.hero-visual {
  position: relative;
  min-height: 590px;
  margin: 44px 0 44px 28px;
  overflow: hidden;
  border-radius: 4px 84px 4px 84px;
  background:
    radial-gradient(circle at 12% 88%, rgba(255, 255, 255, 0.6), transparent 28%),
    linear-gradient(145deg, #98ffad 0%, var(--sage-green) 60%, #00b92c 100%);
}

.hero-visual::after {
  position: absolute;
  right: -140px;
  bottom: -185px;
  width: 450px;
  height: 450px;
  border: 75px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  content: "";
}

.orbit {
  position: absolute;
  border: 2px solid rgba(16, 16, 16, 0.14);
  border-radius: 50%;
}

.orbit-large {
  top: -120px;
  left: -110px;
  width: 430px;
  height: 430px;
}

.orbit-small {
  top: 38px;
  left: 45px;
  width: 160px;
  height: 160px;
  border-width: 34px;
}

.status-card {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  width: min(78%, 430px);
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 28px 70px rgba(0, 70, 16, 0.24);
  transform: translate(-50%, -50%) rotate(-2deg);
  backdrop-filter: blur(10px);
}

.status-topline,
.status-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  font-weight: 700;
}

.status-topline {
  justify-content: flex-start;
  gap: 10px;
  color: #087f28;
  text-transform: uppercase;
}

.status-icon {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 50%;
  background: var(--sage-green);
  color: var(--ink);
}

.status-card > strong {
  display: block;
  margin: 28px 0 25px;
  font-size: clamp(1.55rem, 3vw, 2.45rem);
  letter-spacing: -0.04em;
}

.progress-track {
  height: 9px;
  margin-bottom: 12px;
  overflow: hidden;
  border-radius: 9px;
  background: #d7ddd7;
}

.progress-value {
  width: 88%;
  height: 100%;
  border-radius: inherit;
  background: var(--sage-green);
}

.status-meta {
  color: #575d57;
}

.status-meta span:last-child {
  color: #087f28;
}

.invoice-card {
  position: absolute;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 16px 20px;
  border-radius: 14px;
  background: var(--ink);
  color: white;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.22);
  font-size: 0.72rem;
}

.invoice-card strong {
  color: #7dff9d;
  font-size: 0.9rem;
}

.invoice-card-one {
  top: 23%;
  right: 5%;
  transform: rotate(3deg);
}

.invoice-card-two {
  bottom: 18%;
  left: 6%;
  transform: rotate(-4deg);
}

.benefits-section,
.guides-section,
.final-section {
  width: min(100% - 48px, 1320px);
  margin: 0 auto;
}

.benefits-section {
  padding: 112px 0;
}

.section-intro {
  display: grid;
  grid-template-columns: 0.6fr 1.4fr;
  gap: 48px;
  margin-bottom: 56px;
}

.section-intro h2,
.guides-heading h2,
.access-copy h2,
.final-section h2 {
  margin: 0;
  font-size: clamp(2.35rem, 4vw, 4.5rem);
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 1.02;
}

.section-intro .eyebrow {
  padding-top: 8px;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.benefit-card {
  position: relative;
  min-height: 265px;
  padding: 28px;
  border-right: 1px solid var(--line);
}

.benefit-card:last-child {
  border-right: 0;
}

.benefit-number {
  color: #747974;
  font-size: 0.74rem;
  font-weight: 800;
}

.check {
  display: grid;
  width: 46px;
  height: 46px;
  margin: 46px 0 25px;
  place-items: center;
  border-radius: 50%;
  background: var(--sage-green);
  font-size: 1.3rem;
  font-weight: 900;
}

.benefit-card p {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 650;
  line-height: 1.35;
}

.guides-section {
  padding: 96px 64px;
  border-radius: 4px 72px 4px 72px;
  background: var(--sage-mint);
}

.guides-heading {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 52px;
}

.guides-heading > p {
  max-width: 340px;
  margin: 0 0 5px auto;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.55;
}

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

.guide-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 94px;
  padding: 0 24px;
  border: 1px solid rgba(16, 16, 16, 0.18);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.guide-card:hover {
  background: white;
  box-shadow: 0 12px 30px rgba(0, 105, 27, 0.1);
  transform: translateY(-3px);
}

.guide-arrow {
  display: grid;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  margin-left: 20px;
  place-items: center;
  border-radius: 50%;
  background: var(--sage-green);
}

.access-section {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr) auto;
  gap: 42px;
  align-items: center;
  width: min(100% - 48px, 1320px);
  margin: 112px auto;
  padding: 58px 64px;
  border-radius: 4px 64px 4px 64px;
  background: var(--ink);
  color: white;
}

.access-mark {
  display: grid;
  width: 150px;
  height: 150px;
  place-items: center;
  border-radius: 50% 50% 8% 50%;
  background: var(--sage-green);
  color: var(--ink);
  font-size: 5rem;
  font-weight: 700;
  letter-spacing: -0.08em;
}

.access-copy .eyebrow {
  color: #7dff9d;
}

.access-copy h2 {
  font-size: clamp(2.3rem, 3.8vw, 4.15rem);
}

.access-copy > p:last-child {
  max-width: 620px;
  margin: 18px 0 0;
  color: #c8cdc8;
  font-size: 1.05rem;
  line-height: 1.5;
}

.light-button {
  border-color: white;
  background: white;
  color: var(--ink);
}

.light-button:hover {
  border-color: var(--sage-green);
  background: var(--sage-green);
}

.final-section {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  margin-bottom: 72px;
}

.final-panel,
.help-panel {
  min-height: 390px;
  padding: 64px;
}

.final-panel {
  border-radius: 4px 0 4px 64px;
  background: white;
}

.final-panel > p:last-child {
  max-width: 700px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.65;
}

.help-panel {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  border-radius: 0 64px 4px 0;
  background: var(--sage-green);
}

.help-kicker {
  margin: 0 0 18px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.help-panel h2 {
  font-size: clamp(2rem, 3vw, 3rem);
}

.dark-button {
  margin-top: 30px;
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: min(100% - 48px, 1320px);
  min-height: 100px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
  color: #565a56;
  font-size: 0.84rem;
}

@media (max-width: 1000px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding-right: 0;
  }

  .hero-visual {
    margin: 0 0 44px;
  }

  .benefit-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .benefit-card:nth-child(2) {
    border-right: 0;
  }

  .benefit-card:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .guide-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .access-section {
    grid-template-columns: 130px 1fr;
  }

  .access-mark {
    width: 120px;
    height: 120px;
  }

  .access-section .light-button {
    grid-column: 2;
  }

  .final-section {
    grid-template-columns: 1fr;
  }

  .final-panel {
    border-radius: 4px 64px 0 0;
  }

  .help-panel {
    min-height: 330px;
    border-radius: 0 0 4px 64px;
  }
}

@media (max-width: 680px) {
  .site-header,
  .hero,
  .benefits-section,
  .guides-section,
  .access-section,
  .final-section,
  footer {
    width: min(100% - 28px, 1320px);
  }

  .site-header {
    grid-template-columns: 1fr auto;
    min-height: 74px;
  }

  .header-label {
    display: none;
  }

  .hero-copy {
    padding: 64px 0 54px;
  }

  h1 {
    font-size: clamp(3rem, 15vw, 4.8rem);
  }

  .hero-visual {
    min-height: 470px;
    border-radius: 4px 48px 4px 48px;
  }

  .status-card {
    width: 82%;
    padding: 24px;
  }

  .invoice-card-one {
    top: 16%;
  }

  .invoice-card-two {
    bottom: 12%;
  }

  .benefits-section {
    padding: 82px 0;
  }

  .section-intro,
  .guides-heading {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .section-intro {
    margin-bottom: 42px;
  }

  .section-intro h2,
  .guides-heading h2,
  .access-copy h2,
  .final-section h2 {
    font-size: clamp(2.3rem, 12vw, 3.4rem);
  }

  .benefit-grid,
  .guide-grid {
    grid-template-columns: 1fr;
  }

  .benefit-card {
    min-height: 220px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .benefit-card:last-child {
    border-bottom: 0;
  }

  .check {
    margin-top: 32px;
  }

  .guides-section {
    padding: 72px 22px;
    border-radius: 4px 44px 4px 44px;
  }

  .guides-heading > p {
    margin: 8px 0 0;
  }

  .access-section {
    grid-template-columns: 1fr;
    gap: 32px;
    margin: 82px auto;
    padding: 42px 26px;
    border-radius: 4px 44px 4px 44px;
  }

  .access-mark {
    width: 92px;
    height: 92px;
    font-size: 3.4rem;
  }

  .access-section .light-button {
    grid-column: 1;
  }

  .final-panel,
  .help-panel {
    min-height: auto;
    padding: 48px 26px;
  }

  .final-panel {
    border-radius: 4px 44px 0 0;
  }

  .help-panel {
    border-radius: 0 0 4px 44px;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    transition-duration: 0.01ms !important;
  }
}
