/* tv-hero website. Brand: brand/BRAND.md. Self-hosted font, no trackers, no external requests.
   Layout: full-bleed sections alternating dark (night) and light (paper / mist), Apple-style restraint. */
@font-face { font-family: Outfit; src: url(outfit.ttf) format("truetype"); font-weight: 100 900; font-display: swap; }
:root {
  --indigo: #5B6CFF; --violet: #4338CA; --midnight: #1E1B4B; --night: #0B1026; --onyx: #070A1A;
  --amber: #FFB020; --mint: #30D158; --red: #FF453A;
  --ink: #1D1D1F; --ink2: #6E6E73; --ink3: #86868B; --line: #D2D2D7; --line2: #E8E8ED;
  --mist: #F5F5F7; --paper: #FFFFFF; --tint: #4F5BFF;
  --on-dark: #F5F5F7; --on-dark2: #A1A1B5;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  --display: Outfit, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --r: 18px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: var(--tint); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

h1, h2, h3 { font-family: var(--display); margin: 0; }
h1 { font-weight: 300; font-size: clamp(42px, 7vw, 84px); line-height: 1.02; letter-spacing: -.035em; }
h2 { font-weight: 300; font-size: clamp(32px, 4.6vw, 56px); line-height: 1.06; letter-spacing: -.03em; margin-bottom: 14px; }
h2.big { font-size: clamp(48px, 7vw, 88px); letter-spacing: -.04em; margin-bottom: 6px; }
h3 { font-weight: 500; font-size: 22px; letter-spacing: -.01em; margin-bottom: 4px; }
.tagline { font: 400 clamp(20px, 2.2vw, 26px)/1.3 var(--display); margin: 0 0 14px; letter-spacing: -.01em; }
.lead { font-size: clamp(17px, 1.6vw, 19px); color: var(--ink2); max-width: 640px; margin: 0 0 22px; }
.eyebrow { font: 500 12px/1.4 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--ink3); margin-bottom: 18px; }
.eyebrow.small { font-size: 10.5px; letter-spacing: .18em; margin-bottom: 10px; }
.muted { color: var(--ink2); font-size: 15px; }
hr { border: 0; border-top: 1px solid var(--line2); margin: 26px 0 20px; }

/* sections */
section { padding: clamp(80px, 11vw, 140px) 0; position: relative; }
.paper { background: var(--paper); }
.mist { background: var(--mist); }
.dark { background: var(--night); color: var(--on-dark); }
.violet { background: radial-gradient(120% 90% at 20% 0%, #2A2470 0%, var(--midnight) 45%, var(--onyx) 100%); color: var(--on-dark); }
.dark .lead, .violet .lead { color: var(--on-dark2); }
.dark .eyebrow, .violet .eyebrow { color: #8A90B8; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.split.flip > :first-child { order: 0; }

/* nav */
nav.top { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.78);
  backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid transparent; transition: border-color .3s; }
nav.top.scrolled { border-bottom-color: var(--line2); }
nav.top .wrap { display: flex; align-items: center; gap: 24px; height: 56px; }
nav .brand, .foot .brand { display: flex; align-items: center; gap: 9px; color: var(--ink); font: 600 19px var(--display); letter-spacing: -.01em; }
nav .brand img, .foot .brand img { width: 28px; height: 28px; border-radius: 7px; }
nav .brand:hover, .foot .brand:hover { text-decoration: none; }
nav .links { display: flex; gap: 26px; margin: 0 auto; }
nav a { color: var(--ink2); font-size: 14px; }
nav .links a:hover, nav .gh:hover { color: var(--ink); text-decoration: none; }
nav .cta { background: var(--ink); color: #fff; padding: 7px 16px; border-radius: 980px; font-weight: 500; }
nav .cta:hover { text-decoration: none; background: var(--violet); }

/* buttons, chips, pills */
.buttons { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; margin: 6px 0 0; }
.btn { display: inline-block; font-weight: 500; font-size: 16px; border-radius: 980px; transition: transform .2s, background .2s; }
.btn:hover { text-decoration: none; }
.btn.primary { background: var(--tint); color: #fff; padding: 12px 24px; }
.btn.primary:hover { background: var(--violet); transform: translateY(-1px); }
.btn.link { color: var(--tint); }
.dark .btn.link { color: #A5B4FF; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills span { font: 500 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink2);
  border: 1px solid var(--line); border-radius: 980px; padding: 8px 12px; background: var(--paper); }
.dark-pills { justify-content: center; margin: 36px 0 22px; }
.dark-pills span { background: transparent; border-color: rgba(255,255,255,.16); color: var(--on-dark2); }
.more { font-weight: 500; }
.more.on-dark { color: #A5B4FF; }

/* hero */
.hero { padding: 0 0 clamp(70px, 9vw, 110px); overflow: hidden; background: radial-gradient(80% 60% at 50% 30%, #18204A 0%, var(--night) 60%, var(--onyx) 100%); }
#dots { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 62%; pointer-events: none; }
.hub { position: relative; max-width: 1000px; height: 560px; margin: 0 auto; }
.spokes { position: absolute; inset: 0; width: 100%; height: 100%; }
.spokes line { stroke: rgba(122,138,255,.32); stroke-width: 1; stroke-dasharray: 2 5; vector-effect: non-scaling-stroke; }
.spokes line.pulse { stroke: rgba(165,180,255,.9); stroke-dasharray: 3 160; animation: travel 3.6s linear infinite; }
@keyframes travel { to { stroke-dashoffset: -163; } }
.core { position: absolute; left: 50%; top: 50%; width: 128px; height: 128px; transform: translate(-50%, -50%); border-radius: 50%;
  display: grid; place-items: center; background: radial-gradient(circle, #fff 0 56%, #E7EAFF 100%);
  box-shadow: 0 0 0 10px rgba(91,108,255,.12), 0 0 70px 18px rgba(91,108,255,.55), 0 0 160px 40px rgba(67,56,202,.35); }
.core img { width: 76px; height: 76px; border-radius: 18px; }
.core::after { content: ""; position: absolute; inset: -22px; border-radius: 50%; border: 1px solid rgba(165,180,255,.25); animation: breathe 4s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(1.12); opacity: .2; } }
.mod { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%); width: 124px; padding: 12px 13px 11px;
  border-radius: 14px; background: rgba(22,28,64,.78); border: 1px solid rgba(140,151,255,.22);
  box-shadow: 0 10px 30px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.06); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: transform .35s, border-color .35s, background .35s; }
.mod:hover { transform: translate(-50%, -54%); border-color: rgba(165,180,255,.6); background: rgba(30,38,88,.9); }
.mod svg { width: 18px; height: 18px; fill: none; stroke: #C7CEFF; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; display: block; margin-bottom: 9px; }
.mod b { display: block; font: 600 13.5px/1.2 var(--display); color: #fff; }
.mod span { display: block; font: 500 9px/1.5 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: #8A90B8; margin-top: 3px; }
.hero-copy { position: relative; text-align: center; margin-top: 10px; }
.hero-copy .eyebrow { color: #8A90B8; }
.hero-copy .lead { color: var(--on-dark2); margin: 22px auto 30px; font-size: clamp(18px, 1.9vw, 21px); }
.hero-copy .buttons { justify-content: center; }
.chips { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 22px; margin-top: 34px; font: 500 11px/1.4 var(--mono);
  letter-spacing: .14em; text-transform: uppercase; color: #6D7399; }
.chips span::before { content: "◆"; color: var(--indigo); margin-right: 8px; font-size: 8px; vertical-align: 2px; }

/* how it works */
.trio { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: center; gap: 0; margin-top: 56px; }
.tier { position: relative; background: var(--paper); border-radius: var(--r); padding: 30px 28px 28px; box-shadow: 0 2px 4px rgba(0,0,0,.03), 0 18px 40px rgba(17,24,64,.07); height: 100%; }
.tier .tag { position: absolute; top: 18px; right: 18px; font: 600 9.5px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase;
  color: var(--tint); background: #EEF0FF; border: 1px solid #D9DDFF; border-radius: 980px; padding: 6px 9px; }
.tile { width: 62px; height: 62px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 22px; box-shadow: 0 10px 24px rgba(67,56,202,.22); }
.tile svg { width: 28px; height: 28px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.g-indigo { background: linear-gradient(140deg, #8C97FF, var(--indigo) 55%, var(--violet)); }
.g-violet { background: linear-gradient(140deg, #6D5CFF, var(--violet) 55%, var(--midnight)); }
.g-amber { background: linear-gradient(140deg, #FFD36B, var(--amber) 55%, #F07F00); box-shadow: 0 10px 24px rgba(240,127,0,.25); }
.tier h3 { font-size: 26px; font-weight: 400; }
.tier .accent { color: var(--tint); font-size: 15px; font-weight: 500; margin: 2px 0 10px; }
.tier p { margin: 0; color: var(--ink2); font-size: 15px; }
.link-label { writing-mode: horizontal-tb; font: 500 9.5px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink3);
  padding: 0 14px; position: relative; text-align: center; width: 120px; }
.link-label::before, .link-label::after { content: ""; display: block; height: 1px; margin: 9px 0;
  background: repeating-linear-gradient(90deg, var(--tint) 0 2px, transparent 2px 6px); opacity: .55; }

/* TV and phone mockups */
.tv { position: relative; max-width: 1000px; margin: 56px auto 0; }
.tv .screen { border-radius: 14px; padding: 10px; background: linear-gradient(#26262B, #0E0E11); box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 40px 90px rgba(0,0,0,.55); }
.tv .screen > img { border-radius: 6px; width: 100%; }
.tv .stand { width: 26%; height: 14px; margin: 0 auto; background: linear-gradient(#2A2A30, #121216); border-radius: 0 0 10px 10px; }
.tv::after { content: ""; display: block; width: 60%; height: 30px; margin: 4px auto 0; background: radial-gradient(closest-side, rgba(91,108,255,.35), transparent); filter: blur(6px); }
.paper .tv .screen { box-shadow: 0 0 0 1px rgba(0,0,0,.08), 0 30px 70px rgba(17,24,64,.25); }
.paper .tv::after { background: radial-gradient(closest-side, rgba(17,24,64,.18), transparent); }
.tv.small { margin-top: 0; }
figure { margin: 0; }
figcaption { font: 500 10.5px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--ink3); text-align: center; margin-top: 12px; }
.phone { width: 300px; max-width: 78vw; margin: 0 auto; padding: 11px; border-radius: 48px; background: linear-gradient(145deg, #3A3D57, #11131F);
  box-shadow: 0 0 0 1px rgba(255,255,255,.06) inset, 0 40px 80px rgba(17,24,64,.3); position: relative; }
.phone::before { content: ""; position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 84px; height: 24px; border-radius: 14px; background: #000; z-index: 1; }
.phone img { border-radius: 38px; width: 100%; }
.combo { position: relative; padding-bottom: 40px; }
.combo .tv { margin: 0; }
.combo .phone.mini { position: absolute; right: -2%; bottom: 0; width: 150px; padding: 6px; border-radius: 28px; box-shadow: 0 30px 60px rgba(0,0,0,.55); }
.combo .phone.mini::before { top: 11px; width: 40px; height: 12px; }
.combo .phone.mini img { border-radius: 22px; }

/* quiz illustration */
.quiz { aspect-ratio: 16/9; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4%; text-align: center; color: #fff;
  background: radial-gradient(90% 90% at 30% 10%, #3B3A9C, var(--midnight) 60%, var(--night)) !important; padding: 5% !important; }
.quiz .qhead { font: 500 clamp(9px, 1.1vw, 12px) var(--mono); letter-spacing: .16em; text-transform: uppercase; opacity: .7; }
.quiz .q { font: 300 clamp(18px, 2.6vw, 32px)/1.2 var(--display); }
.quiz .q span { font-weight: 600; }
.quiz .opts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 3%; width: 82%; }
.quiz .opts i { font: 600 clamp(13px, 1.7vw, 20px) var(--display); font-style: normal; padding: 6% 0; border-radius: 12px; background: rgba(255,255,255,.1); }
.quiz .opts i.on { background: var(--mint); box-shadow: 0 0 0 3px rgba(255,255,255,.85), 0 0 26px rgba(48,209,88,.6); }
.quiz .earned { font-size: clamp(10px, 1.2vw, 14px); color: var(--amber); }

/* checks */
ul.checks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px 30px; }
ul.checks.cols2 { grid-template-columns: 1fr 1fr; }
ul.checks.cols3 { grid-template-columns: repeat(3, auto); justify-content: center; }
ul.checks li { position: relative; padding-left: 28px; font-size: 15px; }
ul.checks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 17px; height: 17px; border-radius: 50%; border: 1.5px solid var(--tint);
  background: no-repeat center/9px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 8'%3E%3Cpath d='M1 4.2l2.6 2.4L9 1.2' fill='none' stroke='%234F5BFF' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.dark ul.checks li::before, .violet ul.checks li::before { border-color: #8C97FF;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 8'%3E%3Cpath d='M1 4.2l2.6 2.4L9 1.2' fill='none' stroke='%238C97FF' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.dark ul.checks li, .violet ul.checks li { color: #D9DBEA; }

/* time panel */
.panel { background: var(--paper); border-radius: 24px; padding: 26px; border: 1px solid var(--line2);
  box-shadow: 0 2px 4px rgba(0,0,0,.03), 0 30px 70px rgba(17,24,64,.10); position: relative; }
.panel::before { content: ""; position: absolute; inset: -40px; z-index: -1; background: radial-gradient(closest-side, rgba(91,108,255,.16), transparent); }
.panel-head { display: flex; justify-content: space-between; align-items: center; }
.panel-head .ok { font: 600 10px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: #1F8A4D; background: #E9F8EE; border: 1px solid #BFE8CC; border-radius: 980px; padding: 6px 10px; }
.ring-row { display: flex; align-items: center; gap: 24px; margin: 18px 0 22px; }
.ring { width: 118px; height: 118px; transform: rotate(-90deg); flex: none; }
.ring circle { fill: none; stroke: var(--line2); stroke-width: 11; }
.ring .arc { stroke: var(--tint); stroke-linecap: round; transition: stroke-dasharray 1.6s cubic-bezier(.2,.8,.2,1); }
.panel:not(.in) .ring .arc { stroke-dasharray: 0 100; }
.ring-num { font: 300 54px/1 var(--display); letter-spacing: -.03em; }
.ring-num small { font-size: 17px; color: var(--ink2); letter-spacing: 0; }
.ctrls { display: grid; grid-template-columns: repeat(3, 1fr) 1.6fr; gap: 8px; }
.ctrls i { font-style: normal; text-align: center; font-weight: 600; font-size: 15px; padding: 11px 0; border-radius: 12px; background: var(--mist); color: var(--ink); }
.ctrls i.end { background: #FFECEB; color: #C62F26; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 18px; }
.stats div { border: 1px solid var(--line2); border-radius: 14px; padding: 12px; }
.stats .eyebrow { margin-bottom: 6px; font-size: 9px; }
.stats b { font: 400 26px/1 var(--display); letter-spacing: -.02em; }
.stats em { display: block; font-style: normal; font-size: 12px; color: var(--ink2); margin-top: 4px; }
.panel figcaption { text-align: right; margin-top: 16px; }

/* phone strip */
.strip { display: flex; gap: 28px; overflow-x: auto; padding: 40px max(24px, calc((100vw - 1160px) / 2 + 24px)) 20px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.strip::-webkit-scrollbar { display: none; }
.strip figure { flex: none; width: 220px; scroll-snap-align: center; }
.strip img { border-radius: 30px; border: 7px solid #15172A; box-shadow: 0 24px 50px rgba(17,24,64,.2); background: #15172A; }
.strip figcaption { margin-top: 16px; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 54px; margin-bottom: 30px; }
.step { background: var(--mist); border-radius: var(--r); padding: 30px 28px; }
.step .num { display: grid; place-items: center; min-width: 40px; width: max-content; padding: 0 10px; height: 40px; border-radius: 980px; background: var(--ink); color: #fff; font: 500 17px var(--display); margin-bottom: 20px; }
.step p { margin: 6px 0 0; color: var(--ink2); font-size: 15px; }

/* security */
.glass-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 54px; }
.glass { border-radius: var(--r); padding: 26px 24px; background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02)); border: 1px solid rgba(255,255,255,.1); }
.glass svg { width: 26px; height: 26px; fill: none; stroke: #A5B4FF; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 18px; }
.glass h3 { font-size: 19px; color: #fff; }
.glass p { color: var(--on-dark2); font-size: 15px; margin: 6px 0 0; }

/* faq */
.faq details { border-bottom: 1px solid var(--line2); padding: 16px 0; }
.faq summary { cursor: pointer; font: 400 19px var(--display); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--tint); font-size: 22px; line-height: 1; transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink2); font-size: 15px; margin: 10px 0 0; }

/* footer */
.foot { background: var(--mist); padding: 64px 0 34px; font-size: 14px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 32px; }
.foot .about p { color: var(--ink2); margin: 14px 0 20px; max-width: 300px; }
.foot-grid > div:not(.about) a { display: block; color: var(--ink2); margin: 9px 0; }
.foot-grid > div:not(.about) a:hover { color: var(--ink); }
.foot-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; border-top: 1px solid var(--line); margin-top: 44px; padding-top: 22px; color: var(--ink3); font-size: 13px; }
.foot-base .eyebrow { margin: 0; }

/* reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); }
.js .reveal.in { opacity: 1; transform: none; }
.js .hub .mod { opacity: 0; transition: opacity .8s, transform .35s, border-color .35s, background .35s; }
.js .hub.in .mod { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  /* The hub's cards keep their centring transform: without it, they sit off their spots. */
  .js .hub .mod { opacity: 1; transition: none; }
  .core::after, .spokes line.pulse { animation: none; }
  html { scroll-behavior: auto; }
}

/* text pages */
.page { max-width: 780px; margin: 0 auto; padding: 70px 24px 100px; }
.page h1 { font-size: clamp(38px, 5.4vw, 60px); margin-bottom: 24px; }
.page h2 { font-size: clamp(26px, 3vw, 34px); font-weight: 400; margin: 46px 0 12px; }
.page h3 { font-size: 20px; margin: 28px 0 8px; }
.page p, .page li { color: #3A3A3F; }
.page table { border-collapse: collapse; width: 100%; font-size: 15px; display: block; overflow-x: auto; }
.page th, .page td { border-bottom: 1px solid var(--line2); padding: 10px 12px 10px 0; text-align: left; vertical-align: top; }
.page code { font: 14px var(--mono); background: var(--mist); padding: 2px 6px; border-radius: 6px; }
.page pre { background: var(--night); color: #E6E8F5; padding: 18px; border-radius: 14px; overflow-x: auto; }
.page pre code { background: none; padding: 0; color: inherit; }
.page img { margin: 18px 0; }
.page blockquote { margin: 20px 0; padding: 4px 20px; border-left: 3px solid var(--tint); color: var(--ink2); }
.swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; margin: 18px 0 8px; }
.swatch div { height: 84px; border-radius: 14px; box-shadow: inset 0 0 0 1px rgba(0,0,0,.06); }
.swatch span { display: block; font-size: 13px; color: var(--ink2); margin-top: 8px; }
.page-head { background: radial-gradient(80% 120% at 50% 0%, #18204A, var(--night) 70%); color: var(--on-dark); padding: 70px 0 60px; text-align: center; }
.page-head .eyebrow { color: #8A90B8; }
.page-head h1 { font-size: clamp(40px, 6vw, 68px); }

/* small screens */
/* Phones and small tablets (up to 900 px, where the desktop orbit's cards would touch): the same orbit,
   drawn for a narrow screen. Features become pills on a tall ellipse around the logo, with the spokes
   (site.js redraws them from --mx/--my). Long labels sit at the top and bottom, short ones at the sides. */
@media (max-width: 900px) {
  .hub { height: 470px; max-width: 460px; margin: 6px auto 0; }
  .core { width: 96px; height: 96px; }
  .core img { width: 58px; height: 58px; }
  .mod { left: var(--mx); top: var(--my); width: auto; display: flex; align-items: center; gap: 7px; padding: 8px 12px 8px 10px;
    border-radius: 980px; white-space: nowrap; }
  .mod:hover { transform: translate(-50%, -50%); }
  .mod span, .hub .mod.opt { display: none; }
  .mod svg { width: 16px; height: 16px; margin: 0; flex: none; }
  .mod b { font-size: 13px; }
}
@media (min-width: 600px) and (max-width: 900px) { .hub { height: 520px; max-width: 560px; } }
@media (max-width: 960px) {
  nav .links { display: none; }
  nav .gh { margin-left: auto; }
  .trio { grid-template-columns: 1fr; gap: 0; }
  .link-label { width: auto; padding: 12px 0; writing-mode: horizontal-tb; }
  .link-label::before, .link-label::after { width: 1px; height: 14px; margin: 6px auto; background: repeating-linear-gradient(180deg, var(--tint) 0 2px, transparent 2px 6px); }
  .split { grid-template-columns: 1fr; }
  .split.flip > :first-child { order: 2; }
  .glass-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot .about { grid-column: 1 / -1; }
  ul.checks.cols3 { grid-template-columns: 1fr 1fr; justify-content: start; }
}
@media (max-width: 760px) {
  .glass-grid { grid-template-columns: 1fr; }
  .ctrls { grid-template-columns: repeat(3, 1fr); }
  .ctrls i.end { grid-column: 1 / -1; }
  .stats { grid-template-columns: 1fr 1fr; }
  .combo .phone.mini { width: 104px; right: 0; }
  .strip figure { width: 180px; }
}
@media (max-width: 520px) {
  ul.checks.cols2, ul.checks.cols3 { grid-template-columns: 1fr; }
  nav .gh { display: none; }
  nav .cta { margin-left: auto; }
  .ring-row { gap: 16px; }
  .ring { width: 92px; height: 92px; }
  .ring-num { font-size: 42px; }
}

/* refinements */
.hub { margin-top: 48px; }
.split h2.big { font-size: clamp(46px, 5.4vw, 72px); }
.stats .eyebrow { display: block; }
.link-label { white-space: nowrap; width: auto; min-width: 96px; }
@media (max-width: 900px) { .hub { margin-top: 0; } }
section, header.hero { overflow-x: clip; }
@media (max-width: 520px) { .hub .mod.opt { display: none; } }
@media (max-width: 380px) { .hub { height: 440px; } .mod { padding: 7px 10px 7px 9px; gap: 6px; } .mod b { font-size: 12px; } }

/* Headlines wrap in balanced lines on every screen (no lone "love."), and nothing on a phone is too small
   to tap: links get at least a 44 px row. */
@media (max-width: 760px) {
  h1, h2, h3, .lead { text-wrap: balance; }
  h1 { font-size: clamp(38px, 10.5vw, 52px); }
}
/* Touch screens of any size (phones, tablets) get comfortable tap targets; desktop keeps its layout. */
@media (max-width: 760px), (pointer: coarse) {
  .more, .btn.link { display: inline-block; padding: 11px 0; }
  .buttons { row-gap: 4px; }
  .foot-grid > div:not(.about) a { margin: 0; padding: 11px 0; }
  nav .cta { padding: 11px 18px; }
  nav .gh { padding: 11px 4px; }
  nav .brand { min-height: 44px; }
  .filters button { min-height: 40px; }
}

/* gallery: filters, strip, grid and viewer */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 34px auto 0; padding: 0 24px; max-width: 1160px; }
.filters button { font: 500 13px/1 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: var(--ink2); background: var(--paper);
  border: 1px solid var(--line); border-radius: 980px; padding: 9px 15px; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.filters button:hover { border-color: var(--ink3); color: var(--ink); }
.filters button.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.gallery-strip { position: relative; }
.gallery-strip .strip { align-items: flex-end; gap: 22px; padding-top: 34px; padding-bottom: 26px; }
.shot { position: relative; display: block; flex: none; color: inherit; scroll-snap-align: center; border-radius: 18px; }
.shot:hover { text-decoration: none; }
.shot img { display: block; background: #0B1026; transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s; }
.shot:hover img, .shot:focus-visible img { transform: translateY(-4px); }
.shot:focus-visible { outline: 3px solid var(--tint); outline-offset: 4px; }
.shot.s-tv img { width: 400px; max-width: 78vw; height: auto; border-radius: 12px; border: 6px solid #15172A; box-shadow: 0 22px 46px rgba(17,24,64,.22); }
.shot.s-phone img { width: 128px; height: auto; border-radius: 22px; border: 5px solid #15172A; box-shadow: 0 22px 46px rgba(17,24,64,.22); }
.gallery-strip .shot.s-phone img { width: 122px; }
.shot .cap { display: block; margin-top: 12px; max-width: 400px; }
.shot.s-phone .cap { max-width: 132px; }
.shot .cap b { display: block; font: 500 14px/1.3 var(--display); color: var(--ink); }
.shot .cap em { display: block; font: 500 9.5px/1.6 var(--mono); letter-spacing: .14em; text-transform: uppercase; font-style: normal; color: var(--ink3); margin-top: 3px; }
.shot.hidden { display: none; }
.strip-nav { display: flex; justify-content: center; gap: 10px; margin-top: 6px; }
.strip-nav button { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); color: var(--ink); font-size: 22px; line-height: 1; cursor: pointer; }
.strip-nav button:hover { border-color: var(--ink3); }
.page.wide { max-width: 1240px; }
.page.wide .lead { margin-left: auto; margin-right: auto; }
.grid-shots { display: grid; gap: 36px 24px; margin-top: 26px; align-items: start; }
.g-tv { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g-phone { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.grid-shots .shot.s-tv img, .grid-shots .shot.s-phone img { width: 100%; max-width: none; }
.grid-shots:not(:has(.shot:not(.hidden))), .grid-head:has(+ .grid-shots:not(:has(.shot:not(.hidden)))) { display: none; }
.page .grid-head { font-size: clamp(24px, 3vw, 32px); font-weight: 300; margin: 56px 0 0; }
.grid-shots .shot .cap { max-width: none; }
.page .note { text-align: center; color: var(--ink3); font-size: 13px; margin-top: 50px; }
@media (max-width: 760px) {
  .g-tv { grid-template-columns: 1fr; }
  .g-phone { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery-strip .shot.s-tv img { width: 300px; }
  .filters { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .filters button { flex: none; }
}

.viewer { position: fixed; inset: 0; z-index: 100; display: none; flex-direction: column; align-items: center; justify-content: center;
  background: rgba(5,7,16,.94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); color: var(--on-dark); padding: 24px 70px 22px; }
.viewer.open { display: flex; animation: vfade .25s ease; }
@keyframes vfade { from { opacity: 0; } }
.viewer figure { margin: 0; display: flex; flex-direction: column; align-items: center; max-width: 100%; max-height: 100%; min-height: 0; flex: 1; justify-content: center; }
.viewer img { max-width: min(100%, 1280px); max-height: calc(100vh - 170px); object-fit: contain; border-radius: 12px; box-shadow: 0 30px 80px rgba(0,0,0,.6); touch-action: pan-y; }
.viewer img.phone { border-radius: 26px; }
.viewer figcaption { text-align: center; margin-top: 18px; max-width: 720px; text-transform: none; letter-spacing: 0; font: 15px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: var(--on-dark2); }
.viewer figcaption b { display: block; font: 400 24px/1.25 var(--display); color: #fff; margin-bottom: 4px; }
.viewer figcaption em { display: block; font: 500 10.5px/1.6 var(--mono); letter-spacing: .16em; text-transform: uppercase; font-style: normal; color: #8A90B8; margin-top: 8px; }
.viewer button { position: absolute; border: 0; background: rgba(255,255,255,.1); color: #fff; width: 48px; height: 48px; border-radius: 50%; font-size: 26px; line-height: 1; cursor: pointer; }
.viewer button:hover { background: rgba(255,255,255,.2); }
.viewer .close { top: 18px; right: 18px; font-size: 22px; }
.viewer .prev { left: 14px; top: 50%; transform: translateY(-50%); }
.viewer .next { right: 14px; top: 50%; transform: translateY(-50%); }
.viewer .count { position: absolute; top: 30px; left: 24px; font: 500 11px var(--mono); letter-spacing: .16em; color: #8A90B8; }
@media (max-width: 760px) { .viewer { padding: 60px 12px 78px; } .viewer .prev, .viewer .next { top: auto; bottom: 18px; transform: none; } .viewer img { max-height: calc(100vh - 230px); } }
@media (max-width: 960px) and (min-width: 761px) {
  .g-tv { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g-phone { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.mist .step { background: var(--paper); box-shadow: 0 2px 4px rgba(0,0,0,.03), 0 18px 40px rgba(17,24,64,.06); }
