@font-face{font-family:'DM Sans';font-style:normal;font-weight:400;font-display:swap;src:url('../assets/fonts/dm-sans-latin-ext-400-normal.woff2') format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'DM Sans';font-style:normal;font-weight:400;font-display:swap;src:url('../assets/fonts/dm-sans-latin-400-normal.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'DM Sans';font-style:normal;font-weight:500;font-display:swap;src:url('../assets/fonts/dm-sans-latin-ext-500-normal.woff2') format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'DM Sans';font-style:normal;font-weight:500;font-display:swap;src:url('../assets/fonts/dm-sans-latin-500-normal.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'DM Sans';font-style:normal;font-weight:600;font-display:swap;src:url('../assets/fonts/dm-sans-latin-ext-600-normal.woff2') format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'DM Sans';font-style:normal;font-weight:600;font-display:swap;src:url('../assets/fonts/dm-sans-latin-600-normal.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'DM Sans';font-style:normal;font-weight:700;font-display:swap;src:url('../assets/fonts/dm-sans-latin-ext-700-normal.woff2') format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'DM Sans';font-style:normal;font-weight:700;font-display:swap;src:url('../assets/fonts/dm-sans-latin-700-normal.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Nunito';font-style:normal;font-weight:500;font-display:swap;src:url('../assets/fonts/nunito-latin-ext-500-normal.woff2') format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Nunito';font-style:normal;font-weight:500;font-display:swap;src:url('../assets/fonts/nunito-latin-500-normal.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Nunito';font-style:normal;font-weight:600;font-display:swap;src:url('../assets/fonts/nunito-latin-ext-600-normal.woff2') format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Nunito';font-style:normal;font-weight:600;font-display:swap;src:url('../assets/fonts/nunito-latin-600-normal.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Nunito';font-style:normal;font-weight:700;font-display:swap;src:url('../assets/fonts/nunito-latin-ext-700-normal.woff2') format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Nunito';font-style:normal;font-weight:700;font-display:swap;src:url('../assets/fonts/nunito-latin-700-normal.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Nunito';font-style:normal;font-weight:800;font-display:swap;src:url('../assets/fonts/nunito-latin-ext-800-normal.woff2') format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Nunito';font-style:normal;font-weight:800;font-display:swap;src:url('../assets/fonts/nunito-latin-800-normal.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Nunito';font-style:normal;font-weight:900;font-display:swap;src:url('../assets/fonts/nunito-latin-ext-900-normal.woff2') format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Nunito';font-style:normal;font-weight:900;font-display:swap;src:url('../assets/fonts/nunito-latin-900-normal.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
:root{--navy:#12395b;--blue:#117bb0;--teal:#0b8d93;--green:#568b46;--cream:#fffdf6;--ink:#183c53;--shadow:0 16px 42px #0d36551a}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--cream);color:var(--ink);font-family:'DM Sans',Arial,sans-serif;font-size:17px;line-height:1.65}a{color:inherit}button{font:inherit;cursor:pointer}a:focus-visible,button:focus-visible{outline:3px solid #ffb51f;outline-offset:4px}.skip{position:absolute;top:-80px;left:12px;background:white;padding:10px;z-index:100}.skip:focus{top:10px}.site-header{height:85px;display:flex;align-items:center;justify-content:space-between;padding:0 clamp(20px,5vw,85px);background:#fffefaf7;position:relative;z-index:5;box-shadow:0 2px 12px #102d3d0c}.brand,.footer-brand{font-family:'Nunito',sans-serif;font-style:italic;font-weight:900;font-size:38px;line-height:1;text-decoration:none;color:var(--navy);letter-spacing:-2px}.brand{position:relative}.brand-swoosh{position:absolute;left:24%;right:3%;bottom:-8px;height:5px;border-radius:100%;background:#7ab449;transform:rotate(-4deg)}nav{display:flex;gap:clamp(12px,3vw,43px);align-items:center}nav a{font-size:16px;font-weight:800;text-decoration:none;padding:8px 12px;border-radius:30px}nav a.active,nav a:hover{background:#d9f0ff}.view[hidden]{display:none!important}.hero{position:relative;min-height:640px;overflow:hidden;display:flex;align-items:center}.hero-image{position:absolute;inset:0;background:url('../assets/rangitoto-coast.webp') center 52%/cover no-repeat}.hero-shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(235,248,251,.94) 0%,rgba(235,248,251,.91) 30%,rgba(235,248,251,.82) 46%,rgba(235,248,251,.45) 58%,rgba(235,248,251,0) 76%)}.hero-content{position:relative;z-index:1;width:min(700px,64%);padding:55px 0 75px clamp(25px,6vw,100px)}.eyebrow,.kicker{display:block;color:#155e69;font-weight:800;font-size:14px;letter-spacing:.07em;text-transform:uppercase}.eyebrow span{color:#e5a525}.hero-title{display:flex;align-items:center;gap:18px;margin-top:10px}.hero h1{font:900 italic clamp(64px,7vw,110px)/1.05 'Nunito',sans-serif;letter-spacing:-5px;color:#083b62;margin:0}.speak{border:0;background:#fff9dc;box-shadow:0 6px 15px #16425d2e;border-radius:50%;width:57px;height:57px;flex:none;color:#2f7d46;font-weight:900;font-size:22px}.speak:hover,.inline-speak:hover{background:#fff1b4}.tagline{font-size:clamp(21px,2.2vw,28px);font-weight:800;color:#0a476c;margin:15px 0 26px}.intro{max-width:550px;font-size:20px;line-height:1.5;color:#113e5b}.intro p{margin:0 0 12px}.intro .lead{font-size:clamp(22px,2.4vw,29px);font-weight:800}.primary-cta{display:inline-flex;gap:18px;align-items:center;margin-top:26px;padding:14px 23px;border-radius:100px;background:#147fa5;color:white;text-decoration:none;font-weight:800;box-shadow:0 6px 0 #0c5e7a}.primary-cta:hover{background:#0d668a}.welcome{max-width:1200px;margin:65px auto 20px;padding:0 35px;display:flex;justify-content:space-between;align-items:center}.welcome h2,.interior h1{font:900 clamp(34px,4vw,54px)/1.16 'Nunito',sans-serif;letter-spacing:-1.5px;color:#103c5b;margin:10px 0 12px}.welcome p{max-width:690px;margin:0;font-size:19px}.sun-doodle{font-size:110px;color:#f3bd3b;line-height:1;padding:0 35px}.topic-grid{max-width:1200px;margin:30px auto 75px;padding:0 35px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.topic-card{display:flex;flex-direction:column;min-height:290px;padding:29px;border-radius:27px;text-decoration:none;box-shadow:var(--shadow);transition:transform .2s,box-shadow .2s}.topic-card:hover{transform:translateY(-5px);box-shadow:0 22px 44px #0d36552c}.topic-card.safety{background:#f7f2d9}.topic-card.ai{background:#dff4ff}.topic-card.choices{background:#e5f4df}.topic-icon{font-size:39px;line-height:1;color:#558f43}.ai .topic-icon{color:#087aaf}.topic-card h3,.topic-card h2{font:900 25px/1.22 'Nunito',sans-serif;margin:19px 0 10px;color:#12395b}.topic-card p{margin:0 0 22px;font-size:16px;line-height:1.55}.topic-link{font-weight:800;margin-top:auto;color:#0a6483}.personal-note{max-width:1120px;margin:0 auto 90px;padding:35px 45px;display:flex;gap:30px;align-items:start;border-radius:30px;background:#fff0dd}.note-symbol{font:900 100px/1 Georgia,serif;color:#e7aa51}.personal-note h2{font:900 32px 'Nunito',sans-serif;margin:0 0 10px}.personal-note p{margin:0 0 15px;max-width:700px}.personal-note a,.text-link{font-weight:800;color:#0b6c8d;text-decoration-thickness:2px;text-underline-offset:4px}.interior{max-width:1190px;margin:auto;padding:60px 35px 100px;min-height:65vh}.interior h1{max-width:850px}.back{display:inline-block;color:#0b7397;font-weight:800;text-decoration:none;margin-bottom:35px}.back:hover{text-decoration:underline}.section-intro{font-size:22px;line-height:1.55;max-width:770px;color:#30566a}.interior .topic-grid{padding:0;margin:42px 0}.story-layout{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(280px,.8fr);gap:65px;margin-top:28px}.story-layout p{font-size:18px}.story-aside{background:#e3f3f6;border-radius:28px;padding:35px;align-self:start}.aside-mark{width:65px;height:65px;background:#f9df83;border-radius:50%;display:grid;place-items:center;font:900 italic 43px 'Nunito',sans-serif;color:#0b4d6a}.story-aside h2{font:900 28px/1.25 'Nunito',sans-serif}.pronounce-line{display:flex;flex-direction:column;align-items:start;gap:12px;margin-top:25px}.pronounce-line a{font-size:14px;color:#116b8a}.inline-speak{border:0;border-radius:40px;background:#fff9dc;padding:10px 18px;font-weight:800;color:#17576d}.info-panel{background:#e7f5ee;border-radius:26px;padding:35px;max-width:760px;margin-top:40px}.info-panel h2{font:900 27px 'Nunito',sans-serif}.guide-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:45px}.guide-steps article{background:#e6f4f7;padding:30px;border-radius:25px}.guide-steps article:nth-child(2){background:#f8f0d8}.guide-steps article:nth-child(3){background:#eaf3e0}.guide-steps article span{font:900 28px 'Nunito',sans-serif;color:#1688a3}.guide-steps h2{font:900 25px/1.2 'Nunito',sans-serif;margin:18px 0 10px}.guide-steps p{margin:0}.guide-footer{margin-top:35px;color:#4e6875;font-style:italic}footer{background:#123c57;color:white;padding:45px clamp(25px,6vw,100px);display:flex;align-items:start;justify-content:space-between;gap:20px;flex-wrap:wrap}footer .footer-brand{color:white;font-size:32px}footer p{margin:8px 0;font-size:14px}.footer-links{display:flex;gap:25px;flex-wrap:wrap}.footer-links a{font-weight:700;text-decoration:none}.footer-links a:hover{text-decoration:underline}.footer-small{width:100%;opacity:.8}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:850px){.hero{min-height:600px}.hero-content{width:80%}.hero-shade{background:linear-gradient(90deg,rgba(235,248,251,.92) 0%,rgba(235,248,251,.82) 55%,rgba(235,248,251,.30) 100%)}.topic-grid,.guide-steps{grid-template-columns:1fr 1fr}.story-layout{grid-template-columns:1fr}.sun-doodle{font-size:75px}}
@media(max-width:620px){body{font-size:16px}.site-header{height:auto;min-height:75px;align-items:start;flex-direction:column;padding:16px 18px 12px;gap:20px}.brand{font-size:33px}nav{width:100%;justify-content:space-between;gap:0}nav a{font-size:14px;padding:6px 8px}.hero{min-height:670px;align-items:start}.hero-image{background-position:62% center}.hero-shade{background:linear-gradient(180deg,rgba(235,248,251,.92) 0%,rgba(235,248,251,.88) 42%,rgba(235,248,251,.60) 62%,rgba(235,248,251,0) 84%)}.hero-content{width:100%;padding:36px 22px 55px}.hero h1{font-size:66px;letter-spacing:-3px}.speak{width:47px;height:47px}.eyebrow{font-size:12px}.intro{font-size:18px}.intro .lead{font-size:23px}.tagline{font-size:22px}.welcome{margin:45px auto 15px;padding:0 22px}.welcome h2{font-size:35px}.sun-doodle{display:none}.topic-grid,.guide-steps{grid-template-columns:1fr;padding:0 20px;gap:18px}.topic-card{min-height:240px}.personal-note{margin:0 20px 60px;padding:25px;gap:10px}.note-symbol{font-size:50px}.personal-note h2{font-size:26px}.interior{padding:40px 22px 70px}.interior h1{font-size:40px}.section-intro{font-size:19px}.interior .topic-grid{padding:0}.story-layout{gap:20px}footer{padding:35px 25px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.topic-card{transition:none}}

/* V0.2 additions: readable, responsive guidance */
[hidden]{display:none!important}.guide-links{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,270px),1fr));gap:18px;margin:28px 0}.guide-link{display:block;background:#fff;border:1px solid #d8e5e5;border-radius:18px;padding:22px;text-decoration:none;box-shadow:0 5px 18px #12395b0c}.guide-link:hover,.guide-link:focus-visible{border-color:var(--teal)}.guide-link h2{font-size:1.18rem;margin:0 0 8px;color:var(--navy)}.guide-link p{margin:0}.reading{max-width:830px}.reading h2{color:var(--navy);line-height:1.3;margin-top:1.8em}.reading li{margin:.55em 0}.reading p{margin:.8em 0}.reading ul,.reading ol{padding-left:1.5em}.example-mail{background:#fff;border:1px solid #d7e3e4;border-radius:14px;padding:20px;margin:20px 0}.example-mail .meta{font-size:.92rem;border-bottom:1px solid #d7e3e4;padding-bottom:12px}.calm-note{border-left:5px solid #5a9c89;background:#f0f8f4;padding:15px 20px;border-radius:0 12px 12px 0;margin:22px 0}.icon-inline{font-size:1.4em;vertical-align:middle}.contact-options{display:grid;gap:16px;max-width:740px}.contact-options article{background:white;border-radius:14px;padding:18px 22px;border:1px solid #e0e9e9}.contact-options h2{margin:0 0 5px}.contact-options p{margin:0 0 8px}.interior{min-height:55vh}@media(max-width:700px){.guide-links{grid-template-columns:1fr}.reading{font-size:1rem}}


/* V0.2 colour restoration: match the original understated safety-page palette.
   No text, links, functionality or page markup changed. */
.calm-note {
  background: #eef7f3;
  border-left-color: #5a9c89;
}
.guide-link {
  background: #fff;
  border: 1px solid #d7e4e7;
  box-shadow: 0 5px 18px rgba(18,57,91,.045);
}
.guide-link:hover,
.guide-link:focus-visible {
  background: #fff;
  border-color: #5a9c89;
}
@media (min-width: 901px) {
  .guide-links { grid-template-columns: repeat(3, minmax(0,1fr)); }
}


/* V5 original colour restoration, verified against Soilleir_Beta_V5.zip.
   Keep the V0.2 layout and page functionality unchanged. */
.reassurance { background:#fff0d9; border-left:6px solid #e7aa51; border-radius:18px; padding:25px 30px; margin:32px 0 38px; max-width:930px; }
.reassurance h2 { font:900 27px/1.2 'Nunito',sans-serif; color:#12395b; margin:0 0 10px; }
.reassurance p { margin:8px 0 0; max-width:850px; }
.guide-link { background:#e5f3f4; border:0; border-radius:23px; box-shadow:var(--shadow); }
.guide-link:nth-child(3n+2) { background:#e1f2fc; }
.guide-link:nth-child(3n) { background:#f8f0d8; }
.guide-link:hover,.guide-link:focus-visible { border:0; filter:brightness(.98); }
@media(max-width:700px) { .reassurance { padding:22px; } }

/* Safety guidance: reserve red triangles for situations requiring prompt action. */
.reading .urgent-item { list-style:none; position:relative; padding-left:1.75rem; margin-left:-1.5rem; }
.reading .urgent-item::before, .reading .urgent-heading::before { content:"⚠"; color:#b42318; font-family:Arial,sans-serif; font-weight:700; }
.reading .urgent-item::before { position:absolute; left:0; top:0; font-size:1.25rem; }
.reading .urgent-heading { display:flex; align-items:baseline; gap:.65rem; }
.reading .urgent-heading::before { flex:none; font-size:1.35rem; }

/* Urgent-action markers: retain their shape when printed without colour. */
@media print { .urgent-item::before, .reading .urgent-heading::before { color:#111 !important; } }

/* Soilleir 0.6: AI learning pages, using the established visual palette */
.ai-hub-heading{font:900 30px 'Nunito',sans-serif;color:var(--navy);margin:48px 0 6px}.ai-guide-links{margin-top:22px}.ai-guide-links .guide-link{min-height:160px}.ai-card-number{display:block;font-weight:900;color:#0d6580;margin-bottom:8px}.ai-guide-links .guide-link h2{margin:0 0 8px}.reading blockquote{background:#eef6f7;border-left:5px solid #7bb7a2;border-radius:0 14px 14px 0;padding:16px 20px;margin:20px 0;font-weight:600}.reading h3{color:var(--navy);margin-top:1.5em}.ai-references{border-top:1px solid #d5e4e6;margin-top:45px;padding-top:12px}.ai-references h2{font-size:1.35rem}.ai-references li{margin:12px 0}.ai-references a,.reading a{color:#096d90;text-underline-offset:3px}.ai-bottom-nav{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap;margin-top:40px;padding-top:22px;border-top:1px solid #d5e4e6}.ai-bottom-nav a{font-weight:800;color:#096d90}.about-additions{border-top:1px solid #d5e4e6;margin-top:46px;padding-top:16px}.about-additions h2{font:900 27px 'Nunito',sans-serif;color:var(--navy)}

/* Soilleir 0.8: accessible, no-cost read-aloud controls */
.read-aloud{max-width:830px;margin:22px 0 30px;padding:17px 20px;background:#eaf5f3;border-radius:18px;border:1px solid #c8e3dd}.read-aloud-hint{margin:0 0 9px;font-size:1rem}.read-aloud-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.read-aloud button{background:#126d87;color:#fff;border:0;border-radius:24px;padding:10px 17px;font-weight:800;min-height:44px}.read-aloud button:hover{background:#0c526b}.read-aloud-message{font-size:.9rem;color:#31576a}.read-aloud-bar{position:fixed;bottom:14px;left:50%;transform:translateX(-50%);width:min(95vw,760px);z-index:20;background:#fffdf6;border:2px solid #b5d5d5;box-shadow:0 7px 26px #12395b40;border-radius:18px;padding:12px 16px;display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.read-aloud-bar[hidden]{display:none}.read-aloud-title{font-weight:800;color:#12395b}.read-aloud-buttons{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.read-aloud-buttons label{font-size:.9rem;font-weight:700}.read-aloud-buttons select{min-height:44px;border:1px solid #8caaaa;border-radius:9px;background:white;padding:8px;color:#12395b;font:inherit}.read-aloud-bar button{border-radius:10px}.read-aloud-bar button[data-tts-stop]{background:#435e6b}@media(max-width:620px){.read-aloud-bar{bottom:6px;padding:10px;justify-content:center}.read-aloud-title{width:100%;text-align:center}.read-aloud-buttons{justify-content:center}.read-aloud button{padding:9px 12px}}@media print{.read-aloud{display:none}}

/* v0.9: approachable feedback and help notes */
.guide-feedback,.contact-help-note{margin:28px 0;padding:20px 24px;border-radius:16px;background:#f0f7f5;border:1px solid #d4e6df}
.guide-feedback h2,.contact-help-note h2{margin-top:0}
.guide-feedback a{display:inline-block;font-weight:700;text-underline-offset:3px}
.feedback-note{font-size:.9rem;color:#31596b}
.story-aside h2.aside-name{margin-bottom:4px}.story-aside p.aside-pronounce{margin-top:0;margin-bottom:20px;font-size:15px;color:#31596b}
.last-reviewed{margin:6px 0 0;font-size:.95rem;color:#31576a}
.search-form{max-width:640px;margin:18px 0 26px}
.search-form label{display:block;font-weight:800;margin-bottom:8px;color:#12395b}
.search-row{display:flex;gap:10px;flex-wrap:wrap}
.search-row input{flex:1 1 240px;min-height:48px;border:1px solid #6f95a6;border-radius:12px;padding:8px 14px;font:inherit;color:#12395b;background:#fff}
.search-status{margin:0 0 14px;font-weight:700;color:#12395b}
.search-results{list-style:none;margin:0 0 30px;padding:0;max-width:760px}
.search-results li{padding:14px 0;border-bottom:1px solid #d4e6df}
.search-results a{font-weight:800;font-size:1.1rem;text-underline-offset:3px}
.search-results p{margin:4px 0 0}
.search-section{margin-left:10px;font-size:.85rem;font-weight:700;color:#31576a}
.search-browse{margin-top:30px}
.search-topics{padding-left:20px}
.search-topics a{font-weight:700;text-underline-offset:3px}
@media print{
 @page{margin:18mm}
 body{background:#fff !important;color:#000 !important;font-size:12pt}
 .skip,.site-header,footer,.read-aloud,.read-aloud-bar,.back,.guide-feedback,.ai-bottom-nav,.search-form,#speech-status{display:none !important}
 main,.view,.interior,.guide{padding:0 !important;margin:0 !important;box-shadow:none !important;background:none !important}
 .reading,.reading p,.reading li{max-width:none !important}
 h1,h2,h3{color:#000 !important;break-after:avoid}
 h1{font-size:22pt}
 p,li{orphans:3;widows:3}
 li{break-inside:avoid}
 a{color:#000 !important;text-decoration:underline}
 .reading a[href^="http"]::after{content:" (" attr(href) ")";font-size:10pt;word-break:break-all}
 .last-reviewed{color:#000}
}

/* HI-233: reading comfort (text size and contrast).
   js/app-core.js adds the controls and sets classes on <html>: text-large, text-xlarge, high-contrast.
   Without JavaScript none of this applies. Print always uses the normal layout. */
.comfort{position:absolute;top:calc(100% + 6px);right:clamp(12px,5vw,85px);z-index:6;display:flex;flex-wrap:wrap;align-items:center;gap:8px 20px;width:max-content;max-width:calc(100vw - 24px);padding:12px 16px;background:#fff;border:1px solid #b9d0d6;border-radius:16px;box-shadow:0 12px 32px #0d36552e;font-size:.95rem}
.comfort[hidden]{display:none}
.comfort-toggle{font:inherit;font-size:14px;font-weight:600;color:#3d5a70;background:transparent;border:0;border-radius:30px;padding:6px 10px;margin-left:4px;cursor:pointer;white-space:nowrap}
.comfort-toggle:hover,.comfort-toggle[aria-expanded="true"]{background:#eef6f7;color:#12395b}
.comfort-toggle-icon{font-weight:800;margin-right:2px}
.comfort-tip{flex-basis:100%;margin:0;font-size:.85rem;line-height:1.4;color:#3d5a70}
@media(max-width:620px){.comfort-toggle-text{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.comfort{left:12px;right:12px;width:auto}}
.comfort-group{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.comfort-label{font-weight:800;color:#12395b}
.comfort button{min-height:44px;padding:8px 14px;border:2px solid #12395b;border-radius:24px;background:#fff;color:#12395b;font-weight:700}
.comfort button:hover{background:#d9f0ff}
.comfort button[aria-pressed="true"]{background:#12395b;color:#fff}
.comfort button[aria-pressed="true"]:hover{background:#0d2b46}
@media print{.comfort{display:none !important}}

/* Larger text: rem sizes follow the root size; fixed pixel sizes are scaled below. */
html.text-large{--ts:1.25;--hs:1.12;font-size:125%}
html.text-xlarge{--ts:1.5;--hs:1.25;font-size:150%}
.text-large body,.text-xlarge body{font-size:calc(17px * var(--ts));overflow-wrap:anywhere}
.text-large .search-form,.text-xlarge .search-form{max-width:100%;min-width:0}
.text-large .search-row,.text-xlarge .search-row{display:grid;grid-template-columns:minmax(0,1fr);justify-items:start}
.text-large .search-row input,.text-xlarge .search-row input{width:100%;min-width:0;max-width:100%}
.text-large .site-header,.text-xlarge .site-header{height:auto;min-height:85px;padding-top:12px;padding-bottom:12px;flex-wrap:wrap;gap:10px 24px}
.text-large nav,.text-xlarge nav{flex-wrap:wrap;gap:4px 10px}
.text-large nav a,.text-xlarge nav a{font-size:calc(16px * var(--ts))}
.text-large .eyebrow,.text-xlarge .eyebrow,.text-large .kicker,.text-xlarge .kicker{font-size:calc(14px * var(--ts))}
.text-large .intro,.text-xlarge .intro{font-size:calc(20px * var(--ts))}
.text-large .intro .lead,.text-xlarge .intro .lead{font-size:1.3em}
.text-large .tagline,.text-xlarge .tagline{font-size:calc(24px * var(--ts))}
.text-large .welcome p,.text-xlarge .welcome p{font-size:calc(19px * var(--ts))}
.text-large .welcome h2,.text-xlarge .welcome h2,.text-large .interior h1,.text-xlarge .interior h1{font-size:calc(clamp(34px,4vw,54px) * var(--hs))}
.text-large .topic-card h3,.text-xlarge .topic-card h3,.text-large .topic-card h2,.text-xlarge .topic-card h2,.text-large .guide-steps h2,.text-xlarge .guide-steps h2{font-size:calc(25px * var(--ts))}
.text-large .topic-card p,.text-xlarge .topic-card p{font-size:calc(16px * var(--ts))}
.text-large .section-intro,.text-xlarge .section-intro{font-size:calc(22px * var(--ts))}
.text-large .story-layout p,.text-xlarge .story-layout p{font-size:calc(18px * var(--ts))}
.text-large .story-aside h2,.text-xlarge .story-aside h2{font-size:calc(28px * var(--hs))}
.text-large .info-panel h2,.text-xlarge .info-panel h2,.text-large .reassurance h2,.text-xlarge .reassurance h2,.text-large .about-additions h2,.text-xlarge .about-additions h2{font-size:calc(27px * var(--hs))}
.text-large .personal-note h2,.text-xlarge .personal-note h2{font-size:calc(32px * var(--hs))}
.text-large .ai-hub-heading,.text-xlarge .ai-hub-heading{font-size:calc(30px * var(--hs))}
.text-large .guide-steps article span,.text-xlarge .guide-steps article span{font-size:calc(28px * var(--hs))}
.text-large .pronounce-line a,.text-xlarge .pronounce-line a{font-size:calc(14px * var(--ts))}
.text-large .story-aside p.aside-pronounce,.text-xlarge .story-aside p.aside-pronounce{font-size:calc(15px * var(--ts))}
.text-large footer p,.text-xlarge footer p{font-size:calc(14px * var(--ts))}
@media(max-width:620px){
 .text-large body,.text-xlarge body{font-size:calc(16px * var(--ts))}
 .text-large nav,.text-xlarge nav{justify-content:flex-start}
 .text-large nav a,.text-xlarge nav a{font-size:calc(14px * var(--ts))}
 .text-large .eyebrow,.text-xlarge .eyebrow{font-size:calc(12px * var(--ts))}
 .text-large .intro,.text-xlarge .intro{font-size:calc(18px * var(--ts))}
 .text-large .tagline,.text-xlarge .tagline{font-size:calc(22px * var(--ts))}
 .text-large .welcome h2,.text-xlarge .welcome h2{font-size:calc(35px * var(--hs))}
 .text-large .interior h1,.text-xlarge .interior h1{font-size:calc(40px * var(--hs))}
 .text-large .section-intro,.text-xlarge .section-intro{font-size:calc(19px * var(--ts))}
 .text-large .personal-note h2,.text-xlarge .personal-note h2{font-size:calc(26px * var(--hs))}
}

/* Higher contrast: black on white, solid borders instead of pastel panels, strong focus ring. */
html.high-contrast{--navy:#00264d;--ink:#000;--cream:#fff;--teal:#00505a;--blue:#00386b}
.high-contrast body{background:#fff;color:#000}
.high-contrast a{color:#00264d;text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:3px}
.high-contrast h1,.high-contrast h2,.high-contrast h3,.high-contrast h4{color:#000}
.high-contrast :is(.kicker,.eyebrow,.section-intro,.last-reviewed,.feedback-note,.read-aloud-message,.search-section,.search-status,.guide-footer,.aside-pronounce,.comfort-label,.ai-card-number,.guide-steps article span,.note-symbol){color:#000}
.high-contrast :is(.back,.topic-link,.text-link,.personal-note a,.ai-references a,.reading a,.ai-bottom-nav a,.search-results a,.search-topics a,.guide-feedback a,.pronounce-line a){color:#00264d}
.high-contrast .site-header{background:#fff;box-shadow:0 2px 0 #000}
.high-contrast .brand{color:#00264d;text-decoration:none}
.high-contrast nav a{color:#000;text-decoration:none}
.high-contrast nav a.active,.high-contrast nav a:hover{background:#000;color:#fff}
.high-contrast .hero-shade{background:rgba(255,255,255,.96)}
.high-contrast .primary-cta{background:#00264d;color:#fff;text-decoration:none;box-shadow:0 6px 0 #000}
.high-contrast .primary-cta:hover{background:#000}
.high-contrast :is(.speak,.inline-speak){background:#fff;color:#000;border:2px solid #000;box-shadow:none}
.high-contrast :is(.speak,.inline-speak):hover{background:#e6e6e6}
.high-contrast :is(.topic-card,.guide-link,.story-aside,.info-panel,.guide-steps article,.reassurance,.calm-note,.example-mail,.read-aloud,.guide-feedback,.contact-help-note,.contact-options article,.personal-note,.reading blockquote){background:#fff !important;border:2px solid #000 !important;box-shadow:none;color:#000}
.high-contrast a:is(.topic-card,.guide-link){color:#000;text-decoration:none}
.high-contrast :is(.read-aloud,.read-aloud-bar) button{background:#00264d;color:#fff}
.high-contrast .read-aloud-bar button[data-tts-stop]{background:#000}
.high-contrast .read-aloud-bar{background:#fff;border:2px solid #000}
.high-contrast :is(.search-row input,.read-aloud-buttons select){border:2px solid #000;color:#000}
.high-contrast .comfort{background:#fff;border:2px solid #000}
.high-contrast .comfort-toggle{color:#000}
.high-contrast .comfort-toggle:hover,.high-contrast .comfort-toggle[aria-expanded="true"]{background:#000;color:#fff}
.high-contrast .comfort button{border-color:#000;color:#000}
.high-contrast .comfort button:hover{background:#e6e6e6}
.high-contrast .comfort button[aria-pressed="true"]{background:#000;color:#fff}
.high-contrast footer{background:#000;color:#fff}
.high-contrast footer a{color:#fff}
.high-contrast .footer-brand{text-decoration:none}
.high-contrast .footer-small{opacity:1}
.high-contrast a:focus-visible,.high-contrast button:focus-visible,.high-contrast select:focus-visible,.high-contrast input:focus-visible{outline:4px solid #000;outline-offset:3px;box-shadow:0 0 0 7px #fff}
.high-contrast footer a:focus-visible{outline-color:#fff;box-shadow:0 0 0 7px #000}
@media print{html.text-large,html.text-xlarge{font-size:100%}html.text-large body,html.text-xlarge body{font-size:12pt}html.high-contrast body{background:#fff !important}}

/* HI-234 glossary (v3.2): glossary links in guides, the glossary page and the "see the glossary" notes */
.reading a[href*="glossary/index.html#"]{text-decoration-line:underline;text-decoration-style:dotted;text-decoration-thickness:2px;text-underline-offset:4px}
.reading .glossary-jump{display:flex;flex-wrap:wrap;gap:8px;list-style:none;margin:18px 0 8px;padding:0}
.reading .glossary-jump li{margin:0}
.reading .glossary-jump a{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;padding:0 10px;border:2px solid #7bb7a2;border-radius:12px;background:#fff;color:#096d90;font-weight:800;text-decoration:none}
.reading .glossary-jump a:hover,.reading .glossary-jump a:focus-visible{background:#eaf5f3;border-color:#126d87}
.guide h2[id]{scroll-margin-top:16px}
.reading .glossary-more{font-size:.95rem;margin-top:-.2em}
.glossary-note{margin-top:28px}
.glossary-note a{color:#096d90;font-weight:700;text-underline-offset:3px}
.high-contrast .reading a[href*="glossary/index.html#"]{text-decoration-style:solid}
.high-contrast .reading .glossary-jump a{background:#fff;color:#00264d;border-color:#000}
.high-contrast .glossary-note a{color:#00264d;text-decoration:underline;text-decoration-thickness:2px}
@media print{.glossary-jump,.glossary-note{display:none}}

/* HI-231 message checker (v3.3): large answer buttons and the start button. Sizes use em so they follow the text size control. */
.reading .check-question{font-size:1.3em;font-weight:700;line-height:1.5;max-width:36em;margin:14px 0 6px}
.reading .check-answers{list-style:none;margin:22px 0 10px;padding:0;display:grid;gap:14px;max-width:30em}
.reading .check-answers li{margin:0}
.reading .check-answers a,.reading a.check-start{display:flex;align-items:center;min-height:56px;padding:12px 22px;border:3px solid #126d87;border-radius:16px;background:#fff;color:#0b4f6a;font-size:1.15em;font-weight:800;text-decoration:none}
.reading a.check-start{display:inline-flex}
.reading .check-answers a:hover,.reading .check-answers a:focus-visible,.reading a.check-start:hover,.reading a.check-start:focus-visible{background:#eaf5f3;border-color:#0b4f6a}
.reading .check-nav{margin-top:26px}
.high-contrast .reading :is(.check-answers a,a.check-start){background:#fff;color:#00264d;border-color:#000}
.high-contrast .reading :is(.check-answers a,a.check-start):is(:hover,:focus-visible){background:#fff;border-color:#000;text-decoration:underline}
@media print{.check-answers,.check-nav,.check-start{display:none}}

/* HI-235 send this guide (v3.4): email and text links at the foot of each guide. Sizes use em so they follow the text size control. */
.send-guide{margin:28px 0;padding:20px 24px;border-radius:16px;background:#f0f7f5;border:1px solid #d4e6df}
.send-guide h2{margin-top:0}
.send-guide-links{list-style:none;margin:18px 0 10px;padding:0;display:grid;gap:14px;max-width:30em}
.send-guide-links li{margin:0}
.send-guide-links a{display:flex;align-items:center;min-height:56px;padding:12px 22px;border:3px solid #126d87;border-radius:16px;background:#fff;color:#0b4f6a;font-size:1.15em;font-weight:800;text-decoration:none}
.send-guide-links a:hover,.send-guide-links a:focus-visible{background:#eaf5f3;border-color:#0b4f6a}
.send-guide-note{font-size:.95rem;color:#31576a}
.send-guide-url{font-weight:700;overflow-wrap:anywhere}
.high-contrast .send-guide{background:#fff;border:2px solid #000;color:#000}
.high-contrast .send-guide-note{color:#000}
.high-contrast .send-guide-links a{background:#fff;color:#00264d;border-color:#000}
.high-contrast .send-guide-links a:is(:hover,:focus-visible){background:#fff;border-color:#000;text-decoration:underline}
@media print{.send-guide{display:none !important}}

/* HI-246 (v3.5): the Stay safe online hub is grouped under headings, and the home page and Explore point to the checker. */
.hub-group{margin-top:20px}
.check-prompt{margin:24px 0 0;font-size:1.05rem}
.check-prompt a{color:#096d90;font-weight:700;text-underline-offset:3px}
.high-contrast .check-prompt a{color:#00264d;text-decoration:underline;text-decoration-thickness:2px}
.welcome ~ .check-prompt{max-width:1200px;margin:-45px auto 60px;padding:0 35px}
@media(max-width:620px){.welcome ~ .check-prompt{margin:-20px 0 45px;padding:0 22px}}
