:root {
  --bg-outer: #e9eef1;
  --bg-page: #f5f7f8;
  --bg-surface: #e2e9ed;
  --bg-card: #ffffff;
  --ink: #18232e;
  --muted: #566573;
  --accent: #1e6b64;
  --accent-hover: #17544e;
  --line: #b8c5cc;
  --font-serif: "Shippori Mincho", "Yu Mincho", "Hiragino Mincho ProN", Georgia, serif;
  --font-sans: "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  --lp-max: 540px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-outer);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--bg-outer);
  overflow-x: clip;
}

.nowrap {
  display: inline-block;
  white-space: nowrap;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3,
.headline {
  word-break: auto-phrase;
  text-wrap: balance;
  line-break: strict;
}

.lp-shell {
  width: 100%;
  display: flex;
  justify-content: center;
}

.lp-canvas {
  width: 100%;
  max-width: var(--lp-max);
  background-color: var(--bg-page);
  box-shadow: 0 12px 48px rgba(24, 35, 46, 0.08);
}

/* Slides */
.lp-slide {
  margin: 0;
  padding: 0;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.lp-slide.is-visible {
  opacity: 1;
  transform: none;
}

.slide-frame {
  position: relative;
  width: 100%;
  background-color: var(--bg-page);
}

.slide-frame img {
  width: 100%;
  height: auto;
}

/* Accessible CTA hotspots aligned to rendered buttons */
.cta-hotspot {
  position: absolute;
  display: block;
  min-height: 44px;
  border-radius: 2px;
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.cta-hotspot:hover {
  background-color: rgba(255, 255, 255, 0.12);
}

.cta-hotspot:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

.cta-hotspot--fv {
  left: 6%;
  width: 54%;
  top: 87.8%;
  height: 6%;
}

.cta-hotspot--bottom {
  left: 5.5%;
  width: 89%;
  top: 87.2%;
  height: 6.4%;
}

/* HTML Supplement: Purchase Panel */
.purchase-panel {
  background-color: var(--bg-page);
  padding: 48px 24px 44px;
  border-top: 1px solid var(--line);
}

.purchase-eyebrow {
  margin: 0 0 10px;
  font-family: var(--font-serif);
  font-size: 0.8125rem;
  letter-spacing: 0.16em;
  color: var(--accent);
  text-align: center;
}

.purchase-heading {
  margin: 0 0 16px;
  font-family: var(--font-serif);
  font-size: 1.625rem;
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: 0.04em;
  text-align: center;
  color: var(--ink);
}

.purchase-lead {
  margin: 0 0 28px;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--muted);
  text-align: left;
}

.spec-list {
  margin: 0 0 28px;
  background-color: var(--bg-card);
  border: 1px solid var(--line);
}

.spec-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--bg-surface);
}

.spec-row:last-child {
  border-bottom: none;
}

.spec-row dt {
  margin: 0;
  font-size: 0.875rem;
  color: var(--accent);
  letter-spacing: 0.04em;
}

.spec-row dd {
  margin: 0;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
}

.placeholder-val {
  color: var(--muted);
}

.shop-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 54px;
  padding: 14px 20px;
  background-color: var(--accent);
  color: #ffffff;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.shop-button:hover {
  background-color: var(--accent-hover);
}

.shop-button:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 2px;
}

.purchase-notice {
  margin: 16px 0 0;
  padding: 14px 16px;
  background-color: var(--bg-card);
  border-left: 3px solid var(--accent);
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--ink);
}

.purchase-footnote {
  margin: 20px 0 0;
  font-size: 0.875rem;
  line-height: 1.75;
  color: var(--muted);
}

/* Footer */
.lp-footer {
  background-color: var(--ink);
  color: #d5e0e6;
  padding: 36px 24px 52px;
  text-align: center;
}

.footer-brand {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  letter-spacing: 0.16em;
  color: #ffffff;
}

.footer-sub {
  margin: 4px 0 22px;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  color: #9fb0bd;
}

.footer-links {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 20px;
}

.footer-links a,
.motion-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 14px;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  color: #d5e0e6;
  background: transparent;
  border: 1px solid rgba(213, 224, 230, 0.35);
  text-decoration: none;
  cursor: pointer;
}

.footer-links a:hover,
.motion-toggle:hover {
  border-color: #ffffff;
  color: #ffffff;
}

.footer-copy {
  margin: 0;
  font-size: 0.8125rem;
  color: #9fb0bd;
}

/* Sticky Bottom CTA Bar (shown only after scrolling past FV) */
.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  background-color: rgba(24, 35, 46, 0.96);
  border-top: 1px solid rgba(184, 197, 204, 0.25);
  opacity: 0;
  visibility: hidden;
  transform: translateY(100%);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
}

.sticky-cta.is-shown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.sticky-cta__inner {
  max-width: var(--lp-max);
  margin: 0 auto;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.sticky-cta__meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.sticky-cta__name {
  font-family: var(--font-serif);
  font-size: 0.9375rem;
  letter-spacing: 0.08em;
  color: #ffffff;
  line-height: 1.25;
}

.sticky-cta__desc {
  font-size: 0.75rem;
  color: #c5d2da;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sticky-cta__btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  background-color: var(--accent);
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}

.sticky-cta__btn:hover {
  background-color: var(--accent-hover);
}

@media (min-width: 600px) {
  .spec-row {
    flex-direction: row;
    align-items: baseline;
    gap: 16px;
  }

  .spec-row dt {
    width: 132px;
    flex-shrink: 0;
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .lp-slide,
  .sticky-cta,
  .shop-button,
  .cta-hotspot {
    transition: none;
    transform: none;
  }

  .lp-slide {
    opacity: 1;
  }
}

body.reduce-motion .lp-slide,
body.reduce-motion .sticky-cta,
body.reduce-motion .shop-button,
body.reduce-motion .cta-hotspot {
  transition: none;
  transform: none;
}

body.reduce-motion .lp-slide {
  opacity: 1;
}
