/* Crystal TV Support — mobile-first, no dependencies */
:root {
  --navy-950: #060C1D;
  --navy-900: #0B1530;
  --navy-800: #122046;
  --navy-700: #1B2D5C;
  --gold: #C9A45C;
  --gold-light: #E4C98F;
  --gold-dark: #7F6128;
  --ink: #0E1630;
  --muted: #4A5470;
  --line: #E2E5EE;
  --surface: #F5F6FA;
  --white: #FFFFFF;
  --ok: #1E7F4B;
  --ok-bg: #E8F5EE;
  --warn: #7A4A00;
  --warn-bg: #FFF3DC;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(11, 21, 48, .06), 0 8px 24px rgba(11, 21, 48, .06);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body {
  margin: 0;
  font: 16px/1.6 var(--font);
  color: var(--ink);
  background: var(--white);
}
img, svg { display: block; max-width: 100%; }
a { color: var(--navy-700); text-underline-offset: 3px; }
a:hover { color: var(--gold-dark); }
h1, h2, h3 { line-height: 1.2; letter-spacing: -.015em; margin: 0; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 6px; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 760px; }
.icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.skip { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--gold); color: var(--navy-950); font-weight: 600; border-radius: var(--radius-sm); }
.skip:focus { top: 12px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 18px;
  border: 1px solid transparent; border-radius: 999px;
  font-weight: 600; font-size: 15px; text-decoration: none; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--gold { background: linear-gradient(135deg, var(--gold-light), var(--gold)); color: var(--navy-950); box-shadow: 0 6px 18px rgba(201, 164, 92, .28); }
.btn--gold:hover { color: var(--navy-950); box-shadow: 0 8px 24px rgba(201, 164, 92, .38); }
.btn--navy { background: var(--navy-900); color: var(--white); }
.btn--navy:hover { background: var(--navy-700); color: var(--white); }
.btn--ghost { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, .35); }
.btn--ghost:hover { color: var(--white); border-color: var(--white); }
.btn--ghost-dark { background: var(--white); color: var(--navy-900); border-color: var(--line); }
.btn--ghost-dark:hover { color: var(--navy-900); border-color: var(--navy-700); }
.btn--lg { min-height: 56px; padding: 14px 28px; font-size: 17px; }
.btn--sm { min-height: 40px; padding: 8px 14px; font-size: 14px; }
.btn--xs { min-height: 34px; padding: 5px 13px; font-size: 13px; }
.btn .icon { width: 18px; height: 18px; }

/* Top bar */
.topbar { background: var(--navy-950); color: var(--white); position: relative; z-index: 20; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; }
.topbar__actions { display: flex; align-items: center; gap: 8px; }
.logo { display: inline-flex; color: var(--white); text-decoration: none; }
.logo:hover { color: var(--white); }
.logo svg { height: 30px; width: auto; }

.langmenu { position: relative; }
.langmenu summary {
  display: flex; align-items: center; gap: 6px; min-height: 40px; padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px;
  cursor: pointer; list-style: none; font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em;
}
.langmenu summary::-webkit-details-marker { display: none; }
.langmenu summary .icon { width: 16px; height: 16px; }
.langmenu__list {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 170px; padding: 6px;
  list-style: none; background: var(--white); border-radius: var(--radius-sm); box-shadow: 0 16px 40px rgba(6, 12, 29, .3);
}
.langmenu__list a { display: block; padding: 10px 12px; border-radius: 8px; color: var(--ink); text-decoration: none; }
.langmenu__list a:hover { background: var(--surface); }
.langmenu__list a[aria-current] { font-weight: 700; color: var(--gold-dark); }

/* Hero */
.hero {
  position: relative; overflow: hidden; color: var(--white);
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(228, 201, 143, .22), transparent 60%),
    radial-gradient(700px 400px at -10% 110%, rgba(27, 45, 92, .9), transparent 60%),
    linear-gradient(160deg, var(--navy-950) 0%, var(--navy-900) 55%, var(--navy-800) 100%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background:
    linear-gradient(115deg, transparent 62%, rgba(255, 255, 255, .05) 62.2%, transparent 74%),
    linear-gradient(65deg, transparent 70%, rgba(228, 201, 143, .07) 70.2%, transparent 84%);
}
.hero__inner { position: relative; z-index: 1; padding-top: 48px; padding-bottom: 56px; }
.eyebrow { display: inline-block; margin-bottom: 14px; color: var(--gold-light); font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.hero__title { font-size: clamp(34px, 9vw, 60px); font-weight: 750; max-width: 14ch; }
.hero__hours { display: flex; align-items: center; gap: 8px; margin-top: 18px; font-size: 18px; font-weight: 600; color: var(--gold-light); }
.hero__local { margin-top: 4px; padding-left: 28px; color: rgba(255, 255, 255, .7); font-size: 15px; }
.hero__sub { margin-top: 16px; max-width: 44ch; color: rgba(255, 255, 255, .82); font-size: 17px; }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; margin-top: 28px; }
.hero__cta .btn--lg { width: 100%; }

.badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); font-size: 14px; font-weight: 600; }
.badge__dot { width: 9px; height: 9px; border-radius: 50%; background: #9AA3B8; }
.badge.is-online .badge__dot { background: #3DDC84; box-shadow: 0 0 0 4px rgba(61, 220, 132, .2); }
.badge.is-open .badge__dot { background: var(--gold); }

/* Status bar */
.statusbar { background: var(--surface); border-bottom: 1px solid var(--line); font-size: 15px; }
.statusbar__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; padding-top: 12px; padding-bottom: 12px; }
.statusbar__dot { width: 10px; height: 10px; border-radius: 50%; background: #9AA3B8; }
.statusbar__label { color: var(--muted); }
.statusbar__text { font-weight: 600; }
.statusbar.is-ok { background: var(--ok-bg); }
.statusbar.is-ok .statusbar__dot { background: var(--ok); }
.statusbar.is-ok .statusbar__text { color: var(--ok); }
.statusbar.is-issue { background: var(--warn-bg); border-color: #F1D49B; }
.statusbar.is-issue .statusbar__dot { background: #D98A00; }
.statusbar.is-issue .statusbar__text { color: var(--warn); }

/* Sections */
.section { padding: 56px 0; }
.section--tint { background: var(--surface); }
.section__title { font-size: clamp(26px, 6vw, 36px); font-weight: 720; }
.section__title::after { content: ""; display: block; width: 44px; height: 3px; margin-top: 14px; border-radius: 3px; background: linear-gradient(90deg, var(--gold), var(--gold-light)); }
.section__intro { margin-top: 14px; max-width: 60ch; color: var(--muted); font-size: 17px; }

.grid { display: grid; gap: 16px; margin-top: 28px; }
.card {
  display: flex; flex-direction: column; gap: 10px; padding: 22px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
}
.card__icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--navy-900); color: var(--gold-light); }
.card__icon .icon { width: 22px; height: 22px; }
.card__title { font-size: 19px; font-weight: 700; }
.card__desc { color: var(--muted); font-size: 15px; overflow-wrap: anywhere; }
.card__reply { display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--gold-dark); }
.card__reply .icon { width: 16px; height: 16px; }
.card .btn { margin-top: auto; align-self: flex-start; }

/* Quick actions */
.quick { display: grid; gap: 10px; margin-top: 28px; list-style: none; }
.quick a, .quick button {
  display: flex; align-items: center; gap: 14px; width: 100%; min-height: 60px; padding: 14px 18px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  color: var(--ink); font-weight: 600; text-align: left; text-decoration: none; cursor: pointer; box-shadow: var(--shadow);
  transition: border-color .15s ease, transform .15s ease;
}
.quick a:hover, .quick button:hover { border-color: var(--gold); transform: translateY(-1px); color: var(--ink); }
.quick__wa { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #E7F7EE; color: #128C4B; flex: none; }
.quick__wa--chat { background: var(--navy-900); color: var(--gold-light); }
.quick__label { flex: 1; }
.quick__arrow { color: var(--gold-dark); }

/* Devices */
.devices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 28px; list-style: none; }
.devices a {
  display: flex; flex-direction: column; gap: 12px; height: 100%; padding: 18px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  color: var(--ink); text-decoration: none; box-shadow: var(--shadow);
  transition: border-color .15s ease, transform .15s ease;
}
.devices a:hover { border-color: var(--gold); transform: translateY(-2px); color: var(--ink); }
.devices__icon { color: var(--navy-700); }
.devices__icon .icon { width: 30px; height: 30px; stroke-width: 1.5; }
.devices__name { font-weight: 700; line-height: 1.3; }
.devices__cta { margin-top: auto; font-size: 14px; font-weight: 600; color: var(--gold-dark); }

/* Buffering */
.split { display: grid; gap: 28px; }
.checklist { margin-top: 24px; list-style: none; counter-reset: c; display: grid; gap: 12px; }
.checklist li { counter-increment: c; position: relative; padding: 14px 16px 14px 58px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.checklist li::before {
  content: counter(c); position: absolute; left: 14px; top: 12px;
  display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  background: var(--navy-900); color: var(--gold-light); font-weight: 700; font-size: 14px;
}
.speed { align-self: start; padding: 24px; border-radius: var(--radius); color: var(--white); background: linear-gradient(160deg, var(--navy-900), var(--navy-700)); box-shadow: var(--shadow); }
.speed__title { display: flex; align-items: center; gap: 10px; font-size: 19px; color: var(--gold-light); }
.speed__list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 20px 0 10px; }
.speed__list div { padding: 14px; border-radius: var(--radius-sm); background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); }
.speed__list dt { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .7); }
.speed__list dd { margin: 4px 0 0; font-size: 18px; font-weight: 700; overflow-wrap: anywhere; }
.speed__note { color: rgba(255, 255, 255, .72); font-size: 14px; margin-bottom: 18px; }
.speed .btn--navy { background: var(--white); color: var(--navy-900); }
.speed .btn--navy:hover { background: var(--gold-light); color: var(--navy-950); }
.speed .btn .icon { width: 16px; height: 16px; }

/* FAQ */
.faq { margin-top: 28px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 4px; cursor: pointer; list-style: none; font-weight: 650; font-size: 17px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--surface); color: var(--gold-dark); font-size: 20px; font-weight: 500; transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq__a { padding: 0 4px 22px; color: var(--muted); max-width: 65ch; }

/* What to send + safety */
.sendlist { margin-top: 24px; list-style: none; display: grid; gap: 10px; }
.sendlist li { display: flex; gap: 12px; align-items: flex-start; }
.sendlist .icon { margin-top: 3px; color: var(--ok); }
.safety {
  align-self: start; display: flex; gap: 16px; padding: 24px;
  border-radius: var(--radius); background: var(--navy-900); color: var(--white);
  border: 1px solid rgba(201, 164, 92, .4);
}
.safety > .icon { width: 36px; height: 36px; color: var(--gold); stroke-width: 1.6; }
.safety__title { font-size: 20px; margin-bottom: 8px; color: var(--gold-light); }
.safety p { color: rgba(255, 255, 255, .82); }

/* Inner pages */
.pagehead { background: linear-gradient(160deg, var(--navy-950), var(--navy-800)); color: var(--white); padding: 36px 0 40px; }
.pagehead__title { font-size: clamp(28px, 7vw, 44px); }
.pagehead__intro { margin-top: 12px; color: rgba(255, 255, 255, .8); max-width: 55ch; }
.pagehead__device { display: flex; align-items: center; gap: 14px; }
.pagehead__device .icon { width: 40px; height: 40px; color: var(--gold-light); stroke-width: 1.5; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; font-size: 14px; color: rgba(255, 255, 255, .6); }
.crumbs a { color: var(--gold-light); }
.crumbs a:hover { color: var(--white); }

.callout { padding: 18px 20px; border-radius: var(--radius-sm); background: var(--surface); border-left: 4px solid var(--navy-700); }
.callout--gold { margin-top: 28px; background: #FBF6EC; border-left-color: var(--gold); }
.callout__title { font-size: 16px; margin-bottom: 4px; }

.steps { list-style: none; counter-reset: s; display: grid; gap: 22px; margin-top: 32px; }
.step { counter-increment: s; display: grid; gap: 12px; }
.step__label { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-dark); }
.step__text { font-size: 17px; font-weight: 550; }
.shot {
  display: grid; place-items: center; aspect-ratio: 16 / 9; border-radius: var(--radius-sm);
  border: 2px dashed #C9CFDD; background: repeating-linear-gradient(135deg, var(--surface) 0 12px, #EEF0F6 12px 24px);
  color: var(--muted); font-size: 14px; font-weight: 600; text-align: center; padding: 12px;
}

.help { display: grid; gap: 18px; margin-top: 36px; padding: 24px; border-radius: var(--radius); background: var(--navy-900); color: var(--white); }
.help__title { font-size: 21px; color: var(--gold-light); margin-bottom: 6px; }
.help p { color: rgba(255, 255, 255, .82); }
.help__actions { display: flex; flex-wrap: wrap; gap: 10px; }

.legal h2 { font-size: 20px; margin: 32px 0 10px; }
.legal p { margin-bottom: 6px; color: #2A3350; }
.legal__draft { padding: 12px 16px; border-radius: var(--radius-sm); background: var(--warn-bg); color: var(--warn) !important; font-weight: 600; font-size: 14px; }

/* Footer */
.footer { background: var(--navy-950); color: rgba(255, 255, 255, .78); padding: 48px 0 28px; font-size: 15px; }
.footer__grid { display: grid; gap: 30px; }
.footer__h { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 12px; }
.footer__hours { display: flex; align-items: center; gap: 8px; margin-top: 14px; }
.footer__links, .footer__langs { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer a { color: rgba(255, 255, 255, .88); text-decoration: none; display: inline-block; padding: 4px 0; }
.footer a:hover { color: var(--gold-light); text-decoration: underline; }
.footer a[aria-current] { color: var(--gold-light); font-weight: 700; }
.footer__bottom { margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13px; color: rgba(255, 255, 255, .55); }

/* Cookie bar — small, unobtrusive */
.cookie {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 50;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 10px;
  padding: 8px 8px 8px 14px; border-radius: 14px;
  background: rgba(6, 12, 29, .96); color: rgba(255, 255, 255, .9); font-size: 12.5px; line-height: 1.4;
  box-shadow: 0 10px 30px rgba(6, 12, 29, .35); border: 1px solid rgba(201, 164, 92, .3);
}
.cookie[hidden] { display: none; }
.cookie a { color: var(--gold-light); }
.cookie__actions { display: flex; gap: 6px; margin-left: auto; }

/* Root language picker */
.page-root { min-height: 100vh; background: linear-gradient(160deg, var(--navy-950), var(--navy-800)); }
.rootpick { min-height: 100vh; display: grid; place-items: center; padding: 24px 16px; }
.rootpick__card { width: 100%; max-width: 440px; text-align: center; color: var(--white); }
.rootpick__card .logo { justify-content: center; }
.rootpick__card .logo svg { height: 40px; margin: 0 auto; }
.rootpick__title { margin: 24px 0; font-size: 16px; font-weight: 500; color: rgba(255, 255, 255, .75); line-height: 1.7; }
.rootpick__list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.rootpick__list a { display: block; padding: 14px; border-radius: var(--radius-sm); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); color: var(--white); font-weight: 600; text-decoration: none; }
.rootpick__list a:hover { border-color: var(--gold); color: var(--gold-light); }

/* Larger screens */
@media (min-width: 640px) {
  .hero__cta .btn--lg { width: auto; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .quick { grid-template-columns: repeat(2, 1fr); }
  .devices { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .help { grid-template-columns: 1fr auto; align-items: center; }
  .cookie { left: 20px; right: auto; bottom: 20px; max-width: 420px; }
}
@media (min-width: 960px) {
  .hero__inner { padding-top: 84px; padding-bottom: 92px; }
  .section { padding: 80px 0; }
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
  .quick { grid-template-columns: repeat(3, 1fr); }
  .devices { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .split { grid-template-columns: 1.4fr 1fr; gap: 48px; }
  .help { grid-template-columns: 1fr; }
}
