/* ==========================================================================
   TENGLONG granulator theme — design system
   1. Tokens
   2. Reset & base
   3. Layout primitives
   4. Header / navigation
   5. Hero & page heroes
   6. Sections & headings
   7. Buttons, links, chips
   8. Cards (machines, articles, pillars, services)
   9. Answer blocks, tables, specs
   10. Steps, process, timeline, FAQ
   11. Forms
   12. Machine detail layout
   13. Article & prose
   14. Footer
   15. Utilities & motion
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
	--ink: #12161a;
	--ink-soft: #1b2228;
	--steel: #2b333b;
	--steel-2: #3d474f;
	--muted: #5f6972;
	--line: #dde1e5;
	--line-strong: #c3c9cf;
	--paper: #ffffff;
	--sand: #f5f2ec;
	--sand-2: #ece7dd;
	--ember: #e8621c;
	--ember-dark: #c34e0f;
	--ember-soft: #fdf0e8;
	--ok: #1f7a4d;
	--err: #b3261e;
	--radius: 14px;
	--radius-sm: 8px;
	--radius-lg: 22px;
	--shadow: 0 18px 44px rgba(18, 22, 26, 0.1);
	--shadow-sm: 0 6px 18px rgba(18, 22, 26, 0.07);
	--wrap: 1240px;
	--font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Roboto, Arial, sans-serif;
	--mono: ui-monospace, "SFMono-Regular", "Cascadia Mono", Consolas, monospace;
}

/* 2. Reset & base ---------------------------------------------------------- */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: 96px;
}

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--font);
	font-size: 17px;
	line-height: 1.68;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

img,
svg {
	max-width: 100%;
	height: auto;
	display: block;
}

figure {
	margin: 0;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
dl,
dd,
blockquote {
	margin: 0;
}

ul,
ol {
	padding: 0;
	list-style: none;
}

a {
	color: inherit;
	text-decoration: none;
}

a:hover {
	color: var(--ember-dark);
}

button {
	font: inherit;
	color: inherit;
}

:focus-visible {
	outline: 3px solid var(--ember);
	outline-offset: 3px;
	border-radius: 4px;
}

.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;
}

.skip-link {
	position: absolute;
	left: 16px;
	top: -60px;
	z-index: 999;
	background: var(--ink);
	color: #fff;
	padding: 12px 18px;
	border-radius: 0 0 var(--radius-sm) var(--radius-sm);
	transition: top 0.2s ease;
}

.skip-link:focus {
	top: 0;
	color: #fff;
}

/* 3. Layout primitives ----------------------------------------------------- */
.wrap {
	width: min(var(--wrap), 100% - 48px);
	margin-inline: auto;
}

.section {
	padding: clamp(56px, 7vw, 104px) 0;
}

.section--paper {
	background: var(--sand);
}

.section--tight {
	padding: clamp(36px, 4vw, 64px) 0;
}

.section--dark {
	background: var(--ink);
	color: #f2f4f6;
}

.section--dark a:hover {
	color: #ffb184;
}

.section--quote {
	background: var(--sand-2);
}

.grid {
	display: grid;
	gap: 26px;
}

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

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

.two-col {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(32px, 5vw, 72px);
	align-items: start;
}

/* 4. Header / navigation --------------------------------------------------- */
.topbar {
	background: var(--ink);
	color: #cfd5da;
	font-size: 13px;
	letter-spacing: 0.01em;
}

.topbar-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	min-height: 40px;
}

.topbar-note {
	display: flex;
	align-items: center;
	gap: 9px;
	color: #d8dee3;
}

.dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #57c98b;
	box-shadow: 0 0 0 3px rgba(87, 201, 139, 0.18);
	flex: 0 0 auto;
}

.topbar-links {
	display: flex;
	align-items: center;
	gap: 20px;
}

.topbar-links a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: #e7ebee;
}

.topbar-links a:hover {
	color: #fff;
}

.lang-switch {
	position: relative;
	border-left: 1px solid rgba(255, 255, 255, 0.22);
	padding-left: 18px;
}

/* A visible button, not just a text label: the switcher is now an 11-site menu. */
.lang-switch summary {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 5px 10px;
	color: #e7ebee;
	list-style: none;
	cursor: pointer;
	border: 1px solid rgba(255, 255, 255, 0.28);
	border-radius: 6px;
	transition: border-color 0.18s ease, background 0.18s ease;
}

.lang-switch summary::-webkit-details-marker {
	display: none;
}

.lang-switch summary:hover,
.lang-switch[open] summary {
	color: #fff;
	border-color: rgba(255, 255, 255, 0.58);
	background: rgba(255, 255, 255, 0.08);
}

.lang-switch summary .icon--chevron {
	opacity: 0.7;
	transition: transform 0.18s ease;
}

.lang-switch[open] summary .icon--chevron {
	transform: rotate(180deg);
}

.lang-menu {
	position: absolute;
	top: calc(100% + 10px);
	right: 0;
	z-index: 200;
	min-width: 248px;
	/* Eleven languages must not push the menu off a short viewport. */
	max-height: min(70vh, 440px);
	overflow-y: auto;
	overscroll-behavior: contain;
	scrollbar-width: thin;
	margin: 0;
	padding: 6px;
	list-style: none;
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	box-shadow: 0 18px 40px rgba(18, 22, 26, 0.16);
}

/* The topbar sits on dark ink, the menu on paper: reset the link colour. */
.topbar-links .lang-menu a {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 8px 10px;
	border-radius: 6px;
	color: var(--ink);
	font-size: 13px;
	line-height: 1.35;
}

.topbar-links .lang-menu a:hover {
	background: var(--sand);
	color: var(--ember-dark);
}

.topbar-links .lang-menu a[aria-current="page"] {
	font-weight: 650;
	background: var(--sand);
}

.lang-menu__title {
	position: sticky;
	top: 0;
	z-index: 1;
	margin-bottom: 4px;
	padding: 5px 10px 8px;
	background: var(--paper);
	border-bottom: 1px solid var(--line);
	color: var(--muted);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.lang-menu__code {
	flex: 0 0 30px;
	padding: 3px 0;
	border-radius: 4px;
	background: var(--sand);
	color: var(--muted);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-align: center;
}

.lang-menu__name {
	flex: 1 1 auto;
}

.lang-menu__now {
	margin-left: auto;
	font-size: 11px;
	letter-spacing: 0.04em;
	color: var(--muted);
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 60;
	background: rgba(255, 255, 255, 0.94);
	backdrop-filter: saturate(1.2) blur(10px);
	border-bottom: 1px solid var(--line);
	transition: box-shadow 0.2s ease;
}

.site-header.is-stuck {
	box-shadow: 0 10px 30px rgba(18, 22, 26, 0.08);
}

.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: 74px;
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 11px;
	flex: 0 0 auto;
}

.brand-mark {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border-radius: 10px;
	background: var(--ink);
	color: #fff;
	font-weight: 800;
	font-size: 15px;
	letter-spacing: 0.04em;
}

.brand-text {
	display: flex;
	flex-direction: column;
	line-height: 1.2;
}

.brand-text strong {
	font-size: 17px;
	letter-spacing: 0.06em;
}

.brand-text small {
	font-size: 11.5px;
	color: var(--muted);
	letter-spacing: 0.02em;
}

.nav {
	display: flex;
	align-items: center;
}

.nav-links {
	display: flex;
	align-items: center;
	gap: 4px;
}

.nav-links a {
	display: block;
	padding: 10px 13px;
	font-size: 15px;
	font-weight: 500;
	border-radius: 999px;
	color: var(--ink-soft);
}

.nav-links a:hover {
	background: var(--sand);
	color: var(--ink);
}

.nav-links a[aria-current="page"] {
	background: var(--ember-soft);
	color: var(--ember-dark);
	font-weight: 600;
}

.header-actions {
	display: flex;
	align-items: center;
	gap: 12px;
}

.menu-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border: 1px solid var(--line-strong);
	background: #fff;
	border-radius: 10px;
	cursor: pointer;
}

.menu-toggle .menu-close {
	display: none;
}

.menu-toggle[aria-expanded="true"] .menu-open {
	display: none;
}

.menu-toggle[aria-expanded="true"] .menu-close {
	display: block;
}

.nav-mobile {
	display: none;
}

/* 5. Hero & page heroes ---------------------------------------------------- */
.hero {
	position: relative;
	background: var(--ink);
	color: #eef1f3;
	padding: clamp(48px, 6vw, 84px) 0 0;
	overflow: hidden;
}

.hero::after {
	content: "";
	position: absolute;
	inset: auto -20% 32% 55%;
	height: 460px;
	background: radial-gradient(closest-side, rgba(232, 98, 28, 0.28), transparent 70%);
	pointer-events: none;
}

.hero-grid {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
	gap: clamp(28px, 4vw, 56px);
	align-items: center;
	padding-bottom: clamp(36px, 5vw, 64px);
	z-index: 1;
}

.hero .eyebrow {
	color: #ffb184;
}

.display {
	font-size: clamp(2.1rem, 4.6vw, 3.5rem);
	line-height: 1.06;
	letter-spacing: -0.022em;
	font-weight: 800;
	margin: 14px 0 18px;
	max-width: 20ch;
}

.display--md {
	font-size: clamp(1.9rem, 3.6vw, 2.9rem);
	max-width: 26ch;
}

.display--sm {
	font-size: clamp(1.7rem, 3vw, 2.5rem);
	max-width: 24ch;
}

.lede {
	font-size: clamp(1.02rem, 1.4vw, 1.16rem);
	color: #c9d1d7;
	max-width: 56ch;
}

.page-hero .lede,
.post-hero .lede,
.section .lede,
.legal .lede {
	color: var(--muted);
}

.section--dark .lede {
	color: #c9d1d7;
}

.hero .lede {
	color: #cfd7dd;
}

.badge-row {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 18px;
	margin: 22px 0 26px;
	font-size: 13.5px;
	color: #dfe5e9;
}

.badge-row li {
	display: inline-flex;
	align-items: center;
	gap: 7px;
}

.badge-row .icon {
	color: #6cd39b;
	flex: 0 0 auto;
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 28px;
}

.hero-media {
	position: relative;
	background: #fff;
	border-radius: var(--radius-lg);
	padding: 14px;
	box-shadow: 0 30px 60px rgba(0, 0, 0, 0.32);
}

.hero-img {
	width: 100%;
	border-radius: var(--radius);
	background: #fff;
}

.hero-media figcaption {
	font-size: 12.5px;
	color: var(--muted);
	padding: 10px 4px 2px;
	border-top: 1px solid var(--line);
	margin-top: 10px;
}

.stat-strip {
	position: relative;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1px;
	background: rgba(255, 255, 255, 0.14);
	border-radius: var(--radius) var(--radius) 0 0;
	overflow: hidden;
	z-index: 1;
}

.stat {
	background: var(--ink);
	padding: 22px 22px 24px;
	display: flex;
	flex-direction: column-reverse;
	gap: 6px;
}

.stat-value {
	font-size: clamp(1.4rem, 2.2vw, 1.9rem);
	font-weight: 700;
	letter-spacing: -0.01em;
	color: #fff;
	line-height: 1.1;
}

.stat-value span {
	font-size: 0.55em;
	font-weight: 600;
	color: #ffb184;
	margin-left: 5px;
	letter-spacing: 0.02em;
}

.stat-label {
	font-size: 12.5px;
	line-height: 1.45;
	color: #a9b3bb;
}

.stat-strip--light {
	background: var(--line);
	border-radius: var(--radius);
}

.stat-strip--light .stat {
	background: #fff;
}

.stat-strip--light .stat-value {
	color: var(--ink);
}

.stat-strip--light .stat-label {
	color: var(--muted);
}

.page-hero {
	background: var(--sand);
	padding: clamp(34px, 4.4vw, 64px) 0 clamp(38px, 4.6vw, 68px);
	border-bottom: 1px solid var(--line);
}

.page-hero .display {
	margin-top: 20px;
	max-width: 26ch;
}

.page-hero .lede {
	margin-top: 6px;
	max-width: 60ch;
}

.page-hero--narrow .display {
	max-width: 32ch;
}

.page-hero-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
	gap: clamp(28px, 4vw, 56px);
	align-items: center;
}

.page-hero-media {
	background: #fff;
	padding: 12px;
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-sm);
}

.page-hero-media figcaption {
	font-size: 12.5px;
	color: var(--muted);
	padding-top: 10px;
	margin-top: 10px;
	border-top: 1px solid var(--line);
}

.page-hero-img {
	width: 100%;
	border-radius: var(--radius);
}

/* 6. Sections & headings --------------------------------------------------- */
.eyebrow {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--ember-dark);
}

.h2 {
	font-size: clamp(1.55rem, 2.6vw, 2.15rem);
	line-height: 1.16;
	letter-spacing: -0.018em;
	font-weight: 750;
	margin: 8px 0 12px;
	max-width: 30ch;
}

.h3 {
	font-size: clamp(1.22rem, 1.8vw, 1.5rem);
	line-height: 1.26;
	letter-spacing: -0.012em;
	font-weight: 700;
	margin: 0 0 14px;
}

.h4 {
	font-size: 1.06rem;
	font-weight: 700;
	letter-spacing: -0.005em;
	margin: 0 0 12px;
}

.section-head {
	position: relative;
	display: grid;
	grid-template-columns: 78px minmax(0, 1fr);
	gap: 20px;
	margin-bottom: clamp(28px, 3.4vw, 46px);
	padding-top: 18px;
	border-top: 1px solid var(--line);
}

.section-index {
	font-family: var(--mono);
	font-size: 13px;
	color: var(--muted);
	letter-spacing: 0.08em;
	padding-top: 6px;
}

.section-intro {
	font-size: 1rem;
	color: var(--muted);
	max-width: 62ch;
	margin-top: 2px;
}

.section-head--dark {
	border-top-color: rgba(255, 255, 255, 0.18);
}

.section-head--dark .section-index,
.section-head--dark .section-intro {
	color: #a5b0b8;
}

.section-head--dark .eyebrow {
	color: #ffb184;
}

.section-foot-link {
	margin-top: 34px;
}

/* 7. Buttons, links, chips ------------------------------------------------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	padding: 14px 22px;
	border-radius: 999px;
	font-size: 15px;
	font-weight: 650;
	letter-spacing: 0.005em;
	border: 1px solid transparent;
	transition: transform 0.16s ease, background-color 0.16s ease, color 0.16s ease, border-color 0.16s ease;
	cursor: pointer;
}

.btn .icon {
	transition: transform 0.16s ease;
}

.btn:hover .icon {
	transform: translateX(3px);
}

.btn--solid {
	background: var(--ember);
	color: #fff;
}

.btn--solid:hover {
	background: var(--ember-dark);
	color: #fff;
	transform: translateY(-1px);
}

.btn--ghost {
	border-color: rgba(255, 255, 255, 0.34);
	color: #fff;
}

.btn--ghost:hover {
	background: rgba(255, 255, 255, 0.1);
	color: #fff;
}

.section .btn--ghost,
.page-hero .btn--ghost,
.machine-hero .btn--ghost,
.answer-box .btn--ghost {
	border-color: var(--line-strong);
	color: var(--ink);
}

.section .btn--ghost:hover,
.page-hero .btn--ghost:hover,
.machine-hero .btn--ghost:hover,
.answer-box .btn--ghost:hover {
	background: var(--ink);
	border-color: var(--ink);
	color: #fff;
}

.btn--light {
	background: #fff;
	color: var(--ink);
}

.btn--light:hover {
	background: var(--sand);
	color: var(--ink);
}

.btn--small {
	padding: 10px 17px;
	font-size: 14px;
}

.btn--block {
	width: 100%;
	margin-top: 14px;
}

.link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	font-weight: 650;
	color: var(--ember-dark);
}

.link-arrow .icon {
	transition: transform 0.16s ease;
}

.link-arrow:hover .icon {
	transform: translateX(3px);
}

.chip-list {
	display: flex;
	flex-wrap: wrap;
	gap: 9px;
}

.chip-list li {
	font-size: 13.5px;
	padding: 8px 14px;
	border-radius: 999px;
	background: var(--sand);
	color: var(--ink-soft);
}

.chip-list--outline li {
	background: transparent;
	border: 1px dashed var(--line-strong);
	color: var(--muted);
}

.chip-list a {
	color: inherit;
}

.chip-list a:hover {
	color: var(--ember-dark);
}

/* 8. Cards ----------------------------------------------------------------- */
.card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
	transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.card:hover {
	transform: translateY(-3px);
	box-shadow: var(--shadow);
	border-color: transparent;
}

.card-media {
	position: relative;
	display: block;
	background: #fff;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	border-bottom: 1px solid var(--line);
}

.card-img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	padding: 10px;
	transition: transform 0.4s ease;
}

.card:hover .card-img {
	transform: scale(1.03);
}

.card-tag {
	position: absolute;
	left: 12px;
	top: 12px;
	font-family: var(--mono);
	font-size: 11px;
	letter-spacing: 0.06em;
	background: var(--ink);
	color: #fff;
	padding: 5px 9px;
	border-radius: 5px;
}

.card-body {
	display: flex;
	flex-direction: column;
	gap: 9px;
	padding: 18px 20px 20px;
	flex: 1;
}

.card-kicker {
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--muted);
}

.card-title {
	font-size: 1.06rem;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: -0.008em;
}

.card-title a:hover {
	color: var(--ember-dark);
}

.card-text {
	font-size: 14px;
	color: var(--muted);
	line-height: 1.58;
}

.card-specs {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
	margin-top: auto;
	padding-top: 14px;
	border-top: 1px solid var(--line);
}

.card-specs dt {
	font-size: 11px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--muted);
}

.card-specs dd {
	font-size: 13.5px;
	font-weight: 650;
	color: var(--ink);
	margin-top: 2px;
}

.card-body .link-arrow {
	margin-top: 10px;
}

.section--dark .card {
	background: var(--ink-soft);
	border-color: rgba(255, 255, 255, 0.1);
}

.section--dark .card-media {
	background: #fff;
	border-bottom-color: rgba(255, 255, 255, 0.12);
}

.section--dark .card-title,
.section--dark .card-specs dd {
	color: #f4f6f8;
}

.section--dark .card-kicker,
.section--dark .card-text,
.section--dark .card-specs dt {
	color: #9fabb4;
}

.section--dark .card:hover {
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.pillar {
	padding: 26px 24px 28px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.pillar-no {
	font-family: var(--mono);
	font-size: 12px;
	color: var(--ember-dark);
	letter-spacing: 0.1em;
}

.pillar-title {
	font-size: 1.1rem;
	font-weight: 700;
	line-height: 1.3;
}

.pillar-text {
	font-size: 14.5px;
	color: var(--muted);
	flex: 1;
}

.service-card {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 22px 24px;
}

.service-card p {
	font-size: 14.5px;
	color: var(--muted);
}

/* 9. Answer blocks, tables, specs ------------------------------------------ */
.answer-wrap {
	display: flex;
	justify-content: center;
}

.answer {
	position: relative;
	max-width: 860px;
	background: #fff;
	border: 1px solid var(--line);
	border-left: 4px solid var(--ember);
	border-radius: var(--radius);
	padding: 24px 28px 26px;
	box-shadow: var(--shadow-sm);
}

.answer--wide {
	max-width: 960px;
	width: 100%;
}

.answer-label {
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--ember-dark);
	margin-bottom: 8px;
}

.answer-q {
	font-size: 1.12rem;
	font-weight: 750;
	letter-spacing: -0.01em;
	margin-bottom: 8px;
}

.answer-text {
	font-size: 1.02rem;
	line-height: 1.65;
	color: #2a323a;
}

.answer-cite {
	margin-top: 10px;
	font-size: 13.5px;
}

.answer-cite a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-weight: 650;
	color: var(--ember-dark);
}

.table-scroll {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: #fff;
}

.table-caption {
	caption-side: top;
	text-align: left;
	font-size: 12.5px;
	color: var(--muted);
	padding: 12px 16px;
	border-bottom: 1px solid var(--line);
	background: var(--sand);
}

.data-table,
.model-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
	min-width: 560px;
}

.data-table th,
.data-table td,
.model-table th,
.model-table td {
	padding: 13px 16px;
	text-align: left;
	vertical-align: top;
	border-bottom: 1px solid var(--line);
}

.data-table thead th,
.model-table thead th {
	font-size: 11.5px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--muted);
	background: #faf8f4;
	font-weight: 700;
	white-space: nowrap;
}

.data-table tbody th,
.model-table tbody th {
	font-weight: 650;
	color: var(--ink);
	white-space: nowrap;
}

.data-table tbody tr:last-child th,
.data-table tbody tr:last-child td,
.model-table tbody tr:last-child th,
.model-table tbody tr:last-child td {
	border-bottom: 0;
}

.data-table tbody tr:hover,
.model-table tbody tr:hover {
	background: #fcfaf7;
}

.model-table td {
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.cell-code {
	display: block;
	font-family: var(--mono);
	font-size: 11px;
	color: var(--muted);
	margin-top: 2px;
}

.cell-sub {
	display: block;
	font-size: 12px;
	color: var(--muted);
	font-weight: 400;
	white-space: normal;
	margin-top: 2px;
}

.note-list {
	margin-top: 18px;
	display: grid;
	gap: 6px;
}

.note-list li {
	position: relative;
	padding-left: 16px;
	font-size: 13px;
	color: var(--muted);
	line-height: 1.6;
}

.note-list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 9px;
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: var(--line-strong);
}

.spec-list {
	display: grid;
	gap: 0;
	border-top: 1px solid var(--line);
}

.spec-row {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
	gap: 12px;
	padding: 10px 0;
	border-bottom: 1px solid var(--line);
	font-size: 13.5px;
}

.spec-row dt {
	color: var(--muted);
}

.spec-row dd {
	margin: 0;
	font-weight: 600;
	color: var(--ink);
	text-align: right;
}

.footnote {
	font-size: 12px;
	color: var(--muted);
	line-height: 1.55;
	margin-top: 12px;
}

/* 10. Steps, process, timeline, FAQ --------------------------------------- */
.steps {
	display: grid;
	/* auto-fit gives five across in full-width sections and wraps to three or
	   four inside the narrower machine column, without extra markup. Each step
	   carries its own top rule so wrapped rows never show a stray divider. */
	grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
	gap: 24px 22px;
}

.step {
	position: relative;
	padding: 20px 0 0;
	border-top: 1px solid var(--line);
}

.step:first-child {
	padding-left: 0;
}

.step-no {
	font-family: var(--mono);
	font-size: 12px;
	color: var(--ember-dark);
	letter-spacing: 0.1em;
	margin-bottom: 10px;
}

.step-title {
	font-size: 1rem;
	font-weight: 700;
	margin-bottom: 6px;
}

.step-text {
	font-size: 13.5px;
	color: var(--muted);
	line-height: 1.56;
}

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

.process-card {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 24px;
	position: relative;
}

.process-no {
	font-family: var(--mono);
	font-size: 12px;
	color: var(--ember-dark);
	letter-spacing: 0.1em;
	margin-bottom: 12px;
}

.process-title {
	font-size: 1.05rem;
	font-weight: 700;
	margin-bottom: 8px;
}

.process-text {
	font-size: 14px;
	color: var(--muted);
}

.timeline {
	border-top: 1px solid var(--line);
}

.timeline-item {
	display: grid;
	grid-template-columns: 110px minmax(0, 1fr) minmax(0, 1.3fr);
	gap: 24px;
	align-items: baseline;
	padding: 22px 0;
	border-bottom: 1px solid var(--line);
}

.timeline-year {
	font-family: var(--mono);
	font-size: 15px;
	font-weight: 700;
	color: var(--ember-dark);
}

.timeline-title {
	font-size: 1.06rem;
	font-weight: 700;
}

.timeline-text {
	font-size: 14.5px;
	color: var(--muted);
}

.faq-wrap {
	display: grid;
	grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
	gap: clamp(30px, 4vw, 64px);
	align-items: start;
}

.faq-intro .link-arrow {
	margin-top: 16px;
}

.faq-list {
	display: grid;
	gap: 0;
	border-top: 1px solid var(--line-strong);
}

.faq-item {
	border-bottom: 1px solid var(--line);
}

.faq-q {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	padding: 17px 0;
	font-size: 15.5px;
	font-weight: 650;
	cursor: pointer;
	list-style: none;
	line-height: 1.45;
}

.faq-q::-webkit-details-marker {
	display: none;
}

.faq-q .icon {
	flex: 0 0 auto;
	margin-top: 3px;
	color: var(--ember-dark);
	transition: transform 0.2s ease;
}

.faq-item[open] .faq-q .icon {
	transform: rotate(45deg);
}

.faq-a {
	padding: 0 0 18px;
	font-size: 14.5px;
	color: var(--muted);
	line-height: 1.66;
	max-width: 68ch;
}

.faq-a p + p {
	margin-top: 10px;
}

.faq-layout {
	display: grid;
	grid-template-columns: 250px minmax(0, 1fr);
	gap: clamp(28px, 4vw, 60px);
	align-items: start;
}

.faq-nav {
	position: sticky;
	top: 100px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 20px;
	background: #fff;
}

.faq-nav-title {
	font-size: 11.5px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--muted);
	margin-bottom: 10px;
}

.faq-nav ol {
	display: grid;
	gap: 2px;
}

.faq-nav a {
	display: flex;
	justify-content: space-between;
	gap: 10px;
	padding: 8px 0;
	font-size: 14px;
	border-bottom: 1px dashed var(--line);
}

.faq-nav li:last-child a {
	border-bottom: 0;
}

.faq-nav a span {
	font-family: var(--mono);
	font-size: 11.5px;
	color: var(--muted);
}

.faq-nav-cta {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 14px;
	font-size: 14px;
	font-weight: 650;
	color: var(--ember-dark);
}

.faq-groups {
	display: grid;
	gap: 46px;
}

/* 11. Forms ---------------------------------------------------------------- */
.quote-wrap {
	display: grid;
	grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
	gap: clamp(30px, 4vw, 56px);
	align-items: start;
}

.quote-copy .check-list {
	margin-top: 18px;
}

.quote-card {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	padding: clamp(22px, 3vw, 34px);
	box-shadow: var(--shadow);
}

.quote-head {
	margin-bottom: 20px;
}

.quote-intro {
	font-size: 14px;
	color: var(--muted);
}

.quote-form {
	display: grid;
	gap: 16px;
}

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

.field {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.field--wide {
	grid-column: 1 / -1;
}

.field label {
	font-size: 12.5px;
	font-weight: 650;
	letter-spacing: 0.02em;
	color: var(--ink-soft);
}

.req {
	color: var(--ember-dark);
}

.field input,
.field textarea {
	width: 100%;
	padding: 12px 14px;
	font: inherit;
	font-size: 14.5px;
	color: var(--ink);
	background: #fcfbf9;
	border: 1px solid var(--line-strong);
	border-radius: var(--radius-sm);
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.field textarea {
	resize: vertical;
	min-height: 108px;
}

.field input:focus,
.field textarea:focus {
	outline: none;
	border-color: var(--ember);
	box-shadow: 0 0 0 3px rgba(232, 98, 28, 0.14);
	background: #fff;
}

.field.is-invalid input,
.field.is-invalid textarea {
	border-color: var(--err);
	background: #fff8f7;
}

.hp-field {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.form-foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	flex-wrap: wrap;
	margin-top: 4px;
}

.form-privacy {
	font-size: 12px;
	color: var(--muted);
	max-width: 34ch;
	line-height: 1.5;
}

.form-note {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	font-size: 14px;
	padding: 12px 14px;
	border-radius: var(--radius-sm);
	margin-bottom: 16px;
}

.form-note--ok {
	background: #eef8f1;
	color: #145c38;
	border: 1px solid #bfe3cd;
}

.form-note--err {
	background: #fdeeed;
	color: #8f1d17;
	border: 1px solid #f3c9c5;
}

/* 12. Machine detail ------------------------------------------------------- */
.machine-hero {
	background: var(--sand);
	padding-bottom: clamp(30px, 4vw, 56px);
}

.machine-hero .breadcrumbs {
	padding-top: 22px;
}

.machine-hero-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
	gap: clamp(28px, 4vw, 52px);
	align-items: start;
	margin-top: 18px;
}

.machine-media {
	background: #fff;
	border-radius: var(--radius-lg);
	padding: 16px;
	box-shadow: var(--shadow-sm);
	position: sticky;
	top: 96px;
}

.machine-img {
	width: 100%;
	border-radius: var(--radius);
}

.machine-media figcaption {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	font-size: 12.5px;
	color: var(--muted);
	padding-top: 12px;
	margin-top: 12px;
	border-top: 1px solid var(--line);
}

.fig-code {
	font-family: var(--mono);
	font-size: 11.5px;
	background: var(--sand);
	padding: 3px 8px;
	border-radius: 4px;
	color: var(--ink);
	letter-spacing: 0.04em;
}

.machine-lede {
	font-size: 1.06rem;
	color: var(--ink-soft);
	margin: 12px 0 20px;
	max-width: 52ch;
}

.quick-specs {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1px;
	background: var(--line);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
}

.quick-specs > div {
	background: #fff;
	padding: 13px 15px;
}

.quick-specs dt {
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.07em;
	color: var(--muted);
}

.quick-specs dd {
	font-size: 14px;
	font-weight: 650;
	margin-top: 3px;
	line-height: 1.4;
}

.micro-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 26px;
	margin-top: 20px;
	font-size: 12.5px;
	color: var(--muted);
}

.micro-meta li {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.micro-meta span {
	font-size: 10.5px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--line-strong);
	color: #9aa3ab;
}

.micro-meta li {
	color: var(--ink-soft);
	font-weight: 600;
}

.machine-body {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 340px;
	gap: clamp(32px, 4vw, 60px);
	align-items: start;
}

.machine-main > .h3 {
	margin-top: 40px;
}

.machine-main > .h3:first-child {
	margin-top: 0;
}

.body-copy {
	font-size: 15.5px;
	line-height: 1.72;
	color: #333c44;
	margin-bottom: 16px;
	max-width: 72ch;
}

.machine-aside {
	display: grid;
	gap: 18px;
	position: sticky;
	top: 96px;
}

.aside-card {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 22px;
}

.aside-card--price {
	background: var(--sand);
	border-color: var(--sand-2);
}

.price-figure {
	font-size: 1.5rem;
	font-weight: 800;
	letter-spacing: -0.02em;
	margin-bottom: 4px;
}

.aside-card--dark {
	background: var(--ink);
	color: #e9edf0;
	border-color: var(--ink);
}

.aside-card--dark p {
	font-size: 14px;
	color: #b6c0c8;
	margin-bottom: 10px;
}

.aside-card--dark .h4 {
	color: #fff;
}

.aside-link {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	font-weight: 650;
	color: #fff;
	padding: 6px 0;
}

.aside-link:hover {
	color: #ffb184;
}

.aside-note {
	font-size: 12px;
	color: #93a0a9;
	margin-top: 8px;
}

.split {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(24px, 3vw, 44px);
	margin-top: 40px;
}

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

.check-list li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 14.5px;
	line-height: 1.55;
	color: #333c44;
}

.check-list .icon {
	flex: 0 0 auto;
	margin-top: 3px;
	color: var(--ember-dark);
}

.check-list--two {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px 30px;
}

.section--dark .check-list li {
	color: #d4dbe0;
}

.num-list {
	display: grid;
	gap: 10px;
	counter-reset: n;
	margin-bottom: 18px;
}

.num-list li {
	position: relative;
	padding-left: 34px;
	font-size: 14.5px;
	line-height: 1.6;
	color: #333c44;
	counter-increment: n;
}

.num-list li::before {
	content: counter(n, decimal-leading-zero);
	position: absolute;
	left: 0;
	top: 1px;
	font-family: var(--mono);
	font-size: 12px;
	color: var(--ember-dark);
}

/* 13. Article & prose ------------------------------------------------------ */
.post-hero {
	background: var(--sand);
	padding: clamp(30px, 4vw, 56px) 0 clamp(26px, 3vw, 40px);
}

.post-hero .display {
	margin-top: 16px;
	max-width: 30ch;
}

.post-media.wrap {
	margin-top: -20px;
	margin-bottom: 0;
}

.post-img {
	width: 100%;
	/* Machine shots are cut-outs on white, so cap the height and letterbox
	   instead of letting the aspect ratio run the full column width. */
	aspect-ratio: 21 / 9;
	object-fit: contain;
	border-radius: var(--radius-lg);
	background: #fff;
	border: 1px solid var(--line);
}

.post-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 300px;
	gap: clamp(32px, 4vw, 64px);
	align-items: start;
	padding-top: clamp(34px, 4vw, 56px);
}

.post-body .h3 {
	margin-top: 36px;
}

.post-body .h3:first-child {
	margin-top: 0;
}

.post-body .data-table {
	min-width: 520px;
}

.post-aside {
	display: grid;
	gap: 18px;
}

/* Compact link list used by legacy posts for related reading. */
.link-list {
	list-style: none;
	margin: 0 0 28px;
	padding: 0;
	border-top: 1px solid var(--line);
}

.link-list li {
	border-bottom: 1px solid var(--line);
}

.link-list a {
	display: block;
	padding: 14px 0;
	font-size: 15px;
	color: var(--ink);
}

.link-list a:hover {
	color: var(--ember-dark);
}

/* Legacy archive and search results: dense list, no card art. */
.archive-list {
	list-style: none;
	margin: 0;
	padding: 0;
	border-top: 1px solid var(--line);
}

.archive-item {
	border-bottom: 1px solid var(--line);
}

.archive-item a {
	display: block;
	padding: 20px 0;
}

.archive-item time {
	font-family: var(--mono);
	font-size: 11.5px;
	letter-spacing: 0.06em;
	color: var(--muted);
}

.archive-item h2,
.archive-item h3 {
	font-size: 1.02rem;
	line-height: 1.4;
	font-weight: 650;
	color: var(--ink);
	margin: 6px 0 6px;
}

.archive-item a:hover h2,
.archive-item a:hover h3 {
	color: var(--ember-dark);
}

.archive-more {
	margin-top: 30px;
	text-align: center;
}

.archive-item p {
	font-size: 14px;
	line-height: 1.6;
	color: var(--muted);
	max-width: 78ch;
	margin: 0;
}

.pagination {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 34px;
	font-size: 14px;
}

.pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 38px;
	height: 38px;
	padding: 0 12px;
	border: 1px solid var(--line-strong);
	border-radius: 999px;
	color: var(--ink);
}

.pagination .page-numbers.current,
.pagination .page-numbers:hover {
	background: var(--ink);
	border-color: var(--ink);
	color: #fff;
}

.aside-card--sticky {
	position: sticky;
	top: 96px;
}

.toc {
	display: grid;
	gap: 8px;
}

.toc a {
	font-size: 13.5px;
	color: var(--muted);
	line-height: 1.45;
	display: block;
	padding-left: 12px;
	border-left: 2px solid var(--line);
}

.toc a:hover {
	color: var(--ember-dark);
	border-left-color: var(--ember);
}

.prose {
	max-width: 760px;
	font-size: 16.5px;
	line-height: 1.85;
	color: var(--ink-soft);
	overflow-wrap: break-word;
	word-break: break-word;
}

.prose > * + * {
	margin-top: 1.15em;
}

.prose p {
	margin: 0;
}

/* Headings: legacy articles carry no subheads of their own, so the render
   filter promotes bold lead-ins to h2/h3. These rules make that structure
   visible at a glance. */
.prose h1,
.prose h2,
.prose h3,
.prose h4 {
	color: var(--ink);
	line-height: 1.35;
	letter-spacing: -0.01em;
	font-weight: 650;
}

.prose h2 {
	margin-top: 2em;
	padding-left: 15px;
	border-left: 3px solid var(--ember);
	font-size: clamp(20px, 2vw, 24px);
}

.prose h2 + * {
	margin-top: 0.85em;
}

.prose h3 {
	margin-top: 1.75em;
	font-size: clamp(17px, 1.6vw, 19px);
}

.prose h4 {
	margin-top: 1.5em;
	font-size: 16.5px;
}

.prose .h3 {
	margin-top: 34px;
}

.prose .h3:first-child {
	margin-top: 0;
}

.prose strong {
	color: var(--ink);
	font-weight: 650;
}

.prose a {
	color: var(--ember-dark);
	text-decoration: underline;
	text-underline-offset: 2px;
	text-decoration-thickness: 1px;
}

.prose a:hover {
	color: var(--ink);
}

.prose ul,
.prose ol {
	margin: 0;
	padding-left: 1.35em;
}

.prose li + li {
	margin-top: 0.45em;
}

.prose li > ul,
.prose li > ol {
	margin-top: 0.45em;
}

.prose blockquote {
	margin: 1.6em 0;
	padding: 16px 22px;
	border-left: 3px solid var(--line-strong);
	background: var(--sand);
	border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
	color: var(--ink-soft);
}

.prose blockquote p + p {
	margin-top: 0.8em;
}

.prose hr {
	margin: 2.2em 0;
	border: 0;
	border-top: 1px solid var(--line);
}

/* Images and the classic caption markup still emitted by the old editor. */
.prose img {
	max-width: 100%;
	height: auto;
	border-radius: var(--radius-sm);
}

.prose figure,
.prose .wp-caption {
	max-width: 100%;
	margin: 1.7em 0;
}

.prose figure img,
.prose .wp-caption img {
	display: block;
	width: 100%;
	margin: 0;
}

.prose figcaption,
.prose .wp-caption-text,
.prose .gallery-caption {
	margin-top: 9px;
	font-size: 13.5px;
	line-height: 1.6;
	color: var(--muted);
	text-align: center;
}

.prose .aligncenter {
	margin-left: auto;
	margin-right: auto;
}

.prose .alignleft {
	float: left;
	max-width: 50%;
	margin: 0 24px 16px 0;
}

.prose .alignright {
	float: right;
	max-width: 50%;
	margin: 0 0 16px 24px;
}

.prose .alignnone {
	margin-left: 0;
	margin-right: 0;
}

.prose::after {
	content: "";
	display: table;
	clear: both;
}

/* Legacy tables are wide by nature: keep them readable instead of clipped. */
.prose table {
	display: block;
	width: 100%;
	max-width: 100%;
	overflow-x: auto;
	border-collapse: collapse;
	font-size: 14.5px;
	-webkit-overflow-scrolling: touch;
}

.prose table th,
.prose table td {
	padding: 10px 14px;
	border: 1px solid var(--line);
	text-align: left;
	white-space: nowrap;
}

.prose table th {
	background: var(--sand);
	color: var(--ink);
	font-weight: 600;
}

.prose table tr:nth-child(even) td {
	background: #fbfbfa;
}

.search-form {
	display: flex;
	gap: 10px;
	margin-top: 22px;
	max-width: 620px;
}

.search-form input {
	flex: 1;
	padding: 13px 16px;
	font: inherit;
	font-size: 15px;
	border: 1px solid var(--line-strong);
	border-radius: 999px;
	background: #fff;
}

.search-form input:focus {
	outline: none;
	border-color: var(--ember);
	box-shadow: 0 0 0 3px rgba(232, 98, 28, 0.14);
}

.search-summary {
	font-size: 14px;
	color: var(--muted);
	margin-bottom: 26px;
}

.search-empty {
	font-size: 15px;
	color: var(--muted);
	padding: 24px;
	background: var(--sand);
	border-radius: var(--radius);
}

.search-suggest {
	margin-top: 26px;
}

.search-scope {
	margin-top: 16px;
}

.result-list {
	display: grid;
	gap: 0;
	border-top: 1px solid var(--line);
}

.result {
	padding: 22px 0;
	border-bottom: 1px solid var(--line);
}

.result-type {
	font-size: 11px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--ember-dark);
	margin-bottom: 6px;
}

.result-title {
	font-size: 1.1rem;
	font-weight: 700;
	margin-bottom: 6px;
}

.result-text {
	font-size: 14px;
	color: var(--muted);
	max-width: 76ch;
}

/* Page-specific blocks ----------------------------------------------------- */
.range-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	flex-wrap: wrap;
	margin-bottom: 26px;
}

.filter-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.chip {
	padding: 9px 15px;
	font-size: 13.5px;
	border-radius: 999px;
	border: 1px solid var(--line-strong);
	background: #fff;
	cursor: pointer;
	transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.chip:hover {
	border-color: var(--ink);
}

.chip.is-active {
	background: var(--ink);
	border-color: var(--ink);
	color: #fff;
}

.range-count {
	font-size: 13px;
	color: var(--muted);
	font-family: var(--mono);
}

.card.is-hidden {
	display: none;
}

.app-chips {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1px;
	background: var(--line);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
}

.app-chips a {
	display: flex;
	flex-direction: column;
	gap: 4px;
	height: 100%;
	padding: 18px 20px;
	background: #fff;
	transition: background 0.15s ease;
}

.app-chips a:hover {
	background: var(--sand);
}

.app-name {
	font-size: 14.5px;
	font-weight: 650;
	line-height: 1.35;
}

.app-output {
	font-family: var(--mono);
	font-size: 11.5px;
	color: var(--muted);
}

.app-list {
	display: grid;
	gap: clamp(30px, 4vw, 54px);
}

.app-row {
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
	gap: clamp(26px, 4vw, 56px);
	padding-top: clamp(24px, 3vw, 38px);
	border-top: 1px solid var(--line);
	align-items: start;
}

.app-no {
	font-family: var(--mono);
	font-size: 12px;
	letter-spacing: 0.1em;
	color: var(--ember-dark);
	margin-bottom: 8px;
}

.app-intro {
	font-size: 15.5px;
	color: var(--muted);
	max-width: 60ch;
	margin-bottom: 16px;
}

.app-facts {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
	padding: 16px 0;
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
	margin-bottom: 16px;
}

.app-facts dt {
	font-size: 10.5px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--muted);
}

.app-facts dd {
	font-size: 14px;
	font-weight: 650;
	margin-top: 3px;
}

.app-sub {
	font-size: 12px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--muted);
	margin-bottom: 10px;
}

.app-machine {
	background: var(--sand);
	border: 1px solid var(--sand-2);
	border-radius: var(--radius);
	padding: 16px;
}

.app-machine-media {
	display: block;
	background: #fff;
	border-radius: var(--radius-sm);
	overflow: hidden;
	margin-bottom: 14px;
}

.app-machine-media img {
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: contain;
	padding: 8px;
}

.app-machine-title {
	font-size: 1.05rem;
	font-weight: 700;
	margin: 4px 0 4px;
}

.app-machine-spec {
	font-size: 12.5px;
	color: var(--muted);
	font-family: var(--mono);
	margin-bottom: 8px;
}

.why-grid {
	display: grid;
	grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
	gap: clamp(30px, 4vw, 64px);
	align-items: start;
}

.why-list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 26px 32px;
}

.why-item {
	display: flex;
	gap: 14px;
	align-items: flex-start;
}

.why-no {
	font-family: var(--mono);
	font-size: 12px;
	color: var(--ember-dark);
	padding-top: 3px;
}

.why-title {
	font-size: 1rem;
	font-weight: 700;
	margin-bottom: 4px;
}

.why-text {
	font-size: 14px;
	color: var(--muted);
	line-height: 1.6;
}

.about-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
	gap: clamp(30px, 4vw, 64px);
	align-items: start;
}

.about-aside {
	background: var(--sand);
	border: 1px solid var(--sand-2);
	border-radius: var(--radius);
	padding: 24px;
}

.visit-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
	gap: clamp(30px, 4vw, 64px);
	align-items: start;
}

.contact-block {
	font-style: normal;
	background: var(--sand);
	border: 1px solid var(--sand-2);
	border-radius: var(--radius);
	padding: 22px;
	display: grid;
	gap: 4px;
	font-size: 14.5px;
}

.contact-name {
	font-weight: 700;
	margin-bottom: 6px;
}

.contact-block a {
	font-weight: 650;
}

.muted {
	color: var(--muted);
	font-size: 13px;
}

.cert-line {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin-top: 28px;
	padding: 16px 18px;
	background: var(--sand);
	border-radius: var(--radius);
	font-size: 13.5px;
	color: var(--ink-soft);
	max-width: 80ch;
}

.cert-line .icon {
	flex: 0 0 auto;
	color: var(--ember-dark);
}

.contact-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
	gap: clamp(28px, 4vw, 56px);
	align-items: start;
}

.contact-side {
	display: grid;
	gap: 18px;
}

.contact-channels {
	display: grid;
	gap: 12px;
}

.contact-channels li {
	display: flex;
	flex-direction: column;
	gap: 1px;
	padding-bottom: 10px;
	border-bottom: 1px solid var(--line);
}

.contact-channels li:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}

.channel-label {
	font-size: 10.5px;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--muted);
}

.contact-channels a {
	font-size: 15px;
	font-weight: 650;
}

.contact-note {
	background: var(--ink);
	color: #e7ecf0;
	border-radius: var(--radius);
	padding: clamp(24px, 3vw, 34px);
}

.contact-note .eyebrow {
	color: #ffb184;
}

.contact-note .h3,
.contact-note .body-copy {
	color: #fff;
}

.contact-note .body-copy {
	color: #c2ccd3;
}

.contact-note .check-list li {
	color: #d8dfe4;
}

.cta-band {
	background: var(--ink);
	color: #fff;
	padding: clamp(40px, 5vw, 68px) 0;
}

.cta-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
	gap: 30px;
	align-items: center;
}

.cta-band .eyebrow {
	color: #ffb184;
}

.cta-band .h2 {
	color: #fff;
	max-width: 26ch;
}

.cta-band .lede {
	color: #bcc6ce;
}

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

.notfound {
	text-align: left;
}

/* Breadcrumbs & share ------------------------------------------------------ */
.breadcrumbs ol {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	font-size: 12.5px;
	color: var(--muted);
}

.breadcrumbs li {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.breadcrumbs li + li::before {
	content: "/";
	color: var(--line-strong);
}

.breadcrumbs a:hover {
	color: var(--ember-dark);
}

.breadcrumbs [aria-current="page"] {
	color: var(--ink-soft);
	font-weight: 600;
}

.share {
	display: flex;
	align-items: center;
	gap: 14px;
	flex-wrap: wrap;
	font-size: 12.5px;
	color: var(--muted);
	margin-top: 26px;
	padding-top: 16px;
	border-top: 1px solid var(--line);
}

.share a {
	font-weight: 650;
	color: var(--ink-soft);
}

/* 14. Footer --------------------------------------------------------------- */
.site-footer {
	background: #0d1114;
	color: #aeb8c0;
	font-size: 14px;
	padding-top: clamp(44px, 5vw, 72px);
}

.footer-top {
	display: grid;
	grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr) minmax(0, 0.8fr) minmax(0, 1fr);
	gap: clamp(26px, 3vw, 48px);
	padding-bottom: 42px;
}

.brand--footer .brand-mark {
	background: var(--ember);
}

.brand--footer .brand-text strong {
	color: #fff;
	font-size: 15.5px;
}

.brand--footer .brand-text small {
	color: #8b959d;
	font-size: 11px;
	line-height: 1.4;
}

.footer-desc {
	margin: 16px 0 18px;
	font-size: 13.5px;
	line-height: 1.62;
	color: #98a3ab;
	max-width: 40ch;
}

.footer-nap {
	display: grid;
	gap: 8px;
	font-size: 13px;
}

.footer-nap li {
	display: flex;
	align-items: flex-start;
	gap: 9px;
	line-height: 1.5;
}

.footer-nap .icon {
	flex: 0 0 auto;
	margin-top: 3px;
	color: var(--ember);
}

.footer-nap a,
.footer-links a {
	color: #c2ccd3;
}

.footer-nap a:hover,
.footer-links a:hover {
	color: #fff;
}

.footer-title {
	font-size: 11.5px;
	letter-spacing: 0.13em;
	text-transform: uppercase;
	color: #fff;
	font-weight: 700;
	margin-bottom: 14px;
}

.footer-links {
	display: grid;
	gap: 8px;
	font-size: 13.5px;
}

.footer-terms {
	font-size: 12.5px;
	color: #8b959d;
	line-height: 1.6;
	margin: 16px 0;
}

.footer-map {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-size: 12.5px;
	font-weight: 650;
	color: #ffb184;
}

.footer-bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	flex-wrap: wrap;
	padding: 20px 0 28px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	font-size: 12.5px;
	color: #8b959d;
}

.footer-meta {
	display: flex;
	align-items: center;
	gap: 16px;
	flex-wrap: wrap;
}

.footer-meta a {
	font-family: var(--mono);
	font-size: 11.5px;
	color: #7f8991;
}

.footer-meta a:hover {
	color: #fff;
}

/* 15. Utilities & motion --------------------------------------------------- */
.section--dark .data-table,
.section--dark .table-scroll {
	background: #fff;
	color: var(--ink);
}

.section--dark .table-caption {
	background: var(--sand);
}

.icon {
	flex: 0 0 auto;
}

[hidden] {
	display: none !important;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: 0.001ms !important;
		transition-duration: 0.001ms !important;
	}
}

/* Reveal-on-scroll: only when JS is present, so no content is ever hidden. */
.js .reveal {
	opacity: 0;
	transform: translateY(14px);
	transition: opacity 0.5s ease, transform 0.5s ease;
}

.js .reveal.is-visible {
	opacity: 1;
	transform: none;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
	.nav-links a {
		padding: 10px 10px;
		font-size: 14px;
	}

	.header-quote {
		display: none;
	}

	.hero-grid,
	.page-hero-grid,
	.machine-hero-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.machine-media {
		position: static;
	}

	.hero-media {
		order: -1;
	}

	.machine-body,
	.post-layout,
	.contact-grid,
	.faq-wrap,
	.quote-wrap,
	.why-grid,
	.about-grid,
	.visit-grid,
	.two-col {
		grid-template-columns: minmax(0, 1fr);
	}

	.machine-aside,
	.post-aside,
	.aside-card--sticky,
	.faq-nav {
		position: static;
	}

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

	.steps {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 22px;
	}

	.step {
		padding: 18px 0 0;
	}

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

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

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

	.cta-grid {
		grid-template-columns: minmax(0, 1fr);
	}

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

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

@media (max-width: 900px) {
	body {
		font-size: 16px;
	}

	.wrap {
		width: min(var(--wrap), 100% - 36px);
	}

	.topbar-mail,
	.topbar-note {
		display: none;
	}

	.topbar-inner {
		justify-content: flex-end;
	}

	.menu-toggle {
		display: inline-flex;
	}

	.nav {
		position: fixed;
		inset: 74px 0 0 0;
		background: #fff;
		border-top: 1px solid var(--line);
		padding: 20px;
		overflow-y: auto;
		display: none;
		z-index: 55;
	}

	.nav.is-open {
		display: block;
	}

	.nav-links {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
	}

	.nav-links a {
		padding: 15px 4px;
		border-radius: 0;
		border-bottom: 1px solid var(--line);
		font-size: 16px;
	}

	.nav-mobile {
		display: grid;
		gap: 14px;
		margin-top: 22px;
	}

	.nav-mobile-label {
		font-size: 11.5px;
		letter-spacing: 0.12em;
		text-transform: uppercase;
		color: var(--muted);
		margin-top: 8px;
	}

	.nav-mobile-list {
		display: grid;
		gap: 2px;
	}

	.nav-mobile-list a {
		display: flex;
		justify-content: space-between;
		gap: 12px;
		padding: 11px 0;
		font-size: 14.5px;
		border-bottom: 1px dashed var(--line);
	}

	.nav-mobile-list span {
		font-family: var(--mono);
		font-size: 11px;
		color: var(--muted);
	}

	.nav-phone {
		display: inline-flex;
		align-items: center;
		gap: 8px;
		font-weight: 650;
		font-size: 15px;
	}

	.grid--2,
	.grid--3,
	.split,
	.check-list--two,
	.process-grid,
	.why-list,
	.machine-aside,
	.faq-layout,
	.app-row,
	.footer-top {
		grid-template-columns: minmax(0, 1fr);
	}

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

	.section-head {
		grid-template-columns: 48px minmax(0, 1fr);
		gap: 12px;
	}

	.machine-hero-grid {
		gap: 24px;
	}

	.app-facts,
	.quick-specs,
	.form-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.timeline-item {
		grid-template-columns: minmax(0, 1fr);
		gap: 6px;
	}

	.faq-layout {
		gap: 26px;
	}

	.post-media.wrap {
		margin-top: 0;
	}

	/* Scroll affordance for wide spec tables on touch screens. */
	.table-scroll {
		background-image:
			linear-gradient(to right, #fff 30%, rgba(255, 255, 255, 0)),
			linear-gradient(to left, #fff 30%, rgba(255, 255, 255, 0)),
			radial-gradient(farthest-side at 0 50%, rgba(18, 22, 26, 0.16), rgba(18, 22, 26, 0)),
			radial-gradient(farthest-side at 100% 50%, rgba(18, 22, 26, 0.16), rgba(18, 22, 26, 0));
		background-position: left center, right center, left center, right center;
		background-repeat: no-repeat;
		background-size: 36px 100%, 36px 100%, 14px 100%, 14px 100%;
		background-attachment: local, local, scroll, scroll;
	}

	.post-img {
		aspect-ratio: 16 / 9;
	}

	.display {
		max-width: 26ch;
	}
}

@media (max-width: 560px) {
	.topbar {
		font-size: 12px;
	}

	.topbar-links {
		gap: 12px;
	}

	.topbar-links a {
		white-space: nowrap;
	}

	.lang-switch {
		padding-left: 12px;
	}

	/* Touch targets: 33px is too small for a thumb on a phone. */
	.topbar-inner,
	.lang-switch summary {
		min-height: 44px;
	}

	.lang-switch summary {
		padding: 0 10px;
	}

	/* Eleven languages must stay reachable on a short phone viewport. */
	.lang-menu {
		max-height: 60vh;
	}

	.lang-menu a {
		min-height: 44px;
		padding: 12px 12px;
		font-size: 14px;
	}

	.header-inner {
		min-height: 66px;
	}

	.brand-text small {
		display: none;
	}

	.nav {
		inset: 66px 0 0 0;
	}

	.hero,
	.page-hero {
		padding-top: 28px;
	}

	.stat {
		padding: 16px;
	}

	.answer {
		padding: 20px;
	}

	.btn {
		width: 100%;
	}

	.hero-actions .btn,
	.cta-actions .btn,
	.faq-nav-cta {
		width: auto;
	}

	.cta-actions {
		flex-direction: column;
		align-items: stretch;
	}

	.search-form {
		flex-direction: column;
	}

	.footer-bottom {
		flex-direction: column;
		align-items: flex-start;
	}
}

/* --------------------------------------------------------------------------
 * Equipment & terminology index (views/lexicon.php)
 * Reuses the existing section, answer and quote components; only the term
 * cards and the FAQ disclosure need their own layout.
 * ----------------------------------------------------------------------- */
.lex-count {
	margin-top: 18px;
	font-size: 14px;
	color: #6b7784;
}

.lex-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
	gap: 18px;
	margin-top: 28px;
}

.lex-term {
	padding: 20px 22px;
	background: #ffffff;
	border: 1px solid #e3e7ec;
	border-radius: 3px;
	scroll-margin-top: 96px;
}

.lex-term:target {
	border-color: #12161a;
	box-shadow: 0 0 0 2px rgba(18, 22, 26, .08);
}

.lex-term h3 {
	margin: 0 0 4px;
	font-size: 17px;
	line-height: 1.35;
	color: #12161a;
}

.lex-term-zh {
	margin: 0 0 10px;
	font-size: 13px;
	color: #6b7784;
}

.lex-term-desc {
	margin: 0;
	font-size: 15px;
	line-height: 1.65;
	color: #4a5563;
}

.lex-link {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	margin-top: 12px;
	font-size: 14px;
	font-weight: 600;
}

.lex-faq {
	max-width: 880px;
	margin-top: 24px;
	border-top: 1px solid #e3e7ec;
}

.lex-faq-item {
	border-bottom: 1px solid #e3e7ec;
}

.lex-faq-item summary {
	padding: 16px 4px;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.5;
	cursor: pointer;
}

.lex-faq-item p {
	margin: 0;
	padding: 0 4px 18px;
	font-size: 15px;
	line-height: 1.75;
	color: #4a5563;
	max-width: 780px;
}

.lex-related {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 28px;
	margin-top: 24px;
}

.lex-related h3 {
	margin: 0 0 12px;
}

.lex-links {
	margin: 0;
	padding: 0;
	list-style: none;
}

.lex-links li {
	border-bottom: 1px solid #e9edf2;
}

.lex-links a {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	padding: 10px 2px;
	font-size: 15px;
}

.lex-links a span {
	color: #6b7784;
	font-size: 13px;
}

.lex-quote {
	max-width: 900px;
}

.lex-footer-nav {
	padding-top: 26px;
	padding-bottom: 8px;
	border-top: 1px solid rgba(255, 255, 255, .12);
}

.lex-footer-nav .footer-title {
	margin: 0 0 12px;
	font-size: 13px;
	letter-spacing: .04em;
	text-transform: uppercase;
}

.lex-footer-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 22px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.lex-footer-links a {
	font-size: 14px;
}

@media (max-width: 640px) {
	.lex-grid,
	.lex-related {
		grid-template-columns: 1fr;
	}

	.lex-term {
		padding: 16px 18px;
	}
}
