:root {
  color-scheme: light;
  --navy: #102544;
  --navy-2: #17375f;
  --ink: #172338;
  --muted: #65748a;
  --teal: #18b8c7;
  --teal-dark: #077588;
  --aqua: #dff9fb;
  --paper: #f4f6f8;
  --white: #fff;
  --line: #dfe5ec;
  --shadow: 0 18px 48px rgba(19, 38, 66, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
}
a { color: inherit; }
button, textarea { font: inherit; }
.skip-link { position: fixed; top: -60px; left: 1rem; z-index: 100; padding: .7rem 1rem; border-radius: .5rem; background: white; }
.skip-link:focus { top: 1rem; }

.site-header { padding: 0 max(1rem, calc((100% - 1180px) / 2)); background: #fff; border-bottom: 1px solid var(--line); }
.nav-shell {
  min-height: 88px;
  display: flex;
  align-items: center;
  gap: 2.2rem;
  padding: .45rem 0;
}
.brand { width: 210px; display: block; flex: 0 0 auto; }
.brand img, .hero-brand img, .footer-brand img { display: block; width: 100%; height: auto; }
.nav-links { display: flex; align-items: center; justify-content: center; gap: clamp(.75rem, 2vw, 1.6rem); margin-left: auto; }
.nav-links > a, .applications-menu summary { display: block; padding: .55rem 0; white-space: nowrap; text-decoration: none; color: var(--navy); font-size: .9rem; font-weight: 700; text-transform: uppercase; }
.nav-links > a:hover, .applications-menu summary:hover, .applications-menu[open] summary { color: var(--teal-dark); }
.applications-menu { position: relative; }
.applications-menu summary { cursor: pointer; list-style: none; }
.applications-menu summary::-webkit-details-marker { display: none; }
.applications-menu summary::after { display: inline-block; width: .38em; height: .38em; margin: 0 .12em .18em .45em; transform: rotate(45deg); border-right: 1px solid; border-bottom: 1px solid; content: ""; }
.applications-menu[open] summary::after { transform: rotate(225deg); }
.application-links { position: absolute; z-index: 5; top: calc(100% + .3rem); left: 50%; width: min(23rem, calc(100vw - 2rem)); max-height: min(60vh, 28rem); margin: 0; padding: .55rem .8rem .55rem 2.55rem; overflow-y: auto; overscroll-behavior: contain; transform: translateX(-50%); border: 1px solid var(--line); border-radius: 1rem; background: var(--white); box-shadow: var(--shadow); }
.application-links li { padding-left: .25rem; color: var(--teal-dark); }
.application-links li::marker { font-size: .875rem; font-weight: 700; }
.application-links a { display: block; padding: .55rem .5rem; border-radius: .45rem; color: var(--navy); font-size: .92rem; font-weight: 650; text-decoration: none; }
.application-links a:hover, .application-links a:focus-visible { background: var(--aqua); }
.nav-cta, .hero-cta { display: inline-block; padding: .75rem 1.15rem; border-radius: .7rem; text-decoration: none; background: var(--navy); color: white; font-weight: 750; }
.nav-cta:hover, .hero-cta:hover { background: var(--navy-2); }

.hero { width: min(1180px, calc(100% - 2rem)); margin: 0 auto; padding: 3rem 0 4rem; }
.hero-intro { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(1.5rem, 4vw, 4.5rem); margin-bottom: 2rem; }
.hero-brand { display: grid; place-items: center; min-height: 285px; padding: clamp(1rem, 3vw, 2.75rem); border: 1px solid #d5e9ef; border-radius: 1.5rem; background: radial-gradient(ellipse at 25% 20%, #e4f9fa, #fff 70%); }
.hero-cta { margin-top: 1.4rem; background: var(--teal-dark); }
.quick-links { display: grid; grid-template-columns: repeat(4, 1fr); gap: .75rem; }
.quick-links a {
  display: flex;
  align-items: center;
  gap: .75rem;
  min-height: 74px;
  padding: .75rem .9rem;
  text-align: left;
  text-decoration: none;
  background: white;
  border: 1px solid rgba(215, 222, 232, .8);
  border-radius: .95rem;
  box-shadow: 0 10px 28px rgba(20, 38, 65, .09);
  transition: transform .2s ease, box-shadow .2s ease;
}
.quick-links a:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(20, 38, 65, .14); }
.quick-links strong, .quick-links small { display: block; line-height: 1.25; }
.quick-links strong { font-size: .88rem; }
.quick-links small { margin-top: .18rem; color: var(--muted); font-size: .75rem; }
.quick-icon { width: 38px; height: 38px; display: grid; place-items: center; flex: 0 0 auto; border-radius: .7rem; color: white; background: linear-gradient(140deg, var(--teal), #5d76ef); font-size: .7rem; font-weight: 900; }

.hero-copy { min-width: 0; }
.eyebrow { margin: 0 0 .7rem; color: var(--teal-dark); text-transform: uppercase; letter-spacing: .13em; font-size: .78rem; font-weight: 850; }
.hero h1 { margin: 0; color: var(--navy); font-size: clamp(2.5rem, 5vw, 4.25rem); line-height: 1.05; letter-spacing: -.055em; }
.hero h1 span { display: block; color: var(--teal-dark); }
.hero-copy > p { max-width: 46ch; margin: 1.2rem 0 0; color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.2rem); }

.solution-finder {
  width: min(840px, 100%);
  margin: 2rem auto 0;
  padding: 1.2rem;
  text-align: left;
  background: white;
  border: 1px solid var(--line);
  border-radius: 1.7rem;
  box-shadow: 0 16px 40px rgba(30, 48, 76, .13), 0 0 0 8px rgba(255,255,255,.55);
}
.solution-finder label { display: block; margin: 0 0 .5rem .2rem; font-weight: 780; }
.solution-finder textarea { width: 100%; resize: vertical; min-height: 90px; padding: .9rem 1rem; color: var(--ink); background: #f6f8fb; border: 1px solid #e2e8ef; border-radius: 1rem; outline: 0; }
.solution-finder textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(24,184,199,.14); }
.finder-actions { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: .75rem; }
.finder-actions span { color: var(--muted); font-size: .88rem; }
.finder-actions button { border: 0; border-radius: 1rem; padding: .78rem 1.15rem; color: white; background: var(--navy); font-weight: 780; cursor: pointer; }
.finder-actions button:hover { background: var(--navy-2); }

.catalog-section { padding: 5rem max(1rem, calc((100vw - 1180px) / 2)) 6rem; background: #eef1f4; }
.section-heading { display: grid; grid-template-columns: 1.3fr .7fr; gap: 3rem; align-items: end; }
.section-heading h2, .method-intro h2, .cta-section h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.25rem); line-height: 1.08; letter-spacing: -.04em; }
.section-heading > p { margin: 0 0 .3rem; color: var(--muted); }
.filter-row { display: flex; gap: .55rem; overflow-x: auto; padding: 2rem 0 1.3rem; scrollbar-width: thin; }
.filter-chip { white-space: nowrap; border: 1px solid var(--line); padding: .58rem .9rem; border-radius: 1rem; background: white; color: var(--ink); cursor: pointer; }
.filter-chip.active { background: var(--aqua); color: #04788b; border-color: #b9ecef; font-weight: 760; }

.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.product-card {
  min-height: 226px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px;
  gap: 1rem;
  padding: 1.25rem;
  overflow: hidden;
  background: white;
  border: 1px solid rgba(223, 229, 236, .9);
  border-radius: 1.15rem;
  box-shadow: 0 10px 28px rgba(24, 41, 67, .07);
  transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
}
.product-card:hover { transform: translateY(-4px); box-shadow: 0 18px 38px rgba(24, 41, 67, .12); }
.product-card[hidden] { display: none; }
.product-card:target { outline: 2px solid var(--teal-dark); outline-offset: 3px; }
.product-card { scroll-margin-top: 1.5rem; }
.product-card.product-card--inquiry { grid-template-columns: minmax(0, 1fr); }
.card-content { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.category { color: var(--teal-dark); font-size: .73rem; font-weight: 850; text-transform: uppercase; letter-spacing: .09em; }
.product-card h3 { margin: .45rem 0 .55rem; font-size: 1.25rem; line-height: 1.15; }
.product-card p { margin: 0 0 1rem; color: #56657a; font-size: .94rem; }
.product-card a { margin-top: auto; text-decoration: none; color: var(--navy-2); font-weight: 820; font-size: .9rem; border-bottom: 2px solid var(--teal); }
.card-links { display: flex; flex-wrap: wrap; gap: .5rem 1rem; margin-top: auto; }
.card-links a { margin-top: 0; }
.product-card img { display: block; align-self: center; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: .85rem; border: 1px solid #e5e9ef; background: var(--navy); }
.no-results { padding: 2rem; text-align: center; color: var(--muted); background: white; border-radius: 1rem; }

.method-section { padding: 6rem max(1rem, calc((100vw - 1180px) / 2)); background: var(--navy); color: white; }
.method-intro { max-width: 780px; }
.method-intro .eyebrow { color: #69d7df; }
.method-intro > p:last-child { color: #b9c7d9; font-size: 1.1rem; }
.method-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2.5rem; }
.method-grid article { padding: 1.5rem; border: 1px solid rgba(255,255,255,.12); border-radius: 1.15rem; background: rgba(255,255,255,.07); }
.method-grid span { display: inline-block; padding: .35rem .6rem; border-radius: .55rem; color: #82e4ea; background: rgba(23,184,199,.13); font-size: .78rem; font-weight: 800; }
.method-grid h3 { margin: 1rem 0 .5rem; font-size: 1.3rem; }
.method-grid p { margin: 0; color: #c7d2df; }

.cta-section { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 5rem max(1rem, calc((100vw - 1180px) / 2)); background: linear-gradient(135deg, #dff9fb, white 65%); }
.cta-section > div { max-width: 760px; }
.cta-section > div > p:last-child { color: var(--muted); font-size: 1.05rem; }
.cta-section > a { flex: 0 0 auto; padding: 1rem 1.25rem; border-radius: 1rem; text-decoration: none; color: white; background: var(--navy); font-weight: 820; box-shadow: var(--shadow); }

footer { display: grid; grid-template-columns: 1.2fr .8fr auto; gap: 2rem; align-items: start; padding: 3rem max(1rem, calc((100% - 1180px) / 2)); color: var(--navy); background: var(--white); border-top: 1px solid var(--line); }
.footer-brand img { width: min(250px, 100%); }
.footer-brand p, .copyright { margin: .8rem 0 0; color: var(--muted); }
.footer-links { display: flex; gap: 1rem; flex-wrap: wrap; }
.footer-links a { text-decoration: none; }
.footer-contact { display: grid; justify-items: start; gap: .2rem; font-style: normal; overflow-wrap: anywhere; }
.footer-contact a { text-underline-offset: .2em; }
.copyright { grid-column: 1 / -1; }

@media (max-width: 980px) {
  .nav-shell { flex-wrap: wrap; gap: .35rem 1rem; }
  .nav-links { position: relative; order: 1; flex: 0 0 100%; flex-wrap: wrap; margin-left: 0; row-gap: 0; }
  .applications-menu { position: static; }
  .application-links { width: min(23rem, 100%); }
  .nav-cta { margin-left: auto; }
  .quick-links { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: 1fr; }
  .method-grid { grid-template-columns: 1fr; }
  footer { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  .nav-shell { min-height: 64px; gap: .75rem; }
  .brand { width: min(160px, 53vw); }
  .nav-cta { padding: .62rem .8rem; font-size: .83rem; }
  .hero { padding: 1.2rem 0 3rem; }
  .hero-intro { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
  .hero-brand { grid-row: 1; min-height: 0; padding: .9rem 1.25rem; }
  .hero-brand img { max-width: 360px; }
  .quick-links { grid-template-columns: 1fr; }
  .hero h1 { font-size: clamp(2.2rem, 9vw, 3.5rem); }
  .solution-finder { border-radius: 1.2rem; }
  .finder-actions { align-items: stretch; flex-direction: column; }
  .section-heading { grid-template-columns: 1fr; gap: 1rem; }
  .product-card { grid-template-columns: minmax(0, 1fr) 112px; min-height: 250px; padding: 1rem; }
  .cta-section { align-items: flex-start; flex-direction: column; }
  footer { grid-template-columns: 1fr; }
  .footer-brand img { width: 230px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

.answer-section .method-intro p { max-width: 72ch; }
