/* MoMoZen home (sales page) — builds on momozen.css tokens */

.home { --home-max: 1200px; }
.home, .home body { background: var(--mz-navy); }
body.home {
  margin: 0; color: var(--mz-text); font-family: var(--font-ui); font-weight: 400;
  background:
    radial-gradient(ellipse 70% 45% at 70% -5%, rgba(201, 169, 97, 0.12) 0%, transparent 70%),
    var(--mz-navy);
  -webkit-font-smoothing: antialiased;
}
.home *, .home *::before, .home *::after { box-sizing: border-box; }
.home main img { max-width: 100%; display: block; }
.h-shot img { width: 100%; height: auto; }  /* keep screenshots in proportion when they shrink */
.h-wrap { max-width: var(--home-max); margin: 0 auto; padding: 0 32px; }

/* type */
.h-kicker {
  font: 500 var(--fs-label)/1.2 var(--font-ui); letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--mz-gold); margin: 0 0 16px;
}
.h-display {
  font-family: var(--font-display); font-weight: 300; color: var(--mz-text);
  font-size: clamp(2.6rem, 5.4vw, 4.6rem); line-height: 1.02; letter-spacing: -0.015em; margin: 0;
}
.h-display .h-gold { display: block; color: var(--mz-gold-light); font-style: italic; }
.h-h2 {
  font-family: var(--font-display); font-weight: 300; color: var(--mz-text);
  font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.08; margin: 0 0 18px;
}
.h-h3 {
  font-family: var(--font-display); font-weight: 400; color: var(--mz-text);
  font-size: clamp(1.7rem, 2.6vw, 2.25rem); line-height: 1.1; margin: 0 0 14px;
}
.h-lead { font-size: 19px; line-height: 1.6; color: var(--mz-text-2); max-width: 36em; margin: 0; }
.h-body { font-size: 17px; line-height: 1.65; color: var(--mz-text-2); margin: 0; }

/* buttons */
.h-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 32px; }
.h-btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 26px;
  background: var(--mz-gold); color: var(--mz-navy); border: 1px solid var(--mz-gold); border-radius: 2px;
  font: 500 15px/1 var(--font-ui); letter-spacing: 0.04em; text-decoration: none; cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s;
}
.h-btn:hover { background: var(--mz-gold-light); border-color: var(--mz-gold-light); }
.h-link {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  font: 400 15px/1 var(--font-ui); color: var(--mz-text-2); text-decoration: none;
  border-bottom: 1px solid var(--mz-line-strong);
}
.h-link:hover { color: var(--mz-gold-light); border-bottom-color: var(--mz-gold); }

/* hero */
.h-hero { padding: calc(var(--mz-header-h) + 72px) 0 96px; }
.h-hero__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; align-items: center; }
.h-hero__note { margin-top: 20px; font-size: 14px; color: var(--mz-text-3); }
.h-shot {
  margin: 0; border: 1px solid var(--mz-line-strong); border-radius: 4px; overflow: hidden;
  background: #0b0f1c;
}
.h-shot__bar {
  display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-bottom: 1px solid var(--mz-line);
  font: 400 13px/1 var(--font-ui); color: var(--mz-text-3);
}
.h-shot__bar i { width: 8px; height: 8px; border-radius: 50%; background: rgba(201, 169, 97, 0.35); }
.h-shot__bar span { margin-left: 6px; }
.h-shot figcaption { padding: 10px 14px; border-top: 1px solid var(--mz-line); font-size: 13px; color: var(--mz-text-3); }
.h-hero .h-shot { margin-right: -48px; }

/* placeholder panel for a screenshot that isn't ready yet */
.h-soon {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px;
  aspect-ratio: 5 / 4; padding: 32px; text-align: center;
  background: radial-gradient(ellipse 60% 55% at 50% 45%, rgba(201, 169, 97, 0.10), transparent 70%), #0b0f1c;
}
.h-soon__kanji { font: 400 88px/1 var(--font-jp); color: var(--mz-gold); opacity: 0.85; }
.h-soon__text { font-size: 15px; line-height: 1.6; color: var(--mz-text-3); }
.h-tool--flip .h-shot--soon { width: 100%; }

/* sections */
.h-section { padding: 104px 0; border-top: 1px solid var(--mz-line); }
.h-section__head { max-width: 40em; margin-bottom: 56px; }

/* problem */
.h-problems { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.h-problem { border-top: 1px solid var(--mz-line-strong); padding-top: 20px; }
.h-problem h3 { font: 500 17px/1.3 var(--font-ui); color: var(--mz-text); margin: 0 0 10px; }

/* tools */
.h-tool { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 64px; align-items: center; }
.h-tool + .h-tool { margin-top: 112px; }
.h-tool--flip .h-tool__copy { order: 2; }
.h-tool__name { display: flex; align-items: baseline; gap: 14px; margin-bottom: 14px; }
.h-tool__kanji { font: 400 34px/1 var(--font-jp); color: var(--mz-gold); }
.h-tool__label { font: 500 var(--fs-label)/1.3 var(--font-ui); letter-spacing: 0.18em; text-transform: uppercase; color: var(--mz-text-3); }
.h-list { list-style: none; margin: 24px 0 0; padding: 0; }
.h-list li {
  position: relative; padding: 12px 0 12px 28px; border-top: 1px solid var(--mz-line);
  font-size: 16px; line-height: 1.55; color: var(--mz-text-2);
}
.h-list li::before {
  content: ""; position: absolute; left: 4px; top: 21px; width: 8px; height: 8px;
  border: 1px solid var(--mz-gold); border-radius: 50%;
}
.h-list strong { color: var(--mz-text); font-weight: 500; }
.h-tool--flip .h-shot { max-width: 560px; justify-self: start; }

/* morning */
.h-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; counter-reset: step; }
.h-step { padding: 0 28px 0 0; position: relative; }
.h-step::before {
  content: ""; display: block; height: 1px; background: var(--mz-line-strong); margin: 0 0 22px;
}
.h-step__time { font: 500 13px/1 var(--font-ui); letter-spacing: 0.12em; color: var(--mz-gold); margin: 0 0 12px; }
.h-step h3 { font: 500 17px/1.3 var(--font-ui); color: var(--mz-text); margin: 0 0 8px; }
.h-step p { font-size: 15px; line-height: 1.6; color: var(--mz-text-2); margin: 0; }

/* golden path */
.h-path { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1px; background: var(--mz-line); border: 1px solid var(--mz-line); border-radius: 4px; overflow: hidden; }
.h-station {
  display: block; padding: 28px 22px; background: var(--mz-navy-2); text-decoration: none; color: inherit;
  transition: background-color 0.2s;
}
.h-station:hover { background: var(--mz-navy-3); }
.h-station__kanji { font: 400 28px/1 var(--font-jp); color: var(--mz-gold); margin-bottom: 16px; }
.h-station__num { font: 500 var(--fs-label)/1 var(--font-ui); letter-spacing: 0.16em; color: var(--mz-text-3); margin-bottom: 8px; }
.h-station h3 { font: 400 20px/1.2 var(--font-display); color: var(--mz-text); margin: 0 0 6px; }
.h-station p { font-size: 14px; line-height: 1.5; color: var(--mz-text-3); margin: 0; }
.h-path-more { margin-top: 28px; }

/* waitlist */
.h-wait { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.h-form { display: grid; gap: 16px; }
.h-field label { display: block; font: 500 14px/1.3 var(--font-ui); color: var(--mz-text); margin-bottom: 8px; }
.h-field input, .h-field select {
  width: 100%; min-height: 48px; padding: 0 14px; border-radius: 2px;
  background: var(--mz-navy-2); border: 1px solid var(--mz-line-strong); color: var(--mz-text);
  font: 400 16px/1.2 var(--font-ui);
}
.h-field input::placeholder { color: var(--mz-text-3); }
.h-field input:focus, .h-field select:focus { outline: 2px solid var(--mz-gold-light); outline-offset: 1px; border-color: var(--mz-gold); }
.h-field--error input { border-color: var(--mz-terracotta); }
.h-error { font-size: 14px; color: #e0826a; margin: 8px 0 0; min-height: 0; }
.h-error:empty { display: none; }
.h-form .h-btn { justify-self: start; margin-top: 4px; }
.h-form .h-btn[disabled] { opacity: 0.7; cursor: progress; }
.h-fine { font-size: 14px; line-height: 1.6; color: var(--mz-text-3); margin: 0; }
.h-success { border: 1px solid var(--mz-line-strong); border-radius: 4px; padding: 28px; }
.h-success h3 { font: 400 26px/1.2 var(--font-display); color: var(--mz-gold-light); margin: 0 0 8px; }
.h-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.h-risk { margin-top: 56px; padding-top: 20px; border-top: 1px solid var(--mz-line); font-size: 14px; line-height: 1.6; color: var(--mz-text-3); max-width: 60em; }

/* responsive */
@media (max-width: 1020px) {
  .h-hero__grid, .h-tool, .h-wait { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .h-hero .h-shot, .h-hero .h-film { margin-right: 0; }
  .h-tool--flip .h-tool__copy { order: 0; }
  .h-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .h-path { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .h-path .h-station:last-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .h-wrap { padding: 0 20px; }
  .h-hero { padding: calc(var(--mz-header-h) + 40px) 0 64px; }
  .h-section { padding: 72px 0; }
  .h-problems, .h-steps { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .h-tool + .h-tool { margin-top: 72px; }
  .h-path { grid-template-columns: minmax(0, 1fr); }
  .h-lead { font-size: 18px; }
}

/* 2026-09-27: hero film (silent loop + full film in a dialog) */
.h-film { position: relative; margin: 0 -48px 0 0; aspect-ratio: 16 / 9; border: 1px solid var(--mz-line-strong); border-radius: 4px; overflow: hidden; background: #0b0f1c; }
.h-film__loop { display: block; width: 100%; height: 100%; object-fit: cover; }
.h-film__play { position: absolute; left: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border: 1px solid rgba(201, 169, 97, 0.55); border-radius: 999px; background: rgba(9, 12, 24, 0.74); color: #f4f1ea; font: 500 14px/1 var(--font-ui); letter-spacing: 0.02em; cursor: pointer; backdrop-filter: blur(4px); transition: border-color 0.2s, background-color 0.2s; }
.h-film__play:hover { border-color: #c9a961; background: rgba(9, 12, 24, 0.9); }
.h-film__play:focus-visible, .h-film__close:focus-visible { outline: 2px solid #c9a961; outline-offset: 3px; }
.h-film__icon { position: relative; width: 28px; height: 28px; border-radius: 50%; background: #c9a961; }
.h-film__icon::after { content: ""; position: absolute; left: 11px; top: 8px; border-left: 9px solid #0b0e1a; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.h-film__meta { color: var(--mz-text-3); font-weight: 400; }
.h-film__dlg { width: min(1200px, 94vw); max-width: none; padding: 0; border: 0; background: transparent; overflow: visible; }
.h-film__dlg::backdrop { background: rgba(5, 7, 14, 0.9); }
.h-film__dlg video { display: block; width: 100%; height: auto; border-radius: 4px; background: #000; }
.h-film__close { position: absolute; right: 0; top: -48px; width: 38px; height: 38px; border: 1px solid var(--mz-line-strong); border-radius: 50%; background: rgba(9, 12, 24, 0.85); color: #f4f1ea; font: 300 24px/1 var(--font-ui); cursor: pointer; }
@media (max-width: 560px) { .h-film__play { left: 10px; bottom: 10px; font-size: 13px; } .h-film__meta { display: none; } }
