:root {
  --ink: #17211b;
  --muted: #626d65;
  --paper: #f4f2ec;
  --white: #fffef9;
  --lime: #c8f45c;
  --sage: #becf92;
  --line: #d7dbd3;
  --dark-line: #36413a;
  --sans: "Helvetica Neue", Arial, "Yu Gothic", Meiryo, sans-serif;
  --jp: "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
}

* { box-sizing: border-box; }
html { overflow-x: hidden; scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; color: var(--ink); background: var(--paper); font-family: var(--sans); font-size: 16px; line-height: 1.7; -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button, input { color: inherit; font: inherit; }
img { max-width: 100%; height: auto; }
.shell { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 1000; top: 10px; left: 10px; padding: 12px 18px; color: white; background: var(--ink); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.reveal { opacity: 1; transform: none; }

/* Header */
.site-header { position: sticky; z-index: 50; top: 0; height: 78px; border-bottom: 1px solid transparent; background: rgb(244 242 236 / 88%); backdrop-filter: blur(14px); transition: height .25s, border-color .25s; }
.site-header.scrolled { height: 70px; border-color: var(--line); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 22px; }
.logo { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 11px; font-family: var(--jp); font-size: 20px; font-weight: 800; letter-spacing: -.04em; }
.logo-name { font-size: 24px; font-weight: 900; line-height: 1; letter-spacing: -.06em; }
.logo-mark { width: 48px; height: 34px; display: block; flex: 0 0 auto; }
.logo-mark svg { width: 100%; height: 100%; display: block; overflow: visible; }
.logo-route-halo { fill: var(--lime); }
.logo-route-start { fill: var(--ink); }
.logo-route-line { fill: none; stroke: var(--ink); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.logo-route-arrow { transition: transform .2s; }
.logo:hover .logo-route-arrow { transform: translateX(2px); }
.logo-tagline { margin-left: 3px; padding-left: 14px; border-left: 1px solid #bfc5bd; color: #626d65; font-size: 14px; font-weight: 700; letter-spacing: 0; white-space: nowrap; }
.desktop-nav { display: flex; align-items: center; justify-content: flex-end; gap: clamp(14px, 1.7vw, 27px); margin-left: auto; font-family: var(--jp); font-size: 14px; font-weight: 700; white-space: nowrap; }
.desktop-nav a { position: relative; padding: 9px 0; }
.desktop-nav a::after { content: ""; position: absolute; right: 0; bottom: 4px; left: 0; height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: right; transition: transform .25s; }
.desktop-nav a:hover::after, .desktop-nav a:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.header-actions { display: flex; align-items: center; }
.menu-trigger, .mobile-nav { display: none; }

/* Home hero */
.hero { min-height: 660px; display: grid; grid-template-columns: minmax(590px, 1.2fr) minmax(0, .8fr); align-items: center; gap: 40px; padding-block: 58px 76px; }
.hero > * { min-width: 0; }
.eyebrow, .section-kicker { margin: 0 0 20px; font-size: 14px; font-weight: 700; letter-spacing: .14em; }
.eyebrow { display: flex; align-items: center; gap: 11px; font-family: var(--jp); letter-spacing: .06em; }
.eyebrow span { width: 8px; height: 8px; border-radius: 50%; background: #8eae45; box-shadow: 0 0 0 5px rgb(142 174 69 / 14%); }
.hero h1 { margin: 0; font-family: var(--jp); font-size: clamp(36px, 3.25vw, 46px); line-height: 1.32; letter-spacing: -.055em; }
.hero h1 span, .hero h1 em { display: inline-block; white-space: nowrap; }
.hero h1 em { position: relative; z-index: 0; font-style: normal; }
.hero h1 em::after { content: ""; position: absolute; z-index: -1; right: -8px; bottom: 5px; left: -3px; height: 20px; background: var(--lime); transform: rotate(-1deg); }
.hero-lead { margin: 28px 0 0; color: #536058; font-family: var(--jp); font-size: 16px; line-height: 2; }
.hero-actions { display: flex; align-items: center; gap: 30px; margin-top: 34px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 36px; min-width: 205px; padding: 16px 20px; border-radius: 3px; font-family: var(--jp); font-size: 14px; font-weight: 700; transition: transform .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button-dark { color: white; background: var(--ink); }
.button-dark:hover { background: #28362d; }
.button span { color: var(--lime); font-size: 17px; }
.text-link { display: inline-flex; align-items: center; gap: 15px; padding-bottom: 5px; border-bottom: 1px solid #9fa59f; font-family: var(--jp); font-size: 14px; font-weight: 700; }
.text-link span { transition: transform .2s; }
.text-link:hover span { transform: translateX(5px); }
.hero-visual { position: relative; height: 500px; display: grid; place-items: center; }
.hero-visual::before { content: ""; position: absolute; width: 425px; height: 425px; border-radius: 50%; background: linear-gradient(145deg, #dbe3cc, #e8e4d9); }
.orbit { position: absolute; border: 1px solid rgb(66 87 70 / 13%); border-radius: 50%; }
.orbit-one { width: 500px; height: 370px; transform: rotate(28deg); }
.orbit-two { width: 355px; height: 500px; transform: rotate(53deg); }
.ai-window { position: relative; z-index: 2; width: 395px; min-height: 375px; overflow: hidden; border: 1px solid rgb(23 33 27 / 16%); border-radius: 13px; background: rgb(255 254 249 / 91%); box-shadow: 0 28px 70px rgb(32 43 35 / 18%); transform: rotate(-1.5deg); }
.window-head { height: 48px; display: flex; align-items: center; gap: 6px; padding: 0 15px; border-bottom: 1px solid var(--line); }
.window-head > span { width: 8px; height: 8px; border-radius: 50%; background: #bdc2bb; }
.prompt-card, .result-card { margin: 20px; border-radius: 8px; }
.prompt-card { padding: 18px; color: white; background: var(--ink); }
.prompt-card small { color: #c4cdc6; font-size: 14px; }
.prompt-card p { margin: 13px 0 0; font-family: var(--jp); font-size: 14px; line-height: 1.9; }
.prompt-card strong { color: var(--lime); }
.result-card { padding: 18px; border: 1px solid var(--line); background: white; }
.result-card div { display: flex; align-items: center; gap: 9px; margin-bottom: 17px; font-family: var(--jp); font-size: 14px; }
.result-card div span { width: 27px; height: 27px; display: grid; place-items: center; border-radius: 50%; color: var(--ink); background: var(--lime); font-size: 14px; font-weight: 800; }
.result-card i { display: block; width: 100%; height: 7px; margin: 10px 0; border-radius: 8px; background: #e2e5df; }
.result-card i:nth-of-type(2) { width: 88%; }
.result-card i:nth-of-type(3) { width: 72%; }
.result-card i.short { width: 46%; }
.window-note { margin: 21px; color: #718078; font-size: 14px; font-weight: 700; letter-spacing: .18em; text-align: right; }
.float-note { position: absolute; z-index: 4; display: flex; align-items: center; gap: 10px; padding: 11px 14px; border: 1px solid rgb(23 33 27 / 13%); border-radius: 7px; background: rgb(255 254 249 / 94%); box-shadow: 0 10px 30px rgb(23 33 27 / 12%); animation: float 4.5s ease-in-out infinite; }
.float-note > span { width: 31px; height: 31px; display: grid; place-items: center; border-radius: 50%; background: var(--lime); font-size: 14px; font-weight: 800; }
.float-note p { margin: 0; font-family: var(--jp); font-size: 14px; line-height: 1.5; }
.float-note small { display: block; color: var(--muted); font-size: 14px; }
.note-time { top: 54px; right: -4px; }
.note-check { bottom: 45px; left: -22px; animation-delay: -2.2s; }
.note-check > span { color: white; background: var(--ink); }
@keyframes float { 50% { transform: translateY(-9px) rotate(1deg); } }

.intro-strip { border-block: 1px solid var(--line); background: #ebeae4; }
.intro-inner { min-height: 82px; display: grid; grid-template-columns: 1.2fr repeat(3, 1fr); align-items: center; }
.intro-inner > p { font-size: 14px; font-weight: 700; letter-spacing: .15em; }
.intro-inner > div { min-height: 38px; display: flex; align-items: center; gap: 10px; padding-left: 24px; border-left: 1px solid #cdd1c9; font-family: var(--jp); font-size: 14px; font-weight: 700; }
.intro-inner span { color: #88928a; font-family: var(--sans); font-weight: 700; }

/* Sections and cards */
.section { padding-block: 110px; }
.latest-section { background: #ecebe5; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 43px; }
.section-heading.compact { margin-bottom: 30px; }
.section-heading h2, .category-section h2, .policy-band h2 { margin: 0; font-family: var(--jp); font-size: clamp(30px, 4vw, 44px); line-height: 1.4; letter-spacing: -.04em; }
.section-heading .section-kicker, .policy-band .section-kicker { margin-bottom: 12px; color: #626d65; }
.card-grid { display: grid; gap: 24px; }
.card-grid-3, .card-grid-featured { grid-template-columns: repeat(3, 1fr); }
.article-card { min-width: 0; }
.card-art { position: relative; height: 238px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; padding: 19px; border-radius: 5px; background: var(--sage); }
.card-art::before, .article-art::before { content: ""; position: absolute; width: 260px; height: 260px; border: 1px solid rgb(23 33 27 / 15%); border-radius: 50%; transform: translate(46%, -42%); right: 0; top: 0; }
.card-art::after, .article-art::after { content: ""; position: absolute; right: 22px; bottom: 22px; width: 54px; height: 54px; border-radius: 50%; background: rgb(255 255 255 / 34%); box-shadow: 0 0 0 17px rgb(255 255 255 / 13%); }
.card-art span { position: relative; z-index: 2; width: fit-content; padding: 6px 10px; border-radius: 2px; color: var(--ink); background: var(--white); font-family: var(--jp); font-size: 14px; font-weight: 700; }
.card-art strong { position: absolute; z-index: 2; top: 50%; right: 19px; left: 19px; transform: translateY(-50%); font-family: var(--jp); font-size: 24px; line-height: 1.45; letter-spacing: -.035em; }
.art-basics { background: #d6dfc4; }
.art-tools { background: #c6d999; }
.art-prompts { background: #ddd6c8; }
.art-workflow { color: white; background: #33443a; }
.art-safety { background: #e4d7b9; }
.card-body { padding-top: 20px; }
.card-date { display: block; margin-bottom: 5px; color: #626d65; font-size: 14px; font-weight: 700; letter-spacing: .08em; }
.card-meta { margin: 0 0 11px; color: #626d65; font-size: 14px; font-weight: 700; letter-spacing: .08em; }
.card-body h3 { margin: 0; font-family: var(--jp); font-size: 19px; line-height: 1.65; letter-spacing: -.025em; }
.card-body h3 a { background-image: linear-gradient(var(--ink), var(--ink)); background-position: 0 100%; background-repeat: no-repeat; background-size: 0 1px; transition: background-size .3s; }
.article-card:hover h3 a { background-size: 100% 1px; }
.card-body > p:not(.card-meta) { margin: 10px 0 0; color: var(--muted); font-family: var(--jp); font-size: 14px; line-height: 1.8; }
.card-foot { display: flex; justify-content: flex-end; margin-top: 18px; padding-top: 13px; border-top: 1px solid var(--line); color: #626d65; font-size: 14px; }

.category-section { padding-block: 105px 115px; color: white; background: var(--ink); }
.section-heading.light .section-kicker { color: var(--lime); }
.section-heading.light > div > p:last-child { margin: 13px 0 0; color: #aab3ac; font-family: var(--jp); font-size: 14px; }
.category-grid { display: grid; grid-template-columns: repeat(5, 1fr); border: 1px solid var(--dark-line); }
.category-card { position: relative; min-height: 350px; padding: 28px 23px; border-right: 1px solid var(--dark-line); transition: color .25s, background .25s; }
.category-card:last-child { border-right: 0; }
.category-card:hover { color: var(--ink); background: var(--lime); }
.category-card > span { display: block; margin-bottom: 48px; color: var(--lime); font-size: 17px; font-weight: 700; }
.category-card:hover > span { color: var(--ink); }
.category-card small { color: #a7b0a9; font-size: 14px; }
.category-card h3 { margin: 8px 0 13px; font-family: var(--jp); font-size: 18px; }
.category-card p { margin: 0; color: #9da79f; font-family: var(--jp); font-size: 14px; line-height: 1.8; }
.category-card:hover p, .category-card:hover small { color: #4f5e49; }
.category-card i { position: absolute; right: 23px; bottom: 24px; left: 23px; padding-top: 13px; border-top: 1px solid var(--dark-line); color: #a7b0a9; font-size: 14px; font-style: normal; }
.category-card:hover i { color: var(--ink); border-color: rgb(23 33 27 / 30%); }
.policy-band { padding-block: 85px; border-block: 1px solid #d6d9d2; background: #e5e7df; }
.policy-inner { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 80px; }
.policy-inner > div:last-child > p { margin: 0 0 26px; color: #536058; font-family: var(--jp); font-size: 15px; line-height: 2; }

/* Archive and fixed pages */
.breadcrumb { display: flex; flex-wrap: wrap; gap: 10px; color: #626d65; font-family: var(--jp); font-size: 14px; }
.breadcrumb a { text-decoration: underline; text-underline-offset: 4px; }
.archive-header { padding-block: 62px 54px; border-bottom: 1px solid var(--line); }
.archive-header .section-kicker { margin: 48px 0 10px; color: #626d65; }
.archive-header h1, .page-header h1 { margin: 0; font-family: var(--jp); font-size: clamp(38px, 5vw, 60px); line-height: 1.35; letter-spacing: -.05em; }
.archive-header > p:last-child, .page-header > p:last-child { max-width: 720px; margin: 18px 0 0; color: var(--muted); font-family: var(--jp); font-size: 16px; line-height: 2; }
.archive-list { padding-block: 65px 120px; }
.page { max-width: 900px; padding-block: 70px 120px; }
.page-header { padding-bottom: 48px; border-bottom: 1px solid var(--line); }
.page-header .section-kicker { color: #626d65; }
.page-content { max-width: 760px; margin-top: 58px; font-family: var(--jp); }
.page-content h2 { margin: 62px 0 20px; padding-bottom: 13px; border-bottom: 1px solid #c9cec6; font-size: 28px; line-height: 1.5; letter-spacing: -.025em; }
.page-content h2:first-child { margin-top: 0; }
.page-content p, .page-content li { font-size: 16px; line-height: 2; }
.page-content a { text-decoration: underline; text-decoration-color: #87976b; text-underline-offset: 4px; }
.page-content li + li { margin-top: 7px; }
.privacy-setting-button { margin-top: 10px; padding: 13px 18px; border: 1px solid var(--ink); border-radius: 3px; background: transparent; font-family: var(--jp); font-size: 14px; font-weight: 700; cursor: pointer; }
.privacy-setting-button:hover { color: white; background: var(--ink); }
.notice { padding: 18px; border: 1px solid var(--line); background: var(--white); font-size: 14px; }
.error-page { min-height: 610px; display: flex; align-items: flex-start; justify-content: center; flex-direction: column; padding-block: 80px; }
.error-page h1 { margin: 0; font-family: var(--jp); font-size: clamp(38px, 6vw, 68px); line-height: 1.35; letter-spacing: -.05em; }
.error-page > p:not(.section-kicker) { max-width: 650px; margin: 20px 0 32px; color: var(--muted); font-family: var(--jp); font-size: 16px; line-height: 2; }
.error-page > div { display: flex; align-items: center; gap: 28px; }

/* Article */
.article-hero { padding-block: 45px 64px; }
.article-category { width: fit-content; margin: 54px 0 18px; padding: 7px 11px; border: 1px solid #aeb5ad; border-radius: 2px; font-family: var(--jp); font-size: 14px; font-weight: 700; }
.article-hero h1 { max-width: 940px; margin: 0; font-family: var(--jp); font-size: clamp(38px, 5.3vw, 68px); line-height: 1.35; letter-spacing: -.055em; }
.article-description { max-width: 800px; margin: 24px 0 0; color: #536058; font-family: var(--jp); font-size: 17px; line-height: 1.9; }
.article-meta { max-width: 720px; display: grid; grid-template-columns: repeat(3, 1fr); margin: 38px 0 42px; border: 1px solid #b9c0b7; background: rgb(255 254 249 / 50%); }
.article-meta div { padding: 16px 20px; border-right: 1px solid #b9c0b7; }
.article-meta div:last-child { border-right: 0; }
.article-meta dt { color: #626d65; font-family: var(--jp); font-size: 14px; font-weight: 700; }
.article-meta dd { margin: 3px 0 0; font-size: 17px; font-weight: 800; }
.article-art { position: relative; min-height: 340px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; padding: 34px 38px; border-radius: 6px; }
.article-art::before { width: 520px; height: 520px; }
.article-art::after { right: 70px; bottom: 65px; width: 100px; height: 100px; box-shadow: 0 0 0 36px rgb(255 255 255 / 13%); }
.article-art > span { position: relative; z-index: 2; width: fit-content; padding: 7px 12px; background: var(--white); color: var(--ink); font-family: var(--jp); font-size: 14px; font-weight: 700; }
.article-art > strong { position: absolute; z-index: 2; top: 50%; right: 38px; left: 38px; max-width: 720px; transform: translateY(-50%); font-family: var(--jp); font-size: clamp(32px, 4.5vw, 57px); line-height: 1.35; letter-spacing: -.05em; }
.article-layout { display: grid; grid-template-columns: 230px minmax(0, 740px); justify-content: center; gap: 70px; padding-bottom: 110px; }
.article-aside { position: relative; }
.toc { position: sticky; top: 100px; padding: 20px; border-top: 3px solid var(--ink); background: #ecebe5; }
.toc > p { margin: 0 0 13px; font-size: 14px; font-weight: 800; letter-spacing: .15em; }
.toc ol { margin: 0; padding: 0; list-style: none; }
.toc li { border-top: 1px solid #d4d7d0; }
.toc a { display: block; padding: 10px 2px; font-family: var(--jp); font-size: 14px; line-height: 1.6; }
.toc a:hover { text-decoration: underline; text-underline-offset: 3px; }
.toc-subitem a { padding-left: 13px; color: var(--muted); }
.article-content { min-width: 0; padding-top: 6px; color: #253029; font-family: var(--jp); }
.article-content > p:first-child { font-size: 18px; font-weight: 700; line-height: 2; }
.article-content p, .article-content li { font-size: 16px; line-height: 2; }
.article-content p { margin: 0 0 24px; }
.article-content h2 { margin: 72px 0 25px; padding-top: 20px; border-top: 1px solid #bec5bc; font-size: 31px; line-height: 1.55; letter-spacing: -.035em; }
.article-content h2::before { content: ""; display: block; width: 42px; height: 7px; margin-bottom: 17px; background: var(--lime); }
.article-content h3 { margin: 42px 0 17px; font-size: 22px; line-height: 1.6; }
.article-content ul, .article-content ol { margin: 0 0 28px; padding-left: 1.5em; }
.article-content li + li { margin-top: 8px; }
.article-content strong { color: #101812; }
.article-content a { color: #355f39; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.article-content blockquote { margin: 30px 0; padding: 22px 24px; border: 0; border-left: 6px solid var(--lime); background: #e9ece3; }
.article-content blockquote p { margin: 0; font-weight: 700; }
.article-content pre { position: relative; overflow-x: auto; margin: 30px 0; padding: 58px 24px 24px; border-radius: 5px; color: #f5f7f3; background: var(--ink); white-space: pre-wrap; }
.article-content code { font-family: Consolas, "Yu Gothic", monospace; font-size: 14px; line-height: 1.9; }
.copy-code { position: absolute; top: 13px; right: 13px; padding: 7px 11px; border: 1px solid #667168; border-radius: 3px; color: white; background: transparent; font-size: 14px; cursor: pointer; }
.article-content table { width: 100%; margin: 30px 0; border-collapse: collapse; background: var(--white); font-size: 14px; }
.article-content th, .article-content td { padding: 13px; border: 1px solid #cbd0c8; text-align: left; vertical-align: top; }
.article-content th { background: #e2e7dc; }
.sources { margin-top: 75px; padding: 28px; border: 1px solid #c6cbc3; background: #ebece6; }
.sources h2 { margin: 0 0 18px; padding: 0; border: 0; font-size: 23px; }
.sources h2::before { display: none; }
.sources ol { margin: 0; padding-left: 1.35em; }
.sources li { font-size: 14px; line-height: 1.7; }
.sources li + li { margin-top: 12px; }
.sources span { display: block; color: var(--muted); font-size: 14px; }
.related-section { padding-block: 82px 110px; border-top: 1px solid var(--line); background: #e9e8e2; }

/* Footer and consent */
.site-footer { padding-top: 70px; color: white; background: #111913; }
.logo-footer .logo-route-start { fill: var(--white); }
.logo-footer .logo-route-line { stroke: var(--white); }
.footer-main { min-height: 190px; display: grid; grid-template-columns: 1fr 1fr; }
.footer-main > div > p { margin: 24px 0 0; color: #929b94; font-family: var(--jp); font-size: 14px; line-height: 1.9; }
.footer-links { display: flex; justify-content: flex-end; align-items: flex-start; gap: 34px; }
.footer-links a { padding-bottom: 5px; border-bottom: 1px solid #48524a; font-family: var(--jp); font-size: 14px; }
.footer-links a:hover { color: var(--lime); }
.footer-bottom { min-height: 72px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid #2b342d; color: #7f8981; font-size: 14px; }
.consent-banner { position: fixed; z-index: 200; right: 18px; bottom: 18px; left: 18px; padding: 20px; border: 1px solid #536057; border-radius: 6px; color: white; background: #17211bf5; box-shadow: 0 15px 50px rgb(0 0 0 / 28%); }
.consent-banner > div { width: min(1060px, 100%); display: flex; align-items: center; justify-content: space-between; gap: 28px; margin-inline: auto; }
.consent-banner p { min-width: 0; max-width: 760px; margin: 0; overflow-wrap: anywhere; font-family: var(--jp); font-size: 14px; line-height: 1.8; }
.consent-banner a { color: var(--lime); text-decoration: underline; text-underline-offset: 3px; }
.consent-actions { display: flex; gap: 10px; flex: 0 0 auto; }
.consent-actions button { min-width: 105px; padding: 11px 14px; border: 1px solid #939d95; border-radius: 3px; color: white; background: transparent; font-size: 14px; font-weight: 700; cursor: pointer; }
.consent-actions .button-consent { color: var(--ink); border-color: var(--lime); background: var(--lime); }

@media (max-width: 1080px) {
  .desktop-nav { display: none; }
  .header-actions { margin-left: auto; }
  .menu-trigger { width: 42px; height: 42px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; border: 0; background: transparent; cursor: pointer; }
  .menu-trigger span { width: 21px; height: 1px; display: block; background: currentColor; transition: transform .25s; }
  .menu-trigger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-trigger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .mobile-nav { position: fixed; z-index: 45; top: 78px; right: 0; bottom: 0; left: 0; width: 100%; max-width: 100vw; display: flex; flex-direction: column; overflow-x: hidden; overflow-y: auto; padding: 24px; background: var(--paper); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .2s, visibility 0s linear .2s; }
  .site-header.scrolled + .mobile-nav { top: 70px; }
  .mobile-nav.open { opacity: 1; visibility: visible; pointer-events: auto; transition-delay: 0s; }
  .mobile-nav a { padding: 17px 5px; border-bottom: 1px solid var(--line); font-family: var(--jp); font-size: 16px; font-weight: 700; }
  .hero { grid-template-columns: 1fr; gap: 20px; }
  .hero-copy { max-width: 720px; }
  .story-grid { grid-template-columns: repeat(2, 1fr); }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .category-card { border-bottom: 1px solid var(--dark-line); }
  .category-card:nth-child(2n) { border-right: 0; }
  .category-card:last-child { border-right: 1px solid var(--dark-line); }
  .article-layout { grid-template-columns: 200px minmax(0, 680px); gap: 42px; }
}

@media (max-width: 760px) {
  body { padding-top: 70px; }
  .shell { width: min(calc(100% - 30px), 560px); }
  .site-header { position: fixed; right: 0; left: 0; height: 70px; }
  .mobile-nav { top: 70px; }
  .logo-tagline { display: none; }
  .hero { min-height: auto; padding-block: 59px 48px; }
  .hero { grid-template-columns: minmax(0, 1fr); }
  .hero h1 { font-size: clamp(26px, 8.2vw, 36px); line-height: 1.42; }
  .hero-lead { font-size: 14px; }
  .hero-lead { overflow-wrap: anywhere; }
  .hero-lead br { display: none; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 22px; }
  .hero-visual { height: 400px; transform: scale(.84); }
  .hero-visual::before { width: 370px; height: 370px; }
  .ai-window { width: min(395px, 100vw - 16px); }
  .orbit { display: none; }
  .note-time { right: -27px; }
  .note-check { left: -25px; }
  .intro-inner { grid-template-columns: 1fr; padding-block: 15px; }
  .intro-inner > p { margin: 6px 0 10px; }
  .intro-inner > div { min-height: 42px; padding-left: 0; border-top: 1px solid #cdd1c9; border-left: 0; }
  .section { padding-block: 76px; }
  .section-heading { align-items: flex-start; }
  .section-heading > .text-link { display: none; }
  .section-heading h2, .category-section h2, .policy-band h2 { font-size: 29px; }
  .card-grid-3, .card-grid-featured { grid-template-columns: 1fr; gap: 48px; }
  .card-art { height: 265px; }
  .category-section { padding-block: 75px; }
  .category-grid { grid-template-columns: 1fr; }
  .category-card { min-height: 270px; border-right: 0 !important; }
  .category-card > span { margin-bottom: 24px; }
  .policy-inner { grid-template-columns: 1fr; gap: 30px; }
  .archive-header { padding-block: 38px 43px; }
  .archive-header .section-kicker { margin-top: 38px; }
  .archive-list { padding-block: 50px 85px; }
  .page { padding-block: 48px 90px; }
  .page-header { padding-bottom: 35px; }
  .page-content { margin-top: 42px; }
  .page-content h2 { font-size: 24px; }
  .article-hero { padding-block: 28px 45px; }
  .article-category { margin-top: 38px; }
  .article-hero h1 { font-size: clamp(34px, 10vw, 45px); }
  .article-description { font-size: 15px; }
  .article-meta { grid-template-columns: 1fr; }
  .article-meta div { display: flex; justify-content: space-between; align-items: center; border-right: 0; border-bottom: 1px solid #b9c0b7; }
  .article-meta div:last-child { border-bottom: 0; }
  .article-art { min-height: 280px; padding: 24px; }
  .article-art > strong { right: 24px; left: 24px; font-size: 31px; }
  .article-layout { display: block; padding-bottom: 75px; }
  .toc { position: static; margin-bottom: 46px; }
  .article-content > p:first-child { font-size: 17px; }
  .article-content p, .article-content li { font-size: 16px; }
  .article-content h2 { margin-top: 58px; font-size: 27px; }
  .article-content h3 { font-size: 21px; }
  .article-content table { display: block; overflow-x: auto; white-space: nowrap; }
  .related-section { padding-block: 68px 85px; }
  .error-page > div { align-items: flex-start; flex-direction: column; }
  .footer-main { display: block; padding-bottom: 46px; }
  .footer-main > div { margin-bottom: 38px; }
  .footer-links { align-items: flex-start; flex-direction: column; gap: 15px; }
  .consent-banner { right: 10px; bottom: 10px; left: 10px; }
  .consent-banner > div { align-items: stretch; flex-direction: column; gap: 17px; }
  .consent-actions { display: grid; grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
