@font-face{font-family:Newsreader;src:url('../assets/fonts/newsreader-latin.woff2') format('woff2');font-style:normal;font-weight:400 600;font-display:swap}
/* The illustrated homepage identity is shared by reading and Progress surfaces. */
html:has(>body.home){--bg:var(--home-paper);--text:var(--home-ink);--text-muted:var(--home-muted);--primary:var(--home-accent);--on-primary:var(--home-paper);--link:var(--home-ink);--panel-left:var(--home-blue-wash);--panel-right:var(--home-sand-wash);--shape-blue:var(--home-blue);--shape-sand:var(--home-sand);--home-card:var(--home-surface);--home-edge:var(--home-line);background:var(--bg)}
html[data-theme=dim]:has(>body.home){--bg:var(--home-dim-paper);--text:var(--home-dim-ink);--text-muted:var(--home-dim-muted);--primary:var(--home-dim-accent);--on-primary:var(--home-dim-paper);--link:var(--home-dim-ink);--panel-left:var(--home-dim-blue-wash);--panel-right:var(--home-dim-sand-wash);--shape-blue:var(--home-dim-blue);--shape-sand:var(--home-dim-sand);--home-card:var(--home-dim-surface);--home-edge:var(--home-dim-line)}
body.home{background:var(--bg);color:var(--text);font-family:var(--font);font-size:1.125rem;line-height:1.65}
.home .container{width:min(100% - 112px,1248px)}
.home h1,.home h2,.home h3,.home .brand,.home-footer-name{font-family:Newsreader,Georgia,'Times New Roman',serif;font-optical-sizing:auto;font-weight:400;letter-spacing:-.025em}
.home h2{font-size:clamp(2rem,3.8vw,3.5rem);line-height:1.08;max-width:22ch}
.home h3{font-size:1.875rem;line-height:1.2}
.home .site-header{min-height:112px;gap:32px;position:relative}
.home .brand{font-size:2.625rem;line-height:1;min-height:56px;font-weight:500;letter-spacing:-.04em}
.home .nav{gap:24px;font-size:1rem}
.home .nav a{font-weight:400}
.home .nav [data-settings]{display:inline-flex;align-items:center;gap:12px;border:1px solid var(--text);border-radius:999px;padding:12px 20px;color:var(--text);min-height:56px;font-weight:400}
.home .nav [data-settings]:hover{background:var(--panel-left)}
.home .action-arrow{width:24px;height:24px;display:block;flex:none}
.home .btn{border-radius:16px;min-height:60px;padding:16px 24px;gap:20px;border-width:1px;font-weight:500}
.home .btn:hover{background:color-mix(in srgb,var(--primary) 90%,var(--text))}
.home .btn.secondary:hover{background:var(--panel-left)}
.home .menu-button{border-radius:999px;min-height:56px}
.home .illustrated-hero{display:grid;grid-template-columns:.95fr 1.25fr;gap:16px;align-items:center;min-height:630px;padding:24px 0 64px}
.home .garden-copy{display:grid;gap:24px;position:relative;z-index:1;align-content:center;padding:16px 0}
.home .garden-copy h1{font-size:clamp(4.5rem,9.1vw,8rem);line-height:.94;letter-spacing:-.035em;max-width:none;margin-bottom:8px}
.home .garden-subtitle{font-size:clamp(1.125rem,1.8vw,1.5rem);line-height:1.45;max-width:28ch;font-weight:500}
.home .garden-intro{font-size:1.125rem;line-height:1.72;max-width:35ch}
.home .garden-action{justify-self:start;margin-top:8px;font-size:1.125rem;min-height:64px;padding:16px 28px}
.home .garden-copy .continue{font-size:1rem;min-height:56px;justify-self:start;margin-top:-16px;max-width:100%}
.home .garden-art{margin:0;width:100%;align-self:center}
.home .garden-art img{display:block;width:100%;height:auto;max-width:100%}
.home .home-section{margin-top:96px;scroll-margin-top:32px}
.home #exercises{margin-top:16px}
.home .home-section-head{display:grid;justify-items:center;text-align:center;gap:20px;margin-bottom:40px}
.home .home-section-head h2{max-width:none}
.home .home-section-head>p{font-size:1.125rem;max-width:44ch;line-height:1.65}
.home .last-time{font-size:1rem;margin:0}
.home .last-time:empty{display:none}
.home [data-ui]{user-select:none}
.home .document-page{overflow-wrap:anywhere}
html[data-spacing=wide] .home h1,html[data-spacing=wide] .home h2,html[data-spacing=wide] .home h3{letter-spacing:0}
@media(max-width:1100px){
.home .site-header{min-height:96px}.home .brand{font-size:2.375rem}.home .site-header .menu-button{display:inline-flex}.home .nav{display:none;position:absolute;top:88px;left:0;right:0;background:var(--home-card);padding:24px;border:1px solid var(--home-edge);border-radius:16px;gap:8px;align-items:flex-start;flex-direction:column;z-index:10}.home .nav.open{display:flex}.home .nav a{width:100%;min-height:56px}.home .nav [data-settings]{margin-top:8px}.home .illustrated-hero{min-height:592px;padding:24px 0 48px;gap:8px}.home .garden-copy{gap:20px}.home .garden-intro{font-size:1rem;line-height:1.75}.home .garden-subtitle{font-size:1.25rem}
}
@media(max-width:899px) and (min-width:768px){
.home .container{width:calc(100% - 80px)}.home .illustrated-hero{grid-template-columns:1fr 1.1fr;min-height:560px}.home .garden-copy h1{font-size:clamp(4rem,9vw,5rem)}.home .garden-copy{gap:16px}.home .garden-subtitle{font-size:1.125rem}.home .garden-action{font-size:1rem;padding:16px 20px;gap:16px}.home .home-section{margin-top:80px}.home #exercises{margin-top:24px}
}
@media(max-width:767px){
.home .container{width:calc(100% - 48px)}.home .site-header{min-height:88px;gap:16px}.home .brand{font-size:2.25rem}.home .menu-button{padding:12px 20px}.home .illustrated-hero{grid-template-columns:1fr;min-height:0;padding:24px 0 0;gap:24px}.home .garden-copy{padding:0;gap:20px}.home .garden-copy h1{font-size:clamp(4rem,17vw,6rem);line-height:.95;margin-bottom:4px}.home .garden-subtitle{font-size:1.25rem;line-height:1.45;max-width:26ch}.home .garden-intro{font-size:1rem;line-height:1.8;max-width:36ch}.home .garden-action{justify-self:start;min-height:60px;font-size:1.125rem;padding:16px 24px;margin-top:4px;max-width:100%;gap:24px}.home .garden-art{width:100%;max-width:560px;justify-self:center}.home .garden-copy .continue{margin-top:-8px}.home .home-section{margin-top:64px}.home #exercises{margin-top:24px}.home .home-section-head{gap:16px;margin-bottom:24px;text-align:left;justify-items:start}.home .home-section-head>p{font-size:1rem;max-width:32ch}.home h2{font-size:2.25rem;line-height:1.12;max-width:18ch}
}
@media(max-width:359px){.home .garden-copy h1{font-size:3.75rem}.home .garden-action{font-size:1rem;gap:16px;padding:16px 20px}}
@media print{.home .garden-art{max-width:320px}}
@media(max-width:1100px){.home .nav{top:calc(100% - 8px)}}
@media(max-width:389px){.home .site-header{flex-wrap:wrap;row-gap:8px;padding:8px 0}.home .site-header .brand{flex:none}.home .site-header .menu-button{flex:none;margin-left:auto}}
.home .site-header{flex-wrap:wrap}.home .nav{flex-wrap:wrap;min-width:0}.home .site-header .brand{max-width:100%;overflow-wrap:anywhere}.home .nav [data-settings]{max-width:100%;white-space:normal}


/* A selectable collection: full paintings, a clear next action, and local history. */
.home .home-exercises {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 26rem), 1fr));
  gap: 24px;
}
.home .home-exercise-card {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(180px, 1fr);
  grid-template-rows: 1fr auto;
  gap: 20px 8px;
  min-width: 0;
  padding: 28px;
  border: 0;
  border-radius: 16px;
  background: var(--panel-left);
  color: var(--text);
  text-decoration: none;
  font-weight: 400;
}
.home .home-exercise-card:nth-child(2) { background: var(--home-card); }
.home .home-exercise-card:nth-child(3) { background: var(--panel-right); }
.home .home-exercise-card:nth-child(4) { background: var(--home-catalog-blue); }
.home .home-card-copy { grid-column: 1; grid-row: 1; display: grid; align-content: center; gap: 16px; min-width: 0; }
.home .home-card-title { display: grid; gap: 8px; }
.home .home-card-title h3 { font-size: 2.25rem; line-height: 1.12; text-wrap: balance; overflow-wrap: normal; }
.home .home-card-area { font-size: 1rem; line-height: 1.4; color: var(--text-muted); }
.home .home-card-copy > p { font-size: 1rem; line-height: 1.65; max-width: 28ch; }
.home .home-card-preview { grid-column: 2; grid-row: 1 / 3; display: flex; align-items: center; justify-content: center; min-width: 0; pointer-events: none; }
.home .home-card-preview img { display: block; width: 100%; height: 240px; object-fit: contain; }
.home .home-card-bottom { grid-column: 1; grid-row: 2; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; min-width: 0; }
.home .home-card-bottom-copy { display: grid; gap: 8px; font-size: 1rem; line-height: 1.5; }
.home .home-card-bottom-copy:empty { display: none; }
.home .home-card-open { display: inline-flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; max-width: 100%; font-size: 1rem; font-weight: 500; line-height: 1.5; }
.home .home-exercise-card:hover { text-decoration: none; }
.home .home-exercise-card:hover .home-card-open { text-decoration: underline; text-underline-offset: 5px; }
.home .home-exercise-card:focus-visible, .home .home-more-list a:focus-visible { outline: 3px solid var(--text); outline-offset: 5px; }
.home .home-more { display: grid; gap: 24px; margin-top: 48px; }
.home .home-more h3 { font-size: 2rem; }
.home .home-more-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); gap: 16px; }
.home .home-more-list a { display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; gap: 16px; min-width: 0; min-height: 144px; padding: 24px; border-radius: 16px; background: color-mix(in srgb, var(--panel-left) 65%, var(--home-card)); color: var(--text); text-decoration: none; font-weight: 400; }
.home .home-more-list a:nth-child(3n + 2) { background: var(--home-card); }
.home .home-more-list a:nth-child(3n) { background: color-mix(in srgb, var(--panel-right) 65%, var(--home-card)); }
.home .home-more-list a > span:first-child { font-family: Newsreader, Georgia, serif; font-size: 1.75rem; line-height: 1.2; text-wrap: balance; }
.home .home-more-art { display: block; width: 100%; height: 150px; flex: none; object-fit: contain; pointer-events: none; }
.home .home-more-action { display: inline-flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; min-height: 56px; font-size: 1rem; line-height: 1.5; font-weight: 500; }
.home .home-more-list a:hover .home-more-action { text-decoration: underline; text-underline-offset: 5px; }
@media (max-width: 1100px) {
  .home .home-exercises { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home .home-exercise-card { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr auto; padding: 24px; gap: 20px; }
  .home .home-card-preview { grid-column: 1; grid-row: 1; }
  .home .home-card-preview img { height: 220px; }
  .home .home-card-copy { grid-column: 1; grid-row: 2; align-content: start; }
  .home .home-card-bottom { grid-column: 1; grid-row: 3; }
}
@media (max-width: 767px) {
  .home .home-exercises { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .home .home-exercise-card { gap: 20px; }
  .home .home-card-title h3 { font-size: 2rem; }
  .home .home-card-copy { gap: 12px; }
  .home .home-more { margin-top: 40px; gap: 20px; }
  .home .home-more-list { gap: 16px; }
}

html[data-theme=dim] .home .home-exercise-card:nth-child(4) { background: var(--home-dim-catalog-blue); }

/* The lower page stays in the same painted world, with live text beside each scene. */
.home .home-how { display: grid; gap: 32px; }
.home .home-how > h2 { max-width: none; text-align: center; }
.home .home-how-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; list-style: none; padding: 0; margin: 0; }
.home .home-how-steps > li { display: grid; grid-template-rows: 180px 1fr; align-content: start; gap: 20px; min-width: 0; }
.home .home-how-art { display: block; width: 100%; height: 180px; object-fit: contain; }
.home .home-how-copy { min-width: 0; max-width: 32ch; justify-self: center; }
.home .home-how-copy h3 { font-size: 1.875rem; line-height: 1.2; margin-bottom: 12px; text-wrap: balance; }
.home .home-how-copy p { font-size: 1rem; line-height: 1.7; }
.home .home-principles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 23rem), 1fr)); gap: 48px; align-items: center; padding: 48px; border-radius: 24px; background: var(--panel-left); }
.home .home-calm-art { display: block; width: 100%; max-width: 400px; height: auto; object-fit: contain; justify-self: center; }
.home .home-calm-copy { display: grid; gap: 32px; min-width: 0; }
.home .home-calm-copy > h2 { max-width: none; }
.home .home-principle-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 24px; }
.home .home-principle { min-width: 0; }
.home .home-principle h3 { font-size: 1.75rem; line-height: 1.2; margin-bottom: 12px; text-wrap: balance; }
.home .home-principle p { font-size: 1rem; line-height: 1.7; max-width: 28ch; }
.home .home-parents { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 26rem), 1fr)); gap: 32px 64px; align-items: center; }
.home .home-parent-art { display: block; width: 100%; max-width: 560px; height: auto; object-fit: contain; justify-self: center; }
.home .home-parent-copy { display: grid; gap: 24px; min-width: 0; }
.home .home-parent-copy > h2 { max-width: 22ch; text-wrap: balance; }
.home .home-parent-copy > p { font-size: 1.125rem; line-height: 1.75; max-width: 50ch; }
.home .home-parent-copy .btn { justify-self: start; max-width: 100%; }
.home .home-parents > .disclaimer { grid-column: 1 / -1; font-size: 1rem; line-height: 1.75; max-width: 85ch; margin: 0 auto; color: var(--text-muted); }
.home .site-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px 32px; margin-top: 64px; padding: 32px 0; border: 0; }
.home .home-footer-name { font-size: 2.25rem; line-height: 1.2; }
.home .home-footer-notes { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 32px; font-size: 1rem; line-height: 1.7; color: var(--text-muted); }
@media (max-width: 767px) {
  .home .home-how { gap: 28px; }
  .home .home-how > h2 { text-align: left; }
  .home .home-how-steps { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .home .home-how-steps > li { gap: 16px; }
  .home .home-how-copy { justify-self: stretch; max-width: none; }
  .home .home-principles { padding: 28px 24px; gap: 24px; }
  .home .home-calm-art { max-width: 320px; }
  .home .home-calm-copy { gap: 28px; }
  .home .home-principle-list { grid-template-columns: minmax(0, 1fr); }
  .home .home-parents { gap: 24px; }
  .home .home-parent-copy > p { font-size: 1rem; line-height: 1.8; }
  .home .site-footer { flex-direction: column; align-items: flex-start; margin-top: 48px; padding: 28px 0; gap: 16px; }
  .home .home-footer-notes { flex-direction: column; align-items: flex-start; gap: 8px; }
}
@media print { .home .site-footer { display: none; } }

/* Discoverable number-sense practice shares the illustrated catalogue language. */
.home .garden-math-link { display:inline-flex; align-items:center; justify-self:start; min-height:56px; max-width:100%; margin-top:-16px; font-size:1rem; text-decoration:underline; text-underline-offset:5px; }
.home .home-math-practice { display:grid; gap:24px; margin-top:48px; scroll-margin-top:32px; }
.home .home-math-heading { display:grid; gap:16px; }
.home .home-math-heading h3 { font-size:2.5rem; line-height:1.15; max-width:26ch; }
.home .home-math-heading p { font-size:1.125rem; line-height:1.7; max-width:65ch; }
.home .home-number-line-link { display:inline-flex; align-items:center; justify-self:start; min-height:56px; gap:16px; font-size:1rem; text-decoration:underline; text-underline-offset:5px; max-width:100%; }
@media(max-width:767px) { .home .home-math-heading h3 { font-size:2rem; } .home .home-math-heading p { font-size:1rem; } }

.home .progress-page,.home .document-page{padding-top:48px}.home .progress-list>section{padding:32px;background:var(--home-card);border-radius:16px}.home .progress-list>section:nth-child(even){background:var(--panel-left)}.home .progress-list h2{font-size:2.25rem}.home .progress-intro{display:grid;grid-template-columns:1fr 160px;align-items:center;gap:24px}.home .progress-intro img{width:160px;height:auto}.home .progress-intro p{margin-top:16px}.home .progress-list .session:last-child{border-bottom:0}.home .document-page h1{font-size:clamp(2.5rem,6vw,4rem)}
@media(max-width:500px){.home .progress-list>section{padding:24px}.home .progress-intro{grid-template-columns:1fr 88px;gap:16px}.home .progress-intro img{width:88px}.home .progress-list h2{font-size:1.875rem}}
@media print{.home .progress-list>section{padding:0;background:transparent}.home .progress-intro img{display:none}.home .progress-intro{display:block}.home .progress-list{margin:24px 0}.home .progress-list h2{font-size:24px}}
.area-jumps{display:flex;justify-content:center;flex-wrap:wrap;gap:12px 40px;padding:24px 0 40px;border-bottom:1px solid var(--home-edge)}
.area-jumps a{min-height:48px;display:inline-flex;align-items:center;text-underline-offset:6px}
.catalog-area{padding:56px 0 24px;scroll-margin-top:24px}.catalog-area h2{margin-bottom:28px}
.catalog-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.catalog-card{display:flex;flex-direction:column;gap:20px;padding:28px;background:var(--home-card);border-radius:18px;color:var(--text);text-decoration:none;font-weight:400}
.catalog-card:nth-child(3n+1){background:var(--panel-left)}.catalog-card:nth-child(3n){background:var(--panel-right)}
.catalog-card img{width:100%;height:180px;object-fit:contain}.catalog-card h3{font-size:1.9rem}.catalog-card p{font-size:1rem;margin-top:8px}.catalog-card:hover h3{text-decoration:underline;text-underline-offset:5px}
@media(max-width:1000px){.catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.area-jumps{gap:8px 20px;padding:12px 0 24px}.catalog-area{padding:36px 0 12px}.catalog-grid{grid-template-columns:1fr;gap:12px}.catalog-card{flex-direction:row;align-items:center;gap:20px;padding:16px;min-height:128px}.catalog-card img{width:96px;height:96px;flex:none}.catalog-card h3{font-size:1.6rem}.catalog-card p{font-size:.875rem;margin-top:6px}}

.home .site-header .brand img{display:block;width:clamp(165px,53vw,280px);height:auto;max-width:100%}
html[data-theme=dim] .home .site-header .brand img{content:url('../assets/images/mind-fluent-logo-dim.webp') / 'Mind Fluent'}
