:root {
  color-scheme: light;
  --page: oklch(0.974 0.006 255);
  --surface: oklch(0.992 0.004 255);
  --raised: oklch(0.999 0.002 255);
  --control: oklch(0.958 0.008 255);
  --ink: oklch(0.235 0.018 258);
  --muted: oklch(0.47 0.025 258);
  --line: oklch(0.885 0.012 255);
  --brand: oklch(0.55 0.19 257);
  --brand-strong: oklch(0.48 0.19 257);
  --success: oklch(0.55 0.14 151);
  --warning: oklch(0.68 0.16 72);
}

* {
  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;
}

img {
  max-width: 100%;
}

:focus-visible {
  outline: 3px solid oklch(0.55 0.19 257 / 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 {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--brand);
  color: var(--raised);
}

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

.site-nav,
.footer-links,
.hero-actions,
.hero-proof {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.site-nav {
  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: var(--control);
  color: var(--ink);
}

.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: var(--raised);
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
  transition: background-color 150ms cubic-bezier(.22, 1, .36, 1),
    transform 120ms cubic-bezier(.22, 1, .36, 1);
}

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

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

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

.button-secondary:hover {
  background: var(--control);
}

.hero {
  position: relative;
  min-height: min(620px, calc(100dvh - 112px));
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background-color: var(--control);
  background-image: url("/assets/growsort-ranking-preview.png");
  background-position: right center;
  background-size: auto 112%;
  background-repeat: no-repeat;
}

.hero::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 61%;
  background: oklch(0.982 0.009 255 / 95%);
  content: "";
}

.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 64px;
}

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

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

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

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

.hero-lead {
  max-width: 620px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 21px;
  line-height: 1.48;
  text-wrap: pretty;
}

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

.hero-proof {
  gap: 8px 18px;
  margin: 20px 0 0;
  padding: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
  list-style: none;
}

.hero-proof li::before {
  margin-right: 7px;
  color: var(--success);
  content: "✓";
}

.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: 760px;
  margin-bottom: 42px;
}

.section-heading h2,
.feature-copy h2,
.price-copy h2 {
  margin-bottom: 14px;
  font-size: 44px;
  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, .8fr) minmax(420px, 1.2fr);
  align-items: center;
  gap: 64px;
}

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

.feature-reverse {
  grid-template-columns: minmax(420px, 1.2fr) minmax(0, .8fr);
}

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

.product-shot {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 0 0 1px oklch(0.235 0.018 258 / 8%),
    0 18px 50px oklch(0.235 0.018 258 / 13%);
}

.check-list,
.steps,
.plan-features {
  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 {
  color: var(--success);
  font-weight: 800;
  content: "✓";
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  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,
.plan-features li {
  color: var(--muted);
  font-size: 15px;
}

.safety-band {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(360px, 1.1fr);
  gap: 64px;
  align-items: center;
}

.safety-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.safety-item {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.safety-item strong {
  display: block;
  margin-bottom: 3px;
}

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

.safety-number {
  color: var(--brand);
  font-size: 18px;
  font-weight: 800;
}

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

.plan {
  padding: 32px 32px 34px 0;
}

.plan + .plan {
  border-left: 1px solid var(--line);
  padding-right: 0;
  padding-left: 32px;
}

.plan-kicker {
  color: var(--brand-strong);
  font-size: 13px;
  font-weight: 750;
}

.plan h3 {
  margin: 8px 0 0;
  font-size: 28px;
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 7px;
  margin-top: 18px;
}

.plan-price strong {
  font-size: 48px;
  line-height: 1;
}

.plan-price span {
  color: var(--muted);
  font-size: 14px;
}

.plan-features {
  display: grid;
  gap: 9px;
}

.plan-features li::before {
  margin-right: 8px;
  color: var(--success);
  content: "✓";
}

.trial-note {
  margin-top: 22px;
  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;
}

.family-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.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 {
  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: 66px;
}

.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: 27px;
}

.article-section p,
.article-section li {
  color: oklch(0.39 0.025 258);
}

.article-section code {
  padding: 2px 6px;
  border-radius: 5px;
  background: var(--control);
}

.article-shot {
  width: 100%;
  height: auto;
  display: block;
  margin-top: 24px;
  border-radius: 8px;
  box-shadow: 0 0 0 1px oklch(0.235 0.018 258 / 9%),
    0 12px 34px oklch(0.235 0.018 258 / 10%);
}

.notice {
  margin: 24px 0;
  padding: 16px;
  border: 1px solid oklch(0.85 0.07 257);
  border-radius: 8px;
  background: oklch(0.955 0.035 257);
  color: oklch(0.35 0.09 257);
}

.notice-warning {
  border-color: oklch(0.86 0.09 72);
  background: oklch(0.96 0.04 72);
  color: oklch(0.39 0.09 72);
}

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

  .hero {
    background-position: 72% center;
    background-size: auto 100%;
  }

  .hero::before {
    width: 100%;
    background: oklch(0.982 0.009 255 / 92%);
  }

  h1 {
    font-size: 56px;
  }

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

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

  .feature,
  .feature-reverse,
  .safety-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;
  }

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

  .family-actions {
    grid-column: 1 / -1;
  }
}

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

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

  .hero-inner {
    align-items: flex-end;
    padding: 48px 0 42px;
  }

  h1 {
    font-size: 48px;
  }

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

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

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

  .section {
    padding: 64px 0;
  }

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

  .plan {
    padding: 28px 0;
  }

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

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

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

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