/* Agenz Foundation — visitor-first visual system */
:root {
  --ink: #07050b;
  --panel: #100b16;
  --panel-2: #17101f;
  --white: #f7f4fa;
  --mist: #c5bdcc;
  --muted: #9a90a3;
  --magenta: #ff3d87;
  --cyan: #63dcff;
  --violet: #9d76ff;
  --line: rgba(255, 255, 255, .14);
  --line-strong: rgba(255, 255, 255, .24);
  --surface: rgba(255, 255, 255, .055);
  --surface-hover: rgba(255, 255, 255, .085);
  --shadow: 0 24px 80px rgba(0, 0, 0, .34);
  --max: 1280px;
  --pad: clamp(20px, 4.2vw, 68px);
  --radius: 22px;
}

html { font-size: 16px; scroll-padding-top: 90px; }
body { min-width: 320px; color: var(--white); font-size: 1rem; line-height: 1.6; -webkit-font-smoothing: antialiased; }
body, button, input, select, textarea { font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
main { position: relative; z-index: 1; }
img, video, svg, canvas, iframe { max-width: 100%; }
img, video { height: auto; }
p, li, small, span, strong, b, h1, h2, h3, h4, a { overflow-wrap: break-word; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 4px; }
.skip-link { position: fixed; z-index: 999; top: 12px; left: 12px; padding: 12px 16px; border-radius: 10px; background: #fff; color: #09060d; font-weight: 800; transform: translateY(-160%); transition: transform .2s ease; }
.skip-link:focus { transform: translateY(0); }
.noise { opacity: .022; }
.cursor-glow { opacity: .75; }

/* Header and navigation */
.site-header {
  height: 86px;
  grid-template-columns: minmax(170px, 214px) minmax(0, 1fr) auto;
  gap: clamp(16px, 2vw, 34px);
  background: linear-gradient(180deg, rgba(7,5,11,.86), rgba(7,5,11,.3) 78%, transparent);
}
.site-header.scrolled { height: 74px; background: rgba(7,5,11,.9); box-shadow: 0 12px 42px rgba(0,0,0,.22); }
.brand-lockup { min-width: 0; }
.brand-lockup img { width: min(184px, 100%); height: 42px; }
.desktop-nav { min-width: 0; gap: clamp(10px, 1.25vw, 22px); }
.desktop-nav a { min-width: 44px; padding: 8px 2px; gap: 4px; color: rgba(255,255,255,.72); font-size: .66rem; line-height: 1.25; letter-spacing: .075em; white-space: nowrap; }
.nav-icon-shell { width: 27px; height: 24px; }
.nav-hover-card { display: none; }
.desktop-nav a::after { bottom: 1px; }
.header-actions { gap: 12px; min-width: max-content; }
.account-entry { min-height: 44px; display: inline-flex; align-items: center; font-size: .68rem; }
.language-toggle { min-height: 44px; padding: 0 4px; font-size: .68rem; }
.header-cta, .button { min-height: 48px; padding: 12px 20px; border-radius: 999px; font-size: .7rem; line-height: 1.35; letter-spacing: .09em; text-align: center; }
.header-cta { white-space: nowrap; }
.button-primary { color: #fff; background: linear-gradient(105deg, #ec286f, #a849d9); border-color: transparent; box-shadow: 0 12px 36px rgba(236,40,111,.2); }
.button-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 44px rgba(236,40,111,.3); }
.button-secondary { background: rgba(255,255,255,.025); }
.menu-toggle { flex: 0 0 auto; border-radius: 12px; }
.mobile-menu { overflow-y: auto; background: rgba(7,5,11,.98); backdrop-filter: blur(24px); }
.mobile-menu a { align-items: center; gap: 10px; font-size: clamp(1.2rem, 6vw, 2.2rem); line-height: 1.2; }
.mobile-nav-icon { flex: 0 0 48px; width: 48px; height: 48px; }

/* Global spacing and type */
.section { padding: clamp(78px, 9vw, 126px) var(--pad); }
.section-inner { width: min(100%, var(--max)); }
.section-heading { grid-template-columns: minmax(0, 1.15fr) minmax(260px, .7fr); gap: clamp(28px, 5vw, 68px); align-items: end; margin-bottom: clamp(38px, 6vw, 70px); }
.section-heading h2, .page-hero h1 { font-size: clamp(2.35rem, 4.7vw, 4.65rem); line-height: .98; letter-spacing: -.05em; }
.section-heading > p, .page-lead, .hero-lead { max-width: 680px; font-size: clamp(.98rem, 1.05vw, 1.08rem); line-height: 1.75; }
.section-heading > p { justify-self: end; }
.eyebrow { margin-bottom: 18px; font-size: clamp(.66rem, .65vw, .75rem); line-height: 1.55; letter-spacing: .13em; }
.gradient-word { padding-bottom: .06em; }
.section-light { background: #f4f1f6; color: #100b15; }
.section-light p, .section-light li { color: #554d5b; }
.section-light .eyebrow { color: #b51259; }
.section-light .gradient-word { background-image: linear-gradient(100deg,#bd1458,#6c37bd 50%,#087f9d); }
.section-light .project-type,
.section-light .status-step,
.section-light .policy-list a {
  border-color: rgba(16,11,21,.13);
  background: #fff;
  color: #17101f;
  box-shadow: 0 16px 44px rgba(24,14,31,.07);
}
.section-light .project-type p,
.section-light .status-step span { color: #605667; }
.section-light .project-type span,
.section-light .status-step b { color: #a7175a; }
.section-light .policy-list a { color: #29202f; }
.section-light .policy-list a:hover { color: #8f144c; border-color: rgba(143,20,76,.4); }
.section-light .button-secondary { border-color: rgba(16,11,21,.26); color: #17101f; background: rgba(16,11,21,.025); }

/* Hero */
.beta-ribbon { position: relative; z-index: 3; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 20px; align-items: center; padding: 15px var(--pad); border-bottom: 1px solid var(--line); background: rgba(13,8,18,.92); color: var(--mist); }
.beta-ribbon b { color: #fff; font-size: .7rem; letter-spacing: .1em; }
.beta-ribbon span { font-size: .8rem; line-height: 1.45; }
.beta-ribbon a { min-height: 40px; display: inline-flex; align-items: center; color: var(--cyan); font-size: .72rem; font-weight: 800; letter-spacing: .08em; white-space: nowrap; }
.hero { min-height: max(720px, 100svh); padding-top: 134px; padding-bottom: 58px; }
.hero-inner { grid-template-columns: minmax(0, 1.08fr) minmax(330px, .82fr); gap: clamp(28px, 5vw, 76px); }
.hero h1 { max-width: 820px; font-size: clamp(3rem, 6vw, 6.15rem); line-height: .92; letter-spacing: -.065em; }
.hero-lead { margin: 26px 0 30px; color: rgba(255,255,255,.73); }
.hero-buttons { gap: 10px; }
.hero-meta { bottom: 24px; gap: 16px; font-size: .65rem; }
.hero-visual { min-height: clamp(380px, 57vh, 620px); }
.ecosystem-core { max-width: 170px; text-align: center; }
.ecosystem-node { max-width: 150px; white-space: normal; text-align: center; }
.page-hero { min-height: min(760px, 76svh); padding: 168px var(--pad) 88px; align-items: center; }
.page-hero .section-inner { width: min(100%, var(--max)); }
.page-hero h1 { max-width: 980px; }
.page-hero-art { opacity: .8; }
.page-lead { margin-top: 26px; color: #c7bfce; }
.hero-status { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 26px; }
.hero-status span { min-height: 36px; display: inline-flex; align-items: center; padding: 8px 13px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.04); color: #d7d0dd; font-size: .72rem; line-height: 1.35; }
.module-nav { position: sticky; top: 73px; z-index: 50; overflow-x: auto; justify-content: center; gap: 0; padding: 0 var(--pad); background: rgba(9,6,13,.9); backdrop-filter: blur(18px); scrollbar-width: none; }
.module-nav::-webkit-scrollbar { display: none; }
.module-nav a { flex: 0 0 auto; min-height: 54px; display: inline-flex; align-items: center; padding: 0 18px; font-size: .72rem; letter-spacing: .06em; white-space: nowrap; }

/* Cards and media */
.feature-strip, .preview-grid, .services-grid, .article-grid, .values-grid, .project-type-grid, .safety-grid, .expansion-grid { gap: 16px; }
.feature-strip { grid-template-columns: repeat(4, minmax(0,1fr)); border: 0; }
.feature-strip article { min-height: 230px; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(145deg, rgba(255,255,255,.055), rgba(255,255,255,.018)); }
.feature-strip article:last-child { border: 1px solid var(--line); }
.feature-strip span, .preview-card span, .service-card .tag, .article-card .tag, .value-card .tag { font-size: .66rem; line-height: 1.5; }
.concept-label, .v24-badge, .v25-status, .version-chip, .lock-chip { font-size: .68rem; line-height: 1.45; letter-spacing: .06em; }
.feature-strip h3 { margin-top: auto; padding-top: 34px; font-size: clamp(1.3rem, 1.75vw, 1.75rem); }
.feature-strip p { font-size: .88rem; }
.preview-grid, .services-grid, .article-grid, .values-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
.preview-card { min-height: 360px; padding: 26px; }
.preview-card h3 { font-size: clamp(1.55rem, 2.35vw, 2.25rem); }
.preview-card p { font-size: .94rem; }
.preview-card b { font-size: .72rem; }
.service-card { min-height: 0; padding: 26px; }
.service-card .service-summary { min-height: 0; }
.service-card h2 { font-size: 1.65rem; }
.service-card p, .service-detail p, .service-detail li { font-size: .9rem; }
.media-showcase { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); }
.media-label { gap: 12px; }
.media-label strong { line-height: 1.15; }
.media-label span { font-size: .7rem; line-height: 1.45; text-align: right; }
.portfolio-card { min-height: 520px; }
.portfolio-card.wide { min-height: 600px; }
.expansion-card, .project-type, .safety-card, .talent-card, .market-card, .v24-card, .dash-card, .v25-card, .workspace-panel { min-width: 0; border-radius: var(--radius); box-shadow: 0 18px 50px rgba(0,0,0,.13); }
.expansion-card h3, .project-type h3, .safety-card h3, .talent-card h3, .market-card h3 { line-height: 1.15; }
.expansion-card p, .project-type p, .safety-card p, .talent-card p, .market-card p { font-size: .92rem; line-height: 1.68; }
.market-grid, .template-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 245px), 1fr)); }
.market-card img, .trend-card img { background: #140d1b; }
.market-meta { flex-wrap: wrap; gap: 8px; }
.template-track { will-change: transform; }

/* Trust, workflows, forms */
.trust-panel { grid-template-columns: minmax(0, 1.08fr) minmax(300px, .72fr); gap: clamp(32px, 5vw, 70px); padding: clamp(28px, 5vw, 58px); border-radius: 28px; background: linear-gradient(135deg, rgba(255,61,135,.1), rgba(99,220,255,.04)); }
.trust-copy h2 { font-size: clamp(2.2rem, 4.2vw, 4.3rem); line-height: .98; }
.trust-copy p { color: #c1b8c8; font-size: 1rem; line-height: 1.75; }
.trust-points { gap: 0; }
.trust-points span { min-height: 48px; display: flex; align-items: center; padding: 12px 0; color: #d6d0dc; font-size: .86rem; }
.status-flow { display: grid; grid-template-columns: repeat(auto-fit, minmax(145px,1fr)); gap: 10px; align-items: stretch; }
.status-step { min-width: 0; min-height: 116px; padding: 18px; border-radius: 16px; }
.status-step b { font-size: .68rem; line-height: 1.4; }
.status-step span { font-size: .84rem; line-height: 1.45; }
.status-arrow { display: none; }
.join-layout, .brief-shell { gap: clamp(30px, 5vw, 68px); }
.role-grid { align-content: start; }
.role-card { min-height: 0; padding: 22px; }
.role-card h3 { font-size: 1.25rem; }
.role-card p { font-size: .88rem; }
.join-form, .project-brief-form { min-width: 0; padding: clamp(24px, 4vw, 42px); border: 1px solid var(--line); border-radius: 26px; background: rgba(255,255,255,.045); box-shadow: var(--shadow); }
.join-form h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); line-height: 1.12; }
.join-fields, .field-grid { gap: 18px; }
label > span, .join-fields label > span, .field-grid label > span, #order-lookup label > span { margin-bottom: 8px; color: #d9d3df; font-size: .73rem; font-weight: 800; line-height: 1.4; letter-spacing: .06em; }
input, select, textarea { width: 100%; min-width: 0; min-height: 50px; padding: 13px 15px; border: 1px solid rgba(255,255,255,.18); border-radius: 12px; background: rgba(255,255,255,.055); color: #fff; font-size: 16px; line-height: 1.45; transition: border-color .2s ease, background .2s ease, box-shadow .2s ease; }
textarea { min-height: 128px; resize: vertical; }
select { color-scheme: dark; }
input::placeholder, textarea::placeholder { color: #82788b; opacity: 1; }
input:hover, select:hover, textarea:hover { border-color: rgba(255,255,255,.3); }
input:focus, select:focus, textarea:focus { outline: 0; border-color: var(--cyan); background: rgba(99,220,255,.06); box-shadow: 0 0 0 3px rgba(99,220,255,.11); }
.section-light input, .section-light select, .section-light textarea { border-color: rgba(16,11,21,.2); background: #fff; color: #17101f; }
.section-light input::placeholder, .section-light textarea::placeholder { color: #756b7b; }
.consent-row { align-items: flex-start; gap: 12px; }
.consent-row input { flex: 0 0 20px; width: 20px; min-height: 20px; margin-top: 2px; }
.consent-row span, .form-note, .form-truth { color: #aaa1b1; font-size: .82rem; line-height: 1.6; }
.form-truth { border-radius: 12px; }
.brief-page, .order-page { min-height: 100svh; background: radial-gradient(circle at 85% 10%, rgba(255,61,135,.15), transparent 34%), #07050b; }
.simple-header { height: 80px; padding: 0 var(--pad); border-bottom: 1px solid var(--line); }
.simple-header img { width: 178px; }
.simple-header > a:last-child { font-size: .72rem; letter-spacing: .08em; }
.brief-shell, .order-shell { width: min(calc(100% - (var(--pad) * 2)), var(--max)); margin-inline: auto; }
.brief-shell { min-height: calc(100svh - 80px); grid-template-columns: minmax(0,.85fr) minmax(480px,1.15fr); padding: clamp(54px, 7vw, 96px) 0; }
.brief-intro h1, .order-shell h1 { font-size: clamp(2.6rem, 5.4vw, 5.4rem); line-height: .94; letter-spacing: -.06em; }
.brief-intro > p:not(.eyebrow) { color: #c0b7c7; font-size: 1rem; line-height: 1.75; }
.brief-trust { gap: 10px; }
.brief-trust span { padding: 9px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: .76rem; }
.brief-result { z-index: 120; max-width: min(420px, calc(100vw - 32px)); border-radius: 16px; }
.order-shell { padding: 150px 0 90px; }
.order-shell > p, .order-shell > h1, .order-shell > .order-intro { max-width: 800px; }
#order-lookup { grid-template-columns: minmax(0,1fr) minmax(0,1fr) auto; gap: 14px; align-items: end; max-width: 920px; }
.order-demo { border-radius: 22px; }

/* Legal, articles, footer */
.legal-shell { width: min(calc(100% - (var(--pad) * 2)), 980px); }
.legal-shell h1 { font-size: clamp(2.7rem, 6vw, 5.8rem); }
.legal-section h2 { font-size: clamp(1.3rem, 2vw, 1.75rem); line-height: 1.25; }
.legal-section p, .legal-section li { color: #bcb4c3; font-size: .98rem; line-height: 1.8; }
.article-body { max-width: 880px; }
.article-body h2 { font-size: clamp(2.1rem, 4vw, 4rem); line-height: 1.04; }
.article-body h3 { font-size: clamp(1.35rem, 2vw, 1.8rem); }
.article-body p, .article-body li { font-size: 1rem; line-height: 1.8; }
.article-card { min-height: 0; border-radius: var(--radius); }
.article-card-content { padding: 24px; }
.article-card h2 { font-size: clamp(1.25rem, 1.8vw, 1.65rem); line-height: 1.2; }
.article-meta { flex-wrap: wrap; gap: 8px 14px; font-size: .69rem; }
.site-footer { padding: clamp(64px, 8vw, 104px) var(--pad) 28px; }
.footer-grid { width: min(100%,var(--max)); grid-template-columns: minmax(240px,1.35fr) repeat(3,minmax(150px,.55fr)); gap: clamp(32px, 5vw, 70px); }
.footer-logo img { max-width: 190px; }
.footer-logo p { max-width: 420px; color: #a99faf; font-size: .9rem; line-height: 1.7; }
.footer-col span { font-size: .68rem; }
.footer-col a, .footer-col p { font-size: .88rem; line-height: 1.5; }
.footer-end { width: min(100%,var(--max)); gap: 20px; font-size: .68rem; }

/* Authenticated tools and dense modules */
.dashboard-body { font-size: 15px; }
.dash-topbar { min-height: 72px; }
.dash-shell { min-width: 0; }
.dash-sidebar { width: 270px; }
.dash-sidebar button { min-height: 44px; font-size: .78rem; line-height: 1.35; }
.dash-content, .admin-shell { min-width: 0; }
.dash-heading { gap: 28px; }
.dash-heading h1 { font-size: clamp(2.8rem, 5vw, 5rem); }
.dash-heading > p { max-width: 620px; color: #b9b0bf; }
.dash-card-grid, .v25-grid, .connector-grid, .workspace-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.dash-card, .v25-card, .workspace-panel, .connector { min-width: 0; height: auto; }
.dash-card p, .v25-card p, .workspace-panel p { color: #b8afbf; line-height: 1.65; }
.v24-actions { display: flex; flex-wrap: wrap; gap: 9px; }
.v24-mini { min-height: 40px; padding: 9px 12px; border-radius: 10px; font-size: .7rem; line-height: 1.35; }
.monitor-table, .admin-table, .chat-log, .stack-list { min-width: 0; overflow-x: auto; }
.monitor-row { grid-template-columns: repeat(4,minmax(140px,1fr)); min-width: 640px; }
.invoice-sheet { width: min(900px, calc(100vw - 28px)); }
.ai-launcher { right: 20px; bottom: 20px; }
.ai-chat { right: 20px; bottom: 84px; width: min(400px, calc(100vw - 40px)); max-height: min(690px, calc(100svh - 116px)); }
.ai-chat-messages { min-height: 180px; }
.ai-chat-title span, .ai-disclaimer { font-size: .66rem; line-height: 1.45; }
.ai-suggestion { font-size: .7rem; }
.companion-kicker { font-size: .64rem; }
.companion-bubble p { font-size: .78rem; }

@media (max-width: 1180px) {
  .site-header { grid-template-columns: minmax(155px,1fr) auto; }
  .desktop-nav { display: none; }
  .menu-toggle, .mobile-menu { display: block; }
  .header-actions { justify-self: end; }
  .page-hero-art { right: -8vw; opacity: .58; }
  .dash-sidebar { width: 230px; }
}

@media (max-width: 900px) {
  .section-heading, .hero-inner, .trust-panel, .media-showcase, .join-layout, .brief-shell, .footer-grid, .dash-heading { grid-template-columns: 1fr; }
  .section-heading > p { justify-self: start; }
  .hero { min-height: auto; padding-top: 142px; padding-bottom: 88px; }
  .hero-visual { min-height: 460px; }
  .hero-meta { display: none; }
  .beta-ribbon { grid-template-columns: 1fr auto; }
  .beta-ribbon span { grid-column: 1 / -1; grid-row: 2; }
  .page-hero { min-height: 650px; }
  .page-hero-art { width: 68vw; right: -20vw; }
  .feature-strip, .preview-grid, .services-grid, .article-grid, .values-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .project-type-grid, .safety-grid, .lab-grid, .talent-grid, .case-products, .package-grid, .flow-cards, .payment-methods { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .service-process-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .service-process { min-height: 240px; border-bottom: 1px solid var(--line-dark); }
  .service-process h3 { margin-top: 54px; }
  .about-story, .founder-card, .cta-band .section-inner { grid-template-columns: 1fr; }
  .about-story h2 { position: static; }
  .portfolio-card, .portfolio-card.wide { grid-column: 1/-1; min-height: 500px; }
  .brief-shell { min-height: auto; padding-top: 72px; }
  #order-lookup { grid-template-columns: 1fr 1fr; }
  #order-lookup .button { grid-column: 1/-1; }
  .footer-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .footer-logo { grid-column: 1/-1; }
  .dash-shell { display: block; }
  .dash-sidebar { position: static; width: auto; min-height: 0; padding: 16px var(--pad); border-right: 0; border-bottom: 1px solid var(--line); }
  .dash-sidebar nav { display: flex; overflow-x: auto; gap: 8px; scrollbar-width: none; }
  .dash-sidebar nav::-webkit-scrollbar { display: none; }
  .dash-sidebar button { flex: 0 0 auto; }
  .dash-content { padding: 34px var(--pad) 80px; }
}

@media (max-width: 680px) {
  :root { --pad: 18px; --radius: 18px; }
  html { font-size: 15px; }
  .site-header { height: 72px; gap: 8px; }
  .site-header.scrolled { height: 68px; }
  .brand-lockup img { width: 150px; height: 38px; }
  .header-cta { display: none; }
  .language-toggle { padding: 0; }
  .mobile-menu { padding-top: 92px; }
  .section { padding-block: 68px; }
  .section-heading { margin-bottom: 34px; }
  .section-heading h2, .page-hero h1 { font-size: clamp(2.15rem, 11vw, 3.25rem); }
  .hero { padding-top: 112px; }
  .hero h1 { font-size: clamp(2.7rem, 13vw, 4.3rem); }
  .hero-buttons .button { width: 100%; }
  .hero-visual { min-height: 390px; }
  .ecosystem-map { transform: scale(.84); }
  .beta-ribbon { display: flex; align-items: flex-start; flex-direction: column; gap: 6px; padding-block: 13px; }
  .beta-ribbon span { font-size: .75rem; }
  .page-hero { min-height: 570px; padding: 126px var(--pad) 64px; }
  .page-hero-art { width: 100vw; right: -52vw; opacity: .4; }
  .module-nav { top: 67px; justify-content: flex-start; }
  .module-nav a { min-height: 48px; padding-inline: 13px; }
  .feature-strip, .preview-grid, .services-grid, .article-grid, .values-grid, .image-stack, .footer-grid { grid-template-columns: 1fr; }
  .project-type-grid, .safety-grid, .lab-grid, .talent-grid, .case-products, .package-grid, .flow-cards, .payment-methods, .service-process-grid { grid-template-columns: 1fr; }
  .image-card:first-child { grid-column: auto; }
  .feature-strip article { min-height: 0; }
  .preview-card { min-height: 320px; }
  .portfolio-card, .portfolio-card.wide { min-height: 420px; }
  .media-label { left: 15px; right: 15px; bottom: 14px; display: block; }
  .media-label span { display: block; margin-top: 5px; text-align: left; }
  .trust-panel, .join-form, .project-brief-form { padding: 22px; }
  .trust-points { margin-top: 8px; }
  .status-flow { grid-template-columns: 1fr; }
  .status-step { min-height: 0; }
  .join-fields, .field-grid { grid-template-columns: 1fr; }
  .join-fields .full, .field-grid .full { grid-column: auto; }
  .simple-header { height: 70px; }
  .simple-header img { width: 145px; }
  .brief-shell { width: calc(100% - 36px); padding-block: 48px 72px; }
  .brief-intro h1, .order-shell h1 { font-size: clamp(2.5rem, 12vw, 3.6rem); }
  .order-shell { width: calc(100% - 36px); padding-top: 112px; }
  #order-lookup { grid-template-columns: 1fr; }
  #order-lookup .button { grid-column: auto; }
  .footer-grid { gap: 34px; }
  .footer-logo { grid-column: auto; }
  .footer-end { align-items: flex-start; flex-direction: column; }
  .dash-topbar { padding-inline: 16px; }
  .dash-topbar img { width: 140px; }
  .dash-topbar > div { gap: 8px; }
  .dash-sync { display: none; }
  .dash-content { padding-inline: 18px; }
  .dash-heading h1 { font-size: 2.75rem; }
  .ai-launcher { right: 14px; bottom: 14px; }
  .ai-launcher > span:last-child { display: none; }
  .ai-chat { inset: auto 10px 76px; width: auto; max-height: calc(100svh - 94px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .template-track { transform: none !important; }
}
