:root {
  --brand: #6C63FF;
  --brand-soft: #A78BFA;
  --ink: #22232B;
  --ink-muted: #6F7280;
  --dark: #171821;
  --dark-2: #20212C;
  --dark-3: #292B38;
  --paper: #F7F7FA;
  --paper-2: #ECECF3;
  --paper-3: #E3E3EC;
  --accent: #F59E5B;
  --line: rgba(34, 35, 43, .12);
  --line-dark: rgba(255, 255, 255, .11);
  --shadow-sm: 0 8px 24px rgba(23, 24, 33, .08);
  --shadow-md: 0 18px 48px rgba(23, 24, 33, .12);
  --shadow-lg: 0 28px 72px rgba(23, 24, 33, .18);
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-xl: 38px;
  --shell: 1180px;
  --header-h: 78px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 24px); }
body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.72;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
body.nav-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }
::selection { background: rgba(108, 99, 255, .2); color: var(--ink); }

.shell { width: min(calc(100% - 40px), var(--shell)); margin-inline: auto; }
.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 999;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--dark);
  color: #fff;
  transform: translateY(-150%);
  transition: transform .18s ease;
}
.skip-link:focus { transform: translateY(0); }
.header-marker { position: absolute; top: 0; left: 0; width: 1px; height: 1px; pointer-events: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(247, 247, 250, .92);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
  transition: box-shadow .25s var(--ease), border-color .25s var(--ease), background .25s var(--ease);
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 8px 28px rgba(23,24,33,.07); background: rgba(247,247,250,.97); }
.site-header__inner { height: 100%; display: flex; align-items: center; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex: 0 0 auto; min-width: 210px; }
.brand img { width: 48px; height: 48px; object-fit: cover; border-radius: 15px; box-shadow: 0 8px 20px rgba(108,99,255,.16); }
.brand span { display: grid; line-height: 1.25; }
.brand strong { font-size: 19px; letter-spacing: .02em; }
.brand small { margin-top: 4px; color: var(--ink-muted); font-size: 11px; letter-spacing: .06em; }
.primary-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.primary-nav a { position: relative; padding: 10px 14px; border-radius: 10px; color: #494B56; font-size: 14px; font-weight: 650; transition: background .2s ease, color .2s ease; }
.primary-nav a:hover { background: var(--paper-2); color: var(--ink); }
.primary-nav a[aria-current="page"] { background: rgba(108,99,255,.1); color: #4C46D8; }
.primary-nav a[aria-current="page"]::after { content: ""; position: absolute; left: 50%; bottom: 4px; width: 4px; height: 4px; border-radius: 50%; background: var(--brand); transform: translateX(-50%); }
.header-cta { margin-left: 8px; padding: 11px 17px; border-radius: 12px; background: var(--dark); color: #fff; font-size: 14px; font-weight: 750; box-shadow: 0 8px 20px rgba(23,24,33,.15); transition: transform .2s ease, box-shadow .2s ease; }
.header-cta:hover { transform: translateY(-1px); box-shadow: 0 12px 26px rgba(23,24,33,.2); }
.nav-toggle { display: none; }

.eyebrow { margin: 0 0 12px; color: #5B55E5; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.hero { position: relative; overflow: clip; padding: 54px 0 64px; background: linear-gradient(180deg, #F7F7FA 0%, #F1F1F7 100%); }
.hero::before { content: ""; position: absolute; width: 460px; height: 460px; right: -170px; top: -180px; border-radius: 50%; background: radial-gradient(circle, rgba(108,99,255,.15), rgba(108,99,255,0) 69%); pointer-events: none; }
.hero::after { content: ""; position: absolute; width: 320px; height: 320px; left: -170px; bottom: -150px; border-radius: 50%; background: radial-gradient(circle, rgba(245,158,91,.12), rgba(245,158,91,0) 70%); pointer-events: none; }
.hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, .92fr) minmax(420px, 1.08fr); align-items: center; gap: 56px; z-index: 1; }
.hero__content { max-width: 600px; padding: 20px 0; }
.hero h1 { margin: 0; max-width: 670px; font-size: clamp(42px, 5vw, 72px); line-height: 1.05; letter-spacing: -.045em; color: var(--dark); }
.hero__lead { margin: 24px 0 0; max-width: 620px; color: #575A67; font-size: 18px; line-height: 1.85; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 12px 20px; border: 1px solid transparent; border-radius: 13px; font-size: 14px; font-weight: 780; line-height: 1; transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button--primary { background: var(--brand); color: #fff; box-shadow: 0 12px 30px rgba(108,99,255,.28); }
.button--primary:hover { box-shadow: 0 17px 36px rgba(108,99,255,.34); }
.button--ghost { border-color: var(--line); background: rgba(255,255,255,.58); color: var(--ink); }
.button--ghost:hover { background: #fff; border-color: rgba(108,99,255,.28); }
.hero__signals { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 28px 0 0; }
.hero__signals li { padding: 7px 10px; border: 1px solid rgba(34,35,43,.1); border-radius: 999px; background: rgba(255,255,255,.66); color: #626570; font-size: 12px; font-weight: 700; }
.hero__visual { position: relative; margin: 0; min-height: 520px; border-radius: 34px; overflow: hidden; background: var(--dark); box-shadow: var(--shadow-lg); }
.hero__visual img { width: 100%; height: 520px; object-fit: cover; opacity: .9; }
.hero__visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(23,24,33,.03) 44%, rgba(23,24,33,.82) 100%); pointer-events: none; }
.hero__visual figcaption { position: absolute; left: 26px; right: 26px; bottom: 24px; z-index: 2; display: flex; align-items: center; gap: 12px; color: rgba(255,255,255,.88); font-size: 14px; }
.hero__visual figcaption span { flex: 0 0 auto; padding: 6px 9px; border-radius: 999px; background: var(--accent); color: #2B1A0F; font-weight: 800; }

.content-band { padding: 84px 0; background: var(--paper); }
.content-band--muted { background: var(--paper-2); }
.section-heading { margin-bottom: 34px; max-width: 760px; }
.section-heading--split { max-width: none; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr); gap: 48px; align-items: end; }
.section-heading h2 { margin: 0; font-size: clamp(30px, 3vw, 46px); line-height: 1.15; letter-spacing: -.035em; color: var(--dark); }
.section-heading p:not(.eyebrow) { margin: 12px 0 0; color: var(--ink-muted); }
.section-heading--split > p { margin: 0; max-width: 520px; justify-self: end; }

.media-grid { display: grid; gap: 22px; }
.media-grid--featured { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.media-grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.media-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-md); background: #fff; box-shadow: 0 8px 28px rgba(23,24,33,.05); transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s ease; }
.media-card:hover { transform: translateY(-5px); border-color: rgba(108,99,255,.22); box-shadow: var(--shadow-md); }
.media-card__cover { position: relative; display: block; aspect-ratio: 4 / 5.1; overflow: hidden; background: var(--dark-2); }
.media-card__cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease), filter .4s ease; }
.media-card:hover .media-card__cover img { transform: scale(1.035); filter: saturate(1.04); }
.media-card__cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 58%, rgba(23,24,33,.52) 100%); pointer-events: none; }
.media-card__eyebrow { position: absolute; left: 14px; bottom: 14px; z-index: 2; padding: 6px 9px; border-radius: 999px; background: rgba(23,24,33,.84); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .06em; backdrop-filter: blur(7px); }
.media-card__body { padding: 18px 18px 19px; }
.media-card__body h3 { margin: 0; font-size: 18px; line-height: 1.35; letter-spacing: -.015em; }
.media-card__body h3 a:hover { color: #554EE4; }
.media-card__body p { margin: 9px 0 0; color: var(--ink-muted); font-size: 13px; line-height: 1.72; }
.meta-list { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 15px 0 0; }
.meta-list li { padding: 5px 8px; border-radius: 7px; background: var(--paper-2); color: #666976; font-size: 11px; font-weight: 700; }
.media-card--featured .media-card__body { min-height: 190px; }
.media-card--featured:nth-child(2n) { transform: translateY(18px); }
.media-card--featured:nth-child(2n):hover { transform: translateY(13px); }

.spotlight-section { padding: 18px 0 86px; background: var(--paper); }
.spotlight { display: grid; grid-template-columns: minmax(320px, .75fr) minmax(0, 1.25fr); gap: 0; min-height: 460px; overflow: hidden; border-radius: var(--radius-xl); background: var(--dark); box-shadow: var(--shadow-lg); }
.spotlight__copy { display: flex; flex-direction: column; justify-content: center; padding: 52px 46px; color: #fff; }
.spotlight__copy .eyebrow { color: #BDB8FF; }
.spotlight__copy h2 { margin: 0; font-size: clamp(32px, 3vw, 48px); line-height: 1.12; letter-spacing: -.035em; }
.spotlight__copy p:not(.eyebrow) { margin: 18px 0 0; color: rgba(255,255,255,.67); }
.spotlight > img { width: 100%; height: 100%; min-height: 460px; object-fit: cover; opacity: .86; mask-image: linear-gradient(90deg, transparent 0%, #000 17%); }
.inline-links { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 24px; }
.inline-links a { position: relative; color: #5A54E5; font-weight: 760; font-size: 14px; }
.spotlight .inline-links a { color: #D5D2FF; }
.inline-links a::after { content: "↗"; margin-left: 5px; font-size: .9em; }
.inline-links a:hover { text-decoration: underline; text-underline-offset: 4px; }

.link-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.link-card { position: relative; display: grid; gap: 7px; min-height: 190px; padding: 26px; overflow: hidden; border: 1px solid rgba(108,99,255,.1); border-radius: var(--radius-md); background: rgba(255,255,255,.78); box-shadow: 0 8px 26px rgba(23,24,33,.045); transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s ease; }
.link-card::before { content: ""; position: absolute; width: 130px; height: 130px; right: -55px; top: -55px; border-radius: 50%; background: rgba(108,99,255,.075); transition: transform .3s var(--ease); }
.link-card:hover { transform: translateY(-4px); border-color: rgba(108,99,255,.25); box-shadow: var(--shadow-sm); }
.link-card:hover::before { transform: scale(1.25); }
.link-card__kicker { position: relative; color: #716BEA; font-size: 11px; font-weight: 850; letter-spacing: .11em; }
.link-card strong { position: relative; font-size: 20px; line-height: 1.35; }
.link-card > span:last-child { position: relative; color: var(--ink-muted); font-size: 13px; }

.editorial-strip { padding: 86px 0; background: var(--dark); color: #fff; }
.editorial-strip__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.editorial-strip article { min-height: 290px; padding: 38px; border: 1px solid var(--line-dark); border-radius: var(--radius-lg); background: linear-gradient(145deg, rgba(255,255,255,.055), rgba(255,255,255,.02)); }
.editorial-strip article:nth-child(2) { background: linear-gradient(145deg, rgba(167,139,250,.12), rgba(255,255,255,.02)); }
.editorial-strip .eyebrow { color: #BDB8FF; }
.editorial-strip h2 { margin: 0; font-size: 32px; line-height: 1.22; letter-spacing: -.03em; }
.editorial-strip p:not(.eyebrow) { max-width: 580px; color: rgba(255,255,255,.66); }
.editorial-strip a { display: inline-block; margin-top: 14px; color: #FFD1B4; font-weight: 760; }
.editorial-strip a:hover { text-decoration: underline; text-underline-offset: 4px; }

.page-main { background: var(--paper); }
.breadcrumb { padding: 18px 0 0; }
.breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; list-style: none; padding: 0; margin: 0; color: #858895; font-size: 12px; }
.breadcrumb li:not(:last-child)::after { content: "/"; margin-left: 7px; color: #B0B2BA; }
.breadcrumb a:hover { color: var(--brand); }
.page-hero { padding: 34px 0 74px; }
.page-hero__grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(390px, 1.08fr); align-items: center; gap: 56px; }
.page-hero h1 { margin: 0; max-width: 700px; color: var(--dark); font-size: clamp(38px, 4vw, 62px); line-height: 1.08; letter-spacing: -.045em; }
.page-hero p:not(.eyebrow) { margin: 20px 0 0; max-width: 680px; color: var(--ink-muted); font-size: 17px; }
.page-hero img { width: 100%; aspect-ratio: 1.4 / 1; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.page-hero--compact img { aspect-ratio: 1.5 / 1; }
.page-hero--web img { aspect-ratio: 1.38 / 1; }
.anchor-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.anchor-nav a { padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: #555865; font-size: 12px; font-weight: 760; transition: border-color .2s ease, color .2s ease, background .2s ease; }
.anchor-nav a:hover { border-color: rgba(108,99,255,.32); background: rgba(108,99,255,.06); color: #514BDD; }

.watch-group { padding: 74px 0; border-top: 1px solid var(--line); }
.watch-group:nth-of-type(even) { background: #F2F2F7; }
.watch-group .media-card__cover { aspect-ratio: 16 / 11; }
.watch-group .media-card__body { min-height: 175px; }
.watch-guide { padding: 84px 0; background: var(--dark); color: #fff; }
.watch-guide .eyebrow { color: #BDB8FF; }
.watch-guide .section-heading h2 { color: #fff; }
.tip-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.tip-grid article { padding: 24px; border: 1px solid var(--line-dark); border-radius: var(--radius-md); background: rgba(255,255,255,.045); }
.tip-grid h3 { margin: 0; font-size: 17px; }
.tip-grid p { margin: 10px 0 0; color: rgba(255,255,255,.64); font-size: 13px; }

.facts-section { padding: 20px 0 84px; }
.facts-layout { display: grid; grid-template-columns: .78fr 1.22fr; gap: 64px; align-items: start; }
.facts-layout h2 { margin: 0; font-size: clamp(30px, 3vw, 46px); line-height: 1.14; letter-spacing: -.035em; }
.facts-layout p:not(.eyebrow) { color: var(--ink-muted); }
.fact-list { margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-md); background: #fff; }
.fact-list > div { display: grid; grid-template-columns: 150px 1fr; gap: 24px; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.fact-list > div:last-child { border-bottom: 0; }
.fact-list dt { color: #757885; font-size: 13px; font-weight: 700; }
.fact-list dd { margin: 0; color: var(--ink); font-weight: 720; }
.narrow-copy { max-width: 850px; }
.narrow-copy h2 { margin: 0 0 20px; font-size: clamp(30px, 3vw, 44px); line-height: 1.16; letter-spacing: -.035em; }
.narrow-copy > p:not(.eyebrow) { color: var(--ink-muted); }

.device-section { padding: 20px 0 84px; }
.device-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.device-grid article { min-height: 190px; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius-md); background: #fff; }
.device-grid article:nth-child(2), .device-grid article:nth-child(3) { background: var(--paper-2); }
.device-grid h3 { margin: 0; font-size: 19px; }
.device-grid p { margin: 10px 0 0; color: var(--ink-muted); font-size: 14px; }
.browser-note { padding: 86px 0; background: var(--dark); color: #fff; }
.browser-note__inner { display: grid; grid-template-columns: 1.08fr .92fr; gap: 52px; align-items: center; }
.browser-note img { width: 100%; aspect-ratio: 1.46 / 1; object-fit: cover; border-radius: var(--radius-lg); opacity: .88; }
.browser-note .eyebrow { color: #BDB8FF; }
.browser-note h2 { margin: 0; font-size: clamp(31px, 3vw, 46px); line-height: 1.14; letter-spacing: -.035em; }
.browser-note p:not(.eyebrow) { color: rgba(255,255,255,.65); }
.browser-note a { display: inline-flex; margin-top: 16px; color: #FFD1B4; font-weight: 780; }

.not-found { min-height: calc(100vh - var(--header-h)); display: grid; place-items: center; padding: 70px 0; background: radial-gradient(circle at 70% 20%, rgba(108,99,255,.16), transparent 34%), var(--paper); }
.not-found__inner { max-width: 720px; text-align: center; }
.not-found__code { display: block; color: rgba(108,99,255,.14); font-size: clamp(96px, 18vw, 220px); font-weight: 900; line-height: .84; letter-spacing: -.07em; }
.not-found h1 { margin: 8px 0 0; font-size: clamp(34px, 4vw, 54px); line-height: 1.1; letter-spacing: -.04em; }
.not-found p:not(.eyebrow) { color: var(--ink-muted); }
.not-found .hero__actions { justify-content: center; }

.site-footer { padding: 58px 0 20px; background: #12131A; color: #fff; }
.site-footer__grid { display: grid; grid-template-columns: 1.35fr .8fr .85fr; gap: 48px; align-items: start; }
.footer-brand { display: block; font-size: 23px; }
.site-footer__grid > div:first-child p { max-width: 440px; color: rgba(255,255,255,.54); font-size: 13px; }
.site-footer nav { display: grid; gap: 10px; }
.site-footer nav a { color: rgba(255,255,255,.66); font-size: 13px; }
.site-footer nav a:hover { color: #fff; }
.footer-note { display: grid; gap: 5px; padding: 18px; border: 1px solid var(--line-dark); border-radius: 14px; background: rgba(255,255,255,.03); }
.footer-note span { color: rgba(255,255,255,.45); font-size: 11px; }
.footer-note strong { font-size: 13px; overflow-wrap: anywhere; }
.site-footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 42px; padding-top: 18px; border-top: 1px solid var(--line-dark); color: rgba(255,255,255,.4); font-size: 11px; }
.site-footer__bottom a:hover { color: #fff; }

/* Focus and interaction states */
a:focus-visible, button:focus-visible { outline: 3px solid rgba(108,99,255,.38); outline-offset: 3px; border-radius: 8px; }
.button:focus-visible, .header-cta:focus-visible { outline-color: rgba(245,158,91,.62); }

/* Content rhythm helpers */
.page-main section { position: relative; }
.page-main section[id] { scroll-margin-top: calc(var(--header-h) + 20px); }
.watch-page .watch-group:first-of-type { border-top: 0; }
.official-page .content-band--muted { border-top: 1px solid var(--line); }
.web-page .device-section { border-top: 1px solid var(--line); }

/* Large desktop */
@media (min-width: 1280px) {
  :root { --shell: 1220px; }
  .hero__grid { gap: 70px; }
  .hero__visual { min-height: 550px; }
  .hero__visual img { height: 550px; }
  .media-grid--featured { gap: 24px; }
  .media-card__body { padding: 20px; }
}

/* Laptop */
@media (max-width: 1100px) {
  .site-header__inner { gap: 18px; }
  .brand { min-width: 190px; }
  .primary-nav a { padding-inline: 10px; }
  .hero__grid, .page-hero__grid { gap: 36px; }
  .hero__grid { grid-template-columns: minmax(0, .95fr) minmax(370px, 1.05fr); }
  .hero__visual, .hero__visual img { min-height: 460px; height: 460px; }
  .media-grid--featured { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .media-card--featured:nth-child(2n) { transform: none; }
  .media-card--featured:nth-child(2n):hover { transform: translateY(-5px); }
  .media-card--featured .media-card__cover { aspect-ratio: 16 / 10.5; }
  .media-card--featured .media-card__body { min-height: 154px; }
  .spotlight { grid-template-columns: .9fr 1.1fr; }
  .tip-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Tablet and compact navigation */
@media (max-width: 820px) {
  :root { --header-h: 70px; }
  .shell { width: min(calc(100% - 30px), var(--shell)); }
  .site-header__inner { justify-content: space-between; }
  .brand { min-width: 0; }
  .brand img { width: 43px; height: 43px; border-radius: 13px; }
  .brand strong { font-size: 17px; }
  .brand small { display: none; }
  .header-cta { display: none; }
  .nav-toggle { position: relative; z-index: 61; display: inline-grid; grid-template-columns: 18px auto; grid-template-rows: repeat(3, 4px); column-gap: 8px; align-items: center; min-height: 42px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; }
  .nav-toggle span { grid-column: 1; width: 18px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .22s ease, opacity .22s ease; }
  .nav-toggle b { grid-column: 2; grid-row: 1 / 4; align-self: center; font-size: 12px; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .primary-nav { position: fixed; inset: var(--header-h) 0 auto 0; z-index: 60; display: grid; gap: 6px; margin: 0; padding: 18px 20px 24px; border-bottom: 1px solid var(--line); background: rgba(247,247,250,.985); box-shadow: 0 20px 40px rgba(23,24,33,.11); transform: translateY(-120%); opacity: 0; visibility: hidden; transition: transform .25s var(--ease), opacity .2s ease, visibility .2s ease; }
  .primary-nav[data-open="true"] { transform: translateY(0); opacity: 1; visibility: visible; }
  .primary-nav a { padding: 13px 14px; border-radius: 10px; font-size: 15px; }
  .primary-nav a[aria-current="page"]::after { display: none; }
  .hero { padding: 40px 0 54px; }
  .hero__grid, .page-hero__grid { grid-template-columns: 1fr; }
  .hero__content { max-width: 720px; padding: 0; }
  .hero h1 { max-width: 720px; }
  .hero__visual { min-height: 390px; }
  .hero__visual img { height: 390px; }
  .section-heading--split { grid-template-columns: 1fr; gap: 12px; align-items: start; }
  .section-heading--split > p { justify-self: start; }
  .spotlight { grid-template-columns: 1fr; }
  .spotlight__copy { padding: 40px 34px 30px; }
  .spotlight > img { min-height: 330px; max-height: 400px; mask-image: linear-gradient(180deg, transparent 0%, #000 18%); }
  .link-card-grid { grid-template-columns: 1fr; }
  .link-card { min-height: 0; }
  .editorial-strip__grid { grid-template-columns: 1fr; }
  .page-hero { padding: 28px 0 58px; }
  .page-hero img { max-height: 480px; }
  .media-grid--three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts-layout { grid-template-columns: 1fr; gap: 28px; }
  .browser-note__inner { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: 1.4fr .8fr; }
  .footer-note { grid-column: 1 / -1; }
}

/* Mobile */
@media (max-width: 620px) {
  .shell { width: min(calc(100% - 24px), var(--shell)); }
  .hero { padding-top: 32px; }
  .hero h1 { font-size: clamp(38px, 12vw, 54px); }
  .hero__lead { font-size: 16px; }
  .hero__actions { display: grid; grid-template-columns: 1fr; }
  .button { width: 100%; min-height: 48px; }
  .hero__signals { margin-top: 20px; }
  .hero__visual { min-height: 330px; border-radius: 24px; }
  .hero__visual img { height: 330px; }
  .hero__visual figcaption { left: 18px; right: 18px; bottom: 16px; align-items: flex-start; flex-direction: column; gap: 8px; }
  .content-band, .editorial-strip, .watch-guide, .browser-note { padding: 62px 0; }
  .spotlight-section { padding: 8px 0 64px; }
  .section-heading { margin-bottom: 26px; }
  .section-heading h2 { font-size: 31px; }
  .media-grid--featured, .media-grid--three { grid-template-columns: 1fr; }
  .media-card--featured .media-card__cover, .watch-group .media-card__cover { aspect-ratio: 16 / 10.5; }
  .media-card--featured .media-card__body, .watch-group .media-card__body { min-height: 0; }
  .spotlight { border-radius: 24px; }
  .spotlight__copy { padding: 34px 24px 24px; }
  .spotlight > img { min-height: 260px; }
  .editorial-strip article { min-height: 0; padding: 28px 24px; }
  .page-hero h1 { font-size: 39px; }
  .page-hero p:not(.eyebrow) { font-size: 15px; }
  .page-hero img { border-radius: 22px; }
  .watch-group { padding: 58px 0; }
  .tip-grid { grid-template-columns: 1fr; }
  .fact-list > div { grid-template-columns: 1fr; gap: 4px; padding: 17px 18px; }
  .device-grid { grid-template-columns: 1fr; }
  .device-grid article { min-height: 0; }
  .browser-note__inner { gap: 28px; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-note { grid-column: auto; }
  .site-footer__bottom { align-items: flex-start; flex-direction: column; gap: 8px; }
}

/* Small mobile */
@media (max-width: 390px) {
  .shell { width: min(calc(100% - 20px), var(--shell)); }
  .brand strong { font-size: 16px; }
  .nav-toggle { padding-inline: 10px; }
  .hero h1 { font-size: 36px; }
  .hero__visual { min-height: 300px; }
  .hero__visual img { height: 300px; }
  .page-hero h1 { font-size: 35px; }
  .section-heading h2, .editorial-strip h2 { font-size: 29px; }
  .media-card__body { padding: 16px; }
  .spotlight__copy { padding-inline: 20px; }
}

/* Print */
@media print {
  .site-header, .site-footer, .hero__actions, .anchor-nav, .skip-link { display: none !important; }
  body { background: #fff; color: #000; font-size: 12pt; }
  .shell { width: 100%; max-width: none; }
  .hero, .content-band, .watch-group, .facts-section, .device-section, .browser-note, .editorial-strip, .watch-guide { padding: 20pt 0; background: #fff !important; color: #000 !important; }
  .media-grid, .link-card-grid, .tip-grid, .device-grid { display: block; }
  .media-card, .link-card, .tip-grid article, .device-grid article { break-inside: avoid; margin-bottom: 12pt; box-shadow: none; border: 1px solid #ccc; }
  img { max-height: 220pt; object-fit: contain; }
  a { color: #000; text-decoration: underline; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

/* High contrast */
@media (prefers-contrast: more) {
  :root { --line: rgba(34,35,43,.34); --line-dark: rgba(255,255,255,.32); }
  .eyebrow { color: #4039C8; }
  .primary-nav a[aria-current="page"] { outline: 2px solid var(--brand); }
  .button--ghost, .anchor-nav a { border-width: 2px; }
}

/* Search and discovery */
.search-main { min-height: 70vh; }
.search-hero { padding: 34px 0 54px; }
.search-hero__inner { max-width: 900px; }
.search-hero h1 { margin: 0; max-width: 820px; font-size: clamp(38px, 4.4vw, 64px); line-height: 1.07; letter-spacing: -.045em; }
.search-hero p:not(.eyebrow) { margin: 18px 0 0; color: var(--ink-muted); }
.search-form { margin-top: 32px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-md); background: #fff; box-shadow: var(--shadow-sm); }
.search-form > label { display: block; margin-bottom: 8px; color: #525460; font-size: 12px; font-weight: 780; }
.search-form__row { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.search-form__row input { width: 100%; min-height: 52px; padding: 0 16px; border: 1px solid rgba(34,35,43,.18); border-radius: 12px; outline: none; background: var(--paper); color: var(--ink); transition: border-color .2s ease, box-shadow .2s ease, background .2s ease; }
.search-form__row input::placeholder { color: #9A9CA6; }
.search-form__row input:focus { border-color: rgba(108,99,255,.62); background: #fff; box-shadow: 0 0 0 4px rgba(108,99,255,.1); }
.search-form__row button { min-width: 110px; border: 0; border-radius: 12px; background: var(--brand); color: #fff; font-weight: 820; cursor: pointer; box-shadow: 0 10px 24px rgba(108,99,255,.23); transition: transform .2s ease, box-shadow .2s ease; }
.search-form__row button:hover { transform: translateY(-1px); box-shadow: 0 13px 28px rgba(108,99,255,.3); }
.search-types { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.search-types label { position: relative; cursor: pointer; }
.search-types input { position: absolute; opacity: 0; pointer-events: none; }
.search-types span { display: inline-flex; align-items: center; min-height: 34px; padding: 6px 11px; border: 1px solid var(--line); border-radius: 999px; color: #636672; font-size: 12px; font-weight: 740; transition: background .18s ease, color .18s ease, border-color .18s ease; }
.search-types input:checked + span { border-color: rgba(108,99,255,.3); background: rgba(108,99,255,.1); color: #5049DB; }
.search-types input:focus-visible + span { outline: 3px solid rgba(108,99,255,.3); outline-offset: 2px; }
.search-results { padding: 34px 0 86px; border-top: 1px solid var(--line); background: #F1F1F6; }
.results-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.results-heading h2 { margin: 0; font-size: clamp(28px, 3vw, 42px); line-height: 1.14; letter-spacing: -.035em; }
.results-heading > span { flex: 0 0 auto; padding: 6px 10px; border-radius: 999px; background: #fff; color: var(--ink-muted); font-size: 12px; font-weight: 760; }
.result-list { display: grid; gap: 10px; }
.result-item { display: grid; grid-template-columns: 86px 1fr auto; gap: 18px; align-items: center; min-height: 116px; padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: 0 6px 18px rgba(23,24,33,.035); transition: transform .2s var(--ease), box-shadow .2s ease, border-color .2s ease; }
.result-item:hover { transform: translateY(-2px); border-color: rgba(108,99,255,.23); box-shadow: var(--shadow-sm); }
.result-item__type { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 8px; border-radius: 12px; background: var(--paper-2); color: #5C5F6C; font-size: 12px; font-weight: 820; }
.result-item h3 { margin: 0; font-size: 18px; }
.result-item h3 a:hover { color: #554EE4; }
.result-item p { margin: 5px 0 0; color: var(--ink-muted); font-size: 13px; }
.result-item__action { padding: 9px 12px; border: 1px solid var(--line); border-radius: 10px; color: #575A67; font-size: 12px; font-weight: 800; }
.result-item__action:hover { border-color: rgba(108,99,255,.3); color: #514BDD; }
.empty-state { padding: 50px 30px; border: 1px dashed rgba(34,35,43,.18); border-radius: var(--radius-md); background: rgba(255,255,255,.62); text-align: center; }
.empty-state h3 { margin: 0; font-size: 24px; }
.empty-state p { max-width: 620px; margin: 10px auto 0; color: var(--ink-muted); }
.empty-state .button { margin-top: 22px; }

/* Selection guidance */
.selection-section { padding: 84px 0; background: #ECECF3; border-top: 1px solid var(--line); }
.principle-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: principles; }
.principle-grid article { position: relative; min-height: 245px; padding: 58px 24px 24px; overflow: hidden; border: 1px solid rgba(34,35,43,.1); border-radius: var(--radius-md); background: rgba(255,255,255,.74); counter-increment: principles; }
.principle-grid article::before { content: "0" counter(principles); position: absolute; top: 18px; left: 23px; color: #7C76EA; font-size: 12px; font-weight: 850; letter-spacing: .12em; }
.principle-grid article::after { content: ""; position: absolute; width: 115px; height: 115px; right: -50px; bottom: -55px; border-radius: 50%; background: rgba(108,99,255,.065); }
.principle-grid h3 { margin: 0; font-size: 18px; line-height: 1.35; }
.principle-grid p { margin: 11px 0 0; color: var(--ink-muted); font-size: 13px; line-height: 1.78; }

/* Fine-grained layout polish */
.home-page .content-band:first-of-type { border-top: 1px solid rgba(34,35,43,.06); }
.home-page .link-card:nth-child(1) { border-top: 3px solid rgba(108,99,255,.55); }
.home-page .link-card:nth-child(2) { border-top: 3px solid rgba(167,139,250,.62); }
.home-page .link-card:nth-child(3) { border-top: 3px solid rgba(245,158,91,.62); }
.watch-page .page-hero--watch { background: linear-gradient(180deg, var(--paper), #F1F1F6); }
.official-page .page-hero--compact { background: radial-gradient(circle at 78% 18%, rgba(167,139,250,.13), transparent 28%); }
.web-page .page-hero--web { background: radial-gradient(circle at 18% 10%, rgba(245,158,91,.09), transparent 27%); }
.search-page .site-header { background: rgba(241,241,246,.93); }

@media (max-width: 980px) {
  .principle-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .principle-grid article { min-height: 220px; }
}

@media (max-width: 700px) {
  .search-form { padding: 18px; }
  .search-form__row { grid-template-columns: 1fr; }
  .search-form__row button { min-height: 48px; }
  .results-heading { align-items: flex-start; flex-direction: column; gap: 10px; }
  .result-item { grid-template-columns: 70px 1fr; gap: 14px; }
  .result-item__action { grid-column: 2; justify-self: start; }
  .principle-grid { grid-template-columns: 1fr; }
  .principle-grid article { min-height: 0; }
}

@media (max-width: 430px) {
  .result-item { grid-template-columns: 1fr; }
  .result-item__type { justify-self: start; min-height: 32px; padding: 5px 9px; }
  .result-item__action { grid-column: 1; }
  .search-types { gap: 6px; }
  .search-types span { padding-inline: 9px; }
}
