/* Hot Metal Math site styles (layout/visuals). Palette + fonts per brand. */
:root{--coal:#0C0C10;--anvil:#1A1C21;--steel:#2A2D34;--ash:#8A8F99;--bone:#F2EEE6;--flame:#FF5A0A;--ember:#FFA028;--grad:linear-gradient(90deg,var(--flame),var(--ember))}
*{box-sizing:border-box;margin:0;padding:0}
body{background:var(--coal);color:var(--bone);font-family:'Barlow Semi Condensed',sans-serif;font-size:18px;line-height:1.55}
h1,h2,h3,.btn,.hmm-badge{font-family:'Oswald',sans-serif;text-transform:uppercase;letter-spacing:.05em}
.mono,code{font-family:'Geist Mono',monospace}
a{color:var(--ember)} img{max-width:100%;height:auto;display:block}
.wrap{max-width:1120px;margin:0 auto;padding:0 24px}
section{padding:64px 0;border-bottom:1px solid var(--steel)}
h2{font-size:clamp(26px,4vw,36px);margin-bottom:20px}
h2:after{content:'';display:block;width:56px;height:3px;margin-top:10px;background:var(--grad)}
h3{font-size:20px;color:var(--ember);margin-bottom:8px}
p{margin-bottom:14px}.muted{color:var(--ash)}
/* Hero */
.hmm-hero{padding:56px 0 64px;text-align:center;background:radial-gradient(ellipse at 50% 110%,#FF5A0A55,transparent 65%),linear-gradient(180deg,var(--coal),#1a0d06)}
.hmm-hero__banner{width:100%;max-width:1024px;margin:0 auto 32px;border-radius:14px;border:1px solid var(--steel);box-shadow:0 20px 60px #0008}
.hmm-hero__icon{width:96px;height:96px;margin:0 auto 16px;border-radius:22px;box-shadow:0 0 48px #FF5A0A66}
.hmm-hero h1{font-size:clamp(40px,7vw,68px);line-height:1.05;background:linear-gradient(90deg,var(--flame),var(--ember));-webkit-background-clip:text;background-clip:text;color:transparent}
.hmm-hero .tagline{max-width:640px;margin:12px auto 28px;font-size:20px}
/* Store buttons: no links yet; "Coming soon" text is in the HTML */
.hmm-stores{display:flex;gap:14px;justify-content:center;flex-wrap:wrap}
.btn{display:inline-block;padding:12px 26px;border-radius:6px;font-weight:600;text-decoration:none;background:var(--grad);color:var(--coal)}
.btn--soon{background:var(--anvil);color:var(--ash);border:1px dashed var(--ash);pointer-events:none;cursor:default}
/* What it is / value pitch */
.hmm-what .wrap{max-width:820px}.hmm-what p{font-size:20px}
/* Features (Free / Pro) */
.hmm-features__grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:24px}
.hmm-tier{background:var(--anvil);border:1px solid var(--steel);border-radius:12px;padding:26px}
.hmm-tier--pro{border-top:3px solid var(--flame)}
.hmm-tier ul{list-style:none}.hmm-tier li{padding:8px 0 8px 26px;position:relative;border-bottom:1px solid var(--steel)}
.hmm-tier li:last-child{border-bottom:0}
.hmm-tier li:before{content:'';position:absolute;left:0;top:17px;width:12px;height:3px;background:var(--grad)}
.hmm-badge{display:inline-block;font-size:13px;padding:2px 10px;border-radius:4px;background:var(--steel);color:var(--bone);margin-bottom:10px}
.hmm-tier--pro .hmm-badge{background:var(--grad);color:var(--coal)}
.hmm-price{font-family:'Geist Mono',monospace;color:var(--ember);font-size:22px}
/* Where the numbers come from */
.hmm-sources{background:var(--anvil)}.hmm-sources .wrap{max-width:820px}
.hmm-sources blockquote,.hmm-sources .note{border-left:3px solid var(--flame);padding:8px 16px;color:var(--ash);font-family:'Geist Mono',monospace;font-size:15px}
/* Why Pro */
.hmm-why .wrap{max-width:820px}.hmm-why ul{padding-left:20px}.hmm-why li{margin:6px 0}
/* Screenshot strip */
.hmm-strip{list-style:none;display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.hmm-strip figure{background:var(--anvil);border:1px solid var(--steel);border-radius:22px;padding:8px;text-align:center}
.hmm-strip img{border-radius:16px;aspect-ratio:9/20;object-fit:cover;width:100%}
.hmm-strip figcaption{font-family:'Oswald',sans-serif;text-transform:uppercase;letter-spacing:.06em;font-size:14px;color:var(--ash);padding:10px 4px 4px}
@media(max-width:900px){.hmm-strip{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:72%;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:12px;margin:0 -24px;padding-left:24px;padding-right:24px}.hmm-strip li{scroll-snap-align:center}}
/* Footer */
.site-footer{text-align:center;padding:28px 12px 36px;font-size:14px;color:var(--ash)}.site-footer a{color:inherit}
.site-footer .support-line,.site-footer .legal,.site-footer .fine{margin:8px 0 0}
.site-footer .legal{margin-top:10px}

@media(max-width:640px){body{font-size:17px}section{padding:44px 0}.hmm-hero{padding:32px 0 44px}}
/* v2 fixes */
html,body{overflow-x:hidden;max-width:100%}
@supports (overflow:clip){html,body{overflow-x:clip}}
.hmm-hero__banner{max-width:640px;border:0;box-shadow:none;margin-bottom:8px;-webkit-mask-image:radial-gradient(ellipse 70% 75% at 50% 50%,#000 60%,transparent 100%);mask-image:radial-gradient(ellipse 70% 75% at 50% 50%,#000 60%,transparent 100%)}
.btn--soon{font-size:16px;padding:12px 22px;border-style:solid;border-color:var(--steel)}
pre,table{max-width:100%;overflow-x:auto}
@media(max-width:900px){
 .hmm-shots .wrap{overflow:visible}
 .hmm-strip{grid-auto-columns:72%;gap:14px;margin:0 -24px;padding:0 24px 14px;scroll-padding:0 24px;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;scrollbar-width:thin;scrollbar-color:var(--flame) var(--anvil)}
 .hmm-strip li{scroll-snap-align:start}
 .hmm-shots h2+.hmm-strip:before{content:none}
 .hmm-shots .wrap:after{content:'Swipe →';display:block;margin-top:6px;text-align:right;font-family:'Geist Mono',monospace;font-size:13px;color:var(--ash)}
}
.hmm-store-badge{display:inline-block;line-height:0}.hmm-store-badge img{height:52px;width:auto;display:block}

/* Cross-link to Weld Metal Math (and site home) on the HMM page */
.hmm-top{padding:14px 0 0;font-size:15px}
.hmm-top a{text-decoration:none}.hmm-top a:hover{text-decoration:underline}
.hmm-hero .hmm-top{text-align:left;margin-bottom:28px}
