/* FS.Casino — Medium-inspired editorial system */
:root {
  --md-accent: #1A8917;
  --md-accent-hover: #156D12;
  --md-accent-soft: #E8F3E8;
  --md-ink: #191919;
  --md-text: #242424;
  --md-muted: #6B6B6B;
  --md-muted-soft: #757575;
  --md-canvas: #F7F4ED;
  --md-surface: #FFFFFF;
  --md-surface-warm: #F2EFE6;
  --md-border: #E6E6E6;
  --md-border-strong: #CFCFCF;
  --md-hero-green: #34AC45;
  --md-hero-moss: #48704B;
  --md-on-dark: #FFFFFF;
  --md-serif: Georgia, Cambria, "Times New Roman", serif;
  --md-sans: "Helvetica Neue", Arial, sans-serif;
  --md-radius-pill: 9999px;
  --md-radius-lg: 14px;
  --md-section: 84px;
  --md-hero: 112px;
  --md-max: 1192px;
  --md-content: 680px;
  --transition: 150ms ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--md-sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--md-text);
  background: var(--md-canvas);
  -webkit-font-smoothing: antialiased;
}

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

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

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

.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--md-ink);
  color: var(--md-on-dark);
  border-radius: var(--md-radius-pill);
  font-size: 14px;
}

.skip-link:focus {
  top: 16px;
}

/* Shell */
.shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

/* Top nav */
.top-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 75px;
  background: var(--md-canvas);
  border-bottom: 1px solid var(--md-border);
}

.top-nav__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.wordmark {
  font-family: var(--md-serif);
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--md-ink);
  white-space: nowrap;
}

.wordmark span {
  color: var(--md-muted);
  font-family: var(--md-sans);
  font-size: 13px;
  margin-left: 8px;
  letter-spacing: 0;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--md-border);
  border-radius: var(--md-radius-pill);
  background: var(--md-surface);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--md-ink);
  transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-size: 14px;
  color: var(--md-text);
  transition: color var(--transition);
}

.nav-links a:hover {
  color: var(--md-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--md-sans);
  font-size: 14px;
  line-height: 1;
  font-weight: 400;
  border: none;
  cursor: pointer;
  border-radius: var(--md-radius-pill);
  transition: background-color var(--transition), color var(--transition), border-color var(--transition);
  white-space: nowrap;
}

.btn--primary {
  height: 40px;
  padding: 11px 20px;
  background: var(--md-ink);
  color: var(--md-on-dark);
}

.btn--primary:hover {
  background: #333333;
}

.btn--green {
  height: 36px;
  padding: 9px 16px;
  background: var(--md-accent);
  color: var(--md-on-dark);
}

.btn--green:hover {
  background: var(--md-accent-hover);
}

.btn--secondary {
  height: 38px;
  padding: 10px 18px;
  background: var(--md-surface);
  color: var(--md-ink);
  border: 1px solid var(--md-border-strong);
}

.btn--secondary:hover {
  border-color: var(--md-ink);
}

.btn--large {
  height: 44px;
  padding: 12px 28px;
  font-size: 15px;
}

/* Hero */
.hero {
  padding: var(--md-hero) 0 var(--md-section);
  border-bottom: 1px solid var(--md-border);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.hero__eyebrow {
  display: inline-block;
  margin-bottom: 20px;
  padding: 8px 14px;
  font-size: 13px;
  color: var(--md-text);
  background: var(--md-surface-warm);
  border-radius: var(--md-radius-pill);
}

.hero__title {
  margin: 0 0 24px;
  font-family: var(--md-serif);
  font-size: clamp(56px, 9vw, 106px);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: -0.055em;
  color: var(--md-ink);
}

.hero__subtitle {
  max-width: 430px;
  margin: 0 0 32px;
  font-size: clamp(18px, 2.5vw, 22px);
  line-height: 1.32;
  letter-spacing: -0.012em;
  color: var(--md-text);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.hero__note {
  margin: 0;
  font-size: 13px;
  color: var(--md-muted);
  max-width: 420px;
}

/* Hero artwork */
.hero-art {
  position: relative;
  aspect-ratio: 4 / 5;
  max-height: 520px;
  border-radius: var(--md-radius-lg);
  overflow: hidden;
  background: var(--md-hero-moss);
}

.hero-art__svg {
  width: 100%;
  height: 100%;
}

/* Sections */
.section {
  padding: var(--md-section) 0;
  border-bottom: 1px solid var(--md-border);
}

.section--surface {
  background: var(--md-surface);
}

.section__header {
  max-width: var(--md-content);
  margin-bottom: 48px;
}

.section__label {
  display: block;
  margin-bottom: 12px;
  font-size: 13px;
  color: var(--md-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.section__title {
  margin: 0 0 16px;
  font-family: var(--md-serif);
  font-size: clamp(32px, 5vw, 44px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: var(--md-ink);
}

.section__lead {
  margin: 0;
  font-size: 18px;
  line-height: 1.45;
  color: var(--md-muted-soft);
  max-width: 560px;
}

/* Benefits */
.benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--md-border);
}

.benefit {
  padding: 32px 28px 32px 0;
  border-bottom: 1px solid var(--md-border);
}

.benefit:not(:last-child) {
  border-right: 1px solid var(--md-border);
  padding-right: 28px;
}

.benefit:nth-child(3n) {
  border-right: none;
  padding-right: 0;
}

.benefit:nth-child(3n + 2),
.benefit:nth-child(3n + 3) {
  padding-left: 28px;
}

.benefit__icon {
  width: 40px;
  height: 40px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--md-accent-soft);
  border-radius: var(--md-radius-pill);
  color: var(--md-accent);
}

.benefit__title {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.005em;
  color: var(--md-ink);
}

.benefit__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--md-muted-soft);
}

/* Trust */
.trust-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.trust-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.trust-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--md-border);
}

.trust-item:first-child {
  padding-top: 0;
}

.trust-item__num {
  font-family: var(--md-serif);
  font-size: 28px;
  line-height: 1;
  color: var(--md-accent);
}

.trust-item__title {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 500;
  color: var(--md-ink);
}

.trust-item__text {
  margin: 0;
  font-size: 15px;
  color: var(--md-muted-soft);
}

.membership-card {
  padding: 28px;
  background: var(--md-ink);
  color: var(--md-on-dark);
  border-radius: var(--md-radius-lg);
}

.membership-card__title {
  margin: 0 0 12px;
  font-family: var(--md-serif);
  font-size: 28px;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.membership-card__text {
  margin: 0 0 24px;
  font-size: 15px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
}

.stats-row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.stat {
  flex: 1 1 100px;
}

.stat__value {
  display: block;
  font-family: var(--md-serif);
  font-size: 32px;
  line-height: 1;
  margin-bottom: 4px;
}

.stat__label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.step {
  padding-top: 24px;
  border-top: 2px solid var(--md-accent);
}

.step__num {
  display: block;
  margin-bottom: 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--md-accent);
  letter-spacing: 0.04em;
}

.step__title {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 500;
  color: var(--md-ink);
}

.step__text {
  margin: 0;
  font-size: 15px;
  color: var(--md-muted-soft);
}

/* Final CTA */
.cta-band {
  padding: var(--md-section) 0;
  background: var(--md-surface-warm);
}

.cta-band__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.cta-band__title {
  margin: 0 0 8px;
  font-family: var(--md-serif);
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--md-ink);
}

.cta-band__text {
  margin: 0;
  font-size: 16px;
  color: var(--md-muted-soft);
  max-width: 480px;
}

/* Footer */
.footer {
  padding: 40px 0 48px;
  margin-top: auto;
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer__links a {
  font-size: 13px;
  color: var(--md-muted);
  transition: color var(--transition);
}

.footer__links a:hover {
  color: var(--md-ink);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer__legal {
  margin: 0;
  font-size: 13px;
  color: var(--md-muted);
  max-width: 520px;
  line-height: 1.45;
}

/* Responsive */
@media (max-width: 960px) {
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-art {
    max-height: 360px;
    aspect-ratio: 16 / 10;
  }

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

  .benefit,
  .benefit:not(:last-child),
  .benefit:nth-child(3n + 2),
  .benefit:nth-child(3n + 3) {
    border-right: none;
    padding: 28px 0;
  }

  .trust-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 32px, var(--md-max));
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 75px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 16px 24px 24px;
    background: var(--md-canvas);
    border-bottom: 1px solid var(--md-border);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links li {
    border-bottom: 1px solid var(--md-border);
  }

  .nav-links li:last-child {
    border-bottom: none;
    padding-top: 12px;
  }

  .nav-links a,
  .nav-links .btn {
    display: block;
    width: 100%;
    padding: 14px 0;
    text-align: left;
  }

  .nav-links .btn {
    text-align: center;
    padding: 11px 20px;
  }

  .top-nav__inner {
    position: relative;
  }

  .hero {
    padding-top: 64px;
  }

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

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
