/* 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 {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  box-shadow: 0 5px 12px rgba(23, 32, 29, .12);
}

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 {
  position: relative;
  display: inline-flex;
  min-height: 49px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  overflow: hidden;
  isolation: isolate;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(32, 38, 31, .08), inset 0 1px rgba(255, 255, 255, .2);
  transition: background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.hero-actions .cta {
  animation: cta-arrive .78s cubic-bezier(.16, 1, .3, 1) both;
}

.hero-actions .cta:nth-child(2) {
  animation-delay: .12s;
}

.cta > * {
  position: relative;
  z-index: 2;
}

.cta::before {
  position: absolute;
  z-index: 1;
  top: -55%;
  left: -35%;
  width: 28%;
  height: 210%;
  background: linear-gradient(110deg, transparent, rgba(255, 255, 255, .6), transparent);
  content: "";
  pointer-events: none;
  transform: translateX(-220%) rotate(16deg);
  transition: transform .8s cubic-bezier(.16, 1, .3, 1);
}

.cta:hover::before {
  transform: translateX(720%) rotate(16deg);
}

.cta-primary {
  background: var(--home-ink);
  color: white;
  box-shadow: 0 6px 14px rgba(23, 32, 29, .18), inset 0 1px rgba(255, 255, 255, .22);
}

.cta-primary:hover {
  background: #354039;
  box-shadow: 0 13px 24px rgba(23, 32, 29, .23), inset 0 1px rgba(255, 255, 255, .28);
  transform: translateY(-4px) scale(1.02);
}

.cta-ghost {
  border-color: var(--home-line);
  background: rgba(255, 255, 255, .38);
  color: var(--home-ink);
}

.cta-ghost:hover {
  border-color: rgba(23, 27, 24, .42);
  background: rgba(255, 255, 255, .78);
  box-shadow: 0 12px 22px rgba(32, 38, 31, .15), inset 0 1px #fff;
  transform: translateY(-4px) scale(1.02);
}

.cta:active {
  transform: translateY(-1px) scale(.99);
}

.cta:focus-visible {
  outline: 3px solid rgba(130, 168, 68, .45);
  outline-offset: 3px;
}

.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 {
  --light-x: 50%;
  --light-y: 50%;
  position: relative;
  min-height: 224px;
  padding: 27px 24px 24px;
  border: 1px solid var(--home-line);
  border-radius: 18px;
  background: rgba(255, 255, 255, .38);
  counter-increment: feature;
  transform: perspective(1000px) rotateX(var(--tilt-y, 0deg)) rotateY(var(--tilt-x, 0deg));
  transform-style: preserve-3d;
  transition: transform .6s cubic-bezier(.16, 1, .3, 1), border-color .35s ease, background .35s ease, box-shadow .5s cubic-bezier(.16, 1, .3, 1);
  animation: feature-drift 7s cubic-bezier(.45, 0, .55, 1) infinite;
}

.feature:nth-child(2) { animation-delay: -2.3s; }
.feature:nth-child(3) { animation-delay: -4.6s; }

.feature::before {
  position: absolute;
  z-index: 0;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(190px circle at var(--light-x) var(--light-y), rgba(255, 255, 255, .82), rgba(195, 238, 105, .17) 42%, transparent 76%);
  content: "";
  opacity: 0;
  pointer-events: none;
  transition: opacity .42s ease;
}

.feature.is-lit::before {
  opacity: 1;
}

.feature > * {
  position: relative;
  z-index: 1;
}

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

.feature:hover {
  transform: perspective(1000px) translateY(-7px) scale(1.015) rotateX(var(--tilt-y, 0deg)) rotateY(var(--tilt-x, 0deg));
  border-color: rgba(23, 27, 24, .32);
  background: var(--home-paper-light);
  box-shadow: 0 24px 48px rgba(32, 38, 31, .14), 0 6px 16px rgba(32, 38, 31, .07), inset 0 1px #fff;
  animation-play-state: paused;
}

.feature .ico {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-bottom: 23px;
  border: 1px solid rgba(75, 99, 56, .18);
  border-radius: 12px;
  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: 999px;
  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;
  translate: 0 24px;
  scale: .985;
  transition: opacity .9s cubic-bezier(.16, 1, .3, 1), translate .9s cubic-bezier(.16, 1, .3, 1), scale .9s cubic-bezier(.16, 1, .3, 1);
}

body.home.motion-ready [data-reveal].is-visible {
  opacity: 1;
  translate: 0 0;
  scale: 1;
}

.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 feature-drift {
  0%, 100% { top: 0; }
  50% { top: -5px; }
}

@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;
    translate: 0 0;
    scale: 1;
  }
}

/* Brand-forward hero: real rendered cases orbit a dimensional, rotating cube. */
body.home {
  --home-paper: #f5f4ef;
  --home-paper-light: #fffefa;
  --home-ink: #17201d;
  --home-muted: #68736d;
  --home-line: rgba(23, 32, 29, .13);
  --home-green: #c3ee69;
  background:
    radial-gradient(ellipse at 79% 23%, rgba(207, 222, 191, .5), transparent 34rem),
    radial-gradient(ellipse at 18% 80%, rgba(232, 227, 209, .46), transparent 32rem),
    var(--home-paper);
}

body.home .site-nav {
  width: min(100%, 1512px);
}

body.home .site-nav .brand-name {
  font-family: 'Geist', var(--font-brand);
  font-size: 14px;
  letter-spacing: -.045em;
}

.hero {
  width: min(100%, 1512px);
  min-height: min(900px, 100svh);
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: clamp(24px, 4vw, 60px);
  padding-top: 132px;
  padding-bottom: 100px;
}

.hero-copy {
  padding-top: 6px;
  animation: copy-rise .8s cubic-bezier(.2, .7, .2, 1) both;
}

.hero-eyebrow {
  gap: 11px;
  margin-bottom: 23px;
  color: #727b70;
  font-family: 'Geist', var(--font-ui);
  font-size: 10px;
  letter-spacing: .18em;
}

.hero-eyebrow .dot {
  background: #82a844;
  box-shadow: 0 0 0 4px rgba(130, 168, 68, .14);
}

.hero h1.hero-title {
  display: flex;
  flex-direction: column;
  max-width: none;
  margin: 0 0 20px;
  color: #18221e;
  font-family: 'Bricolage Grotesque', 'Geist', sans-serif;
  font-size: clamp(72px, 8vw, 112px);
  font-weight: 700;
  letter-spacing: -.092em;
  line-height: .78;
  text-transform: uppercase;
}

.hero h1.hero-title > span {
  display: block;
}

.hero h1.hero-title .title-tabler {
  margin-top: .14em;
  color: #788968;
}

.hero h1.hero-title .title-period {
  color: #a6c466;
}

.hero-manifesto {
  margin: 33px 0 14px;
  color: #202a25;
  font-family: 'Bricolage Grotesque', var(--font-brand);
  font-size: clamp(27px, 3vw, 39px);
  font-weight: 600;
  letter-spacing: -.055em;
  line-height: 1.15;
}

.hero-manifesto em {
  color: #6d8453;
  font-style: normal;
}

.hero-sub {
  max-width: 430px;
  margin-bottom: 26px;
  color: #68736d;
  font-size: 13px;
  line-height: 1.9;
}

.hero-proof {
  gap: 13px;
  margin-top: 29px;
  color: #838a80;
  font-family: 'Geist', var(--font-ui);
  font-size: 9px;
  letter-spacing: .13em;
}

.proof-number {
  color: #26342c;
  font-family: 'Geist', var(--font-brand);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -.05em;
}

.hero-visual {
  display: block;
  width: 100%;
  height: clamp(470px, 47vw, 610px);
  padding: 0;
  overflow: clip;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  perspective: 1400px;
  transform-style: preserve-3d;
  animation: visual-arrive .95s .1s cubic-bezier(.2, .7, .2, 1) both;
}

.visual-halo {
  position: absolute;
  inset: 14% 9% 9%;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(186, 208, 153, .4), rgba(226, 231, 215, .2) 43%, transparent 72%);
  filter: blur(18px);
  animation: halo-breathe 7s ease-in-out infinite alternate;
}

.visual-orbit {
  position: absolute;
  top: 49%;
  left: 50%;
  border: 1px solid rgba(98, 119, 82, .17);
  border-radius: 50%;
  pointer-events: none;
}

.visual-orbit-a {
  width: 78%;
  height: 36%;
  transform: translate(-50%, -50%) rotate(-24deg);
  animation: orbit-slow 38s linear infinite;
}

.visual-orbit-b {
  width: 64%;
  height: 52%;
  border-style: dashed;
  border-color: rgba(98, 119, 82, .12);
  transform: translate(-50%, -50%) rotate(28deg);
  animation: orbit-slow 52s linear infinite reverse;
}

.visual-topline {
  position: absolute;
  z-index: 6;
  top: 3%;
  right: 3%;
  left: 3%;
  display: flex;
  justify-content: space-between;
  color: #788277;
  font-family: 'Geist', var(--font-ui);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .16em;
}

.cube-stage {
  position: absolute;
  z-index: 4;
  inset: 0;
  display: grid;
  place-items: center;
  perspective: 1050px;
  pointer-events: none;
}

.cube-shadow {
  position: absolute;
  top: 57%;
  left: 50%;
  width: 39%;
  height: 15%;
  border-radius: 50%;
  background: rgba(39, 49, 39, .22);
  filter: blur(24px);
  transform: translate(-50%, 96px) rotate(-8deg);
  animation: shadow-drift 8s ease-in-out infinite;
}

.cube-tilt {
  --cube-size: clamp(148px, 16vw, 210px);
  position: relative;
  width: var(--cube-size);
  height: var(--cube-size);
  transform: rotateX(var(--tilt-y, 0deg)) rotateY(var(--tilt-x, 0deg));
  transform-style: preserve-3d;
  transition: transform .22s cubic-bezier(.2, .7, .2, 1);
}

.cube {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  animation: cube-turn 18s cubic-bezier(.45, 0, .55, 1) infinite;
  will-change: transform;
}

.cube-face {
  --cube-depth: calc(var(--cube-size) / 2);
  position: absolute;
  inset: 0;
  overflow: hidden;
  border: clamp(5px, .65vw, 9px) solid #1b211e;
  border-radius: 10px;
  background-color: var(--face-color);
  background-image:
    linear-gradient(90deg,
      transparent 31.5%, rgba(20, 25, 22, .94) 31.5% 35%,
      transparent 35% 65%, rgba(20, 25, 22, .94) 65% 68.5%, transparent 68.5%),
    linear-gradient(0deg,
      transparent 31.5%, rgba(20, 25, 22, .94) 31.5% 35%,
      transparent 35% 65%, rgba(20, 25, 22, .94) 65% 68.5%, transparent 68.5%),
    linear-gradient(140deg, rgba(255,255,255,.35), transparent 42%, rgba(0,0,0,.08));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .28),
    inset 0 14px 22px rgba(255, 255, 255, .13),
    inset 0 -12px 20px rgba(0, 0, 0, .12),
    0 0 1px rgba(9, 14, 11, .8);
  backface-visibility: hidden;
}

.cube-front { --face-color: #0000f2; transform: translateZ(var(--cube-depth)); }
.cube-back { --face-color: #00d800; transform: rotateY(180deg) translateZ(var(--cube-depth)); }
.cube-right { --face-color: #ee0000; transform: rotateY(90deg) translateZ(var(--cube-depth)); }
.cube-left { --face-color: #ffa100; transform: rotateY(-90deg) translateZ(var(--cube-depth)); }
.cube-top { --face-color: #fefe00; transform: rotateX(90deg) translateZ(var(--cube-depth)); }
.cube-bottom { --face-color: #ffffff; transform: rotateX(-90deg) translateZ(var(--cube-depth)); }

.figure-orbit {
  position: absolute;
  z-index: 2;
  inset: 0;
  transform-style: preserve-3d;
  pointer-events: none;
}

.float-card {
  --light-x: 50%;
  --light-y: 50%;
  position: absolute;
  display: flex;
  width: 23%;
  height: 27%;
  min-width: 0;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 7px;
  border: 1px solid rgba(70, 82, 67, .15);
  border-radius: 18px;
  background: rgba(255, 254, 250, .95);
  box-shadow:
    0 19px 35px rgba(45, 53, 43, .13),
    0 4px 10px rgba(45, 53, 43, .07),
    inset 0 1px 0 #fff;
  animation: card-in .85s cubic-bezier(.16, 1, .3, 1) both, figure-float 5.8s cubic-bezier(.45, 0, .55, 1) infinite;
  animation-delay: var(--enter-delay, 0s), var(--float-delay, 0s);
  rotate: var(--card-angle, 0deg);
  transform: perspective(850px) rotateX(var(--tilt-y, 0deg)) rotateY(var(--tilt-x, 0deg));
  transform-style: preserve-3d;
  transition: transform .55s cubic-bezier(.16, 1, .3, 1), box-shadow .4s ease, border-color .35s ease;
  pointer-events: auto;
}

.float-card::before {
  position: absolute;
  z-index: 0;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(150px circle at var(--light-x) var(--light-y), rgba(255, 255, 255, .9), rgba(195, 238, 105, .16) 44%, transparent 78%);
  content: "";
  opacity: 0;
  pointer-events: none;
  transition: opacity .42s ease;
}

.float-card.is-lit::before {
  opacity: 1;
}

.float-card:hover {
  border-color: rgba(101, 132, 65, .45);
  box-shadow: 0 28px 48px rgba(45, 53, 43, .24), 0 7px 16px rgba(45, 53, 43, .12), inset 0 1px #fff;
  transform: perspective(850px) translateY(-7px) scale(1.045) rotateX(var(--tilt-y, 0deg)) rotateY(var(--tilt-x, 0deg));
  z-index: 8;
}

.float-card svg {
  position: relative;
  z-index: 1;
  display: block;
  width: 90%;
  height: 88%;
  object-fit: contain;
}

.float-card::after {
  position: absolute;
  z-index: 2;
  right: 8px;
  bottom: 7px;
  left: 8px;
  color: #667064;
  content: attr(title);
  font-family: 'Geist', var(--font-ui);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .1em;
  pointer-events: none;
  text-transform: uppercase;
}

.float-card:nth-child(1) {
  --enter-delay: .14s;
  --float-delay: .3s;
  --card-angle: -8deg;
  top: 13%;
  left: 5%;
  width: 31%;
  height: 38%;
  border-radius: 22px;
  box-shadow: 0 24px 48px rgba(45, 53, 43, .17), 0 5px 13px rgba(45, 53, 43, .08), inset 0 1px #fff;
}

.float-card:nth-child(2) { --enter-delay: .23s; --float-delay: .8s; --card-angle: 7deg; top: 9%; right: 4%; }
.float-card:nth-child(3) { --enter-delay: .32s; --float-delay: 1.2s; --card-angle: 5deg; top: 39%; right: 1%; width: 21%; height: 24%; }
.float-card:nth-child(4) { --enter-delay: .4s; --float-delay: .5s; --card-angle: -6deg; bottom: 5%; left: 12%; width: 21%; height: 24%; }
.float-card:nth-child(5) { --enter-delay: .48s; --float-delay: 1s; --card-angle: 4deg; bottom: 2%; left: 39%; width: 21%; height: 24%; }
.float-card:nth-child(6) { --enter-delay: .56s; --float-delay: 1.5s; --card-angle: 8deg; right: 7%; bottom: 7%; width: 21%; height: 24%; }

.visual-index {
  position: absolute;
  right: 3%;
  bottom: 1%;
  color: #899184;
  font-family: 'Geist', var(--font-ui);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: .14em;
}

.visual-index span { color: #455b3c; }

.hero h1.hero-title,
.hero-manifesto {
  text-wrap: balance;
}

.feature {
  border-radius: 18px;
  box-shadow: 0 6px 18px rgba(32, 38, 31, .035), inset 0 1px #fff;
}

.feature .ico {
  border-radius: 12px;
}

.feature .tags span {
  border-radius: 999px;
}

.steps .step {
  padding-top: 24px;
}

@keyframes cube-turn {
  from { transform: rotateX(-23deg) rotateY(-28deg); }
  to { transform: rotateX(-23deg) rotateY(332deg); }
}

@keyframes cta-arrive {
  from { opacity: 0; translate: 0 12px; scale: .96; }
  to { opacity: 1; translate: 0 0; scale: 1; }
}

@keyframes figure-float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -9px; }
}

@keyframes copy-rise {
  from { opacity: 0; translate: 0 16px; }
  to { opacity: 1; translate: 0 0; }
}

@keyframes visual-arrive {
  from { opacity: 0; translate: 0 18px; }
  to { opacity: 1; translate: 0 0; }
}

@keyframes halo-breathe {
  from { opacity: .55; scale: .95; }
  to { opacity: 1; scale: 1.06; }
}

@keyframes orbit-slow {
  to { rotate: 360deg; }
}

@keyframes shadow-drift {
  0%, 100% { scale: 1; opacity: .72; }
  50% { scale: .82; opacity: .48; }
}

@media (max-width: 1040px) {
  .hero {
    min-height: 800px;
    grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr);
    gap: 24px;
  }
  .hero h1.hero-title { font-size: clamp(64px, 8vw, 88px); }
  .hero-visual { height: clamp(430px, 52vw, 530px); }
  .cube-tilt { --cube-size: clamp(145px, 19vw, 190px); }
}

@media (max-width: 760px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-top: 120px;
  }
  .hero-copy { max-width: 620px; }
  .hero h1.hero-title { font-size: clamp(70px, 15vw, 108px); }
  .hero-manifesto { margin-top: 27px; }
  .hero-visual {
    width: min(100%, 590px);
    height: auto;
    aspect-ratio: 1.12 / 1;
    justify-self: center;
    margin-top: 2px;
  }
  .cube-tilt { --cube-size: clamp(145px, 26vw, 190px); }
  .visual-orbit-a { width: 82%; height: 37%; }
  .visual-orbit-b { width: 72%; height: 55%; }
  .float-card { width: 22%; height: 25%; padding: 5px; }
  .float-card:nth-child(1) { width: 29%; height: 35%; }
  .float-card:nth-child(n+5) { display: flex; }
  .visual-topline { top: 1%; }
}

@media (max-width: 520px) {
  .hero {
    gap: 14px;
    padding: 111px 20px 76px;
  }
  .hero-eyebrow { margin-bottom: 20px; font-size: 8px; }
  .hero h1.hero-title {
    font-size: clamp(61px, 17vw, 82px);
    letter-spacing: -.095em;
  }
  .hero-manifesto { margin-top: 23px; font-size: 28px; }
  .hero-sub { max-width: 355px; margin-bottom: 21px; font-size: 12px; }
  .hero-proof { gap: 9px; font-size: 7px; letter-spacing: .1em; }
  .proof-number { font-size: 15px; }
  .hero-visual { width: 100%; aspect-ratio: 1 / .94; }
  .cube-tilt { --cube-size: clamp(128px, 40vw, 158px); }
  .cube-shadow { transform: translate(-50%, 74px) rotate(-8deg); }
  .float-card { width: 24%; height: 24%; padding: 4px; }
  .float-card::after { right: 5px; bottom: 4px; left: 5px; font-size: 6px; }
  .float-card:nth-child(1) { top: 15%; left: 1%; width: 30%; height: 32%; }
  .float-card:nth-child(2) { top: 8%; right: 2%; }
  .float-card:nth-child(3) { top: 41%; right: 0; width: 23%; height: 23%; }
  .float-card:nth-child(4) { bottom: 5%; left: 6%; width: 23%; height: 23%; }
  .float-card:nth-child(5) { bottom: 1%; left: 38%; width: 23%; height: 23%; }
  .float-card:nth-child(6) { right: 3%; bottom: 6%; width: 23%; height: 23%; }
  .visual-topline { font-size: 7px; }
  .visual-index { right: 1%; bottom: -1%; font-size: 7px; }
}

@media (prefers-reduced-motion: reduce) {
  .cta {
    transition: none;
  }
  .cta::before {
    transition: none;
  }
  .hero-copy,
  .hero-visual,
  .hero-actions .cta,
  .visual-halo,
  .visual-orbit,
  .cube,
  .cube-shadow,
  .float-card {
    animation: none !important;
  }
  .cube-tilt { transform: none !important; }
}
