/* PANDA MONO landing page. All visual rules are scoped to .page-panda-mono. */
.page-panda-mono {
  --pm-ivory: #efebe1;
  --pm-paper: #f7f3ea;
  --pm-charcoal: #20242a;
  --pm-ink: #2d333a;
  --pm-muted: #6c7279;
  --pm-slate: #172637;
  --pm-slate-soft: #253b51;
  --pm-silver: #c9c9c5;
  --pm-gold: #a98d55;
  --pm-line: rgba(32, 36, 42, 0.14);
  background: var(--pm-ivory);
  color: var(--pm-ink);
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Noto Sans JP", sans-serif;
  line-height: 1.7;
}

.page-panda-mono .page-content { width: 100%; max-width: none; margin: 0; padding: 0; }
.page-panda-mono .site-footer {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 30px max(20px, calc((100% - 1180px) / 2)) 38px;
  background: var(--pm-charcoal);
  border-top: 1px solid rgba(255,255,255,.1);
  color: #c9ccd0;
}
.page-panda-mono .site-footer a { color: #f3f1eb; }
.page-panda-mono a { color: inherit; background-image: none; }

.page-panda-mono .site-header { background: var(--pm-ivory); border-bottom: 1px solid var(--pm-line); }
.page-panda-mono .site-header .inner { max-width: 1180px; }
.page-panda-mono .site-header .lang-switch a { color: var(--pm-charcoal); font-size: .86rem; }

.pm-main { overflow: hidden; }
.pm-hero,
.pm-section { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.pm-hero { display: grid; min-height: 740px; grid-template-columns: minmax(0, 1.35fr) minmax(310px, 0.65fr); gap: clamp(48px, 6vw, 78px); align-items: center; padding: clamp(64px, 9vw, 120px) 0; }
.pm-app-brand { display: flex; margin-bottom: 34px; gap: 15px; align-items: center; }
.pm-app-brand img { display: block; width: 62px; height: 62px; border-radius: 14px; box-shadow: 0 8px 22px rgba(32,36,42,.13); }
.pm-app-brand div { display: grid; gap: 3px; }
.pm-app-brand strong { color: var(--pm-charcoal); font-size: 1rem; letter-spacing: .15em; line-height: 1.3; }
.pm-app-brand span { color: var(--pm-muted); font-size: .76rem; letter-spacing: .04em; }
.pm-kicker,
.pm-section-label { margin: 0 0 16px; color: var(--pm-gold); font-size: 0.76rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; }
.pm-hero h1 { max-width: 750px; margin: 0; color: var(--pm-charcoal); font-family: Georgia, "Times New Roman", "Yu Mincho", serif; font-size: clamp(3rem, 6.1vw, 5.5rem); font-weight: 400; letter-spacing: -0.045em; line-height: 1.08; }
html[lang="ja"] .pm-hero h1 { font-size: clamp(3rem, 4.7vw, 3.4rem); letter-spacing: -0.055em; }
html[lang="ja"] .pm-hero h1 > span { display: block; white-space: nowrap; }
.pm-mobile-break { display: none; }
.pm-lead { max-width: 650px; margin: 32px 0 0; color: #4e555d; font-size: 1.08rem; line-height: 2; }
.pm-hero__cta { display: flex; margin-top: 32px; gap: 17px; align-items: center; flex-wrap: wrap; }
.pm-hero__cta p { max-width: 320px; margin: 0; color: var(--pm-muted); font-size: 0.78rem; line-height: 1.55; }
.pm-store-link { display: inline-block; line-height: 0; }
.pm-store-link img { display: block; width: 166px; height: auto; }

.pm-lockshot { width: min(100%, 380px); margin: 0 auto; }
.pm-lockshot__screen { position: relative; aspect-ratio: 9 / 18.8; overflow: hidden; background: linear-gradient(170deg, #102438, #273a4b 68%, #c3c6c4 160%); border: 7px solid #292c31; border-radius: 48px; box-shadow: 0 32px 70px rgba(25, 29, 34, 0.21); color: #fff; }
.pm-hero-slide { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.pm-hero-slide--widget { z-index: 1; animation: pm-show-widget 10s ease-in-out infinite; }
.pm-hero-slide--app { z-index: 2; display: block; object-fit: cover; opacity: 0; animation: pm-show-app 10s ease-in-out infinite; }
.pm-lockshot__time { display: grid; padding-top: 72px; justify-items: center; color: rgba(255,255,255,.9); }
.pm-lockshot__time small { font-size: 0.74rem; letter-spacing: 0.06em; }
.pm-lockshot__time strong { font-size: 4.5rem; font-weight: 200; letter-spacing: -0.07em; line-height: 1; }
.pm-hero-slide--widget > .pm-widget-preview { position: absolute; top: 37%; left: 50%; transform: translate(-50%, -50%); }
.pm-hero-slide--widget > p { position: absolute; bottom: 40px; width: 100%; margin: 0; color: rgba(255,255,255,.64); font-size: 0.66rem; letter-spacing: 0.16em; line-height: 1.8; text-align: center; }
.pm-hero-slide--widget > p strong { color: #fff; font-size: 0.75rem; }
.pm-lockshot figcaption { display: grid; gap: 5px; margin-top: 22px; color: var(--pm-muted); font-size: 0.78rem; text-align: center; }
.pm-lockshot figcaption strong { color: var(--pm-ink); font-size: 0.92rem; }

.pm-widget-preview { position: relative; display: grid; width: 76px; height: 76px; place-items: center; background: #1c3046; border: 1px solid rgba(255,255,255,.22); border-radius: 17px; box-shadow: 0 12px 30px rgba(0,0,0,.2); color: #e5e9ed; }
.pm-widget-preview::before, .pm-widget-preview::after { content: ""; position: absolute; top: 16px; width: 12px; height: 12px; border: 2px solid #adb7c0; border-radius: 50%; opacity: .8; }
.pm-widget-preview::before { left: 17px; }
.pm-widget-preview::after { right: 17px; }
.pm-widget-preview span { position: absolute; width: 42px; height: 42px; border: 3px solid #adb7c0; border-radius: 50%; }
.pm-widget-preview b { position: relative; z-index: 1; font-size: 1rem; }
.pm-widget-image { display: block; object-fit: cover; }
.pm-widget-image--step { width: 82px; height: 82px; border-radius: 17px; box-shadow: 0 12px 30px rgba(23,38,55,.14); }
.pm-widget-image--large { width: 158px; height: 158px; border-radius: 34px; box-shadow: 0 18px 36px rgba(0,0,0,.2); }

@keyframes pm-show-app {
  0%, 42% { opacity: 0; }
  50%, 92% { opacity: 1; }
  100% { opacity: 0; }
}

@keyframes pm-show-widget {
  0%, 42% { opacity: 1; }
  50%, 92% { opacity: 0; }
  100% { opacity: 1; }
}

.pm-section { padding: clamp(90px, 11vw, 150px) 0; border-top: 1px solid var(--pm-line); }
.pm-section h2, .pm-final h2 { margin: 0; padding: 0; border: 0; color: var(--pm-charcoal); font-family: Georgia, "Times New Roman", "Yu Mincho", serif; font-size: clamp(2.35rem, 4.5vw, 4rem); font-weight: 400; letter-spacing: -0.04em; line-height: 1.22; }
.pm-steps { display: grid; margin: 64px 0 0; padding: 0; grid-template-columns: repeat(3, 1fr); list-style: none; }
.pm-steps > li { min-width: 0; padding: 0 clamp(24px, 3.5vw, 50px); border-left: 1px solid var(--pm-line); }
.pm-steps > li:first-child { padding-left: 0; border-left: 0; }
.pm-steps > li:last-child { padding-right: 0; }
.pm-step-number { display: block; margin-bottom: 30px; color: var(--pm-gold); font: 0.75rem/1 Georgia, serif; letter-spacing: .12em; }
.pm-steps h3 { margin: 30px 0 9px; color: var(--pm-charcoal); font-size: 1.15rem; }
.pm-steps p { margin: 0; color: var(--pm-muted); font-size: 0.94rem; }
.pm-choice { display: flex; min-height: 82px; gap: 11px; align-items: center; color: var(--pm-charcoal); font: 600 0.72rem/1 sans-serif; letter-spacing: .08em; }
.pm-choice span { padding: 12px 13px; background: var(--pm-paper); border: 1px solid var(--pm-line); border-radius: 7px; }
.pm-choice i { color: var(--pm-muted); font: italic 1rem Georgia, serif; }
.pm-sides { display: flex; min-height: 82px; gap: 10px; align-items: center; }
.pm-sides > span { display: grid; min-width: 112px; padding: 10px 12px; grid-template-columns: 32px 1fr; align-items: center; background: var(--pm-paper); border: 1px solid var(--pm-line); border-radius: 7px; }
.pm-sides b { color: var(--pm-charcoal); font: 1.15rem Georgia, serif; }
.pm-sides small { color: var(--pm-muted); font-size: .72rem; }
.pm-annotation { display: block; margin-top: 12px; color: #777c81; font-size: .7rem; line-height: 1.5; }
.pm-widget-preview--step { width: 82px; height: 82px; min-height: 82px; }

.pm-glance { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, .7fr); gap: clamp(50px, 10vw, 140px); align-items: center; }
.pm-glance__copy > p:not(.pm-section-label) { max-width: 660px; margin: 28px 0 0; font-size: 1.03rem; }
.pm-glance__copy .pm-muted { color: var(--pm-muted); font-size: .9rem; }
.pm-widget-focus { display: grid; min-height: 390px; padding: 54px; place-items: center; background: var(--pm-slate); border-radius: 28px; box-shadow: 0 24px 58px rgba(23,38,55,.16); color: #d9dfe5; text-align: center; }
.pm-widget-preview--large { width: 158px; height: 158px; border-radius: 34px; }
.pm-widget-preview--large::before, .pm-widget-preview--large::after { top: 31px; width: 24px; height: 24px; border-width: 3px; }
.pm-widget-preview--large::before { left: 34px; }
.pm-widget-preview--large::after { right: 34px; }
.pm-widget-preview--large span { width: 86px; height: 86px; border-width: 5px; }
.pm-widget-preview--large b { font-size: 1.8rem; }
.pm-widget-focus p { max-width: 270px; margin: 0; color: #bbc3ca; font-size: .83rem; }

.pm-options__heading { max-width: 650px; }
.pm-screens { display: grid; margin-top: 64px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 6vw, 74px); }
.pm-screens figure { display: grid; margin: 0; grid-template-columns: minmax(180px, .7fr) minmax(180px, 1fr); gap: 26px; align-items: center; }
.pm-screens img { display: block; width: 100%; height: auto; border: 1px solid rgba(23,38,55,.16); border-radius: 26px; box-shadow: 0 20px 48px rgba(23,38,55,.13); }
.pm-screens figcaption { display: grid; gap: 10px; color: var(--pm-muted); font-size: .88rem; }
.pm-screens figcaption strong { color: var(--pm-charcoal); font-family: Georgia, "Times New Roman", "Yu Mincho", serif; font-size: 1.45rem; font-weight: 400; line-height: 1.35; }
.pm-manual { margin: 64px 0 0; padding: 24px 28px; background: #ebe8df; border-left: 2px solid var(--pm-gold); color: var(--pm-muted); }
.pm-manual strong { color: var(--pm-charcoal); }

.pm-faq { display: grid; grid-template-columns: minmax(220px, .55fr) minmax(0, 1fr); column-gap: 80px; }
.pm-faq .pm-section-label { grid-column: 1; }
.pm-faq h2 { grid-column: 1; }
html[lang="ja"] .pm-faq h2 { font-size: clamp(2.2rem, 3.5vw, 3rem); white-space: nowrap; }
.pm-faq__list { grid-column: 2; grid-row: 1 / span 2; }
.pm-faq details { border-top: 1px solid var(--pm-line); }
.pm-faq details:last-child { border-bottom: 1px solid var(--pm-line); }
.pm-faq summary { position: relative; padding: 24px 42px 24px 0; cursor: pointer; color: var(--pm-charcoal); font-weight: 600; list-style: none; }
.pm-faq summary::-webkit-details-marker { display: none; }
.pm-faq summary::after { content: "+"; position: absolute; right: 8px; top: 21px; color: var(--pm-gold); font: 1.4rem/1 Georgia, serif; }
.pm-faq details[open] summary::after { content: "−"; }
.pm-faq details p { margin: 0; padding: 0 40px 24px 0; color: var(--pm-muted); }
.pm-faq summary:focus-visible, .page-panda-mono .site-header a:focus-visible { outline: 3px solid #806b41; outline-offset: 4px; }

.pm-final { padding: clamp(90px, 12vw, 160px) max(20px, calc((100% - 1180px) / 2)); background: var(--pm-charcoal); color: #f4f2ec; text-align: center; }
.pm-final .pm-section-label { color: #c4aa76; }
.pm-final h2 { color: #fff; }
.pm-final > p:not(.pm-section-label) { margin: 25px 0; color: #bfc3c7; }
.pm-final .pm-store-link { margin-top: 6px; }

@media (max-width: 900px) {
  .pm-hero { grid-template-columns: 1fr; }
  .pm-hero__copy { max-width: 720px; }
  .pm-lockshot { width: min(72vw, 380px); }
  .pm-steps { grid-template-columns: 1fr; gap: 0; }
  .pm-steps > li, .pm-steps > li:first-child, .pm-steps > li:last-child { display: grid; padding: 34px 0; grid-template-columns: 46px minmax(130px, .55fr) 1fr; column-gap: 20px; border-top: 1px solid var(--pm-line); border-left: 0; }
  .pm-step-number { grid-row: 1 / span 3; margin: 7px 0 0; }
  .pm-steps h3 { grid-column: 3; margin: 0 0 8px; }
  .pm-steps p, .pm-annotation { grid-column: 3; }
  .pm-choice, .pm-sides, .pm-widget-preview--step, .pm-widget-image--step { grid-column: 2; grid-row: 1 / span 3; }
  .pm-sides { flex-direction: column; align-items: stretch; }
  .pm-glance { grid-template-columns: 1fr; }
  .pm-widget-focus { min-height: 340px; }
  .pm-screens { grid-template-columns: 1fr; }
  .pm-faq { grid-template-columns: 1fr; }
  .pm-faq__list { grid-column: 1; grid-row: auto; margin-top: 48px; }
}

@media (max-width: 620px) {
  .pm-hero, .pm-section { width: min(100% - 32px, 1180px); }
  .pm-hero { min-height: 0; gap: 54px; padding: 58px 0 78px; }
  .pm-hero h1 { font-size: clamp(2.7rem, 13vw, 4rem); }
  html[lang="ja"] .pm-hero h1 { font-size: clamp(2.45rem, 11.5vw, 3rem); }
  html[lang="ja"] .pm-hero h1 > span { white-space: normal; }
  .pm-mobile-break { display: inline; }
  .pm-lead { margin-top: 25px; font-size: 1rem; line-height: 1.85; }
  .pm-hero__cta { align-items: flex-start; flex-direction: column; }
  .pm-lockshot { width: min(83vw, 350px); }
  .pm-section { padding: 82px 0; }
  .pm-section h2, .pm-final h2 { font-size: 2.45rem; }
  .pm-steps { margin-top: 45px; }
  .pm-steps > li, .pm-steps > li:first-child, .pm-steps > li:last-child { grid-template-columns: 34px 1fr; row-gap: 20px; }
  .pm-step-number { grid-row: 1 / span 4; }
  .pm-choice, .pm-sides, .pm-widget-preview--step, .pm-widget-image--step { grid-column: 2; grid-row: auto; }
  .pm-steps h3, .pm-steps p, .pm-annotation { grid-column: 2; }
  .pm-sides { flex-direction: row; }
  .pm-sides > span { min-width: 0; flex: 1; }
  .pm-widget-focus { min-height: 310px; padding: 40px 24px; }
  .pm-screens figure { grid-template-columns: 42% 1fr; gap: 18px; }
  .pm-screens figcaption strong { font-size: 1.2rem; }
  .pm-screens figcaption { font-size: .78rem; }
  .pm-manual { margin-top: 44px; padding: 20px; }
  .pm-final { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  .page-panda-mono *, .page-panda-mono *::before, .page-panda-mono *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .pm-hero-slide--widget { opacity: 1; }
  .pm-hero-slide--app { display: none; }
}
