/* Miura Igakusha: editorial clarity, cobalt confidence, warm photographic detail. */
:root {
  --ink: #102334;
  --blue: #1749d1;
  --muted: #596776;
  --line: #dce2e4;
  --paper: #fff;
  --soft: #f3f6f5;
  --sage: #4e734e;
  --width: 1280px;
  --radius: 3px;
  font-family:
    "Noto Sans JP Variable", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-size: 15px;
  line-height: 1.95;
}
h1,
h2,
h3,
h4,
p,
figure {
  margin: 0;
}
h1,
h2,
h3 {
  line-height: 1.5;
  letter-spacing: 0.025em;
}
h1,
h2 {
  font-feature-settings: "palt";
}
a {
  color: inherit;
  text-decoration: none;
  text-underline-offset: 6px;
}
a:hover {
  color: var(--blue);
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
summary,
select {
  -webkit-tap-highlight-color: transparent;
}
button,
summary {
  cursor: pointer;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 5px;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
button {
  color: inherit;
}
a,
button {
  transition:
    color 0.18s,
    background-color 0.18s,
    border-color 0.18s,
    transform 0.18s;
}
::selection {
  background: #dbe6ff;
  color: #102334;
}
[hidden] {
  display: none !important;
}
.skip-link {
  position: fixed;
  left: 20px;
  top: -100px;
  background: white;
  z-index: 99;
  padding: 10px;
}
.skip-link:focus {
  top: 10px;
}
.site-header {
  height: 100px;
  padding: 0 max(4%, calc((100vw - 1380px) / 2));
  display: flex;
  align-items: center;
  gap: 34px;
  border-bottom: 1px solid var(--line);
  background: white;
  position: relative;
  z-index: 10;
}
.brand {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.5;
  flex-shrink: 0;
  color: var(--ink);
}
.brand-ja {
  font-family: inherit;
  font-weight: 700;
  letter-spacing: 0.14em;
  font-size: 26px;
}
.brand-en {
  font-family: inherit;
  font-size: 11px;
  letter-spacing: 0.2em;
  font-weight: bold;
}
.desktop-nav {
  display: flex;
  gap: 34px;
  margin-left: auto;
  font-weight: 700;
  font-size: 13px;
  white-space: nowrap;
}
.desktop-nav a {
  padding: 12px 0;
  position: relative;
}
.desktop-nav a[aria-current="page"]:after,
.desktop-nav a:hover:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 5px;
  height: 2px;
  background: var(--blue);
}
.header-cta {
  background: var(--blue);
  color: white;
  border-radius: 30px;
  padding: 10px 22px;
  font-size: 13px;
  font-weight: bold;
  white-space: nowrap;
}
.header-cta:hover {
  background: #10389f;
  color: white;
}
.mobile-menu {
  display: none;
}
.hero {
  position: relative;
  max-width: 1600px;
  margin: auto;
  min-height: 690px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
}
.hero-copy {
  padding: 62px 0 48px max(5vw, calc((100vw - 1280px) / 2));
  z-index: 2;
  pointer-events: none;
  position: relative;
}
.hero-copy a {
  pointer-events: auto;
}
.eyebrow {
  font-size: 11px;
  letter-spacing: 0.16em;
  font-weight: 700;
  color: var(--sage);
  line-height: 1.6;
  margin-bottom: 18px;
}
.hero .eyebrow {
  color: var(--ink);
  font-size: 12px;
  letter-spacing: 0.12em;
  margin-bottom: 25px;
}
.hero h1 {
  font-size: clamp(54px, 6.4vw, 92px);
  letter-spacing: -0.055em;
  line-height: 1.16;
  font-weight: 800;
  margin-left: -5px;
}
.blue {
  color: var(--blue);
}
.hero-lead {
  font-family: inherit;
  font-weight: 700;
  font-size: 23px;
  line-height: 1.7;
  margin-top: 28px;
  letter-spacing: 0.035em;
}
.hero-sub {
  font-size: 14px;
  line-height: 1.9;
  margin-top: 16px;
  color: var(--muted);
}
.hero .actions {
  margin-top: 28px;
  gap: 23px;
}
.hero-photo {
  position: absolute;
  right: 0;
  top: 0;
  width: 55%;
  height: 100%;
  clip-path: polygon(18% 0, 100% 0, 100% 100%, 0 100%);
  background: #e9eee8;
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 56% 50%;
}
.hero-photo figcaption {
  position: absolute;
  bottom: 0;
  right: 0;
  padding: 11px 32px;
  background: var(--blue);
  color: white;
  font-size: 9px;
  letter-spacing: 0.16em;
}
.quiet-note {
  font-size: 10px;
  color: var(--muted);
  margin-top: 17px;
}
.actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: var(--blue);
  border: 1px solid var(--blue);
  color: white;
  font-weight: 700;
  padding: 13px 25px;
  border-radius: 30px;
  font-size: 13px;
  line-height: 1.6;
  min-height: 48px;
  white-space: nowrap;
}
.button:hover {
  background: #1038a0;
  border-color: #1038a0;
  color: white;
  transform: translateY(-1px);
}
.button-secondary {
  background: white;
  color: var(--blue);
}
.button-secondary:hover {
  background: #eef3ff;
  color: var(--blue);
}
.text-link {
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  gap: 20px;
  align-items: center;
  line-height: 1.6;
  padding: 8px 0;
  border-bottom: 1px solid var(--blue);
}
.text-link:hover {
  gap: 25px;
}
.text-link:after,
.route-more:after {
  content: "→";
  font-family: inherit;
}
.process-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: var(--width);
  margin: auto;
  padding: 35px 0;
  border-bottom: 1px solid var(--line);
}
.process-strip a {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 10px 28px;
  border-right: 1px solid var(--line);
}
.process-strip a:first-child {
  padding-left: 0;
}
.process-strip a:last-child {
  border: 0;
}
.process-number {
  font-family: inherit;
  color: var(--blue);
  font-size: 27px;
  font-style: italic;
  flex-shrink: 0;
}
.process-strip strong {
  font-size: 19px;
  font-family: inherit;
}
.process-strip p {
  color: var(--muted);
  font-size: 11px;
  margin-top: 5px;
}
.section {
  max-width: var(--width);
  margin: 0 auto;
  padding: 86px 0;
}
.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 35px;
}
.section-heading .eyebrow {
  margin-bottom: 12px;
}
.section h2,
.sample-banner h2,
.closing h2 {
  font-family: inherit;
  font-weight: 700;
  font-size: 35px;
  letter-spacing: 0.025em;
  line-height: 1.65;
}
.section-heading > p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.9;
  padding-bottom: 5px;
}
.route-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 30px 0;
}
.route-entry {
  border-right: 1px solid var(--line);
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.route-entry:first-child {
  padding-left: 0;
}
.route-entry:last-child {
  border: 0;
  padding-right: 0;
}
.route-index {
  font-size: 10px;
  letter-spacing: 0.13em;
  color: var(--muted);
  margin-bottom: 12px;
}
.route-entry h3 {
  font-family: inherit;
  font-size: 21px;
  line-height: 1.55;
  white-space: normal;
  min-height: 65px;
  display: flex;
  align-items: center;
}
.route-en {
  font-size: 8px;
  letter-spacing: 0.12em;
  color: var(--sage);
  margin-top: 7px;
  white-space: nowrap;
}
.route-entry p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 16px;
  line-height: 1.9;
  flex: 1;
}
.route-more {
  font-size: 11px;
  font-weight: 700;
  color: var(--blue);
  margin-top: 20px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.route-entry:hover .route-more {
  padding-left: 4px;
}
.restart-band {
  margin-top: 23px;
  display: flex;
  align-items: center;
  gap: 26px;
  background: #f0f5ef;
  padding: 20px 26px;
}
.restart-band strong {
  font-family: inherit;
  font-size: 17px;
}
.restart-band > span {
  font-size: 12px;
}
.restart-band .text-link {
  margin-left: auto;
  white-space: nowrap;
}
.section-lead {
  color: var(--muted);
  font-size: 14px;
  margin: 14px 0 30px;
  line-height: 2;
}
.editorial-section {
  padding-top: 5px;
}
.editorial-section .section-heading {
  margin-bottom: 8px;
}
.editorial-layout {
  display: grid;
  grid-template-columns: 1fr 285px;
  gap: 45px;
  align-items: start;
}
.resource-fallback,
.resource-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
}
.editorial-image {
  display: block;
  overflow: hidden;
  background: var(--soft);
  margin-bottom: 17px;
}
.editorial-image img {
  aspect-ratio: 1.75;
  object-fit: cover;
  transition: transform 0.5s;
}
.editorial-image:hover img {
  transform: scale(1.035);
}
.article-meta {
  font-size: 10px;
  color: var(--sage);
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  letter-spacing: 0.06em;
  margin: 10px 0;
}
.article-meta span {
  font-size: 9px;
  color: var(--muted);
}
.editorial-card h3 {
  font-size: 20px;
  font-family: inherit;
  line-height: 1.7;
  margin: 6px 0 10px;
}
.editorial-card > p:not(.article-meta) {
  font-size: 12px;
  color: var(--muted);
  line-height: 2;
}
.editorial-card .text-link {
  font-size: 11px;
  margin-top: 13px;
}
.philosophy {
  background: var(--blue);
  padding: 38px 30px 35px;
  color: white;
  margin-top: 0;
  min-height: 420px;
}
.philosophy .eyebrow {
  color: #d9e6ff;
  font-size: 10px;
}
.philosophy h3 {
  font-size: 29px;
  font-family: inherit;
  line-height: 1.8;
  margin-bottom: 25px;
}
.philosophy > p:not(.eyebrow) {
  font-size: 12px;
  line-height: 2.2;
  color: #e4edff;
}
.philosophy .text-link {
  color: white;
  border-color: #a8bdff;
  margin-top: 30px;
  font-size: 11px;
}
.resource-tabs-list {
  display: flex;
  border-bottom: 1px solid var(--line);
  gap: 26px;
  margin-bottom: 26px;
}
.resource-tabs-trigger {
  background: none;
  border: 0;
  border-bottom: 2px solid transparent;
  padding: 0 2px 13px;
  font-weight: 700;
  font-size: 12px;
  color: var(--muted);
}
.resource-tabs-trigger[data-state="active"] {
  border-color: var(--blue);
  color: var(--blue);
}
.resource-tabs-content:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 8px;
}
.sample-banner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  max-width: var(--width);
  margin: 10px auto 0;
  background: var(--soft);
}
.sample-banner > img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}
.sample-banner > div {
  padding: 50px 58px;
}
.sample-banner h2 {
  font-size: 32px;
}
.sample-banner p:not(.eyebrow) {
  font-size: 13px;
  color: var(--muted);
  margin: 20px 0 25px;
}
.sample-banner small {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin-top: 12px;
}
.section-title {
  margin-bottom: 30px;
}
.section-title .eyebrow {
  margin-bottom: 12px;
}
.course-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 25px;
  margin: 25px 0;
}
.course-card {
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--line);
  padding: 23px 0 25px;
  display: flex;
  flex-direction: column;
}
.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 10px;
  color: var(--muted);
}
.status {
  display: inline-block;
  border: 1px solid #b6c2b8;
  padding: 2px 8px;
  font-size: 10px;
  color: #4b654f;
  white-space: nowrap;
  width: max-content;
}
.course-card h3 {
  font-family: inherit;
  font-size: 21px;
  margin: 22px 0 12px;
}
.course-card p {
  font-size: 13px;
  color: var(--muted);
  flex: 1;
}
.course-card .text-link {
  align-self: flex-start;
  font-size: 11px;
  margin-top: 25px;
}
.section + .section {
  padding-top: 10px;
}
.faq-list {
  border-top: 1px solid var(--line);
  max-width: 960px;
  margin: 0 auto;
}
.faq-list details {
  border-bottom: 1px solid var(--line);
}
.faq-list summary {
  padding: 24px 45px 24px 8px;
  font-size: 15px;
  font-weight: 700;
  position: relative;
  list-style: none;
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
.faq-list summary:after {
  content: "＋";
  position: absolute;
  right: 12px;
  top: 24px;
  font-weight: 400;
  color: var(--blue);
}
.faq-list details[open] summary:after {
  content: "−";
}
.faq-list details > div {
  padding: 0 45px 25px 8px;
  color: var(--muted);
  font-size: 13px;
  max-width: 780px;
}
.closing {
  max-width: var(--width);
  margin: 0 auto 90px;
  padding: 48px 56px;
  background: #f0f4fa;
  border-top: 2px solid var(--blue);
  display: flex;
  justify-content: space-between;
  gap: 40px;
}
.closing .eyebrow {
  margin-bottom: 12px;
}
.closing h2 {
  font-size: 29px;
}
.closing p:not(.eyebrow) {
  font-size: 13px;
  color: var(--muted);
  margin-top: 15px;
}
.closing .actions {
  align-content: center;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  flex-shrink: 0;
}
.site-footer {
  background: #102534;
  color: #e8eeef;
  padding: 60px max(5%, calc((100vw - 1280px) / 2)) 20px;
}
.site-footer .brand {
  color: white;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 60px;
}
.footer-top > div > p {
  font-size: 12px;
  color: #c1cbd1;
  margin-top: 22px;
}
.footer-links {
  display: flex;
  gap: 65px;
  font-size: 11px;
}
.footer-links > div {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.footer-links p {
  color: white;
  font-weight: 700;
  font-size: 12px;
  margin-bottom: 13px;
}
.footer-links a {
  color: #b7c5ce;
}
.footer-links a:hover {
  color: white;
}
.footer-bottom {
  margin-top: 45px;
  padding-top: 20px;
  border-top: 1px solid #3b4b57;
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  letter-spacing: 0.04em;
}
.footer-bottom span {
  color: #b7c5ce;
}
.breadcrumbs {
  max-width: var(--width);
  margin: 25px auto 0;
  font-size: 10px;
  color: var(--muted);
  display: flex;
  gap: 12px;
}
.page-intro {
  max-width: var(--width);
  margin: 0 auto;
  padding: 65px 0 58px;
  border-bottom: 1px solid var(--line);
}
.page-intro h1 {
  font-family: inherit;
  font-size: 46px;
  line-height: 1.65;
  max-width: 1000px;
}
.page-intro .lead {
  max-width: 750px;
  color: var(--muted);
  font-size: 15px;
  line-height: 2.2;
  margin-top: 25px;
}
.page-body {
  max-width: var(--width);
  margin: 0 auto;
}
.page-body .section {
  padding: 60px 0;
}
.reading-body {
  max-width: 800px;
  margin: 0 auto;
  padding: 55px 0 85px;
}
.reading-body p + p {
  margin-top: 25px;
}
.reading-body .faq-list {
  margin-bottom: 35px;
}
.reading-body h2 {
  font-family: inherit;
  font-size: 26px;
  margin: 34px 0 18px;
}
.reading-body h3 {
  font-size: 19px;
  margin: 30px 0 15px;
}
.wide-copy {
  max-width: 850px;
  color: var(--muted);
  line-height: 2.2;
}
.notice {
  font-size: 12px;
  line-height: 2;
  padding: 19px 22px;
  background: #f3f6f5;
  border-left: 2px solid var(--sage);
  margin: 25px 0;
  color: #435a4d;
}
.pills {
  padding: 0;
  display: flex;
  gap: 9px;
  list-style: none;
  flex-wrap: wrap;
  margin: 22px 0;
}
.pills li {
  padding: 3px 12px;
  background: var(--soft);
  font-size: 12px;
}
.muted {
  font-size: 12px;
  color: var(--muted);
  margin: 18px 0;
}
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  max-width: 950px;
}
.steps li {
  display: flex;
  gap: 27px;
  border-bottom: 1px solid var(--line);
  padding: 27px 0;
}
.step-no {
  font-family: inherit;
  color: var(--blue);
  font-size: 25px;
  min-width: 35px;
}
.steps h3 {
  font-family: inherit;
  font-size: 21px;
  margin-bottom: 10px;
}
.steps p {
  font-size: 14px;
  color: var(--muted);
}
.resource-band {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  padding: 30px;
  background: var(--soft);
  margin: 25px 0;
}
.resource-band h2 {
  font-size: 23px;
  font-family: inherit;
}
.resource-band p {
  font-size: 13px;
  color: var(--muted);
  margin-top: 10px;
}
.check-list {
  padding-left: 20px;
  line-height: 2.2;
  color: var(--muted);
}
.facts {
  margin: 35px 0;
}
.facts > div {
  display: grid;
  grid-template-columns: 170px 1fr;
  padding: 23px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.facts dt {
  font-weight: 700;
}
.facts dd {
  margin: 0;
  color: var(--muted);
}
.filter-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  background: var(--soft);
  padding: 22px;
  margin: 30px 0;
}
.filter-bar label {
  font-size: 13px;
  font-weight: 700;
}
.filter-bar select,
.filter-bar input,
select,
input[type="search"] {
  border: 1px solid #9baab4;
  background: white;
  padding: 11px;
  min-height: 44px;
  min-width: 190px;
  color: var(--ink);
  border-radius: 2px;
}
.list-title {
  font-size: 23px;
  margin-top: 40px;
}
#course-count,
#university-count {
  font-size: 12px;
  color: var(--muted);
  margin-top: 14px;
}
.source-row {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}
.source-row h2 {
  font-size: 23px;
}
.source-row .eyebrow {
  margin-bottom: 10px;
}
.source-row p:not(.eyebrow) {
  font-size: 13px;
  color: var(--muted);
}
.source-row > a {
  align-self: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--blue);
  text-decoration: underline;
}
.external-note {
  display: block;
  font-size: 10px;
  font-weight: 400;
  color: var(--muted);
}
.sample-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 45px;
  background: var(--soft);
  padding: 40px;
}
.sample-feature h2,
.sample-feature h3 {
  font-family: inherit;
  font-size: 27px;
  line-height: 1.8;
  margin-bottom: 15px;
}
.sample-feature p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 20px;
}
.lesson {
  font-size: 15px;
  line-height: 2.2;
}
.lesson fieldset {
  border: 1px solid var(--line);
  padding: 22px;
  margin: 25px 0;
}
.lesson label {
  display: block;
  font-size: 14px;
  padding: 10px 0;
}
.lesson input[type="radio"] {
  margin-right: 12px;
}
.lesson blockquote {
  border-left: 2px solid var(--blue);
  margin: 25px 0;
  padding: 14px 22px;
  background: var(--soft);
  font-family: inherit;
}
.lesson details {
  background: var(--soft);
  padding: 18px 22px;
  margin-top: 28px;
}
.lesson summary {
  font-size: 14px;
  font-weight: 700;
}
#practice-result,
#path-result {
  padding: 20px;
  background: var(--soft);
  margin-top: 25px;
}
.path-selector {
  max-width: 780px;
}
.form-row {
  margin: 24px 0;
}
.form-row label {
  display: block;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 10px;
}
.form-row select {
  width: 100%;
  max-width: 620px;
}
.sitemap-links {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  font-size: 13px;
}
.sitemap-links a {
  text-decoration: underline;
}
.approach-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin: 25px 0;
}
.approach-grid article {
  border-top: 2px solid var(--blue);
  padding-top: 20px;
}
.approach-grid h3 {
  font-size: 22px;
  font-family: inherit;
  margin: 12px 0;
}
.approach-grid p {
  color: var(--muted);
  font-size: 14px;
}
.line-icon {
  font-size: 11px;
  color: var(--blue);
}
.mobile-only {
  display: none;
}
@media (min-width: 1600px) {
  .hero-copy {
    padding-left: 160px;
  }
}
@media (max-width: 1400px) {
  :root {
    --width: 90vw;
  }
  .hero-copy {
    padding-top: 54px;
  }
  .hero {
    min-height: 660px;
  }
  .hero h1 {
    font-size: clamp(64px, 6.4vw, 86px);
  }
  .desktop-nav {
    gap: 25px;
  }
  .route-entry {
    padding: 0 17px;
  }
  .route-entry h3 {
    font-size: 20px;
  }
  .editorial-layout {
    grid-template-columns: 1fr 265px;
    gap: 35px;
  }
  .philosophy {
    padding: 30px 25px;
  }
}
@media (max-width: 1100px) {
  .site-header {
    height: 88px;
    gap: 25px;
  }
  .brand-ja {
    font-size: 23px;
  }
  .desktop-nav {
    gap: 20px;
    font-size: 11px;
  }
  .header-cta {
    padding: 10px 17px;
    font-size: 11px;
  }
  .hero {
    min-height: 630px;
  }
  .hero h1 {
    font-size: 65px;
  }
  .hero-lead {
    font-size: 20px;
  }
  .hero-sub {
    font-size: 12px;
  }
  .hero .button {
    padding: 12px 20px;
    font-size: 12px;
  }
  .hero .actions {
    gap: 16px;
  }
  .hero .text-link {
    font-size: 12px;
  }
  .hero-photo {
    width: 53%;
  }
  .hero-copy {
    padding-top: 45px;
  }
  .section {
    padding: 65px 0;
  }
  .section h2 {
    font-size: 30px;
  }
  .route-grid {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 35px;
  }
  .route-entry:nth-child(3) {
    border: 0;
  }
  .route-entry:nth-child(4) {
    padding-left: 0;
  }
  .route-entry h3 {
    min-height: 0;
    font-size: 22px;
  }
  .route-entry p {
    max-width: 240px;
  }
  .route-more {
    max-width: 235px;
  }
  .editorial-layout {
    grid-template-columns: 1fr 235px;
    gap: 28px;
  }
  .resource-fallback,
  .resource-grid {
    gap: 24px;
  }
  .philosophy h3 {
    font-size: 25px;
  }
  .editorial-card h3 {
    font-size: 19px;
  }
  .restart-band {
    flex-wrap: wrap;
    gap: 10px 22px;
  }
  .restart-band > span:not(.text-link) {
    flex: 1;
    min-width: 240px;
  }
  .sample-banner > div {
    padding: 40px;
  }
  .sample-banner h2 {
    font-size: 28px;
  }
  .sample-banner p:not(.eyebrow) {
    font-size: 12px;
  }
  .process-strip p {
    font-size: 10px;
  }
  .process-strip a {
    padding: 10px 20px;
    gap: 15px;
  }
  .course-card h3 {
    font-size: 19px;
  }
}
@media (max-width: 800px) {
  .desktop-nav {
    display: none;
  }
  .site-header {
    height: 80px;
    padding: 0 5%;
    gap: 20px;
  }
  .header-cta {
    margin-left: auto;
  }
  .mobile-menu {
    display: block;
    position: static;
    font-size: 11px;
  }
  .mobile-menu summary {
    padding: 10px 0;
    min-width: 45px;
    list-style: none;
    font-weight: 700;
  }
  .mobile-menu nav {
    position: absolute;
    top: 79px;
    left: 0;
    right: 0;
    padding: 25px 5%;
    display: flex;
    flex-direction: column;
    gap: 0;
    background: white;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 22px #1023340d;
  }
  .mobile-menu nav a {
    padding: 13px 8px;
    border-bottom: 1px solid var(--line);
  }
  .hero {
    min-height: 580px;
  }
  .hero-copy {
    padding-top: 44px;
  }
  .hero h1 {
    font-size: 54px;
  }
  .hero-lead {
    font-size: 18px;
  }
  .hero-sub {
    font-size: 11px;
  }
  .hero .eyebrow {
    font-size: 10px;
  }
  .hero .actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    margin-top: 23px;
  }
  .hero-photo {
    width: 52%;
    clip-path: polygon(22% 0, 100% 0, 100% 100%, 0 100%);
  }
  .hero-photo img {
    object-position: 54% 50%;
  }
  .quiet-note {
    font-size: 9px;
    max-width: 220px;
  }
  .process-strip {
    padding: 24px 0;
  }
  .process-strip a {
    gap: 10px;
    align-items: flex-start;
    flex-direction: column;
    padding: 7px 20px;
  }
  .process-strip strong {
    font-size: 16px;
  }
  .process-strip p {
    font-size: 10px;
    line-height: 1.8;
  }
  .process-number {
    font-size: 19px;
  }
  .section-heading > p {
    font-size: 11px;
  }
  .section-heading {
    gap: 20px;
  }
  .section-heading .eyebrow {
    font-size: 9px;
  }
  .section h2 {
    font-size: 27px;
  }
  .editorial-layout {
    grid-template-columns: 1fr;
  }
  .philosophy {
    min-height: 0;
    margin-top: 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 35px;
  }
  .philosophy .eyebrow {
    grid-column: 1/-1;
  }
  .philosophy h3 {
    grid-row: 2/4;
    margin-bottom: 0;
  }
  .philosophy .text-link {
    margin-top: 5px;
    justify-self: start;
  }
  .sample-banner {
    grid-template-columns: 1fr 1fr;
  }
  .sample-banner > div {
    padding: 30px;
  }
  .sample-banner h2 {
    font-size: 25px;
  }
  .sample-banner .eyebrow {
    font-size: 9px;
  }
  .sample-banner > img {
    min-height: 370px;
  }
  .sample-banner p:not(.eyebrow) {
    margin: 15px 0 20px;
    font-size: 11px;
  }
  .course-grid {
    grid-template-columns: 1fr;
  }
  .course-card {
    padding: 20px 0;
  }
  .course-card h3 {
    margin-top: 14px;
  }
  .course-card .text-link {
    margin-top: 15px;
  }
  .closing {
    padding: 35px;
    flex-direction: column;
    gap: 10px;
  }
  .closing .actions {
    align-items: flex-start;
    flex-direction: row;
    justify-content: flex-start;
  }
  .footer-top {
    flex-direction: column;
    gap: 35px;
  }
  .footer-links {
    gap: 70px;
  }
  .page-intro h1 {
    font-size: 36px;
  }
  .page-intro {
    padding: 45px 0;
  }
  .reading-body {
    width: 90%;
    padding: 40px 0 60px;
  }
  .page-body .section {
    padding: 40px 0;
  }
  .approach-grid {
    grid-template-columns: 1fr;
  }
  .sample-feature {
    gap: 25px;
    padding: 28px;
  }
  .sample-feature h2,
  .sample-feature h3 {
    font-size: 23px;
  }
  .resource-band {
    flex-direction: column;
    align-items: flex-start;
  }
  .source-row {
    gap: 20px;
  }
  .source-row > a {
    max-width: 180px;
    min-width: 135px;
  }
  .hero-photo figcaption {
    font-size: 7px;
    padding: 10px 15px;
  }
}
@media (max-width: 540px) {
  .brand-ja {
    font-size: 21px;
  }
  .brand-en {
    font-size: 8px;
  }
  .site-header {
    height: 76px;
    gap: 17px;
  }
  .header-cta {
    padding: 9px 13px;
    font-size: 10px;
  }
  .mobile-menu {
    font-size: 10px;
  }
  .mobile-menu nav {
    top: 75px;
  }
  .hero {
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow: visible;
  }
  .hero-copy {
    padding: 39px 5% 35px;
    pointer-events: auto;
  }
  .hero h1 {
    font-size: 58px;
    letter-spacing: -0.05em;
    line-height: 1.17;
    margin: 0;
  }
  .hero .eyebrow {
    margin-bottom: 23px;
    font-size: 10px;
  }
  .hero-lead {
    font-size: 19px;
    margin-top: 23px;
    line-height: 1.7;
  }
  .hero-sub {
    font-size: 12px;
    margin-top: 15px;
  }
  .hero .actions {
    flex-direction: row;
    align-items: center;
    gap: 21px;
    margin-top: 24px;
  }
  .hero .button {
    font-size: 11px;
    padding: 12px 19px;
  }
  .hero .text-link {
    font-size: 11px;
  }
  .quiet-note {
    max-width: none;
    font-size: 9px;
    margin-top: 15px;
  }
  .hero-photo {
    position: relative;
    width: 100%;
    height: 270px;
    clip-path: none;
    border-bottom: 4px solid var(--blue);
  }
  .hero-photo img {
    object-position: 50% 60%;
  }
  .hero-photo figcaption {
    padding: 6px 15px;
    font-size: 7px;
  }
  .process-strip {
    padding: 22px 0 25px;
    gap: 0;
  }
  .process-strip a {
    padding: 3px 12px;
    gap: 7px;
  }
  .process-strip strong {
    font-size: 14px;
    letter-spacing: 0;
  }
  .process-number {
    font-size: 18px;
  }
  .process-strip p {
    font-size: 9px;
    line-height: 1.7;
    margin-top: 7px;
  }
  .section {
    padding: 48px 0;
  }
  .section-heading {
    display: block;
    margin-bottom: 23px;
  }
  .section-heading > p {
    margin-top: 16px;
    font-size: 11px;
  }
  .section-heading > .text-link {
    margin-top: 15px;
  }
  .section h2 {
    font-size: 27px;
  }
  .route-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 24px 0;
    row-gap: 26px;
  }
  .route-entry {
    padding: 0 17px;
  }
  .route-entry:nth-child(3) {
    border-right: 1px solid var(--line);
    padding-left: 0;
  }
  .route-entry:nth-child(2n) {
    border: 0;
    padding-left: 17px;
  }
  .route-entry:nth-child(5) {
    padding-left: 0;
  }
  .route-entry h3 {
    font-size: 20px;
    line-height: 1.5;
    min-height: 30px;
  }
  .route-index {
    font-size: 9px;
    margin-bottom: 8px;
  }
  .route-en {
    font-size: 8px;
    margin-top: 8px;
  }
  .route-entry p {
    font-size: 11px;
    margin-top: 10px;
    line-height: 1.85;
  }
  .route-more {
    font-size: 10px;
    margin-top: 13px;
  }
  .restart-band {
    padding: 20px;
    gap: 8px;
    margin-top: 20px;
    display: block;
  }
  .restart-band strong {
    font-size: 16px;
    display: block;
  }
  .restart-band > span:not(.text-link) {
    display: block;
    min-width: 0;
    font-size: 11px;
    line-height: 1.9;
    margin-top: 7px;
  }
  .restart-band .text-link {
    font-size: 11px;
    margin-top: 8px;
  }
  .editorial-section {
    padding-top: 3px;
  }
  .editorial-section .section-heading > .text-link {
    margin-top: 13px;
  }
  .section-lead {
    font-size: 12px;
    margin: 17px 0 25px;
  }
  .section-lead br {
    display: none;
  }
  .resource-fallback,
  .resource-grid {
    gap: 30px;
    grid-template-columns: 1fr;
  }
  .editorial-card h3 {
    font-size: 22px;
  }
  .editorial-image img {
    aspect-ratio: 1.9;
  }
  .editorial-card > p:not(.article-meta) {
    font-size: 12px;
  }
  .editorial-card .text-link {
    margin-top: 10px;
  }
  .resource-tabs-list {
    gap: 25px;
  }
  .resource-tabs-trigger {
    font-size: 11px;
  }
  .philosophy {
    display: block;
    padding: 32px;
    margin-top: 8px;
  }
  .philosophy h3 {
    font-size: 29px;
    margin-bottom: 18px;
  }
  .philosophy > p:not(.eyebrow) {
    font-size: 12px;
  }
  .philosophy .text-link {
    margin-top: 22px;
  }
  .sample-banner {
    grid-template-columns: 1fr;
    margin-top: 0;
  }
  .sample-banner > img {
    height: 235px;
    min-height: 0;
  }
  .sample-banner > div {
    padding: 32px;
  }
  .sample-banner h2 {
    font-size: 29px;
  }
  .sample-banner p:not(.eyebrow) {
    font-size: 12px;
  }
  .section-title {
    margin-bottom: 24px;
  }
  .section-title .eyebrow {
    font-size: 10px;
  }
  .course-grid {
    margin: 20px 0;
  }
  .course-card h3 {
    font-size: 20px;
  }
  .course-card p {
    font-size: 12px;
  }
  .faq-list summary {
    font-size: 13px;
    padding: 21px 32px 21px 0;
    line-height: 1.9;
  }
  .faq-list summary:after {
    right: 3px;
    top: 21px;
  }
  .faq-list details > div {
    padding: 0 8px 22px 0;
    font-size: 12px;
  }
  .closing {
    padding: 28px;
    margin-bottom: 45px;
  }
  .closing h2 {
    font-size: 25px;
  }
  .closing .actions {
    flex-direction: column;
    gap: 12px;
  }
  .closing p:not(.eyebrow) {
    font-size: 12px;
  }
  .site-footer {
    padding-top: 40px;
  }
  .footer-links {
    gap: 35px;
    font-size: 10px;
  }
  .footer-links > div {
    flex: 1;
  }
  .footer-links p {
    font-size: 11px;
  }
  .footer-bottom {
    font-size: 10px;
    margin-top: 30px;
  }
  .footer-top > div > p {
    font-size: 11px;
  }
  .breadcrumbs {
    margin-top: 20px;
  }
  .page-intro {
    padding: 33px 0 35px;
  }
  .page-intro h1 {
    font-size: 30px;
  }
  .page-intro .lead {
    font-size: 13px;
    margin-top: 20px;
  }
  .page-intro .eyebrow {
    font-size: 10px;
  }
  .reading-body {
    font-size: 14px;
  }
  .steps li {
    gap: 16px;
    padding: 23px 0;
  }
  .steps h3 {
    font-size: 18px;
  }
  .steps p {
    font-size: 12px;
  }
  .step-no {
    min-width: 20px;
    font-size: 22px;
  }
  .sample-feature {
    grid-template-columns: 1fr;
    padding: 25px;
  }
  .facts > div {
    grid-template-columns: 1fr;
    gap: 8px;
    font-size: 13px;
  }
  .filter-bar {
    padding: 18px;
    gap: 12px;
  }
  .filter-bar input,
  .filter-bar select {
    width: 100%;
    min-width: 0;
    font-size: 13px;
  }
  .filter-bar .button {
    font-size: 12px;
  }
  .source-row {
    flex-direction: column;
    gap: 15px;
    padding: 25px 0;
  }
  .source-row > a {
    align-self: flex-start;
    max-width: none;
  }
  .resource-band {
    padding: 25px;
  }
  .resource-band h2 {
    font-size: 20px;
  }
  .sitemap-links {
    grid-template-columns: 1fr;
  }
  .mobile-only {
    display: block;
  }
  .lesson fieldset {
    padding: 16px;
  }
  .lesson label {
    font-size: 12px;
  }
  .lesson blockquote {
    padding: 15px;
    font-size: 14px;
  }
  .lesson .actions {
    gap: 20px;
  }
  .notice {
    font-size: 11px;
    padding: 16px 18px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* Explicit Japanese phrase breaks and consistent form rhythm. */
.route-entry h3 {
  display: block;
  word-break: keep-all;
}
.form-panel {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.form-panel label {
  font-size: 14px;
  font-weight: 700;
  margin-top: 12px;
}
.form-panel .button {
  align-self: flex-start;
  margin-top: 15px;
}
.path-fallback {
  display: flex;
  gap: 15px 25px;
  flex-wrap: wrap;
  margin: 32px 0;
  font-size: 12px;
  color: var(--blue);
}
.path-fallback a {
  text-decoration: underline;
}
.result-panel .button {
  margin-top: 20px;
}
@media (max-width: 540px) {
  .route-entry h3 {
    min-height: 60px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    align-content: center;
  }
  .route-entry h3 wbr {
    width: 100%;
  }
  .form-panel select {
    width: 100%;
    min-width: 0;
    font-size: 13px;
  }
}

@media (max-width: 540px) {
  .hero h1 {
    font-size: clamp(45px, 14.8vw, 58px);
  }
}
@media (max-width: 360px) {
  .hero-lead {
    font-size: 17px;
  }
  .brand-ja {
    font-size: 19px;
  }
  .site-header {
    gap: 12px;
  }
  .hero .actions {
    gap: 16px;
  }
  .hero .button {
    padding: 12px 15px;
  }
  .route-entry h3 {
    font-size: 18px;
  }
  .route-entry {
    padding-right: 12px;
  }
  .restart-band {
    padding: 17px;
  }
}

/* Readability revision: actual Japanese type, no generated lettering. */
body {
  font-size: 17px;
  line-height: 1.95;
  letter-spacing: 0.015em;
  font-weight: 400;
}
h1,
h2,
h3 {
  font-feature-settings: normal;
  letter-spacing: 0.015em;
  font-weight: 700;
  text-wrap: pretty;
}
.brand {
  display: flex;
  flex-direction: row;
  align-items: center;
  line-height: 1;
  min-width: 0;
}
.brand-logo {
  display: block;
  width: 290px;
  height: auto;
  max-width: 100%;
}
.site-header {
  height: 108px;
  gap: 25px;
}
.desktop-nav {
  font-size: 15px;
  gap: 29px;
}
.header-cta {
  font-size: 14px;
}
.hero {
  min-height: 640px;
}
.hero-copy {
  padding-top: 80px;
  padding-bottom: 64px;
  padding-right: 28px;
  pointer-events: auto;
}
.hero h1 {
  font-size: clamp(40px, 3.8vw, 56px);
  line-height: 1.65;
  letter-spacing: 0.015em;
  margin-left: 0;
  font-weight: 750;
}
.hero .eyebrow {
  font-size: 15px;
  letter-spacing: 0.06em;
  margin-bottom: 24px;
  color: #3d5265;
}
.hero-lead {
  font-size: 23px;
  line-height: 1.9;
  font-weight: 600;
  margin-top: 24px;
}
.hero-sub {
  font-size: 16px;
  line-height: 2.1;
  margin-top: 18px;
  max-width: 550px;
}
.hero .actions {
  margin-top: 30px;
}
.hero .button,
.hero .text-link {
  font-size: 15px;
}
.quiet-note {
  font-size: 13px;
  max-width: 500px;
  line-height: 1.9;
}
.hero-photo {
  width: 48%;
  clip-path: none;
}
.hero-photo figcaption {
  font-size: 12px;
  letter-spacing: 0.03em;
}
.eyebrow {
  font-size: 14px;
  letter-spacing: 0.06em;
}
.section h2,
.sample-banner h2,
.closing h2 {
  font-size: 32px;
  line-height: 1.65;
  letter-spacing: 0.015em;
}
.section-heading > p,
.section-lead {
  font-size: 16px;
  line-height: 2;
}
.section-heading {
  align-items: center;
}
.section-heading .eyebrow {
  font-size: 14px;
}
.section {
  padding-top: 70px;
  padding-bottom: 70px;
}
.process-strip {
  padding: 28px 0;
}
.process-strip strong {
  font-size: 20px;
}
.process-strip p {
  font-size: 14px;
  line-height: 1.9;
}
.process-number {
  font-size: 23px;
  font-style: normal;
  font-weight: 600;
}
.route-index {
  font-size: 13px;
}
.route-en {
  display: none;
}
.route-entry h3 {
  font-size: 22px;
  line-height: 1.6;
  min-height: 71px;
}
.route-entry p {
  font-size: 15px;
  line-height: 2;
}
.route-more {
  font-size: 14px;
  gap: 10px;
}
.restart-band strong {
  font-size: 19px;
}
.restart-band > span {
  font-size: 15px;
}
.restart-band {
  padding: 24px 26px;
}
.text-link {
  font-size: 15px;
  min-height: 44px;
}
.button {
  font-size: 15px;
  min-height: 50px;
}
.editorial-layout {
  grid-template-columns: minmax(0, 1fr) 300px;
}
.editorial-card h3 {
  font-size: 22px;
  line-height: 1.8;
}
.editorial-card > p:not(.article-meta) {
  font-size: 15px;
  line-height: 2;
}
.article-meta,
.article-meta span {
  font-size: 13px;
  letter-spacing: 0;
}
.editorial-card .text-link {
  font-size: 14px;
}
.resource-tabs-trigger {
  font-size: 15px;
  min-height: 44px;
  padding-bottom: 14px;
}
.philosophy h3 {
  font-size: 28px;
  line-height: 1.8;
}
.philosophy > p:not(.eyebrow) {
  font-size: 15px;
  line-height: 2;
}
.philosophy .eyebrow {
  font-size: 13px;
}
.philosophy .text-link {
  font-size: 14px;
}
.philosophy {
  padding: 32px 26px;
  min-height: 0;
}
.sample-banner p:not(.eyebrow) {
  font-size: 16px;
}
.sample-banner small {
  font-size: 13px;
}
.course-card h3 {
  font-size: 22px;
  line-height: 1.8;
}
.course-card p {
  font-size: 16px;
}
.card-meta {
  font-size: 13px;
  flex-wrap: wrap;
}
.status {
  font-size: 12px;
}
.course-card .text-link {
  font-size: 14px;
}
.faq-list summary {
  font-size: 17px;
}
.faq-list details > div {
  font-size: 16px;
  line-height: 2;
}
.closing p:not(.eyebrow) {
  font-size: 16px;
}
.site-footer {
  background: #f3f6fa;
  color: var(--ink);
}
.site-footer .brand {
  color: var(--ink);
}
.site-footer .brand-logo {
  width: 300px;
}
.footer-top > div > p,
.footer-links {
  font-size: 14px;
  color: #425567;
}
.footer-links p {
  color: var(--ink);
  font-size: 15px;
}
.footer-links a {
  color: #425567;
  min-height: 34px;
  padding: 3px 0;
}
.footer-bottom {
  font-size: 13px;
  border-color: #ced8e2;
}
.footer-bottom span {
  color: #425567;
}
.breadcrumbs {
  font-size: 13px;
}
.page-intro h1 {
  font-size: 40px;
  line-height: 1.75;
}
.page-intro .lead {
  font-size: 17px;
}
.wide-copy,
.steps p,
.reading-body,
.lesson {
  font-size: 17px;
  line-height: 2.1;
}
.steps h3 {
  font-size: 22px;
  line-height: 1.8;
}
.muted,
.notice {
  font-size: 14px;
  line-height: 2;
}
.pills li,
.check-list,
.facts > div,
.source-row p:not(.eyebrow),
.source-row > a,
.filter-bar label {
  font-size: 16px;
}
.source-row h2 {
  font-size: 24px;
}
.filter-bar input,
.filter-bar select {
  font-size: 16px;
}
.external-note {
  font-size: 13px;
}
.lesson label,
.form-panel label {
  font-size: 16px;
}
.sample-feature p {
  font-size: 16px;
}
.approach-grid p {
  font-size: 16px;
}
.path-fallback,
.sitemap-links {
  font-size: 15px;
}
.reading-body h2 {
  font-size: 27px;
  line-height: 1.8;
}
@media (max-width: 1200px) {
  .desktop-nav {
    gap: 18px;
    font-size: 14px;
  }
  .brand-logo {
    width: 255px;
  }
  .site-header {
    gap: 20px;
  }
  .hero-copy {
    padding-top: 60px;
  }
  .hero h1 {
    font-size: 43px;
  }
  .hero-lead {
    font-size: 21px;
  }
  .hero-sub {
    font-size: 15px;
  }
  .hero-photo {
    width: 45%;
  }
  .route-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px 0;
  }
  .route-entry:nth-child(3) {
    border-right: 0;
  }
  .route-entry:nth-child(4) {
    padding-left: 0;
  }
  .route-entry h3 {
    min-height: 0;
  }
  .editorial-layout {
    grid-template-columns: 1fr 280px;
    gap: 30px;
  }
}
@media (max-width: 980px) {
  .desktop-nav {
    display: none;
  }
  .mobile-menu {
    display: block;
    font-size: 15px;
  }
  .mobile-menu summary {
    min-width: 55px;
    min-height: 44px;
    padding: 9px 0;
  }
  .mobile-menu nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 99px;
    background: white;
    display: flex;
    flex-direction: column;
    padding: 22px 5%;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 22px #1023340d;
  }
  .mobile-menu nav a {
    padding: 14px 0;
  }
  .header-cta {
    margin-left: auto;
  }
  .site-header {
    height: 100px;
  }
  .hero h1 {
    font-size: 36px;
  }
  .hero-copy {
    padding-top: 44px;
    padding-bottom: 44px;
  }
  .hero .actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .hero {
    min-height: 600px;
  }
  .hero-lead {
    font-size: 20px;
  }
  .hero-sub br {
    display: none;
  }
  .hero-photo {
    width: 44%;
  }
  .process-strip a {
    padding: 5px 20px;
    gap: 12px;
    align-items: flex-start;
    flex-direction: column;
  }
  .process-strip p {
    font-size: 14px;
  }
  .editorial-layout {
    grid-template-columns: 1fr;
  }
  .philosophy {
    display: block;
    max-width: none;
  }
  .philosophy h3 br {
    display: none;
  }
  .philosophy h3 {
    margin-bottom: 18px;
  }
  .philosophy .text-link {
    margin-top: 18px;
  }
  .section-heading {
    display: block;
  }
  .section-heading > p {
    margin-top: 18px;
  }
  .section-heading > .text-link {
    margin-top: 16px;
  }
  .footer-links {
    gap: 45px;
  }
}
@media (max-width: 640px) {
  .site-header {
    height: 87px;
    padding: 0 5%;
    gap: 16px;
  }
  .brand-logo {
    width: 238px;
  }
  .header-cta {
    display: none;
  }
  .mobile-menu {
    margin-left: auto;
    flex-shrink: 0;
    font-size: 14px;
  }
  .mobile-menu nav {
    top: 86px;
  }
  .hero {
    display: flex;
    flex-direction: column;
    min-height: 0;
  }
  .hero-copy {
    padding: 36px 5% 35px;
  }
  .hero h1 {
    font-size: clamp(27px, 7.4vw, 39px);
    line-height: 1.8;
    letter-spacing: 0;
    margin: 0;
  }
  .hero .eyebrow {
    font-size: 14px;
    letter-spacing: 0.025em;
    margin-bottom: 18px;
  }
  .hero-lead {
    font-size: 20px;
    line-height: 1.9;
    margin-top: 22px;
  }
  .hero-sub {
    font-size: 16px;
    line-height: 2;
    margin-top: 16px;
  }
  .hero .actions {
    flex-direction: column;
    gap: 13px;
    margin-top: 23px;
  }
  .hero .button,
  .hero .text-link {
    font-size: 15px;
  }
  .quiet-note {
    font-size: 13px;
    margin-top: 17px;
    max-width: none;
  }
  .hero-photo {
    width: 100%;
    position: relative;
    height: 265px;
    clip-path: none;
  }
  .hero-photo img {
    object-position: 50% 58%;
  }
  .hero-photo figcaption {
    font-size: 12px;
    padding: 8px 16px;
    letter-spacing: 0;
  }
  .process-strip {
    display: flex;
    flex-direction: column;
    padding: 15px 0;
  }
  .process-strip a {
    flex-direction: row;
    align-items: center;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 18px 0;
    gap: 23px;
  }
  .process-strip a:last-child {
    border-bottom: 0;
  }
  .process-number {
    font-size: 23px;
    min-width: 32px;
  }
  .process-strip strong {
    font-size: 19px;
  }
  .process-strip p {
    font-size: 14px;
    line-height: 1.9;
    margin-top: 4px;
  }
  .section {
    padding-top: 45px;
    padding-bottom: 45px;
  }
  .section h2,
  .sample-banner h2,
  .closing h2 {
    font-size: 26px;
    line-height: 1.8;
  }
  .eyebrow,
  .section-heading .eyebrow,
  .section-title .eyebrow {
    font-size: 13px;
    letter-spacing: 0.04em;
  }
  .section-heading > p,
  .section-lead {
    font-size: 16px;
    line-height: 2;
  }
  .route-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px 0;
    padding: 25px 0;
  }
  .route-entry {
    padding: 0 15px;
  }
  .route-entry:nth-child(odd) {
    padding-left: 0;
    border-right: 1px solid var(--line);
  }
  .route-entry:nth-child(even) {
    padding-left: 15px;
    border-right: 0;
  }
  .route-index {
    font-size: 13px;
  }
  .route-entry h3 {
    font-size: 20px;
    min-height: 64px;
    display: flex;
    align-content: center;
    align-items: center;
    flex-wrap: wrap;
    word-break: keep-all;
  }
  .route-entry h3 wbr {
    width: 100%;
  }
  .route-entry p {
    font-size: 15px;
    line-height: 1.95;
    margin-top: 10px;
  }
  .route-more {
    font-size: 14px;
    line-height: 1.8;
    margin-top: 16px;
  }
  .restart-band {
    display: block;
    padding: 23px;
  }
  .restart-band strong {
    font-size: 18px;
  }
  .restart-band > span:not(.text-link) {
    font-size: 15px;
    line-height: 2;
    margin-top: 10px;
    min-width: 0;
  }
  .restart-band .text-link {
    font-size: 15px;
    margin-top: 12px;
  }
  .editorial-section {
    padding-top: 5px;
  }
  .resource-tabs-list {
    gap: 22px;
  }
  .resource-tabs-trigger {
    font-size: 14px;
  }
  .editorial-card h3 {
    font-size: 22px;
    line-height: 1.8;
  }
  .editorial-card > p:not(.article-meta) {
    font-size: 16px;
  }
  .resource-fallback,
  .resource-grid {
    grid-template-columns: 1fr;
    gap: 33px;
  }
  .article-meta,
  .article-meta span {
    font-size: 13px;
  }
  .philosophy {
    padding: 28px;
  }
  .philosophy h3 {
    font-size: 25px;
  }
  .philosophy > p:not(.eyebrow) {
    font-size: 16px;
  }
  .philosophy .text-link {
    font-size: 15px;
  }
  .sample-banner {
    grid-template-columns: 1fr;
  }
  .sample-banner > img {
    height: 235px;
    min-height: 0;
  }
  .sample-banner > div {
    padding: 28px;
  }
  .sample-banner p:not(.eyebrow) {
    font-size: 16px;
  }
  .sample-banner small {
    font-size: 13px;
  }
  .sample-banner .eyebrow {
    font-size: 13px;
  }
  .course-grid {
    grid-template-columns: 1fr;
  }
  .course-card h3 {
    font-size: 21px;
  }
  .course-card p {
    font-size: 16px;
  }
  .course-card .text-link {
    font-size: 15px;
  }
  .faq-list summary {
    font-size: 16px;
    padding: 22px 34px 22px 0;
    line-height: 1.9;
  }
  .faq-list details > div {
    font-size: 16px;
    padding-bottom: 23px;
  }
  .closing {
    padding: 27px;
    display: block;
    margin-bottom: 45px;
  }
  .closing p:not(.eyebrow) {
    font-size: 16px;
  }
  .closing .actions {
    align-items: flex-start;
    gap: 15px;
  }
  .footer-top > div > p,
  .footer-links {
    font-size: 14px;
  }
  .footer-links {
    gap: 24px;
  }
  .footer-links > div {
    min-width: 0;
  }
  .footer-links p {
    font-size: 15px;
  }
  .footer-links a {
    line-height: 1.9;
    min-height: 42px;
  }
  .footer-bottom {
    font-size: 12px;
    gap: 20px;
  }
  .site-footer .brand-logo {
    width: 270px;
  }
  .page-intro {
    padding: 33px 0;
  }
  .page-intro h1 {
    font-size: 29px;
    line-height: 1.85;
  }
  .page-intro .eyebrow {
    font-size: 14px;
  }
  .page-intro .lead {
    font-size: 17px;
    line-height: 2.1;
  }
  .breadcrumbs {
    font-size: 12px;
    line-height: 1.8;
  }
  .reading-body,
  .wide-copy,
  .steps p,
  .lesson {
    font-size: 17px;
    line-height: 2.1;
  }
  .reading-body h2 {
    font-size: 25px;
  }
  .steps h3 {
    font-size: 21px;
  }
  .notice,
  .muted {
    font-size: 14px;
    line-height: 2;
  }
  .source-row p:not(.eyebrow),
  .source-row > a,
  .pills li,
  .facts > div,
  .filter-bar label,
  .filter-bar input,
  .filter-bar select,
  .form-panel label,
  .form-panel select,
  .lesson label {
    font-size: 16px;
  }
  .source-row h2 {
    font-size: 24px;
  }
  .sample-feature p {
    font-size: 16px;
  }
  .sitemap-links,
  .path-fallback {
    font-size: 16px;
  }
  .lesson blockquote {
    font-size: 17px;
  }
  .check-list {
    font-size: 16px;
  }
  .facts > div {
    grid-template-columns: 1fr;
  }
  .sample-feature {
    grid-template-columns: 1fr;
  }
  .source-row {
    flex-direction: column;
  }
  .source-row > a {
    max-width: none;
  }
}
@media (max-width: 360px) {
  .brand-logo {
    width: 205px;
  }
  .site-header {
    gap: 10px;
  }
  .hero h1 {
    font-size: 26px;
  }
  .hero-lead {
    font-size: 18px;
  }
  .route-entry h3 {
    font-size: 18px;
  }
  .route-entry {
    padding-right: 12px;
  }
  .route-entry p {
    font-size: 15px;
  }
  .route-more {
    font-size: 13px;
  }
  .footer-links {
    flex-direction: column;
    gap: 25px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 6px;
  }
  .resource-tabs-list {
    gap: 16px;
  }
  .resource-tabs-trigger {
    font-size: 13px;
  }
}

@media (min-width: 641px) and (max-width: 800px) {
  .hero h1 {
    font-size: 30px;
  }
  .hero-lead {
    font-size: 18px;
  }
  .hero-photo {
    width: 43%;
  }
}
