@charset "UTF-8";

/* Public home only: responsive media, existing upload and account flows unchanged. */
.page-site .mh { overflow-x: clip; }
.page-site .mh :is(.mh-hero-copy, .mh-hero-media, .mh-gallery, .mh-tutorial-card) { min-width: 0; }
.page-site .mh img { object-fit: contain; }
.page-site .mh-tutorial-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 9px; margin: -9px 0 25px; }
.page-site .mh-tutorial-links a { display: inline-flex; align-items: center; justify-content: center; min-height: 43px; padding: 8px 14px; border: 1px solid #494332; border-radius: 9px; background: #1d1c18; color: #e5d39b; font-size: .875rem; font-weight: 650; text-decoration: none; }
.page-site .mh-tutorial-links a:hover { border-color: var(--mh-gold); color: #fff; }
.page-site .mh-tutorial-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.page-site .mh-tutorial-card { overflow: hidden; border: 1px solid var(--mh-line); border-radius: 16px; background: var(--mh-card); }
.page-site .mh-tutorial-media { position: relative; background: #08090b; aspect-ratio: 16 / 9; }
.page-site .mh-tutorial-media video { display: block; width: 100%; height: 100%; max-width: 100%; aspect-ratio: 16 / 9; object-fit: contain; background: #08090b; }
.page-site .mh-tutorial-copy { padding: 20px 22px 23px; }
.page-site .mh-tutorial-meta { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 10px; font-size: .8125rem; line-height: 1.5; color: #c6b16f; }
.page-site .mh-tutorial-meta span:last-child { color: #a6abb5; white-space: nowrap; }
.page-site .mh-tutorial-card h3 { font-size: 1.35rem; line-height: 1.25; }
.page-site .mh-tutorial-card p { margin-top: 9px; font-size: 1rem; line-height: 1.65; }
.page-site .mh-tutorial-card:target { border-color: #c6a35b; box-shadow: 0 0 0 2px #d0ab4417; }
.page-site .mh-tutorials .mh-note { margin-top: 18px; }
.page-site .mh :is(a, button, summary, video):focus-visible { outline: 2px solid #ffda00; outline-offset: 4px; }

@media (max-width: 700px) {
    .page-site .mh-hero { padding-top: 32px; }
    .page-site .mh-hero-grid { gap: 22px; }
    .page-site .mh-hero-media { width: 100%; padding-top: 10px; padding-right: 12%; }
    .page-site .mh-hero-phone { width: clamp(82px, 25vw, 110px); }
    .page-site .mh-hero-media figcaption { font-size: .8125rem; line-height: 1.6; }
    .page-site .mh-facts { grid-template-columns: 1fr; }
    .page-site .mh-facts div { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 15px 17px; text-align: left; }
    .page-site .mh-facts div + div { border-left: 0; border-top: 1px solid var(--mh-line); }
    .page-site .mh-facts dt { font-size: 1rem; white-space: nowrap; }
    .page-site .mh-facts dd { margin: 0; font-size: .8125rem; line-height: 1.5; max-width: 155px; text-align: right; }
    .page-site .mh-tutorial-links { gap: 8px; margin-bottom: 20px; }
    .page-site .mh-tutorial-links a { flex: 1 1 calc(50% - 8px); padding: 9px 10px; font-size: .875rem; }
    .page-site .mh-tutorial-grid { grid-template-columns: 1fr; gap: 18px; }
    .page-site .mh-tutorial-card { border-radius: 13px; }
    .page-site .mh-tutorial-copy { padding: 17px 17px 20px; }
    .page-site .mh-tutorial-card h3 { font-size: 1.25rem; }
    .page-site .mh-tutorial-meta { font-size: .8125rem; gap: 8px; }
    .page-site .mh-tutorial-card p { font-size: 1rem; line-height: 1.6; }
    .page-site .mh-gallery-tabs { flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x proximity; padding: 3px 3px 10px; margin-left: -3px; margin-right: -3px; }
    .page-site .mh-tab { flex: none; scroll-snap-align: start; min-height: 43px; font-size: .875rem; }
    .page-site .mh-gallery-panel figcaption { font-size: .875rem; line-height: 1.6; }
    .page-site .mh-showcase-copy p { font-size: 1rem; }
    .page-site .mh-device-grid { grid-template-columns: 1fr; }
    .page-site .mh-device { padding: 20px; }
    .page-site .mh-device h3 { font-size: 1.25rem; }
    .page-site .mh-device p, .page-site .mh-steps p, .page-site .mh-setup ol { font-size: 1rem; }
    .page-site .mh-end-cta .mh-button { width: 100%; }
}

@media (max-width: 375px) {
    .page-site .mh-wrap { width: calc(100% - 28px); }
    .page-site .mh-actions { display: grid; grid-template-columns: 1fr; }
    .page-site .mh-actions .mh-button { width: 100%; }
    .page-site .mh-facts div { gap: 10px; padding: 14px; }
    .page-site .mh-facts dt { font-size: .9375rem; }
    .page-site .mh-tutorial-meta { font-size: .75rem; }
    .page-site .mh-tutorial-links a { font-size: .8125rem; }
}
