:root {
  --bg: #070b1a;
  --bg-soft: #101735;
  --card: rgba(18, 27, 58, 0.78);
  --card-border: rgba(194, 171, 255, 0.22);
  --text: #f6f2ff;
  --muted: #cbc5dc;
  --accent: #9d7cff;
  --accent-strong: #b794ff;
  --button-text: #ffffff;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
  --focus: #ffd66b;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 75% 25%, rgba(132, 89, 255, 0.24), transparent 32rem),
    radial-gradient(circle at 45% 5%, rgba(255, 190, 120, 0.08), transparent 22rem),
    linear-gradient(135deg, #050816 0%, #091027 45%, #111735 100%);
  line-height: 1.6;
}

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

a {
  color: var(--accent-strong);
}

a:hover {
  color: #d7c8ff;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 20;
  padding: 0.75rem 1rem;
  background: var(--focus);
  color: #101010;
  border-radius: 999px;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  padding: 1rem;
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.9rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1.25rem;
  background: rgba(9, 15, 35, 0.82);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  font-size: 1.45rem;
  white-space: nowrap;
}

.brand-logo {
  width: 3.2rem;
  height: 3.2rem;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.8rem;
}

.site-nav a {
  padding: 0.55rem 0.75rem;
  color: var(--text);
  text-decoration: none;
  border-radius: 999px;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(255, 255, 255, 0.08);
}

main {
  width: 100%;
}

.hero {
  max-width: var(--max-width);
  margin: 2.25rem auto 0;
  padding: 3rem 1.5rem 2rem;
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(18rem, 0.97fr);
  align-items: center;
  gap: 2rem;
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: #d6c8ff;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.hero h1 {
  margin: 0;
  max-width: 11ch;
  font-size: clamp(2.65rem, 7vw, 5.6rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.hero-lead {
  margin: 1.5rem 0 0;
  max-width: 42rem;
  color: var(--text);
  font-size: clamp(1.12rem, 2vw, 1.35rem);
}

.hero-text {
  margin: 1rem 0 0;
  max-width: 42rem;
  color: var(--muted);
  font-size: 1.03rem;
}

.hero-actions {
  margin-top: 1.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.8rem 1.1rem;
  border-radius: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.button-primary {
  color: var(--button-text);
  background: linear-gradient(135deg, #7e5cf2 0%, #b47cff 100%);
  box-shadow: 0 14px 34px rgba(157, 124, 255, 0.28);
}

.button-secondary {
  color: var(--text);
  border: 1px solid rgba(183, 148, 255, 0.72);
  background: rgba(255, 255, 255, 0.04);
}

.button-danger {
  color: #ffffff;
  border: 2px solid #ffb1b1;
  background: #8d202d;
}

.button-danger:hover {
  background: #a72a39;
}

.hero-art {
  min-width: 0;
}

.hero-image {
  width: 100%;
  filter: drop-shadow(0 28px 60px rgba(0, 0, 0, 0.45));
}

.cards,
.statement,
.community {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

.section-heading {
  max-width: 46rem;
  margin-bottom: 1.5rem;
}

.section-heading h2,
.statement h2,
.community h2 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.section-heading p,
.statement p,
.community p {
  color: var(--muted);
  font-size: 1.07rem;
}

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

.card {
  padding: 1.4rem;
  border: 1px solid var(--card-border);
  border-radius: 1.2rem;
  background: var(--card);
  box-shadow: var(--shadow);
}

.card-icon {
  width: 3.4rem;
  height: 3.4rem;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  border-radius: 1rem;
  color: var(--text);
  background: rgba(157, 124, 255, 0.22);
  font-size: 1.65rem;
  font-weight: 700;
  line-height: 1;
}

.card h3 {
  margin: 0 0 0.6rem;
  font-size: 1.45rem;
  line-height: 1.2;
}

.card p {
  margin: 0 0 1.1rem;
  color: var(--muted);
}

.card a {
  font-weight: 700;
  text-decoration: none;
}

.statement,
.community {
  padding-top: 1rem;
}

.statement {
  max-width: 920px;
}

.community {
  text-align: center;
}

.site-footer {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2rem 1.5rem 3rem;
  color: var(--muted);
  text-align: center;
}

.footer-nav { display:flex; flex-wrap:wrap; justify-content:center; gap:.45rem 1rem; margin-bottom:.85rem; }
.footer-nav a { color:var(--text); text-decoration:none; }
.footer-nav a:hover,.footer-nav a:focus-visible { text-decoration:underline; text-underline-offset:.3em; }
.editorial { max-width:920px; margin:0 auto; padding:1rem 1.5rem 3.5rem; }
.editorial-section { max-width:72ch; margin:0 auto; padding:1.2rem 0; }
.editorial-section + .editorial-section { border-top:1px solid rgba(255,255,255,.12); }
.editorial-section h2 { margin:0 0 .85rem; font-size:clamp(1.55rem,3vw,2.15rem); line-height:1.15; letter-spacing:-.025em; }
.editorial-section p { color:var(--muted); font-size:1.075rem; }
.contact-panel,.empty-state { max-width:72ch; margin:1.25rem auto 0; padding:1.4rem; border:1px solid var(--card-border); border-radius:1.2rem; background:linear-gradient(135deg,rgba(157,124,255,.16),rgba(18,27,58,.82)); box-shadow:var(--shadow); }
.contact-panel h2,.empty-state h3 { margin-top:0; }
.filter-control { display:grid; max-width:30rem; gap:.45rem; margin-top:1.5rem; }
.filter-control label { font-weight:700; }
.filter-control select { min-height:3rem; padding:.7rem 2.5rem .7rem .85rem; border:1px solid rgba(255,255,255,.22); border-radius:.8rem; color:var(--text); background:#151d3b; font:inherit; }
.filter-control select:focus-visible { outline:3px solid var(--focus); outline-offset:3px; }

@media (max-width: 1300px) {
  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.5rem;
  }

  .site-nav {
    justify-content: flex-start;
  }
}

@media (max-width: 860px) {

  .hero {
    grid-template-columns: 1fr;
    padding-top: 2rem;
  }

  .hero h1 {
    max-width: 12ch;
  }

  .hero-art {
    max-width: 32rem;
    margin: 0 auto;
  }

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}


.page-hero,
.subpage-hero {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2.2rem 1.5rem 1rem;
}

.page-hero {
  max-width: 920px;
}

.page-hero h1,
.subpage-hero h1 {
  margin: 0;
  font-size: clamp(2.3rem, 5vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.page-hero p,
.subpage-hero p {
  color: var(--muted);
  font-size: 1.06rem;
}

.subpage-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.4rem;
  align-items: start;
}

.subpage-art {
  min-width: 0;
}

.subpage-image {
  width: 100%;
  border-radius: 1.3rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow);
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.detail-card {
  padding: 1.4rem;
  border: 1px solid var(--card-border);
  border-radius: 1.2rem;
  background: var(--card);
  box-shadow: var(--shadow);
}

.detail-card h3 {
  margin-top: 0;
  margin-bottom: 0.8rem;
  font-size: 1.3rem;
}

.detail-card p,
.detail-card li {
  color: var(--muted);
}

.detail-card ul {
  margin: 0;
  padding-left: 1.3rem;
}

.account-section {
  padding-top: 1rem;
}

.account-panel {
  max-width: 680px;
  padding: 1.4rem;
  border: 1px solid var(--card-border);
  border-radius: 1.2rem;
  background: var(--card);
  box-shadow: var(--shadow);
}

.account-panel h2 {
  margin-top: 0;
}

.account-form {
  display: grid;
  gap: 1rem;
}

.form-row {
  display: grid;
  gap: 0.35rem;
}

.form-row label {
  font-weight: 700;
}

.form-row input {
  width: 100%;
  min-height: 3rem;
  padding: 0.75rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 0.7rem;
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  font: inherit;
}

.form-row input:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.field-note,
.small-note,
.status-message {
  color: var(--muted);
}

.field-note {
  margin: 0;
  font-size: 0.95rem;
}

.status-message {
  min-height: 1.6rem;
}

.transaction-list {
  display: grid;
  gap: 0.8rem;
  margin: 1rem 0;
  padding-left: 1.5rem;
}

.transaction-item {
  padding: 0.8rem 1rem;
  border-left: 3px solid var(--accent);
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.danger-panel {
  border-color: rgba(255, 177, 177, 0.72);
}

@media (min-width: 861px) {
  .subpage-hero {
    grid-template-columns: minmax(0, 0.85fr) minmax(18rem, 1.15fr);
  }
}

@media (max-width: 860px) {
  .detail-grid {
    grid-template-columns: 1fr;
  }
}
