:root {
  color-scheme: light;
  --ink: #08111c;
  --ink-soft: #243446;
  --muted: #607083;
  --paper: #ffffff;
  --cloud: #f5f9fb;
  --mist: #eaf4f7;
  --line: rgba(48, 67, 86, 0.14);
  --gold: #c9963a;
  --gold-soft: #f1cf85;
  --blue: #278fc1;
  --blue-deep: #126b98;
  --navy: #07101b;
  --success: #159667;
  --warning: #bb7d1e;
  --danger: #c64242;
  --shadow: 0 24px 72px rgba(31, 66, 92, 0.12);
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  color: var(--ink);
  background:
    linear-gradient(180deg, #f7fbfc 0%, #ffffff 38%, #f5f9fb 100%),
    var(--cloud);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  width: 100vw;
  max-width: 100vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 64px;
  padding: 10px max(18px, env(safe-area-inset-left)) 10px max(18px, env(safe-area-inset-right));
  border-bottom: 1px solid transparent;
  background: rgba(248, 253, 255, 0.82);
  backdrop-filter: blur(18px);
}

.site-header[data-elevated="true"] {
  border-bottom-color: var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-weight: 850;
}

.brand img {
  width: 44px;
  height: 30px;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(216, 153, 20, 0.22));
}

.brand span {
  font-size: 18px;
}

nav {
  display: none;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.header-action,
.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 8px;
  font-weight: 850;
}

.header-action {
  display: none;
  flex: 0 0 auto;
  min-width: 84px;
  padding: 0 16px;
  color: white;
  background: var(--navy);
}

.hero {
  position: relative;
  width: 100%;
  max-width: 100vw;
  display: grid;
  align-items: end;
  min-height: calc(100svh - 64px);
  padding: 30px 18px 18px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(245, 249, 251, 0.08) 0%, rgba(245, 249, 251, 0.58) 54%, rgba(245, 249, 251, 1) 92%),
    linear-gradient(90deg, rgba(245, 249, 251, 1) 0%, rgba(245, 249, 251, 0.98) 34%, rgba(245, 249, 251, 0.7) 62%, rgba(245, 249, 251, 0.86) 100%);
  pointer-events: none;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  overflow: hidden;
  pointer-events: none;
}

.hero-media img {
  width: 100vw;
  max-width: 100vw;
  margin-top: -34px;
  filter: saturate(1.04) contrast(1.04);
  opacity: 0.58;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: calc(100vw - 36px);
  padding: 18vh 0 98px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 14px;
  font-size: clamp(58px, 18vw, 142px);
  line-height: 0.9;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(30px, 9vw, 62px);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.18;
  letter-spacing: 0;
}

.hero-text,
.copy-block p,
.feature-grid p,
.section-heading p,
.site-footer span {
  color: var(--muted);
}

.hero-text {
  max-width: 100%;
  margin-bottom: 26px;
  font-size: 17px;
}

.hero-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  width: min(100%, 400px);
}

.primary-action {
  padding: 0 18px;
  color: #151009;
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  box-shadow: 0 18px 44px rgba(201, 150, 58, 0.28);
}

.secondary-action {
  padding: 0 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.74);
}

.hero-status {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 8px;
  width: 100%;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
}

.hero-status div,
.proof-panel div {
  display: grid;
  align-items: start;
  gap: 14px;
  color: var(--muted);
  font-size: 13px;
}

.hero-status strong,
.proof-panel strong {
  color: var(--ink);
  overflow-wrap: anywhere;
}

.section {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 72px 18px;
}

.section-heading {
  max-width: 840px;
  margin-bottom: 28px;
}

.section-heading p:not(.section-kicker) {
  max-width: 680px;
  margin-bottom: 0;
}

.feature-grid {
  display: grid;
  gap: 12px;
}

.feature-grid article,
.phone-shell,
.ops-rail div,
.api-list code,
.proof-panel,
.redline-section,
.inline-list span {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
}

.feature-grid article {
  min-height: 212px;
  padding: 20px;
}

.feature-grid span {
  display: block;
  margin-bottom: 46px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
}

.split-section,
.web3-section {
  display: grid;
  gap: 26px;
  align-items: center;
}

.copy-block {
  max-width: 640px;
}

.inline-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.inline-list span {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 800;
}

.phone-shell {
  width: min(100%, 360px);
  margin: 0 auto;
  padding: 16px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.92), rgba(235, 247, 250, 0.82)),
    white;
}

.phone-top {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  height: 42px;
}

.phone-top span {
  position: absolute;
  top: 7px;
  width: 62px;
  height: 6px;
  border-radius: 999px;
  background: #c8d4df;
}

.phone-top strong {
  margin-top: 22px;
  color: var(--gold);
}

.balance-panel {
  margin: 18px 0;
  padding: 18px;
  border-radius: 8px;
  color: white;
  background:
    linear-gradient(135deg, rgba(7, 16, 27, 0.98), rgba(36, 57, 74, 0.92)),
    var(--navy);
}

.balance-panel small,
.balance-panel em {
  display: block;
  color: rgba(255, 255, 255, 0.68);
  font-style: normal;
}

.balance-panel small {
  margin-bottom: 12px;
}

.balance-panel strong {
  display: block;
  margin-bottom: 8px;
  font-size: 22px;
}

.action-row,
.queue-list,
.ops-rail,
.api-list,
.proof-panel,
.redline-grid {
  display: grid;
  gap: 8px;
}

.action-row {
  grid-template-columns: repeat(3, 1fr);
}

.action-row span {
  min-height: 42px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #17110a;
  background: linear-gradient(135deg, #f4d992, #d7a245);
  font-size: 13px;
  font-weight: 850;
}

.queue-list {
  margin-top: 14px;
}

.queue-list div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.queue-list div:last-child {
  border-bottom: 0;
}

.queue-list strong {
  color: var(--ink);
  text-align: right;
}

.ops-section {
  padding-top: 40px;
}

.ops-rail div {
  padding: 17px;
}

.ops-rail span {
  display: inline-flex;
  margin-bottom: 8px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
}

.ops-rail strong {
  display: block;
}

.web3-section {
  align-items: stretch;
}

.proof-panel {
  align-content: center;
  padding: 18px;
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.9), rgba(234, 244, 247, 0.82)),
    white;
}

.proof-panel div {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.proof-panel div:last-child {
  border-bottom: 0;
}

.api-section {
  display: grid;
  gap: 18px;
}

.api-list code {
  display: block;
  padding: 14px;
  color: #1e3345;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12px;
  overflow-wrap: anywhere;
}

.redline-section {
  margin-bottom: 54px;
  padding: 28px 18px;
  background:
    linear-gradient(135deg, rgba(7, 16, 27, 0.98), rgba(24, 39, 54, 0.94)),
    var(--navy);
  color: white;
}

.redline-section h2 {
  max-width: 820px;
  color: white;
}

.redline-grid span {
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 13px;
  font-weight: 850;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 30px 18px max(30px, env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
}

.site-footer div:first-child {
  display: grid;
  gap: 2px;
}

.footer-links {
  display: flex;
  gap: 14px;
  color: var(--gold);
  font-weight: 850;
}

@media (min-width: 720px) {
  .site-header {
    padding-left: 32px;
    padding-right: 32px;
  }

  nav {
    display: flex;
  }

  .header-action {
    display: inline-flex;
  }

  .hero {
    padding: 44px 32px 22px;
  }

  .hero-content {
    width: min(100%, 620px);
    max-width: 620px;
    padding-top: 14vh;
  }

  .hero-actions {
    grid-template-columns: 1fr 1fr;
    width: 430px;
  }

  .hero-status {
    grid-template-columns: repeat(3, 1fr);
    width: min(100%, 840px);
  }

  .hero-status div {
    display: grid;
  }

  .section {
    padding-left: 32px;
    padding-right: 32px;
  }

  .feature-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .split-section {
    grid-template-columns: minmax(0, 1fr) 390px;
  }

  .ops-rail {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .web3-section {
    grid-template-columns: minmax(0, 1fr) 420px;
  }

  .api-section {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: start;
  }

  .redline-section {
    padding: 38px 32px;
  }

  .redline-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 1080px) {
  .hero {
    padding-left: calc((100vw - var(--max)) / 2);
    padding-right: calc((100vw - var(--max)) / 2);
  }

  .hero-media {
    justify-content: flex-end;
  }

  .hero-media img {
    width: min(66vw, 820px);
    margin-right: 2vw;
    margin-top: -86px;
  }
}
