:root {
  color-scheme: dark;
  --background: #0B1120;
  --surface: #142238;
  --accent: #2563EB;
  --accent-light: #38BDF8;
  --text: #F1F5F9;
  --muted: #B6C4D8;
  --border: #30435D;
  --radius: 20px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans", "Yu Gothic UI", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.85;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--background); color: var(--text); }
a { color: inherit; text-underline-offset: .28em; }
a:hover { color: var(--accent-light); }
button { font: inherit; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--accent-light); outline-offset: 5px; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.45; letter-spacing: .015em; overflow-wrap: anywhere; }
h1 { font-size: clamp(2rem, 4.2vw, 3.6rem); margin-bottom: 24px; }
h2 { font-size: clamp(1.5rem, 2.6vw, 2.2rem); margin-bottom: 24px; }
h3 { font-size: 1.17rem; margin-bottom: 12px; }
p { margin-bottom: 20px; }
section[id], h2[id] { scroll-margin-top: 24px; }
.container { width: min(1200px, calc(100% - 64px)); margin-inline: auto; }
.skip-link { position: absolute; top: -100px; left: 16px; background: var(--text); color: var(--background); padding: 12px 20px; z-index: 20; border-radius: 8px; }
.skip-link:focus { top: 12px; color: var(--background); }
.site-header { border-bottom: 1px solid var(--border); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 96px; gap: 32px; }
.brand { display: inline-flex; align-items: baseline; gap: 7px; font-size: 1.65rem; font-weight: 800; letter-spacing: .04em; text-decoration: none; flex-shrink: 0; }
.brand span { color: var(--accent-light); font-size: 1.05rem; letter-spacing: .01em; font-weight: 500; }
.site-nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.site-nav a { padding-block: 12px; font-size: .875rem; text-decoration: none; }
.site-nav a[aria-current] { color: var(--accent-light); text-decoration: underline; }
.menu-toggle { min-height: 44px; padding: 7px 14px; border: 1px solid var(--border); border-radius: 10px; color: var(--text); background: var(--surface); cursor: pointer; }
.hero { display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: 48px; padding-block: 96px 100px; }
.hero h1 { font-size: clamp(2.2rem, 4vw, 3.6rem); line-height: 1.5; letter-spacing: -.02em; }
.hero-copy { position: relative; z-index: 1; }
.eyebrow { font-size: .8rem; letter-spacing: .12em; color: var(--accent-light); font-weight: 650; margin-bottom: 20px; }
.lead { color: var(--muted); font-size: 1.08rem; max-width: 650px; }
.hero .lead { margin-bottom: 32px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 22px; min-height: 48px; padding: 12px 24px; border-radius: 12px; font-weight: 650; text-decoration: none; border: 1px solid transparent; line-height: 1.7; }
.button-primary { color: #fff; background: var(--accent); }
.button-primary:hover { color: #fff; background: #1D4ED8; }
.button-secondary { background: var(--surface); border-color: var(--border); }
.hero-art { position: relative; min-height: 380px; display: grid; place-items: center; overflow: hidden; border-radius: 32px; background: radial-gradient(ellipse at center, #16345F 0, var(--background) 68%); }
.orbit { position: absolute; width: 310px; height: 310px; border: 1px solid #2563EB; border-radius: 50%; transform: rotate(-25deg) scaleY(.55); }
.orbit-two { transform: rotate(40deg) scaleY(.65); border-color: #38BDF8; opacity: .55; }
.art-center { z-index: 1; font-size: 3.2rem; font-weight: 800; letter-spacing: .08em; line-height: 1.4; text-align: center; }
.art-center span { display: block; font-size: 1rem; font-weight: 500; color: var(--accent-light); letter-spacing: .35em; }
.art-caption { position: absolute; bottom: 22px; color: var(--muted); font-size: .8rem; letter-spacing: .1em; }
.section { padding-block: 64px; }
.section-first { padding-top: 16px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.section-heading h2 { margin-bottom: 0; }
.section-heading .eyebrow { margin-bottom: 10px; }
.text-link { display: inline-flex; align-items: center; gap: 8px; padding-block: 10px; font-weight: 600; font-size: .93rem; color: var(--accent-light); }
.app-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.app-card { display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); padding: 30px; }
.app-card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 28px; }
.app-card img { width: 88px; height: 88px; border-radius: 21px; }
.badge { display: inline-block; color: var(--muted); font-size: .72rem; font-weight: 600; border: 1px solid var(--border); padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.badge-blue { color: var(--accent-light); border-color: #306A9D; background: #102D49; }
.app-card p { color: var(--muted); font-size: .94rem; }
.app-card .text-link { margin-top: auto; }
.app-placeholder { display: grid; place-content: center; width: 88px; height: 88px; border-radius: 21px; background: #123368; border: 1px solid #306A9D; color: #BFE8FF; line-height: 1.5; font-weight: 650; text-align: center; }
.about-band { background: var(--surface); border-block: 1px solid var(--border); padding-block: 64px; margin-block: 40px 24px; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-grid h2 { margin-bottom: 0; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.small-heading { font-size: 1.15rem; }
.page-intro { padding-top: 64px; padding-bottom: 32px; }
.breadcrumbs { padding-top: 24px; font-size: .8rem; color: var(--muted); overflow-wrap: anywhere; }
.breadcrumbs a { display: inline-block; padding-block: 8px; }
.notice { border: 1px solid #306A9D; border-left: 3px solid var(--accent-light); border-radius: 12px; padding: 18px 22px; color: #D2E6F9; background: #102039; font-size: .9rem; }
.intro-text { max-width: 800px; font-size: 1.08rem; margin-top: 32px; }
.empty-state { border: 1px dashed var(--border); border-radius: var(--radius); padding: 50px 24px; background: var(--surface); text-align: center; }
.empty-state p { color: var(--muted); margin-bottom: 0; }
.empty-mark { display: inline-grid; place-items: center; width: 48px; height: 48px; border: 1px solid var(--border); border-radius: 12px; color: var(--accent-light); font-size: 1.8rem; margin-bottom: 16px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-bottom: 24px; }
.feature-card { padding: 26px; border: 1px solid var(--border); border-radius: var(--radius); }
.feature-number { display: block; color: var(--accent-light); font-size: .82rem; margin-bottom: 22px; }
.feature-card p { font-size: .94rem; color: var(--muted); margin-bottom: 0; }
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; padding: 0; counter-reset: step; margin-block: 40px 16px; }
.steps li { counter-increment: step; }
.steps li::before { content: "0" counter(step); color: var(--accent-light); display: block; font-size: 1.4rem; margin-bottom: 20px; }
.steps p { color: var(--muted); }
.table-wrap { overflow-x: auto; border-radius: 16px; border: 1px solid var(--border); margin-block: 24px; }
table { width: 100%; border-collapse: collapse; font-size: .94rem; }
caption { text-align: left; padding: 16px 20px; font-size: .85rem; color: var(--muted); background: var(--surface); }
th, td { text-align: left; padding: 20px; border-bottom: 1px solid var(--border); border-right: 1px solid var(--border); vertical-align: top; }
thead { background: var(--surface); }
tr:last-child th, tr:last-child td { border-bottom: 0; }
tr > :last-child { border-right: 0; background: #112847; }
.faq-list { border-top: 1px solid var(--border); margin-bottom: 28px; }
details { border-bottom: 1px solid var(--border); }
summary { cursor: pointer; min-height: 64px; padding: 22px 12px 22px 6px; font-size: 1rem; font-weight: 600; }
summary::marker { color: var(--accent-light); }
details[open] summary { color: var(--accent-light); }
.faq-answer { padding: 0 24px 20px; max-width: 900px; color: var(--muted); }
.faq-answer p { margin-bottom: 0; }
.category-nav { display: flex; flex-wrap: wrap; gap: 10px; padding-block: 16px; }
.category-nav a { padding: 10px 18px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); font-size: .9rem; text-decoration: none; }
.faq-section { padding-block: 36px; }
.support-panel { display: flex; justify-content: space-between; align-items: center; gap: 32px; background: var(--surface); border-radius: var(--radius); border: 1px solid var(--border); padding: 36px; }
.support-panel h2 { font-size: 1.4rem; margin-bottom: 10px; }
.support-panel p { color: var(--muted); margin-bottom: 0; }
.related-links { display: flex; flex-wrap: wrap; gap: 12px 28px; padding-block: 20px; }
.related-links a { color: var(--accent-light); padding-block: 8px; }
.support-list { display: grid; gap: 24px; }
.content-panel { padding: 32px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.content-panel .badge { margin-bottom: 18px; }
.content-panel h2 { font-size: 1.5rem; }
.content-panel p:last-child { margin-bottom: 0; }
.prose { max-width: 860px; display: grid; gap: 24px; }
.site-footer { border-top: 1px solid var(--border); padding-block: 48px 24px; margin-top: 48px; }
.footer-top { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 32px; }
.footer-top p { color: var(--muted); font-size: .85rem; margin: 0; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.footer-nav a { color: var(--muted); font-size: .85rem; padding-block: 12px; }
.copyright { margin: 32px 0 0; font-size: .75rem; color: var(--muted); }
.mobile-break { display: none; }
@media (max-width: 960px) {
  .header-inner { flex-wrap: wrap; gap: 0 20px; padding-block: 16px; min-height: 80px; }
  .menu-toggle { margin-left: auto; }
  .site-nav { width: 100%; display: grid; gap: 0; margin-top: 16px; padding-top: 8px; border-top: 1px solid var(--border); }
  .site-nav a { display: block; padding: 12px 8px; }
  .hero { grid-template-columns: 1fr; gap: 12px; padding-block: 56px 40px; }
  .hero-art { min-height: 270px; }
  .orbit { width: 240px; height: 240px; }
  .art-center { font-size: 2.7rem; }
  .art-caption { bottom: 4px; }
  .app-grid, .feature-grid, .steps, .about-grid { grid-template-columns: 1fr; }
  .about-grid { gap: 28px; }
  .app-card { padding: 26px; }
  .app-card-top { margin-bottom: 22px; }
  .section { padding-block: 40px; }
  .section-first { padding-top: 12px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 12px; }
  .steps { gap: 20px; }
  .support-panel, .footer-top { flex-direction: column; align-items: flex-start; }
  .support-panel { padding: 26px; }
}
@media (max-width: 520px) {
  .container { width: calc(100% - 36px); }
  .hero h1 { font-size: clamp(1.8rem, 6.5vw, 2.2rem); }
  .hero-art { min-height: 230px; }
  .page-intro { padding-top: 36px; }
  .content-panel { padding: 24px; }
  .mobile-break { display: initial; }
  th, td { padding: 12px 10px; font-size: .8rem; overflow-wrap: anywhere; }
  .footer-nav { flex-direction: column; gap: 0; }
  .footer-nav a { display: inline-flex; align-items: center; min-height: 44px; }
  .notice { padding: 16px; }
}
@media (prefers-reduced-motion: no-preference) {
  .button, a { transition: background-color .15s ease, color .15s ease; }
}

/* User-confirmed myth Studio logo; original file is kept unchanged. */
.brand { align-items: center; }
.brand-logo { width: 44px; height: 44px; border-radius: 50%; }
.art-center img { width: 240px; height: 240px; border-radius: 50%; }
@media (max-width: 960px) {
  .art-center img { width: 180px; height: 180px; }
}
@media (max-width: 520px) {
  .brand { font-size: 1.3rem; gap: 5px; }
  .brand span { font-size: .9rem; }
  .brand-logo { width: 32px; height: 32px; }
  .art-center img { width: 160px; height: 160px; }
}
.hero .lead { max-width: 28em; }

.detail-app-icon { width: 96px; height: 96px; border-radius: 22px; margin-bottom: 24px; }

/* Support and document pages share the Phase 1 design tokens. */
.document-layout { max-width: 860px; display: grid; gap: 28px; }
.document-layout h3 { margin-top: 28px; }
.document-date { font-size: .85rem; color: var(--muted); }
.document-toc { padding: 24px 28px; border: 1px solid var(--border); border-radius: var(--radius); }
.document-toc h2 { font-size: 1rem; margin-bottom: 8px; }
.document-toc ul { margin: 0; padding-left: 24px; }
.document-toc a { display: inline-block; padding-block: 8px; color: var(--accent-light); }
.document-layout li { margin-block: 8px; }
.document-layout a { overflow-wrap: anywhere; }
.support-app-list { display: grid; gap: 28px; }
.support-app { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 20px; }
.support-app img { border-radius: 16px; }
.support-app h3 { margin-top: 0; }
.support-app p { margin-bottom: 8px; }
.support-app a { display: inline-block; padding-block: 8px; color: var(--accent-light); }
@media (max-width: 520px) {
  .document-toc { padding: 20px; }
  .support-app { grid-template-columns: 1fr; gap: 16px; }
}
