/* WIZIO restyle · wizio.co.uk on wizio-tokens v1.3 (draft, 10 Nov 2026)
   Restyle, not redesign (Addendum B): loaded AFTER styles/site.css on every page. It changes
   type, colour, corners, shadows and buttons only. No markup, no layout, no copy.
   Tokens come from styles/wizio-tokens-v1.3.css, imported unchanged.
   site.css carries many !important rules, so most rules here need !important too.
   Light theme only, unless a rule says otherwise: the dark theme is an open question for CD. */

@import url('wizio-tokens-v1.3.css?v=1');
/* Fonts: site.css already loads Inter, and the build adds the one Noto script each Arabic, Hebrew,
   Georgian or Thai page needs (scripts/i18n-pages.mjs). The v1.3 stack below puts Noto after Inter. */

/* ── 1 · Map site.css variables onto the v1.3 tokens ─────────────────────────── */
:root {
  --wz-font-content: var(--wz-font);
  --wz-font-ui: var(--wz-font);
  --wz-title-grey: var(--wz-soft);
  --wz-calm-grey: var(--wz-soft);
  --wz-shadow-float: var(--wz-shadow);
}
html:not([data-theme='dark']) {
  --wz-black: var(--wz-ink);
  --wz-calm-ink: var(--wz-ink);
  --fg: var(--wz-ink);
  --fg-muted: var(--wz-muted);
  --bg: var(--wz-page);
  --bg-card: var(--wz-paper);
  --border: var(--wz-line);
  --wz-gray-300: var(--wz-line);
  --accent: var(--wz-blue);
  --accent-strong: var(--wz-blue-press);
}
/* A few blocks set their own near-black (#0c0c0e); bring them back to ink. */
html:not([data-theme='dark']) .wz-fcard,
html:not([data-theme='dark']) .wz-fcard-title,
html:not([data-theme='dark']) .wz-fcard-eyebrow {
  color: var(--wz-ink) !important;
}

/* ── 2 · Type: Inter 400 / 500 / 600 only ──────────────────────────────────── */
body,
button,
input,
select,
textarea {
  font-family: var(--wz-font);
}
b,
strong {
  font-weight: var(--wz-w-semibold);
}
/* Inline weights written by the JSX (React writes "font-weight: 700") */
[style*='font-weight: 700'],
[style*='font-weight:700'],
[style*='font-weight: 800'],
[style*='font-weight:800'] {
  font-weight: var(--wz-w-semibold) !important;
}
[style*='font-weight: 200'],
[style*='font-weight:200'],
[style*='font-weight: 300'],
[style*='font-weight:300'] {
  font-weight: var(--wz-w-regular) !important;
}
/* Named off-scale weights */
.wz-fcard-title,
.scene p.cap {
  font-weight: var(--wz-w-semibold) !important;
}
.wz-np-lead {
  font-weight: var(--wz-w-regular) !important;
}
button > span {
  font-weight: inherit;
}

/* Hero title: Inter 600, 80 / 48, line 1.05, -0.035em, grey second half */
.wz-hero-home h1,
h1.wz-display,
.wz-np-title {
  font-family: var(--wz-font) !important;
  font-weight: var(--wz-w-semibold) !important;
  font-size: var(--wz-hero) !important;
  line-height: var(--wz-hero-lh) !important;
  letter-spacing: var(--wz-hero-ls) !important;
  color: var(--wz-ink);
}
.wz-hero-home h1 .wz-calm-grey,
.wz-np-title .wz-calm-grey,
h1 .wz-calm-grey {
  color: var(--wz-soft) !important;
}
/* Lead line under a hero title: Inter 400, 24 / 20, muted */
.wz-hero-home .sub,
.wz-audience-hero .sub,
.wz-np-hero .wz-np-lead,
main h1 + p,
main .wz-reveal:has(> h1) + .wz-reveal > p {
  font-weight: var(--wz-w-regular) !important;
  font-size: var(--wz-lead) !important;
  line-height: var(--wz-lead-lh) !important;
  letter-spacing: var(--wz-lead-ls) !important;
  color: var(--wz-muted) !important;
}
/* Section title: Inter 600, 48 / 32, line 1.10, -0.03em */
main h2.wz-h1,
main h2.wz-section-title,
main h2.wz-np-h2,
main .wz-textwrap h2,
main .scene h2.headline,
.wz-cta.wz-band h2 {
  font-weight: var(--wz-w-semibold) !important;
  font-size: var(--wz-section) !important;
  line-height: var(--wz-section-lh) !important;
  letter-spacing: var(--wz-section-ls) !important;
}
/* Feature title: 30 / 24 */
.wz-fcard-title {
  font-size: var(--wz-feature) !important;
  line-height: var(--wz-feature-lh) !important;
  letter-spacing: var(--wz-feature-ls) !important;
}
/* Card title: 21 / 19 */
.wz-np-card-title,
.wz-np-product h3,
.wz-benefits .tile h3 {
  font-size: var(--wz-card-title) !important;
  line-height: var(--wz-card-title-lh) !important;
  letter-spacing: var(--wz-card-title-ls) !important;
  font-weight: var(--wz-w-semibold) !important;
}
/* Body text: 17px, line 1.5 */
.wz-benefits .tile p,
.wz-readcols p,
.wz-fcard p:not(.wz-fcard-eyebrow) {
  font-size: var(--wz-body-marketing) !important;
  line-height: var(--wz-body-lh) !important;
}
/* Eyebrow: Inter 500, 13px, grey (never ink, never blue on the website) */
.wz-np-label,
.wz-eyebrow,
.wz-hero-home .eyebrow,
.wz-fcard-eyebrow,
.wz-launch-eyebrow {
  font-family: var(--wz-font) !important;
  font-weight: var(--wz-w-medium) !important;
  font-size: var(--wz-eyebrow) !important;
  line-height: 1.3 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  color: var(--wz-muted) !important;
}
/* The three captions in the CRM story (were 700, blue-black) */
.scene p.cap {
  color: var(--wz-ink) !important;
  letter-spacing: -0.01em !important;
}
/* "Example data" stays 11px; nothing else under 12px */
.wz-live-bar b {
  font-size: var(--wz-example-tag) !important;
  font-weight: var(--wz-w-medium) !important;
}

@media (max-width: 767px) {
  .wz-hero-home h1,
  h1.wz-display,
  .wz-np-title {
    font-size: var(--wz-hero-phone) !important;
  }
  .wz-hero-home .sub,
  .wz-audience-hero .sub,
  .wz-np-hero .wz-np-lead,
  main h1 + p,
  main .wz-reveal:has(> h1) + .wz-reveal > p {
    font-size: var(--wz-lead-phone) !important;
  }
  main h2.wz-h1,
  main h2.wz-section-title,
  main h2.wz-np-h2,
  main .wz-textwrap h2,
  main .scene h2.headline,
  .wz-cta.wz-band h2 {
    font-size: var(--wz-section-phone) !important;
  }
  .wz-fcard-title {
    font-size: var(--wz-feature-phone) !important;
  }
  .wz-np-card-title,
  .wz-np-product h3,
  .wz-benefits .tile h3 {
    font-size: var(--wz-card-title-phone) !important;
  }
}

/* ── 3 · Buttons: 48px pills; one blue button per screen ─────────────────────── */
.wz-btn,
.wz-band .wz-band-btn,
.wz-band .wz-np-on-dark {
  min-height: var(--wz-btn-marketing) !important;
  height: var(--wz-btn-marketing) !important;
  padding: 0 var(--wz-s24) !important;
  border-radius: var(--wz-r-pill) !important;
  font-family: var(--wz-font) !important;
  font-weight: var(--wz-w-medium) !important;
  font-size: var(--wz-button) !important;
  box-shadow: none;
}
/* A button label never wraps (WIZIO About, 28 Nov 2026). In a narrow plan card the label gets the room:
   12px at the sides in place of 24px. A label still too wide for its card needs shorter words. */
.wz-np-plan-foot .wz-btn {
  padding: 0 12px !important;
}
/* the narrowest phones (320 to 360px): the same 12px, so a long label ("Reservar presentación privada")
   stays on one line in the full-width buttons too */
@media (max-width: 360px) {
  .wz-btn,
  .wz-band .wz-band-btn,
  .wz-band .wz-np-on-dark {
    padding: 0 12px !important;
  }
  /* the closing band gives its button the room: 16px at the sides in place of 24px */
  .wz-cta.wz-band {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
}
.wz-btn-primary {
  background: var(--wz-blue) !important;
  color: #fff !important;
}
.wz-btn-primary:hover {
  background: var(--wz-blue-press) !important;
}
/* Second button: a white pill with a hairline */
html:not([data-theme='dark']) .wz-btn-ghost {
  background: var(--wz-paper) !important;
  color: var(--wz-ink) !important;
  border: 0 !important;
  box-shadow: inset 0 0 0 1px var(--wz-line) !important;
}
html:not([data-theme='dark']) .wz-btn-ghost:hover {
  background: var(--wz-page) !important;
}
/* Header "Book a demo": a white pill with a hairline, so the hero keeps the one blue button */
html:not([data-theme='dark']) .wz-header-cta .wz-btn,
html:not([data-theme='dark']) .wz-header-cta .wz-btn-primary {
  background: var(--wz-paper) !important;
  color: var(--wz-ink) !important;
  box-shadow: inset 0 0 0 1px var(--wz-line) !important;
}
html:not([data-theme='dark']) .wz-header-cta .wz-btn:hover {
  background: var(--wz-page) !important;
}
/* The header button stays 40px between 960 and 1279 (site.css): keep that, the bar is 64px */
@media (min-width: 960px) and (max-width: 1279px) {
  .wz-header-cta .wz-btn {
    min-height: 40px !important;
    height: 40px !important;
    padding: 0 var(--wz-s16) !important;
  }
}

/* ── 4 · Dark areas: graphite, never black, no blue glow ───────────────────── */
.wz-cta,
.wz-band.wz-band {
  background: var(--wz-graphite) !important;
  border-radius: var(--wz-r-card) !important;
}
.wz-band::before {
  background: var(--wz-graphite) !important;
}
/* The ink "on" chip in the language card is a dark control: ink is right; nothing to do. */

/* ── 5 · Corners: cards 24, panels and frames 18, fields 14, controls pills ──── */
.wz-fx,
.wz-svc-card,
.wz-live-drawn > div > div > div > div {
  border-radius: var(--wz-r-card) !important;
}
.wz-fcard-frame,
.wz-live-frame {
  border-radius: var(--wz-r-panel) !important;
}
input:not([type='checkbox']):not([type='radio']),
select,
textarea {
  border-radius: var(--wz-r-field);
}
.wz-launch-form input {
  border-radius: var(--wz-r-pill) !important;
}

/* ── 6 · One shadow; cards are hairline cards ───────────────────────────────── */
.wz-fcard,
.wz-np-product,
.wz-fx,
.wz-fx-item.open {
  box-shadow: inset 0 0 0 1px var(--wz-line) !important;
}
.wz-fx-item.open {
  box-shadow: none !important;
}
.wz-fcard-frame,
.wz-live-frame {
  box-shadow: inset 0 0 0 1px var(--wz-line), var(--wz-shadow) !important;
}
.wz-ipad,
.badge-card,
.wz-live-drawn > div > div > div > div {
  box-shadow: var(--wz-shadow) !important;
}
/* Floating things under 36px take the small shadow */
.wz-fx-arrow {
  box-shadow: var(--wz-shadow-sm) !important;
}

/* ── 7 · Kept from site.css: Georgian words run long, so its phone hero title stays 32px ── */
@media (max-width: 400px) {
  html[lang='ka'] .wz-hero-home h1,
  html[lang='ka'] .wz-np-title {
    font-size: 32px !important;
  }
}

/* ── 8 · Plan cards (CD ruling, 10 Nov): no blue beside a price ─────────────────
   The product label above the lead is grey. The only blue in a plan card is its button, and these cards use the
   white second button.
   Plan colours (WIZIO Foundations › Plan colours, agreed 17 Nov 2026; as the deck, WizDeck 760f458): one colour and one
   icon per plan, as a 6px band on top of the card and a round mark beside the name; Elite's card is ink with gold.
   Never on buttons, property status or a page background. No plan is singled out: the ink rim on Pro is gone. */
:root {
  --wz-plan-verified: #4E5867; --wz-plan-verified-tint: #EEF1F5; --wz-plan-verified-text: #4E5867;
  --wz-plan-core: #0066FF; --wz-plan-core-tint: #EAF4FF; --wz-plan-core-text: #0A5FCC;
  --wz-plan-pro: #5B3FD9; --wz-plan-pro-tint: #F0ECFF; --wz-plan-pro-text: #5B3FD9;
  --wz-plan-elite: #B88A3E; --wz-plan-elite-ink: #1A1A1C; --wz-plan-elite-on-dark: #D9B26A;
}
.wz-np-plan.is-verified { --pc: var(--wz-plan-verified); --pt: var(--wz-plan-verified-tint); --px: var(--wz-plan-verified-text); }
.wz-np-plan.is-core { --pc: var(--wz-plan-core); --pt: var(--wz-plan-core-tint); --px: var(--wz-plan-core-text); }
.wz-np-plan.is-pro { --pc: var(--wz-plan-pro); --pt: var(--wz-plan-pro-tint); --px: var(--wz-plan-pro-text); }
.wz-np-plan.is-elite { --pc: var(--wz-plan-elite); --pt: rgba(217, 178, 106, 0.16); --px: var(--wz-plan-elite-on-dark); }
.wz-np-plan { position: relative; overflow: hidden; }
.wz-np-plan::before { content: ''; position: absolute; inset: 0 0 auto; height: 6px; background: var(--pc); }
.wz-np-plan h3 { display: inline-flex; align-items: center; gap: 8px; }
.wz-np-mark { flex: none; width: 28px; height: 28px; border-radius: 999px; display: inline-grid; place-items: center; background: var(--pt); color: var(--px); }
.wz-np-mark svg { width: 16px; height: 16px; display: block; }
/* Elite: the card in ink; words light, the second button stays the white pill */
.wz-np-plan.is-elite { background: var(--wz-plan-elite-ink) !important; box-shadow: none !important; color: #FFFFFF; }
.wz-np-plan.is-elite h3,
.wz-np-plan.is-elite .wz-np-plan-lead,
.wz-np-plan.is-elite .wz-np-plan-foot p { color: #FFFFFF !important; }
.wz-np-plan.is-elite .wz-np-plan-name { color: #A1A1A6 !important; }
.wz-np-plan.is-elite ul { color: #C8CAD0; }
.wz-np-plan.is-elite li::before { background: #C8CAD0; }
.wz-np-plan.is-elite .wz-np-tag { background: rgba(255, 255, 255, 0.12); color: #FFFFFF; }
/* Property Developers' short plans: 48px between the sentence and the cards, as the product cards on Home (17 Nov) */
.wz-np-plans-teaser .wz-np-plans { margin-top: 48px; }
.wz-np-plan-name {
  color: var(--wz-muted) !important;
}

/* ── 9 · Hero buttons keep the larger 17px words (v1.3 --wz-button-hero) ── */
.wz-hero-home .wz-btn,
.wz-np-hero .wz-btn {
  font-size: var(--wz-button-hero) !important;
}

/* ── 10 · v3.2 logo (B3): WIZIO at 26px in the header and footer; the mark alone under 640px ── */
.wz-logo-v32 {
  display: inline-flex;
  align-items: center;
  color: var(--fg);
}
@media (max-width: 639px) {
  .wz-header .wz-logo-v32 .wz-logo-full {
    display: none !important;
  }
  .wz-header .wz-logo-v32 .wz-logo-mark {
    display: block !important;
  }
}

/* ── 11 · Light only (Onur, 10 Nov 2026) ──────────────────────────────────────
   No dark theme and no theme switch (removed from the header in chrome.jsx; app.jsx always sets
   data-theme="light"). The tokens file turns the blue lighter under a dark device setting: keep WIZIO blue. */
html {
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root,
  :root:not([data-theme='light']) {
    --wz-blue: #0066ff;
  }
}
.wz-theme-toggle {
  display: none !important;
}

/* ── 12 · WIZIO Verse market tour (/wizio-verse hero, 17 Nov 2026; as wizioverse.com landing v2) ──────────
   A large globe with a glass card per region (plans.jsx VerseTour). Website type, colours and the 4·8·12·16·24·32·48
   spacing. The card sits on the globe's lower start corner on a laptop and under the globe on a phone. */
.wz-vt {
  position: relative;
  max-width: 1040px;
  margin: 48px auto 0;
}
.wz-vt-world {
  position: relative;
}
.wz-vt-stage {
  position: relative;
  width: min(720px, 100%);
  aspect-ratio: 1 / 1;
  max-width: 100%;
  margin: 0 auto;
}
.wz-vt-stage canvas,
.wz-vt-still {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.wz-vt-stage canvas { cursor: grab; touch-action: pan-y; }
.wz-vt-stage canvas:active { cursor: grabbing; }
.wz-vt-still { object-fit: cover; border-radius: 50%; }
.wz-vt-card {
  position: absolute;
  inset-inline-start: 0;
  bottom: 12%;
  width: 300px;
  padding: 24px;
  border-radius: var(--wz-radius-lg, 24px);
  background: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: blur(18px) saturate(1.6);
  backdrop-filter: blur(18px) saturate(1.6);
  box-shadow: var(--wz-shadow), inset 0 0 0 1px rgba(255, 255, 255, 0.9);
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: start;
  color: var(--wz-ink);
}
.wz-vt-card small {
  font: 500 13px/1.3 var(--wz-font);
  color: var(--wz-muted);
}
.wz-vt-name {
  font: 600 17px/1.3 var(--wz-font);
}
.wz-vt-num {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font: 600 44px/1 var(--wz-font);
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.wz-vt-num em {
  font: 500 15px/1 var(--wz-font);
  font-style: normal;
  letter-spacing: 0;
  color: var(--wz-muted);
}
.wz-vt-card ul {
  list-style: none;
  margin: 0;
  padding: 12px 0 0;
  display: grid;
  gap: 4px;
  border-top: 1px solid rgba(11, 11, 12, 0.08);
  font: 400 14px/1.4 var(--wz-font);
}
.wz-vt-card li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--wz-muted);
}
.wz-vt-card li b {
  color: var(--wz-ink);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.wz-vt-dots {
  display: flex;
  gap: 4px;
}
.wz-vt-dots i {
  width: 8px;
  height: 4px;
  border-radius: 2px;
  background: #C9CED6;
  transition: width 0.3s;
}
.wz-vt-dots i.is-on {
  width: 16px;
  background: var(--wz-ink);
}
.wz-vt-caption {
  margin: 16px auto 0;
  font: 400 17px/1.5 var(--wz-font);
  color: var(--wz-muted);
}
.wz-vt-caption b {
  color: var(--wz-ink);
  font-weight: 600;
}
.wz-vt .wz-np-actions {
  margin-top: 24px;
}
/* the HTML's first screen (scripts/first-screen.py) holds no globe, so it shows no card either: the card appears with the globe */
[data-wz-shell] .wz-vt-card { visibility: hidden; }
/* the launch card: one button to the waiting list on wizioverse.com (no form of its own since 17 Nov) */
.wz-launch-go {
  display: flex;
  justify-content: center;
  margin-top: 8px;
}
@media (max-width: 767px) {
  .wz-np-hero { overflow-x: clip; }
  .wz-vt { margin-top: 32px; }
  .wz-vt-stage { width: 124%; max-width: none; margin-inline: -12%; }
  .wz-vt-card {
    position: relative;
    inset: auto;
    width: min(320px, calc(100vw - 32px));
    margin: -48px auto 0;
    padding: 16px 24px;
    gap: 8px;
    z-index: 1;
  }
  .wz-vt-num { font-size: 36px; }
  .wz-vt-caption { font-size: 15px; margin-top: 16px; }
}

/* ── 13 · V5 loops (rollout 23 Nov 2026) ─────────────────────────────────────────────────────────────────────── */
.wz-loop{display:block;width:100%;height:100%;object-fit:cover;border-radius:var(--wz-radius-card,24px);background:var(--bg-alt)}
.wz-loop-wide{aspect-ratio:16/9}
.wz-np-card.has-loop{padding:12px 12px 24px}
.wz-np-card.has-loop h3,.wz-np-card.has-loop p{padding-inline:12px}
.wz-np-card-loop{border-radius:16px;overflow:hidden;margin-bottom:20px;background:var(--bg-alt)}
.wz-np-card-loop video{display:block;width:100%;aspect-ratio:16/10;object-fit:cover;object-position:center bottom}
/* the 3D tour clip shows the whole WIZIO Live page (23 Nov 2026): shown whole, never trimmed at the sides */
.wz-np-card-loop.is-whole video{object-fit:contain;background:#fff}

/* 14 · Footer in longer languages (23 Nov 2026): the Explore links wrap when space is short, so Subscribe keeps
   300px and its button never runs off a 1100–1240px screen (Spanish, Greek, Portuguese, Georgian, Vietnamese, Italian) */
@media (min-width: 1081px) {
  .wz-footer-grid { grid-template-columns: max-content minmax(0, max-content) minmax(300px, auto); }
  .wz-footer-explore a { white-space: normal; }
}
