:root {
  color-scheme: light;
  --bg: #fbfbf8;
  --surface: #fff;
  --muted: #f2f3ee;
  --text: #031a1b;
  --heading: #040d10;
  --mute: #575f5f;
  --border: #040d1029;
  --border-strong: #040d1052;
  --primary: #040d10;
  --primary-fg: #f1f7f7;
  --primary-hover: #253635;
  --lime: #d8ff00;
  --lime-fg: #040d10;
  --lime-soft: #f0f4dc;
  --container: 72rem;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --header-h: 4.75rem;
  --font-sans: Inter, -apple-system, BlinkMacSystemFont, "PingFang HK", "Noto Sans CJK TC", "Microsoft JhengHei", sans-serif;
  --font-serif: "Instrument Serif", Georgia, serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
}
[data-theme="dark"] {
  color-scheme: dark;
  --bg: #071011;
  --surface: #0e1819;
  --muted: #122022;
  --text: #e8eeed;
  --heading: #f4f7f6;
  --mute: #a1adac;
  --border: #f1f7f726;
  --border-strong: #f1f7f74d;
  --primary: #f1f7f7;
  --primary-fg: #040d10;
  --primary-hover: #dbe6e6;
  --lime-soft: #263322;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1.5rem); }
body { margin: 0; font-family: var(--font-sans); font-size: 1rem; line-height: 1.75; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
::selection { color: #040d10; background: #d8ff00; }
a { color: inherit; text-underline-offset: 0.25em; }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea, [tabindex] { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #738800; outline-offset: 5px; }
[data-theme="dark"] :focus-visible { outline-color: var(--lime); }
button { cursor: pointer; }
svg { display: block; }
[hidden] { display: none !important; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { color: var(--heading); }
.wrap { width: min(100% - var(--gutter) * 2, var(--container)); margin-inline: auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip { position: fixed; top: -6rem; left: 1rem; z-index: 100; background: var(--lime); color: #040d10; padding: 0.6rem 1rem; }
.skip:focus { top: 1rem; }
.mono { font-family: var(--font-mono); font-size: 0.65rem; }
.eyebrow { font-size: 0.8rem; font-weight: 500; color: var(--mute); margin-bottom: 1.25rem; }
.status-dot { width: 0.45rem; height: 0.45rem; display: inline-block; border-radius: 50%; background: var(--lime); }
.status-dot { margin-right: 0.4rem; box-shadow: 0 0 0 4px var(--lime-soft); vertical-align: middle; }
.site-header { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid var(--border); background: color-mix(in srgb, var(--bg) 94%, transparent); backdrop-filter: blur(16px); }
.header-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: var(--header-h); }
.wordmark { display: inline-flex; align-items: center; flex-shrink: 0; width: 13.5rem; min-height: 2.75rem; color: var(--heading); text-decoration: none; }
.wordmark svg { width: 100%; height: auto; overflow: visible; }
.compile-mark { display: block; width: 2.4rem; height: auto; flex-shrink: 0; }
.brand-eyebrow { display: flex; align-items: center; gap: 0.7rem; }
.brand-eyebrow .compile-mark { width: 1.65rem; }
.about-compile { display: flex; justify-content: center; margin-bottom: 1.25rem; }
.about-compile .compile-mark { width: 3.2rem; }
.footer-brand .wordmark { width: min(15rem, 100%); }
.nav-center { display: flex; align-items: center; gap: 2rem; }
.nav-center a { text-decoration: none; font-size: 0.85rem; color: var(--mute); }
.nav-center a:hover { color: var(--heading); }
.header-actions { display: flex; align-items: center; gap: 0.75rem; }
.icon-btn { display: grid; place-items: center; width: 2.65rem; height: 2.65rem; border: 1px solid var(--border); border-radius: 50%; background: var(--surface); color: var(--heading); flex-shrink: 0; }
.icon-btn svg { width: 1.1rem; height: 1.1rem; }
.nav-toggle { display: none; }
.btn { display: inline-flex; justify-content: center; align-items: center; gap: 0.85rem; padding: 0.6rem 1.15rem; min-height: 2.65rem; border: 1px solid transparent; border-radius: 100px; font-size: 0.85rem; font-weight: 500; line-height: 1.4; text-decoration: none; }
.btn-primary { background: var(--primary); color: var(--primary-fg); }
.btn-primary:hover { background: var(--primary-hover); }
.btn-xl { min-height: 3.2rem; padding: 0.8rem 1.5rem; font-size: 0.95rem; }
.text-link { display: inline-flex; align-items: center; gap: 1.25rem; color: var(--heading); text-decoration: none; font-size: 0.9rem; font-weight: 500; padding: 0.35rem 0; border-bottom: 1px solid var(--border-strong); }
.text-link:hover { border-color: var(--heading); }
.hero { overflow: hidden; padding-top: clamp(3.5rem, 7vw, 6rem); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 2.5rem; }
.hero h1 { font-size: clamp(2rem, 3.75vw, 3.2rem); font-weight: 500; letter-spacing: -0.045em; line-height: 1.45; margin-bottom: 0.8rem; }
.hero-en { font-family: var(--font-serif); font-style: italic; font-size: 1.8rem; color: var(--mute); margin-bottom: 1.6rem; letter-spacing: -0.015em; }
.lede { color: var(--mute); font-size: 0.95rem; line-height: 1.9; max-width: 31rem; margin-bottom: 0; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 1.75rem; margin-top: 2rem; }
.hero-cta .text-link { font-size: 0.8rem; }
.commerce-visual { position: relative; padding: 1rem 0 1rem 1rem; min-width: 0; }
.visual-label { display: flex; justify-content: space-between; gap: 1rem; font-size: 0.7rem; color: var(--mute); margin-bottom: 1rem; }
.store-window { position: relative; border: 1px solid var(--border-strong); border-radius: 10px; overflow: hidden; background: #fff; color: #263633; box-shadow: 0 18px 60px #0417140d; transform: rotate(-2deg); }
.window-bar { display: flex; justify-content: space-between; align-items: center; gap: 0.5rem; border-bottom: 1px solid #d7dfd9; padding: 0.65rem 0.8rem; background: #f3f5ef; font-size: 0.58rem; }
.window-dots { display: flex; gap: 4px; }
.window-dots i { width: 5px; height: 5px; border-radius: 50%; background: #aeb9b2; }
.store-nav { display: flex; align-items: center; justify-content: space-between; padding: 1.1rem 1.25rem; border-bottom: 1px solid #d7dfd9; }
.store-nav strong { font-size: 0.95rem; letter-spacing: 0.15em; }
.store-nav span { font-size: 0.58rem; }
.store-nav svg { width: 1rem; height: 1rem; }
.store-scene { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; min-height: 17rem; background: #e5eadd; padding-left: 1.5rem; overflow: hidden; }
.store-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.store-headline { position: relative; z-index: 2; }
.store-headline small { font-size: 0.6rem; display: block; margin-bottom: 1rem; }
.store-headline strong { font-weight: 500; font-size: 1.5rem; letter-spacing: 0.02em; line-height: 1.6; display: block; }
.store-shop { display: inline-flex; align-items: center; gap: 1.5rem; margin-top: 1.4rem; padding-bottom: 0.3rem; border-bottom: 1px solid #698272; font-size: 0.65rem; }
.store-bottom { display: flex; justify-content: space-between; padding: 1rem 1.25rem; font-size: 0.58rem; }
.flow-slip { display: flex; align-items: center; gap: 0.8rem; position: relative; width: 90%; margin: -0.15rem 0 0 auto; padding: 1.1rem; background: var(--lime); color: #040d10; border: 1px solid #9db728; border-radius: 8px; box-shadow: 0 10px 24px #031a1b0d; transform: rotate(2deg); }
.flow-check { display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: #040d10; color: var(--lime); flex-shrink: 0; }
.flow-slip strong { display: block; font-size: 0.82rem; font-weight: 600; }
.flow-slip small { font-size: 0.58rem; display: block; margin-top: 0.2rem; }
.flow-slip small span { margin-inline: 0.4rem; }
.flow-arrow { margin-left: auto; font-size: 1.5rem; }
.visual-caption { font-size: 0.6rem; text-align: right; margin: 1rem 0 0; color: var(--mute); }
.credibility { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); margin-top: 4rem; padding-block: 1.4rem; }
.credibility p { display: flex; align-items: center; gap: 1rem; margin: 0; font-size: 0.73rem; color: var(--mute); }
.credibility strong { font-size: 1.05rem; color: var(--heading); font-weight: 500; white-space: nowrap; }
.credibility .credibility-note { justify-content: flex-end; }
.section { padding: 5rem 0; }
.section-head { margin-bottom: 2.25rem; }
.section-head h2 { font-size: clamp(1.8rem, 3vw, 2.55rem); font-weight: 500; letter-spacing: -0.045em; line-height: 1.5; margin-bottom: 0; }
.split-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; }
.split-head > p { color: var(--mute); font-size: 0.9rem; max-width: 30rem; margin-bottom: 0.4rem; line-height: 1.9; }
.split-head .eyebrow { margin-bottom: 0.65rem; }
.pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.15rem; }
.card { position: relative; padding: 1.8rem; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; }
.card-symbol { position: absolute; top: 1.4rem; right: 1.6rem; font-size: 1.75rem; color: var(--mute); }
.card .label { font-size: 0.75rem; color: var(--mute); margin-bottom: 2rem; }
.card h3 { font-size: 1.3rem; font-weight: 500; line-height: 1.6; letter-spacing: -0.025em; margin-bottom: 1rem; }
.card > p:not(.label) { font-size: 0.85rem; color: var(--mute); margin-bottom: 1.6rem; }
.card a { display: flex; justify-content: space-between; align-items: center; gap: 0.5rem; font-size: 0.8rem; text-decoration: none; border-top: 1px solid var(--border); padding-top: 1rem; }
.card a:hover { text-decoration: underline; }
.services-section { background: var(--muted); border-block: 1px solid var(--border); }
.service-frame { background: var(--surface); border: 1px solid var(--border-strong); border-radius: 8px; overflow: hidden; }
.service-tabs { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--border); }
.service-tabs button { min-width: 0; padding: 1.1rem 0.65rem; border: 0; border-right: 1px solid var(--border); background: transparent; color: var(--mute); font-size: 0.85rem; }
.service-tabs button:last-child { border-right: 0; }
.service-tabs button[aria-selected="true"] { background: var(--lime); color: #040d10; }
.service-tabs button:focus-visible { outline-offset: -5px; outline-color: #738800; }
.service-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; padding: 3rem; min-height: 31rem; align-items: center; }
.service-panel:focus-visible { outline-offset: -5px; }
.service-kicker { font-family: var(--font-serif); font-style: italic; color: var(--mute); font-size: 1.2rem; margin-bottom: 0.65rem; }
.service-copy h3 { font-size: 1.8rem; line-height: 1.5; font-weight: 500; letter-spacing: -0.035em; margin-bottom: 1rem; }
.service-copy > p:not(.service-kicker) { font-size: 0.86rem; color: var(--mute); }
.check-list { list-style: none; padding: 0; margin: 1.5rem 0; }
.check-list li { position: relative; font-size: 0.8rem; padding-left: 1.25rem; margin-bottom: 0.55rem; }
.check-list li::before { content: '✓'; position: absolute; left: 0; color: var(--mute); }
.service-copy .text-link { font-size: 0.8rem; }
.service-demo { padding: 1.4rem; border: 1px solid var(--border); border-radius: 8px; background: var(--bg); min-width: 0; }
.demo-title { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem; font-size: 0.75rem; padding-bottom: 1rem; border-bottom: 1px solid var(--border); }
.demo-title .mono { color: var(--mute); font-size: 0.55rem; }
.page-map { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.6rem; padding: 2rem 0; }
.page-map > div { border: 1px solid var(--border); background: var(--surface); padding: 0.7rem; border-radius: 5px; }
.page-map span { display: block; font-size: 0.6rem; color: var(--mute); }
.page-map strong { display: block; font-size: 0.64rem; font-weight: 500; margin: 0.3rem 0 1.5rem; min-height: 2.4em; }
.page-map i { display: block; height: 5rem; position: relative; background: var(--muted); border: 1px solid var(--border); }
.wire-hero::after { content: ''; position: absolute; inset: 55% 12% 15%; background: var(--lime-soft); border: 1px solid var(--border); }
.wire-product { background: linear-gradient(90deg, var(--lime-soft) 46%, transparent 46%) !important; }
.wire-product::after { content: ''; position: absolute; right: 7%; top: 20%; width: 35%; height: 45%; border-block: 2px solid var(--border-strong); }
.wire-cart::after { content: ''; position: absolute; inset: 20% 12%; border-block: 5px solid var(--border-strong); }
.demo-foot { border-top: 1px solid var(--border); padding-top: 1rem; color: var(--mute); text-align: center; font-size: 0.66rem; margin: 0; }
.demo-foot span { margin-inline: 0.3rem; }
.journey-list { counter-reset: journey; list-style: none; padding: 0; margin: 0.7rem 0; }
.journey-list li { counter-increment: journey; display: grid; grid-template-columns: 1.3rem 5rem 1fr; align-items: center; gap: 0.6rem; padding: 0.85rem 0; border-bottom: 1px solid var(--border); }
.journey-list li:last-child { border-bottom: 0; }
.journey-list li::before { content: counter(journey, decimal-leading-zero); font-family: var(--font-mono); font-size: 0.65rem; color: var(--mute); }
.journey-list span { font-size: 0.75rem; }
.journey-list strong { font-size: 0.7rem; font-weight: 400; color: var(--mute); }
.mail-stack { display: grid; gap: 0.7rem; padding-top: 1rem; }
.mail-stack > div { border: 1px solid var(--border); padding: 0.8rem 1rem; background: var(--surface); border-radius: 6px; }
.mail-stack span { display: block; font-size: 0.6rem; color: var(--mute); }
.mail-stack strong { display: block; font-size: 0.85rem; font-weight: 500; margin: 0.2rem 0; }
.mail-stack small { display: block; font-size: 0.65rem; color: var(--mute); }
.system-map { padding: 2rem 0; text-align: center; }
.system-core { width: 8rem; padding: 0.8rem; margin: 0 auto 2.5rem; background: var(--lime); color: #040d10; border-radius: 8px; font-family: var(--font-mono); font-size: 1.2rem; position: relative; }
.system-core span { display: block; font-size: 0.65rem; font-family: var(--font-sans); }
.system-core::after { content: ''; position: absolute; width: 1px; height: 1.25rem; background: var(--border-strong); left: 50%; top: 100%; }
.system-branches { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; position: relative; }
.system-branches::before { content: ''; position: absolute; top: -1.25rem; left: 16%; right: 16%; border-top: 1px solid var(--border-strong); }
.system-branches > div { position: relative; border: 1px solid var(--border); padding: 0.8rem 0.25rem; background: var(--surface); font-size: 0.85rem; border-radius: 5px; }
.system-branches > div::before { content: ''; position: absolute; width: 1px; height: 1.25rem; background: var(--border-strong); left: 50%; bottom: 100%; }
.system-branches small { display: block; color: var(--mute); font-size: 0.6rem; }
.case-study { display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; border: 1px solid var(--border); border-radius: 12px; }
.case-art { position: relative; background: #dce1d5; color: #263633; min-height: 31rem; overflow: hidden; }
.case-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hamamoto-art { background: #e8e1d5; }
.hamamoto-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, #f6f1e680, transparent 25%, transparent 65%, #f6f1e6ed); pointer-events: none; }
.hamamoto-art .case-art-label, .hamamoto-art .case-art-bottom { z-index: 1; }
.case-art-label { position: absolute; top: 2rem; left: 2rem; font-size: 0.7rem; letter-spacing: 0.15em; }
.case-seal { position: absolute; right: 2rem; top: 2rem; z-index: 2; border: 1px solid #7c593d; color: #79523c; padding: 0.5rem 0.7rem; line-height: 1.35; font-size: 1rem; letter-spacing: 0.1em; }
.case-art-bottom { position: absolute; bottom: 2rem; left: 2rem; right: 2rem; display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; }
.case-art-bottom span { font-size: 0.95rem; line-height: 1.8; }
.case-art-bottom small { font-size: 0.55rem; }
.case-copy { padding: 2.5rem; background: var(--surface); }
.case-copy .eyebrow { margin-bottom: 0.75rem; }
.case-copy h3 { font-size: 1.6rem; font-weight: 500; line-height: 1.55; letter-spacing: -0.025em; }
.case-copy > p:not(.eyebrow) { color: var(--mute); font-size: 0.85rem; }
.case-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.3rem; }
.case-tags span { font-size: 0.6rem; padding: 0.2rem 0.6rem; border: 1px solid var(--border); border-radius: 100px; }
blockquote { margin: 1.7rem 0; padding-left: 1rem; border-left: 3px solid var(--lime); font-size: 0.95rem; }
blockquote cite { display: block; font-size: 0.65rem; font-style: normal; color: var(--mute); margin-top: 0.65rem; }
.process-section { border-block: 1px solid var(--border); }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; list-style: none; margin: 3rem 0 0; padding: 0; }
.process-grid li { border-top: 1px solid var(--border-strong); padding-top: 1rem; }
.step-number { font-family: var(--font-mono); font-size: 0.75rem; color: var(--mute); }
.process-grid h3 { font-size: 1rem; font-weight: 500; margin: 1.25rem 0 0.75rem; }
.process-grid p { color: var(--mute); font-size: 0.8rem; margin-bottom: 1.5rem; }
.process-grid small { display: inline-block; padding: 0.2rem 0.55rem; background: var(--lime-soft); color: var(--text); border-radius: 4px; font-size: 0.65rem; }
.about-invitation { padding: clamp(2.5rem, 5vw, 4rem) 1.5rem; border-radius: 16px; background: var(--lime); color: #040d10; text-align: center; }
.about-cta-eyebrow { margin: 0 0 1.25rem; color: #3c4900; font-size: 0.8rem; }
.about-invitation h2 { margin: 0; color: #040d10; font-size: clamp(2rem, 4.5vw, 3.5rem); font-weight: 500; letter-spacing: -0.045em; line-height: 1.45; }
.about-cta-copy { margin: 1.25rem auto 1.75rem; color: #283200; font-size: 0.95rem; line-height: 1.9; max-width: 32rem; }
.about-cta-button { gap: 1.75rem; min-height: 3.5rem; padding-inline: 1.75rem; background: #040d10; color: #f1f7f7; }
.about-cta-button:hover { background: #253635; }
.about-invitation .about-cta-button:focus-visible { outline: 3px solid #040d10; outline-offset: 5px; }
.faq-section { padding-top: 2rem; }
.faq-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 4rem; }
.faq-list { border-top: 1px solid var(--border-strong); }
.faq-list details { border-bottom: 1px solid var(--border); }
.faq-list summary { position: relative; list-style: none; padding: 1.25rem 2rem 1.25rem 0; cursor: pointer; font-size: 0.9rem; font-weight: 500; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; position: absolute; right: 0.2rem; top: 1.15rem; color: var(--mute); font-family: var(--font-mono); font-size: 1.1rem; }
.faq-list details[open] summary::after { content: '−'; }
.faq-list details p { color: var(--mute); font-size: 0.85rem; padding-right: 1.5rem; margin-bottom: 1.5rem; }
.contact-section { padding-top: 1rem; }
.seller-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; padding: 3.5rem; border: 1px solid #314442; border-radius: 12px; background: #040d10; color: #f1f7f7; }
.seller-badge { display: inline-flex; background: var(--lime); color: #040d10; border-radius: 4px; padding: 0.25rem 0.65rem; font-size: 0.75rem; margin-bottom: 1.5rem; }
.seller-copy h2 { color: #f1f7f7; font-size: clamp(1.8rem, 3vw, 2.55rem); font-weight: 500; letter-spacing: -0.04em; line-height: 1.5; margin-bottom: 1.5rem; }
.seller-copy > p:not(.seller-badge) { color: #a1adac; font-size: 0.85rem; line-height: 1.9; }
.contact-direct { display: flex; justify-content: space-between; align-items: center; font-size: 0.9rem; border-bottom: 1px solid #f1f7f74d; text-decoration: none; margin-top: 2rem; padding-bottom: 0.75rem; max-width: 22rem; }
.contact-email { display: inline-block; margin-top: 0.7rem; font-size: 0.85rem; text-decoration: none; }
.seller-copy .contact-signature { margin: 3rem 0 0; }
.seller-card { background: #fff; color: #040d10; border-radius: 8px; color-scheme: light; }
.seller-form { display: grid; padding: 2rem; }
.seller-form h3 { color: #040d10; font-size: 1.1rem; font-weight: 500; margin-bottom: 0.35rem; }
.form-intro { color: #575f5f; font-size: 0.75rem; margin-bottom: 1.1rem; }
.seller-form label { font-size: 0.75rem; color: #394340; margin: 0.75rem 0 0.35rem; }
.seller-form input, .seller-form select, .seller-form textarea { width: 100%; min-width: 0; min-height: 2.8rem; padding: 0.65rem 0.8rem; font-size: 0.85rem; border: 1px solid #040d103d; border-radius: 6px; background: #fff; color: #040d10; }
.seller-form input::placeholder, .seller-form textarea::placeholder { color: #747b78; }
.seller-form textarea { min-height: 5.5rem; resize: vertical; }
.seller-submit { width: 100%; margin-top: 1.5rem; background: #040d10; color: #f1f7f7; }
.seller-submit:hover { background: #253635; }
.seller-form .form-note { color: #575f5f; font-size: 0.65rem; line-height: 1.7; margin: 0.85rem 0 0; }
.site-footer { padding: 0.5rem 0 1.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2rem; padding-bottom: 3rem; }
.footer-brand p { font-size: 0.8rem; color: var(--mute); line-height: 1.8; margin: 1rem 0 0; }
.footer-grid h2 { font-size: 0.75rem; font-weight: 500; color: var(--mute); margin: 0.5rem 0 1rem; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 0.5rem; font-size: 0.8rem; }
.footer-grid li a { text-decoration: none; }
.footer-grid li a:hover { text-decoration: underline; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; border-top: 1px solid var(--border); padding-top: 1.5rem; color: var(--mute); font-size: 0.6rem; }
@media (max-width: 1050px) {
  .nav-center { gap: 1rem; }
  .hero-grid { gap: 1.5rem; }
  .hero h1 { font-size: 2.6rem; }
  .hero-en { font-size: 1.5rem; }
  .desktop-break { display: none; }
  .store-headline strong { font-size: 1.25rem; }
  .service-panel { padding: 2rem; gap: 1.5rem; }
  .seller-grid { padding: 2.5rem; gap: 2.5rem; }
  .case-copy { padding: 2rem; }
  .credibility p { flex-wrap: wrap; gap: 0.25rem 0.75rem; }
}
@media (max-width: 800px) {
  :root { --header-h: 4.25rem; }
  .header-inner { gap: 0.7rem; }
  .wordmark { width: clamp(9rem, 26vw, 12rem); }
  .header-actions { gap: 0.5rem; }
  .header-contact { font-size: 0.7rem; padding-inline: 0.85rem; gap: 0.5rem; }
  .nav-center { display: none; }
  .nav-toggle { display: grid; }
  .nav-center.open { display: flex; position: absolute; left: calc(-1 * var(--gutter)); right: calc(-1 * var(--gutter)); top: var(--header-h); background: var(--bg); padding: 1.5rem var(--gutter); border-bottom: 1px solid var(--border); flex-direction: column; align-items: stretch; gap: 1.2rem; }
  .hero { padding-top: 3rem; }
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-copy { max-width: 35rem; }
  .hero h1 { font-size: clamp(2rem, 6vw, 3rem); }
  .hero-en { font-size: 1.75rem; }
  .commerce-visual { width: min(100%, 32rem); justify-self: center; padding-left: 0; }
  .store-headline strong { font-size: 1.55rem; }
  .credibility { margin-top: 2.5rem; }
  .credibility p { display: block; }
  .credibility span { display: block; font-size: 0.7rem; }
  .credibility .credibility-note { text-align: right; }
  .section { padding-block: 3.5rem; }
  .split-head { display: block; }
  .split-head > p { margin-top: 1.2rem; }
  .pain-grid { grid-template-columns: 1fr; }
  .card { padding: 1.5rem; }
  .card .label { margin-bottom: 1rem; }
  .card h3 br { display: none; }
  .card h3 { font-size: 1.15rem; }
  .card > p:not(.label) { margin-bottom: 1.2rem; }
  .service-tabs { grid-template-columns: repeat(2, 1fr); }
  .service-tabs button { border-bottom: 1px solid var(--border); font-size: 0.8rem; }
  .service-tabs button:nth-child(2) { border-right: 0; }
  .service-tabs button:nth-child(n+3) { border-bottom: 0; }
  .service-panel { grid-template-columns: 1fr; padding: 1.5rem; gap: 2rem; }
  .service-copy h3 { font-size: 1.65rem; }
  .service-demo { padding: 1.25rem; }
  .case-study { grid-template-columns: 1fr; }
  .case-art { min-height: 27rem; }
  .case-copy { padding: 1.75rem; }
  .process-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
  .faq-grid { grid-template-columns: 1fr; gap: 2rem; }
  .faq-grid .section-head { margin-bottom: 0; }
  .seller-grid { grid-template-columns: 1fr; padding: 2rem; gap: 2rem; }
  .seller-copy .contact-signature { display: none; }
  .seller-copy h2 { font-size: 2rem; }
  .seller-form { padding: 1.5rem; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); row-gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; }
}
@media (max-width: 420px) {
  .header-contact { display: none; }
  .hero h1 { font-size: clamp(1.7rem, 7.6vw, 2rem); }
  .hero-en { font-size: 1.5rem; }
  .hero-cta { gap: 1.25rem; }
  .hero-cta .text-link { font-size: 0.75rem; }
  .hero-cta .btn-xl { padding-inline: 1rem; font-size: 0.85rem; }
  .visual-label .mono { display: none; }
  .store-scene { min-height: 14rem; padding-left: 1rem; }
  .store-headline strong { font-size: 1.2rem; }
  .store-headline small { font-size: 0.55rem; }
  .store-nav { padding: 0.85rem 1rem; }
  .store-nav span { font-size: 0.5rem; }
  .flow-slip { width: 95%; padding: 0.85rem; gap: 0.5rem; }
  .flow-slip strong { font-size: 0.68rem; }
  .flow-slip small { font-size: 0.52rem; }
  .flow-slip small span { margin-inline: 0.15rem; }
  .flow-arrow { display: none; }
  .service-panel { padding: 1.25rem; }
  .page-map { gap: 0.35rem; }
  .page-map > div { padding: 0.5rem; }
  .page-map strong { font-size: 0.58rem; }
  .demo-foot { font-size: 0.6rem; }
  .demo-foot span { margin-inline: 0.1rem; }
  .journey-list li { grid-template-columns: 1rem 4rem 1fr; gap: 0.4rem; }
  .journey-list strong { font-size: 0.63rem; }
  .system-branches { gap: 0.4rem; }
  .case-art { min-height: 24rem; }
  .case-art-label { left: 1.5rem; font-size: 0.6rem; }
  .case-seal { right: 1.5rem; }
  .case-art-bottom { left: 1.5rem; right: 1.5rem; }
  .case-art-bottom span { font-size: 0.75rem; }
  .process-grid { column-gap: 1.25rem; }
  .process-grid h3 { font-size: 0.95rem; }
  .seller-grid { padding: 1.25rem; }
  .seller-copy h2 { font-size: 1.75rem; }
  .seller-form { padding: 1.2rem; }
  .seller-form input, .seller-form select, .seller-form textarea { font-size: 1rem; }
  .footer-grid { gap: 2rem 1.25rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* Case studies and in-page reading experience. */
.case-study + .case-study { margin-top: 2rem; }
.case-trigger { background: transparent; border: 0; border-bottom: 1px solid var(--border-strong); border-radius: 0; text-align: left; }
.case-study-hdex .case-art { order: 2; }
.case-study-hdex .case-copy { order: 1; }
.case-copy .case-editorial { margin: 2rem 0; border-left: 3px solid var(--lime); padding-left: 1rem; color: var(--heading); font-size: 1rem; }
.hdex-art { background: #171d22; color: #f5f5f0; isolation: isolate; }
.hdex-track { position: absolute; inset: 0; overflow: hidden; z-index: -1; }
.hdex-track i { position: absolute; width: 30rem; height: 15rem; top: 35%; left: 3%; border: 1px solid #ed6c5d70; border-radius: 50%; transform: rotate(-32deg); }
.hdex-track i:nth-child(2) { width: 35rem; height: 20rem; top: 27%; left: -5%; }
.hdex-track i:nth-child(3) { width: 40rem; height: 25rem; top: 19%; left: -13%; }
.hdex-wordmark { position: absolute; top: 34%; left: 0; width: 100%; text-align: center; }
.hdex-logo { display: block; width: min(62%, 20rem); height: auto; margin-inline: auto; filter: brightness(0) invert(1); }
.hdex-wordmark span { display: block; font-size: 0.6rem; font-weight: 400; font-style: normal; letter-spacing: 0.06em; margin-top: 1rem; }
.hdex-art .case-art-label { color: #d5d9dd; }
.hdex-art .case-art-bottom small { color: #b9c3c9; }
html.case-modal-open, body.case-modal-open { overflow: hidden; overscroll-behavior: none; }
.case-dialog { width: min(56rem, calc(100% - 3rem)); max-width: none; max-height: calc(100dvh - 3rem); margin: auto; padding: 0; border: 1px solid var(--border-strong); border-radius: 16px; background: var(--bg); color: var(--text); overflow-y: auto; overscroll-behavior: contain; box-shadow: 0 24px 100px #0005; }
.case-dialog::backdrop { background: #020a0bd1; backdrop-filter: blur(6px); }
.case-dialog-bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; position: sticky; top: 0; z-index: 2; padding: 0.75rem 1.5rem; border-bottom: 1px solid var(--border); background: var(--bg); font-size: 0.75rem; }
.dialog-bar-divider { padding-inline: 0.75rem; color: var(--mute); }
.case-close { width: 2.75rem; height: 2.75rem; }
.case-story { padding: 2.75rem 3rem 2.5rem; }
.story-heading .eyebrow { margin-bottom: 0.75rem; }
.story-heading h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 500; line-height: 1.5; letter-spacing: -0.04em; margin: 0 0 1.25rem; }
.story-heading h2:focus { outline: none; }
.story-intro { color: var(--mute); font-size: 0.95rem; margin-bottom: 2rem; }
.story-meta { display: grid; grid-template-columns: 1fr 0.7fr 1.7fr; gap: 1.5rem; padding-block: 1.25rem; margin: 0 0 2rem; border-block: 1px solid var(--border); }
.story-meta dt { color: var(--mute); font-size: 0.65rem; margin-bottom: 0.35rem; }
.story-meta dd { margin: 0; font-size: 0.78rem; }
.story-banner { position: relative; height: 15rem; border-radius: 8px; overflow: hidden; margin-bottom: 2.5rem; }
.hamamoto-banner { background: #e8e1d5; color: #263633; }
.hamamoto-banner .case-photo { object-position: center 53%; }
.hamamoto-banner small { z-index: 1; padding: 0.35rem 0.6rem; border-radius: 3px; background: #f6f1e6ed; }
.story-banner small { position: absolute; bottom: 1.2rem; left: 2rem; font-family: var(--font-mono); font-size: 0.6rem; }
.story-section { display: grid; grid-template-columns: 7rem minmax(0, 1fr); gap: 1.5rem; padding: 2rem 0; border-bottom: 1px solid var(--border); }
.story-section-label { color: var(--mute); font-size: 0.72rem; padding-top: 0.35rem; }
.story-section h3 { font-size: 1.25rem; font-weight: 500; line-height: 1.7; margin-bottom: 1rem; }
.story-section p:not(.story-section-label) { font-size: 0.88rem; line-height: 1.95; color: var(--mute); margin-bottom: 1rem; }
.story-section p:last-child { margin-bottom: 0; }
.story-actions { display: grid; gap: 1.5rem; margin-top: 1.5rem; }
.story-actions > div { position: relative; padding-left: 2rem; }
.story-action-number { position: absolute; left: 0; top: 0.15rem; color: var(--mute); font-family: var(--font-mono); font-size: 0.65rem; }
.story-actions h4 { margin: 0 0 0.45rem; font-size: 0.95rem; font-weight: 500; }
.story-outcomes { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.5rem; }
.story-outcomes span { border: 1px solid var(--border); border-radius: 5px; padding: 0.45rem 0.65rem; font-size: 0.7rem; background: var(--lime-soft); }
.story-quote { margin: 2.5rem 0; padding: 0.75rem 0 0.75rem 1.5rem; font-size: 1.2rem; line-height: 1.9; }
.story-quote cite { font-size: 0.75rem; }
.story-footer { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding-top: 2rem; border-top: 1px solid var(--border); }
.story-footer h3 { font-weight: 500; font-size: 1rem; margin-bottom: 0.4rem; }
.story-footer p { font-size: 0.8rem; color: var(--mute); margin-bottom: 0; }
.story-footer .btn { flex-shrink: 0; }
.hdex-banner { display: grid; place-items: center; isolation: isolate; background: #171d22; color: #f5f5f0; }
.hdex-banner small { left: auto; text-align: center; }
.hdex-banner .hdex-track i { left: 15%; top: 7%; }
.hdex-banner .hdex-track i:nth-child(2) { left: 10%; top: -10%; }
.hdex-banner .hdex-track i:nth-child(3) { left: 5%; top: -25%; }
.story-brand-note { display: flex; justify-content: space-between; align-items: center; gap: 2rem; padding-block: 2.5rem; }
.story-brand-note > span { font-family: var(--font-serif); font-size: 2.25rem; font-style: italic; line-height: 1.15; }
.story-brand-note p { color: var(--mute); font-size: 0.9rem; margin: 0; }
@media (max-width: 800px) {
  .case-study-hdex .case-art, .case-study-hdex .case-copy { order: initial; }
  .case-story { padding: 2rem; }
  .story-section { grid-template-columns: 1fr; gap: 0.5rem; }
  .story-section-label { margin-bottom: 0.5rem; }
  .story-footer { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 540px) {
  .case-dialog { width: calc(100% - 1rem); max-height: calc(100dvh - 1rem); border-radius: 12px; }
  .case-dialog-bar { padding: 0.6rem 1rem; font-size: 0.65rem; }
  .case-story { padding: 1.5rem 1.25rem; }
  .story-heading h2 { font-size: 1.85rem; }
  .story-intro { font-size: 0.85rem; }
  .story-intro br { display: none; }
  .story-meta { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .story-meta > div:last-child { grid-column: 1 / -1; }
  .story-banner { height: 12rem; margin-bottom: 1rem; }
  .hamamoto-banner { padding: 1.25rem; }
  .story-banner small { left: 1.25rem; font-size: 0.5rem; }
  .story-section h3 { font-size: 1.1rem; }
  .story-actions > div { padding-left: 1.6rem; }
  .story-quote { font-size: 1rem; padding-left: 1rem; }
  .hdex-banner small { left: auto; }
  .story-brand-note { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .story-brand-note > span { font-size: 2rem; }
}

/* Company signature: three complementary capabilities, one shared direction. */
.three-to-one { padding-top: 1rem; padding-bottom: 4.5rem; }
.three-to-one > .wrap { border-top: 1px solid var(--border); padding-top: 3.5rem; }
.three-to-one-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.three-to-one-intro .eyebrow { font-size: 0.72rem; margin-bottom: 1.2rem; }
.three-to-one h2 { margin: 0; font-family: var(--font-serif); font-style: italic; font-size: clamp(3.4rem, 6vw, 5.5rem); font-weight: 400; line-height: 1.1; letter-spacing: -0.04em; }
.three-to-one-copy > p { font-size: 0.88rem; line-height: 1.95; color: var(--mute); margin-bottom: 0; }
.three-to-one-copy > p + p { margin-top: 1rem; }
.three-to-one-copy .three-to-one-lede { font-size: 1.1rem; color: var(--heading); margin-bottom: 1rem; }
.three-capabilities { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; margin-top: 3rem; }
.three-capabilities article { border-top: 1px solid var(--border-strong); padding-top: 1.4rem; }
.three-capabilities .capability-name { font-family: var(--font-mono); font-style: normal; font-size: 1.35rem; line-height: 1.2; margin-bottom: 0.5rem; color: var(--mute); }
.three-capabilities h3 { font-size: 1rem; font-weight: 500; margin-bottom: 0.8rem; }
.three-capabilities article > p:last-child { font-size: 0.82rem; line-height: 1.9; color: var(--mute); margin-bottom: 0; }
.three-to-one-closing { display: flex; align-items: center; gap: 1.1rem; margin-top: 2.5rem; padding: 1.2rem 1.5rem; border-radius: 8px; background: var(--lime-soft); }
.three-to-one-closing p { color: var(--heading); font-size: 0.85rem; margin: 0; }
.three-to-one-mobile-break { display: none; }
@media (max-width: 800px) {
  .three-to-one { padding-top: 0.5rem; padding-bottom: 3rem; }
  .three-to-one > .wrap { padding-top: 2.5rem; }
  .three-to-one-intro { grid-template-columns: 1fr; gap: 2rem; }
  .three-capabilities { gap: 1.5rem; margin-top: 2rem; }
}
@media (max-width: 540px) {
  .three-capabilities { grid-template-columns: 1fr; gap: 1.5rem; }
  .three-capabilities article { padding-top: 1rem; }
  .three-capabilities .capability-name { font-size: 1.2rem; }
  .three-to-one-closing { padding: 1rem; gap: 1rem; margin-top: 2rem; }
  .three-to-one-closing p { font-size: 0.75rem; }
    .three-to-one-mobile-break { display: block; }
}

@media (max-width: 540px) {
  .about-invitation { padding-inline: 1.25rem; border-radius: 12px; }
  .about-cta-copy { font-size: 0.85rem; }
  .about-cta-copy br { display: none; }
  .about-cta-button { width: 100%; max-width: 18rem; }
}

/* The Compile badge keeps its palette; wordmark paths inherit the theme. */
.three-to-one-closing > .compile-mark { width: 3.8rem; }
.three-to-one-closing .compile-signature { font-size: 1.05rem; margin: 0; }
.compile-signature [lang="en"] { font-family: var(--font-mono); font-weight: 500; }
@media (max-width: 540px) {
  .header-inner { gap: 0.5rem; }
  .site-header .wordmark { width: 9.5rem; }
  .header-contact { display: none; }
  .three-to-one-closing > .compile-mark { width: 2.7rem; }
  .three-to-one-closing .compile-signature { font-size: 0.87rem; }
}
