/* Editorial landing page: warm paper, ink typography, and a single acid accent. */

:root {
  --home-paper: #f3f1e9;
  --home-paper-light: #fbfaf6;
  --home-ink: #171b18;
  --home-muted: #6d746d;
  --home-line: rgba(23, 27, 24, .14);
  --home-green: #c8f169;
  --home-panel: #e6e8dd;
}

html { scroll-behavior: smooth; }

body.home {
  margin: 0;
  overflow-x: hidden;
  background: var(--home-paper);
  color: var(--home-ink);
  font-family: var(--font-ui);
  font-feature-settings: "cv05", "ss03", "tnum";
}

body.home .aura { display: none; }

body.home .site-nav {
  position: absolute;
  inset: 0 0 auto;
  z-index: 30;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 30px;
  width: min(100%, 1440px);
  height: 82px;
  margin: 0 auto;
  padding: 0 clamp(24px, 5.2vw, 76px);
  border-bottom: 1px solid var(--home-line);
}

body.home .site-nav .brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--home-ink);
  font-family: var(--font-brand);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -.035em;
  text-decoration: none;
  white-space: nowrap;
}

body.home .site-nav .brand-mark {
  box-shadow: 0 0 0 5px rgba(23, 27, 24, .05);
}

body.home .site-nav .nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}

body.home .site-nav .nav-links a {
  padding: 9px 13px;
  border-radius: 999px;
  color: #596059;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: color .2s ease, background .2s ease, transform .2s ease;
}

body.home .site-nav .nav-links a:hover {
  color: var(--home-ink);
  background: rgba(23, 27, 24, .055);
}

body.home .site-nav .nav-links a.active {
  color: var(--home-ink);
  background: rgba(23, 27, 24, .07);
}

body.home .site-nav .nav-links a.nav-cta {
  margin-left: 12px;
  padding: 11px 17px;
  background: var(--home-ink);
  color: #fff;
}

body.home .site-nav .nav-links a.nav-cta:hover {
  background: #344039;
  transform: translateY(-1px);
}

.hero {
  position: relative;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
  align-items: center;
  gap: clamp(34px, 6vw, 88px);
  width: min(100%, 1440px);
  min-height: min(850px, 100svh);
  margin: 0 auto;
  padding: 142px clamp(24px, 5.2vw, 76px) 100px;
}

.hero-copy {
  position: relative;
  z-index: 2;
  min-width: 0;
  padding-bottom: 6px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 27px;
  color: #515a51;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.hero-eyebrow .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #6a9e31;
  box-shadow: 0 0 0 4px rgba(106, 158, 49, .14);
  animation: dot-pulse 2.4s ease-in-out infinite;
}

.hero h1 {
  max-width: 590px;
  margin: 0 0 26px;
  color: var(--home-ink);
  font-family: var(--font-brand);
  font-size: clamp(58px, 6.5vw, 88px);
  font-weight: 700;
  letter-spacing: -.075em;
  line-height: 1.05;
}

.hero h1 em {
  position: relative;
  z-index: 0;
  display: inline-block;
  color: var(--home-ink);
  font-style: normal;
  white-space: nowrap;
}

.hero h1 em::after {
  position: absolute;
  z-index: -1;
  right: -.04em;
  bottom: .04em;
  left: -.025em;
  height: .31em;
  background: var(--home-green);
  content: "";
  transform: rotate(-1.4deg);
  transform-origin: left center;
}

.hero-sub {
  max-width: 440px;
  margin: 0 0 30px;
  color: #626a62;
  font-size: 15px;
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
}

.cta {
  display: inline-flex;
  min-height: 49px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}

.cta-primary {
  background: var(--home-ink);
  color: white;
}

.cta-primary:hover {
  background: #354039;
  transform: translateY(-2px);
}

.cta-ghost {
  border-color: var(--home-line);
  color: var(--home-ink);
}

.cta-ghost:hover {
  border-color: rgba(23, 27, 24, .42);
  background: rgba(255, 255, 255, .44);
  transform: translateY(-2px);
}

.hero-proof {
  display: flex;
  align-items: baseline;
  gap: 11px;
  margin-top: 34px;
  color: #7a8079;
  font-size: 11px;
  letter-spacing: .025em;
}

.proof-number {
  color: #333c34;
  font-family: var(--font-brand);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -.04em;
}

.hero-visual {
  position: relative;
  isolation: isolate;
  display: grid;
  min-width: 0;
  height: clamp(420px, 43vw, 570px);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: repeat(3, minmax(0, 1fr));
  gap: 11px;
  padding: 15px;
  border: 1px solid rgba(23, 27, 24, .12);
  border-radius: 3px;
  background:
    radial-gradient(ellipse at 26% 29%, rgba(200, 241, 105, .23), transparent 47%),
    linear-gradient(145deg, #eff0e6 0%, var(--home-panel) 72%, #dde1d4 100%);
  box-shadow: 0 28px 64px rgba(38, 45, 36, .12), 12px 12px 0 rgba(200, 241, 105, .78);
}

.hero-visual::before,
.hero-visual::after {
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(36, 44, 36, .12);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.hero-visual::before {
  top: 9%;
  right: 6%;
  width: 56%;
  aspect-ratio: 1;
  animation: orbit 38s linear infinite;
}

.hero-visual::after {
  top: 17%;
  right: 14%;
  width: 40%;
  aspect-ratio: 1;
  border-style: dashed;
  opacity: .6;
  animation: orbit 50s linear infinite reverse;
}

.float-card {
  position: relative;
  z-index: 1;
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 7px;
  border: 1px solid rgba(23, 27, 24, .12);
  border-radius: 2px;
  background: #fbfaf6;
  box-shadow: 0 5px 14px rgba(31, 39, 29, .08), inset 0 1px rgba(255, 255, 255, .9);
  animation: card-in .65s cubic-bezier(.2, .75, .25, 1) both, floaty 8s ease-in-out infinite;
  animation-delay: var(--enter-delay, 0s), var(--float-delay, 0s);
  transition: border-color .25s ease, background .25s ease;
}

.float-card:hover {
  border-color: rgba(95, 126, 56, .48);
  background: #fffefb;
  box-shadow: 0 9px 20px rgba(31, 39, 29, .12), inset 0 1px white;
}

.float-card svg {
  display: block;
  width: 88%;
  max-height: 88%;
  object-fit: contain;
}

.float-card::after {
  position: absolute;
  right: 9px;
  bottom: 8px;
  left: 9px;
  color: #62695f;
  content: attr(title);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .08em;
  pointer-events: none;
  text-transform: uppercase;
}

.float-card:nth-child(1) {
  --enter-delay: .1s;
  --float-delay: 0s;
  grid-column: 1 / span 2;
  grid-row: 1 / span 2;
  border-color: rgba(95, 126, 56, .34);
  background: #fffefb;
  box-shadow: 0 10px 24px rgba(31, 39, 29, .1), inset 0 1px white;
}

.float-card:nth-child(1) svg { width: 78%; }
.float-card:nth-child(2) { --enter-delay: .2s; --float-delay: .5s; grid-column: 3; grid-row: 1; }
.float-card:nth-child(3) { --enter-delay: .3s; --float-delay: 1s; grid-column: 3; grid-row: 2; }
.float-card:nth-child(4) { --enter-delay: .4s; --float-delay: .25s; grid-column: 1; grid-row: 3; }
.float-card:nth-child(5) { --enter-delay: .5s; --float-delay: .75s; grid-column: 2; grid-row: 3; }
.float-card:nth-child(6) { --enter-delay: .6s; --float-delay: 1.25s; grid-column: 3; grid-row: 3; }

.scroll-cue {
  position: absolute;
  bottom: 30px;
  left: clamp(24px, 5.2vw, 76px);
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: #747b73;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-decoration: none;
  text-transform: uppercase;
}

.scroll-cue span {
  position: relative;
  display: block;
  width: 34px;
  height: 1px;
  overflow: hidden;
  background: rgba(23, 27, 24, .2);
}

.scroll-cue span::after {
  position: absolute;
  inset: 0;
  background: var(--home-ink);
  content: "";
  animation: cue-line 1.8s ease-in-out infinite;
}

.stats {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(calc(100% - 48px), 1290px);
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0 auto;
  border-top: 1px solid var(--home-line);
  border-bottom: 1px solid var(--home-line);
}

.stat-cell {
  position: relative;
  padding: 27px 26px 29px;
}

.stat-cell + .stat-cell::before {
  position: absolute;
  top: 24px;
  bottom: 24px;
  left: 0;
  width: 1px;
  background: var(--home-line);
  content: "";
}

.stat-num {
  color: var(--home-ink);
  font-family: var(--font-brand);
  font-size: 38px;
  font-weight: 700;
  letter-spacing: -.065em;
  line-height: 1;
}

.stat-num span {
  margin-left: 5px;
  color: #858b81;
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
}

.stat-label {
  margin-top: 9px;
  color: #757c73;
  font-size: 11px;
}

.section {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 48px), 1290px);
  margin: 0 auto;
  padding-top: 118px;
}

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

.section-eyebrow {
  margin-bottom: 13px;
  color: #6f8f42;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.section h2 {
  max-width: 800px;
  margin: 0;
  color: var(--home-ink);
  font-family: var(--font-brand);
  font-size: clamp(32px, 4vw, 50px);
  font-weight: 700;
  letter-spacing: -.06em;
  line-height: 1.13;
}

.section-desc {
  max-width: 670px;
  margin: 16px 0 0;
  color: #6b726a;
  font-size: 14px;
  line-height: 1.85;
}

.section-desc b { color: #25352a !important; }

.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px;
  counter-reset: feature;
}

.feature {
  position: relative;
  min-height: 224px;
  padding: 27px 24px 24px;
  border: 1px solid var(--home-line);
  border-radius: 3px;
  background: rgba(255, 255, 255, .38);
  counter-increment: feature;
  transition: transform .28s ease, border-color .28s ease, background .28s ease, box-shadow .28s ease;
}

.feature::after {
  position: absolute;
  top: 20px;
  right: 21px;
  color: #9ba096;
  content: "0" counter(feature);
  font-family: var(--font-brand);
  font-size: 11px;
  font-weight: 700;
}

.feature:hover {
  transform: translateY(-5px);
  border-color: rgba(23, 27, 24, .32);
  background: var(--home-paper-light);
  box-shadow: 0 16px 34px rgba(32, 38, 31, .07);
}

.feature .ico {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-bottom: 23px;
  border: 1px solid rgba(75, 99, 56, .18);
  border-radius: 2px;
  background: rgba(200, 241, 105, .35);
  color: #263522;
}

.feature h3 {
  margin: 0 0 9px;
  color: var(--home-ink);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -.025em;
}

.feature p {
  max-width: 360px;
  margin: 0;
  color: #6d746d;
  font-size: 12.5px;
  line-height: 1.8;
}

.feature .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 16px;
}

.feature .tags span {
  padding: 4px 8px;
  border: 1px solid rgba(23, 27, 24, .12);
  border-radius: 2px;
  color: #626a60;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .035em;
}

.section + .section { padding-top: 126px; }
.section + .section .section-head { margin-bottom: 32px; }

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
  counter-reset: step;
}

.steps .step {
  position: relative;
  min-height: 135px;
  padding: 22px 20px 0 0;
  border-top: 1px solid var(--home-line);
  counter-increment: step;
}

.steps .step::before {
  display: block;
  margin-bottom: 22px;
  color: #71864f;
  content: "0" counter(step) " /";
  font-family: var(--font-brand);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
}

.steps .step h3 {
  margin: 0 0 9px;
  color: var(--home-ink);
  font-size: 15px;
  font-weight: 700;
}

.steps .step p {
  max-width: 340px;
  margin: 0;
  color: #737a72;
  font-size: 12px;
  line-height: 1.8;
}

.site-footer {
  position: relative;
  z-index: 1;
  margin-top: 124px;
  border-top: 1px solid var(--home-line);
  background: #e9e8df;
  color: var(--home-ink);
}

.footer-inner {
  display: grid;
  width: min(calc(100% - 48px), 1290px);
  grid-template-columns: 1.5fr 1fr .7fr;
  gap: 48px;
  margin: 0 auto;
  padding: 57px 0 48px;
}

.footer-brand .brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
  color: var(--home-ink);
  font-family: var(--font-brand);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -.03em;
  text-decoration: none;
}

.footer-brand p {
  max-width: 350px;
  margin: 0;
  color: #687066;
  font-size: 12px;
  line-height: 1.8;
}

.footer-col h4 {
  margin: 0 0 17px;
  color: #637c3f;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-col li {
  color: #343c34;
  font-size: 12px;
}

.footer-col li span.role { margin-right: 6px; color: #747c71; }
.footer-col a { color: #343c34; text-decoration: none; }
.footer-col a:hover { color: #526e2b; }

.footer-bottom {
  display: flex;
  width: min(calc(100% - 48px), 1290px);
  justify-content: space-between;
  gap: 18px;
  margin: 0 auto;
  padding: 18px 0 25px;
  border-top: 1px solid var(--home-line);
  color: #777e74;
  font-size: 10px;
}

body.home a:focus-visible {
  outline: 2px solid #6e8c42;
  outline-offset: 4px;
}

body.home.motion-ready [data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1);
}

body.home.motion-ready [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.cards-3 .feature:nth-child(2) { transition-delay: .08s; }
.cards-3 .feature:nth-child(3) { transition-delay: .16s; }
.steps .step:nth-child(2) { transition-delay: .08s; }
.steps .step:nth-child(3) { transition-delay: .16s; }

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

@keyframes card-in {
  from { opacity: 0; filter: blur(3px); }
  to { opacity: 1; filter: blur(0); }
}

@keyframes orbit {
  to { transform: rotate(360deg); }
}

@keyframes cue-line {
  0% { transform: translateX(-100%); }
  55%, 100% { transform: translateX(100%); }
}

@keyframes dot-pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(106, 158, 49, .12); }
  50% { box-shadow: 0 0 0 7px rgba(106, 158, 49, .04); }
}

@media (max-width: 1040px) {
  .hero {
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: 32px;
    min-height: 760px;
  }
  .hero h1 { font-size: clamp(52px, 6.3vw, 70px); }
  .hero-visual { height: clamp(380px, 49vw, 490px); }
  .cards-3 { gap: 10px; }
  .feature { padding-right: 18px; padding-left: 18px; }
}

@media (max-width: 760px) {
  body.home .site-nav {
    height: 70px;
    padding: 0 24px;
  }
  body.home .site-nav .nav-links a { padding: 8px 9px; }
  body.home .site-nav .nav-links a.nav-cta { display: none; }
  .hero {
    grid-template-columns: 1fr;
    gap: 36px;
    min-height: auto;
    padding: 126px 24px 86px;
  }
  .hero-copy { max-width: 600px; }
  .hero h1 { font-size: clamp(55px, 11vw, 78px); }
  .hero-visual {
    width: calc(100% - 14px);
    height: auto;
    aspect-ratio: 1 / .82;
    justify-self: center;
    gap: 8px;
    padding: 10px;
    box-shadow: 0 24px 48px rgba(29, 39, 31, .12), 8px 8px 0 rgba(200, 241, 105, .78);
  }
  .float-card { padding: 5px; }
  .float-card::after { right: 6px; bottom: 5px; left: 6px; font-size: 8px; }
  .scroll-cue { bottom: 29px; left: 24px; }
  .stats { width: calc(100% - 48px); }
  .stat-cell { padding: 22px 17px; }
  .stat-num { font-size: 32px; }
  .stat-label { max-width: 140px; font-size: 10px; line-height: 1.55; }
  .section { width: calc(100% - 48px); padding-top: 85px; }
  .section + .section { padding-top: 90px; }
  .cards-3 { grid-template-columns: 1fr; gap: 10px; }
  .feature { min-height: 0; padding: 23px; }
  .feature .ico { margin-bottom: 18px; }
  .steps { gap: 14px; }
  .steps .step { min-height: 150px; }
  .site-footer { margin-top: 90px; }
  .footer-inner {
    width: calc(100% - 48px);
    grid-template-columns: 1fr 1fr;
    gap: 32px 22px;
  }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { width: calc(100% - 48px); }
}

@media (max-width: 520px) {
  body.home .site-nav { gap: 10px; padding: 0 17px; }
  body.home .site-nav .brand { gap: 8px; font-size: 13px; }
  body.home .site-nav .brand-mark { transform: scale(.88); }
  body.home .site-nav .nav-links { gap: 0; }
  body.home .site-nav .nav-links a { padding: 8px 7px; font-size: 10px; }
  .hero { gap: 30px; padding: 116px 20px 77px; }
  .hero-eyebrow { margin-bottom: 21px; font-size: 9px; }
  .hero h1 { margin-bottom: 21px; font-size: clamp(43px, 11vw, 58px); }
  .hero-sub { max-width: 360px; font-size: 13px; line-height: 1.8; }
  .hero-proof { margin-top: 25px; font-size: 9px; }
  .proof-number { font-size: 18px; }
  .cta { min-height: 45px; padding: 0 14px; font-size: 11px; }
  .hero-visual {
    width: calc(100% - 8px);
    aspect-ratio: 1 / 1;
    gap: 6px;
    padding: 8px;
  }
  .float-card:nth-child(n) { display: flex; }
  .float-card:nth-child(1) svg { width: 82%; }
  .stats { width: calc(100% - 40px); }
  .stat-cell { padding: 17px 10px 18px; }
  .stat-cell + .stat-cell::before { top: 17px; bottom: 17px; }
  .stat-num { font-size: 27px; }
  .stat-num span { font-size: 10px; }
  .stat-label { margin-top: 7px; font-size: 9px; }
  .section { width: calc(100% - 40px); padding-top: 72px; }
  .section + .section { padding-top: 78px; }
  .section-head { margin-bottom: 26px; }
  .section h2 { font-size: 31px; }
  .section-desc { font-size: 12px; }
  .steps { grid-template-columns: 1fr; gap: 12px; }
  .steps .step { min-height: 0; padding: 18px 0 5px; }
  .steps .step::before { margin-bottom: 15px; }
  .footer-inner,
  .footer-bottom { width: calc(100% - 40px); }
  .footer-inner { grid-template-columns: 1fr 1fr; padding-top: 42px; }
  .footer-bottom { flex-direction: column; gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  body.home *,
  body.home *::before,
  body.home *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
  body.home.motion-ready [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
