/* Page styles for the hg design shell: body.hg.hg-landing
   Linked after homeguide.css when a view sets
     <% content_for :design, "hg" %>
     <% content_for :hg_page, "landing" %>

   Start EVERY selector with .hg-landing (for example: .hg-landing .hero { ... }).
   This file is also linked on un-migrated pages by stylesheet_link_tag :app,
   so an unscoped selector would restyle them; test/integration/hg_shell_test.rb
   fails if one slips in. Use the tokens from homeguide.css (var(--ink),
   var(--s-6), ...). No :root, no @import, no CSS nesting (Safari 15.4 floor).
   Prefix @keyframes names with hg-landing-.

   Ported from design/final/src/landing.css. Differences from the mockup:
   - Inspector photos come from the sample report at 143px wide, so they are
     shown as thumbnails (the hero card and the demo issues use the report's
     issue-card layout) instead of the mockup's large two-photo rows.
   - The upload boxes are links to /start, so they are not drawn as drop
     targets on wide screens.
   - A paid-pricing block and the guides strip, which the mockup did not have. */

.hg-landing section { scroll-margin-top: 80px; }

/* ---------- hero ---------- */
.hg-landing .hero { padding: 24px 0 12px; overflow: hidden; }
.hg-landing .hero-grid { display: grid; gap: 28px; }
.hg-landing .hero h1 { font-size: clamp(2.125rem, 1.25rem + 3.6vw, 3.625rem); }
.hg-landing .hero h1 em { display: block; }
.hg-landing .hero-copy { min-width: 0; }
.hg-landing .hero-copy .eyebrow { margin-bottom: 16px; }
.hg-landing .hero-copy .lead { margin-top: 16px; max-width: 52ch; }
.hg-landing .promo-badge { height: auto; min-height: 30px; margin-top: 18px; padding: 4px 12px; font-size: var(--text-small); white-space: normal; }
.hg-landing .promo-badge span { font-weight: 500; }
.hg-landing .hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hg-landing .hero-note { display: flex; gap: 8px; align-items: flex-start; margin-top: 14px; font-size: var(--text-small); color: var(--ink-3); }
.hg-landing .hero-note .icon { width: 16px; height: 16px; margin-top: 2px; }
.hg-landing .hero-drop { margin-top: 20px; text-decoration: none; }
.hg-landing .hero-sample { margin-top: 12px; text-align: center; font-size: .9375rem; }
.hg-landing .hero-sample .link { display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px; }
@media (max-width: 719px) {
  .hg-landing .hero-copy .eyebrow { display: none; }
  .hg-landing .hero-copy .lead { font-size: 1.0625rem; }
  .hg-landing .hero-cta .btn { width: 100%; }
}
/* Side by side from 1120px (the mockup used 1040px, where the headline had
   364px and broke into six lines); a slightly smaller headline until 1280px. */
@media (min-width: 1120px) {
  .hg-landing .hero { padding: 64px 0 56px; }
  .hg-landing .hero-grid { grid-template-columns: minmax(0, 1fr) 572px; gap: 40px; align-items: center; }
}
@media (min-width: 1120px) and (max-width: 1279px) { .hg-landing .hero h1 { font-size: 3rem; } }

/* the transformation: the PDF page (desktop) and the issue card it becomes */
.hg-landing .hv { position: relative; max-width: 440px; min-width: 0; }
.hg-landing .sheets { display: none; }
.hg-landing .sheet { background: #FFFEFC; border: 1px solid #D9D0C0; border-radius: 3px; box-shadow: var(--shadow-2); }
.hg-landing .sheet-back1, .hg-landing .sheet-back2 { position: absolute; inset: 0; }
.hg-landing .sheet-back1 { transform: rotate(1.8deg) translate(4px, 2px); }
.hg-landing .sheet-back2 { transform: rotate(3.6deg) translate(8px, 4px); }
/* Decorative and aria-hidden: the one place type goes below 13px (spec rule 7). */
.hg-landing .sheet-front { position: relative; height: 440px; overflow: hidden; padding: 20px 20px 12px; font: 400 8.2px/1.5 Georgia, "Times New Roman", serif; color: #57544B; }
.hg-landing .sh-top { display: flex; justify-content: space-between; gap: 8px; font: 700 6.2px/1 Arial, sans-serif; letter-spacing: .06em; color: #77736A; padding-bottom: 6px; border-bottom: 1.5px solid #77736A; margin-bottom: 8px; white-space: nowrap; }
.hg-landing .sh-h { font: 700 8.5px/1 Arial, sans-serif; letter-spacing: .1em; color: #3D3B35; background: #EAE6DC; padding: 4px 6px; margin-bottom: 7px; }
.hg-landing .sheet-front p { margin-bottom: 6px; text-align: justify; -webkit-hyphens: auto; hyphens: auto; }
.hg-landing .sheet-front mark { background: #F5E3A6; color: #2B2A26; padding: 1.5px 0; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.hg-landing .sh-photos { display: flex; gap: 6px; margin: 3px 0 8px; }
.hg-landing .sh-photos i { display: block; width: 84px; height: 63px; border: 1px solid #CFC8BA; background: var(--landing-photo) center / cover no-repeat; }
.hg-landing .sh-foot { position: absolute; left: 16px; right: 16px; bottom: 0; padding: 5px 0 9px; text-align: center; font: 400 6px/1 Arial, sans-serif; color: #8A867B; border-top: 1px solid #D9D3C6; background: #FFFEFC; }
.hg-landing .tag { position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px 8px 10px; border-radius: 99px; background: var(--ink); color: var(--surface); font: 600 var(--text-micro)/1 var(--font-sans); white-space: nowrap; box-shadow: var(--shadow-2); }
.hg-landing .tag .icon { width: 14px; height: 14px; }
.hg-landing .tag-pdf { top: -14px; left: -8px; }

.hg-landing .hcard { position: relative; z-index: 2; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-3); }
.hg-landing .hc-head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.hg-landing .hc-ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--green-100); color: var(--green-800); flex: none; }
.hg-landing .hc-ic .icon { width: 20px; height: 20px; }
.hg-landing .hc-head b { display: block; font-weight: 600; line-height: 1.3; }
.hg-landing .hc-head div span { display: block; font-size: var(--text-small); color: var(--ink-3); line-height: 1.35; }
.hg-landing .hc-body { padding: 14px 16px 16px; }
.hg-landing .hc-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 14px; }
.hg-landing .hc-cta .btn { min-height: 44px; }
.hg-landing .hc-cta .icon { width: 16px; height: 16px; }
.hg-landing .hcard-plain .hc-body { padding-top: 18px; }

/* the email we write (from the sample plan) and the conversations after it */
.hg-landing .hm-subj { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px; align-items: baseline; padding: 11px 16px; border-bottom: 1px solid var(--line); font-size: var(--text-small); line-height: 1.4; }
.hg-landing .hm-subj span { color: var(--ink-3); font-size: var(--text-micro); }
.hg-landing .hm-subj b { font-weight: 600; text-wrap: pretty; }
.hg-landing .hm-body { font-size: .9375rem; line-height: 1.5; color: var(--ink-2); }
.hg-landing .hm-items { margin-top: 8px; padding-left: 18px; list-style: disc; color: var(--ink); font-weight: 500; }
.hg-landing .hm-items li + li { margin-top: 3px; }
.hg-landing .hm-items li::marker { color: var(--gold-500); }
.hg-landing .hm-close { margin-top: 10px; }
.hg-landing .hm-att { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-size: var(--text-micro); color: var(--ink-3); }
.hg-landing .hm-att i { display: block; width: 48px; height: 36px; flex: none; border-radius: 6px; border: 1px solid var(--line); background: var(--paper-deep) var(--landing-photo) center / cover no-repeat; }
.hg-landing .hm-send { display: flex; align-items: center; gap: 8px; padding: 11px 16px; border-top: 1px solid var(--line); background: var(--surface-sunk); font-size: var(--text-small); font-weight: 600; color: var(--ink-2); }
.hg-landing .hm-send .icon { width: 15px; height: 15px; flex: none; color: var(--ink-3); }

.hg-landing .hconv { position: relative; z-index: 3; margin-top: 12px; padding: 12px 16px 6px; border-radius: 16px; box-shadow: var(--shadow-2); }
.hg-landing .hconv-h { display: flex; align-items: center; gap: 8px; font-size: var(--text-small); line-height: 1.3; }
.hg-landing .hconv-h .icon { width: 16px; height: 16px; flex: none; color: var(--green-600); }
.hg-landing .hconv-h b { font-weight: 600; }
.hg-landing .hconv-h span { margin-left: auto; font-size: var(--text-micro); color: var(--ink-3); }
.hg-landing .hconv-list { margin-top: 8px; }
.hg-landing .hconv-list li { display: grid; grid-template-columns: 10px minmax(0, 1fr) auto; gap: 0 10px; align-items: center; padding: 9px 0; border-top: 1px solid var(--line); font-size: var(--text-small); line-height: 1.3; }
.hg-landing .hconv-list span { font-weight: 600; }
.hg-landing .hconv-list b { font-weight: 600; color: var(--green-600); }
.hg-landing .hconv-list em { font-style: normal; color: var(--ink-3); }
.hg-landing .hv-note { margin-top: 10px; font-size: var(--text-micro); line-height: 1.45; color: var(--ink-3); text-align: center; text-wrap: balance; }
@media (max-width: 719px) {
  .hg-landing .hm-open, .hg-landing .hm-close, .hg-landing .split-ex { display: none; }
  .hg-landing .hm-items { margin-top: 0; }
  .hg-landing .dm-to .chip { padding: 0 8px; }
  .hg-landing .dm-row { grid-template-columns: 48px minmax(0, 1fr); padding-inline: 14px; }
}
@media (min-width: 1120px) {
  .hg-landing .hv { max-width: none; padding: 26px 0 0; }
  .hg-landing .hv-sheets { min-height: 548px; }
  .hg-landing .sheets { display: block; position: absolute; left: 0; top: 60px; width: 292px; transform: rotate(-2.5deg); transform-origin: 40% 0; }
  .hg-landing .hcard { margin-left: auto; width: 396px; }
  .hg-landing .hconv { width: 330px; margin: 14px 0 0 20px; box-shadow: var(--shadow-3); }
  .hg-landing .hv-note { margin-top: 14px; text-align: left; padding-left: 20px; }
  .hg-landing .hcard-plain { margin-inline: auto; }
}

/* ---------- proof strip ---------- */
.hg-landing .proof { padding: 28px 0 0; }
.hg-landing .proof-inner { border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); padding: 20px 0 26px; }
.hg-landing .proof-label { display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: center; justify-content: space-between; font-size: var(--text-small); font-weight: 600; color: var(--ink-2); }
.hg-landing .proof-label .link { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; }
.hg-landing .proof-label .icon { width: 15px; height: 15px; }
.hg-landing .proof-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 20px; margin-top: 12px; }
.hg-landing .proof-grid dt { font: 400 clamp(2.75rem, 2rem + 2.4vw, 3.75rem)/1 var(--font-display); letter-spacing: -.035em; color: var(--ink); }
.hg-landing .proof-grid dd { margin-top: 8px; font-size: .9375rem; line-height: 1.4; color: var(--ink-2); max-width: 22ch; }
@media (min-width: 800px) {
  .hg-landing .proof-grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 0; }
  .hg-landing .proof-grid > div { padding: 0 28px; border-left: 1px solid var(--line-strong); }
  .hg-landing .proof-grid > div:first-child { padding-left: 0; border-left: 0; }
}

/* ---------- differentiators ---------- */
.hg-landing .diff { padding: 56px 0 0; }
.hg-landing .feat { display: grid; gap: 22px; padding: 32px 0 36px; border-top: 1px solid var(--line-strong); }
.hg-landing .feat-n { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--gold-500); font: 500 1.25rem/1 var(--font-display); color: var(--gold-700); margin-bottom: 16px; }
.hg-landing .feat-copy > p { margin-top: 12px; color: var(--ink-2); font-size: 1.0625rem; line-height: 1.55; max-width: 46ch; }
.hg-landing .feat-copy .ticks { margin-top: 18px; }
.hg-landing .feat-ui { min-width: 0; background: var(--paper-deep); border-radius: var(--r-xl); padding: 14px; }
@media (min-width: 900px) {
  .hg-landing .diff { padding-top: 104px; }
  .hg-landing .feat { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 72px; align-items: start; padding: 64px 0; }
  .hg-landing .feat-solo { grid-template-columns: minmax(0, 1fr); }
  .hg-landing .feat-copy { padding-top: 40px; }
  .hg-landing .feat-solo .feat-copy { padding-top: 0; }
  .hg-landing .feat-flip .feat-copy { order: 2; }
  .hg-landing .feat-ui { padding: 40px; }
}

/* 1: two issues, in the report's own card layout (spec 6.3) */
.hg-landing .demo-issues { overflow: hidden; }
.hg-landing .issue { display: grid; grid-template-columns: 112px minmax(0, 1fr); grid-template-areas: "photo head" "sum sum" "side side"; gap: 12px 14px; padding: 18px 16px 16px; border-top: 1px solid var(--line); }
.hg-landing .issue:first-child { border-top: 0; }
.hg-landing .issue-nophoto { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "sum" "quote" "side"; }
.hg-landing .issue-photo { grid-area: photo; margin: 0; align-self: start; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; background: var(--paper-deep); border: 1px solid var(--line); }
.hg-landing .issue-photo img { width: 100%; height: 100%; object-fit: cover; }
.hg-landing .issue-head { grid-area: head; min-width: 0; }
.hg-landing .issue h4 { font: 600 1.0625rem/1.3 var(--font-sans); margin-top: 8px; letter-spacing: -.005em; text-wrap: pretty; }
.hg-landing .issue .loc { font-size: var(--text-small); color: var(--ink-3); margin-top: 4px; }
.hg-landing .issue-sum { grid-area: sum; color: var(--ink-2); line-height: 1.5; text-wrap: pretty; }
.hg-landing .issue-quote { grid-area: quote; }
.hg-landing .issue-side { grid-area: side; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 10px; border-top: 1px dashed var(--line); }
.hg-landing .issue .cost { font-weight: 700; color: var(--ink); white-space: nowrap; }
@media (min-width: 560px) {
  .hg-landing .issue { grid-template-columns: 136px minmax(0, 1fr); gap: 12px 18px; padding: 22px 22px 18px; }
  .hg-landing .issue-nophoto { grid-template-columns: minmax(0, 1fr); }
}
.hg-landing .demo-note { font-size: var(--text-micro); color: var(--ink-3); margin-top: 10px; text-align: center; text-wrap: balance; }

/* 2: the drafted email */
.hg-landing .demo-mail { overflow: hidden; }
.hg-landing .dm-row { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 8px; padding: 12px 18px; border-bottom: 1px solid var(--line); align-items: baseline; font-size: var(--text-small); }
.hg-landing .dm-l { color: var(--ink-3); font-size: var(--text-micro); }
.hg-landing .dm-to { display: flex; flex-wrap: wrap; gap: 6px; }
.hg-landing .dm-to .chip { background: var(--surface-sunk); font-weight: 500; }
.hg-landing .dm-subj { font-weight: 600; }
.hg-landing .dm-body { padding: 16px 18px 18px; font-size: .9375rem; line-height: 1.55; color: var(--ink-2); }
.hg-landing .dm-body p + p, .hg-landing .dm-body ul + p { margin-top: 10px; }
.hg-landing .dm-items { margin-top: 8px; padding-left: 18px; list-style: disc; }
.hg-landing .dm-items li + li { margin-top: 2px; }
.hg-landing .dm-items li::marker { color: var(--ink-3); }
.hg-landing .dm-att { display: flex; align-items: center; gap: 8px; margin-top: 14px; }
.hg-landing .dm-att i { display: block; width: 56px; height: 42px; flex: none; border-radius: 6px; border: 1px solid var(--line); background: var(--paper-deep) var(--landing-photo) center / cover no-repeat; }
.hg-landing .dm-track { background: var(--surface-sunk); border-top: 1px solid var(--line); padding: 4px 18px; }
.hg-landing .dm-track li { display: grid; grid-template-columns: 10px minmax(0, 1fr) auto; gap: 0 10px; align-items: center; padding: 9px 0; border-top: 1px solid var(--line); font-size: var(--text-small); }
.hg-landing .dm-track li:first-child { border-top: 0; }
.hg-landing .dm-track li span:nth-of-type(1) { font-weight: 600; }
.hg-landing .dm-track li span:nth-of-type(2) { color: var(--ink-3); }
.hg-landing .dm-track b { color: var(--green-600); }

/* 3: trade by trade */
.hg-landing .demo-path { overflow: hidden; }
.hg-landing .dp-head { display: flex; gap: 8px; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--line); background: var(--surface-sunk); font-size: var(--text-small); font-weight: 600; color: var(--ink-2); }
.hg-landing .dp-head .icon { width: 16px; height: 16px; color: var(--green-600); }
.hg-landing .dp-list > li { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "name chip" "steps steps"; gap: 14px 12px; align-items: start; padding: 16px 18px 18px; border-top: 1px solid var(--line); }
.hg-landing .dp-list > li:first-child { border-top: 0; }
.hg-landing .dp-name { grid-area: name; min-width: 0; }
.hg-landing .dp-name b { display: block; font-weight: 600; line-height: 1.3; }
.hg-landing .dp-name span { display: block; margin-top: 2px; font-size: var(--text-small); color: var(--ink-3); }
.hg-landing .dp-list .chip { grid-area: chip; }
.hg-landing .dp-list .steps { grid-area: steps; grid-template-columns: repeat(4, 1fr); }

.hg-landing .basics { display: flex; gap: 12px; align-items: flex-start; padding: 22px 0 0; border-top: 1px solid var(--line-strong); color: var(--ink-2); }
.hg-landing .basics .icon { margin-top: 2px; color: var(--green-600); }
.hg-landing .basics b { color: var(--ink); }

/* ---------- how it works ---------- */
.hg-landing .how { margin-top: 56px; padding: 48px 0; background: var(--paper-deep); }
.hg-landing .how-list li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; padding: 16px 0; border-top: 1px solid var(--line-strong); }
.hg-landing .how-n { font: 400 2.25rem/1 var(--font-display); color: var(--gold-700); }
.hg-landing .how-list h3 { font: 600 1.125rem/1.3 var(--font-sans); }
.hg-landing .how-list p { margin-top: 4px; color: var(--ink-2); }
.hg-landing .how-t { display: inline-flex; gap: 6px; align-items: center; margin-top: 10px; font-size: var(--text-micro); font-weight: 600; color: var(--ink-3); }
.hg-landing .how-t .icon { width: 14px; height: 14px; }
@media (max-width: 719px) { .hg-landing .how-t { display: none; } }
@media (min-width: 900px) {
  .hg-landing .how { margin-top: 96px; padding: 88px 0; }
  .hg-landing .how-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
  .hg-landing .how-list li { grid-template-columns: 1fr; gap: 14px; padding: 22px 0 0; border-top: 2px solid var(--ink); align-content: start; }
  .hg-landing .how-n { font-size: 2.75rem; }
}

/* ---------- two situations ---------- */
.hg-landing .split { padding: 56px 0; }
.hg-landing .split-grid { display: grid; gap: 16px; }
.hg-landing .split-card { padding: 24px 20px; border-radius: var(--r-xl); border: 1px solid var(--line); }
.hg-landing .split-a { background: var(--gold-50); border-color: #EADDB5; --tone: var(--gold-700); }
.hg-landing .split-b { background: var(--green-50); border-color: var(--green-200); --tone: var(--green-600); }
.hg-landing .split-ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--surface); color: var(--tone); border: 1px solid currentColor; }
.hg-landing .split-k { font-size: var(--text-small); font-weight: 600; margin-top: 18px; color: var(--tone); }
.hg-landing .split-card h3 { margin-top: 6px; max-width: 20ch; }
.hg-landing .split-card .ticks { margin-top: 18px; }
.hg-landing .split-card .ticks .icon { color: var(--tone); }
.hg-landing .split-ex { margin-top: 22px; padding: 14px 16px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); }
.hg-landing .split-ex p + p { margin-top: 2px; }
.hg-landing .split-ex b { font-weight: 700; }
@media (min-width: 900px) {
  .hg-landing .split { padding: 104px 0; }
  .hg-landing .split-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .hg-landing .split-card { padding: 40px; }
}

/* ---------- the whole deal (or pricing) + FAQ ---------- */
.hg-landing .deal { padding: 0 0 56px; }
.hg-landing .deal-lead { margin-top: 16px; color: var(--ink-2); font-size: 1.0625rem; max-width: 60ch; text-wrap: pretty; }
/* who is behind it: plain facts, no invented names or numbers */
.hg-landing .who { display: grid; gap: 10px; margin-bottom: 28px; padding: 20px; }
.hg-landing .who h3 { font: 600 1.0625rem/1.3 var(--font-sans); }
.hg-landing .who p { color: var(--ink-2); font-size: .9375rem; line-height: 1.5; overflow-wrap: anywhere; }
.hg-landing .who b { color: var(--ink); font-weight: 600; }
@media (min-width: 900px) { .hg-landing .who { grid-template-columns: repeat(3, 1fr); gap: 8px 40px; padding: 26px 32px; } .hg-landing .who h3 { grid-column: 1 / -1; } }
.hg-landing .deal-grid { display: grid; gap: 0; border-top: 1px solid var(--line-strong); }
.hg-landing .deal-grid li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.hg-landing .deal-grid li > .icon { width: 22px; height: 22px; margin-top: 2px; color: var(--green-600); }
.hg-landing .deal-grid h3 { font: 600 1.0625rem/1.3 var(--font-sans); }
.hg-landing .deal-grid p { margin-top: 3px; color: var(--ink-2); font-size: .9375rem; line-height: 1.5; overflow-wrap: anywhere; }
.hg-landing .faq-grid { margin-top: 40px; }
.hg-landing .faq-grid > h2 { margin-bottom: 16px; }
@media (min-width: 720px) {
  .hg-landing .deal-grid { grid-template-columns: 1fr 1fr; gap: 0 48px; }
}
@media (min-width: 1040px) {
  .hg-landing .deal { padding-bottom: 104px; }
  .hg-landing .deal-grid { grid-template-columns: repeat(3, 1fr); }
  .hg-landing .deal-grid li { padding: 22px 0; }
  .hg-landing .faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 72px; align-items: start; margin-top: 72px; }
}

/* paid funnel only: what one report includes, and the price card beside it */
.hg-landing .pricing { display: grid; gap: 24px; margin-bottom: 40px; }
.hg-landing .pricing .sec-head { margin-bottom: 24px; }
.hg-landing .price-features li { font-weight: 400; }
.hg-landing .price-card { padding: 24px 20px; }
.hg-landing .promo-tag { margin-bottom: 12px; }
.hg-landing .price-amount { display: flex; align-items: flex-start; gap: 2px; font: 400 4rem/1 var(--font-display); letter-spacing: -.035em; color: var(--ink); }
.hg-landing .price-amount sup { position: static; margin-top: .35em; font-size: .4em; line-height: 1; vertical-align: baseline; letter-spacing: 0; }
.hg-landing .price-was { align-self: center; margin-right: 10px; font: 500 1.25rem/1 var(--font-sans); letter-spacing: 0; color: var(--ink-3); text-decoration: line-through; }
.hg-landing .price-desc { margin: 8px 0 22px; font-size: var(--text-small); color: var(--ink-3); }
.hg-landing .price-reassure { margin-top: 12px; text-align: center; font-size: var(--text-small); color: var(--ink-3); }
.hg-landing .price-reassure .link { display: inline-flex; align-items: center; min-height: 44px; }
.hg-landing .price-reassure + .price-reassure { margin-top: 0; }
@media (min-width: 720px) { .hg-landing .price-features { grid-template-columns: 1fr 1fr; gap: 12px 32px; } }
@media (min-width: 960px) {
  .hg-landing .pricing { grid-template-columns: minmax(0, 1fr) 380px; gap: 72px; align-items: start; margin-bottom: 72px; }
  .hg-landing .price-card { padding: 32px; }
}

/* ---------- free guides ---------- */
.hg-landing .guides-strip { padding: 0 0 56px; }
.hg-landing .gs-inner { display: grid; gap: 20px; padding: 28px 0 0; border-top: 1px solid var(--line-strong); }
.hg-landing .gs-head .eyebrow { margin-bottom: 12px; }
.hg-landing .gs-all { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; margin-top: 8px; }
.hg-landing .gs-all .icon, .hg-landing .gs-list .icon { width: 16px; height: 16px; }
.hg-landing .gs-list { display: grid; gap: 10px; }
.hg-landing .gs-list a { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 60px; padding: 12px 16px; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow-1); text-decoration: none; font-weight: 600; line-height: 1.35; transition: border-color .15s; }
.hg-landing .gs-list a:hover { border-color: var(--line-field); }
.hg-landing .gs-list .icon { color: var(--green-600); }
@media (min-width: 900px) {
  .hg-landing .guides-strip { padding-bottom: 96px; }
  .hg-landing .gs-inner { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 72px; align-items: start; padding-top: 40px; }
}

/* ---------- closing band ---------- */
.hg-landing .final { padding: 0 0 56px; }
.hg-landing .final-panel { display: grid; gap: 24px; padding: 32px 20px; border-radius: var(--r-xl); color: var(--surface); background: radial-gradient(120% 150% at 100% 0%, #2A5A42 0%, var(--green-800) 58%); }
.hg-landing .final-panel h2 { color: var(--surface); max-width: 16ch; }
.hg-landing .final-panel > div:first-child > p { color: var(--on-dark-2); margin-top: 10px; }
.hg-landing .final-cta { min-width: 0; }
.hg-landing .final-cta > p { font-size: var(--text-small); margin-top: 12px; color: var(--on-dark-2); text-align: center; }
.hg-landing .final-cta > p a { display: inline-block; padding: 12px 2px; margin: -12px 0; color: var(--surface); text-underline-offset: 3px; }
.hg-landing .final-cta .drop { padding: 22px 16px 20px; text-decoration: none; }
.hg-landing .final-cta .drop .btn { width: 100%; max-width: 320px; }
@media (min-width: 900px) {
  .hg-landing .final { padding-bottom: 96px; }
  .hg-landing .final-panel { grid-template-columns: minmax(0, 1fr) 420px; align-items: center; padding: 56px 64px; gap: 56px; }
  .hg-landing .final-panel > div:first-child > p { font-size: var(--text-lead); }
  .hg-landing .final-cta .drop { padding: 30px 24px 26px; }
}
/* The upload boxes are links to /start: a file cannot be dropped on them, so
   on wide screens they are drawn as a panel, not as a dashed drop target. */
@media (min-width: 720px) { .hg-landing .final-cta .drop { border-style: solid; border-width: 1.5px; } }
