/* Final home presentation. Shared editor, guest game and PDF styles stay in their own sheets. */
#home-intro { max-width:1180px; padding:36px 0 40px; }
#home-intro .home-start { grid-template-columns:minmax(0,1.15fr) minmax(370px,1fr); gap:clamp(28px,5vw,68px); }
#home-title { max-width:580px; font-size:clamp(44px,4.8vw,64px); line-height:1.07; letter-spacing:-1.8px; text-wrap:balance; margin-bottom:22px; }
.home-copy .intro-copy { max-width:490px; font-size:18px; line-height:1.65; }
.home-copy .price-copy { max-width:470px; margin:22px 0 0; font-size:15px; line-height:1.6; }
.home-copy .price-copy strong { display:block; font-size:17px; margin-bottom:4px; }
#home-intro .penny-start { padding:18px 24px 6px; border-color:#d3dbc9; background:linear-gradient(155deg,#f9faf3,#f1f4e9); box-shadow:0 8px 30px #42513b06; }
#home-intro .home-voice-heading { gap:8px; margin-bottom:8px; }
#home-intro .home-voice-heading p { font-size:13px; line-height:1.4; }
.home-start-question { font:400 27px/1.2 Georgia,serif; text-wrap:balance; margin:0 0 10px; letter-spacing:-.4px; }
.home-start-help { font-size:14px; line-height:1.55; color:var(--muted); max-width:350px; margin:16px auto 10px; }
.home-start-help strong { display:block; font-weight:600; }
.home-start-help span { display:block; margin-top:4px; }
#home-intro .home-microphone { width:112px; height:112px; margin:14px auto 6px; }
#home-intro .home-mic-invitation { margin-top:8px; }
#home-intro .home-mic-invitation p { font-size:21px; }
#home-intro .home-mic-invitation svg { width:40px; height:30px; left:calc(50% + 65px); top:-24px; }
#home-intro #home-write-start { margin:10px auto 0; padding:10px 24px; font-size:15px; color:var(--blue); border-color:#b8c7b2; background:#fffdf8; }
#home-intro #home-write-start:hover { background:#e7eddf; }
.home-method-note { margin:0 0 14px; color:var(--muted); font-size:12px; line-height:1.5; }
.home-start-example { margin:0 auto 10px; max-width:330px; color:#52645b; font-size:13px; line-height:1.55; }
.home-entry-save-status { display:none; margin:8px 0 14px; font-size:13px; line-height:1.5; color:var(--muted); text-align:left; }
.penny-start:is([data-entry-mode="text"],[data-entry-mode="voice"],[data-entry-mode="recovery"]) .home-entry-save-status:not(:empty) { display:block; }
.home-saving-notice { margin-top:18px; padding:12px 0 0; border-top:1px solid var(--line); font-size:14px; line-height:1.6; color:var(--muted); }
.home-saving-notice a { color:var(--blue); text-underline-offset:3px; }
.library-saving .draft-saving { margin-bottom:24px; }
.library-saving #account-logout { display:none; }
.home-size-options { text-align:left; border-top:1px solid #d6ddcf; }
.home-size-options > summary { padding:12px 0; font-size:13px; line-height:1.5; min-height:44px; color:#425843; }
.home-size-options > p { font-size:13px; line-height:1.5; margin:0 0 10px; color:var(--muted); }
#home-intro .home-clue-scope { margin:0 0 12px; }
#home-intro .home-clue-scope button { min-height:48px; }
#home-intro .home-audio-note { margin:4px 0; font-size:12px; }
#home-intro .home-audio-note .text-button { min-height:32px; }
#home-intro .home-manual-start { margin-top:0; }
#home-intro .home-manual-start > summary { font-size:13px; padding:10px 0; }
#home-intro #home-story-text-panel textarea { font-size:16px; }
.penny-start[data-entry-mode="voice"] :is(.home-start-question,.home-start-help,.home-method-note,.home-start-example),
.penny-start[data-entry-mode="recovery"] :is(.home-start-question,.home-start-help,.home-method-note,.home-start-example) { display:none; }
:is(#home-intro,#home-example,#home-information,#home-resume) .secondary { color:var(--blue); background:#fffdf8; border-color:#c8d2c4; }
:is(#home-intro,#home-example,#home-information,#home-resume) .secondary:hover { background:#e8eee3; }
#home-example .home-example-content { grid-template-columns:minmax(0,1.12fr) minmax(0,1fr); gap:clamp(28px,5vw,64px); }
#home-example .sample-card { max-width:470px; }
#home-example .sample-sheet { border:1px solid #ddd9cc; box-shadow:0 14px 36px #263b3514; }
#home-example .example-story blockquote p { font-size:clamp(21px,2vw,25px); line-height:1.45; }
#home-information .home-formats { gap:26px; }
.home-format { min-width:0; display:grid; grid-template-columns:minmax(150px,.85fr) minmax(0,1fr); gap:20px; align-items:center; }
.home-format-visual { display:flex; align-items:center; justify-content:center; height:300px; padding:14px; overflow:hidden; border:1px solid #d5dbce; border-radius:16px; background:#e9eddf; position:relative; }
.home-format-visual::after { content:'↗'; display:grid; place-items:center; position:absolute; right:12px; bottom:12px; width:36px; height:36px; border:1px solid #c4cebb; border-radius:50%; color:var(--blue); background:#fffdf8; }
.home-format-visual img { display:block; height:auto; box-shadow:0 9px 25px #263b351c; transition:transform .2s ease; }
.home-format-visual:hover img { transform:translateY(-4px); }
.home-format-paper img { width:auto; height:100%; max-width:100%; object-fit:contain; border:1px solid #ddd9cc; }
.home-format-mobile img { width:auto; height:100%; max-width:100%; border:4px solid #263b35; border-radius:18px; }
#home-information .home-format h3 { font-size:18px; }
#home-information .home-format p { margin-bottom:0; }
#home-information .home-offer { padding:32px; margin:10px auto 28px; border:1px solid #d1d9c7; border-radius:18px; background:#edf1e5; }
#home-information .home-offer h2 { margin-bottom:16px; }
#home-information .home-offer .button { font-size:15px; padding:12px 20px; }
#home-information .home-guides { gap:12px; }
#home-information .home-guides a { transition:background .15s ease,border-color .15s ease; }
#home-information .home-guides a:hover { background:#edf2e6; border-color:#9dac91; }
#home-information .home-guides strong { display:flex; justify-content:space-between; align-items:center; gap:12px; }
#home-information .home-guides strong span { color:var(--blue); font-size:20px; }
#home-information .home-faq details p { max-width:760px; }
@media(max-width:1000px) and (min-width:761px) {
  #home-intro .home-start { grid-template-columns:minmax(0,1fr) minmax(340px,1fr); gap:28px; }
  #home-intro .penny-start { padding-inline:18px; }
  #home-title { font-size:46px; }
  #home-information .home-formats { grid-template-columns:1fr; }
  .home-format { grid-template-columns:minmax(180px,.7fr) minmax(0,1fr); gap:28px; }
}
@media(max-width:760px) {
  #home-intro { padding:18px 0 26px; }
  #home-intro .home-start { grid-template-columns:1fr; gap:18px; }
  #home-title { max-width:540px; font-size:clamp(34px,9.3vw,44px); line-height:1.08; margin-bottom:12px; letter-spacing:-1px; }
  .home-copy .intro-copy { max-width:550px; font-size:16px; line-height:1.5; margin:0; }
  .home-copy .price-copy { font-size:13px; line-height:1.45; margin:12px 0 0; }
  .home-copy .price-copy strong { font-size:15px; margin-bottom:2px; }
  #home-intro .penny-start { display:grid; grid-template-columns:108px minmax(0,1fr); grid-template-areas:"heading heading" "question question" "voice invitation" "voice write" "help help" "example example" "method method" "text text" "saving saving" "size size" "audio audio" "manual manual"; column-gap:10px; padding:12px 18px 4px; }
  #home-intro .home-voice-heading { grid-area:heading; }
  .home-start-question { grid-area:question; }
  #home-voice-area { grid-area:voice; align-self:center; }
  #home-intro .home-mic-invitation { grid-area:invitation; align-self:end; margin:6px 0 4px; width:100%; padding:0; }
  #home-intro .home-mic-invitation svg { display:none; }
  #home-intro #home-write-start { grid-area:write; align-self:start; justify-self:center; }
  .home-method-note { grid-area:method; }
  .home-start-help { grid-area:help; }
  #home-story-text-panel { grid-area:text; }
  .home-entry-save-status { grid-area:saving; }
  .home-start-example { grid-area:example; }
  .home-size-options { grid-area:size; }
  #home-intro .home-audio-note { grid-area:audio; }
  #home-intro .home-manual-start { grid-area:manual; }
  #home-intro .penny-start[data-entry-mode="voice"] { grid-template-areas:"heading heading" "voice voice" "write write" "text text" "saving saving" "size size" "audio audio" "manual manual"; }
  .penny-start:has(#home-voice-start[hidden]) #home-write-start { grid-column:1 / -1; }
  #home-intro .home-voice-heading { margin-bottom:4px; }
  #home-intro .home-voice-heading .penny-avatar { width:32px; height:36px; flex-basis:32px; }
  .home-start-question { font-size:24px; margin-bottom:8px; }
  .home-start-help { font-size:13px; line-height:1.5; margin:14px auto 10px; max-width:390px; }
  #home-intro .home-microphone { width:92px; height:92px; margin:10px auto 6px; }
  #home-intro .home-mic-invitation p { font-size:19px; }
  #home-intro #home-write-start { margin-top:4px; font-size:14px; padding:10px 18px; }
  .home-method-note { margin:0 0 12px; }
  .home-start-example { margin-bottom:10px; }
  #home-example .home-example-content { grid-template-columns:1fr; gap:24px; }
  #home-example .sample-card { max-width:390px; }
  #home-example .sample-sheet { max-height:280px; }
  #home-example .example-story blockquote { padding-left:14px; }
  #home-example .example-story blockquote p { font-size:21px; }
  #home-information .home-section { padding-block:26px; }
  #home-information .home-section h2 { margin-bottom:18px; }
  #home-information .home-formats { gap:24px; }
  .home-format { grid-template-columns:1fr; gap:16px; }
  .home-format-visual { height:340px; padding:14px; border-radius:12px; }
  .home-format-visual::after { right:6px; bottom:6px; width:30px; height:30px; }
  .home-format-mobile img { border-width:3px; border-radius:16px; }
  #home-information .home-format h3 { font-size:17px; display:block; margin-bottom:10px; }
  .home-format-icon { display:none; }
  #home-information .home-format p { font-size:14px; line-height:1.55; }
  #home-information .home-offer { padding:22px; margin:8px auto 18px; }
  #home-information .home-guides { gap:10px; }
  #home-information .home-guides a { padding:16px; }
  #home-information .home-steps { margin-top:20px; gap:12px; }
  #home-information .home-steps h3 { margin-bottom:4px; }
  #home-information .home-steps p { margin-bottom:6px; }
  body[data-page="home"] .masthead { gap:10px; }
  body[data-page="home"] .brand-logo { width:164px; }
  body[data-page="home"] .masthead-actions { white-space:nowrap; }
  body[data-page="home"] .masthead-actions :is(#header-signin,.library-link) { font-size:13px; padding-inline:8px; }
}
@media(max-width:360px) {
  #home-intro .home-start { gap:14px; }
  #home-intro .penny-start { padding-inline:12px; }
  body[data-page="home"] .brand-logo { width:136px; }
  .home-format-visual { height:310px; }
}
@media(prefers-reduced-motion:reduce) { .home-format-visual img,#home-information .home-guides a { transition:none; } }
