/* =====================================================================
   HOMEPAGE V3 — additive layer over css/home.css
   Loaded only on the landing page, after home.css and mtc-billing.css.
   It restyles the content layout (hero, tools, designs, pricing aside,
   FAQ) to the V.3 design without touching the shared nav/footer rules.
   Tokens come from home.css (:root) so the page stays on brand.
   ===================================================================== */

/* ---------- hero: copy on the left, "what you get" card on the right ---- */
.hero-v3 .hero-grid{grid-template-columns:minmax(0,1.04fr) minmax(0,.96fr);gap:56px;padding:60px 0 56px}
.hero-v3 h1{font-size:clamp(36px,5vw,64px);line-height:1;letter-spacing:-.04em}
.hero-lede{margin:22px 0 0;font-size:clamp(16.5px,1.35vw,19px);font-weight:800;letter-spacing:-.02em;color:var(--ink);line-height:1.35}
.hero-key{margin:22px 0 8px;max-width:50ch;padding:16px 16px 16px 22px;background:var(--green-l);
  border-left:3px solid var(--green-d);border-radius:0 12px 12px 0;font-size:16px;line-height:1.6;color:var(--ink-2)}
.hero-key b{color:var(--ink);font-weight:800}
.hero-v3 .hero-btns{margin-top:22px}
.hero-note{margin:16px 0 0;font-size:13.5px;line-height:1.5;color:var(--muted)}
.hero-art{position:relative;display:flex;align-items:center;justify-content:flex-end;padding:16px 0}
.hlist{width:100%;max-width:460px;background:var(--card);border:1px solid var(--line);border-radius:22px;
  box-shadow:var(--sh-3);padding:24px}
.hlist-top{margin:0 0 16px;padding-bottom:16px;border-bottom:1px solid var(--soft-2);
  font-size:12.5px;font-weight:800;letter-spacing:.1em;text-transform:uppercase;color:var(--green-d)}
.hlist ul{list-style:none;margin:0;padding:0;display:grid;gap:16px}
.hlist li{position:relative;padding-left:32px}
/* tick bullet, shared with the pricing card's .ticks list */
.hlist li::before,.pcardx .ticks li::before{content:"";position:absolute;left:0;top:1px;width:21px;height:21px;border-radius:50%;
  background:var(--green-l);border:1px solid var(--green-m)}
.hlist li::after,.pcardx .ticks li::after{content:"";position:absolute;left:6.5px;top:8px;width:7px;height:3.5px;
  border-left:2px solid var(--green-d);border-bottom:2px solid var(--green-d);transform:rotate(-45deg)}
.hlist b{display:block;font-size:15.5px;line-height:1.35;letter-spacing:-.015em;color:var(--ink)}
.hlist span{display:block;margin-top:3px;font-size:14px;line-height:1.5;color:var(--ink-2)}

/* ---------- section heads (title + lead, centred) ---------- */
.sec-head.v3{max-width:720px;margin-left:auto;margin-right:auto}
.sec-head.v3 .lead{margin-top:16px;max-width:60ch}
.cta-row{display:flex;flex-wrap:wrap;gap:12px}
.cta-row.centre{justify-content:center;margin-top:36px}

/* ---------- the four tools ---------- */
.quad{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.qcard{background:var(--card);border:1px solid var(--line);border-radius:var(--r);padding:24px;
  display:flex;flex-direction:column;box-shadow:var(--sh-1);transition:border-color .18s,box-shadow .18s,transform .22s}
.qcard:hover{border-color:var(--green-m);box-shadow:var(--sh-2);transform:translateY(-3px)}
.qic{display:grid;place-items:center;width:46px;height:46px;border-radius:12px;color:#fff;margin-bottom:16px}
.qic svg{width:22px;height:22px}
.qcard h3{font-size:19px;line-height:1.25;letter-spacing:-.02em;margin-bottom:8px}
.qcard p{margin:0 0 16px;font-size:14.5px;line-height:1.6;color:var(--muted)}
.qlink{margin-top:auto;font-size:14.5px;font-weight:800;color:var(--green-d);display:inline-flex;align-items:center;gap:6px}
.qlink::after{content:"\203A";font-size:17px;line-height:1;transition:transform .16s}
.qcard:hover .qlink::after{transform:translateX(3px)}
.qlink:hover{text-decoration:underline}

/* ---------- icon tiles (tools + how it works): white glyph on a gradient,
   same palette as the CV maker page's .vcard .ic ---------- */
.qic.g,.step .ic.g{background:linear-gradient(135deg,#13C98C,#059669)}
.qic.b,.step .ic.b{background:linear-gradient(135deg,#3B82F6,#1D4ED8)}
.qic.v,.step .ic.v{background:linear-gradient(135deg,#8B5CF6,#6D28D9)}
.qic.a,.step .ic.a{background:linear-gradient(135deg,#F59E0B,#D97706)}
.qic.t,.step .ic.t{background:linear-gradient(135deg,#22C1B6,#0E8F86)}
.qic.p,.step .ic.p{background:linear-gradient(135deg,#F472B6,#DB2777)}
.step-tag.g svg{color:#059669}
.step-tag.b svg{color:#1D4ED8}
.step-tag.v svg{color:#6D28D9}
.step-tag.a svg{color:#D97706}
.step-tag.t svg{color:#0E8F86}
.step-tag.p svg{color:#DB2777}

/* ---------- pricing: the plan card beside the tailoring offer ---------- */
.pricewrap{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.85fr);gap:32px;align-items:center;margin-top:8px}
.pcardx{background:var(--card);border:2px solid var(--green);border-radius:22px;padding:32px;
  box-shadow:0 1px 2px rgba(11,18,32,.05),0 24px 56px -22px rgba(11,18,32,.24)}
.pc-name{margin:0;font-size:12.5px;font-weight:800;letter-spacing:.11em;text-transform:uppercase;color:var(--green-d)}
.pc-price{margin:12px 0 0;display:flex;align-items:flex-start;gap:7px;line-height:1}
.pc-price .cur{font-size:16px;font-weight:800;color:var(--faint);margin-top:9px}
.pc-price b{font-family:var(--disp);font-size:clamp(46px,5vw,60px);font-weight:700;letter-spacing:-.045em;color:var(--ink)}
.pc-term{margin:8px 0 0;font-size:15px;font-weight:700;color:var(--ink-2)}
.pcardx .ticks{list-style:none;margin:24px 0;padding:0;display:flex;flex-direction:column;gap:11px}
.pcardx .ticks li{position:relative;padding-left:32px;font-size:15.5px;line-height:1.5;color:var(--ink-2)}
.btn-block{width:100%;justify-content:center}
.pc-fine{margin:12px 0 0;text-align:center;font-size:12.5px;color:var(--faint)}
.pside{background:var(--card);border:1px solid var(--line);border-radius:22px;padding:28px;box-shadow:var(--sh-2);
  display:flex;flex-direction:column}
.pside-tag{display:inline-flex;align-items:center;gap:6px;margin:0 0 14px;align-self:flex-start;
  font-size:11.5px;font-weight:800;letter-spacing:.1em;text-transform:uppercase;color:var(--green-d);
  background:var(--green-l);border:1px solid var(--green-m);border-radius:999px;padding:5px 11px}
.pside h3{font-size:22px;line-height:1.25;letter-spacing:-.025em;margin-bottom:12px}
.pside p{margin:0 0 18px;font-size:15.5px;line-height:1.65;color:var(--muted)}
.pside .btn{width:100%;justify-content:center}
.pside-note{margin:auto 0 0;padding-top:16px;border-top:1px solid var(--line);font-size:14px;color:var(--muted)}
.pside-note{margin-top:20px}

/* ---------- FAQ: heading beside the answers ---------- */
.faqgrid{display:grid;grid-template-columns:minmax(0,320px) minmax(0,1fr);gap:56px;align-items:start}
.faqgrid .side{position:sticky;top:104px}
.faqgrid .side .lead{margin-top:14px}
.faqgrid .faq-list{max-width:none;margin:0}

/* ---------- responsive: recomposed, not shrunk ---------- */
@media(max-width:1040px){
  .quad{grid-template-columns:repeat(2,minmax(0,1fr))}
  .pricewrap{grid-template-columns:1fr;gap:24px}
  .faqgrid{grid-template-columns:1fr;gap:28px}
  .faqgrid .side{position:static;text-align:center}
  .faqgrid .side .lead{margin-left:auto;margin-right:auto}
}
@media(max-width:980px){
  .hero-v3 .hero-grid{grid-template-columns:1fr;gap:28px;padding:48px 0 44px}
  .hero-v3 h1{font-size:clamp(33px,9vw,46px);letter-spacing:-.036em}
  .hero-lede{max-width:30ch;margin-left:auto;margin-right:auto;font-size:clamp(17px,4.6vw,21px)}
  .hero-key{max-width:34rem;margin-left:auto;margin-right:auto;text-align:center;padding:16px;
    border-left:0;border-top:3px solid var(--green-d);border-radius:0 0 12px 12px;font-size:clamp(15.5px,4vw,17px)}
  .hero-note{max-width:38ch;margin-left:auto;margin-right:auto}
  .hero-art{padding:0;justify-content:center}
  .hlist{max-width:none;text-align:left}
  .hlist-top{text-align:center}
}
@media(max-width:720px){
  .hero-v3 .hero-btns .btn{width:100%}
  .cta-row .btn{width:100%}
  .qlink{min-height:44px;align-items:center}
}
@media(max-width:620px){
  .quad{grid-template-columns:1fr;gap:12px}
  .qcard{display:grid;grid-template-columns:auto minmax(0,1fr);column-gap:16px;row-gap:8px;align-items:start;padding:16px}
  .qic{grid-row:1/3;margin-bottom:0;width:40px;height:40px;border-radius:11px}
  .qic svg{width:20px;height:20px}
  .qcard h3{align-self:center;margin-bottom:0}
  .qcard p{grid-column:2;margin:0}
  .qlink{grid-column:2;margin-top:8px}
  .hlist{padding:16px}
  .hlist ul{gap:12px}
  .pside,.pcardx{padding:24px}
}
@media(max-width:360px){
  .qcard,.hlist,.pside{padding:16px}
}
@media(prefers-reduced-motion:reduce){
  .qcard,.qlink::after{transition:none}
}
