/* Newcomer journey: a short editorial story with one working illustration. */
html { scroll-behavior: auto; }
:root { --journey-ink: #192b32; --journey-muted: #52636b; --journey-paper: #f7f7f2; --journey-accent: #244fd2; --journey-line: #d9e1df; }
.preview-notice { padding: 9px 24px; text-align: center; background: #fff4cf; color: #5b4711; font-size: 12px; line-height: 1.5; }
.newcomer a, .newcomer button, .newcomer input { transition: none; animation: none; }
.newcomer { background: var(--journey-paper); color: var(--journey-ink); }
.journey-wrap { max-width: 1184px; padding: 0 40px; margin: 0 auto; }
.section-kicker { font: 600 11px/1.6 var(--font-mono); text-transform: uppercase; letter-spacing: .1em; color: var(--journey-muted); margin: 0 0 18px; }
.newcomer-hero { display: grid; grid-template-columns: minmax(0, 2fr) minmax(210px, 1fr); gap: 72px; align-items: center; padding-top: 70px; padding-bottom: 78px; }
.hero-story h1 { font-family: Georgia, 'Times New Roman', serif; font-size: clamp(44px, 5.6vw, 72px); line-height: 1.04; font-weight: 400; letter-spacing: -.045em; margin: 0 0 28px; }
.hero-story h1 em { color: var(--journey-accent); font-style: normal; }
.hero-story-lead { font-size: 18px; line-height: 1.7; max-width: 560px; color: var(--journey-muted); margin: 0 0 12px; }
.hero-story-close { font-size: 18px; line-height: 1.7; max-width: 560px; margin: 0 0 28px; }
.journey-button { display: inline-flex; gap: 30px; align-items: center; min-height: 48px; padding: 13px 22px; background: var(--journey-accent); color: #fff; border-radius: 6px; font-weight: 600; font-size: 15px; }
.journey-button:hover { background: #183aab; color: #fff; text-decoration: none; }
.quiet-note { margin: 13px 0 0; color: var(--journey-muted); font-size: 12px; }
.hero-margin { border-left: 1px solid #b9c7c6; padding: 24px 0 24px 36px; align-self: center; }
.margin-number { font: 12px var(--font-mono); color: var(--journey-muted); }
.hero-margin p { font-size: 21px; line-height: 1.45; margin: 20px 0; }
.hero-margin .margin-answer { color: var(--journey-accent); }
.margin-rule { display: block; width: 40px; border-top: 2px solid var(--journey-accent); margin: 28px 0; }
.hero-margin .margin-footnote { font-size: 12px; color: var(--journey-muted); }
.example-section { padding: 64px 0; background: #e9efec; border-top: 1px solid var(--journey-line); border-bottom: 1px solid var(--journey-line); scroll-margin-top: 24px; }
.section-introduction { max-width: 660px; margin-bottom: 30px; }
.newcomer h2 { font: 400 clamp(31px, 3.5vw, 43px)/1.14 Georgia, 'Times New Roman', serif; letter-spacing: -.025em; margin: 0 0 18px; }
.section-introduction > p:not(.section-kicker) { color: var(--journey-muted); font-size: 16px; line-height: 1.7; max-width: 580px; }
.visit-controls { display: flex; gap: 16px; align-items: end; margin-bottom: 24px; flex-wrap: wrap; }
.visit-controls[hidden], .static-note[hidden] { display: none; }
.visit-controls fieldset { border: 0; min-width: 0; padding: 0; margin: 0; }
.visit-controls legend { font-size: 14px; font-weight: 600; margin-bottom: 10px; }
.visit-control-help { max-width: 660px; margin: 0 0 14px; color: var(--journey-muted); font-size: 14px; line-height: 1.6; }
.visit-options { display: flex; gap: 8px; flex-wrap: wrap; }
.visit-option { display: flex; align-items: center; gap: 9px; padding: 12px 15px; min-height: 48px; border: 1px solid #afbeb9; border-radius: 6px; background: #fff; color: #253942; font-size: 14px; cursor: pointer; }
.visit-option:has(input:checked) { background: #244fd2; border-color: #244fd2; color: #fff; }
.visit-option:focus-within { outline: 3px solid #173990; outline-offset: 3px; }
.visit-option input { width: 16px; height: 16px; margin: 0; accent-color: #163aab; flex: 0 0 16px; }
.visit-option input:focus-visible { outline: none; }
.visit-reset { border: 0; background: none; color: #294b68; text-decoration: underline; text-underline-offset: 3px; min-height: 44px; padding: 10px 0; margin-left: auto; cursor: pointer; font: 13px var(--font-body); }
.example-change-summary { padding: 0 0 0 12px; border-left: 2px solid var(--journey-accent); margin: 0 0 22px; color: #294b68; font-size: 13px; line-height: 1.6; }
.visit-stage { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(240px, 1fr); gap: 44px; align-items: start; }
.example-page { border: 1px solid #cbd5d1; background: #fff; border-radius: 12px; box-shadow: 0 14px 28px #2338310a; overflow: hidden; }
.example-address { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 10px; padding: 12px 16px; color: #586864; background: #f4f6f4; border-bottom: 1px solid #dce4df; }
.example-address > span:first-child { font-size: 7px; letter-spacing: 2px; color: #99aaa3; }
.example-label { margin-left: auto; text-transform: uppercase; letter-spacing: .04em; font-weight: 600; }
.example-page-intro { padding: 22px 24px 18px; }
.example-topic { display: block; color: #637168; font: 10px/1.6 var(--font-mono); letter-spacing: .08em; margin-bottom: 8px; }
.example-page h3 { font: 600 22px/1.3 var(--font-body); letter-spacing: -.03em; max-width: 380px; margin: 0; color: #233831; }
.example-cards { list-style: none; padding: 0 16px; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.example-card { min-width: 0; padding: 16px; border: 1px solid #e0e6e2; border-radius: 6px; background: #fafbf9; }
.example-card[data-first] { background: #eaf0ff; border-color: #8fa7e7; }
.example-card-label { display: block; font-size: 10px; font-weight: 600; color: #546864; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 8px; }
.example-card h4 { font-size: 15px; line-height: 1.35; color: #233831; margin: 0 0 9px; }
.example-card p { font-size: 12px; line-height: 1.65; color: #52665e; margin: 0; }
.example-next { padding: 20px 24px 24px; display: flex; flex-direction: column; gap: 4px; }
.example-next span { font-size: 10px; text-transform: uppercase; letter-spacing: .05em; color: #66796f; }
.example-next strong { font-size: 14px; font-weight: 600; color: #294b68; }
.example-explanation { padding-top: 12px; }
.example-explanation .section-kicker { font-size: 10px; margin-bottom: 14px; }
.visit-question { font: 400 30px/1.23 Georgia, 'Times New Roman', serif; letter-spacing: -.02em; margin: 0 0 24px; }
.visit-reason { border-left: 2px solid #244fd2; padding-left: 16px; font-size: 15px; line-height: 1.7; margin-bottom: 24px; min-height: 104px; }
.example-constant { font-size: 13px; line-height: 1.65; color: #3e5653; margin-bottom: 18px; }
.example-privacy { font-size: 12px; line-height: 1.65; color: #52665e; margin-bottom: 24px; }
.example-disclosure { max-width: 720px; margin: 20px 0 0; color: #52665e; font-size: 11px; line-height: 1.6; }
.static-note { border-left: 2px solid var(--journey-accent); padding: 10px 16px; font-size: 14px; line-height: 1.6; margin: 0 0 24px; }
.text-link { font-size: 14px; color: var(--journey-accent); text-decoration: underline; text-underline-offset: 4px; font-weight: 600; }
.text-link span { margin-left: 6px; }
.meaning-section { padding-top: 70px; padding-bottom: 70px; display: grid; grid-template-columns: 1fr 1.4fr; gap: 80px; }
.meaning-copy p { font-size: 16px; line-height: 1.8; margin: 0 0 18px; color: var(--journey-muted); }
.meaning-copy strong { color: var(--journey-ink); font-weight: 600; }
.fit-section { border-top: 1px solid var(--journey-line); padding-top: 62px; padding-bottom: 70px; display: grid; grid-template-columns: 1fr 1.35fr; gap: 64px; }
.problem-list { border-top: 1px solid #bfcac6; }
.problem-list details { border-bottom: 1px solid #bfcac6; }
.problem-list summary { cursor: pointer; padding: 23px 30px 23px 0; font-size: 17px; line-height: 1.4; font-weight: 500; list-style-position: inside; }
.problem-list details > div { padding: 0 18px 22px 0; }
.problem-list p { color: var(--journey-muted); font-size: 14px; line-height: 1.8; margin: 0 0 12px; }
.problem-list p:last-child { margin-bottom: 0; }
.next-section { background: #fff; border-top: 1px solid var(--journey-line); padding: 60px 0; }
.next-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
.next-links > a { color: var(--journey-ink); border-top: 2px solid #244fd2; padding: 20px 0 16px; text-decoration: none; position: relative; }
.next-links > a:hover h3 { color: var(--journey-accent); text-decoration: underline; text-underline-offset: 4px; }
.next-number { font: 11px var(--font-mono); color: #697b80; }
.next-links h3 { font-size: 18px; line-height: 1.35; margin: 20px 0 14px; max-width: 230px; }
.next-links p { font-size: 14px; line-height: 1.7; color: var(--journey-muted); max-width: 290px; padding-right: 12px; }
.next-arrow { position: absolute; top: 16px; right: 4px; font-size: 22px; color: var(--journey-accent); }
.conversation-link { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--journey-line); font-size: 14px; line-height: 1.7; color: var(--journey-muted); }
.conversation-link a { color: var(--journey-accent); text-decoration: underline; text-underline-offset: 3px; }
.journey-guide { max-width: 740px; padding: 54px 32px 80px; margin: 0 auto; color: var(--journey-ink); }
.guide-back { display: inline-block; font-size: 13px; margin-bottom: 30px; }
.journey-guide h1 { font: 400 clamp(36px, 5vw, 53px)/1.12 Georgia, 'Times New Roman', serif; letter-spacing: -.035em; margin-bottom: 16px; }
.guide-deck { font-size: 18px; color: var(--journey-muted); line-height: 1.65; margin-bottom: 36px; padding-bottom: 30px; border-bottom: 1px solid var(--journey-line); }
.guide-body > p { font-size: 17px; line-height: 1.85; margin: 0 0 22px; }
.guide-body h2 { font: 600 24px/1.35 var(--font-body); letter-spacing: -.02em; margin: 42px 0 18px; }
.guide-body a { text-decoration: underline; text-underline-offset: 3px; }
.guide-body ul { padding-left: 20px; }
.guide-body li { font-size: 16px; line-height: 1.75; margin-bottom: 16px; }
.guide-next { border-top: 1px solid var(--journey-line); margin-top: 44px; padding-top: 28px; }
.guide-next a { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 15px 0; font-size: 15px; border-bottom: 1px solid var(--journey-line); text-decoration: none; }
@media (max-width: 850px) {
  .newcomer-hero { gap: 30px; padding-top: 48px; padding-bottom: 54px; }
  .hero-margin { padding-left: 24px; }
  .hero-margin p { font-size: 18px; }
  .visit-stage { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .example-explanation { max-width: 620px; }
  .visit-question { font-size: 27px; }
  .visit-reason { min-height: 0; }
  .meaning-section, .fit-section { gap: 30px; }
}
@media (max-width: 600px) {
  .journey-wrap { padding-left: 22px; padding-right: 22px; }
  .newcomer-hero { display: block; padding-top: 38px; padding-bottom: 44px; }
  .hero-story h1 { font-size: 47px; }
  .hero-story-lead, .hero-story-close { font-size: 16px; }
  .hero-margin { display: none; }
  .example-section { padding: 40px 0; }
  .newcomer h2 { font-size: 33px; }
  .visit-controls { gap: 8px; }
  .visit-controls fieldset { width: 100%; }
  .visit-options { display: grid; grid-template-columns: 1fr; }
  .visit-option { padding: 11px 14px; }
  .visit-reset { margin-left: 0; }
  .example-cards { grid-template-columns: 1fr; padding: 0 12px; }
  .example-page-intro { padding: 20px; }
  .example-card { padding: 15px; }
  .example-card p { font-size: 13px; }
  .example-page h3 { font-size: 22px; }
  .example-disclosure { font-size: 12px; }
  .meaning-section, .fit-section { display: block; padding-top: 42px; padding-bottom: 42px; }
  .meaning-copy { margin-top: 26px; }
  .problem-list { margin-top: 30px; }
  .next-section { padding: 42px 0; }
  .next-links { grid-template-columns: 1fr; gap: 14px; }
  .next-links h3 { margin-top: 12px; max-width: none; }
  .next-links p { max-width: none; }
  .journey-guide { padding: 38px 22px 54px; }
  .journey-guide h1 { font-size: 38px; }
}
@media (prefers-reduced-motion: reduce) {
  .newcomer *, .newcomer *::before, .newcomer *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* Reference pages retain an obvious route back to a useful question. */
.reference-navigation { max-width: 1184px; margin: 24px auto 0; padding: 16px 24px; border: 1px solid #d9e1df; border-left: 3px solid #244fd2; background: #f3f6f3; color: #52636b; font-size: 13px; line-height: 1.7; }
.reference-navigation p { margin: 0 0 10px; }
.reference-navigation strong { color: #192b32; margin-right: 8px; }
.reference-navigation nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.reference-navigation a { display: inline-flex; align-items: center; min-height: 44px; color: #244fd2; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 600px) { .reference-navigation { margin: 18px 16px 0; padding: 14px 16px; } }

.reference-next { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 24px; margin: 20px 0; font-size: 14px; }
.reference-next a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: underline; text-underline-offset: 3px; }
.reference-updates { border-top: 1px solid var(--border-default); margin-top: 18px; padding-top: 10px; }
.reference-updates summary { cursor: pointer; font-size: 14px; padding: 12px 0; }
.preview-form-note { font-size: 13px; line-height: 1.7; color: #5b4711; background: #fff4cf; padding: 10px 14px; margin: 12px auto 20px; max-width: 470px; }

.anchor-alias { display:block; scroll-margin-top:24px; }
.preview-resource-note { max-width:1104px; margin:24px auto; padding:18px 24px; background:#fff4cf; color:#51451f; font-size:14px; line-height:1.7; border:1px solid #e7dba5; }
.preview-resource-note a { text-decoration:underline; text-underline-offset:3px; }

@media (max-width: 600px) {
  .reference-navigation nav { gap: 4px 16px; }
  .reference-navigation nav a:first-child { flex-basis: 100%; }
  .reference-navigation nav a { font-size: 12px; }
}
.article-mobile-toc { display: none; }
@media (max-width: 1024px) {
  .article-mobile-toc { display: block; margin: 0 0 28px; padding: 0 16px; border: 1px solid #cbd5d1; border-radius: 5px; background: #f3f6f3; }
  .article-mobile-toc summary { cursor: pointer; padding: 14px 0; font-size: 14px; line-height: 1.5; color: #244fd2; font-weight: 600; }
  .article-mobile-toc ul { list-style: none; padding: 0 0 12px; margin: 0; }
  .article-mobile-toc li { margin: 0; }
  .article-mobile-toc a { display: flex; align-items: center; min-height: 44px; font-size: 14px; line-height: 1.6; padding: 6px 0; text-underline-offset: 3px; }
}

/* Keep comparison tables readable without widening the whole phone page. */
.article { min-width: 0; width: 100%; }
.article-table-container { margin: 24px 0; min-width: 0; max-width: 100%; }
.article-table-scroll { min-width: 0; max-width: 100%; overflow-x: auto; border: 1px solid var(--border-default); border-radius: 5px; }
.article-table-scroll:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.article-table-scroll table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.65; }
.article-table-scroll th, .article-table-scroll td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--border-default); }
.article-table-scroll th { background: var(--bg-surface); font-weight: 600; }
.article-table-scroll tr:last-child td { border-bottom: 0; }
.article p.table-scroll-hint { display: none; }
@media (max-width: 600px) { .article p.table-scroll-hint { display: block; margin: 0 0 8px; font-size: 12px; color: var(--text-secondary); } }
