/* Home page */

.hm-hero {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 56px; align-items: center;
  padding-top: 72px; padding-bottom: 80px;
}
.hm-hero .display { font-size: clamp(38px, 4.6vw, 60px); }

/* Hero product screen (inside .video-frame) */
.hm-screen { display: flex; flex-direction: column; }
.hm-screen-bar {
  display: flex; align-items: center; gap: 10px; padding: 12px 16px; background: #fff; border-bottom: 1px solid var(--o1-line);
  font-family: var(--font-o1-display); font-size: 14px; font-weight: 600; color: var(--o1-navy);
}
.hm-screen-bar img { width: 22px; height: auto; }
.hm-mono { margin-left: auto; font-family: var(--font-mono); font-size: 11px; font-weight: 500; color: var(--o1-muted); }
.hm-screen-body { flex: 1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: auto 1fr; gap: 10px; padding: 14px; }
.hm-kpi { background: #fff; border-radius: 12px; padding: 12px; display: flex; flex-direction: column; gap: 2px; }
.hm-kpi span { font-size: 11px; color: var(--o1-muted); }
.hm-kpi b { font-family: var(--font-mono); font-weight: 500; font-size: clamp(16px, 1.8vw, 22px); color: var(--o1-navy); }
.hm-kpi-blue { background: var(--o1-blue); }
.hm-kpi-blue span { color: var(--blue-pale); }
.hm-kpi-blue b { color: #fff; }
.hm-bars { grid-column: span 3; background: #fff; border-radius: 12px; padding: 12px; display: flex; align-items: flex-end; gap: 8px; min-height: 80px; }
.hm-bars i { flex: 1; background: #C9D6F5; border-radius: 4px 4px 0 0; }
.hm-bars i.on { background: var(--o1-blue); }

/* Trust strip */
.hm-trust { display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; padding-top: 28px; padding-bottom: 28px; }
.hm-trust > span { font-size: 14px; font-weight: 600; color: var(--text-3); }
.hm-logos { display: flex; gap: 14px; flex-wrap: wrap; }

/* Software plus people */
.hm-offers { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 24px; align-items: stretch; }
.hm-o1 {
  display: flex; flex-direction: column; gap: 18px; padding: 32px; border-radius: var(--radius-lg);
  background: var(--o1-navy); color: #fff; text-decoration: none; transition: transform .15s, box-shadow .15s;
}
.hm-o1:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 16px 40px rgba(14,31,69,0.3); }
.hm-o1 img { width: 200px; height: auto; }
.hm-o1-title { font-family: var(--font-o1-display); font-size: 26px; line-height: 1.25; font-weight: 600; }
.hm-o1-desc { font-size: 16px; color: var(--o1-on-deep-muted); }
.hm-o1-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.hm-o1-foot .big-num { font-size: 24px; }
.hm-o1-foot small { font-family: var(--font-body); font-size: 14px; font-weight: 600; color: var(--o1-on-deep-muted); }
.hm-o1-more { font-weight: 600; }
.hm-services { display: flex; flex-direction: column; gap: 14px; }
.hm-svc {
  display: flex; align-items: center; gap: 16px; padding: 22px 24px; border-radius: 18px; border: 1px solid var(--line);
  color: var(--ink); text-decoration: none; flex: 1; transition: border-color .15s, box-shadow .15s;
}
.hm-svc:hover { color: var(--ink); border-color: var(--line-2); box-shadow: 0 10px 28px rgba(18,18,18,0.07); }
.hm-svc .icon-tile { width: 48px; height: 48px; }
.hm-svc .icon-tile svg { width: 24px; height: 24px; }
.hm-svc-text { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.hm-svc-text strong { font-size: 19px; }
.hm-svc-text span { font-size: 15px; color: var(--text-3); }
.hm-svc-price { white-space: nowrap; font-size: 17px; }

/* Product tour */
.hm-tour-section { padding-top: 24px; }
.hm-tabs { display: flex; gap: 8px; flex-wrap: wrap; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.hm-tabs [role="tab"] {
  min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-2);
  background: #fff; color: var(--ink); font-size: 15px; font-weight: 600; cursor: pointer;
}
.hm-tabs [role="tab"][aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.hm-tour { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr); gap: 40px; align-items: center; }
.hm-tour[hidden] { display: none; }
.hm-tour .h3 { font-size: clamp(24px, 2.4vw, 30px); }
.hm-clip {
  aspect-ratio: 16 / 10; border-radius: 20px; background: var(--o1-surface-alt); border: 1px solid var(--o1-line);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; text-align: center; padding: 24px;
}
.hm-clip-play { width: 64px; height: 64px; border-radius: 999px; background: var(--o1-blue); color: #fff; display: flex; align-items: center; justify-content: center; }
.hm-clip-play svg { width: 24px; height: 24px; margin-left: 3px; }
.hm-clip strong { font-family: var(--font-o1-display); font-size: 18px; font-weight: 600; color: var(--o1-navy); }
.hm-clip span:last-child { font-size: 13px; color: var(--o1-muted); }

/* Proof */
.hm-proof-title { max-width: 760px; }
.hm-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.hm-stats > div { display: flex; flex-direction: column; gap: 6px; padding-top: 16px; border-top: 2px solid rgba(255,255,255,0.4); }
.hm-stats .big-num { font-size: clamp(32px, 3.4vw, 48px); }
.hm-stats span:last-child { color: var(--blue-pale); }
.hm-quote { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 20px; align-items: start; background: rgba(255,255,255,0.08); border-radius: 20px; padding: 28px; }
.hm-quote-photo { width: 72px; height: 72px; border-radius: 999px; background: var(--blue-pale); }
.hm-quote blockquote { margin: 0; font-size: clamp(18px, 1.7vw, 22px); line-height: 1.45; }
.hm-quote figcaption { color: var(--blue-pale); font-size: 15px; }

/* How it works */
.hm-steps > div { display: flex; flex-direction: column; gap: 12px; }
.hm-step-bar { height: 6px; border-radius: 999px; }
.hm-step-bar.blue { background: var(--blue); }
.hm-step-bar.orange { background: var(--orange); }
.hm-step-bar.brown { background: var(--brown); }

/* Blog */
.hm-post { display: flex; flex-direction: column; gap: 12px; color: var(--ink); text-decoration: none; background: #fff; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); transition: box-shadow .15s, transform .15s; }
.hm-post:hover { color: var(--ink); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(18,18,18,0.08); }
.hm-post-img { aspect-ratio: 16 / 9; background: #E9DED0; }
.hm-post-img.orange { background: #F6E3D2; }
.hm-post-img.blue { background: #DDE6FA; }
.hm-post-body { padding: 0 20px 22px; display: flex; flex-direction: column; gap: 8px; }
.hm-post-body strong { font-size: 20px; line-height: 1.3; }
.hm-post-cat { font-size: 13px; font-weight: 700; color: var(--orange-text); }

/* Demo CTA */
.hm-demo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 56px; align-items: center; padding-top: 88px; padding-bottom: 88px; }
.hm-demo-lead { color: var(--on-dark-2); font-size: 18px; }
.hm-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; background: #fff; color: var(--ink); border-radius: 20px; padding: 28px; }
.hm-form-full { grid-column: 1 / -1; }
.hm-form .btn { width: 100%; }

@media (max-width: 900px) {
  .hm-hero, .hm-offers, .hm-tour, .hm-demo { grid-template-columns: 1fr; gap: 32px; }
  .hm-stats { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .hm-hero { padding-top: 32px; padding-bottom: 40px; }
  .hm-logos { flex-wrap: nowrap; overflow-x: auto; margin-right: calc(var(--gutter) * -1); padding-right: var(--gutter); }
  .hm-logos .logo-ph { flex: 0 0 auto; }
  .hm-o1 { padding: 22px 20px; gap: 12px; }
  .hm-o1 img { width: 160px; }
  .hm-o1-title { font-size: 20px; }
  .hm-svc { padding: 18px; gap: 12px; }
  .hm-svc-text span { display: none; }
  .hm-tabs { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 12px; }
  .hm-tabs [role="tab"] { flex: 0 0 auto; }
  .hm-quote { grid-template-columns: 1fr; padding: 22px; }
  .hm-demo { padding-top: 48px; padding-bottom: 48px; }
  .hm-form { grid-template-columns: 1fr; padding: 20px; }
}
@media (max-width: 480px) { .hm-stats { grid-template-columns: 1fr; } }

/* Product screens drawn from the MOMOYO OutletOne system (hero loop + tour tabs).
   Scene parts (.sc-*) come from /assets/css/pages/outletone.css; .oo-root supplies the Outlet One tokens. */
.hm-screen .o1-live .live-scene { padding: 16px 16px 44px; }
.hm-shot {
  aspect-ratio: 16 / 10; border-radius: 20px; background: var(--surface-alt); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; padding: 20px; overflow: hidden;
}
.hm-shot .sc-app, .hm-shot .sc-chat { max-height: 100%; }
.hm-shot-bars { height: 44px; }
@media (max-width: 720px) {
  .hm-screen .o1-live .live-scene { padding: 10px 10px 40px; }
  .hm-shot { padding: 12px; border-radius: 14px; }
}

/* Home hero: the app window stage needs room for its floating cards */
.hm-hero .hm-stage { margin: 24px 0 36px; }
