:root {
  --bg: #FFFFFF;
  --bg-soft: #FAFAF9;
  --bg-alt: #F5F5F4;
  --text: #1C1917;
  --text-body: #292524;
  --text-muted: #78716C;
  --text-subtle: #A8A29E;
  --accent: #1C1917;
  --accent-link: #0A0A0A;
  --border: #E7E5E4;
  --border-soft: #F0EEEC;
  --code-bg: #F5F5F4;
  --serif: "Crimson Pro", Georgia, serif;
  --sans: "Inter", "Noto Sans JP", -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --jp: "Noto Sans JP", sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--sans);
  font-weight: 400;
  color: var(--text-body);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: var(--accent-link); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; transition: opacity 0.15s; }
a:hover { opacity: 0.55; }

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
}
@media (min-width: 768px) { .container { padding: 0 40px; } }
@media (min-width: 1024px) { .container { padding: 0 64px; } }

header {
  padding: 24px 0;
  border-bottom: 1px solid var(--border-soft);
  position: sticky;
  top: 0;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 100;
}
.header-inner { display: flex; justify-content: space-between; align-items: center; }
.logo {
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text);
  text-decoration: none;
}
.logo:hover { opacity: 1; }
.logo .network { color: var(--text-muted); font-weight: 400; }
nav ul { display: flex; gap: 28px; list-style: none; }
nav a {
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
  letter-spacing: 0.01em;
}
nav a:hover { color: var(--text); opacity: 1; }
@media (max-width: 767px) {
  nav ul { gap: 16px; }
  nav a { font-size: 12px; }
}

.hero {
  padding: 120px 0 96px;
  border-bottom: 1px solid var(--border-soft);
}
@media (max-width: 767px) { .hero { padding: 72px 0 56px; } }
.hero-label {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 28px;
  letter-spacing: 0.02em;
}
.hero h1 {
  font-family: var(--sans);
  font-size: 48px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 32px;
  max-width: 760px;
}
@media (max-width: 767px) { .hero h1 { font-size: 30px; } }
.hero-lead {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-body);
  max-width: 640px;
  margin-bottom: 12px;
}
.hero-lead-en {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 640px;
  font-style: italic;
}

section.doc { padding: 80px 0; border-bottom: 1px solid var(--border-soft); }
@media (max-width: 767px) { section.doc { padding: 56px 0; } }
section.doc:last-of-type { border-bottom: none; }

.section-number {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-subtle);
  margin-bottom: 16px;
  letter-spacing: 0.04em;
}
.section-title {
  font-family: var(--sans);
  font-size: 28px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.section-title-en {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 40px;
  font-style: italic;
}
@media (max-width: 767px) {
  .section-title { font-size: 22px; }
  .section-title-en { margin-bottom: 28px; }
}

.prose { max-width: 720px; }
.prose p { font-size: 15px; line-height: 1.85; color: var(--text-body); margin-bottom: 20px; }
.prose .en-para { font-size: 13px; line-height: 1.8; color: var(--text-muted); margin-bottom: 24px; font-style: italic; }
.prose ul, .prose ol { margin: 16px 0 24px 0; padding-left: 20px; }
.prose li { font-size: 15px; line-height: 1.85; margin-bottom: 6px; color: var(--text-body); }
.prose strong { font-weight: 600; color: var(--text); }

.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 0;
  border: 1px solid var(--border);
  margin-top: 16px;
  max-width: 720px;
}
.tech-item {
  padding: 20px 20px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.tech-item:last-child { border-right: none; }
.tech-item .name {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--text);
  margin-bottom: 4px;
}
.tech-item .desc {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.5;
}

.capability-list { max-width: 720px; margin-top: 16px; }
.capability-item {
  padding: 24px 0;
  border-bottom: 1px solid var(--border-soft);
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 24px;
}
.capability-item:first-child { padding-top: 0; }
.capability-item:last-child { border-bottom: none; }
.capability-item .num {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-subtle);
}
.capability-item .title {
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 4px;
}
.capability-item .desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
}

.workflow { max-width: 720px; margin-top: 16px; }
.workflow-step {
  padding: 16px 0;
  border-bottom: 1px solid var(--border-soft);
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 20px;
  align-items: baseline;
}
.workflow-step:last-child { border-bottom: none; }
.workflow-step .step-num {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--text-subtle);
}
.workflow-step .step-text {
  font-size: 15px;
  color: var(--text);
}
.workflow-step .step-text .en {
  font-size: 12px;
  color: var(--text-muted);
  margin-left: 8px;
  font-style: italic;
}
.workflow-principles {
  margin-top: 32px;
  padding: 24px;
  background: var(--bg-soft);
  border-left: 2px solid var(--text);
  max-width: 720px;
}
.workflow-principles p {
  font-size: 14px;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.7;
}
.workflow-principles p:last-child { margin-bottom: 0; }
.workflow-principles p:before {
  content: "→ ";
  color: var(--text-subtle);
  font-family: var(--mono);
}

.roles-list { max-width: 720px; margin-top: 16px; border: 1px solid var(--border); }
.role-item {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
}
.role-item:last-child { border-bottom: none; }
.role-item .role-name {
  font-size: 15px;
  color: var(--text);
  font-weight: 500;
}
.role-item .role-name-en {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-muted);
}

.people-profile { max-width: 720px; margin-top: 16px; }
.people-profile li {
  padding: 16px 0;
  border-bottom: 1px solid var(--border-soft);
  font-size: 14px;
  color: var(--text-body);
  list-style: none;
  line-height: 1.7;
}
.people-profile li:last-child { border-bottom: none; }
.people-profile li:before {
  content: "— ";
  color: var(--text-subtle);
  font-family: var(--mono);
  margin-right: 4px;
}

.contact-box {
  max-width: 720px;
  margin-top: 24px;
  padding: 32px;
  border: 1px solid var(--border);
  background: var(--bg-soft);
}
.contact-box h3 {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 16px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.contact-primary {
  font-size: 16px;
  margin-bottom: 16px;
}
.contact-primary a {
  font-weight: 500;
}
.contact-secondary {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
}
.contact-checklist {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.contact-checklist .label {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.contact-checklist ul {
  list-style: none;
}
.contact-checklist li {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--text);
  margin-bottom: 6px;
}
.contact-checklist li:before {
  content: "$ ";
  color: var(--text-subtle);
}

footer {
  padding: 48px 0 32px;
  border-top: 1px solid var(--border);
  background: var(--bg-soft);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 32px;
}
@media (min-width: 768px) { .footer-inner { grid-template-columns: 2fr 1fr 1fr; } }
.footer-brand .logo-block {
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 12px;
}
.footer-brand .logo-block .network { color: var(--text-muted); font-weight: 400; }
.footer-brand p {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.7;
}
.footer-col h4 {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-subtle);
  margin-bottom: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a {
  font-size: 13px;
  color: var(--text-body);
  text-decoration: none;
}
.footer-col a:hover { text-decoration: underline; }
.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-subtle);
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 16px 24px;
  z-index: 1000;
  display: none;
}
.cookie-banner.visible { display: block; }
.cookie-banner-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.cookie-banner-text {
  font-size: 12px;
  color: var(--text-body);
  line-height: 1.6;
  flex: 1;
  min-width: 260px;
}
.cookie-banner-text a { text-decoration: underline; }
.cookie-banner-actions { display: flex; gap: 8px; }
.cookie-btn {
  padding: 8px 16px;
  font-size: 12px;
  font-family: var(--sans);
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  cursor: pointer;
  transition: all 0.15s;
}
.cookie-btn:hover { background: var(--bg-alt); }
.cookie-btn.primary {
  background: var(--text);
  color: var(--bg);
  border-color: var(--text);
}

.policies-page { padding: 80px 0; }
.policies-page .prose h2 {
  font-family: var(--sans);
  font-size: 20px;
  font-weight: 500;
  color: var(--text);
  margin-top: 48px;
  margin-bottom: 8px;
}
.policies-page .prose h2 .en {
  display: block;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 400;
  color: var(--text-muted);
  margin-top: 2px;
}
.policies-page .prose h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-top: 24px;
  margin-bottom: 8px;
}
.policies-page .prose .meta {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-subtle);
  margin-bottom: 48px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.policies-page .prose .signature {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--text-muted);
  text-align: right;
  font-family: var(--mono);
  line-height: 1.9;
}

.labs-list { max-width: 720px; margin-top: 16px; }
.lab-item {
  padding: 28px 0;
  border-bottom: 1px solid var(--border-soft);
}
.lab-item:first-child { padding-top: 0; }
.lab-item:last-child { border-bottom: none; }
.lab-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 12px;
  flex-wrap: wrap;
  gap: 12px;
}
.lab-name {
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 500;
  color: var(--text);
}
.lab-name .code {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-subtle);
  margin-left: 8px;
  letter-spacing: 0.04em;
}
.lab-status {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.lab-status.active { color: #2D5F3F; }
.lab-status.planning { color: var(--text-subtle); }
.lab-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 4px;
}
.lab-desc.jp { color: var(--text-body); font-size: 14px; }

.principles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0;
  border: 1px solid var(--border);
  margin-top: 16px;
  max-width: 720px;
}
.principle-item {
  padding: 24px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.principle-item .tag {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--text-subtle);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.principle-item .name {
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 6px;
}
.principle-item .desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.6;
}

.role-flow {
  max-width: 720px;
  margin-top: 20px;
  padding: 24px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  font-family: var(--mono);
  font-size: 12px;
  line-height: 2.0;
  color: var(--text);
  overflow-x: auto;
}
.role-flow .arrow { color: var(--text-subtle); }
.role-flow .role { color: var(--text); font-weight: 500; }
.role-flow .comment { color: var(--text-muted); }

.engineer-benefits {
  max-width: 720px;
  margin-top: 16px;
}
.benefit-group {
  margin-bottom: 40px;
}
.benefit-group:last-child { margin-bottom: 0; }
.benefit-group-title {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-subtle);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.benefit-list { list-style: none; }
.benefit-list li {
  padding: 12px 0;
  font-size: 14px;
  color: var(--text);
  line-height: 1.7;
  border-bottom: 1px dashed var(--border-soft);
  display: flex;
  gap: 16px;
  align-items: baseline;
}
.benefit-list li:last-child { border-bottom: none; }
.benefit-list li:before {
  content: "✓";
  color: var(--text);
  font-family: var(--mono);
  font-weight: 600;
  flex-shrink: 0;
}
.benefit-list li .en {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
  font-style: italic;
}

.corporate-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  max-width: 720px;
  margin-top: 16px;
  border: 1px solid var(--border);
}
.corporate-item {
  padding: 24px;
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 24px;
  align-items: baseline;
}
.corporate-item:last-child { border-bottom: none; }
@media (max-width: 767px) {
  .corporate-item { grid-template-columns: 1fr; gap: 8px; }
}
.corporate-label {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-subtle);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.corporate-value {
  font-size: 14px;
  color: var(--text);
  line-height: 1.7;
}
.corporate-value .en {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
  font-style: italic;
}
.corporate-value strong {
  font-weight: 600;
}

.apply-flow {
  max-width: 720px;
  margin-top: 16px;
  padding: 28px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  font-family: var(--mono);
  font-size: 13px;
  line-height: 2.0;
  color: var(--text);
  overflow-x: auto;
}
.apply-flow .step-n {
  color: var(--text-subtle);
  display: inline-block;
  width: 32px;
}
.apply-flow .action {
  color: var(--text);
}
.apply-flow .comment {
  color: var(--text-muted);
}
.apply-flow .arrow {
  color: var(--text-subtle);
}

.code-block {
  max-width: 720px;
  margin-top: 20px;
  padding: 24px;
  background: #0A0A0A;
  color: #F0EEE9;
  border-radius: 2px;
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.8;
  overflow-x: auto;
}
.code-block .comment { color: #78716C; }
.code-block .key { color: #94A3B8; }
.code-block .value { color: #F0EEE9; }
.code-block .string { color: #86EFAC; }

.stat-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0;
  max-width: 720px;
  margin-top: 16px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stat-item {
  padding: 24px 20px;
  border-right: 1px solid var(--border);
  text-align: center;
}
.stat-item:last-child { border-right: none; }
.stat-value {
  font-family: var(--sans);
  font-size: 28px;
  font-weight: 500;
  color: var(--text);
  line-height: 1;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}
.stat-label {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
@media (max-width: 767px) {
  .stat-item { border-right: none; border-bottom: 1px solid var(--border); }
  .stat-item:last-child { border-bottom: none; }
}

.engineer-benefits {
  max-width: 720px;
  margin-top: 16px;
}
.benefit-group {
  margin-bottom: 40px;
}
.benefit-group:last-child { margin-bottom: 0; }
.benefit-group-title {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-subtle);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.benefit-list { list-style: none; }
.benefit-list li {
  padding: 12px 0;
  font-size: 14px;
  color: var(--text);
  line-height: 1.7;
  border-bottom: 1px dashed var(--border-soft);
  display: flex;
  gap: 16px;
  align-items: baseline;
}
.benefit-list li:last-child { border-bottom: none; }
.benefit-list li:before {
  content: "✓";
  color: var(--text);
  font-family: var(--mono);
  font-weight: 600;
  flex-shrink: 0;
}
.benefit-list li .en {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
  font-style: italic;
}

.corporate-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  max-width: 720px;
  margin-top: 16px;
  border: 1px solid var(--border);
}
.corporate-item {
  padding: 24px;
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 24px;
  align-items: baseline;
}
.corporate-item:last-child { border-bottom: none; }
@media (max-width: 767px) {
  .corporate-item { grid-template-columns: 1fr; gap: 8px; }
}
.corporate-label {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-subtle);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.corporate-value {
  font-size: 14px;
  color: var(--text);
  line-height: 1.7;
}
.corporate-value .en {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
  font-style: italic;
}
.corporate-value strong {
  font-weight: 600;
}

.apply-flow {
  max-width: 720px;
  margin-top: 16px;
  padding: 28px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  font-family: var(--mono);
  font-size: 13px;
  line-height: 2.0;
  color: var(--text);
  overflow-x: auto;
}
.apply-flow .step-n {
  color: var(--text-subtle);
  display: inline-block;
  width: 32px;
}
.apply-flow .action {
  color: var(--text);
}
.apply-flow .comment {
  color: var(--text-muted);
}
.apply-flow .arrow {
  color: var(--text-subtle);
}

.code-block {
  max-width: 720px;
  margin-top: 20px;
  padding: 24px;
  background: #0A0A0A;
  color: #F0EEE9;
  border-radius: 2px;
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.8;
  overflow-x: auto;
}
.code-block .comment { color: #78716C; }
.code-block .key { color: #94A3B8; }
.code-block .value { color: #F0EEE9; }
.code-block .string { color: #86EFAC; }

.stat-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0;
  max-width: 720px;
  margin-top: 16px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stat-item {
  padding: 24px 20px;
  border-right: 1px solid var(--border);
  text-align: center;
}
.stat-item:last-child { border-right: none; }
.stat-value {
  font-family: var(--sans);
  font-size: 28px;
  font-weight: 500;
  color: var(--text);
  line-height: 1;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}
.stat-label {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
@media (max-width: 767px) {
  .stat-item { border-right: none; border-bottom: 1px solid var(--border); }
  .stat-item:last-child { border-bottom: none; }
}

/* Mobile-First Refinements (Override) */
@media (max-width: 767px) {
  html { font-size: 15px; }
  body { line-height: 1.75; }
  
  .container { padding: 0 20px; }
  
  header { padding: 16px 0; }
  .header-inner { flex-wrap: wrap; gap: 12px; }
  .logo { font-size: 14px; }
  nav ul { gap: 14px; flex-wrap: wrap; }
  nav a { font-size: 11px; letter-spacing: 0; }
  
  .hero { padding: 56px 0 48px; }
  .hero-label { font-size: 10px; margin-bottom: 20px; }
  .hero h1 { font-size: 26px; letter-spacing: -0.015em; margin-bottom: 24px; line-height: 1.3; }
  .hero-lead { font-size: 15px; line-height: 1.75; }
  .hero-lead-en { font-size: 13px; }
  
  section.doc { padding: 44px 0; }
  .section-number { font-size: 10px; margin-bottom: 12px; }
  .section-title { font-size: 20px; margin-bottom: 6px; letter-spacing: 0; }
  .section-title-en { font-size: 12px; margin-bottom: 24px; }
  
  .prose p { font-size: 14px; line-height: 1.85; }
  .prose .en-para { font-size: 12px; line-height: 1.85; }
  .prose ul, .prose ol { padding-left: 16px; }
  .prose li { font-size: 14px; }
  
  .tech-grid { grid-template-columns: repeat(2, 1fr); }
  .tech-item { padding: 14px 12px; }
  .tech-item .name { font-size: 12px; }
  .tech-item .desc { font-size: 10px; line-height: 1.4; }
  
  .capability-list { margin-top: 12px; }
  .capability-item {
    grid-template-columns: 36px 1fr;
    gap: 12px;
    padding: 18px 0;
  }
  .capability-item .num { font-size: 11px; }
  .capability-item .title { font-size: 14px; }
  .capability-item .desc { font-size: 12px; line-height: 1.6; }
  
  .workflow-step {
    grid-template-columns: 28px 1fr;
    gap: 12px;
    padding: 12px 0;
  }
  .workflow-step .step-text { font-size: 14px; }
  .workflow-step .step-text .en { display: block; margin-left: 0; margin-top: 4px; }
  
  .workflow-principles { padding: 18px 16px; margin-top: 24px; }
  .workflow-principles p { font-size: 13px; line-height: 1.7; margin-bottom: 10px; }
  
  .principles-grid { grid-template-columns: 1fr; }
  .principle-item { padding: 20px 18px; border-right: none; }
  .principle-item:last-child { border-bottom: none; }
  
  .role-flow, .apply-flow {
    padding: 18px 14px;
    font-size: 11px;
    line-height: 1.9;
  }
  .code-block { padding: 18px 14px; font-size: 11px; line-height: 1.7; }
  
  .labs-list { margin-top: 12px; }
  .lab-item { padding: 22px 0; }
  .lab-header { flex-direction: column; align-items: flex-start; gap: 4px; margin-bottom: 10px; }
  .lab-name { font-size: 15px; }
  .lab-name .code { display: block; margin-left: 0; margin-top: 2px; }
  .lab-status { font-size: 10px; }
  .lab-desc { font-size: 12px; }
  .lab-desc.jp { font-size: 13px; }
  
  .benefit-group { margin-bottom: 28px; }
  .benefit-group-title { font-size: 10px; margin-bottom: 12px; }
  .benefit-list li { font-size: 13px; padding: 10px 0; gap: 10px; }
  .benefit-list li .en { font-size: 11px; }
  
  .roles-list { margin-top: 12px; }
  .role-item {
    padding: 14px 16px;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  .role-item .role-name { font-size: 14px; }
  .role-item .role-name-en { font-size: 11px; }
  
  .people-profile li { font-size: 13px; padding: 12px 0; line-height: 1.65; }
  .people-profile li em { display: block; margin-top: 4px; font-size: 11px; }
  
  .contact-box { padding: 20px 18px; }
  .contact-box h3 { font-size: 10px; margin-bottom: 12px; }
  .contact-primary { font-size: 14px; margin-bottom: 12px; }
  .contact-secondary { font-size: 12px; }
  .contact-checklist { margin-top: 18px; padding-top: 18px; }
  .contact-checklist .label { font-size: 10px; }
  .contact-checklist li { font-size: 12px; }
  
  .corporate-item { padding: 18px 16px; }
  .corporate-label { font-size: 10px; margin-bottom: 2px; }
  .corporate-value { font-size: 13px; }
  .corporate-value .en { font-size: 11px; }
  
  .stat-row { grid-template-columns: repeat(2, 1fr); }
  .stat-item { padding: 18px 12px; border-bottom: 1px solid var(--border); }
  .stat-item:nth-child(odd) { border-right: 1px solid var(--border); }
  .stat-item:nth-child(3), .stat-item:nth-child(4) { border-bottom: none; }
  .stat-value { font-size: 22px; }
  .stat-label { font-size: 9px; }
  
  footer { padding: 40px 0 24px; }
  .footer-inner { gap: 28px; margin-bottom: 24px; }
  .footer-brand .logo-block { font-size: 13px; }
  .footer-brand p { font-size: 11px; }
  .footer-col h4 { font-size: 10px; margin-bottom: 10px; }
  .footer-col a { font-size: 12px; }
  .footer-bottom { font-size: 10px; padding-top: 18px; flex-direction: column; gap: 6px; }
  
  .cookie-banner { padding: 14px 18px; }
  .cookie-banner-inner { flex-direction: column; align-items: stretch; gap: 14px; }
  .cookie-banner-text { font-size: 11px; min-width: 0; }
  .cookie-banner-actions { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .cookie-btn { padding: 10px; font-size: 12px; width: 100%; }
  
  .policies-page .prose h2 { font-size: 17px; margin-top: 36px; }
  .policies-page .prose h2 .en { font-size: 11px; }
  .policies-page .prose h3 { font-size: 13px; margin-top: 20px; }
  .policies-page .prose .meta { font-size: 10px; margin-bottom: 32px; padding-bottom: 16px; }
  .policies-page .prose .signature { font-size: 11px; margin-top: 36px; padding-top: 18px; }
}

/* Tap target safety — avoid tiny click areas */
@media (max-width: 767px) {
  nav a, .footer-col a, .contact-box a {
    display: inline-block;
    padding: 6px 0;
    min-height: 32px;
  }
  .role-item { min-height: 48px; }
  .cookie-btn { min-height: 44px; }
}

/* Avoid horizontal overflow anywhere */
body { overflow-x: hidden; }
.role-flow, .apply-flow, .code-block { max-width: 100%; }

/*
 *  ╔══════════════════════════════════════╗
 *  ║  UPHASH NETWORK                      ║
 *  ║  A distributed engineering collective║
 *  ║                                      ║
 *  ║  If you're reading this, you're the  ║
 *  ║  kind of person we want to hire.     ║
 *  ║  hello@uphash.network                ║
 *  ╚══════════════════════════════════════╝
 */

/* Image placeholders */
.hero-image {
  max-width: 1080px;
  margin: 64px auto 0;
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--border-soft);
}
@media (max-width: 767px) { .hero-image { margin-top: 40px; } }

.lab-image {
  width: 100%;
  max-width: 300px;
  height: auto;
  margin-bottom: 16px;
  border: 1px solid var(--border);
}

.lab-item-with-image {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 32px;
  align-items: start;
  padding: 28px 0;
  border-bottom: 1px solid var(--border-soft);
}
.lab-item-with-image:first-child { padding-top: 0; }
.lab-item-with-image:last-child { border-bottom: none; }
.lab-item-with-image .lab-image { max-width: 240px; margin-bottom: 0; }
@media (max-width: 767px) {
  .lab-item-with-image { grid-template-columns: 1fr; gap: 16px; }
  .lab-item-with-image .lab-image { max-width: 100%; }
}

.capability-item-with-icon {
  display: grid;
  grid-template-columns: 48px 48px 1fr;
  gap: 16px;
  align-items: start;
  padding: 20px 0;
  border-bottom: 1px solid var(--border-soft);
}
.capability-item-with-icon:first-child { padding-top: 0; }
.capability-item-with-icon:last-child { border-bottom: none; }
.capability-item-with-icon .theme-icon {
  width: 48px;
  height: 48px;
  border: 1px solid var(--border);
}
@media (max-width: 767px) {
  .capability-item-with-icon {
    grid-template-columns: 36px 1fr;
    gap: 12px;
  }
  .capability-item-with-icon .theme-icon { grid-row: 1 / 3; width: 36px; height: 36px; }
  .capability-item-with-icon .num { display: none; }
}

.contact-with-image {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 32px;
  align-items: start;
  margin-top: 16px;
}
.contact-with-image .contact-image {
  width: 200px;
  height: auto;
  border: 1px solid var(--border);
}
.contact-with-image .contact-box { margin-top: 0; }
@media (max-width: 767px) {
  .contact-with-image { grid-template-columns: 1fr; gap: 20px; }
  .contact-with-image .contact-image { max-width: 140px; margin: 0 auto; }
}

/* :target highlight — URLハッシュで指定されたセクションを強調 */
section.doc:target {
  background: var(--bg-soft);
  transition: background 0.3s ease;
}
section.doc:target .section-number::before {
  content: "▸ ";
  color: var(--accent-link);
  animation: blink 1.5s infinite;
}
@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0.3; }
}

/* Section number hover — クリックできる印と古代記号フリップ */
.section-number {
  cursor: pointer;
  user-select: none;
  transition: color 0.15s;
  display: inline-block;
  position: relative;
}
.section-number:hover {
  color: var(--accent-link);
}
.section-number::after {
  content: " #";
  opacity: 0;
  transition: opacity 0.15s;
  color: var(--text-subtle);
}
.section-number:hover::after { opacity: 1; }
.section-number.copied::after {
  content: " ✓ copied";
  opacity: 1;
  color: #2D5F3F;
}

/* Cursor customizations */
code, pre, .code-block, .role-flow, .apply-flow, .tech-item .name {
  cursor: text;
}
.logo, .section-number, nav a, .footer-col a {
  cursor: pointer;
}

/* Konami mode — 隠しモード */
body.konami {
  transition: all 0.6s ease;
}
body.konami .hero h1 {
  background: linear-gradient(90deg, #1C1917, #78716C, #1C1917);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shift 3s linear infinite;
}
body.konami .section-number::before { content: "◆ "; color: var(--accent-link); }
body.konami .logo .network::after { content: " [unlocked]"; color: var(--accent-link); font-size: 10px; }
@keyframes shift {
  0% { background-position: 0% 0; }
  100% { background-position: 200% 0; }
}



/* Build hash in footer */
.build-hash {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--text-subtle);
  margin-top: 8px;
  letter-spacing: 0.02em;
  user-select: all;
}

/* Anchor ping effect when copied */
@keyframes ping {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.08); opacity: 0; }
}

/* Humans.txt easter egg marker */
.meta-marker {
  display: none;
}
