/* Main page only. Existing detail pages retain the common theme. */
.home-page { color: #243442; }
.home-page main:focus { outline: none; }
.home-shell { width: calc(100% - 80px); max-width: 1200px; margin: 0 auto; }
.home-page .eyebrow { margin: 0 0 24px; font-size: 16px; font-weight: 650; letter-spacing: .16em; color: #63849f; }
.home-hero {
 padding: 0;
 overflow: hidden;
 background: linear-gradient(90deg,#fff,#f4f8fb);
}
.hero-grid { position: relative; isolation: isolate; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 52px; }
/* Match the image to the content height, rather than a percentage of viewport width. */
.hero-grid::before {
 content: '';
 position: absolute;
 inset-block: 0;
 left: 50%;
 width: 100vw;
 transform: translateX(-50%);
 z-index: -1;
 pointer-events: none;
 background-image: linear-gradient(90deg,rgba(255,255,255,.97) 0%,rgba(255,255,255,.85) 35%,rgba(247,250,252,.22) 52%,rgba(244,248,251,.65) 100%),url('/images/slide_images/Web_home_Header.jpg');
 background-position: center, calc(50% - clamp(140px,17vw,304px)) center;
 background-size: cover, auto 100%;
 background-repeat: no-repeat;
}
.hero-copy h1 { margin: 0 0 28px; font-size: clamp(38px,4vw,58px); font-weight: 700; line-height: 1.23; letter-spacing: -.055em; }
.hero-copy h1 span { color: #5d85a3; }
.hero-description { color: #697c8c; font-size: 18px; line-height: 1.9; margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
.home-button { display: inline-flex; gap: 24px; align-items: center; padding: 13px 22px; background: #426b8d; color: white; border-radius: 12px; font-size: 17px; font-weight: 600; }
.home-button:hover,.home-button:focus { background: #355976; color: white; text-decoration: none; }
.text-link { color: #4f718c; font-size: 16px; font-weight: 600; }
.hero-visual { position: relative; padding: 28px 0 80px; }
.monitor-window { overflow: hidden; border: 1px solid #dbe5ed; border-radius: 16px; background: #fff; box-shadow: 0 28px 64px rgba(47,83,110,.10); transform: perspective(1000px) rotateY(-5deg); }
.window-bar { display: flex; align-items: center; gap: 24px; padding: 12px 16px; background: #f5f8fa; border-bottom: 1px solid #e2eaf0; font-size: 16px; color: #728596; }
.window-dots { font-size: 8px; letter-spacing: 4px; color: #c5d3de; }
.monitor-window img { width: 100%; height: auto; display: block; }
.hero-device { position: relative; display: flex; align-items: center; width: 88%; margin: -30px 0 0 -20px; padding: 16px 20px; border: 1px solid #e2e9ee; background: #fff; border-radius: 14px; box-shadow: 0 12px 36px rgba(47,83,110,.08); }
.hero-device img { width: 42%; height: 140px; object-fit: contain; mix-blend-mode: multiply; margin-right: 16px; }
.hero-device span { display: block; font-size: 16px; letter-spacing: .1em; color: #637b8f; }
.hero-device strong { display: block; font-size: 24px; letter-spacing: -.035em; }
.hero-device p { font-size: 16px; color: #708290; margin: 4px 0 0; }
.visual-caption { position: static; font-size: 16px; color: #657889; margin: 20px 0 0; line-height: 1.6; text-align: right; }
.hero-bottom { display: flex; justify-content: space-between; gap: 20px; padding: 26px 0; border-top: 1px solid #dfe8ee; margin-top: 0; color: #74899a; font-size: 16px; letter-spacing: .02em; }
.home-section { padding: 100px 0; scroll-margin-top: 82px; }
.home-page h2 { margin: 0; font-size: clamp(32px,3.5vw,48px); font-weight: 650; line-height: 1.3; letter-spacing: -.05em; }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 48px; }
.section-heading > p { color: #718291; font-size: 17px; line-height: 1.9; margin: 0 0 4px; }
.product-track { --product-card-width: min(900px,calc(100vw - 100px)); display: flex; gap: 24px; overflow-x: auto; padding: 4px calc((100% - var(--product-card-width))/2) 16px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.product-track::-webkit-scrollbar { display: none; }
.home-product { position: relative; flex: 0 0 var(--product-card-width); display: grid; grid-template-columns: 1fr 1fr; align-items: center; min-height: 420px; border-radius: 24px; background: #f4f7fa; padding: 48px; gap: 28px; scroll-snap-align: center; scroll-snap-stop: always; }
.product-kind { color: #758fa3; font-size: 16px; }
.product-copy h3 { margin: 18px 0; font-size: 40px; font-weight: 650; letter-spacing: -.04em; }
.product-copy > p { color: #617788; font-size: 17px; line-height: 1.8; }
.product-copy ul { padding: 0; margin: 24px 0; color: #728594; font-size: 16px; }
.product-copy li { margin: 6px 0; }
.product-copy li::before { content: '·'; margin-right: 9px; }
.product-photo img { display: block; width: 100%; height: 260px; object-fit: contain; mix-blend-mode: multiply; }
.pcy-photo img { transform: rotate(90deg); }
.slider-controls { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 18px; margin-top: 24px; }
.slide-status { font-size: 16px; color: #697c8c; margin: 0; }
#product-position { color: #415e75; font-weight: 650; }
.slide-divider { margin: 0 12px; }
.connection-section { background: #f5f8fb; }
.section-intro { margin: 26px 0 0; color: #708291; font-size: 18px; line-height: 1.9; }
.connection-flow { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 28px; padding: 0; margin: 64px 0 36px; list-style: none; }
.connection-flow li { position: relative; border-top: 2px solid #cbdde9; padding: 24px 0 0; }
.step-number { color: #7c9bb2; font-size: 16px; letter-spacing: .08em; }
.connection-flow h3 { font-size: 20px; font-weight: 650; letter-spacing: -.03em; margin: 16px 0; }
.connection-flow p { color: #6d8090; font-size: 16px; line-height: 1.8; }
.connection-flow small { display: block; color: #617586; font-size: 16px; line-height: 1.7; }
.connection-note { display: flex; gap: 32px; border-top: 1px solid #e0e8ef; padding-top: 24px; font-size: 16px; }
.connection-note span { font-weight: 650; color: #54758e; flex-shrink: 0; }
.connection-note p { margin: 0; color: #7a8c99; }
.operations-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 40px; }
.operations-grid figure { margin: 0; }
.operation-main > img { width: 100%; height: 380px; object-fit: contain; object-position: top; background: #f5f8fa; padding: 24px; border-radius: 18px; }
.install-photo { height: 380px; background: #f5f8fa; border-radius: 18px; overflow: hidden; }
.install-photo img { width: 100%; height: 100%; object-fit: contain; padding: 20px; }
.operations-grid figcaption { padding: 24px 0 0; }
.operations-grid figcaption > span { color: #637b8f; font-size: 16px; letter-spacing: .12em; }
.operations-grid h3 { font-size: 23px; line-height: 1.4; letter-spacing: -.03em; font-weight: 600; margin: 14px 0 10px; }
.operations-grid p { font-size: 16px; color: #718493; }
.api-line { display: grid; grid-template-columns: 1fr 1.1fr auto; gap: 40px; align-items: center; border-top: 1px solid #e0e8ee; margin-top: 52px; padding-top: 32px; }
.api-line h3 { font-size: 20px; font-weight: 600; margin: 0; line-height: 1.5; }
.api-line p { color: #748795; font-size: 16px; margin: 0; }
.api-line > span { font-size: 16px; color: #587b97; letter-spacing: .1em; white-space: nowrap; }
.dr-section { background: #edf4f9; }
.dr-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 48px; margin-top: 56px; }
.dr-grid article { padding-top: 24px; border-top: 1px solid #cfdeea; }
.service-state { display: inline-block; font-size: 16px; color: #527f94; }
.service-state.upcoming { color: #7c7a69; }
.dr-grid h3 { font-size: 30px; font-weight: 650; letter-spacing: -.03em; margin: 18px 0; }
.dr-grid p { font-size: 17px; line-height: 1.85; color: #6c8192; }
.security-note { border-top: 1px solid #d8e4ed; margin: 44px 0 0; padding-top: 22px; color: #617586; font-size: 16px; }
.security-note span { color: #607e94; margin-right: 20px; }
@media(max-width:1000px) {
 .hero-grid { gap: 32px; }
 .hero-copy h1 { font-size: 42px; }
 .hero-description { font-size: 17px; }
 .hero-actions { gap: 16px; }
 .hero-device strong { font-size: 20px; }
 .hero-device { width: 95%; margin-left: -8px; }
 .home-product { padding: 36px; }
}
@media(max-width:767px) {
 .home-shell { width: calc(100% - 40px); }
 .home-hero {
  padding-top: 84px;
  background-position: center, center top;
  background-size: cover, 100% auto;
  background-repeat: no-repeat;
  background-image: linear-gradient(180deg,rgba(255,255,255,.12) 0,rgba(255,255,255,.42) 160px,rgba(244,248,251,.98) 340px),url('/images/slide_images/Web_home_Header.jpg');
 }
 .hero-grid { grid-template-columns: 1fr; gap: 24px; }
 .hero-grid::before { display: none; }
 .hero-copy h1 { font-size: clamp(34px,7.8vw,46px); }
 .hero-description { font-size: 17px; }
 .hero-actions { gap: 18px; }
 .hero-visual { padding: 8px 0 28px; }
 .monitor-window { transform: none; box-shadow: 0 8px 24px rgba(47,83,110,.05); }
 .window-bar { gap: 14px; padding: 12px 14px; }
 .hero-device { width: 100%; margin: 16px 0 0; padding: 20px; gap: 18px; box-shadow: none; }
 .hero-device img { width: 88px; height: 120px; margin: 0; }
 .hero-device > div { flex: 1; }
 .hero-device span { display: none; }
 .hero-device strong { font-size: 24px; }
 .hero-device p { font-size: 16px; }
 .visual-caption { font-size: 16px; text-align: left; margin-top: 16px; }
 .hero-bottom { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; margin-top: 4px; font-size: 16px; padding: 20px 0; }
 .home-section { padding: 60px 0; }
 .home-page h2 { font-size: 32px; }
 .home-page .eyebrow { margin-bottom: 18px; font-size: 16px; }
 .section-heading { display: block; margin-bottom: 32px; }
 .section-heading > p { margin-top: 20px; font-size: 16px; }
 .product-track { --product-card-width: calc(100vw - 56px); gap: 14px; padding: 4px calc((100% - var(--product-card-width))/2) 12px; }
 .home-product { flex-basis: var(--product-card-width); grid-template-columns: 1fr; padding: 28px; gap: 16px; min-height: 520px; border-radius: 18px; }
 .product-copy h3 { font-size: 32px; margin: 12px 0; }
 .product-copy > p { font-size: 16px; }
 .product-copy ul { margin: 18px 0; font-size: 16px; }
 .product-photo { grid-row: 1; }
 .product-photo img { height: 190px; }
 .section-intro { font-size: 17px; }
 .connection-flow { grid-template-columns: 1fr; gap: 24px; margin-top: 36px; }
 .connection-flow li { padding: 16px 0 16px 44px; }
 .step-number { position: absolute; left: 0; top: 19px; }
 .connection-flow h3 { margin: 0 0 10px; }
 .connection-note { display: block; font-size: 16px; }
 .connection-note span { display: block; margin-bottom: 8px; }
 .operations-grid { grid-template-columns: 1fr; gap: 32px; }
 .operation-main > img { height: auto; padding: 14px; }
 .install-photo { height: 300px; }
 .api-line { grid-template-columns: 1fr; gap: 16px; margin-top: 32px; padding-top: 24px; }
 .dr-grid { grid-template-columns: 1fr; gap: 24px; margin-top: 32px; }
 .dr-grid h3 { font-size: 28px; margin: 12px 0; }
 .security-note { line-height: 1.9; }
 .security-note span { display: block; margin-bottom: 4px; }
}

.hero-device > div { min-width: 0; }
.hero-device img { flex-shrink: 0; }

.product-select { position: absolute; inset: 0; z-index: 3; border: 0; padding: 0; background: transparent; border-radius: inherit; cursor: pointer; }
.product-select[hidden] { display: none; }
.home-product:not(.is-current) .product-copy a { pointer-events: none; }
.product-pagination { display: flex; gap: 2px; align-items: center; padding: 0 10px; background: #eef3f7; border-radius: 30px; }
.product-dot { position: relative; width: 44px; height: 48px; padding: 0; border: 0; background: transparent; border-radius: 24px; }
.product-dot::before { content: ''; position: absolute; width: 8px; height: 8px; left: 50%; top: 50%; transform: translate(-50%,-50%); border-radius: 10px; background: #9aacb9; }
.product-dot.is-current { width: 54px; }
.product-dot.is-current::before { width: 44px; background: #c6d5df; }
.product-dot.is-current::after { content: ''; position: absolute; left: 5px; top: calc(50% - 4px); width: 44px; height: 8px; border-radius: 10px; background: #547c99; }
.is-running .product-dot.is-current::after { transform-origin: left; animation: product-progress 7s linear forwards; }
.product-play { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border: 1px solid #e0e8ee; border-radius: 50%; background: #eef3f7; color: #526d83; font-size: 20px; }
.product-play:hover { background: #e3edf4; }
@keyframes product-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media(max-width:767px) { .slider-controls { gap: 10px; } .slider-controls .slide-status { width: 100%; text-align: center; } }

.playback-icon { display: block; position: relative; width: 16px; height: 18px; }
.playback-icon.is-paused::before, .playback-icon.is-paused::after { content: ''; position: absolute; top: 1px; width: 5px; height: 16px; border-radius: 1px; background: currentColor; }
.playback-icon.is-paused::before { left: 1px; }
.playback-icon.is-paused::after { right: 1px; }
.playback-icon.is-play::before { content: ''; position: absolute; top: 1px; left: 3px; width: 0; height: 0; border-top: 8px solid transparent; border-bottom: 8px solid transparent; border-left: 12px solid currentColor; }
