@font-face {
  font-family: Pair;
  src: url("fonts/Geist.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --bg: #100c0e;
  --panel: #201619;
  --text: #f8e9e1;
  --muted: #b69d98;
  --accent: #efb79d;
  --line: #ffffff18;
  color-scheme: dark;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Pair, Arial, sans-serif;
  overflow-x: hidden;
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
  cursor: pointer;
}

p {
  color: var(--muted);
  line-height: 1.65;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.button,
.forge-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 48px;
  padding: 0 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 229, 211, 0.46);
  border-radius: 999px;
  background: linear-gradient(135deg, rgb(249, 212, 187), rgb(228, 165, 135));
  color: rgb(41, 26, 28);
  font-weight: 600;
  box-shadow:
    rgba(255, 245, 229, 0.5) 0 1px inset,
    rgba(173, 102, 93, 0.14) 0 -3px 7px inset,
    rgba(0, 0, 0, 0.094) 0 8px 22px;
  transition: transform 0.35s, box-shadow 0.35s, background 0.35s;
}

.button:hover,
.forge-button:hover {
  background: linear-gradient(135deg, rgb(255, 230, 211), rgb(237, 182, 155));
  transform: translateY(-3px);
  box-shadow:
    rgb(255, 255, 255) 0 1px inset,
    rgba(188, 117, 81, 0.19) 0 12px 28px;
}

.button:active,
.forge-button:active {
  transform: translateY(0) scale(0.975);
}

.button.subtle {
  color: rgb(255, 237, 227);
  background: linear-gradient(135deg, rgba(232, 184, 164, 0.08), rgba(232, 184, 164, 0.02));
  border-color: rgba(233, 191, 170, 0.208);
  box-shadow: rgba(255, 231, 218, 0.07) 0 1px inset;
}

.forge-button {
  gap: 2px;
  height: 62px;
  padding: 6px 7px 6px 5px;
  overflow: visible;
}

.forge-button > span:first-child {
  padding: 0 24px;
}

.forge-cta-arrow {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(106, 62, 52, 0.125);
  box-shadow: rgba(112, 69, 49, 0.125) 0 1px 3px inset;
  transition: background 0.4s, transform 0.4s;
}

.forge-button:hover .forge-cta-arrow {
  transform: translateX(3px);
  background: rgba(106, 62, 52, 0.2);
}

.forge-header {
  position: absolute;
  z-index: 20;
  top: 26px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  width: min(1080px, 100% - 64px);
  height: 98px;
  padding: 0 38px;
}

.brand,
.footer-wordmark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand img,
.footer-wordmark img {
  width: 28px;
  height: 28px;
  filter: brightness(0) invert(1);
}

.brand strong,
.footer-wordmark span {
  font-size: 28px;
  font-weight: 620;
  letter-spacing: -0.04em;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

.x-link {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  color: var(--text);
  transition: background 0.3s, border-color 0.3s;
}

.x-link:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(239, 183, 157, 0.45);
}

.header-cta {
  min-height: 44px;
  padding: 0 20px;
  font-size: 14px;
}

.forge-hero {
  position: relative;
  display: grid;
  place-items: center;
  height: 100svh;
  min-height: min(800px, 100svh);
  overflow: hidden;
}

.forge-hero-scene {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  animation: breathe 22s ease-in-out infinite alternate;
}

.forge-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(16, 12, 13, 0) 68%, rgb(16, 12, 14));
}

.forge-hero-copy {
  position: relative;
  z-index: 2;
  width: min(900px, 100% - 44px);
  margin-top: -4vh;
  text-align: center;
}

.forge-hero-copy h1 {
  margin: 0;
  font-size: clamp(2.8rem, 6.4vw, 7.35rem);
  font-weight: 470;
  line-height: 0.96;
  letter-spacing: -0.06em;
}

.forge-hero-copy h1 em {
  color: rgb(243, 199, 176);
  font-style: normal;
}

.forge-hero-copy p {
  max-width: 580px;
  margin: 22px auto 28px;
  color: rgb(213, 188, 178);
  font-size: clamp(15px, 2vw, 18px);
}

.hero-ca {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
  padding: 10px 12px 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(16, 12, 14, 0.42);
  backdrop-filter: blur(10px);
  color: var(--text);
}

.hero-ca span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.08em;
}

.hero-ca code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 15px;
  font-weight: 600;
}

.copy-btn-inline {
  min-height: 34px;
  padding: 0 14px;
}

.pons-badge {
  display: inline-flex;
  margin-top: 18px;
  color: rgba(248, 233, 225, 0.78);
  font-size: 13px;
  letter-spacing: 0.02em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  padding-bottom: 2px;
}

.forge-scroll-cue {
  position: absolute;
  z-index: 2;
  bottom: 40px;
  width: 1px;
  height: 40px;
  background: rgba(238, 209, 195, 0.25);
}

.forge-scroll-cue span {
  display: block;
  width: 1px;
  height: 14px;
  background: rgb(255, 228, 207);
  animation: scrollCue 2.6s ease infinite;
}

.contract-section {
  width: min(900px, 100% - 64px);
  margin: -40px auto 40px;
  position: relative;
  z-index: 3;
}

.contract-panel {
  display: grid;
  gap: 24px;
  padding: 34px;
  border: 1px solid rgba(239, 183, 157, 0.28);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(56, 34, 39, 0.92), rgba(27, 18, 22, 0.96)),
    radial-gradient(circle at top right, rgba(239, 183, 157, 0.16), transparent 45%);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contract-copy h2 {
  margin: 0 0 10px;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.04em;
}

.contract-copy p {
  margin: 0;
  max-width: 520px;
}

.contract-box {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
}

.contract-label {
  color: var(--accent);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.08em;
}

#ca-display {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--text);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: clamp(1.1rem, 2.4vw, 1.55rem);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.copy-btn {
  border: 1px solid rgba(239, 183, 157, 0.35);
  border-radius: 999px;
  background: rgba(239, 183, 157, 0.12);
  color: var(--text);
  min-height: 40px;
  padding: 0 16px;
  font-size: 13px;
  font-weight: 600;
  transition: background 0.25s, border-color 0.25s;
}

.copy-btn:hover,
.copy-btn.is-copied {
  background: rgba(239, 183, 157, 0.22);
  border-color: rgba(239, 183, 157, 0.55);
}

.pair-assets-section,
.forge-architecture,
.forge-product,
.forge-network,
.forge-faq {
  width: min(1180px, 100% - 64px);
  margin: auto;
  padding: 120px 0;
}

.forge-section-heading {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: end;
  gap: 75px;
  margin-bottom: 64px;
}

.forge-section-heading h2,
.forge-product-title h2,
.forge-faq h2,
.forge-final h2 {
  margin: 0;
  font-size: clamp(2.8rem, 4.6vw, 4.8rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.forge-section-heading p {
  margin: 0;
  font-size: 17px;
}

.asset-chooser {
  border: 1px solid var(--line);
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(125deg, rgba(59, 40, 43, 0.33), rgba(32, 21, 29, 0.19));
}

.asset-chooser-head {
  padding: 28px 30px 10px;
}

.asset-chooser-head strong {
  display: block;
  font-size: 20px;
  font-weight: 540;
}

.asset-chooser-head small {
  color: var(--muted);
  font-size: 14px;
}

.asset-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 18px 30px 28px;
}

.asset-chip {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: background 0.25s, border-color 0.25s;
}

.asset-chip.is-active,
.asset-chip[aria-pressed="true"] {
  background: rgba(238, 180, 151, 0.12);
  border-color: rgba(239, 183, 157, 0.5);
  color: #ffe7d8;
}

.selected-pair {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 30px;
  border-top: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.18);
}

.selected-pair strong {
  display: block;
  font-size: 22px;
  letter-spacing: -0.03em;
}

.selected-pair span {
  color: var(--muted);
  font-size: 14px;
}

.arch-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 28px;
  overflow-x: auto;
}

.arch-tab {
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  white-space: nowrap;
  transition: color 0.25s, background 0.25s, border-color 0.25s;
}

.arch-tab.is-active {
  color: var(--text);
  background: rgba(239, 183, 157, 0.1);
  border-color: rgba(239, 183, 157, 0.35);
}

.arch-panel {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(51, 33, 40, 0.44), rgb(28, 21, 26));
}

.arch-panel-copy h3 {
  margin: 0 0 14px;
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 500;
  letter-spacing: -0.04em;
}

.arch-panel-copy p {
  margin: 0 0 28px;
  max-width: 420px;
}

.arch-card {
  display: grid;
  gap: 28px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.03);
}

.arch-card-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.arch-card-row img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.arch-card-row strong,
.arch-card-meta strong {
  display: block;
}

.arch-card-row span,
.arch-card-meta small {
  color: var(--muted);
  font-size: 13px;
}

.arch-card-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.forge-product-title {
  max-width: 750px;
  margin-bottom: 60px;
}

.forge-product-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: 90px;
}

.forge-product-preview img {
  width: 100%;
  border-radius: 28px;
}

.forge-product-copy article {
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.forge-product-copy article:last-child {
  border-bottom: 0;
}

.forge-product-copy h3 {
  margin: 0 0 10px;
  font-size: 23px;
  font-weight: 500;
}

.forge-product-copy p {
  margin: 0;
  font-size: 15px;
}

.launch-overview-panel {
  display: grid;
  gap: 28px;
  padding: 36px;
  border-radius: 28px;
  border: 1px solid rgba(198, 146, 121, 0.28);
  background: linear-gradient(135deg, rgba(51, 33, 40, 0.44), rgb(28, 21, 26));
}

.overview-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.overview-badges span {
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: var(--muted);
  font-size: 12px;
}

.overview-pair {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: -0.05em;
}

.overview-pair span {
  color: var(--muted);
}

.overview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.overview-grid article {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.02);
}

.overview-grid h3 {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 520;
}

.overview-grid p {
  margin: 0;
  font-size: 14px;
}

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

.forge-faq-list button {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  width: 100%;
  padding: 28px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  text-align: left;
}

.forge-faq-list button > span {
  font-size: 21px;
}

.forge-faq-list button > svg {
  width: 20px;
  height: 20px;
  transition: transform 0.3s;
}

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

.forge-faq-list p {
  grid-column: 1 / -1;
  max-width: 760px;
  margin: 20px 0 0;
  font-size: 16px;
}

.forge-final {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  width: min(1180px, 100% - 64px);
  margin: 50px auto 120px;
  padding: 70px;
  border-radius: 28px;
  background: linear-gradient(135deg, rgb(56, 34, 39), rgb(27, 18, 22));
}

.forge-final p {
  margin: 22px 0 30px;
  font-size: 17px;
}

.forge-final > img {
  width: 32%;
  border-radius: 24px;
}

.footer {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 70px;
  width: min(1180px, 100% - 64px);
  margin: auto;
  padding: 70px 0 30px;
  border-top: 1px solid var(--line);
}

.footer p {
  max-width: 340px;
  margin-top: 20px;
  font-size: 14px;
}

.footer nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}

.footer a:hover {
  color: rgb(255, 227, 207);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  grid-column: 1 / -1;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s, transform 1.15s cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

@keyframes breathe {
  from { transform: scale(1); }
  to { transform: scale(1.04); }
}

@keyframes scrollCue {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(18px); opacity: 0.2; }
}

@media (max-width: 900px) {
  .forge-header {
    top: 20px;
    width: calc(100% - 32px);
    height: 68px;
    padding: 0 16px;
    gap: 12px;
  }

  .brand strong {
    font-size: 22px;
  }

  .forge-hero {
    min-height: 760px;
  }

  .forge-hero-copy {
    margin-top: -40px;
  }

  .forge-hero-copy h1 {
    font-size: clamp(3.4rem, 10vw, 5.5rem);
  }

  .forge-hero-copy p {
    max-width: 430px;
    font-size: 16px;
  }

  .contract-section,
  .pair-assets-section,
  .forge-architecture,
  .forge-product,
  .forge-network,
  .forge-faq {
    width: calc(100% - 40px);
  }

  .pair-assets-section,
  .forge-architecture,
  .forge-product,
  .forge-network,
  .forge-faq {
    padding: 75px 0;
  }

  .forge-section-heading,
  .forge-product-grid,
  .arch-panel,
  .overview-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .selected-pair {
    flex-direction: column;
    align-items: stretch;
  }

  .forge-product-preview {
    max-width: 440px;
    margin: auto;
  }

  .forge-final {
    width: calc(100% - 40px);
    padding: 35px;
    gap: 25px;
  }

  .forge-final > img {
    display: none;
  }

  .footer {
    grid-template-columns: 1fr 1fr;
    width: calc(100% - 40px);
    gap: 35px;
  }

  .footer > div:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 520px) {
  .header-cta {
    min-height: 42px;
    padding: 0 12px;
    font-size: 12px;
  }

  .contract-box {
    flex-wrap: wrap;
  }

  .forge-faq-list button > span {
    font-size: 18px;
  }

  .footer-bottom {
    flex-direction: column;
  }
}
