@font-face {
  font-family: "LINE Seed Sans TH";
  src: url("assets/fonts/LINESeedSansTH-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "LINE Seed Sans TH";
  src: url("assets/fonts/LINESeedSansTH-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "LINE Seed Sans TH";
  src: url("assets/fonts/LINESeedSansTH-ExtraBold.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "LINE Seed Sans TH";
  src: url("assets/fonts/LINESeedSansTH-Black.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Sans Thai";
  src: url("assets/fonts/IBMPlexSansThai-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --sky: #a9c9e2;
  --sky-pale: #dcebf5;
  --sky-deep: #779fbe;
  --ink: #071625;
  --ink-soft: #102b40;
  --ice: #eef9ff;
  --muted: rgba(7, 22, 37, 0.6);
  --hairline: rgba(7, 22, 37, 0.14);
  --light-line: rgba(228, 245, 255, 0.14);
  --page-pad: clamp(1.25rem, 4vw, 4.5rem);
  --font: "LINE Seed Sans TH", Tahoma, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--sky);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.page-grain {
  position: fixed;
  inset: 0;
  z-index: 100;
  opacity: 0.045;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.88' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

.cursor-light {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 3;
  width: 36rem;
  height: 36rem;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(244, 252, 255, 0.24), transparent 68%);
  will-change: transform;
}

/* Header */
.site-header {
  position: fixed;
  top: 1.15rem;
  left: 50%;
  z-index: 30;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  width: min(calc(100% - 2.3rem), 940px);
  min-height: 3.55rem;
  padding: 0.38rem 0.46rem 0.38rem 1.05rem;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 1.05rem;
  background: rgba(210, 231, 245, 0.56);
  box-shadow: 0 10px 32px rgba(19, 54, 79, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.38);
  backdrop-filter: blur(20px) saturate(120%);
  -webkit-backdrop-filter: blur(20px) saturate(120%);
  transform: translateX(-50%);
  transition: background 300ms ease, border-color 300ms ease, box-shadow 300ms ease;
}

.site-header.is-scrolled {
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(202, 226, 242, 0.82);
  box-shadow: 0 14px 38px rgba(19, 54, 79, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.brand {
  display: inline-flex;
  align-items: baseline;
  justify-self: start;
  line-height: 1;
  letter-spacing: -0.055em;
}

.brand__code {
  font-size: 1.08rem;
  font-weight: 900;
}

.brand__name {
  margin-left: 0.15rem;
  color: rgba(7, 22, 37, 0.57);
  font-size: 1.02rem;
}

.nav {
  display: flex;
  gap: clamp(1.35rem, 2.6vw, 2.35rem);
  font-size: 0.7rem;
  font-weight: 700;
}

.nav a {
  position: relative;
  padding: 0.5rem 0;
}

.nav a::after {
  position: absolute;
  right: 0;
  bottom: 0.22rem;
  left: 0;
  height: 1px;
  content: "";
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 250ms ease;
}

.nav a:hover::after,
.nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-action {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 0.55rem;
  padding: 0.58rem 0.72rem 0.58rem 0.86rem;
  border: 1px solid rgba(7, 22, 37, 0.18);
  border-radius: 0.78rem;
  background: rgba(239, 249, 255, 0.25);
  font-size: 0.69rem;
  font-weight: 700;
  transition: background 200ms ease, transform 200ms ease;
}

.header-action:hover {
  background: rgba(241, 251, 255, 0.55);
}

.header-action svg {
  width: 0.9rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.header-account {
  position: relative;
  justify-self: end;
}

.header-account > [hidden],
.account-menu[hidden] {
  display: none;
}

.account-button {
  display: flex;
  align-items: center;
  gap: 0.52rem;
  max-width: 16rem;
  padding: 0.34rem 0.58rem 0.34rem 0.34rem;
  border: 1px solid rgba(7, 22, 37, 0.18);
  border-radius: 0.82rem;
  color: var(--ink);
  background: rgba(239, 249, 255, 0.32);
  font: inherit;
  cursor: pointer;
  transition: background 200ms ease, border-color 200ms ease;
}

.account-button:hover,
.account-button[aria-expanded="true"] {
  border-color: rgba(7, 22, 37, 0.28);
  background: rgba(241, 251, 255, 0.66);
}

.account-button__avatar {
  display: grid;
  flex: 0 0 auto;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border-radius: 0.62rem;
  color: #eff9ff;
  background: #102b40;
  font-size: 0.75rem;
  font-weight: 800;
  overflow: hidden;
}

.account-button__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.account-button__avatar img[hidden],
.account-button__avatar span[hidden] {
  display: none;
}

.account-button__label {
  overflow: hidden;
  font-size: 0.7rem;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-button > svg {
  flex: 0 0 auto;
  width: 0.85rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 180ms ease;
}

.account-button[aria-expanded="true"] > svg {
  transform: rotate(180deg);
}

.account-menu {
  position: absolute;
  top: calc(100% + 0.58rem);
  right: 0;
  width: min(18rem, calc(100vw - 2rem));
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.64);
  border-radius: 1rem;
  background: rgba(229, 242, 250, 0.96);
  box-shadow: 0 18px 50px rgba(19, 54, 79, 0.2);
  backdrop-filter: blur(22px) saturate(130%);
  -webkit-backdrop-filter: blur(22px) saturate(130%);
}

.account-menu__identity {
  display: grid;
  gap: 0.22rem;
  padding: 0.92rem 1rem 0.78rem;
}

.account-menu__identity strong,
.account-menu__identity span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-menu__identity strong {
  font-size: 0.78rem;
}

.account-menu__identity span {
  color: rgba(7, 22, 37, 0.58);
  font-size: 0.65rem;
}

.account-menu__logout {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  width: 100%;
  padding: 0.72rem 1rem;
  border: 0;
  border-top: 1px solid rgba(7, 22, 37, 0.1);
  color: #7d2830;
  background: rgba(255, 255, 255, 0.2);
  font: inherit;
  font-size: 0.68rem;
  font-weight: 750;
  text-align: left;
  cursor: pointer;
}

.account-menu__logout:hover {
  background: rgba(255, 255, 255, 0.56);
}

.account-menu__logout:disabled {
  opacity: 0.55;
  cursor: wait;
}

.account-menu__logout svg {
  width: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* One continuous background for the hero and payment network */
.landing-flow {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--sky);
}

.landing-flow::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  content: "";
  background:
    radial-gradient(ellipse at 50% 24%, rgba(238, 249, 255, 0.78) 0%, rgba(202, 225, 241, 0.4) 20%, transparent 42%),
    radial-gradient(circle at 2% 44%, rgba(93, 145, 183, 0.25), transparent 18%),
    radial-gradient(circle at 97% 2%, rgba(244, 251, 255, 0.26), transparent 16%);
}

.landing-flow::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  opacity: 0.42;
  background-image:
    linear-gradient(rgba(7, 22, 37, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(7, 22, 37, 0.05) 1px, transparent 1px);
  background-size: clamp(75px, 8vw, 145px) clamp(75px, 8vw, 145px);
  mask-image: radial-gradient(circle at 50% 26%, transparent 9%, #000 72%);
}

.hero__wash {
  position: absolute;
  top: -25svh;
  left: 43%;
  z-index: 0;
  width: 16vw;
  height: 175svh;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(242, 251, 255, 0.28), transparent);
  filter: blur(10px);
  mask-image: linear-gradient(to bottom, #000 0%, #000 68%, transparent 100%);
  transform: rotate(38deg);
  transform-origin: center top;
}

/* Centered zero-gravity hero */
.hero {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: max(680px, 100svh);
  overflow: hidden;
  padding: 7rem var(--page-pad) 5.2rem;
  border-bottom: 0;
}

.hero__content {
  position: relative;
  z-index: 7;
  align-self: center;
  justify-self: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.34rem;
  width: min(920px, 74vw);
  min-width: 0;
  max-width: 100%;
  margin-top: -0.15rem;
  text-align: center;
}

.hero__content > * {
  flex: 0 0 auto;
}

.hero__kicker,
.section-label,
.section-index,
.card-meta {
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero__kicker {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin: 0;
  color: rgba(7, 22, 37, 0.56);
  font-size: clamp(0.44rem, 0.52vw, 0.56rem);
}

.hero__kicker span {
  width: 2.2rem;
  height: 1px;
  background: currentColor;
}

.hero__title {
  position: relative;
  width: min(820px, 72vw);
  max-width: 100%;
  height: clamp(6rem, 7vw, 7rem);
  margin: 0;
  overflow: hidden;
  color: var(--ink);
  font-family: "IBM Plex Sans Thai", var(--font);
  font-size: clamp(4rem, 7.8vw, 7.5rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.06em;
  white-space: nowrap;
}

.hero__title-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

.tech-text {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  max-width: 100%;
  height: 100%;
  overflow: hidden;
  touch-action: pan-y;
  user-select: none;
}

.tech-text__canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.hero__title.is-tech-ready .hero__title-fallback {
  opacity: 0;
  visibility: hidden;
}

.hero__description {
  max-width: 680px;
  margin: 0 auto;
  color: rgba(7, 22, 37, 0.67);
  font-size: clamp(0.78rem, 0.9vw, 0.9rem);
  line-height: 1.35;
}

.hero__description br {
  display: none;
}

.hero-create {
  display: flex;
  align-items: center;
  width: min(100%, 610px);
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  margin-top: 0.16rem;
  padding: 0.38rem;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 1.08rem;
  background: rgba(210, 231, 245, 0.56);
  box-shadow: 0 14px 38px rgba(19, 54, 79, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(20px) saturate(125%);
  -webkit-backdrop-filter: blur(20px) saturate(125%);
}

.hero-create__field {
  display: flex;
  align-items: center;
  min-width: 0;
  flex: 1;
  padding-left: 1rem;
  color: rgba(7, 22, 37, 0.48);
  font-size: 0.76rem;
  font-weight: 700;
}

.hero-create__field input {
  min-width: 0;
  max-width: 100%;
}

.hero-create__field:focus-within {
  color: var(--ink);
}

.hero-create__field input {
  width: 100%;
  min-width: 0;
  height: 3rem;
  padding: 0 0.55rem 0 0.15rem;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
  font-size: 0.8rem;
  font-weight: 700;
  caret-color: var(--ink);
  appearance: none;
  -webkit-appearance: none;
}

.hero-create__field input::placeholder {
  color: rgba(7, 22, 37, 0.35);
  font-weight: 400;
}

.hero-create__field input::selection {
  color: var(--ink);
  background: rgba(7, 22, 37, 0.12);
}

.hero-create__field input:-webkit-autofill,
.hero-create__field input:-webkit-autofill:hover,
.hero-create__field input:-webkit-autofill:focus,
.hero-create__field input:-webkit-autofill:active {
  border: 0;
  -webkit-text-fill-color: var(--ink);
  caret-color: var(--ink);
  background-color: transparent !important;
  box-shadow: 0 0 0 1000px transparent inset !important;
  -webkit-box-shadow: 0 0 0 1000px transparent inset !important;
  transition: background-color 9999s ease-out 0s;
}

.hero-create__button {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 3rem;
  padding: 0.45rem 0.5rem 0.45rem 1.05rem;
  border: 0;
  border-radius: 0.76rem;
  color: var(--ice);
  background: var(--ink);
  box-shadow: 0 10px 24px rgba(7, 22, 37, 0.16);
  font-size: 0.72rem;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition: background 200ms ease, box-shadow 200ms ease, transform 200ms ease;
}

.hero-create__button:hover {
  background: #0d283d;
  box-shadow: 0 14px 30px rgba(7, 22, 37, 0.23);
}

.hero-create__button i {
  display: grid;
  width: 2.12rem;
  height: 2.12rem;
  border-radius: 0.62rem;
  place-items: center;
  color: var(--ink);
  background: var(--ice);
  font-style: normal;
}

.hero-create__hint {
  min-height: 1rem;
  margin: 0.55rem 0 0;
  color: rgba(7, 22, 37, 0.48);
  font-size: 0.58rem;
  letter-spacing: 0.02em;
}

.hero-create__hint.is-error {
  color: #7b2f3c;
}

.hero-create__hint.is-success {
  color: #235f43;
}

.hero__scroll-down {
  position: absolute;
  bottom: 1.35rem;
  left: 50%;
  z-index: 10;
  display: grid;
  width: 2.85rem;
  height: 2.85rem;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 50%;
  place-items: center;
  color: rgba(7, 22, 37, 0.78);
  background: linear-gradient(145deg, rgba(246, 252, 255, 0.72), rgba(194, 220, 238, 0.34));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.88),
    inset 0 -5px 12px rgba(57, 101, 132, 0.08),
    0 9px 22px rgba(31, 72, 103, 0.2),
    0 2px 5px rgba(7, 22, 37, 0.1);
  backdrop-filter: blur(12px) saturate(125%);
  cursor: pointer;
  pointer-events: auto;
  text-decoration: none;
  transform: translateX(-50%);
  transition: opacity 240ms ease, visibility 240ms ease;
}

.hero__scroll-down svg {
  width: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  animation: scroll-arrow 1.8s ease-in-out infinite;
}

.hero__scroll-down.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.hero__orbit {
  position: absolute;
  inset: 4.8rem 0 2.35rem;
  z-index: 4;
  pointer-events: none;
}

.platform {
  --enter-delay: 0ms;
  --burst-x: 0px;
  --burst-y: 0px;
  position: absolute;
  top: var(--y);
  left: var(--x);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.72rem;
  width: auto;
  height: 3.45rem;
  padding: 0.68rem 1rem 0.68rem 0.76rem;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 1.15rem;
  color: var(--ink);
  background: linear-gradient(145deg, rgba(244, 251, 255, 0.64), rgba(218, 237, 249, 0.24));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78), 0 16px 34px rgba(45, 88, 120, 0.11);
  backdrop-filter: blur(18px) saturate(125%);
  opacity: 0;
  transform: translate(-50%, -50%) rotate(var(--rotate)) scale(0.16);
  animation: gravity-explosion 1.25s var(--enter-delay) cubic-bezier(0.16, 0.82, 0.24, 1) both;
  will-change: transform;
}

.platform:nth-child(1) { --enter-delay: 80ms; --burst-x: -16px; --burst-y: -12px; }
.platform:nth-child(2) { --enter-delay: 150ms; --burst-x: 15px; --burst-y: -15px; }
.platform:nth-child(3) { --enter-delay: 210ms; --burst-x: -18px; --burst-y: 8px; }
.platform:nth-child(4) { --enter-delay: 260ms; --burst-x: 18px; --burst-y: 7px; }
.platform:nth-child(5) { --enter-delay: 320ms; --burst-x: -12px; --burst-y: 13px; }
.platform:nth-child(6) { --enter-delay: 370ms; --burst-x: 13px; --burst-y: 14px; }

.platform.is-floating {
  opacity: 1;
  animation: zero-gravity 7.5s ease-in-out infinite alternate;
}

.platform::after {
  position: absolute;
  right: 18%;
  bottom: -0.62rem;
  left: 18%;
  height: 0.48rem;
  content: "";
  border-radius: 50%;
  background: rgba(33, 73, 104, 0.13);
  filter: blur(8px);
}

.platform svg {
  display: block;
  width: 1.75rem;
  height: 1.75rem;
  flex: 0 0 auto;
  overflow: visible;
}

.platform > span {
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1;
  white-space: nowrap;
}

.platform--youtube {
  height: 3.45rem;
  padding: 0.68rem 1.05rem 0.68rem 0.8rem;
  border-radius: 1.45rem 1.2rem 1.55rem 1.05rem;
}

.platform--twitch {
  height: 3.55rem;
  padding: 0.7rem 1rem 0.7rem 0.82rem;
  border-radius: 1.15rem 1.55rem 1.25rem 1.7rem;
}

.platform--tiktok {
  height: 3.5rem;
  padding: 0.7rem 1rem 0.7rem 0.8rem;
  border-radius: 1.2rem;
}

.platform--kick {
  height: 3.4rem;
  padding: 0.68rem 1rem 0.68rem 0.8rem;
  border-radius: 1.55rem 1.1rem 1.35rem 1.65rem;
}

.platform--facebook {
  height: 3.35rem;
  padding: 0.66rem 1rem 0.66rem 0.72rem;
  border-radius: 1.1rem;
}

.platform--facebook svg {
  fill: #1877f2;
}

.platform--discord {
  height: 3.45rem;
  padding: 0.68rem 1rem 0.68rem 0.78rem;
  border-radius: 1.2rem 1.6rem 1.15rem 1.45rem;
}

.gravity-dot,
.gravity-cross {
  position: absolute;
  color: rgba(7, 22, 37, 0.32);
}

.gravity-dot {
  width: 0.34rem;
  height: 0.34rem;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.13);
}

.gravity-dot--one { top: 18%; left: 31%; }
.gravity-dot--two { top: 72%; left: 61%; }
.gravity-dot--three { top: 43%; left: 92%; }
.gravity-cross { font-size: 0.85rem; animation: cross-spin 12s linear infinite; }
.gravity-cross--one { top: 43%; left: 4%; }
.gravity-cross--two { top: 16%; left: 68%; animation-direction: reverse; }

/* Direct payment network */
.direct-payment {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 2.6rem;
  overflow: hidden;
  padding: 0.5rem var(--page-pad) 6rem;
}

.direct-payment::before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(86vw, 1120px);
  height: min(58vw, 620px);
  content: "";
  pointer-events: none;
  background: radial-gradient(ellipse, rgba(235, 248, 255, 0.26) 0%, rgba(219, 238, 250, 0.12) 38%, transparent 72%);
  filter: blur(18px);
  transform: translate(-50%, -50%);
}

.route {
  fill: none;
  stroke-linecap: round;
  stroke-width: 1.25;
  vector-effect: non-scaling-stroke;
}

.route--soft {
  stroke: rgba(17, 52, 77, 0.25);
  stroke-dasharray: 2 8;
}

.route--active {
  stroke: rgba(8, 38, 61, 0.68);
  stroke-width: 1.8;
  stroke-dasharray: 4 9;
  filter: drop-shadow(0 0 5px rgba(239, 250, 255, 0.88));
  animation: payment-route 1.8s linear infinite;
}

.route--branch {
  marker-end: url("#route-arrow");
}

.route-particle {
  fill: #f4fbff;
  filter: drop-shadow(0 0 4px rgba(8, 38, 61, 0.9)) drop-shadow(0 0 8px rgba(236, 248, 255, 0.9));
}

.route-particle--soft {
  fill: rgba(19, 58, 84, 0.72);
  filter: drop-shadow(0 0 5px rgba(239, 250, 255, 0.82));
}

#route-arrow path {
  fill: none;
  stroke: rgba(8, 38, 61, 0.78);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.direct-head {
  position: relative;
  max-width: 760px;
  text-align: center;
}

.direct-head .section-label {
  margin-bottom: 1.1rem;
  color: rgba(7, 22, 37, 0.58);
}

.direct-head h2 {
  margin: 0;
  font-size: clamp(2.3rem, 4.8vw, 4.6rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.06em;
}

.direct-head h2 span {
  color: var(--ink-soft);
}

.direct-head__text {
  margin: 1.2rem auto 0;
  max-width: 480px;
  color: var(--muted);
  font-size: clamp(0.88rem, 1.05vw, 1rem);
  line-height: 1.7;
}

.flow-panel {
  position: relative;
  width: min(100%, 1120px);
  padding: 3.6rem clamp(1.5rem, 4vw, 3.4rem) 4.4rem;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 2.4rem;
  background: linear-gradient(145deg, rgba(240, 249, 255, 0.5), rgba(188, 217, 236, 0.22));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    inset 0 -18px 40px rgba(92, 144, 179, 0.06),
    0 28px 64px rgba(36, 80, 111, 0.12);
  backdrop-filter: blur(14px) saturate(112%);
  -webkit-backdrop-filter: blur(14px) saturate(112%);
}

.flow {
  display: grid;
  grid-template-columns: auto minmax(5.5rem, 1fr) auto minmax(5.5rem, 1fr) 8rem auto;
  align-items: center;
}

.flow-step {
  position: relative;
  display: grid;
  justify-items: center;
}

.flow-label {
  display: grid;
  gap: 0.2rem;
  line-height: 1.2;
}

.flow-label strong {
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.flow-label small {
  color: var(--muted);
  font-size: 0.74rem;
}

.flow-step .flow-label {
  position: absolute;
  top: calc(100% + 1.1rem);
  left: 50%;
  justify-items: center;
  text-align: center;
  white-space: nowrap;
  transform: translateX(-50%);
}

.flow-node {
  position: relative;
  display: grid;
  width: 6rem;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 50%;
  place-items: center;
  background: linear-gradient(145deg, rgba(250, 253, 255, 0.9), rgba(196, 223, 240, 0.55));
  box-shadow:
    inset 0 1px 0 #fff,
    inset 0 -10px 24px rgba(92, 144, 179, 0.08),
    0 0 0 8px rgba(238, 249, 255, 0.14),
    0 16px 36px rgba(36, 80, 111, 0.15);
}

.flow-node::before {
  position: absolute;
  inset: -1.1rem;
  content: "";
  border: 1px dashed rgba(7, 22, 37, 0.14);
  border-radius: 50%;
  animation: ring-rotate 18s linear infinite;
}

.flow-node svg {
  width: 44%;
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.flow-brand {
  position: relative;
  display: flex;
  align-items: baseline;
  justify-content: center;
  min-width: 12.4rem;
  padding: 1.55rem 1.8rem 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 1.8rem;
  background: linear-gradient(145deg, rgba(250, 253, 255, 0.92), rgba(190, 218, 237, 0.6));
  box-shadow:
    inset 0 1px 0 #fff,
    inset 0 -14px 30px rgba(76, 127, 161, 0.08),
    0 0 0 10px rgba(238, 249, 255, 0.1),
    0 22px 48px rgba(35, 80, 112, 0.18);
}

.flow-brand::before {
  position: absolute;
  inset: -13px;
  content: "";
  border: 1px solid rgba(235, 248, 255, 0.4);
  border-radius: 2.3rem;
  animation: system-pulse 3.2s ease-in-out infinite;
}

.flow-brand__code {
  font-size: 2.5rem;
  font-weight: 900;
  letter-spacing: -0.07em;
}

.flow-brand__name {
  color: rgba(7, 22, 37, 0.56);
  font-size: 1.5rem;
  letter-spacing: -0.05em;
}

.flow-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.95rem 0.5rem 0.55rem;
  border: 1px solid rgba(20, 168, 107, 0.42);
  border-radius: 999px;
  color: #0a6a45;
  background: rgba(238, 248, 255, 0.9);
  box-shadow: 0 8px 20px rgba(18, 82, 58, 0.14), inset 0 1px 0 #fff;
  font-size: 0.8rem;
  font-weight: 800;
  line-height: 1;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.flow-badge svg {
  width: 1.2rem;
  padding: 0.2rem;
  border-radius: 50%;
  background: #14a86b;
  fill: none;
  stroke: #fff;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.flow-step .flow-label--bypass {
  top: calc(50% + 5.4rem);
  transform: translate(-50%, -50%);
}

.flow-bypass {
  position: absolute;
  top: 50%;
  left: -3rem;
  width: calc(100% + 6rem);
  height: 6.1rem;
  overflow: visible;
  pointer-events: none;
}

.route-bypass {
  fill: none;
  stroke: #14a86b;
  stroke-width: 2;
  stroke-dasharray: 6 7;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
  filter: drop-shadow(0 0 4px rgba(239, 250, 255, 0.9));
  animation: bypass-dash 1.1s linear infinite;
}

.route-particle--red {
  fill: #fff;
  filter: drop-shadow(0 0 4px rgba(20, 168, 107, 0.95));
}

.flow-link {
  position: relative;
  height: 2px;
  margin: 0;
  background: repeating-linear-gradient(90deg, var(--link-color) 0 6px, transparent 6px 13px);
  animation: link-dash 1.1s linear infinite;
}

.flow-link--soft { --link-color: rgba(17, 52, 77, 0.3); margin-right: 3rem; }
.flow-link--active { --link-color: rgba(8, 38, 61, 0.7); margin-left: 3rem; }

.flow-link::before {
  position: absolute;
  top: 50%;
  display: none;
  right: -2px;
  width: 7px;
  height: 7px;
  content: "";
  border-top: 1.6px solid var(--link-color);
  border-right: 1.6px solid var(--link-color);
  transform: translateY(-50%) rotate(45deg);
}

.flow-link::after {
  position: absolute;
  top: 50%;
  left: 0;
  width: 7px;
  height: 7px;
  content: "";
  border-radius: 50%;
  background: #f4fbff;
  box-shadow: 0 0 0 1px rgba(8, 38, 61, 0.5), 0 0 10px rgba(236, 248, 255, 0.95);
  transform: translateY(-50%);
  animation: link-dot 2.8s ease-in-out infinite;
}

.flow-fork {
  display: block;
  width: 8rem;
  height: 17.5rem;
  overflow: visible;
}

.flow-payouts {
  display: grid;
  height: 17.5rem;
  grid-template-rows: 1fr 1fr;
  align-items: center;
}

.payout-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.7rem 1.6rem 0.7rem 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 1.9rem;
  background: linear-gradient(145deg, rgba(250, 253, 255, 0.85), rgba(205, 228, 243, 0.5));
  box-shadow:
    inset 0 1px 0 #fff,
    0 0 0 7px rgba(238, 249, 255, 0.1),
    0 16px 34px rgba(36, 80, 111, 0.15);
}

.payout-card__icon {
  display: grid;
  flex: none;
  width: 4.4rem;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 1.35rem;
  place-items: center;
  background: #fff;
  box-shadow: 0 8px 18px rgba(39, 76, 102, 0.14);
}

.payout-card__icon img {
  display: block;
  width: 62%;
  height: 62%;
  object-fit: contain;
}

.payout-card__icon--wallet img {
  width: 148%;
  height: 112%;
  max-width: none;
  mix-blend-mode: multiply;
}

.payout-card .flow-label strong {
  font-size: 1rem;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 800ms ease, transform 900ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.is-ready .reveal {
  opacity: 1;
  transform: translateY(0);
}

/* Dark editorial sections */
.section-dark {
  color: var(--ice);
  background: var(--ink);
}

.section-index {
  margin: 0;
  color: rgba(222, 241, 253, 0.38);
  font-size: 0.48rem;
}

.section-label {
  margin: 0 0 1.3rem;
  color: #8fb3cb;
  font-size: 0.54rem;
}

.manifesto {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.55fr);
  gap: clamp(3rem, 9vw, 10rem);
  min-height: 85vh;
  padding: 3rem var(--page-pad) 7rem;
  color: var(--ink);
  background: var(--sky);
}

.manifesto .section-index {
  grid-column: 1 / -1;
  color: rgba(7, 22, 37, 0.42);
}

.manifesto .section-label {
  color: rgba(7, 22, 37, 0.58);
}

.manifesto__copy {
  align-self: center;
  max-width: 850px;
}

.manifesto h2,
.section-head h2,
.workflow h2,
.join h2 {
  margin: 0;
  font-size: clamp(3.4rem, 7vw, 7.6rem);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.065em;
}

.manifesto h2 span,
.join h2 span {
  color: #88aec8;
}

.manifesto h2 span {
  color: var(--ink-soft);
}

.manifesto__copy > p:last-child {
  max-width: 560px;
  margin: 2.5rem 0 0;
  color: rgba(7, 22, 37, 0.62);
  font-size: 1rem;
  line-height: 1.8;
}

.manifesto__signal {
  position: relative;
  align-self: center;
  justify-self: center;
  display: grid;
  width: min(32vw, 430px);
  aspect-ratio: 1;
  place-items: center;
}

.signal-core {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--ink);
  transform: rotate(-8deg);
}

.signal-core::before {
  position: absolute;
  inset: -1.4rem -1.7rem;
  z-index: -1;
  content: "";
  border-radius: 1.4rem;
  background: linear-gradient(145deg, #d8edf9, #85acc7);
  box-shadow: 0 25px 80px rgba(96, 153, 191, 0.28);
}

.signal-core span {
  font-size: clamp(2.2rem, 4vw, 4rem);
  font-weight: 900;
  letter-spacing: -0.08em;
}

.signal-core small {
  font-size: 0.45rem;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 0.14em;
}

.ring {
  position: absolute;
  border: 1px solid rgba(7, 22, 37, 0.14);
  border-radius: 50%;
}

.ring--1 { inset: 14%; animation: ring-rotate 14s linear infinite; }
.ring--2 { inset: 3%; border-style: dashed; animation: ring-rotate 22s linear infinite reverse; }
.ring--3 { inset: -10%; opacity: 0.45; animation: ring-pulse 5s ease-in-out infinite; }
.ring--1::after,
.ring--2::after {
  position: absolute;
  top: 12%;
  left: 12%;
  width: 0.45rem;
  height: 0.45rem;
  content: "";
  border-radius: 50%;
  background: var(--ink-soft);
  box-shadow: 0 0 18px rgba(16, 43, 64, 0.5);
}

.features {
  padding: 5rem var(--page-pad) 9rem;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(240px, 0.5fr);
  align-items: end;
  gap: 4rem;
  margin-bottom: 4rem;
}

.section-head > p {
  margin: 0 0 0.5rem;
  color: rgba(228, 244, 254, 0.55);
  font-size: 0.92rem;
  line-height: 1.75;
}

.bento {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  grid-template-rows: repeat(2, minmax(330px, 1fr));
  gap: 1rem;
}

.feature-card {
  --spot-x: 50%;
  --spot-y: 50%;
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 330px;
  overflow: hidden;
  padding: clamp(1.35rem, 2.7vw, 2.5rem);
  border: 1px solid rgba(218, 241, 255, 0.13);
  border-radius: 1.4rem;
  background:
    radial-gradient(300px circle at var(--spot-x) var(--spot-y), rgba(151, 200, 230, 0.12), transparent 55%),
    rgba(219, 240, 253, 0.035);
}

.feature-card--alert {
  grid-row: 1 / 3;
}

.card-meta {
  display: flex;
  justify-content: space-between;
  color: rgba(221, 241, 253, 0.4);
  font-size: 0.47rem;
}

.card-copy {
  position: relative;
  z-index: 2;
  margin-top: auto;
}

.card-copy h3 {
  margin: 0;
  font-size: clamp(1.6rem, 2.6vw, 2.7rem);
  font-weight: 700;
  letter-spacing: -0.04em;
}

.card-copy p {
  max-width: 480px;
  margin: 0.75rem 0 0;
  color: rgba(226, 243, 253, 0.5);
  font-size: 0.84rem;
  line-height: 1.7;
}

.alert-preview {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  width: min(88%, 560px);
  margin: auto;
  padding: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 1.2rem;
  background: linear-gradient(145deg, rgba(203, 229, 244, 0.2), rgba(107, 154, 185, 0.08));
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
  transform: rotate(-3deg);
  backdrop-filter: blur(18px);
}

.alert-avatar {
  display: grid;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 1rem;
  place-items: center;
  color: var(--ink);
  background: #b8d9ed;
  font-size: 1.35rem;
  font-weight: 900;
}

.alert-preview small,
.alert-preview p {
  display: block;
  color: rgba(231, 247, 255, 0.55);
  font-size: 0.63rem;
}

.alert-preview strong {
  display: block;
  margin: 0.16rem 0;
  font-size: 1.75rem;
}

.alert-preview p {
  margin: 0;
}

.alert-live {
  align-self: start;
  padding: 0.28rem 0.46rem;
  border-radius: 0.35rem;
  color: #b7d5e8;
  background: rgba(137, 184, 213, 0.13);
  font-size: 0.45rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.link-visual {
  display: flex;
  align-items: baseline;
  margin: auto 0;
  color: rgba(223, 241, 252, 0.4);
  font-size: clamp(1.5rem, 3.5vw, 3.7rem);
  letter-spacing: -0.06em;
}

.link-visual strong {
  color: var(--ice);
}

.link-visual i {
  margin-left: auto;
  color: #87afc9;
  font-style: normal;
}

.wave {
  display: flex;
  align-items: center;
  gap: 0.42rem;
  height: 7rem;
  margin: auto 0;
}

.wave i {
  width: 0.3rem;
  height: calc(15% + var(--h, 35%));
  border-radius: 999px;
  background: linear-gradient(#b4d8ec, #477896);
  animation: wave 1.4s ease-in-out infinite alternate;
}

.wave i:nth-child(3n) { --h: 70%; animation-delay: -0.8s; }
.wave i:nth-child(3n + 1) { --h: 30%; animation-delay: -0.3s; }
.wave i:nth-child(3n + 2) { --h: 50%; animation-delay: -1.1s; }

.safe-mark {
  display: grid;
  width: 7rem;
  height: 7rem;
  margin: auto;
  border: 1px solid rgba(180, 218, 239, 0.2);
  border-radius: 50%;
  place-items: center;
  box-shadow: 0 0 0 1rem rgba(145, 194, 222, 0.025), 0 0 0 2rem rgba(145, 194, 222, 0.02);
}

.safe-mark span {
  display: grid;
  width: 3.3rem;
  height: 3.3rem;
  border-radius: 50%;
  place-items: center;
  color: var(--ink);
  background: #afd2e6;
  font-size: 1.4rem;
  font-weight: 900;
}

/* Workflow */
.workflow {
  padding: 3rem var(--page-pad) 9rem;
  color: var(--ink);
  background: var(--sky);
}

.workflow .section-index {
  color: var(--muted);
}

.workflow__head {
  max-width: 950px;
  margin: 7rem auto 5rem;
  text-align: center;
}

.workflow__head .section-label {
  color: rgba(7, 22, 37, 0.52);
}

.workflow__list {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0;
  border-top: 1px solid var(--hairline);
  list-style: none;
}

.workflow__list li {
  display: grid;
  grid-template-columns: 5rem 1fr auto;
  align-items: center;
  min-height: 10.5rem;
  border-bottom: 0;
  transition: padding 280ms ease, background 280ms ease;
}

.workflow__list li:hover {
  padding: 0 1.25rem;
  background: rgba(232, 246, 253, 0.19);
}

.workflow__list li > span {
  color: var(--muted);
  font-size: 0.65rem;
  font-weight: 700;
}

.workflow__list small {
  color: var(--muted);
  font-size: 0.48rem;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.workflow__list h3 {
  margin: 0.35rem 0 0;
  font-size: clamp(1.55rem, 3vw, 3rem);
  letter-spacing: -0.04em;
}

.workflow__list p {
  margin: 0.3rem 0 0;
  color: var(--muted);
  font-size: 0.8rem;
}

.workflow__list i {
  font-size: 1.5rem;
  font-style: normal;
}

/* Join + footer */
.join {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 82vh;
  overflow: hidden;
  padding: 9rem var(--page-pad);
  text-align: center;
  color: var(--ice);
  background: var(--ink);
}

.join__halo {
  position: absolute;
  top: 42%;
  left: 50%;
  width: min(75vw, 850px);
  aspect-ratio: 1.6;
  border-radius: 50%;
  background: rgba(96, 157, 196, 0.24);
  filter: blur(100px);
  transform: translate(-50%, -50%);
}

.join > *:not(.join__halo) {
  position: relative;
  z-index: 2;
}

.join > p:not(.section-label):not(.form-status) {
  max-width: 560px;
  margin: 2rem 0 0;
  color: rgba(225, 243, 253, 0.55);
  font-size: 0.9rem;
  line-height: 1.7;
}

.waitlist-form {
  display: flex;
  width: min(100%, 560px);
  margin-top: 2.4rem;
  padding: 0.4rem;
  border: 1px solid rgba(221, 242, 254, 0.16);
  border-radius: 1rem;
  background: rgba(216, 239, 253, 0.055);
}

.waitlist-form input {
  min-width: 0;
  flex: 1;
  padding: 0.8rem 1rem;
  border: 0;
  outline: 0;
  color: var(--ice);
  background: transparent;
  font-size: 0.82rem;
}

.waitlist-form input::placeholder {
  color: rgba(222, 241, 252, 0.37);
}

.waitlist-form button {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  padding: 0.85rem 1.1rem;
  border: 0;
  border-radius: 0.72rem;
  color: var(--ink);
  background: #b9d9eb;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
}

.form-status {
  min-height: 1.2rem;
  margin: 0.9rem 0 0;
  color: #a9cfe5;
  font-size: 0.68rem;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto;
  align-items: center;
  gap: 2rem;
  padding: 2rem var(--page-pad);
  border-top: 1px solid rgba(216, 239, 253, 0.12);
  color: rgba(221, 240, 252, 0.44);
  background: var(--ink);
  font-size: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.brand--footer {
  color: var(--ice);
}

.brand--footer .brand__name {
  color: #8eb2ca;
}

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

.footer-links a:hover {
  color: var(--ice);
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms ease, transform 800ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes zero-gravity {
  0% { transform: translate(-50%, -50%) translate(var(--mx, 0), var(--my, 0)) rotate(var(--rotate)); }
  45% { transform: translate(-50%, calc(-50% - var(--drift))) translate(var(--mx, 0), var(--my, 0)) rotate(calc(var(--rotate) + 4deg)); }
  100% { transform: translate(calc(-50% + 7px), calc(-50% - 5px)) translate(var(--mx, 0), var(--my, 0)) rotate(calc(var(--rotate) - 3deg)); }
}

@keyframes gravity-explosion {
  0% {
    top: 50%;
    left: 50%;
    opacity: 0;
    filter: blur(5px);
    transform: translate(-50%, -50%) rotate(calc(var(--rotate) * -0.35)) scale(0.16);
  }
  18% {
    opacity: 0.9;
  }
  72% {
    top: calc(var(--y) + var(--burst-y));
    left: calc(var(--x) + var(--burst-x));
    opacity: 1;
    filter: blur(0);
    transform: translate(-50%, -50%) rotate(calc(var(--rotate) + 3deg)) scale(1.075);
  }
  88% {
    top: var(--y);
    left: var(--x);
    transform: translate(-50%, -50%) rotate(calc(var(--rotate) - 1deg)) scale(0.985);
  }
  100% {
    top: var(--y);
    left: var(--x);
    opacity: 1;
    filter: blur(0);
    transform: translate(-50%, -50%) rotate(var(--rotate)) scale(1);
  }
}

@keyframes scroll-arrow {
  0%, 100% { transform: translateY(-2px); }
  50% { transform: translateY(2px); }
}

@keyframes ticker {
  to { transform: translateX(-100%); }
}

@keyframes cross-spin {
  to { transform: rotate(360deg); }
}

/* reveal on first scroll */
.flow-panel.will-animate {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.flow-panel.will-animate.is-visible {
  opacity: 1;
  transform: none;
}

.will-animate .flow-node,
.will-animate .flow-brand,
.will-animate .payout-card {
  opacity: 0;
  filter: blur(8px);
  transition: opacity 0.55s ease, filter 0.55s ease;
}

.will-animate .flow-label {
  opacity: 0;
  transition: opacity 0.5s ease;
}

.will-animate .flow-link,
.will-animate .flow-bypass,
.will-animate .flow-fork {
  clip-path: inset(-12px 100% -12px 0);
  transition: clip-path 0.5s cubic-bezier(0.5, 0, 0.2, 1);
}

.will-animate.is-visible .flow-node,
.will-animate.is-visible .flow-brand,
.will-animate.is-visible .payout-card {
  opacity: 1;
  filter: none;
}

.will-animate.is-visible .flow-label { opacity: 1; }

.will-animate.is-visible .flow-link,
.will-animate.is-visible .flow-bypass,
.will-animate.is-visible .flow-fork {
  clip-path: inset(-12px -12px -12px 0);
}

.will-animate.is-visible .flow-node,
.will-animate.is-visible .flow-brand { transition-delay: 0.1s; }
.will-animate.is-visible .flow-label { transition-delay: 0.25s; }
.will-animate.is-visible .flow-link--soft { transition-delay: 0.2s; transition-duration: 0.45s; }
.will-animate.is-visible .flow-bypass { transition-delay: 0.3s; transition-duration: 0.6s; }
.will-animate.is-visible .flow-link--active { transition-delay: 0.4s; transition-duration: 0.4s; }
.will-animate.is-visible .flow-fork { transition-delay: 0.5s; transition-duration: 0.5s; }
.will-animate.is-visible .payout-card:nth-child(1) { transition-delay: 0.3s; }
.will-animate.is-visible .payout-card:nth-child(2) { transition-delay: 0.38s; }

@keyframes bypass-dash {
  to { stroke-dashoffset: -13; }
}

@keyframes link-dash {
  to { background-position: 13px 0; }
}

@keyframes link-dot {
  0% { left: 0; opacity: 0; }
  15%, 85% { opacity: 1; }
  100% { left: calc(100% - 7px); opacity: 0; }
}

@keyframes payment-route {
  to { stroke-dashoffset: -34; }
}

@keyframes system-pulse {
  0%, 100% {
    opacity: 0.38;
    transform: scale(0.96);
  }
  50% {
    opacity: 0.78;
    transform: scale(1.04);
  }
}

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

@keyframes ring-pulse {
  50% { transform: scale(1.06); opacity: 0.75; }
}

@keyframes wave {
  to { height: 18%; opacity: 0.42; }
}

@media (max-width: 1100px) {
  .nav {
    display: none;
  }

  .site-header {
    grid-template-columns: 1fr 1fr;
    width: min(calc(100% - 2rem), 680px);
  }

  .hero__content {
    width: min(780px, 78vw);
  }

  .platform--youtube { --x: 13% !important; --y: 28% !important; }
  .platform--twitch { --x: 86% !important; --y: 27% !important; }
  .platform--tiktok { --x: 11% !important; --y: 67% !important; }
  .platform--kick { --x: 87% !important; --y: 65% !important; }
  .platform--facebook { --x: 26% !important; --y: 81% !important; }
  .platform--discord { --x: 74% !important; --y: 80% !important; }

  .manifesto {
    grid-template-columns: 1fr;
  }

  .manifesto__signal {
    width: min(500px, 76vw);
    margin: 2rem auto;
  }

  .section-head {
    grid-template-columns: 1fr;
  }

  .section-head > p {
    max-width: 580px;
  }

  .bento {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .feature-card,
  .feature-card--alert {
    grid-row: auto;
    min-height: 390px;
  }

  .site-footer {
    grid-template-columns: 1fr 1fr;
  }

  .site-footer > *:nth-child(even) {
    justify-self: end;
  }
}

@media (max-width: 1100px) {
  .flow-bypass { display: none; }
  .flow-step .flow-label--bypass { top: auto; transform: none; }
  .flow-link::before { display: block; }
  .will-animate .flow-link { clip-path: inset(0 -12px 100% -12px); }
  .will-animate.is-visible .flow-link { clip-path: inset(0 -12px -12px -12px); }
  .will-animate.is-visible .flow-link--soft { transition-delay: 0.2s; }
  .will-animate.is-visible .flow-link--active { transition-delay: 0.35s; }
  .will-animate.is-visible .payout-card:nth-child(1) { transition-delay: 0.45s; }
  .will-animate.is-visible .payout-card:nth-child(2) { transition-delay: 0.52s; }
  .direct-payment { gap: 2.2rem; padding-top: 0.5rem; }
  .flow-panel { width: min(100%, 460px); padding: 2.6rem 1.4rem 2.8rem; border-radius: 2rem; }
  .flow { grid-template-columns: 1fr; justify-items: center; }
  .flow-step { display: flex; flex-direction: column; align-items: center; gap: 0.9rem; }
  .flow-step .flow-label { position: static; transform: none; }
  .flow-fork { display: none; }
  .flow-link {
    width: 2px;
    height: 3.6rem;
    margin: 1.1rem 0;
    background: repeating-linear-gradient(180deg, var(--link-color) 0 6px, transparent 6px 13px);
    animation-name: link-dash-y;
  }
  .flow-link::before { top: auto; right: 50%; bottom: -2px; transform: translateX(50%) rotate(135deg); }
  .flow-link::after { top: 0; left: 50%; transform: translateX(-50%); animation-name: link-dot-y; }
  .flow-payouts { width: 100%; height: auto; grid-template-columns: 1fr; gap: 0.9rem; }
  .payout-card { width: 100%; }
}

@keyframes link-dash-y {
  to { background-position: 0 13px; }
}

@keyframes link-dot-y {
  0% { top: 0; opacity: 0; }
  15%, 85% { opacity: 1; }
  100% { top: calc(100% - 7px); opacity: 0; }
}

@media (max-width: 700px) {
  :root {
    --page-pad: 1.15rem;
  }

  .site-header {
    top: 0.65rem;
    width: calc(100% - 1.3rem);
    min-height: 3.35rem;
    padding: 0.34rem 0.38rem 0.34rem 0.82rem;
    border-radius: 0.95rem;
  }

  .header-action {
    padding: 0.66rem;
  }

  .header-action span {
    display: none;
  }

  .account-button {
    padding-right: 0.42rem;
  }

  .account-button__label {
    display: none;
  }

  .hero {
    min-height: max(640px, 100svh);
    padding-top: 6.1rem;
  }

  .hero__content {
    width: min(calc(100dvw - 2.3rem), 470px);
    box-sizing: border-box;
    max-width: 100%;
    gap: 0.3rem;
    margin-top: -0.35rem;
  }

  .hero__title {
    width: min(calc(100dvw - 2.3rem), 420px);
    box-sizing: border-box;
    max-width: 100%;
    height: clamp(4.4rem, 18vw, 5.2rem);
    font-size: clamp(3rem, 15vw, 4.5rem);
    letter-spacing: -0.06em;
  }

  .tech-text {
    height: 100%;
  }

  .hero__kicker {
    margin: 0;
    font-size: 0.4rem;
  }

  .hero__description {
    max-width: 290px;
    margin: 0;
    font-size: 0.78rem;
    line-height: 1.36;
  }

  .hero__description br {
    display: none;
  }

  .hero-create {
    flex-direction: column;
    align-items: stretch;
    gap: 0.38rem;
    width: min(calc(100dvw - 2.3rem), 350px);
    max-width: 100%;
    margin-top: 0.14rem;
    padding: 0.38rem;
  }

  .hero-create__field {
    min-height: 3rem;
    padding-left: 0.8rem;
  }

  .hero-create__button {
    justify-content: space-between;
    width: 100%;
  }

  .hero-create__hint {
    max-width: 320px;
    font-size: 0.54rem;
  }

  .hero__scroll-down {
    bottom: 1rem;
  }

  .platform {
    gap: 0.48rem;
    width: auto;
    height: 2.75rem;
    padding: 0.52rem 0.72rem 0.52rem 0.58rem;
    border-radius: 0.9rem;
  }

  .platform svg {
    width: 1.35rem;
    height: 1.35rem;
  }

  .platform > span {
    font-size: 0.58rem;
  }

  .platform--youtube,
  .platform--twitch,
  .platform--tiktok,
  .platform--kick,
  .platform--facebook,
  .platform--discord {
    width: auto;
    height: 2.75rem;
    padding: 0.52rem 0.72rem 0.52rem 0.58rem;
    border-radius: 0.9rem;
  }

  .platform--youtube { --x: 17% !important; --y: 23% !important; }
  .platform--twitch { --x: 74% !important; --y: 29% !important; }
  .platform--tiktok { --x: 18% !important; --y: 64% !important; }
  .platform--kick { --x: 75% !important; --y: 62% !important; }
  .platform--facebook { --x: 22% !important; --y: 80% !important; }
  .platform--discord { --x: 70% !important; --y: 79% !important; }

  .gravity-dot--one { top: 20%; left: 35%; }
  .gravity-cross--two { top: 18%; left: 71%; }

  .direct-payment::before {
    width: 150vw;
    height: 70%;
  }

  .manifesto,
  .features,
  .workflow,
  .join {
    padding-top: 6.5rem;
    padding-bottom: 6.5rem;
  }

  .manifesto {
    gap: 2rem;
  }

  .manifesto h2,
  .section-head h2,
  .workflow h2,
  .join h2 {
    font-size: clamp(2.75rem, 13vw, 4.7rem);
  }

  .manifesto__copy > p:last-child,
  .section-head > p {
    font-size: 0.82rem;
  }

  .manifesto__signal {
    width: min(340px, 84vw);
  }

  .section-head {
    gap: 1.6rem;
    margin-bottom: 2.5rem;
  }

  .feature-card {
    min-height: 350px;
    border-radius: 1.1rem;
  }

  .alert-preview {
    width: 100%;
  }

  .alert-preview p {
    display: none;
  }

  .workflow__head {
    margin: 5rem auto 3rem;
  }

  .workflow__list li {
    grid-template-columns: 2.5rem 1fr auto;
    min-height: 9rem;
  }

  .workflow__list p {
    max-width: 230px;
  }

  .waitlist-form {
    flex-direction: column;
  }

  .waitlist-form input {
    min-height: 3.15rem;
    text-align: center;
  }

  .waitlist-form button {
    justify-content: center;
  }

  .site-footer {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .site-footer > *,
  .site-footer > *:nth-child(even) {
    justify-self: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal,
  .reveal-on-scroll {
    opacity: 1;
    transform: none;
  }

  .cursor-light {
    display: none;
  }

  .platform,
  .platform.is-floating {
    opacity: 1;
    transform: translate(-50%, -50%) rotate(var(--rotate));
    animation: none !important;
  }
}

/* Landing footer */
.landing-footer {
  position: relative;
  z-index: 1;
  padding: 0 var(--page-pad);
  border-top: 1px solid var(--hairline);
  background: linear-gradient(180deg, rgba(220, 235, 245, 0.28), rgba(220, 235, 245, 0.5));
}

.landing-footer__card {
  width: min(100%, 1320px);
  margin: 0 auto;
  padding: 3.4rem 0 1.6rem;
}

.landing-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
  gap: 2.4rem clamp(1.5rem, 4vw, 3.5rem);
}

.landing-footer__about .brand__code { font-size: 1.7rem; }
.landing-footer__about .brand__name { font-size: 1.35rem; color: rgba(7, 22, 37, 0.56); }

.landing-footer__about p {
  max-width: 340px;
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.75;
}

.landing-footer__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
}

.landing-footer__chips li {
  padding: 0.38rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 999px;
  background: rgba(238, 249, 255, 0.55);
  color: var(--ink-soft);
  font-size: 0.7rem;
  font-weight: 700;
}

.landing-footer__col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
}

.landing-footer__col h3 {
  margin: 0 0 0.35rem;
  color: rgba(7, 22, 37, 0.5);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.landing-footer__col a {
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  opacity: 0.82;
  transition: opacity 180ms ease, transform 180ms ease;
}

.landing-footer__col a:hover {
  opacity: 1;
  transform: translateX(3px);
}

.landing-footer__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2.6rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--hairline);
  color: var(--muted);
  font-size: 0.76rem;
}

.landing-footer__top {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

.landing-footer__top svg {
  width: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 900px) {
  .landing-footer__grid { grid-template-columns: 1fr 1fr; }
  .landing-footer__about { grid-column: 1 / -1; }
}

@media (max-width: 520px) {
  .landing-footer__card { padding-top: 2.4rem; }
  .landing-footer__bar { flex-direction: column; align-items: flex-start; }
}