/* Base variables */
:root {
  --color-bg: #262627;
  --color-bg-alt: #3D3D3D;
  --color-text: #E7E7E7;
  --color-accent: #FEE5A5;
  --color-muted: #9a9a9a;
  --radius-lg: 16px;
  --radius-md: 10px;
  --radius-pill: 999px;
  --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.55);
  --shadow-chip: 0 10px 25px rgba(0, 0, 0, 0.45);
  --container-width: 1120px;
}

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

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: radial-gradient(circle at top left, #3D3D3D 0, #262627 42%, #050506 100%);
  color: var(--color-text);
  min-height: 100%;
}

body {
  display: flex;
  flex-direction: column;
}

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

/* Inline content images with original dimensions */
.section-image {
  max-width: none;
  height: auto;
  margin-left: auto;
  margin-right: auto;
}

.section-media {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

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

main {
  flex: 1 0 auto;
}

footer {
  flex-shrink: 0;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 16px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: linear-gradient(
      135deg,
      rgba(38, 38, 39, 0.97),
      rgba(61, 61, 61, 0.92)
    );
  border-bottom: 1px solid rgba(231, 231, 231, 0.05);
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 24px;
}

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

.brand-logo {
  width: 142px;
  height: 41px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
}

.brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-title {
  font-weight: 600;
  font-size: 17px;
  letter-spacing: 0.03em;
}

.brand-sub {
  font-weight: 300;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 14px;
  font-weight: 500;
}

.nav a {
  position: relative;
  padding: 6px 0;
  color: #e4e4e4;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #FEE5A5, #ffffff);
  transition: width 0.2s ease-out;
}

.nav a:hover::after,
.nav a[aria-current="page"]::after {
  width: 100%;
}

.nav a[aria-current="page"] {
  color: #ffffff;
}

/* Hero */
.hero {
  padding: 40px 0 24px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}

.hero-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: radial-gradient(circle at 0 0, rgba(254, 229, 165, 0.16), transparent 55%),
    rgba(0, 0, 0, 0.45);
  color: var(--color-text);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  box-shadow: var(--shadow-chip);
}

.chip-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 20%, #FEE5A5, #3D3D3D);
}

.hero-title {
  font-size: clamp(28px, 4vw, 34px);
  font-weight: 700;
  letter-spacing: 0.01em;
  margin: 0 0 14px;
}

.hero-subtitle {
  margin: 0 0 20px;
  color: var(--color-muted);
  font-weight: 300;
  font-size: 14px;
  line-height: 1.6;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 20px;
}

.hero-stat {
  min-width: 120px;
}

.hero-stat-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-muted);
  margin-bottom: 4px;
}

.hero-stat-value {
  font-size: 18px;
  font-weight: 600;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.badge-soft {
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(231, 231, 231, 0.08);
  font-size: 11px;
  color: var(--color-muted);
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* STA buttons (login / register) */
.sta-group {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn-sta-primary,
.btn-sta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  transition: transform 0.15s ease-out, box-shadow 0.15s ease-out, background 0.15s ease-out,
    color 0.15s ease-out;
  white-space: nowrap;
}

.btn-sta-primary {
  background: linear-gradient(135deg, #FEE5A5, #ffffff);
  color: #262627;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.75);
}

.btn-sta-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.85);
}

.btn-sta-secondary {
  background: rgba(0, 0, 0, 0.2);
  color: #f1f1f1;
  border: 1px solid rgba(231, 231, 231, 0.25);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
}

.btn-sta-secondary:hover {
  background: rgba(0, 0, 0, 0.35);
  transform: translateY(-1px);
}

.btn-sta-sm {
  padding: 7px 16px;
  font-size: 11px;
}

/* Hero visual */
.hero-card {
  border-radius: 24px;
  background: radial-gradient(circle at 0 0, rgba(254, 229, 165, 0.12), transparent 60%),
    linear-gradient(145deg, #1a1a1b, #141415);
  box-shadow: var(--shadow-soft);
  padding: 20px 20px 18px;
  position: relative;
  overflow: hidden;
}

.hero-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.hero-card-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-card-logo {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: radial-gradient(circle at 25% 20%, #FEE5A5 0, #3D3D3D 65%, #050506 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
}

.hero-card-logo img {
  width: 100%;
  height: 100%;
}

.hero-card-meta-title {
  font-size: 14px;
  font-weight: 600;
}

.hero-card-meta-sub {
  font-size: 11px;
  color: var(--color-muted);
}

.hero-card-pill {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.45);
  font-size: 11px;
  color: var(--color-muted);
}

.hero-card-main {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 14px;
  align-items: flex-end;
}

.hero-card-highlight {
  font-size: 13px;
  margin-bottom: 8px;
  font-weight: 500;
}

.hero-card-amount {
  font-size: 22px;
  font-weight: 700;
}

.hero-card-caption {
  font-size: 11px;
  color: var(--color-muted);
  margin-top: 4px;
}

.hero-card-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 11px;
  color: var(--color-muted);
}

.hero-card-list li + li {
  margin-top: 4px;
}

.hero-card-footer {
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.hero-card-badge {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--color-muted);
}

.hero-card-indicators {
  display: flex;
  gap: 6px;
}

.hero-card-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(254, 229, 165, 0.6);
}

.hero-card-dot:nth-child(2) {
  opacity: 0.6;
}

.hero-card-dot:nth-child(3) {
  opacity: 0.3;
}

/* Layout: content sections */
.content {
  padding: 6px 0 40px;
}

.content-grid {
  display: grid;
  gap: 30px;
  align-items: flex-start;
}

.content-main,
.content-aside {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.section-block {
  background: radial-gradient(circle at 10% 0, rgba(254, 229, 165, 0.08), transparent 55%),
    #181819;
  border-radius: var(--radius-lg);
  padding: 20px 20px 18px;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.75);
  border: 1px solid rgba(231, 231, 231, 0.04);
}

.section-block--muted {
  background: #181819;
}

.section-title {
  font-size: 18px;
  margin: 0 0 14px;
  font-weight: 600;
}

.section-subtitle {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 500;
}

.section-text p {
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--color-text);
}

.section-text p:last-child {
  margin-bottom: 0;
}

.section-text em {
  font-style: italic;
}

.section-note {
  font-size: 12px;
  color: var(--color-muted);
  margin-top: 10px;
}

/* Tables */
.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.table thead th {
  text-align: left;
  font-weight: 600;
  padding: 8px 10px;
  border-bottom: 1px solid rgba(231, 231, 231, 0.12);
  color: var(--color-muted);
}

.table tbody td {
  padding: 7px 10px;
  border-bottom: 1px solid rgba(231, 231, 231, 0.04);
  vertical-align: top;
}

.table tbody tr:last-child td {
  border-bottom: none;
}

.table--tight thead th,
.table--tight tbody td {
  padding-top: 6px;
  padding-bottom: 6px;
}

.table small {
  font-size: 11px;
  color: var(--color-muted);
}

/* Lists */
.list {
  margin: 0;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.7;
}

.list li + li {
  margin-top: 4px;
}

.list--compact {
  font-size: 13px;
}

/* Badges for inline labels */
.label {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 2px 8px;
  background: rgba(0, 0, 0, 0.4);
  font-size: 11px;
  color: var(--color-muted);
}

/* FAQ style */
.faq-item + .faq-item {
  margin-top: 12px;
}

.faq-q {
  font-weight: 600;
  margin-bottom: 4px;
}

.faq-a {
  color: var(--color-text);
}

/* Footer */
.site-footer {
  padding: 22px 0 26px;
  border-top: 1px solid rgba(231, 231, 231, 0.04);
  background: #151516;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-size: 12px;
  color: var(--color-muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-links a {
  color: var(--color-muted);
  font-weight: 500;
}

.footer-links a:hover {
  color: #f0f0f0;
}

/* Generic page layout (About, Privacy) */
.page-hero {
  padding: 32px 0 16px;
}

.page-hero-inner {
  max-width: 760px;
}

.page-kicker {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: 8px;
}

.page-title {
  margin: 0 0 10px;
  font-size: clamp(26px, 3.2vw, 30px);
  font-weight: 700;
}

.page-intro {
  margin: 0;
  color: var(--color-muted);
  font-size: 14px;
  max-width: 640px;
}

.page-body {
  padding: 10px 0 40px;
  display: grid;
  gap: 28px;
}

.page-body-main,
.page-body-aside {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

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

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

  .content-aside {
    order: -1;
  }

  .page-body {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 720px) {
  .site-header-inner {
    padding: 10px 0;
  }

  .nav {
    display: none;
  }

  .hero {
    padding-top: 26px;
  }

  .section-block,
  .hero-card {
    padding: 18px 16px 16px;
    border-radius: 16px;
  }

  .page-body,
  .content {
    padding-bottom: 26px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

