:root {
  --ink: #0c1a17;
  --ink-soft: #2a3f39;
  --mist: #d9e6e1;
  --paper: #f3f7f5;
  --foam: #eef5f2;
  --teal: #0f6b5c;
  --teal-deep: #08483e;
  --lime: #c6f26d;
  --line: rgba(12, 26, 23, 0.12);
  --shadow: 0 24px 60px rgba(8, 40, 34, 0.14);
  --font-display: "Syne", sans-serif;
  --font-body: "DM Sans", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-body);
  font-optical-sizing: auto;
  line-height: 1.55;
  background:
    radial-gradient(1200px 700px at 85% -10%, rgba(198, 242, 109, 0.35), transparent 55%),
    radial-gradient(900px 600px at -10% 20%, rgba(15, 107, 92, 0.18), transparent 50%),
    linear-gradient(165deg, #e7f1ed 0%, var(--paper) 42%, #e4ece8 100%);
  min-height: 100vh;
}

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

.top,
main,
.foot {
  position: relative;
  z-index: 1;
}

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  max-width: 1120px;
  margin: 0 auto;
  padding: 1.25rem 1.5rem 0;
}

.logo {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.04em;
  font-size: 1.35rem;
  color: var(--ink);
  text-decoration: none;
}

.top-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.top-nav {
  display: flex;
  gap: 1.1rem;
  flex-wrap: wrap;
}

.top-nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
}

.top-nav a:hover {
  color: var(--teal-deep);
}

.lang {
  display: inline-flex;
  border: 1.5px solid var(--ink);
  border-radius: 0.45rem;
  overflow: hidden;
  flex-shrink: 0;
}

.lang-btn {
  appearance: none;
  border: 0;
  margin: 0;
  background: transparent;
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  padding: 0.45rem 0.65rem;
  cursor: pointer;
  min-width: 2.4rem;
}

.lang-btn + .lang-btn {
  border-left: 1.5px solid var(--ink);
}

.lang-btn.is-active {
  background: var(--ink);
  color: var(--lime);
}

.lang-btn:not(.is-active):hover {
  background: rgba(12, 26, 23, 0.06);
}

.hero {
  max-width: 1120px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4.5rem;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
  min-height: calc(100svh - 4.5rem);
}

.brand {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3.4rem, 8vw, 5.8rem);
  line-height: 0.9;
  letter-spacing: -0.06em;
  color: var(--ink);
  animation: rise 0.9s ease both;
}

.hero h1 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.35rem, 2.6vw, 1.85rem);
  letter-spacing: -0.03em;
  color: var(--teal-deep);
  animation: rise 0.9s ease 0.08s both;
}

.lede,
.section-lede {
  max-width: 34rem;
  margin: 0;
  font-size: 1.12rem;
  color: var(--ink-soft);
}

.hero .lede {
  animation: rise 0.9s ease 0.16s both;
}

.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
  animation: rise 0.9s ease 0.24s both;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.7rem 1.25rem;
  border-radius: 0.55rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--ink);
  color: var(--lime);
}

.btn-primary:hover {
  background: var(--teal-deep);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
}

.btn-ghost:hover {
  background: rgba(12, 26, 23, 0.06);
}

.hero-visual {
  position: relative;
  min-height: 420px;
  display: grid;
  place-items: center;
  animation: float-in 1.1s ease 0.2s both;
}

.orbit {
  position: absolute;
  inset: 8% 6%;
  border-radius: 40% 60% 55% 45% / 45% 40% 60% 55%;
  background:
    linear-gradient(135deg, rgba(15, 107, 92, 0.55), rgba(198, 242, 109, 0.35));
  filter: blur(2px);
  animation: morph 12s ease-in-out infinite;
}

.orb {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(4px);
}

.orb-a { width: 4.5rem; height: 4.5rem; top: 12%; left: 14%; }
.orb-b { width: 2.8rem; height: 2.8rem; bottom: 18%; right: 16%; }
.orb-c { width: 1.8rem; height: 1.8rem; top: 42%; right: 10%; }

.phone {
  position: relative;
  width: min(260px, 70%);
  aspect-ratio: 9 / 17;
  border-radius: 1.6rem;
  padding: 0.55rem;
  background: linear-gradient(160deg, #17352f, #0c1a17);
  box-shadow: var(--shadow);
}

.phone-screen {
  height: 100%;
  border-radius: 1.2rem;
  background:
    radial-gradient(circle at 50% 38%, rgba(198, 242, 109, 0.18), transparent 42%),
    linear-gradient(180deg, #102822, #0a1613 70%);
  color: #e8f5ef;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  text-align: center;
  padding: 1.5rem;
}

.scan {
  position: relative;
  width: 5.5rem;
  height: 5.5rem;
  display: grid;
  place-items: center;
}

.scan-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid rgba(198, 242, 109, 0.55);
  animation: pulse 2.4s ease-in-out infinite;
}

.scan-core {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #e9ffb0, var(--lime) 45%, var(--teal));
  box-shadow: 0 0 0 8px rgba(198, 242, 109, 0.12);
}

.scan-label {
  margin: 0.5rem 0 0;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.scan-sub {
  margin: 0;
  font-size: 0.85rem;
  opacity: 0.7;
}

.band,
.open,
.roles,
.roadmap,
.safe,
.close {
  max-width: 1120px;
  margin: 0 auto;
  padding: 4.5rem 1.5rem;
}

.band h2,
.open h2,
.roles h2,
.roadmap h2,
.safe h2,
.close h2 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-weight: 750;
  font-size: clamp(2rem, 4vw, 2.85rem);
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.band .section-lede,
.open .section-lede,
.roles-head .section-lede,
.roadmap .section-lede {
  margin-bottom: 2.5rem;
}

.open-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.open-item {
  padding-top: 1.15rem;
  border-top: 1px solid var(--line);
}

.open-item h3 {
  margin: 0 0 0.7rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: -0.03em;
}

.open-item p:last-child {
  margin: 0;
  color: var(--ink-soft);
}

.roadmap-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  counter-reset: road;
}

.roadmap-list li {
  counter-increment: road;
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  column-gap: 1.25rem;
  row-gap: 0.35rem;
  padding: 1.35rem 0 1.35rem 1.5rem;
  border-top: 1px solid var(--line);
  position: relative;
}

.roadmap-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.55rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 4px rgba(198, 242, 109, 0.25);
}

.roadmap-list li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 0.22rem;
  top: 2.25rem;
  bottom: -0.1rem;
  width: 2px;
  background: var(--line);
}

.roadmap-phase {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  grid-row: 1 / 3;
  padding-top: 0.15rem;
}

.roadmap-list strong {
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: -0.02em;
}

.roadmap-list li > span:last-child {
  color: var(--ink-soft);
  max-width: 36rem;
}

.flow {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  counter-reset: step;
}

.flow li {
  counter-increment: step;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 0.45rem;
}

.flow li::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--teal);
  letter-spacing: 0.04em;
}

.flow strong {
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

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

.roles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem 2.5rem;
}

.roles-head {
  grid-column: 1 / -1;
}

.role {
  padding: 0.25rem 0 1.5rem;
  border-top: 1px solid var(--line);
}

.role-kicker {
  margin: 1.1rem 0 0.35rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
}

.role h3 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: 1.55rem;
  letter-spacing: -0.03em;
}

.role p {
  margin: 0 0 1rem;
  color: var(--ink-soft);
  max-width: 34rem;
}

.role a {
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1.5px solid var(--lime);
}

.role a:hover {
  color: var(--teal-deep);
}

.role-vendor {
  grid-column: 1 / -1;
  max-width: 40rem;
}

.vendor {
  max-width: 1120px;
  margin: 0 auto;
  padding: 4.5rem 1.5rem;
}

.vendor h2 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-weight: 750;
  font-size: clamp(2rem, 4vw, 2.85rem);
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.vendor .section-lede {
  margin-bottom: 2.5rem;
}

.vendor-flow {
  margin-bottom: 0.5rem;
}

.vendor-cta {
  margin-top: 2rem;
}

.vendor-note {
  margin: 1.25rem 0 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.vendor-note code {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.88em;
  background: rgba(12, 26, 23, 0.06);
  padding: 0.12em 0.4em;
  border-radius: 0.3rem;
}

.foot a {
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1.5px solid var(--lime);
}

.foot a:hover {
  color: var(--teal-deep);
}

.safe {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: center;
}

.safe-list {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.1rem;
}

.safe-list li {
  display: grid;
  gap: 0.2rem;
  padding-left: 1rem;
  border-left: 3px solid var(--lime);
  color: var(--ink-soft);
}

.safe-list strong {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.safe-panel {
  min-height: 320px;
  border-radius: 1.5rem;
  background:
    linear-gradient(145deg, rgba(12, 26, 23, 0.95), rgba(15, 107, 92, 0.88));
  color: #e7f6ef;
  box-shadow: var(--shadow);
  display: grid;
  place-items: center;
  padding: 2rem;
}

.safe-panel-inner {
  width: 100%;
  max-width: 18rem;
  text-align: left;
}

.safe-panel .mono {
  margin: 0;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.65;
}

.safe-panel .big {
  margin: 1rem 0 0.35rem;
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 800;
  letter-spacing: -0.05em;
  color: var(--lime);
}

.safe-panel .soft {
  margin: 0;
  opacity: 0.72;
}

.bar {
  margin: 1.5rem 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  overflow: hidden;
}

.bar span {
  display: block;
  width: 68%;
  height: 100%;
  background: var(--lime);
  animation: load 2.8s ease-in-out infinite;
}

.close {
  text-align: center;
  padding-bottom: 5rem;
}

.close .section-lede {
  margin-left: auto;
  margin-right: auto;
}

.close .cta {
  justify-content: center;
}

.foot {
  max-width: 1120px;
  margin: 0 auto;
  padding: 1.5rem 1.5rem 2.5rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  align-items: baseline;
}

.foot p {
  margin: 0;
}

.muted {
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

@keyframes float-in {
  from { opacity: 0; transform: translateY(28px) scale(0.98); }
  to { opacity: 1; transform: none; }
}

@keyframes morph {
  0%, 100% { border-radius: 40% 60% 55% 45% / 45% 40% 60% 55%; transform: rotate(0deg) scale(1); }
  50% { border-radius: 55% 45% 40% 60% / 50% 55% 45% 50%; transform: rotate(4deg) scale(1.03); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.9; }
  50% { transform: scale(1.12); opacity: 0.45; }
}

@keyframes load {
  0%, 100% { width: 42%; }
  50% { width: 78%; }
}

@media (max-width: 900px) {
  .hero,
  .safe {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 1.75rem;
  }

  .hero-visual {
    min-height: 340px;
    order: -1;
  }

  .flow,
  .roles,
  .open-grid {
    grid-template-columns: 1fr;
  }

  .role-vendor {
    grid-column: auto;
  }

  .top-nav {
    display: none;
  }

  .roadmap-list li {
    grid-template-columns: 1fr;
  }

  .roadmap-phase {
    grid-row: auto;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}
