/* Site navigation and product contents share one layout on every product. */
.global-nav .nav-inner { gap: 1.5rem; }
.global-nav .nav-brand { flex-shrink: 0; }
.global-nav .nav-brand img { height: 50px; width: auto; }
.global-nav .nav-links { margin-left: auto; padding: 0; }
.global-nav .nav-links a,
.global-nav summary { font: 500 .82rem var(--font); letter-spacing: 0; text-transform: none; }
.global-nav a[aria-current="page"], .global-nav .has-current-product { color: var(--text); }
.global-nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; }
.global-nav summary { color: var(--muted); cursor: pointer; list-style: none; padding: .6rem 0; }
.global-nav summary::-webkit-details-marker { display: none; }
.global-nav summary span { margin-left: .35rem; }
.products-menu { position: relative; }
.products-menu-list { position: absolute; top: calc(100% + .5rem); left: -1rem; width: 290px; list-style: none; padding: .5rem; background: var(--bg); border: 1px solid var(--line); border-radius: 5px; box-shadow: 0 10px 24px #0002; }
.global-nav .products-menu-list a { display: block; padding: .7rem .8rem; color: var(--text); border-radius: 3px; }
.global-nav .products-menu-list a:hover { background: var(--bg-3); }
.products-menu-list small { display: block; margin-top: .15rem; font-size: .73rem; color: var(--muted); }
.products-menu-heading { padding: .65rem .8rem .3rem; font-size: .66rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.products-menu-heading:not(:first-child) { margin-top: .4rem; border-top: 1px solid var(--line); padding-top: .9rem; }
.product-with-contents .hero-screen img,
.product-with-contents .feature-image img { height: auto; }
.global-nav .theme-toggle { flex: 0 0 40px; width: 40px; height: 40px; min-height: 40px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: var(--text); }
.global-nav .theme-toggle:hover { background: var(--bg-3); }
.theme-icon { width: 18px; height: 18px; background: currentColor; mask-size: contain; mask-position: center; mask-repeat: no-repeat; }
.theme-icon-sun { mask-image: url("../img/theme-sun.818edce6cd8b.svg"); }
.theme-icon-moon { mask-image: url("../img/theme-moon.832a2868ec9d.svg"); display: none; }
html[data-theme="light"] .theme-icon-sun { display: none; }
html[data-theme="light"] .theme-icon-moon { display: block; }
:is(.global-nav, .product-contents) :is(a, button, summary):focus-visible { outline: 2px solid var(--text); outline-offset: 4px; }
.product-location { border-bottom: 1px solid var(--line); }
.product-location > .container { display: flex; align-items: center; gap: .8rem; min-height: 50px; font-size: .78rem; color: var(--muted); }
.product-location a:hover { color: var(--text); text-decoration: underline; }
.product-location strong { color: var(--text); font-weight: 600; }
.product-location-type { margin-left: auto; }
.product-with-contents { display: grid; grid-template-columns: 190px minmax(0, 1fr); }
.product-with-contents > :not(.product-contents) { grid-column: 2; min-width: 0; }
.product-contents { grid-column: 1; grid-row: 1; padding: 2rem 0 2rem 1.25rem; border-right: 1px solid var(--line); }
.contents-panel { position: sticky; top: 100px; max-height: calc(100dvh - 120px); overflow-y: auto; padding-right: 1rem; }
.contents-panel > summary { list-style: none; color: var(--text); font-size: .9rem; font-weight: 600; padding: .6rem .6rem 1.2rem 0; }
.contents-panel > summary::-webkit-details-marker { display: none; }
.contents-caption { display: block; color: var(--muted); font-size: .68rem; font-weight: 400; margin-top: .3rem; }
.contents-caption > span { display: none; }
.product-contents ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); }
.product-contents a { display: block; padding: .45rem .7rem; border-left: 2px solid transparent; margin-left: -1px; color: var(--muted); font-size: .76rem; line-height: 1.5; }
.product-contents a:hover { color: var(--text); }
.product-contents a[aria-current="location"] { color: var(--text); border-left-color: var(--text); background: var(--bg-3); font-weight: 600; }
.product-with-contents section[id] { scroll-margin-top: 100px; }
.global-nav .nav-toggle { margin-left: auto; }
@media (min-width: 1101px) {
  .global-nav .nav-links > li { display: block; }
  .contents-panel > summary { pointer-events: none; }
}
@media (min-width: 1101px) and (max-width: 1400px) {
  .product-with-contents .hero-grid { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 2rem; }
  .product-with-contents .hero-grid h1 { overflow-wrap: anywhere; }
  .product-with-contents .section-product .feature-large { grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: 2rem; }
}
@media (max-width: 1100px) {
  .global-nav .nav-links { margin: 0; }
  .global-nav .nav-links.open { max-height: calc(100dvh - var(--site-nav-height, 76px)); overflow-y: auto; }
  .global-nav .nav-links > li { width: 100%; }
  .global-nav summary { padding: .85rem .6rem; }
  .global-nav .products-menu-list { position: static; width: 100%; box-shadow: none; border: 0; border-left: 1px solid var(--line); border-radius: 0; margin-left: .6rem; padding: 0; background: transparent; }
  .global-nav .products-menu-list a { padding: .6rem .8rem; }
  .global-nav .nav-inner { gap: .7rem; }
  .product-with-contents { display: block; }
  .product-contents { position: sticky; top: var(--site-nav-height, 76px); z-index: 15; border: 0; border-bottom: 1px solid var(--line); padding: 0; background: var(--bg); }
  .contents-panel { position: static; max-height: calc(100dvh - 100px); padding: 0; }
  .contents-panel > summary { cursor: pointer; display: flex; align-items: center; justify-content: space-between; padding: .7rem 1rem; }
  .contents-caption { margin: 0; font-size: .74rem; }
  .contents-caption > span { display: inline; margin-left: .5rem; }
  .contents-panel nav { padding: 0 1rem 1rem; }
  .product-contents a { font-size: .82rem; padding-block: .55rem; }
  .product-with-contents section[id] { scroll-margin-top: calc(var(--site-nav-height, 76px) + 65px); }
}
@media (max-width: 600px) {
  .product-location-type { display: none; }
  .global-nav .nav-brand img { max-width: 180px; height: 42px; max-height: 42px; width: auto; }
}
@media (max-width: 900px) {
  .product-with-contents .section-product .feature-large { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.footer-legal { display: flex; flex-wrap: wrap; gap: .65rem 1rem; }
.policy-wrap { max-width: 800px; margin-inline: auto; padding: 4rem 1.5rem 6rem; }
.policy-wrap h1 { max-width: none; font-size: clamp(2rem, 5vw, 3.2rem); }
.policy-meta { margin: 1rem 0 2.5rem; font-size: .8rem; }
.policy-wrap h2 { margin: 2.5rem 0 .8rem; max-width: none; font-size: 1.3rem !important; scroll-margin-top: 100px; }
.policy-wrap p, .policy-wrap li { font-size: .95rem; line-height: 1.8; }
.policy-wrap p + p { margin-top: 1rem; }
.policy-wrap ul { padding-left: 1.3rem; }
.policy-wrap li { margin-bottom: .65rem; color: var(--muted); }
.policy-wrap a, .form-privacy a, .text-button { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.text-button { padding: 0; border: 0; background: none; font: inherit; cursor: pointer; }
.policy-table-wrap { overflow-x: auto; }
.policy-wrap table { width: 100%; border-collapse: collapse; font-size: .85rem; }
.policy-wrap th, .policy-wrap td { padding: .8rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.policy-links { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); font-size: .8rem; }
.form-privacy { margin: .9rem 0; font-size: .75rem; line-height: 1.65; }
.video-frame { aspect-ratio: 16 / 9; margin-bottom: .75rem; }
.video-frame .product-video { height: 100%; margin: 0; }
.video-load { position: relative; display: block; width: 100%; height: 100%; overflow: hidden; border: 1px solid var(--line); border-radius: 5px; padding: 0; cursor: pointer; background: #0a0f14; color: white; }
.video-load img { display: block; width: 100%; height: 100%; object-fit: contain; opacity: .6; transition: opacity .2s; }
.video-load:hover img { opacity: .85; }
.video-load:focus-visible { outline: 2px solid var(--text); outline-offset: 4px; }
.video-play-icon { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 56px; height: 56px; background: white; border-radius: 50%; box-shadow: 0 2px 15px #0005; }
.video-play-icon::after { content: ''; position: absolute; top: 18px; left: 23px; border-left: 15px solid #111; border-block: 10px solid transparent; }
.video-play-label { position: absolute; left: 1rem; bottom: 1rem; padding: .35rem .65rem; border-radius: 3px; background: #000b; font: 500 .82rem var(--font); }
.video-placeholder .video-privacy { margin: .5rem 0; font-size: .7rem; line-height: 1.5; }
.video-privacy a { text-decoration: underline; text-underline-offset: 3px; }
