/* Homepage v4 design system (2026-10-20, rebuild brief §5, D10/D30 defaults). Scoped to body.layout-v3 (homepages).
   Hero stays as-is (D1/D2): only container width and padding change. */
.layout-v3 {
  --ink: #0B0D10; --text: #3A414A; --muted: #6B7280; --line: #E6E8EB; --line-strong: #D5D9DE;
  --tint: #F6F7F9; --brand: #EC0017; --brand-hover: #C70014; --kicker: #B80012; --dark-text: #F3F4F6; --dark-link: #C9CDD2;
  color: var(--text);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, "Noto Sans Devanagari", "Noto Sans TC", "PingFang TC", sans-serif;
}
.layout-v3 .wrap { max-width: 1200px; padding-inline: 20px; }
@media (min-width: 640px) { .layout-v3 .wrap { padding-inline: 24px; } }
@media (min-width: 1024px) { .layout-v3 .wrap { padding-inline: 32px; } }
.layout-v3 .section { padding: 64px 0; }
@media (min-width: 768px) { .layout-v3 .section { padding: 96px 0; } }
@media (min-width: 1024px) { .layout-v3 .section { padding: 128px 0; } }
.layout-v3 .section.tint { background: var(--tint); }
.layout-v3 h2 { color: var(--ink); font-size: 32px; line-height: 1.1; font-weight: 700; letter-spacing: -0.02em; max-width: 880px; }
@media (min-width: 1024px) { .layout-v3 h2 { font-size: 48px; } }
.layout-v3 h3 { color: var(--ink); font-size: 18px; line-height: 1.3; font-weight: 600; }
@media (min-width: 1024px) { .layout-v3 h3 { font-size: 20px; } }
.layout-v3 .section p { font-size: 16px; line-height: 1.6; }
@media (min-width: 1024px) { .layout-v3 .section p { font-size: 17px; } }
.layout-v3 .section-sub, .layout-v3 .lead { font-size: 18px !important; line-height: 1.55; color: var(--text); max-width: 640px; margin: 16px 0 32px; }
@media (min-width: 1024px) { .layout-v3 .section-sub, .layout-v3 .lead { font-size: 20px !important; margin-bottom: 48px; } }
.layout-v3 .kicker { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; font-weight: 600; color: var(--kicker); margin-bottom: 12px; }
@media (min-width: 1024px) { .layout-v3 .kicker { font-size: 13px; } }
.layout-v3 :lang(zh-HK) h2, .layout-v3 :lang(zh-HK) h3, .layout-v3 :lang(zh-Hant) h2, .layout-v3 :lang(zh-Hant) h3 { letter-spacing: 0; }
.layout-v3 :lang(hi) .section p { line-height: 1.7; }
.layout-v3 :lang(zh-HK) .section p, .layout-v3 :lang(zh-Hant) .section p { line-height: 1.75; }

/* Buttons: pill, 48 mobile / 52 desktop, one red accent */
.layout-v3 .btn { min-height: 48px; border-radius: 999px; padding: 0 28px; font-size: 16px; font-weight: 600; min-width: 160px; display: inline-flex; align-items: center; justify-content: center; }
@media (min-width: 1024px) { .layout-v3 .btn { min-height: 52px; } }
.layout-v3 .btn-sm { min-height: 40px; min-width: 0; padding: 0 18px; }
.layout-v3 .btn-primary { background: var(--brand); color: #fff; border: 0; }
.layout-v3 .btn-primary:hover { background: var(--brand-hover); }
.layout-v3 .btn-ghost { background: #fff; color: var(--ink); border: 1px solid var(--line-strong); }
.layout-v3 .btn:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; box-shadow: none; }
.layout-v3 .cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.layout-v3 .cta-row.center { justify-content: center; margin-top: 32px; }

/* Topbar */
.layout-v3 .topbar { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.85); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }

/* Cards */
.layout-v3 .card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 24px; box-shadow: 0 1px 2px rgba(11,13,16,.04), 0 8px 24px rgba(11,13,16,.06); transition: transform .15s, border-color .15s; }
@media (min-width: 1024px) { .layout-v3 .card { padding: 32px; } }
.layout-v3 .card:hover { transform: translateY(-2px); border-color: var(--line-strong); }
@media (prefers-reduced-motion: reduce) { .layout-v3 .card:hover { transform: none; } }

/* Splits */
.layout-v3 .split-6-6, .layout-v3 .split-5-7, .layout-v3 .split-4-8 { display: grid; gap: 32px; align-items: center; }
@media (min-width: 1024px) {
  .layout-v3 .split-6-6 { grid-template-columns: 1fr 1fr; gap: 48px; }
  .layout-v3 .split-5-7 { grid-template-columns: 5fr 7fr; gap: 48px; }
  .layout-v3 .split-4-8 { grid-template-columns: 4fr 8fr; gap: 48px; align-items: start; }
}

/* Proof: the only dark band */
.layout-v3 .band-dark { background: #0B0D10; color: var(--dark-text); }
.layout-v3 .band-dark h2, .layout-v3 .band-dark .section-sub { color: var(--dark-text); }
.layout-v3 .band-dark .kicker { color: var(--dark-link); }
.layout-v3 .band-dark time { color: inherit; }
.layout-v3 .btn-outline-light { background: transparent; color: #fff; border: 1px solid rgba(243,244,246,.6); }
.layout-v3 .btn-outline-light:hover { border-color: #fff; }
.layout-v3 .band-dark .btn:focus-visible { outline-color: var(--dark-text); }
.layout-v3 .proof-card { border: 1px solid rgba(243,244,246,.16); border-radius: 16px; padding: 24px; }
.layout-v3 .proof-total { display: grid; gap: 4px; margin-bottom: 24px; }
.layout-v3 .proof-total .t-num { font-size: 40px; font-weight: 700; line-height: 1; color: #fff; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
@media (min-width: 1024px) { .layout-v3 .proof-total .t-num { font-size: 64px; } }
.layout-v3 .proof-total .t-label, .layout-v3 .proof-tiles .t-label { font-size: 14px; font-weight: 500; color: var(--dark-link); }
.layout-v3 .proof-tiles { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 0; margin: 0; }
@media (min-width: 1024px) { .layout-v3 .proof-tiles { grid-template-columns: repeat(4, 1fr); } }
.layout-v3 .proof-tiles .tile { background: transparent; border: 1px solid rgba(243,244,246,.16); border-radius: 12px; padding: 14px; display: grid; gap: 4px; box-shadow: none; }
.layout-v3 .proof-tiles .t-num { font-size: 22px; font-weight: 700; color: #fff; font-variant-numeric: tabular-nums; }
.layout-v3 .proof-attr { margin-top: 16px; font-size: 14px !important; color: var(--dark-link); }

/* Pitch */
.layout-v3 #pitch p + p { margin-top: 16px; }
.layout-v3 .pitch-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 32px; box-shadow: 0 1px 2px rgba(11,13,16,.04), 0 8px 24px rgba(11,13,16,.06); display: grid; gap: 12px; }
.layout-v3 .pitch-card .meta { color: var(--muted); font-size: 14px !important; }
.layout-v3 .pitch-card .chip { justify-self: start; display: inline-flex; align-items: center; min-height: 32px; padding: 0 14px; border-radius: 999px; background: var(--tint); color: var(--ink); font-size: 14px; font-weight: 500; }
.layout-v3 .beats { list-style: none; padding: 0; margin: 48px 0 0; display: grid; gap: 16px; }
@media (min-width: 768px) { .layout-v3 .beats { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.layout-v3 .beats li { font-size: 18px; line-height: 1.4; color: var(--text); border-top: 1px solid var(--line); padding-top: 16px; }
.layout-v3 .beats b { color: var(--ink); }

/* Steps */
.layout-v3 .steps-3 { display: grid; gap: 16px; list-style: none; padding: 0; }
@media (min-width: 768px) { .layout-v3 .steps-3 { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.layout-v3 .steps-3 .step { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 24px; display: grid; gap: 12px; align-content: start; }
.layout-v3 .steps-3 .num { font-size: 40px; font-weight: 600; color: var(--brand); line-height: 1; background: none; width: auto; height: auto; }

/* Benefits */
.layout-v3 .benefits { list-style: none; padding: 0; display: grid; gap: 16px; }
@media (min-width: 640px) { .layout-v3 .benefits { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .layout-v3 .benefits { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.layout-v3 .benefit { display: flex; flex-direction: column; gap: 12px; }
.layout-v3 .benefit .outcome { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); font-size: 15px !important; font-weight: 600; color: var(--ink); }
.layout-v3 .benefit.wide { margin-top: 24px; }
.layout-v3 .fine-center { text-align: center; color: var(--muted); font-size: 14px !important; margin: 32px auto 0; max-width: 640px; }

/* Languages */
.layout-v3 .lang-chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; }
.layout-v3 .lang-chips li { min-height: 32px; display: inline-flex; align-items: center; padding: 0 14px; background: var(--tint); border: 1px solid var(--line); border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--ink); }

/* Who */
.layout-v3 .cards-who { display: grid; gap: 16px; }
@media (min-width: 640px) { .layout-v3 .cards-who { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .layout-v3 .cards-who { grid-template-columns: repeat(6, 1fr); gap: 24px; } .layout-v3 .cards-who .card { grid-column: span 2; } .layout-v3 .cards-who .card:nth-child(4) { grid-column: 2 / span 2; } }
.layout-v3 .card-eg { margin-top: 12px; font-size: 15px !important; font-weight: 600; color: var(--ink); }

/* Plans: Local -> Pro -> Ultima, Ultima featured on the right (D5) */
.layout-v3 #plans .bill-toggle { margin: 0 0 32px; }
.layout-v3 .mini-tiers { list-style: none; padding: 0; display: grid; gap: 16px; }
@media (min-width: 768px) { .layout-v3 .mini-tiers { grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; } }
.layout-v3 .mini-tier { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 24px; display: flex; flex-direction: column; gap: 12px; box-shadow: 0 1px 2px rgba(11,13,16,.04), 0 8px 24px rgba(11,13,16,.06); }
@media (min-width: 1024px) { .layout-v3 .mini-tier { padding: 32px; } }
.layout-v3 .mini-tier.featured { border: 2px solid var(--ink); }
.layout-v3 .mini-tier .tier-ribbon { align-self: flex-start; position: static; background: var(--ink); color: #fff; border-radius: 999px; padding: 4px 12px; font-size: 13px; font-weight: 600; }
.layout-v3 .mini-tier .tier-price { font-size: 40px; font-weight: 700; color: var(--ink); line-height: 1; font-variant-numeric: tabular-nums; }
@media (min-width: 1024px) { .layout-v3 .mini-tier .tier-price { font-size: 48px; } }
.layout-v3 .mini-tier .tier-unit { font-size: 14px !important; color: var(--muted); }
.layout-v3 .mini-tier .list { list-style: none; padding: 0; display: grid; gap: 12px; }
.layout-v3 .mini-tier .list li { font-size: 15px !important; padding-inline-start: 26px; position: relative; }
.layout-v3 .mini-tier .list li::before { content: "✓"; position: absolute; inset-inline-start: 0; color: var(--kicker); font-weight: 700; }
.layout-v3 .mini-tier .btn { margin-top: auto; width: 100%; }
.layout-v3 .outlet-note { margin-top: 32px; max-width: 640px; margin-inline: auto; text-align: center; }
.layout-v3 .outlet-note p { font-size: 14px !important; color: var(--muted); }

/* FAQ */
.layout-v3 .faq details { border-bottom: 1px solid var(--line); background: none; border-radius: 0; box-shadow: none; }
.layout-v3 .faq details:first-child { border-top: 1px solid var(--line); }
.layout-v3 .faq summary { padding: 20px 0; min-height: 44px; font-size: 17px; font-weight: 600; color: var(--ink); cursor: pointer; }
.layout-v3 .faq details p { padding: 0 0 20px; }

/* Close + form */
.layout-v3 .final-cta { background: #fff; text-align: start; }
.layout-v3 .form-panel { background: var(--tint); border-radius: 20px; padding: 16px; }
@media (min-width: 768px) { .layout-v3 .form-panel { padding: 32px; } }
.layout-v3 .tform.card { display: grid; gap: 16px; }
.layout-v3 .tform .section-sub { margin: 0; font-size: 16px !important; }
.layout-v3 .tform input:not([type=checkbox]) { min-height: 48px; border-radius: 12px; border: 1px solid var(--line-strong); padding: 0 14px; width: 100%; font: inherit; }
.layout-v3 .tform label { display: grid; gap: 6px; font-weight: 500; color: var(--ink); }
.layout-v3 .tform .consent { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 14px; }
.layout-v3 .tgrid { display: grid; gap: 16px; }

/* Footer */
.layout-v3 .footer { padding-top: 64px; font-size: 14px; color: var(--muted); border-top: 1px solid var(--line); }
.anchor-alias { position: relative; top: -80px; display: block; height: 0; }
/* 2026-10-20 O26: 28-day window on the 5.67M figure (5.67M size unchanged) */
.layout-v3 .proof-asof, .layout-v3 .proof-tiles-caption { font-size: 13px !important; color: var(--dark-link); margin: -16px 0 16px; }
.layout-v3 .proof-tiles-caption { margin: 0 0 8px; font-weight: 600; }
.layout-v3 .t-label-lg { display: none; }
.layout-v3 .t-label-sm { display: inline; }
@media (min-width: 1024px) { .layout-v3 .t-label-sm { display: none; } .layout-v3 .t-label-lg { display: inline; } }
/* === 2026-10-20 mobile pass (proposed; append to assets/home-v4.css) === */
/* M1 language bar: one 36px scroll row instead of 3 wrapped rows (105px) */
@media (max-width: 767px) {
  .layout-v3 .langbar { display:flex; flex-wrap:nowrap; overflow-x:auto; white-space:nowrap; height:36px; align-items:center; justify-content:flex-start; gap:4px; padding:0 12px; scrollbar-width:none; -webkit-mask-image:linear-gradient(90deg,#000 85%,transparent); mask-image:linear-gradient(90deg,#000 85%,transparent); }
  .layout-v3 .langbar::-webkit-scrollbar { display:none; }
  .layout-v3 .langbar * { flex-wrap:nowrap !important; white-space:nowrap; justify-content:flex-start !important; }
  .layout-v3 .langbar a { padding:0 8px; line-height:36px; font-size:13px; }
}
/* M2 kicker specificity fix: .section p (0,2,1) was overriding .kicker -> 16px */
.layout-v3 .section .kicker, .layout-v3 .pitch-card .kicker { font-size:12px; line-height:1.4; letter-spacing:.08em; margin:0 0 12px; }
@media (min-width:1024px){ .layout-v3 .section .kicker { font-size:13px; } }
/* M3 type hierarchy on mobile: H1 must outrank H2 */
@media (max-width: 767px) {
  .layout-v3 .hero h1.hero-v2 { font-size:30px; line-height:1.15; letter-spacing:-0.02em; }
  .layout-v3 h2 { font-size:28px; line-height:1.15; }
  .layout-v3 .section-sub, .layout-v3 .lead { font-size:17px !important; margin:12px 0 28px; }
  .layout-v3 .hero .lede, .layout-v3 .hero-support, .layout-v3 .hero-auto, .layout-v3 .hero-solo { font-size:16px; line-height:1.6; color:var(--text); }
  .layout-v3 .hero-support, .layout-v3 .hero-auto, .layout-v3 .hero-solo { margin-top:12px; }
}
/* M4 rhythm: 56px sections on phones, tighter card stacks */
@media (max-width: 767px) {
  .layout-v3 .section { padding:56px 0; }
  .layout-v3 .card, .layout-v3 .steps-3 .step, .layout-v3 .mini-tier { padding:20px; }
  .layout-v3 .benefits, .layout-v3 .cards-who, .layout-v3 .steps-3 { gap:12px; }
  .layout-v3 .benefit { gap:8px; }
  .layout-v3 .benefit .outcome { padding-top:12px; }
  .layout-v3 .steps-3 .num { font-size:32px; }
  .layout-v3 .beats { margin-top:32px; }
}
/* M5 thumb-zone CTAs: full-width, stacked */
@media (max-width: 767px) {
  .layout-v3 .cta-row { flex-direction:column; align-items:stretch; }
  .layout-v3 .cta-row .btn, .layout-v3 .band-dark .btn, .layout-v3 .wt-block .btn { width:100%; min-width:0; }
}
/* M6 plan cards: natural height when stacked (no stretched empty space) */
@media (max-width: 767px) {
  .layout-v3 .mini-tiers { grid-auto-rows:auto; align-items:start; }
  .layout-v3 .mini-tier { height:auto; min-height:0; }
  .layout-v3 .mini-tier .btn { margin-top:16px !important; }
}
/* M7 sign-up form: drop the nested grey panel on phones */
@media (max-width: 767px) {
  .layout-v3 .form-panel { background:none; padding:0; border-radius:0; }
  .layout-v3 .tform .btn { width:100%; }
}

/* === Homepage polish 2026-10-20 (Homepage Visual Designer, Mike OK 6:59 PM ET) — CSS only === */
/* homepage-polish-2026-10-20.css — typography/spacing/hierarchy/alignment only. Append after home-v4.css (CSS_V 20261020m6). */
/* P1 Hero hierarchy: H1 must outrank section H2s (was 36px vs 48px at desktop) */
@media (min-width:1024px){
  .layout-v3 .hero h1.hero-v2{font-size:52px;line-height:1.08;letter-spacing:-0.025em;max-width:760px}
}
@media (min-width:768px) and (max-width:1023px){ .layout-v3 .hero h1.hero-v2{font-size:40px;line-height:1.1} }
/* P2 Hero body: one measure, one rhythm, readable size */
.layout-v3 .hero .lede, .layout-v3 .hero-support, .layout-v3 .hero-auto, .layout-v3 .hero-solo{max-width:620px;line-height:1.6;margin:16px 0 0}
.layout-v3 .hero-solo strong{font-weight:700}
.layout-v3 .hero h2.hero-fold{font-size:22px;line-height:1.2;font-weight:700;letter-spacing:-0.02em;margin:28px 0 0;max-width:760px;color:var(--ink)}
@media (min-width:768px){ .layout-v3 .hero h2.hero-fold{font-size:28px} }
@media (min-width:1024px){ .layout-v3 .hero h2.hero-fold{font-size:32px} }
@media (max-width:767px){ .layout-v3 .hero h2.hero-fold{font-size:22px;line-height:1.2;margin-top:22px} }
@media (min-width:1024px){ .layout-v3 .hero .lede{font-size:19px;color:var(--ink)} .layout-v3 .hero-support, .layout-v3 .hero-auto, .layout-v3 .hero-solo{font-size:17px} }
.layout-v3 .hero .cta-row{margin-top:28px}
.layout-v3 .hero .reassure{font-size:14px;color:var(--muted);margin-top:12px}
.layout-v3 .hero .promises-heading{margin-top:32px;font-size:15px}
.layout-v3 .promises-turnkey li{font-weight:500}
/* English checklist items are one sentence. Flex would split the text around <strong> into separate items. */
html[data-lang="en"] .layout-v3 .promises-turnkey li{display:block;min-width:0}
html[data-lang="en"] .layout-v3 .promises-turnkey li:last-child{grid-column:1 / -1}
html[data-lang="en"] .layout-v3 .promises-turnkey li>.tick{display:inline-grid;vertical-align:-0.2em;margin-inline-end:8px}
html[data-lang="en"] .layout-v3 .promises-turnkey li strong{font-weight:700}
.layout-v3 .hero-breath{max-width:40rem;margin:14px 0 0;font-size:18px;line-height:1.45;font-weight:500;color:var(--ink)}
@media (min-width:1024px){.layout-v3 .hero-breath{font-size:22px;line-height:1.4}}
/* P3 Headline wrapping: balanced lines, no 4-line squeezed H2s in split columns */
.layout-v3 h1, .layout-v3 h2, .layout-v3 h3{text-wrap:balance}
.layout-v3 .section p, .layout-v3 .hero p{text-wrap:pretty}
@media (min-width:1024px){
  .layout-v3 #pitch .split-5-7{grid-template-columns:6fr 6fr}
  .layout-v3 #pitch h2, .layout-v3 #faq h2{font-size:40px}
}
/* P4 Section heading rhythm */
.layout-v3 .section h2{margin-top:0}
.layout-v3 .section .kicker + h2{margin-top:0}
/* P5 Card internals: consistent stacks */
.layout-v3 .card h3 + p, .layout-v3 .step h3 + p{margin-top:8px}
.layout-v3 .card-eg{margin-top:12px !important}
.layout-v3 .benefit .outcome{line-height:1.5}
/* P6 Plans text: de-shout and normalise */
.layout-v3 .plans-note{font-weight:500;font-size:15px !important;color:var(--text)}
.layout-v3 .mini-tier .tier-fee{font-size:14px !important;color:var(--muted)}
.layout-v3 .ultima-only-label{font-size:14px !important;font-weight:700;letter-spacing:.02em}
/* P7 Form fine print */
.layout-v3 .fine-note{font-size:13px !important;line-height:1.5;color:var(--muted)}
.layout-v3 .tform h3{margin:0}
/* P8 Centered section subs keep a readable measure */
.layout-v3 .fine-center, .layout-v3 .wt-text .section-sub{margin-inline:auto}
/* P1b Retired red pitch span. The homepage h1 is the wordmark plus one line. */
.layout-v3 .hero h1.hero-v2 .hero-tag.hero-pitch{display:block;font-size:26px !important;line-height:1.15;font-weight:800;letter-spacing:-0.02em;margin-top:8px}
@media (min-width:768px){ .layout-v3 .hero h1.hero-v2 .hero-tag.hero-pitch{font-size:34px !important} }
@media (min-width:1024px){ .layout-v3 .hero h1.hero-v2 .hero-tag.hero-pitch{font-size:44px !important;margin-top:10px} }
/* English proof strip, Oct 12–Nov 8 2026: social-views headline, then six labeled tiles. */
html[lang="en"] .layout-v3 #proof .split-6-6 { align-items: start; }
html[lang="en"] .layout-v3 #proof .proof-total { margin-bottom: 8px; }
html[lang="en"] .layout-v3 #proof .proof-breakdown { margin: 0 0 12px; font-size: 15px !important; font-weight: 600; line-height: 1.45; color: var(--dark-text); }
html[lang="en"] .layout-v3 #proof .proof-note { margin: 12px 0 0; font-size: 14px !important; line-height: 1.5; color: var(--dark-link); }
html[lang="en"] .layout-v3 #proof .proof-tiles { grid-template-columns: 1fr 1fr; margin-top: 16px; }
html[lang="en"] .layout-v3 #proof .proof-tiles .t-num { font-size: 18px; letter-spacing: -0.03em; }
html[lang="en"] .layout-v3 #proof .proof-tiles .t-delta { font-size: 13px; font-weight: 600; color: var(--dark-link); }
@media (min-width: 1024px) {
  html[lang="en"] .layout-v3 #proof .proof-tiles { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  html[lang="en"] .layout-v3 #proof .proof-tiles > .tile { grid-column: span 2; min-width: 0; }
  html[lang="en"] .layout-v3 #proof .proof-tiles .t-num { font-size: 16px; }
}
