/* ==========================================================================
   ASN TECHNOLOGIES — Round 1 layer (30 Nov 2026)
   Six-item menu with a large logo and a Products menu, the loading-screen hand-off,
   and the product system: families, technologies, grades, status tags, applications,
   documents, partner model, Contact Us, privacy and page-not-found.
   Built on the tokens in site.css; nothing here overrides the brand palette.
   ========================================================================== */

/* ---------- Loading screen hand-off: hero copy waits for the logo to leave, then plays in ---------- */
.js:not(.splash-done) .hero [data-reveal],
.js:not(.splash-done) .page-hero [data-reveal] { opacity: 0 !important; transform: translateY(28px) !important; transition: none !important; }
@media (prefers-reduced-motion: reduce) {
  .js:not(.splash-done) .hero [data-reveal], .js:not(.splash-done) .page-hero [data-reveal] { opacity: 1 !important; transform: none !important; }
}

/* ---------- Header: larger logo, six plain items, Products menu ---------- */
:root { --nav-h: 86px; }
.site-header .nav { height: 70px; padding: 0 8px 0 22px; gap: 10px; }
.nav-logo { height: 50px; width: 98px; }
.nav-links { gap: 0; }
.nav-link { height: 40px; padding: 0 13px; font-size: 0.875rem; opacity: 0.86; white-space: nowrap; }
.nav-cta { margin-left: 10px; white-space: nowrap; }
.nav-item { position: relative; display: flex; align-items: center; }
.nav-item > .nav-link { padding-right: 4px; }
.nav-caret { display: grid; place-items: center; width: 28px; height: 40px; margin-right: 4px; border-radius: 6px; color: rgba(255, 255, 255, 0.8); transition: background-color .3s, color .3s; }
.nav-caret svg { width: 12px; height: 12px; transition: transform .4s var(--ease); }
.nav-caret:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }
.nav-item.is-open .nav-caret svg { transform: rotate(180deg); }

.mega {
  position: absolute; top: calc(100% + 14px); left: 50%; width: min(760px, calc(100vw - 48px));
  transform: translate(-50%, -6px); opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .3s var(--ease), transform .45s var(--ease), visibility 0s linear .3s;
}
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; } /* hover bridge */
@media (hover: hover) and (min-width: 1081px) { .nav-item:hover .mega { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0); transition-delay: 0s; } }
.nav-item.is-open .mega { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0); transition-delay: 0s; }
.mega-inner {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; padding: 10px;
  border-radius: 12px; background: rgba(7, 12, 28, 0.94); border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 30px 80px -24px rgba(4, 8, 20, 0.7); backdrop-filter: saturate(160%) blur(18px); -webkit-backdrop-filter: saturate(160%) blur(18px);
}
.mega-col { padding: 14px 12px 10px; border-radius: 8px; background: rgba(255, 255, 255, 0.03); }
.mega-fam { display: flex; align-items: baseline; gap: 8px; font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.09em; text-transform: uppercase; color: var(--ice-2); padding-bottom: 10px; margin-bottom: 4px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.mega-fam span { color: var(--red-glow); }
.mega-fam:hover { color: #fff; }
.mega-col ul { list-style: none; display: grid; gap: 2px; }
.mega-col li a { display: grid; gap: 2px; padding: 9px 10px; margin-inline: -10px; border-radius: 6px; transition: background-color .25s; }
.mega-col li a:hover, .mega-col li a:focus-visible { background: rgba(255, 255, 255, 0.07); }
.mega-col li b { font-size: 0.9375rem; font-weight: 600; letter-spacing: -0.01em; color: #fff; }
.mega-col li span { font-size: 0.8125rem; color: rgba(220, 228, 248, 0.68); }
.mega-foot { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 12px 12px 6px; }
.mega-foot > a:first-child { display: inline-flex; align-items: center; gap: 8px; font-size: 0.8125rem; font-weight: 600; color: #fff; }
.mega-foot > a:first-child .arrow { width: 26px; height: 26px; padding: 7px; border-radius: 4px; background: var(--red); color: #fff; box-sizing: border-box; }
.mega-flag { display: inline-flex; align-items: baseline; gap: 10px; font-size: 0.8125rem; font-weight: 600; color: var(--ice); }
.mega-flag small { font-size: 0.625rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--red-glow); }
@media (max-width: 1240px) { .nav-link { padding: 0 10px; font-size: 0.8125rem; } }
@media (max-width: 1080px) { .nav-item { display: none; } .nav-logo { height: 44px; width: 86px; } }
@media (max-width: 520px) { :root { --nav-h: 76px; } .site-header .nav { height: 62px; padding-left: 18px; } .nav-logo { height: 40px; width: 78px; } }

/* mobile menu: product technologies under Products */
.mobile-menu .mm-sub { display: flex; flex-wrap: wrap; gap: 6px 8px; padding: 2px 0 14px; opacity: 0; transition: opacity .6s var(--ease) .3s; }
.mobile-menu.is-open .mm-sub { opacity: 1; }
.mobile-menu .mm-sub a { display: inline-flex; align-items: center; min-height: 36px; padding: 0 12px; border-radius: 6px; border: 1px solid rgba(255, 255, 255, 0.14); font-size: 0.875rem; color: rgba(232, 238, 252, 0.9); }
.mobile-menu .mm-sub a:hover { background: rgba(255, 255, 255, 0.08); }

/* ---------- Homepage hero: company first ---------- */
.hero-title--corp { font-size: clamp(2.6rem, 1.3rem + 5.2vw, 6.25rem); max-width: 12.5em; }
.hero-brand { display: block; margin-bottom: 0.32em; font-size: clamp(0.8125rem, 0.75rem + 0.3vw, 1rem); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; line-height: 1.2; color: var(--ice); }
.hero-mission { font-size: clamp(1.3rem, 1.05rem + 1.1vw, 2.1rem); font-weight: 500; letter-spacing: -0.025em; line-height: 1.2; color: #fff; max-width: 24em; }
.hero-copy .hero-lede { margin-top: -4px; }

/* page heroes: kicker pill + linked crumbs */
.page-hero .hero-kick { margin-top: -6px; }
.page-hero .hero-kick span { color: rgba(236, 240, 252, 0.78); }
.crumbs { flex-wrap: wrap; row-gap: 6px; }
.crumbs a:not(.crumb-home) { color: rgba(236, 240, 252, 0.68); transition: color .3s; }
.crumbs a:hover { color: #fff; }
.meta-row--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 640px; }
.pd-figs dd { font-size: clamp(1.25rem, 1rem + 0.9vw, 1.75rem); }
@media (max-width: 720px) { .meta-row { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 22px; } }

/* ---------- Status tags ---------- */
.pd-st { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 9px; border-radius: 4px; font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap; flex: none; }
.pd-st::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.st--ok { color: var(--good-700); background: color-mix(in srgb, var(--good-500) 12%, transparent); }
.st--dev { color: #9a5b00; background: rgba(245, 158, 11, 0.13); }
.st--plan { color: var(--blue); background: var(--blue-soft); }
.section--dark .st--ok, .pd-apps-sec .st--ok { color: var(--good-300); background: rgba(52, 211, 153, 0.12); }
.section--dark .st--dev { color: #fbbf24; background: rgba(251, 191, 36, 0.12); }
.section--dark .st--plan { color: var(--ice); background: rgba(201, 213, 242, 0.1); }

/* ---------- Products hub ---------- */
.pd-path-sec { padding-bottom: 0; }
.pd-path { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line-2); margin-bottom: clamp(40px, 5vw, 64px); }
.pd-path li { position: relative; display: grid; gap: 6px; padding: 22px 28px 22px 0; }
.pd-path li + li { padding-left: 28px; border-left: 1px solid var(--line); }
.pd-path li + li::before { content: ""; position: absolute; left: -6px; top: 30px; width: 11px; height: 11px; border-top: 1.5px solid var(--red); border-right: 1.5px solid var(--red); transform: rotate(45deg); background: var(--white); }
.pd-path span { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; color: var(--red-deep); }
.pd-path b { font-size: var(--t-xl); font-weight: 600; letter-spacing: -0.02em; }
.pd-path small { font-size: var(--t-sm); color: var(--muted); line-height: 1.5; }
@media (max-width: 760px) {
  .pd-path { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pd-path li:nth-child(3) { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .pd-path li:nth-child(3)::before { display: none; }
  .pd-path li:nth-child(4) { border-top: 1px solid var(--line); }
}
.pd-famnav { margin-bottom: 0; }

.pd-fam { --fam: var(--red); }
.pd-fam .section-head .eyebrow { color: var(--fam); }
.pd-tech-grid { display: grid; gap: clamp(12px, 1.4vw, 18px); grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pd-tech-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 760px) { .pd-tech-grid, .pd-tech-grid--4 { grid-template-columns: 1fr; } }
.pd-tech {
  position: relative; display: grid; gap: 14px; align-content: start; padding: clamp(22px, 2.6vw, 34px);
  border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); isolation: isolate;
  transition: transform .6s var(--ease), box-shadow .6s var(--ease), border-color .4s;
}
.section--paper .pd-tech { background: var(--white); }
.pd-tech::after { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%; border-radius: var(--r-lg) var(--r-lg) 0 0; background: var(--fam); transform: scaleX(0.18); transform-origin: left; transition: transform .7s var(--ease); }
.pd-tech:hover { transform: translateY(-3px); box-shadow: var(--sh-3); border-color: var(--line-2); }
.pd-tech:hover::after { transform: scaleX(1); }
.pd-tech-link { position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.pd-tech-link:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.pd-tech-top { display: flex; align-items: center; gap: 10px; }
.pd-tech-tag { font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.pd-tech-flag { font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: #fff; background: var(--red); padding: 3px 8px; border-radius: 3px; }
.pd-tech h3 { font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem); font-weight: 600; letter-spacing: -0.035em; line-height: 1; }
.pd-tech > p { font-size: var(--t-md); line-height: 1.55; color: var(--ink-2); max-width: 32em; }
.pd-tech-grades { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--line); margin-top: 4px; }
.pd-tech-grades li { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: var(--t-sm); }
.pd-tech-grades li a { font-weight: 600; color: var(--ink); }
.pd-tech-grades li a:hover { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.pd-tech-grades li.is-next span:first-child { color: var(--muted); }
.pd-tech-go { display: inline-flex; align-items: center; gap: 10px; margin-top: 6px; font-size: var(--t-sm); font-weight: 600; color: var(--ink); }
.pd-tech-go .arrow { width: 30px; height: 30px; padding: 8px; border-radius: 4px; background: var(--ink); color: #fff; box-sizing: border-box; transition: transform .45s var(--ease), background-color .3s; }
.pd-tech:hover .pd-tech-go .arrow { transform: translateX(4px); background: var(--red); }
.pd-tech--flag { border-color: color-mix(in srgb, var(--red) 35%, var(--line)); }

.pd-legend-sec { background: var(--navy-900); }
.pd-legend-grid { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.pd-legend { list-style: none; display: grid; gap: 14px; }
.pd-legend li { display: grid; grid-template-columns: 172px 1fr; align-items: center; gap: 12px; font-size: var(--t-sm); color: rgba(220, 228, 248, 0.78); }
.pd-legend .pd-st { justify-self: start; }
.pd-polymers { display: grid; gap: 18px; }
.pd-polymers div { display: grid; gap: 4px; padding-bottom: 16px; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.pd-polymers span { font-size: 0.75rem; font-weight: 500; letter-spacing: 0.09em; text-transform: uppercase; color: var(--ice-2); }
.pd-polymers b { font-size: var(--t-lg); font-weight: 600; letter-spacing: -0.015em; color: #fff; }
@media (max-width: 1000px) { .pd-legend-grid { grid-template-columns: 1fr; } .pd-legend li { grid-template-columns: 1fr; gap: 6px; } }

/* ---------- Grades ---------- */
.pd-grade-grid { display: grid; gap: clamp(12px, 1.4vw, 18px); grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pd-grade-grid--1 { grid-template-columns: minmax(0, 1fr); }
.pd-grade-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 960px) { .pd-grade-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .pd-grade-grid, .pd-grade-grid--2 { grid-template-columns: 1fr; } }
.pd-grade { position: relative; display: grid; gap: 12px; align-content: start; padding: clamp(22px, 2.4vw, 30px); border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); scroll-margin-top: calc(var(--nav-h) + 24px); }
.pd-grade:target { border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); }
.pd-grade--flag { border-color: color-mix(in srgb, var(--red) 40%, var(--line)); }
.pd-grade--soon { background: transparent; border-style: dashed; border-color: var(--line-2); }
.pd-grade-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pd-grade-tech { font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.pd-grade-code { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); font-weight: 600; letter-spacing: -0.03em; line-height: 1.05; }
.pd-grade-line { font-size: var(--t-md); line-height: 1.55; color: var(--ink-2); }
.pd-grade-meta { display: grid; gap: 0; border-top: 1px solid var(--line); }
.pd-grade-meta div { display: grid; grid-template-columns: 64px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: var(--t-sm); }
.pd-grade-meta dt { font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); padding-top: 2px; }
.pd-grade-meta dd { color: var(--ink-2); }
.pd-grade-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 6px; }
.pd-next { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: clamp(22px, 2.4vw, 30px); padding-top: 18px; border-top: 1px solid var(--line); }
.pd-next-k { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.pd-next ul { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.pd-next li { display: inline-flex; align-items: center; gap: 10px; font-size: var(--t-sm); font-weight: 500; color: var(--ink-2); }

/* BetaNuc: two paths */
.pd-paths { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 22px); }
@media (max-width: 860px) { .pd-paths { grid-template-columns: 1fr; } }
.pd-pathcol { display: grid; gap: 16px; align-content: start; padding: clamp(18px, 2vw, 26px); border-radius: var(--r-xl); background: color-mix(in srgb, var(--blue) 5%, var(--white)); border: 1px solid var(--line); }
.pd-pathcol--build { background: color-mix(in srgb, var(--red) 4%, var(--white)); }
.pd-pathhead { display: grid; gap: 6px; padding: 4px 4px 8px; }
.pd-pathhead span { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--red-deep); }
.pd-pathhead h3 { font-size: var(--t-2xl); font-weight: 600; letter-spacing: -0.03em; }
.pd-pathhead p { font-size: var(--t-sm); line-height: 1.6; color: var(--muted); max-width: 34em; }
.pd-pathnote { font-size: var(--t-sm); color: var(--muted); padding: 0 4px; }

/* benefits block extras */
.pd-benefits .product-aside { top: calc(var(--nav-h) + 40px); }
.pd-sub--gap { margin-top: clamp(32px, 4vw, 48px); }
.pd-sub { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.section--dark .pd-sub { color: var(--ice-2); }
.pd-data { margin-top: 8px; padding-top: 24px; border-top: 1px solid var(--line); }
.pd-data .izod { background: var(--navy-900); border-radius: var(--r-lg); padding: 20px; color: #fff; }
.pd-more { margin-top: 14px; font-size: var(--t-sm); color: var(--muted); }

/* ---------- Applications rows (product pages) ---------- */
.pd-apps { list-style: none; display: grid; border-top: 1px solid rgba(255, 255, 255, 0.14); }
.pd-app { display: grid; grid-template-columns: 52px minmax(0, 1fr) minmax(0, 0.8fr); gap: clamp(14px, 2vw, 28px); align-items: start; padding: 22px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.pd-app-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 10px; background: rgba(201, 213, 242, 0.08); color: var(--ice); }
.pd-app-icon svg { width: 26px; height: 26px; }
.pd-app-body h3 { font-size: var(--t-xl); font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; }
.pd-app-body h3 a:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.pd-app-body p { margin-top: 6px; font-size: var(--t-sm); line-height: 1.6; color: rgba(220, 228, 248, 0.74); max-width: 40em; }
.pd-app-uses { list-style: none; display: grid; gap: 8px; justify-items: start; padding-top: 4px; }
.pd-app-uses li { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.pd-app-uses a { font-weight: 600; color: #fff; }
.pd-app-uses a:hover { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 760px) { .pd-app { grid-template-columns: 44px minmax(0, 1fr); } .pd-app-icon { width: 44px; height: 44px; } .pd-app-uses { grid-column: 2; } }
.pd-apps-foot { margin-top: clamp(22px, 2.6vw, 32px); font-size: var(--t-sm); color: var(--muted); }
.section--dark .pd-apps-foot, .section--dark .pd-apps-foot .link-arrow { color: #fff; }

/* ---------- Case studies ---------- */
.pd-case-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.pd-case { display: grid; gap: 10px; align-content: start; padding: clamp(22px, 2.6vw, 32px); border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--white); }
.pd-case--soon { border-style: dashed; border-color: var(--line-2); background: transparent; max-width: 760px; }
.pd-case-k { font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--red-deep); }
.pd-case h3 { font-size: var(--t-xl); font-weight: 600; letter-spacing: -0.02em; line-height: 1.25; }
.pd-case p { font-size: var(--t-sm); line-height: 1.65; color: var(--muted); }
.pd-case .link-arrow { margin-top: 6px; }

/* ---------- Processing + documents ---------- */
.pd-howdocs-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 88px); align-items: start; }
@media (max-width: 900px) { .pd-howdocs-grid { grid-template-columns: 1fr; } }
.pd-how { display: grid; gap: 14px; }
.pd-how p { font-size: var(--t-md); line-height: 1.7; color: var(--ink-2); }
.pd-docs { display: grid; gap: 10px; }
.pd-docs--wide { max-width: 760px; }
.pd-doc { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 14px 16px; border-radius: var(--r-lg); background: var(--navy-900); color: #fff; transition: background-color .3s, transform .5s var(--ease); }
a.pd-doc:hover { background: var(--navy-700); transform: translateY(-2px); }
.pd-doc-ic { display: grid; place-items: center; width: 44px; height: 52px; border-radius: 4px; border: 1px solid rgba(255, 255, 255, 0.2); font-size: 0.625rem; font-weight: 700; letter-spacing: 0.08em; color: #fff; background: rgba(255, 255, 255, 0.05); }
.pd-doc-b { display: grid; gap: 4px; min-width: 0; }
.pd-doc-b b { font-size: var(--t-md); font-weight: 600; letter-spacing: -0.015em; line-height: 1.25; }
.pd-doc-b small { font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(220, 228, 248, 0.8); }
.pd-doc-go { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 4px; background: var(--red); color: #fff; }
.pd-doc-go svg { width: 16px; height: 16px; }
.pd-doc--gate { background: var(--navy-800); }
.pd-doc--gate .pd-doc-go { background: rgba(255, 255, 255, 0.12); }
.pd-doc--soon { background: transparent; color: var(--ink); border: 1px dashed var(--line-2); }
.pd-doc--soon .pd-doc-ic { color: var(--muted); border-color: var(--line-2); background: transparent; }
.pd-doc--soon .pd-doc-b small { color: var(--muted); }
.pd-specs { display: grid; border-top: 1px solid var(--line); }
.pd-specs div { display: grid; grid-template-columns: 180px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: var(--t-md); }
.pd-specs dt { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.09em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
@media (max-width: 560px) { .pd-specs div { grid-template-columns: 1fr; gap: 4px; } }

/* ---------- Applications page ---------- */
.pd-appcards { display: grid; gap: clamp(12px, 1.4vw, 18px); grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 860px) { .pd-appcards { grid-template-columns: 1fr; } }
.pd-appcard { display: grid; gap: 14px; align-content: start; padding: clamp(22px, 2.6vw, 34px); border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--white); scroll-margin-top: calc(var(--nav-h) + 24px); }
.pd-appcard:target { border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); }
.pd-appcard-head { display: flex; align-items: center; gap: 16px; }
.pd-appcard .pd-app-icon { background: var(--blue-soft); color: var(--blue); flex: none; }
.pd-appcard h2 { font-size: var(--t-xl); font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; }
.pd-appcard > p { font-size: var(--t-sm); line-height: 1.65; color: var(--muted); }
.pd-appcard-uses { list-style: none; display: grid; border-top: 1px solid var(--line); }
.pd-appcard-uses li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.pd-appcard-uses a { display: grid; gap: 2px; }
.pd-appcard-uses a b { font-weight: 600; color: var(--ink); }
.pd-appcard-uses a span { font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.pd-appcard-uses a:hover b { color: var(--blue); }
.pd-appcard-note { font-size: 0.8125rem; color: var(--muted); }

/* ---------- Partner model ---------- */
.pd-model { list-style: none; display: grid; grid-template-columns: 1fr 1.15fr 1fr 1fr; gap: clamp(28px, 3vw, 44px); align-items: center; counter-reset: none; }
.pd-node { position: relative; display: grid; gap: 6px; padding: clamp(18px, 2vw, 24px); border-radius: var(--r-lg); background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.14); }
.pd-node b { font-size: var(--t-lg); font-weight: 600; letter-spacing: -0.015em; line-height: 1.2; color: #fff; }
.pd-node small { font-size: var(--t-sm); line-height: 1.5; color: rgba(220, 228, 248, 0.72); }
.pd-node-k { font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ice-2); }
.pd-node--asn { background: linear-gradient(160deg, rgba(75, 85, 200, 0.4), rgba(46, 49, 146, 0.18)); border-color: rgba(154, 166, 255, 0.5); }
.pd-node--alt { border-style: dashed; }
.pd-node--end { background: rgba(255, 255, 255, 0.08); }
.pd-node-pair { display: grid; gap: 14px; position: relative; }
/* connectors: an arrow into the next column */
.pd-model > li:not(:last-child)::after {
  content: ""; position: absolute; top: 50%; right: calc(-1 * clamp(28px, 3vw, 44px) + 4px); width: calc(clamp(28px, 3vw, 44px) - 8px); height: 1.5px; transform: translateY(-50%);
  background: linear-gradient(90deg, rgba(201, 213, 242, 0.15), rgba(201, 213, 242, 0.7));
}
.pd-model > li:not(:last-child)::before {
  content: ""; position: absolute; top: 50%; right: calc(-1 * clamp(28px, 3vw, 44px) + 1px); width: 8px; height: 8px; transform: translateY(-50%) rotate(45deg);
  border-top: 1.5px solid rgba(201, 213, 242, 0.8); border-right: 1.5px solid rgba(201, 213, 242, 0.8); z-index: 1;
}
.pd-model > li { position: relative; }
@media (max-width: 960px) {
  .pd-model { grid-template-columns: 1fr; gap: 34px; }
  .pd-node-pair { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pd-model > li:not(:last-child)::after { top: auto; bottom: -30px; right: auto; left: 50%; width: 1.5px; height: 26px; transform: translateX(-50%); background: linear-gradient(180deg, rgba(201, 213, 242, 0.15), rgba(201, 213, 242, 0.7)); }
  .pd-model > li:not(:last-child)::before { top: auto; bottom: -30px; right: auto; left: 50%; transform: translateX(-50%) rotate(135deg); }
}
@media (max-width: 520px) { .pd-node-pair { grid-template-columns: 1fr; } }
.pd-partners-foot { display: grid; grid-template-columns: minmax(0, 1.3fr) auto; gap: clamp(20px, 4vw, 64px); align-items: end; margin-top: clamp(36px, 4.4vw, 60px); padding-top: clamp(22px, 2.6vw, 32px); border-top: 1px solid rgba(255, 255, 255, 0.12); }
.pd-partners-foot p { font-size: var(--t-md); line-height: 1.7; color: rgba(230, 236, 250, 0.82); max-width: 46em; }
@media (max-width: 860px) { .pd-partners-foot { grid-template-columns: 1fr; } }

/* ---------- APEX-519: processes, tabs, SDS ---------- */
.ax-proc { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(20px, 3vw, 48px); border-top: 1px solid var(--line-2); margin-bottom: clamp(40px, 5vw, 72px); }
.ax-procitem { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.ax-procitem.is-research { opacity: 0.86; }
.ax-proc-ic { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 10px; background: var(--white); border: 1px solid var(--line); color: var(--blue); }
.ax-proc-ic svg { width: 24px; height: 24px; }
.ax-procitem h3 { font-size: var(--t-lg); font-weight: 600; letter-spacing: -0.015em; line-height: 1.25; }
.ax-procitem h3 a:hover { color: var(--blue); }
.ax-procitem p { margin-top: 2px; font-size: var(--t-sm); color: var(--muted); }
@media (max-width: 820px) { .ax-proc { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .ax-procitem { grid-template-columns: 40px minmax(0, 1fr); } .ax-proc-ic { width: 40px; height: 40px; } .ax-procitem .pd-st { grid-column: 2; justify-self: start; } }
.ax-im .ax-seg-list { margin-top: clamp(28px, 3vw, 40px); }

.ax-tablist { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; padding: 6px; border-radius: 10px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); margin-bottom: clamp(28px, 3.4vw, 44px); }
.ax-tablist [role="tab"] { display: grid; gap: 2px; justify-items: start; text-align: left; padding: 12px 14px; border-radius: 6px; color: rgba(220, 228, 248, 0.78); transition: background-color .3s, color .3s; min-height: 44px; }
.ax-tablist [role="tab"] b { font-size: var(--t-sm); font-weight: 600; color: inherit; }
.ax-tablist [role="tab"] small { font-size: 0.6875rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ice-2); }
.ax-tablist [role="tab"]:hover { background: rgba(255, 255, 255, 0.06); color: #fff; }
.ax-tablist [role="tab"][aria-selected="true"] { background: #fff; color: var(--ink); }
.ax-tablist [role="tab"][aria-selected="true"] small { color: var(--good-700); }
@media (max-width: 760px) { .ax-tablist { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.no-js .ax-pane[hidden] { display: block; margin-top: 40px; }
.ax-soon { display: grid; gap: 20px; justify-items: start; max-width: 640px; padding: clamp(24px, 3vw, 36px); border-radius: var(--r-lg); border: 1px dashed rgba(255, 255, 255, 0.24); }
.ax-soon p { font-size: var(--t-md); line-height: 1.65; color: rgba(230, 236, 250, 0.82); }
.ax-soon b { color: #fff; }
.ax-doc--gate { background: var(--navy-800); }
.ax-doc--gate .ax-doc-go { background: rgba(255, 255, 255, 0.14); }

/* ---------- Contact Us ---------- */
.pd-jump-sec { padding-block: clamp(28px, 3vw, 40px) 0; }
.pd-jump-sec .subnav { margin-bottom: 0; }
.ct-sales-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(14px, 1.6vw, 22px); align-items: start; }
@media (max-width: 960px) { .ct-sales-grid { grid-template-columns: 1fr; } }
.ct-card { display: grid; gap: 14px; padding: clamp(22px, 2.6vw, 34px); border-radius: var(--r-xl); border: 1px solid var(--line); background: var(--white); }
.ct-card--sample { background: var(--navy-900); border-color: var(--navy-800); color: #fff; }
.ct-k { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.ct-card--sample .ct-k { color: var(--ice-2); }
.ct-sample { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 16px 16px 18px; border-radius: var(--r-lg); background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12); transition: background-color .3s, transform .5s var(--ease); }
.ct-sample:hover { background: rgba(255, 255, 255, 0.11); transform: translateY(-2px); }
.ct-sample span { display: grid; gap: 4px; }
.ct-sample b { font-size: var(--t-lg); font-weight: 600; letter-spacing: -0.015em; }
.ct-sample small { font-size: 0.8125rem; color: rgba(220, 228, 248, 0.74); }
.ct-sample svg { width: 18px; height: 18px; flex: none; }
.ct-sample .arrow { width: 36px; height: 36px; padding: 10px; border-radius: 4px; background: var(--red); box-sizing: border-box; }
.ct-others { display: grid; gap: 10px; padding-top: 6px; }
.ct-others > span { font-size: 0.8125rem; color: rgba(220, 228, 248, 0.74); }
.ct-others ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.ct-others a { display: inline-flex; align-items: center; min-height: 36px; padding: 0 12px; border-radius: 6px; border: 1px solid rgba(255, 255, 255, 0.18); font-size: 0.875rem; font-weight: 500; color: #fff; transition: background-color .3s; }
.ct-others a:hover { background: rgba(255, 255, 255, 0.1); }
.ct-note { font-size: 0.8125rem; line-height: 1.6; color: rgba(220, 228, 248, 0.66); }
.ct-where { width: 100%; border-collapse: collapse; }
.ct-where th, .ct-where td { text-align: left; vertical-align: top; padding: 13px 0; border-bottom: 1px solid var(--line); }
.ct-where tr:first-child th, .ct-where tr:first-child td { border-top: 1px solid var(--line); }
.ct-where th { width: 34%; padding-right: 16px; font-size: var(--t-sm); font-weight: 600; color: var(--ink); }
.ct-where td { display: grid; gap: 2px; font-size: var(--t-sm); }
.ct-where td b { font-weight: 600; color: var(--ink-2); }
.ct-where td span { color: var(--muted); line-height: 1.55; }
.ct-card--where .btn { justify-self: start; margin-top: 6px; }
.ct-list { list-style: none; display: grid; border-top: 1px solid var(--line); }
.ct-list li { display: grid; gap: 4px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.ct-list b { font-size: var(--t-lg); font-weight: 600; letter-spacing: -0.015em; }
.ct-list span { font-size: var(--t-sm); color: var(--muted); }
.ct-small { margin-top: clamp(40px, 5vw, 64px); }
.ct-small ul { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; }
.ct-small a { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; align-items: center; height: 100%; padding: 14px 16px; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); transition: border-color .3s, transform .5s var(--ease); }
.ct-small a:hover { border-color: var(--line-2); transform: translateY(-2px); }
.ct-small b { font-size: var(--t-sm); font-weight: 600; }
.ct-small span { grid-column: 1; font-size: 0.8125rem; color: var(--muted); line-height: 1.45; }
.ct-small svg { grid-row: 1 / span 2; grid-column: 2; width: 16px; height: 16px; color: var(--muted); }
.ct-careers, .ct-support { scroll-margin-top: calc(var(--nav-h) + 12px); }
#sales, #partner, #general { scroll-margin-top: calc(var(--nav-h) + 12px); }

/* ---------- Privacy policy ---------- */
.lg-grid { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.lg-toc { position: sticky; top: calc(var(--nav-h) + 32px); display: grid; gap: 14px; }
.lg-toc ol { list-style: none; display: grid; gap: 2px; border-left: 1px solid var(--line-2); }
.lg-toc a { display: block; padding: 7px 0 7px 16px; margin-left: -1px; border-left: 2px solid transparent; font-size: var(--t-sm); color: var(--muted); }
.lg-toc a:hover { color: var(--ink); border-left-color: var(--red); }
.lg-body { display: grid; gap: clamp(32px, 4vw, 48px); max-width: 760px; }
.lg-sec { display: grid; gap: 14px; scroll-margin-top: calc(var(--nav-h) + 24px); }
.lg-sec h2 { display: flex; align-items: baseline; gap: 14px; font-size: var(--t-2xl); font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; }
.lg-sec h2 span { font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.08em; color: var(--red-deep); }
.lg-sec p { font-size: var(--t-md); line-height: 1.75; color: var(--ink-2); }
@media (max-width: 860px) { .lg-grid { grid-template-columns: 1fr; } .lg-toc { position: static; } }

/* ---------- Page not found ---------- */
.nf { min-height: 100vh; min-height: 100svh; background: radial-gradient(90% 70% at 80% 10%, rgba(46, 49, 146, 0.55), transparent 60%), radial-gradient(60% 50% at 0% 100%, rgba(227, 27, 35, 0.16), transparent 60%), var(--navy-900); color: #fff; }
.nf .page-hero-copy::before { content: none; }
.nf-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 8px; max-width: 760px; }
@media (max-width: 640px) { .nf-tiles { grid-template-columns: 1fr; } }
.nf-tile { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; align-items: center; padding: 18px 18px 18px 20px; border-radius: var(--r-lg); background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.12); transition: background-color .3s, transform .5s var(--ease); }
.nf-tile:hover { background: rgba(255, 255, 255, 0.1); transform: translateY(-2px); }
.nf-tile b { font-size: var(--t-lg); font-weight: 600; }
.nf-tile span { grid-column: 1; font-size: var(--t-sm); color: rgba(220, 228, 248, 0.74); line-height: 1.5; }
.nf-tile .arrow { grid-row: 1 / span 2; grid-column: 2; width: 34px; height: 34px; padding: 9px; border-radius: 4px; background: var(--red); color: #fff; box-sizing: border-box; }
.nf-home .link-arrow { color: #fff; }

/* the Products menu never floats on its own once the header has slid away */
.site-header.is-hidden .mega { opacity: 0 !important; visibility: hidden !important; pointer-events: none !important; }
