:root {
  --brand: #93b437;
  --brand-dark: #6f8320;
  --brand-pale: #eef5dd;
  --ink: #11120e;
  --muted: #64685a;
  --paper: #f6f6ef;
  --surface: #fffef8;
  --line: rgba(17, 18, 14, 0.14);
  --card-radius: 12px;
  --button-radius: 999px;
  --frame: 100%;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: "Poppins", system-ui, sans-serif;
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
video {
  display: block;
  max-width: 100%;
}

main > section,
.site-footer {
  width: 100%;
  margin-inline: auto;
}

.site-header {
  position: absolute;
  top: 42px;
  left: 50%;
  z-index: 30;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  width: min(calc(100% - 96px), 1296px);
  height: 64px;
  padding: 0 14px 0 34px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(245, 250, 224, 0.38);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 18px 40px rgba(44, 55, 18, 0.08);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  transform: translateX(-50%);
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: max-content;
}

.brand-icon {
  display: block;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
}

.brand-name {
  font-family: "Outfit", system-ui, sans-serif;
  font-size: 20px;
  font-weight: 500;
  white-space: nowrap;
  letter-spacing: -0.01em;
  line-height: 1;
}

.brand-logo {
  display: block;
  width: 206px;
  height: auto;
  flex: 0 0 auto;
}

.brand-logo-footer {
  filter: invert(1);
}

.desktop-nav {
  display: flex;
  justify-content: center;
  gap: 48px;
  align-items: center;
  font-size: 16px;
  font-weight: 400;
}

.desktop-nav a {
  color: var(--ink);
  white-space: nowrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: max-content;
  border: 0;
  border-radius: var(--button-radius);
  font-family: "Poppins", system-ui, sans-serif;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.header-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 130px;
  height: 42px;
  padding: 0 22px;
  border-radius: 999px;
  color: var(--surface);
  background: var(--ink);
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
}

.header-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
}

.header-icon img {
  width: 40px;
  height: 40px;
}

.header-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 6px;
  background: none;
  border: none;
  cursor: pointer;
  flex: 0 0 36px;
}

.header-hamburger span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 240ms var(--ease), opacity 240ms var(--ease);
}

.header-hamburger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.header-hamburger.is-open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.header-hamburger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (min-width: 921px) {
  .terminal-cards-mobile {
    display: none !important;
  }
}

@media (min-width: 1101px) {
  .mobile-nav {
    display: none !important;
  }
}

@media (max-width: 1280px) {
  .desktop-nav {
    gap: 32px;
    font-size: 15px;
  }
}

@media (max-width: 1100px) {
  .header-hamburger {
    display: flex;
  }
  .header-actions {
    gap: 6px;
  }
  .mobile-nav {
    display: block;
  }
  .desktop-nav a:nth-child(1) {
    display: none;
  }
}

@media (max-width: 980px) {
  .desktop-nav a:nth-child(4) {
    display: none;
  }
}

@media (max-width: 880px) {
  .site-header {
    top: 14px;
    width: calc(100% - 28px);
    grid-template-columns: 1fr auto;
    height: 56px;
    padding: 0 10px 0 18px;
  }
  .desktop-nav {
    display: none;
  }
  .header-button {
    display: none;
  }
  .header-icon-social {
    display: none;
  }
}

/* Mobile nav drawer */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  padding: 88px 24px 40px;
  background: rgba(245, 250, 224, 0.96);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  transform: translateY(-100%);
  transition: transform 320ms var(--ease);
  border-bottom: 1px solid rgba(17, 18, 14, 0.1);
}

.mobile-nav.is-open {
  transform: translateY(0);
}

.mobile-nav nav {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.mobile-nav-link {
  display: block;
  padding: 16px 0;
  font-size: 18px;
  font-weight: 500;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}

.mobile-nav-cta {
  margin-top: 28px;
  align-self: flex-start;
  min-height: 48px;
  padding: 0 28px;
  font-size: 15px;
  font-weight: 600;
}

.button {
  min-height: 34px;
  padding: 0 20px;
  font-size: 11px;
  font-weight: 600;
}

.button-dark {
  color: var(--surface);
  background: var(--ink);
}

.button-brand {
  color: var(--surface);
  background: var(--brand);
}

.hero {
  position: relative;
  display: grid;
  height: 760px;
  overflow: visible;
  place-items: center;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  background: var(--brand);
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  opacity: 0;
  filter: brightness(1.24) saturate(1.08) contrast(0.98);
  transition: opacity 520ms var(--ease);
  will-change: opacity, transform;
}



.hero-video.is-active {
  opacity: 1;
}

.hero-content {
  width: min(940px, 88%);
  margin-top: -42px;
  text-align: center;
}

.hero-logo {
  display: block;
  width: 44px;
  height: auto;
  margin-inline: auto;
  margin-bottom: 14px;
}

.hero h1 {
  margin: 0;
  font-size: clamp(4.5rem, 4.65vw, 5.7rem);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.04;
}

.hero-copy {
  margin: 12px auto 16px;
  color: rgba(17, 18, 14, 0.78);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.35;
  text-transform: lowercase;
}

.hero .button {
  min-height: 44px;
  padding: 0 34px;
  font-size: 14px;
  font-weight: 500;
}

.hero-stats {
  position: absolute;
  right: 52px;
  bottom: -110px;
  left: 52px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
  border-radius: var(--card-radius);
  background: var(--surface);
  box-shadow: 0 10px 24px rgba(42, 50, 20, 0.08);
}

.hero-stats div {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 184px;
  padding: 0 30px;
  border-right: 1px solid rgba(17, 18, 14, 0.12);
  text-align: center;
}

.hero-stats div:last-child {
  border-right: 0;
}

.metric,
.card-number {
  font-family: "Outfit", "Poppins", system-ui, sans-serif;
  font-variant-numeric: tabular-nums;
}

.hero-stats .metric {
  display: block;
  font-size: 30px;
  font-weight: 600;
  line-height: 1;
}

.hero-stats .label {
  display: block;
  margin-top: 8px;
  color: rgba(17, 18, 14, 0.72);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.57;
}

.eyebrow {
  margin: 0 0 8px;
  color: rgba(17, 18, 14, 0.78);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.based-section {
  position: relative;
  display: grid;
  grid-template-columns: 560px 1fr;
  align-items: center;
  height: 723px;
  margin-top: 110px;
  padding: 0 110px;
  overflow: hidden;
  background: #f9faf2;
}

.based-copy {
  position: relative;
  z-index: 3;
  max-width: 560px;
  transform: translateY(-40px);
}

.based-copy h2,
.orderflow-band h2,
.terminal-copy h2,
.trusted-overlay h2,
.grants-section h2,
.onchain-section h2,
.macro-section h2,
.faq h2 {
  margin: 0;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.04;
}

.based-copy h2 {
  color: var(--ink);
  font-size: 60px;
  font-weight: 500;
  line-height: 1.18;
}

.based-copy h2 span {
  display: block;
}

.based-copy h2 span:last-child {
  color: var(--brand);
}

.based-copy p:not(.eyebrow) {
  max-width: 455px;
  margin: 24px 0 30px;
  color: var(--muted);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.35;
}

.based-copy .button {
  gap: 14px;
  min-width: 236px;
  min-height: 51px;
  padding: 0 30px;
  font-size: 17px;
  font-weight: 500;
}

.button-arrow {
  font-size: 23px;
  font-weight: 400;
  line-height: 1;
}

.based-art {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  width: min(76%, 1440px);
  max-width: none;
  margin: 0;
  overflow: hidden;
}

.based-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  transform: none;
  transform-origin: center right;
}

.orderflow-band {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  height: 420px;
  padding: 0 80px;
  overflow: hidden;
  color: var(--surface);
  text-align: center;
  background: #030402;
  isolation: isolate;
}

.orderflow-band::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url("background-pattern.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  opacity: 0.24;
  content: "";
}

.orderflow-band::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.54), rgba(0, 0, 0, 0.2) 44%, rgba(0, 0, 0, 0.72)),
    radial-gradient(circle at 50% 46%, rgba(255, 255, 255, 0.05), transparent 38rem);
  content: "";
}

.orderflow-partner {
  width: 248px;
  height: 28px;
  margin: 0 auto 42px;
}

.orderflow-band h2 {
  max-width: 1320px;
  margin-inline: auto;
  color: var(--surface);
  font-size: 48px;
  font-weight: 400;
  line-height: 1.05;
}

.orderflow-band p {
  margin: 26px 0 0;
  color: rgba(255, 254, 248, 0.72);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.35;
}

/* Terminal Section — polypro.ai stack/cover animation */
.terminal-stack {
  height: 300vh;
  background: #f4f4f0;
}

.terminal-sticky {
  position: sticky;
  top: 0;
  display: grid;
  grid-template-rows: auto 1fr;
  height: 100svh;
  min-height: 555px;
  padding: 52px 80px 56px;
  overflow: hidden;
  background: #f4f4f0;
}

.terminal-copy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
  align-items: end;
  width: min(100%, 1203px);
  margin-inline: auto;
  gap: 80px;
}

.terminal-copy h2 {
  grid-column: 1;
  max-width: 680px;
  font-size: 45px;
  font-weight: 500;
  line-height: 1.2;
  text-align: left;
  text-transform: uppercase;
}

.terminal-copy h2 span {
  display: block;
}

.terminal-copy p {
  grid-column: 2;
  align-self: end;
  justify-self: end;
  max-width: 430px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.38;
  text-align: right;
}

.terminal-stage {
  position: relative;
  width: min(100%, 1203px);
  aspect-ratio: 1203 / 442;
  min-height: 0;
  margin: 48px auto 0;
  overflow: hidden;
}

.terminal-card {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: 0;
  height: 100%;
  padding: 64px 70px 58px 112px;
  overflow: hidden;
  border: 1px solid rgba(17, 18, 14, 0.12);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: 0 18px 42px rgba(37, 45, 16, 0.11);
  transform: translateY(112%);
  will-change: transform;
}

.terminal-card h3 {
  position: relative;
  z-index: 2;
  margin: 0 0 28px;
  max-width: 340px;
  font-size: 30px;
  font-weight: 500;
  line-height: 1.15;
}

.terminal-card p {
  position: relative;
  z-index: 2;
  max-width: 390px;
  margin: 0 0 40px;
  color: var(--muted);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.44;
}

.terminal-card h3,
.terminal-card p,
.terminal-card .button {
  width: fit-content;
}

.terminal-card .button {
  position: relative;
  z-index: 2;
  align-self: start;
  gap: 12px;
  min-height: 47px;
  padding: 0 28px;
  font-size: 15px;
  font-weight: 500;
}

.terminal-visual {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 33.5%;
  z-index: 1;
  overflow: hidden;
  border-radius: 0 18px 18px 0;
  display: block;
}

.terminal-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
}

.terminal-visual-cover img {
  object-fit: cover;
  object-position: left center;
}

/* Mobile stacked cards (hidden on desktop) */
.terminal-cards-mobile {
  display: none;
}

.trusted-scroll {
  height: auto;
  background: var(--brand);
}

.trusted-sticky {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: min(100%, var(--frame));
  min-height: 100svh;
  margin-inline: auto;
  overflow: hidden;
  background: var(--brand);
  padding: 120px 0;
  isolation: isolate;
}

.trusted-video {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.65;
  filter: brightness(1.24) saturate(1.08) contrast(0.98);
}

.trusted-motion {
  position: relative;
  width: min(1136px, calc(100% - 160px));
  text-align: center;
}

.trusted-overlay {
  position: relative;
  width: 100%;
  color: var(--ink);
  text-align: center;
}

.trusted-overlay h2 {
  max-width: none;
  margin-inline: auto;
  color: var(--ink);
  font-size: 46px;
  font-weight: 500;
  line-height: 1.05;
  white-space: nowrap;
}

.trusted-overlay p {
  max-width: 890px;
  margin: 34px auto 28px;
  color: rgba(17, 18, 14, 0.58);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.35;
}

.trusted-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  width: 100%;
  margin-top: 76px;
  gap: 28px 26px;
}

.trusted-grid article {
  position: relative;
  min-height: 226px;
  padding: 26px 26px 30px;
  border-radius: 24px;
  background: rgba(255, 254, 248, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 16px 32px rgba(37, 45, 16, 0.11);
  text-align: left;
  transition: background 240ms var(--ease), border-color 240ms var(--ease), box-shadow 240ms var(--ease);
}

.trusted-grid article:hover {
  background: rgba(255, 254, 248, 0.82);
  border-color: rgba(255, 255, 255, 0.45);
  box-shadow: 0 20px 40px rgba(37, 45, 16, 0.15);
}

.trusted-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(17, 18, 14, 0.22);
}

.trusted-grid h3 {
  margin: 0;
  color: rgba(17, 18, 14, 0.94);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.08;
}

.trusted-arrow {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  color: var(--ink);
  background: rgba(17, 18, 14, 0.06);
  font-size: 23px;
  font-weight: 400;
  line-height: 1;
}

.trusted-grid p {
  max-width: 330px;
  margin: 18px 0 0;
  color: rgba(100, 104, 90, 0.78);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.35;
}

.trusted-overlay .button {
  gap: 16px;
  min-height: 67px;
  padding: 0 28px;
  font-size: 23px;
  font-weight: 400;
}

.grants-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 606px;
  padding: 0 80px;
  text-align: center;
  background: var(--surface) url("over $2.5M.png") center / cover no-repeat;
}

.grants-section h2 {
  max-width: 820px;
  margin-top: 154px;
  color: var(--ink);
  font-size: 66px;
  font-weight: 400;
  line-height: 1.22;
}

.grants-section .button {
  gap: 16px;
  min-width: 220px;
  min-height: 54px;
  margin-top: 52px;
  padding: 0 31px;
  font-size: 17px;
  font-weight: 500;
}

.onchain-section {
  position: relative;
  height: 190vh;
  background: #f2f2f2;
}

.onchain-sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  min-height: 620px;
  overflow: hidden;
  text-align: left;
  background: #f2f2f2;
  isolation: isolate;
}

.onchain-visual {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: clamp(480px, 29vw, 620px);
  aspect-ratio: 545 / 492;
  overflow: visible;
  mix-blend-mode: normal;
  opacity: 1;
  will-change: transform;
}

.onchain-visual img,
.onchain-visual video {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
  object-position: center;
  filter: none;
}

.onchain-copy {
  position: absolute;
  z-index: 4;
  will-change: transform, opacity;
}

.onchain-copy-start {
  top: 47%;
  left: 7.5%;
  width: 420px;
  transform: translateY(-50%);
}

.onchain-copy-end {
  top: 70px;
  left: 50%;
  width: 650px;
  text-align: center;
  opacity: 0;
  transform: translateX(-50%);
}

.onchain-section h2 {
  margin: 0;
  color: var(--ink);
  font-size: 34px;
  font-weight: 500;
  line-height: 1.16;
}

.onchain-section .onchain-copy p {
  max-width: 650px;
  margin: 20px auto 0;
  color: rgba(17, 18, 14, 0.72);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.45;
}

.vetoken-stage {
  position: absolute;
  inset: 0;
  z-index: 3;
  width: 100%;
  height: 100%;
  margin-inline: auto;
  pointer-events: none;
  left: 50%;
  transform: translateX(-50%);
}

.vetoken-card {
  position: absolute;
  top: 0;
  left: 0;
  width: 218px;
  min-height: 116px;
  padding: 18px 20px 17px;
  border-radius: 8px;
  background: rgba(255, 254, 248, 0.96);
  box-shadow: 0 18px 40px rgba(35, 43, 16, 0.14);
  opacity: 0;
  text-align: left;
  will-change: transform, opacity;
}

.vetoken-card-long {
  width: 236px;
  min-height: 176px;
}

.vetoken-card img {
  width: 34px;
  height: 34px;
  margin-bottom: 15px;
}

.vetoken-card p {
  margin: 0;
  color: rgba(17, 18, 14, 0.92);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.35;
}

.macro-section {
  min-height: 700px;
  padding: 124px 80px 104px;
  color: var(--surface);
  text-align: center;
  background: #000;
}

.macro-section h2 {
  color: var(--surface);
  font-size: 48px;
  font-weight: 400;
  line-height: 1.1;
}

.macro-section > p {
  margin: 18px auto 58px;
  max-width: 900px;
  color: rgba(255, 254, 248, 0.64);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.35;
}

.macro-grid {
  display: grid;
  grid-template-columns: repeat(3, 312px);
  gap: 30px 24px;
  width: max-content;
  max-width: 100%;
  margin: 0 auto;
}

.macro-grid img {
  width: 312px;
  height: 86px;
  height: auto;
  display: block;
}

.faq {
  min-height: 620px;
  padding: 70px 80px;
  background: var(--surface);
}

.faq h2 {
  font-size: 34px;
  font-weight: 500;
  text-align: center;
}

.faq-list {
  margin-top: 36px;
  border-top: 1px solid var(--line);
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  cursor: pointer;
  font-size: 18px;
  font-weight: 500;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-left: 24px;
  font-size: 28px;
  font-weight: 400;
  line-height: 1;
}

.faq details[open] summary::after {
  content: "-";
}

.faq p {
  margin: 2px 0 28px;
  color: var(--muted);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
}

.site-footer {
  padding: 54px 0 0;
  color: var(--surface);
  background: var(--paper);
}

.footer-panel {
  min-height: 486px;
  padding: 132px 140px 22px;
  border-radius: 40px 40px 0 0;
  background: #000;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(0, 760px) auto;
  align-items: start;
  justify-content: space-between;
  gap: 80px;
}

.brand-logo-footer {
  width: 488px;
  filter: invert(1);
}

.footer-brand p {
  max-width: 720px;
  margin: 40px 0 0;
  color: #fffef8;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.36;
}

.footer-contact {
  padding-top: 58px;
}

.footer-contact h2 {
  margin: 0 0 30px;
  color: #fffef8;
  font-size: 22px;
  font-weight: 600;
  line-height: 1;
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 18px;
}

.footer-socials a {
  display: inline-flex;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  transition: transform 240ms var(--ease), opacity 240ms var(--ease);
}

.footer-socials a:hover {
  transform: translateY(-2px);
}

.footer-socials img {
  width: 100%;
  height: 100%;
}

.footer-rule {
  height: 1px;
  margin-top: 108px;
  background: rgba(255, 254, 248, 0.45);
}

.footer-copyright {
  margin: 40px 0 0;
  color: rgba(255, 254, 248, 0.48);
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
  text-align: center;
}

@media (max-width: 920px) {
  html, body, main {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow-x: hidden !important;
  }

  main > section,
  .site-footer {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .brand-icon {
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
  }

  .brand-name {
    font-size: 16px;
  }

  .mobile-nav {
    display: block;
  }

  .hero {
    height: auto;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 110px 16px 56px;
  }

  .hero h1 {
    font-size: 36px;
    font-weight: 500;
    line-height: 1.33;
  }

  .hero-copy {
    font-size: 14px;
  }

  .hero .button {
    min-height: 52px;
    padding: 0 24px;
    font-size: 16px;
  }


  .hero-stats {
    position: relative !important;
    inset: auto !important;
    width: calc(100% - 32px) !important;
    margin: 24px auto 0 !important;
    border-radius: 16px;
    grid-template-columns: 1fr;
    overflow: hidden;
  }

  .hero-stats div {
    min-height: auto;
    padding: 20px 24px;
    align-items: center;
    justify-content: center;
    border-right: 0;
    border-bottom: 1px solid rgba(17, 18, 14, 0.12);
    text-align: center;
  }

  .hero-stats div:last-child {
    border-bottom: 0;
  }

  .hero-stats .metric {
    font-size: 28px;
  }

  .hero-stats .label {
    font-size: 13px;
    margin-top: 4px;
  }

  .based-section {
    grid-template-columns: 1fr;
    height: auto;
    min-height: auto;
    padding: 40px 16px;
  }

  .based-art {
    position: relative;
    inset: auto;
    width: calc(100% + 32px);
    height: 300px;
    margin: 18px 0 0 -16px;
  }

  .based-art img {
    width: 100%;
    height: 100%;
  }

  .orderflow-band,
  .grants-section,
  .macro-section,
  .faq {
    padding-inline: 16px;
  }

  .orderflow-band h2 {
    font-size: 28px;
    line-height: 1.2;
  }

  .terminal-stack {
    height: auto;
  }

  .terminal-sticky {
    position: relative;
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: auto;
    padding: 40px 16px;
  }

  .terminal-copy {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 8px;
  }

  .terminal-copy h2,
  .terminal-copy p {
    grid-column: 1;
  }

  .terminal-copy h2 {
    max-width: 100%;
    font-size: 24px;
  }

  .terminal-copy p {
    justify-self: start;
    max-width: 100%;
    margin: 0;
    font-size: 14px;
    text-align: left;
  }

  .terminal-stage {
    display: none;
  }

  .terminal-cards-mobile {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 24px;
    padding: 0 16px;
    max-width: 100%;
    overflow-x: hidden;
  }

  .terminal-mobile-card {
    background: var(--surface);
    border-radius: 16px;
    border: 1px solid rgba(17, 18, 14, 0.12);
    overflow: hidden;
    padding-bottom: 24px;
  }

  .terminal-mobile-visual {
    width: 100%;
    aspect-ratio: 358 / 197;
    overflow: hidden;
  }

  .terminal-mobile-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .terminal-mobile-content {
    padding: 16px 16px 0;
  }

  .terminal-mobile-content h3 {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.2;
  }

  .terminal-mobile-content p {
    margin: 0 0 16px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.5;
  }

  .terminal-mobile-content .button {
    gap: 8px;
    min-height: 40px;
    padding: 0 20px;
    font-size: 14px;
    font-weight: 500;
  }

  .trusted-scroll {
    height: auto !important;
  }

  .trusted-sticky {
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    height: auto !important;
    min-height: auto !important;
    padding: 60px 16px;
  }

  .trusted-motion {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    transform: none !important;
    opacity: 1 !important;
    width: 100% !important;
  }

  .trusted-overlay h2 {
    font-size: 34px;
    white-space: normal;
  }

  .trusted-overlay p {
    font-size: 14px;
  }

  .trusted-grid {
    grid-template-columns: 1fr;
    margin-top: 42px;
    gap: 16px;
  }

  .trusted-grid article {
    min-height: auto;
    padding: 24px;
  }

  .trusted-grid h3 {
    font-size: 18px;
  }

  .trusted-grid p {
    font-size: 14px;
    max-width: 100%;
    margin-top: 12px;
  }

  .grants-section {
    height: 520px;
    padding-inline: 26px;
  }

  .grants-section h2 {
    margin-top: 118px;
    font-size: 42px;
  }

  .onchain-section {
    height: auto !important;
  }

  .onchain-sticky {
    position: relative !important;
    height: auto !important;
    min-height: auto !important;
    padding: 60px 16px;
    display: flex;
    flex-direction: column;
  }

  .onchain-copy {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    width: 100% !important;
    opacity: 1 !important;
    text-align: center;
  }

  .onchain-copy-start {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    width: 100% !important;
    transform: none !important;
  }

  .onchain-copy-end {
    display: none !important;
  }

  .onchain-visual {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    transform: none !important;
    width: 180px !important;
    height: 180px !important;
    margin: 24px auto !important;
  }

  .onchain-section h2 {
    font-size: 28px;
  }

  .onchain-section .onchain-copy p {
    max-width: 100%;
    font-size: 14px;
    margin-top: 14px;
  }

  .vetoken-stage {
    position: relative !important;
    inset: auto !important;
    transform: none !important;
    height: auto !important;
    width: 100% !important;
    margin-top: 32px;
  }

  .vetoken-card,
  .vetoken-card-long {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    transform: none !important;
    opacity: 1 !important;
    width: 100% !important;
    min-height: auto !important;
    padding: 20px;
    margin-bottom: 16px;
  }

  .vetoken-card img {
    width: 32px;
    height: 32px;
    margin-bottom: 12px;
  }

  .vetoken-card p {
    font-size: 13px;
    line-height: 1.4;
  }

  .macro-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    width: 100% !important;
    max-width: 480px !important;
    gap: 16px !important;
    margin: 0 auto !important;
  }

  .macro-grid img {
    width: 100% !important;
    height: auto !important;
  }

  .macro-section {
    min-height: auto;
    padding: 86px 24px;
  }

  .macro-section h2 {
    font-size: 34px;
  }

  .macro-section > p {
    margin: 16px auto 42px;
    font-size: 14px;
  }

  .faq h2 {
    font-size: 28px;
  }

  .faq {
    overflow-x: hidden;
  }

  .faq summary {
    font-size: 16px;
    max-width: 100%;
  }

  .faq p {
    font-size: 15px;
  }

  .site-footer {
    padding: 32px 16px 0;
    overflow-x: hidden;
    max-width: 100%;
    box-sizing: border-box;
  }

  .footer-panel {
    min-height: auto;
    padding: 64px 16px 24px;
    border-radius: 28px 28px 0 0;
    overflow: hidden;
    max-width: 100%;
    box-sizing: border-box;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .brand-logo-footer {
    width: min(100%, 220px) !important;
    max-width: 220px;
  }

  .footer-brand {
    max-width: 100%;
    overflow: hidden;
  }

  .footer-brand p {
    margin-top: 20px;
    font-size: 15px;
    line-height: 1.5;
    max-width: 100%;
    overflow-wrap: break-word;
    word-break: break-word;
  }

  .footer-contact {
    padding-top: 0;
  }

  .footer-contact h2 {
    margin-bottom: 22px;
    font-size: 20px;
  }

  .footer-socials {
    gap: 12px;
  }

  .footer-rule {
    margin-top: 54px;
  }

  .footer-copyright {
    margin-top: 28px;
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .trusted-scroll,
  .terminal-stack {
    height: auto;
  }

  .trusted-sticky,
  .terminal-sticky {
    position: relative;
  }

  .terminal-card {
    position: relative;
    margin-top: 16px;
    transform: none !important;
  }
}
