@font-face { font-family: 'Local Serif'; src: local('Georgia'); font-display: swap; }
:root { color-scheme: light; --paper: #f8f6ef; --ink: #243f36; --muted: #647068; --line: #d9dfd4; --orange: #b84e2d; --green: #265743; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 16px/1.65 'Trebuchet MS', Arial, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-underline-offset: 5px; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--orange); outline-offset: 6px; border-radius: 3px; }
h1, h2, p, figure { margin: 0; }
h1, h2 { font-family: 'Local Serif', Georgia, serif; font-weight: 400; letter-spacing: -0.045em; line-height: 1.08; text-wrap: balance; }
h1 em, h2 em { color: var(--green); font-weight: 400; }
.skip-link { position: absolute; top: 8px; left: 8px; padding: 12px 20px; background: var(--ink); color: white; z-index: 10; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.site-header, .site-footer { max-width: 1280px; margin: auto; padding: 27px 48px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-header { border-bottom: 1px solid var(--line); }
.site-header nav { display: flex; align-items: center; gap: 32px; font-size: 13px; font-weight: 600; }
.site-header nav a { text-decoration: none; }
.site-header nav a:hover { text-decoration: underline; }
.nav-app { padding: 10px 17px; border: 1px solid var(--ink); border-radius: 6px; }
.nav-app span { margin-left: 13px; }
.overline { font-size: 10px; letter-spacing: 0.16em; font-weight: 700; line-height: 1.6; }
.little-dot, .caption-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); margin-right: 8px; }
.welcome-hero { max-width: 1184px; margin: auto; padding: 79px 32px 0; text-align: center; }
.welcome-hero h1 { font-size: clamp(44px, 5.7vw, 77px); margin: 24px 0; }
.hero-description { color: var(--muted); font-size: 17px; max-width: 700px; margin: auto; }
.hero-actions { display: flex; align-items: center; justify-content: center; gap: 28px; margin-top: 29px; }
.action-link { display: inline-flex; align-items: center; justify-content: center; gap: 25px; min-height: 48px; padding: 13px 22px; border: 1px solid var(--green); border-radius: 6px; background: var(--green); color: #fffdf6; font-size: 13px; font-weight: 600; text-decoration: none; transition: background 160ms, transform 160ms; }
.action-link:hover { background: #193f30; transform: translateY(-2px); }
.action-link span { font-size: 19px; line-height: 1; }
.text-link { display: inline-flex; align-items: center; gap: 16px; font-size: 13px; font-weight: 600; text-decoration: underline; text-decoration-color: #84968a; text-underline-offset: 6px; }
.text-link:hover { color: var(--orange); }
.hero-footnote { margin-top: 18px; color: var(--muted); font-size: 11px; }
.story-invitation { display: flex; justify-content: space-between; gap: 16px; margin-top: 75px; padding: 21px 0; border-top: 1px solid var(--line); font-size: 9px; letter-spacing: 0.14em; color: var(--muted); }
.story { max-width: 1184px; margin: auto; padding: 0 32px; }
.story-progress { position: sticky; top: 0; z-index: 3; display: flex; justify-content: center; gap: 48px; padding: 19px 10px; background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.story-progress a { display: flex; align-items: center; gap: 8px; padding: 3px 0; color: var(--muted); font-size: 12px; font-weight: 600; text-decoration: none; border-bottom: 2px solid transparent; transition: color 180ms, border-color 180ms; }
.story-progress a span { font-size: 10px; }
.story-progress a[aria-current] { color: var(--ink); border-color: var(--orange); }
.story-chapter { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; min-height: 700px; padding: 74px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 5px; }
.story-picture { min-width: 0; border-radius: 10px; overflow: hidden; background: #e7eddf; border: 1px solid #243f360b; transform: translateY(0); transition: transform 700ms ease; }
.picture-preview { background: #f3e8d8; }
.picture-collect { background: #e1ebea; }
.story-picture img { display: block; width: 100%; height: auto; aspect-ratio: 5 / 4; object-fit: contain; }
.story-picture figcaption { padding: 17px 15px; font-size: 10px; text-align: center; border-top: 1px solid #243f3612; letter-spacing: 0.015em; }
.caption-dot { width: 5px; height: 5px; background: var(--green); margin-bottom: 1px; }
.chapter-copy { max-width: 460px; }
.chapter-copy .overline { color: var(--orange); }
.chapter-copy .overline span { margin: 0 9px; color: #a9aca1; }
.chapter-copy h2 { font-size: clamp(35px, 4vw, 52px); margin: 21px 0 24px; }
.chapter-copy > p:not(.overline) { color: var(--muted); font-size: 15px; margin: 14px 0; }
.plain-note { display: flex; gap: 13px; padding: 16px 0; margin: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 12px; }
.plain-note > span { color: var(--orange); font-size: 23px; line-height: 1.2; }
.plain-note strong { font-weight: 600; }
.guide-invitation { max-width: 1120px; margin: 35px auto 0; padding: 62px 46px; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; background: #e8eddf; border-radius: 8px; }
.guide-invitation h2 { font-size: 38px; margin-top: 16px; }
.guide-invitation > div > p:not(.overline) { font-size: 15px; color: #4b6052; margin-bottom: 24px; }
.closing-note { text-align: center; max-width: 850px; margin: auto; padding: 105px 24px 95px; }
.closing-note h2 { font-size: clamp(36px, 4.9vw, 61px); margin: 22px 0 30px; }
.closing-note > p:last-child { font-size: 12px; color: var(--muted); margin-top: 17px; }
.site-footer { padding-top: 28px; padding-bottom: 35px; border-top: 1px solid var(--line); }
.site-footer > p, .site-footer > a:last-child { font-size: 11px; color: var(--muted); }
.guide-hero { max-width: 1120px; margin: auto; padding: 72px 32px 64px; border-bottom: 1px solid var(--line); }
.guide-hero h1 { font-size: clamp(38px, 5vw, 64px); margin: 20px 0 23px; }
.guide-hero > p:not(.overline) { max-width: 650px; color: var(--muted); font-size: 17px; margin-bottom: 24px; }
.guide-layout { max-width: 1120px; margin: auto; padding: 54px 32px 90px; display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 65px; align-items: start; }
.guide-nav { display: grid; gap: 12px; position: sticky; top: 30px; font-size: 13px; }
.guide-nav .overline { margin-bottom: 8px; color: var(--muted); }
.guide-nav a { text-decoration: none; padding: 7px 0; }
.guide-nav a:hover { color: var(--orange); text-decoration: underline; }
.guide-nav a span { color: var(--orange); margin-right: 12px; font-size: 10px; }
.guide-nav a:nth-last-child(2) { border-top: 1px solid var(--line); padding-top: 20px; margin-top: 12px; }
.guide-content { min-width: 0; }
.guide-section { padding-bottom: 44px; margin-bottom: 44px; border-bottom: 1px solid var(--line); }
.guide-section .overline { color: var(--orange); }
.guide-section h2 { font-size: 34px; margin: 16px 0 22px; }
.guide-section > p:not(.overline) { color: #4e6056; margin: 20px 0; }
.guide-section strong { color: var(--ink); }
.guide-steps { padding-left: 23px; margin: 22px 0; color: #4e6056; }
.guide-steps li { padding-left: 9px; margin: 14px 0; }
.guide-steps li::marker { color: var(--orange); font-size: 13px; font-weight: 700; }
.guide-example { border-left: 3px solid #83a17a; padding: 21px 24px; background: #eaf0e2; margin: 26px 0; font-size: 14px; }
.guide-example p { margin-top: 7px; color: #4e6056; }
.word-list { margin: 24px 0; }
.word-list > div { display: grid; grid-template-columns: 130px 1fr; gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.word-list dt { font-size: 14px; font-weight: 700; }
.word-list dd { margin: 0; color: #4e6056; font-size: 14px; }
.guide-question { border-bottom: 1px solid var(--line); }
.guide-question summary { list-style: none; padding: 20px 35px 20px 0; cursor: pointer; font-size: 15px; font-weight: 600; position: relative; }
.guide-question summary::-webkit-details-marker { display: none; }
.guide-question summary::after { content: '+'; position: absolute; right: 7px; top: 16px; color: var(--orange); font-size: 23px; font-weight: 400; }
.guide-question[open] summary::after { content: '−'; }
.guide-question p { color: #4e6056; padding-bottom: 24px; font-size: 14px; }
.guide-finish h2 { font-size: 33px; }
.guide-finish p { margin: 15px 0 22px; color: var(--muted); }
@media (min-width: 761px) and (prefers-reduced-motion: no-preference) { .chapter-seen .story-picture { transform: translateY(-8px); } }
@media (max-width: 1000px) { .guide-layout { grid-template-columns: 180px minmax(0, 1fr); gap: 35px; } .guide-invitation { margin-left: 32px; margin-right: 32px; } .story-chapter { min-height: 620px; } }
@media (max-width: 760px) {
  html { scroll-padding-top: 90px; }
  .site-header, .site-footer { padding: 20px 24px; gap: 15px; }
  .site-header nav { gap: 18px; font-size: 12px; }
  .site-header .nav-story { display: none; }
  .nav-app { padding: 9px 12px; }
  .nav-app span { margin-left: 6px; }
  .welcome-hero { padding: 56px 24px 0; }
  .welcome-hero h1 { font-size: clamp(36px, 7.2vw, 53px); }
  .hero-description { font-size: 15px; max-width: 440px; }
  .desktop-break { display: none; }
  .hero-actions { gap: 20px; }
  .hero-footnote { max-width: 270px; margin: 20px auto 0; }
  .story-invitation { margin-top: 50px; justify-content: center; font-size: 8px; }
  .story-invitation span:last-child { display: none; }
  .story { padding: 0 24px; }
  .story-progress { gap: 23px; padding: 15px 0; }
  .story-progress a { font-size: 11px; gap: 5px; }
  .story-chapter { grid-template-columns: minmax(0, 1fr); gap: 30px; padding: 42px 0; min-height: 0; }
  .story-picture { max-width: 530px; width: 100%; margin: auto; }
  .chapter-copy { max-width: 530px; margin: auto; width: 100%; }
  .chapter-copy h2 { margin: 15px 0 20px; font-size: 40px; }
  .chapter-copy h2 br { display: none; }
  .chapter-copy h2 em::before { content: ' '; }
  .guide-invitation { margin: 25px 24px 0; grid-template-columns: minmax(0, 1fr); gap: 25px; padding: 33px 27px; }
  .guide-invitation h2 { font-size: 34px; }
  .closing-note { padding: 70px 24px; }
  .site-footer { flex-wrap: wrap; font-size: 11px; }
  .site-footer p { display: none; }
  .guide-hero { padding: 48px 24px 40px; }
  .guide-hero > p:not(.overline) { font-size: 15px; }
  .guide-layout { grid-template-columns: minmax(0, 1fr); gap: 40px; padding: 28px 24px 60px; }
  .guide-nav { position: static; grid-template-columns: 1fr 1fr; gap: 10px 15px; border-bottom: 1px solid var(--line); padding-bottom: 24px; font-size: 12px; }
  .guide-nav .overline { grid-column: 1 / -1; }
  .guide-nav a:nth-last-child(2) { border: 0; padding-top: 7px; margin: 0; }
  .guide-section { margin-bottom: 32px; padding-bottom: 32px; }
  .guide-section h2 { font-size: 30px; }
  .guide-section > p, .guide-steps { font-size: 15px; }
  .word-list > div { grid-template-columns: 100px 1fr; gap: 12px; }
}
@media (max-width: 380px) {
  .site-header, .site-footer { padding-left: 17px; padding-right: 17px; }
  .site-header nav { gap: 12px; font-size: 11px; }
  .hero-actions { flex-direction: column; gap: 20px; }
  .story-progress { gap: 15px; }
  .story-progress a { font-size: 10px; }
  .guide-hero, .guide-layout, .welcome-hero { padding-left: 20px; padding-right: 20px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
