/* areztv.com
   Dark hero and closing call lit by the app's own screen (blurred, the way TV apps light a backdrop),
   light sections in between so the page is neither night nor glare. System font stack: SF Pro on Apple,
   Segoe UI on Windows, Roboto on Android. */

:root {
  --dark: #15121f;
  --dark-2: #1d1830;
  --dark-line: rgba(255, 255, 255, 0.12);
  --on-dark: #ffffff;
  --on-dark-soft: rgba(255, 255, 255, 0.72);

  --light: #f7f5fb;
  --light-2: #efebf6;
  --ink: #17132a;
  --ink-soft: #423c57;
  --line: #e2dcec;
  --card: #ffffff;

  --violet: #7c3aed;
  --violet-hover: #6d28d9;
  --violet-tint: #efe7fe;

  --radius-m: 18px;
  --radius-l: 26px;
  --shadow-media: 0 1px 2px rgba(23, 19, 42, 0.08), 0 30px 60px -24px rgba(23, 19, 42, 0.35);
  --container: 1200px;
  --pad: 20px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; overflow-x: clip; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--light);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
h1, h2, h3 { margin: 0; color: inherit; }
p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; border-radius: 6px; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--pad); }
@media (min-width: 768px) { :root { --pad: 32px; } }

/* hidden above the page until focused; no horizontal offset, so right-to-left pages do not scroll sideways */
.skip { position: absolute; top: -100px; inset-inline-start: 10px; z-index: 50; padding: 10px 16px; border-radius: 10px; background: #fff; color: var(--ink); }
.skip:focus { top: 10px; }

/* Buttons and store badges */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 999px; font-weight: 600; font-size: 16px; text-decoration: none; transition: background-color .15s ease; }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 15px; }
.btn-primary { background: var(--violet); color: #fff; }
.btn-primary:hover { background: var(--violet-hover); }

.badges { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.badges-center { justify-content: center; }
.badge { display: inline-flex; align-items: center; gap: 10px; height: 56px; padding: 0 20px 0 16px; border-radius: 14px; background: #000; color: #fff; text-decoration: none; border: 1px solid rgba(255, 255, 255, 0.28); transition: border-color .15s ease; }
.badge:hover { border-color: rgba(255, 255, 255, 0.7); }
.badge svg { width: 28px; height: 28px; flex: none; }
.badge span { display: flex; flex-direction: column; font-size: 20px; font-weight: 600; line-height: 1.05; letter-spacing: -0.01em; }
.badge small { font-size: 11px; font-weight: 500; letter-spacing: 0.02em; opacity: 0.85; margin-bottom: 2px; }

/* Header */
.nav { position: sticky; top: 0; z-index: 40; background: rgba(21, 18, 31, 0.78); -webkit-backdrop-filter: saturate(160%) blur(18px); backdrop-filter: saturate(160%) blur(18px); border-bottom: 1px solid var(--dark-line); color: var(--on-dark); }
.nav-in { display: flex; align-items: center; gap: 32px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; letter-spacing: 0.02em; text-decoration: none; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.nav-links { display: none; gap: 28px; margin-inline-start: auto; }
.nav-links a { text-decoration: none; font-size: 15px; color: var(--on-dark-soft); }
.nav-links a:hover, .nav-links a[aria-current] { color: #fff; }
.lang-link { display: inline-flex; align-items: center; gap: 6px; margin-inline-start: auto; padding: 8px 6px; font-size: 14px; font-weight: 600; text-decoration: none; color: var(--on-dark-soft); }
.lang-link:hover { color: #fff; }
.lang-link svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.nav-in { gap: 20px; }
@media (min-width: 900px) { .nav-links { display: flex; } .lang-link { margin-inline-start: 4px; } }

/* Ambient light: a blurred copy of the TV home screen */
.ambient { position: absolute; inset: 0; z-index: 0; pointer-events: none; background: url("/assets/img/ambient.webp") center 30% / cover no-repeat; opacity: 0.6; transform: scale(1.15); -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.85) 55%, transparent 100%); mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.85) 55%, transparent 100%); }
.ambient-soft { opacity: 0.28; }

/* Hero */
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--dark); color: var(--on-dark); padding: 72px 0 88px; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: radial-gradient(60% 70% at 12% 20%, rgba(124, 58, 237, 0.35), transparent 70%), radial-gradient(50% 60% at 90% 90%, rgba(236, 72, 153, 0.18), transparent 70%); }
.hero > .container { position: relative; z-index: 1; }
.hero-in { display: grid; gap: 56px; align-items: center; }
.hero h1 { font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, sans-serif; font-size: clamp(42px, 5.6vw, 72px); line-height: 1.02; font-weight: 800; letter-spacing: -0.04em; max-width: 11em; }
.hero-lead { margin-top: 22px; font-size: clamp(18px, 1.5vw, 21px); line-height: 1.55; color: var(--on-dark-soft); max-width: 32em; }

.hero-devices { position: relative; padding-block-end: 16%; padding-inline-start: 20%; }
.device-tv { border-radius: var(--radius-m); padding: 8px; background: #0b0911; border: 1px solid rgba(255, 255, 255, 0.14); box-shadow: 0 40px 100px -30px rgba(0, 0, 0, 0.8); }
.device-tv img { border-radius: 11px; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
/* the phone stands in front of the TV's lower left corner, touching only its bezel */
.device-phone { position: absolute; inset-inline-start: 0; bottom: 0; width: 19%; border-radius: 26px; padding: 6px; background: #0b0911; border: 1px solid rgba(255, 255, 255, 0.16); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.85); }
.device-phone img { border-radius: 20px; width: 100%; aspect-ratio: 540 / 1200; object-fit: cover; }


@media (min-width: 1024px) {
  .hero { padding: 112px 0 128px; }
  .hero-in { grid-template-columns: 11fr 13fr; gap: 40px; }
  .hero-devices { margin-inline-end: calc(-1 * var(--pad) - 6vw); padding-inline-start: 21.5%; }
}

/* Section scaffolding */
.light { background: var(--light); padding: 104px 0; }
.light + .light { border-top: 1px solid var(--line); }
.light-alt { background: var(--light-2); }
.dark { position: relative; isolation: isolate; overflow: hidden; background: var(--dark-2); color: var(--on-dark); padding: 104px 0; }
.dark > .container { position: relative; z-index: 1; }
.section-head { max-width: 720px; margin-bottom: 64px; }
.section-head h2, .dark h2, .specs h2, .faq h2, .cta h2 { font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, sans-serif; font-weight: 800; letter-spacing: -0.035em; }
.section-head h2, .dark h2, .specs h2, .faq h2 { font-size: clamp(32px, 3.8vw, 50px); line-height: 1.08; }
.section-head p { margin-top: 16px; font-size: 19px; color: var(--ink-soft); }
.section-lead { margin-top: 16px; font-size: 19px; color: var(--on-dark-soft); max-width: 30em; }
@media (min-width: 1024px) { .light, .dark { padding: 136px 0; } }

/* Feature rows */
.feature { display: grid; gap: 32px; align-items: center; }
.feature + .feature { margin-top: 96px; }
.feature-media img { border-radius: var(--radius-m); width: 100%; box-shadow: var(--shadow-media); background: #0b0911; }
.feature-text h3 { font-size: clamp(24px, 2.2vw, 30px); line-height: 1.2; font-weight: 700; letter-spacing: -0.02em; }
.feature-text p { margin-top: 14px; color: var(--ink-soft); font-size: 18px; }
.ticks { list-style: none; margin: 26px 0 0; padding: 0; border-top: 1px solid var(--line); }
.ticks li { padding: 13px 0; border-bottom: 1px solid var(--line); font-weight: 500; color: var(--ink); }
.feature-phones { display: flex; justify-content: center; gap: 5%; padding: 24px 0; background: radial-gradient(50% 55% at 50% 50%, rgba(124, 58, 237, 0.16), transparent 72%); }
.feature-phones img { width: 40%; border-radius: 26px; border: 7px solid #0b0911; box-shadow: 0 2px 4px rgba(23, 19, 42, 0.1), 0 40px 70px -28px rgba(23, 19, 42, 0.55); }
.feature-phones img + img { margin-top: 48px; }
@media (min-width: 1024px) {
  .feature { grid-template-columns: 7fr 5fr; gap: 72px; }
  .feature-flip .feature-media { order: 2; }
  .feature + .feature { margin-top: 136px; }
}

/* Pairing */
.pairing { display: grid; gap: 56px; align-items: center; }
.steps { list-style: none; counter-reset: step; margin: 40px 0 0; padding: 0; display: grid; gap: 26px; }
.steps li { counter-increment: step; position: relative; padding-inline-start: 60px; }
.steps li::before { content: counter(step); position: absolute; inset-inline-start: 0; top: -2px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--violet); color: #fff; font-weight: 700; font-size: 17px; }
.steps h3 { font-size: 20px; font-weight: 600; line-height: 1.3; }
.steps p { margin-top: 4px; color: var(--on-dark-soft); }
.pairing-media img { border-radius: var(--radius-m); border: 8px solid #0b0911; box-shadow: 0 40px 100px -30px rgba(0, 0, 0, 0.8); }
@media (min-width: 1024px) { .pairing { grid-template-columns: 5fr 7fr; gap: 72px; } }

/* Devices */
.devices { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.devices li { display: flex; flex-direction: column; gap: 10px; padding: 28px; border-radius: var(--radius-l); background: var(--card); border: 1px solid var(--line); }
.devices svg { width: 40px; height: 40px; fill: none; stroke: var(--violet); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 6px; }
.devices h3 { font-size: 21px; font-weight: 700; letter-spacing: -0.01em; }
.devices p { color: var(--ink-soft); flex: 1; }
.status { align-self: flex-start; margin-top: 8px; padding: 6px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; background: var(--light-2); color: var(--ink-soft); text-decoration: none; }
.status-live { background: var(--violet-tint); color: var(--violet); }
.status-live:hover { background: #e2d4fd; }
@media (min-width: 640px) { .devices { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .devices { grid-template-columns: repeat(3, 1fr); gap: 20px; } }

/* Specs and privacy */
.specs { display: grid; gap: 48px; align-items: start; }
.spec-table { width: 100%; margin-top: 36px; border-collapse: collapse; }
.spec-table th, .spec-table td { text-align: start; vertical-align: top; padding: 18px 0; border-top: 1px solid var(--line); }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 1px solid var(--line); }
.spec-table th { width: 8.5em; padding-inline-end: 20px; font-weight: 600; color: var(--ink); }
.spec-table td { color: var(--ink-soft); }
.privacy { padding: 36px; border-radius: var(--radius-l); background: var(--dark-2); color: var(--on-dark); }
.privacy svg { width: 44px; height: 44px; fill: none; stroke: #c4a5fb; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.privacy h3 { margin-top: 18px; font-size: 24px; font-weight: 700; letter-spacing: -0.01em; }
.privacy ul { margin: 16px 0 0; padding-inline-start: 20px; display: grid; gap: 10px; color: var(--on-dark-soft); }
@media (min-width: 1024px) { .specs { grid-template-columns: 7fr 5fr; gap: 72px; } .privacy { margin-top: 84px; } }

/* FAQ */
.faq { max-width: 860px; }
.faq-list { margin-top: 40px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { position: relative; list-style: none; cursor: pointer; padding-block: 22px; padding-inline: 0 48px; font-size: 19px; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; inset-inline-end: 6px; top: 50%; width: 12px; height: 12px; margin-top: -9px; border-right: 2.5px solid var(--violet); border-bottom: 2.5px solid var(--violet); transform: rotate(45deg); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -3px; }
.faq details p { padding-block-end: 24px; padding-inline-end: 48px; color: var(--ink-soft); }
.faq details a { color: var(--violet); }

/* Closing call */
.cta { position: relative; isolation: isolate; overflow: hidden; background: var(--dark); color: var(--on-dark); padding: 120px 0; text-align: center; }
.cta-in { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }
.cta-icon { width: 96px; height: 96px; border-radius: 22px; box-shadow: 0 20px 50px -15px rgba(0, 0, 0, 0.7); }
.cta h2 { margin-top: 28px; font-size: clamp(36px, 4.4vw, 56px); line-height: 1.05; font-weight: 700; letter-spacing: -0.03em; }
.cta p { margin-top: 14px; font-size: 19px; color: var(--on-dark-soft); }

/* Footer */
.footer { background: #100d18; color: var(--on-dark-soft); padding: 64px 0 40px; font-size: 15px; }
.footer-top { display: grid; gap: 36px; }
.footer .brand { color: #fff; }
.footer-brand p { margin-top: 14px; max-width: 26em; }
.footer nav { display: flex; flex-direction: column; gap: 10px; }
.footer nav h2 { font-size: 14px; font-weight: 600; color: #fff; margin-bottom: 4px; }
.footer nav a { text-decoration: none; }
.footer nav a:hover { color: #fff; }
.footer-note { margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--dark-line); font-size: 13px; line-height: 1.6; max-width: 64em; }
.footer-copy { margin-top: 14px; font-size: 13px; }
@media (min-width: 768px) { .footer-top { grid-template-columns: 2fr 1fr 1fr 1fr; } }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn, .badge, .faq summary::after { transition: none; } }
.devices li.soon { background: transparent; border-style: dashed; border-color: #cfc6de; }
.devices li.soon svg { stroke: #9a92ad; }

/* ---- Pages beyond the landing page: device pages, guides, guide hub ---- */
.hero-page { padding: 56px 0 64px; }
.hero-page h1 { font-size: clamp(34px, 4.4vw, 56px); line-height: 1.06; max-width: 18em; }
.hero-page .hero-lead { max-width: 38em; }
.hero-page .badges { margin-top: 28px; }
.hero-media .device-tv img { aspect-ratio: 16 / 9; }
.hero-phones { display: flex; justify-content: center; gap: 6%; }
.hero-phones img { width: 40%; max-width: 260px; border-radius: 26px; border: 7px solid #0b0911; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.85); }
.hero-phones img + img { margin-top: 40px; }
.hero-phone-one img { width: 52%; }
@media (min-width: 1024px) {
  .hero-page { padding: 80px 0 88px; }
  .hero-has-media .hero-in { grid-template-columns: 6fr 5fr; gap: 56px; }
}
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 22px; padding: 0; font-size: 14px; color: var(--on-dark-soft); }
.crumbs li + li::before { content: "/"; margin-inline-end: 6px; opacity: 0.5; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }

.article { max-width: 820px; }
.article-sec + .article-sec { margin-top: 64px; }
.article-sec h2 { font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, sans-serif; font-size: clamp(26px, 2.6vw, 34px); line-height: 1.15; font-weight: 800; letter-spacing: -0.025em; }
.article-sec > p { margin-top: 16px; font-size: 18px; color: var(--ink-soft); }
.article-sec .ticks { margin-top: 22px; }
.article-sec .spec-table { margin-top: 24px; }
.article a, .note a, .more a, .cards a h3 { color: var(--violet); }
.article a:hover { text-decoration-thickness: 2px; }
.article-media { margin-top: 28px; }
.article-media img { border-radius: var(--radius-m); box-shadow: var(--shadow-media); background: #0b0911; }
.article-lead-media { margin: 0 0 56px; }
.steps-light { margin-top: 28px; }
.steps-light p { color: var(--ink-soft); }
.note { margin-top: 28px; padding: 18px 22px; border-radius: 14px; background: var(--violet-tint); color: var(--ink); font-size: 16px; }
.article > .note:last-child { margin-top: 64px; background: var(--light-2); color: var(--ink-soft); }
.kv th { width: 40%; }
strong.ui { font-weight: 650; color: var(--ink); }
td strong.ui { font-weight: inherit; color: inherit; }
.dark strong.ui, .hero strong.ui { color: #fff; }
.h-sm { font-size: clamp(24px, 2.4vw, 30px); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 24px; }

.cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.cards a { display: block; height: 100%; padding: 24px 26px; border-radius: var(--radius-m); background: var(--card); border: 1px solid var(--line); text-decoration: none; transition: border-color .15s ease; }
.cards a:hover { border-color: var(--violet); }
.cards h3 { font-size: 19px; font-weight: 700; line-height: 1.3; }
.cards p { margin-top: 8px; color: var(--ink-soft); font-size: 16px; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cards { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.more { margin-top: 28px; font-weight: 600; }
.dark .more a { color: #c4a5fb; }
.more-light { margin-top: 32px; }
.devices h3 a { text-decoration: none; }
.devices h3 a:hover { color: var(--violet); }


/* Scripts that must not be letter-spaced or tightened like Latin display type */
:lang(ar) *, :lang(hi) *, :lang(th) *, :lang(ja) *, :lang(ko) *, :lang(zh-Hans) * { letter-spacing: normal !important; }
:lang(ar) body, :lang(hi) body, :lang(th) body { line-height: 1.75; }
:lang(ar) h1, :lang(hi) h1, :lang(th) h1 { line-height: 1.3; }
:lang(ja) h1, :lang(ko) h1, :lang(zh-Hans) h1 { line-height: 1.25; word-break: keep-all; }

/* Language list: sits in the footer, and the header globe opens the same list as a modal (native popover, no JS) */
.lang-link { background: none; border: 0; cursor: pointer; font: inherit; font-size: 14px; font-weight: 600; }
.langs[popover]:not(:popover-open) { display: block; position: static; inset: auto; width: auto; height: auto; max-height: none; margin: 48px 0 0; padding: 28px 0 0; overflow: visible; border: 0; border-top: 1px solid var(--dark-line); background: none; color: inherit; }
.langs-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.langs h2 { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: #fff; }
.langs h2 svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.langs ul { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.langs a { text-decoration: none; font-size: 14px; }
.langs a:hover, .langs a[aria-current] { color: #fff; }
.langs a[aria-current] { font-weight: 600; }
.langs-close { display: none; }

.langs:popover-open { display: block; width: min(600px, calc(100vw - 32px)); max-height: min(82vh, 660px); margin: auto; padding: 22px 22px 24px; overflow: auto; border: 1px solid rgba(255, 255, 255, 0.14); border-radius: var(--radius-l); background: var(--dark-2); color: var(--on-dark-soft); font-size: 15px; box-shadow: 0 50px 120px -30px rgba(0, 0, 0, 0.85); animation: langs-in .24s cubic-bezier(.2, .8, .2, 1); }
.langs:popover-open h2 { font-size: 19px; font-weight: 700; }
.langs:popover-open h2 svg { width: 22px; height: 22px; stroke: #c4a5fb; }
.langs:popover-open .langs-close { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 50%; border: 0; background: rgba(255, 255, 255, 0.08); color: #fff; font-size: 24px; line-height: 1; cursor: pointer; }
.langs:popover-open .langs-close:hover { background: rgba(255, 255, 255, 0.16); }
.langs:popover-open ul { margin-top: 18px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px; }
@media (min-width: 520px) { .langs:popover-open ul { grid-template-columns: repeat(3, 1fr); } }
.langs:popover-open a { display: block; padding: 11px 12px; border-radius: 12px; font-size: 16px; }
.langs:popover-open a:hover { background: rgba(255, 255, 255, 0.08); }
.langs:popover-open a[aria-current] { background: var(--violet); color: #fff; }
.langs::backdrop { background: rgba(10, 8, 18, 0.6); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); animation: langs-fade .24s ease-out; }
@keyframes langs-in { from { opacity: 0; transform: translateY(16px) scale(0.96); } }
@keyframes langs-fade { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .langs:popover-open, .langs::backdrop { animation: none; } }
