:root {
  --page: #f5f6f8;
  --surface: #fbfcfd;
  --ink: #20232a;
  --muted: #667085;
  --line: #dfe3e8;
  --brand: #4f5bd5;
  --brand-strong: #3f49ba;
  --success: #16794d;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--page);
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  letter-spacing: 0;
  line-height: 1.55;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid rgb(79 91 213 / 28%);
  outline-offset: 3px;
}

.site-header,
.section-inner,
.site-footer-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  font-weight: 800;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #20232a;
  color: #f8fafc;
}

.brand-mark svg {
  width: 20px;
  height: 20px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

.site-nav a:hover {
  background: #e9ebef;
  color: var(--ink);
}

.site-nav .button {
  color: #f8fafc;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 10px 17px;
  background: var(--brand);
  color: #f8fafc;
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
  transition: background-color 150ms ease, transform 120ms ease;
}

.button:hover {
  background: var(--brand-strong);
}

.button:active {
  transform: scale(.98);
}

.button-secondary {
  border-color: var(--line);
  background: var(--surface);
  color: var(--ink);
}

.button-secondary:hover {
  background: #eceef2;
}

.hero {
  position: relative;
  min-height: min(620px, calc(100dvh - 72px));
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background-color: #dfe3e8;
  background-image: url("/assets/growcart-cart-preview.png");
  background-position: center;
  background-size: cover;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgb(18 22 30 / 90%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 32px));
  min-height: inherit;
  margin: 0 auto;
  display: flex;
  align-items: center;
  padding: 56px 0 72px;
}

.hero-copy {
  max-width: 650px;
  color: #f8fafc;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--brand-strong);
  font-size: 13px;
  font-weight: 750;
}

.hero .eyebrow {
  color: #c7d2fe;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 11ch;
  margin-bottom: 20px;
  font-size: 88px;
  line-height: .98;
  font-weight: 850;
  text-wrap: balance;
}

.hero-lead {
  max-width: 610px;
  margin-bottom: 0;
  color: #e2e8f0;
  font-size: 22px;
  line-height: 1.5;
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  color: #e2e8f0;
  font-size: 13px;
  font-weight: 650;
}

.hero-proof li::before {
  content: "✓";
  margin-right: 7px;
  color: #86efac;
}

.hero .button-secondary {
  border-color: rgb(248 250 252 / 55%);
  background: rgb(248 250 252 / 10%);
  color: #f8fafc;
}

.hero .button-secondary:hover {
  background: rgb(248 250 252 / 18%);
}

.section {
  padding: 84px 0;
}

.section-alt {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 40px;
}

.section-heading h2,
.feature-copy h2,
.price-copy h2 {
  margin-bottom: 14px;
  font-size: 46px;
  line-height: 1.08;
  text-wrap: balance;
}

.section-heading p,
.feature-copy p,
.price-copy p {
  max-width: 68ch;
  color: var(--muted);
  font-size: 17px;
  text-wrap: pretty;
}

.feature {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(380px, 1.18fr);
  align-items: center;
  gap: 64px;
}

.feature + .feature {
  margin-top: 88px;
}

.feature-reverse {
  grid-template-columns: minmax(380px, 1.18fr) minmax(0, .82fr);
}

.feature-reverse .feature-copy {
  order: 2;
}

.product-shot {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 0 0 1px rgb(32 35 42 / 8%), 0 18px 50px rgb(32 35 42 / 13%);
}

.check-list,
.steps {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.check-list {
  display: grid;
  gap: 12px;
}

.check-list li {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 10px;
}

.check-list li::before {
  content: "✓";
  color: var(--success);
  font-weight: 800;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}

.step {
  padding: 28px 28px 0 0;
}

.step + .step {
  border-left: 1px solid var(--line);
  padding-left: 28px;
}

.step-number {
  display: block;
  margin-bottom: 20px;
  color: var(--brand);
  font-size: 28px;
  font-weight: 850;
}

.step h3 {
  margin-bottom: 8px;
  font-size: 19px;
}

.step p {
  color: var(--muted);
  font-size: 15px;
}

.price-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 48px;
}

.price {
  text-align: right;
}

.price strong {
  display: block;
  font-size: 66px;
  line-height: 1;
  font-weight: 850;
}

.price span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}

.family-note {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.family-note img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.family-note p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.family-note strong {
  display: block;
  margin-bottom: 3px;
  color: var(--ink);
  font-size: 15px;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 28px 0;
  color: var(--muted);
  font-size: 13px;
}

.site-footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-links a {
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--ink);
}

.article {
  width: min(860px, calc(100% - 32px));
  margin: 0 auto;
  padding: 64px 0 88px;
}

.article h1 {
  max-width: none;
  font-size: 68px;
}

.article > p {
  max-width: 70ch;
  color: var(--muted);
  font-size: 18px;
}

.article-section {
  padding: 34px 0;
  border-top: 1px solid var(--line);
}

.article-section h2 {
  margin-bottom: 12px;
  font-size: 26px;
}

.article-section p,
.article-section li {
  color: #4e5665;
}

.article-section code {
  padding: 2px 6px;
  border-radius: 5px;
  background: #e9ebef;
}

.notice {
  margin: 24px 0;
  padding: 16px;
  border: 1px solid #cfd4ff;
  border-radius: 8px;
  background: #eef0ff;
  color: #31396f;
}

@media (max-width: 820px) {
  .site-nav a:not(.button) {
    display: none;
  }

  .hero {
    min-height: 650px;
    background-position: 64% center;
  }

  .hero::before {
    background: rgb(18 22 30 / 92%);
  }

  h1 {
    font-size: 54px;
  }

  .article h1 {
    font-size: 52px;
  }

  .section-heading h2,
  .feature-copy h2,
  .price-copy h2 {
    font-size: 36px;
  }

  .price strong {
    font-size: 52px;
  }

  .feature,
  .feature-reverse,
  .price-band {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .feature-reverse .feature-copy {
    order: 0;
  }

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

  .step {
    padding: 24px 0;
  }

  .step + .step {
    border-top: 1px solid var(--line);
    border-left: 0;
    padding-left: 0;
  }

  .price {
    text-align: left;
  }

  .family-note {
    grid-template-columns: 44px minmax(0, 1fr);
  }

  .family-note .button {
    grid-column: 1 / -1;
  }
}

@media (max-width: 540px) {
  .site-header,
  .section-inner,
  .site-footer-inner,
  .hero-inner {
    width: min(100% - 24px, 1180px);
  }

  .brand span:last-child {
    display: none;
  }

  .hero {
    min-height: calc(100dvh - 72px);
  }

  .hero-inner {
    align-items: flex-end;
    padding-bottom: 44px;
  }

  h1 {
    font-size: 48px;
  }

  .article h1 {
    font-size: 44px;
  }

  .hero-lead {
    font-size: 18px;
  }

  .hero-actions,
  .hero-actions .button {
    width: 100%;
  }

  .section {
    padding: 64px 0;
  }

  .site-footer-inner {
    flex-direction: column;
  }
}

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

  * {
    transition-duration: .01ms !important;
  }
}
