/* Home page of jlpt.vnjpclub.com (index.php), redesigned 2026-10-18 after the «vnjpclub-jlpt-home» mockup.
 * Standalone page: no OneUI/bootstrap shell. Be Vietnam Pro is self-hosted (../fonts/text/README.md). */
@font-face { font-family: 'Be Vietnam Pro'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/text/be-vietnam-pro-400-normal-vietnamese.dc085e2fba34.woff2') format('woff2'); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: 'Be Vietnam Pro'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/text/be-vietnam-pro-400-normal-latin-ext.f7a2811e471c.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Be Vietnam Pro'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/text/be-vietnam-pro-400-normal-latin.03d1b589cff1.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: 'Be Vietnam Pro'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/text/be-vietnam-pro-500-normal-vietnamese.86341610cbe9.woff2') format('woff2'); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: 'Be Vietnam Pro'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/text/be-vietnam-pro-500-normal-latin-ext.947d592eb767.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Be Vietnam Pro'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/text/be-vietnam-pro-500-normal-latin.b621f77d35f7.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: 'Be Vietnam Pro'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/text/be-vietnam-pro-600-normal-vietnamese.97658c6f9a38.woff2') format('woff2'); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: 'Be Vietnam Pro'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/text/be-vietnam-pro-600-normal-latin-ext.20cc75daeaaa.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Be Vietnam Pro'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/text/be-vietnam-pro-600-normal-latin.9503dec2a7c5.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: 'Be Vietnam Pro'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/text/be-vietnam-pro-700-normal-vietnamese.4f58af2d1c3e.woff2') format('woff2'); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: 'Be Vietnam Pro'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/text/be-vietnam-pro-700-normal-latin-ext.33d57e5bd840.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Be Vietnam Pro'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/text/be-vietnam-pro-700-normal-latin.a193dd87699b.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: 'Be Vietnam Pro'; font-style: normal; font-weight: 800; font-display: swap; src: url('../fonts/text/be-vietnam-pro-800-normal-vietnamese.26b241d1d5f4.woff2') format('woff2'); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: 'Be Vietnam Pro'; font-style: normal; font-weight: 800; font-display: swap; src: url('../fonts/text/be-vietnam-pro-800-normal-latin-ext.85a2008e6d5f.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Be Vietnam Pro'; font-style: normal; font-weight: 800; font-display: swap; src: url('../fonts/text/be-vietnam-pro-800-normal-latin.7c5d0871188c.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 {
  color-scheme: light;
  --ink: #23334b;
  --muted: #657186;
  --blue: #4268c7;
  --background: #f5f7fb;
  --border: #e4e9f1;
  font-family: "Be Vietnam Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
html { min-width: 280px; scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--background); font-size: 14px; line-height: 1.6; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
button { font: inherit; -webkit-tap-highlight-color: transparent; }
button, a { touch-action: manipulation; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
.icon { width: 21px; height: 21px; flex: 0 0 21px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.svg-defs, .sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 10; padding: 12px 18px; border-radius: 10px; background: #fff; box-shadow: 0 4px 20px #20324b24; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.site-header { background: #fff; border-bottom: 1px solid var(--border); }
.header-inner { max-width: 1240px; min-height: 80px; margin: 0 auto; padding: 14px 30px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand img { object-fit: contain; }
.brand-name { font-size: 21px; letter-spacing: -.55px; line-height: 1.22; font-weight: 800; }
.brand-name > span { color: var(--blue); }
.brand-name small { display: block; margin-top: 5px; font-size: 10px; line-height: 1.4; letter-spacing: .1px; color: #647288; font-weight: 400; white-space: nowrap; }
.header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 10px; min-width: 0; }
.header-link { display: inline-flex; align-items: center; gap: 9px; min-height: 42px; border: 1px solid #dfe6f1; border-radius: 10px; padding: 8px 16px; font-size: 12px; font-weight: 600; white-space: nowrap; flex-shrink: 0; transition: background .16s, border-color .16s; }
.header-link.account-link { flex-shrink: 1; min-width: 0; }
.header-link .icon { width: 17px; height: 17px; flex-basis: 17px; color: #697b98; }
.header-link:hover { background: #f3f6fc; border-color: #bbccef; }
.header-link .label-short { display: none; }
.account-name { max-width: 160px; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.main-shell { max-width: 1240px; margin: 0 auto; padding: 40px 30px 0; }
.intro { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-bottom: 30px; }
.eyebrow { display: flex; align-items: center; gap: 8px; margin: 0 0 7px; color: #647288; font-size: 9px; font-weight: 600; line-height: 1.6; letter-spacing: 1.5px; }
.eyebrow > span { width: 6px; height: 6px; background: #688ad9; border-radius: 50%; flex-shrink: 0; }
h1 { margin: 0; font-size: clamp(30px, 3.4vw, 40px); line-height: 1.3; font-weight: 700; letter-spacing: -1.6px; }
h1 > span { color: var(--blue); }
.intro-description { margin: 9px 0 0; color: var(--muted); font-size: 13px; }
.intro-note { display: flex; flex-direction: column; align-items: flex-end; padding-right: 2px; color: #647288; font-size: 10px; }
.japanese-label { margin-bottom: 5px; color: #546987; font-family: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif; font-size: 28px; line-height: 1.3; letter-spacing: 6px; }
.progress-dots { display: flex; gap: 5px; margin-top: 12px; }
.progress-dots i { display: block; width: 19px; height: 3px; border-radius: 4px; }
.progress-dots i:nth-child(1) { background: #df9951; }
.progress-dots i:nth-child(2) { background: #5aaa80; }
.progress-dots i:nth-child(3) { background: #609fbd; }
.progress-dots i:nth-child(4) { background: #9987d2; }
.progress-dots i:nth-child(5) { background: #ce8f9c; }
.n5 { --accent: #a55718; --tint: #fff3e6; --tint-strong: #f5dbbc; --hover: #fff9f2; }
.n4 { --accent: #287255; --tint: #eaf7f0; --tint-strong: #cae9d9; --hover: #f3fbf6; }
.n3 { --accent: #206d8e; --tint: #eaf5fb; --tint-strong: #cbe5f3; --hover: #f3fafd; }
.n2 { --accent: #7453a5; --tint: #f2edfc; --tint-strong: #e0d5f5; --hover: #f8f5fe; }
.n1 { --accent: #a74761; --tint: #fcedf1; --tint-strong: #f2d3dc; --hover: #fff6f8; }
.level-switcher { display: none; }
.level-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; }
.level-card { grid-column: span 2; min-width: 0; display: flex; flex-direction: column; overflow: hidden; background: #fff; border: 1px solid var(--border); border-radius: 18px; box-shadow: 0 3px 8px #25365303, 0 1px 2px #25365303; transition: box-shadow .2s, border-color .2s, transform .2s; }
.level-card-wide { grid-column: span 3; }
.level-card[hidden] { display: none; }
.card-body { flex: 1; padding: 22px; }
.card-header { display: flex; align-items: center; gap: 15px; }
.level-badge { display: flex; flex: 0 0 63px; height: 67px; flex-direction: column; align-items: center; justify-content: center; border: 1px solid var(--tint-strong); border-radius: 15px; background: var(--tint); color: var(--accent); }
.level-badge small { margin: 2px 0 -1px; font-size: 8px; font-weight: 700; letter-spacing: 2px; line-height: 1.2; padding-left: 2px; }
.level-badge > span { font-size: 31px; line-height: 1.3; font-weight: 700; letter-spacing: -1px; }
.card-header h2 { margin: 0 0 4px; font-size: 19px; font-weight: 600; line-height: 1.4; letter-spacing: -.4px; }
.card-header p { margin: 0; font-size: 11px; line-height: 1.6; color: var(--muted); }
.practice-label { margin: 19px 0 9px; color: #647288; font-size: 10px; font-weight: 600; letter-spacing: 1.25px; }
.practice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; list-style: none; margin: 0; padding: 0; }
.practice-grid li { min-width: 0; }
.practice-link { display: flex; align-items: center; gap: 10px; min-height: 51px; height: 100%; padding: 12px 13px; border: 1px solid #edf0f5; border-radius: 10px; background: #f8fafc; font-size: 13px; font-weight: 500; line-height: 1.5; transition: background .16s, border-color .16s, color .16s; }
.practice-link > .icon { color: #8391a6; width: 19px; height: 19px; flex-basis: 19px; transition: color .16s; }
.practice-link:hover, .practice-link:focus-visible { background: var(--tint); border-color: var(--tint-strong); color: var(--accent); }
.practice-link:hover > .icon, .practice-link:focus-visible > .icon { color: var(--accent); }
.reference-link { display: flex; align-items: center; gap: 10px; padding: 15px 22px; margin-top: auto; border-top: 1px solid #edf0f5; background: #fdfdfe; color: #536680; font-size: 12px; font-weight: 500; line-height: 1.5; transition: color .16s, background .16s; }
.reference-link > .icon { width: 18px; height: 18px; flex-basis: 18px; color: var(--accent); opacity: .9; }
.reference-link .arrow { margin-left: auto; color: #8696ab; transition: transform .16s, color .16s; }
.reference-link:hover, .reference-link:focus-visible { background: var(--tint); color: var(--accent); }
.reference-link:hover .arrow { color: var(--accent); transform: translateX(3px); }
.practice-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.practice-one { grid-template-columns: 1fr; }
.practice-one small { margin-left: auto; color: #647288; font-size: 11px; font-weight: 400; }
.practice-one .arrow { width: 14px; height: 14px; flex-basis: 14px; margin-left: 5px; }
.home-ad { margin-top: 28px; }
.site-footer { max-width: 1240px; margin: 0 auto; padding: 26px 30px 30px; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 10px; color: #647288; }
.footer-dot { padding: 0 5px; color: #a4afbf; }
.footer-links { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 20px; }
.site-footer a { display: inline-flex; align-items: center; gap: 7px; min-height: 32px; }
.site-footer a .icon { width: 13px; height: 13px; flex-basis: 13px; }
.site-footer a:hover { color: var(--blue); }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .level-card:hover { transform: translateY(-3px); border-color: var(--tint-strong); box-shadow: 0 10px 24px #2c40500a, 0 2px 6px #2c405005; }
}
@media (min-width: 1200px) {
  .level-card-wide .card-body { display: grid; grid-template-columns: .92fr 1fr; gap: 0 20px; align-items: center; }
  .level-card-wide .card-header { grid-row: span 2; gap: 12px; }
  .level-card-wide .card-header h2 { font-size: 18px; }
  .level-card-wide .card-header p { font-size: 10px; }
  .level-card-wide .practice-label { margin-top: 0; }
  .level-card-wide .practice-three .practice-link { flex-direction: column; gap: 6px; min-height: 73px; padding: 10px 6px; font-size: 10px; text-align: center; }
  .level-card-wide .practice-one .practice-link { min-height: 73px; gap: 8px; }
  .level-card-wide .practice-one small { max-width: 76px; font-size: 9px; line-height: 1.6; }
}
@media (min-width: 1440px) {
  .main-shell { padding-top: 45px; }
  .intro { margin-bottom: 34px; }
  .card-body { padding: 24px; }
  .practice-link { min-height: 54px; font-size: 13px; }
  .reference-link { padding: 16px 24px; font-size: 13px; }
}
@media (max-width: 1040px) {
  .level-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .level-card, .level-card-wide { grid-column: span 1; }
  .level-card.n1 { grid-column: 1 / -1; }
  .practice-three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .practice-three > li:last-child { grid-column: 1 / -1; }
  .level-card.n1 .card-body { display: grid; grid-template-columns: 1fr 1fr; gap: 0 25px; align-items: center; }
  .level-card.n1 .card-header { grid-row: span 2; }
  .level-card.n1 .practice-label { margin-top: 0; }
}
@media (max-width: 640px) {
  .header-inner { min-height: 70px; padding: 13px 20px; gap: 10px; }
  .brand { gap: 8px; }
  .brand img { width: 33px; height: 33px; }
  .brand-name { font-size: 17px; }
  .brand-name small { font-size: 8px; margin-top: 4px; }
  .header-actions { gap: 7px; }
  .header-link { min-height: 39px; padding: 8px 11px; font-size: 10px; border-radius: 9px; gap: 6px; }
  .header-link .icon { width: 15px; height: 15px; flex-basis: 15px; }
  .account-name { max-width: 110px; }
  .main-shell { padding: 33px 20px 0; }
  .intro { margin-bottom: 23px; }
  .eyebrow { font-size: 7px; letter-spacing: 1.2px; margin-bottom: 9px; gap: 6px; }
  .eyebrow > span { width: 5px; height: 5px; }
  h1 { font-size: 34px; letter-spacing: -1.3px; }
  .intro-description { font-size: 12px; max-width: 290px; margin-top: 9px; line-height: 1.85; }
  .intro-note { display: none; }
  .js .level-switcher { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 7px; margin: 0 0 18px; }
  .level-tab { display: flex; align-items: center; justify-content: center; gap: 6px; min-width: 0; min-height: 47px; border: 1px solid #e1e7f0; border-radius: 11px; background: #fff; color: #647288; font-size: 13px; font-weight: 600; cursor: pointer; transition: background .16s, border-color .16s, color .16s; }
  .tab-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); opacity: .65; }
  .level-tab[aria-pressed="true"] { background: var(--tint); color: var(--accent); border-color: var(--tint-strong); box-shadow: 0 2px 5px #2c405005; }
  .level-tab[aria-pressed="true"] .tab-dot { opacity: 1; }
  .level-grid { grid-template-columns: 1fr; gap: 16px; }
  .level-card, .level-card-wide, .level-card.n1 { grid-column: 1; border-radius: 17px; }
  .card-body { padding: 22px; }
  .card-header { gap: 15px; }
  .card-header h2 { font-size: 20px; }
  .card-header p { font-size: 11px; }
  .level-badge { flex-basis: 65px; height: 70px; }
  .level-badge > span { font-size: 33px; }
  .practice-label { margin-top: 24px; margin-bottom: 11px; }
  .practice-grid { gap: 10px; }
  .practice-link { min-height: 64px; padding: 13px 12px; font-size: 13px; gap: 9px; }
  .practice-link > .icon { width: 20px; height: 20px; flex-basis: 20px; }
  .reference-link { min-height: 60px; padding: 18px 22px; font-size: 12px; }
  .level-card.n1 .card-body { display: block; }
  .level-card.n1 .practice-label { margin-top: 24px; }
  .practice-one small { font-size: 10px; }
  .home-ad { margin-top: 20px; }
  .site-footer { padding: 24px 20px 30px; flex-direction: column; gap: 4px; text-align: center; font-size: 9px; }
  .footer-links { justify-content: center; }
  .site-footer a { font-size: 10px; }
}
@media (max-width: 420px) {
  .header-actions { gap: 6px; }
  .header-link { padding: 8px 9px; gap: 5px; }
  .header-link .label-long { display: none; }
  .header-link .label-short { display: inline; }
  .header-link:not(.review-link) .icon { display: none; }
}
@media (max-width: 359px) {
  .header-inner { padding-right: 14px; padding-left: 14px; }
  .main-shell { padding-right: 14px; padding-left: 14px; }
  .brand-name { font-size: 15px; }
  .brand img { width: 29px; height: 29px; }
  .header-link { padding: 8px; }
  .header-link .icon { display: none; }
  .card-body { padding: 18px; }
  .card-header { gap: 12px; }
  .card-header h2 { font-size: 18px; }
  .card-header p { font-size: 10px; }
  .practice-link { padding: 12px 9px; font-size: 11px; gap: 7px; }
  .practice-one small { font-size: 8px; }
  .reference-link { padding-right: 18px; padding-left: 18px; }
  .js .level-switcher { gap: 5px; }
  .level-tab { gap: 4px; font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
