/* =========================================================
   Application page v2 (view_application_page.php)
   Layout after the client's industry-page template;
   Tipco brand: Inter headings, Inter text, teal palette.
   ========================================================= */
.ap {
	--ap-teal: #186b6d;
	--ap-teal-700: #135c5e;
	--ap-teal-dark: #0f4c4e;
	--ap-teal-950: #0a3335;
	--ap-teal-soft: #e8f4f4;
	--ap-mint: #8fe0d6;
	--ap-ink: #111827;
	--ap-text: #4b5563;
	--ap-muted: #6b7280;
	--ap-line: #e5e7eb;
	--ap-bg-alt: #f6f9f9;
	--ap-head: 'Inter', system-ui, sans-serif;
	font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
	color: var(--ap-text);
	background: #fff;
}
.ap *, .ap *::before, .ap *::after { box-sizing: border-box; }
.ap h1, .ap h2, .ap h3 { font-family: var(--ap-head); color: var(--ap-ink); letter-spacing: -0.02em; }
:where(.ap) h1, :where(.ap) h2, :where(.ap) h3 { margin: 0; }
:where(.ap) p { margin: 0; }
.ap-wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.ap-narrow { max-width: 880px; }
.ap-draft { background: #fff3cd; color: #7a5a00; text-align: center; padding: 10px 16px; font-size: 14px; border-bottom: 1px solid #f0d58c; }

/* ---------- shared ---------- */
.ap-eyebrow { display: flex; align-items: center; gap: 9px; font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ap-teal); margin-bottom: 14px; }
.ap-eyebrow::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex-shrink: 0; }
.ap-eyebrow--light { color: var(--ap-mint); }
.ap-section { padding: 72px 0; }
.ap-section--alt { background: var(--ap-bg-alt); }
.ap-section--tight { padding: 40px 0; }
.ap-section--tight-bottom { padding-bottom: 24px; }
.ap-section--intro { padding: 56px 0 8px; }
.ap-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 32px; }
.ap-h2 { font-size: clamp(26px, 2.6vw, 38px); font-weight: 700; line-height: 1.15; max-width: 640px; }
.ap-h3 { font-size: 20px; font-weight: 700; margin: 40px 0 18px; }
.ap-note { font-size: 14.5px; line-height: 1.6; color: var(--ap-muted); max-width: 360px; }
.ap-muted { font-size: 15px; line-height: 1.7; color: var(--ap-muted); margin-top: 20px; max-width: 760px; }
.ap-rich { font-size: 17px; line-height: 1.8; }
.ap-rich p { margin: 0 0 16px; }
.ap-rich p:last-child { margin-bottom: 0; }
.ap-card { background: #fff; border: 1px solid var(--ap-line); border-radius: 16px; }

.ap-btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 24px; border-radius: 10px; font-weight: 600; font-size: 15px; text-decoration: none !important; border: 1.5px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s; font-family: inherit; }
.ap-btn:hover { transform: translateY(-1px); }
.ap-btn--solid { background: var(--ap-teal); color: #fff !important; border-color: var(--ap-teal); }
.ap-btn--solid:hover { background: var(--ap-teal-dark); border-color: var(--ap-teal-dark); }
.ap-btn--light { background: #fff; color: var(--ap-teal-dark) !important; }
.ap-btn--light:hover { background: var(--ap-teal-soft); }
.ap-btn--outline { background: #fff; color: var(--ap-teal) !important; border-color: var(--ap-teal); }
.ap-btn--outline:hover { background: var(--ap-teal); color: #fff !important; }
.ap-textlink { font-weight: 700; font-size: 15px; color: var(--ap-ink) !important; text-decoration: none !important; border-bottom: 1.5px solid var(--ap-ink); padding-bottom: 2px; }
.ap-textlink:hover { color: var(--ap-teal) !important; border-color: var(--ap-teal); }
.ap-dots { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ap-dots li { position: relative; padding-left: 18px; font-size: 14.5px; line-height: 1.55; color: var(--ap-text); }
.ap-dots li::before { content: ''; position: absolute; left: 0; top: .6em; width: 7px; height: 7px; border-radius: 50%; background: var(--ap-teal); }
.ap-caret { flex-shrink: 0; color: var(--ap-teal); transition: transform .25s; }

/* ---------- hero ---------- */
.ap-hero { padding: 48px 0 64px; background: linear-gradient(180deg, #fff 0%, var(--ap-bg-alt) 100%); }
.ap-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr); gap: 56px; align-items: center; }
.ap-crumbs { font-size: 13px; color: var(--ap-muted); margin-bottom: 22px; display: flex; flex-wrap: wrap; gap: 6px; }
.ap-crumbs a { color: var(--ap-text); text-decoration: none; }
.ap-crumbs a:hover { color: var(--ap-teal); }
.ap .ap-title { font-size: clamp(34px, 4.2vw, 58px); font-weight: 700; line-height: 1.08; }
.ap-accent { display: block; color: var(--ap-teal); }
.ap-lede { font-size: 17px; line-height: 1.65; color: var(--ap-text); max-width: 520px; margin-top: 20px; }
.ap-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 30px; }
.ap-hero-panel { position: relative; aspect-ratio: 4 / 4.3; border-radius: 20px; overflow: hidden; background: var(--ap-teal-soft); box-shadow: 0 30px 60px -28px rgba(10, 51, 53, .45); }
.ap-hero-panel img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ap-hero-panel.is-empty { background: radial-gradient(circle at 75% 20%, rgba(143, 224, 214, .55), transparent 42%), radial-gradient(circle at 20% 85%, rgba(24, 107, 109, .9), transparent 45%), linear-gradient(135deg, var(--ap-teal-dark), var(--ap-teal-950)); }
.ap-badge-circle { position: absolute; right: 22px; top: 22px; width: 120px; height: 120px; border-radius: 50%; background: rgba(255, 255, 255, .95); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 10px; box-shadow: 0 14px 30px rgba(0, 0, 0, .2); }
.ap-hero-panel.is-empty .ap-badge-circle { right: 50%; top: 50%; transform: translate(50%, -50%); }
.ap-badge-circle b { font-family: var(--ap-head); font-size: 30px; font-weight: 700; color: var(--ap-teal); line-height: 1; }
.ap-badge-circle small { font-size: 10px; font-weight: 600; color: var(--ap-muted); line-height: 1.3; margin-top: 5px; max-width: 84px; }
.ap-panel-tag { position: absolute; left: 18px; bottom: 18px; background: rgba(10, 51, 53, .72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .08em; padding: 7px 14px; border-radius: 999px; max-width: calc(100% - 36px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- stats strip ---------- */
.ap-stats { background: #fff; border-top: 1px solid var(--ap-line); border-bottom: 1px solid var(--ap-line); padding: 30px 0; }
.ap-stats-grid { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: 28px; align-items: center; }
.ap-stats-grid--1 { grid-template-columns: 1.3fr 1fr; }
.ap-stats-grid--2 { grid-template-columns: 1.3fr repeat(2, 1fr); }
.ap-stats-grid--4 { grid-template-columns: 1.3fr repeat(4, 1fr); }
.ap-stats-title { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ap-teal); margin-bottom: 6px; }
.ap-stats-lead p { font-size: 14.5px; color: var(--ap-muted); line-height: 1.5; }
.ap-stat { border-left: 1px solid var(--ap-line); padding-left: 24px; }
.ap-stat b { display: block; font-family: var(--ap-head); font-size: 28px; font-weight: 700; color: var(--ap-ink); line-height: 1.15; }
.ap-stat small { display: block; font-size: 13px; color: var(--ap-muted); margin-top: 4px; line-height: 1.4; }

/* ---------- segments ---------- */
.ap-seg-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.ap-seg-grid.ap-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ap-seg-grid.ap-cols-1 { grid-template-columns: minmax(0, 1fr); }
.ap-seg { padding: 28px 26px; border-top: 4px solid var(--ap-teal); }
.ap-seg h3 { font-size: 19px; font-weight: 700; margin-bottom: 18px; }

/* ---------- recommended systems ---------- */
.ap-sys-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.ap-sys { padding: 24px; display: flex; flex-direction: column; text-decoration: none !important; color: inherit; transition: box-shadow .25s, transform .25s, border-color .25s; }
.ap-sys.is-link:hover { box-shadow: 0 18px 36px -18px rgba(15, 76, 78, .35); transform: translateY(-3px); border-color: rgba(24, 107, 109, .45); }
.ap-sys-top { display: flex; justify-content: space-between; gap: 12px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ap-teal); margin-bottom: 18px; }
.ap-sys-icon { height: 96px; border-radius: 12px; background: var(--ap-teal-soft); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.ap-sys-icon svg { width: 54px; height: 54px; fill: none; stroke: var(--ap-teal); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.ap-sys h3 { font-size: 19px; font-weight: 700; margin-bottom: 8px; }
.ap-sys p { font-size: 14.5px; line-height: 1.6; color: var(--ap-text); flex: 1 1 auto; }
.ap-sys-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--ap-line); font-size: 12.5px; font-weight: 600; color: var(--ap-muted); min-height: 46px; }
.ap-sys-arrow { width: 32px; height: 32px; border-radius: 50%; background: var(--ap-teal-dark); color: #fff; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; transition: background .2s; }
.ap-sys.is-link:hover .ap-sys-arrow { background: var(--ap-teal); }

/* ---------- full range ---------- */
.ap-range { margin-top: 26px; background: #fff; border: 1px solid var(--ap-line); border-radius: 16px; overflow: hidden; }
.ap-range-head { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 26px; background: none; border: 0; cursor: pointer; text-align: left; font-family: inherit; }
.ap-range-lbl { display: flex; align-items: center; gap: 9px; font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ap-teal); }
.ap-range-lbl::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.ap-range.is-open .ap-range-head .ap-caret { transform: rotate(180deg); }
.ap-range-inner { padding: 4px 26px 26px; display: grid; grid-template-columns: 170px 1fr; gap: 16px 20px; }
.ap-range-cat { font-family: var(--ap-head); font-size: 14px; font-weight: 700; color: var(--ap-ink); padding-top: 7px; }
.ap-range-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.ap-pill { background: var(--ap-bg-alt); border: 1px solid var(--ap-line); padding: 7px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--ap-ink) !important; text-decoration: none !important; transition: border-color .2s, color .2s; }
.ap-pill:hover { border-color: var(--ap-teal); color: var(--ap-teal) !important; }

/* ---------- what we cover + machines ---------- */
.ap-cover { display: grid; gap: 16px; max-width: 820px; }
.ap-cover-row { display: flex; gap: 14px; }
.ap-check { width: 28px; height: 28px; border-radius: 50%; background: var(--ap-teal-soft); color: var(--ap-teal); flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; }
.ap-cover-row p { font-size: 15.5px; line-height: 1.65; color: var(--ap-text); padding-top: 2px; }
.ap-cover-row b { color: var(--ap-ink); }
.ap-mg-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.ap-mg { overflow: hidden; display: flex; flex-direction: column; text-decoration: none !important; color: inherit; transition: box-shadow .25s, transform .25s, border-color .25s; }
.ap-mg.is-link:hover { box-shadow: 0 18px 36px -18px rgba(15, 76, 78, .35); transform: translateY(-3px); border-color: rgba(24, 107, 109, .45); }
.ap-mg-img { height: 170px; background: #f2f6f6; display: flex; align-items: center; justify-content: center; padding: 16px; }
.ap-mg-img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.ap-mg-img span { font-family: var(--ap-head); font-size: 14px; font-weight: 700; color: var(--ap-teal); text-align: center; }
.ap-mg-body { padding: 18px 20px 20px; }
.ap-mg-body h3 { font-size: 16.5px; font-weight: 700; line-height: 1.3; margin-bottom: 8px; }
.ap-mg-body p { font-size: 14px; line-height: 1.55; color: var(--ap-text); }
.ap-mg-body b { color: var(--ap-teal); font-weight: 600; }
.ap-catbtns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* ---------- trial ---------- */
.ap-trial { display: flex; align-items: center; justify-content: space-between; gap: 32px; background: linear-gradient(135deg, var(--ap-teal-dark), var(--ap-teal)); color: rgba(255, 255, 255, .9); border-radius: 18px; padding: 36px 40px; }
.ap-trial h2 { color: #fff; font-size: clamp(22px, 2vw, 28px); margin: 6px 0 10px; }
.ap-trial p { line-height: 1.65; max-width: 760px; }
.ap-trial .ap-btn { flex: 0 0 auto; }
.ap-kicker { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ap-mint); }

/* ---------- dark "more than machinery" ---------- */
.ap-dark { background: var(--ap-teal-950); padding: 76px 0; }
.ap-dark-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 60px; align-items: center; }
.ap-dark .ap-h2 { color: #fff; max-width: 480px; }
.ap-dark-panel { position: relative; aspect-ratio: 4 / 4.3; border-radius: 20px; overflow: hidden; background: #0d4446; }
.ap-dark-panel img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ap-dark-panel.is-empty { background: radial-gradient(circle at 25% 20%, rgba(143, 224, 214, .35), transparent 40%), radial-gradient(circle at 80% 80%, rgba(24, 107, 109, .9), transparent 45%), #0d4446; }
.ap-dark-tags { position: absolute; left: 18px; bottom: 18px; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.ap-dark-tags span { background: rgba(10, 51, 53, .7); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); border: 1px solid rgba(255, 255, 255, .25); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 7px 14px; border-radius: 999px; }
.ap-dark-text { color: #c9e3dc; font-size: 15.5px; line-height: 1.7; max-width: 500px; margin-top: 16px; }
.ap-steps { list-style: none; margin: 26px 0 28px; padding: 0; max-width: 520px; }
.ap-steps li { display: flex; gap: 16px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid rgba(143, 224, 214, .18); color: #eaf4f1; font-size: 15px; }
.ap-steps li:first-child { border-top: 1px solid rgba(143, 224, 214, .18); }
.ap-steps li span { font-size: 12px; font-weight: 700; color: var(--ap-mint); width: 22px; flex-shrink: 0; }

/* ---------- output / used across ---------- */
.ap-chips-block + .ap-chips-block { margin-top: 56px; }
.ap-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.ap-chips li { background: #fff; border: 1px solid var(--ap-line); border-radius: 999px; padding: 11px 20px; font-size: 14.5px; font-weight: 600; color: var(--ap-ink); }
.ap-linkpills { display: flex; flex-wrap: wrap; gap: 10px; }
.ap-linkpills a { display: inline-flex; align-items: center; gap: 6px; border: 1.5px solid #cfe5e3; background: #fff; color: var(--ap-teal-dark) !important; border-radius: 999px; padding: 9px 18px; font-size: 14px; font-weight: 600; text-decoration: none !important; transition: border-color .2s, background .2s, color .2s; }
.ap-linkpills a:hover { border-color: var(--ap-teal); background: var(--ap-teal); color: #fff !important; }

/* ---------- gallery ---------- */
.ap-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.ap-gallery a { display: block; border-radius: 14px; overflow: hidden; aspect-ratio: 4 / 3; background: #eef2f2; }
.ap-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.ap-gallery a:hover img { transform: scale(1.04); }

/* ---------- image gallery with titles (under the stats strip): 4 per row ---------- */
.ap-showcase { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.ap-showcase-item { margin: 0; background: #fff; border: 1px solid var(--ap-line); border-radius: 16px; overflow: hidden; transition: box-shadow .25s, transform .25s; }
.ap-showcase-item:hover { box-shadow: 0 14px 30px -14px rgba(0, 40, 45, .25); transform: translateY(-3px); }
.ap-showcase-img { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #eef2f2; }
.ap-showcase-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s; }
.ap-showcase-item:hover .ap-showcase-img img { transform: scale(1.04); }
.ap-showcase-item figcaption { padding: 14px 16px 16px; font-size: 15px; font-weight: 600; line-height: 1.35; color: var(--ap-ink); }
@media (max-width: 1024px) { .ap-showcase { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .ap-showcase { grid-template-columns: minmax(0, 1fr); } }

/* ---------- FAQ ---------- */
.ap-faqs { border-top: 1px solid var(--ap-line); }
.ap-faq { display: grid; grid-template-columns: 40px 1fr; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--ap-line); }
.ap-faq-num { font-size: 12px; font-weight: 700; color: var(--ap-teal); padding-top: 4px; }
.ap-faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; background: none; border: 0; padding: 0; text-align: left; font-family: var(--ap-head); font-size: 17px; font-weight: 700; color: var(--ap-ink); cursor: pointer; }
.ap-faq.is-open .ap-caret { transform: rotate(180deg); }
.ap-faq-a { padding-top: 12px; }
.ap-faq-a p { font-size: 15px; line-height: 1.7; color: var(--ap-text); max-width: 720px; }

/* ---------- closing + form ---------- */
.ap-final { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 340px) auto; gap: 28px; align-items: center; }
.ap-final p { font-size: 15px; line-height: 1.6; color: var(--ap-muted); }
.ap-call { width: 64px; height: 64px; border-radius: 50%; background: var(--ap-teal); color: #fff !important; display: inline-flex; align-items: center; justify-content: center; transition: background .2s, transform .2s; }
.ap-call:hover { background: var(--ap-teal-dark); transform: scale(1.05); }
.ap-form-card { background: #fff; border: 1px solid var(--ap-line); border-radius: 20px; padding: 36px; max-width: 760px; margin: 36px auto 0; box-shadow: 0 24px 50px -30px rgba(10, 51, 53, .3); scroll-margin-top: 110px; }
.ap-form-card h3 { font-size: 22px; font-weight: 700; margin-bottom: 6px; }
.ap-form-sub { font-size: 14.5px; line-height: 1.6; color: var(--ap-muted); margin-bottom: 22px; }
.ap-intents { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.ap-intent { flex: 1 1 170px; border: 1.5px solid var(--ap-line); border-radius: 12px; padding: 12px 16px; font-family: inherit; font-weight: 600; font-size: 14px; color: var(--ap-muted); background: var(--ap-bg-alt); cursor: pointer; transition: border-color .2s, background .2s, color .2s; }
.ap-intent.is-active { border-color: var(--ap-teal); background: var(--ap-teal-soft); color: var(--ap-teal-dark); }
.ap-f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ap-f { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.ap-f span { font-size: 13px; font-weight: 600; color: var(--ap-ink); }
.ap-f input, .ap-f textarea { width: 100%; border: 1.5px solid var(--ap-line); border-radius: 10px; padding: 12px 14px; font-size: 14.5px; font-family: inherit; color: var(--ap-ink); background: #fff; outline: none; transition: border-color .2s, box-shadow .2s; }
.ap-f input:focus, .ap-f textarea:focus { border-color: var(--ap-teal); box-shadow: 0 0 0 3px rgba(24, 107, 109, .12); }
.ap-f textarea { resize: vertical; min-height: 96px; }
.ap-submit { width: 100%; justify-content: center; padding: 15px; font-size: 15.5px; margin-top: 4px; }
.ap-form-note { text-align: center; font-size: 12.5px; color: var(--ap-muted); margin-top: 12px; }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
	.ap-hero-grid, .ap-dark-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
	.ap-hero-panel, .ap-dark-panel { max-width: 560px; aspect-ratio: 4 / 3; }
	.ap-stats-grid, .ap-stats-grid--1, .ap-stats-grid--2, .ap-stats-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ap-stats-lead { grid-column: 1 / -1; }
	.ap-stat:nth-child(2) { border-left: 0; padding-left: 0; }
	.ap-mg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ap-sys-grid, .ap-seg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ap-final { grid-template-columns: minmax(0, 1fr) auto; }
	.ap-final p { grid-column: 1 / -1; grid-row: 2; }
	.ap-section { padding: 56px 0; }
}
@media (max-width: 767px) {
	.ap-wrap { padding: 0 16px; }
	.ap-hero { padding: 32px 0 44px; }
	.ap-section { padding: 44px 0; }
	.ap-dark { padding: 52px 0; }
	.ap-stat { border-left: 0; padding-left: 0; }
	.ap-mg-grid, .ap-sys-grid, .ap-seg-grid, .ap-seg-grid.ap-cols-2 { grid-template-columns: minmax(0, 1fr); }
	.ap-range-inner { grid-template-columns: minmax(0, 1fr); gap: 8px; }
	.ap-range-cat { padding-top: 10px; }
	.ap-trial { flex-direction: column; align-items: flex-start; padding: 26px 22px; }
	.ap-f-row { grid-template-columns: minmax(0, 1fr); gap: 0; }
	.ap-form-card { padding: 24px 18px; }
	.ap-faq { grid-template-columns: 28px 1fr; gap: 10px; }
	.ap-faq-q { font-size: 16px; }
	.ap-hero-actions .ap-btn { width: 100%; justify-content: center; }
	.ap-badge-circle { width: 96px; height: 96px; }
	.ap-badge-circle b { font-size: 24px; }
}

/* full range shown without recommended systems: sit right under the segments */
.ap-section--range-only { padding-top: 0; }
.ap-section--range-only .ap-range { margin-top: 0; }

/* =========================================================
   v4 refinements: What we cover, Machines, What you can make,
   FAQ + enquiry form side by side
   ========================================================= */

/* ---- what we cover: content left, highlight card right ---- */
.ap-cover-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.ap-cover-grid--single { grid-template-columns: minmax(0, 1fr); max-width: 860px; }
.ap-cover-intro { font-size: 16.5px; line-height: 1.7; color: var(--ap-text); margin: 16px 0 26px; max-width: 640px; }
.ap .ap-cover { gap: 12px; max-width: none; }
.ap .ap-cover-row { background: #fff; border: 1px solid var(--ap-line); border-radius: 14px; padding: 16px 18px; gap: 14px; align-items: flex-start; }
.ap .ap-cover-row p { padding-top: 3px; font-size: 15px; line-height: 1.6; }
.ap .ap-cover-row p b { display: block; font-family: var(--ap-head); font-size: 16px; color: var(--ap-ink); margin-bottom: 2px; }
.ap-cover-aside { position: sticky; top: 110px; background: linear-gradient(150deg, var(--ap-teal-dark), var(--ap-teal)); color: rgba(255, 255, 255, .88); border-radius: 18px; padding: 30px 28px; box-shadow: 0 24px 50px -28px rgba(10, 51, 53, .55); }
.ap-cover-aside-icon { width: 48px; height: 48px; border-radius: 12px; background: rgba(255, 255, 255, .14); color: #fff; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.ap .ap-cover-aside h3 { color: #fff; font-size: 21px; font-weight: 700; margin-bottom: 10px; }
.ap-cover-aside p { font-size: 15px; line-height: 1.7; }
.ap-aside-links { display: grid; gap: 10px; margin-top: 22px; }
.ap-aside-links a { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22); color: #fff !important; text-decoration: none !important; border-radius: 10px; padding: 12px 16px; font-size: 14.5px; font-weight: 600; transition: background .2s; }
.ap-aside-links a:hover { background: rgba(255, 255, 255, .2); }

/* ---- machines ---- */
.ap-mg-head { margin: 56px 0 22px; padding-top: 40px; border-top: 1px solid var(--ap-line); }
.ap-mg-head.is-first { margin-top: 0; padding-top: 0; border-top: 0; }
.ap .ap-mg-head .ap-h3 { margin: 0; font-size: clamp(22px, 2vw, 28px); }
.ap .ap-mg-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.ap .ap-mg-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.ap .ap-mg { border-radius: 16px; }
.ap .ap-mg-img { height: 220px; background: #fff; border-bottom: 1px solid var(--ap-line); padding: 18px; }
.ap .ap-mg-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1 1 auto; }
.ap .ap-mg-body h3 { font-size: 18px; margin-bottom: 10px; }
.ap .ap-mg-body p { font-size: 14.5px; line-height: 1.6; flex: 1 1 auto; }
.ap .ap-mg-body p b { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ap-teal); margin-bottom: 4px; }
.ap-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-size: 14px; font-weight: 600; color: var(--ap-teal); }

/* ---- what you can make: heading left, tiles right ---- */
.ap-split { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr); gap: 56px; align-items: start; }
.ap-split--next { margin-top: 56px; padding-top: 48px; border-top: 1px solid var(--ap-line); }
.ap-make { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.ap-make li { display: flex; align-items: center; gap: 12px; background: var(--ap-bg-alt); border: 1px solid var(--ap-line); border-radius: 12px; padding: 14px 16px; font-size: 15px; font-weight: 600; color: var(--ap-ink); line-height: 1.4; }
.ap-make .ap-check { width: 26px; height: 26px; }

/* ---- FAQ (left) + form (right) ---- */
.ap-connect-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 56px; align-items: start; }
.ap-connect-grid.is-single { grid-template-columns: minmax(0, 1fr); max-width: 820px; }
.ap-connect-faq .ap-h2 { margin-bottom: 26px; }
.ap .ap-connect .ap-faqs { background: #fff; border: 1px solid var(--ap-line); border-radius: 16px; padding: 4px 24px; }
.ap .ap-connect .ap-faq:last-child { border-bottom: 0; }
.ap .ap-connect .ap-faq-q { font-size: 16.5px; }
.ap .ap-connect .ap-form-card { margin: 0; max-width: none; position: sticky; top: 110px; padding: 32px; }
.ap .ap-form-card .ap-eyebrow { margin-bottom: 10px; }
.ap .ap-form-card h3 { font-size: clamp(22px, 2vw, 28px); line-height: 1.2; margin-bottom: 8px; }
.ap-final-card { background: #fff; border: 1px solid var(--ap-line); border-radius: 18px; padding: 32px; }
.ap .ap-final-card h3 { font-size: 26px; margin-bottom: 8px; }
.ap-final-card p { margin-bottom: 20px; color: var(--ap-muted); }

@media (max-width: 1024px) {
	.ap-cover-grid, .ap-split, .ap-connect-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
	.ap-cover-aside, .ap .ap-connect .ap-form-card { position: static; }
	.ap .ap-mg-grid--3, .ap .ap-mg-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
	.ap .ap-mg-grid--3, .ap .ap-mg-grid--4, .ap-make { grid-template-columns: minmax(0, 1fr); }
	.ap .ap-connect .ap-faqs { padding: 0 16px; }
	.ap .ap-connect .ap-form-card { padding: 22px 18px; }
}
/* enquiry-type buttons: always one row in the side form */
.ap .ap-intents { flex-wrap: nowrap; gap: 8px; }
.ap .ap-intent { flex: 1 1 0; min-width: 0; padding: 11px 8px; font-size: 13.5px; white-space: nowrap; }
@media (max-width: 420px) { .ap .ap-intents { flex-wrap: wrap; } .ap .ap-intent { flex: 1 1 100%; } }

/* ---- intro: "Overview" lead statement (left) + body text (right) ---- */
.ap-intro { padding: 72px 0; background: #fff; }
.ap-intro-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.ap-intro-grid.is-single { grid-template-columns: minmax(0, 1fr); max-width: 900px; }
.ap .ap-intro-lead p { font-family: var(--ap-head); font-size: clamp(22px, 2.1vw, 30px); font-weight: 600; line-height: 1.35; letter-spacing: -0.015em; color: var(--ap-ink); }
.ap-intro-body { border-left: 3px solid var(--ap-teal); padding: 4px 0 4px 28px; margin-top: 30px; }
.ap .ap-intro-body p { font-size: 16.5px; line-height: 1.8; color: var(--ap-text); margin: 0 0 14px; }
.ap .ap-intro-body p:last-child { margin-bottom: 0; }
.ap-intro-grid.is-single .ap-intro-body { margin-top: 0; }
@media (max-width: 1024px) {
	.ap-intro { padding: 52px 0; }
	.ap-intro-grid { grid-template-columns: minmax(0, 1fr); gap: 22px; }
	.ap-intro-body { margin-top: 0; }
}
.ap-intro { padding-bottom: 16px; }
@media (max-width: 1024px) { .ap-intro { padding-bottom: 8px; } }

/* ---- no banner image: product photo of the first linked machine ---- */
.ap-hero-panel.is-product { background: radial-gradient(circle at 50% 45%, #ffffff 0%, #eef6f5 60%, #dcefed 100%); }
.ap-hero-panel.is-product img { object-fit: contain; padding: 12% 10% 16%; }
.ap-hero-panel.is-product .ap-badge-circle { box-shadow: 0 14px 30px rgba(15, 76, 78, .18); border: 1px solid #e3eeed; }
.ap-hero-panel.is-product .ap-panel-tag { background: var(--ap-teal-dark); }

/* ---- dark section without a photo: 2x2 collage of the linked machines ---- */
.ap-dark-panel.is-collage { background: rgba(255, 255, 255, .06); border: 1px solid rgba(143, 224, 214, .18); padding: 14px; }
.ap-collage { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px; height: 100%; }
.ap-collage span { background: #fff; border-radius: 12px; display: flex; align-items: center; justify-content: center; padding: 12px; overflow: hidden; }
.ap-collage img { max-width: 100%; max-height: 100%; width: auto !important; height: auto !important; object-fit: contain; }
.is-collage-1 .ap-collage { grid-template-columns: 1fr; grid-template-rows: 1fr; }
.is-collage-2 .ap-collage { grid-template-rows: 1fr; }
.is-collage-3 .ap-collage span:first-child { grid-row: 1 / 3; }
.ap-dark-panel.is-collage .ap-dark-tags { left: 28px; bottom: 28px; }

/* hero: introduction paragraphs under the heading (replaces the tagline) */
.ap .ap-lede--intro { max-width: 600px; }
.ap .ap-lede--intro p { font-size: 17px; line-height: 1.7; color: var(--ap-text); margin: 0 0 12px; }
.ap .ap-lede--intro p:last-child { margin-bottom: 0; }
@media (max-width: 767px) { .ap .ap-lede--intro p { font-size: 16px; } }

/* hero image: a little smaller, with breathing room above and below */
@media (min-width: 992px) {
	.ap-hero { padding: 64px 0 80px; }
	.ap-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 0.82fr); }
	.ap-hero-panel { aspect-ratio: 4 / 3.8; width: 100%; max-width: 540px; justify-self: end; margin: 16px 0; }
}
