/* -----------------------------------------------------------------------------
   front.css: the front stream's pages in the new shell (launch plan 4.2 to 4.4, 6, 8.1)
   Start (screens 1 and 2, the code screen, save your map), SignIn2, Forgot2, Reset2,
   and later HomePage2, GradePage2, the practice landing pages.

   Built from the design's mock-ups (redesign/mockups/launch/_src/css/30-door.css,
   40-start.css, 50-signin.css), with the design's names. The shared components
   (.hc-doorgrid, .hc-doorcard, .hc-otp, .hc-seg, .hc-gradepick, .hc-options, .hc-notice,
   .hc-stepbar, .hc-or, .hc-linkrow, .hc-ticks, .hc-fine, .hc-btn--google, .hc-btn--block)
   are in hc-ui.css section 33; this file keeps the page-only parts.

   The pages set site_page = 'new': SiteBase draws their body in <main class="hc-page">, with
   no classic sheet (hc-ui.css also keeps Bootstrap's a:hover off their buttons). Bootstrap 3's
   element rules still reach them, so a new page's root (.hc-door, .hc-newpage) answers those.
   ----------------------------------------------------------------------------- */

/* Old element rules (Bootstrap 3, homecampus.classic.css) answered inside a new page. Written as
   :where(root) element (0,0,1): later than theirs, so they win over Bootstrap's element rules, and every
   component class of hc-ui.css and this file (0,1,0) still wins over them. */
:is(.hc-door, .hc-newpage) { font-family: var(--hc-font); font-size: var(--hc-fs-base); line-height: 1.5; color: var(--hc-ink); -webkit-font-smoothing: antialiased; }
:where(.hc-door, .hc-newpage) *, :where(.hc-door, .hc-newpage) *::before, :where(.hc-door, .hc-newpage) *::after { box-sizing: border-box; }
:where(.hc-door, .hc-newpage) :is(h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote, fieldset) { margin: 0; padding: 0; }
:where(.hc-door, .hc-newpage) :is(h1, h2, h3, h4) { font-family: var(--hc-font); color: inherit; line-height: 1.2; }
:where(.hc-door, .hc-newpage) :is(ul, ol) { list-style: none; }
:where(.hc-door, .hc-newpage) fieldset { border: 0; min-width: 0; }
:where(.hc-door, .hc-newpage) legend { width: auto; border: 0; margin: 0; padding: 0; font-size: inherit; color: inherit; line-height: inherit; }
:where(.hc-door, .hc-newpage) label { display: block; max-width: none; margin: 0; font-weight: inherit; }
:where(.hc-door, .hc-newpage) :is(input, button, select, textarea) { font-family: inherit; line-height: normal; }
:where(.hc-door, .hc-newpage) a { color: var(--hc-accent-ink); }
:where(.hc-door, .hc-newpage) a:is(:hover, :focus) { color: var(--hc-accent-ink); }
:where(.hc-door, .hc-newpage) svg { display: inline-block; vertical-align: middle; }

.st-mailicon { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: var(--hc-s-4); border-radius: 18px; color: var(--hc-accent-ink); background: var(--hc-accent-soft); }
.st-mailicon svg { width: 28px; height: 28px; }
.st-addr { display: block; color: var(--hc-ink); font-weight: 800; overflow-wrap: anywhere; }

/* Save your map: the Trial's first look as a glass card beside screen 1 (above it on a phone) */
.st-save { grid-template-columns: minmax(0, 560px) minmax(0, 400px); }
.st-save .hc-doorcard { grid-column: 1; grid-row: 1; }
.st-save .st-map { grid-column: 2; grid-row: 1; }
.st-map { padding: var(--hc-s-5); border-radius: var(--hc-r-xl); }
.st-map__head { display: flex; align-items: center; gap: var(--hc-s-3); }
.st-map__total { margin-top: 2px; font-size: var(--hc-fs-xl); font-weight: 800; }
.st-map__total b { font-size: var(--hc-fs-3xl); color: var(--hc-good-ink); font-variant-numeric: tabular-nums; }
.st-map__tiles { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: var(--hc-s-4); }
.st-map__tiles li { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 12px; border-radius: var(--hc-r-sm);
  background: var(--hc-paper); border: 1px solid var(--hc-paper-line); }
.st-map__name { font-size: var(--hc-fs-sm); font-weight: 750; line-height: 1.2; }
.st-dots { display: inline-flex; gap: 4px; flex: none; }
.st-dots i { width: 13px; height: 13px; border-radius: 50%; background: var(--hc-paper); border: 2px solid var(--hc-paper-line); }
.st-dots i.r { background: var(--hc-good); border-color: var(--hc-good); }
.st-map__note { margin-top: var(--hc-s-4); font-size: var(--hc-fs-sm); font-weight: 650; color: var(--hc-glass-ink-2); }
@media (max-width: 900px) {
  .st-save { grid-template-columns: minmax(0, 560px); }
  .st-save .st-map { grid-column: 1; grid-row: 1; }
  .st-save .hc-doorcard { grid-row: 2; }
}
@media (max-width: 640px) {
  .st-map { padding: var(--hc-s-4); }
  .st-map__tiles { gap: 6px; margin-top: var(--hc-s-3); }
  .st-map__tiles li { padding: 7px 10px; }
  .st-map__name { font-size: var(--hc-fs-xs); }
  .st-map__note { display: none; }
}

/* Screen 2: the child */
.st-who { display: inline-flex; align-items: center; gap: 6px; font-size: var(--hc-fs-sm); font-weight: 700; color: var(--hc-glass-ink-2); }
.st-who svg { width: 18px; height: 18px; color: var(--hc-good-ink); }
.st-fieldset { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 8px; }
.st-fieldset legend { padding: 0; margin-bottom: 8px; }
.st-pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--hc-s-3); }
.hc-door .hc-option .hc-input { min-height: 48px; }
.hc-door .hc-consent { font-size: var(--hc-fs-md); }
@media (max-width: 640px) {
  .st-who { font-size: var(--hc-fs-xs); }
  .st-pair { grid-template-columns: minmax(0, 1fr); }
}

/* The sign-in card: tabs first, then the side's title */
.si-card .hc-seg { margin-bottom: var(--hc-s-5); }
.si-title { font-size: var(--hc-fs-2xl); }
.si-hello { display: flex; align-items: center; gap: var(--hc-s-3); }
.si-hello .hc-companion { --hc-companion-size: 56px; }
.si-input { font-size: var(--hc-fs-lg); letter-spacing: .01em; }
.si-foot { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.si-foot a { display: inline-flex; align-items: center; gap: 6px; }
.si-foot svg { width: 16px; height: 16px; }
.si-otp { grid-template-columns: repeat(6, minmax(0, 60px)); }
.si-otp span { height: 68px; font-size: 30px; }
.si-fine { display: flex; align-items: center; gap: 6px; font-size: var(--hc-fs-sm); font-weight: 650; color: var(--hc-ink-2); }
.si-fine svg { width: 16px; height: 16px; }
.si-ways svg { color: var(--hc-accent-ink); }
.si-side { align-self: start; }
.si-side__p { margin-top: var(--hc-s-2); color: var(--hc-glass-ink-2); }
.si-steps { list-style: none; display: grid; gap: var(--hc-s-3); margin-top: var(--hc-s-4); }
.si-steps li { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 10px; align-items: start; font-weight: 650; line-height: 1.4; }
.si-steps li > span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; font-weight: 800; font-size: 14px; color: var(--hc-on-accent); background: var(--hc-accent); }
.si-grid--child .hc-doorcard { box-shadow: var(--hc-e-4); padding-top: var(--hc-s-6); }
.si-grid--child .hc-doorcard__body { margin-top: var(--hc-s-5); }
.si-coderow { justify-content: center; }
.hc-door:has(.si-card) { padding-top: var(--hc-s-5); padding-bottom: var(--hc-s-5); }
.si-grid--child .hc-doorcard__foot { margin-top: var(--hc-s-3); padding-top: var(--hc-s-3); }
.si-coderow a { display: inline-flex; align-items: center; gap: 6px; }
.si-coderow svg { width: 18px; height: 18px; }
@media (max-width: 640px) {
  .si-side { display: none; }
  .si-title { font-size: var(--hc-fs-xl); }
  .si-hello .hc-companion { --hc-companion-size: 44px; }
}

/* ---- Additions of the build (not in the mock-ups) ---- */

/* A one-line message on a door card (errors, "sent") */
.hc-door .hc-notice a { font-weight: 800; }
/* Use a password instead: a <details>, so it opens without a script */
.st-more > summary { list-style: none; cursor: pointer; color: var(--hc-accent-ink); }
.st-more > summary::-webkit-details-marker { display: none; }
.st-more[open] > summary { margin-bottom: var(--hc-s-3); }
.st-more__body { display: grid; gap: var(--hc-s-4); }
.st-form { display: grid; gap: var(--hc-s-4); margin: 0; }
/* The 6-digit code: one field (autocomplete one-time-code), drawn as six boxes once the script runs */
.st-code { position: relative; }
.st-code__input { width: 100%; max-width: 360px; min-height: 60px; padding: 0 16px; border-radius: var(--hc-r-sm); border: 2px solid var(--hc-paper-line); background: var(--hc-paper);
  font-size: 26px; font-weight: 800; letter-spacing: .5em; font-variant-numeric: tabular-nums; color: var(--hc-ink); }
.st-code__input:focus { outline: none; border-color: var(--hc-accent); box-shadow: 0 0 0 4px var(--hc-accent-soft); }
.st-code.is-boxed .st-code__input { position: absolute; inset: 0; width: 100%; max-width: none; height: 100%; opacity: 0; letter-spacing: 0; caret-color: transparent; }
.st-code:not(.is-boxed) .hc-otp { display: none; }
.st-code .hc-otp { pointer-events: none; }
/* The Secondary 1 choice on screen 2: shown only while Secondary 1 is the grade chosen */
.st-s1 { display: none; }
.st-childform:has(input[name="grade"][value="P7"]:checked) .st-s1 { display: grid; gap: var(--hc-s-3); }
.st-back { font-size: var(--hc-fs-sm); font-weight: 700; }
.st-trial-line { margin-top: var(--hc-s-2); font-weight: 650; color: var(--hc-ink-2); }
/* The sign-in page: Google's own button is drawn into this slot after the press */
.hc-gsi-slot { display: flex; justify-content: center; min-height: 44px; }
.hc-gsi-slot[hidden] { display: none; }
.si-captcha { display: grid; justify-items: start; gap: 8px; }
/* Forgot and Reset */
.fp-child { margin-top: var(--hc-s-5); padding-top: var(--hc-s-4); border-top: 1px solid var(--hc-paper-line); }
.fp-child > summary { cursor: pointer; font-weight: 750; color: var(--hc-ink-2); }

/* ---- HomePage2 (mock-up 20-home.css) ---- */
.hm-h1 { font-size: clamp(38px, 5.2vw, 62px); font-weight: 800; line-height: 1.04; letter-spacing: -.035em; max-width: 13ch; }
.hm-h2 { font-size: var(--hc-fs-2xl); font-weight: 800; letter-spacing: -.02em; }
.hm-lead { font-size: var(--hc-fs-xl); line-height: 1.35; color: var(--hc-ink-2); max-width: 30ch; }
.hm-lead--sm { font-size: var(--hc-fs-lg); max-width: 36ch; }
.hm-pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 10px; font-size: var(--hc-fs-sm); font-weight: 750; color: var(--hc-accent-ink); }
.hm-pill svg { width: 18px; height: 18px; }

.hm-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: var(--hc-s-6); align-items: center; padding: var(--hc-s-5) 0 var(--hc-s-6); }
.hm-hero__text { display: grid; gap: var(--hc-s-4); justify-items: start; }
.hm-actions { display: flex; flex-wrap: wrap; gap: var(--hc-s-3); margin-top: var(--hc-s-2); }
.hm-fine { font-size: var(--hc-fs-sm); color: var(--hc-ink-3); font-weight: 600; }

/* The two devices: the child's laptop (kid world) and the parent's phone */
.hm-devices { position: relative; height: 520px; }
.hm-laptop { position: absolute; right: 0; top: 0; width: 84%; }
.hm-laptop__screen { position: relative; overflow: hidden; aspect-ratio: 16 / 10; border: 11px solid #1A1F2E; border-radius: 20px; background: var(--hc-bg); box-shadow: var(--hc-e-4); isolation: isolate; }
.hm-laptop__screen .hc-world--local { border-radius: 0; inset: 0; }
.hm-laptop__base { height: 14px; margin: 0 -5%; border-radius: 0 0 16px 16px; background: linear-gradient(#D9DDE6, #A9B0BF); box-shadow: var(--hc-e-2); }
.hm-device-label { display: inline-block; margin-top: 10px; font-size: var(--hc-fs-xs); font-weight: 750; color: var(--hc-ink-3); }
.hm-laptop .hm-device-label { margin-left: 55%; }
.hm-mini { position: absolute; left: 30%; top: 9%; width: 60%; padding: 7px; border-radius: 20px; }
.hm-mini__paper { display: grid; gap: 7px; padding: 14px 16px; border-radius: 15px; box-shadow: none; }
.hm-mini__label { display: inline-flex; align-items: center; gap: 4px; font-size: 10px; font-weight: 750; color: var(--hc-accent-ink); }
.hm-mini__label svg { width: 11px; height: 11px; }
.hm-mini__title { font-size: 19px; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.hm-mini__note { display: flex; gap: 8px; align-items: flex-start; padding: 8px 10px; border-radius: 10px; background: var(--hc-accent-soft); font-size: 10.5px; font-weight: 700; line-height: 1.35; }
.hm-mini__note svg { width: 22px; height: 22px; flex: none; }
.hm-mini__note i { display: block; font-style: normal; font-size: 9px; color: var(--hc-accent-ink); }
.hm-mini__parts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; }
.hm-mini__parts span { padding: 8px 6px; border-radius: 8px; font-size: 9.5px; font-weight: 750; color: var(--hc-ink-2); background: var(--hc-paper-2); border: 1px solid var(--hc-paper-line); }
.hm-mini__parts .is-main { border-color: var(--hc-accent); color: var(--hc-accent-ink); background: var(--hc-paper); }
.hm-mini__btn { justify-self: start; display: inline-flex; align-items: center; gap: 5px; padding: 7px 14px; border-radius: 999px; font-size: 11px; font-weight: 800; color: #fff;
  background: linear-gradient(180deg, var(--hc-accent-2), var(--hc-accent)); box-shadow: 0 4px 10px -3px var(--hc-accent); }
.hm-mini__btn svg { width: 11px; height: 11px; }
.hm-mini__ninja { position: absolute; left: 21%; top: 54%; width: 70px; height: 70px; filter: drop-shadow(0 6px 10px rgba(30,20,90,.3)); }
.hm-phone { position: absolute; left: 0; top: 150px; width: 196px; z-index: 2; }
.hm-phone__screen { position: relative; display: grid; gap: 8px; align-content: start; aspect-ratio: 9 / 18.5; padding: 34px 14px 14px; border: 8px solid #12151F; border-radius: 36px;
  background: linear-gradient(180deg, #F7F9FD, #EDF1F7); box-shadow: var(--hc-e-4); }
.hm-phone__notch { position: absolute; top: 9px; left: 50%; translate: -50% 0; width: 64px; height: 18px; border-radius: 999px; background: #12151F; }
.hm-phone__who { font-size: 10px; font-weight: 750; color: var(--hc-ink-2); }
.hm-phone__verdict { padding: 0 0 6px; font-size: 15px; font-weight: 800; line-height: 1.22; letter-spacing: -.01em; }
.hm-phone__rows { list-style: none; display: grid; gap: 6px; }
.hm-phone__rows li { display: grid; grid-template-columns: 16px 1fr; gap: 6px; padding: 8px; border-radius: 10px; background: #fff; border: 1px solid var(--hc-paper-line); font-size: 10.5px; font-weight: 650; line-height: 1.3; }
.hm-phone__rows svg { width: 15px; height: 15px; }

/* Sections */
.hm-section { margin-top: var(--hc-s-8); }
.hm-section__head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--hc-s-4); flex-wrap: wrap; margin-bottom: var(--hc-s-4); }
.hm-grades { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--hc-s-3); }
.hm-grade { display: grid; gap: 6px; align-content: start; height: 100%; padding: var(--hc-s-4) var(--hc-s-4) var(--hc-s-4); text-decoration: none; color: var(--hc-ink); border-radius: var(--hc-r-lg);
  transition: transform var(--hc-dur-4) var(--hc-ease-spring-soft), box-shadow var(--hc-dur-3) var(--hc-ease-out); }
.hm-grade:hover { transform: translateY(-3px); }
.hm-grade b { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; font-size: 18px; font-weight: 800; color: #fff; margin-bottom: 4px;
  background: linear-gradient(160deg, var(--g1, #7B5CFF), var(--g2, #4A2DD8)); box-shadow: inset 0 1px 0 rgba(255,255,255,.45), var(--hc-e-1); }
.hm-grades li:nth-child(1) .hm-grade { --g1: #FFB547; --g2: #F07B1D; }
.hm-grades li:nth-child(2) .hm-grade { --g1: #FF7FA0; --g2: #E0436A; }
.hm-grades li:nth-child(3) .hm-grade { --g1: #8F78FF; --g2: #5B3CF0; }
.hm-grades li:nth-child(4) .hm-grade { --g1: #4FB8FF; --g2: #2370D9; }
.hm-grades li:nth-child(5) .hm-grade { --g1: #2BC0AE; --g2: #0D7680; }
.hm-grade__name { font-weight: 800; font-size: var(--hc-fs-lg); }
.hm-grade__topics { font-size: var(--hc-fs-sm); color: var(--hc-ink-2); line-height: 1.4; }
.hm-grade__go { display: inline-flex; align-items: center; gap: 2px; margin-top: 6px; font-size: var(--hc-fs-sm); font-weight: 750; color: var(--hc-accent-ink); }
.hm-grade__go svg { width: 16px; height: 16px; }
.hm-free-links { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: var(--hc-s-4); font-size: var(--hc-fs-sm); font-weight: 700; }
.hm-free-links span { color: var(--hc-ink-3); }
.hm-free-links a { color: var(--hc-accent-ink); }

.hm-steps { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--hc-s-3); }
.hm-steps li { display: grid; gap: 4px; padding: var(--hc-s-5); border-radius: var(--hc-r-lg); }
.hm-steps__n { display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 8px; border-radius: 50%; font-weight: 800; color: var(--hc-accent-ink); background: var(--hc-accent-soft); }
.hm-steps b { font-size: var(--hc-fs-lg); font-weight: 800; }
.hm-steps p { color: var(--hc-ink-2); }

.hm-report { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: var(--hc-s-6); align-items: center; }
.hm-report__text { display: grid; gap: var(--hc-s-4); justify-items: start; }
.hm-report__card { position: relative; padding: var(--hc-s-5) var(--hc-s-6); border-radius: var(--hc-r-xl); }
.hm-report__verdict { margin: 6px 0 8px; font-size: var(--hc-fs-xl); font-weight: 800; line-height: 1.25; letter-spacing: -.015em; max-width: 30ch; }
.hm-example { position: absolute; top: 18px; right: 18px; padding: 3px 10px; border-radius: 999px; font-size: var(--hc-fs-xs); font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  color: var(--hc-sun-ink); background: var(--hc-sun-soft); }

.hm-price { display: flex; align-items: center; justify-content: space-between; gap: var(--hc-s-4); margin-top: var(--hc-s-8); padding: var(--hc-s-4) var(--hc-s-4) var(--hc-s-4) var(--hc-s-6); border-radius: var(--hc-r-xl); }
.hm-price p { font-size: var(--hc-fs-lg); }

.hm-faq { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--hc-s-3); }
.hm-faq details { padding: var(--hc-s-5); border-radius: var(--hc-r-lg); box-shadow: var(--hc-e-1); }
.hm-faq summary { font-weight: 800; font-size: var(--hc-fs-lg); cursor: pointer; list-style: none; }
.hm-faq summary::-webkit-details-marker { display: none; }
.hm-faq p { margin-top: var(--hc-s-2); color: var(--hc-ink-2); }

@media (max-width: 1100px) {
  .hm-grades { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .hm-hero { grid-template-columns: minmax(0, 1fr); }
  .hm-devices { height: 360px; max-width: 560px; }
  .hm-report { grid-template-columns: minmax(0, 1fr); }
  .hm-faq, .hm-steps { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .hm-hero { padding-top: 0; gap: var(--hc-s-5); }
  .hm-lead { font-size: var(--hc-fs-lg); }
  .hm-actions { width: 100%; display: grid; grid-template-columns: 1fr; }
  .hm-actions .hc-btn { width: 100%; }
  .hm-devices { height: 330px; margin-top: var(--hc-s-2); }
  .hm-laptop { width: 82%; }
  .hm-laptop__screen { border-width: 7px; border-radius: 14px; }
  .hm-mini { transform: scale(.6); transform-origin: top left; width: 100%; left: 30%; top: 8%; }
  .hm-mini__ninja { width: 40px; height: 40px; left: 20%; top: 58%; }
  .hm-laptop .hm-device-label { margin-left: 40%; }
  .hm-phone { width: 148px; top: 92px; }
  .hm-phone__screen { padding: 26px 9px 9px; border-width: 6px; border-radius: 28px; gap: 5px; }
  .hm-phone__notch { width: 44px; height: 13px; top: 6px; }
  .hm-phone__verdict { font-size: 11px; }
  .hm-phone__rows li { font-size: 8.5px; padding: 6px; gap: 4px; grid-template-columns: 12px 1fr; }
  .hm-phone__rows svg { width: 12px; height: 12px; }
  .hm-section { margin-top: var(--hc-s-7); }
  .hm-grades { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .hm-grades li:last-child { grid-column: 1 / -1; }
  .hm-grade__topics { display: none; }
  .hm-grade__go { font-size: var(--hc-fs-xs); white-space: nowrap; }
  .hm-grade { padding: var(--hc-s-3) var(--hc-s-4); }
  .hm-price { flex-direction: column; align-items: stretch; padding: var(--hc-s-5); margin-top: var(--hc-s-7); }
  .hm-report__card { padding: var(--hc-s-5) var(--hc-s-4); }
  .hm-report__verdict { font-size: var(--hc-fs-lg); padding-right: 64px; }
}

/* ---- GradePage2 and PracticeLanding2 (mock-up 80-grade.css, the grade page part) ---- */
.gr-top { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--hc-s-5); align-items: end; margin-bottom: var(--hc-s-6); }
.gr-crumb { display: flex; align-items: center; gap: 4px; font-size: var(--hc-fs-sm); font-weight: 700; color: var(--hc-ink-3); margin-bottom: var(--hc-s-2); }
.gr-crumb a { color: var(--hc-ink-2); text-decoration: none; }
.gr-crumb svg { width: 14px; height: 14px; }
.gr-h1 { font-size: clamp(32px, 4.2vw, 48px); font-weight: 800; letter-spacing: -.03em; line-height: 1.05; }
.gr-lead { margin-top: var(--hc-s-2); font-size: var(--hc-fs-lg); color: var(--hc-ink-2); }
.gr-top__cta { display: grid; grid-template-columns: auto auto; gap: 10px; padding: 14px; border-radius: var(--hc-r-xl); }
.gr-top__fine { grid-column: 1 / -1; text-align: center; font-size: var(--hc-fs-xs); font-weight: 650; color: var(--hc-glass-ink-2); }

.gr-worlds { column-count: 3; column-gap: var(--hc-s-4); }
.gr-world { break-inside: avoid; display: block; margin: 0 0 var(--hc-s-4); padding: var(--hc-s-4) var(--hc-s-4) var(--hc-s-3); border-radius: var(--hc-r-lg); box-shadow: var(--hc-e-1); }
.gr-world__head { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; align-items: center; gap: 10px; list-style: none; cursor: default; }
.gr-world__head::-webkit-details-marker { display: none; }
.gr-world__n { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; font-weight: 800; color: var(--hc-accent-ink); background: var(--hc-accent-soft); }
.gr-world__name { font-size: var(--hc-fs-lg); font-weight: 800; letter-spacing: -.01em; line-height: 1.15; }
.gr-world__ch { display: block; font-size: var(--hc-fs-xs); font-weight: 750; color: var(--hc-ink-3); letter-spacing: .02em; }
.gr-world .hc-chip { font-size: var(--hc-fs-xs); min-height: 24px; padding: 2px 9px; }
.gr-world .hc-chip svg { width: 14px; height: 14px; }
.gr-chip-tile { color: var(--hc-ink-2); background: var(--hc-paper-2); border-style: dashed; }
.gr-world__chev { display: none; width: 20px; height: 20px; color: var(--hc-ink-3); transition: transform var(--hc-dur-2) var(--hc-ease-out); }
.gr-world--tile { background: var(--hc-paper-2); box-shadow: none; border-style: dashed; }
.gr-world--tile .gr-world__n { color: var(--hc-ink-2); background: var(--hc-paper); border: 1px solid var(--hc-paper-line); }

.gr-lessons { list-style: none; margin: var(--hc-s-3) 0 0; padding: 0; }
.gr-lessons li { border-top: 1px solid var(--hc-paper-line); }
.gr-lessons a, .gr-nolink { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 4px; padding: 7px 4px; font-size: var(--hc-fs-sm); font-weight: 650; line-height: 1.35; }
.gr-lessons a { color: var(--hc-ink); text-decoration: none; border-radius: 8px; }
.gr-lessons a:hover { color: var(--hc-accent-ink); background: var(--hc-accent-soft); }
.gr-nolink { color: var(--hc-ink-3); }
.gr-num { color: var(--hc-ink-3); font-weight: 700; font-variant-numeric: tabular-nums; }
.gr-world__foot { display: flex; align-items: center; justify-content: space-between; gap: var(--hc-s-2); margin-top: var(--hc-s-2); padding-top: var(--hc-s-3); border-top: 1px solid var(--hc-paper-line); }
.gr-tilenote { font-size: var(--hc-fs-xs); font-weight: 650; color: var(--hc-ink-3); }

@media (max-width: 1100px) { .gr-worlds { column-count: 2; } }
@media (max-width: 760px) {
  .gr-top { grid-template-columns: minmax(0, 1fr); }
  .gr-top__cta { grid-template-columns: 1fr; }
  .gr-top__cta .hc-btn { width: 100%; }
}
@media (max-width: 640px) {
  .gr-worlds { column-count: 1; }
  .gr-world { margin-bottom: 10px; padding: var(--hc-s-3) var(--hc-s-4); }
  .gr-world__head { grid-template-columns: 32px minmax(0, 1fr) auto 20px; cursor: pointer; }
  .gr-world__n { width: 32px; height: 32px; border-radius: 10px; }
  .gr-world .hc-chip { font-size: 0; gap: 0; padding: 0; width: 26px; justify-content: center; }  /* the chip keeps its icon only */
  .gr-world .hc-chip svg { width: 15px; height: 15px; }
  .gr-world__chev { display: block; }
  .gr-world[open] .gr-world__chev { transform: rotate(180deg); }
  .gr-world__name { font-size: var(--hc-fs-md); }
}

/* ---- Additions of the build ---- */
.hc-newpage { position: relative; z-index: 1; max-width: var(--hc-site-max, 1200px); margin: 0 auto; padding: var(--hc-s-5) var(--hc-gutter, 24px) var(--hc-s-8); }
.hm-muted { color: var(--hc-ink-2); }
.hm-laptop__screen { background: radial-gradient(120% 90% at 20% 10%, #CFE3FF 0%, #E9E2FF 45%, #CDEFE3 100%); }
.hm-report__who { font-size: var(--hc-fs-sm); font-weight: 750; color: var(--hc-ink-2); }
.hm-report__rows { display: grid; gap: 8px; margin-top: var(--hc-s-3); }
.hm-report__rows li { display: grid; gap: 2px; padding: 10px 12px; border-radius: var(--hc-r-md); background: var(--hc-paper-2); border: 1px solid var(--hc-paper-line); font-weight: 650; line-height: 1.4; }
.hm-report__rows em { font-style: normal; font-size: var(--hc-fs-xs); color: var(--hc-ink-3); }
.hm-report__kind { font-size: var(--hc-fs-xs); font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--hc-accent-ink); }
.gr-crumb span { color: var(--hc-ink-3); }
.gr-chip { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.gr-lessons .gr-num svg { width: 14px; height: 14px; color: var(--hc-accent-ink); }
.pl-group { display: block; margin-bottom: 4px; }
.pl-more { margin-top: var(--hc-s-3); font-weight: 750; }
.pl-grades li { display: grid; gap: 6px; }
.pl-lessons { font-size: var(--hc-fs-sm); font-weight: 700; padding-left: 6px; }
@media (max-width: 640px) {
  .hc-newpage { padding-top: var(--hc-s-3); }
  .gr-world .gr-chip { font-size: 0; gap: 0; padding: 0; width: 26px; justify-content: center; }
}
