:root {
  --bg: #f7f5f1;
  --bg-soft: #fbfaf7;
  --ink: #0d0d0f;
  --muted: #6f7076;
  --line: rgba(17, 17, 19, 0.09);
  --card-line: rgba(255, 255, 255, 0.1);
  --panel: #09090b;
  --panel-2: #0f1013;
  --white: #ffffff;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.14);
  --shadow-dark: 0 24px 64px rgba(0, 0, 0, 0.38);
  --headline: "pacaembu", sans-serif;
  --body: "pacaembu", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at top center, rgba(0, 0, 0, 0.06), transparent 32%),
    linear-gradient(180deg, #f9f8f5 0%, #f7f5f1 58%, #09090b 58%, #09090b 100%);
  color: var(--ink);
  font-family: var(--body);
  font-weight: 400;
}

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

button,
a {
  color: inherit;
  font: inherit;
  text-decoration: none;
}

svg {
  display: block;
}

.site-shell {
  width: min(1440px, calc(100% - 48px));
  margin: 0 auto;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 26px 8px 30px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand img {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.brand__wordmark {
  display: grid;
  gap: 2px;
}

.brand__wordmark strong,
.brand__wordmark small {
  font-family: var(--headline);
  font-style: normal;
  letter-spacing: 0.26em;
  line-height: 1;
}

.brand__wordmark strong {
  font-weight: 300;
  font-size: 1.3rem;
}

.brand__wordmark small {
  font-weight: 300;
  font-size: 0.56rem;
  letter-spacing: 0.52em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
  margin-right: 24px;
  font-weight: 400;
  font-size: 0.98rem;
}

.nav a {
  color: rgba(15, 15, 18, 0.9);
}

.wallet-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 22px;
  border-radius: 12px;
  background: #09090b;
  color: var(--white);
  box-shadow: 0 14px 24px rgba(0, 0, 0, 0.12);
}

.wallet-button__icon {
  position: relative;
  width: 16px;
  height: 12px;
  border: 1.5px solid currentColor;
  border-radius: 3px;
}

.wallet-button__icon::before,
.wallet-button__icon::after {
  content: "";
  position: absolute;
}

.wallet-button__icon::before {
  top: 3px;
  right: -4px;
  width: 3px;
  height: 4px;
  border: 1.5px solid currentColor;
  border-left: none;
  border-radius: 0 2px 2px 0;
}

.wallet-button__icon::after {
  top: 4px;
  left: 4px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: currentColor;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(420px, 0.98fr);
  align-items: center;
  gap: 28px;
  padding: 34px 8px 18px;
}

.hero__copy {
  display: grid;
  gap: 26px;
  padding-left: 22px;
}

.hero__eyebrow,
.section-heading__eyebrow,
.cta-footer__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.66);
  color: #4b4d54;
  font-size: 0.84rem;
  letter-spacing: 0.02em;
}

.eyebrow-dot,
.eyebrow-ring {
  display: inline-block;
  flex: 0 0 auto;
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #18191d;
  box-shadow: 0 0 0 3px rgba(24, 25, 29, 0.08);
}

.eyebrow-ring {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1.5px solid #3d4047;
}

.eyebrow-ring--light {
  border-color: rgba(255, 255, 255, 0.75);
}

.hero h1,
.section-heading h2,
.cta-footer h2 {
  margin: 0;
  font-family: var(--headline);
  font-style: normal;
  font-weight: 300;
}

.hero h1 {
  display: grid;
  gap: 10px;
  font-size: clamp(3.7rem, 7.5vw, 6.6rem);
  line-height: 0.92;
  letter-spacing: -0.03em;
}

.hero__muted,
.cta-footer__muted {
  color: #8b8d95;
}

.hero p {
  max-width: 560px;
  margin: 0;
  color: #555861;
  font-size: 1.38rem;
  line-height: 1.55;
}

.hero__art {
  position: relative;
  min-height: 520px;
  display: grid;
  place-items: center;
}

.hero__sigil,
.hero__mesh {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
}

.hero__sigil {
  width: min(42vw, 590px);
  aspect-ratio: 1;
  border: 1px solid rgba(18, 18, 22, 0.1);
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.88) 0 38%, transparent 38% 100%),
    repeating-radial-gradient(circle, rgba(0, 0, 0, 0.06) 0 2px, transparent 2px 24px),
    repeating-conic-gradient(from 0deg, rgba(0, 0, 0, 0.08) 0deg 2deg, transparent 2deg 16deg);
  opacity: 0.9;
}

.hero__mesh {
  width: min(52vw, 720px);
  aspect-ratio: 1;
  background:
    radial-gradient(circle, rgba(0, 0, 0, 0.08) 0 2px, transparent 2px),
    linear-gradient(125deg, transparent 34%, rgba(0, 0, 0, 0.08) 35%, transparent 36%),
    linear-gradient(36deg, transparent 47%, rgba(0, 0, 0, 0.08) 48%, transparent 49%);
  background-size: 84px 84px, 160px 160px, 210px 210px;
  opacity: 0.4;
  filter: blur(0.1px);
}

.hero__art img {
  position: relative;
  width: min(33vw, 470px);
  filter: drop-shadow(0 28px 28px rgba(0, 0, 0, 0.26));
}

.search-panel {
  margin: 18px 0 110px;
  padding: 10px;
  border-radius: 28px;
  background: linear-gradient(180deg, #0b0b0d, #050507);
  color: var(--white);
  box-shadow: var(--shadow-dark);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.search-panel__main,
.search-panel__footer {
  display: grid;
  align-items: center;
}

.search-panel__main {
  grid-template-columns: 60px minmax(0, 1fr) auto auto;
  gap: 18px;
  padding: 28px 28px 24px;
}

.search-panel__icon {
  position: relative;
  width: 36px;
  height: 36px;
  margin-inline: auto;
}

.search-panel__icon::before,
.search-panel__icon::after {
  content: "";
  position: absolute;
}

.search-panel__icon::before {
  top: 2px;
  left: 2px;
  width: 24px;
  height: 24px;
  border: 3px solid rgba(255, 255, 255, 0.94);
  border-radius: 50%;
}

.search-panel__icon::after {
  right: 1px;
  bottom: 1px;
  width: 12px;
  height: 3px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.94);
  transform: rotate(45deg);
  transform-origin: right center;
}

.search-panel__placeholder {
  color: rgba(255, 255, 255, 0.46);
  font-family: var(--body);
  font-weight: 600;
  font-size: clamp(1.9rem, 4vw, 3.15rem);
  letter-spacing: -0.04em;
}

.search-panel__tokens {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
}

.search-panel__tokens span {
  display: inline-grid;
  place-items: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.86rem;
  font-weight: 600;
}

.search-panel__button,
.cta-footer__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 80px;
  padding: 0 32px;
  border-radius: 18px;
  background: #ffffff;
  color: #0a0a0b;
  font-size: 1.2rem;
  font-weight: 600;
}

.arrow {
  font-size: 1.4rem;
  line-height: 1;
}

.search-panel__footer {
  grid-template-columns: auto 1fr;
  gap: 16px;
  padding: 22px 28px 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.search-panel__label {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.98rem;
}

.search-panel__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.search-panel__chips span {
  padding: 12px 18px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  color: rgba(255, 255, 255, 0.86);
}

.capabilities {
  padding: 0 8px 102px;
}

.section-heading {
  display: grid;
  justify-items: center;
  gap: 18px;
  text-align: center;
  margin-bottom: 42px;
}

.section-heading h2 {
  font-size: clamp(2.7rem, 5vw, 4.4rem);
  line-height: 0.96;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
}

.capability-card {
  min-height: 255px;
  padding: 30px 24px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(17, 17, 19, 0.09);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.04);
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 18px;
  text-align: center;
}

.capability-card__icon {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  color: #101114;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(245, 245, 247, 0.82));
  border: 1px solid rgba(17, 17, 19, 0.08);
}

.capability-card__icon svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.capability-card h3 {
  margin: 0;
  font-size: 1.85rem;
  font-weight: 600;
}

.capability-card p {
  margin: 0;
  color: #666972;
  line-height: 1.45;
  font-size: 1rem;
}

.cta-footer {
  position: relative;
  margin-top: 10px;
  padding: 56px 28px 40px;
  border-radius: 0;
  color: var(--white);
  overflow: hidden;
}

.cta-footer::before,
.cta-footer::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.cta-footer::before {
  background:
    radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.08) 0 2px, transparent 2px),
    radial-gradient(circle at 68% 22%, rgba(255, 255, 255, 0.06) 0 1.5px, transparent 1.5px),
    linear-gradient(120deg, transparent 20%, rgba(255, 255, 255, 0.035) 21%, transparent 22%),
    linear-gradient(60deg, transparent 60%, rgba(255, 255, 255, 0.03) 61%, transparent 62%);
  background-size: 180px 180px, 220px 220px, 320px 320px, 260px 260px;
  opacity: 0.56;
}

.cta-footer::after {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 22%);
}

.cta-footer__cta,
.footer-links {
  position: relative;
  z-index: 1;
}

.cta-footer__cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 520px);
  gap: 36px;
  align-items: center;
  padding-bottom: 46px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-footer__copy {
  display: grid;
  gap: 20px;
  max-width: 640px;
}

.cta-footer__eyebrow {
  background: transparent;
  border: none;
  padding: 0;
  color: rgba(255, 255, 255, 0.72);
}

.cta-footer h2 {
  display: grid;
  gap: 6px;
  font-size: clamp(3rem, 5vw, 5rem);
  line-height: 0.92;
}

.cta-footer__copy p:last-child {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.2rem;
  line-height: 1.6;
}

.cta-footer__action-wrap {
  display: grid;
  gap: 18px;
  justify-items: end;
}

.cta-footer__action {
  width: min(100%, 520px);
}

.cta-footer__note {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.footer-links {
  display: grid;
  grid-template-columns: minmax(250px, 1.3fr) repeat(3, minmax(140px, 0.7fr)) minmax(190px, 0.95fr);
  gap: 28px;
  padding-top: 34px;
}

.footer-brand {
  display: grid;
  gap: 22px;
}

.brand--footer img {
  width: 52px;
  height: 52px;
}

.brand--footer .brand__wordmark strong,
.brand--footer .brand__wordmark small,
.footer-column h4,
.footer-column a,
.footer-meta,
.footer-brand p {
  color: var(--white);
}

.footer-brand p,
.footer-column a,
.footer-meta p {
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.7;
}

.footer-column {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer-column h4 {
  margin: 0 0 8px;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
}

.footer-meta {
  display: grid;
  align-content: space-between;
  justify-items: end;
  gap: 22px;
  text-align: right;
}

.footer-meta__icons {
  display: flex;
  gap: 12px;
}

.footer-meta__icons span {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.92);
  font-weight: 600;
}

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

  .hero__copy {
    padding-left: 0;
  }

  .hero__art {
    min-height: 420px;
  }

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

  .footer-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-meta {
    justify-items: start;
    text-align: left;
  }
}

@media (max-width: 960px) {
  .site-shell {
    width: min(100%, calc(100% - 28px));
  }

  .topbar {
    flex-wrap: wrap;
    justify-content: center;
  }

  .nav {
    order: 3;
    width: 100%;
    margin: 0;
    justify-content: center;
    flex-wrap: wrap;
    gap: 18px;
  }

  .hero {
    padding-top: 20px;
  }

  .hero h1 {
    font-size: clamp(2.8rem, 13vw, 4.8rem);
  }

  .hero p {
    font-size: 1.08rem;
  }

  .hero__art {
    min-height: 330px;
  }

  .hero__sigil {
    width: min(82vw, 420px);
  }

  .hero__mesh {
    width: min(94vw, 560px);
  }

  .hero__art img {
    width: min(56vw, 300px);
  }

  .search-panel {
    margin-bottom: 76px;
  }

  .search-panel__main {
    grid-template-columns: 1fr;
    padding: 24px 20px 22px;
  }

  .search-panel__icon {
    display: none;
  }

  .search-panel__placeholder {
    font-size: 2rem;
  }

  .search-panel__tokens {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .search-panel__button,
  .cta-footer__action {
    width: 100%;
    min-height: 68px;
  }

  .search-panel__footer {
    grid-template-columns: 1fr;
    padding: 18px 20px 20px;
  }

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

  .cta-footer {
    padding: 44px 0 30px;
  }

  .cta-footer__cta,
  .footer-links {
    grid-template-columns: 1fr;
  }

  .cta-footer__action-wrap,
  .footer-meta {
    justify-items: start;
    text-align: left;
  }
}

@media (max-width: 640px) {
  .topbar {
    padding-top: 20px;
  }

  .brand {
    width: 100%;
    justify-content: center;
  }

  .wallet-button {
    width: 100%;
    justify-content: center;
  }

  .hero__eyebrow,
  .section-heading__eyebrow {
    font-size: 0.72rem;
  }

  .search-panel__placeholder {
    font-size: 1.5rem;
  }

  .search-panel__chips {
    gap: 10px;
  }

  .search-panel__chips span {
    width: 100%;
    text-align: center;
  }

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

  .capability-card {
    min-height: 210px;
  }
}
