:root {
  --primary: #6f39ff;
  --accent: #f8c24e;
  --dark: #180b2f;
  --soft: #f5f0ff;
  --ink: #151021;
  --white: #ffffff;
  --muted: #667085;
  --line: rgba(17, 24, 39, 0.12);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: linear-gradient(135deg, var(--soft), #fff 42%, rgba(255,255,255,.9));
  line-height: 1.6;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--dark); color: #fff; padding: .7rem 1rem; z-index: 20; }
.skip-link:focus { left: 1rem; top: 1rem; }
.site-header {
  width: min(1180px, calc(100% - 32px));
  margin: 18px auto 0;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 28px;
  background: rgba(255,255,255,.72);
  backdrop-filter: blur(18px) saturate(150%);
  box-shadow: 0 18px 45px rgba(16,24,40,.09);
  position: sticky;
  top: 12px;
  z-index: 10;
}
.brand img { width: 188px; height: auto; }
.site-header nav { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.site-header nav a { padding: 9px 12px; text-decoration: none; border-radius: 999px; font-weight: 750; font-size: .92rem; }
.site-header nav a:hover { background: var(--soft); color: var(--primary); }
main { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.hero {
  min-height: min(720px, calc(100vh - 78px));
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, .88fr);
  gap: clamp(24px, 5vw, 58px);
  align-items: center;
  padding: clamp(30px, 6vw, 68px) 0 34px;
}
.hero-copy h1 {
  margin: 12px 0 14px;
  max-width: 780px;
  font-size: clamp(2.35rem, 6vw, 5.15rem);
  line-height: .96;
  letter-spacing: -.06em;
}
.eyebrow, .section-kicker {
  display: inline-flex;
  width: fit-content;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--dark);
  color: var(--accent);
  font-weight: 850;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-size: .78rem;
}
.hero-copy p { max-width: 680px; font-size: clamp(1.02rem, 2vw, 1.22rem); }
.hero-actions, .site-footer nav { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn, .card-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 850;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn:hover, .card-link:hover { transform: translateY(-2px); }
.btn.primary, .card-link { background: var(--primary); color: #fff; box-shadow: 0 16px 34px rgba(0,0,0,.16); }
.btn.secondary { background: #fff; color: var(--dark); border: 1px solid var(--line); }
.age-note { font-size: .92rem !important; color: var(--muted); margin-top: 14px; }
.hero-media {
  margin: 0;
  border-radius: 34px;
  overflow: hidden;
  background: var(--dark);
  box-shadow: 0 28px 80px rgba(10,20,30,.22);
  transform: rotate(.5deg);
}
.hero-media img { width: 100%; height: clamp(330px, 48vh, 560px); object-fit: cover; }
.hero-media figcaption { color: #fff; padding: 13px 16px 16px; font-weight: 700; }
.quick-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 18px 0 30px; }
.action-card, .section, .responsible-panel, details, .legal-card {
  background: rgba(255,255,255,.88);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: 0 18px 50px rgba(16,24,40,.08);
}
.action-card { padding: 22px; display: grid; gap: 10px; align-content: space-between; min-height: 230px; }
.action-card h3 { margin: 0; font-size: 1.24rem; }
.action-card p { color: #475467; margin: 0; }
.section { padding: clamp(24px, 4vw, 42px); margin: 18px 0; display: grid; grid-template-columns: 1.15fr .85fr; gap: 28px; align-items: start; }
.section h2, .responsible-panel h2, .faq h2 { font-size: clamp(1.7rem, 3vw, 2.6rem); line-height: 1.05; letter-spacing: -.035em; margin: 12px 0; }
.section p { color: #344054; }
.point-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.point-list li { padding: 13px 14px; border-radius: 18px; background: var(--soft); border: 1px solid rgba(0,0,0,.05); font-weight: 650; }
.responsible-panel { margin: 22px 0; padding: clamp(24px, 4vw, 46px); background: var(--dark); color: #fff; }
.responsible-panel p { max-width: 820px; color: rgba(255,255,255,.86); }
.faq { padding: 18px 0 50px; }
.faq-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
details { padding: 18px 20px; }
summary { cursor: pointer; font-weight: 850; }
details p { color: #475467; }
.site-footer { width: min(1180px, calc(100% - 32px)); margin: 20px auto 34px; padding: 24px; color: #475467; display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.site-footer a { text-decoration: none; font-weight: 800; }
.legal-main { min-height: 70vh; display: grid; place-items: center; padding: 48px 0; }
.legal-card { max-width: 820px; padding: clamp(24px, 5vw, 52px); }
.legal-card h1 { font-size: clamp(2rem, 5vw, 4rem); line-height: 1; letter-spacing: -.05em; }
.lead { font-size: 1.15rem; color: #475467; }
.red_cards .hero-media { transform: rotate(-.8deg); }
.alpine_editorial .hero { grid-template-columns: .92fr 1.08fr; }
.blue_panels .section:nth-of-type(even), .dark_luxury .action-card:nth-child(2) { background: linear-gradient(145deg, #fff, var(--soft)); }
.dark_luxury body, body.dark_luxury { background: radial-gradient(circle at top left, rgba(111,57,255,.18), transparent 30%), linear-gradient(135deg, #140a28, #fff 54%); }
@media (max-width: 820px) {
  .site-header { align-items: flex-start; border-radius: 22px; }
  .brand img { width: 150px; }
  .hero { min-height: auto; grid-template-columns: 1fr; padding-top: 26px; gap: 22px; }
  .hero-copy h1 { font-size: clamp(2.1rem, 12vw, 3.5rem); }
  .hero-media img { height: 280px; }
  .quick-actions, .section, .faq-grid { grid-template-columns: 1fr; }
  .section { padding: 24px; }
}
@media (max-width: 420px) {
  main, .site-header, .site-footer { width: min(100% - 22px, 1180px); }
  .site-header nav a { padding: 7px 9px; font-size: .82rem; }
  .hero-copy h1 { font-size: 2.15rem; letter-spacing: -.045em; }
  .hero-copy p { font-size: .98rem; }
  .hero-actions .btn { width: 100%; }
  .hero-media img { height: 220px; }
  .quick-actions { margin-top: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}

/* qa final polish */
.section-copy,
.point-list,
.action-card,
.hero-copy {
  min-width: 0;
}
.section h2,
.section p,
.point-list li,
.action-card,
.btn,
.card-link,
summary {
  overflow-wrap: anywhere;
}
@media (max-width: 420px) {
  .hero {
    padding-top: 16px;
    gap: 14px;
  }
  .hero-copy h1 {
    font-size: clamp(1.9rem, 10vw, 2.35rem);
    margin: 8px 0 8px;
  }
  .hero-copy p {
    font-size: .92rem;
    margin: 8px 0;
  }
  .hero-actions {
    gap: 8px;
  }
  .hero-actions .btn {
    min-height: 42px;
    padding: 9px 12px;
  }
  .hero-media {
    display: block !important;
  }
}

/* visual repair: no empty color panels */
.hero-media,
.hero-media::before,
.hero-media::after,
.image-band figure::before,
.image-band figure::after {
  content: none !important;
  display: none !important;
}
.hero-media img,
.hero-media figcaption {
  background: var(--dark);
}
@media (max-width: 420px) {
  .hero-media {
    display: block !important;
    transform: none;
    border-radius: 22px;
    box-shadow: 0 14px 34px rgba(16,24,40,.12);
  }
  .hero-media img {
    height: 150px !important;
  }
  .hero-media figcaption {
    padding: 9px 11px;
    font-size: .78rem;
  }
  .image-band {
    gap: 12px;
  }
  .image-band img {
    height: 190px !important;
  }
}
@media (max-width: 340px) {
  .hero-media img {
    height: 120px !important;
  }
  .hero-media figcaption {
    display: none;
  }
  .image-band img {
    height: 160px !important;
  }
}

/* final anti-empty-block repair */
.responsible-panel {
  background: #ffffff !important;
  color: var(--ink) !important;
  border: 1px solid var(--line);
}
.responsible-panel p {
  color: #344054 !important;
}
.responsible-panel .btn.primary {
  background: var(--primary) !important;
  color: #fff !important;
}
.section,
.action-card,
details,
.legal-card {
  background: rgba(255,255,255,.94) !important;
}
.point-list li {
  background: color-mix(in srgb, var(--primary) 9%, #ffffff) !important;
}
@media (max-width: 640px) {
  .responsible-panel,
  .section,
  .action-card,
  details {
    border-radius: 20px;
    box-shadow: 0 10px 28px rgba(16,24,40,.08);
  }
}

/* hero image final top placement */
.hero-media {
  background: #fff !important;
}
.hero-media img {
  display: block !important;
  width: 100% !important;
  min-width: 100%;
  object-fit: cover;
  object-position: center;
}
@media (max-width: 820px) {
  .hero {
    grid-template-columns: 1fr;
  }
  .hero-media {
    order: -1;
    transform: none !important;
    margin-top: 8px;
  }
  .hero-media img {
    height: clamp(180px, 42vw, 280px) !important;
  }
}
@media (max-width: 420px) {
  .hero-media {
    display: block !important;
  }
  .hero-media img {
    height: 170px !important;
  }
}


/* force visible top hero image after image-band removal */
.hero {
  align-items: center;
}
.hero-media {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  opacity: 1 !important;
  visibility: visible !important;
  background: #fff !important;
}
.hero-media img {
  display: block !important;
  width: 100% !important;
  min-width: 100% !important;
  height: clamp(300px, 42vh, 520px) !important;
  object-fit: cover !important;
  object-position: center !important;
}
@media (max-width: 820px) {
  .hero {
    display: grid !important;
    grid-template-columns: 1fr !important;
  }
  .hero-media {
    order: -1 !important;
    transform: none !important;
    margin: 8px 0 0 !important;
  }
  .hero-media img {
    height: 240px !important;
  }
}
@media (max-width: 420px) {
  .hero-media img {
    height: 170px !important;
  }
  .hero-actions .btn {
    width: 100%;
  }
}


/* compact header logo */
.brand img {
  width: clamp(92px, 12vw, 132px) !important;
  max-height: 42px !important;
  object-fit: contain;
}
.site-header {
  padding-top: 9px !important;
  padding-bottom: 9px !important;
}
@media (max-width: 420px) {
  .brand img {
    width: 92px !important;
    max-height: 34px !important;
  }
  .site-header {
    gap: 10px !important;
  }
}


/* compact SEO hero after H1 repair */
.hero {
  min-height: auto !important;
  padding-top: clamp(18px, 3.5vw, 38px) !important;
  padding-bottom: 22px !important;
}
.hero-copy h1 {
  font-size: clamp(2rem, 4.6vw, 4.15rem) !important;
  line-height: 1 !important;
  margin: 8px 0 10px !important;
}
.hero-copy p {
  margin: 8px 0 !important;
}
.hero-media img {
  height: clamp(240px, 34vh, 420px) !important;
}
@media (max-width: 420px) {
  .hero {
    padding-top: 10px !important;
    gap: 10px !important;
  }
  .hero-media img {
    height: 112px !important;
  }
  .hero-copy h1 {
    font-size: 1.55rem !important;
    line-height: 1.05 !important;
  }
  .hero-copy p {
    font-size: .86rem !important;
    line-height: 1.38 !important;
  }
  .age-note {
    display: none !important;
  }
  .hero-actions {
    gap: 7px !important;
  }
  .hero-actions .btn {
    min-height: 38px !important;
    padding: 7px 10px !important;
    font-size: .84rem !important;
  }
}


/* readable compact mobile header logo */
@media (max-width: 420px) {
  .brand img {
    width: clamp(82px, 28vw, 118px) !important;
    height: auto !important;
    min-height: 24px !important;
    max-height: 38px !important;
    object-fit: contain !important;
  }
  .brand {
    min-height: 32px !important;
  }
}


/* header uses favicon icon, not wordmark */
.brand img {
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  max-width: 44px !important;
  min-height: 44px !important;
  max-height: 44px !important;
  object-fit: contain !important;
  border-radius: 12px;
}
@media (max-width: 420px) {
  .brand img {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    max-width: 38px !important;
    min-height: 38px !important;
    max-height: 38px !important;
  }
}

.rating-strip {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 10px 0 24px;
  padding: 14px 18px;
  border-radius: 20px;
  background: rgba(255,255,255,.86);
  border: 1px solid rgba(0,0,0,.10);
  box-shadow: 0 12px 34px rgba(20,20,30,.06);
}
.rating-strip strong {
  flex: 0 0 auto;
  font-size: 1.15rem;
}
.rating-strip span {
  color: var(--muted, #5f6672);
  line-height: 1.45;
}
@media (max-width: 420px) {
  .rating-strip {
    margin: 8px 0 14px;
    padding: 10px 12px;
    gap: 8px;
    font-size: .82rem;
  }
  .rating-strip strong { font-size: .95rem; }
}
