/* ==========================================================================
   Teen Patti Master — inner pages (Download App, About, Contact)
   Builds on the tokens and components in style.css.
   ========================================================================== */

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.drawer__nav a[aria-current="page"] { color: var(--gold-300); }

/* ---------- Page hero ---------- */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; align-items: center;
  min-height: clamp(460px, 40vw, 600px);
  background: var(--bg-1);
}
.page-hero__media {
  position: absolute; top: 0; right: 0; bottom: 0; z-index: -2;
  width: min(100%, 1600px);
}
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: right center; }
.page-hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, var(--bg-1) 0%, rgba(5, 10, 21, .86) 24%, rgba(5, 10, 21, .35) 48%, rgba(5, 10, 21, 0) 64%),
    linear-gradient(0deg, var(--bg-1) 0%, rgba(5, 10, 21, 0) 26%);
}
.page-hero__inner { position: relative; padding-block: clamp(56px, 6vw, 96px); }
.page-hero__content { max-width: 600px; }
.page-hero__title {
  font-size: clamp(2.125rem, 1.2rem + 2.6vw, 3.25rem);
  font-weight: 700; line-height: 1.1; letter-spacing: -.02em;
}
.page-hero__lead { margin-top: 18px; max-width: 540px; color: #b9c2d3; }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.page-hero__streak { bottom: -48px; z-index: 1; }

.page-hero--download .page-hero__inner { padding-bottom: 120px; }

/* Centered variant (Contact) — the artwork stays a backdrop at every size */
.page-hero--center { text-align: center; }
.page-hero--center .page-hero__media { width: 100%; }
.page-hero--center .page-hero__media img { object-position: center; }
.page-hero--center .page-hero__media::after {
  background:
    radial-gradient(44% 72% at 50% 46%, rgba(5, 10, 21, .9), rgba(5, 10, 21, .4) 85%),
    linear-gradient(0deg, var(--bg-1) 0%, rgba(5, 10, 21, 0) 34%);
}
.page-hero--center .page-hero__inner { width: 100%; padding-bottom: 128px; }
.page-hero--center .page-hero__content { max-width: 680px; margin-inline: auto; }
.page-hero--center .page-hero__lead { margin-inline: auto; }
.page-hero--center .breadcrumb ol,
.page-hero--center .page-hero__actions { justify-content: center; }

/* ---------- Breadcrumb ---------- */
.breadcrumb { margin-bottom: 20px; }
.breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: .8125rem; color: var(--muted); }
.breadcrumb li { display: inline-flex; align-items: center; gap: 10px; }
.breadcrumb li + li::before {
  content: ""; width: 6px; height: 6px;
  border-top: 1.5px solid var(--gold-300);
  border-right: 1.5px solid var(--gold-300);
  transform: rotate(45deg);
  opacity: .75;
}
.breadcrumb a { transition: color .2s; }
.breadcrumb a:hover { color: var(--gold-100); }
.breadcrumb [aria-current="page"] { color: var(--gold-100); }

/* ---------- Medal & chip variants ---------- */
.medal--xl { width: 88px; height: 88px; margin: 0 0 22px; }
.medal--xl .icon { width: 36px; height: 36px; }
.medal--num {
  flex: none;
  width: 52px; height: 52px; margin: 0;
  font-size: 1.125rem; font-weight: 700; line-height: 1;
}
.mini-medal--lg { width: 44px; height: 44px; }
.mini-medal--lg .icon { width: 20px; height: 20px; }

.float-chip {
  position: absolute;
  display: flex; align-items: center; gap: 10px;
  padding: 10px 16px 10px 10px;
  border-radius: 14px;
  background: rgba(7, 12, 24, .88);
  border: 1px solid rgba(236, 196, 110, .32);
  box-shadow: 0 18px 40px -16px #000;
  animation: float 7s ease-in-out infinite;
}
.float-chip b { display: block; font-size: .875rem; font-weight: 600; line-height: 1.25; color: var(--text); }
.float-chip small { display: block; font-size: .75rem; line-height: 1.3; color: var(--muted); }

/* ---------- Checklist ---------- */
.checklist { display: grid; gap: 12px; }
.checklist li {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .025);
  border: 1px solid rgba(255, 255, 255, .06);
  font-size: .9375rem; line-height: 1.5; color: var(--text-2);
}
.checklist__icon {
  flex: none;
  width: 24px; height: 24px;
  display: grid; place-items: center;
  border-radius: 50%;
  color: var(--ink);
  background: var(--gold-fill);
}
.checklist__icon .icon { width: 13px; height: 13px; }

/* ---------- Playing-card chips (hand examples) ---------- */
.hand { display: inline-flex; padding-inline: 6px; }
.pcard {
  width: 42px; height: 58px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  border-radius: 7px;
  font-size: 1rem; font-weight: 700; line-height: 1;
  color: #121826;
  background: linear-gradient(180deg, #ffffff, #e2e7ef);
  border: 1px solid #d9a441;
  box-shadow: 0 6px 14px -4px rgba(0, 0, 0, .7);
}
.pcard + .pcard { margin-left: -10px; }
.pcard:nth-child(1) { rotate: -7deg; }
.pcard:nth-child(3) { rotate: 7deg; translate: 0 2px; }
.pcard svg { width: 16px; height: 16px; }
.pcard.is-red { color: #c0152c; }
.pcard:nth-child(4) { rotate: 12deg; translate: 0 5px; }
.pcard.is-joker { color: var(--ink); background: var(--gold-fill); border-color: #fff1bf; }
.pcard.is-wild { box-shadow: 0 0 0 2px var(--gold-300), 0 6px 18px -2px rgba(245, 205, 110, .6); }

/* ==========================================================================
   Download App
   ========================================================================== */
.facts-strip { position: relative; z-index: 2; margin-top: -64px; }
.facts-strip__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(16, 26, 48, .94), rgba(7, 12, 24, .96));
  border: 1px solid rgba(236, 196, 110, .24);
  box-shadow: 0 30px 60px -30px #000, inset 0 1px 0 rgba(255, 255, 255, .06);
}
.facts-strip__item { position: relative; display: flex; align-items: center; gap: 14px; padding: 22px 24px; }
.facts-strip__item + .facts-strip__item::before {
  content: ""; position: absolute; left: 0; top: 18px; bottom: 18px; width: 1px;
  background: linear-gradient(180deg, transparent, rgba(236, 196, 110, .35), transparent);
}
.facts-strip__item b { display: block; font-size: 1rem; font-weight: 600; line-height: 1.3; color: var(--text); }
.facts-strip__item small { display: block; font-size: .75rem; color: var(--muted); }

/* App details */
.details__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(32px, 4vw, 64px);
  align-items: start;
}
.details__intro .section-lead { max-width: 520px; }

.perk-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 30px; }
.perk {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 18px;
  border-radius: var(--radius);
  background: rgba(12, 20, 38, .55);
  border: 1px solid rgba(255, 255, 255, .06);
  transition: border-color .3s, transform .3s var(--ease);
}
.perk:hover { border-color: rgba(236, 196, 110, .35); transform: translateY(-3px); }
.perk .mini-medal { width: 40px; height: 40px; }
.perk .mini-medal .icon { width: 18px; height: 18px; }
.perk__title { font-size: .9375rem; line-height: 1.35; }
.perk__text { margin-top: 4px; font-size: .8125rem; line-height: 1.5; color: var(--muted); }

.info-card {
  position: relative; overflow: hidden;
  padding: 28px;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(80% 50% at 100% 0%, rgba(245, 205, 110, .1), transparent 70%),
    var(--surface);
  border: 1px solid rgba(236, 196, 110, .26);
  box-shadow: var(--shadow-card);
}
.info-card::before {
  content: ""; position: absolute; top: 0; left: 10%; right: 10%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-300), transparent);
}
.info-card__head {
  display: flex; align-items: center; gap: 16px;
  padding-bottom: 20px; margin-bottom: 6px;
  border-bottom: 1px solid rgba(236, 196, 110, .14);
}
.info-card__head img { width: 92px; flex: none; }
.info-card__title { font-size: 1.125rem; }
.info-card__head small { display: block; margin-top: 2px; font-size: .8125rem; color: var(--muted); }
.info-list > div {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 13px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, .08);
  font-size: .9375rem;
}
.info-list dt { color: var(--muted); }
.info-list dd { margin: 0; text-align: right; font-weight: 500; color: var(--text); }
.info-list .is-gold { color: var(--gold-300); font-weight: 600; }
.info-card .btn { width: 100%; margin-top: 22px; }
.info-card__note { margin-top: 12px; text-align: center; font-size: .75rem; color: var(--muted); }

/* Install guide */
.install {
  background:
    radial-gradient(36% 46% at 22% 52%, rgba(245, 190, 90, .08), transparent),
    var(--bg-1);
}
.install__grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.install__art { position: relative; }
.install__art img { width: 100%; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .55)); }
.install__art .float-chip--a { left: 0; top: 6%; }
.install__art .float-chip--b { right: 2%; bottom: 4%; animation-delay: 1.8s; }

.install-steps { position: relative; display: grid; gap: 14px; }
.install-steps::before {
  content: ""; position: absolute; top: 30px; bottom: 30px; left: 45px;
  width: 2px;
  background: repeating-linear-gradient(180deg, rgba(245, 205, 110, .75) 0 8px, transparent 8px 14px);
  opacity: .6;
}
.install-step {
  position: relative; z-index: 1;
  display: flex; align-items: flex-start; gap: 18px;
  padding: 18px 20px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid rgba(236, 196, 110, .14);
  box-shadow: var(--shadow-card);
  transition: border-color .3s, transform .3s var(--ease);
}
.install-step:hover { border-color: rgba(236, 196, 110, .45); transform: translateX(4px); }
.install-step__title { font-size: 1.0625rem; color: var(--gold-100); }
.install-step__text { margin-top: 6px; font-size: .875rem; color: var(--muted); }
.install-step__text b { font-weight: 600; color: var(--text); }

.install__tip {
  display: flex; align-items: flex-start; gap: 12px;
  margin-top: 16px; padding: 14px 18px;
  border-radius: 14px;
  background: rgba(67, 213, 242, .06);
  border: 1px solid rgba(67, 213, 242, .26);
  font-size: .875rem; color: #cdeef6;
}
.install__tip .icon { color: var(--cyan); margin-top: 1px; }
.install__tip b { color: #fff; }

/* Safety panel */
.safety__panel {
  position: relative; overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  padding: clamp(28px, 4vw, 52px);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(50% 80% at 0% 0%, rgba(67, 213, 242, .09), transparent 70%),
    linear-gradient(180deg, rgba(14, 24, 44, .78), rgba(6, 11, 22, .92));
  border: 1px solid rgba(67, 213, 242, .24);
  box-shadow: 0 40px 80px -40px #000;
}
.safety__intro .section-lead { max-width: 440px; }

/* FAQ */
.faq-section { background: linear-gradient(180deg, var(--bg-1), #07101f 55%, var(--bg-1)); }
.faq { display: grid; gap: 12px; max-width: 860px; margin-inline: auto; }
.faq__item {
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid rgba(236, 196, 110, .14);
  transition: border-color .3s, box-shadow .3s;
}
.faq__item[open] {
  border-color: rgba(236, 196, 110, .45);
  box-shadow: 0 0 40px -24px rgba(245, 205, 110, .5);
}
.faq__item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 22px;
  list-style: none;
  cursor: pointer;
  font-size: 1rem; font-weight: 600; line-height: 1.4; color: var(--text);
  border-radius: var(--radius);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--gold-100); }
.faq__toggle {
  flex: none;
  width: 32px; height: 32px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  color: var(--gold-300);
  transition: transform .3s var(--ease), background-color .3s, color .3s, border-color .3s;
}
.faq__toggle .icon { width: 16px; height: 16px; }
.faq__item[open] .faq__toggle { transform: rotate(45deg); color: var(--ink); background: var(--gold-fill); border-color: transparent; }
.faq__answer { padding: 0 22px 20px; font-size: .9375rem; color: var(--muted); }
.faq__more { margin-top: 28px; text-align: center; color: var(--muted); }
.faq__more .link-gold { margin: 0 0 0 6px; vertical-align: middle; }

/* ==========================================================================
   CTA band (shared)
   ========================================================================== */
.cta-band__panel {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  padding: 32px 40px;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(236, 196, 110, .35);
  background:
    radial-gradient(60% 130% at 100% 50%, rgba(245, 190, 90, .16), transparent 60%),
    radial-gradient(40% 100% at 0% 0%, rgba(67, 213, 242, .08), transparent 70%),
    linear-gradient(180deg, #0c1629, #060b17);
  box-shadow: 0 40px 80px -40px #000, inset 0 1px 0 rgba(255, 255, 255, .06);
}
.cta-band__suit {
  position: absolute; right: 22%; top: 50%; z-index: -1;
  width: 220px; height: 220px;
  color: var(--gold-300);
  opacity: .05;
  transform: translateY(-50%) rotate(-14deg);
}
.cta-band__logo { width: 120px; filter: drop-shadow(0 8px 20px rgba(0, 0, 0, .6)); }
.cta-band__title { font-size: clamp(1.375rem, 1rem + 1vw, 1.875rem); font-weight: 700; }
.cta-band__text { margin-top: 6px; color: var(--muted); }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ==========================================================================
   About
   ========================================================================== */
.story__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
.story__quote {
  position: relative;
  margin: 36px 0 0;
  padding: 30px 28px 26px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(245, 205, 110, .13), rgba(245, 205, 110, .02));
  border: 1px solid rgba(236, 196, 110, .3);
  font-size: 1.25rem; font-weight: 500; line-height: 1.5; color: var(--text);
}
.story__quote::before {
  content: "\201C";
  position: absolute; top: -30px; left: 22px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 5rem; line-height: 1;
  color: var(--gold-300);
}
.story__lead { font-size: 1.0625rem; line-height: 1.7; color: var(--text); }
.story__body p + p { margin-top: 16px; }
.story__body > p:not(.story__lead) { color: var(--muted); }

.features--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.features--4 .feature:nth-child(n) { --offset: 0px; }
.features--4 .feature:nth-child(even) { --offset: 24px; }

.bento {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: minmax(160px, auto);
  gap: 16px;
}
.bento__feature {
  grid-column: span 2; grid-row: span 2;
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  padding: 28px 28px 0;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(70% 60% at 55% 80%, rgba(245, 190, 90, .22), transparent 70%),
    linear-gradient(180deg, #0f1b33, #070d1a);
  border: 1px solid rgba(236, 196, 110, .3);
}
.bento__feature h3 { font-size: clamp(1.375rem, 1rem + 1vw, 1.75rem); }
.bento__feature p { margin-top: 8px; max-width: 420px; color: var(--muted); }
.bento__feature .link-gold { margin-top: 14px; }
.bento__feature img { width: min(100%, 460px); margin: 12px auto 0; filter: drop-shadow(0 24px 30px rgba(0, 0, 0, .55)); }

.bento__tile {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between; gap: 16px;
  padding: 22px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid rgba(var(--tint), .3);
  transition: transform .35s var(--ease), border-color .35s, box-shadow .35s;
}
.bento__tile::after {
  content: ""; position: absolute; top: -40%; right: -30%;
  width: 80%; aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--tint), .22), transparent 70%);
  pointer-events: none;
}
.bento__tile:hover {
  transform: translateY(-4px);
  border-color: rgba(236, 196, 110, .55);
  box-shadow: 0 24px 44px -24px rgba(0, 0, 0, .9), 0 0 36px -16px rgba(var(--tint), .6);
}
.bento__icon {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border-radius: 14px;
  color: var(--gold-300);
  background: rgba(var(--tint), .14);
  border: 1px solid rgba(var(--tint), .38);
}
.bento__icon .icon { width: 24px; height: 24px; }
.bento__tile h3 { font-size: 1.0625rem; }
.bento__tile p { margin-top: 4px; font-size: .8125rem; color: var(--muted); }
.bento__tile--more {
  background:
    radial-gradient(80% 80% at 100% 0%, rgba(245, 205, 110, .2), transparent 70%),
    linear-gradient(180deg, #16223b, #0a1222);
  border-color: rgba(236, 196, 110, .5);
}
.bento__tile--more .link-gold { margin-top: 0; }

.rg__panel {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 48px);
  align-items: center;
  padding: clamp(28px, 4vw, 52px);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(40% 80% at 0% 50%, rgba(245, 205, 110, .1), transparent 70%),
    linear-gradient(135deg, rgba(14, 24, 44, .8), rgba(6, 11, 22, .92));
  border: 1px solid rgba(236, 196, 110, .24);
  box-shadow: 0 40px 80px -40px #000;
}
.rg__badge {
  position: relative;
  width: 132px; height: 132px;
  display: grid; place-items: center;
  border: 3px solid transparent;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 30%, #1f2f50, #0a1224 72%) padding-box,
    var(--gold-ring) border-box;
  box-shadow: 0 0 50px -10px rgba(245, 205, 110, .45), inset 0 2px 8px rgba(255, 255, 255, .08);
}
.rg__badge span {
  font-size: 2.75rem; font-weight: 700; letter-spacing: -.02em;
  background: var(--gold-text);
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}
.rg__intro .section-lead { max-width: 420px; }

/* ==========================================================================
   Contact
   ========================================================================== */
.channels-section { position: relative; z-index: 2; margin-top: -72px; }
.channels { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.channel {
  display: flex; flex-direction: column; align-items: flex-start; gap: 10px;
  padding: 24px 22px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(16, 26, 48, .95), rgba(7, 12, 24, .97));
  border: 1px solid rgba(var(--tint), .36);
  box-shadow: 0 30px 60px -30px #000;
  transition: transform .35s var(--ease), border-color .35s, box-shadow .35s;
}
.channel:hover {
  transform: translateY(-4px);
  border-color: rgba(236, 196, 110, .55);
  box-shadow: 0 30px 60px -30px #000, 0 0 40px -18px rgba(var(--tint), .6);
}
.channel__icon {
  width: 52px; height: 52px; margin-bottom: 4px;
  display: grid; place-items: center;
  border-radius: 16px;
  color: #fff;
  background: rgba(var(--tint), .18);
  border: 1px solid rgba(var(--tint), .45);
}
.channel__icon .icon { width: 24px; height: 24px; }
.channel__title { font-size: 1.0625rem; }
.channel__text { font-size: .8125rem; line-height: 1.55; color: var(--muted); }
.channel .link-gold { margin-top: auto; padding-top: 6px; }

.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, .9fr);
  gap: 24px;
  align-items: start;
}

.form-card {
  scroll-margin-top: 16px;
  padding: clamp(24px, 3.5vw, 40px);
  border-radius: var(--radius-xl);
  background: var(--surface);
  border: 1px solid rgba(236, 196, 110, .24);
  box-shadow: var(--shadow-card);
}
.form-card__title { font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2rem); }
.form-card__intro { margin-top: 8px; color: var(--muted); }
.req { color: var(--gold-300); }

.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 28px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field__label { font-size: .8125rem; font-weight: 500; color: var(--text-2); }
.field__row { display: flex; justify-content: space-between; gap: 12px; }
.field__hint { font-size: .75rem; color: var(--muted); }
.field__error { font-size: .75rem; color: #ff9b9b; }
.field__error:empty { display: none; }

.input {
  width: 100%; min-height: 50px;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(4, 8, 17, .6);
  color: var(--text);
  font: inherit; font-size: .9375rem;
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.input::placeholder { color: #66728a; }
.input:hover { border-color: rgba(236, 196, 110, .35); }
.input:focus { outline: none; border-color: var(--gold-300); box-shadow: 0 0 0 3px rgba(245, 205, 110, .18); }
textarea.input { min-height: 150px; resize: vertical; line-height: 1.6; }
select.input {
  appearance: none; -webkit-appearance: none;
  padding-right: 44px;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23f5cd6e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
}
select.input:invalid { color: #66728a; }
select.input option { color: var(--text); background: #0a1224; }
.field.has-error .input { border-color: #ff6b6b; box-shadow: 0 0 0 3px rgba(255, 107, 107, .14); }

.check { display: flex; align-items: flex-start; gap: 12px; font-size: .875rem; line-height: 1.5; color: var(--text-2); cursor: pointer; }
.check input {
  flex: none;
  width: 22px; height: 22px; margin: 0;
  display: grid; place-items: center;
  appearance: none; -webkit-appearance: none;
  border-radius: 6px;
  border: 1px solid var(--line-strong);
  background: rgba(4, 8, 17, .6);
  cursor: pointer;
  transition: background-color .2s, border-color .2s;
}
.check input::after {
  content: ""; width: 6px; height: 11px; margin-top: -2px;
  border: solid var(--ink); border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  opacity: 0;
}
.check input:checked { background: var(--gold-fill); border-color: transparent; }
.check input:checked::after { opacity: 1; }
.check input:focus-visible { outline: 2px solid var(--gold-300); outline-offset: 2px; }
.field.has-error .check input { border-color: #ff6b6b; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-status {
  padding: 12px 16px;
  border-radius: 12px;
  font-size: .875rem;
  color: #ffc2c2;
  background: rgba(255, 107, 107, .08);
  border: 1px solid rgba(255, 107, 107, .35);
}
.form-status:empty { display: none; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.form-actions__note { font-size: .75rem; color: var(--muted); }
.btn[aria-busy="true"] { opacity: .75; pointer-events: none; }

.form-success { padding: 24px 8px; text-align: center; }
.form-success:focus { outline: none; }
.form-success .medal--xl { margin: 0 auto 22px; }
.form-success__title { font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2rem); }
.form-success p { max-width: 440px; margin: 10px auto 24px; color: var(--muted); }

.help { display: grid; gap: 16px; }
.help-card {
  padding: 24px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid rgba(236, 196, 110, .16);
  box-shadow: var(--shadow-card);
}
.help-card--safety {
  background:
    radial-gradient(70% 80% at 0% 0%, rgba(67, 213, 242, .1), transparent 70%),
    var(--surface);
  border-color: rgba(67, 213, 242, .3);
}
.help-card .mini-medal { margin-bottom: 14px; }
.help-card--safety .mini-medal { color: var(--cyan); border-color: rgba(67, 213, 242, .5); }
.help-card__title { font-size: 1.0625rem; }
.help-card p { margin-top: 8px; font-size: .875rem; color: var(--muted); }
.help-card p b { color: var(--text); }
.help-links { margin-top: 10px; }
.help-links a {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  font-size: .9375rem; font-weight: 500; color: var(--text-2);
  transition: color .2s;
}
.help-links li:last-child a { border-bottom: 0; padding-bottom: 0; }
.help-links a > .icon:first-child { color: var(--gold-300); }
.help-links a > .icon:last-child { margin-left: auto; color: var(--muted); transition: transform .2s, color .2s; }
.help-links a:hover { color: var(--gold-100); }
.help-links a:hover > .icon:last-child { color: var(--gold-300); transform: translateX(3px); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .features--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-bottom: 0; }
  .features--4 .feature:nth-child(even) { --offset: 0px; }
  .channels { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1024px) {
  .page-hero { display: block; min-height: 0; }
  .page-hero__media { position: relative; width: 100%; aspect-ratio: 2 / 1; }
  .page-hero__media img { object-position: 78% center; }
  .page-hero__media::after {
    background:
      linear-gradient(0deg, var(--bg-1) 0%, rgba(5, 10, 21, 0) 50%),
      linear-gradient(90deg, rgba(5, 10, 21, .5), transparent 40%);
  }
  .page-hero__inner { margin-top: -110px; padding-block: 0 56px; }
  .page-hero__content { max-width: 680px; }
  .page-hero__streak { display: none; }
  .page-hero--download .page-hero__inner { padding-bottom: 40px; }

  .page-hero--center { display: flex; min-height: clamp(420px, 62vw, 560px); }
  .page-hero--center .page-hero__media { position: absolute; inset: 0; width: 100%; aspect-ratio: auto; }
  .page-hero--center .page-hero__media img { object-position: center; }
  .page-hero--center .page-hero__media::after {
    background:
      radial-gradient(60% 70% at 50% 46%, rgba(5, 10, 21, .9), rgba(5, 10, 21, .5) 90%),
      linear-gradient(0deg, var(--bg-1) 0%, rgba(5, 10, 21, 0) 34%);
  }
  .page-hero--center .page-hero__inner { margin-top: 0; padding-block: 64px 112px; }

  .facts-strip { margin-top: 0; }

  .details__grid,
  .install__grid,
  .safety__panel,
  .story__grid,
  .contact__grid { grid-template-columns: 1fr; }
  .info-card { max-width: 640px; }
  .install__art { max-width: 560px; margin-inline: auto; }

  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento__feature { grid-row: auto; }

  .rg__panel { grid-template-columns: auto minmax(0, 1fr); }
  .rg__panel .checklist { grid-column: 1 / -1; }

  .help { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
}

@media (max-width: 860px) {
  .page-hero__media { aspect-ratio: 16 / 10; }
  .page-hero__inner { margin-top: -96px; }

  .facts-strip__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts-strip__item:nth-child(3)::before { display: none; }
  .facts-strip__item:nth-child(n + 3) { border-top: 1px solid rgba(236, 196, 110, .14); }

  .cta-band__panel { grid-template-columns: 1fr; justify-items: center; text-align: center; padding: 32px 24px; }
  .cta-band__actions { justify-content: center; }
  .cta-band__suit { right: -40px; }
}

@media (max-width: 640px) {
  .page-hero__media { aspect-ratio: 1 / .8; }
  .page-hero__inner { margin-top: -64px; padding-bottom: 44px; }
  .page-hero__actions { gap: 10px; }
  .page-hero__actions .btn { flex: 1 1 auto; padding: 0 20px; }
  .page-hero--center { min-height: 0; }
  .page-hero--center .page-hero__inner { padding-block: 56px 96px; }

  .facts-strip__item { flex-direction: column; align-items: flex-start; gap: 10px; padding: 18px 16px; }

  .perk-grid { grid-template-columns: 1fr; }
  .info-card { padding: 22px 18px; }
  .info-list > div { font-size: .875rem; }

  .install-step { padding: 16px; gap: 14px; }
  .install-steps::before { left: 41px; }
  .medal--num { width: 48px; height: 48px; font-size: 1rem; }
  .install__art .float-chip { padding: 8px 12px 8px 8px; }

  .medal--xl { width: 72px; height: 72px; }
  .medal--xl .icon { width: 30px; height: 30px; }
  .checklist li { padding: 12px 14px; font-size: .875rem; }

  .faq__item summary { padding: 16px 18px; font-size: .9375rem; }
  .faq__answer { padding: 0 18px 18px; font-size: .875rem; }

  .features--4 { gap: 12px; }
  .story__quote { font-size: 1.0625rem; padding: 26px 20px 22px; }

  .bento { grid-auto-rows: auto; gap: 12px; }
  .bento__feature { padding: 22px 20px 0; }
  .bento__tile { padding: 18px 16px; gap: 12px; }
  .bento__icon { width: 42px; height: 42px; }
  .bento__tile h3 { font-size: .9375rem; }

  .rg__panel { grid-template-columns: 1fr; justify-items: start; }
  .rg__badge { width: 96px; height: 96px; }
  .rg__badge span { font-size: 2rem; }

  .channels-section { margin-top: -56px; }
  .channels { grid-template-columns: 1fr; gap: 12px; }
  .channel { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 16px; row-gap: 4px; padding: 18px; }
  .channel__icon { grid-row: span 3; margin-bottom: 0; }
  .channel .link-gold { padding-top: 4px; }

  .form-grid { grid-template-columns: 1fr; }
  .form-actions .btn { width: 100%; }
}
