/* Learn only: concise field guides, diagrams and tools. Site chrome stays shared. */
.learn-page {
  background: #fff;
  --learn-rule: #d4e3f2;
  --learn-soft: #f3f8fe;
  --learn-accent: #245fc7;
}

.learn-page [hidden] { display: none !important; }
.learn-page main .container { width: min(1160px, calc(100% - 64px)); }
.learn-page :is(h1, h2, h3) { color: var(--ink); letter-spacing: -.045em; }
.learn-page :is(p, li, dd) { overflow-wrap: anywhere; }
.learn-page :is(a, button, input, summary):focus-visible { outline: 2px solid var(--blue-dark); outline-offset: 4px; }
.learn-page :is(button, input) { font: inherit; }
.learn-page button { cursor: pointer; }
.learn-page .breadcrumb { padding-block: 22px 0; }
.learn-page .eyebrow { color: var(--blue-dark); font-size: 10px; letter-spacing: .16em; margin-bottom: 18px; }
.learn-page .learn-label { color: var(--blue-dark); font-size: 10px; font-weight: 700; letter-spacing: .1em; margin-bottom: 12px; }
.learn-page .learn-anchor { display: block; height: 0; }

/* The Learn index is a choice of useful tools, not a list of long reads. */
.learn-hub-hero, .learn-article-hero { padding: 50px 0 66px; }
.learn-hero-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .85fr); align-items: center; gap: 60px; }
.learn-hub-hero h1 { font-size: clamp(44px, 5.3vw, 70px); line-height: 1.22; font-weight: 720; }
.learn-hub-hero h1 span { color: var(--blue-dark); }
.learn-lead { margin-top: 24px; color: var(--muted); font-size: 16px; line-height: 1.95; }
.learn-primary-link { display: inline-flex; min-height: 52px; align-items: center; justify-content: space-between; gap: 28px; margin-top: 28px; padding: 12px 22px; border-radius: 999px; background: var(--blue); color: white; font-size: 13px; font-weight: 600; transition: background .2s, transform .2s; }
.learn-primary-link:hover { background: var(--blue-dark); transform: translateY(-2px); }
.learn-hub-caption { margin-top: 23px; color: var(--muted); font-size: 10px; letter-spacing: .06em; }
.learn-hub-visual { position: relative; display: grid; min-height: 370px; padding: 24px; place-items: center; border: 1px solid var(--learn-rule); border-radius: 24px; background: url('/assets/images/ocean-contours.svg') center / cover, radial-gradient(ellipse at 50% 35%, #fff, #eaf3fc); }
.learn-visual-label { justify-self: start; color: #52749a; font: 9px / 1.5 ui-monospace, monospace; letter-spacing: .07em; }
.learn-hub-visual > img { width: 260px; height: 250px; object-fit: contain; }
.learn-mini-route { display: flex; width: 100%; justify-content: space-between; align-items: center; gap: 10px; padding-top: 16px; border-top: 1px solid #bfd6ed; font-size: 11px; color: #304f76; }
.learn-mini-route span { display: flex; align-items: center; gap: 6px; }
.learn-mini-route i { color: var(--blue-dark); font: 9px ui-monospace, monospace; }
.learn-mini-route b { font-weight: 400; color: #7097be; }
.learn-hub-section { padding: 70px 0; border-top: 1px solid var(--learn-rule); }
.learn-hub-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; margin-bottom: 30px; }
.learn-hub-heading h2 { font-size: clamp(26px, 3.1vw, 40px); font-weight: 650; line-height: 1.35; }
.learn-hub-heading > p { color: var(--muted); font-size: 13px; }
.learn-story-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.learn-story-card { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); min-height: 310px; overflow: hidden; border: 1px solid var(--learn-rule); border-radius: 18px; background: #fff; transition: border-color .2s, box-shadow .2s, transform .2s; }
.learn-story-card:hover { border-color: #8bb4e5; box-shadow: 0 15px 35px #06204d0b; transform: translateY(-3px); }
.learn-story-art { position: relative; display: grid; padding: 30px 14px 50px; place-items: center; overflow: hidden; background: radial-gradient(circle at 50% 40%, #fff, #eaf3fc); }
.learn-story-art img { width: 100%; height: 190px; object-fit: contain; }
.learn-story-gear .learn-story-art img { width: 108%; max-width: none; }
.learn-art-index { position: absolute; top: 18px; left: 18px; color: #52749a; font: 10px ui-monospace, monospace; }
.learn-art-tag { position: absolute; bottom: 20px; left: 10px; right: 10px; text-align: center; font-size: 10px; color: #3d638c; }
.learn-story-copy { display: flex; flex-direction: column; align-items: flex-start; padding: 28px 24px; }
.learn-story-copy h3 { margin-bottom: 14px; font-size: clamp(22px, 2.1vw, 28px); line-height: 1.4; font-weight: 650; }
.learn-story-copy > p:not(.learn-label) { color: var(--muted); font-size: 13px; line-height: 1.85; }
.learn-card-action { display: flex; width: 100%; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 22px; color: var(--blue-dark); font-size: 11px; font-weight: 600; }
.learn-card-action > span { font-size: 18px; }
.learn-rule-art { background: #eaf4fd; }
.learn-rule-art svg { width: 150%; max-width: none; }
.learn-word-art { background: #eff4fc; }
.learn-word-stack { display: grid; width: 100%; gap: 10px; transform: rotate(-5deg); }
.learn-word-stack > span { display: grid; gap: 4px; padding: 12px 16px; border: 1px solid #c2d8ee; border-radius: 8px; background: #ffffffed; color: #245fc7; font-size: 14px; font-weight: 600; }
.learn-word-stack > span:nth-child(2) { transform: translateX(8px); }
.learn-word-stack i { color: #7188a3; font-size: 9px; font-style: normal; font-weight: 400; }
.learn-hub-shortcuts { background: var(--learn-soft); }
.learn-question-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 38px; }
.learn-question-grid a { display: flex; min-height: 68px; align-items: center; justify-content: space-between; gap: 18px; padding: 14px 0; border-bottom: 1px solid var(--learn-rule); color: #234568; font-size: 14px; }
.learn-question-grid a > span:last-child { color: var(--blue-dark); font-size: 18px; }
.learn-question-grid a:hover { color: var(--blue-dark); }
.learn-next-ocean { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 40px; }
.learn-next-ocean h2 { font-size: clamp(32px, 3.7vw, 48px); line-height: 1.3; font-weight: 650; }
.learn-next-ocean p:not(.eyebrow) { margin-top: 20px; color: var(--muted); font-size: 14px; line-height: 1.9; }
.learn-ocean-links { display: grid; min-width: 265px; gap: 12px; }
.learn-ocean-links a { display: flex; min-height: 58px; align-items: center; justify-content: space-between; gap: 26px; padding: 13px 22px; border: 1px solid #b9d2ed; border-radius: 12px; color: var(--blue-dark); font-size: 13px; }
.learn-ocean-links a:first-child { background: var(--blue-dark); border-color: var(--blue-dark); color: #fff; }
.learn-ocean-links a:hover { box-shadow: 0 6px 18px #3372d914; }
.learn-editor-note { display: flex; align-items: center; gap: 30px; padding-top: 40px; margin-top: 45px; border-top: 1px solid var(--learn-rule); }
.learn-editor-note > span { flex: 0 0 auto; font: 9px ui-monospace, monospace; letter-spacing: .1em; color: #52749a; }
.learn-editor-note p { color: var(--muted); font-size: 12px; }

/* Short modules, a direct table of contents and clear, visible answers. */
.learn-article-hero { border-bottom: 1px solid var(--learn-rule); background: linear-gradient(140deg, #fff 25%, #f1f7fd); }
.learn-article-hero .learn-hero-grid { grid-template-columns: minmax(0, 1fr) 260px; gap: 60px; }
.learn-article-hero h1 { max-width: 780px; font-size: clamp(36px, 4.4vw, 58px); font-weight: 700; line-height: 1.3; }
.learn-article-hero .learn-lead { max-width: 660px; font-size: 15px; }
.learn-meta { margin-top: 20px; font-size: 11px; color: #607590; }
.learn-hero-art { display: grid; min-height: 235px; place-items: center; border-radius: 50%; background: repeating-radial-gradient(circle, transparent 0 38px, #3372d912 39px 40px, transparent 41px 65px); }
.learn-hero-art img { width: 88%; height: 225px; object-fit: contain; }
.learn-article-layout { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 65px; align-items: start; padding-block: 48px 72px; }
.learn-toc { position: sticky; top: 110px; display: grid; gap: 4px; align-self: start; padding: 6px 20px 6px 0; border-right: 1px solid var(--learn-rule); }
.learn-toc > p { margin-bottom: 12px; color: #52749a; font-size: 10px; font-weight: 600; letter-spacing: .04em; }
.learn-toc a { display: block; padding: 9px 0; color: #526782; font-size: 12px; line-height: 1.6; }
.learn-toc a:hover { color: var(--blue-dark); }
.learn-article-body { min-width: 0; }
.learn-article-body > :first-child { margin-top: 0; }
.learn-section { padding-block: 36px; border-bottom: 1px solid var(--learn-rule); }
.learn-section:first-child { padding-top: 0; }
.learn-section-head { margin-bottom: 22px; }
.learn-section-head .eyebrow { margin-bottom: 10px; }
.learn-article-body h2 { font-size: clamp(24px, 2.6vw, 32px); font-weight: 650; line-height: 1.45; margin-bottom: 18px; }
.learn-article-body h3 { font-size: 18px; font-weight: 650; line-height: 1.5; margin-bottom: 10px; }
.learn-article-body p { color: #405875; font-size: 14px; line-height: 1.95; }
.learn-article-body p + p { margin-top: 12px; }
.learn-article-body .learn-label { font-size: 10px; color: var(--blue-dark); margin-top: 0; }
.learn-article-body a:not([class]) { color: var(--blue-dark); text-decoration: underline; text-underline-offset: 3px; }
.learn-answer { padding: 26px 30px; margin-bottom: 28px; border: 1px solid #c0d9f3; border-radius: 16px; background: #eef6ff; }
.learn-answer p strong { color: #143d75; font-size: 20px; font-weight: 650; line-height: 1.6; }
.learn-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 22px; }
.learn-grid-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.learn-panel { padding: 22px; border: 1px solid var(--learn-rule); border-radius: 12px; background: #fff; }
.learn-panel-blue { background: var(--learn-soft); }
.learn-list { display: grid; gap: 10px; padding-left: 1.3em; margin-top: 14px; color: #405875; font-size: 14px; line-height: 1.85; }
.learn-list li::marker { color: var(--blue-dark); }
.learn-note { margin-top: 20px; padding: 16px 20px; border-left: 3px solid #7ba7d9; border-radius: 0 8px 8px 0; background: #f4f8fd; color: #405875; font-size: 13px; line-height: 1.85; }
.learn-note strong { color: #214775; }
.learn-note p { font-size: 13px; }
.learn-steps { display: grid; margin-top: 20px; list-style: none; }
.learn-steps li { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 17px; padding: 20px 0; border-bottom: 1px solid var(--learn-rule); }
.learn-steps li:last-child { border-bottom: 0; }
.learn-steps li > span { display: grid; width: 32px; height: 32px; place-items: center; border-radius: 50%; background: #eaf3fc; color: var(--blue-dark); font: 11px ui-monospace, monospace; }
.learn-steps h3 { margin-bottom: 5px; }
.learn-table-wrap { max-width: 100%; margin-top: 20px; overflow-x: auto; border: 1px solid var(--learn-rule); border-radius: 12px; }
.learn-table { width: 100%; border-collapse: collapse; text-align: left; font-size: 13px; color: #405875; line-height: 1.85; }
.learn-table caption { padding: 16px 20px; color: #234b79; background: #f4f8fd; font-size: 13px; text-align: left; font-weight: 600; }
.learn-table th, .learn-table td { padding: 16px; border-bottom: 1px solid var(--learn-rule); vertical-align: top; }
.learn-table th { color: #234b79; font-weight: 600; background: #f4f8fd; }
.learn-table tbody th { width: 24%; }
.learn-table tr:last-child > * { border-bottom: 0; }
.learn-diagram { padding: 20px; margin: 22px 0; border: 1px solid #c7dff7; border-radius: 16px; background: linear-gradient(160deg, #f9fcff, #ecf5ff); }
.learn-diagram svg { display: block; width: 100%; height: auto; overflow: visible; }
.learn-diagram figcaption { margin-top: 16px; color: #536c89; font-size: 12px; line-height: 1.8; }
.learn-faq { margin-top: 34px; }
.learn-page details { padding: 16px 0; border-bottom: 1px solid var(--learn-rule); }
.learn-page summary { cursor: pointer; color: #173c6b; font-size: 14px; font-weight: 600; line-height: 1.7; }
.learn-page summary::marker { color: var(--blue-dark); }
.learn-page details[open] summary { margin-bottom: 12px; }
.learn-page details > p { padding-inline: 18px 4px; }
.learn-sources { margin-top: 36px; padding: 24px; border: 1px solid var(--learn-rule); border-radius: 12px; background: #f7fafe; }
.learn-sources h2 { font-size: 16px; margin-bottom: 12px; }
.learn-sources :is(p, li, a) { font-size: 12px; line-height: 1.8; }
.learn-sources ul { margin-top: 10px; padding-left: 1.3em; }
.learn-sources li + li { margin-top: 7px; }
.learn-related { margin-top: 38px; }
.learn-related-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 20px; }
.learn-related-grid a { display: flex; flex-direction: column; gap: 12px; padding: 22px; border: 1px solid var(--learn-rule); border-radius: 12px; background: #f4f8fd; color: #245fc7; }
.learn-related-grid a > span { font-size: 11px; line-height: 1.7; }
.learn-related-grid strong { color: #143d75; font-size: 17px; line-height: 1.6; }
.learn-related-grid a:hover { background: #eaf3fc; }

/* Native checkboxes; only the count and reset require JavaScript. */
.learn-checklist { margin-top: 22px; padding: 24px; border: 1px solid #bdd5f0; border-radius: 16px; background: #f7fbff; }
.learn-tool-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 14px; }
.learn-tool-heading h3 { margin: 0; }
.learn-tool-heading output { flex: 0 0 auto; min-width: 62px; padding: 5px 9px; border-radius: 6px; background: #e3effd; color: #245fc7; font: 12px / 1.6 ui-monospace, monospace; text-align: center; }
.learn-checklist > label { display: flex; align-items: flex-start; gap: 14px; min-height: 60px; padding: 14px 0; border-top: 1px solid var(--learn-rule); cursor: pointer; }
.learn-checklist input { flex: 0 0 auto; width: 20px; height: 20px; margin-top: 3px; accent-color: var(--blue-dark); }
.learn-checklist label > span { display: grid; gap: 3px; color: #234568; font-size: 14px; }
.learn-checklist label small { color: var(--muted); font-size: 12px; line-height: 1.8; }
.learn-checklist input:checked + span strong { color: #61758e; text-decoration: line-through; text-decoration-color: #7a9bc1; }
.learn-tool-button { min-height: 40px; padding: 8px 14px; margin-top: 12px; border: 1px solid #a6c4e7; border-radius: 8px; background: #fff; color: #245fc7; font-size: 12px !important; }
.learn-tool-button:hover { background: #eaf3fc; }

/* Search enhances the glossary; every definition remains in the HTML. */
.learn-controls { margin: 20px 0; padding: 22px; border: 1px solid #bdd5f0; border-radius: 14px; background: #f4f8fd; }
.learn-controls > label { display: block; margin-bottom: 8px; font-size: 12px; font-weight: 600; color: #234b79; }
.learn-controls input { display: block; width: 100%; min-height: 52px; padding: 12px 15px; border: 1px solid #8cabce; border-radius: 8px; background: white; color: var(--ink); font-size: 16px; }
.learn-controls input::placeholder { color: #687c95; font-size: 13px; }
.learn-filter-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.learn-filter-row button { min-height: 38px; padding: 7px 13px; border: 1px solid #bbd0e8; border-radius: 999px; background: #fff; color: #466383; font-size: 12px; }
.learn-filter-row button[aria-pressed="true"] { border-color: var(--blue-dark); background: var(--blue-dark); color: #fff; }
.learn-controls [data-term-count] { margin-top: 12px; font-size: 12px; color: #526782; }
.learn-term-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.learn-term { padding: 23px; border: 1px solid var(--learn-rule); border-radius: 12px; background: #fff; }
.learn-term:target { outline: 2px solid #3372d9; outline-offset: 3px; }
.learn-term h3 { font-size: 19px; }
.learn-term h3 small { display: block; margin-top: 5px; font: 10px / 1.6 ui-monospace, monospace; letter-spacing: .02em; color: #667f9c; }
.learn-term p { font-size: 13px; }
.learn-term .learn-term-example { padding-top: 12px; border-top: 1px solid #dce8f5; color: #61738c; font-size: 12px; }
[data-term-empty] { padding: 24px; border: 1px dashed #9ab8d9; border-radius: 12px; }

.learn-quiz { margin-top: 20px; padding: 24px; border: 1px solid #bfd6f0; border-radius: 14px; background: #f5f9ff; }
.learn-quiz-options { display: grid; gap: 10px; margin-top: 16px; }
.learn-quiz-options button { min-height: 48px; padding: 12px 16px; border: 1px solid #aac4e3; border-radius: 8px; background: #fff; color: #244a79; text-align: left; font-size: 13px; line-height: 1.7; }
.learn-quiz-options button:hover { background: #eaf3fc; }
.learn-quiz-options button[aria-pressed="true"] { border-color: #245fc7; box-shadow: inset 3px 0 #245fc7; background: #eaf3fc; }
.learn-quiz .learn-quiz-feedback { margin-top: 15px; font-size: 13px; color: #214b80; font-weight: 600; }
.learn-quiz .learn-quiz-feedback:empty { margin: 0; }
.learn-quiz details { border-bottom: 0; padding-bottom: 0; }

@media (max-width: 1000px) {
  .learn-page main .container { width: calc(100% - 48px); }
  .learn-hero-grid { gap: 32px; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }
  .learn-hub-hero h1 { font-size: clamp(42px, 5.4vw, 58px); }
  .learn-hub-visual { min-height: 330px; padding: 18px; }
  .learn-hub-visual > img { height: 215px; }
  .learn-visual-label { font-size: 8px; }
  .learn-mini-route { gap: 5px; font-size: 10px; }
  .learn-mini-route span { gap: 4px; }
  .learn-story-card { grid-template-columns: 1fr; }
  .learn-story-art { height: 190px; padding: 14px; }
  .learn-story-art img { width: 80%; height: 170px; }
  .learn-story-gear .learn-story-art img { width: 70%; }
  .learn-art-tag { right: 14px; left: auto; bottom: 12px; padding: 3px 8px; border-radius: 4px; background: #ffffffd9; }
  .learn-rule-art svg { width: 95%; max-height: 165px; }
  .learn-word-stack { width: 65%; gap: 6px; }
  .learn-word-stack > span { grid-template-columns: 1fr auto; padding: 9px 13px; align-items: center; font-size: 12px; }
  .learn-story-copy { padding: 26px; }
  .learn-story-copy h3 br { display: none; }
  .learn-story-copy h3 { font-size: 25px; }
  .learn-article-hero .learn-hero-grid { grid-template-columns: minmax(0, 1fr) 200px; gap: 25px; }
  .learn-hero-art { min-height: 190px; }
  .learn-hero-art img { height: 185px; }
  .learn-article-layout { grid-template-columns: 175px minmax(0, 1fr); gap: 30px; }
  .learn-grid-three { grid-template-columns: 1fr; }
  .learn-panel { padding: 19px; }
  .learn-next-ocean { gap: 25px; }
}

@media (max-width: 760px) {
  .learn-page main .container { width: calc(100% - 40px); }
  .learn-page .breadcrumb { padding-top: 16px; }
  .learn-hub-hero { padding: 34px 0 44px; }
  .learn-hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .learn-hub-hero h1 { font-size: clamp(39px, 9.7vw, 62px); }
  .learn-lead { margin-top: 20px; font-size: 14px; }
  .learn-hub-visual { display: none; }
  .learn-hub-caption { margin-top: 18px; font-size: 9px; }
  .learn-hub-section { padding: 44px 0; }
  .learn-hub-heading { display: block; margin-bottom: 22px; }
  .learn-hub-heading > p { margin-top: 12px; font-size: 12px; }
  .learn-hub-heading > p br { display: none; }
  .learn-story-grid { gap: 18px; }
  .learn-story-copy { padding: 22px; }
  .learn-story-copy h3 { font-size: 23px; }
  .learn-question-grid { grid-template-columns: 1fr; }
  .learn-question-grid a { font-size: 13px; }
  .learn-next-ocean { grid-template-columns: 1fr; gap: 24px; }
  .learn-next-ocean p:not(.eyebrow) br { display: none; }
  .learn-ocean-links { min-width: 0; }
  .learn-editor-note { display: block; margin-top: 30px; padding-top: 25px; }
  .learn-editor-note p { margin-top: 10px; }
  .learn-article-hero { padding: 30px 0 32px; }
  .learn-article-hero .learn-hero-grid { grid-template-columns: 1fr; gap: 0; }
  .learn-article-hero h1 { font-size: clamp(31px, 7.5vw, 47px); }
  .learn-article-hero .learn-lead { font-size: 14px; margin-top: 18px; }
  .learn-hero-art { display: none; }
  .learn-meta { margin-top: 17px; font-size: 10px; }
  .learn-article-layout { display: block; padding-block: 25px 46px; }
  .learn-toc { position: static; display: flex; flex-wrap: wrap; gap: 6px 16px; padding: 0 0 22px; margin-bottom: 26px; border-right: 0; border-bottom: 1px solid var(--learn-rule); }
  .learn-toc > p { width: 100%; margin-bottom: 3px; }
  .learn-toc a { padding: 6px 0; font-size: 11px; color: var(--blue-dark); text-decoration: underline; text-underline-offset: 4px; }
  .learn-section { padding-block: 28px; }
  .learn-article-body h2 { font-size: clamp(23px, 5.9vw, 30px); }
  .learn-article-body h3 { font-size: 17px; }
  .learn-article-body p { font-size: 14px; }
  .learn-answer { padding: 22px; margin-bottom: 24px; }
  .learn-answer p strong { font-size: 18px; }
  .learn-grid { gap: 12px; }
  .learn-panel { padding: 18px; }
  .learn-note { padding: 14px 17px; }
  .learn-note p { font-size: 13px; }
  .learn-diagram { padding: 12px; }
  .learn-table th, .learn-table td { padding: 12px; }
  .learn-table { font-size: 12px; }
  .learn-sources { padding: 20px; }
  .learn-sources h2 { font-size: 16px; }
  .learn-sources p { font-size: 12px; }
  .learn-checklist { padding: 20px; }
  .learn-tool-heading h3 { font-size: 16px; }
  .learn-controls { padding: 18px; }
  .learn-term { padding: 20px; }
  .learn-term p { font-size: 13px; }
  .learn-quiz { padding: 20px; }
}

@media (max-width: 560px) {
  .learn-story-grid { grid-template-columns: 1fr; }
  .learn-story-card { grid-template-columns: 105px minmax(0, 1fr); min-height: 250px; }
  .learn-story-art { height: auto; padding: 25px 7px; }
  .learn-story-art img { width: 150%; height: 165px; max-width: none; }
  .learn-story-gear .learn-story-art img { width: 185%; }
  .learn-art-index { top: 16px; left: 15px; }
  .learn-art-tag { display: none; }
  .learn-story-copy { padding: 23px 19px; }
  .learn-story-copy h3 { font-size: 23px; line-height: 1.4; }
  .learn-story-copy h3 br { display: block; }
  .learn-story-copy .learn-label { font-size: 8px; }
  .learn-story-copy > p:not(.learn-label) { font-size: 12px; }
  .learn-card-action { font-size: 10px; padding-top: 17px; }
  .learn-rule-art svg { width: 280%; max-height: none; transform: rotate(-8deg); }
  .learn-word-stack { width: 145%; margin-left: 26px; }
  .learn-word-stack > span { display: grid; grid-template-columns: 1fr; font-size: 11px; padding: 12px; }
  .learn-grid, .learn-related-grid, .learn-term-grid { grid-template-columns: 1fr; }
  .learn-table th, .learn-table td { padding: 10px; }
  .learn-table tbody th { width: 27%; }
}

@media (max-width: 380px) {
  .learn-page main .container { width: calc(100% - 32px); }
  .learn-hub-hero h1 { font-size: 36px; }
  .learn-story-card { grid-template-columns: 82px minmax(0, 1fr); }
  .learn-story-copy { padding-inline: 17px; }
  .learn-story-copy h3 { font-size: 21px; }
  .learn-article-hero h1 { font-size: 29px; }
  .learn-answer, .learn-checklist, .learn-quiz { padding: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .learn-page *, .learn-page *::before, .learn-page *::after { transition: none !important; animation: none !important; }
}

@media print {
  .learn-toc, .learn-controls, .learn-quiz-options, .learn-tool-button, .learn-related { display: none !important; }
  .learn-article-layout { display: block; }
  .learn-page [data-term][hidden] { display: block !important; }
  .learn-section, .learn-term { break-inside: avoid; }
}
