:root {
  --ink: #17201f;
  --ink-soft: #53615f;
  --sky: #8ed5df;
  --sky-deep: #59bbc7;
  --cloud: #fff8dc;
  --grass: #79bd6a;
  --grass-deep: #2e8f61;
  --gold: #f1ba43;
  --coral: #df705f;
  --paper: #fff8e8;
  --paper-soft: #f7efd9;
  --line: rgba(23, 32, 31, 0.15);
  --shadow: 0 28px 70px rgba(20, 68, 61, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -3;
  background:
    linear-gradient(180deg, #e9fbff 0%, #fff8e8 48%, #f5ecd6 100%);
  content: "";
}

a {
  color: inherit;
}

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -5rem;
  z-index: 20;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: var(--ink);
  color: #ffffff;
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem clamp(1rem, 4vw, 3.5rem);
  border-bottom: 1px solid rgba(23, 32, 31, 0.08);
  background: rgba(255, 248, 232, 0.74);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--ink);
  font-family: "Outfit", "DM Sans", Arial, sans-serif;
  font-weight: 900;
  letter-spacing: 0;
  text-decoration: none;
}

.brand img {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.65rem;
}

.nav-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.2rem;
}

.nav-links a {
  padding: 0.48rem 0.78rem;
  border-radius: 999px;
  color: var(--ink-soft);
  font-weight: 850;
  text-decoration: none;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.nav-links a:hover,
.nav-links a:focus {
  background: rgba(46, 143, 97, 0.12);
  color: var(--ink);
}

.nav-links a:active,
.button:active {
  transform: translateY(1px) scale(0.99);
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--ink);
  font-family: "Outfit", "DM Sans", Arial, sans-serif;
  letter-spacing: 0;
}

h1 {
  max-width: 9ch;
  font-size: clamp(4.2rem, 13vw, 10rem);
  line-height: 0.82;
}

h2 {
  max-width: 12ch;
  font-size: clamp(2.4rem, 7vw, 6.4rem);
  line-height: 0.9;
}

h3 {
  font-size: clamp(1.45rem, 3vw, 2.2rem);
  line-height: 1;
}

.eyebrow {
  margin: 0 0 0.7rem;
  color: var(--grass-deep);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.15rem;
  padding: 0.85rem 1.3rem;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: #ffffff;
  font-weight: 900;
  text-decoration: none;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.button:hover,
.button:focus {
  background: var(--grass-deep);
  border-color: var(--grass-deep);
  color: #ffffff;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.46);
  color: var(--ink);
}

.button.secondary:hover,
.button.secondary:focus {
  background: #ffffff;
  color: var(--ink);
}

.hero-world {
  position: relative;
  min-height: 88dvh;
  overflow: hidden;
  display: grid;
  align-items: center;
  padding: clamp(3.4rem, 7vw, 6rem) clamp(1rem, 5vw, 5rem);
  isolation: isolate;
}

.hero-world::before {
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    linear-gradient(90deg, rgba(232, 251, 255, 0.1) 0%, rgba(232, 251, 255, 0.58) 48%, rgba(232, 251, 255, 0.16) 100%),
    linear-gradient(180deg, #9adee7 0%, #bff2ee 55%, #f8f0d7 100%);
  content: "";
}

.hero-copy-block {
  position: relative;
  z-index: 2;
  width: min(45rem, 100%);
  padding-top: 2rem;
}

.app-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1.5rem;
  color: var(--ink);
  font-weight: 900;
}

.app-chip img {
  width: 4.25rem;
  height: 4.25rem;
  border: 2px solid rgba(255, 255, 255, 0.7);
  border-radius: 1.2rem;
  box-shadow: 0 16px 42px rgba(20, 68, 61, 0.18);
}

.hero-copy-block p {
  width: min(34rem, 100%);
  margin: 1.35rem 0 0;
  color: #334b49;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  font-weight: 700;
}

.hero-actions,
.support-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.hero-scene {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.hero-scene::before {
  position: absolute;
  inset: auto -5vw 0;
  height: 30%;
  background:
    linear-gradient(180deg, rgba(255, 248, 232, 0) 0%, rgba(255, 248, 232, 0.92) 100%);
  content: "";
}

.cloud {
  position: absolute;
  width: clamp(9rem, 18vw, 18rem);
  height: clamp(4rem, 7vw, 7rem);
  border-radius: 999px;
  background:
    radial-gradient(circle at 24% 48%, #fffce6 0 34%, transparent 35%),
    radial-gradient(circle at 49% 30%, #fffce6 0 38%, transparent 39%),
    radial-gradient(circle at 74% 52%, #fffce6 0 34%, transparent 35%),
    linear-gradient(#fffce6, #fffce6);
  opacity: 0.72;
  transform: translate3d(0, 0, 0);
}

.cloud-a {
  top: 17%;
  right: 13%;
  animation: drift 18s ease-in-out infinite alternate;
}

.cloud-b {
  top: 34%;
  right: 42%;
  width: clamp(7rem, 12vw, 12rem);
  opacity: 0.55;
  animation: drift 23s ease-in-out infinite alternate-reverse;
}

.cloud-c {
  top: 9%;
  left: 5%;
  width: clamp(6rem, 10vw, 10rem);
  opacity: 0.5;
  animation: drift 20s ease-in-out infinite alternate;
}

.pipe {
  position: absolute;
  width: clamp(4.5rem, 7vw, 7.2rem);
  max-width: none;
  filter: drop-shadow(0 18px 18px rgba(46, 77, 63, 0.18));
}

.pipe-top {
  top: -42rem;
  right: 18%;
}

.pipe-bottom {
  right: 18%;
  bottom: -42rem;
}

.pipe-second {
  right: -2%;
  transform: translateY(7rem);
  opacity: 0.74;
}

.hero-bird {
  position: absolute;
  left: min(58vw, 52rem);
  top: 51%;
  width: clamp(5.4rem, 9vw, 8.5rem);
  max-width: none;
  filter: drop-shadow(0 20px 18px rgba(23, 32, 31, 0.2));
  transform: translate3d(0, -50%, 0) rotate(-4deg);
  animation: birdFloat 2.8s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}

.ground-line {
  position: absolute;
  right: -3rem;
  bottom: -1.8rem;
  width: min(75rem, 86vw);
  max-width: none;
  opacity: 0.9;
}

.coin-dot {
  position: absolute;
  width: clamp(1.3rem, 3vw, 2.4rem);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 28%, #fff1a8 0 16%, transparent 17%),
    radial-gradient(circle, var(--gold) 0 64%, #b77d1e 65% 100%);
  box-shadow: inset 0 -0.25rem 0 rgba(128, 84, 20, 0.18), 0 16px 24px rgba(111, 80, 26, 0.16);
  animation: coinPulse 2.2s ease-in-out infinite;
}

.coin-one {
  right: 39%;
  top: 42%;
}

.coin-two {
  right: 33%;
  top: 35%;
  animation-delay: 260ms;
}

.coin-three {
  right: 27%;
  top: 43%;
  animation-delay: 520ms;
}

.scroll-cue {
  position: absolute;
  left: clamp(1rem, 5vw, 5rem);
  bottom: 1.15rem;
  z-index: 2;
  display: inline-flex;
  width: 3rem;
  height: 3rem;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(23, 32, 31, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.38);
  text-decoration: none;
  backdrop-filter: blur(12px);
}

.scroll-cue span {
  width: 0.65rem;
  height: 0.65rem;
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  transform: rotate(45deg) translateY(-0.1rem);
}

.section-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.runway-section,
.flock-section,
.support-landing {
  padding: clamp(4rem, 9vw, 8rem) clamp(1rem, 5vw, 5rem);
}

.runway-section {
  position: relative;
  background: linear-gradient(180deg, var(--paper) 0%, #fffdf2 100%);
}

.runway-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(20rem, 1.1fr);
  gap: clamp(2rem, 7vw, 6rem);
  align-items: start;
}

.mode-stack {
  display: grid;
  gap: 1.2rem;
}

.mode-line {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr);
  gap: 1.2rem;
  align-items: start;
  padding: 1.2rem 0;
  border-top: 1px solid var(--line);
}

.mode-line:last-child {
  border-bottom: 1px solid var(--line);
}

.mode-number {
  color: var(--coral);
  font-family: "Outfit", "DM Sans", Arial, sans-serif;
  font-size: 2.4rem;
  font-weight: 900;
  line-height: 0.9;
}

.mode-line p,
.section-copy,
.power-copy p,
.support-facts dd {
  color: var(--ink-soft);
}

.mode-line p {
  max-width: 32rem;
  margin: 0.7rem 0 0;
  font-size: 1.08rem;
}

.power-section {
  position: relative;
  overflow: hidden;
  padding: clamp(4rem, 10vw, 8.5rem) clamp(1rem, 5vw, 5rem);
  background:
    linear-gradient(180deg, #214f48 0%, #163b38 100%);
  color: #fff8e8;
}

.power-section h2,
.power-section .eyebrow {
  color: #fff8e8;
}

.power-section .eyebrow {
  opacity: 0.82;
}

.power-section .section-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(21rem, 1.15fr);
  gap: clamp(2rem, 8vw, 7rem);
  align-items: center;
}

.power-copy p {
  max-width: 34rem;
  margin: 1.3rem 0 0;
  color: rgba(255, 248, 232, 0.78);
  font-size: 1.1rem;
}

.power-orbit {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, minmax(4rem, 1fr));
  gap: clamp(0.6rem, 1.8vw, 1.2rem);
  align-items: center;
}

.power-icon {
  width: clamp(4.5rem, 7vw, 6.4rem);
  height: clamp(4.5rem, 7vw, 6.4rem);
  justify-self: center;
  padding: 0.7rem;
  border: 1px solid rgba(255, 248, 232, 0.16);
  border-radius: 1.4rem;
  background: rgba(255, 255, 255, 0.09);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 24px 52px rgba(0, 0, 0, 0.12);
  animation: powerLift 3.6s ease-in-out infinite;
}

.power-icon:nth-child(even) {
  transform: translateY(2.5rem);
  animation-delay: 340ms;
}

.power-icon:nth-child(3n) {
  animation-delay: 680ms;
}

.flock-section {
  background:
    linear-gradient(180deg, #fffdf2 0%, #e9fbff 100%);
}

.flock-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(18rem, 1fr);
  gap: clamp(2rem, 8vw, 7rem);
  align-items: center;
}

.section-copy {
  max-width: 38rem;
  margin: 1.2rem 0 0;
  font-size: 1.1rem;
}

.flock-window {
  position: relative;
  overflow: hidden;
  padding: 3rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.flock-window::before,
.flock-window::after {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  width: 18%;
  content: "";
}

.flock-window::before {
  left: 0;
  background: linear-gradient(90deg, #e9fbff 0%, rgba(233, 251, 255, 0) 100%);
}

.flock-window::after {
  right: 0;
  background: linear-gradient(270deg, #e9fbff 0%, rgba(233, 251, 255, 0) 100%);
}

.flock-track {
  display: flex;
  width: max-content;
  gap: clamp(2.2rem, 5vw, 4.5rem);
  align-items: center;
  animation: flockMove 14s linear infinite;
}

.flock-track img {
  width: clamp(5rem, 9vw, 8rem);
  max-width: none;
  filter: drop-shadow(0 18px 16px rgba(23, 32, 31, 0.18));
}

.support-landing {
  background:
    linear-gradient(180deg, #e9fbff 0%, var(--paper-soft) 100%);
}

.support-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.76fr);
  gap: clamp(2rem, 7vw, 6rem);
  align-items: start;
}

.support-facts {
  margin: 0;
  border-top: 1px solid var(--line);
}

.support-facts div {
  display: grid;
  grid-template-columns: 6rem minmax(0, 1fr);
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.support-facts dt {
  color: var(--ink);
  font-weight: 900;
}

.support-facts dd {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
  font-weight: 800;
}

.policy-body {
  width: min(860px, 100%);
  margin: 0 auto;
}

.content-band {
  padding: clamp(4rem, 9vw, 8rem) clamp(1rem, 5vw, 5rem);
}

.policy-body h1 {
  max-width: 12ch;
  font-size: clamp(3.4rem, 9vw, 7.4rem);
}

.policy-body h2 {
  max-width: none;
  margin-top: 2.5rem;
  font-size: clamp(1.7rem, 4vw, 2.8rem);
}

.policy-body p,
.policy-body li {
  color: var(--ink-soft);
}

.policy-body a {
  color: var(--grass-deep);
  font-weight: 850;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem clamp(1rem, 5vw, 5rem);
  border-top: 1px solid var(--line);
  background: var(--paper-soft);
  color: var(--ink-soft);
}

.site-footer a {
  font-weight: 850;
  text-decoration: none;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

@keyframes birdFloat {
  0%,
  100% {
    transform: translate3d(0, -50%, 0) rotate(-5deg);
  }
  50% {
    transform: translate3d(0.6rem, calc(-50% - 1.35rem), 0) rotate(4deg);
  }
}

@keyframes drift {
  from {
    transform: translate3d(-1rem, 0, 0);
  }
  to {
    transform: translate3d(1.4rem, 0.7rem, 0);
  }
}

@keyframes coinPulse {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(0, -0.6rem, 0) scale(1.06);
  }
}

@keyframes powerLift {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -0.85rem;
  }
}

@keyframes flockMove {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-50%, 0, 0);
  }
}

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

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .hero-world {
    min-height: 84dvh;
    align-items: start;
    padding-top: 3.5rem;
  }

  .hero-copy-block {
    width: min(34rem, 100%);
  }

  .pipe-top,
  .pipe-bottom {
    right: 3%;
  }

  .pipe-second {
    right: -21%;
  }

  .hero-bird {
    left: 52%;
    top: 63%;
  }

  .coin-one {
    right: 37%;
    top: 58%;
  }

  .coin-two {
    right: 27%;
    top: 53%;
  }

  .coin-three {
    right: 16%;
    top: 58%;
  }

  .runway-grid,
  .power-section .section-inner,
  .flock-grid,
  .support-grid {
    grid-template-columns: 1fr;
  }

  .power-orbit {
    grid-template-columns: repeat(3, minmax(4rem, 1fr));
  }
}

@media (max-width: 620px) {
  .site-header {
    padding-inline: 1rem;
  }

  .nav-links a {
    padding: 0.42rem 0.5rem;
    font-size: 0.86rem;
  }

  h1 {
    font-size: clamp(3.6rem, 19vw, 5rem);
  }

  h2 {
    font-size: clamp(2.2rem, 14vw, 4rem);
  }

  .hero-world {
    min-height: 82dvh;
    padding-inline: 1.25rem;
    padding-bottom: 4rem;
  }

  .app-chip img {
    width: 3.6rem;
    height: 3.6rem;
  }

  .hero-copy-block p {
    font-size: 1.05rem;
  }

  .hero-actions,
  .support-actions {
    width: min(21rem, 100%);
  }

  .button {
    width: 100%;
  }

  .pipe {
    width: 4.9rem;
  }

  .pipe-top {
    top: -47rem;
  }

  .pipe-bottom {
    bottom: -47rem;
  }

  .hero-bird {
    left: 55%;
    top: 68%;
    width: 5.7rem;
  }

  .coin-dot {
    display: none;
  }

  .ground-line {
    right: -14rem;
    width: 42rem;
  }

  .scroll-cue {
    display: none;
  }

  .mode-line {
    grid-template-columns: 3.8rem minmax(0, 1fr);
  }

  .mode-number {
    font-size: 2rem;
  }

  .power-orbit {
    grid-template-columns: repeat(2, minmax(4rem, 1fr));
  }

  .power-icon:nth-child(even) {
    transform: none;
  }

  .support-facts div {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }
}
