﻿.landing-page {
  min-height: 100vh;
  overflow-x: hidden;
  --landing-accent: #D9AA67;
  --landing-accent-strong: #8b571f;
  --landing-accent-glow: rgba(217, 170, 103, 0.22);
  --landing-border: rgba(217, 170, 103, 0.2);
  --landing-border-strong: rgba(217, 170, 103, 0.24);
  --landing-topbar-bg: rgba(13, 12, 10, 0.78);
  --landing-surface: linear-gradient(180deg, rgba(24, 23, 20, 0.92), rgba(15, 14, 12, 0.96));
  --landing-card-surface: linear-gradient(180deg, rgba(25, 24, 21, 0.94), rgba(14, 13, 11, 0.96));
  --landing-primary-card-surface:
    radial-gradient(circle at 78% 42%, rgba(217, 170, 103, 0.22), transparent 32%),
    linear-gradient(180deg, rgba(26, 24, 21, 0.94), rgba(14, 13, 11, 0.98));
  --landing-game-card-bg: rgba(17, 16, 14, 0.86);
  --landing-trust-card-bg: rgba(28, 24, 19, 0.7);
  --landing-shadow: 0 18px 60px rgba(0, 0, 0, 0.28);
  --landing-hover-border: rgba(217, 170, 103, 0.72);
  --landing-hero-art-overlay: linear-gradient(90deg, rgba(15, 14, 12, 0), rgba(15, 14, 12, 0.12));
  --landing-hero-art-opacity: 0.9;
  --landing-hero-copy-overlay: linear-gradient(90deg, rgba(15, 14, 12, 0.98) 0%, rgba(15, 14, 12, 0.88) 38%, rgba(15, 14, 12, 0.15) 72%);
  --landing-mobile-copy-overlay: linear-gradient(180deg, rgba(15, 14, 12, 0.98) 0%, rgba(15, 14, 12, 0.88) 74%, rgba(15, 14, 12, 0.42) 100%);
  --landing-media-gradient: linear-gradient(135deg, rgba(217, 170, 103, 0.34), rgba(80, 44, 112, 0.24));
  background: #0d0c0a;
}

[data-theme="light"] .landing-page {
  --landing-accent: var(--color-accent-primary);
  --landing-accent-strong: #E4B978;
  --landing-accent-glow: rgba(217, 170, 103, 0.16);
  --landing-border: color-mix(in srgb, var(--color-border) 80%, rgba(217, 170, 103, 0.26));
  --landing-border-strong: color-mix(in srgb, var(--color-border) 62%, rgba(217, 170, 103, 0.38));
  --landing-topbar-bg: color-mix(in srgb, var(--color-bg-card) 88%, transparent);
  --landing-surface: linear-gradient(180deg, color-mix(in srgb, var(--color-bg-card) 96%, #fff), color-mix(in srgb, var(--color-bg-secondary) 90%, #fff));
  --landing-card-surface: linear-gradient(180deg, color-mix(in srgb, var(--color-bg-card) 95%, #fff), color-mix(in srgb, var(--color-bg-secondary) 88%, #fff));
  --landing-primary-card-surface:
    radial-gradient(circle at 78% 42%, rgba(217, 170, 103, 0.13), transparent 34%),
    linear-gradient(180deg, color-mix(in srgb, var(--color-bg-card) 96%, #fff), color-mix(in srgb, var(--color-bg-secondary) 90%, #fff));
  --landing-game-card-bg: color-mix(in srgb, var(--color-bg-card) 90%, var(--color-bg-secondary));
  --landing-trust-card-bg: color-mix(in srgb, var(--color-bg-card) 82%, var(--color-bg-secondary));
  --landing-shadow: 0 18px 42px rgba(94, 64, 29, 0.12);
  --landing-hover-border: color-mix(in srgb, var(--color-accent-primary) 62%, var(--color-border));
  --landing-hero-art-overlay: linear-gradient(90deg, rgba(255, 250, 242, 0.88) 0%, rgba(255, 250, 242, 0.62) 42%, rgba(255, 250, 242, 0.22) 70%, rgba(255, 250, 242, 0.06) 100%);
  --landing-hero-art-opacity: 0.78;
  --landing-hero-copy-overlay: linear-gradient(90deg, rgba(255, 250, 242, 0.96) 0%, rgba(255, 250, 242, 0.86) 42%, rgba(255, 250, 242, 0.38) 68%, rgba(255, 250, 242, 0.08) 100%);
  --landing-mobile-copy-overlay: linear-gradient(180deg, rgba(255, 250, 242, 0.98) 0%, rgba(255, 250, 242, 0.94) 62%, rgba(255, 250, 242, 0.76) 100%);
  --landing-media-gradient: linear-gradient(135deg, color-mix(in srgb, var(--color-accent-primary) 22%, var(--color-bg-tertiary)), color-mix(in srgb, #5f6f8f 18%, var(--color-bg-secondary)));
  background: var(--color-bg-base);
}

.landing-topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: var(--landing-topbar-bg);
}

.landing-logo {
  color: var(--color-text-primary);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.landing-main {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 16px 0 24px;
  display: grid;
  gap: 10px;
}

.landing-hero {
  position: relative;
  display: block;
  min-height: 458px;
  max-height: none;
  overflow: hidden;
  border: 1px solid rgba(217, 167, 97, 0.18);
  border-radius: 16px;
  background: #0f0e0c;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
}

.landing-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse at 76% 48%, rgba(217, 167, 97, 0.06), transparent 35%),
    radial-gradient(ellipse at 88% 54%, rgba(0, 0, 0, 0.24), transparent 44%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.76) 34%, rgba(0, 0, 0, 0.34) 58%, rgba(0, 0, 0, 0.08) 82%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.36));
  pointer-events: none;
}

.landing-hero-copy {
  position: relative;
  z-index: 2;
  width: min(54%, 720px);
  max-width: 720px;
  box-sizing: border-box;
  min-height: 458px;
  padding: 54px 60px 54px 52px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #f7f2eb;
}

.landing-hero-art {
  position: absolute;
  z-index: 0;
  inset: 0;
  min-height: 100%;
  opacity: 1;
  background: url("assets/landing-hero-game-art-v3.png") center center / cover no-repeat;
  filter: saturate(0.98) contrast(1.02);
}

.landing-kicker,
.landing-hero-copy h1,
.landing-hero-subtitle,
.landing-hero-list,
.landing-hero-actions {
  position: relative;
  z-index: 2;
}

.landing-kicker {
  margin: 0 0 16px;
  color: var(--landing-accent);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.75rem;
  font-weight: 800;
}

.landing-hero-copy h1 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(2.25rem, 4vw, 3rem);
  line-height: 1.04;
  letter-spacing: 0;
  max-width: 640px;
  text-wrap: balance;
}

.landing-hero-subtitle {
  max-width: 560px;
  margin: 18px 0 0;
  color: rgba(247, 242, 235, 0.84);
  font-size: 1.02rem;
  line-height: 1.54;
}

.landing-hero-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  width: 100%;
  max-width: 640px;
  margin: 28px 0 0;
  padding: 0;
  color: rgba(247, 242, 235, 0.9);
  list-style: none;
}

.landing-hero-list li {
  min-height: 96px;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: flex-start;
  gap: 10px;
  padding: 13px 12px;
  border: 1px solid rgba(217, 167, 97, 0.11);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.042);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.2;
}

.landing-hero-list li::before {
  content: none;
}

.landing-hero-list li > span:not(.hero-benefit-icon) {
  min-width: 0;
}

.hero-benefit-icon {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(217, 170, 103, 0.22);
  border-radius: 12px;
  color: var(--landing-accent);
  background: rgba(217, 170, 103, 0.1);
  box-shadow: none;
  margin-top: 1px;
}

.hero-benefit-icon svg,
.landing-hero-actions .btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.landing-hero-list strong {
  display: block;
  overflow: visible;
  -webkit-line-clamp: unset;
  line-clamp: unset;
}

.landing-hero-list small {
  margin-top: 4px;
  color: rgba(247, 242, 235, 0.68);
  font-size: 0.68rem;
  font-weight: 600;
  line-height: 1.32;
  display: block;
  overflow: visible;
  -webkit-line-clamp: unset;
  line-clamp: unset;
}

.landing-hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 32px;
}

.landing-hero-actions .btn {
  min-width: 188px;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 8px;
  font-weight: 800;
  gap: 9px;
}

.landing-hero-actions .btn-primary {
  border-color: var(--landing-accent);
  background: var(--landing-accent);
  color: #111111;
  box-shadow: 0 14px 32px rgba(217, 170, 103, 0.28);
}

.landing-hero-actions .btn-primary:hover,
.landing-hero-actions .btn-primary:focus-visible {
  background: var(--landing-accent-strong);
  border-color: var(--landing-accent-strong);
  transform: translateY(-1px);
}

.landing-hero-actions .btn-primary:active {
  background: #C99654;
  border-color: #C99654;
  color: #111111;
  transform: none;
}

.landing-hero-actions .btn-secondary {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.045);
  color: #f7f2eb;
}

.landing-hero-actions .btn-secondary:hover,
.landing-hero-actions .btn-secondary:focus-visible {
  border-color: rgba(217, 167, 97, 0.28);
  background: rgba(255, 255, 255, 0.075);
}

.games-section,
.trust-section {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--landing-border);
  border-radius: 8px;
  background: var(--landing-surface);
  box-shadow: var(--landing-shadow);
}

.games-section,
.trust-section {
  padding: 20px 28px 28px;
}

.section-heading {
  margin-bottom: 14px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}

.section-heading h2 {
  margin: 0 0 6px;
  font-size: clamp(1.45rem, 3vw, 2rem);
}

.section-heading p {
  margin: 0;
  color: var(--color-text-secondary);
}

.games-page-main {
  padding-top: 22px;
}

.games-directory-heading {
  align-items: center;
}

.games-directory-heading h1 {
  margin: 0 0 6px;
  font-size: clamp(1.65rem, 3vw, 2.25rem);
}

.games-search {
  width: min(100%, 340px);
  flex: 0 0 min(100%, 340px);
}

.games-search input {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--landing-border-strong);
  border-radius: 8px;
  background: var(--landing-game-card-bg);
  color: var(--color-text-primary);
  padding: 0 14px;
  font: inherit;
  outline: none;
}

.games-search input:focus {
  border-color: var(--landing-hover-border);
  box-shadow: 0 0 0 3px var(--landing-accent-glow);
}

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

.games-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.games-actions[hidden] {
  display: none;
}

.games-more-btn,
.games-all-link {
  min-width: 150px;
  justify-content: center;
}

.games-loading,
.games-empty,
.games-error {
  grid-column: 1 / -1;
  padding: 22px;
  border: 1px dashed var(--landing-border-strong);
  border-radius: 8px;
  color: var(--color-text-secondary);
}

.game-card {
  display: grid;
  grid-template-rows: 120px auto;
  overflow: hidden;
  border: 1px solid var(--landing-border-strong);
  border-radius: 8px;
  background: var(--landing-game-card-bg);
  color: inherit;
  text-decoration: none;
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.game-card:hover,
.game-card:focus-visible {
  transform: translateY(-4px);
  border-color: var(--landing-hover-border);
}

.game-card-media {
  background: var(--landing-media-gradient);
}

.game-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.game-card-fallback {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: var(--landing-accent);
  font-size: 2rem;
  font-weight: 800;
}

.game-card-body {
  display: grid;
  gap: 8px;
  padding: 16px;
}

.game-card-title {
  margin: 0;
  font-size: 1.05rem;
}

.game-card-text {
  min-height: 58px;
  margin: 0;
  color: var(--color-text-secondary);
  line-height: 1.45;
}

.game-card-action {
  color: var(--landing-accent);
  font-weight: 700;
}

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

.trust-card {
  display: grid;
  grid-template-columns: 46px 1fr;
  column-gap: 14px;
  padding: 18px;
  border: 1px solid var(--landing-border);
  border-radius: 8px;
  background: var(--landing-trust-card-bg);
}

.trust-icon {
  grid-row: span 2;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: var(--landing-accent);
}

.trust-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.trust-card h3 {
  margin: 0 0 6px;
  font-size: 1rem;
}

.trust-card p {
  margin: 0;
  color: var(--color-text-secondary);
  font-size: 0.9rem;
  line-height: 1.45;
}

@media (max-width: 980px) {
  .games-grid,
  .trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .games-directory-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .landing-hero {
    min-height: 430px;
    max-height: none;
  }

  .landing-hero::after {
    background:
      linear-gradient(90deg, rgba(0, 0, 0, 0.76) 0%, rgba(0, 0, 0, 0.48) 58%, rgba(0, 0, 0, 0.2) 100%),
      linear-gradient(180deg, rgba(0, 0, 0, 0.06), rgba(0, 0, 0, 0.38));
  }

  .landing-hero-copy {
    width: min(68%, 640px);
    max-width: 640px;
    min-height: 430px;
    padding: 44px 32px 44px 40px;
  }

  .landing-hero-art {
    opacity: 0.72;
  }

  .landing-hero-list {
    grid-template-columns: repeat(2, minmax(150px, 1fr));
    max-width: 520px;
  }
}

@media (max-width: 680px) {
  .landing-main {
    width: min(100% - 20px, 1180px);
    max-width: calc(100vw - 20px);
    overflow: hidden;
  }

  .games-grid,
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .landing-hero {
    display: block;
    width: 100%;
    max-width: 100%;
    min-height: auto;
  }

  .landing-hero-copy {
    width: 100%;
    max-width: none;
    min-width: 0;
    min-height: auto;
    padding: 30px 24px;
  }

  .landing-hero-art {
    position: absolute;
    inset: 0;
    min-height: 100%;
    opacity: 0.58;
    background-position: 74% center;
    background-size: cover;
  }

  .landing-hero-copy h1 {
    font-size: clamp(1.82rem, 8vw, 2.05rem);
    max-width: 11.5ch;
    text-wrap: wrap;
    overflow-wrap: break-word;
  }

  .landing-hero-subtitle {
    font-size: 0.96rem;
    width: 100%;
    max-width: 26ch;
    overflow-wrap: break-word;
  }

  .landing-hero-list {
    grid-template-columns: 1fr;
    width: 100%;
    max-width: none;
    align-items: flex-start;
    gap: 8px;
    margin-top: 22px;
  }

  .landing-hero-list li {
    min-height: 56px;
    grid-template-columns: 34px minmax(0, 1fr);
    padding: 8px 10px;
  }

  .hero-benefit-icon {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
    border-radius: 10px;
  }

  .hero-benefit-icon svg {
    width: 17px;
    height: 17px;
  }

  .landing-hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    max-width: 100%;
    gap: 10px;
    margin-top: 22px;
  }

  .landing-hero-actions .btn {
    min-width: 0;
    min-height: 48px;
    width: auto;
    max-width: 100%;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

}

[data-theme="light"] .landing-hero {
  display: block;
  min-height: 458px;
  max-height: none;
  border-color: color-mix(in srgb, var(--color-border) 72%, rgba(217, 170, 103, 0.32));
  background:
    radial-gradient(circle at 72% 34%, rgba(217, 167, 97, 0.1), transparent 32%),
    linear-gradient(135deg, #fbf4e8 0%, #f8f1e5 100%);
  box-shadow: 0 18px 46px rgba(94, 64, 29, 0.12);
}

[data-theme="light"] .landing-hero::after {
  background:
    radial-gradient(ellipse at 76% 42%, rgba(217, 170, 103, 0.05), transparent 34%),
    linear-gradient(90deg, rgba(248, 241, 229, 0.32) 0%, rgba(248, 241, 229, 0.22) 36%, rgba(248, 241, 229, 0.08) 62%, rgba(248, 241, 229, 0) 92%);
}

[data-theme="light"] .landing-hero-copy {
  width: min(54%, 720px);
  max-width: 720px;
  box-sizing: border-box;
  min-height: 458px;
  padding: 54px 60px 54px 52px;
  color: var(--color-text-primary);
}

[data-theme="light"] .landing-hero-copy h1 {
  color: #211d18;
  font-size: clamp(2.35rem, 3.7vw, 3rem);
  line-height: 1.04;
  max-width: 640px;
}

[data-theme="light"] .landing-hero-subtitle {
  max-width: 560px;
  margin-top: 18px;
  color: #554c42;
  font-size: 1.02rem;
  line-height: 1.54;
}

[data-theme="light"] .landing-hero-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  width: 100%;
  max-width: 640px;
  margin-top: 28px;
  color: #2f2922;
}

[data-theme="light"] .landing-hero-list li {
  min-height: 70px;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid rgba(217, 170, 103, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.52);
  backdrop-filter: none;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.2;
}

[data-theme="light"] .landing-hero-list li::before {
  content: none;
}

[data-theme="light"] .hero-benefit-icon {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(217, 170, 103, 0.18);
  border-radius: 12px;
  color: #a5641d;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: none;
}

[data-theme="light"] .landing-hero-list strong,
[data-theme="light"] .landing-hero-list small {
  display: block;
}

[data-theme="dark"] .landing-hero-list strong,
[data-theme="dark"] .landing-hero-list small {
  display: block;
  overflow: visible;
  -webkit-line-clamp: unset;
  line-clamp: unset;
}

[data-theme="light"] .landing-hero-list small {
  margin-top: 4px;
  color: #6f6254;
  font-size: 0.64rem;
  font-weight: 600;
  line-height: 1.25;
}

[data-theme="dark"] .landing-hero-list strong,
[data-theme="dark"] .landing-hero-list small {
  display: block;
  overflow: visible;
  -webkit-line-clamp: unset;
  line-clamp: unset;
}

[data-theme="dark"] .landing-hero-list small {
  margin-top: 4px;
  color: rgba(247, 242, 235, 0.68);
  font-size: 0.64rem;
  font-weight: 600;
  line-height: 1.25;
}

[data-theme="light"] .landing-hero-art {
  position: absolute;
  inset: 0;
  min-height: 100%;
  opacity: 1;
  background-position: center center;
  background-size: cover;
  filter: brightness(1.02) saturate(1.04) contrast(1.02);
}

[data-theme="light"] .landing-hero-actions {
  margin-top: 32px;
  gap: 18px;
}

[data-theme="light"] .landing-hero-actions .btn {
  min-width: 188px;
  min-height: 52px;
  border-radius: 8px;
}

[data-theme="light"] .landing-hero-actions .btn-secondary {
  border-color: rgba(94, 64, 29, 0.12);
  background: rgba(255, 255, 255, 0.56);
  color: #2b251f;
}

[data-theme="light"] .landing-hero-actions .btn-secondary:hover,
[data-theme="light"] .landing-hero-actions .btn-secondary:focus-visible {
  border-color: rgba(217, 170, 103, 0.28);
  background: rgba(255, 255, 255, 0.72);
}

@media (max-width: 980px) {
  [data-theme="light"] .landing-hero {
    min-height: 430px;
  }

  [data-theme="light"] .landing-hero::after {
    background:
      linear-gradient(90deg, rgba(248, 241, 229, 0.98) 0%, rgba(248, 241, 229, 0.9) 58%, rgba(248, 241, 229, 0.58) 100%),
      linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(94, 64, 29, 0.1));
  }

  [data-theme="light"] .landing-hero-copy {
    width: min(68%, 640px);
    max-width: 640px;
    min-height: 430px;
    padding: 44px 32px 44px 40px;
  }

  [data-theme="light"] .landing-hero-art {
    opacity: 0.68;
  }

  [data-theme="light"] .landing-hero-list {
    grid-template-columns: repeat(2, minmax(150px, 1fr));
    max-width: 520px;
  }
}

@media (max-width: 680px) {
  [data-theme="light"] .landing-hero {
    display: block;
    min-height: auto;
  }

  [data-theme="light"] .landing-hero::after {
    background:
      linear-gradient(180deg, rgba(248, 241, 229, 0.98) 0%, rgba(248, 241, 229, 0.94) 66%, rgba(248, 241, 229, 0.76) 100%);
  }

  [data-theme="light"] .landing-hero-copy {
    width: 100%;
    max-width: none;
    min-height: auto;
    padding: 30px 24px;
  }

  [data-theme="light"] .landing-hero-art {
    position: absolute;
    inset: 0;
    min-height: 100%;
    opacity: 0.5;
    background-position: 74% center;
    background-size: cover;
  }

  [data-theme="light"] .landing-hero-list {
    grid-template-columns: 1fr;
    width: 100%;
    max-width: none;
  }
}

/* Keep landing layout geometry identical between light and dark themes. */
.landing-page .landing-hero {
  display: block;
  min-height: 458px;
  max-height: none;
}

.landing-page .landing-hero-copy {
  width: min(54%, 720px);
  max-width: 720px;
  min-height: 458px;
  padding: 54px 60px 54px 52px;
}

.landing-page .landing-hero-copy h1 {
  font-size: clamp(2.25rem, 4vw, 3rem);
  line-height: 1.04;
  max-width: 640px;
}

.landing-page .landing-hero-copy .landing-hero-subtitle,
.landing-page .landing-hero-subtitle {
  max-width: 560px;
  margin-top: 18px;
  font-size: 1.02rem;
  line-height: 1.54;
}

.landing-page .landing-hero-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  width: 100%;
  max-width: 640px;
  margin-top: 28px;
}

.landing-page .landing-hero-list li {
  min-height: 70px;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 0.78rem;
  line-height: 1.2;
}

.landing-page .hero-benefit-icon {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
}

.landing-page .landing-hero-actions {
  gap: 16px;
  margin-top: 32px;
}

.landing-page .landing-hero-actions .btn {
  min-width: 188px;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 8px;
}

.landing-page .section-heading,
.landing-page .section-heading > div {
  max-width: 100%;
  min-width: 0;
}

.landing-page .section-heading h2,
.landing-page .section-heading p {
  max-width: 100%;
  min-width: 0;
  white-space: normal;
  overflow-wrap: break-word;
}

@media (max-width: 980px) {
  .landing-page .landing-hero {
    min-height: 430px;
  }

  .landing-page .landing-hero-copy {
    width: min(68%, 640px);
    max-width: 640px;
    min-height: 430px;
    padding: 44px 32px 44px 40px;
  }

  .landing-page .landing-hero-list {
    grid-template-columns: repeat(2, minmax(150px, 1fr));
    max-width: 520px;
  }
}

@media (max-width: 680px) {
  .landing-page .landing-hero {
    display: block;
    min-height: auto;
  }

  .landing-page .landing-hero-copy {
    width: 100%;
    max-width: none;
    min-height: auto;
    padding: 30px 24px;
  }

  .landing-page .landing-hero-copy h1 {
    font-size: clamp(1.82rem, 8vw, 2.05rem);
    line-height: 1.08;
    max-width: 11.5ch;
    text-wrap: wrap;
    overflow-wrap: break-word;
  }

  .landing-page .landing-hero-copy .landing-hero-subtitle,
  .landing-page .landing-hero-subtitle {
    width: 100%;
    max-width: 26ch;
    margin-top: 16px;
    font-size: 0.96rem;
    overflow-wrap: break-word;
  }

  .landing-page .landing-hero-list {
    grid-template-columns: 1fr;
    max-width: none;
    align-items: flex-start;
    gap: 8px;
    margin-top: 22px;
  }

  .landing-page .landing-hero-list li {
    min-height: 56px;
    grid-template-columns: 34px minmax(0, 1fr);
    padding: 8px 10px;
  }

  .landing-page .hero-benefit-icon {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
    border-radius: 10px;
  }

  .landing-page .hero-benefit-icon svg {
    width: 17px;
    height: 17px;
  }

  .landing-page .landing-hero-actions {
    width: 100%;
    max-width: 100%;
    gap: 10px;
    margin-top: 22px;
  }

  .landing-page .landing-hero-actions .btn {
    min-width: 0;
    min-height: 48px;
    width: auto;
    max-width: 100%;
  }

  .landing-page .section-heading > div {
    width: 100%;
  }
}

/* Hero CTA buttons keep the same geometry in every theme. */
html[data-theme] body.landing-page .landing-hero-actions {
  gap: 16px;
}

html[data-theme] body.landing-page .landing-hero-actions .btn {
  box-sizing: border-box;
  flex: 0 0 auto;
  height: 52px;
  min-height: 52px;
  padding: 0 22px;
  border-width: 1px;
  border-radius: 8px;
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

html[data-theme] body.landing-page .landing-hero-actions .btn-primary {
  width: 193px;
  min-width: 193px;
}

html[data-theme] body.landing-page .landing-hero-actions .btn-secondary {
  width: 231px;
  min-width: 231px;
}

@media (max-width: 680px) {
  html[data-theme] body.landing-page .landing-hero-actions {
    gap: 10px;
  }

  html[data-theme] body.landing-page .landing-hero-actions .btn {
    width: 100%;
    min-width: 0;
    height: 48px;
    min-height: 48px;
    max-width: 100%;
  }
}
