/* ============================================================
   Tembusu Law - Funnel design system
   Tokens + components transcribed from /DESIGN.md (single source of truth)
   ============================================================ */
:root {
  /* Colors */
  --primary: #004C4C;
  --secondary: #006666;
  --tertiary: #00C875;
  --neutral: #6B7280;
  --surface: #FFFFFF;
  --surface-grey: #F6F7FB;
  --teal-soft: #E2F0ED;
  --on-surface: #1F1F1F;
  --on-dark: #E0F0EE;
  --divider: #E6E9EF;
  --border: #E5E7EB;
  --cta: #dc2626;          /* CTA buttons - red (landing-page SOP) */
  --cta-hover: #b91c1c;
  --box-border: 2px solid var(--secondary);
  --shadow-md: 0 8px 24px rgba(0,0,0,.06);
  --shadow-card-cta: 0 20px 60px rgba(0,0,0,.30);

  /* Radii */
  --r-sm: 3px;
  --r-md: 16px;
  --r-lg: 20px;
  --r-xl: 100px;
  --r-full: 9999px;
  --card-radius: var(--r-lg);

  /* Type scale (mobile base) */
  --fs-h1: 42px;
  --fs-h2-xl: 32px;
  --fs-h2: 25px;
  --fs-h3: 20px;
  --fs-h3-sm: 18px;
  --fs-h4: 16px;
  --fs-p-xl: 17px;
  --fs-p-lg: 17px;
  --fs-p: 14px;
  --fs-p-sm: 15px;
  --fs-eyebrow: 12px;
  --fs-note: 12px;
  --fs-btn: 15px;
}
@media (min-width: 768px) {
  :root {
    --fs-h1: 60px;
    --fs-h2-xl: 52px;
    --fs-h2: 38px;
    --fs-h3: 30px;
    --fs-h3-sm: 21px;
    --fs-h4: 18px;
    --fs-p-xl: 24px;
    --fs-p: 17px;
    --fs-eyebrow: 16px;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--on-surface);
  background: var(--surface);
  font-size: var(--fs-p);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
[x-cloak] { display: none !important; }

/* ---------- Layout ---------- */
.section { padding: 48px 0; }
@media (min-width: 640px) { .section { padding: 100px 0; } }
.section-grey { background: var(--surface-grey); }
.section-teal { background: var(--primary); color: var(--on-dark); }
.section-inner { max-width: 1300px; margin: 0 auto; padding: 0 20px; }
@media (min-width: 768px) { .section-inner { padding: 0 16px; } }
@media (min-width: 1330px) { .section-inner { padding: 0; } }
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.maxw-720 { max-width: 720px; }
.maxw-860 { max-width: 860px; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: 'DM Sans', sans-serif; font-weight: 700; color: var(--on-surface); margin: 0 0 .5em; line-height: 1.3; }
h1 { font-size: var(--fs-h1); line-height: 1.2; letter-spacing: -0.01em; }
h2 { font-size: var(--fs-h2); line-height: 1.4; letter-spacing: -0.01em; }
h3 { font-size: var(--fs-h3); line-height: 1.4; }
h4 { font-size: var(--fs-h3-sm); }
/* Prevent widow / orphan lines */
h1, h2, h3, h4, .eyebrow { text-wrap: balance; }
p, li, .lead, .gr-quote { text-wrap: pretty; }
p  { margin: 0 0 1em; }
.lead { font-size: var(--fs-p-xl); line-height: 1.6; }
.kw-highlight { color: var(--tertiary); font-weight: 600; }
.on-dark, .on-dark h1, .on-dark h2, .on-dark h3, .on-dark p { color: var(--on-dark); }
.on-dark h1, .on-dark h2, .on-dark h3 { color: #fff; }

.eyebrow {
  display: inline-block;
  font-size: var(--fs-eyebrow);
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--secondary);
  line-height: 1.375;
  margin: 0;
}
.on-dark .eyebrow, .eyebrow-on-dark { color: #fff; }

/* ---------- Buttons (red CTA, pills) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: 'DM Sans', sans-serif; font-size: 18px; font-weight: 600;
  line-height: 1.3; text-decoration: none; cursor: pointer;
  padding: 14px 28px; min-width: 220px;
  border-radius: var(--r-xl); border: 1.5px solid var(--cta);
  background: var(--cta); color: #fff;
  transition: all .2s ease;
}
.btn:hover { background: var(--cta-hover); color: #fff; border-color: var(--cta-hover); transform: scale(1.03); box-shadow: var(--shadow-md); }
.btn-lg { padding: 16px 34px; font-size: 18px; }
.btn-block { width: 100%; }
/* Arrow-circle-right icon on CTA buttons - mirrors tembusulaw.com.sg .cta-button::after (mask so colour follows currentColor) */
.btn::after {
  content: ''; display: inline-block; flex-shrink: 0; width: 36px; height: 36px;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M256 8c137 0 248 111 248 248S393 504 256 504 8 393 8 256 119 8 256 8zm-28.9 143.6l75.5 72.4H120c-13.3 0-24 10.7-24 24v16c0 13.3 10.7 24 24 24h182.6l-75.5 72.4c-9.7 9.3-9.9 24.8-.4 34.3l11 10.9c9.4 9.4 24.6 9.4 33.9 0L404.3 273c9.4-9.4 9.4-24.6 0-33.9L271.6 106.3c-9.4-9.4-24.6-9.4-33.9 0l-11 10.9c-9.5 9.6-9.3 25.1.4 34.4z'/%3E%3C/svg%3E") no-repeat center / contain;
          mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M256 8c137 0 248 111 248 248S393 504 256 504 8 393 8 256 119 8 256 8zm-28.9 143.6l75.5 72.4H120c-13.3 0-24 10.7-24 24v16c0 13.3 10.7 24 24 24h182.6l-75.5 72.4c-9.7 9.3-9.9 24.8-.4 34.3l11 10.9c9.4 9.4 24.6 9.4 33.9 0L404.3 273c9.4-9.4 9.4-24.6 0-33.9L271.6 106.3c-9.4-9.4-24.6-9.4-33.9 0l-11 10.9c-9.5 9.6-9.3 25.1.4 34.4z'/%3E%3C/svg%3E") no-repeat center / contain;
  transition: transform .2s ease;
}
.btn:hover::after { transform: translateX(3px); }
a.btn[href*="whatsapp"]::after { display: none; }
@media (max-width: 767px) { .btn, .btn-lg { width: 100%; font-size: 15px; } }

/* WhatsApp contact button keeps the WhatsApp-green convention (not a conversion CTA) */
a.btn[href*="whatsapp"] { background: #25D366; border-color: #25D366; }
a.btn[href*="whatsapp"]:hover { background: #1da851; border-color: #1da851; }

/* ---------- Cards ---------- */
.card {
  background: var(--surface); border-radius: var(--card-radius);
  padding: 24px; border: var(--box-border); color: var(--on-surface);
  transition: all .3s ease;
}
.card-hover:hover { background: var(--on-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.card-cta { padding: 36px 32px; box-shadow: var(--shadow-card-cta); }

/* Benefit list item / checklist */
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.check-list li {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--surface); border: var(--box-border); border-radius: var(--card-radius);
  padding: 20px 22px; transition: all .3s ease;
}
.check-list.on-grey li { background: #fff; }
.check-list li:hover { background: var(--on-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.check-list .ico { flex: 0 0 auto; width: 26px; height: 26px; color: var(--tertiary); margin-top: 2px; }
.check-list .ico svg { width: 100%; height: 100%; stroke-width: 2.5; }
.check-list b { display: block; font-weight: 700; color: var(--on-surface); }

/* ---------- Eyebrow + section header ---------- */
.sec-head { text-align: center; margin-bottom: 48px; }
.sec-head h2 { margin: 0; }
.sec-head p { margin: 10px 0 0; }

/* ---------- Hero ---------- */
.hero { background: var(--primary); color: var(--on-dark); padding: 48px 0; }
@media (min-width: 768px) { .hero { padding: 100px 0; } }
.hero h1 { color: #fff; }
.hero p { color: var(--on-dark); }
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
@media (min-width: 980px) { .hero-grid { grid-template-columns: 1.05fr .95fr; gap: 56px; } }

/* ---------- VSL video ---------- */
.vsl { position: relative; width: 100%; border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow-card-cta); background:#000; }
.vsl .wistia_responsive_padding { position: relative; padding: 56.25% 0 0 0; }
.vsl .wistia_responsive_wrapper { height: 100%; left: 0; position: absolute; top: 0; width: 100%; }

/* ---------- Form ---------- */
.lp-form-card {
  background: var(--surface); border-radius: var(--card-radius); border: var(--box-border);
  padding: 28px 24px; box-shadow: var(--shadow-card-cta);
}
@media (min-width: 768px) { .lp-form-card { padding: 36px 32px; } }
.lp-form .field { margin-bottom: 16px; }
.lp-form label { display: block; font-size: var(--fs-p-sm); font-weight: 600; margin-bottom: 6px; color: var(--on-surface); }
.lp-form label .req { color: #dc2626; }
.lp-form input[type=text], .lp-form input[type=email], .lp-form input[type=tel],
.lp-form select, .lp-form textarea {
  width: 100%; padding: 13px 16px; font-family: inherit; font-size: var(--fs-p-sm);
  color: var(--on-surface); background: var(--surface-grey);
  border: 1.5px solid var(--border); border-radius: var(--r-md); line-height: 1.4;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.lp-form textarea { min-height: 120px; resize: vertical; }
@media (max-width: 767px) { .lp-form input::placeholder, .lp-form textarea::placeholder { font-size: 14px; } }
.lp-form input:focus, .lp-form select:focus, .lp-form textarea:focus {
  outline: none; border-color: var(--secondary); box-shadow: 0 0 0 3px rgba(0,102,102,.12);
}
.lp-form .pdpa { display: flex; gap: 10px; align-items: flex-start; margin: 6px 0 18px; }
.lp-form .pdpa input { margin-top: 4px; flex: 0 0 auto; width: 16px; height: 16px; accent-color: var(--secondary); }
.lp-form .pdpa label { font-size: var(--fs-note); font-weight: 400; line-height: 1.5; color: var(--on-surface); margin: 0; }
.lp-form .form-msg { font-size: var(--fs-p-sm); margin-top: 12px; display: none; }
.lp-form .form-msg.error { display: block; color: #dc2626; }
.lp-form .form-msg.ok { display: block; color: var(--secondary); }
.lp-form button[type=submit] { width: 100%; text-transform: uppercase; letter-spacing: .5px; }
.lp-form button[disabled] { opacity: .6; cursor: not-allowed; }

/* ---------- Trust / media badges ---------- */
.badge-strip { display: flex; flex-wrap: wrap; gap: 28px 40px; align-items: center; justify-content: center; }
.badge-strip img { height: 38px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .7; transition: all .2s ease; }
.badge-strip img:hover { filter: none; opacity: 1; }
.award-strip { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: center; }
.award-strip img { height: 84px; width: auto; }

/* ---------- Founder ---------- */
.founder-grid { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: center; }
@media (min-width: 860px) { .founder-grid { grid-template-columns: 420px 1fr; gap: 52px; } }
/* Center the founder CTA button while the section is stacked (mobile) */
@media (max-width: 859px) { .founder-cta { text-align: center; } }
.founder-photo { border-radius: var(--card-radius); overflow: hidden; box-shadow: var(--shadow-md); }
.founder-pill { display: inline-flex; align-items: center; gap: 8px; background: var(--teal-soft); color: var(--secondary); font-weight: 700; font-size: var(--fs-p-sm); padding: 6px 16px; border-radius: var(--r-xl); margin-bottom: 16px; }

/* ---------- Reviews (Google) ---------- */
.reviews-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 640px) { .reviews-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .reviews-grid { grid-template-columns: 1fr 1fr 1fr; } }
.review-card { background: #fff; border: 1px solid var(--divider); border-radius: var(--card-radius); padding: 24px; transition: box-shadow .2s ease; }
.review-card:hover { box-shadow: var(--shadow-md); }
.review-card .stars { display: flex; gap: 2px; margin-bottom: 12px; }
.review-card .stars svg { width: 18px; height: 18px; fill: #FBBC05; }
.review-card .quote { font-size: var(--fs-p-sm); color: #374151; line-height: 1.7; margin: 0 0 16px; }
.review-card .who { display: flex; align-items: center; gap: 12px; border-top: 1px solid var(--divider); padding-top: 14px; }
.review-card .who img, .review-card .who .ph { width: 40px; height: 40px; border-radius: var(--r-full); object-fit: cover; background: var(--teal-soft); color: var(--secondary); display: flex; align-items: center; justify-content: center; font-weight: 700; }
.review-card .who b { font-size: var(--fs-p-sm); color: var(--on-surface); }
.review-card .who span { font-size: var(--fs-note); color: #4285F4; font-weight: 600; }
.rating-badge { display: inline-flex; align-items: center; gap: 10px; justify-content: center; margin: 0 auto 8px; }
.rating-badge .stars { display: flex; gap: 2px; }
.rating-badge .stars svg { width: 20px; height: 20px; fill: #FBBC05; }
.rating-badge b { color: var(--on-surface); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq-item { background: none; border: none; border-radius: 20px; overflow: hidden; }
.faq-q { width: 100%; text-align: left; background: #F7F9FB; border: 0; border-radius: 20px; cursor: pointer; padding: 20px 24px; font-family: inherit; font-size: var(--fs-h3-sm); font-weight: 600; color: var(--on-surface); display: flex; justify-content: space-between; gap: 16px; align-items: center; transition: color .15s ease; }
.faq-q:hover, .faq-q[aria-expanded=true] { color: var(--secondary); }
.faq-q .chev { flex: 0 0 auto; color: var(--secondary); transition: transform .2s ease; }
.faq-q[aria-expanded=true] .chev { transform: rotate(180deg); }
.faq-a { padding: 0 24px; max-height: 0; overflow: hidden; transition: max-height .4s ease, padding .4s ease; color: var(--on-surface); font-size: var(--fs-p-lg); line-height: 1.8; }
.faq-a.open { max-height: 600px; padding: 16px 24px 20px; }
.faq-a a { color: var(--secondary); text-decoration: underline; text-underline-offset: 2px; font-weight: 600; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: 1fr; gap: 28px; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { text-align: center; }
.step .num { width: 64px; height: 64px; border-radius: var(--r-full); background: var(--secondary); color: #fff; font-size: 26px; font-weight: 700; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--secondary); color: #fff; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: var(--on-dark); }

/* ---------- Footer ---------- */
.site-footer { background: var(--surface-grey); color: var(--on-surface); padding: 44px 0; border-top: 1px solid var(--divider); }
.site-footer .section-inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; }
.site-footer img.logo { height: 30px; width: auto; }
.site-footer .legal { font-size: var(--fs-note); line-height: 1.7; max-width: 760px; }
.site-footer .copyright { font-size: var(--fs-note); letter-spacing: .5px; }
.site-footer a { color: var(--secondary); text-decoration: underline; text-underline-offset: 2px; font-weight: 600; }
.site-footer a:hover { color: var(--cta); }

/* ---------- Top logo bar ---------- */
.topbar { background: #fff; border-bottom: 1px solid var(--divider); }
.topbar .section-inner { display: flex; align-items: center; justify-content: center; padding-top: 14px; padding-bottom: 14px; }
.topbar img { height: 28px; width: auto; }
@media (max-width: 767px) { .topbar img { height: 20px; } }

/* ---------- Confirmation pages ---------- */
.confirm-wrap { min-height: 70vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 60px 20px; }
.confirm-icon { width: 88px; height: 88px; border-radius: var(--r-full); background: var(--teal-soft); color: var(--tertiary); display: flex; align-items: center; justify-content: center; margin: 0 auto 24px; }
.confirm-icon svg { width: 44px; height: 44px; stroke-width: 2.5; }

/* ---------- utilities ---------- */
.mb-0 { margin-bottom: 0; } .mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; }
.section-narrow .section-inner { max-width: 920px; }

/* ============================================================
   Polish layer - decorative depth, report covers, trust band,
   photo framing, refined hero/section rhythm.
   ============================================================ */

/* Decorative blobs - add class .has-decor to a section + a .decor child */
.has-decor { position: relative; overflow: hidden; }
.decor { position: absolute; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.decor i { position: absolute; display: block; border-radius: 9999px; filter: blur(70px); opacity: .55; }
.decor .b1 { width: 460px; height: 460px; top: -160px; right: -120px; background: var(--tertiary); opacity: .14; }
.decor .b2 { width: 380px; height: 380px; bottom: -160px; left: -120px; background: var(--secondary); opacity: .16; }
.hero .decor .b1, .section-teal .decor .b1 { background: var(--tertiary); opacity: .18; }
.hero .decor .b2, .section-teal .decor .b2 { background: #0a8f8f; opacity: .35; }
.section-inner { position: relative; z-index: 1; }

/* Hero rhythm */
.hero .eyebrow { margin-bottom: 0; }
.hero .btn { box-shadow: 0 14px 30px rgba(220,38,38,.28); }

/* Trust signals row under hero CTA */
.hero-trust { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; margin-top: 24px; color: var(--on-dark); font-size: var(--fs-p-sm); }
.hero-trust span { display: inline-flex; align-items: center; gap: 7px; }
.hero-trust svg { width: 18px; height: 18px; color: var(--tertiary); flex: 0 0 auto; }
.hero-trust .stars svg { color: #FBBC05; fill: #FBBC05; width: 16px; height: 16px; }

/* Report-cover mockup */
.report-cover { position: relative; display: flex; justify-content: center; align-items: center; padding: 12px; }
.report-cover img { border-radius: var(--r-md); box-shadow: 0 30px 70px rgba(0,0,0,.30); transform: rotate(-2.5deg); transition: transform .35s ease; max-height: 560px; width: auto; }
.report-cover img:hover { transform: rotate(0deg) scale(1.02); }
.report-cover .free-ribbon { position: absolute; top: 10px; right: 6px; z-index: 2; background: var(--cta); color: #fff; font-weight: 800; font-size: 13px; letter-spacing: 1px; text-transform: uppercase; padding: 8px 16px; border-radius: var(--r-xl); box-shadow: 0 8px 18px rgba(220,38,38,.35); transform: rotate(4deg); }
.offer-grid { display: grid; grid-template-columns: 1fr; gap: 36px; align-items: center; }
@media (min-width: 900px) { .offer-grid { grid-template-columns: .85fr 1fr; gap: 52px; } }

/* Combined trust band: media logos + award badges */
.trust-logos { display: flex; flex-wrap: wrap; gap: 26px 44px; align-items: center; justify-content: center; }
.trust-logos img { height: 34px; width: auto; object-fit: contain; opacity: .85; }
.award-strip { display: flex; flex-wrap: wrap; gap: 16px 22px; align-items: center; justify-content: center; margin-top: 30px; }
.award-strip img { height: 92px; width: auto; transition: transform .2s ease; }
.award-strip img:hover { transform: translateY(-3px); }
.trust-divider { height: 1px; background: var(--divider); max-width: 560px; margin: 30px auto; }

/* Photo framing + image band */
.img-frame { border-radius: var(--card-radius); overflow: hidden; box-shadow: var(--shadow-md); }
.img-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.split-grid { display: grid; grid-template-columns: 1fr; gap: 36px; align-items: center; }
@media (min-width: 900px) { .split-grid { grid-template-columns: 1fr 1fr; gap: 52px; } .split-grid.reverse > :first-child { order: 2; } }
.photo-band { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (min-width: 768px) { .photo-band { grid-template-columns: repeat(4, 1fr); } }
.photo-band .img-frame { aspect-ratio: 1 / 1; }

/* Stat / trust band */
.stat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
@media (min-width: 768px) { .stat-grid { grid-template-columns: repeat(4, 1fr); } }
.stat { text-align: center; background: rgba(255,255,255,.08); border-radius: var(--card-radius); padding: 24px 16px; }
.stat .n { font-size: 40px; font-weight: 800; line-height: 1; color: #fff; letter-spacing: -.02em; }
.stat .l { font-size: var(--fs-p-sm); color: var(--on-dark); margin-top: 8px; }

/* Eyebrow accent underline on section heads */
.sec-head .eyebrow { position: relative; }
.section-teal .stat .n { color: #fff; }

/* ============================================================
   Refinement layer 2 - book mockup, discover cards, Google reviews carousel
   ============================================================ */

/* 3D book / report mockup (hero + offer) */
.book-mockup { position: relative; display: flex; justify-content: center; align-items: center; padding: 10px; }
.book-mockup::before { content: ""; position: absolute; width: 78%; height: 70%; border-radius: 9999px; background: radial-gradient(closest-side, rgba(0,200,117,.30), rgba(0,200,117,0)); filter: blur(20px); z-index: 0; }
.book-mockup img { position: relative; z-index: 1; max-height: 620px; width: auto; filter: drop-shadow(0 26px 40px rgba(0,0,0,.45)); animation: bookfloat 6s ease-in-out infinite; }
.book-mockup .free-ribbon { position: absolute; top: 4px; right: 8%; z-index: 2; background: var(--cta); color: #fff; font-weight: 800; font-size: 13px; letter-spacing: 1px; text-transform: uppercase; padding: 8px 16px; border-radius: var(--r-xl); box-shadow: 0 8px 18px rgba(220,38,38,.4); transform: rotate(4deg); }
@keyframes bookfloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@media (prefers-reduced-motion: reduce) { .book-mockup img { animation: none; } }
.offer-grid .book-mockup img { max-height: 560px; }

/* Google "G" mark inside hero-trust (replaces stars) */
.hero-trust .g-mark { width: 20px; height: 20px; flex: 0 0 auto; }

/* "What You'll Discover" - card grid */
.discover-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 768px) { .discover-grid { grid-template-columns: 1fr 1fr; } }
.discover-card { display: flex; gap: 16px; align-items: flex-start; background: var(--surface); border: var(--box-border); border-radius: var(--card-radius); padding: 24px; transition: all .3s ease; }
.discover-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); background: var(--hover-tint); }
.discover-card .num { flex: 0 0 auto; width: 46px; height: 46px; border-radius: var(--r-full); background: var(--secondary); color: var(--surface); font-weight: 700; font-size: 19px; display: flex; align-items: center; justify-content: center; }
.discover-card p { margin: 0; font-size: var(--fs-p); color: var(--on-surface); line-height: 1.8; }
.discover-card p b { color: var(--on-surface); font-weight: 700; }
.discover-grid .span-2 { grid-column: 1 / -1; }

/* VSL standalone section */
.vsl-wrap { max-width: 860px; margin: 0 auto; }

/* ---------- Google Reviews carousel ---------- */
.gr-rating { display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 6px; }
.gr-rating .gr-g { width: 26px; height: 26px; }
.gr-rating .gr-stars { display: inline-flex; gap: 2px; }
.gr-rating .gr-stars svg { width: 18px; height: 18px; fill: #FBBC05; }
.gr-rating b { color: var(--on-surface); font-size: var(--fs-h4); }
.gr-rating span { color: var(--on-surface); font-size: var(--fs-p-sm); }

.gr-carousel { position: relative; }
.gr-track { display: flex; align-items: flex-start; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 6px 2px 18px; -webkit-overflow-scrolling: touch; }
.gr-track::-webkit-scrollbar { height: 6px; }
.gr-track::-webkit-scrollbar-thumb { background: var(--border); border-radius: 9999px; }
.gr-track::-webkit-scrollbar-track { background: transparent; }
.gr-card { flex: 0 0 350px; max-width: 86vw; scroll-snap-align: start; background: #fff; border: 1px solid var(--divider); border-radius: var(--card-radius); padding: 24px; display: flex; flex-direction: column; gap: 10px; box-shadow: 0 4px 16px rgba(0,0,0,.05); }
.gr-card .gr-top { display: flex; align-items: center; justify-content: space-between; }
.gr-card .gr-g { width: 22px; height: 22px; }
.gr-card .gr-stars { display: inline-flex; gap: 2px; }
.gr-card .gr-stars svg { width: 15px; height: 15px; fill: #FBBC05; }
.gr-quote { color: #3c4043; font-size: var(--fs-p-sm); line-height: 1.7; flex: 1; margin: 0; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 6; overflow: hidden; min-height: calc(1.7em * 6); }
.gr-quote.is-expanded { -webkit-line-clamp: unset; display: block; overflow: visible; min-height: 0; }
.gr-more { align-self: flex-start; background: none; border: 0; padding: 0; margin: 10px 0 0; color: var(--secondary); font-weight: 600; font-size: var(--fs-note); font-family: inherit; cursor: pointer; }
.gr-more:hover { color: var(--cta); text-decoration: underline; }
.gr-who { display: flex; align-items: center; gap: 12px; padding-top: 12px; border-top: 1px solid var(--divider); }
.gr-avatar { width: 44px; height: 44px; border-radius: 9999px; object-fit: cover; flex: 0 0 auto; background: var(--teal-soft); }
.gr-who b { font-size: var(--fs-p-sm); color: var(--on-surface); display: block; line-height: 1.2; }
.gr-who .gr-src { display: inline-flex; align-items: center; gap: 5px; font-size: var(--fs-note); color: #4285F4; font-weight: 600; margin-top: 2px; }
.gr-who .gr-src svg { width: 13px; height: 13px; }
.gr-nav { display: flex; gap: 12px; justify-content: center; margin-top: 12px; }
.gr-nav button { width: 46px; height: 46px; border-radius: 9999px; border: 1px solid var(--border); background: #fff; cursor: pointer; color: var(--secondary); display: flex; align-items: center; justify-content: center; transition: all .2s ease; }
.gr-nav button:hover { border-color: var(--secondary); box-shadow: var(--shadow-md); transform: translateY(-1px); }
.gr-nav button svg { width: 20px; height: 20px; }
.gr-write { text-align: center; margin-top: 18px; }
.gr-write a { display: inline-flex; align-items: center; gap: 8px; color: var(--secondary); font-weight: 600; font-size: var(--fs-p-sm); text-decoration: none; }
.gr-write a:hover { color: var(--cta); }

/* ============================================================
   Trust marquees - mirrors tembusulaw.com.sg AsSeenOn + FeaturedOn
   Each logo sits in a fixed equal slot (object-fit: contain) so the
   strip is visually balanced regardless of source logo proportions.
   ============================================================ */
.as-seen-on-carousel, .featured-on-carousel {
  width: 100%; overflow: hidden; position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}
.as-seen-on-track {
  display: flex; align-items: center; gap: 4rem; width: max-content;
  animation: as-seen-on-scroll 30s linear infinite;
}
.as-seen-on-carousel:hover .as-seen-on-track { animation-play-state: paused; }
.as-seen-on-slide { flex: 0 0 auto; display: flex; align-items: center; justify-content: center; width: 10rem; height: 3rem; }
.as-seen-on-slide img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; filter: grayscale(1) opacity(.55); transition: filter .25s, transform .25s; }
.as-seen-on-slide img:hover { filter: grayscale(0) opacity(1); transform: scale(1.05); }
@keyframes as-seen-on-scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-33.3333%); } }

.featured-on-eyebrow { text-align: center; margin: 36px 0 18px; }
.featured-on-track {
  display: flex; align-items: center; gap: 2.5rem; width: max-content;
  animation: featured-on-scroll 45s linear infinite;
}
.featured-on-carousel:hover .featured-on-track { animation-play-state: paused; }
.featured-on-slide { flex: 0 0 auto; display: flex; align-items: center; justify-content: center; width: 7rem; height: 7rem; }
.featured-on-slide img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; filter: grayscale(.3) opacity(.85); transition: filter .25s, transform .25s; }
.featured-on-slide img:hover { filter: grayscale(0) opacity(1); transform: scale(1.05); }
@keyframes featured-on-scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

@media (max-width: 767px) {
  .as-seen-on-slide { width: 7rem; height: 2.25rem; }
  .as-seen-on-track { gap: 2.5rem; animation-duration: 22s; }
  .featured-on-slide { width: 5rem; height: 5rem; }
  .featured-on-track { gap: 1.5rem; animation-duration: 35s; }
}
@media (prefers-reduced-motion: reduce) { .as-seen-on-track, .featured-on-track { animation: none; } }

/* ---------- Discover card: subheader + text on next line ---------- */
.discover-card .dc-body { flex: 1; }
.discover-title { font-family: 'DM Sans', sans-serif; font-size: var(--fs-h4); font-weight: 700; color: var(--on-surface); line-height: 1.35; margin: 0 0 10px; }
.discover-card .dc-body p { margin: 0; font-size: var(--fs-p); color: var(--on-surface); line-height: 1.8; }

/* ---------- As Seen On: static balanced media row ---------- */
.media-logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 2.5rem 3.5rem; }
.media-logo { flex: 0 0 auto; display: flex; align-items: center; justify-content: center; width: 10rem; height: 3rem; }
.media-logo img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; transition: transform .25s; }
.media-logo img:hover { transform: scale(1.05); }
@media (max-width: 767px) {
  .media-logos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.75rem 1rem; justify-items: center; align-items: center; }
  .media-logo { width: 100%; max-width: 9rem; height: 2.9rem; }
  .media-logo:last-child { grid-column: 1 / -1; }
}
/* As Seen On - divorce-thank treatment (custom order + sizing + mobile 2/3 wrap) */
.dc-logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 2rem 3.5rem; }
.dc-logo { flex: 0 0 auto; display: flex; align-items: center; justify-content: center; width: 9.5rem; height: 3rem; }
.dc-logo img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; transition: transform .25s; }
.dc-logo img:hover { transform: scale(1.05); }
.dc-logo--lg { width: 11.5rem; height: 4.25rem; }
.dc-logo-break { display: none; }
@media (max-width: 600px) {
  .dc-logos { gap: 0.6rem 0.6rem; }
  .dc-logo { width: 6rem; height: 2.85rem; }
  .dc-logo--lg { width: 6.4rem; height: 3.2rem; }
  .dc-logo-break { display: block; flex-basis: 100%; height: 0; }
}

/* "Recognised By" - plain centred label (not an eyebrow) */
.featured-on-label { text-align: center; color: var(--on-surface); font-size: var(--fs-p-sm); font-weight: 500; margin: 48px 0 24px; }

/* ---------- Bigger heading utility (DESIGN.md headline-lg: 32 / 52) ---------- */
.h2-xl { font-size: var(--fs-h2-xl); line-height: 1.2; }

/* ---------- Sticky mobile CTA bar ---------- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: flex; justify-content: center;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.94); backdrop-filter: blur(8px);
  border-top: 1px solid var(--divider); box-shadow: 0 -6px 20px rgba(0,0,0,.10);
  transform: translateY(115%); transition: transform .3s ease; visibility: hidden;
}
.sticky-cta.show { transform: translateY(0); visibility: visible; }
.sticky-cta .btn { width: 100%; max-width: 520px; min-width: 0; }
@media (min-width: 901px) { .sticky-cta { display: none; } }

/* ---------- VSL click-to-load facade (avoids Wistia auto-loading) ---------- */
.vsl-facade { display: block; width: 100%; padding: 0; margin: 0; border: 0; background: #000; cursor: pointer; position: relative; line-height: 0; }
.vsl-facade img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.vsl-facade::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.30)); }
.vsl-facade .vsl-play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 1; width: 76px; height: 76px; border-radius: var(--r-full); background: rgba(220,38,38,.94); display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 30px rgba(0,0,0,.45); transition: transform .2s ease, background .2s ease; }
.vsl-facade:hover .vsl-play { transform: translate(-50%, -50%) scale(1.08); background: var(--cta); }
.vsl-facade .vsl-play svg { width: 30px; height: 30px; fill: #fff; margin-left: 5px; }

/* ---------- Phone country-code selector (intl-tel-input) ---------- */
.lp-form .iti { width: 100%; display: block; }
.lp-form .iti input[type=tel] { width: 100%; }
.lp-form .iti__selected-flag { background: transparent; border-radius: var(--r-md) 0 0 var(--r-md); padding-left: 14px; }
.lp-form .iti__selected-flag:hover, .lp-form .iti__selected-flag:focus { background: rgba(0,0,0,.04); }
.lp-form .iti__selected-dial-code { color: var(--on-surface); font-size: var(--fs-p-sm); margin-left: 6px; }
.lp-form .iti__country-list { color: var(--on-surface); text-align: left; }

/* book mockup mobile */
@media (max-width: 767px) {
  .book-mockup img { max-height: 320px; }
  .offer-grid .book-mockup img { max-height: 300px; }
}

/* Phone country dropdown on real mobile: bottom sheet, not fullscreen
   (overrides intl-tel-input .iti-mobile fixed 30px-inset popup) */
.iti-mobile .iti--container {
  top: auto; left: 0; right: 0; bottom: 0;
  position: fixed; padding: 0;
}
.iti-mobile .iti__country-list {
  width: 100%; max-height: 60vh; margin: 0;
  border-radius: var(--r-md) var(--r-md) 0 0;
  box-shadow: 0 -10px 30px rgba(0,0,0,.28);
  -webkit-overflow-scrolling: touch;
}

/* Phone country dropdown - smaller list text */
.iti__country-list { font-size: 14px; }
.iti__country-list .iti__country { padding: 8px 10px; }
.iti__country-list .iti__dial-code { color: var(--neutral); }

/* 20px gap below the final-CTA heading */
.sec-head h2.h2-xl { margin-bottom: 10px; }

/* ---------- Report opt-in hero: center the copy only when stacked (mobile) ---------- */
@media (max-width: 979px) {
  .hero--report-center .hero-grid > div:first-child { text-align: center; }
  .hero--report-center .hero-trust { justify-content: center; }
}

/* ---------- Centered single-column hero (thank/application pages) ---------- */
.hero--center .section-inner { text-align: center; }
.hero--center .hero-inner { max-width: 800px; margin: 0 auto; }
.hero--center .hero-trust { justify-content: center; }
.hero--center .eyebrow { display: inline-block; }

/* ---------- Floating WhatsApp button (ad attribution) — assets/whatsapp.js ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 24px; z-index: 70;
  display: inline-flex; align-items: center; gap: 10px;
  height: 56px; padding: 0 20px 0 14px;
  background: #25D366; color: #fff; border-radius: 9999px;
  font-weight: 700; font-size: 15px; line-height: 1; text-decoration: none;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .22);
  transition: transform .18s ease, box-shadow .18s ease, bottom .25s ease;
}
.wa-float:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(0, 0, 0, .28); color: #fff; }
.wa-float:focus-visible { outline: 3px solid rgba(37, 211, 102, .45); outline-offset: 2px; }
.wa-float svg { width: 30px; height: 30px; flex: 0 0 auto; fill: currentColor; }
.wa-float-label { white-space: nowrap; }
/* gentle attention pulse */
.wa-float::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  box-shadow: 0 0 0 0 rgba(37, 211, 102, .5); animation: waPulse 2.6s ease-out infinite;
}
@keyframes waPulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .5); }
  70% { box-shadow: 0 0 0 14px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}
@media (max-width: 900px) {
  .wa-float { right: 16px; bottom: 16px; height: 54px; width: 54px; padding: 0; justify-content: center; gap: 0; }
  .wa-float-label { display: none; }            /* icon-only on mobile */
  .wa-float svg { width: 28px; height: 28px; }
  .wa-float--lifted { bottom: 84px; }            /* clear the sticky CTA bar */
}
@media (prefers-reduced-motion: reduce) {
  .wa-float::after { animation: none; }
  .wa-float { transition: none; }
}
