@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Playfair+Display:wght@600;700&display=swap');

:root {
  --bg: #07111f;
  --bg-2: #0b1628;
  --bg-3: #0f1d33;
  --panel: rgba(255, 255, 255, 0.065);
  --panel-strong: rgba(255, 255, 255, 0.095);
  --text: #f5f2ea;
  --muted: #a7b0c3;
  --muted-2: #7f8aa0;
  --line: rgba(255, 255, 255, 0.13);
  --gold: #c9a86a;
  --gold-2: #ead8a8;
  --green: #83d8bd;
  --danger: #e48d8d;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.38);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 18% 12%, rgba(201, 168, 106, 0.16), transparent 34rem),
    radial-gradient(circle at 82% 6%, rgba(75, 111, 166, 0.22), transparent 32rem),
    linear-gradient(180deg, #050b15 0%, var(--bg) 42%, #04070d 100%);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.75), transparent 78%);
}

button,
a,
input,
select {
  font: inherit;
}

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

.site-shell {
  position: relative;
  isolation: isolate;
}

.ambient {
  position: fixed;
  width: 34rem;
  height: 34rem;
  border-radius: 999px;
  filter: blur(80px);
  opacity: 0.42;
  pointer-events: none;
  z-index: -2;
}

.ambient-one {
  top: -12rem;
  right: -10rem;
  background: rgba(201, 168, 106, 0.24);
}

.ambient-two {
  bottom: 8rem;
  left: -14rem;
  background: rgba(73, 112, 170, 0.28);
}

.grain {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.13;
  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.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.45'/%3E%3C/svg%3E");
}

.topbar,
.section-pad,
.trust-strip,
.metrics-band,
.final-cta,
.footer {
  width: min(var(--container), calc(100% - 40px));
  margin-inline: auto;
}

.topbar {
  position: sticky;
  top: 18px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 18px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(7, 17, 31, 0.72);
  backdrop-filter: blur(22px);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.26);
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(234, 216, 168, 0.52);
  border-radius: 50%;
  color: var(--gold-2);
  background:
    radial-gradient(circle at 30% 22%, rgba(234, 216, 168, 0.32), transparent 34%),
    linear-gradient(145deg, rgba(201, 168, 106, 0.26), rgba(255, 255, 255, 0.04));
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.35rem;
  font-weight: 700;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 12px 34px rgba(201, 168, 106, 0.13);
}

.brand-text {
  font-weight: 700;
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: 0.94rem;
}

.nav-links a,
.footer-links a,
.dapp-nav a {
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease;
}

.nav-links a:hover,
.footer-links a:hover {
  color: var(--text);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

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

.button-gold {
  color: #171207;
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  box-shadow: 0 18px 40px rgba(201, 168, 106, 0.22);
}

.button-ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.055);
  border-color: var(--line);
}

.button-small {
  min-height: 42px;
  padding: 0 18px;
  font-size: 0.92rem;
}

.button-full {
  width: 100%;
}

.section-pad {
  padding: 112px 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(360px, 0.96fr);
  align-items: center;
  gap: 56px;
  min-height: calc(100vh - 92px);
  padding-top: 72px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold-2);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow span {
  width: 34px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}

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

h1,
h2 {
  font-family: "Playfair Display", Georgia, serif;
  line-height: 1.02;
  letter-spacing: -0.045em;
}

h1 {
  max-width: 840px;
  margin: 20px 0 24px;
  font-size: clamp(3.5rem, 8vw, 7.4rem);
  font-weight: 700;
}

h2 {
  margin: 16px 0 18px;
  font-size: clamp(2.3rem, 4.8vw, 4.7rem);
  font-weight: 700;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.25rem;
  line-height: 1.25;
}

h4 {
  margin-bottom: 0;
  font-size: 1.05rem;
}

.hero-lede,
.section-heading p,
.final-cta p,
.footer p {
  color: var(--muted);
}

.hero-lede {
  max-width: 680px;
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 34px 0;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 760px;
}

.hero-proof div,
.feature-card,
.security-panel,
.roadmap-card,
.metric-card,
.transfer-panel,
.summary-panel,
.shield-card,
.faq-list details {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.035));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}

.hero-proof div {
  padding: 16px;
  border-radius: var(--radius-md);
}

.hero-proof strong,
.hero-proof span {
  display: block;
}

.hero-proof strong {
  font-size: 0.95rem;
}

.hero-proof span {
  margin-top: 4px;
  color: var(--muted-2);
  font-size: 0.86rem;
}

.hero-visual {
  position: relative;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 12% -6% auto auto;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(234, 216, 168, 0.24);
  border-radius: 50%;
  transform: rotate(-12deg);
}

.shield-card {
  position: relative;
  overflow: hidden;
  padding: 28px;
  border-radius: 34px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.035)),
    radial-gradient(circle at 82% 8%, rgba(234, 216, 168, 0.22), transparent 18rem);
  box-shadow: var(--shadow);
}

.shield-card::after {
  content: "";
  position: absolute;
  inset: auto -20% -42% 18%;
  height: 260px;
  background: radial-gradient(circle, rgba(201, 168, 106, 0.24), transparent 62%);
  pointer-events: none;
}

.shield-card-top,
.shield-footer,
.panel-heading,
.dapp-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.label,
.status-pill,
.metric-card span,
.metric-card small,
.summary-note,
.roadmap-card span,
.copyright {
  color: var(--muted-2);
  font-size: 0.82rem;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border: 1px solid rgba(131, 216, 189, 0.28);
  border-radius: 999px;
  color: var(--green);
  background: rgba(131, 216, 189, 0.08);
}

.status-pill.muted {
  color: var(--muted);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.05);
}

.route-line {
  display: grid;
  grid-template-columns: 12px 1fr 12px;
  align-items: center;
  gap: 12px;
  margin: 34px 0;
}

.route-line span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold-2);
  box-shadow: 0 0 24px rgba(234, 216, 168, 0.7);
}

.route-line i {
  height: 1px;
  background: linear-gradient(90deg, rgba(234, 216, 168, 0.08), rgba(234, 216, 168, 0.9), rgba(234, 216, 168, 0.08));
}

.transfer-preview {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.transfer-preview div,
.shield-footer > div {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: rgba(2, 8, 16, 0.28);
}

.transfer-preview span,
.shield-footer span {
  display: block;
  margin-bottom: 5px;
  color: var(--muted-2);
  font-size: 0.78rem;
}

.transfer-preview strong,
.shield-footer strong {
  font-size: 0.96rem;
}

.shield-footer {
  position: relative;
  z-index: 1;
  margin-top: 18px;
}

.trust-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.trust-strip p {
  margin: 0;
  font-size: 0.86rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.trust-strip div {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 22px;
  font-size: 0.92rem;
}

.section-heading {
  max-width: 780px;
  margin: 0 auto 46px;
  text-align: center;
}

.section-heading.left {
  margin: 0;
  text-align: left;
}

.section-heading.compact {
  max-width: 680px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.feature-card,
.roadmap-card {
  padding: 26px;
  border-radius: var(--radius-lg);
}

.feature-card p,
.roadmap-card p,
.security-row span,
.faq-list p {
  color: var(--muted);
}

.icon-ring {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 24px;
  border: 1px solid rgba(234, 216, 168, 0.28);
  border-radius: 50%;
  color: var(--gold-2);
  background: rgba(201, 168, 106, 0.08);
  font-size: 0.82rem;
  font-weight: 800;
}

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

.dapp-shell {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 36px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.035)),
    rgba(3, 9, 18, 0.55);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
}

.dapp-sidebar {
  padding: 26px;
  border-right: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.035);
}

.dapp-brand strong,
.dapp-brand span {
  display: block;
}

.dapp-brand span {
  color: var(--muted-2);
  font-size: 0.82rem;
}

.dapp-nav {
  display: grid;
  gap: 8px;
  margin: 34px 0;
}

.dapp-nav a {
  padding: 12px 14px;
  border: 1px solid transparent;
  border-radius: 14px;
  color: var(--muted);
}

.dapp-nav a:hover,
.dapp-nav a.active {
  color: var(--text);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.06);
}

.sidebar-note {
  margin-top: 220px;
  padding: 16px;
  border: 1px solid rgba(234, 216, 168, 0.2);
  border-radius: 18px;
  background: rgba(201, 168, 106, 0.07);
}

.sidebar-note span,
.sidebar-note strong {
  display: block;
}

.sidebar-note span {
  color: var(--muted-2);
  font-size: 0.8rem;
}

.sidebar-note strong {
  color: var(--gold-2);
}

.dapp-main {
  padding: 26px;
}

.dapp-topbar {
  margin-bottom: 22px;
}

.balance-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr 0.9fr;
  gap: 14px;
  margin-bottom: 14px;
}

.metric-card,
.transfer-panel,
.summary-panel {
  border-radius: 24px;
}

.metric-card {
  padding: 20px;
}

.metric-card strong {
  display: block;
  margin: 8px 0 6px;
  font-size: clamp(1.3rem, 2.4vw, 2rem);
  letter-spacing: -0.04em;
}

.metric-card small {
  display: block;
}

.console-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 14px;
}

.transfer-panel,
.summary-panel {
  padding: 24px;
}

.transfer-panel label {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

.transfer-panel label > span {
  color: var(--muted);
  font-size: 0.9rem;
}

input,
select {
  width: 100%;
  min-height: 52px;
  border: 1px solid var(--line);
  border-radius: 14px;
  outline: none;
  color: var(--text);
  background: rgba(2, 8, 16, 0.34);
  padding: 0 14px;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

input:focus,
select:focus {
  border-color: rgba(234, 216, 168, 0.56);
  box-shadow: 0 0 0 4px rgba(201, 168, 106, 0.12);
  background: rgba(2, 8, 16, 0.48);
}

input[type="range"] {
  min-height: auto;
  padding: 0;
  accent-color: var(--gold);
  background: transparent;
  border: 0;
  box-shadow: none;
}

.range-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.range-meta strong {
  color: var(--gold-2);
}

.transfer-panel .button {
  margin-top: 20px;
}

.summary-list {
  display: grid;
  gap: 12px;
  margin: 22px 0;
}

.summary-list div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.summary-list dt {
  color: var(--muted-2);
}

.summary-list dd {
  margin: 0;
  text-align: right;
  font-weight: 700;
}

.summary-note {
  padding: 14px;
  border: 1px solid rgba(234, 216, 168, 0.18);
  border-radius: 16px;
  background: rgba(201, 168, 106, 0.07);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: 48px;
  align-items: start;
}

.security-panel {
  overflow: hidden;
  border-radius: 30px;
}

.security-row {
  display: grid;
  gap: 6px;
  padding: 22px 24px;
}

.security-row + .security-row {
  border-top: 1px solid var(--line);
}

.metrics-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: linear-gradient(135deg, rgba(201, 168, 106, 0.12), rgba(255, 255, 255, 0.045));
}

.metrics-band div {
  display: grid;
  gap: 4px;
}

.metrics-band strong {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
}

.metrics-band span {
  color: var(--muted);
  font-size: 0.9rem;
}

.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.roadmap-card span {
  color: var(--gold-2);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.faq-list details {
  border-radius: 20px;
  padding: 20px 22px;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 800;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  float: right;
  color: var(--gold-2);
}

.faq-list details[open] summary::after {
  content: "–";
}

.faq-list p {
  margin: 14px 0 0;
}

.final-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 92px;
  padding: 42px;
  border: 1px solid rgba(234, 216, 168, 0.24);
  border-radius: 34px;
  background:
    radial-gradient(circle at 80% 20%, rgba(234, 216, 168, 0.18), transparent 24rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.04));
  box-shadow: var(--shadow);
}

.final-cta h2 {
  margin-bottom: 12px;
}

.final-cta p {
  margin-bottom: 0;
}

.footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: start;
  padding: 34px 0 46px;
  border-top: 1px solid var(--line);
}

.footer p {
  max-width: 420px;
  margin: 16px 0 0;
}

.footer-links {
  display: flex;
  gap: 18px;
  color: var(--muted);
}

.copyright {
  grid-column: 1 / -1;
}

.toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 50;
  max-width: min(420px, calc(100vw - 44px));
  padding: 14px 16px;
  border: 1px solid rgba(234, 216, 168, 0.28);
  border-radius: 16px;
  color: var(--text);
  background: rgba(7, 17, 31, 0.9);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition: opacity 220ms ease, transform 220ms ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 700ms ease, transform 700ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .hero,
  .split-section,
  .console-grid {
    grid-template-columns: 1fr;
  }

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

  .dapp-shell {
    grid-template-columns: 1fr;
  }

  .dapp-sidebar {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .sidebar-note {
    margin-top: 24px;
  }
}

@media (max-width: 820px) {
  .topbar {
    border-radius: 24px;
  }

  .nav-links {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 56px;
  }

  .hero-proof,
  .feature-grid,
  .roadmap-grid,
  .balance-grid,
  .metrics-band,
  .trust-strip,
  .final-cta,
  .footer {
    grid-template-columns: 1fr;
  }

  .trust-strip,
  .final-cta {
    display: grid;
    justify-items: start;
  }

  .trust-strip div {
    justify-content: flex-start;
  }

  .section-pad {
    padding: 76px 0;
  }

  .transfer-preview {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .topbar,
  .section-pad,
  .trust-strip,
  .metrics-band,
  .final-cta,
  .footer {
    width: min(100% - 28px, var(--container));
  }

  .topbar .button {
    display: none;
  }

  h1 {
    font-size: clamp(3rem, 16vw, 4.4rem);
  }

  .dapp-main,
  .dapp-sidebar,
  .shield-card,
  .final-cta {
    padding: 20px;
  }

  .footer-links {
    flex-wrap: wrap;
  }
}

/* Official logo image */
.brand-logo {
  display: block;
  width: 42px;
  height: 42px;
  object-fit: cover;
  border: 1px solid rgba(234, 216, 168, 0.45);
  border-radius: 12px;
  background: #050b15;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 12px 34px rgba(201, 168, 106, 0.13);
}

/* Dedicated Dapp subweb */
.dapp-page-shell {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
  padding: 54px 0 90px;
}

.dapp-hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding: 44px 0 24px;
}

.dapp-hero h1 {
  margin: 18px 0 14px;
  font-size: clamp(2.7rem, 6vw, 5.6rem);
}

.dapp-hero p {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
}

.notice-banner {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 18px;
  padding: 16px 18px;
  border: 1px solid rgba(234, 216, 168, 0.24);
  border-radius: 18px;
  color: var(--muted);
  background: rgba(201, 168, 106, 0.08);
}

.notice-banner strong {
  color: var(--gold-2);
}

.dapp-console {
  margin-top: 18px;
}

.dapp-tabs {
  display: grid;
  gap: 8px;
  margin: 34px 0;
}

.dapp-tab {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 14px;
  color: var(--muted);
  background: transparent;
  text-align: left;
  cursor: pointer;
  font-weight: 700;
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.dapp-tab:hover,
.dapp-tab.active {
  color: var(--text);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.06);
}

.dapp-tab:active {
  transform: translateY(1px);
}

.tab-view {
  display: none;
}

.tab-view.active {
  display: block;
  animation: viewIn 260ms ease both;
}

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

.overview-grid,
.compliance-grid {
  display: grid;
  gap: 14px;
}

.overview-grid {
  grid-template-columns: 1.1fr 0.9fr;
}

.compliance-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 14px;
}

.overview-card,
.policy-card,
.review-panel {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.035));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.overview-card,
.policy-card {
  padding: 24px;
}

.overview-card p,
.policy-card p {
  color: var(--muted);
}

.policy-card .button,
.overview-card .button {
  margin-top: 8px;
}

.activity-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  font-weight: 700;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease;
}

.chip:hover,
.chip.active {
  color: #171207;
  border-color: transparent;
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
}

.activity-list {
  display: grid;
  gap: 12px;
}

.activity-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
}

.activity-item strong,
.activity-item span {
  display: block;
}

.activity-item div span {
  margin-top: 4px;
  color: var(--muted-2);
  font-size: 0.88rem;
}

.status-pill.settled {
  color: var(--gold-2);
  border-color: rgba(234, 216, 168, 0.3);
  background: rgba(201, 168, 106, 0.1);
}

.review-panel {
  overflow: hidden;
}

.review-panel .panel-heading {
  padding: 22px 24px 0;
}

.dapp-teaser {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 18px;
  align-items: stretch;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 34px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.035));
  box-shadow: var(--shadow);
}

.teaser-copy {
  padding: 26px;
}

.teaser-copy p {
  color: var(--muted);
}

.teaser-frame {
  display: grid;
  grid-template-columns: 190px 1fr;
  min-height: 320px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(2, 8, 16, 0.34);
}

.teaser-sidebar {
  display: grid;
  align-content: start;
  gap: 16px;
  padding: 22px;
  border-right: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.teaser-sidebar div {
  display: grid;
  gap: 10px;
}

.teaser-sidebar strong,
.teaser-sidebar span {
  padding: 10px 12px;
  border-radius: 12px;
  color: var(--muted);
}

.teaser-sidebar strong {
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
}

.teaser-panel {
  padding: 26px;
}

.teaser-panel p {
  color: var(--muted);
}

.teaser-lines {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.teaser-lines i {
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(234, 216, 168, 0.5), rgba(255, 255, 255, 0.08));
}

.teaser-lines i:nth-child(2) {
  width: 72%;
}

.teaser-lines i:nth-child(3) {
  width: 46%;
}

.footer-compact {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

@media (max-width: 1080px) {
  .overview-grid,
  .compliance-grid,
  .dapp-teaser {
    grid-template-columns: 1fr;
  }

  .teaser-frame {
    grid-template-columns: 1fr;
  }

  .teaser-sidebar {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 820px) {
  .dapp-page-shell {
    width: min(100% - 28px, var(--container));
  }

  .dapp-hero,
  .activity-toolbar,
  .footer-compact {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
