:root {
  --color-bg: #090b18;
  --color-surface: #121833;
  --color-surface-2: #1b2450;
  --color-text: #f6f8ff;
  --color-text-muted: #b8c1e1;
  --color-primary: #ffcc4d;
  --color-primary-2: #ec3f5b;
  --color-btn-text: #111522;
  --font-main: 'Bricolage Grotesque', system-ui, sans-serif;
  --container: 1180px;
}

html, body {
  overflow-x: hidden;
  max-width: 100%;
}

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

body {
  margin: 0;
  font-family: var(--font-main);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
}

a { color: inherit; }

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

main {
  min-height: 60vh;
}

.container {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

.table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}


/* Home page content */
.hero-section {
  position: relative;
  overflow: hidden;
  padding: clamp(48px, 8vw, 92px) 0 clamp(38px, 7vw, 74px);
  background:
    radial-gradient(circle at 18% 20%, rgba(255, 204, 77, 0.26), transparent 30%),
    radial-gradient(circle at 80% 18%, rgba(236, 63, 91, 0.22), transparent 32%),
    linear-gradient(135deg, #080b19 0%, #121a3a 54%, #090b18 100%);
}

.hero-section::after {
  content: "";
  position: absolute;
  inset: auto -10% -40% -10%;
  height: 220px;
  background: radial-gradient(ellipse, rgba(53, 158, 255, 0.22), transparent 68%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: clamp(28px, 5vw, 58px);
  align-items: center;
}

.eyebrow {
  width: fit-content;
  margin: 0 0 18px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 204, 77, 0.34);
  border-radius: 999px;
  background: rgba(255, 204, 77, 0.09);
  color: var(--color-primary);
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.82rem;
}

.hero-copy h1 {
  margin: 0;
  max-width: 780px;
  font-size: clamp(2.4rem, 5.3vw, 5.4rem);
  line-height: 0.96;
  letter-spacing: -0.06em;
  color: #ffffff;
}

.hero-lead {
  margin: 22px 0 0;
  max-width: 680px;
  font-size: clamp(1rem, 1.4vw, 1.22rem);
  color: var(--color-text-muted);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.hero-media {
  padding: 10px;
  border-radius: 30px;
  background: linear-gradient(135deg, rgba(255,255,255,0.16), rgba(255,255,255,0.03));
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.48);
}

.hero-media-img {
  display: block;
  width: 100%;
  border-radius: 24px;
  object-fit: cover;
}

.content-section {
  padding: clamp(34px, 6vw, 70px) 0;
  background:
    radial-gradient(circle at 90% 10%, rgba(53, 158, 255, 0.12), transparent 30%),
    var(--color-bg);
}

.first-section {
  padding-top: clamp(28px, 4vw, 52px);
}

.content-card {
  padding: clamp(22px, 4vw, 48px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(18, 24, 51, 0.94), rgba(10, 13, 30, 0.96));
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.32);
}

.content-card h2,
.content-card h3 {
  color: #ffffff;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.content-card h2 {
  margin: 54px 0 18px;
  font-size: clamp(1.75rem, 3.5vw, 3rem);
}

.content-card h3 {
  margin: 36px 0 14px;
  font-size: clamp(1.28rem, 2.4vw, 2rem);
}

.content-card h2:first-child,
.content-card h3:first-child {
  margin-top: 0;
}

.content-card p {
  margin: 0 0 18px;
  color: var(--color-text-muted);
  font-size: 1.02rem;
}

.section-figure {
  margin: 22px 0 28px;
  padding: 8px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.section-img {
  display: block;
  width: 100%;
  max-height: 560px;
  object-fit: cover;
  border-radius: 18px;
}

.section-figure figcaption {
  padding: 10px 8px 2px;
  color: var(--color-text-muted);
  font-size: 0.92rem;
}

.content-table {
  width: 100%;
  margin: 24px 0 32px;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 18px;
  background: #0e1430;
  border: 1px solid rgba(255, 255, 255, 0.13);
}

.content-table th,
.content-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  vertical-align: top;
}

.content-table th {
  color: #111522;
  background: linear-gradient(135deg, #ffe073, var(--color-primary));
  font-weight: 900;
}

.content-table td {
  color: var(--color-text);
}

.feature-list {
  display: grid;
  gap: 10px;
  margin: 18px 0 28px;
  padding: 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding: 13px 16px 13px 44px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.055);
  color: var(--color-text);
}

.feature-list li::before {
  content: "✓";
  position: absolute;
  left: 15px;
  top: 12px;
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-btn-text);
  font-size: 0.78rem;
  font-weight: 900;
}

ol.feature-list {
  counter-reset: step;
}

ol.feature-list li::before {
  counter-increment: step;
  content: counter(step);
}

.faq-list {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

.faq-item {
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.055);
  overflow: hidden;
}

.faq-item summary {
  cursor: pointer;
  padding: 18px 20px;
  color: #ffffff;
  font-weight: 800;
}

.faq-item p {
  padding: 0 20px 20px;
  margin: 0;
}

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

  .hero-copy h1 {
    font-size: clamp(2.2rem, 12vw, 4.4rem);
  }

  .content-card {
    border-radius: 22px;
  }
}

@media (max-width: 520px) {
  .hero-section {
    padding-top: 34px;
  }

  .hero-ctas .btn {
    width: 100%;
  }

  .content-card {
    padding: 20px 16px;
  }

  .content-card h2 {
    margin-top: 42px;
  }
}

/* Legal / EEAT pages */
.legal-hero {
  padding: clamp(48px, 7vw, 86px) 0 clamp(34px, 5vw, 62px);
  background:
    radial-gradient(circle at 16% 20%, rgba(255, 204, 77, 0.22), transparent 28%),
    radial-gradient(circle at 84% 8%, rgba(53, 158, 255, 0.18), transparent 30%),
    linear-gradient(135deg, #090b18 0%, #141b3e 55%, #090b18 100%);
}

.legal-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: clamp(28px, 5vw, 58px);
  align-items: center;
}

.legal-hero h1 {
  margin: 0;
  max-width: 820px;
  color: #fff;
  font-size: clamp(2.2rem, 4.8vw, 4.9rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.legal-hero-media {
  margin: 0;
  padding: 10px;
  border-radius: 30px;
  background: linear-gradient(135deg, rgba(255,255,255,0.16), rgba(255,255,255,0.04));
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 26px 80px rgba(0,0,0,0.42);
}

.legal-hero-media img {
  display: block;
  width: 100%;
  border-radius: 22px;
  object-fit: cover;
}

.legal-card a:not(.btn) {
  color: var(--color-primary);
  font-weight: 800;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
  color: var(--color-text-muted);
  font-size: 0.94rem;
}

.breadcrumbs a {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 800;
}

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

.info-tile {
  min-height: 150px;
  padding: 22px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255,255,255,0.1), rgba(255,255,255,0.045));
  border: 1px solid rgba(255,255,255,0.12);
}

.info-tile strong {
  display: block;
  margin-bottom: 10px;
  color: #fff;
  font-size: 1.2rem;
}

.info-tile span {
  color: var(--color-text-muted);
}

.styled-list {
  margin: 0 0 28px;
  padding-left: 22px;
  color: var(--color-text-muted);
}

.styled-list li {
  margin-bottom: 10px;
  padding-left: 4px;
}

.cta-panel {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  margin-top: 44px;
  padding: clamp(22px, 4vw, 36px);
  border-radius: 28px;
  background:
    radial-gradient(circle at 8% 20%, rgba(255, 204, 77, 0.18), transparent 35%),
    linear-gradient(135deg, rgba(236, 63, 91, 0.24), rgba(53, 158, 255, 0.14));
  border: 1px solid rgba(255,255,255,0.14);
}

.cta-panel h2 {
  margin: 0 0 10px;
}

.cta-panel p {
  margin: 0;
}

@media (max-width: 820px) {
  .legal-hero-grid,
  .info-grid {
    grid-template-columns: 1fr;
  }

  .cta-panel {
    align-items: flex-start;
    flex-direction: column;
  }
}


.inline-cta {
  margin: 34px 0;
  padding: 22px;
  border: 1px solid rgba(255, 204, 77, 0.28);
  border-radius: 24px;
  background:
    radial-gradient(circle at 16% 20%, rgba(255, 204, 77, 0.18), transparent 34%),
    linear-gradient(135deg, rgba(22, 37, 96, 0.94), rgba(10, 13, 30, 0.96));
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.26);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.inline-cta strong {
  display: block;
  color: var(--color-text);
  font-size: clamp(1.08rem, 2vw, 1.32rem);
  margin-bottom: 6px;
}

.inline-cta span {
  color: var(--color-text-muted);
  line-height: 1.55;
}

.inline-cta .btn {
  flex: 0 0 auto;
}

@media (max-width: 720px) {
  .inline-cta {
    align-items: stretch;
    flex-direction: column;
    padding: 18px;
  }

  .inline-cta .btn {
    width: 100%;
  }
}
