:root {
  --bg: #ffffff;
  --bg-soft: #f4f7fb;
  --text: #172033;
  --muted: #5e6b80;
  --line: #dce3ed;
  --navy: #0c2546;
  --navy-2: #133a67;
  --blue: #1767c7;
  --blue-soft: #eaf3ff;
  --white: #ffffff;
  --radius: 18px;
  --shadow: 0 18px 45px rgba(20, 45, 78, .08);
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Noto Sans JP", "Yu Gothic", "Hiragino Kaku Gothic ProN", sans-serif;
  color: var(--text);
  background: var(--bg);
  font-size: 17px;
  line-height: 1.85;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; }

.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.narrow { max-width: 900px; }
.section-space { padding: 108px 0; }
.soft { background: var(--bg-soft); }
.dark { background: var(--navy); color: var(--white); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 12px;
  background: var(--white);
  color: var(--text);
  padding: 10px 14px;
  z-index: 1000;
}
.skip-link:focus { left: 12px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.94);
  border-bottom: 1px solid rgba(220,227,237,.85);
  backdrop-filter: blur(12px);
}
.header-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: baseline; gap: 12px; min-width: max-content; }
.brand-main { font-weight: 900; letter-spacing: .04em; font-size: 1.55rem; color: var(--navy); }
.brand-sub { font-size: .76rem; color: var(--muted); letter-spacing: .03em; }
.global-nav { display: flex; align-items: center; gap: 24px; font-size: .94rem; font-weight: 700; }
.global-nav a { color: #2d3a4e; }
.global-nav a:hover { color: var(--blue); }
.nav-login { padding: 10px 15px; border: 1px solid var(--navy); border-radius: 999px; }
.menu-toggle { display: none; }

.hero { padding-top: 118px; padding-bottom: 118px; background: linear-gradient(180deg, #f7faff 0%, #ffffff 100%); }
.hero-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 72px; align-items: center; }
.eyebrow, .section-kicker { margin: 0 0 16px; font-size: .8rem; font-weight: 800; letter-spacing: .16em; color: var(--blue); text-transform: uppercase; }
.section-kicker.light { color: #9bc8ff; }
.hero h1 { font-size: clamp(2rem, 3vw, 2.25rem); line-height: 1.18; letter-spacing: -.025em; margin: 0 0 24px; color: var(--navy); }
.hero-lead { font-size: clamp(1.18rem, 2vw, 1.48rem); font-weight: 800; color: var(--blue); margin: 0 0 30px; }
.hero-text { max-width: 760px; font-size: 1.1rem; color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 22px; border-radius: 999px; font-weight: 800; border: 1px solid transparent; transition: .2s ease; }
.button:hover { transform: translateY(-1px); }
.primary { color: var(--white); background: var(--blue); }
.secondary { color: var(--navy); background: var(--white); border-color: #b8c7db; }
.ghost { color: var(--blue); background: transparent; border-color: #c8daf1; }
.light-button { background: var(--white); color: var(--navy); }
.dark-outline { border-color: rgba(255,255,255,.38); color: var(--white); }

.hero-panel { background: var(--white); border: 1px solid var(--line); border-radius: 24px; padding: 30px; box-shadow: var(--shadow); }
.panel-title { margin: 0 0 16px; font-size: .92rem; font-weight: 800; color: var(--muted); }
.flow-list { display: grid; gap: 8px; }
.flow-item { display: grid; grid-template-columns: 38px 1fr; gap: 1px 12px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.flow-item:last-child { border-bottom: 0; }
.flow-item span { grid-row: span 2; color: var(--blue); font-size: .8rem; font-weight: 800; }
.flow-item strong { color: var(--navy); font-size: 1rem; }
.flow-item small { color: var(--muted); font-size: .88rem; }

.intro h2, .section-heading h2, .nextwx h2, .join h2, .member-entry h2 { margin: 0; color: var(--navy); line-height: 1.28; letter-spacing: -.025em; font-size: clamp(2.1rem, 4vw, 3.5rem); }
.dark h2, .member-entry h2 { color: var(--white); }
.intro p:not(.section-kicker) { font-size: 1.08rem; color: var(--muted); }
.text-link { display: inline-block; margin-top: 16px; color: var(--blue); font-weight: 800; }

.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 36px; margin-bottom: 48px; }
.section-heading > p { max-width: 490px; margin: 0; color: var(--muted); font-size: 1.02rem; }
.card-grid.five { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.feature-card { padding: 30px 25px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); min-height: 320px; display: flex; flex-direction: column; }
.feature-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); transition: .2s ease; }
.feature-en { margin: 0; color: var(--blue); font-weight: 800; letter-spacing: .08em; }
.feature-card h3 { margin: 7px 0 18px; font-size: 1.68rem; color: var(--navy); }
.feature-card p:not(.feature-en) { color: var(--muted); font-size: .98rem; }
.feature-card a { margin-top: auto; color: var(--blue); font-weight: 800; }

.nextwx-grid { display: grid; grid-template-columns: 1fr .8fr; gap: 84px; align-items: center; }
.nextwx p:not(.section-kicker) { color: #d2dded; max-width: 650px; font-size: 1.02rem; }
.pipeline { display: grid; justify-items: center; gap: 7px; }
.pipeline div { width: min(100%, 360px); text-align: center; padding: 12px 18px; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.07); border-radius: 10px; font-weight: 800; }
.pipeline span { color: #93bdf2; }

.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.project-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; background: var(--white); }
.project-card.accent { background: var(--blue-soft); border-color: #cce1ff; }
.status { display: inline-block; font-size: .78rem; font-weight: 800; color: var(--blue); margin-bottom: 18px; }
.project-card h3 { margin: 0 0 14px; color: var(--navy); font-size: 1.52rem; }
.project-card p { color: var(--muted); font-size: .98rem; }
.project-card a { color: var(--blue); font-weight: 800; }

.output-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.output-card { min-height: 280px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); display: flex; flex-direction: column; transition: .2s ease; }
.output-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.output-badge { align-self: flex-start; display: inline-flex; align-items: center; justify-content: center; min-width: 54px; min-height: 28px; padding: 0 10px; border-radius: 999px; background: var(--blue-soft); color: var(--blue); font-size: .72rem; font-weight: 900; letter-spacing: .1em; }
.output-card h3 { margin: 20px 0 12px; color: var(--navy); font-size: 1.5rem; }
.output-card p { margin: 0; color: var(--muted); font-size: .96rem; }
.output-card strong { margin-top: auto; padding-top: 22px; color: var(--blue); font-size: .94rem; }

.join-box { border: 1px solid var(--line); border-radius: 28px; padding: 52px; display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; }
.join-box p:not(.section-kicker) { color: var(--muted); }
.join-actions { display: grid; gap: 12px; }

.member-entry-inner { display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.member-entry p:not(.section-kicker) { color: #cfdaea; }

.site-footer { padding: 72px 0 34px; border-top: 1px solid var(--line); background: #fbfcfe; }
.footer-grid { display: grid; grid-template-columns: .9fr 1.4fr; gap: 42px 70px; align-items: start; }
.footer-brand { margin: 0; font-size: 1.65rem; font-weight: 900; color: var(--navy); }
.footer-sub { margin: 2px 0 0; color: var(--muted); font-size: .82rem; }
.footer-note { margin: 18px 0 0; color: var(--navy); font-weight: 800; }
.footer-nav-groups { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.footer-nav-groups > div { display: grid; align-content: start; gap: 8px; }
.footer-heading { margin: 0 0 5px; color: var(--navy); font-size: .78rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.footer-nav-groups a { color: var(--muted); font-size: .92rem; }
.footer-nav-groups a:hover { color: var(--blue); }
.copyright { grid-column: 1 / -1; margin: 18px 0 0; padding-top: 24px; border-top: 1px solid var(--line); color: #7b8799; font-size: .8rem; }

@media (max-width: 1080px) {
  .card-grid.five { grid-template-columns: repeat(2, 1fr); }
  .feature-card:last-child { grid-column: span 2; }
  .global-nav { gap: 14px; font-size: .84rem; }
  .output-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
  body { font-size: 16px; }
  .section-space { padding: 78px 0; }
  .header-inner { min-height: 68px; }
  .brand-sub { display: none; }
  .menu-toggle { display: inline-flex; border: 1px solid var(--line); background: var(--white); border-radius: 999px; padding: 9px 14px; font-weight: 800; }
  .global-nav { display: none; position: absolute; top: 68px; left: 0; right: 0; background: var(--white); border-bottom: 1px solid var(--line); padding: 18px 20px 24px; flex-direction: column; align-items: stretch; }
  .global-nav.is-open { display: flex; }
  .nav-login { text-align: center; }
  .hero { padding-top: 82px; }
  .hero-grid, .nextwx-grid, .project-grid, .join-box { grid-template-columns: 1fr; }
  .hero-grid { gap: 42px; }
  .nextwx-grid { gap: 46px; }
  .section-heading { align-items: start; flex-direction: column; }
  .member-entry-inner { align-items: flex-start; flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .section-space { padding: 62px 0; }
  .hero h1 { font-size: clamp(2.7rem, 15vw, 4.2rem); }
  .card-grid.five { grid-template-columns: 1fr; }
  .feature-card:last-child { grid-column: auto; }
  .output-grid { grid-template-columns: 1fr; }
  .join-box { padding: 30px 22px; }
  .footer-nav-groups { grid-template-columns: 1fr 1fr; }
}

/* ===== Secondary pages ===== */
.page-hero { padding-top: 92px; padding-bottom: 88px; }
.page-hero-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 78px; align-items: start; }
.breadcrumb { display: flex; gap: 10px; margin-bottom: 34px; color: var(--muted); font-size: .9rem; }
.breadcrumb a { color: var(--blue); font-weight: 700; }
.page-hero h1 { margin: 0 0 22px; color: var(--navy); font-size: clamp(3.2rem, 7vw, 6rem); line-height: 1.02; letter-spacing: -.04em; }
.page-lead { margin: 0 0 24px; color: var(--navy); font-weight: 800; font-size: clamp(1.5rem, 2.7vw, 2.3rem); line-height: 1.45; }
.page-summary { max-width: 780px; margin: 0; color: var(--muted); font-size: 1.08rem; }
.page-index { position: sticky; top: 108px; display: grid; gap: 0; padding: 30px; border: 1px solid var(--line); border-radius: 22px; background: var(--white); box-shadow: var(--shadow); }
.page-index a { padding: 13px 0; border-bottom: 1px solid var(--line); color: var(--navy); font-weight: 800; }
.page-index a:last-child { border-bottom: 0; }
.page-index a:hover { color: var(--blue); }
.content-grid { display: grid; grid-template-columns: .36fr 1fr; gap: 82px; align-items: start; }
.content-label { position: sticky; top: 110px; }
.content-label h2 { margin: 0; color: var(--navy); font-size: clamp(2rem, 3.6vw, 3.1rem); line-height: 1.25; letter-spacing: -.03em; }
.dark .content-label h2 { color: var(--white); }
.prose { max-width: 820px; color: var(--muted); }
.prose > p { font-size: 1.05rem; }
.lead-copy { margin-top: 0; color: var(--navy); font-weight: 800; font-size: clamp(1.35rem, 2vw, 1.75rem) !important; line-height: 1.6; }
.prose-light { color: #d2dded; }
.prose-light .lead-copy { color: var(--white); }
.principle-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; margin-top: 38px; }
.principle-grid article { padding: 26px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); }
.principle-grid span { color: var(--blue); font-size: .78rem; font-weight: 900; }
.principle-grid h3 { margin: 7px 0 9px; color: var(--navy); font-size: 1.35rem; }
.principle-grid p { margin: 0; font-size: .95rem; }
.timeline { display: grid; gap: 0; margin-top: 34px; border-left: 2px solid #c8d8eb; }
.timeline-item { position: relative; padding: 0 0 34px 34px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item:before { content:""; position:absolute; left:-8px; top:7px; width:14px; height:14px; border-radius:50%; background:var(--blue); box-shadow:0 0 0 5px var(--blue-soft); }
.timeline-item span { color: var(--blue); font-size: .78rem; font-weight: 900; letter-spacing: .08em; }
.timeline-item h3 { margin: 5px 0 5px; color: var(--navy); font-size: 1.35rem; }
.timeline-item p { margin: 0; }
.relationship-flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr; gap: 12px; align-items: center; margin: 34px 0; }
.relationship-flow div { padding: 18px 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); color: var(--navy); text-align: center; font-weight: 800; }
.relationship-flow span { color: var(--blue); font-weight: 900; }
.note-box { padding: 20px 22px; border-left: 4px solid var(--blue); background: var(--bg-soft); color: var(--muted); }
.activity-points { display: grid; gap: 16px; margin-top: 34px; }
.activity-points article { padding: 24px 26px; border: 1px solid rgba(255,255,255,.18); border-radius: 16px; background: rgba(255,255,255,.06); }
.activity-points h3 { margin: 0 0 7px; color: var(--white); }
.activity-points p { margin: 0; }
.wt-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.wt-list span { padding: 9px 13px; border-radius: 999px; background: var(--blue-soft); color: var(--navy); font-weight: 700; font-size: .9rem; }
.archive-strip { display: flex; align-items: center; justify-content: center; gap: 22px; margin-top: 34px; padding: 26px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); color: var(--navy); }
.archive-strip span { color: var(--blue); font-size: 1.5rem; font-weight: 900; }
.about-cta h2 { color: var(--navy); }

@media (max-width: 900px) {
  .page-hero-grid, .content-grid { grid-template-columns: 1fr; gap: 42px; }
  .page-index, .content-label { position: static; }
  .relationship-flow { grid-template-columns: 1fr; }
  .relationship-flow span { transform: rotate(90deg); justify-self: center; }
}

@media (max-width: 600px) {
  .page-hero { padding-top: 62px; }
  .principle-grid { grid-template-columns: 1fr; }
  .archive-strip { align-items: stretch; flex-direction: column; text-align: center; }
}

/* ===== Learn page ===== */
.global-nav a[aria-current="page"] { color: var(--blue); }
.learning-path { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-top: 36px; }
.learning-path div { min-height: 170px; padding: 22px 18px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); }
.learning-path span, .study-feature-grid span, .seminar-grid span { display: block; color: var(--blue); font-size: .76rem; font-weight: 900; letter-spacing: .08em; }
.learning-path strong { display: block; margin: 8px 0 10px; color: var(--navy); font-size: 1.05rem; }
.learning-path small { display: block; color: var(--muted); line-height: 1.65; }
.study-feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 36px 0 24px; }
.study-feature-grid article { padding: 26px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); }
.study-feature-grid h3 { margin: 8px 0 10px; color: var(--navy); }
.study-feature-grid p { margin: 0; font-size: .96rem; }
.tool-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 34px; }
.tool-cards article { padding: 26px; border: 1px solid rgba(255,255,255,.18); border-radius: 16px; background: rgba(255,255,255,.06); }
.tool-cards h3 { margin: 0 0 10px; color: var(--white); }
.tool-cards p { margin: 0; }
.dark-note { margin-top: 24px; padding: 20px 22px; border-left: 4px solid #8fc2ff; background: rgba(255,255,255,.06); color: #d2dded; }
.notebook-flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr auto 1fr; gap: 10px; align-items: center; margin-top: 34px; }
.notebook-flow div { padding: 20px 12px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); text-align: center; }
.notebook-flow strong { display: block; color: var(--navy); }
.notebook-flow small { display: block; margin-top: 5px; color: var(--muted); }
.notebook-flow span { color: var(--blue); font-weight: 900; }
.seminar-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 34px; }
.seminar-grid article { padding: 25px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); }
.seminar-grid h3 { margin: 7px 0 8px; color: var(--navy); }
.seminar-grid p { margin: 0; }
.topic-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 34px; }
.topic-grid a { padding: 18px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); color: var(--navy); font-weight: 800; }
.topic-grid a:hover { border-color: #a7c6eb; color: var(--blue); transform: translateY(-1px); }
.topic-note { margin-top: 22px; font-size: .92rem !important; }

@media (max-width: 1000px) {
  .learning-path { grid-template-columns: repeat(2, 1fr); }
  .learning-path div:last-child { grid-column: 1 / -1; }
  .study-feature-grid, .tool-cards { grid-template-columns: 1fr; }
  .notebook-flow { grid-template-columns: 1fr; }
  .notebook-flow span { transform: rotate(90deg); justify-self: center; }
  .topic-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .learning-path, .seminar-grid, .topic-grid { grid-template-columns: 1fr; }
  .learning-path div:last-child { grid-column: auto; }
}


/* ===== Data page ===== */
.data-role-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:16px; margin-top:34px; }
.data-role-grid article, .data-family-grid article { padding:25px; border:1px solid var(--line); border-radius:16px; background:var(--white); }
.data-role-grid span, .data-family-grid span, .access-grid span, .amedas-compare span { display:block; color:var(--blue); font-size:.76rem; font-weight:900; letter-spacing:.08em; }
.data-role-grid h3, .data-family-grid h3, .access-grid h3, .amedas-compare h3 { margin:8px 0 10px; color:var(--navy); }
.data-role-grid p, .data-family-grid p, .access-grid p { margin:0; font-size:.95rem; }
.data-family-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:16px; margin-top:34px; }
.amedas-compare { display:grid; grid-template-columns:1fr auto 1fr; gap:18px; align-items:stretch; margin-top:34px; }
.amedas-compare article { padding:28px; border:1px solid rgba(255,255,255,.18); border-radius:16px; background:rgba(255,255,255,.06); }
.amedas-compare h3 { color:var(--white); }
.amedas-compare p, .amedas-compare small { color:#d2dded; }
.amedas-compare small { display:block; margin-top:16px; }
.compare-mark { align-self:center; color:#8fc2ff; font-size:1.6rem; font-weight:900; }
.combine-flow { display:grid; grid-template-columns:1fr auto 1fr auto 1fr auto 1fr; gap:12px; align-items:center; margin:34px 0; }
.combine-flow div { padding:22px 14px; border:1px solid var(--line); border-radius:14px; background:var(--white); text-align:center; }
.combine-flow strong { display:block; color:var(--navy); }
.combine-flow small { display:block; margin-top:5px; color:var(--muted); }
.combine-flow span { color:var(--blue); font-weight:900; }
.nextwx-data-flow { display:grid; grid-template-columns:1fr auto 1fr auto 1fr auto 1fr auto 1fr auto 1fr; gap:10px; align-items:center; margin:34px 0 18px; }
.nextwx-data-flow div { padding:18px 12px; border:1px solid var(--line); border-radius:14px; background:var(--white); color:var(--navy); text-align:center; font-weight:800; }
.nextwx-data-flow span { color:var(--blue); font-weight:900; }
.access-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; margin-top:34px; }
.access-grid article { padding:26px; border:1px solid var(--line); border-radius:16px; background:var(--white); display:flex; flex-direction:column; }
.access-grid a { margin-top:auto; padding-top:18px; color:var(--blue); font-weight:800; }
@media (max-width:1000px) {
  .data-role-grid { grid-template-columns:repeat(2,1fr); }
  .amedas-compare, .combine-flow, .nextwx-data-flow { grid-template-columns:1fr; }
  .compare-mark, .combine-flow span, .nextwx-data-flow span { transform:rotate(90deg); justify-self:center; }
  .access-grid { grid-template-columns:1fr; }
}
@media (max-width:600px) {
  .data-role-grid, .data-family-grid { grid-template-columns:1fr; }
}


/* ===== Research page v0.6 ===== */
.research-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.feature-card {
  background: #fff;
  border: 1px solid var(--line, #dbe5f0);
  border-radius: 16px;
  padding: 28px;
  min-height: 250px;
  display: flex;
  flex-direction: column;
}

.feature-card-accent {
  background: #eef6ff;
}

.feature-card h3 {
  margin: 8px 0 14px;
}

.feature-card p {
  flex: 1;
}

.card-kicker {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  color: #0b66d4;
  text-transform: uppercase;
}

.process-flow-wide {
  max-width: 760px;
  margin: 38px auto 0;
}

.process-flow-wide .flow-step {
  background: #fff;
  border: 1px solid #dbe5f0;
  border-radius: 14px;
  padding: 18px 22px;
  display: grid;
  grid-template-columns: 44px 1fr;
  align-items: center;
  gap: 4px 16px;
}

.process-flow-wide .flow-step span {
  grid-row: 1 / span 2;
  color: #0b66d4;
  font-weight: 800;
}

.process-flow-wide .flow-step small {
  color: #60738c;
}

.process-flow-wide .flow-arrow {
  text-align: center;
  font-weight: 700;
  color: #7d8fa6;
  padding: 6px 0;
}

.research-dark {
  background: #0f3159;
  color: #fff;
}

.research-dark-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 64px;
  align-items: center;
}

.research-dark h2,
.research-dark p {
  color: #fff;
}

.eyebrow-light {
  color: #9dc7ff !important;
}

.state-stack {
  display: grid;
  gap: 10px;
}

.state-stack div,
.state-stack strong {
  border: 1px solid rgba(255,255,255,.20);
  border-radius: 10px;
  padding: 14px 18px;
  background: rgba(255,255,255,.06);
  text-align: center;
}

.state-stack strong {
  margin-top: 4px;
  background: rgba(255,255,255,.12);
}

.three-column {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.simple-card {
  border: 1px solid #dbe5f0;
  border-radius: 16px;
  padding: 26px;
  background: #fff;
}

@media (max-width: 900px) {
  .research-grid,
  .three-column,
  .research-dark-grid {
    grid-template-columns: 1fr;
  }
  .research-dark-grid {
    gap: 34px;
  }
}

/* ===== Anywhere Emagram page v0.7 ===== */
.breadcrumb { font-size: .86rem; color: #6a7d94; margin: 0 0 24px; }
.breadcrumb a { color: inherit; }
.hero-note { margin-top: 26px; max-width: 860px; padding: 18px 20px; background: #fff; border: 1px solid #dbe5f0; border-left: 4px solid #0b66d4; border-radius: 12px; color: #31465f; }
.emagram-flow { max-width: 820px; margin: 38px auto 0; }
.emagram-step { display: grid; grid-template-columns: 48px 1fr; gap: 3px 16px; align-items: center; padding: 18px 22px; border: 1px solid #dbe5f0; border-radius: 14px; background: #fff; }
.emagram-step span { grid-row: 1 / span 2; color: #0b66d4; font-weight: 800; }
.emagram-step small { color: #6a7d94; }
.four-column { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 18px; }
.emagram-dark { background: #0f3159; color: #fff; }
.emagram-dark h2,.emagram-dark p { color: #fff; }
.emagram-dark-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: center; }
.level-stack { display: grid; gap: 8px; text-align: center; }
.level-stack div { padding: 10px 16px; border: 1px solid rgba(255,255,255,.18); border-radius: 10px; background: rgba(255,255,255,.06); }
.level-top,.level-bottom { font-weight: 700; background: rgba(255,255,255,.12)!important; }
.output-list-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; }
.output-list-grid div { padding: 18px; border: 1px solid #dbe5f0; border-radius: 12px; background: #fff; font-weight: 700; }
@media (max-width: 900px) { .four-column,.output-list-grid,.emagram-dark-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .four-column,.output-list-grid,.emagram-dark-grid { grid-template-columns: 1fr; } .hero-note { font-size: .94rem; } }


/* ===== NEXTWX page v0.8 ===== */
.nextwx-hero { background: linear-gradient(180deg,#f3f8fe 0%,#ffffff 100%); }
.nextwx-core-dark { background:#0b2d54; color:#fff; }
.nextwx-heading-light h2,.nextwx-heading-light p { color:#fff; }
.nextwx-ladder { max-width:760px; margin:40px auto 0; display:grid; gap:8px; }
.nextwx-ladder>div { display:grid; grid-template-columns:54px 1fr; gap:4px 16px; padding:18px 22px; border:1px solid rgba(255,255,255,.18); border-radius:12px; background:rgba(255,255,255,.06); }
.nextwx-ladder span { grid-row:1 / span 2; align-self:center; color:#9dc7ff; font-weight:900; }
.nextwx-ladder strong { color:#fff; }
.nextwx-ladder small { color:#cfdaea; }
.nextwx-ladder>b { text-align:center; color:#9dc7ff; }
.two-column { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; }
.nextwx-transform-flow { display:grid; grid-template-columns:1fr auto 1fr auto 1fr auto 1fr auto 1fr; gap:12px; align-items:center; margin-top:34px; }
.nextwx-transform-flow div { padding:22px 14px; border:1px solid var(--line); border-radius:14px; background:#fff; text-align:center; }
.nextwx-transform-flow strong { display:block; color:var(--navy); }
.nextwx-transform-flow small { display:block; margin-top:5px; color:var(--muted); }
.nextwx-transform-flow span { color:var(--blue); font-weight:900; }
@media (max-width:900px){ .two-column { grid-template-columns:1fr; } .nextwx-transform-flow { grid-template-columns:1fr; } .nextwx-transform-flow span { transform:rotate(90deg); justify-self:center; } }


/* ===== People page v0.9 ===== */
.people-info-grid,
.people-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.people-search-panel {
  background: #fff;
  border: 1px solid #dbe5f0;
  border-radius: 18px;
  padding: 28px;
}

.people-search-box {
  margin-bottom: 20px;
}

.people-search-box label,
.people-filter-grid label {
  display: block;
  font-weight: 700;
  margin-bottom: 8px;
}

.people-search-box input,
.people-filter-grid select {
  width: 100%;
  border: 1px solid #cfdbe8;
  border-radius: 10px;
  padding: 12px 14px;
  font: inherit;
  background: #fff;
}

.people-filter-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.search-note {
  margin: 18px 0 0;
  color: #60738c;
  font-size: .92rem;
}

.person-card {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 18px;
  padding: 24px;
  background: #fff;
  border: 1px solid #dbe5f0;
  border-radius: 16px;
}

.person-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #eaf3ff;
  color: #0b66d4;
  font-weight: 800;
  font-size: 1.3rem;
}

.person-meta {
  color: #0b66d4;
  font-size: .82rem;
  font-weight: 700;
  margin-bottom: 5px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 16px;
}

.tag-row span {
  display: inline-block;
  padding: 5px 9px;
  border-radius: 999px;
  background: #f0f5fa;
  color: #41566f;
  font-size: .78rem;
}

.people-dark {
  background: #0f3159;
  color: #fff;
}

.people-dark h2,
.people-dark p {
  color: #fff;
}

.people-dark-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
}

.permission-stack {
  display: grid;
  gap: 12px;
}

.permission-stack div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid rgba(255,255,255,.20);
  border-radius: 12px;
  background: rgba(255,255,255,.06);
}

.permission-stack span {
  color: rgba(255,255,255,.85);
}

.sync-flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1.15fr;
  gap: 12px;
  align-items: center;
  margin-top: 34px;
}

.sync-box,
.sync-split > div {
  border: 1px solid #dbe5f0;
  border-radius: 12px;
  background: #fff;
  padding: 18px;
  text-align: center;
}

.sync-box {
  display: grid;
  gap: 4px;
}

.sync-box span {
  color: #60738c;
  font-size: .86rem;
}

.sync-arrow {
  color: #7d8fa6;
  font-weight: 800;
}

.sync-split {
  display: grid;
  gap: 8px;
}

.notice-box {
  margin-top: 28px;
  padding: 20px 22px;
  border-left: 4px solid #0b66d4;
  background: #eef6ff;
  border-radius: 10px;
}

.notice-box p {
  margin-bottom: 0;
}

@media (max-width: 900px) {
  .people-info-grid,
  .people-card-grid,
  .people-dark-grid {
    grid-template-columns: 1fr;
  }

  .people-filter-grid {
    grid-template-columns: 1fr 1fr;
  }

  .sync-flow {
    grid-template-columns: 1fr;
  }

  .sync-arrow {
    text-align: center;
    transform: rotate(90deg);
  }
}

@media (max-width: 600px) {
  .people-filter-grid {
    grid-template-columns: 1fr;
  }

  .person-card {
    grid-template-columns: 1fr;
  }
}


/* ===== Working Team page v0.10 ===== */
.wt-public-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.wt-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.wt-card {
  background: #fff;
  border: 1px solid #dbe5f0;
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  min-height: 280px;
}

.wt-card-accent {
  background: #eef6ff;
}

.wt-card-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 10px;
}

.wt-number {
  color: #0b66d4;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .06em;
}

.wt-status {
  background: #e8f7ef;
  color: #197347;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 700;
}

.wt-card h3 {
  margin: 4px 0 12px;
}

.wt-card p {
  flex: 1;
}

.wt-dark {
  background: #0f3159;
  color: #fff;
}

.wt-dark h2,
.wt-dark p {
  color: #fff;
}

.wt-dark-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.wt-member-list {
  display: grid;
  gap: 10px;
}

.wt-member-list div {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 14px;
  padding: 15px 18px;
  border-radius: 11px;
  border: 1px solid rgba(255,255,255,.20);
  background: rgba(255,255,255,.06);
}

.wt-member-list span {
  color: rgba(255,255,255,.85);
}

.wt-link-map {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 14px;
  align-items: center;
  margin-top: 34px;
}

.map-node {
  min-height: 110px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 18px;
  border: 1px solid #dbe5f0;
  border-radius: 14px;
  background: #fff;
  color: inherit;
  text-decoration: none;
  font-weight: 700;
}

.map-node small {
  display: block;
  margin-top: 6px;
  font-weight: 400;
  color: #60738c;
}

.map-node-center {
  background: #0b66d4;
  color: #fff;
  border-color: #0b66d4;
}

.map-node-center small {
  color: rgba(255,255,255,.88);
}

.map-arrow {
  color: #7d8fa6;
  font-size: 1.3rem;
  font-weight: 800;
}

.wt-link-map > :nth-child(6) {
  grid-column: 2;
}

.wt-link-map > :nth-child(7) {
  grid-column: 3;
}

.wt-link-map > :nth-child(8) {
  grid-column: 4 / span 2;
}

@media (max-width: 1000px) {
  .wt-public-grid,
  .wt-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .wt-dark-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .wt-public-grid,
  .wt-card-grid {
    grid-template-columns: 1fr;
  }

  .wt-link-map {
    grid-template-columns: 1fr;
  }

  .wt-link-map > * {
    grid-column: 1 !important;
  }

  .map-arrow {
    text-align: center;
    transform: rotate(90deg);
  }

  .wt-member-list div {
    grid-template-columns: 1fr;
  }
}


/* ===== Public Outputs page v0.11 ===== */
.output-type-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.output-type-card {
  background: #fff;
  border: 1px solid #dbe5f0;
  border-radius: 14px;
  padding: 20px;
}

.output-type-card span {
  display: inline-block;
  color: #0b66d4;
  font-weight: 800;
  font-size: .78rem;
  margin-bottom: 8px;
}

.output-type-card h3 {
  margin: 0 0 10px;
  font-size: 1.02rem;
}

.output-type-card p {
  margin: 0;
  font-size: .92rem;
}

.output-structure {
  display: grid;
  grid-template-columns: .75fr 1.25fr;
  gap: 28px;
  align-items: start;
  margin-top: 34px;
}

.output-core {
  background: #0b66d4;
  color: #fff;
  border-radius: 18px;
  padding: 32px;
  min-height: 220px;
}

.output-core h3,
.output-core p,
.output-core .card-kicker {
  color: #fff;
}

.output-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.output-links div {
  border: 1px solid #dbe5f0;
  border-radius: 12px;
  background: #fff;
  padding: 16px;
  display: grid;
  gap: 3px;
}

.output-links span {
  color: #60738c;
  font-size: .86rem;
}

.outputs-dark {
  background: #0f3159;
  color: #fff;
}

.outputs-dark h2,
.outputs-dark p {
  color: #fff;
}

.outputs-dark-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.output-network {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.output-network a,
.output-network strong {
  padding: 16px 18px;
  border-radius: 11px;
  border: 1px solid rgba(255,255,255,.20);
  background: rgba(255,255,255,.06);
  color: #fff;
  text-decoration: none;
  display: grid;
  gap: 2px;
}

.output-network strong {
  background: rgba(255,255,255,.14);
}

.output-network span {
  color: rgba(255,255,255,.78);
  font-size: .82rem;
  font-weight: 400;
}

.featured-output-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.featured-output-card {
  border: 1px solid #dbe5f0;
  border-radius: 16px;
  padding: 24px;
  background: #fff;
}

.output-badge {
  display: inline-block;
  padding: 5px 9px;
  border-radius: 999px;
  background: #eef6ff;
  color: #0b66d4;
  font-size: .76rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.featured-output-card dl {
  margin: 18px 0;
  display: grid;
  gap: 8px;
}

.featured-output-card dl div {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 10px;
}

.featured-output-card dt {
  font-weight: 700;
}

.featured-output-card dd {
  margin: 0;
  color: #60738c;
}

.content-set-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 12px;
  margin-top: 34px;
}

.content-set-grid div {
  border: 1px solid #dbe5f0;
  border-radius: 12px;
  background: #fff;
  padding: 18px 14px;
  text-align: center;
  display: grid;
  gap: 5px;
}

.content-set-grid span {
  color: #0b66d4;
  font-weight: 800;
}

.content-set-grid small {
  color: #60738c;
}

@media (max-width: 1100px) {
  .output-type-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .content-set-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .output-structure,
  .outputs-dark-grid,
  .featured-output-grid {
    grid-template-columns: 1fr;
  }

  .output-type-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .output-type-grid,
  .output-links,
  .output-network,
  .content-set-grid {
    grid-template-columns: 1fr;
  }
}


/* ===== Join page v0.12 ===== */
.join-feature-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.join-feature-card {
  border: 1px solid #dbe5f0;
  border-radius: 16px;
  background: #fff;
  padding: 22px;
  display: flex;
  flex-direction: column;
  min-height: 250px;
}

.join-icon {
  color: #0b66d4;
  font-size: .78rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.join-feature-card p {
  flex: 1;
}

.join-flow {
  max-width: 780px;
  margin: 36px auto 0;
}

.join-step {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 4px 18px;
  align-items: center;
  border: 1px solid #dbe5f0;
  border-radius: 14px;
  background: #fff;
  padding: 18px 22px;
}

.join-step span {
  grid-row: 1 / span 2;
  color: #0b66d4;
  font-size: .78rem;
  font-weight: 800;
}

.join-step small {
  color: #60738c;
}

.join-arrow {
  text-align: center;
  color: #7d8fa6;
  font-weight: 800;
  padding: 6px 0;
}

.join-dark {
  background: #0f3159;
  color: #fff;
}

.join-dark h2,
.join-dark p {
  color: #fff;
}

.join-dark-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.level-stack {
  display: grid;
  gap: 12px;
}

.level-stack div {
  display: grid;
  gap: 4px;
  padding: 18px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.20);
  background: rgba(255,255,255,.06);
}

.level-stack span {
  color: rgba(255,255,255,.82);
}

.profile-field-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.profile-field-grid div {
  border: 1px solid #dbe5f0;
  border-radius: 14px;
  padding: 20px;
  background: #fff;
  display: grid;
  gap: 4px;
}

.profile-field-grid span {
  color: #60738c;
  font-size: .9rem;
}

.join-wt-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.join-wt-card {
  border: 1px solid #dbe5f0;
  border-radius: 14px;
  padding: 20px;
  background: #fff;
  text-decoration: none;
  color: inherit;
  display: grid;
  gap: 5px;
}

.join-wt-card span {
  color: #60738c;
  font-size: .9rem;
}

.join-cta-large {
  border-radius: 20px;
  padding: 34px;
  background: #eef6ff;
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 28px;
  align-items: center;
}

.join-cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.btn-disabled {
  opacity: .55;
  pointer-events: none;
}

@media (max-width: 1000px) {
  .join-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .join-dark-grid,
  .join-cta-large {
    grid-template-columns: 1fr;
  }

  .profile-field-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .join-wt-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .join-cta-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 600px) {
  .join-feature-grid,
  .profile-field-grid,
  .join-wt-grid {
    grid-template-columns: 1fr;
  }

  .join-step {
    grid-template-columns: 1fr;
  }

  .join-step span {
    grid-row: auto;
  }
}


/* ===== Login page v0.13 ===== */
.login-layout {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 34px;
  align-items: start;
}

.login-panel,
.login-side {
  border: 1px solid #dbe5f0;
  border-radius: 18px;
  background: #fff;
  padding: 30px;
}

.login-form {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.login-form label {
  font-weight: 700;
  margin-top: 6px;
}

.login-form input {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid #cfdbe8;
  border-radius: 10px;
  font: inherit;
}

.login-submit {
  margin-top: 12px;
  width: 100%;
  opacity: .58;
  cursor: not-allowed;
}

.login-help {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 0;
  font-size: .9rem;
}

.login-feature-list {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.login-feature-list div {
  display: grid;
  gap: 3px;
  border-bottom: 1px solid #e6edf4;
  padding: 0 0 12px;
}

.login-feature-list span {
  color: #60738c;
  font-size: .9rem;
}

.member-dark {
  background: #0f3159;
  color: #fff;
}

.member-dark h2,
.member-dark p {
  color: #fff;
}

.member-dark-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.vault-stack {
  display: grid;
  gap: 10px;
}

.vault-stack div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 14px;
  padding: 15px 18px;
  border-radius: 11px;
  border: 1px solid rgba(255,255,255,.20);
  background: rgba(255,255,255,.06);
}

.vault-stack span {
  color: rgba(255,255,255,.83);
}

.access-level-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.access-level-card {
  border: 1px solid #dbe5f0;
  border-radius: 14px;
  background: #fff;
  padding: 22px;
}

.access-level-card > span {
  color: #60738c;
  font-size: .76rem;
  font-weight: 800;
}

.access-level-card-accent {
  background: #eef6ff;
}

.access-level-card-data {
  background: #eef9f6;
}

.access-level-card-admin {
  background: #f5f3f8;
}

.data-member-flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1.2fr;
  gap: 12px;
  align-items: center;
  margin-top: 34px;
}

.data-member-flow > div:not(.data-member-arrow) {
  border: 1px solid #dbe5f0;
  border-radius: 12px;
  background: #fff;
  padding: 18px;
  text-align: center;
  display: grid;
  gap: 4px;
}

.data-member-flow span {
  color: #0b66d4;
  font-size: .78rem;
  font-weight: 800;
}

.data-member-flow small {
  color: #60738c;
}

.data-member-arrow {
  color: #7d8fa6;
  font-weight: 800;
}

.audit-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.audit-grid div {
  border: 1px solid #dbe5f0;
  border-radius: 14px;
  background: #fff;
  padding: 20px;
  display: grid;
  gap: 4px;
}

.audit-grid span {
  color: #60738c;
  font-size: .9rem;
}

@media (max-width: 1000px) {
  .login-layout,
  .member-dark-grid {
    grid-template-columns: 1fr;
  }

  .access-level-grid,
  .audit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .data-member-flow {
    grid-template-columns: 1fr;
  }

  .data-member-arrow {
    text-align: center;
    transform: rotate(90deg);
  }
}

@media (max-width: 600px) {
  .access-level-grid,
  .audit-grid {
    grid-template-columns: 1fr;
  }

  .vault-stack div {
    grid-template-columns: 1fr;
  }
}

/* ===== Site-wide cleanup v0.14 ===== */
.pending-link {
  display: inline-block;
  color: #71839a;
  font-size: .9rem;
  font-weight: 700;
  cursor: default;
}
.footer-pending {
  display: block;
  color: #8d9aad;
  margin: 6px 0;
}
.footer-pending small {
  font-size: .72rem;
  opacity: .8;
}


/* ===== Real content phase v0.15 ===== */
.build-status-strip {
  background: #eef6ff;
  border-bottom: 1px solid #dbe5f0;
}
.build-status-inner {
  display: flex;
  gap: 16px;
  align-items: center;
  padding-top: 12px;
  padding-bottom: 12px;
  font-size: .9rem;
}
.build-status-inner span {
  color: #60738c;
  flex: 1;
}
.build-status-inner a {
  white-space: nowrap;
  font-weight: 700;
  text-decoration: none;
}

.status-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.status-card {
  border: 1px solid #dbe5f0;
  border-radius: 14px;
  background: #fff;
  padding: 22px;
}
.status-card.status-live {
  background: #f7fbff;
}
.status-label {
  display: inline-block;
  padding: 4px 8px;
  margin-bottom: 10px;
  border-radius: 999px;
  background: #eef6ff;
  color: #0b66d4;
  font-size: .74rem;
  font-weight: 800;
}
.nextwx-example-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.nextwx-example-grid div {
  border: 1px solid #dbe5f0;
  background: #fff;
  border-radius: 14px;
  padding: 20px;
  display: grid;
  gap: 4px;
}
.nextwx-example-grid span {
  color: #60738c;
}

.publication-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.publication-grid > div {
  border: 1px solid #dbe5f0;
  border-radius: 14px;
  padding: 20px;
  background: #fff;
  display: grid;
  gap: 6px;
}
.pub-chip {
  display: inline-block;
  width: fit-content;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: .74rem;
  font-weight: 800;
}
.pub-open { background: #e8f7ef; color: #197347; }
.pub-prep { background: #fff4d8; color: #916a00; }
.pub-member { background: #eef6ff; color: #0b66d4; }
.pub-data { background: #f1edff; color: #6346b5; }

@media (max-width: 900px) {
  .build-status-inner {
    align-items: flex-start;
    flex-direction: column;
  }
  .status-grid,
  .nextwx-example-grid,
  .publication-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  .status-grid,
  .nextwx-example-grid,
  .publication-grid {
    grid-template-columns: 1fr;
  }
}


/* ===== People real-data-ready demo v0.16 ===== */
.people-search-panel-live {
  margin-bottom: 24px;
}
.people-search-summary {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid #e6edf4;
}
.people-reset-btn {
  border: 1px solid #cfdbe8;
  background: #fff;
  color: #26415f;
  border-radius: 9px;
  padding: 8px 12px;
  font: inherit;
  cursor: pointer;
}
.people-card-grid-live {
  margin-top: 0;
}
.person-case,
.person-wt {
  font-size: .9rem;
}
.demo-label {
  display: inline-block;
  margin-top: 8px;
  padding: 4px 8px;
  border-radius: 999px;
  background: #fff4d8;
  color: #916a00;
  font-size: .72rem;
  font-weight: 800;
}
.no-results {
  grid-column: 1 / -1;
  border: 1px dashed #cfdbe8;
  border-radius: 14px;
  padding: 34px;
  text-align: center;
  color: #60738c;
}
.people-implementation-flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: 12px;
  align-items: center;
  margin-top: 32px;
}
.people-implementation-flow > div:not(.impl-arrow) {
  border: 1px solid #dbe5f0;
  background: #fff;
  border-radius: 12px;
  padding: 18px;
  display: grid;
  gap: 4px;
  text-align: center;
}
.people-implementation-flow span {
  color: #0b66d4;
  font-weight: 700;
}
.people-implementation-flow small {
  color: #60738c;
}
.impl-arrow {
  color: #7d8fa6;
  font-weight: 800;
}

@media (max-width: 900px) {
  .people-implementation-flow {
    grid-template-columns: 1fr;
  }
  .impl-arrow {
    text-align: center;
    transform: rotate(90deg);
  }
}


/* ===== People public real data v0.17 ===== */
.people-filter-grid-public {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.people-filter-grid-public input {
  width: 100%;
  border: 1px solid #cfdbe8;
  border-radius: 10px;
  padding: 12px 14px;
  font: inherit;
  background: #fff;
}
.person-card-public {
  align-items: start;
}
.person-card-public .person-avatar {
  font-family: inherit;
}
.person-detail {
  margin-top: 14px;
}
.person-detail strong {
  display: block;
  margin-bottom: 4px;
  color: #26415f;
  font-size: .86rem;
}
.person-detail p {
  margin: 0;
  white-space: pre-line;
  font-size: .9rem;
  line-height: 1.65;
}
.public-data-note {
  margin-top: 0;
}
@media (max-width: 900px) {
  .people-filter-grid-public {
    grid-template-columns: 1fr;
  }
}


/* ===== Member People security prototype v0.18 ===== */
.security-banner {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 32px;
  align-items: center;
  background: #eef6ff;
  border: 1px solid #d7e8fb;
  border-radius: 18px;
  padding: 30px;
}
.security-points {
  display: grid;
  gap: 10px;
}
.security-points div {
  background: #fff;
  border: 1px solid #dbe5f0;
  border-radius: 11px;
  padding: 14px 16px;
  display: grid;
  gap: 3px;
}
.security-points span {
  color: #60738c;
  font-size: .9rem;
}
.member-field-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.member-field-grid div {
  border: 1px solid #dbe5f0;
  border-radius: 13px;
  padding: 18px;
  background: #fff;
  display: grid;
  gap: 5px;
}
.member-field-grid > div > span:first-child {
  color: #197347;
  font-size: .74rem;
  font-weight: 800;
}
.member-field-grid .member-only-chip {
  color: #0b66d4 !important;
}
.member-field-grid small {
  color: #60738c;
}
.member-api-flow {
  display: grid;
  gap: 8px;
}
.member-api-flow > div:not(.api-flow-arrow) {
  border: 1px solid rgba(255,255,255,.20);
  background: rgba(255,255,255,.06);
  border-radius: 11px;
  padding: 14px 16px;
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 3px 10px;
}
.member-api-flow strong {
  grid-row: 1 / span 2;
}
.member-api-flow small {
  color: rgba(255,255,255,.75);
}
.api-flow-arrow {
  text-align: center;
  color: rgba(255,255,255,.6);
  font-weight: 800;
}
.member-preview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.member-preview-card {
  border: 1px solid #dbe5f0;
  border-radius: 16px;
  padding: 24px;
  background: #fff;
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 18px;
}
.member-detail-list {
  margin: 16px 0;
  display: grid;
  gap: 8px;
}
.member-detail-list div {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 10px;
}
.member-detail-list dt {
  font-weight: 700;
}
.member-detail-list dd {
  margin: 0;
  color: #60738c;
}
.api-contract-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.api-contract-grid article {
  border: 1px solid #dbe5f0;
  border-radius: 14px;
  padding: 22px;
  background: #fff;
}
.api-contract-grid code {
  display: inline-block;
  margin: 8px 0 10px;
  padding: 5px 8px;
  border-radius: 7px;
  background: #f2f5f8;
}

@media (max-width: 900px) {
  .security-banner,
  .member-preview-grid,
  .api-contract-grid {
    grid-template-columns: 1fr;
  }
  .member-field-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  .member-field-grid {
    grid-template-columns: 1fr;
  }
  .member-preview-card {
    grid-template-columns: 1fr;
  }
}


/* ===== Profile image support v0.19 ===== */
.person-avatar-photo {
  overflow: hidden;
  background: #eef6ff;
  border: 1px solid #dbe5f0;
}
.person-avatar-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.profile-image-rule-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.profile-image-rule-grid > div {
  background: #fff;
  border: 1px solid #dbe5f0;
  border-radius: 14px;
  padding: 20px;
  display: grid;
  gap: 5px;
}
.profile-image-rule-grid span {
  color: #60738c;
}
@media (max-width: 700px) {
  .profile-image-rule-grid {
    grid-template-columns: 1fr;
  }
}

/* 2026-10-02 demo UI: compact titles for Learn / Data / Research */
.compact-page-title .page-hero h1 { font-size: clamp(2rem, 3vw, 2.25rem); line-height: 1.18; letter-spacing: -.025em; }

/* 2026-10-02 demo UI: tighten top-page hero after compact headline */
.hero { padding-top: 82px; padding-bottom: 82px; }
@media (max-width: 900px) {
  .hero { padding-top: 64px; padding-bottom: 64px; }
}

/* 2026-10-02 demo UI: final hero tightening */
.hero { padding-top: 62px; padding-bottom: 62px; }
.hero-panel { padding: 24px 28px; }
.flow-item { padding: 11px 0; }
@media (max-width: 900px) {
  .hero { padding-top: 48px; padding-bottom: 48px; }
  .hero-panel { padding: 22px; }
}

/* 2026-10-02 demo UI: balance About heading with compact hero */
.intro h2 { font-size: clamp(1.9rem, 3.2vw, 2.8rem); line-height: 1.3; }

/* 2026-10-02 demo UI: unify top-page section heading sizes */
.intro h2,
.section-heading h2,
.nextwx h2,
.join h2,
.member-entry h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.8rem);
  line-height: 1.3;
}

/* 2026-10-02 demo UI: strengthen top hero headline */
.hero h1 { font-size: clamp(2.05rem, 3.4vw, 3rem); line-height: 1.16; }

/* 2026-10-02 demo UI: carry index hierarchy to subpages */
.page-hero { padding-top: 62px; padding-bottom: 62px; }
.page-hero h1 { font-size: clamp(2.05rem, 3.4vw, 3rem); line-height: 1.16; letter-spacing: -.025em; }
.section-heading h2,
.content-label h2,
.research-dark h2,
.member-dark h2,
.join-panel h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.8rem);
  line-height: 1.3;
}
@media (max-width: 900px) {
  .page-hero { padding-top: 48px; padding-bottom: 48px; }
}

/* 2026-10-02 demo UI: second-pass subpage hierarchy */
.balanced-subpage .section-heading h2,
.balanced-subpage .content-label h2,
.balanced-subpage .research-dark h2,
.balanced-subpage .people-dark h2,
.balanced-subpage .wt-dark h2,
.balanced-subpage .nextwx-heading-light h2,
.balanced-subpage .member-dark h2,
.balanced-subpage .join-panel h2,
.balanced-subpage .about-cta h2 {
  font-size: clamp(1.7rem, 2.5vw, 2.35rem);
  line-height: 1.28;
}
.balanced-subpage .page-hero h1 {
  font-size: clamp(2.05rem, 3.4vw, 3rem);
  line-height: 1.16;
}

/* 2026-10-02 research page: restore section breathing and white blocks */
.research-page .section {
  padding: 76px 0;
}
.research-page .section-white {
  background: var(--white);
}
.research-page .section-soft {
  background: var(--bg-soft);
}
.research-page .section-heading {
  margin-bottom: 38px;
}
.research-page .section-heading.split-heading {
  align-items: end;
}
.research-page .section-heading.split-heading > div {
  min-width: 0;
}
@media (max-width: 900px) {
  .research-page .section { padding: 58px 0; }
  .research-page .section-heading { margin-bottom: 30px; }
}

/* 2026-10-02 research page: use white for all non-dark content sections */
.research-page .section-soft {
  background: var(--white);
}

/* 2026-10-02 research page: keep research theme cards white */
.research-page .feature-card-accent {
  background: var(--white);
}

/* 2026-10-02 people page: carry research-page spacing and white-section treatment */
.people-page .section {
  padding: 76px 0;
}
.people-page .section-white,
.people-page .section-soft {
  background: var(--white);
}
.people-page .section-heading {
  margin-bottom: 38px;
}
.people-page .section-heading.split-heading {
  align-items: end;
}
.people-page .section-heading.split-heading > div {
  min-width: 0;
}
@media (max-width: 900px) {
  .people-page .section { padding: 58px 0; }
  .people-page .section-heading { margin-bottom: 30px; }
}

/* 2026-10-02 working-team page: carry people/research spacing and white-section treatment */
.working-team-page .section {
  padding: 76px 0;
}
.working-team-page .section-white,
.working-team-page .section-soft {
  background: var(--white);
}
.working-team-page .section-heading {
  margin-bottom: 38px;
}
.working-team-page .section-heading.split-heading {
  align-items: end;
}
.working-team-page .section-heading.split-heading > div {
  min-width: 0;
}
@media (max-width: 900px) {
  .working-team-page .section { padding: 58px 0; }
  .working-team-page .section-heading { margin-bottom: 30px; }
}

/* 2026-10-02 working-team page: make CTA links clearly clickable */
.working-team-page .join-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}
.working-team-page .join-actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 20px;
  border-radius: 999px;
  font-weight: 800;
  line-height: 1.2;
  transition: .2s ease;
}
.working-team-page .join-actions .btn-primary {
  background: var(--blue);
  color: var(--white);
  border: 1px solid var(--blue);
}
.working-team-page .join-actions .btn-secondary {
  background: var(--white);
  color: var(--navy);
  border: 1px solid #b9c8dc;
}
.working-team-page .join-actions .btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

/* 2026-10-02 working-team page: normalize WT cards and emphasize final CTA */
.working-team-page .wt-card-accent {
  background: var(--white);
}
.working-team-page .join-panel {
  background: #f3f7fc;
  border: 1px solid #d7e3f1;
  border-radius: 20px;
  padding: 34px 38px;
}

/* 2026-10-02 working-team page: uploaded relationship diagram */
.working-team-page .wt-link-diagram {
  display: flex;
  justify-content: center;
  margin-top: 10px;
}
.working-team-page .wt-link-diagram img {
  display: block;
  width: min(100%, 920px);
  height: auto;
  border-radius: 14px;
}

/* 2026-10-02 NEXTWX page: carry research/people/WT hierarchy */
.nextwx-page .section {
  padding: 76px 0;
}
.nextwx-page .section-white,
.nextwx-page .section-soft {
  background: var(--white);
}
.nextwx-page .section-heading {
  margin-bottom: 38px;
}
.nextwx-page .section-heading.split-heading {
  align-items: end;
}
.nextwx-page .section-heading.split-heading > div {
  min-width: 0;
}
.nextwx-page .feature-card-accent {
  background: var(--white);
}
@media (max-width: 900px) {
  .nextwx-page .section { padding: 58px 0; }
  .nextwx-page .section-heading { margin-bottom: 30px; }
}

/* 2026-10-02 login page: visual refinement only; keep auth HTML/JS untouched */
main:has(.login-layout) > .section {
  padding: 76px 0;
}
main:has(.login-layout) > .section.section-white,
main:has(.login-layout) > .section.section-soft {
  background: var(--white);
}
main:has(.login-layout) .section-heading {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  column-gap: 56px;
  align-items: end;
  margin-bottom: 38px;
}
main:has(.login-layout) .section-heading > .eyebrow {
  grid-column: 1;
  margin-bottom: 10px;
}
main:has(.login-layout) .section-heading > h2 {
  grid-column: 1;
  font-size: clamp(1.7rem, 2.5vw, 2.35rem);
  line-height: 1.28;
  margin: 0;
}
main:has(.login-layout) .section-heading > p:last-child {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: end;
  margin: 0;
}
main:has(.login-layout) .join-panel {
  background: #f3f7fc;
  border: 1px solid #d7e3f1;
  border-radius: 20px;
  padding: 34px 38px;
}
@media (max-width: 900px) {
  main:has(.login-layout) > .section { padding: 58px 0; }
  main:has(.login-layout) .section-heading { display: block; margin-bottom: 30px; }
  main:has(.login-layout) .section-heading > p:last-child { margin-top: 14px; }
}

/* 2026-10-02 login button hover affordance */
.login-submit:not(:disabled) {
  cursor: pointer;
}
.login-submit:not(:disabled):hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

/* 2026-10-02 public login page: hide member-only preview link and emphasize public CTA */
.login-side .login-feature-list .text-link {
  display: none;
}
main:has(.login-layout) .join-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}
main:has(.login-layout) .join-actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 20px;
  border-radius: 999px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  transition: .2s ease;
  cursor: pointer;
}
main:has(.login-layout) .join-actions .btn-primary {
  background: var(--blue);
  color: var(--white);
  border: 1px solid var(--blue);
}
main:has(.login-layout) .join-actions .btn-secondary {
  background: var(--white);
  color: var(--navy);
  border: 1px solid #b9c8dc;
}
main:has(.login-layout) .join-actions .btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

/* 2026-10-02 join page refinement */
.join-page .section {
  padding: 76px 0;
}
.join-page .section-white,
.join-page .section-soft {
  background: var(--white);
}
.join-page .section-heading {
  margin-bottom: 38px;
}
.join-page .section-heading.split-heading {
  align-items: end;
}
.join-page .section-heading.split-heading > div {
  min-width: 0;
}
.join-page .join-feature-card,
.join-page .profile-field-grid > div,
.join-page .join-wt-card {
  background: var(--white);
}
.join-page .join-cta-large {
  background: #f3f7fc;
  border: 1px solid #d7e3f1;
  border-radius: 20px;
}
@media (max-width: 900px) {
  .join-page .section { padding: 58px 0; }
  .join-page .section-heading { margin-bottom: 30px; }
}

/* 2026-10-02 join page eligibility content */
.join-page .eligibility-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.join-page .eligibility-card {
  background: var(--white);
  border: 1px solid #d7e3f1;
  border-radius: 18px;
  padding: 28px;
}
.join-page .eligibility-card-primary {
  background: #f3f7fc;
}
.join-page .eligibility-card h3 {
  margin: 10px 0 12px;
}
.join-page .eligibility-links {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}
.join-page .eligibility-exception {
  margin-top: 22px;
}
.join-page .join-prerequisite-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}
.join-page .join-prerequisite-links .btn,
.join-page .join-cta-actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 20px;
  border-radius: 999px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
}
@media (max-width: 900px) {
  .join-page .eligibility-grid { grid-template-columns: 1fr; }
}

/* 2026-10-02 join prerequisite links emphasis */
.join-page .join-prerequisite-links .btn-secondary {
  background: var(--blue);
  color: var(--white);
  border: 1px solid var(--blue);
}
.join-page .join-prerequisite-links .btn-secondary:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

/* 2026-10-02 outputs page refinement */
.outputs-page .section {
  padding: 76px 0;
}
.outputs-page .section-white,
.outputs-page .section-soft {
  background: var(--white);
}
.outputs-page .section-heading {
  margin-bottom: 38px;
}
.outputs-page .section-heading.split-heading {
  align-items: end;
}
.outputs-page .section-heading.split-heading > div {
  min-width: 0;
}
.outputs-page .output-type-card,
.outputs-page .featured-output-card,
.outputs-page .output-core,
.outputs-page .output-links > div,
.outputs-page .content-set-grid > div,
.outputs-page .publication-grid > div {
  background: var(--white);
}
.outputs-page .join-panel {
  background: #f3f7fc;
  border: 1px solid #d7e3f1;
  border-radius: 20px;
  padding: 34px 38px;
}
.outputs-page .join-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}
.outputs-page .join-actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 20px;
  border-radius: 999px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
}
@media (max-width: 900px) {
  .outputs-page .section { padding: 58px 0; }
  .outputs-page .section-heading { margin-bottom: 30px; }
}

/* 2026-10-02 outputs page publication rules */
.outputs-page .publication-rules-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.outputs-page .publication-rule-card {
  background: var(--white);
  border: 1px solid #d7e3f1;
  border-radius: 18px;
  padding: 28px;
}
.outputs-page .publication-rule-card .rule-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  background: #eef5ff;
  font-weight: 800;
}
.outputs-page .publication-rule-card h3 {
  margin: 14px 0 10px;
}
.outputs-page .publication-rule-note {
  margin-top: 22px;
}
@media (max-width: 900px) {
  .outputs-page .publication-rules-grid {
    grid-template-columns: 1fr;
  }
}

/* 2026-10-02 emagram page refinement */
.emagram-page .section {
  padding: 76px 0;
}
.emagram-page .section-white,
.emagram-page .section-soft {
  background: var(--white);
}
.emagram-page .section-heading {
  margin-bottom: 38px;
}
.emagram-page .section-heading.split-heading {
  align-items: end;
}
.emagram-page .section-heading.split-heading > div {
  min-width: 0;
}
.emagram-page .feature-card-accent {
  background: var(--white);
}
.emagram-page .simple-card,
.emagram-page .feature-card,
.emagram-page .output-list-grid > div {
  background: var(--white);
}
.emagram-page .join-panel {
  background: #f3f7fc;
  border: 1px solid #d7e3f1;
  border-radius: 20px;
  padding: 34px 38px;
}
.emagram-page .join-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}
.emagram-page .join-actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 20px;
  border-radius: 999px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
}
@media (max-width: 900px) {
  .emagram-page .section { padding: 58px 0; }
  .emagram-page .section-heading { margin-bottom: 30px; }
}

/* 2026-10-02 authenticated account display in global navigation */
.nav-login.nav-authenticated {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-width: 118px;
  cursor: default;
}
.nav-login.nav-authenticated .nav-login-state {
  font-weight: 800;
  line-height: 1.1;
}
.nav-login.nav-authenticated .nav-login-account {
  display: block;
  max-width: 190px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: .72rem;
  font-weight: 600;
  line-height: 1.15;
  opacity: .82;
}
@media (max-width: 900px) {
  .nav-login.nav-authenticated {
    align-items: flex-start;
  }
  .nav-login.nav-authenticated .nav-login-account {
    max-width: 240px;
  }
}

/* 2026-10-02 Member People page visual refinement */
.member-people-page .section {
  padding: 76px 0;
}
.member-people-page .section-white,
.member-people-page .section-soft {
  background: var(--white);
}
.member-people-page .section-heading {
  margin-bottom: 38px;
}
.member-people-page .section-heading.split-heading {
  align-items: end;
}
.member-people-page .section-heading.split-heading > div {
  min-width: 0;
}
.member-people-page .security-banner {
  background: #f3f7fc;
  border-color: #d7e3f1;
  border-radius: 20px;
  padding: 34px 38px;
}
.member-people-page .member-field-grid > div,
.member-people-page .member-preview-card,
.member-people-page .api-contract-grid article,
.member-people-page .people-search-panel,
.member-people-page .person-card {
  background: var(--white);
}
.member-people-page .join-panel {
  background: #f3f7fc;
  border: 1px solid #d7e3f1;
  border-radius: 20px;
  padding: 34px 38px;
}
.member-people-page .join-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}
.member-people-page .join-actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 20px;
  border-radius: 999px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
}
@media (max-width: 900px) {
  .member-people-page .section { padding: 58px 0; }
  .member-people-page .section-heading { margin-bottom: 30px; }
  .member-people-page .security-banner { padding: 28px; }
}

/* 2026-10-02 Member People demo tuning: smaller headings + more vertical breathing */
.member-people-page .section {
  padding-top: 94px;
  padding-bottom: 94px;
}
.member-people-page .section-heading {
  margin-bottom: 44px;
}
.member-people-page .section-heading h2,
.member-people-page .security-banner h2,
.member-people-page .member-dark h2,
.member-people-page .join-panel h2 {
  font-size: clamp(1.55rem, 2.05vw, 2.05rem);
  line-height: 1.32;
}
.member-people-page .section-heading.split-heading {
  gap: 56px;
}
.member-people-page .security-banner {
  margin-top: 4px;
  margin-bottom: 4px;
}
.member-people-page .member-dark-grid {
  gap: 72px;
}
.member-people-page .member-field-grid,
.member-people-page .member-preview-grid,
.member-people-page .api-contract-grid {
  margin-top: 6px;
}
@media (max-width: 900px) {
  .member-people-page .section {
    padding-top: 70px;
    padding-bottom: 70px;
  }
  .member-people-page .section-heading {
    margin-bottom: 34px;
  }
  .member-people-page .section-heading h2,
  .member-people-page .security-banner h2,
  .member-people-page .member-dark h2,
  .member-people-page .join-panel h2 {
    font-size: clamp(1.45rem, 5vw, 1.9rem);
  }
}

/* 2026-10-03 member-people demo-safe visual tuning: CSS only */
body:has(.member-api-flow) main > .section {
  padding-top: 92px;
  padding-bottom: 92px;
}
body:has(.member-api-flow) .section-heading {
  margin-bottom: 42px;
}
body:has(.member-api-flow) .section-heading h2,
body:has(.member-api-flow) .security-banner h2,
body:has(.member-api-flow) .member-dark h2,
body:has(.member-api-flow) .join-panel h2 {
  font-size: clamp(1.55rem, 2vw, 2rem);
  line-height: 1.32;
}
body:has(.member-api-flow) .section-heading.split-heading {
  gap: 52px;
}
body:has(.member-api-flow) .security-banner {
  margin-top: 8px;
  margin-bottom: 8px;
}
body:has(.member-api-flow) .member-dark-grid {
  gap: 68px;
}
@media (max-width: 900px) {
  body:has(.member-api-flow) main > .section {
    padding-top: 68px;
    padding-bottom: 68px;
  }
  body:has(.member-api-flow) .section-heading {
    margin-bottom: 32px;
  }
  body:has(.member-api-flow) .section-heading h2,
  body:has(.member-api-flow) .security-banner h2,
  body:has(.member-api-flow) .member-dark h2,
  body:has(.member-api-flow) .join-panel h2 {
    font-size: clamp(1.4rem, 5vw, 1.8rem);
  }
}
