:root{--ink:#213636;--muted:#4d605d;--line:#d9ded6;--paper:#fdfbf6;--accent:#17584e;--quiet:#edf2e9;--width:1180px}
*{box-sizing:border-box}[hidden]{display:none!important}
html{scroll-padding-top:2rem}
body{margin:0;background:var(--paper);color:var(--ink);font:400 1rem/1.8 "Hiragino Sans","Yu Gothic",Meiryo,system-ui,sans-serif}
a{color:inherit;text-underline-offset:.21em}a:hover{color:var(--accent)}button,input{font:inherit}button{cursor:pointer}img{display:block;max-width:100%;height:auto}h1,h2,h3,p{margin:0}
a:focus-visible,button:focus-visible,input:focus-visible,summary:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.shell{max-width:var(--width);margin-inline:auto;padding-inline:32px}
.mast { border-bottom: 1px solid var(--line); background: var(--paper); border-top: 4px solid var(--accent); }
.mast-inner { min-height: 71px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; text-decoration: none; }
.brand strong { font: 700 1.65rem Georgia, "Times New Roman", serif; letter-spacing: -.035em; }
.brand small { margin-left: .38em; font-size: .72rem; font-weight: 700; }
.brand-mark {
  flex: 0 0 auto;
  width: 31px;
  aspect-ratio: 1;
  box-sizing: border-box;
  border: 7px solid #141414;
  border-radius: 50%;
  clip-path: polygon(0 0, 100% 0, 100% 34%, 50% 34%, 50% 66%, 100% 66%, 100% 100%, 0 100%);
}
.primary { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.primary a, .mast-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 6px 11px;
  border: 1px solid #aabcb5;
  border-radius: 4px;
  font-size: .875rem;
  font-weight: 700;
  line-height: 1.35;
  text-decoration: none;
  background: #fffdf7;
  color: var(--ink);
}
.primary a::after, .article-cue::after, .pick-copy strong::after, .card-text h3::after, .menu-links a::after {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: rotate(45deg);
}
.article-cue::after, .pick-copy strong::after, .card-text h3::after { margin-left: .45em; transform: rotate(45deg) translateY(-.12em); }
.primary a:hover, .primary a[aria-current="true"], .mast-button:hover, .mast-button[aria-expanded="true"] {
  background: #e9f1ec;
  border-color: var(--accent);
  color: var(--accent);
}
.mast-actions { display: flex; flex: 0 0 auto; gap: 5px; }
.menu-toggle, .quick-topics { display: none; }
.lens { display: inline-block; width: 11px; height: 11px; border: 1.5px solid currentColor; border-radius: 50%; position: relative; flex: 0 0 11px; margin-right: 2px; }
.lens::after { content: ""; width: 5px; height: 1.5px; background: currentColor; position: absolute; right: -4px; bottom: -2px; transform: rotate(45deg); }
.hamburger { width: 14px; height: 11px; flex: 0 0 14px; border-block: 1.5px solid currentColor; position: relative; }
.hamburger::after { content: ""; position: absolute; top: 50%; left: 0; width: 100%; height: 1.5px; background: currentColor; transform: translateY(-50%); }
.mast-panel { border-top: 1px solid var(--line); background: #f3f6f0; }
.menu-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px 14px; padding-block: 8px 12px; }
.menu-links a { display: flex; align-items: center; justify-content: space-between; gap: 4px; min-height: 44px; border-bottom: 1px solid var(--line); text-decoration: none; font-size: .9rem; font-weight: 700; }
.menu-links a:hover, .menu-links [aria-current="true"] { color: var(--accent); text-decoration: underline; }
h1,h2,h3{letter-spacing:.01em}
/* Home */
.hero {
  padding: 48px 0 54px;
  border-bottom: 1px solid var(--line);
}
.hero h1 { font-size: clamp(1.55rem, 3.4vw, 2.3rem); line-height: 1.35; margin-bottom: 30px; }
.find { display: flex; align-items: center; gap: 8px; padding-block: 9px; }
.find input { flex: 1; min-width: 0; min-height: 44px; border: 1px solid #aabcb5; border-radius: 4px; background: #fff; padding: 6px 10px; color: var(--ink); }
.find button { border: 0; border-radius: 4px; background: var(--accent); color: white; padding: 5px 14px; min-height: 44px; font-weight: 700; }
.find button:hover { background: #0e3e35; }
.feature-heading {
  font-size: clamp(1.25rem, 2.25vw, 1.65rem);
  padding: 0 0 10px;
  margin-bottom: 16px;
  border-bottom: 2px solid var(--accent);
}
.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.78fr) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}
.feature { display: block; text-decoration: none; }
.feature img, .card img, .pick img, .story-cover img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #e0e7e0;
  border-radius: 3px;
}
.cover-art { position: relative; display: block; }
.cover-copy {
  position: absolute;
  bottom: 7%;
  left: 4%;
  color: #fffdf7;
  background: #143f37;
  padding: .38em .68em .46em;
  font-size: clamp(1.3rem, 3vw, 2.32rem);
  line-height: 1.18;
  font-weight: 700;
  text-wrap: nowrap;
}
.feature-title { padding-top: 12px; display: grid; gap: 4px; }
.article-cue { width: fit-content; color: var(--accent); font-size: .86rem; font-weight: 700; text-decoration: underline; text-underline-offset: .2em; }
.feature-title h3 { font-size: clamp(1.25rem, 2.4vw, 1.78rem); line-height: 1.45; }
.label { font-size: .78rem; line-height: 1.35; font-weight: 700; color: var(--tag, #22564a); }
[data-tone=license] { --tag: #76511d; }
[data-tone=life] { --tag: #2e4f72; }
[data-tone=money] { --tag: #783f38; }
[data-tone=health] { --tag: #653e6c; }
.feature:hover h3, .pick:hover strong, .card a:hover h3 { text-decoration: underline; text-decoration-thickness: 1px; }
.editor-picks { padding: 16px 18px 4px; background: #f5ebd9; }
.editor-picks h3 { font-size: 1.12rem; line-height: 1.5; padding-bottom: 9px; border-bottom: 1px solid #d7cbb4; }
.pick { display: grid; grid-template-columns: minmax(0, 39%) minmax(0, 1fr); align-items: center; gap: 12px; text-decoration: none; padding: 15px 0; }
.pick + .pick { border-top: 1px solid #d7cbb4; }
.pick-copy { display: grid; gap: 5px; }
.pick strong { font-size: .98rem; line-height: 1.45; }
.pick:hover { background: #eee2cc; }
.articles { padding: 48px 0 66px; }
.section-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.section-head h2, .related h2 { font-size: 1.55rem; line-height: 1.4; }
.chips { display: flex; flex-wrap: wrap; gap: 7px; margin: 13px 0 21px; }
.chips button {
  min-height: 44px;
  border: 1px solid #aabcb5;
  border-radius: 4px;
  background: #fffdf7;
  padding: 6px 10px;
  color: var(--muted);
  font-size: .875rem;
  line-height: 1.35;
}
.chips button:hover { border-color: var(--accent); background: #e9f1ec; }
.chips button[aria-pressed=true] { border-color: var(--accent); background: var(--accent); color: #fff; font-weight: 700; }
.secondary { display: inline-flex; align-items: center; min-height: 44px; border: 1px solid #bcbfb5; background: transparent; color: var(--accent); font-size: .9rem; font-weight: 700; text-decoration: none; padding: 6px 12px; }
.secondary:hover { background: var(--quiet); }
.find-result:not(:empty) { font-size: .94rem; margin: 9px 0; color: var(--muted); }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 24px; }
.card a { display: block; height: 100%; text-decoration: none; border-bottom: 1px solid var(--line); }
.card-text { display: grid; gap: 5px; padding: 9px 0 11px; }
.card-text h3 { font-size: 1rem; font-weight: 700; line-height: 1.5; }
.empty{padding:23px 0}.empty p{margin-bottom:9px}
.footer { background: #063190; color: #fff; padding-block: 20px 18px; }
.footer-inner { display: grid; justify-items: center; gap: 4px; text-align: center; }
.footer nav { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0 8px; font-size: .86rem; }
.footer nav a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding-inline: 7px; }
.footer nav a:hover { color: #fff; text-decoration-thickness: 2px; }
.footer nav a:focus-visible { outline-color: #fff; }
.footer-social a { font-weight: 700; }
.footer-copy { font-size: .82rem; }
.reading{padding-block:23px 59px}
.crumb{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:.875rem}
.story-head{padding:24px 0 23px;border-bottom:1px solid var(--line);margin-bottom:25px}
.story-label{font-size:.88rem;color:var(--accent);font-weight:700}
.story-head h1{font-size:clamp(1.8rem,4.1vw,3rem);line-height:1.46;letter-spacing:.01em;font-weight:700;margin:8px 0}
.story-head>p:nth-last-child(2){font-size:1rem;color:var(--muted)}
.verified{margin-top:10px;font-size:.89rem}
.article-layout{display:grid;grid-template-columns:minmax(0,43rem) minmax(170px,1fr);gap:35px}
.article-body{font-size:1rem;line-height:1.8;min-width:0;overflow-wrap:anywhere}
.article-body>h2{font-size:clamp(1.32rem,2.5vw,1.68rem);line-height:1.5;margin:30px 0 10px;border-top:1px solid var(--line);padding-top:12px}
.article-body>p{margin-bottom:16px}
.article-body h3{font-size:1.17rem;line-height:1.5;margin:23px 0 8px}
.article-body li+li{margin-top:6px}
.verified time{margin-inline-start:.7em}
.disclosure{font-size:.88rem;color:var(--muted)}
.summary{border-left:3px solid var(--accent);background:var(--quiet);padding:12px 16px}
.summary h2{font-size:1.08rem}.summary ol{margin:4px 0 0;padding-left:1.3em}
.desktop-toc nav{position:sticky;top:20px;border-top:2px solid var(--ink);padding:9px 0;color:var(--muted)}
.desktop-toc h2{font-size:1rem;color:var(--ink)}.desktop-toc ol,.mobile-toc ol{margin:4px 0 0;padding-left:1.2em}
.mobile-toc{display:none}
table{border-collapse:collapse;width:100%;font-size:.95rem}
td,th{padding:8px 10px;border:1px solid var(--line);text-align:left}
th:first-child{min-width:4em;white-space:nowrap}thead{background:var(--quiet)}
.related{border-top:1px solid var(--line);margin-top:29px;padding-top:13px}.related a{display:block;margin:6px 0}
.skip,.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.skip:focus{width:auto;height:auto;clip-path:none;top:8px;left:8px;z-index:3;background:white;padding:8px}
/* Article figures use HTML so values remain readable and selectable. */
.story-cover { margin: 0 0 26px; max-width: 43rem; }
.timeline, .comparison { margin: 26px 0; padding: 16px; background: #edf2e9; border-left: 3px solid var(--accent); }
.timeline figcaption, .comparison figcaption { font-weight: 700; line-height: 1.45; margin-bottom: 13px; }
.timeline ol { display: grid; grid-template-columns: 1fr 1.6fr 1fr; list-style: none; margin: 0; padding: 0; gap: 8px; }
.timeline li { display: grid; gap: 2px; padding: 8px 7px; border-top: 2px solid #72958a; }
.timeline li + li { margin: 0; }
.timeline li span { font-size: .86rem; line-height: 1.45; }
.comparison-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.comparison-grid > div { background: #fbfcf9; padding: 10px; min-width: 0; }
.comparison h4, .comparison dl { margin: 0; }
.comparison dl > div { padding-block: 4px; border-bottom: 1px solid var(--line); }
.comparison dt { color: var(--muted); font-size: .8rem; }
.comparison dd { margin: 0; font-variant-numeric: tabular-nums; }
.comparison-grid p { padding-top: 8px; line-height: 1.4; }
.comparison-grid strong { display: block; font-size: clamp(1.05rem, 3.8vw, 1.36rem); color: var(--accent); font-variant-numeric: tabular-nums; }
.figure-note { margin-top: 9px; font-size: .81rem; color: var(--muted); }
.inline-note { margin: 20px 0; background: var(--quiet); padding: 11px 16px; border-left: 3px solid var(--accent); }
.inline-note.caution { background: #f5ebd9; border-color: #76511d; }
.inline-note-title { margin-bottom: 4px; font-size: .9rem; font-weight: 700; }
@media (max-width: 940px) {
  .mast-inner { min-height: 55px; gap: 8px; }
  .primary { display: none; }
  .menu-toggle { display: inline-flex; }
  .quick-topics {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr) minmax(0, 1.15fr) minmax(0, .6fr) minmax(0, 1fr);
    justify-content: center;
    border-top: 1px solid var(--line);
    background: #eef3ed;
  }
  .quick-topics a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-height: 44px;
    padding: 4px 3px;
    font-size: .8rem;
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
    text-decoration: none;
  }
  .quick-topics a + a { border-inline-start: 1px solid #c3d0c7; }
  .quick-topics a:hover, .quick-topics [aria-current="true"] { background: #dfeae1; color: var(--accent); }
}
@media (max-width: 730px) {
  .shell { padding-inline: 17px; }
  .mast-brand strong { font-size: 1.38rem; }
  .mast-brand small { font-size: .65rem; }
  .mast-button { font-size: .8rem; padding-inline: 7px; }
  .hero { padding: 17px 0 34px; }
  .hero h1 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); margin: 0; }
  .hero-layout, .article-layout { grid-template-columns: minmax(0, 1fr); gap: 23px; }
  .editor-picks { padding: 13px 14px 2px; }
  .pick { grid-template-columns: minmax(0, 6.5rem) minmax(0, 1fr); }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 19px 12px; }
  .wide { display: none; }
  .articles { padding: 33px 0 45px; }
  .card-text h3 { font-size: .9rem; }
  .desktop-toc { display: none; }
  .mobile-toc { display: block; margin: 0 0 17px; padding: 6px 11px; border: 1px solid var(--line); }
  .mobile-toc summary { cursor: pointer; font-weight: 700; min-height: 36px; }
}
@media (max-width: 400px) {
  .mast-inner { padding-inline: 12px; }
  .mast-brand { gap: 5px; }
  .mast-brand strong { font-size: 1.27rem; }
  .mast-brand small { display: block; margin: 1px 0 0; font-size: .59rem; line-height: 1; }
  .brand-name { line-height: 1; }
  .brand-mark { width: 27px; border-width: 6px; }
  .quick-topics a { font-size: .75rem; }
  .mast-button { gap: 6px; }
}
.cbridge-design .menu-toggle { display: inline-flex; }
.cbridge-design .cbridge-category-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  border: 1px solid #aabcb5;
  border-radius: 4px;
  padding: 6px 10px;
  font-size: .875rem;
  text-decoration: none;
  background: #fffdf7;
}
.cbridge-design .cbridge-category-links a:hover { background: #e9f1ec; border-color: var(--accent); }
.cbridge-design .cbridge-more { margin-top: 24px; }
@media (min-width: 941px) and (max-width: 1080px) {
  .cbridge-design .primary a { padding-inline: 6px; }
  .cbridge-design .mast-inner { gap: 8px; }
}
