/* The home page. Black, white and gray; the product's own screens are the pictures.
   Every class here starts with "hm-", so nothing in site.css restyles it and it restyles nothing there. */
.hm{--ink:#151515;--hm-text:#1b1b1a;--hm-muted:#65655f;--hm-faint:#8b8b84;--hm-line:#e8e8e4;--hm-line2:#d6d6d0;--hm-soft:#f5f5f2;color:var(--hm-text);-webkit-font-smoothing:antialiased}
/* margins start at nothing, at the lowest weight, so that any class below can set its own */
:where(.hm) :where(h1,h2,h3,p,figure,dl,dd){margin:0}
.hm img{display:block;max-width:100%;height:auto}
.hm a{color:inherit}
.hm h1{font-size:clamp(33px,5.2vw,62px);line-height:1.07;letter-spacing:-.035em;font-weight:680;text-wrap:balance}
.hm h2{font-size:clamp(27px,3.3vw,42px);line-height:1.13;letter-spacing:-.028em;font-weight:660;text-wrap:balance}
.hm h3{font-size:21px;line-height:1.3;letter-spacing:-.012em;font-weight:650}
.hm:lang(zh-Hans) h1,.hm:lang(zh-Hans) h2,.hm-closing:lang(zh-Hans){word-break:keep-all;overflow-wrap:anywhere}
.hm:lang(zh-Hans) h1{letter-spacing:-.01em;line-height:1.18;font-size:clamp(30px,5.2vw,62px)}
.hm:lang(zh-Hans) h2{letter-spacing:0;line-height:1.25}
.hm:lang(zh-Hans) h3{letter-spacing:0}
.hm figcaption{font-size:13px;color:var(--hm-faint);margin-top:16px;text-align:center;text-wrap:balance}

/* the top: a few words, then the real window */
.hm-hero{padding:88px 0 0;text-align:center}
.hm-inner{max-width:900px;margin:0 auto}
.hm-status{display:inline-flex;align-items:center;gap:9px;font-size:13.5px;color:var(--hm-muted);border:1px solid var(--hm-line);border-radius:999px;padding:5px 14px 5px 12px}
.hm-status i{width:7px;height:7px;border-radius:50%;background:var(--ink)}
.hm-hero h1{margin-top:26px}
.hm-sub{font-size:clamp(17px,1.55vw,20px);line-height:1.55;color:var(--hm-muted);max-width:720px;margin:24px auto 0;text-wrap:pretty}
.hm-cta{display:flex;gap:24px;justify-content:center;align-items:center;flex-wrap:wrap;margin-top:34px}
.hm a.hm-btn{display:inline-block;background:var(--ink);color:#fff;border-radius:11px;padding:12px 20px;font-weight:600;font-size:15.5px;text-decoration:none}
.hm-lnk,.hm-prose a,.hm-more a,.hm-standing a{text-decoration:underline;text-decoration-color:var(--hm-line2);text-decoration-thickness:1.5px;text-underline-offset:4px}
.hm-lnk:hover,.hm-prose a:hover,.hm-more a:hover,.hm-standing a:hover{text-decoration-color:var(--ink)}
.hm-lnk{font-size:15.5px}
.hm-wide{max-width:1360px}
.hm-stage{margin-top:68px;background:var(--hm-soft);border-radius:30px;padding:52px 52px 20px}
.hm-stage figcaption{margin-top:20px}
.hm-win{border-radius:12px;overflow:hidden;border:1px solid var(--hm-line2);background:#fff;box-shadow:0 26px 64px rgba(20,20,20,.10),0 2px 8px rgba(20,20,20,.05)}
.hm-win img{width:100%}

/* sections */
.hm-sec{padding:112px 0}
.hm-band{background:var(--hm-soft)}
.hm-last{padding-bottom:72px}
.hm-head{max-width:760px}
.hm-eyebrow{font-size:13px;font-weight:600;letter-spacing:.07em;text-transform:uppercase;color:var(--hm-faint);margin-bottom:14px}
.hm-eyebrow:lang(zh-Hans){letter-spacing:.12em}
.hm-txt h3+p{margin-top:10px}
.hm-txt p{color:var(--hm-muted);font-size:16.5px;text-wrap:pretty}

/* the tutor: two claims, one wide picture at its true size, then two tiles */
.hm-duo{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:72px;margin-top:64px}
.hm-shot{margin-top:52px;background:var(--hm-soft);border-radius:22px;padding:56px 36px 22px}
.hm-card{background:#fff;border:1px solid var(--hm-line);border-radius:11px;overflow:hidden;box-shadow:0 8px 26px rgba(20,20,20,.06);padding:8px}
.hm-card img{width:100%}
.hm-shot .hm-card{max-width:806px;margin:0 auto}
.hm-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px;margin-top:28px}
.hm-tile{background:var(--hm-soft);border-radius:22px;padding:44px}
.hm-pic{min-height:470px;display:flex;flex-direction:column;justify-content:center;margin-bottom:36px}
.hm-pic .hm-card{width:100%;max-width:396px;margin:0 auto}

/* the plan, and the instructors' part: words on the left, the rest on the right */
.hm-row{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:72px;align-items:start}
.hm-prose p{font-size:17px;line-height:1.65;text-wrap:pretty}
.hm-prose p+p{margin-top:18px}
.hm-prose h3{margin-top:36px;padding-top:30px;border-top:1px solid var(--hm-line2)}
.hm-prose h3+p{margin-top:10px;color:var(--hm-muted);font-size:16.5px}
/* the plan part's two pictures, under the words: the Today page whole (1440 by 900), then a cut of the Checks page */
.hm-planfig{margin-top:64px}
.hm-planpic{aspect-ratio:1440/900;border-radius:12px;overflow:hidden;border:1px solid var(--hm-line2);background:#fff;box-shadow:0 26px 64px rgba(20,20,20,.10),0 2px 8px rgba(20,20,20,.05)}
.hm-planpic img{width:100%}
.hm-checkfig{margin-top:44px}
.hm-checkfig .hm-card{max-width:1002px;margin:0 auto}
.hm-prose p.hm-mail{color:var(--hm-muted);font-size:15.5px}
.hm-prose a{color:var(--hm-text)}

/* the facts of the data */
.hm-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin-top:56px;border-top:1px solid var(--hm-line);border-left:1px solid var(--hm-line)}
.hm-fact{padding:28px 28px 34px;border-right:1px solid var(--hm-line);border-bottom:1px solid var(--hm-line)}
.hm-fact dt{font-size:13px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--hm-faint);margin-bottom:12px}
.hm-fact dt:lang(zh-Hans){letter-spacing:.1em}
.hm-fact dd{font-size:15.5px;line-height:1.62;text-wrap:pretty}
.hm-note{margin-top:28px;background:var(--hm-soft);border-radius:14px;padding:20px 26px;font-size:15.5px;color:var(--hm-muted)}
.hm-note b{color:var(--hm-text);font-weight:650}
.hm-more{margin-top:22px;font-size:15px;color:var(--hm-muted)}
.hm-more a{color:var(--hm-text);white-space:nowrap}

/* where it stands, and the last line */
.hm-standing{max-width:760px;margin:0 auto;text-align:center}
.hm-standing h2+p{margin-top:24px}
.hm-standing p{font-size:17px;line-height:1.65;color:var(--hm-muted);text-wrap:pretty}
.hm-standing p a{color:var(--hm-text);white-space:nowrap}
.hm-standing p.hm-aside{margin-top:22px;padding-top:22px;border-top:1px solid var(--hm-line);font-size:15.5px}
.hm p.hm-closing{text-align:center;font-size:clamp(22px,2.8vw,34px);font-weight:650;letter-spacing:-.02em;color:#b5b5ae;padding:8px 24px 120px;text-wrap:balance}
.hm p.hm-closing:lang(zh-Hans){letter-spacing:.02em}

@media (max-width:980px){
  .hm-row{grid-template-columns:minmax(0,1fr);gap:32px}
  .hm-duo{grid-template-columns:minmax(0,1fr);gap:36px;margin-top:44px}
  .hm-pair{grid-template-columns:minmax(0,1fr)}
  .hm-facts{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:700px){
  .hm-hero{padding-top:52px}
  .hm-cta{margin-top:28px;gap:18px}
  .hm-stage{margin-top:44px;padding:14px 14px 12px;border-radius:20px}
  .hm-stage figcaption{margin-top:12px}
  .hm-sec{padding:72px 0}
  .hm-last{padding-bottom:56px}
  .hm-shot{margin-top:36px;padding:16px 16px 14px;border-radius:18px}
  .hm-pair{gap:16px;margin-top:16px}
  .hm-tile{padding:16px 16px 28px;border-radius:18px}
  .hm-pic{min-height:0;margin-bottom:24px}
  .hm-tile .hm-txt{padding:0 6px}
  .hm-facts{grid-template-columns:minmax(0,1fr);margin-top:36px}
  .hm-fact{padding:22px 20px 26px}
  .hm-note{padding:18px 20px}
  .hm-planfig{margin-top:40px}
  .hm-checkfig{margin-top:28px}
  /* on a phone the plan picture skips the side list and shows the page itself, at a readable size */
  .hm-planpic{aspect-ratio:auto;height:420px}
  .hm-planpic img{width:1000px;max-width:none;margin-left:-186px}
  .hm p.hm-closing{padding-bottom:80px}
  /* a wide cut of the screen is shown at a readable size and runs off to the right */
  .hm-peek{position:relative}
  .hm-peek img{width:560px;max-width:none}
  .hm-peek::after{content:"";position:absolute;top:0;right:0;bottom:0;width:64px;background:linear-gradient(90deg,rgba(255,255,255,0),#fff 85%);pointer-events:none}
}
