/* Public home and the shared marketing sections (owner spec, Oct 2026; DESIGN.md).
 * Tokens, buttons, store badges, QR card, the drawn phone and section type come from pro.css; scroll reveals
 * from pro-motion.js. Nothing is hidden without JS; no screenshot is ever cropped. */
.hm { position: relative; z-index: 1; outline: none; overflow-x: clip; padding-bottom: var(--pr-section); }
.hm-sr { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hm-section { padding-top: var(--pr-section); }
.hm-head { max-width: 46rem; }
.hm-head .hm-lead { margin-top: 16px; }
.hm-head--row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 48px; max-width: none; }
.hm-head--row > div:first-child { max-width: 44rem; }
.hm-kicker { margin: 0 0 12px; font-size: var(--pr-t-small); font-weight: 600; color: var(--pr-link); }
.hm-cta { margin-top: 28px; }
.hm-btn-lg { min-height: 52px !important; padding: 0 24px !important; font-size: 1rem !important; border-radius: 14px !important; gap: 10px; }

/* ---------------------------------------------------------------- 1. hero */
.hm-hero { display: grid; justify-items: center; gap: 48px; padding-top: 48px; text-align: center; }
.hm-hero__copy { display: flex; flex-direction: column; align-items: center; max-width: 60rem; }
.hm-hero__title {
  max-width: 15ch;
  font-size: clamp(2.6rem, 1.2rem + 5.4vw, 5.25rem);
  letter-spacing: -.045em;
  line-height: 1.02;
}
:root[dir="rtl"] .hm-hero__title, :root:lang(ja) .hm-hero__title, :root:lang(ko) .hm-hero__title, :root:lang(zh-hant) .hm-hero__title { letter-spacing: 0; line-height: 1.25; }
.hm-hero__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; }
.hm-hero__trial { margin: 18px 0 0; font-size: var(--pr-t-caption); color: var(--pr-ink-3); }
@media (max-width: 479px) {
  .hm-hero__ctas { width: 100%; flex-direction: column; align-items: stretch; }
  .hm-hero__ctas .hm-btn-lg { width: 100%; justify-content: center; }
}

/* Download: one QR per store on hover / keyboard focus (pointer devices, tablet width and up). */
.hm-dl { position: relative; display: inline-flex; }
.hm-dl__btn svg { flex: none; }
.hm-dl__panel {
  position: absolute; z-index: 20; top: calc(100% + 14px); inset-inline-start: 50%;
  width: max-content; padding: 18px 20px 16px; border-radius: 20px;
  border: 1px solid var(--pr-line-2); background: var(--pr-glass-strong);
  -webkit-backdrop-filter: blur(20px) saturate(1.3); backdrop-filter: blur(20px) saturate(1.3);
  box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .55);
  opacity: 0; visibility: hidden; translate: -50% 8px; pointer-events: none;
  transition: opacity .2s var(--pr-ease), translate .2s var(--pr-ease), visibility 0s linear .2s;
}
[dir="rtl"] .hm-dl__panel { translate: 50% 8px; }
.hm-dl__panel::before { content: ""; position: absolute; inset-inline: 0; top: -16px; height: 16px; }
.hm-dl__title { margin: 0 0 12px; font-size: var(--pr-t-small); font-weight: 600; color: var(--pr-ink); }
.hm-dl__codes { display: flex; gap: 16px; }
.hm-dl__code { margin: 0; display: grid; justify-items: center; gap: 8px; }
.hm-dl__code .hm-qr__code { width: 132px; height: 132px; }
.hm-dl__code figcaption { font-size: var(--pr-t-caption); font-weight: 600; color: var(--pr-ink-2); }
@media (hover: hover) and (min-width: 768px) {
  .hm-dl:hover .hm-dl__panel, .hm-dl:focus-within .hm-dl__panel {
    opacity: 1; visibility: visible; translate: -50% 0; pointer-events: auto;
    transition: opacity .2s var(--pr-ease), translate .2s var(--pr-ease), visibility 0s;
  }
  [dir="rtl"] .hm-dl:hover .hm-dl__panel, [dir="rtl"] .hm-dl:focus-within .hm-dl__panel { translate: 50% 0; }
}
@media (hover: none), (max-width: 767px) { .hm-dl__panel { display: none; } }

.hm-hero__media { position: relative; margin: 0; display: flex; justify-content: center; }
.hm-hero__halo {
  position: absolute; z-index: -1; top: 6%; left: 50%; width: 170%; aspect-ratio: 1; translate: -50% 0; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(0, 217, 255, .30), rgba(33, 230, 193, .10) 55%, transparent 75%);
  filter: blur(24px); pointer-events: none;
}
:root[data-theme="light"] .hm-hero__halo { background: radial-gradient(closest-side, rgba(0, 180, 230, .22), rgba(20, 200, 170, .08) 55%, transparent 75%); }
.hm-phone--hero { width: min(70vw, 340px); }
@media (min-width: 1024px) { .hm-phone--hero { width: 360px; } .hm-hero { padding-top: 72px; gap: 64px; } }
@media (prefers-reduced-motion: no-preference) {
  .hm-phone--hero { animation: hm-rise .9s var(--pr-ease) both; }
}
@keyframes hm-rise { from { transform: translateY(28px); } to { transform: none; } }

/* ---------------------------------------------------------------- 2. claims banner */
.hm-proof { padding-top: 72px; }
.hm-proof__list {
  display: flex; flex-wrap: wrap; justify-content: space-around; gap: 20px 0; margin: 0; padding: 26px 24px; list-style: none;
  border-radius: 28px; border: 1px solid var(--pr-line); background: var(--pr-glass);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
}
:root[data-theme="light"] .hm-proof__list { background: rgba(255, 255, 255, .8); box-shadow: var(--pr-shadow); }
.hm-proof__item { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 0 24px; text-align: center; }
.hm-proof__item + .hm-proof__item { border-inline-start: 1px solid var(--pr-line); }
.hm-proof__value { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); font-weight: 600; letter-spacing: -.02em; color: var(--pr-ink); font-variant-numeric: tabular-nums; line-height: 1.1; }
.hm-proof__label { font-size: var(--pr-t-small); color: var(--pr-ink-2); }
@media (max-width: 767px) {
  .hm-proof__list { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 12px; border-radius: 22px; padding: 22px 16px; }
  .hm-proof__item { padding: 0; }
  .hm-proof__item + .hm-proof__item { border: 0; }
  .hm-proof__item:last-child:nth-child(odd) { grid-column: 1 / -1; }
}

/* ---------------------------------------------------------------- 3. top three tools */
.hm-top { display: grid; gap: 20px; margin: 40px 0 0; padding: 0; list-style: none; }
@media (min-width: 768px) { .hm-top { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } }
.hm-top__card {
  display: flex; flex-direction: column; height: 100%; overflow: hidden; border-radius: 24px;
  border: 1px solid var(--pr-line); background: var(--pr-raised); color: inherit; text-decoration: none;
  transition: transform .35s var(--pr-ease), box-shadow .35s var(--pr-ease), border-color .35s var(--pr-ease);
}
:root[data-theme="dark"] .hm-top__card { background: color-mix(in srgb, var(--pr-raised) 84%, transparent); }
.hm-top__shot {
  display: flex; justify-content: center; padding: 36px 24px 32px;
  background: radial-gradient(80% 70% at 50% 0%, rgba(0, 217, 255, .16), transparent 70%), var(--pr-bg-2);
}
:root[data-theme="light"] .hm-top__shot { background: radial-gradient(80% 70% at 50% 0%, rgba(0, 180, 230, .14), transparent 70%), var(--pr-bg-2); }
.hm-phone--card { width: auto; transition: transform .45s var(--pr-ease); }
.hm-phone--card img { width: auto; height: var(--hm-card-shot, 460px); }
.hm-top__shot { align-items: center; min-height: calc(var(--hm-card-shot, 460px) + 86px); }
.hm-top__ill { display: block; width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--pr-line); }
.hm-top__body { display: flex; flex-direction: column; gap: 8px; padding: 24px 24px 26px; }
.hm-top__title { font-size: 1.375rem; font-weight: 600; letter-spacing: -.015em; color: var(--pr-ink); }
.hm-top__text { font-size: var(--pr-t-body); line-height: 1.55; color: var(--pr-ink-2); }
.hm-top__link { margin-top: 8px; font-size: var(--pr-t-small); font-weight: 600; color: var(--pr-link); }
@media (hover: hover) {
  .hm-top__card:hover { transform: translateY(-6px); border-color: var(--pr-line-2); box-shadow: 0 40px 70px -40px rgba(0, 0, 0, .65); }
  :root[data-theme="light"] .hm-top__card:hover { box-shadow: 0 34px 60px -36px rgba(10, 40, 60, .35); }
  .hm-top__card:hover .hm-phone--card { transform: translateY(-6px) scale(1.02); }
}

/* ---------------------------------------------------------------- 6/7. split sections */
.hm-split { display: grid; gap: 48px; align-items: center; }
.hm-split__media { display: flex; justify-content: center; min-width: 0; }
.hm-split--phone .hm-split__media { order: 2; }
.hm-phone--side { width: min(70vw, 290px); }
.hm-split__img { display: block; width: 100%; height: auto; max-width: 600px; border-radius: var(--pr-r-md); }
@media (min-width: 1024px) {
  .hm-split { grid-template-columns: 1fr 1fr; gap: 80px; }
  .hm-split--phone { grid-template-columns: 5fr 7fr; }
  .hm-split--phone .hm-split__media { order: 0; }
  .hm-split--exam { grid-template-columns: 5fr 7fr; }
  .hm-phone--side { width: 300px; }
}
.hm-split__copy .hm-lead { margin-top: 16px; }
.hm-band {
  padding: 40px 20px; border-radius: 32px; border: 1px solid var(--pr-line);
  background: radial-gradient(70% 90% at 0% 0%, rgba(0, 217, 255, .12), transparent 70%), radial-gradient(60% 80% at 100% 100%, rgba(33, 230, 193, .08), transparent 70%), var(--pr-bg-2);
}
[dir="rtl"] .hm-band { background: radial-gradient(70% 90% at 100% 0%, rgba(0, 217, 255, .12), transparent 70%), radial-gradient(60% 80% at 0% 100%, rgba(33, 230, 193, .08), transparent 70%), var(--pr-bg-2); }
@media (min-width: 768px) { .hm-band { padding: 56px; } }
@media (min-width: 1024px) { .hm-band { padding: 72px; } }

.hm-checks { display: grid; gap: 10px; margin: 28px 0 0; padding: 0; list-style: none; }
.hm-checks li { position: relative; padding-inline-start: 28px; font-size: var(--pr-t-body); line-height: 1.5; color: var(--pr-ink); }
.hm-checks li::before {
  content: ""; position: absolute; top: .38em; inset-inline-start: 4px; width: 11px; height: 6px;
  border-inline-start: 2px solid var(--pr-mint); border-bottom: 2px solid var(--pr-mint); transform: rotate(-45deg);
}
/* Check marks are not mirrored in RTL (same glyph as LTR): physical left + bottom borders, same rotation. */
[dir="rtl"] .hm-checks li::before { border-inline-start: 0; border-left: 2px solid var(--pr-mint); transform: rotate(-45deg); }
.hm-checks--small { gap: 8px; margin-top: 20px; }
.hm-checks--small li { font-size: var(--pr-t-small); color: var(--pr-ink-2); }

.hm-prompts { margin-top: 28px; }
.hm-prompts__label { margin: 0 0 10px; font-size: var(--pr-t-caption); font-weight: 500; color: var(--pr-ink-3); }
.hm-prompts__list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.hm-prompt {
  justify-self: start; max-width: 100%; padding: 10px 16px; border-radius: 16px 16px 16px 4px;
  background: var(--pr-accent); color: var(--pr-on-accent); font-size: var(--pr-t-small); font-weight: 500;
}
[dir="rtl"] .hm-prompt { border-radius: 16px 16px 4px 16px; }

.hm-tracks { display: grid; gap: 0; margin: 28px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--pr-line); }
.hm-tracks a { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; padding: 14px 0; border-bottom: 1px solid var(--pr-line); color: var(--pr-ink); text-decoration: none; }
.hm-tracks a strong { font-weight: 600; }
.hm-tracks a span { font-size: var(--pr-t-small); color: var(--pr-ink-2); }
.hm-tracks a:hover strong { color: var(--pr-link); }
.hm-exam__facts { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 20px 0 0; font-size: var(--pr-t-small); }
.hm-exam__free { color: var(--pr-mint); font-weight: 600; }
.hm-exam__price { color: var(--pr-ink-2); }

/* ---------------------------------------------------------------- 8. reviews wall */
.hm-wall { display: grid; gap: 16px; margin: 40px 0 0; padding: 0; list-style: none; }
@media (min-width: 700px) { .hm-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .hm-wall { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } .hm-wall__item--lead { grid-column: span 2; } }
.hm-wall__item { min-width: 0; }
.hm-review {
  display: flex; flex-direction: column; gap: 20px; height: 100%; margin: 0; padding: 28px; border-radius: 24px;
  border: 1px solid var(--pr-line); background: var(--pr-raised);
  transition: transform .35s var(--pr-ease), border-color .35s var(--pr-ease);
}
:root[data-theme="dark"] .hm-review { background: color-mix(in srgb, var(--pr-raised) 80%, transparent); }
@media (hover: hover) { .hm-review:hover { transform: translateY(-4px); border-color: var(--pr-line-2); } }
.hm-review__quote { margin: 0; font-size: 1.0625rem; line-height: 1.6; color: var(--pr-ink); text-wrap: pretty; }
.hm-review__quote::before { content: "\201C"; }
.hm-review__quote::after { content: "\201D"; }
.hm-wall__item--lead .hm-review {
  justify-content: space-between; padding: 40px;
  background: radial-gradient(90% 90% at 100% 0%, rgba(0, 217, 255, .18), transparent 65%), var(--pr-raised);
}
:root[data-theme="dark"] .hm-wall__item--lead .hm-review { background: radial-gradient(90% 90% at 100% 0%, rgba(0, 217, 255, .18), transparent 65%), color-mix(in srgb, var(--pr-raised) 80%, transparent); }
.hm-wall__item--lead .hm-review__quote { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.125rem); line-height: 1.3; letter-spacing: -.015em; font-weight: 500; }
[dir="rtl"] .hm-wall__item--lead .hm-review__quote { letter-spacing: 0; line-height: 1.6; }
.hm-review__src { display: flex; align-items: center; gap: 8px; margin: 0; font-size: var(--pr-t-caption); font-weight: 600; color: var(--pr-ink-2); }
.hm-review__stars { margin-inline-start: auto; font-size: .875rem; letter-spacing: .1em; color: #f5b83d; }
:root[data-theme="light"] .hm-review__stars { color: #a76a00; }
.hm-review__who { display: flex; align-items: center; gap: 12px; margin-top: auto; font-size: var(--pr-t-small); color: var(--pr-ink-2); }
.hm-review__who > span:last-child { display: flex; flex-direction: column; }
.hm-review__who strong { font-weight: 600; color: var(--pr-ink); }
.hm-review__mono {
  flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--pr-accent-soft); color: var(--pr-link); font-weight: 700;
}

/* ---------------------------------------------------------------- 9. plans */
.hm-toggle { display: inline-flex; gap: 4px; padding: 4px; border-radius: 14px; border: 1px solid var(--pr-line-2); background: var(--pr-glass); }
.hm-toggle__btn {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border: 0; border-radius: 10px;
  background: transparent; color: var(--pr-ink-2); font: inherit; font-size: var(--pr-t-small); font-weight: 600; cursor: pointer;
  transition: background-color .2s var(--pr-ease), color .2s var(--pr-ease);
}
.hm-toggle__btn[aria-pressed="true"] { background: var(--pr-ink); color: var(--pr-bg); }
.hm-save { font-size: var(--pr-t-caption); font-weight: 600; color: var(--pr-mint); }
.hm-toggle__btn[aria-pressed="true"] .hm-save { color: inherit; opacity: .75; }
.hm-save--block { margin: 6px 0 0; }
.hm-plans { display: grid; gap: 16px; margin-top: 40px; align-items: stretch; }
@media (min-width: 700px) { .hm-plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .hm-plans { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; } }
.hm-plan {
  position: relative; display: flex; flex-direction: column; padding: 28px 24px; border-radius: 22px;
  border: 1px solid var(--pr-line); background: var(--pr-raised);
  transition: transform .35s var(--pr-ease), border-color .35s var(--pr-ease);
}
:root[data-theme="dark"] .hm-plan { background: color-mix(in srgb, var(--pr-raised) 82%, transparent); }
@media (hover: hover) { .hm-plan:hover { transform: translateY(-4px); border-color: var(--pr-line-2); } }
.hm-plan--featured { border-color: var(--pr-accent); box-shadow: 0 0 0 1px var(--pr-accent) inset, 0 40px 80px -50px rgba(0, 217, 255, .55); }
.hm-plan--featured:hover { border-color: var(--pr-accent); }
.hm-plan__badge { position: absolute; top: -12px; inset-inline-start: 22px; margin: 0; padding: 3px 10px; border-radius: 8px; background: var(--pr-accent); color: var(--pr-on-accent); font-size: var(--pr-t-caption); font-weight: 600; }
.hm-plan__name { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; font-size: 1.25rem; font-weight: 600; color: var(--pr-ink); }
.hm-plan__tag { padding: 2px 8px; border-radius: 6px; border: 1px solid var(--pr-line-2); font-size: var(--pr-t-caption); font-weight: 500; color: var(--pr-ink-2); }
.hm-plan__price { margin: 20px 0 0; font-size: 2.25rem; font-weight: 600; letter-spacing: -.02em; color: var(--pr-ink); font-variant-numeric: tabular-nums; line-height: 1.1; }
.hm-plan__price--text { font-size: 1.375rem; letter-spacing: -.01em; }
[dir="rtl"] .hm-plan__price { letter-spacing: 0; }
.hm-plan__period { margin-inline-start: 6px; font-size: var(--pr-t-small); font-weight: 500; letter-spacing: 0; color: var(--pr-ink-2); }
.hm-plan__note, .hm-plan__tagline { margin: 6px 0 0; font-size: var(--pr-t-small); line-height: 1.5; color: var(--pr-ink-2); }
.hm-plan__tagline { margin-top: 16px; color: var(--pr-ink); }
.hm-plan__lead { margin: 16px 0 0; font-size: var(--pr-t-small); font-weight: 600; color: var(--pr-ink); }
.hm-plan__lead + .hm-checks { margin-top: 10px; }
.hm-plan__cta { margin-top: auto; width: 100%; }
.hm-plan .hm-checks { margin-bottom: 28px; }
.hm-student {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px;
  margin-top: 18px; padding: 24px 28px; border-radius: 22px; border: 1px dashed var(--pr-line-2);
}
.hm-student p { margin: 6px 0 0; max-width: 60ch; font-size: var(--pr-t-small); color: var(--pr-ink-2); }
.hm-plans__foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; margin-top: 24px; }
.hm-plans__more { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 0; font-size: var(--pr-t-small); }

/* ---------------------------------------------------------------- FAQ */
.hm-faq { display: grid; gap: 32px; }
@media (min-width: 1024px) { .hm-faq { grid-template-columns: 4fr 8fr; gap: 64px; align-items: start; } }
.hm-faq__list { border-top: 1px solid var(--pr-line-2); }
.hm-faq__item { border-bottom: 1px solid var(--pr-line); }
.hm-faq__item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 64px; padding: 16px 0;
  font-size: 1.0625rem; font-weight: 600; color: var(--pr-ink); cursor: pointer; list-style: none;
}
.hm-faq__item summary::-webkit-details-marker { display: none; }
.hm-faq__item summary:hover { color: var(--pr-link); }
.hm-faq__icon { position: relative; flex: none; width: 16px; height: 16px; }
.hm-faq__icon::before, .hm-faq__icon::after { content: ""; position: absolute; top: 7px; left: 0; width: 16px; height: 2px; border-radius: 1px; background: currentColor; transition: transform .25s var(--pr-ease); }
.hm-faq__icon::after { transform: rotate(90deg); }
.hm-faq__item[open] .hm-faq__icon::after { transform: rotate(0deg); }
.hm-faq__item p { margin: 0; padding: 0 0 22px; max-width: 64ch; font-size: var(--pr-t-body); line-height: var(--pr-lh-body); color: var(--pr-ink-2); }
@media (prefers-reduced-motion: no-preference) { .hm-faq__item[open] p { animation: hm-open .3s var(--pr-ease) both; } }
@keyframes hm-open { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* ---------------------------------------------------------------- 10. closing download panel (+ /download/, modules, SEO pages) */
.hm-final {
  position: relative; display: grid; gap: 32px; align-items: center; overflow: hidden;
  padding: 40px 24px; border-radius: 32px; border: 1px solid var(--pr-line);
  background:
    radial-gradient(60% 90% at 100% 0%, rgba(0, 217, 255, .20), transparent 70%),
    radial-gradient(50% 80% at 0% 100%, rgba(33, 230, 193, .14), transparent 70%),
    var(--pr-raised);
}
[dir="rtl"] .hm-final {
  background:
    radial-gradient(60% 90% at 0% 0%, rgba(0, 217, 255, .20), transparent 70%),
    radial-gradient(50% 80% at 100% 100%, rgba(33, 230, 193, .14), transparent 70%),
    var(--pr-raised);
}
:root[data-theme="dark"] .hm-final { background-color: color-mix(in srgb, var(--pr-raised) 88%, transparent); }
@media (min-width: 768px) { .hm-final { padding: 56px; } }
@media (min-width: 1024px) { .hm-final { grid-template-columns: minmax(0, 1fr) auto; gap: 64px; padding: 72px; } }
.hm-final__copy .hm-lead { margin-top: 12px; }
.hm-final .hm-stores { margin-top: 28px; }
.hm-final__web { margin: 16px 0 0; }
.hm-final .hm-qr { background: var(--pr-glass-strong); }

/* /download/ */
.hm-dlpage { padding-top: 40px; }
.hm-dlpage__logo { display: block; width: 64px; height: 64px; margin-bottom: 28px; border-radius: 16px; }
.hm-dlpage__title { font-size: clamp(2.25rem, 1.6rem + 2.6vw, 3.5rem); }
.hm-dlpage .hm-lead { margin-top: 16px; }
.hm-dlpage .hm-fine { margin-top: 12px; }
.hm-dlpage .hm-qr { margin-top: 32px; }
.hm-dlpage__phone { display: none; }
@media (min-width: 900px) {
  .hm-dlpage .hm-final { grid-template-columns: minmax(0, 1fr) 260px; gap: 64px; }
  .hm-dlpage__phone { display: block; width: 260px; }
}
@media (prefers-reduced-motion: reduce) { .hm-top__card, .hm-phone--card, .hm-review, .hm-plan, .hm-dl__panel { transition: none; } }

/* ================================================================
   Round 2: phones and tablets feel like an app screen (owner: most visits are from phones).
   Centred, tight vertical rhythm, swipeable rows instead of long stacks, 16px gutters, 44px+ targets.
   ================================================================ */
@media (max-width: 1023px) {
  .hm-head, .hm-head--row { flex-direction: column; align-items: center; text-align: center; margin-inline: auto; }
  .hm-head .hm-lead, .hm-head--row .hm-lead { margin-inline: auto; }
  .hm-split__copy, .hm-faq__head, .hm-final__copy { text-align: center; }
  .hm-split__copy .hm-lead { margin-inline: auto; }
  .hm-split__copy .hm-checks, .hm-split__copy .hm-tracks { text-align: start; max-width: 30rem; margin-inline: auto; }
  .hm-split__copy .hm-prompts__list { justify-items: center; }
  .hm-split__copy .hm-exam__facts { justify-content: center; }
  .hm-final { justify-items: center; }
  .hm-final .hm-stores { justify-content: center; }
  .hm-student { flex-direction: column; text-align: center; }
  .hm-plans__foot { flex-direction: column; align-items: center; text-align: center; }
  .hm-faq__list { max-width: 40rem; width: 100%; margin-inline: auto; }
}

@media (max-width: 767px) {
  .hm-hero { gap: 28px; padding-top: 20px; }
  .hm-hero__title { font-size: clamp(2.125rem, 1.1rem + 5.2vw, 2.75rem); }
  .hm-hero__ctas { margin-top: 24px; }
  .hm-phone--hero { width: min(64vw, 270px); }
  .hm-proof { padding-top: 32px; }
  .hm-proof__list { padding: 18px 12px; gap: 14px 8px; }
  .hm-proof__value { font-size: 1.375rem; }
  .hm-proof__label { font-size: var(--pr-t-caption); }
  .hm-head .hm-lead { font-size: 1rem; margin-top: 10px; }
  .hm-h2 { font-size: clamp(1.625rem, 1.2rem + 2vw, 2rem); }

  /* Swipe rows: the next card peeks in from the edge so the row reads as swipeable. */
  .hm-top, .hm-wall, .hm-plans {
    display: grid; grid-auto-flow: column; grid-auto-columns: 84%; grid-template-columns: none; gap: 12px;
    margin-inline: -16px; padding: 4px 16px 12px; overflow-x: auto; overflow-y: hidden;
    /* Vertical swipes that start on a row scroll the page (one-axis scroller, x-only overscroll, both pan axes allowed). */
    overscroll-behavior-x: contain; overscroll-behavior-y: auto; touch-action: pan-x pan-y pinch-zoom;
    scroll-snap-type: x mandatory; scroll-padding-inline: 16px; scrollbar-width: none;
  }
  .hm-top::-webkit-scrollbar, .hm-wall::-webkit-scrollbar, .hm-plans::-webkit-scrollbar { display: none; }
  .hm-top > *, .hm-wall > *, .hm-plans > * { scroll-snap-align: start; min-width: 0; }
  .hm-top { margin-top: 24px; --hm-card-shot: 360px; }
  .hm-top__shot { padding: 24px 16px 20px; min-height: calc(var(--hm-card-shot) + 44px); }
  .hm-top__body { padding: 18px 18px 20px; text-align: center; align-items: center; }
  .hm-top__title { font-size: 1.25rem; }
  .hm-top__text { font-size: var(--pr-t-small); }
  .hm-wall { margin-top: 24px; align-items: stretch; }
  .hm-wall__item--lead .hm-review { padding: 24px; }
  .hm-wall__item--lead .hm-review__quote { font-size: 1.375rem; }
  .hm-review { padding: 22px; gap: 16px; }
  .hm-plans { margin-top: 24px; grid-auto-columns: 86%; padding-top: 16px; }
  .hm-plan { padding: 24px 20px; }
  .hm-plan__price { font-size: 2rem; }

  .hm-carousel { margin-top: 40px; }
  .hm-video { margin-top: 24px; }
  .hm-band { padding: 28px 16px; border-radius: 24px; }
  .hm-phone--side { width: min(60vw, 250px); }
  .hm-split { gap: 28px; }
  .hm-prompt { font-size: var(--pr-t-caption); }
  .hm-final { padding: 32px 20px; border-radius: 24px; }
  .hm-faq { gap: 16px; }
  .hm-faq__item summary { min-height: 56px; font-size: 1rem; padding: 14px 0; }
}

/* Tablets (portrait 768-1023): two-up grids, centred stacks, the hero phone a little smaller. */
@media (min-width: 768px) and (max-width: 1023px) {
  .hm-hero { padding-top: 40px; gap: 40px; }
  .hm-phone--hero { width: 320px; }
  .hm-top { --hm-card-shot: 380px; gap: 16px; }
  .hm-top__body { padding: 20px; }
  .hm-split--phone .hm-split__media { order: 2; }
  .hm-band { padding: 48px 40px; }
  .hm-wall__item--lead { grid-column: 1 / -1; }
}
.hm-top__mark { width: 88px; height: 88px; border-radius: 22px; }
