/* Zapp IPTV Player - site styles. Single file, no external resources. */
:root {
  --accent: #2fe0c8;
  --link: #00756a;
  --ink: #1d1d1f;
  --gray: #f5f5f7;
  --mute-l: #6e6e73;
  --mute-d: #86868b;
  --txt-d: #a1a1a6;
  --hair-l: rgba(0, 0, 0, .08);
  --hair-d: rgba(255, 255, 255, .12);
  --nav: 44px;
  --sub: 48px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: #fff; color: var(--ink);
  font: 400 17px/1.47 var(--font);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--link); outline-offset: 3px; border-radius: 4px; }
.dark :focus-visible, .gnav :focus-visible, .sub :focus-visible { outline-color: var(--accent); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 300; background: #fff; color: #000; padding: 10px 16px; border-radius: 10px; font-size: 14px; }
.skip:focus { top: 8px; }
main { overflow-x: clip; }

/* ---------- Global nav ---------- */
.gnav {
  position: sticky; top: 0; z-index: 200; height: var(--nav);
  background: rgba(22, 22, 23, .8);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
}
.gnav .in {
  max-width: 1024px; margin: 0 auto; height: 100%; padding: 0 22px;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
}
.gl { display: inline-flex; align-items: center; width: 22px; height: 22px; }
.gl img { width: 22px; height: 22px; display: block; border-radius: 5px; }
.gl-links { list-style: none; margin: 0; padding: 0; display: flex; gap: 32px; }
.gnav a { color: rgba(245, 245, 247, .8); font-size: 12px; line-height: 1; }
.gnav a:hover { color: #fff; text-decoration: none; }
.gnav .gl-links a[aria-current="page"] { color: #fff; }
.gright { display: flex; align-items: center; justify-content: flex-end; gap: 6px; }
.gnav .dl {
  position: relative; color: #000; background: var(--accent); font-weight: 500;
  padding: 5px 12px; border-radius: 980px; line-height: 1.1;
}
.gnav .dl:hover { color: #000; filter: brightness(1.06); }
.dl::after {
  content: attr(data-tip); position: absolute; top: calc(100% + 12px); right: 0;
  background: #2c2c2e; color: #f5f5f7; padding: 7px 11px; border-radius: 9px; font-size: 12px; font-weight: 400;
  white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .2s;
}
.dl:hover::after, .dl:focus-visible::after { opacity: 1; }
.burger { display: none; width: 36px; height: 36px; margin-right: -10px; background: none; border: 0; cursor: pointer; position: relative; color: #f5f5f7; }
.burger::before, .burger::after { content: ""; position: absolute; left: 11px; right: 11px; height: 1.5px; background: currentColor; transition: transform .25s, top .25s; }
.burger::before { top: 15px; }
.burger::after { top: 21px; }
.burger[aria-expanded="true"]::before { top: 18px; transform: rotate(45deg); }
.burger[aria-expanded="true"]::after { top: 18px; transform: rotate(-45deg); }

.sub {
  position: sticky; top: var(--nav); z-index: 190; height: var(--sub);
  background: rgba(22, 22, 23, .72); border-bottom: 1px solid var(--hair-d);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
}
.sub .in { max-width: 980px; margin: 0 auto; height: 100%; padding: 0 22px; display: flex; align-items: center; justify-content: space-between; }
.sub .st { color: #f5f5f7; font-size: 21px; font-weight: 600; letter-spacing: .011em; }
.sub .st:hover { text-decoration: none; }
.sub ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 24px; }
.sub ul a { color: rgba(245, 245, 247, .8); font-size: 12px; }
.sub ul a:hover { color: #fff; text-decoration: none; }

/* ---------- Sections ---------- */
.sec { padding: 160px 22px; position: relative; overflow-x: clip; scroll-margin-top: calc(var(--nav) + var(--sub)); }
.dark { background: #000; color: #f5f5f7; }
.light { background: var(--gray); color: var(--ink); }
.dark a, .hero a { color: var(--accent); }
.wrap { max-width: 980px; margin: 0 auto; }
.wide { max-width: 1200px; margin: 0 auto; }
.center { text-align: center; }
.eyebrow { font-size: 21px; font-weight: 600; line-height: 1.19; letter-spacing: .011em; margin: 0 0 12px; }
.h1 { font-size: clamp(48px, 7vw, 96px); font-weight: 700; letter-spacing: -.015em; line-height: 1.05; margin: 0; overflow-wrap: break-word; }
.h2 { font-size: clamp(36px, 5vw, 64px); font-weight: 600; letter-spacing: -.01em; line-height: 1.08; margin: 0; overflow-wrap: break-word; }
.lede { font-size: clamp(19px, 2vw, 21px); line-height: 1.47; max-width: 640px; margin: 20px auto 0; }
.dark .lede, .hero .lede { color: var(--txt-d); }
.light .lede { color: var(--mute-l); }
.head { margin-bottom: 72px; }
.more { display: inline-block; margin-top: 20px; font-size: 21px; }

/* ---------- Hero ---------- */
.hero { background: #000; color: #f5f5f7; text-align: center; padding: 88px 22px 128px; overflow-x: clip; scroll-margin-top: calc(var(--nav) + var(--sub)); }
.hero .lede { margin-top: 22px; }
.ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 36px; margin-top: 26px; font-size: 21px; line-height: 1.19; }
.ctas .soon { color: #f5f5f7; font-weight: 600; }
.ctas a { font-weight: 400; }
.stage { position: relative; max-width: 1120px; margin: 72px auto 0; padding-bottom: 4%; }
.stage .mac { width: 92%; margin-left: 0; }
.stage .phone { position: absolute; right: 0; bottom: 0; width: 19.5%; }

/* ---------- Device frames ---------- */
.mac { width: 100%; }
.mac .lid { position: relative; background: #0b0b0c; border: 1px solid rgba(255, 255, 255, .2); border-radius: 2.2% / 3.4%; padding: 1.5% 1.5% 1.7%; }
.screen { position: relative; aspect-ratio: 16 / 10; container-type: inline-size; background: #141416; overflow: hidden; border-radius: .9% / 1.4%; }
.screen::after { content: ""; position: absolute; top: 0; left: 50%; width: 11%; height: 3.4%; transform: translateX(-50%); background: #000; border-radius: 0 0 6px 6px; z-index: 5; }
.mac .base { position: relative; width: 108%; margin-left: -4%; height: 0; padding-bottom: 1.35%; background: linear-gradient(#d6d7da, #9c9da2); border-radius: 0 0 6% 6% / 0 0 100% 100%; }
.mac .base::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: rgba(255, 255, 255, .7); }
.mac .base::after { content: ""; position: absolute; top: 0; left: 40%; width: 20%; height: 55%; background: linear-gradient(#a9aaae, #bdbec2); border-radius: 0 0 99px 99px; }

.phone { position: relative; width: 100%; background: #0b0b0c; border: 1px solid rgba(255, 255, 255, .24); border-radius: 16.6% / 7.5%; padding: 2.6%; }
.phone::before, .phone::after { content: ""; position: absolute; width: 2px; background: #3a3a3d; border-radius: 2px; }
.phone::before { left: -3px; top: 14%; height: 6%; }
.phone::after { right: -3px; top: 20%; height: 9%; }
.phone .screen { aspect-ratio: 9 / 19.5; border-radius: 14.8% / 6.8%; }
.phone .screen::after { top: 2.1%; width: 29%; height: 2.3%; border-radius: 99px; }

.ipad { width: 100%; background: #0b0b0c; border: 1px solid rgba(255, 255, 255, .24); border-radius: 4% / 5.2%; padding: 2.4%; }
.ipad .screen { aspect-ratio: 4 / 3; border-radius: 1.8% / 2.4%; }
.ipad .screen::after { display: none; }

.fold { width: 100%; background: #0b0b0c; border: 1px solid rgba(255, 255, 255, .24); border-radius: 5% / 5.6%; padding: 2.4%; position: relative; }
.fold .screen { aspect-ratio: 20 / 17; border-radius: 2.6% / 3%; }
.fold .screen::after { top: 3.2%; left: 25%; width: 14%; height: 2.4%; border-radius: 99px; }
.fold .crease { position: absolute; z-index: 4; top: 0; bottom: 0; left: 50%; width: 3px; transform: translateX(-50%); background: linear-gradient(90deg, rgba(0,0,0,.5), rgba(255,255,255,.07), rgba(0,0,0,.5)); }

/* ---------- App UI recreation (inside screens) ---------- */
.ui { position: absolute; inset: 0; color: #e8e8ea; background: #141416; line-height: 1.3; overflow: hidden; }
.ui b { font-weight: 600; }
.mono { flex: none; display: grid; place-items: center; width: 2.6em; height: 2.6em; border-radius: .6em; background: #2a2c31; color: #c5c8cd; font-size: .9em; font-weight: 600; letter-spacing: 0; }
.bar { display: block; height: .28em; background: rgba(255, 255, 255, .14); border-radius: 1em; overflow: hidden; }
.bar u { display: block; height: 100%; background: var(--accent); text-decoration: none; }
.vid { position: absolute; inset: 0; background:
  radial-gradient(70% 90% at 28% 30%, rgba(112, 146, 186, .5), transparent 70%),
  radial-gradient(60% 80% at 78% 78%, rgba(140, 112, 168, .32), transparent 70%),
  linear-gradient(160deg, #1c2631, #0b0e13); }
.tri { flex: none; width: 0; height: 0; border-left: .9em solid #fff; border-top: .55em solid transparent; border-bottom: .55em solid transparent; }
.ctl { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 1em; padding: 1.2em 1.4em; background: linear-gradient(transparent, rgba(0, 0, 0, .7)); font-size: .85em; font-weight: 600; }
.ctl .bar { flex: 1; }
.tag { display: inline-block; border: 1px solid rgba(255, 255, 255, .5); border-radius: .35em; padding: .05em .45em; font-size: .75em; font-weight: 600; letter-spacing: .04em; }

.ui-mac { grid-template-rows: minmax(0, 1fr); display: grid; grid-template-columns: 17% 26% 1fr; font-size: 1.2cqw; }
.ipad .ui-mac { font-size: 1.55cqw; grid-template-columns: 19% 29% 1fr; }
.u-side { background: #1b1b1e; padding: 2.6em 1em 1em; border-right: 1px solid rgba(255, 255, 255, .07); }
.u-brand { font-weight: 700; font-size: 1.3em; margin: 0 0 1.4em; padding: 0 .6em; }
.u-it { padding: .6em .8em; border-radius: .6em; color: #a0a0a6; margin-bottom: .15em; }
.u-it.on { background: rgba(255, 255, 255, .1); color: #fff; }
.u-list { padding: 2.6em .9em .5em; border-right: 1px solid rgba(255, 255, 255, .07); overflow: hidden; }
.u-h { font-size: 1.3em; font-weight: 700; margin: 0 0 .8em .3em; }
.u-row { display: flex; align-items: center; gap: .8em; padding: .65em .5em; border-radius: .7em; }
.u-row.on { background: rgba(255, 255, 255, .09); }
.u-t { flex: 1; min-width: 0; display: block; }
.u-t b, .u-t > span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.u-t > span { color: #8e8e93; font-size: .9em; }
.u-t .bar { margin-top: .45em; height: .2em; }
.u-main { padding: 2.6em 1.3em 1.3em; display: flex; flex-direction: column; gap: 1.1em; min-width: 0; }
.u-player { position: relative; flex: 1; min-height: 0; border-radius: 1em; overflow: hidden; }
.u-title { position: absolute; top: 1.2em; left: 1.4em; z-index: 2; }
.u-title b { display: block; font-size: 1.4em; }
.u-title span { color: #c7c7cc; font-size: .95em; }
.u-info { display: flex; justify-content: space-between; align-items: baseline; font-size: 1em; gap: 1em; }
.u-info span { color: #8e8e93; }
.u-main .bar { height: .3em; }

.ui-phone { display: flex; flex-direction: column; font-size: 5.2cqw; }
.p-title { padding: 15% 5% 0; font-size: 1.5em; font-weight: 700; }
.p-player { position: relative; margin: .6em .8em; aspect-ratio: 16 / 9; border-radius: .8em; overflow: hidden; }
.p-player .u-title { top: .6em; left: .8em; }
.p-player .u-title b { font-size: 1em; }
.p-player .u-title span { font-size: .8em; }
.p-list { padding: 0 .5em; flex: 1; overflow: hidden; }
.p-list .u-row { padding: .5em .4em; }
.p-list .mono { font-size: .8em; }
.p-tab { display: flex; justify-content: space-around; padding: .7em .2em 1.5em; background: #1b1b1e; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .72em; color: #8e8e93; }
.p-tab .on { color: #fff; font-weight: 600; }
.fold .ui { grid-template-rows: minmax(0, 1fr); display: grid; grid-template-columns: 1fr 1fr; font-size: 3.1cqw; }
.fold .ui > div { position: relative; overflow: hidden; display: flex; flex-direction: column; min-width: 0; }
.fold .ui > div + div { background: #17171a; }
.fold .p-player { margin: 14% .8em .6em; }

/* ---------- Feature visuals ---------- */
.stat-huge { font-size: clamp(72px, 23vw, 300px); font-weight: 700; letter-spacing: -.04em; line-height: .92; margin: 0; color: #f5f5f7; white-space: nowrap; }
.cols3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 48px; margin-top: 96px; text-align: left; }
.cols3 > div { border-top: 1px solid var(--hair-d); padding-top: 20px; }
.cols3 h3 { font-size: 21px; font-weight: 600; margin: 0 0 8px; line-height: 1.19; }
.cols3 p { margin: 0; color: var(--txt-d); font-size: 17px; }
.light .cols3 > div { border-color: var(--hair-l); }
.light .cols3 p { color: var(--mute-l); }

.split { display: grid; grid-template-columns: 1fr 1.25fr; gap: 64px; align-items: center; text-align: left; }
.stat { display: flex; flex-direction: column; align-items: flex-start; }
.stat .n { font-size: clamp(120px, 20vw, 240px); font-weight: 700; letter-spacing: -.04em; line-height: .9; }
.stat .l { font-size: 28px; font-weight: 600; color: var(--mute-l); margin-top: 8px; letter-spacing: -.005em; }
.card { background: #fff; border-radius: 24px; padding: 28px; }
.strip { display: flex; flex-direction: column; gap: 4px; }
.strip .c { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 14px; color: var(--mute-l); font-size: 17px; }
.strip .c .mono { width: 40px; height: 40px; font-size: 14px; border-radius: 10px; background: #ececf0; color: var(--mute-l); }
.strip .c .num { margin-left: auto; font-variant-numeric: tabular-nums; font-size: 14px; }
.strip .c.on { background: var(--ink); color: #fff; }
.strip .c.on .mono { background: rgba(255, 255, 255, .16); color: #fff; }
.scrub { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--hair-l); }
.scrub .trk { position: relative; height: 6px; border-radius: 6px; background: #d9d9de; }
.scrub .fill { position: absolute; left: 0; top: 0; bottom: 0; width: 100%; border-radius: 6px; background: #b9b9bf; }
.scrub .played { position: absolute; left: 0; top: 0; bottom: 0; width: 72%; border-radius: 6px; background: var(--ink); }
.scrub .thumb { position: absolute; top: 50%; left: 72%; width: 20px; height: 20px; margin: -10px 0 0 -10px; border-radius: 50%; background: #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, .3), 0 0 0 1px rgba(0, 0, 0, .06); }
.scrub .lbl { display: flex; justify-content: space-between; margin-top: 14px; font-size: 14px; color: var(--mute-l); font-variant-numeric: tabular-nums; }
.scrub .lbl b { color: var(--ink); font-weight: 600; }

.epg { background: #1c1c1e; border: 1px solid var(--hair-d); border-radius: 24px; padding: 24px; text-align: left; position: relative; }
.epg-grid { --ch: 148px; display: grid; grid-template-columns: var(--ch) 1fr; position: relative; }
.epg-ruler { position: relative; height: 30px; font-size: 13px; color: var(--mute-d); font-variant-numeric: tabular-nums; }
.epg-ruler span { position: absolute; top: 0; transform: translateX(-50%); }
.epg-ruler span:first-child { transform: none; }
.epg-ruler span:last-child { transform: translateX(-100%); }
.epg-ch { display: flex; align-items: center; gap: 10px; height: 60px; font-size: 14px; font-weight: 600; color: #e8e8ea; border-top: 1px solid var(--hair-d); padding-right: 8px; min-width: 0; }
.epg-ch .mono { width: 32px; height: 32px; font-size: 12px; border-radius: 8px; }
.epg-ch span:last-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.epg-row { position: relative; height: 60px; border-top: 1px solid var(--hair-d); }
.pg { position: absolute; top: 6px; bottom: 6px; background: #2c2c2e; border-radius: 10px; padding: 7px 12px; font-size: 13px; line-height: 1.25; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: #e8e8ea; }
.pg small { display: block; font-size: 11px; color: var(--txt-d); }
.pg.live { background: #f5f5f7; color: var(--ink); }
.pg.live small { color: var(--mute-l); }
.pg.past { background: #232325; color: #b0b0b5; }
.now { position: absolute; top: 0; bottom: 0; left: calc(var(--ch) + (100% - var(--ch)) * .278); width: 2px; margin-left: -1px; background: var(--accent); z-index: 3; }
.now span { position: absolute; top: 0; left: 50%; transform: translateX(-50%); font-size: 12px; font-weight: 600; color: var(--accent); background: #1c1c1e; padding: 0 6px; line-height: 15px; }

.posters { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.posters.four { grid-template-columns: repeat(4, 1fr); }
.poster { position: relative; aspect-ratio: 2 / 3; border-radius: 18px; overflow: hidden; color: #fff;
  background: radial-gradient(90% 60% at 20% 0%, rgba(255, 255, 255, .24), transparent 60%), linear-gradient(155deg, hsl(var(--h) 36% 46%), hsl(calc(var(--h) + 40) 40% 18%)); }
.poster .pb { position: absolute; left: 12px; right: 12px; bottom: 12px; font-size: 12px; font-weight: 600; text-align: left; }
.poster .pb .bar { background: rgba(255, 255, 255, .3); margin-top: 7px; height: 3px; }
.poster .pb .bar u { background: #fff; }
.rowlabel { text-align: left; font-size: 21px; font-weight: 600; margin: 0 0 16px; }
.rowlabel + .posters { margin-bottom: 48px; }
.littles { margin-top: 96px; }

.lockgrid { display: grid; grid-template-columns: 1fr 200px 1fr; gap: 24px; align-items: center; text-align: left; }
.panel { background: #1c1c1e; border-radius: 24px; padding: 24px; }
.panel h3 { margin: 0 0 12px; font-size: 14px; font-weight: 600; letter-spacing: .02em; color: var(--mute-d); }
.panel ul { list-style: none; margin: 0; padding: 0; }
.panel li { padding: 13px 14px; border-top: 1px solid var(--hair-d); font-size: 17px; border-radius: 0; }
.panel li.adult { background: #f5f5f7; color: var(--ink); border-radius: 12px; border-top-color: transparent; margin-top: 2px; font-weight: 600; }
.pin { text-align: center; }
.pin .dots { display: flex; justify-content: center; gap: 14px; margin: 14px 0 0; }
.pin .dots i { width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid #f5f5f7; }
.pin .dots i.f { background: #f5f5f7; }
.pin p { margin: 0; font-size: 14px; color: var(--mute-d); }

.keys { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 48px; text-align: left; }
.key { display: flex; align-items: center; gap: 14px; padding: 18px 0; border-top: 1px solid var(--hair-l); }
.key .kk { display: flex; gap: 6px; flex: none; min-width: 110px; }
.key .tx { color: var(--mute-l); font-size: 15px; line-height: 1.3; }
kbd { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 12px; font: 600 17px var(--font); color: var(--ink);
  background: linear-gradient(#fff, #f0f0f3); border: 1px solid #d2d2d7; border-radius: 10px; box-shadow: 0 2px 0 #c7c7cc, 0 4px 6px rgba(0, 0, 0, .08); margin-bottom: 2px; }
kbd.w { min-width: 92px; }
.demos { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 72px; }
.demo { margin: 0; }
.demo .box { position: relative; aspect-ratio: 16 / 10; border-radius: 24px; overflow: hidden; background: #e5e5ea; }
.demo .ln { position: absolute; left: 8%; height: 7px; border-radius: 4px; background: #c9c9ce; }
.demo .mini { position: absolute; right: 6%; bottom: 8%; width: 40%; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; border: 1px solid rgba(0, 0, 0, .2); box-shadow: 0 10px 30px rgba(0, 0, 0, .25); }
.demo .box.th { background: #050506; }
.demo .big { position: absolute; left: 12%; right: 12%; top: 14%; bottom: 14%; border-radius: 12px; overflow: hidden; box-shadow: 0 0 0 1px rgba(255,255,255,.1); }
.demo figcaption { margin-top: 16px; font-size: 21px; font-weight: 600; text-align: left; }
.demo figcaption span { display: block; font-size: 15px; font-weight: 400; color: var(--mute-l); }
.demo .vid { position: absolute; inset: 0; }

.zeros { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 24px; }
.zeros > div { padding: 24px 12px; border-left: 1px solid var(--hair-d); }
.zeros > div:first-child { border-left: 0; }
.zeros .n { display: block; font-size: clamp(80px, 13vw, 160px); font-weight: 700; letter-spacing: -.04em; line-height: 1; }
.zeros .l { display: block; font-size: 21px; color: var(--txt-d); margin-top: 8px; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 48px; text-align: left; counter-reset: s; }
.steps li { border-top: 1px solid var(--hair-l); padding-top: 20px; counter-increment: s; }
.steps li::before { content: counter(s); display: block; font-size: 56px; font-weight: 600; line-height: 1; letter-spacing: -.02em; color: var(--ink); margin-bottom: 16px; }
.steps h3 { font-size: 21px; font-weight: 600; margin: 0 0 8px; line-height: 1.19; }
.steps p { margin: 0; color: var(--mute-l); }
.icon-app { display: block; width: 88px; height: 88px; margin: 0 auto 28px; border-radius: 20px; }
.qa { max-width: 692px; margin: 96px auto 0; text-align: left; }
.qa h3 { font-size: 28px; font-weight: 600; margin: 0 0 20px; letter-spacing: -.005em; }

.family { display: grid; grid-template-columns: 3.2fr 2.2fr 2.2fr 1fr; gap: 0 3.5%; align-items: end; }
.family figure { margin: 0; min-width: 0; }
.family figcaption { margin-top: 32px; text-align: left; }
.family figcaption b { display: block; font-size: 21px; font-weight: 600; color: #f5f5f7; line-height: 1.19; margin-bottom: 4px; }
.family figcaption span { font-size: 15px; color: var(--txt-d); line-height: 1.4; display: block; }
.family { grid-template-rows: auto auto; }
.family figure { display: grid; grid-row: span 2; grid-template-rows: subgrid; row-gap: 0; }
.family figure > div { align-self: end; }

/* ---------- Notice band ---------- */
.notice { padding: 72px 22px; background: var(--gray); text-align: center; }
.notice p { margin: 0 auto; max-width: 720px; font-size: clamp(21px, 2.6vw, 28px); line-height: 1.25; font-weight: 600; letter-spacing: -.005em; }
.notice p + p { margin-top: 14px; font-size: 17px; font-weight: 400; color: var(--mute-l); letter-spacing: 0; line-height: 1.47; }

/* ---------- Footer ---------- */
.foot { background: var(--gray); color: var(--mute-l); font-size: 12px; line-height: 1.33; border-top: 1px solid var(--hair-l); padding: 20px 22px 28px; }
.foot .in { max-width: 980px; margin: 0 auto; }
.foot a { color: #424245; }
.foot a:hover { text-decoration: underline; }
.foot .fine { margin: 0; padding: 0 0 16px; border-bottom: 1px solid var(--hair-l); }
.foot .cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--hair-l); }
.foot h2 { font-size: 12px; font-weight: 600; margin: 0 0 8px; color: #1d1d1f; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { margin: 0 0 6px; }
.foot .base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 14px; }
.foot .lang a[aria-current] { color: #1d1d1f; font-weight: 600; }
.foot .sep { padding: 0 6px; color: #c7c7cc; }

/* ---------- Document pages (privacy, terms, support) ---------- */
body.docpage { background: #fbfbfd; }
.doc { max-width: 692px; margin: 0 auto; padding: 72px 22px 120px; }
.doc h1 { font-size: clamp(32px, 5vw, 48px); font-weight: 600; line-height: 1.1; letter-spacing: -.01em; margin: 0 0 12px; overflow-wrap: break-word; }
.doc .meta { margin: 0 0 32px; color: var(--mute-l); font-size: 15px; }
.doc h2 { font-size: 24px; font-weight: 600; line-height: 1.17; letter-spacing: -.003em; margin: 56px 0 12px; scroll-margin-top: calc(var(--nav) + 16px); }
.doc p, .doc li { font-size: 17px; line-height: 1.47; }
.doc p { margin: 0 0 14px; }
.doc ul { padding-left: 22px; margin: 0 0 14px; }
.doc li { margin: 0 0 6px; }
.doc a { text-decoration: underline; text-underline-offset: 2px; text-decoration-color: rgba(0, 117, 106, .4); }
.callout { background: var(--gray); border-radius: 18px; padding: 20px 24px; margin: 0 0 32px; font-size: 17px; }
.toc { border-top: 1px solid var(--hair-l); border-bottom: 1px solid var(--hair-l); padding: 20px 0; margin: 0 0 8px; }
.toc h2 { font-size: 14px; font-weight: 600; margin: 0 0 10px; color: var(--mute-l); letter-spacing: .02em; }
.toc ol { margin: 0; padding: 0; list-style: none; columns: 2; column-gap: 32px; }
.toc li { font-size: 15px; margin: 0 0 6px; break-inside: avoid; }
.toc a { text-decoration: none; }
.toc a:hover { text-decoration: underline; }
.doc code { font: 14px var(--mono); background: var(--gray); padding: 2px 6px; border-radius: 6px; word-break: break-all; }
.doc table { width: 100%; border-collapse: collapse; margin: 8px 0 0; }
.doc th, .doc td { text-align: left; padding: 12px 8px 12px 0; border-bottom: 1px solid var(--hair-l); font-size: 15px; vertical-align: middle; }
.doc th { font-weight: 600; color: var(--mute-l); font-size: 13px; }
.doc td:first-child { white-space: nowrap; width: 1%; padding-right: 24px; }
.doc kbd { min-width: 28px; height: 28px; padding: 0 8px; font-size: 13px; border-radius: 6px; box-shadow: 0 1px 0 #c7c7cc; margin-bottom: 0; }
details { border-top: 1px solid rgba(0, 0, 0, .1); }
details:last-of-type { border-bottom: 1px solid rgba(0, 0, 0, .1); }
summary { list-style: none; cursor: pointer; padding: 18px 36px 18px 0; font-weight: 600; font-size: 17px; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 8px; height: 8px; border-right: 1.5px solid var(--mute-l); border-bottom: 1.5px solid var(--mute-l); transform: translateY(-70%) rotate(45deg); transition: transform .25s ease; }
details[open] > summary::after { transform: translateY(-25%) rotate(-135deg); }
details > div { padding: 0 0 20px; color: #424245; }
details > div p:last-child, details > div ul:last-child { margin-bottom: 0; }
.contact-card { background: var(--gray); border-radius: 22px; padding: 28px 28px 14px; margin-top: 16px; }
.contact-card p { margin: 0 0 14px; }
.contact-card dl { margin: 0; }
.contact-card .r { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-top: 1px solid var(--hair-l); font-size: 17px; flex-wrap: wrap; }
.contact-card .r:first-child { border-top: 0; padding-top: 0; }
.contact-card dt { color: var(--mute-l); }
.contact-card dd { margin: 0; font-weight: 500; }

.nf { padding: 120px 22px; text-align: center; min-height: 60vh; }
.nf .lede { margin-top: 18px; }

/* ---------- Motion ---------- */
.js .rv { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.js .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .rv { opacity: 1; transform: none; transition: none; }
  * { transition-duration: .01ms !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1068px) {
  .sec { padding: 120px 22px; }
  .family { grid-template-columns: 1fr 1fr; gap: 0 6%; }
  .family figure:not(:last-child) { margin-bottom: 72px; }
  .family figure:nth-child(1) { grid-column: 1 / -1; }
}
@media (max-width: 833px) {
  .gnav .in { grid-template-columns: 1fr auto; }
  .gl-links {
    display: none; position: absolute; top: var(--nav); left: 0; right: 0; flex-direction: column; gap: 0;
    background: rgba(22, 22, 23, .97); padding: 8px 22px 20px; border-bottom: 1px solid var(--hair-d);
  }
  .gl-links.open { display: flex; }
  .gl-links li { border-bottom: 1px solid var(--hair-d); }
  .gl-links a { display: block; padding: 14px 0; font-size: 17px; }
  .burger { display: block; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .keys { grid-template-columns: 1fr 1fr; }
  .lockgrid { grid-template-columns: 1fr; }
  .pin { order: -1; padding: 8px 0; }
}
@media (max-width: 734px) {
  .sec { padding: 80px 22px; }
  .hero { padding: 56px 22px 80px; }
  .head { margin-bottom: 48px; }
  .sub .st { display: none; }
  .sub ul { width: 100%; justify-content: space-between; gap: 8px; }
  .cols3, .steps { grid-template-columns: 1fr; gap: 28px; }
  .cols3 { margin-top: 56px; }
  .posters { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .posters.four { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .poster { border-radius: 14px; }
  .demos { grid-template-columns: 1fr; margin-bottom: 48px; }
  .keys { grid-template-columns: 1fr; }
  .zeros { grid-template-columns: 1fr; }
  .zeros > div { border-left: 0; border-top: 1px solid var(--hair-d); }
  .zeros > div:first-child { border-top: 0; }
  .family { grid-template-columns: 1fr; }
  .family figure:not(:last-child) { margin-bottom: 56px; }
  .family figure:nth-child(3), .family figure:nth-child(4) { max-width: 320px; }
  .family figure:nth-child(2) { max-width: 420px; }
  .family figure:nth-child(4) { max-width: 160px; }
  .epg { padding: 16px; border-radius: 18px; }
  .epg-grid { --ch: 44px; }
  .now span { display: none; }
  .epg-ch span:last-child { display: none; }
  .epg-ch { padding-right: 4px; }
  .pg { padding: 6px 7px; font-size: 11px; }
  .pg small { display: none; }
  .epg-ruler { font-size: 11px; }
  .toc ol { columns: 1; }
  .stage { margin-top: 48px; }
  .qa { margin-top: 64px; }
  .foot .cols { grid-template-columns: 1fr 1fr; }
  .doc { padding: 48px 22px 80px; }
  .ctas { font-size: 19px; }
  .stat .l { font-size: 21px; }
}
