/* vanta-tv.com: a light look (warm paper, indigo, frosted glass); the app's screenshots stay dark, like product photos.
   One stylesheet for English (ltr) and Arabic (rtl): spacing uses logical properties (inline-start/end). */
:root {
  --night: #05060c; --night2: #0b0d1a; --night3: #11142a;
  --ink: #eef0ff; --mist: #a3abcf; --dim: #7880a8;
  --violet: #0b63ce; --cyan: #2ed3ff; --line: rgba(255,255,255,0.10);
  --head: "Geist", system-ui, sans-serif; --body: "Geist", system-ui, sans-serif;
}
html[lang="ar"] { --head: "Readex Pro", system-ui, sans-serif; --body: "Readex Pro", system-ui, sans-serif; }
* { margin: 0; padding: 0; box-sizing: border-box; }
html { background: var(--night); }
body { background: transparent; color: var(--ink); font: 400 17px/1.65 var(--body); -webkit-font-smoothing: antialiased; }
html[lang="ar"] body { font-size: 18px; line-height: 1.8; }
/* a soft wash of the brand colours behind the whole page, fixed while it scrolls */
body::before { content: ""; position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 55% at 0% 10%, rgba(11,99,206,0.22), transparent 72%),
    radial-gradient(50% 50% at 100% 50%, rgba(30,70,140,0.16), transparent 72%),
    radial-gradient(60% 45% at 30% 100%, rgba(11,99,206,0.16), transparent 72%),
    linear-gradient(180deg, #060815, #04050b); }
.sub a { color: #0b63ce; text-decoration: underline; text-underline-offset: 3px; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

/* ---------- top bar ---------- */
.bar { display: flex; align-items: center; justify-content: space-between; height: 84px; position: relative; z-index: 2; }
.logo { display: flex; align-items: center; gap: 12px; font: 700 15px "Sora", sans-serif; letter-spacing: 0.24em; direction: ltr; }
.logo b { font-weight: 400; color: #0b63ce; }
.nav { display: flex; gap: 30px; font-size: 15px; color: var(--mist); }
.nav a:hover { color: var(--ink); }
.side { display: flex; align-items: center; gap: 10px; }
.lang { font-size: 14px; color: var(--mist); padding: 0 8px; }
.btn { display: inline-flex; align-items: center; justify-content: center; height: 50px; padding: 0 26px; border-radius: 25px; font: 700 15px var(--body); white-space: nowrap; }
.btn-main { background: linear-gradient(100deg, var(--violet), var(--cyan)); color: #070814; }
html[dir="rtl"] .btn-main { background: linear-gradient(260deg, var(--violet), var(--cyan)); }
.btn-ghost { border: 1px solid var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: rgba(255,255,255,0.3); }
.bar .btn { height: 40px; padding: 0 18px; font-size: 14px; }
/* the top bar stays at the top while scrolling, over a frosted strip */
.top { position: sticky; top: 0; z-index: 20; background: rgba(5,6,12,0.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid rgba(255,255,255,0.06); }
.top .bar { height: 72px; }

/* ---------- hero: the emblem is the TV, the real app inside ---------- */
.hero { position: relative; overflow: hidden; padding-bottom: 56px; }
.glow { position: absolute; border-radius: 50%; pointer-events: none; }
.glow.a { width: 920px; height: 720px; inset-inline-end: -140px; top: -40px; background: radial-gradient(closest-side, rgba(11,99,206,0.45), transparent); }
.glow.b { width: 820px; height: 620px; inset-inline-end: -280px; top: 300px; background: radial-gradient(closest-side, rgba(30,170,230,0.30), transparent); }
.hero-in { position: relative; display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: center; margin-top: 40px; }
h1 { font: 700 60px/1.04 var(--head); letter-spacing: -0.04em; }
html[lang="ar"] h1 { font-size: 56px; line-height: 1.25; letter-spacing: 0; font-weight: 600; }
.lead { margin-top: 24px; max-width: 30em; color: var(--mist); font-size: 19px; }
.cta { margin-top: 36px; display: flex; gap: 14px; flex-wrap: wrap; }
.devices { margin-top: 28px; display: flex; gap: 22px; flex-wrap: wrap; font-size: 14px; color: var(--mist); }
.devices span { display: flex; align-items: center; gap: 8px; }
.devices i { width: 8px; height: 8px; border-radius: 4px; background: var(--cyan); }
.devices .soon i { background: none; border: 1.5px solid var(--dim); }
.devices .soon { color: var(--dim); }
.tv .frame { border-radius: 26px; padding: 6px; background: linear-gradient(135deg, var(--violet), var(--cyan)); box-shadow: 0 0 70px rgba(11,99,206,0.35); }
.tv .frame img { width: 100%; border-radius: 22px; }
.tv .stand { width: 30%; height: 14px; margin: 22px auto 0; border-radius: 7px; background: linear-gradient(90deg, var(--violet), var(--cyan)); box-shadow: 0 0 24px rgba(46,211,255,0.4); }
/* the screens of the app, one at a time, cross-fading */
.screens { position: relative; aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden; background: #000; }
.screens img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 600ms ease; }
.screens img.on { opacity: 1; }
/* the hero as marketing slides (TiviMate style): headline above, the slide wide underneath, no TV frame (the slide has its own) */
.hero--slides .hero-in { grid-template-columns: 1fr; gap: 48px; text-align: center; }
.hero--slides .hero-in > div:first-child { max-width: 860px; margin: 0 auto; }
.hero--slides .lead { margin-inline: auto; }
.hero--slides .cta { justify-content: center; }
.hero--slides .tv .frame { padding: 0; border-radius: 24px; background: none; box-shadow: 0 0 0 1px rgba(11,99,206,0.16), 0 50px 120px -40px rgba(0,0,0,0.9), 0 0 90px rgba(11,99,206,0.22); }
.hero--slides .screens { border-radius: 24px; background: #050714; }
.tabs-row { display: flex; justify-content: center; gap: 6px; margin-top: 22px; flex-wrap: wrap; }
.tabs-row button { font: 600 14px var(--body); color: var(--mist); background: none; border: 1px solid var(--line); border-radius: 18px; padding: 7px 16px; cursor: pointer; }
.tabs-row button[aria-selected="true"] { color: #070814; background: var(--ink); border-color: var(--ink); }
.tabs-row button:hover { color: var(--ink); }
.tabs-row button[aria-selected="true"]:hover { color: #070814; }

/* where it runs */
.devices-band { padding: 26px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.devices-band + section { border-top: 0; }   /* hero, devices and the first section run into each other: no lines */
.devices-band .wrap { display: flex; align-items: center; justify-content: center; gap: 28px 40px; flex-wrap: wrap; }
.devices-band p { color: var(--dim); font-size: 14px; margin-inline-end: 8px; }
.device { display: flex; align-items: center; gap: 12px; }
.device svg { width: 30px; height: 30px; fill: none; stroke: var(--dim); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.device.now svg { stroke: var(--cyan); }
.device span { display: grid; line-height: 1.3; }
.device b { font-weight: 600; font-size: 15px; }
.device small { font-size: 13px; color: var(--dim); }
.device.now small { color: var(--cyan); }

/* ---------- sections ---------- */
section { padding: 76px 0; border-top: 1px solid var(--line); }
h2 { font: 600 42px/1.12 var(--head); letter-spacing: -0.03em; max-width: 17em; }
html[lang="ar"] h2 { font-size: 38px; line-height: 1.35; letter-spacing: 0; }
.sub { margin-top: 14px; color: var(--mist); max-width: 36em; }

/* each section gets its own soft midnight-blue glow, alternating sides down the page */
section { position: relative; overflow: hidden; }
section::before { content: ""; position: absolute; z-index: -1; pointer-events: none; top: 5%; bottom: 5%; width: 75%; inset-inline-start: -20%;
  background: radial-gradient(closest-side, rgba(11,99,206,0.26), rgba(11,99,206,0.08) 55%, transparent); }
section:nth-of-type(even)::before { inset-inline-start: auto; inset-inline-end: -20%; background: radial-gradient(closest-side, rgba(35,95,170,0.24), rgba(35,95,170,0.07) 55%, transparent); }
.final::before { display: none; }

/* features: screenshot + words, alternating sides */
.feature { display: grid; grid-template-columns: 7fr 5fr; gap: 64px; align-items: center; margin-top: 64px; }
.feature.flip { grid-template-columns: 5fr 7fr; }
.feature.flip .shot { order: 2; }
/* screenshots: the same quiet card as the hero slides (thin light edge, deep shadow, soft blue glow), no coloured border */
.shot { border-radius: 18px; box-shadow: 0 0 0 1px rgba(11,99,206,0.16), 0 40px 90px -35px rgba(0,0,0,0.9), 0 0 70px rgba(11,99,206,0.18); }
.shot img { width: 100%; border-radius: 18px; }
.feature h3 { font: 600 28px/1.2 var(--head); letter-spacing: -0.02em; margin-bottom: 14px; }
html[lang="ar"] .feature h3 { letter-spacing: 0; line-height: 1.4; }
.feature p { color: var(--mist); }
.feature ul { margin-top: 18px; list-style: none; display: grid; gap: 10px; }
.feature li { position: relative; padding-inline-start: 22px; color: var(--ink); font-size: 16px; }
.feature li::before { content: ""; position: absolute; inset-inline-start: 0; top: 0.7em; width: 8px; height: 8px; border-radius: 4px; background: linear-gradient(135deg, var(--violet), var(--cyan)); }

/* the rest of the features: a quiet grid under the screenshots */
.more-title { margin-top: 104px; font: 600 28px var(--head); }
.more { margin-top: 32px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 40px; }
.more > div { border-inline-start: 2px solid; border-image: linear-gradient(var(--violet), var(--cyan)) 1; padding-inline-start: 18px; }
.more h3 { font: 600 19px var(--head); margin-bottom: 6px; }
.ico { width: 30px; height: 30px; margin-bottom: 14px; fill: none; stroke: var(--cyan); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* plans: three cards, the middle one stands out */
.plans { margin-top: 56px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 32px 28px; border-radius: 24px; background: var(--night2); border: 1px solid var(--line); }
.plan.best { background: linear-gradient(var(--night2), var(--night2)) padding-box, linear-gradient(135deg, var(--violet), var(--cyan)) border-box; border: 2px solid transparent; box-shadow: 0 20px 60px rgba(11,99,206,0.25); }
.plan .tag { position: absolute; top: -13px; inset-inline-start: 24px; font: 700 12px var(--body); padding: 4px 12px; border-radius: 12px; background: linear-gradient(100deg, var(--violet), var(--cyan)); color: #070814; }
.plan h3 { font: 600 20px var(--head); }
.plan .price { margin: 14px 0 20px; display: flex; align-items: baseline; gap: 8px; }
.plan .price b { font: 700 44px "Geist", sans-serif; letter-spacing: -0.02em; direction: ltr; }
.plan .price span { color: var(--mist); font-size: 15px; }
.plan ul { list-style: none; display: grid; gap: 10px; margin-bottom: 28px; flex: 1; }
.plan li { position: relative; padding-inline-start: 24px; color: var(--mist); font-size: 15px; }
.plan li::before { content: ""; position: absolute; inset-inline-start: 0; top: 0.45em; width: 12px; height: 7px; border-left: 2px solid var(--cyan); border-bottom: 2px solid var(--cyan); transform: rotate(-45deg); }
.plan .btn { width: 100%; }
.plan .home { font-size: 13px; color: var(--cyan); margin-top: 4px; }
.plan .desc { color: var(--mist); font-size: 15px; margin-top: 6px; }

/* questions beside their heading */
.faq-wrap { display: grid; grid-template-columns: 4fr 7fr; gap: 64px; }
.faq-wrap .sub a { color: #0b63ce; text-decoration: underline; text-underline-offset: 3px; }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq details p { color: var(--mist); }

/* the last call to action */
.final { position: relative; overflow: hidden; text-align: center; padding: 96px 0; }
.final .glow.a { inset-inline-end: auto; left: 50%; top: -200px; transform: translateX(-50%); }
.final { border-top: 0; }   /* no line above: the glow fades in from the section before and out before the footer */
.final .glow.a { -webkit-mask-image: linear-gradient(180deg, transparent 27%, #000 50%, #000 62%, transparent 86%); mask-image: linear-gradient(180deg, transparent 27%, #000 50%, #000 62%, transparent 86%); }
.final h2 { margin: 0 auto; position: relative; }
.final .cta { justify-content: center; position: relative; }
.more p { color: var(--mist); font-size: 16px; }

/* family: its own band, slightly lighter night */
.family { background: linear-gradient(180deg, rgba(11,13,26,0.7), rgba(11,13,26,0)); }
.family-grid { margin-top: 56px; display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.family-grid figure { display: grid; gap: 18px; }
.family-grid figcaption h3 { font: 600 21px var(--head); margin-bottom: 6px; }
.family-grid figcaption p { color: var(--mist); font-size: 16px; }
.promises { margin-top: 56px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.promises div { border-inline-start: 2px solid; border-image: linear-gradient(var(--violet), var(--cyan)) 1; padding-inline-start: 18px; }
.promises h3 { font: 600 18px var(--head); margin-bottom: 6px; }
.promises p { color: var(--mist); font-size: 15px; }

/* get it: a real sequence of steps */
.steps { margin-top: 56px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step { padding: 28px 24px; border-radius: 20px; background: var(--night2); border: 1px solid var(--line); }
.step i { display: block; font: 700 44px "Geist", sans-serif; font-style: normal; background: linear-gradient(135deg, var(--violet), var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 12px; }
.step h3 { font: 600 18px var(--head); margin-bottom: 6px; }
.step p { color: var(--mist); font-size: 15px; }
.platforms { margin-top: 28px; color: var(--dim); font-size: 15px; }

/* ---------- text pages: help, privacy, terms ---------- */
.page-head { position: relative; overflow: hidden; padding-bottom: 56px; }
.page-head .glow.a { top: -250px; -webkit-mask-image: linear-gradient(180deg, #000 42%, transparent 66%); mask-image: linear-gradient(180deg, #000 42%, transparent 66%); }   /* fades out before the heading ends: no hard edge above the page */
.page-head h1 { font-size: 48px; margin-top: 56px; }
html[lang="ar"] .page-head h1 { font-size: 44px; }
.page-head .lead { margin-top: 16px; }
.doc { max-width: 760px; padding: 24px 0 96px; }
.doc h2 { font-size: 30px; margin: 64px 0 16px; }
html[lang="ar"] .doc h2 { font-size: 28px; }
.doc h3 { font: 600 20px var(--head); margin: 32px 0 8px; }
.doc p, .doc li { color: var(--mist); }
.doc p + p { margin-top: 12px; }
.doc strong { color: var(--ink); font-weight: 600; }
.doc a { color: #0b63ce; text-decoration: underline; text-underline-offset: 3px; }
.doc a.btn { text-decoration: none; }
.doc a.btn-main { color: #070814; }
.doc a.btn-ghost { color: var(--ink); }
.doc .plan .price b { color: var(--ink); }
.doc ol + p, .doc ul + p { margin-top: 18px; }
.doc ol, .doc ul { margin: 12px 0 0; padding-inline-start: 24px; display: grid; gap: 10px; }
.doc ol li::marker { color: var(--cyan); font-weight: 700; }
.doc .note { margin-top: 20px; padding: 16px 20px; border-radius: 14px; background: var(--night2); border: 1px solid var(--line); font-size: 15px; }
.doc .updated { color: var(--dim); font-size: 14px; margin-top: 8px; }
.doc kbd { font: 600 14px "Geist", sans-serif; padding: 2px 8px; border-radius: 6px; background: var(--night3); border: 1px solid var(--line); color: var(--ink); direction: ltr; display: inline-block; }
.doc.doc-wide { max-width: none; }
.doc-wide > :not(.plans) { max-width: 760px; }
.doc-wide .plans { margin-top: 8px; }
.toc { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 28px; }
.toc a { font-size: 14px; padding: 8px 16px; border-radius: 20px; border: 1px solid var(--line); color: var(--mist); text-decoration: none; }
.toc a:hover { color: var(--ink); border-color: rgba(255,255,255,0.3); }
details { border-bottom: 1px solid var(--line); padding: 18px 0; }
details summary { cursor: pointer; font: 600 18px var(--head); color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; color: var(--cyan); font-weight: 400; }
details[open] summary::after { content: "−"; }
details p { margin-top: 10px; }
.download { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; margin-top: 20px; }
.download small { color: var(--dim); font-size: 14px; }

footer { border-top: 1px solid var(--line); padding: 40px 0 56px; color: var(--dim); font-size: 14px; }
footer .wrap { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
footer nav { display: flex; gap: 22px; }
footer .copy { flex-basis: 100%; margin-top: 4px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,0.06); color: var(--dim); font-size: 13px; }
.page-head .copy { color: var(--dim); font-size: 13px; }

@media (max-width: 900px) {
  .wrap { padding: 0 20px; }
  .nav, .bar .btn-ghost { display: none; }
  .hero { padding-bottom: 72px; }
  .hero-in { grid-template-columns: 1fr; gap: 44px; margin-top: 12px; }
  h1, html[lang="ar"] h1 { font-size: 38px; }
  .lead { font-size: 17px; }
  .tv .frame { border-radius: 16px; padding: 4px; } .tv .frame img, .screens { border-radius: 12px; } .hero--slides .tv .frame { padding: 0; border-radius: 12px; }
  section { padding: 56px 0; }
  h2, html[lang="ar"] h2 { font-size: 30px; }
  .feature, .feature.flip { grid-template-columns: 1fr; gap: 26px; margin-top: 56px; }
  .feature.flip .shot { order: 0; }
  .family-grid, .promises, .steps, .more, .plans, .faq-wrap { grid-template-columns: 1fr; gap: 28px; }
  .devices-band .wrap { gap: 18px; }
  .final { padding: 64px 0; }
  .more-title { margin-top: 64px; font-size: 24px; }
}
/* small phones: the top bar keeps the logo and the language, long buttons wrap instead of overflowing */
@media (max-width: 440px) {
  .bar .btn-main { display: none; }
  .btn { white-space: normal; height: auto; min-height: 50px; padding: 12px 22px; text-align: center; line-height: 1.3; }
  footer nav { flex-wrap: wrap; gap: 12px 18px; }
  .logo { letter-spacing: 0.18em; }
}
@media (prefers-reduced-motion: no-preference) {
  .tv .frame { animation: rise 900ms cubic-bezier(.2,.8,.2,1) both; }
  @keyframes rise { from { opacity: 0; transform: translateY(24px) scale(0.98); } to { opacity: 1; transform: none; } }
}

/* ---------- contact form ---------- */
.contact { display: grid; grid-template-columns: 8fr 4fr; gap: 56px; align-items: start; }
.doc-wide > .contact { max-width: none; }
.form { position: relative; display: grid; gap: 22px; }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.form label { display: grid; gap: 8px; align-content: start; font: 600 15px var(--body); color: var(--ink); }
.form small { font-weight: 400; font-size: 13px; color: var(--dim); }
.form input, .form select, .form textarea { font: 400 16px var(--body); color: var(--ink); background: rgba(11,13,26,0.8); border: 1px solid var(--line); border-radius: 14px; padding: 13px 16px; width: 100%; }
.form textarea { resize: vertical; min-height: 160px; line-height: 1.55; }
.form select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--mist) 50%), linear-gradient(135deg, var(--mist) 50%, transparent 50%); background-position: calc(100% - 22px) 55%, calc(100% - 16px) 55%; background-size: 6px 6px; background-repeat: no-repeat; padding-inline-end: 40px; }
html[dir="rtl"] .form select { background-position: 22px 55%, 16px 55%; }
.form select option { background: var(--night2); color: var(--ink); }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(46,211,255,0.18); }
.form .hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; opacity: 0; }
.form .send { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.form .send button { border: 0; cursor: pointer; }
.form .send button[disabled] { opacity: 0.6; cursor: wait; }
.form .status { color: var(--mist); font-size: 15px; }
.form .status.ok { color: #1f8a4c; }
.form .status.err { color: #c8333a; }
.form .fine { font-size: 13px; color: var(--dim); }
.form .fine a, .aside a { color: #0b63ce; text-decoration: underline; text-underline-offset: 3px; }
.aside { padding: 28px; border-radius: 20px; background: rgba(11,13,26,0.7); border: 1px solid var(--line); }
.aside h3 { font: 600 17px var(--head); margin: 0 0 6px; }
.aside h3 + p { margin-bottom: 22px; font-size: 15px; }
.aside p:last-child { margin-bottom: 0; }
@media (max-width: 900px) { .contact, .form .row2 { grid-template-columns: 1fr; gap: 22px; } }

/* ---------- Activate (/activate): find the TV, choose a plan, pay; the plan link ---------- */
.act { display: grid; gap: 22px; }
.act [hidden] { display: none !important; }
.act-box { padding: 28px; border-radius: 24px; background: var(--night2); border: 1px solid var(--line); }
.doc .act-h { display: flex; align-items: center; gap: 12px; margin: 0 0 20px; font: 600 22px var(--head); }
.act-h .n { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; font: 700 14px "Geist", sans-serif; background: linear-gradient(100deg, var(--violet), var(--cyan)); color: #070814; }
.doc .act-h.is-good { color: #1f8a4c; }
.doc .act-h.is-bad { color: #c8333a; }
.act .form { gap: 18px; }
.act-find { display: grid; grid-template-columns: 1fr auto; gap: 14px; align-items: start; }
.act-find .btn { margin-top: 31px; border: 0; cursor: pointer; }
.act .btn-ghost { background: transparent; border: 1px solid var(--line); cursor: pointer; }
.act button.btn { font: 700 15px var(--body); }
.act button.btn[disabled] { opacity: 0.45; cursor: default; }
.act button.btn[data-busy] { cursor: wait; }
.doc .act-tv { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 18px; color: var(--ink); }
.doc .act-tv:empty { display: none; }
.doc .act-tv.is-err { color: #c8333a; }
.act-state { padding: 5px 14px; border-radius: 16px; font-size: 14px; font-weight: 600; background: rgba(255,255,255,0.08); }
.act-state.is-active { background: rgba(48,209,88,0.16); color: #1f8a4c; }
.act-state.is-ended, .act-state.is-expired { background: rgba(255,90,90,0.15); color: #c8333a; }
.act-plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.act-opt { display: grid; gap: 4px; padding: 18px; border-radius: 18px; text-align: start; font: inherit; color: var(--ink); background: rgba(11,13,26,0.6); border: 1px solid var(--line); cursor: pointer; }
.act-opt:hover { border-color: rgba(255,255,255,0.25); }
.act-opt[aria-pressed="true"] { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(46,211,255,0.18); }
.act-opt[disabled] { opacity: 0.35; cursor: not-allowed; }
.act-opt-name { font-weight: 600; font-size: 15px; }
.act-opt b { font: 700 28px "Geist", sans-serif; letter-spacing: -0.02em; }
.act-opt-per { color: var(--mist); font-size: 13px; }
.doc .act-note { margin-top: 16px; font-size: 15px; }
.act-ways { display: flex; flex-wrap: wrap; gap: 14px; }
.doc .act-dim { color: var(--dim); font-size: 14px; }
.doc .act-ways-hint { margin-top: 14px; }
.act-insta { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line); }
.doc .act-insta-how { color: var(--ink); font-size: 17px; }
.act-to { font: 700 20px "Geist", sans-serif; color: var(--cyan); }
.doc .act-msg { margin-top: 14px; color: #c8333a; }
.doc .act-msg:empty { display: none; }
.doc .act-safe { margin-top: 18px; }
.act-key { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }
.doc .act-key h3 { margin: 0 0 8px; }
.act-link { display: flex; gap: 10px; margin: 16px 0; }
.act-link input { flex: 1; min-width: 0; font: 400 15px var(--body); color: var(--ink); background: rgba(11,13,26,0.8); border: 1px solid var(--line); border-radius: 14px; padding: 13px 16px; }
.act-spin { flex: none; width: 22px; height: 22px; border-radius: 50%; border: 3px solid rgba(16,20,40,0.12); border-top-color: var(--cyan); animation: act-spin 0.9s linear infinite; }
@keyframes act-spin { to { transform: rotate(360deg); } }
.doc .act-list { list-style: none; padding: 0; margin: 18px 0; display: grid; gap: 10px; }
.act-list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; background: rgba(11,13,26,0.6); border: 1px solid var(--line); color: var(--ink); }
.act-remove { flex: none; padding: 8px 14px; border-radius: 12px; border: 1px solid var(--line); background: none; color: var(--mist); font: 600 13px var(--body); cursor: pointer; }
.act-remove[data-sure] { border-color: rgba(255,90,90,0.5); color: #c8333a; }
.act-add { margin-top: 10px; }
.doc .act-add h3 { margin: 0; }
@media (max-width: 720px) {
  .act-box { padding: 22px 18px; }
  .act-plans { grid-template-columns: 1fr; }
  .act-opt { grid-template-columns: 1fr auto; align-items: baseline; }
  .act-opt-per { grid-column: 1 / -1; }
  .act-find { grid-template-columns: 1fr; }
  .act-find .btn { margin-top: 0; }
  .act .row2 { grid-template-columns: 1fr; }
  .act-link { flex-direction: column; }
}

/* ======================= LIGHT LOOK =======================
   Warm paper background, near-black text, indigo accents, a floating frosted top bar, white cards with soft shadows.
   It overrides the colours above (kept for the layout rules), so it comes last. */
:root {
  --night: #f3f1ec; --night2: #ffffff; --night3: #ebe8e1;
  --ink: #111318; --mist: #535866; --dim: #858a94;
  --violet: #0b63ce; --cyan: #19b8d6; --line: rgba(16,20,40,0.08);
  --indigo: #0b63ce;
  --card-shadow: 0 0 0 1px rgba(16,20,40,0.06), 0 1px 2px rgba(16,20,40,0.05), 0 18px 44px -18px rgba(16,20,40,0.16);
  --grad-text: linear-gradient(92deg, #0b63ce 0%, #1478e0 28%, #0ea5c6 60%, #14a37f 82%, #84b93a 100%);
}
html { background: var(--night); }
body { -webkit-font-smoothing: antialiased; }
body::before { background:
  radial-gradient(40% 35% at 18% 8%, rgba(11,99,206,0.30), transparent 70%),
  radial-gradient(35% 30% at 85% 30%, rgba(20,170,215,0.22), transparent 70%),
  radial-gradient(40% 30% at 70% 95%, rgba(235,180,50,0.15), transparent 70%),
  #f3f1ec; }
.glow.a { background: radial-gradient(closest-side, rgba(11,99,206,0.32), transparent); }
.glow.b { background: radial-gradient(closest-side, rgba(20,170,215,0.24), transparent); }
section::before { background: radial-gradient(closest-side, rgba(11,99,206,0.16), transparent) !important; }
section:nth-of-type(even)::before { background: radial-gradient(closest-side, rgba(20,170,215,0.14), transparent) !important; }
/* the lines between sections, a little stronger on the light background */
section, .devices-band, footer, details, .faq details:first-child { border-color: rgba(16,20,40,0.15); }
footer .copy { border-top-color: rgba(16,20,40,0.10) !important; }
/* "Works on": a solid white strip between the hero and the features */
.devices-band { position: relative; background: #fff; }
.family { background: none; }

/* floating glass bar */
.top { background: transparent; border: 0; backdrop-filter: none; -webkit-backdrop-filter: none; padding: 12px 20px 0; }
.top .bar { height: 60px; max-width: 1180px; padding: 0 10px 0 20px; border-radius: 18px;
  background: rgba(248,246,241,0.66); backdrop-filter: blur(24px) saturate(1.7); -webkit-backdrop-filter: blur(24px) saturate(1.7);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.85), inset 0 0 0 1px rgba(16,20,40,0.05), 0 1px 2px rgba(16,20,40,0.06), 0 10px 30px -12px rgba(16,20,40,0.14); }
.logo b { color: var(--indigo); }
.nav a { padding: 7px 12px; border-radius: 10px; }
.nav { gap: 6px; color: #1f232b; }
.top .lang { color: #1f232b; }
footer, footer .copy { color: #4a4f5a; }
footer nav a { color: #2a2e36; }
footer nav a:hover { color: var(--ink); }
.nav a:hover { background: rgba(16,20,40,0.05); color: var(--ink); }

/* buttons: flat, no shadow: solid indigo, and a soft grey */
.btn { border-radius: 16px; font-weight: 600; box-shadow: none; transition: background 150ms ease; }
.btn-main, html[dir="rtl"] .btn-main { color: #fff; background: var(--indigo); box-shadow: none; }
.btn-main:hover { background: #0a4fa6; }
.btn-ghost, .act .btn-ghost { border: 0; color: var(--ink); background: rgba(16,20,40,0.06); box-shadow: none; }
.btn-ghost:hover, .act .btn-ghost:hover { background: rgba(16,20,40,0.10); }
.bar .btn { height: 40px; border-radius: 12px; }
.doc a.btn-main { color: #fff; }

/* headline: a phrase in the spectrum (<span class="spectrum"> in the page) */
h1 { font-weight: 700; letter-spacing: -0.045em; color: var(--ink); }
.spectrum { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead, .sub, .feature p { color: var(--mist); }
.sub a, .doc a, .faq-wrap .sub a, .form .fine a, .aside a { color: var(--indigo); }

/* cards */
.plan, .step, .aside, .doc .note, .act-box { background: #fff; border: 0; box-shadow: var(--card-shadow); }
.plan { border-radius: 22px; }
.plan.best { background: #fff; border: 0; box-shadow: 0 0 0 2px var(--indigo), 0 24px 60px -20px rgba(11,99,206,0.45); }
.plan .tag { background: var(--indigo); color: #fff; }
.plan .home, .device.now small { color: var(--indigo); }
.plan li::before { border-color: var(--indigo); }
.tabs-row button[aria-selected="true"] { background: #fff; color: var(--ink); border-color: transparent; box-shadow: 0 1px 2px rgba(16,20,40,0.12), 0 0 0 1px rgba(16,20,40,0.06); }
.tabs-row button { border-color: rgba(16,20,40,0.1); }
.tabs-row button[aria-selected="true"]:hover { color: var(--ink); }

/* screenshots: product shots on paper */
.shot, .hero--slides .tv .frame { box-shadow: 0 0 0 1px rgba(16,20,40,0.08), 0 2px 4px rgba(16,20,40,0.06), 0 40px 90px -28px rgba(30,30,80,0.35); }   /* grey, no colour glow */
.ico, .device.now svg { stroke: var(--indigo); }
.device svg { stroke: #9aa0ab; }
details summary::after { color: var(--indigo); }
.toc a:hover { border-color: rgba(16,20,40,0.25); }
footer .copy { border-top-color: rgba(16,20,40,0.06); }

/* forms */
.form input, .form select, .form textarea, .act-link input { background: #fff; box-shadow: inset 0 1px 2px rgba(16,20,40,0.04); }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--indigo); box-shadow: 0 0 0 3px rgba(11,99,206,0.18); }
.act-opt { background: #fff; }
.act-opt[aria-pressed="true"] { border-color: var(--indigo); box-shadow: 0 0 0 3px rgba(11,99,206,0.18); }
.act-state.is-active { background: rgba(31,138,76,0.12); }
.act-state.is-ended, .act-state.is-expired { background: rgba(200,51,58,0.10); }
.act-to { color: var(--indigo); }
.act-opt, .act-list li { background: #fff; }
.form input, .form select, .form textarea { border-color: rgba(16,20,40,0.12); }

/* "And there's more": one large soft card, the six items divided by hairlines (like a figures panel) */
.more { gap: 0; padding: 8px 4px; border-radius: 28px; background: #faf9f6; box-shadow: 0 0 0 1px rgba(16,20,40,0.08), 0 18px 44px -24px rgba(16,20,40,0.14); }
.more > div { position: relative; border: 0; border-image: none; padding: 34px 38px 36px; }
.more > div:not(:nth-child(3n+1))::before { content: ""; position: absolute; inset-inline-start: 0; top: 34px; bottom: 34px; width: 1px; background: rgba(16,20,40,0.10); }
.more > div:nth-child(n+4)::after { content: ""; position: absolute; top: 0; inset-inline: 38px; height: 1px; background: rgba(16,20,40,0.10); }
.more .ico { width: 34px; height: 34px; margin-bottom: 18px; }
.more h3 { font-size: 20px; letter-spacing: -0.015em; margin-bottom: 8px; }
.more > div:last-child:nth-child(3n+1) { grid-column: 1 / -1; }
.more p { font-size: 15.5px; line-height: 1.6; }
@media (max-width: 900px) {
  .more { gap: 0; }
  .more > div { padding: 28px 26px; }
  .more > div::before { display: none; }
  .more > div:nth-child(n+2)::after { content: ""; position: absolute; top: 0; inset-inline: 26px; height: 1px; background: rgba(16,20,40,0.10); }
}

/* the services above the headline: a quiet line of small blue capitals (plain text, nothing to click) */
.eyebrow { margin-bottom: 18px; font: 600 13px var(--body); letter-spacing: 0.14em; text-transform: uppercase; color: #4a4f5a; }
html[lang="ar"] .eyebrow { font-size: 15px; letter-spacing: 0; text-transform: none; }
/* the headline's gradient phrase stays together on its own line when it doesn't fit beside the rest */
.hero h1 .spectrum { display: inline-block; }

/* "Download coming soon": looks like a button but isn't one (no file to download yet) */
.btn-soon { background: rgba(16,20,40,0.06); color: #6b707b; cursor: default; }
