/* ZHIPACT V12 — one independent stylesheet, no legacy overrides. */
@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("assets/fonts/inter-0.woff2") format("woff2");
}

:root {
  color-scheme: light;
  --navy: #131921;
  --navy-soft: #232F3E;
  --page: #EAEDED;
  --surface: #F7F8FA;
  --white: #FFFFFF;
  --ink: #17212D;
  --text: #344253;
  --muted: #536170;
  --line: #D5DCE2;
  --line-strong: #9AA8B5;
  --accent: #FF9900;
  --primary: #FFD814;
  --primary-hover: #F7CA00;
  --link: #125783;
  --error: #B42318;
  --success: #216342;
  --radius: 12px;
  --radius-small: 7px;
  --shadow: 0 12px 32px rgb(19 25 33 / 8%);
  --font: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { font-family: var(--font); scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; background: var(--page); color: var(--text); font-size: 18px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
[hidden] { display: none !important; }
button, input, textarea, select { font: inherit; color: inherit; }
button, input, select { min-height: 44px; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
figure { margin: 0; }
svg { flex-shrink: 0; }
a { color: var(--link); text-underline-offset: 4px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
strong { font-weight: 650; }
p, ul, ol { margin: 0 0 18px; }
p:last-child, ul:last-child, ol:last-child { margin-bottom: 0; }
h1, h2, h3, h4 { margin: 0 0 16px; color: var(--ink); font-weight: 650; overflow-wrap: break-word; word-spacing: normal; }
h1 { max-width: 23ch; font-size: clamp(38px, 4.2vw, 58px); line-height: 1.12; letter-spacing: -.025em; }
h2 { font-size: clamp(28px, 3vw, 38px); line-height: 1.22; letter-spacing: -.018em; }
h3 { font-size: 23px; line-height: 1.3; letter-spacing: -.01em; }
h4 { font-size: 19px; line-height: 1.4; }
:focus-visible { outline: 3px solid #D66B00; outline-offset: 3px; }
::selection { color: var(--navy); background: #FFE78A; }

.container { width: 100%; max-width: 1280px; margin-inline: auto; padding-inline: 32px; }
.section { padding-block: 64px; }
.section-soft { background: var(--surface); }
.section-white, .section-muted { background: var(--surface); }
.section-heading { max-width: 760px; margin-bottom: 30px; }
.section-heading > p, .section-lead { max-width: 65ch; color: var(--muted); }
.mini-label, .eyebrow { display: block; margin-bottom: 10px; color: var(--muted); font-size: 14px; font-weight: 700; letter-spacing: .065em; line-height: 1.45; text-transform: uppercase; }
.text-link { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; font-size: 16px; font-weight: 600; }
.text-link svg { width: 18px; height: 18px; }
.muted, .image-note { color: var(--muted); }
.image-note { margin-top: 10px; font-size: 14px; line-height: 1.5; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 8px; left: 16px; z-index: 1100; padding: 12px 18px; color: var(--navy); background: var(--primary); border-radius: var(--radius-small); transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-width: 0; min-height: 48px; padding: 12px 20px; border: 1px solid transparent; border-radius: var(--radius-small); font-size: 16px; font-weight: 650; line-height: 1.4; text-align: center; text-decoration: none; overflow-wrap: anywhere; transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease; }
.button:hover { text-decoration: none; }
.button svg, .icon { width: 20px; height: 20px; }
.button-primary { color: var(--navy); background: var(--primary); border-color: #E0BC0A; }
.button-primary:hover { color: var(--navy); background: var(--primary-hover); border-color: #CCAD00; box-shadow: 0 3px 9px rgb(19 25 33 / 10%); }
.button-secondary, .button-outline { color: var(--ink); background: var(--white); border-color: var(--line-strong); }
.button-secondary:hover, .button-outline:hover { background: #EFF2F5; border-color: var(--ink); }
.button-dark { color: var(--white); background: var(--navy-soft); border-color: var(--navy-soft); }
.button-dark:hover { background: var(--navy); }
.button:disabled { color: #5D6570; background: #E1E5E9; border-color: #CDD4DA; box-shadow: none; }
.button-row { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }

/* Real navigation remains visible until its handlers bind successfully. */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--navy); border-bottom: 1px solid #3D4754; }
.header-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.brand { display: inline-flex; flex-shrink: 0; flex-direction: column; gap: 3px; color: var(--white); font-size: 22px; font-weight: 700; line-height: 1.1; letter-spacing: -.025em; text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand > small { color: #CDD5DE; font-size: 11px; font-weight: 650; letter-spacing: .16em; }
.brand .brand-dot { color: var(--accent); font-size: inherit; letter-spacing: inherit; }
.main-nav { display: flex; align-items: center; gap: 8px; }
.nav-item { position: relative; display: flex; min-width: 0; align-items: stretch; }
.nav-link { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 12px; border: 1px solid #637080; border-radius: var(--radius-small); color: #F7F8FA; font-size: 16px; font-weight: 600; line-height: 1.3; text-align: center; text-decoration: none; transition: background-color 160ms ease, border-color 160ms ease; }
.nav-link:hover, .nav-link[aria-current="page"] { color: var(--white); background: #344353; border-color: #C1CCD6; text-decoration: none; }
.nav-item.is-open .nav-link { color: var(--white); background: #344353; border-color: #C1CCD6; }
.nav-toggle, .menu-toggle { display: none; }
.nav-preview { position: absolute; top: calc(100% - 1px); left: 0; z-index: 110; width: 340px; max-width: calc(100vw - 32px); max-height: calc(100dvh - 92px); padding: 12px; overflow-y: auto; overscroll-behavior: contain; color: var(--text); background: var(--white); border: 1px solid var(--line-strong); border-radius: 0 0 10px 10px; box-shadow: 0 15px 32px rgb(19 25 33 / 18%); }
.nav-item:last-child .nav-preview { right: 0; left: auto; }
.nav-preview a { display: flex; flex-direction: column; gap: 3px; min-height: 44px; padding: 10px 12px; border-radius: 6px; color: var(--ink); font-size: 16px; line-height: 1.45; text-decoration: none; overflow-wrap: anywhere; }
.nav-preview a:hover { background: #EDF1F4; }
.nav-preview a span, .nav-preview p { color: var(--muted); font-size: 15px; line-height: 1.45; }
.nav-preview p { padding: 4px 12px 8px; margin-bottom: 0; }
.nav-preview .nav-preview-title { color: var(--ink); font-size: 14px; font-weight: 650; }
.header-actions { display: flex; align-items: center; flex-shrink: 0; gap: 12px; }
.header-actions .text-link { color: #E7EDF3; }
.header-actions .button { min-height: 44px; padding: 10px 16px; }

/* Five home sections, each with one distinct job. */
.hero { padding-block: 52px 56px; color: #DCE3EB; background: var(--navy-soft); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; gap: 48px; }
.hero-copy { min-width: 0; }
.hero .eyebrow { color: #FFB84D; }
.hero h1 { max-width: 20ch; margin-bottom: 20px; color: var(--white); }
.hero-lead { max-width: 52ch; margin-bottom: 24px; color: #E0E7EE; font-size: 20px; line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.hero-actions .button-secondary { color: #F7F8FA; background: transparent; border-color: #A3AFBC; }
.hero-actions .button-secondary:hover { color: var(--white); background: #344353; border-color: #DCE4EC; }
.hero-secondary { color: #E0E7EE; }
.hero-secondary:hover { color: #FFB84D; }
.founder-inline { display: flex; align-items: center; gap: 12px; margin-top: 24px; padding-top: 20px; border-top: 1px solid #526171; color: var(--white); text-decoration: none; }
.founder-inline:hover { color: var(--white); text-decoration: none; }
.founder-inline:hover .founder-meta strong { text-decoration: underline; text-underline-offset: 4px; }
.founder-arrow { margin-left: auto; color: #FFB84D; font-size: 23px; }
.founder-avatar { flex-shrink: 0; width: 44px; height: 52px; object-fit: cover; border: 1px solid #8A98A7; border-radius: 6px; }
.founder-meta { min-width: 0; font-size: 16px; line-height: 1.45; }
.founder-meta strong { display: block; color: var(--white); }
.founder-meta span, .founder-meta p { display: block; margin: 3px 0 0; color: #CFD9E3; font-size: 16px; }
.hero-trust { margin: 16px 0 0; padding: 0; color: #DCE3EB; font-size: 15px; line-height: 1.6; text-wrap: balance; list-style: none; }
.hero-trust > span { margin-inline: 6px; color: #FFB84D; }
.hero-trust li { position: relative; padding-left: 12px; }
.hero-trust li::before { content: ""; position: absolute; left: 0; top: .65em; width: 4px; height: 4px; background: var(--accent); border-radius: 50%; }
.hero-figure { min-width: 0; overflow: hidden; background: var(--navy); border: 1px solid #5B6978; border-radius: var(--radius); }
.hero-image-wrap { position: relative; min-width: 0; overflow: hidden; }
.hero-image-wrap > img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.hero-image-caption { position: absolute; right: 0; bottom: 0; left: 0; display: flex; align-items: center; gap: 8px; padding: 34px 18px 14px; color: #F7F8FA; background: linear-gradient(transparent, rgb(19 25 33 / 90%)); font-size: 15px; line-height: 1.5; }
.status-dot { flex-shrink: 0; width: 7px; height: 7px; background: #FFB84D; border-radius: 50%; }
.hero-figure > figcaption { margin-top: 0; padding: 0 16px 14px; color: #D6DEE8; font-size: 14px; line-height: 1.5; }
.hero-flow { display: flex; align-items: center; gap: 10px; padding: 16px; }
.flow-node { display: flex; flex: 1 1 0; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-width: 0; min-height: 106px; padding: 10px; color: #E7EDF3; background: #2E3D4E; border: 1px solid #718092; border-radius: 7px; font-size: 13px; line-height: 1.4; text-align: center; transition: border-color 300ms ease, box-shadow 300ms ease; }
.flow-node strong { color: #F7F8FA; font-size: 16px; }
.flow-label { color: #D3DEE8; font-size: 11px; font-weight: 650; letter-spacing: .04em; }
.flow-icon { color: #FFB84D; }
.flow-icon .icon { width: 18px; height: 18px; }
.supplier-tokens { display: flex; gap: 5px; margin-top: 6px; }
.supplier-tokens span { display: inline-flex; align-items: center; justify-content: center; width: 23px; height: 27px; color: var(--navy); background: #DCE5EC; border-radius: 4px; font-size: 13px; font-weight: 650; }
.flow-arrow { flex-shrink: 0; color: var(--accent); font-size: 21px; }
.hero-flow.is-visible .flow-node { border-color: #C5A45B; box-shadow: inset 0 -2px 0 #FFB84D; }
.work-section { background: var(--surface); }
.service-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 22px; }
.service-tabs:not(.tabs-ready) { display: none; }
.service-tab { display: grid; grid-template-columns: minmax(0, 1fr) 16px; align-items: start; gap: 12px; min-width: 0; min-height: 112px; padding: 18px 20px; color: var(--text); background: var(--white); border: 1px solid var(--line-strong); border-radius: 10px; text-align: left; transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease; }
.tab-text { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.tab-text > span { color: var(--muted); font-size: 16px; line-height: 1.45; }
.service-tab strong { color: var(--ink); font-size: 18px; line-height: 1.35; }
.service-tab > .tab-arrow { color: #75511B; font-size: 20px; line-height: 1.2; }
.service-tab:hover { background: #EDF1F4; border-color: #697B8E; }
.service-tab[aria-selected="true"] { background: #FFF9DF; border-color: #A77F08; box-shadow: inset 0 -3px 0 var(--accent); }
.service-panels { display: grid; gap: 24px; }
.service-panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-width: 0; overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.service-image { display: flex; flex-direction: column; min-width: 0; min-height: 0; background: var(--page); border-right: 1px solid var(--line); }
.service-image img { flex: 1; width: 100%; height: 100%; min-height: 0; object-fit: cover; }
.service-image figcaption { padding: 12px 16px; color: var(--muted); font-size: 14px; line-height: 1.5; }
.service-copy { min-width: 0; padding: 28px 30px; }
.service-copy h3 { font-size: 28px; line-height: 1.25; }
.panel-lead { margin-bottom: 18px; font-size: 18px; }
.deliverable-list { display: grid; gap: 14px; margin-bottom: 18px; padding: 0; font-size: 16px; line-height: 1.55; list-style: none; }
.deliverable-list li { display: grid; grid-template-columns: 20px minmax(0, 1fr); align-items: start; gap: 10px; min-width: 0; }
.deliverable-list li > .icon { margin-top: 3px; color: #805414; }
.deliverable-list li p { margin: 3px 0 0; color: var(--muted); font-size: 16px; }
.deliverable-list strong { color: var(--ink); }
.panel-meta { margin-bottom: 22px; color: var(--muted); font-size: 16px; line-height: 1.55; }
.panel-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 20px; }
.proof-section { background: var(--page); }
.proof-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; gap: 48px; }
.sample-card { min-width: 0; padding: 28px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.sample-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.sample-head .eyebrow { margin: 0; }
.sample-badge { padding: 4px 7px; color: var(--muted); background: #EBEFF3; border: 1px solid var(--line); border-radius: 4px; font-size: 11px; font-weight: 650; letter-spacing: .04em; }
.sample-head h3 { margin-bottom: 8px; font-size: 24px; }
.sample-head p { color: var(--muted); font-size: 16px; }
.sample-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.sample-option { min-width: 0; padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; }
.sample-option h4 { margin-bottom: 12px; }
.option-label { display: block; margin-bottom: 5px; color: var(--muted); font-size: 14px; }
.sample-price { display: block; margin-bottom: 12px; color: var(--ink); font-size: 24px; line-height: 1.25; }
.sample-price, .sample-option dd, .comparison-table { font-variant-numeric: tabular-nums; }
.sample-option .open-item { padding-top: 10px; border-top: 1px solid var(--line); }
.sample-option .open-item dd { width: 100%; }
.sample-option dl { margin: 0; }
.sample-option dl > div { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 3px 12px; margin-top: 10px; font-size: 16px; line-height: 1.5; }
.sample-option dt { color: var(--muted); }
.sample-option dd { margin: 0; color: var(--ink); font-weight: 600; }
.sample-decision { margin: 18px 0 12px; padding: 16px 18px; background: #FFF9DF; border-left: 3px solid var(--accent); border-radius: 0 7px 7px 0; font-size: 16px; line-height: 1.55; }
.sample-note { margin-top: 12px; color: var(--muted); font-size: 14px; line-height: 1.5; }
.sample-card [data-proof-toggle] { padding: 0; color: var(--link); background: none; border: 0; text-decoration: underline; text-underline-offset: 4px; }
#proofRationale { margin-top: 12px; padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 7px; font-size: 16px; line-height: 1.55; }
.principles { min-width: 0; }
.principle-list { display: grid; gap: 20px; margin: 22px 0 14px; padding: 0; list-style: none; }
.principle-list li { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 12px; }
.principle-list li > span { padding-top: 2px; color: #6E4D16; font-size: 14px; font-weight: 650; }
.principle-list strong { color: var(--ink); }
.principle-list p { margin-top: 5px; color: var(--muted); font-size: 16px; line-height: 1.55; }
.products-section { padding-block: 44px; background: var(--surface); border-block: 1px solid var(--line); }
.product-layout { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: start; gap: 48px; }
.product-layout .section-heading { margin-bottom: 0; }
.product-finder { min-width: 0; }
.search-form { display: block; min-width: 0; }
.search-form > label { display: block; margin-bottom: 9px; color: var(--ink); font-size: 16px; font-weight: 600; }
.search-input-row { display: flex; align-items: stretch; gap: 8px; min-width: 0; padding: 6px; background: var(--white); border: 1px solid var(--line-strong); border-radius: 9px; }
.search-input-row > .icon { align-self: center; margin-left: 10px; color: var(--muted); }
.search-form input[type="search"] { display: block; flex: 1 1 0; width: 100%; min-width: 0; min-height: 48px; padding: 10px 12px; color: var(--ink); background: transparent; border: 0; border-radius: 5px; font-size: 16px; line-height: 1.5; }
.search-form .button { flex-shrink: 0; padding-inline: 18px; }
.search-results { display: grid; gap: 12px; margin-top: 16px; }
.search-results .results-summary { margin-top: 0; }
.direction-links { display: flex; flex-wrap: wrap; gap: 4px 20px; margin-top: 10px; }
.direction-links > a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: var(--link); font-size: 16px; line-height: 1.45; }
.direction-links .icon { width: 16px; height: 16px; }
.product-note { margin-top: 8px; color: var(--muted); font-size: 16px; }
.contact-section { background: var(--page); }
.contact-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: start; gap: 48px; }
.contact-copy, .contact-card { min-width: 0; }
.contact-copy > p { max-width: 52ch; }
.contact-copy > details { margin-top: 18px; border-bottom: 1px solid var(--line-strong); }
.contact-copy > details summary { padding-block: 12px; color: var(--ink); font-size: 16px; font-weight: 600; }
.contact-copy > details > p { padding-bottom: 16px; color: var(--muted); font-size: 16px; }
.contact-assurance { color: var(--muted); font-size: 16px; }
.contact-questions { margin-top: 22px; }
.contact-questions details { border-bottom: 1px solid var(--line-strong); }
.contact-questions summary { padding-block: 14px; color: var(--ink); font-size: 16px; font-weight: 600; }
.contact-questions details > p { padding-bottom: 16px; color: var(--muted); font-size: 16px; }
.secondary-contact { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 20px; font-size: 16px; line-height: 1.5; }
.direct-email { margin-top: 16px; overflow-wrap: anywhere; }
.fallback-note { margin-top: 16px; color: var(--muted); font-size: 16px; }

@media (min-width: 901px) {
  html.preview-ready .nav-link { border-right: 0; border-radius: 7px 0 0 7px; }
  html.preview-ready .nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; min-height: 44px; padding: 0; color: #F7F8FA; background: transparent; border: 1px solid #637080; border-left: 0; border-radius: 0 7px 7px 0; }
  .nav-toggle svg { width: 16px; height: 16px; transition: transform 160ms ease; }
  .nav-toggle[aria-expanded="true"] { background: #344353; border-color: #C1CCD6; }
  .nav-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
}

/* Inner pages use the same readable surfaces and spacing as the landing page. */
.page-hero { padding-block: 56px; background: var(--surface); border-bottom: 1px solid var(--line); }
.page-hero-copy { max-width: 760px; min-width: 0; }
.page-hero-copy > p { max-width: 63ch; }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); align-items: center; gap: 48px; }
.page-hero-visual { min-width: 0; }
.page-hero-visual img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--line); }
.page-hero-visual.portrait-visual { width: 100%; max-width: 320px; justify-self: center; }
.portrait-visual img { width: 100%; height: auto; aspect-ratio: 38 / 45; object-fit: contain; }
.portrait-visual figcaption { margin-top: 12px; color: var(--muted); font-size: 14px; line-height: 1.5; }
.content-grid, .detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: start; }
.card, .detail-card { min-width: 0; padding: 26px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.card h3, .detail-card h3 { margin-bottom: 12px; }
.card > p, .detail-card > p { max-width: 64ch; }
.detail-card ul, .card ul { padding-left: 21px; }
.detail-card li + li, .card li + li { margin-top: 9px; }
.detail-card .button-row { margin-top: 20px; }
.container > .detail-card + .detail-card { margin-top: 26px; }
.detail-card > .detail-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 24px; }
.detail-card > .content-grid { margin-bottom: 24px; }
.detail-card .card { padding: 22px; background: var(--surface); border-radius: 8px; }
.card h2 { font-size: 28px; line-height: 1.25; }
.section .button-row { margin-top: 24px; }
.narrow { max-width: 960px; }
.page-hero-compact { padding-block: 40px; }
.lead { max-width: 64ch; font-size: 20px; line-height: 1.55; }
.section-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; margin-bottom: 26px; }
.section-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 14px; color: var(--ink); background: var(--white); border: 1px solid var(--line-strong); border-radius: 7px; font-size: 16px; font-weight: 600; line-height: 1.45; text-decoration: none; }
.section-links a:hover { background: #E9EEF2; border-color: #637487; }
.scope-note { max-width: 85ch; margin-top: 22px; color: var(--muted); font-size: 16px; line-height: 1.6; }
.scope-details { margin-block: 24px; border-block: 1px solid var(--line); }
.scope-details summary { padding-block: 14px; color: var(--ink); font-size: 16px; font-weight: 600; }
.scope-details > p { max-width: 85ch; padding-bottom: 18px; color: var(--muted); font-size: 16px; }
.small-text { color: var(--muted); font-size: 16px; line-height: 1.55; }
.anchor { display: block; width: 0; height: 0; scroll-margin-top: 96px; }
.step-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; margin: 0; padding: 0; list-style: none; }
.step-list > li { display: grid; grid-template-columns: 36px minmax(0, 1fr); align-items: start; gap: 14px; min-width: 0; padding-top: 22px; border-top: 2px solid var(--line-strong); }
.step-list h2 { margin-top: 2px; font-size: 25px; line-height: 1.25; }
.step-number { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; color: var(--navy); background: var(--primary); border: 1px solid #BDA10C; border-radius: 50%; font-size: 16px; font-weight: 700; }
.compact-steps { display: grid; gap: 20px; padding-left: 24px; }
.compact-steps li { padding-left: 5px; }
.compact-steps strong { display: block; color: var(--ink); }
.compact-steps span { display: block; margin-top: 5px; color: var(--muted); font-size: 16px; line-height: 1.55; }
.process-details, .record-details { min-width: 0; padding-inline: 22px; background: var(--white); border: 1px solid var(--line); border-radius: 10px; }
.process-details > summary, .record-details > summary { padding-block: 16px; color: var(--ink); font-size: 18px; font-weight: 600; line-height: 1.5; }
.process-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; padding-block: 8px 22px; }
.process-list .card { background: var(--surface); }
.record-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; gap: 18px; }
.record-details ul { padding-left: 20px; padding-bottom: 20px; font-size: 16px; }
.record-details li + li { margin-top: 10px; }
.report-layout { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .8fr); align-items: start; gap: 32px; }
.report-layout > div, .report-visual { min-width: 0; }
.report-visual img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border: 1px solid var(--line); border-radius: var(--radius); }
.table-scroll { max-width: 100%; overflow-x: auto; overscroll-behavior-inline: contain; background: var(--white); border: 1px solid var(--line); border-radius: 10px; }
.comparison-table { width: 100%; min-width: 520px; border-collapse: collapse; color: var(--text); font-size: 16px; line-height: 1.5; text-align: left; }
.comparison-table caption { padding: 16px; color: var(--ink); font-size: 18px; font-weight: 650; text-align: left; }
.comparison-table th, .comparison-table td { padding: 13px 16px; border-top: 1px solid var(--line); vertical-align: top; }
.comparison-table thead th { color: var(--white); background: var(--navy-soft); font-weight: 600; }
.comparison-table tbody th { color: var(--ink); font-weight: 600; }
.comparison-table tbody tr:nth-child(even) { background: var(--surface); }
.decision-note { margin-top: 20px; padding: 18px 20px; background: #FFF9DF; border-left: 4px solid var(--accent); border-radius: 0 8px 8px 0; font-size: 16px; line-height: 1.6; }
.decision-note h3 { margin-bottom: 10px; font-size: 21px; }
.request-layout { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: start; gap: 48px; }
.contact-context, .contact-form-wrap { min-width: 0; }
.contact-context h2 { font-size: 28px; }
.notice { padding: 18px 20px; background: #FFF8D8; border: 1px solid #E6D78E; border-left: 4px solid var(--accent); border-radius: 8px; font-size: 16px; line-height: 1.55; }
.rule-list { margin: 0; padding-left: 22px; }
.rule-list li + li { margin-top: 14px; }
details { min-width: 0; }
summary { min-height: 44px; cursor: pointer; }
.faq-list { display: grid; gap: 12px; }
.faq-list details { padding: 0 20px; background: var(--white); border: 1px solid var(--line); border-radius: 8px; }
.faq-list summary { padding-block: 14px; color: var(--ink); font-size: 18px; font-weight: 600; }
.faq-list details > p { padding-bottom: 18px; font-size: 16px; }

/* One form; honest delivery status is managed by the contact configuration. */
.contact-form { min-width: 0; padding: 30px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 8px 24px rgb(19 25 33 / 4%); }
.contact-form h2 { font-size: 28px; line-height: 1.25; }
.form-field { min-width: 0; margin-bottom: 20px; }
.form-field label { display: block; margin-bottom: 8px; color: var(--ink); font-size: 16px; font-weight: 600; line-height: 1.45; }
.form-field input, .form-field select, .form-field textarea { display: block; width: 100%; min-width: 0; min-height: 48px; padding: 12px 14px; color: var(--ink); background: var(--white); border: 1px solid var(--line-strong); border-radius: 7px; font-size: 16px; line-height: 1.5; }
.form-field textarea { min-height: 132px; resize: vertical; }
.form-field input::placeholder, .form-field textarea::placeholder { color: #647281; opacity: 1; }
.form-field [aria-invalid="true"] { border-color: var(--error); box-shadow: 0 0 0 1px var(--error); }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.form-row .form-field { margin-bottom: 16px; }
.form-error { margin-top: 7px; color: var(--error); font-size: 16px; line-height: 1.45; }
.form-note { color: var(--muted); font-size: 16px; line-height: 1.5; }
.form-details { margin-bottom: 22px; border-block: 1px solid var(--line); }
.form-details summary { padding: 13px 0; color: var(--ink); font-size: 16px; font-weight: 600; line-height: 1.5; }
.form-details[open] summary { margin-bottom: 12px; }
.form-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.form-actions .button-primary { flex: 1; }
.form-status { margin-top: 16px; font-size: 16px; line-height: 1.55; overflow-wrap: anywhere; }
.form-status:empty { display: none; }
.form-status[data-state="error"], .form-status.is-error { color: var(--error); }
.form-status[data-state="success"], .form-status.is-success { color: var(--success); }
.brief-preview { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line); }
.brief-preview h3 { font-size: 20px; }
.brief-output { max-width: 100%; margin: 0 0 16px; padding: 18px; color: var(--text); background: var(--surface); border: 1px solid var(--line); border-radius: 8px; font-family: var(--font); font-size: 16px; line-height: 1.6; white-space: pre-wrap; overflow-wrap: anywhere; word-break: break-word; }
.brief-preview .form-actions { margin-top: 12px; }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Search results stay readable before offering their two explicit actions. */
.catalog-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.result-card { display: flex; flex-direction: column; gap: 18px; min-width: 0; padding: 22px; background: var(--white); border: 1px solid var(--line); border-radius: 10px; transition: border-color 160ms ease, box-shadow 160ms ease; }
.result-copy { min-width: 0; }
.result-title { margin-bottom: 8px; font-size: 21px; line-height: 1.35; }
.result-title a { color: var(--ink); transition: color 160ms ease; }
.result-title a:hover, .result-title a:focus-visible { color: var(--link); }
.result-family { margin-bottom: 7px; color: var(--muted); font-size: 14px; font-weight: 600; line-height: 1.5; }
.result-copy > p:not(.result-family) { color: var(--muted); font-size: 16px; line-height: 1.55; overflow-wrap: anywhere; }
.result-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; }
.result-actions .button { flex: 1 1 140px; min-height: 44px; padding: 10px 14px; }
.results-summary { margin: 18px 0 12px; color: var(--muted); font-size: 16px; }
.all-results-link { display: inline-flex; align-items: center; min-height: 44px; margin-top: 12px; font-size: 16px; font-weight: 600; }
.result-empty { grid-column: 1 / -1; padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; font-size: 16px; }
.result-empty h3 { font-size: 21px; }
.catalog-search-form { display: block; max-width: 900px; padding: 0; background: transparent; border: 0; border-radius: 0; }
.catalog-search-form > label { display: block; margin-bottom: 9px; color: var(--ink); font-size: 16px; font-weight: 600; }
.search-field { display: flex; align-items: stretch; gap: 8px; min-width: 0; padding: 6px; background: var(--white); border: 1px solid var(--line-strong); border-radius: 9px; }
.catalog-filters { display: none; flex-wrap: wrap; gap: 10px; margin-block: 24px 18px; }
html.catalog-ready .catalog-filters { display: flex; }
.filter-button { display: inline-flex; align-items: center; justify-content: center; min-width: 0; min-height: 44px; padding: 10px 14px; color: var(--text); background: var(--white); border: 1px solid var(--line-strong); border-radius: 7px; font-size: 16px; line-height: 1.45; text-align: center; transition: background-color 160ms ease, border-color 160ms ease; }
.filter-button:hover { background: #EFF3F6; border-color: #627486; }
.filter-button[aria-pressed="true"], .filter-button.active { color: var(--navy); background: #FFF7CB; border-color: #94700A; }
.catalog-count { margin-bottom: 20px; color: var(--muted); font-size: 16px; }
.show-more-wrap { margin-top: 24px; text-align: center; }
.static-directory { margin-top: 24px; }
.static-directory > summary { padding-block: 12px; font-size: 18px; font-weight: 600; }

.site-footer { padding: 42px 0 22px; color: #CBD5DF; background: var(--navy); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr); gap: 40px; }
.footer-brand p { max-width: 45ch; margin-top: 16px; color: #C1CBD6; font-size: 16px; line-height: 1.6; }
.site-footer h2, .site-footer h3, .site-footer h4 { margin-bottom: 12px; color: var(--white); font-size: 16px; letter-spacing: normal; line-height: 1.5; }
.footer-links { margin: 0; padding: 0; list-style: none; }
.footer-links a { display: flex; align-items: center; width: fit-content; max-width: 100%; min-height: 44px; color: #D5DEE7; font-size: 16px; overflow-wrap: anywhere; }
.footer-links p { max-width: 40ch; margin-top: 12px; color: #C1CBD6; font-size: 16px; }
.site-footer .text-link { color: #D5DEE7; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px 32px; margin-top: 30px; padding-top: 20px; border-top: 1px solid #46525F; }
.footer-bottom p { max-width: 80ch; margin: 0; color: #C1CBD6; font-size: 14px; line-height: 1.6; overflow-wrap: anywhere; }

/* One brief emphasis after the workflow enters view; all labels stay visible. */
.hero-flow.is-visible .flow-node { animation: flow-node-emphasis 420ms ease-out 1 both; }
.hero-flow.is-visible .flow-node:nth-of-type(2) { animation-delay: 100ms; }
.hero-flow.is-visible .flow-node:nth-of-type(3) { animation-delay: 200ms; }
.hero-flow.is-visible .flow-arrow { animation: flow-arrow-emphasis 360ms ease-out 1 both; animation-delay: 50ms; }
.hero-flow.is-visible .flow-arrow:nth-of-type(2) { animation-delay: 150ms; }
.services-ready .service-panel:not([hidden]) { animation: service-panel-enter 180ms ease-out both; }

@keyframes flow-node-emphasis {
  0%, 100% { transform: translateY(0); box-shadow: inset 0 -2px 0 #FFB84D; }
  45% { transform: translateY(-2px); box-shadow: 0 0 0 3px rgb(255 153 0 / 20%), inset 0 -2px 0 #FFD814; }
}

@keyframes flow-arrow-emphasis {
  0%, 100% { color: var(--accent); transform: translateX(0); }
  45% { color: var(--primary); transform: translateX(3px); }
}

@keyframes service-panel-enter {
  from { opacity: .94; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (hover: hover) and (pointer: fine) {
  .service-tab:hover { transform: translateY(-2px) scale(1.01); box-shadow: 0 6px 16px rgb(19 25 33 / 8%); }
  .result-card:hover { border-color: #8B9CAC; box-shadow: 0 8px 20px rgb(19 25 33 / 7%); }
}

@media (min-width: 901px) and (max-width: 1120px) {
  .container { padding-inline: 24px; }
  .header-inner { gap: 12px; }
  .main-nav { gap: 5px; }
  .nav-link { padding-inline: 9px; }
  .header-actions { gap: 8px; }
  .header-actions .button { padding-inline: 12px; }
  .hero-grid { gap: 32px; }
  .service-tab { gap: 9px; padding-inline: 15px; }
  .service-copy { padding: 26px; }
  .proof-grid, .contact-grid, .request-layout, .product-layout { gap: 32px; }
}

@media (max-width: 900px) {
  html { scroll-padding-top: 88px; }
  html:not(.nav-ready) .site-header { position: static; }
  .header-inner { flex-wrap: wrap; gap: 14px; min-height: 72px; padding-block: 14px; }
  .main-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); order: 3; width: 100%; gap: 10px; }
  .nav-item, .nav-link { width: 100%; }
  .nav-link { justify-content: flex-start; }
  .nav-toggle, .nav-preview { display: none !important; }
  html.nav-ready .menu-toggle { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; flex-shrink: 0; gap: 5px; width: 44px; min-height: 44px; padding: 10px; color: var(--white); background: transparent; border: 1px solid #8D99A6; border-radius: 7px; }
  .menu-toggle span { display: block; width: 20px; height: 2px; background: currentColor; }
  .menu-toggle svg { width: 22px; height: 22px; }
  html.nav-ready .main-nav { display: none; position: absolute; top: calc(100% - 1px); right: 20px; left: 20px; z-index: 110; width: auto; max-height: calc(100dvh - 96px); padding: 16px; overflow-y: auto; overscroll-behavior: contain; background: var(--navy-soft); border: 1px solid #637080; border-radius: 0 0 10px 10px; box-shadow: 0 12px 24px rgb(19 25 33 / 18%); }
  html.nav-ready .main-nav.open { display: grid; }
  .header-actions .text-link { display: none; }
  .hero { padding-block: 40px 44px; }
  .hero-grid, .service-panel, .proof-grid, .product-layout, .contact-grid, .request-layout { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .hero-copy { max-width: 760px; }
  .hero h1 { max-width: 21ch; font-size: clamp(38px, 6.2vw, 52px); }
  .hero-figure { width: 100%; max-width: 700px; }
  .hero-lead { font-size: 18px; }
  .service-panel { gap: 0; }
  .service-image { border-right: 0; border-bottom: 1px solid var(--line); }
  .service-image img { flex: none; height: auto; max-height: 420px; aspect-ratio: 3 / 2; }
  .service-tabs { gap: 10px; }
  .service-tab { grid-template-columns: minmax(0, 1fr) 16px; gap: 6px 10px; padding: 16px; }
  .sample-card { max-width: 760px; }
  .product-intro { max-width: 720px; }
  .report-layout { grid-template-columns: minmax(0, 1fr); }
  .report-visual { max-width: 650px; }
  .step-list { gap: 20px; }
  .step-list > li { grid-template-columns: minmax(0, 1fr); }
  .record-grid { grid-template-columns: minmax(0, 1fr); }
  .contact-copy > p { max-width: 65ch; }
  .page-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .page-hero-visual { max-width: 620px; }
  .page-hero { padding-block: 44px; }
  .section { padding-block: 48px; }
  .content-grid, .detail-grid { gap: 20px; }
  .footer-grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 28px; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .service-tabs { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .service-tab { grid-template-columns: minmax(0, 1fr) 16px; gap: 10px; min-height: 86px; }
  .step-list { grid-template-columns: minmax(0, 1fr); }
  .step-list > li { grid-template-columns: 36px minmax(0, 1fr); }
}

@media (max-width: 640px) {
  .container { padding-inline: 20px; }
  h1 { font-size: clamp(34px, 8.7vw, 44px); line-height: 1.15; }
  h2 { font-size: 29px; line-height: 1.25; }
  h3 { font-size: 22px; }
  .section { padding-block: 40px; }
  .section-heading { margin-bottom: 24px; }
  .header-inner { gap: 10px; padding-block: 12px; }
  .brand { font-size: 20px; }
  .header-actions { gap: 8px; }
  .header-actions .button { padding-inline: 12px; }
  .header-cta span { max-width: 11ch; }
  .hero { padding-block: 34px 36px; }
  .hero-grid { gap: 28px; }
  .hero h1 { max-width: none; font-size: clamp(34px, 8.7vw, 44px); line-height: 1.15; }
  .hero-actions { gap: 10px 18px; }
  .founder-inline { margin-top: 20px; padding-top: 18px; }
  .hero-flow { gap: 6px; padding: 12px; }
  .flow-node { min-height: 118px; padding: 8px 6px; font-size: 12px; }
  .flow-node strong { font-size: 14px; }
  .flow-arrow .icon { width: 16px; height: 16px; }
  .supplier-tokens { gap: 3px; }
  .supplier-tokens span { width: 16px; height: 23px; font-size: 12px; }
  .hero-image-caption { padding-inline: 12px; font-size: 14px; }
  .hero-figure > figcaption { padding-inline: 12px; }
  .service-copy { padding: 24px 22px; }
  .service-copy h3 { font-size: 26px; }
  .panel-actions { align-items: stretch; flex-direction: column; gap: 8px; }
  .panel-actions .button { width: 100%; }
  .panel-actions .text-link { justify-content: center; }
  .sample-card { padding: 22px; }
  .sample-options { gap: 12px; }
  .sample-option { padding: 16px; }
  .sample-head { align-items: flex-start; }
  .sample-price { font-size: 22px; }
  .sample-option dl > div { flex-direction: column; }
  .search-input-row > .icon { display: none; }
  .search-form .button { padding-inline: 14px; }
  .direction-links { flex-direction: column; gap: 4px; }
  .contact-grid, .request-layout { gap: 28px; }
  .content-grid, .detail-grid, .form-row { grid-template-columns: minmax(0, 1fr); }
  .detail-card > .detail-grid, .process-list { grid-template-columns: minmax(0, 1fr); }
  .catalog-grid { grid-template-columns: minmax(0, 1fr); }
  html.catalog-ready .catalog-filters { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .filter-button { width: 100%; padding-inline: 10px; }
  .filter-button[data-family="all"] { grid-column: 1 / -1; }
  .form-row { gap: 0; }
  .card, .detail-card, .contact-form { padding: 22px; }
  .contact-form { box-shadow: none; }
  .form-actions { align-items: stretch; flex-direction: column; }
  .form-actions .button { width: 100%; }
  .result-card { gap: 16px; padding: 20px; }
  .result-actions { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .result-actions .button { width: 100%; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-brand { grid-column: auto; }
  .footer-bottom { margin-top: 24px; }
}

@media (max-width: 480px) {
  .sample-options { grid-template-columns: minmax(0, 1fr); }
  .sample-option dl > div { flex-direction: row; }
}

@media (max-width: 360px) {
  .container { padding-inline: 16px; }
  .header-inner { column-gap: 8px; }
  .header-actions { gap: 6px; }
  .header-actions .button { padding-inline: 10px; }
  .header-cta > .icon { display: none; }
  .search-input-row .button > .icon { display: none; }
  .brand { font-size: 19px; }
  .service-copy { padding: 22px 18px; }
  .sample-card { padding: 20px; }
  .card, .detail-card, .contact-form { padding: 18px; }
  html.nav-ready .main-nav { right: 16px; left: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .nav-toggle svg, .service-tab, .service-tab:hover, .result-card, .result-card:hover { transform: none !important; }
  .hero-flow.is-visible .flow-node, .hero-flow.is-visible .flow-arrow, .services-ready .service-panel:not([hidden]) { animation: none !important; transform: none !important; }
}

/* ==========================================================================
   ZHIPACT Amazon Color Palette & Structural Refinements (Merged V12.2)
   - Main Nav: #131921 Squid Ink
   - Secondary Dark: #232F3E (Hero, Footer, Badges)
   - Canvas: #EAEDED (Warm soft gray, eliminates stark white glare)
   - Cards: #FFFFFF with #D5D9D9 border & elevation
   - CTA Button: #FFD814 with #0F1111 dark charcoal text
   - Search Button: #FEBD69 authentic Amazon amber
   - Focus Halo: #FF9900 Amazon Orange 3px halo
   - Header Nav: Generous 22px spacing, 44x44px touch targets
   - State Protection: disabled, invalid:focus, reduced-motion
   - High Contrast Dark Links: #FFFFFF & #FFB84D on dark backgrounds
   ========================================================================== */

:root {
  --amz-nav: #131921;
  --amz-dark-secondary: #232F3E;
  --amz-canvas: #EAEDED;
  --amz-surface: #F7F8FA;
  --amz-card: #FFFFFF;
  --amz-card-border: #D5D9D9;
  --amz-card-border-hover: #888C8C;
  --amz-ink: #0F1111;
  --amz-text: #333333;
  --amz-muted: #565959;
  --amz-line: #D5D9D9;
  --amz-line-strong: #888C8C;
  --amz-btn-gold: #FFD814;
  --amz-btn-gold-hover: #F7CA00;
  --amz-btn-gold-active: #F0B800;
  --amz-btn-amber: #FEBD69;
  --amz-btn-amber-hover: #F3A847;
  --amz-btn-amber-active: #E29532;
  --amz-accent-orange: #FF9900;
  --amz-accent-orange-focus: rgba(255, 153, 0, 0.35);
  --amz-link: #007185;
  --amz-link-hover: #C7511F;
  --amz-badge-bg: #FFF7CB;
}

/* 1. Base Canvas & Card Contrast */
body {
  background-color: var(--amz-canvas) !important;
  color: var(--amz-text);
}
h1, h2, h3, h4 {
  color: var(--amz-ink);
}

/* Default links on canvas & white cards */
a {
  color: var(--amz-link);
}
a:hover {
  color: var(--amz-link-hover);
}

/* Scoped High-Contrast Links on Dark Backgrounds */
.site-header a, .site-header .text-link {
  color: #FFFFFF !important;
}
.site-header a:hover {
  color: #FFFFFF !important;
  text-decoration: underline;
}
.hero a.hero-secondary, .hero .text-link {
  color: #E0E7EE !important;
}
.hero a.hero-secondary:hover, .hero .text-link:hover {
  color: #FFB84D !important; /* WCAG AAA high contrast on #232F3E */
  text-decoration: underline;
}
.site-footer a, .site-footer .footer-links a, .site-footer .text-link {
  color: #D5DEE7 !important;
}
.site-footer a:hover, .site-footer .footer-links a:hover, .site-footer .text-link:hover {
  color: #FFB84D !important; /* WCAG AAA high contrast on #232F3E */
  text-decoration: underline;
}

.section-soft, .section-white, .section-muted, .work-section, .proof-section,
.products-section, .contact-section {
  background-color: var(--amz-canvas) !important;
}

.card, .detail-card, .sample-card, .contact-form, .result-card, .service-panel,
.process-details, .record-details, .faq-list details {
  background-color: var(--amz-card) !important;
  border: 1px solid var(--amz-card-border) !important;
  border-radius: 8px !important;
  box-shadow: 0 1px 3px rgba(15, 17, 17, 0.08);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .card:hover, .result-card:hover, .sample-card:hover {
    border-color: var(--amz-card-border-hover) !important;
    box-shadow: 0 4px 14px rgba(15, 17, 17, 0.12);
  }
}

/* 2. Header & Main Navigation (#131921 Squid Ink) with 44x44px Targets */
.site-header {
  background-color: var(--amz-nav) !important;
  border-bottom: 1px solid var(--amz-dark-secondary) !important;
}

@media (min-width: 901px) {
  .main-nav {
    display: flex !important;
    align-items: center !important;
    gap: 22px !important; /* Generous breathing room */
  }
  .nav-item {
    position: relative;
    display: flex;
    align-items: stretch;
    min-height: 44px; /* Standard 44px touch target height */
    border: 1px solid #485769 !important;
    border-radius: 7px !important;
    background: rgba(255, 255, 255, 0.03);
    transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
  }
  .nav-item:hover, .nav-item.is-open {
    background-color: var(--amz-dark-secondary) !important;
    border-color: #8898A8 !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  }
  .nav-item:has(.nav-link[aria-current="page"]) {
    border-color: var(--amz-accent-orange) !important;
    box-shadow: inset 0 -2px 0 var(--amz-accent-orange);
    background-color: var(--amz-dark-secondary) !important;
  }
  .nav-link {
    display: inline-flex !important;
    align-items: center !important;
    min-height: 44px !important;
    padding: 8px 12px 8px 16px !important;
    border: 0 !important;
    border-radius: 6px 0 0 6px !important;
    color: #FFFFFF !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    background: transparent !important;
    text-decoration: none !important;
  }
  .nav-link:hover {
    text-decoration: none !important;
  }
  html.preview-ready .nav-toggle {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 44px !important; /* Standard 44x44px touch target */
    min-height: 44px !important;
    padding: 0 !important;
    border: 0 !important;
    border-left: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 0 6px 6px 0 !important;
    color: #CFD9E3 !important;
    background: transparent !important;
    cursor: pointer !important;
  }
  html.preview-ready .nav-toggle:hover {
    color: #FFFFFF !important;
    background: rgba(255, 255, 255, 0.08) !important;
  }
  .nav-toggle svg {
    width: 15px !important;
    height: 15px !important;
  }
}

@media (min-width: 901px) and (max-width: 1120px) {
  .main-nav {
    gap: 14px !important;
  }
}

.brand .brand-dot {
  color: var(--amz-accent-orange) !important;
}

/* 3. Buttons, Action Feedback & Disabled State Protection */
.button-primary {
  background: var(--amz-btn-gold) !important;
  color: var(--amz-ink) !important;
  border: 1px solid #FCD200 !important;
  border-radius: 8px !important;
  box-shadow: 0 2px 5px rgba(213, 217, 217, 0.5);
  font-weight: 650 !important;
  transition: background-color 140ms ease, border-color 140ms ease, box-shadow 140ms ease, transform 100ms ease !important;
}
.button-primary:hover:not(:disabled) {
  background: var(--amz-btn-gold-hover) !important;
  border-color: #D5A900 !important;
  color: var(--amz-ink) !important;
  box-shadow: 0 3px 8px rgba(213, 217, 217, 0.7);
}
.button-primary:active:not(:disabled), .button:active:not(:disabled) {
  transform: scale(0.985);
}

.button-secondary, .button-outline {
  background: #FFFFFF !important;
  color: var(--amz-ink) !important;
  border: 1px solid var(--amz-card-border) !important;
  border-radius: 8px !important;
  box-shadow: 0 1px 2px rgba(15, 17, 17, 0.05);
}
.button-secondary:hover:not(:disabled), .button-outline:hover:not(:disabled) {
  background: #F7F8FA !important;
  border-color: var(--amz-card-border-hover) !important;
}

/* Explicit Disabled State Protection */
.button:disabled, .button-primary:disabled, .button-secondary:disabled, .button-outline:disabled {
  color: #5D6570 !important;
  background: #E1E5E9 !important;
  border-color: #CDD4DA !important;
  box-shadow: none !important;
  cursor: not-allowed !important;
  transform: none !important;
}

/* 4. Search Input & Authentic Amber Search Button (#FEBD69) */
.search-input-row, .search-field {
  background: #FFFFFF !important;
  border: 1px solid var(--amz-line-strong) !important;
  border-radius: 8px !important;
  transition: border-color 160ms ease, box-shadow 160ms ease !important;
}
.search-input-row:focus-within, .search-field:focus-within {
  border-color: var(--amz-accent-orange) !important;
  box-shadow: 0 0 0 3px var(--amz-accent-orange-focus) !important;
}

.search-form button, .search-form .button, .catalog-search-form button, .catalog-search-form .button {
  background: var(--amz-btn-amber) !important;
  color: var(--amz-ink) !important;
  border: 1px solid #A88734 !important;
  border-radius: 0 7px 7px 0 !important;
  font-weight: 650 !important;
  box-shadow: none !important;
}
.search-form button:hover:not(:disabled), .search-form .button:hover:not(:disabled),
.catalog-search-form button:hover:not(:disabled), .catalog-search-form .button:hover:not(:disabled) {
  background: var(--amz-btn-amber-hover) !important;
  border-color: #9C7E31 !important;
}
.search-form button:active:not(:disabled), .search-form .button:active:not(:disabled),
.catalog-search-form button:active:not(:disabled), .catalog-search-form .button:active:not(:disabled) {
  background: var(--amz-btn-amber-active) !important;
  border-color: #846A29 !important;
  transform: scale(0.985);
}

/* Form Input Normal Focus Halo */
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  border-color: var(--amz-accent-orange) !important;
  box-shadow: 0 0 0 3px var(--amz-accent-orange-focus) !important;
  outline: none !important;
}

/* Form Input Invalid State Protection (Maintains Red Error Border on Focus) */
.form-field input[aria-invalid="true"],
.form-field textarea[aria-invalid="true"],
.form-field select[aria-invalid="true"],
.form-field [aria-invalid="true"] {
  border-color: var(--error) !important;
  box-shadow: 0 0 0 1px var(--error) !important;
}
.form-field input[aria-invalid="true"]:focus,
.form-field textarea[aria-invalid="true"]:focus,
.form-field select[aria-invalid="true"]:focus,
.form-field [aria-invalid="true"]:focus {
  border-color: var(--error) !important;
  box-shadow: 0 0 0 3px rgba(180, 35, 24, 0.25) !important;
  outline: none !important;
}

/* 5. Option Accent & Badges */
.filter-button {
  border: 1px solid var(--amz-card-border) !important;
  border-radius: 7px !important;
  background: #FFFFFF !important;
  color: var(--amz-text) !important;
  transition: all 140ms ease !important;
}
.filter-button:hover {
  border-color: var(--amz-card-border-hover) !important;
  background: #F7F8FA !important;
}
.filter-button[aria-pressed="true"], .filter-button.active {
  background: var(--amz-badge-bg) !important;
  border-color: var(--amz-accent-orange) !important;
  color: var(--amz-ink) !important;
  box-shadow: inset 0 -2px 0 var(--amz-accent-orange) !important;
  font-weight: 700 !important;
}
.service-tab {
  border: 1px solid var(--amz-card-border) !important;
  border-radius: 8px !important;
}
.service-tab:hover {
  border-color: var(--amz-card-border-hover) !important;
}
.service-tab[aria-selected="true"] {
  background: #FFF9DF !important;
  border-color: var(--amz-accent-orange) !important;
  box-shadow: inset 0 -3px 0 var(--amz-accent-orange) !important;
}

/* 6. Hero Section (Deep Navy Hero #232F3E) */
.hero {
  background-color: var(--amz-dark-secondary) !important;
  color: #DCE3EB;
  border-bottom: 1px solid #1A2430;
}
.hero h1 {
  color: #FFFFFF !important;
}
.hero .eyebrow {
  color: #FFB84D !important;
}
.hero-lead {
  color: #E0E7EE !important;
}
.hero-figure {
  background-color: var(--amz-nav) !important;
  border: 1px solid #485769 !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}
.flow-node {
  background-color: #2E3D4E !important;
  border: 1px solid #5A6A7D !important;
  color: #E7EDF3 !important;
}
.flow-node strong {
  color: #FFFFFF !important;
}
.founder-inline {
  border-top-color: #485769 !important;
  color: #FFFFFF !important;
}
.founder-meta strong {
  color: #FFFFFF !important;
}
.founder-meta span {
  color: #CFD9E3 !important;
}

/* 7. Footer Enhancement */
.site-footer {
  background-color: var(--amz-dark-secondary) !important;
  border-top: 3px solid var(--amz-accent-orange);
  color: #D5DEE7 !important;
}
.footer-bottom {
  border-top-color: #384656 !important;
}
.site-footer .brand .brand-dot {
  color: var(--amz-accent-orange) !important;
}

/* 8. Reduced Motion Protection */
@media (prefers-reduced-motion: reduce) {
  .button, .button-primary, .button:active, .button-primary:active,
  .button-secondary, .button-outline,
  .filter-button, .service-tab, .card, .result-card, .nav-item,
  .search-form button, .search-form button:active,
  .catalog-search-form button, .catalog-search-form button:active {
    transform: none !important;
    transition: none !important;
  }
}

/* Detail polish: protect existing action contrast and show selected enquiry context. */
:root { --amz-link-hover: #9C3D10; }
.site-header .button-primary,
.site-header .button-primary:hover,
.site-header .button-primary:focus-visible { color: var(--amz-ink, #0F1111) !important; }
.form-field input:focus-visible:not([aria-invalid="true"]),
.form-field textarea:focus-visible:not([aria-invalid="true"]),
.form-field select:focus-visible:not([aria-invalid="true"]) {
  outline: 2px solid #9C3D10 !important;
  outline-offset: 2px;
}
.request-context {
  padding: 10px 12px;
  color: var(--amz-ink, #0F1111);
  background: #FFF9DF;
  border-left: 3px solid var(--amz-accent-orange, #FF9900);
  border-radius: 6px;
  font-size: 16px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

/* The header is dark, but its preview panels use a light surface. */
.site-header .nav-preview a,
.site-header .nav-preview a:hover,
.site-header .nav-preview a:focus-visible {
  color: var(--amz-ink, #0F1111) !important;
}

/* Common Brand Logo & Header Email Action */
.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.brand-logo {
  display: block;
  height: 38px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
}
@media (max-width: 640px) {
  .brand-logo {
    height: 32px;
    max-width: 115px;
  }
}

.header-email {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  gap: 7px;
  min-width: 44px;
  min-height: 44px;
  padding: 9px 12px;
  color: #FFFFFF;
  background: transparent;
  border: 1px solid #8D99A6;
  border-radius: 7px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
  transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
}
.header-email:hover, .header-email:focus-visible {
  background: #344353;
  border-color: #C1CCD6;
  text-decoration: none !important;
  outline: 2px solid #FF9900;
  outline-offset: 2px;
}
.header-email > .icon {
  width: 20px;
  height: 20px;
}
@media (max-width: 1120px) {
  .header-email {
    width: 44px;
    padding: 10px;
  }
  .header-email-label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
}

