
:root {
  --bg: #f7fbfb;
  --card: #ffffff;
  --ink: #0e2a2c;
  --muted: #6b8485;
  --primary: #1f7a7c;
  --primary-dark: #155a5c;
  --primary-fg: #ffffff;
  --yellow: #f4c542;
  --soft: #e6f2f2;
  --border: #d4e6e6;
  --shadow-soft: #cfe3e3;
  --radius: 8px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; font-family: Arial, Helvetica, sans-serif; color: var(--ink); background: var(--bg); }
body { margin: 0; background: var(--bg); line-height: 1.5; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
.skip-link { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px; z-index: 10; }
.skip-link:focus { left: 8px; }

.hub-header { height: 48px; max-height: 48px; min-height: 48px; border-bottom: 3px solid var(--yellow); background: var(--primary); box-shadow: 0 2px 0 rgba(0, 0, 0, 0.1); }
.hub-header__inner { max-width: 1152px; height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 14px; margin: 0 auto; padding: 0 24px; }
.hub-brand { display: flex; align-items: center; flex: 0 0 auto; gap: 8px; color: var(--primary-fg); }
.hub-brand__mark { width: 29px; height: 29px; display: grid; place-items: center; border-radius: 6px; background: var(--yellow); color: var(--ink); box-shadow: 0 2px 0 rgba(0, 0, 0, 0.18); font-size: 17px; font-weight: 900; line-height: 1; }
.hub-brand__name { color: #fff; display: inline; font-size: 19px; font-weight: 800; line-height: 1; letter-spacing: 0; }
.hub-menu { position: relative; margin-left: auto; }
.hub-menu summary { width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; flex-direction: column; gap: 4px; padding: 0; border-radius: 8px; color: #fff; cursor: pointer; list-style: none; }
.hub-menu summary::-webkit-details-marker { display: none; }
.hub-menu summary:hover, .hub-menu[open] summary { background: rgba(255,255,255,.14); }
.hub-menu summary span { width: 19px; height: 3px; border-radius: 999px; background: currentColor; transition: opacity .14s ease, transform .14s ease; }
.hub-menu[open] summary span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hub-menu[open] summary span:nth-child(2) { opacity: 0; }
.hub-menu[open] summary span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.hub-menu__panel { position: absolute; top: calc(100% + 9px); right: 0; z-index: 50; width: min(360px, calc(100vw - 28px)); display: grid; grid-template-columns: 1fr; gap: 8px; padding: 12px; border: 1px solid #d8e6e6; border-radius: 12px; background: #fff; box-shadow: 0 18px 42px rgba(14,42,44,.22); }
.hub-menu__panel a { min-height: 40px; display: flex; align-items: center; padding: 9px 10px; border: 1px solid #dcecec; border-radius: 8px; background: #f2f8f8; color: #0e6062; font-size: 13px; font-weight: 950; line-height: 1.15; }
.hub-menu__panel a:hover { border-color: #c6dfdf; background: #e7f3f2; color: #084d4f; }
.hub-header__contact { flex: 0 0 auto; min-height: 34px; display: inline-flex; align-items: center; justify-content: center; padding: 0 12px; border: 2px solid rgba(255,255,255,.28); border-radius: 8px; color: #fff; font-size: 13px; font-weight: 900; }

.hub-home { min-height: 100vh; background: var(--bg); color: var(--ink); }
.hub-main { max-width: 1152px; margin: 0 auto; padding: 38px 24px 40px; }
.home-intro { max-width: 820px; margin: 0 0 24px; padding: 8px 0 0; }
.home-intro h1 { max-width: 760px; margin: 0; font-size: clamp(44px, 7vw, 72px); line-height: .98; font-weight: 900; letter-spacing: -0.01em; }
.home-intro h1 span { color: var(--primary); }
.home-intro p { max-width: 650px; margin: 16px 0 0; color: var(--muted); font-size: clamp(16px, 1.25vw, 18px); line-height: 1.35; }
.hub-hero { display: grid; justify-items: center; gap: 18px; margin: 0 auto 18px; padding: 10px 0 0; text-align: center; }
.hub-hero--compact { margin-bottom: 30px; }
.hub-hero__art { position: relative; width: min(148px, 48vw); aspect-ratio: 1; display: grid; place-items: center; justify-self: center; }
.hub-hero__brain { display: grid; place-items: center; width: 104px; height: 104px; border-radius: 32px; background: linear-gradient(145deg, #fff7bd, #d9f7f1 48%, #e5d8ff); box-shadow: 0 14px 28px rgba(31,122,124,.16), inset 0 0 0 2px rgba(255,255,255,.82); color: #1f7a7c; font-size: 64px; font-weight: 950; line-height: 1; }
.hub-hero__spark { position: absolute; display: grid; place-items: center; border-radius: 999px; background: #ffffff; box-shadow: 0 8px 18px rgba(14,42,44,.14); line-height: 1; }
.hub-hero__spark--bulb { top: 2px; left: 6px; width: 44px; height: 44px; color: #10a06c; font-size: 25px; font-weight: 950; }
.hub-hero__spark--puzzle { top: 10px; right: 8px; width: 42px; height: 42px; color: #1f78d1; font-size: 28px; font-weight: 950; }
.hub-hero__spark--check { bottom: 10px; left: 4px; width: 34px; height: 34px; background: #55c878; color: #ffffff; font-size: 18px; font-weight: 950; }
.hub-pill { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 16px; padding: 6px 12px; border: 1px solid rgba(31,122,124,.22); border-radius: 999px; background: var(--soft); color: var(--primary); font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.hub-hero h1 { max-width: 760px; margin: 0 auto; font-size: clamp(46px, 7vw, 74px); line-height: .98; font-weight: 900; letter-spacing: -0.01em; }
.hub-hero h1 span { color: var(--primary); }
.hub-hero p { max-width: 610px; margin: 16px auto 0; color: var(--muted); font-size: clamp(16px, 1.25vw, 18px); line-height: 1.35; }
.hub-hero__stats { width: min(100%, 760px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: center; justify-content: center; gap: 0; padding: 8px 10px; border: 1px solid rgba(14,42,44,.08); border-radius: 18px; background: rgba(255,255,255,.58); box-shadow: 0 12px 28px rgba(14,42,44,.05); }
.hub-stat { min-height: 60px; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 8px 18px; border-inline-end: 1px solid rgba(14,42,44,.18); text-align: left; }
.hub-stat:last-child { border-inline-end: 0; }
.hub-stat__icon { width: 31px; height: 31px; display: inline-grid; place-items: center; flex: 0 0 auto; border-radius: 999px; font-size: 12px; font-weight: 950; line-height: 1; }
.hub-stat__icon--mint { background: #daf6ea; color: #10a06c; }
.hub-stat__icon--blue { background: #dbecff; color: #1f78d1; }
.hub-stat__icon--violet { background: #eadcff; color: #8b3df2; }
.hub-stat__icon--gold { background: #fff1bd; color: #d99a00; }
.hub-stat strong { display: block; color: #071b24; font-size: 20px; font-weight: 900; line-height: 1.05; }
.hub-stat div > span { display: block; margin-top: 3px; color: #334155; font-size: 12px; font-weight: 650; line-height: 1.1; }
.hub-section-title { width: fit-content; display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; padding: 10px 14px; border: 2px solid rgba(14,42,44,.14); border-radius: var(--radius); background: var(--card); color: var(--primary); box-shadow: 0 4px 0 var(--shadow-soft); font-size: 22px; font-weight: 950; line-height: 1.1; letter-spacing: -0.02em; }
.hub-section-title::before { content: "▶"; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 6px; background: var(--yellow); color: var(--ink); box-shadow: inset 0 -2px 0 rgba(14,42,44,.12); font-size: 12px; line-height: 1; }
.hub-quiz-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.hub-quiz-card { display: flex; flex-direction: column; overflow: hidden; border: 3px solid rgba(14,42,44,.14); border-radius: var(--radius); background: var(--card); box-shadow: 0 6px 0 var(--shadow-soft); color: inherit; transition: transform .14s ease, box-shadow .14s ease; }
.hub-quiz-card:hover { transform: translateY(-3px); box-shadow: 0 9px 0 var(--shadow-soft), 0 18px 30px rgba(31,122,124,.14); }
.hub-quiz-card__banner { aspect-ratio: 16 / 9; width: 100%; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.hub-quiz-card__banner img { width: 100%; height: 100%; display: block; object-fit: cover; }
.hub-quiz-card__body { display: flex; flex: 1; flex-direction: column; padding: 16px; }
.hub-quiz-card__meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.hub-chip { padding: 2px 8px; border-radius: 999px; background: var(--soft); color: var(--primary); }
.hub-quiz-card__meta time { color: #6f7c8c; font-size: 11px; font-weight: 800; letter-spacing: .02em; text-transform: none; }
.hub-quiz-card h3 { margin: 0; color: #0e2a2c; font-size: 18px; font-weight: 900; line-height: 1.2; letter-spacing: -0.01em; }
.hub-quiz-card p { flex: 1; margin: 6px 0 0; color: var(--muted); font-size: 14px; }
.hub-quiz-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 12px; font-size: 12px; font-weight: 800; }
.hub-quiz-card__foot span:first-child { color: var(--muted); }
.hub-quiz-card__foot span:last-child { color: var(--primary); }
.is-hidden { display: none !important; }
.hub-load-more { display: flex; justify-content: center; margin-top: 30px; }
.hub-load-more__button { min-width: min(100%, 250px); min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 12px 24px; border: 3px solid var(--primary-dark); border-radius: var(--radius); background: var(--primary); box-shadow: 0 6px 0 var(--primary-dark), 0 14px 24px rgba(31,122,124,.18); color: #ffffff; cursor: pointer; font: inherit; font-size: 16px; font-weight: 800; text-align: center; transition: background .14s ease, transform .08s ease, box-shadow .08s ease; }
.hub-load-more__button:hover { background: #186b6d; }
.hub-load-more__button:active { transform: translateY(4px); box-shadow: 0 2px 0 var(--primary-dark); }
.hub-load-more__button:focus-visible { outline: 3px solid rgba(31,122,124,.35); outline-offset: 4px; }

.article-page { max-width: 860px; margin: 0 auto; padding: 34px 20px 48px; }
.article-hero h1 { font-size: clamp(2.2rem, 6vw, 4.4rem); line-height: 1; margin: 8px 0 12px; font-weight: 950; letter-spacing: -0.02em; }
.article-hero .dek { color: var(--muted); font-size: 1.18rem; }
.article-hero img { margin-top: 22px; border: 3px solid rgba(14,42,44,.14); border-radius: var(--radius); box-shadow: 0 6px 0 var(--shadow-soft); width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.article-content { font-size: 1.08rem; margin-top: 28px; }
.article-content h2 { margin-top: 30px; line-height: 1.2; letter-spacing: 0; }
.article-content a, .text-page a { color: var(--primary-dark); text-decoration: underline; }
.medical-note { border-left: 4px solid var(--yellow); padding: 12px 14px; background: #fff8ed; color: #5d4630; }
.ai-disclosure { font-weight: 800; border-top: 1px solid var(--line); padding-top: 18px; }
.text-page { max-width: 820px; margin: 0 auto; padding: 46px 20px 60px; font-size: 1.06rem; }
.text-page h1 { font-size: clamp(2.2rem, 6vw, 4rem); line-height: 1; margin-top: 0; font-weight: 950; letter-spacing: -0.02em; }
.site-footer { border-top: 1px solid #d8e6e6; background: linear-gradient(180deg, #f4fbfb 0%, #eaf6f6 100%); color: #4d6668; text-align: center; }
.site-footer__inner { width: min(860px, 100%); margin: 0 auto; padding: 36px 24px 24px; }
.site-footer__brand { max-width: 680px; margin: 0 auto; }
.site-footer__logo { display: inline-flex; align-items: center; justify-content: center; gap: 8px; color: #0e2a2c; }
.site-footer__logo span { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 6px; background: var(--yellow); box-shadow: 0 2px 0 rgba(0,0,0,.14); font-size: 17px; font-weight: 950; }
.site-footer__logo strong { font-size: 20px; font-weight: 800; letter-spacing: 0; }
.site-footer__brand p, .site-footer__bottom p { margin: 12px auto 0; max-width: 660px; font-size: 14px; line-height: 1.55; }
.site-footer__nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; margin-top: 30px; justify-items: center; text-align: center; }
.site-footer__nav div { display: grid; gap: 9px; align-content: start; justify-items: center; }
.site-footer__nav h2 { margin: 0 0 2px; color: #0e2a2c; font-size: 13px; font-weight: 950; letter-spacing: .08em; text-transform: uppercase; }
.site-footer__nav a { color: #476164; font-size: 14px; font-weight: 750; }
.site-footer__nav a:hover { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.site-footer__bottom { margin-top: 30px; padding-top: 18px; border-top: 1px solid #d8e6e6; display: flex; justify-content: center; text-align: center; }
@media (max-width: 920px) {
  .hub-quiz-grid { grid-template-columns: 1fr; }
  .hub-hero__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hub-stat:nth-child(2) { border-inline-end: 0; }
  .hub-stat:nth-child(1), .hub-stat:nth-child(2) { border-bottom: 1px solid rgba(14,42,44,.18); }
}
@media (max-width: 640px) {
  .hub-header__inner { padding: 0 14px; }
  .hub-brand__name { font-size: 17px; }
  .hub-header__contact { display: none; }
  .hub-main { padding: 30px 16px 34px; }
  .home-intro h1 { font-size: clamp(38px, 12vw, 54px); }
  .hub-hero h1 { font-size: clamp(40px, 14vw, 58px); }
  .hub-hero__stats { grid-template-columns: 1fr; max-width: 360px; }
  .hub-stat, .hub-stat:nth-child(2) { justify-content: flex-start; border-inline-end: 0; border-bottom: 1px solid rgba(14,42,44,.18); }
  .hub-stat:last-child { border-bottom: 0; }
  .hub-quiz-card__meta { align-items: flex-start; flex-direction: column; gap: 6px; }
  .site-footer__nav { grid-template-columns: 1fr; }
}
