/* NodaMed theme styles. The accent colour comes from Customizer › NodaMed (inline :root variables). */

:root {
	--nm-ink: #0E1116;
	--nm-ink-2: #3D434C;
	--nm-muted: #5B6370;
	--nm-quiet: #6B7280;
	--nm-line: #E4E7EB;
	--nm-line-2: #C9CED5;
	--nm-edge: #B9BFC8;
	--nm-soft: #F6F7F8;
	--nm-soft-2: #FAFAFB;
	--nm-white: #FFFFFF;
	--nm-accent: #2347D6;
	--nm-accent-tint: rgba(35, 71, 214, .08);
	--nm-accent-glow: rgba(35, 71, 214, .45);
	--nm-accent-glow-0: rgba(35, 71, 214, 0);
	--nm-sans: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--nm-mono: 'IBM Plex Mono', 'IBM Plex Sans', ui-monospace, SFMono-Regular, Menlo, monospace;
	--nm-pad: clamp(3.5rem, 6.5vw, 5.5rem);
}

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--nm-white);
	color: var(--nm-ink);
	font-family: var(--nm-sans);
	font-size: 16px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
	overflow-x: clip;
}
img, svg { max-width: 100%; }
img { height: auto; }
a { color: var(--nm-ink); }
a:hover { color: var(--nm-accent); }
:focus-visible { outline: 2px solid var(--nm-accent); outline-offset: 3px; }
button, input, select, textarea { font: inherit; }
p { margin: 0; }
[id] { scroll-margin-top: 1rem; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0);
	white-space: nowrap; border: 0;
}
.nm-skip {
	position: absolute; left: 1rem; top: -100px; z-index: 100;
	padding: .75rem 1rem; background: var(--nm-ink); color: var(--nm-white);
	border-radius: 8px; text-decoration: none;
}
.nm-skip:focus { top: 1rem; color: var(--nm-white); }

.nm-wrap { width: 100%; max-width: 1200px; margin-left: auto; margin-right: auto; padding-left: 2rem; padding-right: 2rem; }
@media (max-width: 560px) { .nm-wrap { padding-left: 1.25rem; padding-right: 1.25rem; } }

/* ---------- Type ---------- */

.nm-eyebrow { margin: 0; font-family: var(--nm-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--nm-muted); }
.nm-h1 { margin: 0; font-size: clamp(2.5rem, 5.2vw, 4.25rem); line-height: 1.04; font-weight: 500; letter-spacing: -.035em; }
.nm-h2 { margin: 0; font-size: clamp(1.75rem, 3.2vw, 2.5rem); line-height: 1.15; font-weight: 500; letter-spacing: -.025em; }
.nm-h3 { margin: 0; font-size: 20px; line-height: 1.3; font-weight: 600; letter-spacing: -.01em; }
.nm-h4 { margin: 0; font-size: 18px; line-height: 1.3; font-weight: 600; letter-spacing: -.01em; }
.nm-h3 a { text-decoration: none; }
.nm-lead { max-width: 34rem; font-size: 18px; line-height: 1.6; color: var(--nm-ink-2); }
.nm-body { font-size: 16px; }
.nm-body-sm { font-size: 14px; color: var(--nm-ink-2); }
.nm-muted { margin: 0; font-size: 15px; color: var(--nm-muted); }
.nm-ink-2 { color: var(--nm-ink-2); }
.nm-mono { font-family: var(--nm-mono); }
.nm-accent { color: var(--nm-accent); }
.nm-strong { font-weight: 500; }
.nm-note { font-size: 12px; color: var(--nm-muted); }
.nm-caption { max-width: 26rem; margin: 0; font-family: var(--nm-mono); font-size: 12px; line-height: 1.6; color: var(--nm-muted); text-align: center; }

/* ---------- Buttons ---------- */

.nm-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.nm-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 48px; padding: 0 24px;
	border: 1px solid transparent; border-radius: 999px;
	font-size: 16px; font-weight: 500; line-height: 1.2; text-decoration: none; cursor: pointer;
	transition: background-color .2s, color .2s, border-color .2s;
}
.nm-btn--primary, .nm-btn--dark { background: var(--nm-ink); color: var(--nm-white); }
.nm-btn--primary:hover, .nm-btn--dark:hover { background: #000; color: var(--nm-white); }
.nm-btn--dark { min-height: 44px; min-width: 104px; padding: 0 20px; font-size: 15px; }
.nm-btn--outline { min-height: 44px; padding: 0 18px; border-color: var(--nm-ink); font-size: 15px; }
.nm-btn--outline:hover { border-color: var(--nm-accent); }
.nm-btn--ghost { min-height: 44px; padding: 0 18px; border-color: var(--nm-line-2); background: var(--nm-white); color: var(--nm-ink); font-size: 15px; }
.nm-btn--ghost:hover { border-color: var(--nm-ink); color: var(--nm-ink); }
.nm-btn--lg { min-height: 48px; padding: 0 22px; font-size: 16px; }
.nm-btn--text { padding: 0 20px; }
.nm-btn--block { width: 100%; }
.nm-link-arrow { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 500; text-decoration: none; }

/* ---------- Header ---------- */

.nm-header { border-bottom: 1px solid var(--nm-line); }
.nm-nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; padding-top: 1.25rem; padding-bottom: 1.25rem; }
.nm-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--nm-ink); text-decoration: none; }
.nm-brand:hover { color: var(--nm-ink); }
.nm-brand__name { font-size: 20px; font-weight: 600; letter-spacing: -.02em; }
.custom-logo-link { display: inline-flex; }
.custom-logo { max-height: 40px; width: auto; }
.nm-nav__links { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.75rem; font-size: 15px; }
.nm-menu { display: flex; flex-wrap: wrap; gap: .5rem 1.75rem; margin: 0; padding: 0; list-style: none; }
.nm-menu a { text-decoration: none; }
.nm-menu .current-menu-item > a { color: var(--nm-accent); }

/* ---------- Sections ---------- */

.nm-section { border-top: 1px solid var(--nm-line); }
.nm-section--soft { background: var(--nm-soft-2); }
.nm-section--plain { border-top: 0; }
.nm-section__inner { display: flex; flex-direction: column; gap: 3rem; padding-top: var(--nm-pad); padding-bottom: var(--nm-pad); }
.nm-head { display: flex; flex-direction: column; gap: 1rem; max-width: 40rem; }
.nm-head--wide { max-width: 46rem; }
.nm-head-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem 2rem; }

/* ---------- Hero ---------- */

.nm-hero { display: flex; flex-wrap: wrap; align-items: center; gap: 4rem; padding-top: clamp(3.5rem, 8vw, 7rem); padding-bottom: clamp(3.5rem, 8vw, 7rem); }
.nm-hero__text { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 1.75rem; }
.nm-hero__text .nm-actions { padding-top: .5rem; }
.nm-hero__figure { flex: 1 1 420px; min-width: 0; margin: 0; display: flex; flex-direction: column; align-items: center; gap: 1.25rem; }

/* ---------- Graphs ---------- */

.nm-graph { position: relative; width: 100%; }
.nm-graph--hero { max-width: 520px; aspect-ratio: 520 / 440; }
.nm-graph--explorer { max-width: 560px; aspect-ratio: 560 / 400; }
.nm-graph__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.nm-graph__edges path { stroke: var(--nm-edge); stroke-width: 1.25; fill: none; }
.nm-graph__emergent path { stroke: var(--nm-accent); stroke-width: 1.5; stroke-dasharray: 5 5; fill: none; }
.nm-graph__dots circle { fill: var(--nm-ink); stroke: var(--nm-white); stroke-width: 3; }
.nm-graph__ring { fill: var(--nm-white); stroke: var(--nm-accent); stroke-width: 1.5; stroke-dasharray: 3 3; }
.nm-graph__core { fill: var(--nm-accent); }
.nm-graph__label {
	position: absolute; padding: 2px 6px; border-radius: 6px;
	background: var(--nm-white); font-size: 13px; line-height: 1.3; text-align: center; white-space: nowrap;
	transition: color .3s;
}
.nm-graph__label.is-above { transform: translate(-50%, -100%); }
.nm-graph__label.is-below { transform: translate(-50%, 0); }
.nm-graph__label .nm-mono { font-size: .85em; }
.nm-graph__label--accent { color: var(--nm-accent); font-weight: 600; }
.nm-graph__label--accent .nm-mono { font-weight: 400; }
.nm-graph__label.is-off { color: var(--nm-quiet); text-decoration: line-through; }
.nm-graph__anchor {
	position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
	padding: 8px 16px; border: 1.5px solid var(--nm-ink); border-radius: 999px;
	background: var(--nm-white); font-size: 14px; font-weight: 500; white-space: nowrap;
}
@media (max-width: 560px) {
	.nm-graph__label { font-size: 11px; }
	.nm-graph__anchor { font-size: 12px; padding: 6px 12px; }
}

/* Explorer states */
.nm-edge { stroke: #9AA1AB; stroke-width: 1.25; fill: none; transition: opacity .3s, stroke .3s; }
.nm-edge--emergent { stroke: var(--nm-accent); stroke-dasharray: 5 5; }
.nm-edge.is-off { opacity: .15; stroke: var(--nm-line-2); stroke-dasharray: 5 5; }
.nm-node { fill: var(--nm-ink); stroke: var(--nm-white); stroke-width: 2; transition: fill .3s, stroke .3s; }
.nm-node--emergent { fill: var(--nm-accent); }
.nm-node.is-off { fill: var(--nm-white); stroke: #9AA1AB; stroke-dasharray: 2 2; }

/* ---------- Method ---------- */

.nm-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 2.5rem 2rem; margin: 0; padding: 0; list-style: none; }
.nm-step { display: flex; flex-direction: column; gap: .625rem; padding-top: 1.25rem; border-top: 1px solid var(--nm-ink); }
.nm-step__num { font-family: var(--nm-mono); font-size: 13px; color: var(--nm-accent); }

/* ---------- Demo ---------- */

.nm-demo { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 2.5rem 3.5rem; }
.nm-demo__main { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 1.5rem; }
.nm-sentence {
	padding: 1.75rem; border: 1px solid var(--nm-line); border-radius: 16px; background: var(--nm-white);
	font-size: clamp(1.25rem, 2.2vw, 1.625rem); line-height: 1.6; letter-spacing: -.01em;
}
.nm-trigger { padding: 0 4px; border-radius: 4px; background: transparent; color: var(--nm-ink); box-shadow: inset 0 -2px 0 #9AA1AB; transition: background-color .35s, color .35s, box-shadow .35s; }
.nm-trigger.is-done { background: var(--nm-accent-tint); color: var(--nm-accent); box-shadow: none; }
.nm-trigger.is-active { background: var(--nm-accent); color: var(--nm-white); box-shadow: none; }
.nm-demo__controls { display: flex; flex-direction: column; gap: 12px; }
.nm-progress { height: 3px; border-radius: 3px; background: var(--nm-line); overflow: hidden; }
.nm-progress__bar { display: block; height: 100%; width: 0; background: var(--nm-accent); transition: width .5s ease; }
.nm-demo__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.nm-demo__step { font-size: 13px; color: var(--nm-muted); }
.nm-demo__buttons { display: flex; gap: 8px; }
.nm-trees {
	display: flex; flex-direction: column; gap: 12px; padding: 1.5rem;
	border: 1px solid var(--nm-line); border-radius: 16px; background: var(--nm-white);
	opacity: 0; transform: translateY(10px); transition: opacity .6s ease, transform .6s ease;
}
.nm-trees.is-visible { opacity: 1; transform: none; }
.nm-trees__list { display: flex; flex-wrap: wrap; gap: 8px; }
.nm-tree { display: inline-flex; flex-direction: column; padding: 10px 14px; border: 1.5px solid var(--nm-ink); border-radius: 10px; font-size: 14px; font-weight: 600; }
.nm-tree span { font-family: var(--nm-mono); font-size: 11px; font-weight: 400; color: var(--nm-muted); }
.nm-tree--hidden { border-style: dashed; border-color: #9AA1AB; color: var(--nm-muted); }

.nm-pipeline { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; list-style: none; }
.nm-stage {
	display: flex; align-items: flex-start; gap: 14px; padding: 12px 16px;
	border: 1px solid var(--nm-line); border-radius: 12px; background: var(--nm-white);
	transition: background-color .4s, border-color .4s;
}
.nm-stage__num { flex: 0 0 22px; padding-top: 2px; font-family: var(--nm-mono); font-size: 13px; color: var(--nm-quiet); }
.nm-stage__body { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.nm-stage__title { font-size: 15px; font-weight: 600; color: var(--nm-muted); }
.nm-stage__detail { font-size: 13px; color: var(--nm-muted); }
.nm-stage__status { flex: none; display: inline-flex; align-items: center; gap: 6px; padding-top: 4px; font-family: var(--nm-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--nm-muted); }
.nm-stage__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--nm-line-2); }
.nm-stage.is-done .nm-stage__num, .nm-stage.is-done .nm-stage__title { color: var(--nm-ink); }
.nm-stage.is-done .nm-stage__dot { background: var(--nm-ink); }
.nm-stage.is-active { border-color: var(--nm-accent); background: var(--nm-accent-tint); }
.nm-stage.is-active .nm-stage__num, .nm-stage.is-active .nm-stage__status { color: var(--nm-accent); }
.nm-stage.is-active .nm-stage__title { color: var(--nm-ink); }
.nm-stage.is-active .nm-stage__dot { background: var(--nm-accent); animation: nm-pulse 1.1s ease-out infinite; }

/* ---------- Explorer ---------- */

.nm-section__inner.nm-explorer { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 3rem 4rem; }
.nm-explorer__text { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 1.5rem; }
.nm-explorer__figure { flex: 1 1 500px; min-width: 0; display: flex; justify-content: center; }
.nm-panel { display: flex; flex-direction: column; gap: 10px; padding: 1.5rem; border: 1px solid var(--nm-line); border-radius: 16px; }
.nm-panel__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.nm-panel__row--baseline { align-items: baseline; }
.nm-label { font-size: 14px; font-weight: 500; }
.nm-theta { font-size: 28px; font-weight: 500; letter-spacing: -.02em; }
.nm-range { width: 100%; height: 44px; margin: 0; accent-color: var(--nm-accent); cursor: pointer; }

/* ---------- Science ---------- */

.nm-split { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 2.5rem 4rem; }
.nm-split__text { flex: 1 1 400px; min-width: 0; }
.nm-prose-lg { display: flex; flex-direction: column; gap: 1.25rem; font-size: 17px; line-height: 1.65; color: var(--nm-ink-2); }
.nm-formula { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 1.5rem; padding: 1.75rem; border-radius: 16px; background: var(--nm-soft); }
.nm-formula__grid { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 12px 16px; margin: 0; font-size: 14px; line-height: 1.6; }
.nm-formula__grid dt { color: var(--nm-muted); }
.nm-formula__grid dd { margin: 0; }
.nm-gate { display: flex; flex-direction: column; gap: 22px; padding-top: 1.5rem; border-top: 1px solid #E1E4E8; }
.nm-gate__row { display: flex; align-items: center; gap: 16px; }
.nm-gate__track { position: relative; flex: 1 1 auto; height: 24px; }
.nm-gate__line { position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--nm-line-2); }
.nm-gate__theta { position: absolute; left: 55%; top: -6px; bottom: -6px; width: 2px; background: var(--nm-accent); }
.nm-gate__dot { position: absolute; left: 0; top: 50%; width: 12px; height: 12px; margin-top: -6px; border-radius: 50%; background: var(--nm-ink); }
.nm-gate__dot--weak { width: 10px; height: 10px; margin-top: -5px; background: #9AA1AB; }
.nm-gate__ring { position: absolute; left: calc(100% - 6px); top: 50%; width: 24px; height: 24px; border: 2px solid var(--nm-accent); border-radius: 50%; transform: translate(-50%, -50%); }
.nm-gate__label { flex: 0 0 132px; font-size: 12px; color: var(--nm-ink-2); }
.nm-anatomy { display: flex; flex-direction: column; gap: 1.25rem; }
.nm-roles { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; }
.nm-role { display: flex; flex-direction: column; gap: .625rem; padding: 1.5rem; border: 1px solid var(--nm-line); border-radius: 14px; color: var(--nm-ink); }
.nm-role .nm-accent { color: var(--nm-accent); }
.nm-role__title { font-size: 16px; font-weight: 600; }
.nm-role__text { font-size: 14px; color: var(--nm-muted); }
.nm-legend { display: flex; flex-wrap: wrap; gap: .75rem 2rem; margin: 0; padding: 0; list-style: none; font-size: 14px; color: var(--nm-ink-2); }
.nm-legend li { display: inline-flex; align-items: center; gap: 10px; }
.nm-legend svg { color: var(--nm-ink); }
.nm-legend svg.nm-accent { color: var(--nm-accent); }

/* ---------- Why ---------- */

.nm-table-wrap { overflow-x: auto; }
.nm-table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 16px; }
.nm-table thead th { padding: 0 16px 14px 0; text-align: left; font-family: var(--nm-mono); font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--nm-muted); border-bottom: 1px solid var(--nm-ink); }
.nm-table thead th:first-child { width: 22%; }
.nm-table thead th:nth-child(2) { width: 36%; }
.nm-table thead .nm-table__us { color: var(--nm-accent); }
.nm-table tbody th { padding: 18px 16px 18px 0; text-align: left; font-weight: 600; border-bottom: 1px solid var(--nm-line); }
.nm-table td { padding: 18px 16px 18px 0; border-bottom: 1px solid var(--nm-line); }
.nm-table td.nm-muted { font-size: 16px; }

/* ---------- Cards ---------- */

.nm-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.25rem; }
.nm-card { display: flex; flex-direction: column; gap: .75rem; padding: 2rem; border: 1px solid var(--nm-line); border-radius: 16px; }
.nm-card--white { gap: .625rem; padding: 1.75rem; background: var(--nm-white); }
.nm-kicker { font-family: var(--nm-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--nm-accent); }

/* ---------- Research ---------- */

.nm-paper { display: flex; flex-wrap: wrap; gap: 2.5rem 3.5rem; padding: clamp(1.5rem, 3vw, 2.5rem); border: 1px solid var(--nm-line); border-radius: 18px; }
.nm-paper__main { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 1.25rem; }
.nm-paper__title { margin: 0; font-size: clamp(1.375rem, 2.2vw, 1.75rem); line-height: 1.25; font-weight: 500; letter-spacing: -.02em; }
.nm-paper__side { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 1.25rem; }
.nm-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.nm-tags li { padding: 6px 12px; border: 1px solid var(--nm-line); border-radius: 999px; font-size: 13px; }
.nm-cases { display: flex; flex-direction: column; }
.nm-cases .nm-eyebrow { padding-bottom: 10px; }
.nm-cases__item { display: flex; gap: 12px; padding: 12px 0; border-top: 1px solid var(--nm-line); font-size: 15px; }
.nm-cases__item:last-child { border-bottom: 1px solid var(--nm-line); }
.nm-cite { flex: 1 1 100%; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; padding: 1.25rem 1.5rem; border-radius: 12px; background: var(--nm-soft); }
.nm-cite__text { flex: 1 1 420px; font-size: 13px; line-height: 1.6; color: var(--nm-ink-2); }

/* ---------- Consulting ---------- */

.nm-intro { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 1.5rem 4rem; }
.nm-intro .nm-head { flex: 1 1 460px; min-width: 0; }
.nm-intro__text { flex: 1 1 380px; min-width: 0; font-size: 16px; color: var(--nm-ink-2); }
.nm-services { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1rem; }
.nm-process-block { display: flex; flex-direction: column; gap: 1.5rem; }
.nm-process { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2rem; margin: 0; padding: 0; list-style: none; }
.nm-process li { display: flex; flex-direction: column; gap: .625rem; }
.nm-process__bar { display: block; height: 2px; background: var(--nm-line); overflow: hidden; }
.nm-process__fill { display: block; width: 0; height: 100%; background: var(--nm-accent); transition: width .65s ease; }
.nm-process__num { padding-top: .5rem; font-size: 13px; color: var(--nm-quiet); transition: color .4s; }
.nm-process__title { font-size: 17px; font-weight: 600; }
.nm-process.is-played .nm-process__fill { width: 100%; }
.nm-process.is-played .nm-process__num { color: var(--nm-accent); }
.nm-process.is-played li:nth-child(2) .nm-process__fill, .nm-process.is-played li:nth-child(2) .nm-process__num { transition-delay: .7s; }
.nm-process.is-played li:nth-child(3) .nm-process__fill, .nm-process.is-played li:nth-child(3) .nm-process__num { transition-delay: 1.4s; }
.nm-process.is-played li:nth-child(4) .nm-process__fill, .nm-process.is-played li:nth-child(4) .nm-process__num { transition-delay: 2.1s; }

/* ---------- Glossary ---------- */

.nm-glossary { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 0 2rem; margin: 0; }
.nm-glossary__item { display: flex; flex-direction: column; gap: 6px; padding: 1.25rem 0; border-top: 1px solid var(--nm-line); }
.nm-glossary dt { font-size: 16px; font-weight: 600; }
.nm-glossary dd { margin: 0; font-size: 14px; color: var(--nm-muted); }

/* ---------- FAQ ---------- */

.nm-section__inner.nm-faq { flex-direction: row; flex-wrap: wrap; align-items: flex-start; gap: 2rem 4rem; }
.nm-faq__head { flex: 1 1 280px; min-width: 0; }
.nm-faq__list { flex: 1 1 560px; min-width: 0; border-bottom: 1px solid var(--nm-line); }
.nm-faq__item { border-top: 1px solid var(--nm-line); }
.nm-faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; list-style: none; cursor: pointer; font-size: 17px; font-weight: 500; }
.nm-faq__item summary::-webkit-details-marker { display: none; }
.nm-faq__item summary .nm-icon { flex: none; }
.nm-faq__item p { padding: 0 2rem 1.25rem 0; font-size: 15px; color: var(--nm-muted); }
.nm-plus { transition: transform .25s ease; }
.nm-faq__item[open] .nm-plus { transform: rotate(45deg); }

/* ---------- Research use only ---------- */

.nm-ruo { background: var(--nm-ink); color: var(--nm-white); }
.nm-ruo__inner { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 1.25rem 2rem; padding-top: 3rem; padding-bottom: 3rem; }
.nm-ruo__inner .nm-icon { flex: none; margin-top: 2px; }
.nm-ruo__text { flex: 1 1 480px; display: flex; flex-direction: column; gap: .375rem; }
.nm-ruo__text p { max-width: 46rem; font-size: 15px; color: #B4BAC3; }
.nm-ruo__text .nm-ruo__title { font-size: 20px; font-weight: 600; letter-spacing: -.01em; color: var(--nm-white); }

/* ---------- Access form ---------- */

.nm-section__inner.nm-access { flex-direction: row; flex-wrap: wrap; align-items: flex-start; gap: 3rem 4rem; }
.nm-access__text { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 1rem; }
.nm-access__text .nm-body { max-width: 28rem; }
.nm-access__card { flex: 1 1 420px; min-width: 0; padding: 2rem; border: 1px solid var(--nm-line); border-radius: 16px; }
.nm-form { display: flex; flex-direction: column; gap: 1.25rem; }
.nm-form__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 1.25rem; }
.nm-field { display: flex; flex-direction: column; gap: 6px; }
.nm-field label { font-size: 14px; font-weight: 500; }
.nm-optional { font-weight: 400; color: var(--nm-muted); }
.nm-input { width: 100%; min-height: 48px; padding: 0 14px; border: 1px solid var(--nm-line-2); border-radius: 10px; background: var(--nm-white); color: var(--nm-ink); font-size: 16px; }
.nm-input:focus { border-color: var(--nm-ink); outline: none; box-shadow: 0 0 0 3px var(--nm-accent-tint); }
select.nm-input { padding: 0 12px; }
.nm-textarea { padding: 12px 14px; min-height: 112px; resize: vertical; line-height: 1.5; }
.nm-form .nm-btn--block { margin-top: .25rem; }
.nm-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.nm-notice { display: flex; flex-direction: column; gap: .5rem; }
.nm-notice--ok { padding: 1rem 0; }
.nm-notice--ok p { font-size: 15px; color: var(--nm-muted); }
.nm-notice--ok .nm-notice__title { font-size: 20px; font-weight: 600; color: var(--nm-ink); }
.nm-notice--error { margin-bottom: 1.25rem; padding: .875rem 1rem; border: 1px solid #F1B5B5; border-radius: 10px; background: #FDF2F2; color: #8A1C1C; font-size: 14px; }
.nm-notice--error a { color: #8A1C1C; }

/* ---------- Footer ---------- */

.nm-footer { border-top: 1px solid var(--nm-line); }
.nm-footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; padding-top: 2rem; padding-bottom: 2rem; font-size: 14px; color: var(--nm-muted); }
.nm-footer__brand { font-weight: 600; color: var(--nm-ink); letter-spacing: -.01em; }
.nm-footer__menu { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin: 0; padding: 0; list-style: none; }
.nm-footer a { color: var(--nm-muted); text-decoration: none; }
.nm-footer a:hover { color: var(--nm-accent); }

/* ---------- Blog, pages ---------- */

.nm-page { padding-top: var(--nm-pad); padding-bottom: var(--nm-pad); }
.nm-page__head { display: flex; flex-direction: column; gap: 1rem; max-width: 46rem; margin-bottom: 2.5rem; }
.nm-page__image { margin: 0 0 2.5rem; }
.nm-page__image img { border-radius: 16px; }
.nm-posts { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.25rem; }
.nm-post .nm-muted p { margin: 0; }
.nm-prose { max-width: 46rem; font-size: 17px; line-height: 1.7; color: var(--nm-ink-2); }
.nm-prose > * + * { margin-top: 1.25em; }
.nm-prose h2, .nm-prose h3, .nm-prose h4 { color: var(--nm-ink); font-weight: 600; letter-spacing: -.015em; line-height: 1.25; margin-top: 2em; }
.nm-prose h2 { font-size: 1.6em; font-weight: 500; }
.nm-prose h3 { font-size: 1.25em; }
.nm-prose a { color: var(--nm-ink); text-decoration-color: var(--nm-accent); text-underline-offset: 3px; }
.nm-prose ul, .nm-prose ol { padding-left: 1.25em; }
.nm-prose blockquote { margin-left: 0; padding-left: 1.25em; border-left: 2px solid var(--nm-ink); color: var(--nm-ink); }
.nm-prose code, .nm-prose pre { font-family: var(--nm-mono); font-size: .9em; }
.nm-prose pre { padding: 1rem 1.25rem; border-radius: 12px; background: var(--nm-soft); overflow-x: auto; }
.nm-prose img { border-radius: 12px; }
.nm-prose figcaption, .wp-element-caption { font-size: 13px; color: var(--nm-muted); }
.alignwide { max-width: 64rem; }
.alignfull { max-width: none; }
.aligncenter { margin-left: auto; margin-right: auto; }
.nm-post-nav { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; max-width: 46rem; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--nm-line); }
.pagination, .nav-links { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2.5rem; }
.page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 12px; border: 1px solid var(--nm-line); border-radius: 999px; text-decoration: none; }
.page-numbers.current { border-color: var(--nm-ink); background: var(--nm-ink); color: var(--nm-white); }
.search-form { display: flex; gap: .5rem; margin-top: 1.5rem; max-width: 28rem; }
.search-form .search-field { flex: 1; min-height: 48px; padding: 0 14px; border: 1px solid var(--nm-line-2); border-radius: 10px; }
.search-form .search-submit { min-height: 48px; padding: 0 20px; border: 0; border-radius: 999px; background: var(--nm-ink); color: var(--nm-white); cursor: pointer; }

/* ---------- Motion ---------- */

@keyframes nm-dash { to { stroke-dashoffset: -20; } }
@keyframes nm-pulse { 0% { box-shadow: 0 0 0 0 var(--nm-accent-glow); } 100% { box-shadow: 0 0 0 9px var(--nm-accent-glow-0); } }
@keyframes nm-pass { 0% { left: 0; opacity: 0; } 8% { opacity: 1; } 70% { left: calc(100% - 12px); opacity: 1; } 100% { left: calc(100% - 12px); opacity: 1; } }
@keyframes nm-fail { 0% { left: 0; opacity: 0; } 8% { opacity: 1; } 52% { left: calc(55% - 18px); opacity: 1; } 70% { left: calc(55% - 18px); opacity: 0; } 100% { left: calc(55% - 18px); opacity: 0; } }
@keyframes nm-ring { 0%, 66% { transform: translate(-50%, -50%) scale(0); opacity: 0; } 80% { transform: translate(-50%, -50%) scale(1.15); opacity: 1; } 100% { transform: translate(-50%, -50%) scale(1); opacity: 1; } }
.nm-flow { animation: nm-dash 1.4s linear infinite; }
.nm-pass { animation: nm-pass 3.4s ease-in-out infinite; }
.nm-fail { animation: nm-fail 3.4s ease-in-out infinite; }
.nm-ring { animation: nm-ring 3.4s ease-out infinite; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation: none !important; transition: none !important; }
	.nm-gate__dot { left: calc(100% - 12px); }
	.nm-gate__dot--weak { left: calc(55% - 18px); opacity: .4; }
}
