/* 188BET Thailand — Ember Slate theme */

:root {
  --brand-orange: #ff6b35;
  --brand-orange-light: #ff8f66;
  --brand-orange-dark: #e85a24;
  --brand-amber: #ffb347;
  --brand-black: #0b1120;
  --brand-slate: #151d2e;
  --brand-slate-mid: #1e293b;
  --brand-gray: #f1f5f9;
  --brand-gray-dark: #64748b;
  --brand-white: #ffffff;
  --brand-border: #e2e8f0;
  --header-height: 76px;
  --container-max: 1180px;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-pill: 999px;
  --shadow: 0 4px 24px rgba(11, 17, 32, 0.06);
  --shadow-lg: 0 20px 50px rgba(11, 17, 32, 0.12);
  --glow: 0 0 60px rgba(255, 107, 53, 0.18);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "Noto Sans Thai", "Sarabun", "Segoe UI", Tahoma, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--brand-slate-mid);
  background: var(--brand-gray);
  overflow-x: hidden;
}

body.lang-en-gb {
  font-family: "Inter", "Segoe UI", Tahoma, sans-serif;
}

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

a {
  color: var(--brand-orange);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--brand-orange-dark);
}

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

/* Hugeicons */
.hi {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-style: normal;
  line-height: 1;
  vertical-align: middle;
  flex-shrink: 0;
}

.hi-sm { font-size: 1.1rem; }
.hi-md { font-size: 1.45rem; }
.hi-lg { font-size: 1.75rem; }
.hi-xl { font-size: 2.1rem; }
.hi-nav { font-size: 1.35rem; }

.btn .hi,
.header-cta .hi,
.sticky-cta-btn .hi,
.lang-switch .hi,
.breadcrumb-list .hi {
  margin-right: 6px;
}

.hero-badge .hi {
  margin-right: 6px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(11, 17, 32, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 107, 53, 0.35);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height);
  gap: 24px;
}

.site-logo img {
  height: 42px;
  width: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.main-nav a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  transition: all 0.2s ease;
}

.main-nav a:hover,
.main-nav a.is-active {
  color: var(--brand-white);
  background: rgba(255, 107, 53, 0.2);
  box-shadow: inset 0 0 0 1px rgba(255, 107, 53, 0.45);
}

.lang-switch {
  display: inline-flex !important;
  align-items: center;
  gap: 4px;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  background: rgba(255, 255, 255, 0.06) !important;
  color: rgba(255, 255, 255, 0.9) !important;
  font-size: 13px !important;
}

.lang-switch:hover {
  border-color: var(--brand-orange) !important;
  color: var(--brand-orange-light) !important;
  background: rgba(255, 107, 53, 0.12) !important;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 10px 22px;
  background: linear-gradient(135deg, var(--brand-orange) 0%, var(--brand-orange-dark) 100%);
  color: var(--brand-white) !important;
  font-weight: 600;
  font-size: 14px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(255, 107, 53, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.header-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(255, 107, 53, 0.45);
  color: var(--brand-white) !important;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 6px;
  background: rgba(255, 107, 53, 0.12);
  border: 1px solid rgba(255, 107, 53, 0.4);
  border-radius: var(--radius-pill);
  padding: 10px 14px;
  min-height: 44px;
  cursor: pointer;
  color: var(--brand-orange-light);
  font-size: 13px;
  font-weight: 600;
  flex-shrink: 0;
}

.nav-toggle-text {
  line-height: 1;
}

/* Main */
.site-main {
  min-height: 50vh;
  background: var(--brand-white);
}

.site-main--empty {
  padding: 60px 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 26px;
  min-height: 44px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.22s ease;
  text-align: center;
  line-height: 1.3;
  -webkit-tap-highlight-color: transparent;
}

.btn-lg {
  padding: 14px 28px;
  font-size: 16px;
}

.btn-sm {
  padding: 10px 18px;
  font-size: 14px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand-orange) 0%, var(--brand-orange-dark) 100%);
  color: var(--brand-white) !important;
  border-color: transparent;
  box-shadow: 0 4px 18px rgba(255, 107, 53, 0.3);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(255, 107, 53, 0.4);
  color: var(--brand-white) !important;
}

.btn-outline {
  background: transparent;
  color: var(--brand-orange) !important;
  border-color: var(--brand-orange);
}

.btn-outline:hover {
  background: rgba(255, 107, 53, 0.08);
  color: var(--brand-orange-dark) !important;
}

.btn-white {
  background: var(--brand-white);
  color: var(--brand-orange) !important;
  border-color: var(--brand-white);
}

.btn-white:hover {
  background: var(--brand-gray);
  color: var(--brand-orange-dark) !important;
}

.btn-outline-white {
  background: transparent;
  color: var(--brand-white) !important;
  border-color: var(--brand-white);
}

.btn-outline-white:hover {
  background: var(--brand-white);
  color: var(--brand-orange) !important;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.text-center {
  text-align: center;
}

.mt-section {
  margin-top: 24px;
}

.mt-section-sm {
  margin-top: 16px;
}

.section-label--on-dark {
  background: rgba(255, 255, 255, 0.2) !important;
  color: #fff !important;
}

.nav-cta-mobile {
  display: none;
}

/* Sections */
.section {
  padding: 80px 0;
}

.section-light {
  background: var(--brand-gray);
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}

.section-header h2 {
  margin: 0 0 12px;
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.3;
}

.section-header p {
  margin: 0;
  color: var(--brand-gray-dark);
  font-size: 17px;
}

.section-header--light h2,
.section-header--light p {
  color: var(--brand-white);
}

.section-header--light p {
  opacity: 0.9;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand-orange-dark);
  background: rgba(255, 107, 53, 0.1);
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 107, 53, 0.2);
  margin-bottom: 14px;
}

.mt-48 {
  margin-top: 48px;
}

.text-muted {
  color: var(--brand-gray-dark);
  font-size: 14px;
}

/* Hero */
.hero {
  position: relative;
  background: var(--brand-black);
  padding: 56px 0 72px;
  overflow: hidden;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.hero::before {
  width: 520px;
  height: 520px;
  top: -180px;
  right: -120px;
  background: radial-gradient(circle, rgba(255, 107, 53, 0.22) 0%, transparent 68%);
}

.hero::after {
  width: 380px;
  height: 380px;
  bottom: -140px;
  left: -80px;
  background: radial-gradient(circle, rgba(255, 179, 71, 0.12) 0%, transparent 70%);
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero h1,
.hero-lead,
.hero-badge {
  color: var(--brand-white);
}

.hero-lead {
  color: rgba(255, 255, 255, 0.78) !important;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--brand-amber);
  background: rgba(255, 107, 53, 0.15);
  border: 1px solid rgba(255, 107, 53, 0.35);
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 18px;
}

.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(1.6rem, 3.5vw, 2.35rem);
  line-height: 1.25;
}

.hero-lead {
  margin: 0 0 24px;
  font-size: 17px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

.hero .btn-outline {
  color: var(--brand-white) !important;
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.06);
}

.hero .btn-outline:hover {
  background: rgba(255, 255, 255, 0.14);
  color: var(--brand-white) !important;
  border-color: rgba(255, 255, 255, 0.6);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.hero-stats li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 16px 14px;
}

.stat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 107, 53, 0.18);
  border-radius: 10px;
  color: var(--brand-orange-light);
  margin-bottom: 4px;
}

.hero-stats strong {
  font-size: 1.35rem;
  color: var(--brand-white);
  line-height: 1.2;
}

.hero-stats li > span:last-child {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
}

.hero-media img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg), var(--glow);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Content layout */
.content-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.content-split--reverse .content-media {
  order: 2;
}

.content-split--reverse .content-text {
  order: 1;
}

.content-text h2,
.content-text h3 {
  margin: 0 0 16px;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  line-height: 1.3;
}

.content-text p {
  margin: 0 0 16px;
  color: #444;
  line-height: 1.7;
}

.content-text .btn {
  margin-top: 8px;
}

.content-media img {
  border-radius: 12px;
  box-shadow: var(--shadow);
  width: 100%;
}

/* Info cards */
.info-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.info-card {
  background: var(--brand-white);
  border-radius: var(--radius);
  padding: 22px 24px;
  box-shadow: var(--shadow);
  border: 1px solid var(--brand-border);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.info-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.info-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: rgba(255, 107, 53, 0.1);
  border-radius: 12px;
  color: var(--brand-orange);
  margin-bottom: 12px;
}

.info-card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.info-card p {
  margin: 0;
  font-size: 14px;
  color: var(--brand-gray-dark);
  line-height: 1.6;
}

/* Taptap */
.section-taptap {
  background: var(--brand-slate);
  color: #cbd5e1;
}

.taptap-box {
  background: linear-gradient(145deg, rgba(30, 41, 59, 0.9) 0%, rgba(11, 17, 32, 0.95) 100%);
  border-radius: var(--radius-lg);
  padding: 48px;
  border: 1px solid rgba(255, 107, 53, 0.25);
  box-shadow: var(--glow);
}

.taptap-text h2 {
  margin: 0 0 16px;
  color: var(--brand-white);
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
}

.taptap-text p {
  margin: 0 0 20px;
  line-height: 1.7;
  color: #bbb;
}

/* Check list */
.check-list {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  line-height: 1.6;
  color: #475569;
}

.check-list li::before {
  display: none;
}

.hi-list {
  color: var(--brand-orange);
  margin-top: 3px;
}

.section-taptap .check-list li {
  color: #cbd5e1;
}

/* Steps */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 0;
}

.step-card {
  background: var(--brand-white);
  border-radius: var(--radius);
  padding: 28px 22px;
  box-shadow: var(--shadow);
  text-align: center;
  border: 1px solid var(--brand-border);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.step-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 107, 53, 0.35);
}

.step-icon,
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: rgba(255, 107, 53, 0.12);
  color: var(--brand-orange);
  border-radius: 16px;
  margin-bottom: 14px;
}

.step-card h3 {
  margin: 0 0 8px;
  font-size: 1rem;
}

.step-card p {
  margin: 0;
  font-size: 14px;
  color: var(--brand-gray-dark);
  line-height: 1.6;
}

/* Tags */
.tag-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 24px;
}

.tag-grid span {
  background: var(--brand-white);
  color: var(--brand-slate-mid);
  font-size: 13px;
  font-weight: 500;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--brand-border);
}

/* Promo */
.section-promo {
  background: var(--brand-black);
  color: var(--brand-white);
  position: relative;
  overflow: hidden;
}

.section-promo::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(255, 107, 53, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 30%, rgba(255, 179, 71, 0.08) 0%, transparent 45%);
  pointer-events: none;
}

.section-promo .container {
  position: relative;
  z-index: 1;
}

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

.promo-card {
  background: var(--brand-white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.promo-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.promo-card-body {
  padding: 24px;
  color: var(--brand-black);
}

.promo-card-body h3 {
  margin: 0 0 10px;
  font-size: 1.15rem;
}

.promo-card-body p {
  margin: 0 0 16px;
  font-size: 14px;
  color: var(--brand-gray-dark);
  line-height: 1.6;
}

/* Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature-item {
  background: var(--brand-white);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow);
  border: 1px solid var(--brand-border);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.15) 0%, rgba(255, 179, 71, 0.1) 100%);
  border-radius: 18px;
  color: var(--brand-orange);
  margin-bottom: 16px;
}

.feature-item h3 {
  margin: 0 0 10px;
  font-size: 1.05rem;
}

.feature-item p {
  margin: 0;
  font-size: 14px;
  color: var(--brand-gray-dark);
  line-height: 1.6;
}

/* FAQ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--brand-white);
  border: 1px solid #e5e5e5;
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-item summary {
  padding: 18px 24px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--brand-orange);
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  margin: 0;
  padding: 0 24px 18px;
  color: var(--brand-gray-dark);
  line-height: 1.7;
  font-size: 15px;
}

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, var(--brand-slate) 0%, var(--brand-black) 100%);
  color: var(--brand-white);
  padding: 64px 0;
  border-top: 1px solid rgba(255, 107, 53, 0.2);
}

.cta-band-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cta-band h2 {
  margin: 0 0 8px;
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
}

.cta-band p {
  margin: 0;
  color: #aaa;
  font-size: 16px;
}

.cta-band-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Footer */
.site-footer {
  background: #070b14;
  color: #94a3b8;
  padding: 52px 0 24px;
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}

.footer-brand img {
  height: 36px;
  width: auto;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
  color: #aaa;
}

.footer-heading {
  color: var(--brand-white);
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--brand-orange);
  display: inline-block;
}

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

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: #aaa;
  font-size: 14px;
}

.footer-links a:hover {
  color: var(--brand-orange);
}

.footer-keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.footer-keywords span {
  font-size: 12px;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

.footer-bottom {
  border-top: 1px solid #333;
  padding-top: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: #777;
}

.footer-bottom a {
  color: #999;
}

.footer-disclaimer {
  font-size: 12px;
  color: #666;
  margin-top: 16px;
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-grid,
  .content-split {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .content-split--reverse .content-media,
  .content-split--reverse .content-text {
    order: unset;
  }

  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .taptap-box {
    padding: 32px 24px;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }

  .section {
    padding: 48px 0;
  }

  .hero {
    padding: 32px 0 48px;
  }

  .hero-lead {
    font-size: 16px;
  }

  .hero-actions,
  .btn-group {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn,
  .btn-group .btn,
  .content-text .btn,
  .promo-card-body .btn,
  .cta-band-actions .btn {
    width: 100%;
    min-height: 48px;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .steps-grid,
  .features-grid {
    grid-template-columns: 1fr;
  }

  .cta-band-inner {
    flex-direction: column;
    text-align: center;
  }

  .cta-band-actions {
    width: 100%;
    flex-direction: column;
  }

  .faq-item summary {
    padding: 16px;
    font-size: 15px;
    text-align: left;
    word-break: break-word;
  }

  .faq-item p {
    padding: 0 16px 16px;
    font-size: 14px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .site-logo img {
    height: 36px;
  }

  .nav-toggle {
    display: block;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: rgba(11, 17, 32, 0.98);
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    border-bottom: 1px solid rgba(255, 107, 53, 0.35);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
    max-height: calc(100vh - var(--header-height));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

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

  .main-nav a {
    padding: 14px 16px;
    min-height: 44px;
    white-space: normal;
  }

  .nav-cta-mobile {
    display: flex;
    margin-top: 8px;
    text-align: center;
    justify-content: center;
  }

  .header-cta {
    display: none;
  }

  .header-inner {
    position: relative;
    gap: 12px;
  }

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

  .taptap-box {
    padding: 24px 16px;
  }
}

@media (max-width: 380px) {
  .container {
    padding: 0 12px;
  }

  .hero h1 {
    font-size: 1.45rem;
  }
}

/* Breadcrumb */
.breadcrumb {
  background: var(--brand-gray);
  border-bottom: 1px solid #e8e8e8;
  padding: 12px 0;
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
}

.breadcrumb-list li + li::before {
  content: "/";
  margin-right: 8px;
  color: #aaa;
}

.breadcrumb-list a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--brand-gray-dark);
}

.breadcrumb-list .hi {
  margin-right: 0;
}

.breadcrumb-list li[aria-current="page"] {
  color: var(--brand-black);
  font-weight: 500;
}

/* Subpages */
.site-main--page {
  padding-bottom: 0;
}

.page-hero {
  padding: 48px 0 56px;
  background: var(--brand-black);
  color: var(--brand-white);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  top: -120px;
  right: -80px;
  background: radial-gradient(circle, rgba(255, 107, 53, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  margin: 0 0 16px;
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  line-height: 1.25;
}

.page-hero-lead {
  margin: 0 0 24px;
  font-size: 17px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.88);
  max-width: 720px;
}

.page-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.page-content {
  padding: 48px 0 72px;
}

.prose {
  max-width: 800px;
}

.prose h2 {
  margin: 40px 0 16px;
  font-size: 1.5rem;
  line-height: 1.3;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose h3 {
  margin: 28px 0 12px;
  font-size: 1.2rem;
}

.prose p {
  margin: 0 0 16px;
  color: var(--brand-gray-dark);
  line-height: 1.7;
}

.prose ul,
.prose ol {
  margin: 0 0 20px;
  padding-left: 24px;
  color: var(--brand-gray-dark);
}

.prose li {
  margin-bottom: 8px;
  line-height: 1.6;
}

.prose .content-split {
  margin: 32px 0;
}

.info-box {
  background: var(--brand-white);
  border: 1px solid rgba(255, 107, 53, 0.25);
  border-left: 4px solid var(--brand-orange);
  padding: 20px 24px;
  border-radius: var(--radius);
  margin: 24px 0;
  box-shadow: var(--shadow);
}

.info-box p:last-child {
  margin-bottom: 0;
}

/* Sticky bottom CTA */
.sticky-cta {
  display: none;
}

@media (max-width: 768px) {
  body {
    padding-bottom: calc(68px + env(safe-area-inset-bottom, 0px));
  }

  .sticky-cta {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
    background: var(--brand-white);
    border-top: 2px solid var(--brand-orange);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.12);
  }

  .sticky-cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 48px;
    padding: 12px 20px;
    background: linear-gradient(135deg, var(--brand-orange) 0%, var(--brand-orange-dark) 100%);
    color: var(--brand-white) !important;
    font-weight: 700;
    font-size: 16px;
    border-radius: var(--radius-pill);
    text-align: center;
    box-shadow: 0 4px 16px rgba(255, 107, 53, 0.35);
    -webkit-tap-highlight-color: transparent;
  }

  .sticky-cta-btn:hover {
    color: var(--brand-white) !important;
  }

  .page-hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

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