/* Owleey top page - hero variant v2 (richer, darker, more depth) */
.hero {
  position: relative;
  color: #fff;
  background:
    radial-gradient(60% 70% at 72% 45%, rgba(35, 136, 185, 0.55) 0%, rgba(35, 136, 185, 0) 65%),
    radial-gradient(40% 50% at 8% 100%, rgba(36, 95, 153, 0.45) 0%, rgba(36, 95, 153, 0) 70%),
    linear-gradient(135deg, #07131f 0%, #0d2740 60%, #10334f 100%);
}

/* subtle monitoring grid + scanlines */
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero::before {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(80% 80% at 70% 45%, #000 20%, transparent 80%);
  mask-image: radial-gradient(80% 80% at 70% 45%, #000 20%, transparent 80%);
}
.hero::after {
  background: repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 4px);
  mix-blend-mode: overlay;
}
.hero-grid,
.mobile-hero {
  position: relative;
  z-index: 1;
}

/* copy */
.hero h1,
.hero h1 > strong {
  color: #fff;
}
.hero-copy h1 > span {
  display: inline-block;
  padding: 0.35em 0.9em;
  margin-bottom: 0.9rem;
  color: #bfe6f7;
  font-size: 0.3em;
  font-weight: 700;
  letter-spacing: 0.12em;
  border: 1px solid rgba(143, 214, 240, 0.45);
  border-radius: 999px;
  background: rgba(35, 136, 185, 0.18);
}
.hero-copy h1 > strong {
  background: linear-gradient(180deg, #ffffff 30%, #9fd8ef 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-lead {
  color: rgba(255, 255, 255, 0.82);
}
.hero .button-primary {
  background: linear-gradient(135deg, #2aa2d6, #245f99);
  box-shadow: 0 10px 30px rgba(35, 136, 185, 0.45);
}
.hero .button-primary:hover,
.hero .button-primary:focus-visible {
  background: #fff;
  color: var(--navy);
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.25);
}
.hero .text-link {
  color: #fff;
}

/* visual: glowing rings, bigger camera */
.camera-halo {
  border-color: rgba(143, 214, 240, 0.35);
  box-shadow: 0 0 80px rgba(35, 136, 185, 0.35), inset 0 0 60px rgba(35, 136, 185, 0.2);
  animation: v2-pulse 6s ease-in-out infinite;
}
.camera-halo::before,
.camera-halo::after {
  border-color: rgba(143, 214, 240, 0.2);
  border-style: dashed;
}
.hero-camera {
  filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.55)) drop-shadow(0 0 40px rgba(35, 136, 185, 0.35));
}
.hero-phone {
  filter: drop-shadow(0 40px 50px rgba(0, 0, 0, 0.55));
}
.signal-label {
  color: #8fd6f0;
}
.signal-dot {
  background: #3ee08f;
  box-shadow: 0 0 0 6px rgba(62, 224, 143, 0.18), 0 0 14px #3ee08f;
}
.hero-caption {
  color: rgba(255, 255, 255, 0.75);
}

/* floating info chips */
.hero-chip {
  position: absolute;
  z-index: 4;
  padding: 0.6rem 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  animation: v2-bob 6s ease-in-out infinite;
}
.hero-chip i {
  width: 0.55rem;
  height: 0.55rem;
  background: #ff4d4d;
  border-radius: 50%;
  box-shadow: 0 0 10px #ff4d4d;
  animation: v2-blink 1.4s steps(2, jump-none) infinite;
}
.chip-live { top: 24%; left: 2%; }
.chip-night { top: 52%; left: -4%; animation-delay: -2s; }
.chip-lte { bottom: 10%; left: 12%; animation-delay: -4s; }

/* facts band: lighter, with accent */
.facts {
  background: linear-gradient(90deg, #0b1f33, #10334f);
  border-top: 1px solid rgba(143, 214, 240, 0.25);
}
.fact-value {
  color: #fff;
}
.fact-value span,
.fact-value small {
  color: #8fd6f0;
}

/* header over dark hero */
.site-header {
  background: rgba(7, 19, 31, 0.82);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom-color: rgba(255, 255, 255, 0.12);
}
.site-header.is-scrolled {
  background: rgba(7, 19, 31, 0.92);
  border-color: rgba(255, 255, 255, 0.12);
}
.global-nav a:not(.nav-contact) {
  color: #fff;
}
.brand img {
  filter: brightness(0) invert(1);
}
.nav-contact {
  background: linear-gradient(135deg, #2aa2d6, #245f99);
  border-color: transparent;
}
.nav-contact:hover,
.nav-contact:focus-visible {
  color: #fff;
  background: rgba(255, 255, 255, 0.15);
  border-color: #fff;
}

/* mobile hero */
.mobile-hero,
.mobile-hero h1,
.mobile-hero h1 strong,
.mobile-hero h1 span,
.mobile-hero-lead,
.mobile-hero-kicker {
  color: #fff;
}
.mobile-hero-kicker {
  color: #8fd6f0;
}
.mobile-hero-lead {
  color: rgba(255, 255, 255, 0.82);
}
.mobile-hero-halo,
.mobile-camera-halo {
  border-color: rgba(143, 214, 240, 0.35);
}
.mobile-hero .text-link {
  color: #fff;
}
.menu-button span {
  background: #fff;
}
.hero-chip {
  display: none;
}

@media (min-width: 901px) {
  .hero-chip {
    display: inline-flex;
  }
}

@keyframes v2-pulse {
  0%, 100% { transform: scale(1); opacity: 0.9; }
  50% { transform: scale(1.03); opacity: 1; }
}
@keyframes v2-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes v2-blink {
  50% { opacity: 0.25; }
}
@media (prefers-reduced-motion: reduce) {
  .camera-halo,
  .hero-chip,
  .hero-chip i {
    animation: none;
  }
}

/* ===== v2: other sections ===== */
:root {
  --v2-grad: linear-gradient(135deg, #2aa2d6, #245f99);
  --v2-glow: 0 18px 50px rgba(16, 39, 61, 0.14);
}

/* section headings with english eyebrow */
.section .section-heading h2 {
  position: relative;
  padding-top: 0;
}
.section .section-heading h2::after {
  content: "";
  display: block;
  width: 3rem;
  height: 3px;
  margin-top: 0.9rem;
  background: var(--v2-grad);
  border-radius: 2px;
}

/* features */
.visual-features {
  position: relative;
  padding-block: clamp(4rem, 6vw, 6rem);
  background:
    radial-gradient(50% 60% at 100% 0%, rgba(35, 136, 185, 0.12), transparent 70%),
    linear-gradient(180deg, #eaf2f8 0%, #f4f6f8 100%);
}
.feature-pair {
  gap: clamp(1rem, 2vw, 1.75rem);
  overflow: visible;
  background: transparent;
  border: 0;
}
.feature-pair article {
  overflow: hidden;
  border-radius: 1.1rem;
  box-shadow: var(--v2-glow);
  border: 1px solid rgba(16, 39, 61, 0.06);
  transition: transform 300ms ease, box-shadow 300ms ease;
}
.feature-pair article:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 60px rgba(16, 39, 61, 0.2);
}
.feature-copy {
  border-bottom: 0;
}
.feature-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  margin-bottom: 1rem;
  grid-row: auto;
  color: #fff;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  background: var(--v2-grad);
  border-radius: 50%;
  box-shadow: 0 8px 20px rgba(35, 136, 185, 0.4);
}
.feature-copy-light .feature-number {
  color: #fff;
}
.mount-collage figure,
.night-feature .compare {
  border-radius: 0.8rem;
}
.night-feature .image-note {
  background: transparent;
  color: var(--ink-soft);
}

/* scenes: dark stage */
.scenes {
  position: relative;
  padding-block: clamp(4rem, 6vw, 6rem);
  color: #fff;
  background:
    radial-gradient(45% 55% at 85% 10%, rgba(35, 136, 185, 0.35), transparent 70%),
    linear-gradient(160deg, #07131f 0%, #0d2740 100%);
}
.scenes .section-heading h2,
.scenes .section-heading > p:last-child {
  color: #fff;
}
.scenes .section-heading > p:last-child {
  color: rgba(255, 255, 255, 0.72);
}
.scene-strip {
  gap: 1rem;
}
.scene-card {
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  transition: transform 350ms ease, border-color 350ms ease;
}
.scene-card:hover {
  transform: translateY(-6px);
  border-color: rgba(143, 214, 240, 0.7);
}
.scene-card::before {
  content: "REC";
  position: absolute;
  top: 0.8rem;
  left: 0.9rem;
  z-index: 3;
  padding: 0.28rem 0.55rem 0.28rem 1.05rem;
  color: #fff;
  font: 700 0.6rem/1 Arial, sans-serif;
  letter-spacing: 0.14em;
  background: rgba(0, 0, 0, 0.45) radial-gradient(circle at 0.55rem 50%, #ff4d4d 0.2rem, transparent 0.25rem);
  border-radius: 999px;
}
.scenes .text-link {
  color: #fff;
}

/* flow: step cards */
.flow {
  padding-block: clamp(4rem, 6vw, 6rem);
  background: #fff;
}
.flow-list {
  gap: 1rem;
  counter-reset: none;
}
.flow-list li {
  min-height: 200px;
  padding: 1.6rem 1.3rem;
  background: linear-gradient(180deg, #f4f8fb, #fff);
  border: 1px solid #dbe6ee;
  border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(16, 39, 61, 0.06);
  transition: transform 300ms ease, box-shadow 300ms ease;
}
.flow-list li:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(16, 39, 61, 0.14);
}
.flow-list li:not(:last-child)::after {
  top: 50%;
  right: -0.62rem;
  width: 0.55rem;
  height: 0.55rem;
  background: none;
  border-top: 2px solid #2388b9;
  border-right: 2px solid #2388b9;
  border-radius: 0;
  transform: translateY(-50%) rotate(45deg);
}
.flow-list span {
  margin-bottom: 1.4rem;
  font-size: 2.4rem;
  letter-spacing: -0.03em;
  background: var(--v2-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* trust / cta */
.trust-cta {
  background: linear-gradient(135deg, #07131f, #0d2740);
}
.since strong {
  background: linear-gradient(180deg, #fff 30%, #8fd6f0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.cta-block {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #245f99, #1fa0cf);
}
.cta-block::after {
  content: "";
  position: absolute;
  right: -8rem;
  top: -8rem;
  width: 26rem;
  height: 26rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  box-shadow: 0 0 0 4rem rgba(255, 255, 255, 0.05), 0 0 0 8rem rgba(255, 255, 255, 0.035);
  pointer-events: none;
}
.cta-block > * {
  position: relative;
  z-index: 1;
}
.button-white {
  font-size: 1.02rem;
  border-radius: 999px;
  box-shadow: 0 14px 34px rgba(3, 37, 75, 0.3);
}

/* footer */
.site-footer {
  background: #050e17;
  border-top: 0;
}
.site-footer img {
  filter: brightness(0) invert(1);
}
.site-footer p {
  color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 900px) {
  .flow-list li:not(:last-child)::after {
    display: none;
  }
  .scene-card::before {
    font-size: 0.52rem;
  }
}

/* ===== v2: sub pages ===== */
.product-page, .faq-page, .contact-page, .scene-page, .flow-page {
  background: #f4f6f8;
}

/* dark hero for all sub pages */
.product-hero,
.flow-page-hero,
.faq-hero {
  position: relative;
  color: #fff;
  background:
    radial-gradient(55% 80% at 80% 40%, rgba(35, 136, 185, 0.5), transparent 70%),
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(135deg, #07131f 0%, #0d2740 60%, #10334f 100%);
}
.scene-page-hero,
.contact-intro {
  position: relative;
  isolation: isolate;
  color: #fff;
}
.scene-page-hero::before,
.contact-intro::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  margin-left: -50vw;
  background:
    radial-gradient(55% 80% at 80% 40%, rgba(35, 136, 185, 0.5), transparent 70%),
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(135deg, #07131f 0%, #0d2740 60%, #10334f 100%);
}
.contact-intro {
  border-bottom: 0;
  margin-bottom: 0;
}
.product-hero h1,
.flow-page-hero h1,
.faq-hero h1,
.subpage-hero h1,
.contact-intro h1 {
  color: #fff;
  background: linear-gradient(180deg, #ffffff 40%, #a8dcf0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.product-hero-copy > p:not(.eyebrow),
.flow-page-copy > p:not(.eyebrow),
.subpage-hero-copy > p:last-child,
.faq-hero-copy,
.contact-intro-copy > p:last-child {
  color: rgba(255, 255, 255, 0.8);
}
.eyebrow,
.product-hero .eyebrow,
.flow-page-hero .eyebrow,
.subpage-hero .eyebrow,
.faq-hero .eyebrow,
.contact-intro .eyebrow {
  color: #8fd6f0;
}
.eyebrow span:first-child {
  border-right-color: rgba(255, 255, 255, 0.3);
}
.product-hero .text-link,
.flow-page-hero .text-link,
.subpage-hero .text-link {
  color: #fff;
}
.product-hero-visual img,
.flow-page-visual img,
.subpage-hero-image img {
  filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.45));
}
.subpage-hero-image,
.flow-page-visual.flow-page-visual-photo {
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(143, 214, 240, 0.3);
}
.subpage-hero-image img {
  filter: none;
}

/* contact steps on dark */
.form-steps {
  border-top-color: rgba(255, 255, 255, 0.3);
}
.form-steps li {
  color: rgba(255, 255, 255, 0.7);
  border-bottom-color: rgba(255, 255, 255, 0.18);
}
.form-steps li span {
  color: #8fd6f0;
}
.form-steps li.is-current {
  background: linear-gradient(135deg, #2aa2d6, #245f99);
  border-bottom-color: transparent;
  color: #fff;
}
.form-steps li.is-current span {
  color: #fff;
}

/* common section headings on sub pages */
.product-lineup, .product-common, .journey, .step-guide,
.scene-featured, .scene-others, .scene-case-section, .faq-section {
  padding-block: clamp(3.5rem, 5vw, 5.5rem);
}
.product-lineup .section-heading h2,
.product-common .section-heading h2,
.journey .section-heading h2,
.step-guide .section-heading h2,
.scene-featured .section-heading h2,
.scene-others .section-heading h2,
.scene-case-section .section-heading h2 {
  position: relative;
  padding-top: 0;
}
.product-lineup .section-heading h2::after,
.product-common .section-heading h2::after,
.journey .section-heading h2::after,
.step-guide .section-heading h2::after,
.scene-featured .section-heading h2::after,
.scene-others .section-heading h2::after,
.scene-case-section .section-heading h2::after {
  content: "";
  display: block;
  width: 3rem;
  height: 3px;
  margin-top: 0.9rem;
  background: var(--v2-grad);
  border-radius: 2px;
}

/* cards */
.product-lineup-grid { gap: clamp(1rem, 2vw, 1.75rem); }
.product-card {
  overflow: hidden;
  border-radius: 1.1rem;
  background: #fff;
  box-shadow: var(--v2-glow);
  border: 1px solid rgba(16, 39, 61, 0.06);
  transition: transform 300ms ease, box-shadow 300ms ease;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 60px rgba(16, 39, 61, 0.2);
}
.product-common-grid article,
.product-variant,
.product-table-wrap,
.scene-case-card,
.scene-other-card,
.contact-method,
.contact-form,
.contact-guidance,
.step-guide-item {
  border-radius: 1rem;
}
.product-common-grid article,
.scene-case-card,
.contact-method,
.contact-form,
.contact-guidance {
  background: #fff;
  border: 1px solid rgba(16, 39, 61, 0.07);
  box-shadow: var(--v2-glow);
}
.scene-case-card,
.scene-other-card {
  transition: transform 300ms ease, box-shadow 300ms ease;
}
.scene-case-card:hover,
.scene-other-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 60px rgba(16, 39, 61, 0.2);
}
.scene-featured, .journey, .faq-section { background: #fff; }
.scene-others, .step-guide { background: linear-gradient(180deg, #eaf2f8, #f4f6f8); }

/* guide */
.journey-list li,
.step-guide-item {
  transition: transform 300ms ease;
}
.step-guide-item {
  background: #fff;
  box-shadow: var(--v2-glow);
  border: 1px solid rgba(16, 39, 61, 0.06);
  overflow: hidden;
}

/* faq */
.faq-list {
  border-top: 0;
  display: grid;
  gap: 0.8rem;
}
.faq-item {
  background: #fff;
  border: 1px solid #dbe6ee;
  border-radius: 0.9rem;
  box-shadow: 0 8px 24px rgba(16, 39, 61, 0.06);
  overflow: hidden;
  transition: box-shadow 250ms ease, border-color 250ms ease;
}
.faq-item:hover,
.faq-item[open] {
  border-color: #2388b9;
  box-shadow: 0 14px 34px rgba(35, 136, 185, 0.2);
}

/* contact form */
.contact-form-section { background: linear-gradient(180deg, #eaf2f8, #f4f6f8); padding-top: 3.5rem; }
.contact-form input,
.contact-form select,
.contact-form textarea {
  border-radius: 0.6rem;
}
.contact-form button[type="submit"],
.contact-form .button-primary {
  background: var(--v2-grad);
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(35, 136, 185, 0.4);
}

/* page cta band */
.flow-page-cta {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #245f99, #1fa0cf);
}
.flow-page-cta::after {
  content: "";
  position: absolute;
  right: -8rem;
  top: -10rem;
  width: 28rem;
  height: 28rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  box-shadow: 0 0 0 4rem rgba(255, 255, 255, 0.05), 0 0 0 8rem rgba(255, 255, 255, 0.035);
  pointer-events: none;
}
.flow-page-cta > * { position: relative; z-index: 1; }
.flow-page-cta .button {
  border-radius: 999px;
  box-shadow: 0 14px 34px rgba(3, 37, 75, 0.3);
}

/* prevent horizontal scroll from full-bleed backgrounds */
html, body { overflow-x: clip; }

/* contact: guidance lives inside the form card */
.contact-form {
  padding: clamp(1.5rem, 3vw, 2.75rem);
}
.contact-guidance {
  background: #eaf4ff;
  border: 0;
  border-left: 3px solid #2388b9;
  border-radius: 0.6rem;
  box-shadow: none;
}


/* ===== v2: hero always fits the first screen ===== */
@media (min-width: 561px) {
  .hero {
    height: max(540px, 100svh);
    min-height: 0;
    max-height: 900px;
  }
}
@media (min-width: 561px) and (max-width: 860px) {
  .hero {
    height: 100svh;
    max-height: none;
    min-height: 560px;
    padding-top: 66px;
    display: block;
  }
  .hero-grid {
    width: var(--content);
    display: grid;
    height: 100%;
    min-height: 0;
    margin: 0 auto;
    padding-top: 0;
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0, 1fr);
    gap: 0;
    align-items: start;
  }
  .hero-copy {
    padding: 1.5rem 0 0.5rem;
  }
  .hero-copy h1 {
    max-width: none;
    margin-bottom: 0.8rem;
  }
  .hero-lead {
    margin-bottom: 1rem;
  }
  .hero-visual {
    height: auto;
    min-height: 0;
    margin-top: 0;
    align-self: stretch;
  }
  .hero-camera {
    top: 0;
    right: 30%;
    width: auto;
    height: 88%;
    max-height: none;
  }
  .hero-phone {
    right: 0;
    bottom: 0;
    width: auto;
    height: 52%;
  }
  .camera-halo {
    top: 0;
    right: 10%;
    width: auto;
    height: 95%;
  }
  .hero-chip,
  .signal-label,
  .hero-caption {
    display: none;
  }
}
/* very short desktop windows: tighten copy so nothing is cut */
@media (min-width: 861px) and (max-height: 700px) {
  .hero-copy {
    padding: 2rem 0 1.5rem;
  }
  .hero h1 {
    font-size: clamp(2.2rem, 3.8vw, 3.8rem);
    margin-bottom: 1.2rem;
  }
  .hero-lead {
    margin-bottom: 1.3rem;
  }
  .hero-camera {
    top: 2%;
    max-height: 92%;
  }
}

/* keep the main title on one line on wide screens (column is capped at 1240px) */
@media (min-width: 861px) {
  .hero-copy h1 {
    font-size: clamp(2.45rem, 4.7vw, 4.6rem);
  }
  .hero-copy h1 > strong {
    white-space: nowrap;
  }
}
@media (min-width: 861px) and (max-height: 700px) {
  .hero h1 {
    font-size: clamp(2.2rem, 3.8vw, 3.8rem);
  }
}

/* ===== v2: slightly shorter hero, phone raised (keeps logo sticker visible) ===== */
@media (min-width: 861px) {
  .hero {
    height: max(520px, min(calc(100svh - 70px), 720px));
  }
  .hero-phone {
    bottom: 7%;
  }
}

/* ===== v2: padding fixes for card-style items ===== */
.faq-item summary {
  padding: 1.35rem 3.4rem 1.35rem 1.6rem;
}
.faq-item summary::after {
  right: 1.4rem;
}
.faq-answer {
  padding: 0 3.4rem 1.6rem 1.6rem;
}
@media (max-width: 560px) {
  .faq-item summary {
    padding: 1.15rem 3rem 1.15rem 1.15rem;
  }
  .faq-item summary::after {
    right: 1rem;
  }
  .faq-answer {
    padding: 0 1.15rem 1.3rem 1.15rem;
  }
}

/* "other scenes" cards have no box: no shadow on hover (text sits flush) */
.scene-other-card:hover {
  box-shadow: none;
}

/* guide steps are a plain timeline on small screens: no card box */
@media (max-width: 860px) {
  .step-guide-item {
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
  }
}
/* contact step tabs: roomier side padding */
@media (max-width: 560px) {
  .form-steps li {
    padding-inline: 0.9rem;
  }
}

/* card grids: drop the old hairline-grid background/border (it showed as a gray slab behind rounded cards) */
.product-lineup-grid,
.product-variant-grid,
.contact-methods {
  gap: clamp(1rem, 2vw, 1.75rem);
  background: transparent;
  border: 0;
}
.contact-methods { gap: 1rem; }

/* sub page titles: cap size (column width is capped at 1240px) and wrap at phrase boundaries */
.product-hero-copy h1,
.flow-page-copy h1,
.subpage-hero-copy h1,
.faq-hero h1,
.contact-intro-copy h1 {
  word-break: auto-phrase;
  text-wrap: balance;
}
@media (min-width: 861px) {
  .product-hero-copy h1,
  .flow-page-copy h1,
  .subpage-hero-copy h1,
  .faq-hero h1 {
    font-size: clamp(2.4rem, 3.7vw, 3.8rem);
  }
}

/* guide steps (desktop): separate cards with even padding and a gap between them */
@media (min-width: 861px) {
  .step-guide-list {
    display: grid;
    gap: clamp(1rem, 1.6vw, 1.5rem);
  }
  .step-guide-item,
  .step-guide-item:last-child {
    padding: clamp(1.4rem, 2.2vw, 2rem);
    gap: clamp(1.25rem, 2.2vw, 2.25rem);
  }
  .step-guide-item::before {
    display: none;
  }
  .step-guide-copy {
    padding-top: 0;
    border-top: 0;
  }
  .step-guide-copy h3 {
    margin-top: 0.2rem;
  }
}

/* =====================================================================
   v2 light heroes: light header (original logo colors) + light heroes
   (appended last so it overrides the earlier dark hero rules)
   ===================================================================== */

/* header */
.site-header,
.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #dbe6ee;
}
.brand img {
  filter: none;
}
.global-nav a:not(.nav-contact) {
  color: var(--ink);
}
.menu-button span {
  background: var(--ink);
}
.nav-contact {
  color: #fff;
}
.nav-contact:hover,
.nav-contact:focus-visible {
  color: var(--navy);
  background: transparent;
  border-color: var(--navy);
}

/* hero backgrounds */
.hero,
.product-hero,
.flow-page-hero,
.faq-hero {
  color: var(--ink);
  background:
    radial-gradient(55% 80% at 80% 40%, rgba(35, 136, 185, 0.22), transparent 70%),
    linear-gradient(rgba(36, 95, 153, 0.06) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(90deg, rgba(36, 95, 153, 0.06) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(135deg, #f7fafd 0%, #e9f2f9 60%, #dcebf6 100%);
}
.hero::before {
  background-image:
    linear-gradient(rgba(36, 95, 153, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(36, 95, 153, 0.07) 1px, transparent 1px);
}
.hero::after {
  display: none;
}
.scene-page-hero,
.contact-intro {
  color: var(--ink);
}
.scene-page-hero::before,
.contact-intro::before {
  background:
    radial-gradient(55% 80% at 80% 40%, rgba(35, 136, 185, 0.22), transparent 70%),
    linear-gradient(rgba(36, 95, 153, 0.06) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(90deg, rgba(36, 95, 153, 0.06) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(135deg, #f7fafd 0%, #e9f2f9 60%, #dcebf6 100%);
}

/* hero titles */
.hero h1,
.hero-copy h1,
.hero-copy h1 > strong,
.product-hero h1,
.flow-page-hero h1,
.faq-hero h1,
.subpage-hero h1,
.contact-intro h1 {
  color: var(--ink);
  background: linear-gradient(180deg, #10273d 35%, #245f99 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-copy h1 > span {
  color: #245f99;
  background: rgba(35, 136, 185, 0.1);
  border-color: rgba(36, 95, 153, 0.35);
  -webkit-text-fill-color: #245f99;
}
.hero-lead,
.product-hero-copy > p:not(.eyebrow),
.flow-page-copy > p:not(.eyebrow),
.subpage-hero-copy > p:last-child,
.faq-hero-copy,
.contact-intro-copy > p:last-child {
  color: var(--ink-soft);
}
.eyebrow,
.product-hero .eyebrow,
.flow-page-hero .eyebrow,
.subpage-hero .eyebrow,
.faq-hero .eyebrow,
.contact-intro .eyebrow {
  color: var(--blue);
}
.eyebrow span:first-child {
  border-right-color: var(--line);
}
.hero .text-link,
.product-hero .text-link,
.flow-page-hero .text-link,
.subpage-hero .text-link,
.mobile-hero .text-link {
  color: var(--ink);
}
.hero .button-primary:hover,
.hero .button-primary:focus-visible {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 10px 30px rgba(16, 39, 61, 0.3);
}

/* hero visuals */
.camera-halo {
  border-color: rgba(36, 95, 153, 0.25);
  box-shadow: 0 0 80px rgba(35, 136, 185, 0.18), inset 0 0 60px rgba(35, 136, 185, 0.1);
}
.camera-halo::before,
.camera-halo::after {
  border-color: rgba(36, 95, 153, 0.16);
}
.hero-camera {
  filter: drop-shadow(0 28px 40px rgba(16, 39, 61, 0.22));
}
.hero-phone {
  filter: drop-shadow(0 32px 38px rgba(16, 39, 61, 0.28));
}
.product-hero-visual img,
.flow-page-visual img {
  filter: drop-shadow(0 22px 34px rgba(16, 39, 61, 0.2));
}
.subpage-hero-image,
.flow-page-visual.flow-page-visual-photo {
  border-color: rgba(36, 95, 153, 0.18);
  box-shadow: 0 24px 60px rgba(16, 39, 61, 0.18);
}
.signal-label {
  color: var(--blue);
}
.signal-dot {
  background: #1fbf75;
  box-shadow: 0 0 0 6px rgba(31, 191, 117, 0.16), 0 0 12px #1fbf75;
}
.hero-caption {
  color: var(--ink-soft);
}
.hero-chip {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.78);
  border-color: rgba(36, 95, 153, 0.18);
  box-shadow: 0 10px 28px rgba(16, 39, 61, 0.12);
}

/* mobile hero */
.mobile-hero,
.mobile-hero h1,
.mobile-hero h1 strong,
.mobile-hero h1 span,
.mobile-hero-lead {
  color: var(--ink);
}
.mobile-hero h1 strong,
.mobile-hero h1 span {
  background: none;
  -webkit-text-fill-color: currentColor;
}
.mobile-hero-kicker {
  color: var(--blue);
}
.mobile-hero-lead {
  color: var(--ink-soft);
}
.mobile-camera-halo {
  border-color: rgba(36, 95, 153, 0.25);
}

/* contact steps on light background */
.form-steps {
  border-top-color: var(--ink);
}
.form-steps li {
  color: var(--ink-soft);
  border-bottom-color: var(--line);
}
.form-steps li span {
  color: var(--blue);
}
.form-steps li.is-current {
  color: #fff;
  border-bottom-color: transparent;
}
.form-steps li.is-current span {
  color: #fff;
}

/* facts band follows the light hero: keep it dark for contrast, drop the glow line */
.facts {
  border-top: 0;
}

/* scenes hero: the phone photo is transparent, so no box. Let the wrist bleed off the right/bottom edge like the top page. */
.subpage-hero-image {
  height: auto;
  align-self: end;
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
  margin-right: calc((min(90vw, 1240px) - 100vw) / 2 - 16px);
}
.subpage-hero-image::before {
  display: none;
}
.subpage-hero-image img {
  width: 100%;
  height: auto;
  max-height: 440px;
  object-fit: contain;
  object-position: right bottom;
  display: block;
  filter: drop-shadow(0 24px 34px rgba(16, 39, 61, 0.28));
}
.subpage-hero-image:hover img {
  transform: none;
}

/* ===== scenes hero: "monitor wall" built from the scene photos ===== */
.scene-wall {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 0.75rem;
  height: 372px;
  align-self: center;
  margin-right: 0;
  perspective: 1200px;
}
.wall-tile {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: #cfe0ee;
  border-radius: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 18px 40px rgba(16, 39, 61, 0.22);
  transition: transform 350ms ease, box-shadow 350ms ease;
}
.wall-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 50px rgba(16, 39, 61, 0.3);
}
.wall-main {
  grid-row: 1 / 3;
}
.wall-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.wall-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 15, 27, 0.35) 0%, transparent 28%, transparent 55%, rgba(4, 15, 27, 0.78) 100%);
}
/* REC badge */
.wall-tile::before {
  content: "REC";
  position: absolute;
  top: 0.65rem;
  left: 0.7rem;
  z-index: 2;
  padding: 0.26rem 0.55rem 0.26rem 1.05rem;
  color: #fff;
  font: 700 0.58rem/1 Arial, sans-serif;
  letter-spacing: 0.14em;
  background: rgba(0, 0, 0, 0.45) radial-gradient(circle at 0.55rem 50%, #ff4d4d 0.2rem, transparent 0.25rem);
  border-radius: 999px;
}
.wall-tile figcaption {
  position: absolute;
  left: 0.8rem;
  right: 0.8rem;
  bottom: 0.65rem;
  z-index: 2;
  color: #fff;
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.2;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
}
.wall-tile figcaption b {
  display: block;
  margin-bottom: 0.2rem;
  color: #9fdcf4;
  font: 700 0.58rem/1 Arial, sans-serif;
  letter-spacing: 0.16em;
}
.wall-main figcaption {
  font-size: 1.05rem;
}
@media (max-width: 860px) {
  .scene-wall {
    height: 220px;
    gap: 0.4rem;
  }
  .wall-tile figcaption { font-size: 0.64rem; }
  .wall-tile figcaption b { display: none; }
  .wall-tile::before { display: none; }
}

/* scenes hero: flat illustration */
.scene-illust {
  align-self: center;
  margin: 0;
}
.scene-illust img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 420px;
  margin-left: auto;
}

/* product "common" list: separate cards with a gap, drop the old top rule */
.product-common-grid {
  gap: clamp(0.75rem, 1.2vw, 1rem);
  border-top: 0;
}
.product-links {
  margin-top: 2rem;
}

/* =====================================================================
   v2 typography
   - Noto Sans JP (Japanese) + Inter (Latin / numerals), loaded in <head>
   - one size scale, no text under 12px, relaxed heading tracking
   ===================================================================== */
:root {
  --font-ui: "Inter", "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  --fs-xs: 0.75rem;     /* 12px  labels / badges */
  --fs-sm: 0.8125rem;   /* 13px  captions / notes */
  --fs-md: 0.9375rem;   /* 15px  secondary body */
}
/* one family everywhere (the base CSS mixed Yu Gothic and Arial) */
html, body, body * ,
input, select, textarea, button {
  font-family: var(--font-ui) !important;
}
body {
  line-height: 1.85;
  letter-spacing: 0.02em;
  font-feature-settings: "palt" 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* headings: less cramped for Japanese, a bit more line height */
h1, h2, h3, h4 { font-weight: 700; }
h1, .hero-copy h1, .hero-copy h1 > strong,
.product-hero-copy h1, .flow-page-copy h1, .subpage-hero-copy h1, .faq-hero h1, .contact-intro-copy h1 {
  letter-spacing: -0.02em;
  line-height: 1.25;
}
h2, .section-heading h2, .trust-cta h2, .flow-page-cta h2, .cta-block h2 {
  letter-spacing: -0.01em;
  line-height: 1.35;
}
h3, .feature-copy h3, .step-guide-copy h3, .product-card-copy h3, .scene-card h3 {
  letter-spacing: -0.005em;
  line-height: 1.4;
}
.product-card-copy h3 { letter-spacing: -0.02em; line-height: 1.1; }   /* BS002 etc. (latin) */
.fact-value, .since strong { letter-spacing: -0.03em; }

/* Latin labels: modest tracking */
.eyebrow, .feature-number, .compare-label, .flow-status span,
.since span, .scene-case-card-copy span, .scene-feature-copy > span, .step-marker span,
.product-card-copy p, .journey-number {
  letter-spacing: 0.12em;
}

/* ---- size floor: nothing below 12px ---- */
.compare-label, .image-note, .flow-status > span, .step-marker span, .since span,
.scene-feature-copy > span, .scene-case-card-copy > span, .form-required-note span,
.consent-field b, .form-field label > span, .journey-number,
.fact-value small, .fact-value span, .scene-card p, .scene-card div > span,
.site-footer .copyright {
  font-size: var(--fs-xs);
}
.fact-value small, .fact-value span { font-size: 0.4em; }  /* part of a large figure: stay proportional */

/* ---- captions / notes: 13px ---- */
.hero-chip, .hero-caption, .fact > p:last-child, .site-footer p, figcaption,
.product-table-note, .form-field-note, .contact-guidance p, .form-required-note,
.consultation-points li, .setup-sequence li, .cable-note span, .inline-support span,
.form-steps li, .journey-list small, .flow-list small, .product-card-copy b,
.scene-other-card p, .contact-method p {
  font-size: var(--fs-sm);
}

/* ---- secondary body: 15px ---- */
.feature-copy > p:last-child, .section-heading > p:last-child, .product-card-copy span,
.product-common-grid p, .faq-answer, .faq-answer p, .step-guide-copy > p, .step-lead,
.scene-other-card p, .contact-method span, .contact-intro-copy > p:last-child,
.hero-lead, .subpage-hero-copy > p:last-child, .product-hero-copy > p:not(.eyebrow),
.flow-page-copy > p:not(.eyebrow), .faq-hero-copy {
  font-size: var(--fs-md);
}
.scene-other-card p { font-size: var(--fs-sm); }   /* keep captions below cards smaller */
.hero-lead { font-size: clamp(0.98rem, 1.15vw, 1.08rem); }

/* nav + links */
.global-nav { font-size: 0.9375rem; letter-spacing: 0.03em; }
.text-link { font-size: 0.9375rem; }

/* tables */
.product-table th, .product-table td { font-size: var(--fs-md); }

/* forms */
.contact-form input, .contact-form select, .contact-form textarea { font-size: 1rem; }

/* stragglers under 12px */
legend > span, label > small, label > span, .setup-sequence li > span {
  font-size: var(--fs-xs);
}
.contact-form legend > span,
.contact-form label > small,
.contact-form label > span,
.contact-form .form-field label > span,
.contact-form .address-fieldset legend > span,
.contact-form .inquiry-fieldset legend > span,
.contact-form .consent-field b {
  font-size: var(--fs-xs);
}

/* ===== v2 mobile fixes ===== */
/* Japanese line breaking: break at phrase boundaries, avoid lone trailing characters */
h1, h2, h3, h4, .hero-lead, .mobile-hero-lead, .step-lead, .feature-copy p, .faq-answer p {
  word-break: auto-phrase;
}
h1, h2, h3, h4 { text-wrap: balance; }
p { text-wrap: pretty; }

@media (max-width: 860px) {
  /* flow cards: compact, number left / text right */
  .flow-list li {
    min-height: 0;
    padding: 1.1rem 1.2rem;
    grid-template-columns: 3.4rem 1fr;
    align-content: center;
  }
  .flow-list span {
    font-size: 2rem;
    margin: 0;
    align-self: center;
  }
  .journey-list li,
  .journey-list li:first-child {
    min-height: 0;
  }
  /* notes under images */
  .night-feature .image-note,
  .image-note {
    text-align: left;
  }
}
@media (max-width: 560px) {
  .mobile-hero-lead {
    letter-spacing: 0;
    font-size: max(0.8rem, 3.4vw);
  }
}

/* mobile: card grids were full-bleed in the original; keep the page gutter now that they are cards */
@media (max-width: 860px) {
  .product-lineup-grid,
  .product-common-grid {
    width: var(--content);
    margin-inline: auto;
  }
  .product-common-grid article {
    padding: 0.95rem 1.15rem;
  }
  .product-links {
    width: var(--content);
  }
}
@media (max-width: 560px) {
  .product-card-copy {
    padding: 1rem 0.8rem 1.15rem;
  }
  .product-card-copy strong {
    font-size: 0.8125rem;
    letter-spacing: 0;
    word-break: keep-all;
    overflow-wrap: anywhere;
  }
  .product-card-copy span {
    font-size: var(--fs-sm);
  }
  .product-card-copy b {
    letter-spacing: 0;
  }
}

/* case study card: dark card with white text (my generic white-card rule had hidden its text) */
.scene-case-card {
  color: #fff;
  background: linear-gradient(135deg, #0a1c2e, #10334f);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.scene-case-card-copy > span {
  color: #8fd6f0;
}
.scene-case-card-copy h3 {
  color: #fff;
  letter-spacing: -0.01em;
  line-height: 1.3;
}
.scene-case-card-copy p {
  color: rgba(255, 255, 255, 0.8);
}
.scene-case-card-copy strong {
  color: #fff;
}
@media (max-width: 860px) {
  .scene-case-card {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .scene-case-card-image {
    min-height: 220px;
  }
  .scene-case-card-copy {
    padding: 1.6rem 1.4rem 1.8rem;
  }
  .scene-case-card-copy h3 {
    font-size: 1.6rem;
  }
}

/* ===== v2: phone hero (<=560px) in the same taste as the desktop hero ===== */
@media (max-width: 560px) {
  .mobile-hero {
    gap: 0.8rem;
  }
  .mobile-hero-copy {
    width: 58%;
    padding-top: 0.5rem;
  }
  /* keyword as a tag, like the desktop hero */
  .mobile-hero-kicker {
    display: inline-block;
    margin: 0 0 0.65rem;
    padding: 0.32em 0.85em;
    color: #245f99;
    font-size: 0.72rem;
    line-height: 1.2;
    letter-spacing: 0.06em;
    background: rgba(35, 136, 185, 0.1);
    border: 1px solid rgba(36, 95, 153, 0.35);
    border-radius: 999px;
  }
  /* gradient title */
  .mobile-hero h1 {
    line-height: 1.2;
    letter-spacing: -0.02em;
  }
  .mobile-hero h1 strong,
  .mobile-hero h1 span {
    background: linear-gradient(180deg, #10273d 35%, #245f99 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.02em;
  }
  .mobile-hero-lead {
    margin-top: 0.6rem;
    font-size: 0.8125rem;
    line-height: 1.75;
    font-weight: 500;
  }
  /* facts: rounded cards instead of a hairline grid */
  .mobile-hero-facts {
    gap: 0.5rem;
    overflow: visible;
    background: none;
    border: 0;
  }
  .mobile-fact {
    min-height: 46px;
    padding: 0.45rem 0.75rem;
    background: linear-gradient(135deg, #0d2740, #10334f);
    border-radius: 0.7rem;
    box-shadow: 0 8px 18px rgba(16, 39, 61, 0.18);
  }
  .mobile-fact > small {
    font-size: 0.72rem;
    letter-spacing: 0;
    color: rgba(255, 255, 255, 0.72);
  }
  .mobile-hero-actions .button {
    box-shadow: 0 8px 22px rgba(35, 136, 185, 0.35);
  }
  .mobile-hero-actions .text-link {
    font-size: 0.8rem;
  }
}
@media (max-width: 359px) {
  .mobile-hero-copy { width: 56%; }
  .mobile-hero-lead { font-size: 0.75rem; }
  .mobile-hero-kicker { font-size: 0.68rem; padding: 0.3em 0.7em; }
}

/* ===== v2: mid widths (681-860px): two columns instead of a stacked hero, so the picture is not cut off ===== */
@media (min-width: 561px) and (max-width: 860px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr);
    gap: 0.75rem;
    align-items: center;
  }
  .hero-copy {
    padding: 1.5rem 0;
  }
  .hero-copy h1 {
    font-size: clamp(2.2rem, 5.2vw, 2.9rem);
  }
  .hero-visual {
    height: auto;
    align-self: stretch;
  }
  .hero-camera {
    top: 6%;
    right: 26%;
    height: 82%;
    width: auto;
  }
  .hero-phone {
    right: -10%;
    bottom: 8%;
    height: 40%;
    width: auto;
  }
  .camera-halo {
    top: 4%;
    right: 8%;
    height: 88%;
    width: auto;
  }
}
@media (min-width: 561px) and (max-width: 860px) {
  /* cap the picture by width too, so tall windows do not blow it up over the text */
  .hero-visual {
    height: min(100%, 72vw);
    align-self: center;
  }
}


/* narrow tablets / small windows (561-680px): give the copy more room and keep the picture clear of it */
@media (min-width: 561px) and (max-width: 680px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    gap: 0.25rem;
  }
  .hero-copy h1 {
    font-size: clamp(2rem, 6vw, 2.3rem);
  }
  .hero-lead {
    font-size: 0.8125rem;
    line-height: 1.75;
  }
  .hero-actions .text-link {
    font-size: 0.8125rem;
  }
  .hero-visual {
    height: min(100%, 62vw);
  }
  .hero-camera {
    top: 8%;
    right: 12%;
    height: 72%;
  }
  .hero-phone {
    right: -14%;
    bottom: 8%;
    height: 34%;
  }
  .camera-halo {
    right: 2%;
    height: 82%;
  }
}

/* ===== v2: case detail page (scenes/security) ===== */
.case-detail-page {
  --cd-pad: clamp(1.5rem, 3vw, 3rem);
}
/* light hero, same as the other sub pages */
.case-page-hero {
  position: relative;
  isolation: isolate;
}
.case-page-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  margin-left: -50vw;
  background:
    radial-gradient(55% 80% at 80% 40%, rgba(35, 136, 185, 0.22), transparent 70%),
    linear-gradient(rgba(36, 95, 153, 0.06) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(90deg, rgba(36, 95, 153, 0.06) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(135deg, #f7fafd 0%, #e9f2f9 60%, #dcebf6 100%);
}
.case-page-hero .case-page-label {
  color: var(--blue);
}
.case-page-hero .subpage-hero-copy h1 {
  font-size: clamp(2.2rem, 3.8vw, 3.6rem);
}
/* the hero picture here is a photo: keep it as a rounded card (the scenes page uses a transparent illustration) */
.case-page-hero .subpage-hero-image {
  height: 340px;
  align-self: center;
  margin-right: 0;
  overflow: hidden;
  background: #dcecff;
  border: 1px solid rgba(36, 95, 153, 0.18);
  border-radius: 1rem;
  box-shadow: 0 24px 60px rgba(16, 39, 61, 0.18);
}
.case-page-hero .subpage-hero-image img {
  height: 100%;
  max-height: none;
  object-fit: cover;
  object-position: center;
  filter: none;
}

/* detail blocks: wider heading column, smaller heading, aligned text edges */
.case-detail-content {
  padding-block: clamp(3rem, 6vw, 5.5rem);
}
.case-detail-block {
  grid-template-columns: minmax(250px, 0.36fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
}
.case-detail-heading h2 {
  font-size: clamp(1.5rem, 2.3vw, 2rem);
  letter-spacing: -0.01em;
  line-height: 1.4;
  word-break: auto-phrase;
  text-wrap: balance;
}
.case-detail-list li {
  font-size: var(--fs-md);
  line-height: 1.9;
}
/* the tinted block grows outward by its padding, so its text lines up with the blocks above */
.case-detail-voice {
  margin: 1rem calc(-1 * var(--cd-pad)) 0;
  padding: var(--cd-pad);
  border-radius: 1rem;
}
@media (max-width: 860px) {
  .case-detail-block {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .case-detail-voice {
    margin: 0.5rem 0 0;
    padding: 1.5rem 1.25rem;
  }
  .case-page-hero .subpage-hero-image {
    height: 260px;
  }
}


/* ===== v2: product hero illustration (four camera types) ===== */
.product-hero-visual.product-illust {
  height: auto;
  margin-top: 0;
  align-self: center;
}
.product-illust img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 430px;
  margin-left: auto;
  filter: none;
}
@media (max-width: 860px) {
  .product-hero-visual.product-illust {
    margin-top: 0.75rem;
  }
  .product-illust img {
    max-width: 560px;
    margin-inline: auto;
  }
}
@media (max-width: 560px) {
  /* the original phone hero overlaid the picture on the text; the wide illustration goes below the copy */
  .product-hero-inner {
    min-height: 0;
    padding: 1.25rem 0 1.5rem;
  }
  .product-hero-copy {
    width: 100%;
  }
  .product-hero-copy h1 {
    font-size: clamp(1.7rem, 7.4vw, 2.1rem);
    line-height: 1.25;
  }
  .product-hero-copy > p:not(.eyebrow) {
    font-size: var(--fs-md);
    line-height: 1.75;
  }
  .product-hero-copy .button {
    width: auto;
    min-height: 46px;
    padding: 0.7rem 1.4rem;
    font-size: 0.875rem;
  }
  .product-hero-visual.product-illust {
    position: static;
    width: 100%;
    height: auto;
    margin: 1.25rem 0 0;
  }
  .product-illust img {
    max-width: none;
  }
}

/* ===== guide: "7 steps" as a wave of icons (replaces the chevron bar) =====
   One horizontal layout for every width: icons and labels scale down on small screens.
   Nodes sit at 30% / 70% of the height, which matches the path drawn in the 700x300 viewBox. */
.route {
  --icon: clamp(44px, 10vw, 76px);
  position: relative;
  height: clamp(250px, 50vw, 300px);
  margin-top: 0.5rem;
}
.route::before {
  content: "";
  position: absolute;
  inset: 8px 0;
  z-index: 0;
  background: radial-gradient(60% 90% at 50% 50%, #e6f1fa, rgba(230, 241, 250, 0) 100%);
  border-radius: 999px;
}
.route-path {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}
.route-path path {
  fill: none;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}
.route-path-base {
  stroke: #ffffff;
  stroke-width: 14px;
}
.route-path-dots {
  stroke: #2388b9;
  stroke-width: 3.5px;
  stroke-dasharray: 1 11;
}
.route-list {
  position: absolute;
  inset: 0;
  z-index: 2;
  margin: 0;
  padding: 0;
  list-style: none;
}
.route-step {
  position: absolute;
  left: calc((var(--i) + 0.5) / 7 * 100%);
  width: 0;
  height: 0;
}
.route-up { top: 30%; }
.route-down { top: 70%; }
.route-icon {
  position: absolute;
  top: 0;
  left: 0;
  transform: translate(-50%, -50%);
  width: var(--icon);
  height: var(--icon);
  display: grid;
  place-items: center;
  background: #fff;
  border: 1px solid #d6e4ef;
  border-radius: 50%;
  box-shadow: 0 10px 24px rgba(16, 39, 61, 0.14);
}
.route-icon svg {
  display: block;
  width: 55%;
  height: 60%;
}
.route-no {
  position: absolute;
  top: calc(var(--icon) * -0.1);
  left: calc(var(--icon) * -0.1);
  width: clamp(22px, calc(var(--icon) * 0.37), 28px);
  height: clamp(22px, calc(var(--icon) * 0.37), 28px);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1;
  background: linear-gradient(135deg, #2aa2d6, #245f99);
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(35, 136, 185, 0.4);
}
.route-step strong {
  position: absolute;
  left: 0;
  transform: translateX(-50%);
  min-height: 0;
  margin: 0;
  display: block;
  color: var(--ink);
  font-size: clamp(0.75rem, 1.7vw, 1rem);
  line-height: 1.35;
  text-align: center;
  white-space: nowrap;
}
.route-up strong { bottom: calc(var(--icon) / 2 + 10px); }
.route-down strong { top: calc(var(--icon) / 2 + 10px); }

/* narrow: let the long labels wrap into two lines so neighbours on the same side do not touch */
@media (max-width: 700px) {
  .route-step strong {
    width: 5.6em;
    white-space: normal;
    word-break: auto-phrase;
  }
}
@media (max-width: 560px) {
  .route-path-base { stroke-width: 10px; }
  .route-path-dots { stroke-width: 3px; stroke-dasharray: 1 9; }
  .route-icon { box-shadow: 0 6px 14px rgba(16, 39, 61, 0.14); }
}

/* ===== guide step cards: the small parts share one look ===== */
/* same width as the paragraphs above them (48rem; they used 3 different widths) */
.step-guide-copy .consultation-points,
.step-guide-copy .setup-sequence,
.step-guide-copy .mount-options,
.step-guide-copy .inline-support,
.step-guide-copy .cable-note {
  width: 100%;
  max-width: 48rem;
}

/* item cards: 01 "things to confirm" and 05 "setup order" */
.step-guide-copy .consultation-points,
.step-guide-copy .setup-sequence {
  margin: 1.25rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
  list-style: none;
  border: 0;
}
.step-guide-copy .consultation-points li,
.step-guide-copy .setup-sequence li {
  position: relative;
  min-height: 0;
  padding: 0.85rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--ink);
  background: #f4f8fb;
  border: 1px solid #dbe6ee;
  border-radius: 0.8rem;
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.4;
  word-break: auto-phrase;
}
.step-guide-copy .consultation-points li {
  padding-left: 2.7rem;
}
.step-guide-copy .consultation-points li::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0.95rem;
  width: 1.05rem;
  height: 1.05rem;
  transform: translateY(-50%);
  background: linear-gradient(135deg, #2aa2d6, #245f99);
  border-radius: 50%;
}
.step-guide-copy .consultation-points li::after {
  content: "";
  position: absolute;
  top: calc(50% - 0.04rem);
  left: 1.31rem;
  width: 0.28rem;
  height: 0.52rem;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: translateY(-50%) rotate(45deg);
}
.step-guide-copy .setup-sequence span {
  flex: 0 0 1.75rem;
  width: 1.75rem;
  height: 1.75rem;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1;
  background: linear-gradient(135deg, #2aa2d6, #245f99);
  border-radius: 50%;
}

/* notes ("初期設定もサポートします" / cable length): one icon + stacked text instead of two far-apart columns */
.step-guide-copy .inline-support,
.step-guide-copy .cable-note {
  margin-top: 0.9rem;
  padding: 1rem 1.25rem;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 0.9rem;
  row-gap: 0.15rem;
  align-items: start;
  color: var(--ink);
  background: #f5f7fa;
  border: 1px solid #dde4eb;
  border-radius: 0.8rem;
}
.step-guide-copy .inline-support::before,
.step-guide-copy .cable-note::before {
  content: "i";
  grid-row: 1 / 3;
  width: 1.75rem;
  height: 1.75rem;
  display: grid;
  place-items: center;
  color: #5a6d80;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1;
  background: #fff;
  border: 1.5px solid #8a9bad;
  border-radius: 50%;
}
.step-guide-copy .inline-support strong,
.step-guide-copy .cable-note strong {
  font-size: 0.9375rem;
  line-height: 1.5;
}
.step-guide-copy .inline-support span,
.step-guide-copy .cable-note span {
  color: var(--ink-soft);
  font-size: 0.875rem;
  line-height: 1.7;
}

/* the two mounting options: two rounded cards instead of a hairline grid */
.step-guide-copy .mount-options {
  margin-top: 1.25rem;
  gap: 1rem;
  background: transparent;
  border: 0;
}
.step-guide-copy .mount-options figure {
  overflow: hidden;
  background: #fff;
  border: 1px solid #dbe6ee;
  border-radius: 0.9rem;
}
.step-guide-copy .mount-options img {
  height: clamp(170px, 19vw, 250px);
}
.step-guide-copy .mount-options figcaption {
  padding: 0.85rem 1.1rem 1rem;
}
.step-guide-copy .mount-options figcaption strong {
  font-size: 0.9375rem;
}
.step-guide-copy .mount-options figcaption span {
  font-size: 0.875rem;
}

@media (max-width: 860px) {
  .step-guide-copy .consultation-points {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 560px) {
  .step-guide-copy .consultation-points,
  .step-guide-copy .setup-sequence,
  .step-guide-copy .mount-options {
    grid-template-columns: 1fr;
  }
  .step-guide-copy .inline-support,
  .step-guide-copy .cable-note {
    padding: 0.9rem 1rem;
  }
}

/* setup order (STEP 05): a sequence - white cards joined by arrows, so it reads differently from the (gray, outlined-icon) information notes */
.step-guide-copy .setup-sequence {
  gap: 1.5rem;
}
.step-guide-copy .setup-sequence li {
  background: #fff;
  border-color: #b9d3ea;
  box-shadow: 0 6px 16px rgba(16, 39, 61, 0.07);
}
.step-guide-copy .setup-sequence li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -1.05rem;
  width: 0.5rem;
  height: 0.5rem;
  border: solid #2388b9;
  border-width: 2px 2px 0 0;
  transform: translateY(-50%) rotate(45deg);
}
@media (max-width: 560px) {
  .step-guide-copy .setup-sequence li:not(:last-child)::after {
    top: auto;
    right: auto;
    bottom: -1.05rem;
    left: 50%;
    transform: translateX(-50%) rotate(135deg);
  }
}

/* "7 steps": no lead sentence under the heading, so the route sits closer to it */
.journey .section-heading {
  margin-bottom: 0;
}
.journey .journey-map {
  padding-top: 0;
}
.journey .route {
  margin-top: -0.25rem;
}

/* "SINCE 1953" / CTA band: center both columns vertically so their contents line up
   (they were top-aligned, and only the left one had an extra top margin) */
.trust-block,
.cta-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}
.since {
  margin: 0 0 1.5rem;
}
.trust-block > p,
.cta-block > p {
  margin-top: 0;
}

/* step marker (STEP / 01): center both lines exactly - the letter-spacing used to push "STEP" left and "01" right,
   and the two lines were pulled apart by hand-tuned offsets */
.step-guide-item .step-marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.22rem;
  padding: 0;
}
.step-guide-item .step-marker span,
.step-guide-item .step-marker strong {
  margin: 0;
  transform: none;
  line-height: 1;
}
.step-guide-item .step-marker span {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-indent: 0.12em;   /* balances the trailing letter-space so the word is centered */
}
.step-guide-item .step-marker strong {
  font-size: clamp(1.9rem, 2.7vw, 2.45rem);
  letter-spacing: 0;
  transform: translateY(1px);
}

/* contact form: fields that are empty/invalid when "入力内容を確認する" is pressed turn red */
.contact-form .form-field input.is-invalid,
.contact-form .form-field select.is-invalid,
.contact-form .form-field textarea.is-invalid {
  background: #fff5f5;
  border-color: #d64545;
  box-shadow: 0 0 0 3px rgba(214, 69, 69, 0.14);
}
.contact-form .form-field input.is-invalid:focus,
.contact-form .form-field select.is-invalid:focus,
.contact-form .form-field textarea.is-invalid:focus {
  border-color: #d64545;
  outline-color: rgba(214, 69, 69, 0.35);
}
/* groups: the radio buttons (inquiry type) and the consent checkbox */
.contact-form .inquiry-fieldset.is-invalid,
.contact-form .consent-field.is-invalid {
  background: #fff5f5;
  border-color: #d64545;
  box-shadow: 0 0 0 3px rgba(214, 69, 69, 0.14);
}
.contact-form .inquiry-fieldset.is-invalid legend {
  color: #b3261e;
}
.contact-form .inquiry-fieldset.is-invalid .radio-options {
  background: #efc3c3;
  border-color: #efc3c3;
}

/* scrolled to when moving between input / confirm / complete: keep clear of the sticky header */
.form-steps { scroll-margin-top: 96px; }

/* width/height attributes reserve space; keep the natural aspect ratio unless a rule sets a height */
img { height: auto; }
