:root {
  --bg: #0b0d10; --surface: #12161b; --surface-raised: #191e25;
  --text: #f5f4f1; --muted: #a0a6af; --quiet: #6f7884;
  --accent: #ffad79; --border: #ffffff12; --radius: 20px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: auto; scroll-padding-top: 100px; }
body { margin: 0; background: var(--bg); color: var(--text); font-size: 16px; line-height: 1.75; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button, input { font: inherit; }
button, summary { cursor: pointer; }
button { color: inherit; }
a, button, summary, input { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
.section-shell { max-width: 1240px; margin-inline: auto; padding-inline: 40px; }
.site-header { position: sticky; top: 0; z-index: 30; border-bottom: 1px solid var(--border); background: #0b0d10ed; backdrop-filter: blur(20px); }
.nav-shell { display: flex; align-items: center; justify-content: space-between; gap: 30px; max-width: 1320px; margin: auto; height: 86px; padding: 0 40px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 24px; font-weight: 720; letter-spacing: -1px; white-space: nowrap; }
.brand img { border-radius: 10px; }
.desktop-nav, .nav-tools { display: flex; align-items: center; gap: 28px; font-size: 13px; }
.desktop-nav { margin-left: auto; }
.desktop-nav a { color: var(--muted); }
.desktop-nav a:hover, .desktop-nav [aria-current] { color: var(--text); }
.nav-tools { gap: 20px; }
.nav-download { padding: 9px 18px; border: 1px solid #ffffff2b; border-radius: 8px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.nav-download span { padding-left: 10px; color: var(--accent); }
.language-picker { position: relative; font-size: 12px; }
.language-picker summary { list-style: none; white-space: nowrap; color: var(--muted); }
summary::-webkit-details-marker { display: none; }
.language-picker summary span { margin-left: 7px; }
.language-menu { position: absolute; top: 34px; right: 0; min-width: 205px; border-radius: 12px; padding: 8px; border: 1px solid #ffffff20; background: #191e25; box-shadow: 0 18px 60px #0008; }
.language-menu a { display: block; padding: 7px 12px; border-radius: 6px; }
.language-menu a:hover, .language-menu [aria-current] { background: #ffffff0a; color: var(--accent); }
.mobile-menu { display: none; }
.eyebrow { color: var(--accent); font-size: 11px; font-weight: 650; letter-spacing: 1.8px; text-transform: uppercase; }
.status-dot { width: 6px; height: 6px; border-radius: 50%; display: inline-block; background: var(--accent); margin-right: 7px; box-shadow: 0 0 14px #ffad7940; }
.hero { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; min-height: 760px; padding-top: 58px; padding-bottom: 70px; }
.hero-copy { position: relative; z-index: 2; }
.hero h1 { font-size: clamp(62px,6.6vw,88px); line-height: 1.02; font-weight: 700; letter-spacing: -4.5px; margin: 28px 0; }
.hero h1 span { color: var(--accent); }
.hero-intro { font-size: 17px; line-height: 1.9; color: var(--muted); max-width: 450px; margin: 30px 0 34px; }
.hero-actions { display: flex; align-items: center; gap: 25px; flex-wrap: wrap; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; border-radius: 9px; padding: 14px 22px; font-size: 13px; font-weight: 650; line-height: 1.5; transition: background-color .18s, border-color .18s; }
.button svg { width: 22px; height: 22px; fill: currentColor; }
.button-primary { background: var(--accent); color: #19120d; border: 1px solid var(--accent); }
.button-primary:hover { background: #ffc39d; border-color: #ffc39d; }
.button-secondary { border: 1px solid #ffffff35; background: #ffffff05; }
.button-secondary:hover { background: #ffffff0d; }
.text-link { font-size: 13px; }
.text-link span { margin-left: 8px; color: var(--accent); }
.hero-caption { display: flex; align-items: center; gap: 12px; margin-top: 65px; color: var(--quiet); font-size: 11px; letter-spacing: .6px; }
.hero-caption>span { width: 27px; height: 27px; border: 1px solid #ffffff25; border-radius: 50%; color: var(--muted); text-align: center; line-height: 25px; font-weight: 700; font-size: 13px; }
.hero-stage { position: relative; height: 610px; isolation: isolate; }
.hero-stage::before { content: ""; position: absolute; inset: 10% -20% 0; background: radial-gradient(ellipse at center,#b1713c1f,transparent 65%); z-index: -1; }
.stage-grid { position: absolute; inset: 10% -15% 5% 0; background-image: linear-gradient(#ffffff03 1px,transparent 1px),linear-gradient(90deg,#ffffff03 1px,transparent 1px); background-size: 45px 45px; mask-image: radial-gradient(ellipse,black,transparent 72%); z-index: -1; }
.hero-device { position: absolute; border: 1px solid #ffffff29; padding: 7px; background: #1c2025; border-radius: 35px; box-shadow: 0 25px 60px #0009, inset 0 0 0 2px #ffffff05; overflow: hidden; }
.app-screen { display: block; }
.app-screen img { width: 100%; height: auto; }
.hero-device .app-screen { border-radius: 28px; overflow: hidden; }
.device-library { width: 260px; left: 0; top: 0; z-index: 2; }
.device-player { width: 235px; right: -12px; top: 65px; z-index: 1; }
.stage-label { position: absolute; bottom: 2px; left: 8px; right: 0; display: flex; align-items: center; justify-content: space-between; font-size: 9px; color: var(--quiet); letter-spacing: 1.5px; }
.stage-label span:first-child { color: var(--accent); }
.feature-nav { display: grid; grid-template-columns: repeat(5,1fr); border-block: 1px solid var(--border); padding-block: 25px; gap: 25px; }
.feature-nav a { color: var(--muted); font-size: 12px; display: flex; align-items: center; gap: 13px; }
.feature-nav a:hover { color: var(--text); }
.feature-nav span { color: var(--accent); font-size: 9px; font-family: ui-monospace, monospace; }
.feature-intro { padding-block: 110px 30px; }
.feature-intro h2, .guide-cta h2 { font-size: clamp(38px,4.4vw,58px); line-height: 1.15; letter-spacing: -2px; font-weight: 600; margin: 16px 0 20px; }
.feature-intro>p:last-child { color: var(--muted); max-width: 550px; }
.feature-story { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 100px; padding-block: 70px; border-bottom: 1px solid var(--border); }
.feature-story:nth-child(even) .story-art { order: 2; }
.story-art { position: relative; height: 540px; overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius); background: #14191f; padding: 35px; }
.story-art::before { content:""; position: absolute; inset: 0; background: radial-gradient(ellipse at 70% 60%,#ffad7914,transparent 70%); }
.story-art .app-screen { position: relative; width: 260px; margin: 0 auto; border: 6px solid #272b31; border-radius: 28px; box-shadow: 0 25px 55px #0008; overflow: hidden; }
.story-art-1 { background: #141719; }
.story-art-2 { background: #141a22; }
.story-art-3 { background: #1a171b; }
.story-art-4 { background: #151c1b; }
.art-index { position: absolute; bottom: 15px; left: 23px; font-family: ui-monospace,monospace; font-size: 10px; color: #ffffff50; }
.story-copy h2 { font-size: clamp(30px,3.2vw,43px); font-weight: 600; line-height: 1.2; letter-spacing: -1.3px; margin: 20px 0 25px; }
.story-copy>p:not(.eyebrow) { color: var(--muted); font-size: 15px; }
.story-links { margin-top: 32px; }
.story-links a { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; padding: 13px 0; border-bottom: 1px solid var(--border); font-size: 13px; }
.story-links a span { color: var(--accent); flex: 0 0 auto; }
.story-links a:hover { color: var(--accent); }
.grok-feature { display: grid; grid-template-columns: .7fr 1.3fr; gap: 80px; padding-block: 100px; margin-block: 65px; border: 1px solid #ffad7920; background: linear-gradient(120deg,#1d1715,#111417 70%); border-radius: var(--radius); }
.grok-symbol { display: flex; align-items: center; justify-content: center; position: relative; min-height: 230px; }
.grok-symbol>span:last-child { display: grid; place-items: center; width: 170px; height: 170px; font-size: 100px; font-weight: 650; letter-spacing: -8px; line-height: 1; border: 1px solid #ffad7940; border-radius: 36px; color: var(--accent); background: #ffad7904; }
.grok-symbol>span:first-child { color: #ffad7970; font-size: 85px; position: absolute; top: -10px; left: calc(50% + 60px); }
.grok-feature h2 { font-size: clamp(35px,3.5vw,48px); line-height: 1.2; letter-spacing: -1.5px; margin: 20px 0; }
.grok-feature p:not(.eyebrow) { color: var(--muted); max-width: 550px; margin-bottom: 28px; }
.guide-cta { text-align: center; padding-block: 40px 115px; }
.guide-cta>p:not(.eyebrow) { color: var(--muted); margin: 0 auto 30px; max-width: 600px; }
.site-footer { max-width: 1240px; padding: 45px 40px 25px; margin: auto; border-top: 1px solid var(--border); }
.footer-top { display: flex; justify-content: space-between; gap: 40px; padding-bottom: 40px; }
.footer-top p { font-size: 12px; color: var(--quiet); margin-top: 12px; }
.footer-top nav { display: flex; gap: 28px; align-items: flex-start; font-size: 12px; color: var(--muted); padding-top: 10px; }
.footer-top nav a:hover { color: var(--text); }
.footer-bottom { display: flex; justify-content: space-between; color: var(--quiet); font-size: 10px; border-top: 1px solid var(--border); padding-top: 22px; }
/* Guide index */
.guide-index { padding-block: 70px 90px; }
.index-heading { max-width: 740px; }
.index-heading h1 { font-size: clamp(38px,4.7vw,62px); line-height: 1.2; letter-spacing: -2px; margin: 18px 0; }
.index-heading>p:last-child { color: var(--muted); }
.guide-search { position: relative; margin: 40px 0 65px; max-width: 740px; }
.guide-search>label { display: block; font-size: 12px; font-weight: 600; color: var(--muted); margin-bottom: 10px; }
.search-input { display: flex; align-items: center; border: 1px solid #ffffff25; border-radius: 11px; background: var(--surface); padding: 5px 15px; gap: 10px; }
.search-input>span { color: var(--accent); font-size: 25px; }
.search-input input { width: 100%; min-width: 0; background: transparent; border: 0; color: var(--text); padding: 13px 0; font-size: 14px; outline: none; }
.search-input:focus-within { border-color: var(--accent); }
.search-input input::-webkit-search-cancel-button { display: none; }
.search-clear { border: 0; background: none; font-size: 23px; }
.search-results { position: relative; background: var(--surface-raised); border: 1px solid var(--border); border-radius: 10px; margin-top: 8px; padding: 16px; font-size: 14px; }
.search-results a { display: block; padding: 15px 12px; border-bottom: 1px solid var(--border); }
.search-results a:last-child { border: 0; }
.search-results a:hover { background: #ffffff05; }
.search-results strong { display: block; color: var(--accent); font-size: 15px; }
.search-results a span { color: var(--muted); display: block; font-size: 12px; margin-top: 7px; }
.guide-directory>section { margin-bottom: 65px; }
.category-heading { display: flex; gap: 16px; align-items: baseline; margin-bottom: 20px; }
.category-heading>span { font: 11px ui-monospace,monospace; color: var(--accent); }
.category-heading h2 { font-size: 23px; font-weight: 550; margin: 0; }
.guide-card-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.guide-card { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 25px; display: flex; flex-direction: column; align-items: flex-start; transition: border-color .2s; }
.guide-card:hover { border-color: #ffad7950; }
.guide-card h3 { font-size: 19px; font-weight: 550; line-height: 1.45; margin-bottom: 15px; }
.guide-card p { font-size: 13px; line-height: 1.8; color: var(--muted); }
.guide-card>span { color: var(--accent); font-size: 11px; padding-top: 20px; margin-top: auto; }
.grok-index-card { display: block; padding: 35px; border: 1px solid #ffad7930; background: linear-gradient(115deg,#241b17,#13171b); border-radius: 14px; }
.grok-index-card>span { color: var(--accent); font-size: 10px; letter-spacing: 2px; }
.grok-index-card h2 { margin: 15px 0; font-size: 32px; letter-spacing: -1px; }
.grok-index-card p { color: var(--muted); max-width: 760px; font-size: 14px; }
.grok-index-card strong { color: var(--accent); font-size: 12px; }
/* Article layout */
.article-shell { max-width: 1460px; display: grid; grid-template-columns: 215px minmax(0,740px) 180px; gap: 45px; padding-block: 45px 100px; }
.article-sidebar { align-self: start; position: sticky; top: 125px; max-height: calc(100dvh - 150px); overflow-y: auto; scrollbar-width: thin; padding-right: 10px; }
.sidebar-home { color: var(--accent); font-size: 12px; display: block; margin-bottom: 24px; }
.article-navigation summary { display: none; }
.article-navigation nav h3 { color: var(--quiet); font-size: 10px; letter-spacing: .7px; font-weight: 650; margin: 26px 0 8px; }
.article-navigation nav a { display: block; font-size: 12px; line-height: 1.6; color: var(--muted); padding: 7px 10px; border-left: 1px solid var(--border); }
.article-navigation nav a:hover, .article-navigation nav a[aria-current] { color: var(--accent); border-color: var(--accent); background: #ffad7906; }
.breadcrumbs { color: var(--quiet); display: flex; flex-wrap: wrap; gap: 10px; font-size: 10px; line-height: 1.7; margin-bottom: 32px; }
.breadcrumbs a:hover { color: var(--accent); }
.article-body>h1 { font-size: clamp(33px,3.1vw,46px); line-height: 1.2; letter-spacing: -1.5px; margin: 20px 0; overflow-wrap: anywhere; }
.article-lead { color: var(--muted); font-size: 16px; line-height: 1.9; margin: 20px 0 30px; }
.article-content { font-size: 15px; line-height: 1.95; color: #c1c6cd; overflow-wrap: anywhere; }
.article-content h2 { color: var(--text); font-size: 24px; font-weight: 600; letter-spacing: -.5px; line-height: 1.45; padding-top: 35px; margin: 25px 0 20px; border-top: 1px solid var(--border); }
.article-content h3 { color: var(--text); font-size: 18px; line-height: 1.5; margin-top: 28px; }
.article-content p { margin-bottom: 20px; }
.article-content li { margin-block: 8px; }
.article-content ul, .article-content ol { padding-left: 25px; }
.article-content li::marker { color: var(--accent); }
.article-content a { color: var(--accent); text-decoration: underline; text-underline-offset: 4px; }
.article-content blockquote { border-left: 2px solid var(--accent); margin: 25px 0; padding: 12px 20px; background: #ffad7906; border-radius: 0 8px 8px 0; }
.article-content blockquote p:last-child { margin-bottom: 0; }
.article-content code { font-size: .85em; padding: 3px 6px; background: #ffffff0a; border-radius: 4px; color: #f4c8a9; }
.article-content pre { background: #141a21; border: 1px solid var(--border); border-radius: 10px; padding: 20px; overflow-x: auto; font-size: 12px; line-height: 1.8; }
.article-content pre code { background: none; padding: 0; }
.article-toc { position: sticky; top: 125px; align-self: start; max-height: calc(100dvh - 150px); overflow: auto; scrollbar-width: thin; }
.article-toc>p { font-size: 11px; color: var(--text); margin-bottom: 15px; }
.table-of-contents ul { list-style: none; padding: 0; margin: 0; }
.table-of-contents li { margin-bottom: 13px; }
.table-of-contents a { font-size: 11px; color: var(--quiet); line-height: 1.6; display: block; border-left: 1px solid var(--border); padding-left: 13px; }
.table-of-contents a:hover { color: var(--accent); border-color: var(--accent); }
.mobile-toc { display: none; }
.article-screen { margin: 40px 0; padding: 30px; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; }
.article-screen .app-screen { width: 240px; margin: auto; border: 5px solid #262c34; border-radius: 23px; overflow: hidden; }
.article-screen figcaption { font-size: 11px; text-align: center; color: var(--quiet); margin-top: 20px; }
.related-guides { border-top: 1px solid var(--border); margin-top: 40px; padding-top: 30px; }
.related-guides h2 { font-size: 20px; }
.related-guides a { display: flex; justify-content: space-between; gap: 20px; padding: 14px 0; color: var(--muted); border-bottom: 1px solid var(--border); font-size: 13px; }
.related-guides a span { color: var(--accent); }
.article-download { display: flex; gap: 15px; align-items: center; padding: 20px; border: 1px solid var(--border); background: var(--surface); margin-top: 35px; border-radius: 10px; font-size: 14px; }
.article-download img { border-radius: 10px; }
.article-download small { display: block; font-size: 10px; color: var(--quiet); }
.article-download>span:last-child { margin-left: auto; color: var(--accent); }
.legal-page { max-width: 850px; padding-block: 70px 100px; }
.legal-page h1 { font-size: 48px; letter-spacing: -1px; line-height: 1.2; margin: 20px 0 40px; }
.not-found { padding-block: 120px; min-height: 65vh; text-align: center; }
.not-found h1 { font-size: 45px; line-height: 1.3; }
.lightbox { background: transparent; color: white; border: 0; max-width: 95vw; max-height: 97dvh; padding: 25px 50px; }
.lightbox::backdrop { background: #040609ee; backdrop-filter: blur(10px); }
.lightbox img { max-height: 82dvh; width: auto; max-width: 80vw; border-radius: 15px; margin: auto; }
.lightbox p { font-size: 12px; text-align: center; margin: 15px 0 0; }
.lightbox-close { position: fixed; right: 22px; top: 18px; width: 42px; height: 42px; border: 1px solid #ffffff35; border-radius: 50%; background: #161b22; color: white; font-size: 27px; line-height: 1; }
.modal-open { overflow: hidden; }
@media (min-width: 1450px) { .hero { gap: 60px; } .device-player { right: 0; } }
@media (max-width: 1200px) {
  .nav-shell { gap: 20px; padding-inline: 28px; }.desktop-nav { gap: 20px; }.nav-tools { gap: 15px; }
  .section-shell { padding-inline: 32px; }.hero { gap: 25px; }.hero h1 { font-size: 72px; }.hero-stage { height: 570px; }
  .device-library { width: 235px; }.device-player { width: 210px; right: -5px; top: 65px; }
  .feature-story { gap: 65px; }.story-art { height: 500px; }.story-art .app-screen { width: 230px; }
  .article-shell { grid-template-columns: 195px minmax(0,740px); gap: 40px; }.article-toc { display: none; }
  .mobile-toc { display: block; margin: 30px 0; padding: 16px 20px; background: var(--surface); border: 1px solid var(--border); border-radius: 8px; }
  .mobile-toc summary { display: flex; justify-content: space-between; list-style: none; font-size: 13px; }.mobile-toc nav { padding-top: 20px; }
}
@media (max-width: 980px) {
  .desktop-nav { display: none; }.nav-tools { margin-left: auto; }.mobile-menu { display: block; }
  .mobile-menu>summary { display: grid; place-content: center; gap: 5px; width: 34px; height: 34px; list-style: none; }
  .mobile-menu>summary span { width: 20px; height: 1px; background: var(--text); }
  .mobile-menu>nav { position: absolute; top: 85px; left: 0; right: 0; padding: 20px 28px; background: #15191f; border-bottom: 1px solid #ffffff20; box-shadow: 0 20px 40px #0006; }
  .mobile-menu nav a { display: block; padding: 12px; font-size: 14px; }
  .hero h1 { font-size: 60px; letter-spacing: -3px; }.hero { min-height: 690px; }.hero-intro { font-size: 15px; }.hero-actions { gap: 20px; }
  .hero-stage { height: 515px; }.device-library { width: 210px; left: -10px; }.device-player { width: 180px; right: -10px; top: 65px; }
  .feature-nav { gap: 15px; }.feature-nav a { font-size: 10px; gap: 7px; }.feature-story { gap: 40px; }.story-copy h2 { font-size: 32px; }
  .story-art { height: 450px; padding: 30px 15px; }.story-art .app-screen { width: 210px; }.grok-feature { gap: 35px; margin-inline: 32px; }
  .footer-top { gap: 30px; }.footer-top nav { display: grid; grid-template-columns: 1fr 1fr; gap: 15px 25px; }
  .guide-card-grid { grid-template-columns: repeat(2,1fr); }.article-shell { grid-template-columns: 170px minmax(0,1fr); gap: 30px; }
}
@media (max-width: 700px) {
  /* Keep long language names inside the available mobile header space. */
  .nav-shell > .brand, .nav-tools > .mobile-menu { flex-shrink: 0; }
  .nav-tools, .language-picker { min-width: 0; }
  .language-picker summary { white-space: normal; text-align: right; }
  .section-shell { padding-inline: 22px; }.nav-shell { height: 72px; padding-inline: 20px; gap: 15px; }.brand { font-size: 22px; }.brand img { width: 32px; height: 32px; }.nav-download { display: none; }.language-picker { font-size: 11px; }.nav-tools { gap: 13px; }.mobile-menu>nav { top: 71px; }
  .hero { grid-template-columns: 1fr; padding-top: 47px; padding-bottom: 30px; gap: 45px; overflow: hidden; }.hero-copy { text-align: center; }.hero .eyebrow { font-size: 9px; }.hero h1 { font-size: clamp(49px,12vw,72px); letter-spacing: -2.5px; margin: 24px 0; }.hero-intro { font-size: 14px; max-width: 420px; margin: 25px auto; line-height: 1.85; }.hero-actions { justify-content: center; gap: 18px; }.button { font-size: 12px; padding: 13px 18px; }.text-link { font-size: 12px; }.hero-caption { display: none; }
  .hero-stage { width: min(100%,480px); height: auto; aspect-ratio: .79; margin: auto; }.hero-device { border-radius: 27px; padding: 5px; }.hero-device .app-screen { border-radius: 21px; }.device-library { width: 51%; left: 0; top: 0; }.device-player { width: 46%; right: 0; top: 40px; }.stage-label { bottom: 0; font-size: 8px; letter-spacing: .5px; }.stage-grid { inset: 0; }
  .feature-nav { display: flex; overflow-x: auto; gap: 24px; padding-block: 20px; }.feature-nav a { flex: 0 0 auto; font-size: 11px; }.feature-intro { padding-top: 70px; padding-bottom: 0; }.feature-intro h2 { font-size: 38px; }.feature-intro>p:last-child { font-size: 14px; }.feature-story { grid-template-columns: 1fr; gap: 28px; padding-block: 45px; }.feature-story .story-copy { order: 0; }.feature-story .story-art { order: 1; }.story-copy h2 { font-size: 33px; line-height: 1.3; margin: 15px 0 20px; }.story-copy>p:not(.eyebrow) { font-size: 14px; }.story-links { margin-top: 20px; }.story-art { height: 430px; padding-top: 30px; }.story-art .app-screen { width: 235px; }.story-links a { font-size: 12px; }
  .grok-feature { grid-template-columns: 1fr; gap: 25px; margin: 45px 22px; padding: 35px 25px; }.grok-symbol { min-height: 125px; justify-content: flex-start; }.grok-symbol>span:last-child { width: 105px; height: 105px; font-size: 65px; border-radius: 24px; letter-spacing: -5px; }.grok-symbol>span:first-child { top: -20px; left: 100px; font-size: 60px; }.grok-feature h2 { font-size: 34px; }.grok-feature p:not(.eyebrow) { font-size: 14px; }.guide-cta { padding-block: 25px 70px; }.guide-cta h2 { font-size: 36px; }.guide-cta>p:not(.eyebrow) { font-size: 14px; }
  .site-footer { padding: 30px 22px 25px; }.footer-top { flex-direction: column; gap: 15px; }.footer-top nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 0; }.footer-bottom { flex-wrap: wrap; gap: 15px; font-size: 9px; }
  .guide-index { padding-block: 45px 65px; }.index-heading h1 { font-size: 39px; letter-spacing: -1.5px; }.index-heading p { font-size: 14px; }.guide-search { margin-block: 30px 45px; }.search-input input { font-size: 13px; }.guide-card-grid { grid-template-columns: 1fr; gap: 12px; }.guide-card { padding: 23px; }.guide-card h3 { font-size: 20px; }.guide-card>span { padding-top: 10px; }.category-heading h2 { font-size: 21px; }.guide-directory>section { margin-bottom: 45px; }.grok-index-card { padding: 25px; }.grok-index-card h2 { font-size: 28px; }
  .article-shell { display: block; padding-block: 25px 60px; }.article-sidebar { position: static; max-height: none; overflow: visible; padding: 0; }.article-navigation { display: none; }.sidebar-home { margin-bottom: 25px; }.breadcrumbs { margin-bottom: 25px; font-size: 9px; }.article-body>h1 { font-size: 35px; letter-spacing: -1px; line-height: 1.3; }.article-lead { font-size: 14px; }.article-content { font-size: 14px; line-height: 1.95; }.article-content h2 { font-size: 22px; }.article-content pre { padding: 15px; font-size: 11px; }.article-screen { padding: 24px; }.article-screen .app-screen { width: 220px; }.article-toc { display: none; }.mobile-toc { display: block; }.legal-page { padding-block: 45px 65px; }.legal-page h1 { font-size: 36px; }.not-found h1 { font-size: 36px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* Static, localized operation diagrams; no timers or canvas. */
.hero { overflow: clip; }
.guide-diagram { margin: 24px 0; padding: 18px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); }
.guide-diagram ul { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; list-style: none; padding: 0; margin: 0; counter-reset: step; }
.guide-diagram li { margin: 0; padding: 13px; background: #ffffff04; border: 1px solid #ffffff08; border-radius: 7px; font-size: 12px; line-height: 1.65; }
.guide-diagram.quadrants { max-width: 330px; margin-inline: auto; border-radius: 26px; padding: 14px; }
.guide-diagram.quadrants li { min-height: 110px; display: grid; place-items: center; color: var(--accent); }
@media(max-width:700px) { .guide-diagram { padding: 12px; }.guide-diagram.steps ul { grid-template-columns: 1fr; } }


.table-of-contents ul ul { padding: 12px 0 0 10px; }.guide-diagram li:only-child { grid-column: 1 / -1; }
/* Actual operation screens, grouped alongside their corresponding instructions. */
.guide-shots { display:flex; flex-wrap:wrap; gap:24px; align-items:flex-start; margin:28px 0 36px; padding:24px; background:#101315; border:1px solid var(--border); border-radius:16px; }
.guide-shots figure { flex:0 1 220px; min-width:0; margin:0; }
.guide-shot { position:relative; display:block; overflow:hidden; border-radius:14px; border:1px solid #ffffff18; background:#000; }
.guide-shot img { display:block; width:100%; height:auto; }
.guide-shots figcaption { margin-top:12px; font-size:13px; color:var(--muted); line-height:1.65; }
.island-shot::after { content:""; position:absolute; pointer-events:none; left:25%; right:25%; bottom:4%; height:25%; border:1px dashed var(--accent); border-radius:16px; }
.guide-diagram.steps { padding:0; border:0; background:none; }
.guide-diagram.steps ul { display:block; padding-left:22px; list-style:disc; }
.guide-diagram.steps li { padding:4px 0; margin:4px 0; border:0; background:none; font-size:inherit; }
.guide-diagram.steps li::before { display:none; }
@media(max-width:700px) { .guide-shots { padding:14px; gap:14px; } .guide-shots figure { flex-basis:calc(50% - 7px); } .guide-shots figcaption { font-size:12px; } }

.guide-shot { cursor:zoom-in; }
@media(max-width:700px) {
  .lightbox { padding:48px 16px 20px; max-width:100vw; max-height:100dvh; }
  .lightbox img { display:block; max-width:calc(100vw - 32px); max-height:calc(100dvh - 115px); }
}
.guide-shots figure:only-child { flex-basis:260px; margin-inline:auto; }
.guide-shots figcaption::after { content:" ↗"; color:var(--accent); }

.guide-shots[data-section="info-island"] { display:grid; grid-template-columns:minmax(0,190px) minmax(0,1fr); gap:16px 24px; }
.guide-shots[data-section="info-island"] figure:first-child { grid-row:span 3; }
.guide-shots[data-section="info-island"] figure:not(:first-child) { width:min(100%,280px); }
.guide-shots[data-section="info-island"] figcaption { margin-top:7px; }
@media(max-width:700px) {
  .guide-shots[data-section="info-island"] { grid-template-columns:1fr; }
  .guide-shots[data-section="info-island"] figure:first-child { grid-row:auto; width:220px; max-width:100%; margin-inline:auto; }
  .guide-shots[data-section="info-island"] figure:not(:first-child) { width:100%; }
}

/* Desktop transfer screens need the article width for readable controls. */
.guide-shots figure.wide-shot, .guide-shots figure.wide-shot:only-child { flex-basis:100%; width:100%; }

.home-videos { padding-block:64px 80px; }
.videos-heading { max-width:700px; margin-bottom:32px; }
.videos-heading h2 { font-size:clamp(28px,4vw,46px); line-height:1.2; margin:12px 0; }
.videos-heading > p:last-child { color:var(--muted); line-height:1.7; }
.video-grid { display:grid; grid-template-columns:repeat(3,minmax(0,280px)); gap:28px; justify-content:center; }
.video-player { position:relative; aspect-ratio:9/16; overflow:hidden; border-radius:20px; border:1px solid #ffffff20; background:#08090b; }
.video-poster { display:block; width:100%; height:100%; position:absolute; inset:0; }
.video-poster[hidden] { display:none; }
.video-poster img { width:100%; height:100%; object-fit:cover; }
.video-poster::after { content:""; position:absolute; inset:0; background:linear-gradient(transparent 55%,#000a); pointer-events:none; }
.video-play { position:absolute; z-index:1; left:50%; top:50%; transform:translate(-50%,-50%); display:grid; place-items:center; padding-left:4px; width:64px; height:64px; border-radius:50%; color:#17100b; background:var(--accent); font-size:23px; box-shadow:0 4px 28px #0008; }
.video-play-label { position:absolute; z-index:1; bottom:25px; left:16px; right:16px; text-align:center; color:#fff; }
.video-player iframe { display:block; position:absolute; inset:0; width:100%; height:100%; border:0; }
.video-caption h3 { font-size:20px; margin:18px 0 8px; }
.video-caption a { color:var(--muted); font-size:13px; }
@media(max-width:700px) { .home-videos { padding-block:32px 48px; } .video-grid { grid-template-columns:minmax(0,320px); gap:32px; } }

.collection-priorities{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;padding-top:24px;padding-bottom:72px}
.collection-priorities article{padding:28px;border:1px solid rgba(255,255,255,.12);border-radius:20px;background:rgba(255,255,255,.025)}
.collection-priorities h2{font-size:clamp(21px,2vw,28px);line-height:1.3;margin:0 0 18px}
.collection-priorities h2 a{color:inherit;text-decoration:none}
.collection-priorities p{color:#b5bac3;line-height:1.75;margin:0 0 22px}
@media(max-width:900px){.collection-priorities{grid-template-columns:1fr;gap:16px;padding-bottom:48px}}
