:root {
  --ink: #202127;
  --navy: #181818;
  --blue: #2854db;
  --blue-deep: #193cb2;
  --blue-light: #e8edff;
  --muted: #50586a;
  --paper: #f3f4f3;
  --line: #d9dde2;
  --max: 79rem;
  --on-dark: #f5f6fa;
  --muted-on-dark: #c7cbd5;
  --rule-on-dark: #444951;
}

.section { padding-block: 5rem 6rem; }
.button { font-weight: 600; }
.button-primary { min-height: 3.25rem; padding-inline: 1.5rem; border-radius: .375rem; }
.label { gap: .625rem; font-weight: 600; }
.label > span { display: none; }
.label::before { content: ""; width: 1.5rem; height: 2px; background: currentColor; }
.skip-link { z-index: 10; }

.site-header {
  padding: 0;
  border-block-end: 1px solid var(--rule-on-dark);
  background: var(--navy);
  color: var(--on-dark);
  z-index: 4;
}
.nav-bar {
  min-height: 4.5rem;
  grid-template-columns: minmax(max-content, 1fr) auto minmax(max-content, 1fr);
  gap: 1rem;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
}
.brand { grid-column: 1; gap: .625rem; }
.brand img { width: 2.75rem; height: 2.75rem; }
.brand small { color: var(--muted); letter-spacing: .075em; }
.site-nav { grid-column: 2; gap: clamp(1rem, 2vw, 2rem); }
.site-nav a { font-size: .875rem; min-height: 2.75rem; align-content: center; }
.site-nav a[aria-current] { text-underline-offset: .65em; }
.nav-cta { grid-column: 3; border-radius: .375rem; }
.site-nav .mobile-quote-link { display: none; }
.site-header .brand img, .site-footer .brand img {
  filter: brightness(0) invert(1);
}
.site-header .brand small { color: var(--muted-on-dark); }
.site-nav a { color: #d9dbe3; }
.site-nav a:hover, .site-nav a[aria-current] { color: #fff; }
.site-nav a[aria-current] { text-decoration-color: #acc1ff; }
.nav-cta { color: #fff; border-color: #646775; }
.nav-cta:hover { background: #373941; }
.nav-toggle { background: #272727; border-color: #646775; color: #fff; }
.site-header :focus-visible, .hero :focus-visible, .quote-copy :focus-visible, .site-footer :focus-visible { outline-color: #acc1ff; }

.home-page main:has(.hero) { background: none; }
.home-page .hero {
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: 38rem;
  margin: 0;
  padding: 4rem 0;
  align-items: center;
  overflow: hidden;
  background: #181818;
  color: var(--on-dark);
}
.hero-visual {
  position: absolute;
  z-index: -1;
  inset: 0;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  border-radius: 0;
  background: #181818;
}
.hero-visual::after { display: none; }
.hero-visual picture { display: block; width: 100%; height: 100%; }
.hero-visual img { width: 100%; height: 100%; object-position: center 52%; }
.hero-inner { display: flex; align-items: center; }
.hero-copy { width: min(55%, 42rem); }
.hero .label, .quote-copy .label { color: #b8caff; }
.hero h1 {
  margin-block: .75rem 1.25rem;
  color: #fff;
  font-size: 4.5rem;
  line-height: 1.21;
  letter-spacing: -.045em;
}
@supports (background-clip: text) {
  .hero h1 {
    background: linear-gradient(90deg, #9b9b9b 0%, #fff 68%);
    background-clip: text;
    color: transparent;
  }
}
.hero-description { max-width: 27rem; color: var(--muted-on-dark); font-size: 1.125rem; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.5rem; }
.hero-catalog-link { display: inline-flex; gap: .625rem; align-items: center; min-height: 2.75rem; font-size: .875rem; font-weight: 600; text-decoration: none; }
.hero-catalog-link:hover { text-decoration: underline; }
.hero-catalog-link span { opacity: .8; }

.catalog { background: #f5f5f4; }
.catalog .section { padding-block: 4rem 5rem; }
.section-heading { margin-block-end: 2rem; align-items: end; }
.section-heading h2, .about h2, .faq h2, .quote-copy h2, .sector-intro h2 { font-size: 2.75rem; line-height: 1.32; letter-spacing: -.035em; }
.section-heading > p { max-width: 24rem; }
.product-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 1rem; }
.product-card { border: 0; overflow: clip; background: #fff; border-radius: .75rem; }
.product-card--featured { grid-row: span 2; }
.product-card .product-link { display: grid; height: 100%; min-width: 0; }
.product-card:focus-within { outline: 3px solid var(--blue); outline-offset: 4px; }
.product-card--featured .product-link { grid-template-rows: minmax(0, 1fr) auto; }
.product-card--featured .product-visual { aspect-ratio: 1.62; }
.product-card--compact .product-link { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); grid-template-areas: "copy photo"; }
.product-card--compact .product-visual { grid-area: photo; height: 100%; min-height: 12rem; }
.product-visual { background: #e2e5e7; border-radius: 0; min-width: 0; }
.product-visual img { display: block; object-position: center 56%; }
.product-card--featured .product-visual img { object-position: center 47%; }
.product-copy { display: flex; flex-direction: column; align-items: start; justify-content: start; gap: .25rem; padding: 1.5rem; }
.product-card--compact .product-copy { grid-area: copy; }
.product-copy .product-en { margin: 0; font-size: .875rem; font-weight: 600; color: var(--muted); }
.product-copy h3 { font-size: 1.5rem; line-height: 1.45; letter-spacing: -.025em; }
.product-card--featured h3 { font-size: 1.875rem; }
.product-copy .product-description { max-width: 30rem; }
.product-action { display: inline-flex; align-items: center; gap: .625rem; margin-block-start: auto; padding-block-start: .75rem; color: var(--blue-deep); font-size: .875rem; font-weight: 700; }
.product-action span { transition: transform 500ms var(--curve); }
.product-link:hover .product-action { text-decoration: underline; }
.product-link:hover .product-action span { transform: translateX(-3px); }

.sector-band { color: var(--ink); background: #fff; }
.sector-layout { grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: 4rem; padding-block: 5rem; }
.sector-intro > p:last-child { color: var(--muted); }
.sector-grid { align-self: center; border: 1px solid var(--line); border-radius: .625rem; }
.sector-grid article { display: grid; grid-template-columns: auto 1fr; align-items: start; gap: .75rem; padding: 1.5rem; }
.sector-grid article:nth-child(odd) { border-inline-end-color: var(--line); }
.sector-grid article:nth-child(-n+2) { border-block-end-color: var(--line); }
.sector-grid h3 { margin-block: 0 .25rem; line-height: 1.55; }
.sector-grid p { color: var(--muted); }
.sector-icon, .sector-icon::before { border-color: #4266d4; }
.sector-icon-service::before, .sector-icon-service::after { background: #4266d4; }

.about {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  grid-template-areas: "copy photo";
  align-items: center;
  gap: 4rem;
  padding-block: 2rem 6rem;
}
.about-copy { grid-area: copy; }
.guide-media { grid-area: photo; overflow: hidden; border-radius: .75rem; background: var(--paper); }
.guide-media img { width: 100%; aspect-ratio: 1.38; }
.spec-list { margin: 1.5rem 0 0; border-block-start: 1px solid var(--line); }
.spec-list div { display: grid; grid-template-columns: minmax(4.5rem, .33fr) 1fr; gap: 1rem; padding-block: .75rem; border-block-end: 1px solid var(--line); }
.spec-list dt { color: var(--blue-deep); font-weight: 700; }
.spec-list dd { margin: 0; color: var(--muted); }

.quote-section { background: #1f1f1f; color: var(--on-dark); }
.quote-layout { grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); gap: 4rem; padding-block: 5rem; }
.quote-copy > p:not(.label) { color: var(--muted-on-dark); max-width: 25rem; }
.quote-tip { padding: 1.25rem; background: #272727; border: 1px solid var(--rule-on-dark); color: var(--on-dark); }
.quote-tip p { color: var(--muted-on-dark); }
.quote-form { min-width: 0; padding: 1.75rem; color: var(--ink); border-color: transparent; box-shadow: 0 .5rem 2rem rgb(0 0 0 / .12); }
.quote-form fieldset { padding: 0; margin: 0; min-inline-size: 0; border: 0; }
.quote-form fieldset + fieldset { margin-block-start: 1rem; }
.quote-form legend { font-size: 1rem; font-weight: 700; margin-block-end: .5rem; }
.quote-form .form-hint { margin-block-end: .75rem; }
.field-grid--specs { grid-template-columns: 1.15fr .95fr .9fr; }
.field-grid input, .field-grid select, .field-grid textarea { min-width: 0; border-color: #838c9c; background: #fbfcfd; }
.field-grid label { min-width: 0; }
.field-grid input:hover, .field-grid select:hover, .field-grid textarea:hover { border-color: var(--blue); }
.field-grid input:focus-visible, .field-grid select:focus-visible, .field-grid textarea:focus-visible { outline-offset: 2px; }
.quote-form .form-result { font-weight: 600; }

.faq { grid-template-columns: minmax(0, .6fr) minmax(0, 1.4fr); gap: 4rem; }
.faq h2 { margin-block-start: 0; }
.faq > div:first-child > p { margin-block-start: .5rem; color: var(--muted); }
.faq-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: .75rem; border: 0; }
.faq details { border: 1px solid var(--line); border-radius: .5rem; padding-inline: 1rem; background: #f7f8f8; }
.faq details[open] { background: #fff; border-color: #aebad5; }
.faq summary { min-height: 3.5rem; align-content: center; line-height: 1.5; padding-inline: 0 1.75rem; }
.faq summary::after { top: .875rem; }
.faq details p { font-size: .875rem; }

.site-footer { border-block-start: 0; background: var(--navy); color: var(--on-dark); }
.footer-main { padding-block: 2.5rem; }
.footer-main p, .footer-bottom, .site-footer .brand small { color: var(--muted-on-dark); }
.footer-bottom { border-block-start-color: var(--rule-on-dark); }
.footer-main a:hover, .footer-bottom a:hover { color: #c2d1ff; }

.detail-page { background: #fff; }
.breadcrumb { padding-block: 1.5rem 1rem; }
.detail-intro {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0;
  padding: 0;
  border-radius: .75rem;
  overflow: hidden;
  background: var(--paper);
  align-items: stretch;
}
.detail-intro-copy { align-self: center; padding: 3rem; }
.detail-intro h1 { margin-block: .75rem 1rem; font-size: 3.75rem; line-height: 1.26; }
.detail-intro p:not(.label) { max-width: 33rem; margin-block-end: 1.5rem; }
.detail-intro .detail-media { border-radius: 0; aspect-ratio: auto; min-height: 22rem; background: #e0e4e7; }
.detail-intro .detail-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
.detail-section { padding-block: 4rem 0; }
.detail-section .section-heading { margin-block-end: 1.25rem; }
.detail-section h2, .detail-quote h2 { margin: 0; font-size: 2.25rem; }
.detail-types { display: block; border-block-start: 1px solid var(--line); }
.detail-types article { padding: 1rem .75rem; border: 0; border-block-end: 1px solid var(--line); border-radius: 0; }
.detail-types article:nth-child(even) { background: #f5f6f6; }
.detail-type-copy { display: grid; grid-template-columns: minmax(0, .42fr) minmax(0, .58fr); align-items: start; gap: .25rem 2rem; }
.detail-type-copy h3 { grid-column: 1; grid-row: 1; margin: 0; line-height: 1.5; }
.detail-en { grid-column: 1; grid-row: 2; justify-self: start; color: var(--blue-deep); font-size: .875rem; font-weight: 600; }
.detail-type-copy p { grid-column: 2; grid-row: 1 / 3; }
.detail-quote { margin-block: 4rem; padding: 2rem; border-radius: .75rem; background: var(--paper); }
.detail-quote ul { margin-block-start: 1rem; }
.related { background: #fff; }

.utility-page {
  display: flex;
  flex-direction: column;
  min-height: 100svh;
}

.utility-content {
  flex: 1 0 auto;
  padding-block: clamp(2rem, 5vw, 4rem) clamp(3rem, 6vw, 5rem);
}

.utility-copy { max-width: 48rem; }
.utility-copy h1 {
  margin-block-end: 1rem;
  font-size: clamp(2.25rem, 4vw, 3.75rem);
  line-height: 1.26;
}
.utility-copy section {
  margin-block-start: 1.5rem;
  padding-block-start: 1.5rem;
  border-block-start: 1px solid var(--line);
}
.utility-copy h2 { margin-block-end: .5rem; font-size: 1.5rem; }
.utility-copy p { color: var(--muted); }
.utility-copy p a { color: var(--blue-deep); font-weight: 600; }
.utility-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-block-start: 1.5rem; }

@media (max-width: 69rem) {
  .hero h1 { font-size: clamp(3rem, 5.25vw, 3.75rem); }
  .detail-intro h1 { font-size: 3rem; }
  .quote-layout, .about, .sector-layout, .faq { gap: 2.5rem; }
}

@media (max-width: 62rem) {
  .hero h1 { font-size: 3rem; }
}

@media (max-width: 52rem) {
  .site-header {
    position: sticky;
    inset: 0 0 auto;
    padding-block: .5rem;
  }
  .nav-bar {
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: 3rem;
    gap: .75rem;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
  }
  .nav-bar .brand, .nav-bar .nav-toggle { grid-row: 1; }
  .nav-bar .nav-cta { display: none; }
  .nav-bar .nav-toggle { grid-column: 2; width: 2.75rem; height: 2.75rem; }
  .nav-bar .brand img { width: 2.25rem; height: 2.25rem; }
  .site-nav { grid-column: 1 / -1; grid-row: 2; }
  .has-menu .site-nav {
    min-height: calc(100svh - 5rem);
    max-height: calc(100dvh - 5rem);
    justify-content: start;
    padding: .75rem;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: #202126;
    border-color: var(--rule-on-dark);
  }
  .has-menu .site-nav a + a { border-block-start-color: var(--rule-on-dark); }
  .has-menu .site-nav a { padding: 1rem .75rem; font-size: 1rem; }
  .site-nav .mobile-quote-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 2.75rem;
    margin-block-start: .75rem;
    border-radius: .375rem;
    color: #fff;
    background: var(--blue);
  }
  .site-nav .mobile-quote-link:hover { color: #fff; background: var(--blue-deep); }
  .has-menu .site-nav.is-open a { animation: menu-in 350ms var(--curve) both; }
  .has-menu .site-nav.is-open a:nth-child(2) { animation-delay: 40ms; }
  .has-menu .site-nav.is-open a:nth-child(3) { animation-delay: 80ms; }
  .has-menu .site-nav.is-open a:nth-child(4) { animation-delay: 120ms; }
  .has-menu .site-nav.is-open a:nth-child(5) { animation-delay: 160ms; }
  main[id], main [id] { scroll-margin-top: 5rem; }
  .home-page .hero {
    flex-direction: column;
    align-items: stretch;
    min-height: 0;
    gap: 0;
    padding-block: 2rem 0;
  }
  .hero-visual { position: relative; z-index: -1; order: 2; height: auto; aspect-ratio: 1.9; }
  .hero-visual img { object-position: 50% 53%; }
  .hero-inner { order: 1; z-index: 1; position: relative; padding-block-end: 1.25rem; }
  .hero-copy { width: 100%; }
  .hero-description { margin-block-end: .75rem; }
  .section-heading h2, .about h2, .faq h2, .quote-copy h2, .sector-intro h2 { font-size: 2.25rem; }
  .product-card--compact .product-link { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(9rem, 1fr) auto; grid-template-areas: "photo" "copy"; }
  .product-card--compact .product-visual { min-height: 0; }
  .product-card--featured .product-visual { aspect-ratio: auto; }
  .product-copy { padding: 1.25rem; min-width: 0; }
  .field-grid--specs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .field-grid--specs label:first-child { grid-column: 1 / -1; }
  .sector-layout, .quote-layout, .faq, .about { gap: 2rem; }
  .faq-list { grid-template-columns: minmax(0, 1fr); }
  .detail-intro-copy { padding: 2rem; }
  .detail-intro h1 { font-size: 2.5rem; }
}

@keyframes menu-in {
  from { opacity: 0; transform: translateY(.75rem); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 42rem) {
  .nav-bar .brand { gap: .375rem; }
  .nav-bar .brand img { width: 2rem; height: 2rem; }
  .nav-bar .brand small { letter-spacing: .01em; }
  .home-page .hero { padding-block-start: 1.5rem; }
  .hero h1 { font-size: 2.5rem; margin-block: .5rem .75rem; line-height: 1.28; }
  .hero-visual { aspect-ratio: 1.65; }
  .hero-description { font-size: 1rem; max-width: 20rem; }
  .hero-actions { gap: .5rem 1rem; }
  .hero-catalog-link { font-size: .875rem; }
  .section, .catalog .section, .sector-layout, .quote-layout { padding-block: 2.75rem 3rem; }
  .section-heading h2, .about h2, .faq h2, .quote-copy h2, .sector-intro h2, .detail-section h2, .detail-quote h2 { font-size: 1.875rem; }
  .section-heading { display: block; margin-block-end: 1.5rem; }
  .section-heading > p { margin-block-start: .5rem; }
  .product-grid, .sector-layout, .about, .quote-layout, .faq, .detail-quote {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
  }
  .product-grid { gap: .75rem; }
  .product-card--featured { grid-row: auto; }
  .product-card--featured .product-visual { aspect-ratio: 1.78; }
  .product-card--compact .product-link {
    grid-template-columns: minmax(0, 1fr) minmax(6rem, .58fr);
    grid-template-rows: auto;
    grid-template-areas: "copy photo";
    min-height: 8.5rem;
  }
  .product-visual { position: relative; }
  .product-card--compact .product-visual img { position: absolute; inset: 0; }
  .product-copy { padding: .875rem 1rem; }
  .product-card--compact h3 { font-size: 1.125rem; }
  .product-copy .product-en { font-size: .75rem; }
  .product-copy .product-description { line-height: 1.55; }
  .product-action { padding-block-start: .5rem; }
  .sector-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sector-grid article { padding: 1rem; }
  .sector-grid article { grid-template-columns: minmax(0, 1fr); gap: .5rem; }
  .about { grid-template-areas: "copy" "photo"; padding-block-start: 0; }
  .guide-media img { aspect-ratio: 1.55; }
  .spec-list div { gap: .75rem; font-size: .875rem; }
  .quote-form { padding: 1rem; }
  .quote-tip { margin-block-start: .75rem; padding: .75rem 1rem; }
  .field-grid--specs { grid-template-columns: minmax(0, 1fr); }
  .quote-form .button-primary { width: 100%; }
  .footer-main { display: grid; gap: 1.25rem; }
  .footer-main nav { gap: .5rem 1rem; }
  .footer-main nav a { display: inline-flex; align-items: center; min-height: 2.75rem; }
  .detail-intro { grid-template-columns: minmax(0, 1fr); }
  .detail-intro-copy { padding: 1.5rem; }
  .detail-intro h1 { font-size: 2.25rem; }
  .detail-intro .detail-media { min-height: 0; aspect-ratio: 1.65; }
  .detail-section { padding-block: 3rem 0; }
  .detail-type-copy { grid-template-columns: minmax(0, 1fr); }
  .detail-type-copy p { grid-column: 1; grid-row: 3; margin-block-start: .25rem; }
  .detail-quote { margin-block: 3rem; padding: 1.5rem; }
  .related a { display: flex; align-items: center; min-height: 2.75rem; }
}

@media (min-width: 24rem) and (max-width: 42rem) {
  .quote-form .field-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
}

@media (max-width: 23rem) {
  .hero h1 { font-size: 1.875rem; }
  .sector-grid { grid-template-columns: minmax(0, 1fr); }
  .sector-grid article { grid-template-columns: auto minmax(0, 1fr); }
  .sector-grid article:nth-child(odd) { border-inline-end: 0; }
  .sector-grid article:not(:last-child) { border-block-end: 1px solid var(--line); }
}

@media (prefers-reduced-motion: reduce) {
  .has-menu .site-nav.is-open a { animation: none; }
}
