/* ThermoMom 2026 — quiet, warm, accessible design system */
:root{--bg:#f8f8f6;--card:#fff;--ink:#202338;--muted:#737789;--line:#ebe9e5;--blue:#e85b30;--blue-soft:#fff1ea;--heat:#eb6335;--heat-soft:#fff5ee;--heat-glow:#ffe4d5;--heat-ink:#784830;--cool:#357bb8;--cool-soft:#eef7fd;--cool-glow:#dbeaf9;--cool-ink:#355e7b;--green:#287d65;--purple:#8779aa;--purple-soft:#f3eefb;--radius:24px;--shadow:0 8px 32px rgba(34,30,28,.035)}
body{background:var(--bg);font-size:16px;line-height:1.55;letter-spacing:-.012em}a{color:#bb4a29}h1,h2,h3{letter-spacing:-.045em}.muted,.label{color:var(--muted)}
.app{width:min(100%,720px);max-width:720px;padding:30px 24px 126px;gap:18px}.topbar{margin:2px 0 8px}.hello small{font-size:14px;letter-spacing:.01em;color:#888b98}.hello strong{display:block;font-size:35px;line-height:1.22;letter-spacing:-.055em;font-weight:800}.avatar{width:48px;height:48px;background:#ee6b3b;box-shadow:none;font-size:19px}.card{border:1px solid rgba(32,35,56,.035);border-radius:24px;padding:22px 24px;box-shadow:var(--shadow)}.row{gap:16px}.icon-tile{width:46px;height:46px;border-radius:15px}.icon-tile.blue{background:#fff1e9;color:#e85b30}.icon-tile.purple{background:#f5f0fc;color:#8a74b6}.label{font-size:13px;font-weight:600}.value{font-size:17px;font-weight:750;letter-spacing:-.025em}.big-temp{font-size:25px;letter-spacing:-.055em}.weather-card{min-height:100px}.weather-card .weather-reading{display:flex;align-items:center;gap:9px}.weather-card .weather-details{font-size:12px}.weather-card .weather-label{display:block;font-size:12px;margin-bottom:2px}
.hero{padding:26px 28px 24px;border-radius:30px;gap:0;border:1px solid rgba(232,91,48,.055)}.hero.heat{background:linear-gradient(150deg,#fff9f5 0%,#fff2e9 100%);--accent:#e95e30;--glow:#ffe7d9;--hero-ink:#7c4d35;--track:#f9e4d7}.hero.cool{background:linear-gradient(140deg,#f7fcff,#eaf5ff)}.hero.auto{background:linear-gradient(140deg,#f8fdfa,#eaf8ef)}.hero.off{background:linear-gradient(140deg,#fafafa,#f2f2f5)}.hero-head{align-items:flex-start}.hero-head .label{color:var(--muted);font-weight:650;font-size:14px}.hero-heading{font-size:22px;font-weight:800;line-height:1.25;letter-spacing:-.05em;margin-top:4px}.mode-pill{font-size:12px;letter-spacing:.025em;padding:8px 12px;font-weight:800;white-space:nowrap}.dial{margin:12px 0 4px;width:240px;height:240px}.dial svg{width:240px;height:240px;transform:rotate(135deg)}.dial .glow{width:165px;height:165px;background:var(--glow);opacity:.72}.dial .num strong{font-size:75px;letter-spacing:-.085em}.dial .num span{font-size:13px;font-weight:650}.dial .num strong.word{font-size:51px}.reason{font-size:15px;max-width:390px;font-weight:600;line-height:1.6;margin:0 auto 19px;color:var(--hero-ink)}.alts{gap:10px}.alts div{background:#ffffffcf;border:1px solid #ffffffc9;padding:13px 16px;border-radius:17px}.alts span{font-size:12px;font-weight:650}.alts b{font-size:19px;letter-spacing:-.045em}.hero-disclaimer{font-size:11px;color:var(--muted);text-align:center;margin:15px 0 0}
.next-card{min-height:100px}.next-card .value{font-size:17px!important}.section-kicker{font-size:14px;font-weight:800;letter-spacing:-.025em;margin:5px 0 0}.feel-grid{gap:10px}.feel{border:1px solid var(--line);border-radius:15px;box-shadow:none;min-height:55px;font-size:13px;font-weight:750;background:#fff}.feel:hover{transform:translateY(-1px)}.feel:focus-visible{outline:3px solid #f9bb9e;outline-offset:2px}
.tabbar{bottom:max(16px,env(safe-area-inset-bottom));max-width:520px;width:calc(100% - 32px);background:#22243a;border-radius:22px;box-shadow:0 9px 30px rgba(32,35,56,.14);padding:7px}.tabbar a{min-height:51px;border-radius:16px;color:#c9c9d4;font-size:13px;font-weight:700}.tabbar a.active{color:#22243a}.tabbar svg{width:19px;height:19px}.page-title{font-size:33px;letter-spacing:-.055em;margin:5px 0}.btn{background:#e95e31;font-size:15px;min-height:52px;border-radius:14px;font-weight:750}.btn:hover{box-shadow:0 7px 17px rgba(232,91,48,.16)}.btn.ghost{background:#fff;color:var(--ink);border:1px solid var(--line)}.btn.small{font-size:14px;min-height:44px}.field label,.field .label{font-size:14px;font-weight:750}input[type=text],input[type=time],input[type=date],input[type=search],select{min-height:52px;border:1px solid #e5e5e8;font-size:15px;border-radius:13px;background:#fff}.tab{min-height:49px;border:1px solid var(--line);border-radius:14px;font-size:14px}.tab.active{background:#25263d;border-color:#25263d}.tabs{background:#efefef;border-radius:17px;padding:5px;gap:5px}.slot{grid-template-columns:minmax(0,1fr) minmax(135px,175px);padding:4px 0}.slot .label{font-size:14px;font-weight:750}.check{font-size:14px}.check input{width:21px;height:21px;accent-color:#e95e31}.flash{font-size:14px}.choice{border-width:1px}.choice:has(input:checked){border-color:#e95e31}.choice:has(input:checked) .dot{border-color:#e95e31}.progress div{background:#e95e31}
/* Make supporting public pages feel like the same product without changing content */
.mk-head{background:#fff9}.mk-head .brand,.brand{letter-spacing:-.055em}.mk-section.alt{background:#fcfbfa}.mk-panel,.mk-card,.mk-step,.mk-stat{border:1px solid var(--line);box-shadow:var(--shadow)}.mk-seg button[aria-pressed=true]{color:#d95029}.mk-band{background:#23263c}.g-takeaways{background:#fff3ea}
@media(min-width:850px){.app{padding-top:48px}.hero{padding:30px 34px 28px}.topbar{margin-bottom:16px}.weather-card{min-height:106px}.reason{font-size:16px}}
@media(max-width:480px){.app{padding:24px 17px 125px;gap:14px}.hello strong{font-size:30px}.card{padding:17px 18px;border-radius:21px}.weather-card{padding:16px}.weather-card .icon-tile{width:41px;height:41px}.weather-card .value{font-size:14px}.weather-card .big-temp{font-size:23px}.weather-card .weather-reading{gap:5px}.weather-card .weather-reading svg{width:27px;height:27px}.hero{padding:22px 18px 18px;border-radius:26px}.hero-heading{font-size:19px}.hero-head .label{font-size:12px}.mode-pill{font-size:11px;padding:7px 10px}.dial{margin:8px 0 0;width:218px;height:218px}.dial svg{width:218px;height:218px}.dial .glow{width:148px;height:148px}.dial .num strong{font-size:68px}.reason{font-size:14px;margin-bottom:16px}.alts div{padding:11px 12px}.alts b{font-size:18px}.feel{font-size:12px;min-height:53px}.tabbar{width:calc(100% - 28px)}}
@media(max-width:355px){.weather-card .icon-tile{display:none}.weather-card .value{font-size:12px}.hero-heading{font-size:17px}.slot{grid-template-columns:1fr}.feel-grid{gap:5px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}

/* Homepage weather explorer — responsive, obvious and touch friendly */
.mk-demo{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;align-items:stretch}
.mk-demo .mk-panel,.mk-demo .mk-result{border:1px solid #eee8e2;border-radius:28px;padding:clamp(22px,3vw,36px);box-shadow:0 14px 42px rgba(36,35,50,.045)}
.mk-demo .mk-panel{gap:28px;justify-content:center}
.demo-weather-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.mk-panel .demo-weather-head .field-label{font-size:16px;color:#43465b;font-weight:700}
.demo-weather-current{display:flex;align-items:center;gap:9px}
#demo-weather-icon{font-size:26px;line-height:1}
.mk-panel #demo-temp-out{font-size:clamp(26px,3vw,36px);font-weight:850;letter-spacing:-.055em;line-height:1.15;color:#202338}
.demo-weather-description{margin:0 0 16px;color:#747687;font-size:15px}
.demo-slider-wrap{padding:8px 1px 0}
.mk-demo .mk-range{display:block;width:100%;height:13px;margin:0;border:0;border-radius:30px;cursor:pointer;touch-action:pan-y;background:linear-gradient(90deg,#78b7e8 0%,#b7daf1 28%,#e6e7e3 50%,#f8b47f 72%,#ef784b 100%);accent-color:#e85b30}
.mk-demo .mk-range::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:36px;height:36px;background:#fff;border:5px solid #e85b30;border-radius:50%;box-shadow:0 3px 14px rgba(41,33,31,.18);cursor:grab;transition:transform .15s ease}
.mk-demo .mk-range::-moz-range-thumb{width:27px;height:27px;background:#fff;border:5px solid #e85b30;border-radius:50%;box-shadow:0 3px 14px rgba(41,33,31,.18);cursor:grab}
.mk-demo .mk-range:active::-webkit-slider-thumb{cursor:grabbing;transform:scale(1.08)}
.mk-demo .mk-range:focus-visible{outline:3px solid rgba(232,91,48,.35);outline-offset:13px}
.demo-range-labels{display:flex;justify-content:space-between;gap:10px;margin-top:24px;color:#75788a;font-size:13px;font-weight:650}
.demo-slider-hint{margin:12px 0 0!important;font-size:13px;color:#858799}
.mk-demo .mk-result{background:#fff4ec}
@media(max-width:720px){.mk-demo{grid-template-columns:minmax(0,1fr)}.mk-demo .mk-panel,.mk-demo .mk-result{padding:24px}.mk-demo .mk-range::-webkit-slider-thumb{width:38px;height:38px}}
@media(prefers-reduced-motion:reduce){.mk-demo .mk-range::-webkit-slider-thumb{transition:none}}

/* Gauge collision fix — leave safe space inside the arc for decimal temperatures. */
.mk-result .dial{width:230px;height:230px;flex:none;max-width:100%}
.mk-result .dial svg{width:100%;height:100%}
.mk-result .dial .num{width:174px;max-width:calc(100% - 54px);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;min-width:0;transform:translateY(-5px)}
.mk-result .dial .num .mode-pill{display:inline-flex;align-items:center;justify-content:center;flex:none;margin:0!important;font-size:12px;line-height:1.2}
.mk-result .dial .num strong,
.mk-result .dial .num strong.word{display:block;width:100%;font-size:clamp(40px,4vw,49px);font-weight:800;line-height:1.1;letter-spacing:-.055em;white-space:nowrap;font-variant-numeric:tabular-nums;text-align:center}
/* The signed-in recommendation shares the same dial component. */
.hero .dial .num{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;width:180px;max-width:calc(100% - 52px);min-width:0}
.hero .dial .num strong{font-size:clamp(49px,6vw,60px);letter-spacing:-.055em;white-space:nowrap;font-variant-numeric:tabular-nums}
.hero .dial .num strong.word{font-size:48px}
.dial .num strong.temp-readout{display:flex;align-items:flex-start;justify-content:center;gap:.02em;white-space:nowrap}
.dial .num .temp-value{display:inline-block;font-size:inherit;line-height:inherit;color:inherit;font-weight:inherit;letter-spacing:inherit}
.dial .num .temp-degree{display:inline-block;font-size:.44em;line-height:1;color:inherit;font-weight:inherit;letter-spacing:0;transform:translateY(-0.12em);margin-left:.02em}
.hero .dial .num strong.temp-readout{font-size:clamp(49px,6vw,60px)}
.mk-result .dial .num strong.temp-readout{display:flex;justify-content:center;align-items:flex-start;width:auto;font-size:clamp(40px,4vw,49px)}
@media(max-width:480px){
  .mk-result .dial .num strong,.mk-result .dial .num strong.word{font-size:46px}
  .hero .dial .num strong{font-size:54px}
  .hero .dial .num strong.word{font-size:44px}
}

/* ThermoMom editorial blog */
.tm-blog{color:#11152c}.tm-blog-hero{padding:85px 0 65px;max-width:770px}.tm-blog-hero h1{font-size:clamp(40px,6vw,70px);line-height:1.08;letter-spacing:-.045em;margin:18px 0}.tm-blog-hero h1 span{color:#ea5c2a}.tm-blog-hero p{color:#677086;font-size:clamp(17px,2vw,20px);line-height:1.65;max-width:610px}.tm-blog-list{padding-bottom:65px}.tm-blog-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:22px}.tm-blog-heading h2{font-size:clamp(26px,3vw,34px);letter-spacing:-.035em;margin:0}.tm-blog-heading span{color:#7b8295;font-size:14px}.tm-blog-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.tm-blog-card{display:flex;flex-direction:column;text-decoration:none;color:inherit!important;background:#fff;border:1px solid #edf0f3;border-radius:24px;overflow:hidden;transition:transform .2s,box-shadow .2s}.tm-blog-card:hover{transform:translateY(-4px);box-shadow:0 14px 36px #14182f12}.tm-blog-cover{height:148px;background:linear-gradient(135deg,#fff4eb,#fee3d5);display:grid;place-items:center;color:#e95b2c}.tm-blog-card:nth-child(3n+2) .tm-blog-cover{background:linear-gradient(135deg,#eaf3fc,#dceaff);color:#287bc5}.tm-blog-card:nth-child(3n+3) .tm-blog-cover{background:linear-gradient(135deg,#eef7eb,#e0eedb);color:#52945c}.tm-blog-cover>span{width:70px;height:70px;background:#ffffffaa;border-radius:22px;display:grid;place-items:center}.tm-blog-cover svg{width:40px;height:40px}.tm-blog-card-body{padding:24px;display:flex;flex:1;flex-direction:column;gap:12px}.tm-blog-card-body small{font-size:11px;font-weight:800;letter-spacing:.09em;color:#da653f}.tm-blog-card-body h3{font-size:21px;line-height:1.25;letter-spacing:-.025em;margin:0}.tm-blog-card-body p{line-height:1.55;color:#697083;margin:0;flex:1;font-size:14px}.tm-blog-link{font-size:14px;font-weight:800;color:#e85b2b;margin-top:5px}.tm-blog-cta{padding:40px;border-radius:28px;background:#fff4ed;margin-bottom:75px}.tm-blog-cta h2{font-size:28px;margin:0 0 8px}.tm-blog-cta p{color:#677086;margin-bottom:22px}.tm-blog-cta .btn{background:#ed602c;color:#fff}@media(max-width:850px){.tm-blog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:570px){.tm-blog-hero{padding:55px 0 40px}.tm-blog-grid{grid-template-columns:1fr}.tm-blog-cover{height:124px}.tm-blog-cta{padding:25px}.tm-blog-heading span{white-space:nowrap}}

/* Authenticated blog CMS */
.cms{padding-top:60px;padding-bottom:100px;color:#202338}.cms-top{display:flex;justify-content:space-between;gap:22px;align-items:center;margin-bottom:35px}.cms-top h1,.cms-article h1{font-size:clamp(34px,5vw,54px);letter-spacing:-.055em;line-height:1.15;margin:12px 0}.cms-top p,.cms-intro{color:#6b7080;line-height:1.65}.cms-layout{display:grid;grid-template-columns:minmax(240px,1fr) minmax(0,2fr);align-items:start;gap:22px}.cms-card{background:#fff;border:1px solid #ecedf1;border-radius:25px;padding:26px;box-shadow:0 8px 24px #22233a08}.cms-card h2{font-size:22px;margin:0 0 20px}.cms-head{display:flex;justify-content:space-between;gap:8px;align-items:center}.cms-post{display:flex;justify-content:space-between;gap:14px;align-items:center;border-top:1px solid #eee;padding:15px 0;color:#202338;text-decoration:none}.cms-post strong,.cms-post small{display:block}.cms-post small{font-size:12px;color:#85899a;margin-top:5px}.cms-post em{font-size:11px;font-style:normal;border-radius:20px;padding:6px 9px;background:#f0f1f4}.cms-post em.published{color:#188357;background:#e4f8ec}.cms-form{display:grid;gap:18px}.cms-form label{font-weight:700;font-size:13px;display:grid;gap:8px}.cms-form label small{font-weight:400;color:#747887}.cms-form input:not([type=file]),.cms-form textarea,.cms-form select{display:block;width:100%;font:inherit;font-weight:500;border:1px solid #e1e3e8;border-radius:12px;padding:13px;background:#fff;color:#22243a;min-height:45px}.cms-form textarea{resize:vertical;line-height:1.55}.cms-form input[type=file]{font:inherit;font-size:13px}.cms-two{display:grid;grid-template-columns:1fr 1fr;gap:14px}.cms-alert{background:#fff5eb;padding:15px 20px;border-radius:12px}.cms-delete{border:0;background:none;color:#b52626;text-decoration:underline;cursor:pointer;margin-top:20px}.cms-preview{max-width:220px;border-radius:15px}.cms-cover{height:148px;width:100%;object-fit:cover}.cms-article{max-width:880px}.cms-article>a{color:#e85b2c}.cms-article .mk-kicker{margin-top:40px}.cms-hero-image{width:100%;max-height:430px;object-fit:cover;border-radius:22px;margin:20px 0}.cms-prose{font-size:17px;line-height:1.85;color:#323547}.cms-prose h2{font-size:29px;margin-top:40px;line-height:1.3}.cms-prose h3{font-size:22px;margin-top:30px}.cms-prose p{margin:0 0 23px}@media(max-width:720px){.cms-layout{grid-template-columns:1fr}.cms-top{align-items:flex-start;flex-direction:column}.cms-two{grid-template-columns:1fr}.cms-card{padding:20px}.cms{padding-top:35px}}
