/* Public visual system shared by the homepage and tool pages. */
.home-page {
  --bg: #08090a;
  --bg-soft: #101113;
  --panel: #111214;
  --text: #f0f1f2;
  --muted: #a2a5ae;
  --soft: #858a95;
  --line: #25272b;
  --green: #8ebba7;
  --mint: #b8d9c9;
  --gold: #c2c5ce;
  background: var(--bg);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.65;
}
.home-page::before { display: none; }
.home-page ::selection { background: #465b51; color: #fff; }
.home-page h1, .home-page h2, .home-page h3 { font-weight: 550; }
.home-page h2 { font-size: clamp(30px, 3.4vw, 48px); letter-spacing: -.035em; line-height: 1.22; }
.home-page h3 { font-size: 19px; letter-spacing: -.02em; line-height: 1.45; }
.home-page a:focus-visible, .home-page button:focus-visible, .home-page summary:focus-visible { outline: 2px solid #b8d9c9; outline-offset: 5px; }
.home-page .site-header { position: sticky; height: 72px; padding: 0 max(32px, calc((100vw - 1200px) / 2)); gap: 28px; background: #08090ae8; border-color: #ffffff12; backdrop-filter: blur(20px); }
.home-page .brand { gap: 10px; flex-shrink: 0; }
.home-page .brand-avatar { width: 28px; height: 28px; border: 1px solid #ffffff26; box-shadow: none; }
.home-page .brand strong { font-size: 19px; font-weight: 600; letter-spacing: -.04em; }
.home-page .brand small { display: none; }
.home-page .top-nav { margin-left: auto; flex-wrap: nowrap; align-items: center; gap: 24px; font-size: 13px; }
.home-page .top-nav a { white-space: nowrap; color: #9b9da6; transition: color .2s; }
.home-page .top-nav a:hover { color: #f0f1f2; }
.header-cta { flex-shrink: 0; border: 1px solid #ffffff30; border-radius: 7px; padding: 5px 13px; background: #e6e6e8; color: #121315; font-size: 12px; font-weight: 550; }
.header-cta span { margin-left: 12px; }
.nav-toggle { display: none; }
.skip-link { position: fixed; top: -80px; left: 20px; z-index: 30; padding: 10px 18px; background: #f0f1f2; color: #08090a; border-radius: 6px; }
.skip-link:focus { top: 10px; }
.home-page .hero { display: block; min-height: 0; max-width: 1200px; margin: auto; padding: 108px 0 0; overflow: visible; }
.home-page .hero-content { max-width: 860px; }
.hero-announcement { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 32px; color: #a2a5ae; font-size: 12px; }
.announcement-label { border: 1px solid #34363d; border-radius: 5px; padding: 1px 7px; color: #d9dbe0; }
.hero-announcement > span:last-child { color: #c6c8cf; }
.home-page h1 { font-size: clamp(48px, 5vw, 64px); line-height: 1.08; letter-spacing: -.055em; }
.home-page .mutsumi-line { display: block; margin: 9px 0 0; padding: 0; border: 0; background: none; font-size: clamp(38px, 4.4vw, 60px); letter-spacing: -.055em; line-height: 1.25; color: #a4a7af; font-weight: 500; }
.home-page .hero-tagline { max-width: 650px; margin-top: 26px; font-size: 17px; line-height: 1.8; color: #a2a5ae; font-weight: 400; }
.home-page .hero-actions { gap: 12px; margin-top: 26px; }
.home-page .button { min-height: 40px; padding: 0 16px; border-radius: 7px; font-size: 13px; font-weight: 500; box-shadow: 0 1px 2px #0005; }
.home-page .button.primary { color: #18191b; background: #e9e9ec; border: 1px solid #fff3; }
.home-page .button.primary:hover { background: #fff; }
.home-page .button.ghost { background: transparent; color: #b9bcc4; border-color: transparent; box-shadow: none; gap: 18px; }
.home-page .button.ghost:hover { background: #ffffff08; color: #fff; }
.product-stage { margin-top: 64px; border: 1px solid #303237; border-radius: 12px; overflow: hidden; background: #101113; box-shadow: 0 0 0 7px #ffffff02, 0 40px 100px #0006; }
.stage-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; height: 49px; padding: 0 22px; border-bottom: 1px solid var(--line); background: linear-gradient(#1b1c1e,#141517); color: #b8bbc3; font-size: 12px; }
.stage-toolbar > span { display: flex; align-items: center; gap: 10px; }
.stage-toolbar img { border-radius: 50%; }
.toolbar-divider { color: #555962; margin: 0 8px; }
.stage-status { font-size: 11px; color: #a5b8ad; }
.home-page .status-dot { display: inline-block; width: 6px; height: 6px; box-shadow: 0 0 8px #8ebba733; flex: none; }
.stage-layout { display: grid; grid-template-columns: 206px minmax(0,1fr); }
.stage-sidebar { position: relative; padding: 30px 14px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; background: #101113; }
.sidebar-label { font-size: 9px; letter-spacing: .12em; color: #757983; padding: 0 12px; margin-bottom: 12px; }
.stage-sidebar > a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 6px; color: #9da1ac; font-size: 12px; }
.stage-sidebar > a:hover { background: #ffffff07; color: #eee; }
.stage-sidebar > .sidebar-active { background: #ffffff09; color: #e4e6eb; }
.sidebar-active > span:last-child { margin-left: auto; color: #737883; }
.sidebar-bottom { display: flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 32px; color: #b6bac2; font-size: 11px; }
.sidebar-bottom img { border-radius: 9px; }
.sidebar-bottom small { display: block; margin-top: 3px; font-size: 6px; letter-spacing: .08em; color: #787e87; }
.stage-main { position: relative; isolation: isolate; min-height: 366px; overflow: hidden; }
.stage-copy { position: relative; z-index: 1; width: 56%; padding: 48px 0 54px 44px; }
.home-page .eyebrow { color: #8c929e; font-size: 11px; font-weight: 500; letter-spacing: .09em; margin-bottom: 20px; }
.stage-copy h2 { font-size: 38px; line-height: 1.4; color: #e7e9ed; }
.stage-copy > p:not(.eyebrow) { font-size: 12px; color: #949ba5; margin-top: 18px; max-width: 230px; }
.stage-copy > a { font-size: 12px; color: #c6d7ce; display: inline-flex; gap: 25px; margin-top: 12px; }
.stage-art { position: absolute; inset: 0 0 0 32%; z-index: -1; background: linear-gradient(90deg,#101113,transparent 45%),linear-gradient(0deg,#101113 0%,#10111300 35%),url('/static/assets/mutsumi-hero.webp') 64% 40% / cover; opacity: .8; filter: saturate(.55); }
.art-caption { position: absolute; right: 26px; bottom: 20px; color: #c6c9cd; font-size: 11px; text-align: right; }
.art-caption span { display: block; color: #969ca5; font-size: 8px; letter-spacing: .15em; margin-top: 4px; }
.home-page .hero-stats { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 0; border-top: 1px solid var(--line); background: #121315; }
.home-page .stat-card { min-height: 95px; padding: 24px; border: 0; border-right: 1px solid var(--line); background: none; box-shadow: none; backdrop-filter: none; }
.home-page .stat-card:last-child { border-right: 0; }
.home-page .stat-card strong { color: #d1d4da; font-size: 14px; font-weight: 500; line-height: 1.6; }
.home-page .stat-card span { color: #878d98; font-size: 11px; }
.home-page .hero-copy { max-width: 770px; margin: 32px auto 0; text-align: center; font-size: 13px; color: #8e939e; line-height: 1.9; }
.home-page .section { width: min(1100px,calc(100% - 64px)); padding: 112px 0; border-bottom: 1px solid #ffffff0d; }
.home-page main [id] { scroll-margin-top: 96px; }
.home-page .intro-band { grid-template-columns: .8fr 1.2fr; align-items: center; gap: 90px; }
.home-page .intro-band > p:last-child { color: #969ba5; font-size: 15px; line-height: 1.95; }
.home-page .section-heading { margin-bottom: 40px; }
.home-page .feature-heading { display: grid; grid-template-columns: 1fr 1fr; align-items: end; column-gap: 80px; }
.feature-heading > .eyebrow { grid-column: 1 / -1; }
.home-page .feature-heading > p:last-child { margin: 0; font-size: 14px; }
.home-page .feature-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.home-page .feature-card { position: relative; min-height: 245px; padding: 32px; border: 1px solid #ffffff0c; border-radius: 10px; background: linear-gradient(135deg,#151719,#101113 80%); box-shadow: none; backdrop-filter: none; transition: border-color .2s,background .2s; }
.home-page .feature-card:hover { border-color: #ffffff24; background: #151719; }
.home-page .card-index { min-width: 0; min-height: 0; margin-bottom: 38px; border: 0; color: #8caa9d; font: 12px ui-monospace,monospace; }
.home-page .feature-card p { margin-bottom: 0; max-width: 440px; color: #969ca6; font-size: 13px; line-height: 1.85; }
.home-page .split { grid-template-columns: minmax(200px,.72fr) minmax(0,1.28fr); gap: 90px; }
.home-page .sticky-heading { top: 110px; }
.home-page .section-heading > p:last-child:not(.eyebrow) { font-size: 14px; line-height: 1.8; }
.home-page .command-list, .home-page .faq-list, .home-page .post-list { gap: 0; }
.home-page .command-row { grid-template-columns: minmax(0,1fr); gap: 12px; min-height: 0; padding: 24px 0; border: 0; border-top: 1px solid var(--line); box-shadow: none; background: none; backdrop-filter: none; }
.home-page .command-row:first-child { padding-top: 0; border-top: 0; }
.home-page .command-row h3 { font-size: 15px; }
.home-page .command-row p { font-size: 13px; margin: 7px 0 0; color: #989da7; }
.home-page .command-row code { justify-self: start; max-width: 100%; padding: 5px 9px; border: 1px solid #ffffff12; border-radius: 5px; background: #ffffff05; color: #c5cbd6; font-size: 12px; line-height: 1.8; }
.home-page .blog-layout { grid-template-columns: 1fr 1.1fr; gap: 64px; }
.home-page .visual-card { border: 1px solid #ffffff12; border-radius: 10px; background: #111214; box-shadow: none; backdrop-filter: none; }
.home-page .visual-card img { filter: saturate(.6); }
.home-page .visual-card div { padding: 25px; }
.home-page .visual-card .eyebrow { margin-bottom: 10px; }
.home-page .visual-card h3 { font-size: 17px; }
.home-page .post-card { padding: 25px 0; min-height: 0; border: 0; border-top: 1px solid var(--line); background: none; box-shadow: none; backdrop-filter: none; }
.home-page .post-card:first-child { padding-top: 0; border-top: 0; }
.home-page .post-meta { font-size: 11px; margin-bottom: 11px; color: #8c929c; }
.home-page .post-card h3 { font-size: 16px; }
.home-page .post-card p { font-size: 13px; margin: 10px 0 0; color: #969ca6; }
.home-page .faq-item { padding: 0; border: 0; border-bottom: 1px solid var(--line); background: none; box-shadow: none; backdrop-filter: none; }
.home-page .faq-item summary { gap: 20px; justify-content: space-between; min-height: 76px; font-weight: 500; font-size: 14px; list-style: none; }
.home-page .faq-item summary::-webkit-details-marker { display: none; }
.home-page .faq-item summary::after { content: '+'; font-size: 20px; font-weight: 300; color: #858c98; flex-shrink: 0; }
.home-page .faq-item[open] summary::after { content: '−'; }
.home-page .faq-item p { font-size: 13px; color: #969ca6; padding-bottom: 24px; }
.home-page .contact-band { width: min(1100px,calc(100% - 64px)); padding: 100px 0; margin: 0 auto; gap: 70px; border: 0; border-radius: 0; background: none; box-shadow: none; backdrop-filter: none; }
.home-page .contact-band h2 { font-size: clamp(28px,3vw,40px); }
.home-page .contact-band p:not(.eyebrow) { font-size: 14px; line-height: 1.9; color: #969ca6; }
.home-page .contact-note { border: 0; padding: 0; background: none; }
.home-page .link-list { gap: 10px; }
.home-page .link-list a { min-height: 36px; border-radius: 6px; padding: 0 12px; font-size: 12px; color: #c6cad1; }
.home-page .link-list a:hover { border-color: #777d87; }
.home-page .site-footer { padding: 38px max(32px,calc((100vw - 1100px)/2)); border-color: #ffffff10; gap: 24px; }
.home-page .footer-brand { justify-content: space-between; font-size: 12px; font-weight: 400; color: #8b919b; }
.home-page .footer-brand > span:first-child { font-size: 16px; font-weight: 550; color: #d2d5db; }
.home-page .footer-disclaimer { font-size: 11px; color: #858b95; line-height: 1.9; }
.load-notice { display: none; }
.load-error .load-notice { display: block; position: fixed; bottom: 12px; left: 16px; right: 16px; z-index: 20; margin: 0; padding: 14px; border: 1px solid #565d69; border-radius: 7px; background: #191c21; color: #e5e7ec; font-size: 13px; }
.load-notice a { text-decoration: underline; }
@media (min-width: 1800px) { .home-page .hero { padding-top: 140px; } }
@media (max-width: 1264px) { .home-page .hero { margin: 0 32px; } .home-page .site-header { gap: 18px; } .home-page .top-nav { gap: 17px; } }
@media (max-width: 1000px) {
  .home-page .site-header { padding: 0 24px; height: 64px; }
  .home-page .top-nav { gap: 13px; font-size: 11px; }
  .home-page .header-cta { display: none; }
  .home-page .hero { padding-top: 80px; }
  .home-page .section, .home-page .contact-band { padding-top: 80px; padding-bottom: 80px; }
  .home-page .split, .home-page .intro-band { gap: 40px; }
  .stage-layout { grid-template-columns: 175px minmax(0,1fr); }
  .stage-copy { padding-left: 28px; width: 64%; }
  .stage-copy h2 { font-size: 32px; }
  .stage-art { background-position: 0 0,0 0,57% center; }
}
@media (max-width: 720px) {
  .home-page .site-header { padding: 0 20px; height: 62px; flex-direction: row; align-items: center; justify-content: space-between; }
  .nav-toggle { display: inline-flex; min-height: 40px; align-items: center; gap: 14px; border: 1px solid #34363d; border-radius: 6px; background: #141517; color: #c8ccd3; padding: 5px 10px; font-size: 12px; cursor: pointer; }
  .home-page .top-nav { display: none; position: absolute; top: 61px; left: 0; right: 0; padding: 16px 20px 22px; background: #101113; border-bottom: 1px solid #34363d; flex-direction: column; align-items: stretch; gap: 0; margin: 0; font-size: 14px; }
  .home-page .top-nav.is-open { display: flex; }
  .home-page .top-nav a { padding: 12px 4px; }
  .home-page .hero { margin: 0 20px; padding-top: 60px; }
  .hero-announcement { margin-bottom: 28px; font-size: 10px; gap: 9px; }
  .home-page h1 { font-size: 52px; }
  .home-page .mutsumi-line { font-size: 41px; }
  .home-page .hero-tagline { margin-top: 22px; font-size: 15px; max-width: 340px; }
  .home-page .hero-actions { gap: 5px; margin-top: 24px; }
  .home-page .button { font-size: 12px; padding: 0 13px; }
  .product-stage { margin-top: 42px; border-radius: 9px; }
  .stage-toolbar { padding: 0 14px; font-size: 10px; height: 43px; }
  .stage-toolbar img { width: 18px; height: 18px; }
  .toolbar-divider { margin: 0 2px; }
  .stage-status { font-size: 9px; }
  .stage-toolbar > span { gap: 6px; }
  .stage-layout { grid-template-columns: 1fr; }
  .stage-sidebar { display: none; }
  .stage-main { min-height: 290px; }
  .stage-copy { padding: 30px 0 35px 22px; width: 62%; }
  .stage-copy h2 { font-size: 30px; }
  .stage-copy .eyebrow { font-size: 8px; margin-bottom: 15px; }
  .stage-copy > p:not(.eyebrow) { font-size: 11px; max-width: 150px; }
  .stage-copy > a { font-size: 11px; gap: 12px; }
  .stage-art { left: 26%; opacity: .65; background-position: 0 0,0 0,59% center; }
  .art-caption { right: 12px; bottom: 15px; font-size: 9px; }
  .art-caption span { font-size: 6px; }
  .home-page .hero-stats { grid-template-columns: 1fr; }
  .home-page .stat-card { min-height: 0; padding: 13px 20px; border: 0; border-bottom: 1px solid #ffffff09; }
  .home-page .stat-card:last-child { border-bottom: 0; }
  .home-page .stat-card strong { font-size: 12px; }
  .home-page .stat-card span { font-size: 10px; }
  .home-page .hero-copy { font-size: 12px; text-align: left; margin-top: 25px; }
  .home-page .section, .home-page .contact-band { width: calc(100% - 40px); padding: 64px 0; }
  .home-page .intro-band, .home-page .split, .home-page .contact-band, .home-page .blog-layout { grid-template-columns: 1fr; gap: 30px; }
  .home-page .intro-band > p:last-child { font-size: 13px; }
  .home-page .feature-heading { display: block; }
  .home-page .feature-heading > p:last-child { margin-top: 18px; }
  .home-page .section-heading { margin-bottom: 28px; }
  .home-page .feature-grid { grid-template-columns: 1fr; gap: 12px; }
  .home-page .feature-card { min-height: 0; padding: 25px; }
  .home-page .card-index { margin-bottom: 26px; }
  .home-page .sticky-heading { position: static; }
  .home-page .eyebrow { margin-bottom: 15px; }
  .home-page .contact-band { gap: 20px; }
  .home-page .site-footer { padding: 30px 20px; }
  .home-page .footer-brand { flex-direction: column; gap: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .home-page *, .home-page *::before, .home-page *::after { transition: none !important; }
}

/* Homepage-only wallpaper; shared tool/admin pages keep their own surfaces. */
.home-page.homepage-wallpaper{position:relative;isolation:isolate;background:#08090a}
.home-page.homepage-wallpaper::before{content:'';display:block;position:fixed;inset:0;z-index:-1;pointer-events:none;background-color:#08090a;background-image:linear-gradient(90deg,#08090af0 0%,#08090ac4 40%,#08090a66 100%),linear-gradient(0deg,#08090ac4,#08090a33),url('/static/assets/mutsumi-wallpaper.webp?v=20261026');background-size:cover;background-repeat:no-repeat;background-position:center,center,right center;mask-image:none}
.homepage-wallpaper .site-header{background:#08090adb}
.home-page.homepage-wallpaper .hero-tagline,.home-page.homepage-wallpaper .hero-copy{color:#b0b5bf}
.home-page.homepage-wallpaper .feature-card{background:linear-gradient(135deg,#151719ed,#101113e0);backdrop-filter:blur(10px);border-color:#ffffff12}
.home-page.homepage-wallpaper .feature-card:hover{background:#151719f2;border-color:#ffffff24}
.homepage-wallpaper .intro-band,.homepage-wallpaper .split,.homepage-wallpaper .blog-section,.homepage-wallpaper .contact-band{position:relative;isolation:isolate;background:none;border-radius:10px;--surface-outset:clamp(12px,calc((100vw - 1100px)/2 - 20px),40px)}
.homepage-wallpaper .intro-band::before,.homepage-wallpaper .split::before,.homepage-wallpaper .blog-section::before,.homepage-wallpaper .contact-band::before{content:'';position:absolute;inset:0 calc(-1 * var(--surface-outset));z-index:-1;pointer-events:none;border-radius:10px;background:linear-gradient(90deg,#08090adb,#08090ab8)}
.homepage-wallpaper .product-stage{background:#101113f2}
.homepage-wallpaper .site-footer{background:#08090ae8}
@media(max-width:720px){.home-page.homepage-wallpaper::before{background-image:linear-gradient(90deg,#08090ae3,#08090ab3),linear-gradient(0deg,#08090ad9,#08090a66),url('/static/assets/mutsumi-wallpaper.webp?v=20261026');background-position:center,center,68% center}.home-page.homepage-wallpaper .feature-card{background:#111214ed;backdrop-filter:none}.homepage-wallpaper .intro-band::before,.homepage-wallpaper .split::before,.homepage-wallpaper .blog-section::before,.homepage-wallpaper .contact-band::before{background:#08090adb}}
