:root {
  color-scheme: light;
  --acai-950: #25072f;
  --acai-900: #351040;
  --acai-800: #4c145f;
  --acai-700: #66207a;
  --acai-500: #9447aa;
  --leaf-800: #174c36;
  --leaf-700: #246548;
  --leaf-500: #3f8e65;
  --cream: #fbf8f2;
  --sand: #f2eadf;
  --surface: #ffffff;
  --text: #201525;
  --muted: #665b69;
  --line: #e8dfe9;
  --shadow: 0 22px 60px rgba(49, 16, 61, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background: var(--cream);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a { color: inherit; }
.skip-link {
  position: fixed;
  left: -9999px;
  top: 12px;
  z-index: 1000;
  padding: 12px 16px;
  border-radius: 10px;
  background: #fff;
  color: var(--acai-900);
}
.skip-link:focus { left: 12px; }

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
  padding: 22px 0;
  color: #fff;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255,255,255,.36);
  border-radius: 15px;
  background: linear-gradient(145deg, #9b4aae, #4c145f);
  box-shadow: 0 12px 32px rgba(36,7,47,.30);
  font-size: 23px;
  font-weight: 900;
}
.brand > span:last-child { display: grid; gap: 1px; }
.brand strong { font-size: 21px; letter-spacing: .02em; }
.brand small { color: rgba(255,255,255,.78); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.site-nav { display: flex; align-items: center; gap: 12px; }
.site-nav a, .site-nav button { color: rgba(255,255,255,.88); text-decoration: none; font: inherit; font-size: 14px; font-weight: 700; }
.site-nav a:hover, .site-nav button:hover { color: #fff; }
.site-nav .nav-button {
  padding: 11px 18px;
  border: 1px solid rgba(255,255,255,.52);
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(8px);
}
.install-app-button { display: inline-flex; align-items: center; gap: 7px; cursor: pointer; }
.site-nav .install-app-button { border-color: rgba(191,255,219,.68); background: rgba(23,76,54,.72); box-shadow: 0 10px 28px rgba(9,43,29,.22); }
.site-nav .install-app-button[data-ready="true"] { background: #246548; }
.site-nav .install-app-button.installed { border-color: rgba(255,255,255,.35); background: rgba(255,255,255,.12); }
.install-label-short { display: none; }

.hero {
  position: relative;
  min-height: 760px;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background: var(--acai-950);
}
.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(31,5,39,.95) 0%, rgba(44,8,54,.86) 33%, rgba(38,7,46,.33) 65%, rgba(18,11,16,.20) 100%),
    linear-gradient(180deg, rgba(14,9,13,.42), transparent 28%, rgba(25,6,31,.42));
}
.hero-content {
  position: relative;
  z-index: 2;
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
  padding: 135px 0 70px;
}
.hero-content > * { max-width: 720px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 15px;
  color: #e8c2ef;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .16em;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.eyebrow.dark { color: var(--acai-700); }
.hero h1 {
  margin: 0;
  max-width: 790px;
  font-size: clamp(42px, 5.7vw, 76px);
  line-height: 1.01;
  letter-spacing: -.045em;
}
.hero-content > p {
  margin: 24px 0 0;
  color: rgba(255,255,255,.84);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.65;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 21px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 900;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.button:hover { transform: translateY(-2px); }
.button:focus-visible, a:focus-visible { outline: 3px solid #f0c7fa; outline-offset: 3px; }
.button.primary { background: linear-gradient(135deg, #a251b6, #74268a); box-shadow: 0 14px 36px rgba(103,25,122,.38); }
.button.glass { border-color: rgba(255,255,255,.38); background: rgba(255,255,255,.10); backdrop-filter: blur(10px); }
.button.light { color: var(--acai-900); background: #fff; }
.hero-trust {
  display: flex;
  gap: 38px;
  margin: 38px 0 0;
  padding: 27px 0 0;
  border-top: 1px solid rgba(255,255,255,.18);
  list-style: none;
}
.hero-trust li { display: flex; align-items: center; gap: 10px; }
.hero-trust strong { font-size: 28px; }
.hero-trust span { max-width: 96px; color: rgba(255,255,255,.72); font-size: 12px; line-height: 1.3; }

.section { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 100px 0; }
.section-heading { max-width: 760px; margin: 0 auto 46px; text-align: center; }
.section-heading.compact { margin-bottom: 35px; }
.section-heading h2, .data-banner h2, .final-cta h2 { margin: 0; font-size: clamp(32px, 4vw, 50px); line-height: 1.08; letter-spacing: -.035em; }
.section-heading p { margin: 17px 0 0; color: var(--muted); font-size: 17px; line-height: 1.7; }

.chain-section { padding-bottom: 85px; }
.chain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.chain-card {
  position: relative;
  min-height: 350px;
  padding: 31px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 25px;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.chain-card::after {
  content: "";
  position: absolute;
  right: -65px;
  bottom: -65px;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(125,42,146,.13), transparent 70%);
}
.step-number { position: absolute; top: 25px; right: 28px; color: #cdbfce; font-size: 13px; font-weight: 900; letter-spacing: .14em; }
.step-icon { display: grid; place-items: center; width: 63px; height: 63px; margin-bottom: 36px; border-radius: 20px; background: #f4ebf6; font-size: 29px; }
.chain-card:nth-child(2) .step-icon { background: #e8f3ed; }
.chain-card:nth-child(3) .step-icon { background: #edeef5; }
.chain-card h3 { margin: 0; font-size: 26px; }
.chain-card p { margin: 13px 0 0; color: var(--muted); line-height: 1.65; }
.step-status { position: absolute; left: 31px; right: 31px; bottom: 27px; padding-top: 17px; border-top: 1px solid var(--line); color: var(--leaf-700); font-size: 13px; font-weight: 900; }

.data-banner {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 40px;
  align-items: center;
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
  padding: 58px 65px;
  border-radius: 34px;
  color: #fff;
  background:
    radial-gradient(circle at 13% 20%, rgba(168,95,184,.38), transparent 27%),
    linear-gradient(135deg, #2d0a39, #50175f 56%, #153d2d);
  box-shadow: 0 26px 70px rgba(51,14,62,.22);
}
.data-mark { display: grid; place-items: center; width: 150px; height: 150px; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; background: rgba(255,255,255,.08); font-size: 43px; font-weight: 900; }
.data-banner h2 { max-width: 840px; }
.data-banner p { max-width: 870px; margin: 17px 0 0; color: rgba(255,255,255,.76); font-size: 16px; line-height: 1.7; }

.resources-section { padding-bottom: 75px; }
.resources-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.resources-grid article { padding: 27px; border: 1px solid var(--line); border-radius: 20px; background: rgba(255,255,255,.68); }
.resources-grid article > span { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; color: var(--acai-700); background: #f2e7f4; font-size: 22px; font-weight: 900; }
.resources-grid h3 { margin: 18px 0 0; font-size: 18px; }
.resources-grid p { margin: 8px 0 0; color: var(--muted); font-size: 14px; line-height: 1.6; }

.access-section { padding-top: 70px; }
.access-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.access-card {
  position: relative;
  display: flex;
  min-height: 320px;
  flex-direction: column;
  padding: 31px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 25px;
  background: #fff;
  text-decoration: none;
  box-shadow: var(--shadow);
  transition: transform .2s ease, border-color .2s ease;
}
.access-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 6px; background: var(--leaf-500); }
.access-card.cooperative::before { background: var(--acai-500); }
.access-card.factory::before { background: #3e4d79; }
.access-card:hover { transform: translateY(-5px); border-color: #d6bfdc; }
.access-tag { color: var(--leaf-700); font-size: 11px; font-weight: 900; letter-spacing: .15em; }
.cooperative .access-tag { color: var(--acai-700); }
.factory .access-tag { color: #3e4d79; }
.access-card h3 { margin: 24px 0 0; font-size: 28px; line-height: 1.12; }
.access-card p { margin: 14px 0 0; color: var(--muted); line-height: 1.65; }
.access-card strong { margin-top: auto; color: var(--acai-700); font-size: 14px; }

.final-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  width: min(1240px, calc(100% - 40px));
  margin: 15px auto 90px;
  padding: 56px 62px;
  border-radius: 32px;
  color: #fff;
  background: var(--leaf-800);
}
.final-cta h2 { max-width: 800px; font-size: clamp(30px, 3.6vw, 45px); }

footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 25px;
  align-items: center;
  padding: 40px max(25px, calc((100vw - 1240px)/2));
  color: #d7cad9;
  background: var(--acai-950);
}
.footer-brand { display: flex; align-items: center; gap: 13px; }
.brand-mark.small { width: 40px; height: 40px; border-radius: 13px; font-size: 19px; }
.footer-brand > div { display: grid; gap: 2px; }
.footer-brand span { font-size: 12px; }
footer nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 17px; }
footer nav a { color: #efe6f0; font-size: 13px; }
footer > p { grid-column: 1 / -1; margin: 0; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); font-size: 12px; }

@media (max-width: 900px) {
  .site-nav a:not(.nav-button) { display: none; }
  .hero { min-height: 720px; }
  .hero-image { object-position: 62% center; }
  .hero-shade { background: linear-gradient(90deg, rgba(31,5,39,.95), rgba(44,8,54,.73) 58%, rgba(20,8,18,.38)); }
  .chain-grid, .resources-grid, .access-grid { grid-template-columns: 1fr 1fr; }
  .chain-card:last-child, .access-card:last-child { grid-column: 1 / -1; }
  .data-banner { grid-template-columns: 105px 1fr; padding: 48px 40px; }
  .data-mark { width: 100px; height: 100px; font-size: 31px; }
}

@media (max-width: 650px) {
  .site-header { width: calc(100% - 20px); padding-top: 15px; }
  .brand-mark { width: 43px; height: 43px; }
  .brand strong { font-size: 18px; }
  .brand small { font-size: 10px; }
  .site-nav { gap: 6px; }
  .site-nav .nav-button { padding: 9px 11px; font-size: 12px; }
  .install-label-full { display: none; }
  .install-label-short { display: inline; }
  .hero { min-height: 770px; }
  .hero-image { object-position: 65% center; }
  .hero-shade { background: linear-gradient(180deg, rgba(31,5,39,.86), rgba(39,7,48,.78) 58%, rgba(31,5,39,.92)); }
  .hero-content { width: calc(100% - 30px); padding-top: 120px; }
  .hero h1 { font-size: clamp(38px, 12vw, 52px); }
  .hero-content > p { font-size: 16px; line-height: 1.55; }
  .hero-actions { display: grid; }
  .button { width: 100%; }
  .hero-trust { gap: 15px; justify-content: space-between; }
  .hero-trust li { display: grid; gap: 3px; }
  .hero-trust span { max-width: 85px; }
  .section { width: calc(100% - 28px); padding: 75px 0; }
  .section-heading { text-align: left; }
  .chain-grid, .resources-grid, .access-grid { grid-template-columns: 1fr; }
  .chain-card:last-child, .access-card:last-child { grid-column: auto; }
  .data-banner { width: calc(100% - 28px); grid-template-columns: 1fr; gap: 22px; padding: 35px 27px; border-radius: 25px; }
  .data-mark { width: 72px; height: 72px; font-size: 23px; }
  .resources-grid article { padding: 23px; }
  .final-cta { width: calc(100% - 28px); display: grid; margin-bottom: 70px; padding: 36px 27px; }
  footer { grid-template-columns: 1fr; padding: 38px 22px; }
  footer nav { justify-content: flex-start; }
}

@media (max-width: 390px) {
  .brand { gap: 8px; }
  .brand-mark { width: 39px; height: 39px; }
  .brand strong { font-size: 16px; }
  .brand small { display: none; }
  .site-nav .nav-button { padding: 8px 9px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
