:root { color-scheme: light dark; --bg: #F7F6FC; --surface: #FFFFFF; --label: #14122B; --secondary: #514E6E; --tertiary: #6B6687; --accent: #5D55E8; --accent-soft: #E9E6FC; --hairline: rgba(46,42,107,.12); --card-edge: rgba(46,42,107,.1); --focus: #5D55E8; }
@media (prefers-color-scheme: dark) { :root { --bg: #0B0A13; --surface: #1B1A29; --label: #F5F4FF; --secondary: #BCB9D6; --tertiary: #ACA6C8; --accent: #AAA2FF; --accent-soft: #2A2757; --hairline: rgba(200,196,255,.14); --card-edge: rgba(200,196,255,.12); --focus: #AAA2FF; } }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 24px; }
body { margin: 0; color: var(--label); background: var(--bg); font-family: -apple-system,BlinkMacSystemFont,"Helvetica Neue","Segoe UI",sans-serif; font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
a { color: var(--accent); text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; border-radius: 4px; }
.site-header { max-width: 1040px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: max(24px, env(safe-area-inset-top)) 24px 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 700; letter-spacing: -.5px; text-decoration: none; color: var(--label); }
.header-download { font-size: 14px; font-weight: 600; text-decoration: none; padding: 10px 0; }
.article-main { max-width: 808px; padding: 12px 24px 80px; margin: 0 auto; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 10px; margin: 8px 0 50px; color: var(--tertiary); font-size: 13px; }
.breadcrumbs a { text-decoration: none; color: var(--secondary); }
.article-header h1 { font-size: clamp(36px, 6vw, 58px); line-height: 1.05; letter-spacing: -2px; margin: 0 0 24px; font-weight: 730; text-wrap: balance; }
.article-lede { font-size: 20px; line-height: 1.6; color: var(--secondary); margin: 0 0 24px; }
.byline { color: var(--tertiary); font-size: 13px; margin: 0 0 32px; }
.byline a { color: inherit; }
.article-toc { border-block: 1px solid var(--hairline); padding: 20px 0; display: flex; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 40px; font-size: 14px; }
.article-toc span { width: 100%; font-weight: 650; color: var(--label); }
.article-body section { margin: 0 0 44px; }
.article-body h2, .related-guides h2 { margin: 0 0 18px; font-size: 28px; line-height: 1.2; letter-spacing: -.7px; }
.article-body p { margin: 0 0 18px; color: var(--secondary); }
.article-body strong { color: var(--label); font-weight: 650; }
.article-body ul, .article-body ol { padding-left: 26px; color: var(--secondary); }
.article-body li { padding-left: 4px; margin: 0 0 13px; }
.article-body li::marker { color: var(--accent); font-weight: 650; }
.example-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.example { background: var(--surface); border: 1px solid var(--card-edge); border-radius: 18px; padding: 24px; margin: 4px 0 20px; }
.example-label { display: block; margin-bottom: 14px; color: var(--accent); font-size: 11px; font-weight: 650; line-height: 16px; text-transform: uppercase; letter-spacing: 1.1px; }
.example p { color: var(--label); font-size: 19px; line-height: 1.55; margin: 0; }
.article-cta { background: var(--accent-soft); border-radius: 24px; padding: 32px; margin: 50px 0; }
.article-cta h2 { font-size: 32px; line-height: 1.15; letter-spacing: -1px; margin: 0 0 16px; }
.article-cta > p { color: var(--secondary); }
.btn { display: inline-flex; align-items: center; justify-content: center; color: #FFF; background: linear-gradient(#655CF0,#5148D6); border: 1px solid rgba(255,255,255,.2); border-radius: 14px; padding: 14px 22px; min-height: 52px; font-size: 16px; line-height: 24px; font-weight: 650; text-align: center; text-decoration: none; }
.btn:hover { background: #5148D6; text-decoration: none; }
.fine { font-size: 12px; line-height: 20px; margin-bottom: 0; }
.related-guides { border-top: 1px solid var(--hairline); padding-top: 30px; }
.related-guides ul { padding-left: 20px; }
.related-guides li { margin: 12px 0; }
footer { border-top: 1px solid var(--hairline); padding: 28px 24px max(28px, env(safe-area-inset-bottom)); display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 16px 32px; color: var(--tertiary); font-size: 13px; line-height: 20px; }
footer .brand { font-size: 15px; }
footer nav { display: flex; gap: 16px; }
footer a { text-decoration: none; }
@media (max-width: 540px) { .site-header { padding-inline: 20px; } .header-download { font-size: 12px; } .article-main { padding-inline: 22px; } .breadcrumbs { margin-bottom: 32px; } .article-header h1 { letter-spacing: -1.3px; } .article-lede { font-size: 18px; } .example-pair { grid-template-columns: 1fr; gap: 0; } .article-cta { padding: 24px; } .article-cta .btn { width: 100%; } }

footer nav { flex-wrap: wrap; justify-content: center; }

/* Long-form examples and the shared conversation directory. No font download. */
.article-main { overflow-wrap: anywhere; }
.article-body h3 { font-size: 20px; line-height: 1.35; margin: 26px 0 12px; }
.article-body .example-label { font-size: 12px; margin: 0 0 14px; }
.example blockquote { margin: 0; }
.fiction-note { font-size: 14px; padding-left: 16px; border-left: 3px solid var(--accent); }
.article-body .guide-directory { list-style: none; padding: 0; }
.guide-directory li { padding: 18px 0; margin: 0; border-bottom: 1px solid var(--hairline); }
.guide-directory h3 { margin: 0 0 8px; }
.guide-directory p { margin: 0; font-size: 16px; }
.comparison-wrap { overflow-x: auto; margin: 24px 0; border: 1px solid var(--hairline); border-radius: 14px; }
.comparison { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.55; min-width: 560px; }
.comparison th, .comparison td { text-align: left; vertical-align: top; padding: 16px; border-bottom: 1px solid var(--hairline); }
.comparison th { color: var(--label); font-weight: 650; }
.comparison thead { background: var(--accent-soft); }
.comparison td { color: var(--secondary); }
.comparison tr:last-child td, .comparison tr:last-child th { border-bottom: 0; }
@media print { .site-header, footer, .article-toc, .article-cta { display: none; } .article-main { max-width: none; padding: 0; } .comparison-wrap { overflow: visible; } .comparison { min-width: 0; } }

/* Current official App Store artwork; no remote image request or script. */
.app-image-strip { display: flex; gap: 18px; overflow-x: auto; padding: 4px 2px 18px; margin: 20px 0 32px; }
.app-image-strip figure { flex: 0 0 180px; margin: 0; }
.app-image-strip img { display: block; width: 180px; height: auto; border-radius: 14px; }
.app-image-strip figcaption { font-size: 13px; line-height: 1.5; margin-top: 10px; color: var(--secondary); }
.app-image-strip:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.comparison.facts-table { min-width: 0; }
.facts-table th:first-child { width: 34%; }
/* Narrow screens: show comparison rows as stacked cards so every column stays visible without sideways scrolling. */
@media (max-width: 600px) {
  .comparison:not(.facts-table) { min-width: 0; }
  .comparison:not(.facts-table) thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
  .comparison:not(.facts-table) tr { display: block; padding: 16px; border-bottom: 1px solid var(--hairline); }
  .comparison:not(.facts-table) tbody tr:last-child { border-bottom: 0; }
  .comparison:not(.facts-table) th, .comparison:not(.facts-table) td { display: block; padding: 0; border: 0; }
  .comparison:not(.facts-table) tbody th { margin-bottom: 10px; }
  .comparison:not(.facts-table) td + td { margin-top: 10px; }
  .comparison:not(.facts-table) td[data-label]::before { content: attr(data-label); display: block; font-size: 12px; font-weight: 650; letter-spacing: .04em; text-transform: uppercase; color: var(--accent); margin-bottom: 2px; }
}
