/* Home page (white + blue). Loaded only on the home page and scoped under
   .page-home so the other pages keep app.css until they are redesigned.
   Classes are prefixed hm- to stay clear of the app.css landing classes. */

.page-home {
  --blue: #1557ff;
  --blue-ink: #0b3fd1;
  --blue-wash: #eef3ff;
  --hm-blue-line: #d6e1ff;
  --ink: #0d1a3a;
  --ink-2: #3c4a6b;
  --muted: #5f6b88;
  --line: #e4e9f4;
  --surface: #ffffff;
  --surface-2: #f6f8fd;
  --hm-tint: #f6f8fd;
  --green: #0f9d63;
  --green-wash: #e6f7ef;
  --amber: #b86e00;
  --amber-wash: #fff4df;
  --red: #c43b3b;
  --red-wash: #fdecec;
  --hm-violet: #6b4ce6;
  --hm-violet-wash: #f0ecff;
  --hm-yellow: #ffcc33;
  --hm-shadow: 0 1px 2px rgba(13, 26, 58, .06), 0 8px 24px rgba(13, 26, 58, .06);
  --hm-shadow-lg: 0 2px 4px rgba(13, 26, 58, .05), 0 24px 60px rgba(21, 87, 255, .14);
  background: #fff;
  font-size: 15.5px;
}
.page-home .wrap { max-width: 1160px; }
.page-home h1, .page-home h2, .page-home h3 { text-wrap: balance; }

/* header and footer, home only */
.page-home .site-header { background: rgba(255, 255, 255, .92); }
.page-home .site-header::before { display: none; }
.page-home .brand { font-family: var(--sans); font-weight: 900; font-size: 1.3rem; }
.page-home .nav a { font-size: .9rem; }
.page-home .nav a.nav-cta { border-radius: 9px; box-shadow: 0 6px 16px rgba(21, 87, 255, .28); }
.page-home .site-footer { background: var(--hm-tint); margin-top: 84px; }
.page-home .btn { border-radius: 10px; }

/* buttons */
.hm-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-weight: 700; font-size: .95rem; border-radius: 10px; padding: 10px 18px; border: 1px solid transparent; cursor: pointer; text-decoration: none; transition: background-color .15s, box-shadow .15s; white-space: nowrap; }
.hm-btn-primary { background: var(--blue); color: #fff; box-shadow: 0 6px 16px rgba(21, 87, 255, .28); }
.hm-btn-primary:hover { background: var(--blue-ink); color: #fff; }
.hm-btn-white { background: #fff; color: var(--blue); }
.hm-btn-white:hover { background: var(--blue-wash); color: var(--blue); }
.hm-btn-outline { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.hm-btn-outline:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.hm-btn-sm { padding: 7px 14px; font-size: .88rem; border-radius: 9px; }
.hm-btn-lg { padding: 13px 24px; font-size: 1rem; }

/* hero */
.hm-hero { overflow-x: clip; padding-block: 56px 72px; background: radial-gradient(700px 360px at 12% 18%, var(--blue-wash), transparent 70%), #fff; }
.hm-hero-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 64px; align-items: center; }
@media (max-width: 980px) { .hm-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; } }
.hm-copy { position: relative; z-index: 3; }
.hm-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 700; color: var(--blue); background: var(--blue-wash); border: 1px solid var(--hm-blue-line); padding: 3px 12px 3px 10px; border-radius: 999px; }
.hm-eyebrow i { width: 7px; height: 7px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 4px rgba(21, 87, 255, .15); }
.hm-hero h1 { font-size: clamp(30px, 3.5vw, 42px); font-weight: 900; letter-spacing: -.4px; line-height: 1.5; margin: 18px 0 0; }
.hm-hero h1 span { display: block; }
.hm-hero h1 .l2 { color: var(--blue); background: linear-gradient(90deg, var(--blue), #4f86ff); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; padding-bottom: 4px; }
@media (min-width: 1100px) { .hm-hero h1 span { white-space: nowrap; } }
.hm-lead { color: var(--ink-2); font-size: 1.03rem; margin: 14px 0 0; max-width: 46ch; }

/* hero search */
.hm-finder { position: relative; margin-top: 30px; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 6px 8px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 8px; box-shadow: 0 2px 4px rgba(13, 26, 58, .04), 0 18px 44px rgba(21, 87, 255, .13); transition: box-shadow .2s, border-color .2s; }
.hm-finder:focus-within { border-color: var(--hm-blue-line); box-shadow: 0 0 0 5px rgba(21, 87, 255, .09), 0 18px 44px rgba(21, 87, 255, .16); }
.hm-field { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; min-width: 0; transition: background-color .15s; }
.hm-field:hover { background: var(--hm-tint); }
.hm-ic { width: 20px; height: 20px; flex: none; color: var(--blue); }
.hm-in { display: grid; min-width: 0; flex: 1; line-height: 1.5; }
.hm-lab { font-size: .75rem; font-weight: 700; color: var(--muted); }
.hm-in input { font: inherit; font-size: 1rem; font-weight: 500; border: 0; padding: 0; background: transparent; color: var(--ink); min-width: 0; width: 100%; box-shadow: none; }
.hm-in input::placeholder { color: #9aa5bf; }
.hm-in input:focus { outline: none; box-shadow: none; }
.hm-go { grid-column: 2; grid-row: 1; height: 54px; padding-inline: 22px; border-radius: 12px; font-size: .97rem; }
.hm-go svg { width: 16px; height: 16px; }
.hm-dest { position: relative; grid-column: 1 / -1; border-top: 1px solid var(--line); }
.hm-dest-btn { all: unset; box-sizing: border-box; display: flex; align-items: center; gap: 10px; padding: 10px 12px 4px; width: 100%; cursor: pointer; border-radius: 0 0 12px 12px; }
.hm-dest-btn:focus-visible { outline: 3px solid rgba(21, 87, 255, .35); }
.hm-dest-btn .hm-in { display: flex; align-items: baseline; gap: 10px; }
.hm-dest-btn .hm-ic { width: 18px; height: 18px; }
.hm-val { font-size: .95rem; font-weight: 700; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hm-chev { width: 12px; height: 12px; color: var(--muted); flex: none; transition: transform .2s; }
.hm-dest-btn[aria-expanded="true"] .hm-chev { transform: rotate(180deg); }
.hm-pop { position: absolute; z-index: 5; top: calc(100% + 14px); inset-inline-start: 0; width: 360px; max-width: calc(100vw - 40px); background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 24px 60px rgba(13, 26, 58, .18); padding: 16px; display: grid; gap: 12px; }
.hm-pop[hidden] { display: none; }
.hm-pop-head { display: flex; justify-content: space-between; font-size: .87rem; font-weight: 700; }
.hm-pop-head span { color: var(--muted); font-weight: 500; font-size: .8rem; }
.hm-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.hm-chips label { position: relative; cursor: pointer; }
.hm-chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.hm-chips span { display: inline-block; font-size: .8rem; font-weight: 500; border: 1px solid var(--line); background: #fff; color: var(--ink-2); border-radius: 999px; padding: 2px 12px; transition: all .12s; }
.hm-chips label:hover span { border-color: var(--hm-blue-line); }
.hm-chips input:checked + span { background: var(--blue); border-color: var(--blue); color: #fff; font-weight: 700; }
.hm-chips input:focus-visible + span { outline: 3px solid rgba(21, 87, 255, .35); outline-offset: 1px; }
.hm-chips input:disabled + span { opacity: .45; cursor: not-allowed; }
.hm-pop-done { justify-self: end; }
.hm-form-error { font-size: .85rem; color: var(--red); margin: 10px 0 0; }
.hm-form-error[hidden] { display: none; }
@media (max-width: 640px) {
  .hm-finder { grid-template-columns: minmax(0, 1fr); }
  .hm-go { width: 100%; grid-column: auto; grid-row: auto; }
}
.hm-examples { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; font-size: .83rem; color: var(--muted); align-items: center; }
.hm-examples button { font: inherit; font-size: .8rem; background: var(--hm-tint); border: 1px solid var(--line); color: var(--ink-2); cursor: pointer; padding: 2px 12px; border-radius: 999px; transition: all .15s; }
.hm-examples button:hover { border-color: var(--hm-blue-line); color: var(--blue); background: var(--blue-wash); }
.hm-trust { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .83rem; color: var(--ink-2); font-weight: 500; }
.hm-trust li { display: inline-flex; align-items: center; gap: 6px; }
.hm-trust svg { width: 15px; height: 15px; color: var(--green); }

/* hero dossier stack */
.hm-shot { max-width: 400px; justify-self: center; width: 100%; padding-top: 28px; margin: 0; }
.hm-stack { position: relative; }
.hm-ghost { position: absolute; inset: 0; border-radius: 22px; background: #fff; border: 1px solid var(--line); }
.hm-ghost.g1 { transform: translate(-22px, -16px) rotate(-3deg); box-shadow: var(--hm-shadow); padding: 24px; opacity: .9; }
.hm-ghost.g2 { transform: translate(-40px, -30px) rotate(-6deg); background: var(--blue-wash); border-color: var(--hm-blue-line); }
.hm-ghost i { display: block; height: 10px; width: 46%; border-radius: 9px; background: var(--hm-tint); }
.hm-ghost i + i { width: 30%; margin-top: 10px; }
.hm-dossier { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 24px; box-shadow: var(--hm-shadow-lg); display: grid; gap: 22px; animation: hm-bob 6s ease-in-out infinite; }
@keyframes hm-bob { 50% { transform: translateY(-6px); } }
.hm-d-top { display: flex; align-items: center; gap: 14px; }
.hm-avatar { flex: none; width: 52px; height: 52px; border-radius: 16px; background: linear-gradient(135deg, var(--blue), #5b8cff); color: #fff; font-weight: 800; font-size: 1.05rem; display: grid; place-items: center; direction: ltr; letter-spacing: 1px; }
.hm-d-who { min-width: 0; flex: 1; display: grid; line-height: 1.55; }
.hm-d-who b { font-size: 1rem; direction: ltr; text-align: right; letter-spacing: .5px; }
.hm-d-who span { font-size: .8rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hm-d-rank { flex: none; align-self: start; font-size: .72rem; font-weight: 700; color: var(--blue); background: var(--blue-wash); padding: 2px 10px; border-radius: 999px; }
.hm-d-mid { display: flex; align-items: center; gap: 20px; }
.hm-ring { position: relative; width: 92px; height: 92px; flex: none; }
.hm-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.hm-ring circle { fill: none; stroke-width: 7; }
.hm-ring .bg { stroke: var(--blue-wash); }
.hm-ring .fg { stroke: var(--blue); stroke-linecap: round; }
.hm-ring span { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; font-size: .7rem; color: var(--muted); line-height: 1.3; }
.hm-ring b { font-size: 1.25rem; font-weight: 900; color: var(--ink); }
.hm-d-facts { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; align-content: center; }
.hm-d-papers { flex-basis: 100%; font-size: .8rem; color: var(--ink-2); }
.hm-d-mail { display: flex; align-items: center; gap: 10px; background: var(--green-wash); color: var(--green); border-radius: 14px; padding: 10px 12px; font-size: .83rem; font-weight: 700; }
.hm-d-mail-ic { width: 30px; height: 30px; border-radius: 9px; background: #fff; display: grid; place-items: center; flex: none; }
.hm-d-open { margin-inline-start: auto; font-size: .75rem; background: var(--green); color: #fff; padding: 3px 12px; border-radius: 8px; }
.hm-shot figcaption { font-size: .75rem; color: var(--muted); margin-top: 14px; text-align: center; }
@media (max-width: 420px) {
  .hm-ghost.g1 { transform: translate(-10px, -12px) rotate(-3deg); }
  .hm-ghost.g2 { transform: translate(-18px, -22px) rotate(-6deg); }
  .hm-dossier { padding: 18px; }
}

/* tags used in the hero card and the signals grid */
.hm-tag { display: inline-block; font-size: .75rem; font-weight: 700; padding: 2px 10px; border-radius: 6px; line-height: 1.8; white-space: nowrap; }
.hm-tag-fund { background: var(--green-wash); color: var(--green); }
.hm-tag-t1 { background: var(--red-wash); color: var(--red); }
.hm-tag-t2 { background: var(--amber-wash); color: var(--amber); }
.hm-tag-t3 { background: var(--blue-wash); color: var(--blue); }
.hm-tag-early { background: var(--hm-violet-wash); color: var(--hm-violet); }
.hm-tag-off { background: var(--hm-tint); color: var(--muted); }

/* sections */
.hm-section { padding-block: 84px; }
.hm-head { max-width: 640px; }
.hm-head.center { margin-inline: auto; text-align: center; }
.hm-kicker { font-size: .83rem; font-weight: 700; color: var(--blue); margin: 0; }
.hm-head h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 900; margin: 6px 0 0; }
.hm-head p:not(.hm-kicker) { color: var(--ink-2); margin: 10px 0 0; }
.hm-band { background: var(--blue); color: #fff; position: relative; overflow: hidden; }
.hm-band::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .14) 1px, transparent 1.2px); background-size: 22px 22px; -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .9), transparent 70%); mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .9), transparent 70%); pointer-events: none; }
.hm-band > .wrap { position: relative; }
.hm-band h2 { color: #fff; }
.hm-band .hm-kicker { color: #c9d8ff; }
.hm-band .hm-head p:not(.hm-kicker) { color: #dbe5ff; }

/* steps */
.hm-steps { list-style: none; padding: 0; margin: 44px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: s; }
@media (max-width: 980px) { .hm-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .hm-steps { grid-template-columns: minmax(0, 1fr); } }
.hm-step { background: #fff; color: var(--ink); border-radius: 18px; padding: 18px; display: flex; flex-direction: column; gap: 6px; box-shadow: 0 10px 30px rgba(5, 25, 90, .18); }
.hm-step-n { counter-increment: s; font-size: .75rem; font-weight: 800; color: var(--blue); }
.hm-step-n::before { content: "مرحله‌ی " counter(s, persian); }
.hm-step h3 { font-size: 1.03rem; font-weight: 800; margin: 0; }
.hm-step p { font-size: .85rem; color: var(--ink-2); line-height: 1.8; margin: 0; }
.hm-mini { margin-top: auto; padding-top: 12px; }
.hm-mini-box { background: var(--hm-tint); border: 1px solid var(--line); border-radius: 10px; padding: 10px; font-size: .75rem; }
.hm-caret { display: inline-block; width: 2px; height: 1em; background: var(--blue); vertical-align: middle; margin-inline-start: 2px; animation: hm-blink 1.1s steps(1) infinite; }
@keyframes hm-blink { 50% { opacity: 0; } }
.hm-mini-q { list-style: none; margin: 0; display: grid; gap: 5px; direction: ltr; }
.hm-mini-q li { background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 2px 8px; font-size: .72rem; color: var(--ink-2); }
.hm-funnel { display: grid; gap: 5px; }
.hm-funnel div { width: var(--w); background: var(--blue); color: #fff; border-radius: 6px; padding: 2px 8px; font-size: .7rem; white-space: nowrap; }
.hm-funnel div:nth-child(2) { background: #4a7dff; }
.hm-funnel div:nth-child(3) { background: #8aabff; color: var(--ink); }
.hm-send { display: grid; gap: 6px; }
.hm-send .fake { background: var(--blue); color: #fff; border-radius: 7px; text-align: center; font-weight: 700; padding: 3px; }
.hm-status { display: flex; align-items: center; gap: 6px; color: var(--ink-2); }
.hm-status i { width: 7px; height: 7px; border-radius: 50%; background: var(--blue); }
.hm-status i.due { background: #f0b44c; }

/* signals */
.hm-sig-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 40px; }
@media (max-width: 900px) { .hm-sig-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .hm-sig-grid { grid-template-columns: minmax(0, 1fr); } }
.hm-sig { border: 1px solid var(--line); border-radius: 18px; padding: 20px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.hm-sig:hover { border-color: var(--hm-blue-line); box-shadow: var(--hm-shadow); }
.hm-sig-top { min-height: 44px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.hm-sig h3 { font-size: 1rem; font-weight: 800; margin: 12px 0 0; }
.hm-sig p { font-size: .85rem; color: var(--ink-2); margin: 6px 0 0; line-height: 1.85; }
.hm-rel { display: grid; gap: 3px; width: 160px; font-size: .8rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.hm-rel .bar { height: 7px; border-radius: 9px; background: var(--blue-wash); overflow: hidden; }
.hm-rel .bar i { display: block; height: 100%; background: var(--blue); border-radius: 9px; }

/* sample email */
.hm-letter-sec { background: var(--hm-tint); border-block: 1px solid var(--line); }
.hm-letter-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 48px; align-items: center; }
@media (max-width: 900px) { .hm-letter-grid { grid-template-columns: minmax(0, 1fr); } }
.hm-points { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.hm-points li { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 12px; }
.hm-points .n { width: 30px; height: 30px; border-radius: 9px; background: #fff; border: 1px solid var(--hm-blue-line); color: var(--blue); font-weight: 800; display: grid; place-items: center; font-size: .83rem; }
.hm-points b { display: block; font-size: .95rem; }
.hm-points span { font-size: .85rem; color: var(--ink-2); }
.hm-letter { background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--hm-shadow); overflow: hidden; }
.hm-letter-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; padding: 12px 18px; border-bottom: 1px solid var(--line); font-size: .8rem; color: var(--muted); }
.hm-score { display: inline-flex; align-items: center; gap: 6px; background: var(--green-wash); color: var(--green); font-weight: 700; padding: 2px 10px; border-radius: 999px; }
.hm-letter-body { direction: ltr; text-align: left; padding: 16px 20px 20px; font-size: .85rem; line-height: 1.75; font-family: Georgia, "Times New Roman", serif; color: var(--ink); }
.hm-letter-body dl { margin: 0 0 14px; display: grid; gap: 4px; font-family: var(--sans); font-size: .8rem; }
.hm-letter-body dl div { display: grid; grid-template-columns: 62px minmax(0, 1fr); gap: 8px; }
.hm-letter-body dt { color: var(--muted); }
.hm-letter-body dd { margin: 0; font-weight: 600; }
.hm-letter-body p { margin: 0; }
.hm-letter-body p + p { margin-top: 10px; }
.hm-redact { display: inline-block; width: 74px; height: .9em; background: var(--ink); border-radius: 3px; vertical-align: -1px; opacity: .85; }
.hm-hl { background: var(--blue-wash); box-shadow: inset 0 -2px 0 var(--blue); padding: 0 2px; }
.hm-hl2 { background: var(--amber-wash); box-shadow: inset 0 -2px 0 #f0b44c; padding: 0 2px; }
.hm-pin { font-family: var(--sans); direction: rtl; font-size: .72rem; font-weight: 700; display: inline-flex; margin-top: 4px; }
.hm-pin.blue { color: var(--blue); }
.hm-pin.amber { color: var(--amber); }

/* comparison */
.hm-cmp-wrap { margin-top: 36px; overflow-x: auto; border: 1px solid var(--line); border-radius: 18px; }
.hm-cmp { width: 100%; border-collapse: collapse; min-width: 620px; font-size: .9rem; }
.hm-cmp th, .hm-cmp td { padding: 14px 18px; text-align: right; border-top: 1px solid var(--line); vertical-align: top; }
.hm-cmp thead th { border-top: 0; background: var(--hm-tint); font-size: .83rem; color: var(--muted); font-weight: 700; }
.hm-cmp thead th.us { background: var(--blue); color: #fff; }
.hm-cmp tbody th { font-weight: 700; width: 24%; }
.hm-cmp td { color: var(--ink-2); }
.hm-cmp td.us { background: var(--blue-wash); color: var(--ink); font-weight: 600; }
.hm-note { font-size: .8rem; color: var(--muted); margin: 12px 0 0; }

/* pricing */
.hm-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 48px; align-items: center; }
@media (max-width: 900px) { .hm-plans { grid-template-columns: minmax(0, 1fr); max-width: 440px; margin-inline: auto; } }
.hm-plan { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .28); border-radius: 18px; padding: 24px; color: #fff; display: flex; flex-direction: column; gap: 14px; }
.hm-plan h3 { color: inherit; font-size: .95rem; font-weight: 800; margin: 0; }
.hm-plan p { margin: 0; }
.hm-plan.feat { background: #fff; color: var(--ink); border: 0; padding: 32px 26px; box-shadow: 0 30px 70px rgba(3, 20, 80, .35); position: relative; }
.hm-ribbon { position: absolute; top: -13px; inset-inline-start: 50%; transform: translateX(50%); background: var(--hm-yellow); color: var(--ink); font-size: .75rem; font-weight: 800; padding: 3px 14px; border-radius: 999px; white-space: nowrap; }
.hm-plan-tag { font-size: .8rem; opacity: .8; margin-top: 2px !important; }
.hm-plan-qty { font-size: .83rem; opacity: .85; }
.hm-plan-qty b { font-size: 1.9rem; font-weight: 900; margin-inline-end: 4px; }
.hm-plan.feat .hm-plan-qty b { color: var(--blue); }
.hm-was { font-size: .83rem; display: flex; gap: 8px; align-items: center; }
.hm-was s { opacity: .7; }
.hm-off { font-size: .72rem; font-weight: 800; background: var(--hm-yellow); color: var(--ink); padding: 0 8px; border-radius: 6px; }
.hm-now { font-size: .9rem; }
.hm-now b { font-size: 1.5rem; font-weight: 900; font-variant-numeric: tabular-nums; }
.hm-per { font-size: .8rem; opacity: .8; }
.hm-plan.feat .hm-per { opacity: 1; color: var(--muted); }
.hm-plan ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 7px; font-size: .85rem; }
.hm-plan li { display: flex; gap: 8px; align-items: center; }
.hm-plan li::before { content: ""; width: 16px; height: 16px; flex: none; border-radius: 5px; background: rgba(255, 255, 255, .18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.2 2.2 4.8-4.8' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 11px no-repeat; }
.hm-plan.feat li::before { background-color: var(--blue); }
.hm-plan .hm-btn { width: 100%; }
.hm-price-note { text-align: center; color: #dbe5ff; font-size: .85rem; margin: 28px 0 0; }

/* faq */
.hm-faq-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); gap: 48px; align-items: start; }
@media (max-width: 900px) { .hm-faq-grid { grid-template-columns: minmax(0, 1fr); } }
.hm-help { margin-top: 24px; background: var(--blue); color: #fff; border-radius: 18px; padding: 22px; display: grid; gap: 8px; }
.hm-help b { font-size: 1rem; }
.hm-help p { font-size: .85rem; color: #dbe5ff; margin: 0; }
.hm-help a { color: #fff; font-weight: 700; }
.hm-help .hm-btn { justify-self: start; margin-top: 6px; }
.hm-faq { display: grid; gap: 10px; }
.hm-faq details { border: 1px solid var(--line); border-radius: 12px; background: #fff; transition: border-color .2s; }
.hm-faq details[open] { border-color: var(--hm-blue-line); box-shadow: var(--hm-shadow); }
.hm-faq summary { list-style: none; cursor: pointer; padding: 14px 18px; font-weight: 700; font-size: .92rem; display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.hm-faq summary::-webkit-details-marker { display: none; }
.hm-faq summary::after { content: "+"; flex: none; width: 24px; height: 24px; border-radius: 8px; background: var(--hm-tint); color: var(--blue); display: grid; place-items: center; font-weight: 700; transition: transform .2s; }
.hm-faq details[open] summary::after { transform: rotate(45deg); background: var(--blue-wash); }
.hm-faq details p { padding: 0 18px 16px; color: var(--ink-2); font-size: .9rem; margin: 0; }

/* guides */
.hm-guides-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; }
.hm-guides { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 32px; }
@media (max-width: 900px) { .hm-guides { grid-template-columns: minmax(0, 1fr); } }
.hm-guide { border: 1px solid var(--line); border-radius: 18px; padding: 20px; display: flex; flex-direction: column; gap: 8px; color: var(--ink); text-decoration: none; transition: border-color .2s, transform .2s, box-shadow .2s; }
.hm-guide:hover { border-color: var(--hm-blue-line); transform: translateY(-2px); box-shadow: var(--hm-shadow); color: var(--ink); }
.hm-guide .topic { font-size: .75rem; font-weight: 700; color: var(--blue); background: var(--blue-wash); align-self: start; padding: 1px 10px; border-radius: 999px; }
.hm-guide h3 { font-size: .97rem; font-weight: 800; line-height: 1.7; margin: 0; }
.hm-guide .more { margin-top: auto; font-size: .83rem; color: var(--blue); font-weight: 600; }

/* closing call to action */
.hm-cta { background: linear-gradient(135deg, var(--blue) 0%, var(--blue-ink) 100%); border-radius: 24px; padding: 44px; color: #fff; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; position: relative; overflow: hidden; }
.hm-cta::after { content: ""; position: absolute; inset-inline-start: -60px; top: -80px; width: 280px; height: 280px; border-radius: 50%; border: 40px solid rgba(255, 255, 255, .07); }
.hm-cta > * { position: relative; z-index: 1; }
.hm-cta h2 { color: #fff; font-size: clamp(22px, 2.6vw, 28px); font-weight: 900; margin: 0; }
.hm-cta p { color: #dbe5ff; margin: 6px 0 0; }
@media (max-width: 560px) { .hm-cta { padding: 28px 22px; } }

.hm-reveal { animation: hm-rise .7s cubic-bezier(.2, .7, .2, 1) both; }
.hm-reveal.d2 { animation-delay: .16s; }
@keyframes hm-rise { from { transform: translateY(14px); opacity: .001; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .hm-dossier, .hm-caret, .hm-reveal { animation: none; }
}
