/* Self-hosted fonts (no third-party requests) */
@font-face { font-family: "Plus Jakarta Sans"; src: url("/assets/fonts/plus-jakarta-sans.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Caveat"; src: url("/assets/fonts/caveat-700.woff2") format("woff2"); font-weight: 600 700; font-style: normal; font-display: swap; }

/* =========================================================
   LandlordWala — app.css
   Mobile-first. No build step: plain CSS with design tokens.
   ========================================================= */

:root {
  --forest: #0d2b3e;
  --forest-2: #12364a;
  --teal: #0f5f63;
  --panel: #0f2a3c;
  --panel-2: #15394f;
  --ink: #0f1c2e;
  --ink-2: #45515f;
  --muted: #6b7684;
  --line: #dde7ea;
  --bg: #f3f8f8;
  --white: #ffffff;
  --gold: #0f7c78;
  --gold-2: #0b6662;
  --gold-soft: #dcefeb;
  --green: #22a55a;
  --mint: #5fdccd;
  --red: #d93a3a;
  --blue: #2563c9;
  --accent-bright: #6fd8cb; /* teal accent for text on dark backgrounds */
  --on-accent: #ffffff;
  --mint-bg: #e8f5f3;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(13, 27, 46, .06), 0 2px 8px rgba(13, 27, 46, .06);
  --shadow: 0 10px 30px rgba(13, 27, 46, .14);
  --shadow-lg: 0 24px 60px rgba(8, 20, 34, .35);

  --font: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --script: "Caveat", "Segoe Script", cursive;

  --header-h: 64px;
  --gutter: 16px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; cursor: pointer; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 6px; }

.container { width: 100%; max-width: 1360px; margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 8px; top: -60px; background: var(--gold); color: var(--on-accent); padding: 10px 14px; border-radius: 8px; z-index: 100; font-weight: 700; }
.skip-link:focus { top: 8px; }
.gold { color: var(--accent-bright); }

.icon { width: 1.25em; height: 1.25em; flex: none; }
.icon-sm { width: 1em; height: 1em; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: 0 1.25rem;
  border-radius: 14px; border: 2px solid transparent;
  font-weight: 700; font-size: 1rem; text-decoration: none; line-height: 1.1;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-sm { min-height: 40px; padding: 0 .9rem; font-size: .9rem; border-radius: 12px; }
.btn-lg { min-height: 56px; padding: 0 1.5rem; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn-gold { background: var(--gold); color: var(--on-accent); box-shadow: 0 6px 18px rgba(15, 124, 120, .35); }
.btn-gold:hover { background: var(--gold-2); }
.btn-outline { background: var(--white); border-color: var(--ink); color: var(--ink); }
.btn-outline-dark { border-color: var(--forest); color: var(--forest); background: transparent; }
.btn-ghost { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.85); color: var(--white); }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-ghost-dark { background: rgba(255,255,255,.08); color: var(--white); border-color: rgba(255,255,255,.25); }
.btn-soft-gold { background: var(--gold-soft); color: var(--ink); min-height: 44px; }
.btn-white { background: var(--white); color: var(--ink); }
.link-btn { background: none; border: 0; padding: 0; text-decoration: none; }
.link-btn:hover { text-decoration: underline; }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; border: 0; background: rgba(255,255,255,.08); color: var(--white); }
.icon-btn:hover { background: rgba(255,255,255,.16); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 40; background: var(--white); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 1rem; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; flex: none; }
.brand-mark { width: 40px; height: 40px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-weight: 800; font-size: 1.35rem; letter-spacing: -0.03em; color: var(--forest); }
.brand-tag { font-size: .72rem; color: var(--ink-2); margin-top: 3px; font-weight: 500; }
.brand-light .brand-name { color: var(--white); }
.brand-light .brand-tag { color: rgba(255,255,255,.7); }

.main-nav { display: none; margin-left: auto; }
.main-nav ul { display: flex; gap: .15rem; }
.main-nav a { display: block; white-space: nowrap; padding: .5rem .55rem; text-decoration: none; font-size: .9rem; font-weight: 500; color: var(--ink); border-radius: 8px; position: relative; }
.main-nav a:hover { background: var(--bg); }
.main-nav a[aria-current="page"] { font-weight: 700; }
.main-nav a[aria-current="page"]::after { content: ""; position: absolute; left: .55rem; right: .55rem; bottom: 2px; height: 3px; border-radius: 2px; background: var(--gold); }

.header-actions { display: flex; align-items: center; gap: .5rem; margin-left: auto; }
.hide-sm { display: none; }
.show-sm { display: inline-flex; }
.menu-toggle { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: var(--white); color: var(--ink); }
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }

.mobile-menu { border-top: 1px solid var(--line); background: var(--white); padding: .5rem var(--gutter) 1rem; box-shadow: var(--shadow); }
.mobile-menu ul { display: grid; grid-template-columns: 1fr 1fr; gap: .25rem; }
.mobile-menu a { display: block; padding: .8rem .75rem; border-radius: 10px; text-decoration: none; font-weight: 600; }
.mobile-menu a:hover { background: var(--bg); }
.mobile-menu-actions { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; margin-top: .75rem; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; color: var(--white); background: var(--forest); isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 34, 50, .97) 0%, rgba(10, 34, 50, .88) 38%, rgba(10, 34, 50, .35) 70%, rgba(10, 34, 50, .65) 100%),
    linear-gradient(0deg, rgba(10, 34, 50, .7), rgba(10, 34, 50, 0) 40%);
}
.hero-grid { display: grid; gap: 1.5rem; padding-top: 1.5rem; padding-bottom: 1.75rem; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .35rem .85rem; border: 1.5px solid rgba(255,255,255,.7); border-radius: 999px;
  font-size: .75rem; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; margin-bottom: 1rem;
}
.flag { font-size: 1rem; line-height: 1; }
.hero-title { font-size: clamp(2.6rem, 11vw, 4.6rem); font-weight: 800; letter-spacing: -0.045em; line-height: .98; }
.hero-title .line { display: block; }
.hero-lede { margin-top: 1rem; font-size: 1.05rem; color: rgba(255,255,255,.9); max-width: 34rem; }

.ticks { display: grid; gap: .4rem; margin-top: 1rem; }
.ticks li { display: flex; align-items: flex-start; gap: .55rem; font-size: .98rem; }
.ticks .icon { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--green); color: var(--white); stroke-width: 3; margin-top: 1px; }
.ticks-dark li { color: var(--ink); }
.ticks.big li { font-size: 1.05rem; padding: .35rem 0; }

.hero-ctas { display: grid; gap: .75rem; margin-top: 1.4rem; }
.hero-ctas .btn { width: 100%; }

/* people + bubbles */
.hero-people { position: relative; min-height: 300px; display: flex; align-items: flex-end; justify-content: center; }
.founder { position: relative; margin: 0; width: 56%; max-width: 260px; }
.founder img { width: 100%; height: auto; }
.signature { position: absolute; left: -6%; top: 6%; transform: rotate(-8deg); font-family: var(--script); color: var(--white); display: none; }
.sig-name { font-size: 1.9rem; font-weight: 700; display: block; }
.signature ul { list-style: disc; padding-left: 1.1rem; font-size: 1.25rem; line-height: 1.1; }
.hero-mascot { position: absolute; right: 2%; bottom: 0; width: 38%; max-width: 170px; filter: drop-shadow(0 10px 20px rgba(0,0,0,.35)); animation: bob 5s ease-in-out infinite; }
.bubble { position: absolute; font-weight: 700; line-height: 1.25; padding: .8rem 1rem; border-radius: 18px; box-shadow: var(--shadow); color: var(--ink); max-width: 15rem; font-size: .9rem; }
.bubble-gold { background: var(--gold); transform: rotate(-4deg); }
.bubble-white { background: var(--white); border: 2px solid var(--forest); transform: rotate(-3deg); }
.bubble-founder { left: 0; top: 0; }
.bubble-wala { display: none; }

@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ---------- Wala panel (hero) ---------- */
.wala-panel {
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border-radius: var(--radius-lg); padding: 1.1rem; box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,.08);
}
.wala-head { display: flex; align-items: center; gap: .75rem; }
.wala-avatar { width: 52px; height: 52px; padding: 6px; border-radius: 50%; background: var(--white); }
.wala-avatar.sm { width: 40px; height: 40px; padding: 4px; }
.wala-title { font-size: 1.5rem; font-weight: 800; }
.wala-sub { font-size: .88rem; color: rgba(255,255,255,.82); }
.status-pill { margin-left: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: .35rem; background: var(--green); color: var(--white); font-size: .78rem; font-weight: 700; padding: .25rem .7rem; border-radius: 999px; }
.status-pill .dot { width: 7px; height: 7px; border-radius: 50%; background: #d2fff6; animation: pulse 2s infinite; }

.wave { display: flex; align-items: center; justify-content: center; gap: 3px; height: 54px; margin: .75rem 0 .25rem; }
.wave span { width: 3px; border-radius: 2px; background: var(--mint); opacity: .85; height: calc(8px + 30px * var(--h, .3)); animation: wave 1.6s ease-in-out infinite; animation-delay: calc(var(--i) * -0.07s); }
.wave span:nth-child(3n) { --h: .6; }
.wave span:nth-child(5n) { --h: .9; }
.wave span:nth-child(7n) { --h: .45; }
.wave span:nth-child(-n+4), .wave span:nth-last-child(-n+4) { opacity: .35; --h: .15; }
@keyframes wave { 0%, 100% { transform: scaleY(.55); } 50% { transform: scaleY(1); } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

.wala-controls { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; justify-items: center; }
.wala-side { display: grid; justify-items: center; gap: .3rem; background: none; border: 0; color: var(--white); font-weight: 700; font-size: .9rem; padding: .25rem; border-radius: 12px; }
.wala-side-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.15); transition: background .15s; }
.wala-side:hover .wala-side-icon { background: rgba(255,255,255,.2); }
.mic-btn {
  position: relative; width: 96px; height: 96px; border-radius: 50%; border: 0;
  background: radial-gradient(circle at 35% 30%, #6fe3d6, #0f9a90 70%);
  color: var(--forest); display: grid; place-items: center;
  box-shadow: 0 0 0 8px rgba(95, 220, 205, .15), 0 10px 30px rgba(0,0,0,.35);
  transition: transform .15s;
}
.mic-btn .icon { width: 40px; height: 40px; stroke-width: 2.4; }
.mic-btn:hover { transform: scale(1.04); }
.mic-ring { position: absolute; inset: -10px; border-radius: 50%; border: 2px solid rgba(95, 220, 205, .45); animation: ring 2.4s ease-out infinite; }
@keyframes ring { 0% { transform: scale(.9); opacity: 1; } 100% { transform: scale(1.25); opacity: 0; } }
.mic-caption { text-align: center; font-weight: 700; font-size: .92rem; margin-top: .55rem; }

.samples { margin-top: .9rem; background: var(--white); border-radius: var(--radius); padding: .35rem; display: grid; }
.sample { display: flex; align-items: center; gap: .7rem; width: 100%; text-align: left; background: none; border: 0; padding: .7rem .6rem; border-radius: 10px; color: var(--ink); font-size: .9rem; font-weight: 500; min-height: 48px; }
.samples li + li .sample { border-top: 1px solid var(--line); border-radius: 0; }
.sample:hover { background: var(--bg); }
.sample-text { flex: 1; }
.sample-arrow { color: var(--ink-2); transition: transform .15s; }
.sample:hover .sample-arrow { transform: translateX(3px); }
.sample-icon { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; color: var(--white); flex: none; }
.tone-red .sample-icon, .sample-icon.tone-red { background: var(--red); }
.sample-icon.tone-green { background: var(--green); }
.sample-icon.tone-gold { background: var(--gold); color: var(--on-accent); }

/* ---------- Services ---------- */
.services { background: var(--bg); padding: 1.25rem 0 1.5rem; }
.service-grid { display: grid; grid-template-columns: 1fr; gap: .9rem; }
.service-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-sm); border: 1px solid var(--line); overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
.service-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.service-link { display: grid; grid-template-columns: 76px 1fr; gap: .9rem; padding: 1rem; text-decoration: none; height: 100%; }
.service-art { position: relative; border-radius: 12px; display: grid; place-items: center; background: var(--forest); min-height: 76px; }
.service-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--white); color: var(--forest); box-shadow: 0 0 0 4px rgba(255,255,255,.25); }
.service-icon .icon { width: 24px; height: 24px; }
.service-icon.lg { width: 64px; height: 64px; margin-bottom: 1rem; }
.service-icon.lg .icon { width: 32px; height: 32px; }
.tone-red .service-art { background: linear-gradient(135deg, #b52a2a, #7c1d1d); }
.tone-red .service-icon { color: var(--red); }
.tone-blue .service-art { background: linear-gradient(135deg, #2b64c4, #183f80); }
.tone-blue .service-icon { color: var(--blue); }
.tone-green .service-art { background: linear-gradient(135deg, #1a8a82, #12394f); }
.tone-green .service-icon { color: var(--green); }
.badge { position: absolute; top: -6px; right: -6px; background: var(--red); color: var(--white); font-size: .7rem; font-weight: 700; padding: .2rem .55rem; border-radius: 999px; }
.service-title { font-size: 1.1rem; font-weight: 800; }
.service-text { color: var(--ink-2); font-size: .9rem; margin-top: .3rem; }
.service-cta { margin-top: .75rem; font-size: .9rem; padding: 0 .9rem; min-height: 40px; }
.service-card:hover .service-cta { background: var(--gold); }

/* ---------- Trust strip ---------- */
.trust { background: var(--forest); color: var(--white); }
.trust-list { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem .75rem; padding-top: 1.25rem; padding-bottom: 1.25rem; }
.trust-list li { display: flex; align-items: center; gap: .65rem; }
.trust-list strong { display: block; font-size: .9rem; }
.trust-list small { display: block; font-size: .78rem; color: rgba(255,255,255,.75); }
.trust-icon { color: var(--accent-bright); flex: none; }
.trust-icon .icon { width: 30px; height: 30px; }

/* ---------- Lower: steps + join ---------- */
.lower { padding: 2rem 0; background: var(--white); }
.lower-grid { display: grid; gap: 2rem; }
.section-title { font-size: 1.6rem; font-weight: 800; }
.section-sub { color: var(--ink-2); margin-top: .25rem; }
.steps { display: grid; gap: .9rem; margin-top: 1.1rem; counter-reset: s; }
.step { position: relative; border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1rem 1rem 3.6rem; box-shadow: var(--shadow-sm); }
.step-num { position: absolute; left: 1rem; top: 1rem; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--gold); font-weight: 800; }
.step h3 { display: flex; align-items: center; gap: .45rem; font-size: 1.02rem; font-weight: 700; }
.step p { color: var(--ink-2); font-size: .92rem; margin-top: .3rem; }

.join { display: grid; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.join-art { position: relative; background: var(--forest); color: var(--accent-bright); padding: 1.25rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 180px; }
.join-script { font-family: var(--script); font-size: 2rem; line-height: 1.05; transform: rotate(-6deg); }
.join-art img { width: 130px; filter: drop-shadow(0 10px 20px rgba(0,0,0,.35)); }
.join-card { background: linear-gradient(160deg, #2a9d95, var(--gold)); padding: 1.5rem; }
.join-card h2 { font-size: 1.5rem; font-weight: 800; }
.join-card .ticks { margin: .9rem 0 1.2rem; }
.join-small { font-size: .82rem; text-align: center; margin-top: .6rem; color: var(--ink-2); }

/* ---------- Footer ---------- */
.site-footer { background: #0a2232; color: rgba(255,255,255,.85); padding-top: 2.5rem; }
.footer-grid { display: grid; gap: 2rem; }
.footer-note { font-size: .85rem; margin-top: 1rem; max-width: 26rem; color: rgba(255,255,255,.7); }
.footer-h { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--accent-bright); margin-bottom: .8rem; }
.footer-links { display: grid; gap: .5rem; font-size: .92rem; }
.footer-links a { text-decoration: none; }
.footer-links a:hover, .footer-bottom a:hover { text-decoration: underline; color: var(--white); }
.footer-bottom { display: grid; gap: .4rem; border-top: 1px solid rgba(255,255,255,.12); margin-top: 2rem; padding-top: 1.25rem; padding-bottom: 6rem; font-size: .82rem; color: rgba(255,255,255,.6); }

/* ---------- Inner pages ---------- */
.page-hero { background: var(--forest); color: var(--white); padding: 2.5rem 0; }
.page-hero h1 { font-size: clamp(2rem, 7vw, 3.2rem); font-weight: 800; }
.page-hero .hero-ctas { max-width: 34rem; }
.page-lede { font-size: 1.1rem; color: inherit; opacity: .9; margin-top: .6rem; max-width: 40rem; }
.crumb { display: inline-block; color: rgba(255,255,255,.75); text-decoration: none; margin-bottom: 1.25rem; font-weight: 600; font-size: .9rem; }
.page-hero.tone-red .service-icon { color: var(--red); }
.page-hero.tone-blue .service-icon { color: var(--blue); }
.page-hero.tone-green .service-icon { color: var(--green); }
.page-body { padding-top: 2.5rem; padding-bottom: 3rem; }
.page-grid { display: grid; gap: 2rem; }
.page-grid .ticks { margin-top: 1rem; }
.note-card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.5rem; align-self: start; }
.note-card h2 { font-size: 1.25rem; font-weight: 800; }
.note-card p { color: var(--ink-2); margin: .6rem 0 1.1rem; }
.note-card .small { font-size: .82rem; text-align: center; margin: .6rem 0 0; }
.prose { max-width: 46rem; }
.prose h1 { font-size: 2.2rem; font-weight: 800; margin-bottom: .75rem; }
.prose p { margin: 0 0 1rem; color: var(--ink-2); }
.prose .page-lede { color: var(--ink); }
.draft-note { background: var(--gold-soft); color: var(--ink) !important; padding: .75rem 1rem; border-radius: 12px; font-weight: 600; }

/* ---------- Wala sheet (conversation) ---------- */
.sheet-backdrop { position: fixed; inset: 0; background: rgba(4, 20, 16, .55); z-index: 60; backdrop-filter: blur(2px); }
.wala-sheet {
  position: fixed; inset: 0; z-index: 70;
  display: flex; flex-direction: column;
  background: linear-gradient(180deg, var(--panel-2), #0a2232);
  color: var(--white);
  transform: translateY(100%); visibility: hidden;
  transition: transform .3s cubic-bezier(.2,.8,.2,1), visibility 0s linear .3s;
  padding-bottom: env(safe-area-inset-bottom);
}
.wala-sheet.is-open { transform: none; visibility: visible; transition: transform .3s cubic-bezier(.2,.8,.2,1); }
.sheet-head { display: flex; align-items: center; gap: .75rem; padding: .8rem var(--gutter); padding-top: calc(.8rem + env(safe-area-inset-top)); border-bottom: 1px solid rgba(255,255,255,.1); }
.sheet-head-text { flex: 1; }
.sheet-head h2 { font-size: 1.15rem; font-weight: 800; }
.sheet-status { font-size: .82rem; color: var(--mint); }
.sheet-body { flex: 1; overflow-y: auto; padding: 1rem var(--gutter); display: flex; flex-direction: column; gap: .75rem; overscroll-behavior: contain; }
.msg { max-width: 88%; padding: .75rem .95rem; border-radius: 18px; font-size: .97rem; line-height: 1.45; white-space: pre-wrap; }
.msg p + p { margin-top: .5rem; }
.msg-wala { background: rgba(255,255,255,.1); border-top-left-radius: 6px; align-self: flex-start; }
.msg-user { background: var(--gold); color: var(--on-accent); border-top-right-radius: 6px; align-self: flex-end; }
.msg-note { align-self: center; font-size: .82rem; color: rgba(255,255,255,.7); background: none; text-align: center; }
.msg.typing { display: inline-flex; gap: 4px; padding: .9rem 1rem; }
.msg.typing span { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.7); animation: blink 1.2s infinite; }
.msg.typing span:nth-child(2) { animation-delay: .2s; }
.msg.typing span:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }
.chips { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .65rem; }
.chip { background: var(--white); color: var(--forest); border: 0; border-radius: 999px; padding: .5rem .85rem; font-weight: 700; font-size: .85rem; min-height: 40px; }
.chip:hover, .chip[aria-pressed="true"] { background: var(--gold); color: var(--on-accent); }

.voice-stage { display: grid; justify-items: center; gap: .6rem; padding: 1rem var(--gutter) .5rem; border-top: 1px solid rgba(255,255,255,.08); }
.voice-label { font-weight: 700; }
.wala-sheet[data-state="listening"] .wave-live span { animation: none; transform: scaleY(var(--lvl, .2)); transition: transform .08s linear; }
.wala-sheet[data-state="thinking"] .wave-live span { animation-duration: .8s; opacity: .5; }

.composer { display: flex; align-items: flex-end; gap: .5rem; padding: .75rem var(--gutter); border-top: 1px solid rgba(255,255,255,.1); }
.composer textarea {
  flex: 1; resize: none; max-height: 140px; min-height: 48px;
  border-radius: 14px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.08); color: var(--white);
  padding: .8rem .95rem; font: inherit; font-size: 16px; line-height: 1.35;
}
.composer textarea::placeholder { color: rgba(255,255,255,.55); }
.composer textarea:focus { outline: none; border-color: var(--accent-bright); }
.composer-mic, .composer-send { width: 48px; height: 48px; border-radius: 14px; border: 0; display: grid; place-items: center; flex: none; }
.composer-mic { background: rgba(255,255,255,.1); color: var(--mint); }
.composer-send { background: var(--gold); color: var(--on-accent); }
.composer-send:disabled { opacity: .5; cursor: not-allowed; }
.sheet-legal { font-size: .74rem; color: rgba(255,255,255,.55); text-align: center; padding: 0 var(--gutter) .75rem; }
.sheet-legal a { color: inherit; }

body.sheet-open { overflow: hidden; }

/* Sticky mobile "Ask Wala" bar */
.ask-bar {
  position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 30;
  display: flex; align-items: center; gap: .6rem;
  background: var(--forest); color: var(--white); border-radius: 18px; padding: .5rem .5rem .5rem .9rem;
  box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,.12);
  transform: translateY(140%); transition: transform .3s ease;
}
.ask-bar.is-visible { transform: none; }
.ask-bar span { flex: 1; font-weight: 600; font-size: .92rem; }
.ask-bar .btn { min-height: 44px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* =========================================================
   ≥ 560px
   ========================================================= */
@media (min-width: 560px) {
  :root { --gutter: 24px; }
  .hero-ctas { grid-template-columns: auto auto; justify-content: start; }
  .hero-ctas .btn { width: auto; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .service-link { grid-template-columns: 1fr; }
  .service-art { min-height: 110px; }
  .trust-list { grid-template-columns: repeat(3, 1fr); }
  .bubble-wala { display: block; right: 0; top: 18%; max-width: 12rem; }
  .hero-people { min-height: 380px; }
  .join { grid-template-columns: 1fr 1.1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* =========================================================
   ≥ 900px (tablet / small desktop)
   ========================================================= */
@media (min-width: 900px) {
  .hide-sm { display: inline-flex; }
  .show-sm { display: none; }
  .service-grid { grid-template-columns: repeat(3, 1fr); }
  .page-grid { grid-template-columns: 1.4fr 1fr; align-items: start; }
  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; }
  .footer-bottom { grid-template-columns: 1fr auto; padding-bottom: 1.5rem; }
  .lower-grid { grid-template-columns: 1.15fr 1fr; align-items: stretch; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .step { padding: 1.1rem; }
  .step-num { position: static; margin-bottom: .6rem; }
  .ask-bar { display: none; }

  /* Sheet becomes a right-hand drawer */
  .wala-sheet { left: auto; width: 440px; top: 12px; bottom: 12px; right: 12px; border-radius: var(--radius-lg); transform: translateX(110%); box-shadow: var(--shadow-lg); }
  .wala-sheet.is-open { transform: none; }
}

/* =========================================================
   ≥ 1200px (desktop: matches the approved design)
   ========================================================= */
@media (min-width: 1200px) {
  :root { --header-h: 76px; }
  .main-nav { display: block; }
  .menu-toggle { display: none; }
  .mobile-menu { display: none !important; }
  .header-actions { margin-left: 1rem; }
  .brand-mark { width: 48px; height: 48px; }
  .brand-name { font-size: 1.65rem; }
  .brand-tag { font-size: .8rem; }

  .hero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr) 380px;
    gap: 1.5rem; align-items: stretch;
    padding-top: 1rem; padding-bottom: 0;
    min-height: 560px;
  }
  .hero-copy { padding: 1rem 0 2rem; align-self: center; }
  .hero-title { font-size: 4.4rem; }
  .hero-lede { font-size: 1.1rem; }
  .hero-people { min-height: 0; align-items: flex-end; }
  .founder { width: 92%; max-width: 380px; margin-left: -12%; }
  .signature { display: block; left: -30%; top: 32%; }
  .hero-mascot { width: 52%; max-width: 230px; right: -6%; }
  .bubble { font-size: 1rem; }
  .bubble-founder { left: 30%; top: 8%; max-width: 15rem; }
  .bubble-wala { right: -8%; top: 30%; max-width: 12rem; }
  .wala-panel { align-self: center; margin: 1rem 0 1.75rem; }

  .service-grid { grid-template-columns: repeat(6, 1fr); gap: .9rem; }
  .services { padding: 1rem 0; }
  .service-art { min-height: 96px; }
  .service-title { font-size: 1.05rem; }
  .service-text { font-size: .86rem; }
  .service-cta { width: 100%; justify-content: space-between; }
  .service-body { display: flex; flex-direction: column; height: 100%; }
  .service-cta { margin-top: auto; }
  .service-text { margin-bottom: .8rem; }

  .trust-list { grid-template-columns: repeat(6, 1fr); }
}

@media (min-width: 1400px) {
  .hero-title { font-size: 5rem; }
}

/* ---------- Layout fixes (round 1) ---------- */
.hero-grid > *, .service-grid > *, .lower-grid > * { min-width: 0; }
.service-cta { white-space: normal; text-align: left; }
.hero-people { padding-top: 6.5rem; }
.bubble-founder { max-width: 17rem; }

@media (max-width: 419px) {
  .brand-tag { display: none; }
  .brand-name { font-size: 1.2rem; }
  .brand-mark { width: 34px; height: 34px; }
  .header-actions { gap: .35rem; }
  .header-actions .show-sm { padding: 0 .7rem; }
}
@media (max-width: 359px) {
  .header-actions .show-sm { display: none; }
}

@media (min-width: 1200px) {
  .hero-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr) 360px; }
  .hero-title { font-size: clamp(3.6rem, 4.7vw, 4.6rem); white-space: nowrap; }
  .hero-copy { position: relative; z-index: 2; }
  .hero-people { padding-top: 0; }
  .founder { width: 100%; margin-left: -6%; }
  .signature { left: auto; right: -4%; top: auto; bottom: 4%; transform: rotate(-6deg); text-shadow: 0 2px 8px rgba(0,0,0,.6); }
  .signature ul { font-size: 1.1rem; }
  .sig-name { font-size: 1.7rem; }
  .bubble-founder { left: -4%; top: 6%; max-width: 14.5rem; font-size: .95rem; }
  .bubble-wala { right: -6%; top: 36%; max-width: 11rem; font-size: .92rem; }
  .hero-mascot { width: 50%; right: -10%; }
}
@media (min-width: 1400px) {
  .hero-title { font-size: 4.8rem; }
}

/* round 2 */
.service-link { align-content: start; }
@media (min-width: 560px) { .service-link { grid-template-rows: auto 1fr; } .service-art { height: 104px; min-height: 0; } }
@media (min-width: 1200px) {
  .signature { left: -2%; right: auto; bottom: auto; top: 30%; }
}

/* round 3 */
[hidden] { display: none !important; }
.msg { white-space: normal; }
.msg.is-dynamic { white-space: pre-wrap; }

/* ---------- Wala replies: formatting ---------- */
.msg-wala p { margin: 0; }
.msg-wala p + p, .msg-wala p + ul, .msg-wala p + ol, .msg-wala ul + p, .msg-wala ol + p { margin-top: .55rem; }
.msg-wala ul, .msg-wala ol { margin: .4rem 0 0; padding-left: 1.2rem; }
.msg-wala ul { list-style: disc; }
.msg-wala ol { list-style: decimal; }
.msg-wala li + li { margin-top: .25rem; }
.msg-wala a { color: var(--accent-bright); }
.msg-wala a.btn-gold { color: var(--ink); }

/* ---------- Offer card (lead capture) ---------- */
.offer-card {
  align-self: stretch; background: var(--white); color: var(--ink);
  border-radius: 18px; padding: 1rem; box-shadow: var(--shadow); border: 2px solid var(--gold);
  animation: pop .25s ease-out;
}
@keyframes pop { from { transform: translateY(6px); opacity: 0; } to { transform: none; opacity: 1; } }
.offer-kicker { font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--green); }
.offer-headline { font-size: 1.1rem; font-weight: 800; margin-top: .2rem; }
.offer-pitch { font-size: .92rem; color: var(--ink-2); margin: .35rem 0 .8rem; }
.offer-form { display: grid; gap: .35rem; }
.offer-form label { font-size: .82rem; font-weight: 700; margin-top: .35rem; }
.offer-form .opt { font-weight: 500; color: var(--muted); }
.offer-form input:not([type="checkbox"]) {
  width: 100%; min-height: 46px; border-radius: 12px; border: 1.5px solid var(--line); padding: .6rem .8rem;
  font: inherit; font-size: 16px; color: var(--ink); background: var(--bg);
}
.offer-form input:focus { outline: none; border-color: var(--accent-bright); background: var(--white); }
.offer-form .tick { display: flex; gap: .55rem; align-items: flex-start; font-weight: 500; font-size: .8rem; color: var(--ink-2); line-height: 1.35; margin-top: .45rem; }
.offer-form .tick input { width: 20px; height: 20px; flex: none; margin-top: 1px; accent-color: var(--green); }
.offer-form .btn { margin-top: .6rem; }
.offer-error { color: var(--red); font-size: .85rem; font-weight: 600; }
.offer-small { font-size: .76rem; color: var(--muted); text-align: center; margin-top: .4rem; }
.offer-small a { color: inherit; }
.offer-dismiss { display: block; margin: .5rem auto 0; background: none; border: 0; color: var(--muted); font-size: .82rem; text-decoration: underline; padding: .3rem; }
.offer-card.is-done { border-color: var(--green); }
.offer-card.is-dismissed { background: transparent; border: 0; box-shadow: none; padding: 0; }
.offer-card.is-dismissed .offer-small { color: rgba(255,255,255,.6); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* hero photo */
.hero-bg picture, .hero-bg img { display: block; width: 100%; height: 100%; }
.hero-bg img { object-fit: cover; object-position: 70% 60%; }
@media (min-width: 1200px) { .hero-bg img { object-position: center 65%; } }
.hero-bg::after {
  background:
    linear-gradient(180deg, rgba(10, 34, 50, .92) 0%, rgba(10, 34, 50, .82) 55%, rgba(10, 34, 50, .35) 85%, rgba(10, 34, 50, .55) 100%);
}
@media (min-width: 1200px) {
  .hero-bg::after {
    background:
      linear-gradient(90deg, rgba(10, 34, 50, .96) 0%, rgba(10, 34, 50, .88) 34%, rgba(10, 34, 50, .30) 58%, rgba(10, 34, 50, .10) 72%, rgba(10, 34, 50, .45) 100%),
      linear-gradient(0deg, rgba(10, 34, 50, .55), rgba(10, 34, 50, 0) 35%);
  }
}

/* ---------- live voice ---------- */
.wala-sheet .wave-live span { animation: none; transform: scaleY(var(--lvl, .15)); transition: transform .07s linear; }
.wala-sheet[data-state="thinking"] .wave-live span { animation: wave .8s ease-in-out infinite; animation-delay: calc(var(--i) * -0.05s); opacity: .55; }
.wala-sheet.is-voice .composer textarea::placeholder { color: rgba(255,255,255,.45); }
.wala-sheet.is-voice .composer-mic { display: none; }
.msg-note strong { color: var(--white); }

/* ---------- Member area ---------- */
.acct-narrow { max-width: 36rem; }
.acct-narrow h1 { font-size: 2rem; font-weight: 800; }
.acct-form { display: grid; gap: .8rem; margin-top: 1.25rem; }
.acct-form label { display: grid; gap: .35rem; font-weight: 700; font-size: .92rem; }
.acct-form input:not([type="checkbox"]), .acct-form select, .acct-form textarea {
  width: 100%; min-height: 48px; border-radius: 12px; border: 1.5px solid var(--line); padding: .65rem .85rem;
  font: inherit; font-size: 16px; background: var(--white); color: var(--ink);
}
.acct-form input:focus, .acct-form select:focus, .acct-form textarea:focus { outline: none; border-color: var(--accent-bright); box-shadow: 0 0 0 3px rgba(15, 124, 120,.25); }
.acct-form fieldset { border: 1px solid var(--line); border-radius: 16px; padding: .9rem 1rem 1rem; display: grid; gap: .8rem; margin: 0; }
.acct-form legend { font-weight: 800; padding: 0 .4rem; color: var(--forest); }
.acct-form .tick { display: flex; gap: .55rem; align-items: flex-start; font-weight: 500; font-size: .85rem; color: var(--ink-2); }
.acct-form .tick input { width: 20px; height: 20px; flex: none; margin-top: 2px; accent-color: var(--green); }
.acct-code { font-size: 1.6rem !important; letter-spacing: .4em; text-align: center; font-weight: 800; }
.acct-help { font-size: .8rem; color: var(--muted); margin-top: -.5rem; }
.acct-error { background: #fde7e7; color: var(--red); padding: .6rem .85rem; border-radius: 10px; font-weight: 600; margin-top: .75rem; }
.acct-flash { background: #dff5e7; color: #13723c; padding: .7rem 1rem; border-radius: 12px; font-weight: 700; margin-bottom: 1rem; }
.acct-note { margin-top: 2rem; background: var(--bg); border-radius: 16px; padding: 1rem 1.1rem; }
.acct-note p { color: var(--ink-2); margin-bottom: .75rem; }
.acct-small { font-size: .85rem; color: var(--muted); margin-top: 1rem; }
.acct-small a { color: inherit; }

.acct-hero { background: var(--forest); color: var(--white); padding: 1.75rem 0 1.5rem; }
.acct-hero h1 { font-size: 2rem; font-weight: 800; }
.acct-hero p { opacity: .85; margin-top: .25rem; }
.acct-hero .hero-ctas { margin-top: 1rem; }
.acct-grid { display: grid; gap: 1.5rem; }
.acct-grid .section-title { margin: 0 0 .75rem; font-size: 1.3rem; }
.acct-grid .section-title + .acct-card, .acct-card + .section-title { margin-top: 0; }
.acct-grid > div > .section-title:not(:first-child) { margin-top: 1.75rem; }
.acct-card { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 1rem 1.1rem; box-shadow: var(--shadow-sm); margin-bottom: .9rem; }
.acct-card h3 { font-size: 1.05rem; font-weight: 800; }
.acct-card-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.acct-card-head a { font-weight: 700; color: var(--forest); font-size: .9rem; }
.acct-empty p { color: var(--ink-2); margin-bottom: .8rem; }
.acct-muted { color: var(--muted); font-size: .88rem; }
.acct-dates { display: flex; flex-wrap: wrap; gap: .4rem; margin: .6rem 0 .2rem; }
.acct-dates li { font-size: .8rem; background: var(--bg); border-radius: 999px; padding: .25rem .65rem; }
.acct-dates li.soon { background: #e8f5f3; }
.acct-dates li.over { background: #fde7e7; color: var(--red); }
.acct-op { font-size: .88rem; border-radius: 10px; padding: .5rem .7rem; margin-top: .5rem; display: flex; gap: .5rem; flex-wrap: wrap; align-items: baseline; }
.acct-op.offer { background: #eef8f6; }
.acct-op.compliance { background: #fde7e7; }
.acct-op .link-btn { color: var(--forest); font-weight: 700; text-decoration: underline; }
.acct-stages { display: flex; flex-wrap: wrap; gap: .3rem; margin: .7rem 0; }
.acct-stages li { font-size: .74rem; padding: .22rem .55rem; border-radius: 999px; background: var(--bg); color: var(--muted); }
.acct-stages li.done { background: #dff5e7; color: #13723c; }
.acct-stages li.cur { background: var(--gold); color: var(--on-accent); font-weight: 800; }
.acct-next { background: #e5efff; border-radius: 10px; padding: .5rem .7rem; font-size: .9rem; margin-bottom: .6rem; }
.acct-timeline { display: grid; gap: .35rem; margin: .5rem 0 .8rem; font-size: .88rem; color: var(--ink-2); }
.acct-timeline small { color: var(--muted); font-weight: 700; margin-right: .35rem; }
.acct-list { display: grid; gap: .6rem; margin-top: .5rem; }
.acct-card .acct-form { margin-top: .75rem; }
@media (min-width: 900px) {
  .acct-grid { grid-template-columns: 1.6fr 1fr; align-items: start; }
}

/* ---------- Guides: cards ---------- */
.guide-grid { display: grid; gap: .9rem; }
.guide-card { display: flex; flex-direction: column; gap: .5rem; background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 1.1rem; text-decoration: none; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s, border-color .2s; }
a.guide-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--accent-bright); }
.guide-card h2, .guide-card h3 { font-size: 1.15rem; font-weight: 800; }
.guide-card p { color: var(--ink-2); font-size: .92rem; flex: 1; }
.guide-card .service-icon { background: var(--forest); color: var(--white); box-shadow: none; }
.guide-card.tone-red .service-icon { background: var(--red); color: var(--white); }
.guide-card.tone-green .service-icon { background: var(--green); color: var(--white); }
.guide-go { display: inline-flex; align-items: center; gap: .4rem; font-weight: 800; color: var(--forest); font-size: .92rem; }
.guide-card-wala { background: var(--bg); align-items: flex-start; }
.guides-strip { padding: 1.75rem 0; background: var(--white); }
.guides-strip-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: 1rem; }
.guides-strip-head a { font-weight: 700; color: var(--forest); }
@media (min-width: 700px) { .guide-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .page-body .guide-grid { grid-template-columns: repeat(3, 1fr); } .guides-strip .guide-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Guides: process flowchart ---------- */
.process { margin: .5rem 0 1.5rem; }
.process .section-title { margin-bottom: 1rem; font-size: 1.35rem; }
.process-steps { display: grid; gap: 0; counter-reset: p; }
.process-step { position: relative; display: grid; grid-template-columns: 44px 1fr; gap: .9rem; padding-bottom: 1.1rem; }
.process-step::before { content: ""; position: absolute; left: 21px; top: 44px; bottom: 0; width: 2px; background: repeating-linear-gradient(var(--line) 0 6px, transparent 6px 10px); }
.process-step:last-child::before { display: none; }
.process-num { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; background: var(--white); border: 2px solid var(--forest); color: var(--forest); position: relative; z-index: 1; }
.process-step.is-current .process-num { background: var(--gold); border-color: var(--accent-bright); color: var(--on-accent); box-shadow: 0 0 0 6px rgba(15, 124, 120,.25); }
.process-body { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: .75rem .9rem; }
.process-step.is-current .process-body { border-color: var(--accent-bright); box-shadow: var(--shadow-sm); }
.process-body h3 { font-size: 1rem; font-weight: 800; }
.process-meta { display: inline-block; margin-top: .3rem; font-size: .78rem; font-weight: 700; color: var(--forest); background: #e6f4f2; border-radius: 999px; padding: .15rem .55rem; }
.process-body p:not(.process-meta) { color: var(--ink-2); font-size: .9rem; margin-top: .35rem; }

/* ---------- Guides: overview / FAQ ---------- */
.guide-layout { display: grid; gap: 1.75rem; }
@media (min-width: 900px) { .guide-layout { grid-template-columns: 1.6fr 1fr; align-items: start; } .guide-layout > aside { position: sticky; top: calc(var(--header-h) + 16px); } }
.faq details { border-bottom: 1px solid var(--line); padding: .85rem 0; }
.faq summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::after { content: "+"; font-weight: 800; color: var(--forest); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--ink-2); margin-top: .5rem; }
.guide-sources { font-size: .8rem; color: var(--muted); margin-top: 1.5rem; }
.guide-sources a { color: inherit; }

/* ---------- Guides: wizard step ---------- */
.wizard { background: var(--bg); padding: 1.25rem 0 2.5rem; min-height: 70vh; }
.wizard-inner { max-width: 40rem; }
.wizard-top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; font-size: .85rem; }
.crumb-dark { color: var(--forest); font-weight: 700; text-decoration: none; }
.wizard-count { color: var(--muted); font-weight: 600; text-align: right; }
.wizard-bar { height: 6px; background: var(--line); border-radius: 999px; margin: .75rem 0 1.5rem; overflow: hidden; }
.wizard-bar span { display: block; height: 100%; background: var(--gold); border-radius: 999px; transition: width .3s; }
.wizard-q { font-size: clamp(1.6rem, 6vw, 2.2rem); font-weight: 800; letter-spacing: -0.03em; }
.wizard-sub { color: var(--ink-2); margin-top: .4rem; }
.wizard-options { display: grid; gap: .6rem; margin-top: 1.25rem; }
.wizard-option { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 60px; padding: .9rem 1.1rem; background: var(--white); border: 2px solid var(--line); border-radius: 16px; text-decoration: none; font-weight: 700; font-size: 1.02rem; box-shadow: var(--shadow-sm); transition: border-color .15s, transform .15s; }
.wizard-option:hover { border-color: var(--accent-bright); transform: translateX(3px); }
.wizard-option.is-selected { border-color: var(--forest); background: #e6f4f2; }
.wizard-option .icon { color: var(--forest); flex: none; }
.wizard-help { margin-top: 1.75rem; background: var(--white); border-radius: 16px; padding: 1rem 1.1rem; border-left: 4px solid var(--gold); }
.wizard-help h2 { font-size: 1rem; font-weight: 800; margin-bottom: .4rem; }
.wizard-help p { color: var(--ink-2); font-size: .92rem; }
.wizard-help p + p { margin-top: .5rem; }
.wizard-talk { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-top: 1.25rem; font-size: .9rem; color: var(--ink-2); }
.wizard-talk span { width: 100%; }

/* ---------- Guides: result ---------- */
.result-hero { background: var(--forest); color: var(--white); padding: 1.75rem 0; }
.result-hero.tone-red { background: linear-gradient(135deg, #7c1d1d, #0d2b3e 70%); }
.result-hero.tone-gold { background: linear-gradient(135deg, #0b5f5b, #0d2b3e 70%); }
.result-hero.tone-blue { background: linear-gradient(135deg, #183f80, #0d2b3e 70%); }
.result-hero h1 { font-size: clamp(1.6rem, 6vw, 2.4rem); font-weight: 800; margin-top: .25rem; }
.result-kicker { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--accent-bright); font-weight: 800; }
.result-answers { margin-top: .9rem; font-size: .82rem; background: rgba(255,255,255,.1); border-radius: 10px; padding: .5rem .75rem; display: inline-block; }
.result-card { background: var(--white); border: 1px solid var(--line); border-left: 5px solid var(--forest); border-radius: 14px; padding: 1rem 1.1rem; margin-bottom: 1rem; }
.result-card h2 { font-size: 1.1rem; font-weight: 800; margin-bottom: .4rem; }
.result-card p { color: var(--ink-2); }
.result-card ul { list-style: disc; padding-left: 1.2rem; display: grid; gap: .4rem; color: var(--ink-2); }
.result-card.tone-warn { border-left-color: var(--red); background: #fffafa; }
.result-card.tone-gold { border-left-color: var(--accent-bright); background: #eef8f6; }
.result-card.tone-gold .btn { margin-top: .75rem; }
.result-aside { display: grid; gap: 1rem; }
.result-talk .btn { margin-top: .5rem; }

/* ---------- Lead form ---------- */
.lead-form { display: grid; gap: .35rem; }
.lead-form h3 { font-size: 1.2rem; font-weight: 800; }
.lead-intro { color: var(--ink-2); font-size: .92rem; margin-bottom: .4rem; }
.lead-form label { font-size: .82rem; font-weight: 700; margin-top: .35rem; }
.lead-form .opt { font-weight: 500; color: var(--muted); }
.lead-form input:not([type="checkbox"]) { width: 100%; min-height: 46px; border-radius: 12px; border: 1.5px solid var(--line); padding: .6rem .8rem; font: inherit; font-size: 16px; background: var(--white); }
.lead-form input:focus { outline: none; border-color: var(--accent-bright); }
.lead-form .tick { display: flex; gap: .55rem; align-items: flex-start; font-weight: 500; font-size: .8rem; color: var(--ink-2); line-height: 1.35; }
.lead-form .tick input { width: 20px; height: 20px; flex: none; margin-top: 1px; accent-color: var(--green); }
.lead-form .btn { margin-top: .6rem; }
.lead-error { color: var(--red); font-size: .85rem; font-weight: 600; }
.lead-small { font-size: .76rem; color: var(--muted); text-align: center; margin-top: .4rem; }
.lead-small a { color: inherit; }
.lead-done h3 { font-size: 1.3rem; font-weight: 800; margin: .2rem 0 .4rem; }

/* ---------- Sell band (every page) ---------- */
.sell-band { background: linear-gradient(120deg, #0d2b3e, #14445a); color: var(--white); padding: 1.5rem 0; border-top: 4px solid var(--gold); }
.sell-band-inner { display: grid; gap: 1rem; align-items: center; }
.sell-band-icon { width: 56px; height: 56px; border-radius: 16px; background: var(--gold); color: var(--on-accent); display: grid; place-items: center; }
.sell-band-icon .icon { width: 28px; height: 28px; }
.sell-band h2 { font-size: 1.35rem; font-weight: 800; }
.sell-band p { color: rgba(255,255,255,.85); margin-top: .25rem; max-width: 40rem; }
.sell-band-ctas { display: flex; flex-wrap: wrap; gap: .6rem; }
@media (min-width: 900px) { .sell-band-inner { grid-template-columns: auto 1fr auto; } }

/* ---------- Guides inside the Wala chat (tap or talk) ---------- */
.chips-guides { flex-wrap: wrap; }
.chip-guide { display: inline-flex; align-items: center; gap: .35rem; background: var(--gold); color: var(--on-accent); border-color: var(--accent-bright); font-weight: 700; }
.g-card {
  align-self: stretch; background: var(--white); color: var(--ink); border-radius: 18px; padding: 1rem;
  box-shadow: var(--shadow); border: 2px solid var(--white); animation: pop .25s ease-out; transition: opacity .2s;
}
.g-card.is-loading { opacity: .55; pointer-events: none; }
.g-head { display: flex; justify-content: space-between; align-items: center; gap: .5rem; }
.g-kicker { font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--green); }
.g-count { font-size: .75rem; font-weight: 700; color: var(--muted); }
.g-bar { height: 6px; background: var(--line); border-radius: 99px; margin: .5rem 0 .8rem; overflow: hidden; }
.g-bar span { display: block; height: 100%; background: var(--gold); border-radius: inherit; transition: width .35s ease; }
.g-q { font-size: 1.15rem; font-weight: 800; line-height: 1.25; }
.g-sub { font-size: .85rem; color: var(--muted); margin-top: .3rem; }
.g-options { display: grid; gap: .5rem; margin-top: .8rem; }
.g-opt {
  display: flex; justify-content: space-between; align-items: center; gap: .5rem; width: 100%; text-align: left;
  min-height: 50px; padding: .7rem .95rem; border-radius: 14px; border: 2px solid var(--line); background: var(--bg);
  font: inherit; font-weight: 700; font-size: .95rem; color: var(--ink); cursor: pointer; transition: border-color .15s, background .15s, transform .1s;
}
.g-opt::after { content: "→"; color: var(--forest); font-weight: 800; }
.g-opt:hover, .g-opt:focus-visible { border-color: var(--accent-bright); background: var(--white); }
.g-opt:active { transform: scale(.98); }
.g-card:not(.is-live) .g-opt { pointer-events: none; opacity: .6; }
.g-help { margin-top: .8rem; font-size: .86rem; color: var(--ink-2); }
.g-help summary, .g-sec summary { cursor: pointer; font-weight: 700; color: var(--forest); }
.g-help p { margin-top: .45rem; }
.g-trail { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .8rem; }
.g-trail span { font-size: .74rem; background: #e6f4f2; color: var(--forest); border-radius: 999px; padding: .2rem .6rem; }
.g-foot { display: flex; justify-content: space-between; align-items: center; gap: .6rem; margin-top: .8rem; }
.g-back { background: none; border: 0; padding: .3rem 0; font: inherit; font-size: .85rem; font-weight: 700; color: var(--forest); cursor: pointer; }
.g-hint { font-size: .74rem; color: var(--muted); text-align: right; }
.g-result { border-color: var(--green); }
.g-result.tone-red { border-color: var(--red); }
.g-result.tone-gold { border-color: var(--accent-bright); }
.g-result.tone-blue { border-color: var(--blue); }
.g-headline { font-size: 1.2rem; font-weight: 800; line-height: 1.25; margin-top: .25rem; }
.g-verdict { font-size: .92rem; color: var(--ink-2); margin-top: .4rem; }
.g-sec { margin-top: .7rem; font-size: .87rem; color: var(--ink-2); border-top: 1px solid var(--line); padding-top: .6rem; }
.g-sec ul { margin: .4rem 0 0; padding-left: 1.1rem; list-style: disc; }
.g-sec li + li { margin-top: .25rem; }
.g-sec p { margin-top: .4rem; }
.g-warn { background: #fdecec; border: 0; border-radius: 12px; padding: .7rem .8rem; color: #7a1f1f; }
.g-warn strong { color: var(--red); }
.g-tl-title { font-weight: 800; font-size: .9rem; margin-top: .9rem; }
.g-tl { list-style: none; margin: .5rem 0 0; padding: 0; }
.g-tl li { position: relative; padding: 0 0 .7rem 1.6rem; font-size: .86rem; }
.g-tl li::before { content: ""; position: absolute; left: 4px; top: 4px; width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--forest); background: var(--white); }
.g-tl li::after { content: ""; position: absolute; left: 9px; top: 18px; bottom: 0; width: 2px; background: var(--line); }
.g-tl li:last-child::after { display: none; }
.g-tl li.is-current::before { background: var(--gold); border-color: var(--accent-bright); box-shadow: 0 0 0 4px rgba(15, 124, 120,.3); }
.g-tl li.is-current b { color: var(--forest); }
.g-tl b { display: block; }
.g-tl span { display: block; color: var(--muted); font-size: .8rem; }
.g-actions { display: grid; gap: .5rem; margin-top: 1rem; }
.g-link { text-align: center; font-size: .85rem; font-weight: 700; color: var(--forest); }
.g-cross { margin-top: .8rem; background: var(--gold-soft); border-radius: 12px; padding: .75rem .85rem; font-size: .87rem; }
.g-cross p { margin: .25rem 0 .35rem; color: var(--ink-2); }
.g-cross a { font-weight: 800; color: var(--forest); }

/* ---------- Promo / ad space (set in the CRM) ---------- */
.promo { display: grid; gap: .35rem; justify-items: start; margin-top: .9rem; border-radius: 14px; padding: .8rem .9rem; background: #eef8f6; border: 1px dashed var(--gold); color: var(--ink); }
.promo.tone-green { background: #e8f7ee; border-color: var(--green); }
.promo.tone-blue { background: #e9f0fc; border-color: var(--blue); }
.promo.tone-red { background: #fdecec; border-color: var(--red); }
.promo.tone-forest { background: var(--forest); border-color: var(--forest); color: var(--white); }
.promo.tone-forest .promo-body { color: rgba(255,255,255,.8); }
.promo-badge { font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; background: var(--ink); color: var(--white); border-radius: 999px; padding: .15rem .55rem; }
.promo-title { font-size: 1rem; font-weight: 800; }
.promo-body { font-size: .85rem; color: var(--ink-2); margin: 0; }
.promo-cta { margin-top: .2rem; }
.wizard .promo { max-width: 40rem; }

/* ---------- Landlord file (property page, tenants, letters) ---------- */
.file-meter { display: grid; gap: .35rem; margin: .9rem 0 .2rem; max-width: 34rem; font-size: .88rem; }
.file-meter-bar { height: 10px; background: rgba(255,255,255,.2); border-radius: 99px; overflow: hidden; }
.file-meter-bar span { display: block; height: 100%; background: var(--gold); border-radius: inherit; }
.file-meter.sm { margin: .4rem 0 .6rem; font-size: .8rem; color: var(--ink-2); }
.file-meter.sm .file-meter-bar { height: 7px; background: var(--line); }
.file-meter.sm a { color: var(--forest); font-weight: 700; }
.acct-h { font-size: 1.1rem; font-weight: 800; margin-bottom: .6rem; }
.acct-card-head .acct-h { margin: 0; }
.acct-dl { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .45rem 1rem; margin: 0; font-size: .92rem; }
.acct-dl dt { color: var(--ink-2); }
.acct-dl dd { margin: 0; font-weight: 700; text-align: right; }
.acct-dl dd.over { color: var(--red); } .acct-dl dd.soon { color: #a86b00; }
.tenant-row { display: grid; grid-template-columns: 40px 1fr auto; gap: .75rem; align-items: center; padding: .7rem 0; border-top: 1px solid var(--line); text-decoration: none; color: inherit; }
.tenant-row:first-of-type { border-top: 0; }
.tenant-row.is-former { opacity: .55; }
.tenant-avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--forest); color: var(--white); font-weight: 800; }
.tenant-go { font-size: .85rem; font-weight: 700; color: var(--forest); }
.pill { display: inline-block; font-size: .7rem; font-weight: 800; background: #e6f4f2; color: var(--forest); border-radius: 999px; padding: .1rem .5rem; vertical-align: middle; }
.pill-in { background: #e9f0fc; color: var(--blue); }
.cert-list { list-style: none; margin: 0 0 .8rem; padding: 0; display: grid; gap: .45rem; }
.cert-list li { display: flex; justify-content: space-between; gap: .6rem; align-items: center; padding: .6rem .75rem; border-radius: 12px; background: var(--bg); font-size: .88rem; border-left: 4px solid var(--line); }
.cert-list li.ok { border-left-color: var(--green); }
.cert-list li.soon { border-left-color: var(--accent-bright); background: #eef8f6; }
.cert-list li.over { border-left-color: var(--red); background: #fdecec; }
.cert-list li.unknown strong { color: var(--muted); font-weight: 600; }
.acct-details { margin-top: .9rem; }
.acct-details summary { cursor: pointer; font-weight: 800; color: var(--forest); padding: .3rem 0; }
.acct-details .acct-form { margin-top: .6rem; }

/* ---------- Tenancy lifecycle map ---------- */
.lc-checked { margin-top: 1rem; font-size: .8rem; color: rgba(255,255,255,.7); }
.lc-h { font-size: 1.05rem; font-weight: 800; margin-bottom: .5rem; }
.lc-mine { display: flex; flex-wrap: wrap; gap: .6rem 1rem; align-items: center; justify-content: space-between; background: #e6f4f2; border-radius: 16px; padding: .85rem 1rem; margin-bottom: 1.25rem; font-size: .92rem; }
.lc-mine-anon { background: var(--gold-soft); }
.lc-mine-todo { background: #fdecec; } .lc-mine-unknown { background: var(--bg); }
.lc-mine select { min-height: 40px; border-radius: 10px; border: 1.5px solid var(--line); padding: 0 .6rem; font: inherit; max-width: 16rem; }
.lc-tally { display: block; margin-top: .3rem; color: var(--ink-2); font-size: .85rem; }
.lc-updates { background: var(--white); border: 1px solid var(--line); border-left: 5px solid var(--gold); border-radius: 16px; padding: 1rem 1.1rem; margin-bottom: 1.5rem; box-shadow: var(--shadow-sm); }
.lc-updates ol { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; font-size: .9rem; color: var(--ink-2); }
.lc-updates time { display: inline-block; min-width: 6.2rem; font-weight: 800; color: var(--forest); }
.lc-map { display: grid; gap: 1.25rem; }
@media (min-width: 900px) { .lc-map { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1280px) { .lc-map { grid-template-columns: repeat(4, 1fr); } }
.lc-stage { background: var(--bg); border-radius: 20px; padding: 1rem; border-top: 6px solid var(--forest); }
.lc-stage.tone-blue { border-top-color: var(--blue); } .lc-stage.tone-green { border-top-color: var(--green); }
.lc-stage.tone-gold { border-top-color: var(--accent-bright); } .lc-stage.tone-red { border-top-color: var(--red); }
.lc-stage-title { display: flex; align-items: center; gap: .5rem; font-size: 1.15rem; font-weight: 800; margin-bottom: .8rem; }
.lc-stage-icon { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--white); color: var(--forest); box-shadow: var(--shadow-sm); }
.lc-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; position: relative; }
.lc-step { display: grid; grid-template-columns: 34px 1fr auto; gap: .65rem; align-items: start; background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: .75rem; text-decoration: none; color: inherit; transition: border-color .15s, transform .15s, box-shadow .15s; }
.lc-step:hover { border-color: var(--accent-bright); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.lc-num { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; background: var(--forest); color: var(--white); font-size: .9rem; }
.lc-body { display: grid; gap: .2rem; }
.lc-body strong { font-size: .98rem; }
.lc-body small { color: var(--ink-2); font-size: .84rem; line-height: 1.35; }
.lc-tags { display: flex; flex-wrap: wrap; gap: .3rem; margin-top: .3rem; }
.lc-tag { font-size: .68rem; font-weight: 800; border-radius: 999px; padding: .12rem .5rem; background: var(--bg); color: var(--ink-2); }
.lc-tag.req { background: #fdecec; color: #a12727; } .lc-tag.new { background: var(--gold-soft); color: #0b5f5b; }
.page-hero .lc-tag { background: rgba(255,255,255,.14); color: var(--white); }
.lc-dot { width: 26px; height: 26px; border-radius: 50%; display: inline-grid; place-items: center; font-weight: 800; font-size: .8rem; flex: none; }
.lc-dot.done { background: var(--green); color: var(--white); } .lc-dot.todo { background: var(--red); color: var(--white); } .lc-dot.unknown { background: var(--line); color: var(--muted); }
.lc-pager { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1.5rem; font-weight: 700; }
.lc-pager a { color: var(--forest); }

/* ---------- Document library ---------- */
.doc-grid { display: grid; gap: .7rem; }
@media (min-width: 640px) { .doc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .page-body > .doc-grid { grid-template-columns: repeat(3, 1fr); } }
.doc-card { display: grid; gap: .3rem; background: var(--white); border: 1px solid var(--line); border-left: 5px solid var(--forest); border-radius: 14px; padding: .85rem .95rem; text-decoration: none; color: inherit; box-shadow: var(--shadow-sm); transition: transform .15s, border-color .15s; }
.doc-card:hover { transform: translateY(-2px); border-color: var(--accent-bright); }
.doc-card.type-official { border-left-color: var(--blue); } .doc-card.type-checklist { border-left-color: var(--green); }
.doc-card.type-prepared { border-left-color: var(--accent-bright); } .doc-card.type-record, .doc-card.type-scheme { border-left-color: var(--muted); }
.doc-card small { color: var(--ink-2); font-size: .84rem; }
.doc-type { font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--forest); }
.doc-legend { display: flex; flex-wrap: wrap; gap: .5rem 1rem; }
.check-list { list-style: none; margin: .6rem 0 1rem; padding: 0; display: grid; gap: .4rem; }
.check-list li { position: relative; padding: .45rem .6rem .45rem 2.2rem; background: var(--bg); border-radius: 10px; font-size: .92rem; }
.check-list li::before { content: ""; position: absolute; left: .6rem; top: .55rem; width: 18px; height: 18px; border: 2px solid var(--forest); border-radius: 5px; background: var(--white); }
.check-list li.done::before { content: "✓"; background: var(--green); border-color: var(--green); color: var(--white); font-size: .75rem; font-weight: 800; display: grid; place-items: center; }
.check-list li.todo { background: #fdecec; }
.check-list.is-locked { opacity: .85; }
.check-list.is-locked li:last-child { font-style: italic; }
.lock-note { background: var(--gold-soft); border-radius: 14px; padding: .9rem 1rem; font-size: .92rem; }

/* ---------- Helpline ---------- */
.helpline-grid { display: grid; gap: 1rem; }
@media (min-width: 800px) { .helpline-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- "Want me to explain this?" ---------- */
.wala-nudge {
  position: fixed; z-index: 40; left: var(--gutter); right: var(--gutter); bottom: calc(14px + env(safe-area-inset-bottom));
  display: grid; grid-template-columns: auto 1fr auto; gap: .7rem; align-items: start;
  background: var(--forest); color: var(--white); border-radius: 18px; padding: .8rem .8rem .8rem .9rem;
  box-shadow: var(--shadow-lg); animation: pop .3s ease-out; max-width: 26rem; margin-left: auto;
}
.wala-nudge p { margin: 0 0 .55rem; font-size: .9rem; line-height: 1.35; }
.wala-nudge strong { color: var(--accent-bright); }
.wala-nudge-btns { display: flex; gap: .45rem; }
.wala-nudge .btn-outline-dark { color: var(--white); border-color: rgba(255,255,255,.6); background: transparent; }
.wala-nudge-x { background: none; border: 0; color: rgba(255,255,255,.7); padding: .2rem; cursor: pointer; }
body.sheet-open .wala-nudge { display: none; }
body.askbar-on .wala-nudge { bottom: calc(84px + env(safe-area-inset-bottom)); }
@media (min-width: 900px) { body.askbar-on .wala-nudge { bottom: calc(14px + env(safe-area-inset-bottom)); } }

/* ---------- Printable checklist ---------- */
.print-page { background: var(--white); }
.print-wrap { max-width: 46rem; padding-top: 1.5rem; padding-bottom: 2rem; }
.print-head { display: flex; align-items: center; gap: .5rem; margin-bottom: 1.5rem; }
.print-head .btn { margin-left: auto; }
.print-wrap h1 { font-size: 1.6rem; font-weight: 800; margin-bottom: .4rem; }
.print-meta { margin: 1rem 0; border-collapse: collapse; }
.print-meta th { text-align: left; padding: .2rem 1rem .2rem 0; color: var(--muted); font-weight: 600; }
.print-list { list-style: none; padding: 0; display: grid; gap: .5rem; }
.print-list li { display: flex; gap: .6rem; align-items: flex-start; padding: .4rem 0; border-bottom: 1px solid var(--line); }
.print-list .box { width: 20px; height: 20px; flex: none; border: 2px solid var(--ink); border-radius: 4px; display: grid; place-items: center; font-weight: 800; font-size: .8rem; }
.print-foot { font-size: .78rem; color: var(--muted); margin-top: 1.5rem; }
@media print { .no-print, .wala-nudge, .ask-bar { display: none !important; } }

/* ---------- Legal pages ---------- */
.legal { max-width: 46rem; }
.legal h2 { font-size: 1.2rem; font-weight: 800; margin: 1.6rem 0 .5rem; }
.legal p, .legal li { color: var(--ink-2); line-height: 1.6; }
.legal ul { padding-left: 1.2rem; list-style: disc; display: grid; gap: .4rem; }
.legal a { color: var(--forest); font-weight: 600; }
.legal-updated { color: var(--muted); font-size: .85rem; }
.legal-table { width: 100%; border-collapse: collapse; font-size: .9rem; margin: .5rem 0 1rem; }
.legal-table th, .legal-table td { text-align: left; padding: .5rem .6rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal-table th { background: var(--bg); }
.legal-links { font-size: .88rem; margin-top: 1.5rem; }

/* ---------- Languages ---------- */
.chips-lang .chip-lang { font-size: .95rem; min-width: 3.2rem; }
.msg:dir(rtl) { text-align: right; }
.msg-wala :is(p, li):dir(rtl), .msg-user:dir(rtl) { line-height: 1.9; }
#wala-input:dir(rtl) { text-align: right; }
body { font-family: var(--font), "Noto Nastaliq Urdu", "Noto Sans Arabic", "Noto Sans Bengali", "Noto Sans Gurmukhi", sans-serif; }
.lang-line { font-size: 1.05rem; color: var(--accent-bright); font-weight: 700; margin-bottom: .4rem; }

/* ---------- Analytics notice ---------- */
.an-notice { display: flex; flex-wrap: wrap; gap: .5rem 1rem; align-items: center; justify-content: space-between; background: var(--bg); border-bottom: 1px solid var(--line); padding: .55rem var(--gutter); font-size: .82rem; color: var(--ink-2); }
.an-notice p { margin: 0; flex: 1 1 18rem; }
.an-notice a { color: var(--forest); font-weight: 700; }
.an-optout { background: none; border: 0; color: var(--ink-2); text-decoration: underline; font: inherit; font-size: .82rem; cursor: pointer; padding: .3rem; }

/* ---------- "Not just a chatbot" ---------- */
.expert { background: var(--forest); color: var(--white); padding: 3rem 0; }
.eyebrow-dark { color: var(--accent-bright); font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; }
.expert-title { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; line-height: 1.1; margin: .3rem 0 .6rem; }
.expert-lede { color: rgba(255,255,255,.82); font-size: 1.08rem; max-width: 46rem; }
.expert-grid { display: grid; gap: .9rem; margin-top: 1.6rem; }
@media (min-width: 700px) { .expert-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .expert-grid { grid-template-columns: repeat(3, 1fr); } }
.expert-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 18px; padding: 1.1rem; }
.expert-card .service-icon { background: var(--gold); color: var(--on-accent); box-shadow: none; }
.expert-card h3 { font-size: 1.1rem; font-weight: 800; margin: .6rem 0 .3rem; }
.expert-card p { color: rgba(255,255,255,.78); font-size: .93rem; line-height: 1.5; }
.expert-founder { display: grid; grid-template-columns: 96px 1fr; gap: 1rem; align-items: start; margin-top: 1.8rem; background: var(--white); color: var(--ink); border-radius: 20px; padding: 1.2rem; }
.expert-founder img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; object-position: 50% 18%; background: var(--bg); }
.expert-quote { font-size: 1.05rem; font-weight: 600; line-height: 1.5; }
.expert-sign { color: var(--ink-2); font-size: .9rem; margin: .5rem 0 .8rem; }
.expert-small { color: rgba(255,255,255,.6); font-size: .8rem; margin-top: 1rem; }
@media (max-width: 520px) { .expert-founder { grid-template-columns: 1fr; } }
.about-founder { display: grid; grid-template-columns: 140px 1fr; gap: 1.2rem; align-items: start; background: var(--bg); border-radius: 20px; padding: 1.2rem; margin-bottom: 1.5rem; }
.about-founder img { width: 140px; height: 140px; border-radius: 50%; object-fit: cover; object-position: 50% 18%; background: var(--white); }
@media (max-width: 560px) { .about-founder { grid-template-columns: 1fr; } }
.about ul { padding-left: 1.2rem; list-style: disc; display: grid; gap: .5rem; }

/* ---------- Founder photo (real photo, not a cut-out) ---------- */
.founder { border-radius: 22px 22px 0 0; overflow: hidden; box-shadow: 0 18px 40px rgba(0,0,0,.35); }
.founder img { display: block; aspect-ratio: 388 / 504; object-fit: cover; object-position: 50% 15%; }
.founder::after { content: ""; position: absolute; inset: 55% 0 0 0; background: linear-gradient(180deg, rgba(14,52,42,0) 0%, rgba(14,52,42,.88) 78%); pointer-events: none; }
.founder .signature, .signature { z-index: 1; left: 7% !important; right: auto !important; top: auto !important; bottom: 5% !important; transform: rotate(-4deg) !important; text-shadow: 0 2px 8px rgba(0,0,0,.6); }
.hero-mascot { width: 30%; max-width: 150px; right: -4%; bottom: 0; z-index: 2; }
@media (min-width: 1024px) {
  .founder { width: 82%; margin-left: 10%; }
  .signature ul { font-size: 1rem; }
  .sig-name { font-size: 1.6rem; }
  .hero-mascot { width: 36%; max-width: 170px; right: -8%; }
}

/* "Save this chat" — a quiet link, not a button */
.save-chat { background: none; box-shadow: none; padding: 0; margin-top: -.2rem; }
.save-chat-link { background: none; border: 0; padding: .2rem 0; font: inherit; font-size: .85rem; color: var(--forest); text-decoration: underline; text-underline-offset: 3px; opacity: .8; cursor: pointer; }
.save-chat-link:hover { opacity: 1; }

/* Free-account card (voice limit / end of a voice session) */
.signup-card ul { margin: .4rem 0 .8rem 1.1rem; list-style: disc; font-size: .92rem; }
.signup-card .btn { margin-bottom: .35rem; }
.signup-card .save-chat-link { display: block; margin: 0 auto; }
.topup-waiver { display: flex; gap: .5rem; align-items: flex-start; font-size: .78rem; line-height: 1.35; margin: .6rem 0 .7rem; opacity: .85; }
.topup-waiver input { margin-top: .15rem; flex: none; }
.topup-err { color: #b42318; font-size: .85rem; margin: .3rem 0; }
.voice-minutes { margin-bottom: 1.5rem; }
.voice-minutes h2 { font-size: 1.2rem; margin: 0; }
.vm-left { font-size: 1.05rem; }
.vm-left strong { font-size: 1.6rem; color: var(--forest); }
.vm-buy { border-top: 1px solid rgba(0,0,0,.08); margin-top: .8rem; padding-top: .8rem; }
.vm-history { margin-top: .8rem; font-size: .9rem; }
.signup-card .btn { white-space: normal; }
.topup-methods { font-size: .78rem; text-align: center; opacity: .8; margin: .1rem 0 .4rem; }
.wala-sheet .save-chat-link, .msg-wala .save-chat-link { color: inherit; opacity: .85; }

/* Voice on/off (text-only mode) */
.voice-toggle { border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.08); color: var(--white); border-radius: 999px; padding: .35rem .75rem; font: inherit; font-size: .8rem; font-weight: 600; white-space: nowrap; cursor: pointer; }
.voice-toggle[aria-pressed="false"] { background: var(--white); color: var(--ink); }
.voice-off .composer-mic { display: none; }
.msg-screen { background: rgba(255,255,255,.16); border-left: 3px solid var(--gold); }
@media (max-width: 400px) { .voice-toggle { font-size: .72rem; padding: .3rem .55rem; max-width: 9.5rem; white-space: normal; text-align: center; line-height: 1.15; } }

/* ---------- Home: "Section 21 is gone" + five problems ---------- */
.law-changed { background: var(--bg); padding: 2rem 0 2.4rem; }
.lc-banner { background: var(--white); border: 1px solid var(--line); border-left: 6px solid var(--gold); border-radius: 20px; padding: 1.3rem 1.2rem; box-shadow: var(--shadow-sm); }
.lc-eyebrow { font-size: .8rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--forest); }
.lc-title { font-size: clamp(1.6rem, 4.2vw, 2.5rem); font-weight: 800; line-height: 1.1; margin: .35rem 0 .6rem; color: var(--ink); }
.lc-lede { font-size: 1.05rem; color: var(--ink-2); max-width: 46rem; }
.lc-ctas { display: grid; gap: .6rem; margin-top: 1.1rem; }
.lc-ctas .btn { width: 100%; }
.lc-link { color: var(--forest); font-weight: 700; display: inline-flex; align-items: center; gap: .3rem; justify-content: center; padding: .5rem 0; }
.lc-note { font-size: .85rem; color: var(--muted); margin-top: .6rem; }
@media (min-width: 760px) {
  .lc-banner { padding: 1.8rem 2rem; }
  .lc-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem; }
  .lc-ctas .btn { width: auto; }
}
.lc-problems-title { margin: 2rem 0 1rem; }
.lc-grid { display: grid; gap: .8rem; }
@media (min-width: 640px) { .lc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .lc-grid { grid-template-columns: repeat(5, 1fr); } }
.lc-card { display: flex; flex-direction: column; gap: .45rem; background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 1.1rem; box-shadow: var(--shadow-sm); }
.lc-card h3 { font-size: 1.12rem; font-weight: 800; color: var(--ink); }
.lc-card p { color: var(--ink-2); font-size: .93rem; line-height: 1.45; flex: 1; }
.lc-card .service-icon { box-shadow: none; background: var(--gold-soft); color: var(--forest); }
.lc-card.tone-red .service-icon { background: #fde2e2; color: var(--red); }
.lc-card.tone-green .service-icon { background: #dff3e7; color: var(--green); }
.lc-card .btn { margin-top: .4rem; white-space: normal; justify-content: space-between; text-align: left; }
@media (max-width: 639px) {
  /* Mobile: compact rows so all five fit near the top */
  .lc-card { display: grid; grid-template-columns: 44px 1fr; column-gap: .8rem; row-gap: .25rem; padding: .9rem; }
  .lc-card .service-icon { width: 44px; height: 44px; grid-row: span 2; }
  .lc-card p { font-size: .88rem; }
  .lc-card .btn { grid-column: 1 / -1; }
}

/* ---------- Renters' Rights Act hub ---------- */
.rra-checked { margin-top: .8rem; font-size: .9rem; opacity: .9; }
.page-hero .lc-ctas { margin-top: 1rem; }
.rra-grid { display: grid; gap: .9rem; }
@media (min-width: 700px) { .rra-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .rra-grid { grid-template-columns: repeat(4, 1fr); } }
.rra-card h2 { font-size: 1.1rem; }
.rra-card p { color: var(--ink-2); font-size: .92rem; line-height: 1.45; flex: 1; }
.rra-n { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--gold); color: var(--on-accent); font-weight: 800; }
.rra-later { margin-top: 2rem; background: var(--white); border: 1px dashed var(--line); border-radius: 18px; padding: 1.2rem; }
.rra-later h2 { font-size: 1.15rem; margin-bottom: .4rem; }
.rra-body h2 { margin-top: 1.6rem; }
.rra-body h2:first-child { margin-top: 0; }
.rra-sources a { word-break: break-word; }
.rra-side .acct-card h2 { font-size: 1.15rem; margin-bottom: .4rem; }
.rra-side .btn { margin-top: .5rem; }
.rra-toc { margin-top: 1rem; font-size: .92rem; }
.rra-toc ul { list-style: none; padding: 0; display: grid; gap: .3rem; margin-top: .4rem; }
.rra-body ul { list-style: disc; padding-left: 1.3rem; margin: .6rem 0 1rem; }
.rra-body li { margin: .35rem 0; line-height: 1.55; }
.rra-body p { margin: .5rem 0; line-height: 1.6; }
.rra-toc ul { list-style: none; padding-left: 0; }

/* ---------- Social video landing pages (/help/...) ---------- */
.landing { background: linear-gradient(180deg, var(--forest), var(--teal)); color: var(--white); padding: 1.6rem 0 2.4rem; min-height: 70vh; }
.landing-inner { max-width: 40rem; }
.landing-hook { font-size: clamp(2rem, 7vw, 3rem); font-weight: 800; line-height: 1.05; margin: .4rem 0 1rem; }
.landing-facts { list-style: none; padding: 0; display: grid; gap: .6rem; margin: 0 0 1.3rem; }
.landing-facts li { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); border-radius: 14px; padding: .8rem .9rem; font-size: 1.02rem; line-height: 1.45; }
.landing-facts strong { color: var(--accent-bright); }
.landing-ctas { display: grid; gap: .6rem; }
.landing-ctas .btn { justify-content: center; white-space: normal; }
.landing-langs { font-size: .85rem; opacity: .8; margin-top: .8rem; text-align: center; }
.landing-founder { display: grid; grid-template-columns: 56px 1fr; gap: .8rem; align-items: center; margin-top: 1.4rem; background: rgba(0,0,0,.18); border-radius: 14px; padding: .8rem; font-size: .88rem; line-height: 1.45; }
.landing-founder img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; object-position: 50% 18%; }
.landing-more { color: var(--white); font-weight: 700; display: inline-block; margin-top: 1rem; }

/* ---------- Rent schedule tool ---------- */
.rs-form h2 { font-size: 1.1rem; margin: 1rem 0 .2rem; }
.rs-row { display: grid; gap: .7rem; }
@media (min-width: 760px) { .rs-row { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); } }
.rs-form label { display: grid; gap: .3rem; font-weight: 600; font-size: .9rem; margin-top: .6rem; }
.rs-form input, .rs-form select { font: inherit; padding: .6rem .7rem; border: 1px solid var(--line); border-radius: 10px; background: var(--white); width: 100%; }
.rs-pay { display: grid; grid-template-columns: 1fr 1fr 40px; gap: .5rem; margin: .4rem 0; }
.rs-pay input { font: inherit; padding: .55rem .6rem; border: 1px solid var(--line); border-radius: 10px; min-width: 0; }
.icon-btn-light { border: 1px solid var(--line); background: var(--white); border-radius: 10px; cursor: pointer; }
.rs-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1rem; }
.rs-out { margin-top: 1.6rem; background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 1.2rem; }
.rs-head h2 { font-size: 1.4rem; }
.rs-head p { color: var(--ink-2); font-size: .92rem; margin-top: .3rem; }
.rs-summary { display: grid; gap: .6rem; margin: 1rem 0; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .rs-summary { grid-template-columns: repeat(4, 1fr); } }
.rs-summary div { background: var(--bg); border-radius: 12px; padding: .7rem .8rem; display: grid; gap: .15rem; }
.rs-summary span { font-size: .78rem; color: var(--muted); }
.rs-summary b { font-size: 1.15rem; }
.rs-summary small { font-size: .75rem; color: var(--ink-2); line-height: 1.35; }
.rs-summary .is-owed b { color: var(--red); }
.rs-g8 { border: 1px solid var(--line); }
.rs-g8.met { border-color: var(--accent-bright); background: var(--gold-soft) !important; }
.table-wrap { overflow-x: auto; }
.rs-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.rs-table th, .rs-table td { padding: .45rem .5rem; border-bottom: 1px solid var(--line); text-align: left; white-space: nowrap; }
.rs-table .num { text-align: right; }
.rs-table td.owed { color: var(--red); font-weight: 600; }
.rs-small { font-size: .78rem; color: var(--muted); margin-top: .8rem; }
@media print {
  header, footer, .no-print, .wala-sheet, .wala-nudge, .sell-band, .sheet-backdrop, .analytics-notice, .skip-link { display: none !important; }
  body { background: #fff; }
  .rs-out { border: 0; padding: 0; margin: 0; }
}
@media (max-width: 600px) { .rs-table { font-size: .8rem; } .rs-table th, .rs-table td { padding: .4rem .3rem; } .rs-table td:nth-child(2) { white-space: normal; } }
.rra-tool { display: block; margin-top: .6rem; font-weight: 700; color: var(--forest); }

/* ---------- TikTok advert landing pages (/tiktok/...) ---------- */
.tt .landing-hook { margin-top: .2rem; }
.tt-explain { font-size: 1.05rem; line-height: 1.5; opacity: .92; margin-bottom: 1.1rem; }
.tt-label { font-size: .8rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--accent-bright); margin-bottom: .45rem; }
.tt-ask { margin-bottom: 1rem; }
.tt-q { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: .6rem; text-align: left; font: inherit; color: var(--white); background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.2); border-radius: 14px; padding: .75rem .9rem; margin-bottom: .5rem; cursor: pointer; line-height: 1.4; }
.tt-q:hover { border-color: var(--accent-bright); }
.tt-q-main { background: var(--white); color: var(--ink); border: 2px solid var(--gold); font-weight: 700; font-size: 1.05rem; padding: .95rem 1rem; box-shadow: 0 8px 24px rgba(0,0,0,.25); }
.tt-q-main .icon { color: var(--forest); flex: none; }
.tt-inapp { font-size: .85rem; background: rgba(0,0,0,.2); border-radius: 10px; padding: .6rem .7rem; }
.tt-more { margin-top: 1.4rem; }
.tt-free { font-size: .82rem; opacity: .8; margin-top: 1rem; line-height: 1.5; }
.tt-home { margin-top: .8rem; }
.tt-home a { color: var(--white); font-weight: 700; }
.tt-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem; margin-bottom: .6rem; }
.tt-brand { font-size: .82rem; font-weight: 800; color: var(--accent-bright); letter-spacing: .02em; }
.tt-langs { display: flex; gap: .35rem; }
.tt-langs a { color: var(--white); text-decoration: none; font-size: .85rem; font-weight: 700; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; padding: .25rem .7rem; }
.tt-langs a[aria-current="page"] { background: var(--white); color: var(--forest); }
.tt-noreg { text-align: center; font-size: .88rem; opacity: .9; }
.tt[dir="rtl"] .tt-q, .tt[dir="rtl"] .tt-explain, .tt[dir="rtl"] .landing-hook { text-align: right; }
.tt[dir="rtl"] .landing-hook { line-height: 1.5; }
.tt[dir="rtl"] { font-size: 1.05rem; }

/* Home: "Seen us on TikTok?" quick links */
.hp2-tt { padding: .55rem 0 .15rem; background: var(--gold-soft, #dcefeb); }
.hp2-tt-label { font-size: .85rem; font-weight: 700; color: var(--forest); margin: 0 0 .4rem; }
.hp2-tt-row { display: flex; gap: .45rem; overflow-x: auto; padding-bottom: .3rem; scrollbar-width: none; }
.hp2-tt-row a { flex: none; text-decoration: none; font-weight: 700; font-size: .88rem; color: var(--forest); background: var(--white); border: 1.5px solid var(--forest); border-radius: 999px; padding: .45rem .8rem; white-space: nowrap; }
.hp2-tt-row a:hover { background: var(--forest); color: var(--white); }

/* TikTok landing v2 (13 Nov 2026): the answer is on screen before any tap */
.tt2-pill { display: inline-block; background: #f5c84b; color: #0f3d3a; font-weight: 800; font-size: .75rem; letter-spacing: .04em; text-transform: uppercase; padding: .3rem .65rem; border-radius: 999px; margin: 0 0 .5rem; }
.tt2-hook { font-size: clamp(1.7rem, 7.6vw, 2.4rem); line-height: 1.08; margin: 0 0 .35rem; }
.tt2-sub { font-size: .9rem; opacity: .85; margin: 0 0 .8rem; }
.tt2-ans { background: var(--white); color: var(--ink); border-radius: 16px; padding: .9rem; box-shadow: 0 8px 24px rgba(0,0,0,.25); }
.tt2-who { display: flex; align-items: center; gap: .45rem; font-weight: 700; font-size: .82rem; color: var(--forest); margin: 0 0 .35rem; }
.tt2-title { font-weight: 800; font-size: 1.05rem; margin: 0 0 .4rem; line-height: 1.3; }
.tt2-opt { display: flex; gap: .55rem; align-items: flex-start; margin: .45rem 0; font-size: .92rem; line-height: 1.4; }
.tt2-opt i { flex: 0 0 1.4rem; height: 1.4rem; border-radius: 50%; background: var(--forest); color: var(--white); font-style: normal; font-weight: 800; font-size: .75rem; display: grid; place-items: center; margin-top: .05rem; }
.tt2-warn { background: #fff1ee; color: #a2351d; border-radius: 10px; padding: .5rem .65rem; font-size: .84rem; margin: .55rem 0 0; line-height: 1.4; }
.tt2-steps { display: flex; gap: .35rem; list-style: none; padding: 0; margin: .75rem 0 .2rem; }
.tt2-steps li { flex: 1; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); border-radius: 10px; padding: .45rem .4rem; font-size: .72rem; line-height: 1.25; }
.tt2-steps b { display: block; color: #f5c84b; font-size: .8rem; }
.tt2-cta { display: block; width: 100%; margin-top: .75rem; background: #f5c84b; color: #0f3d3a; border: 0; border-radius: 14px; padding: 1rem; font: inherit; font-weight: 900; font-size: 1.15rem; cursor: pointer; box-shadow: 0 8px 20px rgba(0,0,0,.25); }
.tt2-cta small { display: block; font-weight: 600; font-size: .78rem; opacity: .8; margin-top: .15rem; }
.tt2-alt { display: grid; gap: .5rem; margin-top: .6rem; }
.tt2-me { margin-top: 1rem; }

/* ---------- Pinned guide / plan (stays visible while Wala talks) ---------- */
.g-pin { flex: none; display: flex; flex-direction: column; max-height: 48vh; background: rgba(0,0,0,.18); border-bottom: 2px solid var(--gold); box-shadow: 0 8px 18px rgba(0,0,0,.25); position: relative; z-index: 2; }
.g-pin[hidden] { display: none; }
.g-pin-bar { display: flex; align-items: center; gap: .4rem; padding: .35rem var(--gutter); font-size: .8rem; color: rgba(255,255,255,.9); }
.g-pin-title { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.g-pin-btn { border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.08); color: var(--white); border-radius: 999px; font: inherit; font-size: .75rem; padding: .15rem .6rem; cursor: pointer; }
.g-pin-body { overflow-y: auto; padding: 0 var(--gutter) .7rem; overscroll-behavior: contain; }
.g-pin-body .g-card { margin: 0; max-width: none; }
.g-pin.is-collapsed .g-pin-body { display: none; }
@media (max-height: 700px) { .g-pin { max-height: 40vh; } }

/* ---------- Ustad AI ---------- */
.ustad #sheet-title::after, .ustad .wala-title::after { content: " 🥸"; }

/* ---------- "Save my chat" bar + floating button ---------- */
.save-bar { flex: none; background: rgba(255,255,255,.07); border-bottom: 1px solid rgba(255,255,255,.12); padding: .55rem var(--gutter) .7rem; display: grid; gap: .45rem; }
.save-bar[hidden] { display: none; }
.save-bar-head { display: flex; align-items: center; gap: .5rem; }
.save-bar-title { flex: 1; font-size: .86rem; font-weight: 800; color: var(--accent-bright); }
.save-bar-x { border: 0; background: none; color: rgba(255,255,255,.7); font-size: 1rem; cursor: pointer; padding: .2rem .4rem; }
.save-bar-fields { display: grid; grid-template-columns: 1fr 1fr; gap: .4rem; }
.save-bar-fields input { font: inherit; font-size: 16px; padding: .5rem .6rem; border-radius: 10px; border: 1px solid rgba(255,255,255,.25); background: rgba(0,0,0,.2); color: var(--white); min-width: 0; }
.save-bar-fields input::placeholder { color: rgba(255,255,255,.55); }
.save-bar-fields input[name=postcode] { grid-column: auto; }
@media (min-width: 600px) { .save-bar-fields { grid-template-columns: 1fr 1.2fr 1.4fr 1fr; } }
.save-bar-tick { display: flex; gap: .45rem; align-items: flex-start; font-size: .72rem; line-height: 1.35; color: rgba(255,255,255,.75); }
.save-bar-tick input { margin-top: .12rem; flex: none; }
.save-bar-tick a { color: inherit; }
.save-bar-msg { font-size: .8rem; color: #7fd3c8; }
.save-bar-go { justify-self: start; }
.save-fab { position: absolute; right: var(--gutter); bottom: calc(5.6rem + env(safe-area-inset-bottom)); z-index: 5; border: 2px solid #fff; border-radius: 999px; background: var(--gold); color: var(--on-accent); font: inherit; font-weight: 800; font-size: 1rem; padding: .7rem 1.15rem; box-shadow: 0 10px 26px rgba(0,0,0,.45); cursor: pointer; }
.save-fab small { display: block; font-size: .7rem; font-weight: 700; opacity: .8; }
.save-fab.is-new { animation: save-pulse 1.6s ease-in-out 3; }
@keyframes save-pulse { 0%, 100% { transform: scale(1); box-shadow: 0 10px 26px rgba(0,0,0,.45); } 50% { transform: scale(1.08); box-shadow: 0 0 0 8px rgba(95, 220, 205,.35), 0 10px 26px rgba(0,0,0,.45); } }
@media (prefers-reduced-motion: reduce) { .save-fab.is-new { animation: none; } }
.save-fab[hidden] { display: none; }
/* Compact until they start filling it in */
.save-bar:not(.is-active) .save-bar-tick, .save-bar:not(.is-active) input[name=postcode], .save-bar:not(.is-active) .save-bar-go { display: none; }
.save-bar:not(.is-active) { gap: .35rem; padding-bottom: .55rem; }
.save-bar:not(.is-active) .save-bar-fields { grid-template-columns: 1fr 1fr; }

/* Wala couldn't hear: briefly highlight the on-screen guide options */
.g-pin.g-nudge { animation: g-nudge 1.6s ease 2; }
@keyframes g-nudge { 0%,100% { box-shadow: 0 8px 18px rgba(0,0,0,.25); } 50% { box-shadow: 0 0 0 3px var(--gold), 0 8px 22px rgba(0,0,0,.35); } }
@media (prefers-reduced-motion: reduce) { .g-pin.g-nudge { animation: none; outline: 3px solid var(--gold); } }

/* ---------- Plans page, Pass Plus and the call with Ranjha Saab ---------- */
.plans-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; align-items: stretch; margin: 1rem 0 2rem; }
.plan { position: relative; display: flex; flex-direction: column; gap: .5rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem; box-shadow: var(--shadow-sm); }
.plan h2 { font-size: 1.15rem; margin: 0; }
.plan ul { margin: .25rem 0 .75rem; padding-left: 1.1rem; flex: 1; color: var(--ink-2); }
.plan li { margin: .3rem 0; }
.plan-price { font-size: 1.9rem; font-weight: 800; margin: 0; }
.plan-price span { font-size: .9rem; font-weight: 600; color: var(--muted); }
.plan-small { font-size: .85rem; color: var(--muted); margin: .4rem 0 0; }
.plan.is-best { border: 2px solid var(--gold); }
.plan.is-plus { background: var(--forest); color: var(--white); border-color: var(--forest); }
.plan.is-plus ul, .plan.is-plus .plan-price span, .plan.is-plus .plan-small { color: rgba(255,255,255,.85); }
.plan.is-plus .topup-waiver { color: rgba(255,255,255,.85); }
.plan-flag { position: absolute; top: -.7rem; left: 1rem; background: var(--gold); color: var(--on-accent); font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; padding: .2rem .6rem; border-radius: 999px; }
.plan .topup-waiver { display: block; font-size: .78rem; line-height: 1.35; margin-bottom: .6rem; }
.plans-founder { display: flex; gap: 1rem; align-items: center; background: var(--gold-soft); border-radius: var(--radius); padding: 1rem 1.25rem; margin-bottom: 2rem; }
.plans-founder img { border-radius: 50%; flex: none; object-fit: cover; }
.plans-founder p { margin: 0; }
.plans-faq { max-width: 760px; }
.expert-call { margin: .9rem 0 0; }
.expert-call a { color: var(--accent-bright); font-weight: 700; text-decoration: none; }
.expert-call a:hover { text-decoration: underline; }
.vm-buy-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: .75rem; }
.vm-buy.is-plus { border: 2px solid var(--gold); border-radius: var(--radius-sm); padding: .75rem; }
.call-book { border: 2px solid var(--gold); }
.call-book .call-ref { font-size: .8rem; color: var(--muted); }
.call-form { display: grid; gap: .6rem; margin: .5rem 0; }
.call-form label { display: grid; gap: .25rem; font-weight: 600; font-size: .9rem; }
.call-form input, .call-form textarea { font: inherit; padding: .55rem .7rem; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.call-note { font-size: .82rem; }
.topup-opt { display: flex; gap: .55rem; align-items: flex-start; border: 1px solid rgba(255,255,255,.18); border-radius: 12px; padding: .55rem .7rem; margin: .4rem 0; cursor: pointer; font-size: .9rem; line-height: 1.35; }
.topup-opt input { margin-top: .2rem; accent-color: var(--accent-bright); }
.topup-opt em { font-style: normal; font-size: .7rem; font-weight: 800; text-transform: uppercase; background: var(--gold); color: var(--on-accent); padding: .05rem .4rem; border-radius: 999px; }
.topup-opt:has(input:checked) { border-color: var(--accent-bright); background: rgba(15, 124, 120,.08); }
@media (max-width: 560px) { .plans-founder { flex-direction: column; text-align: center; } }
.plan-pro { position: relative; display: grid; grid-template-columns: 1fr minmax(240px, 320px); gap: 1.5rem; align-items: center; background: linear-gradient(135deg, var(--forest), var(--teal)); color: var(--white); border-radius: var(--radius); padding: 1.6rem 1.5rem 1.4rem; margin: 0 0 2rem; box-shadow: var(--shadow); }
.plan-pro h2 { margin: .2rem 0 .4rem; font-size: 1.5rem; display: flex; flex-wrap: wrap; gap: .4rem .9rem; align-items: baseline; }
.plan-pro .plan-price { font-size: 1.6rem; color: var(--accent-bright); }
.plan-pro .plan-price span { color: rgba(255,255,255,.75); }
.plan-pro ul { margin: .4rem 0 0; padding-left: 1.1rem; color: rgba(255,255,255,.9); }
.plan-pro li { margin: .3rem 0; }
.plan-pro .plan-flag { position: absolute; top: -.7rem; left: 1.5rem; }
.plan-pro .topup-waiver, .plan-pro .plan-small { color: rgba(255,255,255,.85); }
.plan-pro .plan-small a { color: var(--accent-bright); }
@media (max-width: 760px) { .plan-pro { grid-template-columns: 1fr; } }
.plans-legal { display: flex; gap: 1.25rem; align-items: center; justify-content: space-between; border: 2px solid var(--forest); border-radius: var(--radius); padding: 1.1rem 1.4rem; margin: 0 0 2rem; }
.plans-legal h2 { margin: 0 0 .3rem; font-size: 1.25rem; }
.plans-legal p { margin: 0; color: var(--ink-2); }
.plans-legal .btn { flex: none; }
@media (max-width: 680px) { .plans-legal { flex-direction: column; align-items: stretch; } }
.pack-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.1rem; margin: 1rem 0 2rem; align-items: start; }
.pack { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.35rem 1.2rem 1.1rem; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: .45rem; }
.pack h2 { font-size: 1.15rem; margin: .1rem 0 0; }
.pack-for { color: var(--ink-2); margin: 0; font-weight: 600; }
.pack ul { margin: .2rem 0 .4rem; padding-left: 1.1rem; color: var(--ink-2); }
.pack li { margin: .25rem 0; }
.pack-price { font-weight: 800; margin: .2rem 0 0; }
.pack-go summary { list-style: none; cursor: pointer; margin-top: .4rem; }
.pack-go summary::-webkit-details-marker { display: none; }
.pack-go[open] summary { display: none; }
.pack-go .lead-form { margin-top: .5rem; }
/* Voice time-left meter and welcome offer */
.voice-meter { margin: -.2rem 0 0; font-size: .82rem; font-weight: 700; color: rgba(255,255,255,.8); letter-spacing: .01em; }
.voice-meter.is-low { color: var(--accent-bright); }
.topup-offer { background: rgba(15, 124, 120,.14); border: 1px dashed var(--gold); border-radius: 10px; padding: .45rem .65rem; font-size: .88rem; margin: .4rem 0; }

/* ---------- Flow diagrams ---------- */
.diagram-tools { display: flex; flex-wrap: wrap; gap: .5rem; margin: .25rem 0 1rem; }
.diagram-sheet { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem 1rem 1rem; box-shadow: var(--shadow-sm); }
.diagram-sheet-title { font-size: 1.15rem; margin: 0 0 1rem; display: none; }
.diagram-print-head, .diagram-close { display: none; }
.diagram-meta { font-size: .78rem; color: var(--muted); margin: 1rem 0 0; }
.diagram-next { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.25rem 0 .5rem; }
.flow { list-style: none; margin: 0; padding: 0; max-width: 760px; }
.flow-node { position: relative; padding: 0 0 1.1rem 0; }
.flow-node:not(:last-child)::after { content: ""; position: absolute; left: 19px; top: 44px; bottom: 2px; width: 3px; background: var(--gold); border-radius: 3px; }
.flow-box { display: flex; gap: .8rem; align-items: flex-start; }
.flow-num { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; background: var(--forest); color: var(--white); position: relative; z-index: 1; }
.flow-body { flex: 1; background: var(--bg); border: 1px solid var(--line); border-radius: 14px; padding: .7rem .85rem; }
.flow-body h3 { font-size: 1rem; margin: 0 0 .25rem; line-height: 1.3; }
.flow-body p { margin: 0; color: var(--ink-2); font-size: .93rem; line-height: 1.45; }
.flow-body .flow-when { margin-top: .4rem; font-weight: 700; color: var(--forest); font-size: .85rem; }
.flow-node.is-decision .flow-num { background: var(--gold); color: var(--on-accent); border-radius: 10px; transform: rotate(45deg); width: 34px; height: 34px; margin: 3px; }
.flow-node.is-decision .flow-num { font-size: 0; }
.flow-node.is-decision .flow-num::before { content: "?"; font-size: 1rem; transform: rotate(-45deg); }
.flow-node.is-decision .flow-body { background: #eef8f6; border-color: var(--gold-soft); }
.flow-branches { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: .5rem; margin-top: .55rem; }
.flow-branch { background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--green); border-radius: 10px; padding: .45rem .6rem; font-size: .88rem; display: grid; gap: .15rem; }
.flow-branch.is-warn { border-left-color: var(--red); }
.flow-node.is-warn .flow-num { background: var(--red); }
.flow-node.is-warn .flow-body { background: #fff4f4; border-color: #f3c7c7; }
.flow-node.is-end .flow-num { background: var(--green); }
.flow-node.is-end .flow-body { background: #eefaf2; border-color: #c6ebd3; }
/* Full screen: the diagram fills the phone; turn sideways for more room */
.diagram-sheet.is-full { position: fixed; inset: 0; z-index: 1000; border-radius: 0; overflow: auto; padding: 1rem 1rem 2rem; -webkit-overflow-scrolling: touch; }
.diagram-sheet.is-full .diagram-sheet-title { display: block; padding-right: 2.5rem; }
.diagram-sheet.is-full .diagram-close { display: grid; place-items: center; position: sticky; top: 0; margin-left: auto; margin-bottom: -2.2rem; width: 2.2rem; height: 2.2rem; border-radius: 50%; border: 0; background: var(--forest); color: var(--white); font-size: 1rem; cursor: pointer; z-index: 2; }
.diagram-sheet.is-full .flow { max-width: none; }
body.diagram-open { overflow: hidden; }
@media (orientation: landscape) and (max-height: 520px) { .diagram-sheet.is-full .flow-branches { grid-template-columns: repeat(3, 1fr); } }
/* Diagram card inside the chat */
.msg-diagram { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: 14px; padding: .7rem .8rem; }
.msg-diagram ol { margin: .4rem 0 .6rem; padding-left: 1.2rem; font-size: .88rem; }
.msg-diagram li { margin: .15rem 0; }
.msg-diagram .btn { margin-top: .2rem; }
/* Print / save as PDF: just the diagram, branded */
@media print {
  .site-header, .site-footer, .an-notice, .diagram-tools, .diagram-next, .diagram-hero, .plan-small, .wala-fab, .wala-sheet, .breadcrumbs, .join-band, .sell-band { display: none !important; }
  .diagram-sheet { border: 0; box-shadow: none; padding: 0; }
  .diagram-print-head { display: block; font-size: 12pt; border-bottom: 2px solid #0f7c78; padding-bottom: 6pt; margin-bottom: 10pt; }
  .diagram-sheet-title { display: block; }
  .flow-node { break-inside: avoid; }
  .flow-num { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
body.diagram-open .ask-bar, body.diagram-open .wala-nudge, body.diagram-open .an-notice { display: none !important; }

/* ---------- Compact chat: in-app browsers (TikTok, Instagram, Facebook) and short screens ---------- */
html.compact .sheet-head { padding-top: calc(.45rem + env(safe-area-inset-top)); padding-bottom: .45rem; gap: .55rem; }
html.compact .sheet-head .wala-avatar { width: 32px; height: 32px; }
html.compact .sheet-head h2 { font-size: 1rem; }
html.compact .sheet-status { font-size: .75rem; }
html.compact .voice-toggle { font-size: .78rem; padding: .25rem .6rem; }
html.compact .g-pin { max-height: 30vh; }
html.compact .g-pin-bar { padding-top: .25rem; padding-bottom: .25rem; }
html.compact .g-pin-body .g-card { font-size: .9rem; }
html.compact .msg { font-size: .95rem; }
html.compact .save-fab { font-size: .92rem; padding: .6rem 1rem; bottom: calc(4.9rem + env(safe-area-inset-bottom)); }
html.compact .sheet-legal { font-size: .66rem; padding-bottom: .35rem; }
html.compact .save-bar-title { font-size: .85rem; }
.inapp-tip { font-size: .85rem; line-height: 1.45; }
.inapp-tip .save-chat-link { display: inline; margin-left: .3rem; }

/* Tax, trusts & family hub */
.callout { border: 1px solid var(--line); border-left: 4px solid var(--gold); background: var(--gold-soft); color: var(--ink); padding: 14px 16px; border-radius: 10px; margin: 0 0 24px; line-height: 1.5; }
.ask-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 32px; }
.ask-chip { white-space: normal; text-align: left; height: auto; line-height: 1.35; padding: 10px 14px; font-weight: 500; }
.page-body > .guide-card { display: block; max-width: 640px; margin: 8px 0 12px; }

/* Voice controls: one slim row (wave · status · End) so the guide card and the answers keep the space. Nov 2026 */
.voice-stage { grid-template-columns: auto 1fr auto; align-items: center; justify-items: stretch; gap: .35rem .7rem; padding: .45rem var(--gutter); }
.voice-stage .wave { width: 92px; height: 30px; margin: 0; gap: 2px; }
.voice-stage .wave span { width: 2px; height: calc(4px + 20px * var(--h, .3)); }
.voice-stage .wave span:nth-child(n+19) { display: none; }
.voice-text { min-width: 0; }
.voice-stage .voice-label { margin: 0; font-size: .9rem; line-height: 1.2; }
.voice-stage .voice-meter { margin: .1rem 0 0; font-size: .74rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.voice-stage .voice-end { padding: .35rem .7rem; }
.voice-stage .voice-interrupt { grid-column: 1 / -1; justify-self: center; }
/* The pinned step-by-step card gets more room on larger screens; the chat underneath scrolls. */
@media (min-width: 900px) and (min-height: 760px) { .g-pin { max-height: 54vh; } }
.g-pin-body { padding-bottom: .5rem; }

/* Details Wala puts on screen are pinned at the top (full width) so they can't scroll out of view. */
.g-pin-body .msg-screen { max-width: none; margin: 0; background: rgba(255,255,255,.95); color: var(--ink); border-left: 4px solid var(--gold); }
.g-pin-body .msg-screen a { color: inherit; }

/* ---- Nov 2026: decluttered panel ---- */
/* Save lives in the header (it used to float over the controls). */
.save-head { flex: none; border: 0; border-radius: 999px; background: var(--gold); color: var(--on-accent); font: inherit; font-size: .8rem; font-weight: 800; padding: .38rem .75rem; cursor: pointer; white-space: nowrap; }
.save-head[hidden] { display: none; }
.save-head.is-new { animation: save-pulse 1.6s ease-in-out 3; }
@media (prefers-reduced-motion: reduce) { .save-head.is-new { animation: none; } }
@media (max-width: 400px) { .save-head { font-size: .74rem; padding: .32rem .6rem; } }
/* "Stop & let me talk" sits in the voice row, not on a row of its own. */
.voice-stage { grid-template-columns: auto 1fr auto auto; }
.voice-stage .voice-interrupt { grid-column: auto; justify-self: end; padding: .35rem .7rem; }
.voice-stage .voice-interrupt[hidden] { display: none; }
/* Phones: the pinned card takes at most ~40% of the height and scrolls; slightly smaller text. */
@media (max-width: 899px) {
  .g-pin { max-height: 40vh; }
  .g-pin-body .msg-screen, .g-pin-body .g-card { font-size: .9rem; }
  .g-pin-body .msg-screen ul { padding-left: 1.1rem; margin: .3rem 0; }
}
/* Desktop and tablet-landscape: when a card is pinned, the panel widens into two columns — the card on the left (full height), the chat on the right. */
@media (min-width: 900px) {
  .wala-sheet:has(.g-pin:not([hidden]):not(.is-collapsed)) {
    width: min(900px, calc(100vw - 24px)); display: grid;
    grid-template-columns: minmax(0, 1fr) 420px; grid-template-rows: auto auto minmax(0, 1fr) auto auto auto;
  }
  .wala-sheet:has(.g-pin:not([hidden]):not(.is-collapsed)) > .sheet-head { grid-column: 1 / -1; grid-row: 1; }
  .wala-sheet:has(.g-pin:not([hidden]):not(.is-collapsed)) > .save-bar { grid-column: 2; grid-row: 2; }
  .wala-sheet:has(.g-pin:not([hidden]):not(.is-collapsed)) > .g-pin { grid-column: 1; grid-row: 2 / 7; max-height: none; min-height: 0; border-bottom: 0; border-right: 2px solid var(--gold); box-shadow: none; }
  .wala-sheet:has(.g-pin:not([hidden]):not(.is-collapsed)) > .g-pin .g-pin-body { flex: 1; min-height: 0; }
  .wala-sheet:has(.g-pin:not([hidden]):not(.is-collapsed)) > .sheet-body { grid-column: 2; grid-row: 3; min-height: 0; }
  .wala-sheet:has(.g-pin:not([hidden]):not(.is-collapsed)) > .voice-stage { grid-column: 2; grid-row: 4; }
  .wala-sheet:has(.g-pin:not([hidden]):not(.is-collapsed)) > .composer { grid-column: 2; grid-row: 5; }
  .wala-sheet:has(.g-pin:not([hidden]):not(.is-collapsed)) > .sheet-legal { grid-column: 2; grid-row: 6; }
}
@media (max-width: 480px) { .voice-stage .wave { width: 52px; } .voice-stage .wave span:nth-child(n+12) { display: none; } .voice-stage { gap: .3rem .5rem; } }

/* Phones: an open card is a full panel between the header and the voice controls; "Back to chat" folds it to one line. */
@media (max-width: 899px) {
  .g-pin:not(.is-collapsed) {
    position: absolute; left: 0; right: 0; top: var(--pin-top, 64px); bottom: var(--pin-bottom, 140px);
    max-height: none; z-index: 6; display: flex; flex-direction: column;
    background: linear-gradient(180deg, var(--panel-2), #0a2232); border-bottom: 2px solid var(--gold);
  }
  .g-pin:not(.is-collapsed) .g-pin-body { flex: 1; min-height: 0; overflow-y: auto; padding-bottom: 1rem; }
  .g-pin:not(.is-collapsed) .g-pin-btn[data-pin-toggle] { background: var(--gold); color: var(--on-accent); border-color: var(--accent-bright); font-weight: 800; padding: .3rem .8rem; }
  .g-pin.is-collapsed .g-pin-bar { cursor: pointer; }
  .g-pin-body .msg-screen, .g-pin-body .g-card, .g-pin-body .msg-diagram { font-size: .95rem; }
}
.g-pin-body .msg-diagram { max-width: none; margin: 0; }

/* Cards show in full: titles wrap instead of being cut with "…", and a "More below" hint shows while there's more to scroll. */
.g-pin-title { white-space: normal; overflow: visible; text-overflow: clip; line-height: 1.25; }
.g-pin-more { display: none; position: absolute; left: 50%; bottom: .5rem; transform: translateX(-50%); z-index: 3; border: 0; border-radius: 999px; background: var(--gold); color: var(--on-accent); font: inherit; font-size: .78rem; font-weight: 800; padding: .3rem .85rem; box-shadow: 0 4px 12px rgba(0,0,0,.35); cursor: pointer; }
.g-pin.has-more .g-pin-more { display: block; }
.g-pin.has-more .g-pin-body { -webkit-mask-image: linear-gradient(180deg, #000 calc(100% - 2.5rem), transparent); mask-image: linear-gradient(180deg, #000 calc(100% - 2.5rem), transparent); }
/* Phones: slightly smaller, tighter text so more of the card fits on screen. */
@media (max-width: 899px) {
  .g-pin-body .msg-screen, .g-pin-body .g-card, .g-pin-body .msg-diagram { font-size: .87rem; line-height: 1.42; }
  .g-pin-body .msg-screen { padding: .6rem .75rem; }
  .g-pin-body .msg-screen p { margin: .3rem 0; }
  .g-pin-body .msg-screen ul, .g-pin-body .msg-screen ol { padding-left: 1rem; margin: .25rem 0; }
  .g-pin-body .msg-screen li { margin: .15rem 0; }
  .g-pin-body .msg-screen h3, .g-pin-body .msg-screen h4, .g-pin-body .msg-screen strong:first-child { font-size: .95rem; }
}

/* Text size (A− / A+ in the panel header): small, normal, large — remembered on this device. Phones start a little smaller. */
.wala-sheet { --wfs: 1; }
.wala-sheet[data-ts="s"] { --wfs: .9; }
.wala-sheet[data-ts="l"] { --wfs: 1.14; }
.wala-sheet .msg { font-size: calc(.97rem * var(--wfs)); }
.wala-sheet .g-pin-body .msg-screen, .wala-sheet .g-pin-body .g-card, .wala-sheet .g-pin-body .msg-diagram { font-size: calc(.92rem * var(--wfs)); }
.ts-btn { flex: none; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.08); color: var(--white); border-radius: 999px; font: inherit; font-size: .78rem; font-weight: 800; padding: .3rem .55rem; cursor: pointer; line-height: 1; white-space: nowrap; }
.ts-btn small { font-size: .62rem; }
@media (max-width: 899px) {
  .wala-sheet .msg { font-size: calc(.9rem * var(--wfs)); line-height: 1.42; padding: .6rem .8rem; }
  .wala-sheet .g-pin-body .msg-screen, .wala-sheet .g-pin-body .g-card, .wala-sheet .g-pin-body .msg-diagram { font-size: calc(.87rem * var(--wfs)); }
  /* Slimmer header: smaller logo and title, one-line status, icon-only voice switch. */
  .sheet-head { gap: .45rem; padding: .45rem var(--gutter); padding-top: calc(.45rem + env(safe-area-inset-top)); }
  .sheet-head .wala-avatar.sm { width: 32px; height: 32px; padding: 3px; }
  .sheet-head h2 { font-size: 1rem; line-height: 1.15; }
  .sheet-head .sheet-status { font-size: .7rem; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 30vw; }
  .sheet-head-text { min-width: 0; }
  .voice-toggle .vt-txt { display: none; }
  .voice-toggle { padding: .3rem .5rem; font-size: .9rem; max-width: none; }
  .sheet-head .icon-btn { width: 36px; height: 36px; }
  /* Thinner voice bar. */
  .voice-stage { padding: .3rem var(--gutter); gap: .25rem .5rem; }
  .voice-stage .voice-text { font-size: .8rem; }
  /* The typing box stays at 16px so iPhone Safari doesn't zoom the page when it's tapped. */
  .composer textarea { font-size: 16px; }
}

/* Short "general information" reminders on the welcome message and under every on-screen card. */
.msg-legal { font-size: .8em; opacity: .8; margin-top: .4rem; }
.card-legal { font-size: .74rem; line-height: 1.35; opacity: .75; margin: .6rem .2rem 2.6rem; }

/* Home page: clickable robot and its speech bubble. */
.wala-avatar-btn { border: 0; padding: 0; background: none; border-radius: 50%; cursor: pointer; flex: none; transition: transform .15s; }
.wala-avatar-btn:hover, .wala-avatar-btn:focus-visible { transform: scale(1.06); }
.wala-avatar-btn .wala-avatar { display: block; animation: wala-bob 3.2s ease-in-out infinite; }
@keyframes wala-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
.wala-bubble { position: relative; display: block; width: 100%; margin: .8rem 0 .2rem; padding: .7rem .9rem; height: calc(2 * 1.4em + 1.4rem); overflow: hidden; text-align: left; border: 0; border-radius: 14px; border-top-left-radius: 4px; background: rgba(255,255,255,.1); color: var(--white); font: inherit; font-size: .95rem; line-height: 1.4; cursor: pointer; }
.wala-bubble::before { content: ""; position: absolute; top: -7px; left: 20px; border: 7px solid transparent; border-top: 0; border-bottom-color: rgba(255,255,255,.1); }
.wala-bubble:hover { background: rgba(255,255,255,.15); }
.wala-bubble-caret { display: inline-block; width: 2px; height: 1em; margin-left: 2px; vertical-align: -2px; background: var(--gold); animation: wala-caret 1s steps(1) infinite; }
.wala-bubble.is-done .wala-bubble-caret { display: none; }
@keyframes wala-caret { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .wala-avatar-btn .wala-avatar, .wala-bubble-caret { animation: none; } }

/* Phones: Wala greets visitors right under the headline (the full Wala panel is further down the page). */
.hero-wala { display: none; }
@media (max-width: 899px) {
  .hero-wala { display: flex; align-items: flex-start; gap: .6rem; width: 100%; margin: .2rem 0 1rem; padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
  .hero-wala .wala-avatar { width: 44px; height: 44px; padding: 5px; flex: none; animation: wala-bob 3.2s ease-in-out infinite; }
  .hero-wala .wala-bubble { margin: 0; height: calc(2 * 1.4em + 1.4rem); font-size: .92rem; border-top-left-radius: 14px; border-bottom-left-radius: 4px; background: rgba(255,255,255,.12); }
  .hero-wala .wala-bubble::before { top: auto; bottom: 8px; left: -7px; border: 7px solid transparent; border-left: 0; border-right-color: rgba(255,255,255,.12); }
}

.wala-hear { display: inline-flex; align-items: center; gap: .3rem; margin: -.4rem 0 .8rem 3.3rem; padding: .25rem .7rem; border: 1px solid rgba(255,255,255,.3); border-radius: 999px; background: rgba(255,255,255,.08); color: var(--white); font: inherit; font-size: .8rem; font-weight: 700; cursor: pointer; }
.wala-panel .wala-hear { margin: .1rem 0 .4rem; }
.wala-hear[hidden] { display: none; }
@media (min-width: 900px) { .wala-hear.hero-hear { display: none !important; } }

/* Phones: get the "Talk to Wala" button on the first screen — slightly smaller headline, and the buttons move up
   to sit right under Wala's speech bubble (the description and ticks follow). */
@media (max-width: 699px) {
  .hero-copy { display: flex; flex-direction: column; }
  .hero-title { font-size: clamp(2.2rem, 10vw, 3rem); }
  .hero .eyebrow { margin-bottom: .6rem; }
  .hero-ctas { order: 1; margin-top: .4rem; margin-bottom: 1.2rem; }
  .hero-lede { order: 2; font-size: .95rem; }
  .ticks { order: 3; }
  .ticks li { font-size: .92rem; }
  .hero-wala { margin-bottom: .7rem; }
}

/* iPhone: nothing in the Wala panel may be wider than the screen (a too-wide row makes Safari zoom out and cut things off). */
.wala-sheet { max-width: 100vw; overflow-x: hidden; }
.wala-sheet > * { min-width: 0; }
.sheet-head > * { min-width: 0; }
.voice-stage { grid-template-columns: auto minmax(0, 1fr) auto auto; }
.voice-stage .voice-text { min-width: 0; }
@media (max-width: 480px) {
  .voice-stage .voice-interrupt, .voice-stage .voice-end { padding: .35rem .65rem; font-size: .85rem; }
  .voice-stage .voice-label { font-size: .85rem; line-height: 1.2; }
}

/* Phones (owner's tweaks, 5 Nov): smaller headline and buttons — Talk a little bigger than Services — and Wala's
   speech bubble keeps a fixed two-line height so typing never pushes the page down. */
@media (max-width: 699px) {
  .hero-title { font-size: clamp(1.9rem, 8.6vw, 2.5rem); }
  .hero-ctas { gap: .55rem; }
  .hero-ctas .btn-gold.btn-lg { padding: .75rem 1rem; font-size: 1rem; }
  .hero-ctas .btn-ghost.btn-lg { padding: .55rem 1rem; font-size: .9rem; }
  .hero-wala .wala-bubble { font-size: .88rem; line-height: 1.35; height: calc(2 * 1.35em + 1.4rem); min-height: 0; overflow: hidden; }
}

/* ---------- Home page redesign test (/home-v2): Wala first ---------- */
.hv2-grid { display: grid; gap: 1.1rem; padding-top: 1rem; padding-bottom: 1.6rem; }
.hv2-title { font-size: clamp(1.7rem, 7.4vw, 2.4rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.05; }
.hv2-title .gold { display: block; }
.hv2-lede { margin-top: .6rem; font-size: .95rem; line-height: 1.5; color: rgba(255,255,255,.88); }
.hv2-lede strong { color: var(--white); }
.hv2-chips { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .8rem; }
.hv2-chips li { display: inline-flex; align-items: center; gap: .3rem; padding: .3rem .65rem; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16); font-size: .8rem; font-weight: 600; }
.hv2-chips .icon { color: var(--mint); }
.hv2-langs { margin-top: .7rem; font-size: .85rem; color: rgba(255,255,255,.8); line-height: 1.6; }
.hv2-langs span { font-weight: 700; color: var(--white); }
.hv2-ctas { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; margin-top: 1rem; }
.hv2-ctas .btn { padding: .6rem .7rem; font-size: .88rem; }
/* Phones: a compact Wala panel at the very top, so the mic is on the first screen. */
@media (max-width: 699px) {
  .hero-v2 .wala-panel { padding: .9rem; border-radius: 22px; }
  .hero-v2 .wala-avatar { width: 46px; height: 46px; padding: 5px; }
  .hero-v2 .wala-title { font-size: 1.25rem; }
  .hero-v2 .wala-sub { font-size: .8rem; }
  .hero-v2 .wala-bubble { margin: .6rem 0 .1rem; padding: .55rem .8rem; font-size: .88rem; line-height: 1.35; height: calc(2 * 1.35em + 1.1rem); min-height: 0; overflow: hidden; }
  .hero-v2 .wave { height: 34px; margin: .35rem 0 0; }
  .hero-v2 .wave span { height: calc(6px + 20px * var(--h, .3)); }
  .hero-v2 .mic-btn { width: 84px; height: 84px; }
  .hero-v2 .mic-btn .icon { width: 34px; height: 34px; }
  .hero-v2 .wala-side-icon { width: 44px; height: 44px; }
  .hero-v2 .wala-side { font-size: .82rem; }
  .hero-v2 .mic-caption { margin-top: .35rem; font-size: .85rem; }
  .hero-v2 .samples { margin-top: .7rem; }
  .hero-v2 .sample { padding: .5rem .5rem; font-size: .85rem; min-height: 42px; }
  .hero-v2 .wala-panel > .samples li:nth-child(n+4) { display: none; }
}
/* Desktop: headline on the left, Wala on the right. */
@media (min-width: 900px) {
  .hv2-grid { grid-template-columns: 1.1fr .9fr; align-items: center; gap: 3rem; padding-top: 3rem; padding-bottom: 3.5rem; }
  .hv2-wala { order: 2; }
  .hv2-copy { order: 1; }
  .hv2-title { font-size: 3.6rem; }
  .hv2-lede { font-size: 1.05rem; }
  .hv2-ctas { grid-template-columns: auto auto; justify-content: start; }
}

.hv2-founder { display: flex; align-items: flex-end; gap: .8rem; margin: 1.1rem 0 0; }
.hv2-founder blockquote { flex: 1; }
.hv2-founder img { flex: none; width: 96px; height: 124px; object-fit: cover; object-position: top; border-radius: 16px; border: 2px solid rgba(255,255,255,.25); box-shadow: 0 8px 20px rgba(0,0,0,.3); }
.hv2-founder blockquote { position: relative; margin: 0 0 .4rem; padding: .7rem .85rem; border-radius: 14px; border-bottom-left-radius: 4px; background: var(--gold); color: var(--on-accent); }
.hv2-founder blockquote::before { content: ""; position: absolute; left: -7px; bottom: 10px; border: 7px solid transparent; border-left: 0; border-right-color: var(--accent-bright); }
.hv2-founder blockquote p { margin: 0; font-size: .88rem; line-height: 1.4; font-weight: 600; }
.hv2-founder figcaption { margin-top: .35rem; font-size: .78rem; }
@media (min-width: 900px) { .hv2-founder img { width: 120px; height: 156px; } .hv2-founder blockquote p { font-size: .95rem; } }

/* ---------- Home page: phones get the Wala-first layout (tested as /home-v2); tablets and desktops keep the original. ---------- */
.home-m-only { display: none; }
@media (max-width: 699px) {
  .hero-home .hero-grid { display: flex; flex-direction: column; gap: 1.1rem; padding-top: 1rem; }
  .hero-home .wala-panel { order: -1; }
  .hero-home .eyebrow, .hero-home .hero-wala, .hero-home .hero-hear, .hero-home .hero-people, .hero-home .hero-ctas { display: none !important; }
  .hero-home .home-m-only { display: flex; }
  .hero-home .hv2-ctas.home-m-only { display: grid; order: 5; }
  .hero-home .hv2-founder { order: 4; }
  .hero-home .hero-title { font-size: clamp(1.7rem, 7.4vw, 2.4rem); line-height: 1.05; letter-spacing: -0.035em; }
  .hero-home .hero-title .line { display: inline; }
  .hero-home .hero-title .line:nth-child(2)::before { content: "\A"; white-space: pre; }
  .hero-home .hero-lede { margin-top: .6rem; font-size: .95rem; line-height: 1.5; }
  .hero-home .ticks { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .8rem; }
  .hero-home .ticks li { display: inline-flex; align-items: center; gap: .3rem; padding: .3rem .65rem; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16); font-size: .8rem; font-weight: 600; }
  .hero-home .ticks li .icon { width: 16px; height: 16px; color: var(--mint); }
  .hero-home .ticks li:last-child { display: block; flex-basis: 100%; padding: .45rem .75rem; border: 0; border-radius: 14px; background: rgba(10,34,50,.72); font-weight: 400; font-size: .85rem; line-height: 1.6; color: #fff; }
  .hero-home .ticks li:last-child .icon { display: none; }
}
.ticks .t-short { display: none; }
@media (max-width: 699px) { .hero-home .ticks .t-long { display: none; } .hero-home .ticks .t-short { display: inline; } }

/* Small phones (iPhone SE / mini and narrow Androids): keep the header and the two hero buttons inside the screen. */
@media (max-width: 400px) {
  .brand { gap: .4rem; }
  .brand-mark { width: 34px; height: 34px; }
  .brand-name { font-size: 1.15rem; }
  .header-actions { gap: .35rem; }
  .header-actions .btn { padding: .45rem .6rem; font-size: .82rem; gap: .3rem; }
  .brand-tag { font-size: .62rem; }
  .menu-toggle { width: 40px; height: 40px; }
}
@media (max-width: 340px) { .hv2-ctas { grid-template-columns: 1fr; } }

/* Chat: after the first question, hide the welcome extras (nations, languages, step-by-step guides). */
.wala-sheet.has-started .intro-extra { display: none; }
/* Phones in voice mode: more room for the card and chat — no typing box or footer line (End the call to type),
   and a one-line voice bar. */
@media (max-width: 899px) {
  .wala-sheet.is-voice .composer, .wala-sheet.is-voice .sheet-legal { display: none; }
  .wala-sheet.is-voice .voice-stage { padding-top: .35rem; padding-bottom: calc(.35rem + env(safe-area-inset-bottom)); }
  .wala-sheet.is-voice .voice-label { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .wala-sheet.is-voice .voice-meter { font-size: .72rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
}
/* Phones: the open card always fills the space between the header and the voice bar / typing box — including on
   shorter screens (every iPhone in Safari counts as "compact"), where it used to be capped at 30% of the height. */
@media (max-width: 899px) {
  html .wala-sheet .g-pin:not(.is-collapsed) { max-height: none; }
}

/* Voice on phones: live subtitle in the voice bar (up to two lines), and a brief pulse on "Back to chat" the first time. */
.wala-sheet.has-subtitle .voice-label { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-weight: 600; font-size: .82rem; line-height: 1.25; }
.g-pin-btn.is-hint { animation: pin-hint 1s ease-in-out 4; }
@keyframes pin-hint { 0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(244,190,40,.7); } 50% { transform: scale(1.08); box-shadow: 0 0 0 8px rgba(244,190,40,0); } }
@media (prefers-reduced-motion: reduce) { .g-pin-btn.is-hint { animation: none; outline: 2px solid var(--white); } }

/* SEO content blocks: plain paragraphs, FAQs, and the home page topic hub. */
.prose-p { margin: .7rem 0; line-height: 1.6; color: var(--ink-2); max-width: 68ch; }
.faq { display: grid; gap: .5rem; margin-top: .8rem; max-width: 72ch; }
.faq-item { border: 1px solid var(--line); border-radius: 12px; background: var(--white); padding: .2rem .9rem; }
.faq-item summary { cursor: pointer; font-weight: 700; padding: .65rem 0; list-style-position: outside; }
.faq-item p { margin: 0 0 .8rem; line-height: 1.55; color: var(--ink-2); }
.topic-hub { padding: 2.5rem 0; background: var(--cream, #f3f8f8); }
.topic-hub h2 { margin-bottom: .4rem; }
.topic-hub .lede { color: var(--ink-2); max-width: 70ch; margin-bottom: 1.2rem; }
.topic-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.topic-col h3 { font-size: 1rem; margin-bottom: .4rem; }
.topic-col ul { display: grid; gap: .3rem; }
.topic-col a { color: var(--forest); text-decoration: underline; text-underline-offset: 2px; font-size: .95rem; }
.home-faq { padding: 2rem 0 2.5rem; }

/* Header shows the web address: LandlordWala.com (.com a little smaller so it fits on phones). */
.brand-tld { font-size: .72em; font-weight: 700; color: var(--forest); opacity: .85; letter-spacing: -0.01em; }
.brand-light .brand-tld { color: var(--white); }
@media (max-width: 400px) { .brand-tld { font-size: .62em; } }
@media (max-width: 480px) { .header-actions .talk-long { display: none; } }

/* Clear ways to upgrade: in the voice time meter and the panel footer. */
.meter-more { color: var(--accent-bright); font-weight: 800; text-decoration: underline; text-underline-offset: 2px; white-space: nowrap; }
.sheet-legal .legal-plans { color: var(--accent-bright); font-weight: 700; }
.wala-sheet.is-voice .voice-meter { white-space: normal; overflow: visible; }
.acct-alt { margin-top: 1.4rem; border-top: 1px solid rgba(0,0,0,.1); padding-top: 1rem; }
.acct-alt summary { cursor: pointer; font-weight: 700; color: var(--green, #1d4d3a); }
.acct-alt .acct-form { margin-top: .8rem; }
/* Pay card: confirm email with a code before paying */
.pay-verify { display: grid; gap: .55rem; margin-top: .4rem; }
.pay-step { font-size: .9rem; line-height: 1.4; margin: 0; }
.pay-details, .pay-code { display: grid; grid-template-columns: 1fr 1fr; gap: .45rem; }
.pay-details > *, .pay-code > * { grid-column: 1 / -1; }
.pay-details input[name=name], .pay-details input[name=phone] { grid-column: auto; }
.pay-details input:not([type=checkbox]), .pay-code input { font: inherit; font-size: 16px; padding: .6rem .7rem; border-radius: 10px; border: 1px solid rgba(0,0,0,.2); background: #fff; color: var(--ink); min-width: 0; }
.pay-code input.pay-code-in { font-size: 1.4rem; letter-spacing: .3em; text-align: center; font-weight: 700; }
.pay-tick { display: flex; gap: .45rem; align-items: flex-start; font-size: .75rem; line-height: 1.35; }
.pay-tick input { margin-top: .15rem; flex: none; }

/* Desktop menu on one line: tighter between 1200 and 1500px; Home (= the logo) and About (in the footer) give way first. */
@media (min-width: 1200px) and (max-width: 1749px) {
  .main-nav ul { gap: 0; }
  .main-nav a { padding: .5rem .42rem; font-size: .86rem; }
  .main-nav a[aria-current="page"]::after { left: .42rem; right: .42rem; }
  .main-nav .nav-home, .main-nav .nav-about { display: none; }
  .header-inner { gap: .6rem; }
  .header-actions { margin-left: .6rem; }
}
@media (min-width: 1200px) and (max-width: 1339px) {
  .brand-tag { display: none; }
  .main-nav a { font-size: .82rem; padding: .5rem .36rem; }
}

/* ---------- Documents: list + builder ---------- */
.doc-kinds { display: grid; gap: .9rem; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.doc-kind { display: grid; gap: .35rem; align-content: start; background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 1rem 1.1rem; box-shadow: var(--shadow-sm); color: var(--ink); text-decoration: none; transition: transform .15s, box-shadow .15s; }
.doc-kind:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.doc-kind strong { font-size: 1.05rem; }
.doc-kind span { color: var(--ink-2); font-size: .9rem; }
.doc-kind em { font-style: normal; font-size: .75rem; font-weight: 700; color: var(--forest); }
.doc-kind-icon { width: 40px; height: 40px; border-radius: 12px; background: rgba(15, 124, 120,.18); display: grid; place-items: center; color: var(--forest); }
.doc-row, .doc-pick { display: flex; justify-content: space-between; align-items: center; gap: 1rem; color: var(--ink); text-decoration: none; }
.doc-pick span { font-weight: 700; color: var(--forest); }
.doc-status { font-size: .75rem; font-weight: 800; padding: .2rem .6rem; border-radius: 999px; background: var(--bg); white-space: nowrap; }
.doc-status-ready { background: #e8f5f3; color: #7a5400; }
.doc-status-sent { background: #dff5e7; color: #13723c; }
.linklike { background: none; border: 0; padding: 0; color: var(--forest); font: inherit; font-weight: 700; text-decoration: underline; cursor: pointer; }
.doc-layout { display: grid; gap: 1.5rem; align-items: start; }
@media (min-width: 980px) { .doc-layout { grid-template-columns: minmax(0, 1fr) 360px; } .doc-side { position: sticky; top: 90px; } }
.doc-form { margin-top: 0; }
.doc-form fieldset { grid-template-columns: 1fr; }
@media (min-width: 640px) { .doc-form fieldset, .doc-subgrid { grid-template-columns: 1fr 1fr; } }
.doc-subgrid { display: grid; gap: .8rem; margin-top: .8rem; }
.doc-wide, .doc-form fieldset > p, .doc-form fieldset > legend { grid-column: 1 / -1; }
.doc-field[hidden] { display: none !important; }
.doc-field .acct-help { margin-top: 0; font-weight: 500; }
.req { color: var(--red); font-weight: 800; }
.doc-form input, .doc-form select, .doc-form textarea { font-size: 16px !important; }
.doc-grounds { display: grid; gap: .45rem; }
@media (min-width: 640px) { .doc-grounds { grid-template-columns: 1fr 1fr; } }
.doc-ground { display: flex !important; gap: .55rem; align-items: flex-start; border: 1px solid var(--line); border-radius: 12px; padding: .55rem .65rem; font-weight: 500 !important; cursor: pointer; }
.doc-ground:has(input:checked) { border-color: var(--accent-bright); background: #eef8f6; }
.doc-ground input { width: 20px; height: 20px; flex: none; margin-top: 2px; accent-color: var(--green); }
.doc-ground span { display: grid; gap: .1rem; font-size: .88rem; }
.doc-ground em { font-style: normal; font-size: .76rem; color: var(--muted); }
.doc-sub summary { cursor: pointer; font-weight: 700; color: var(--forest); }
.doc-panel { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 1rem 1.1rem; box-shadow: var(--shadow-sm); display: grid; gap: .8rem; }
.doc-saved { font-size: .75rem; color: var(--muted); margin: 0; }
.doc-state { font-weight: 800; margin: 0 0 .4rem; padding: .5rem .7rem; border-radius: 10px; }
.doc-state-bad { background: #fde7e7; color: var(--red); }
.doc-state-ok { background: #dff5e7; color: #13723c; }
.doc-facts { display: grid; grid-template-columns: 1fr auto; gap: .25rem .7rem; font-size: .85rem; margin: .4rem 0; }
.doc-facts dt { color: var(--muted); }
.doc-facts dd { margin: 0; font-weight: 700; text-align: right; }
.doc-list { list-style: none; padding: 0; margin: .4rem 0 0; display: grid; gap: .4rem; font-size: .84rem; line-height: 1.4; }
.doc-list li { display: flex; gap: .45rem; }
.doc-list li > span { flex: none; width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; font-size: .7rem; font-weight: 800; margin-top: 1px; }
.doc-list.is-error li > span { background: var(--red); color: #fff; }
.doc-list.is-warn li > span { background: var(--gold); color: var(--on-accent); }
.doc-list.is-note li > span { background: var(--bg); color: var(--forest); }
.doc-actions { display: grid; gap: .5rem; }
.doc-actions .is-blocked { opacity: .6; }
.doc-alert { background: #fde7e7; color: var(--red); border-radius: 10px; padding: .55rem .7rem; font-weight: 700; font-size: .85rem; margin: 0; }
.doc-alert.is-ok { background: #dff5e7; color: #13723c; }
.doc-sent { border-top: 1px solid var(--line); padding-top: .7rem; font-size: .85rem; }
.doc-sent p { margin: 0 0 .4rem; }
.doc-sent-row { display: flex; gap: .4rem; flex-wrap: wrap; }
.doc-sent-row input, .doc-sent-row select { font-size: 16px; padding: .45rem .5rem; border: 1px solid var(--line); border-radius: 10px; min-width: 0; flex: 1 1 120px; }
.doc-legal { font-size: .74rem; margin: 0; }
.doc-wala { background: #eef8f6; color: #6b4b00; }
/* Wala's "your document is ready" card in the chat */
.docready-card .offer-cta { display: inline-flex; margin-top: .6rem; }
.doc-quick { margin-top: .9rem; font-size: .85rem; display: flex; flex-wrap: wrap; gap: .35rem .5rem; align-items: center; opacity: 1 !important; }
.doc-quick a { color: var(--white); background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); border-radius: 999px; padding: .2rem .65rem; text-decoration: none; font-weight: 700; }
.doc-make { display: grid; gap: 1rem; background: #eef8f6; border: 1px solid #bfe2dc; border-radius: 18px; padding: 1.1rem 1.2rem; margin-bottom: 1.5rem; }
.doc-make h2 { font-size: 1.25rem; font-weight: 800; margin: 0 0 .3rem; }
.doc-make p { margin: 0; color: var(--ink-2); }
.doc-make-links { display: flex; flex-wrap: wrap; gap: .5rem; align-content: center; }
@media (min-width: 900px) { .doc-make { grid-template-columns: 1.4fr 1fr; align-items: center; } }
.doc-risk { background: #fff4f2; border: 1px solid #f4c7bf; border-left: 6px solid var(--red); border-radius: 16px; padding: 1rem 1.15rem; display: grid; gap: .55rem; }
.doc-risk h2 { font-size: 1.1rem; font-weight: 800; margin: 0; color: #7a1d12; }
.doc-risk p { margin: 0; font-size: .92rem; line-height: 1.5; color: var(--ink); }
.doc-risk-links { display: flex; flex-wrap: wrap; gap: .5rem 1rem; align-items: center; margin-top: .2rem; }
.doc-risk-links a:not(.btn) { color: var(--forest); font-weight: 700; }
.doc-ack-box { border-color: #f4c7bf !important; background: #fffaf9; }
.doc-ack { display: flex !important; gap: .6rem; align-items: flex-start; font-weight: 500 !important; font-size: .9rem; line-height: 1.45; cursor: pointer; }
.doc-ack input { width: 22px; height: 22px; flex: none; margin-top: 2px; accent-color: var(--green); }
.doc-side-help { background: #eef8f6; border: 1px solid #bfe2dc; border-radius: 12px; padding: .7rem .8rem; font-size: .84rem; line-height: 1.45; }
.doc-side-help a { display: block; margin-top: .3rem; font-weight: 800; color: var(--forest); }
.docready-risk { font-size: .82rem; background: rgba(255,255,255,.08); border-radius: 8px; padding: .4rem .55rem; margin-top: .4rem; }
.doc-make-note { margin-top: .5rem !important; font-size: .85rem; }

/* ---------- Homepage V2 (/homepage-v2): "Your first call before the solicitor" ---------- */
.hp2-eyebrow { text-transform: none; letter-spacing: 0; font-weight: 800; }
.hp2-title .line:first-child { font-size: .78em; }
.hp2-under { margin-top: .55rem; font-size: .85rem; color: rgba(255,255,255,.85); font-weight: 600; }
.hp2-ticks { margin-top: 1rem; }
.hp2-legal { font-size: .8rem; opacity: .85; margin-top: .9rem; max-width: 40rem; line-height: 1.45; }
.hp2-legal a, .hp2-tenant a { color: inherit; text-decoration: underline; }
.hp2-tenant { font-size: .78rem; opacity: .75; margin-top: .35rem; max-width: 40rem; }
.hp2-founder-m { display: none; }
@media (max-width: 699px) {
  .hero-hp2.hero-home .hero-copy { display: contents; }
  .hero-hp2.hero-home .hp2-eyebrow { display: inline-flex !important; order: 1; align-self: flex-start; font-size: .78rem; padding: .3rem .7rem; margin: 0; }
  .hero-hp2.hero-home .hp2-title { order: 2; margin: -.4rem 0 0; }
  .hero-hp2.hero-home .hp2-title .line { display: block; }
  .hero-hp2.hero-home .hp2-title .line:nth-child(2)::before { content: none; }
  .hero-hp2.hero-home .hp2-lede { order: 3; margin: -.5rem 0 0; }
  .hero-hp2.hero-home .hp2-more { display: none; }
  .hero-hp2.hero-home .wala-panel { order: 4; }
  .hero-hp2.hero-home .hp2-under { order: 5; margin: -.3rem 0 0; text-align: center; font-size: .78rem; }
  .hero-hp2.hero-home .hp2-ticks { order: 6; margin: 0; }
  .hero-hp2.hero-home .hp2-founder-m { display: flex; order: 7; }
  .hero-hp2.hero-home .hp2-legal { order: 8; margin: 0; font-size: .74rem; }
  .hero-hp2.hero-home .hp2-tenant { order: 9; margin: -.6rem 0 0; font-size: .72rem; }
}
.hp2-proof { background: var(--forest-2, #12364a); color: #fff; border-top: 1px solid rgba(255,255,255,.08); }
.hp2-proof-row { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 1.6rem; padding: .85rem 0; font-size: .86rem; font-weight: 700; }
.hp2-proof-row span { display: inline-flex; align-items: center; gap: .4rem; }
.hp2-proof-row .icon { width: 18px; height: 18px; color: var(--accent-bright); }
@media (max-width: 699px) { .hp2-proof-row { display: grid; grid-template-columns: 1fr 1fr; font-size: .76rem; gap: .5rem .8rem; justify-content: stretch; } }
.hp2-law { background: var(--gold-soft, #e8f5f3); }
.hp2-law p { margin: 0; padding: .75rem 0; font-size: .92rem; text-align: center; }
.hp2-law a { font-weight: 800; color: var(--forest); }
.hp2-help, .hp2-how, .hp2-anchor { padding: 2.6rem 0 1rem; }
.hp2-help .section-title, .hp2-how .section-title, .hp2-anchor .section-title { text-align: center; }
.hp2-help .section-sub { text-align: center; margin-bottom: 1.2rem; }
.gold-ink { color: #0f7c78; }
.hp2-help-grid { display: grid; gap: .8rem; }
@media (min-width: 640px) { .hp2-help-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .hp2-help-grid { grid-template-columns: repeat(3, 1fr); } }
.hp2-steps { list-style: none; padding: 0; margin: 1.2rem 0 0; display: grid; gap: .9rem; counter-reset: s; }
@media (min-width: 900px) { .hp2-steps { grid-template-columns: repeat(3, 1fr); } }
.hp2-steps li { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 1.2rem 1.1rem 1.1rem 4rem; box-shadow: var(--shadow-sm); }
.hp2-steps .step-num { position: absolute; left: 1rem; top: 1.1rem; width: 2.2rem; height: 2.2rem; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--on-accent); font-weight: 900; }
.hp2-steps h3 { font-size: 1.08rem; font-weight: 800; margin: 0 0 .3rem; }
.hp2-steps p { margin: 0; color: var(--ink-2); font-size: .93rem; line-height: 1.45; }
.hp2-steps li:last-child { border-color: var(--accent-bright); background: #eef8f6; }
.hp2-table { max-width: 760px; margin: 1.3rem auto 0; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: var(--white); box-shadow: var(--shadow-sm); }
.hp2-tr { display: grid; grid-template-columns: 1.1fr 1fr 1fr; }
.hp2-tr > span { padding: .75rem .9rem; border-top: 1px solid var(--line); font-size: .92rem; }
.hp2-th > span { border-top: 0; background: var(--forest); color: #fff; font-weight: 800; }
.hp2-tr > span:nth-child(2) { background: #eef8f6; }
.hp2-th > span:nth-child(2) { background: var(--green, #1f8a4c); }
.hp2-tr > span:first-child { color: var(--ink-2); font-weight: 600; }
@media (max-width: 560px) { .hp2-tr > span { padding: .6rem .55rem; font-size: .8rem; } }
.hp2-center { justify-content: center; margin-top: 1.2rem; }
.hp2-trust { margin-top: 2.2rem; }
@media (min-width: 900px) { .hp2-trust-grid { grid-template-columns: repeat(4, 1fr) !important; } }
.topic-hub-collapsed { padding-top: 1.2rem; }
.topic-details > summary { list-style: none; cursor: pointer; }
.topic-details > summary::-webkit-details-marker { display: none; }
.topic-details > summary .section-title { font-size: 1.05rem; color: var(--forest); text-decoration: underline; }
.topic-details > summary .section-title::after { content: " ▾"; }
.topic-details[open] > summary .section-title::after { content: " ▴"; }
.hp2-final { background: var(--forest); color: #fff; padding: 2.6rem 0; margin-top: 2rem; text-align: center; }
.hp2-final h2 { font-size: clamp(1.5rem, 4vw, 2.2rem); font-weight: 900; margin: 0 0 .4rem; }
.hp2-final p { margin: 0; opacity: .9; }
@media (min-width: 700px) {
  .hero-hp2 .hp2-title .line { white-space: normal; }
  .hero-hp2 .hp2-title .line:first-child { font-size: .64em; letter-spacing: -0.03em; }
}
@media (min-width: 1200px) {
  .hero-hp2 .hp2-title { font-size: clamp(3.4rem, 5vw, 5rem); }
  .hero-hp2 .bubble-founder { left: 8%; top: 14%; max-width: 12.5rem; font-size: .9rem; }
}
.hp2-plans { padding: 2.6rem 0 1rem; }
.hp2-plans .section-title, .hp2-plans .section-sub { text-align: center; }
.hp2-plans .section-sub { margin-bottom: 1.2rem; }
.hp2-plans .plan h3 { font-size: 1.2rem; font-weight: 800; margin: 0; }
@media (min-width: 1000px) { .hp2-plans-grid { grid-template-columns: repeat(4, 1fr) !important; } }
.hp2-plans-more { text-align: center; margin-top: 1rem; font-size: .9rem; color: var(--ink-2); }
.hp2-plans-more a { font-weight: 800; color: var(--forest); }
.hp2-under a { color: var(--accent-bright); font-weight: 800; }

@media (min-width: 1200px) and (max-width: 1299px) { .main-nav .nav-tenancy { display: none; } }
.doc-paywall { background: #eef8f6; border: 1px solid #bfe2dc; border-radius: 14px; padding: .85rem .9rem; display: grid; gap: .55rem; font-size: .88rem; }
.doc-paywall p { margin: 0; }
.doc-paywall.is-flash { border-color: var(--accent-bright); box-shadow: 0 0 0 3px rgba(15, 124, 120,.35); }
.free-left { background: #eef8f6; border: 1px solid #bfe2dc; display: grid; gap: .5rem; }
.free-left p { margin: 0; }

/* ---------- Risk checks (decision trees) ---------- */
.rc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1rem; margin-top: 1rem; }
.rc-layout { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 1.25rem; align-items: start; margin: 1.25rem 0 2rem; }
.rc-tree { min-width: 0; background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 1.1rem; box-shadow: var(--shadow-sm); min-height: 260px; }
.rc-path { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: .35rem; }
.rc-back { width: 100%; display: flex; justify-content: space-between; gap: .75rem; text-align: left; background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: .45rem .7rem; font-size: .82rem; color: var(--ink-2); cursor: pointer; }
.rc-back strong { color: var(--forest); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 45%; }
.rc-back:hover { border-color: var(--accent-bright); }
.rc-step { font-size: .78rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--green); margin: 0 0 .25rem; }
.rc-q h2 { font-size: 1.25rem; margin: 0 0 .4rem; }
.rc-opts { display: grid; gap: .5rem; margin-top: .8rem; }
.rc-opt { text-align: left; background: var(--white); border: 2px solid var(--line); border-radius: 12px; padding: .75rem .9rem; font-weight: 700; font-size: .95rem; color: var(--ink); cursor: pointer; transition: border-color .15s, background .15s; }
.rc-opt:hover, .rc-opt:focus-visible { border-color: var(--accent-bright); background: #eef8f6; }
.rc-done h2 { color: var(--forest); }
.rc-result { position: sticky; top: 90px; background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 1rem; box-shadow: var(--shadow-sm); }
.rc-result h2 { font-size: 1.05rem; margin: 0 0 .6rem; }
.rc-group { border-radius: 12px; padding: .6rem .75rem; margin-bottom: .55rem; font-size: .86rem; }
.rc-group h3 { font-size: .85rem; margin: 0 0 .3rem; }
.rc-group ul { margin: 0; padding-left: 1.1rem; display: grid; gap: .25rem; }
.rc-group.is-risk { background: #fdecec; border: 1px solid #f3c2c2; }
.rc-group.is-missing { background: #eef8f6; border: 1px solid #bfe2dc; }
.rc-group.is-ok { background: #eaf7ef; border: 1px solid #bfe5cd; }
.rc-group.is-docs { background: #eef3fb; border: 1px solid #c9d8f0; }
.rc-group.is-next { background: var(--bg); border: 1px solid var(--line); }
.rc-actions { display: grid; gap: .5rem; margin-top: .8rem; }
.rc-eight { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: .75rem; margin: .5rem 0 2rem; }
.rc-eight-item { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: .85rem; }
.rc-eight-item h3 { font-size: .95rem; margin: 0 0 .35rem; color: var(--forest); }
.rc-eight-item p { margin: 0; font-size: .88rem; color: var(--ink-2); }
.rc-two { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.rc-list { padding-left: 1.2rem; display: grid; gap: .35rem; font-size: .92rem; }
.rc-warn li::marker { content: "⚠️ "; }
.rc-pros { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: .75rem; margin-bottom: 2rem; }
.rc-pro { background: var(--bg); border: 1px solid var(--line); border-radius: 14px; padding: .85rem; }
.rc-pro h3 { font-size: .95rem; margin: 0 0 .35rem; }
.rc-pro ul { margin: 0; padding-left: 1.1rem; font-size: .88rem; display: grid; gap: .3rem; }
.rc-cta { display: flex; gap: 1.25rem; align-items: center; justify-content: space-between; background: var(--forest); color: var(--white); border-radius: 18px; padding: 1.2rem 1.3rem; margin: 0 0 2rem; }
.rc-cta h2 { color: var(--white); font-size: 1.2rem; margin: 0 0 .3rem; }
.rc-cta p { margin: 0; color: rgba(255,255,255,.85); font-size: .92rem; }
.rc-cta-btns { display: grid; gap: .5rem; flex-shrink: 0; }
.rc-cta .btn-outline-dark { color: var(--white); border-color: rgba(255,255,255,.5); }
.rc-sources-wrap { overflow-x: auto; }
.rc-sources { width: 100%; border-collapse: collapse; font-size: .85rem; }
.rc-sources th, .rc-sources td { text-align: left; padding: .5rem .6rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.rc-sources th { font-size: .78rem; text-transform: uppercase; letter-spacing: .03em; color: var(--muted); }
@media (max-width: 899px) {
  .rc-layout, .rc-two { grid-template-columns: minmax(0, 1fr); }
  .rc-tree, .rc-result { min-width: 0; }
  .rc-back { flex-direction: column; gap: .15rem; }
  .rc-back strong { white-space: normal; max-width: none; }
  .rc-result { position: static; }
  .rc-cta { flex-direction: column; align-items: stretch; }
}
@media print {
  .rc-page .rc-tree, .rc-page .rc-actions, .rc-page .rc-cta, .rc-page .callout { display: none !important; }
  .rc-layout { display: block; }
  .rc-result { position: static; box-shadow: none; border: 0; }
}

/* ---------- Buy page ---------- */
.buy-page { padding-top: 1.5rem; padding-bottom: 3rem; max-width: 980px; }
.buy-summary { display: flex; justify-content: space-between; align-items: baseline; gap: .5rem; background: #eef8f6; border: 1px solid #bfe2dc; border-radius: 12px; padding: .6rem .8rem; font-size: .95rem; }
.buy-summary a { font-size: .82rem; color: var(--forest); }
.buy-head h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: .2rem 0 .3rem; }
.buy-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.25rem; margin-top: 1.2rem; align-items: start; }
.buy-plans { display: grid; gap: .6rem; }
.buy-plan { display: grid; gap: .2rem; background: var(--white); border: 2px solid var(--line); border-radius: 14px; padding: .8rem .9rem .8rem 2.4rem; position: relative; cursor: pointer; }
.buy-plan input { position: absolute; left: .9rem; top: 1rem; accent-color: var(--forest); }
.buy-plan.is-on { border-color: var(--accent-bright); background: #eef8f6; }
.buy-plan-main { display: flex; justify-content: space-between; gap: .5rem; font-size: 1rem; }
.buy-plan-price { font-weight: 800; color: var(--forest); }
.buy-plan-sub { font-size: .82rem; color: var(--ink-2); }
.buy-box { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 1.1rem; box-shadow: var(--shadow-sm); display: grid; gap: .7rem; }
.buy-step { display: grid; gap: .6rem; }
.buy-step h2 { font-size: 1.1rem; margin: 0; }
.buy-step label { display: grid; gap: .25rem; font-size: .85rem; font-weight: 700; }
.buy-step input:not([type=checkbox]) { font: inherit; font-weight: 400; padding: .7rem .8rem; border: 1px solid #cfd8d4; border-radius: 10px; width: 100%; }
.buy-step input[name="code"] { font-size: 1.4rem; letter-spacing: .3em; text-align: center; }
.buy-two { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.buy-tick { display: flex !important; gap: .5rem; align-items: flex-start; font-size: .78rem !important; font-weight: 400 !important; line-height: 1.35; color: var(--ink-2); }
.buy-tick input { margin-top: .15rem; flex: none; }
.buy-err { margin: 0; color: var(--red); font-weight: 700; font-size: .88rem; }
.buy-methods { margin: 0; text-align: center; font-size: .82rem; color: var(--ink-2); }
.buy-signed { margin: 0; font-size: .95rem; }
.linklike { background: none; border: 0; padding: 0; color: var(--forest); text-decoration: underline; font: inherit; cursor: pointer; }
@media (max-width: 799px) { .buy-grid { grid-template-columns: minmax(0, 1fr); } .buy-box { order: -1; } .buy-two { grid-template-columns: minmax(0, 1fr); } }
@media (min-width: 800px) { .buy-summary a { display: none; } }

/* ---------- Never wider than the screen (site-wide safety net, from the pre-launch check) ---------- */
.guide-layout > *, .doc-layout > *, .rc-layout > *, .buy-grid > *, .plans-grid > * { min-width: 0; }
.prose a, .rra-sources a, .guide-sources a, .result-card a { overflow-wrap: anywhere; }
.prose, .result-card, .rra-body { overflow-wrap: break-word; }
.prose table { display: block; max-width: 100%; overflow-x: auto; }
/* Risk-check sources: a stacked list on phones instead of a wide table */
@media (max-width: 699px) {
  .rc-sources thead { display: none; }
  .rc-sources, .rc-sources tbody, .rc-sources tr, .rc-sources td { display: block; width: 100%; }
  .rc-sources tr { border-bottom: 1px solid var(--line); padding: .55rem 0; }
  .rc-sources td { border: 0; padding: .1rem 0; }
  .rc-sources td:first-child { font-weight: 700; }
  .rc-sources td:nth-child(2)::before { content: "Where: "; color: var(--muted); }
  .rc-sources td:nth-child(3)::before { content: "Status: "; color: var(--muted); }
  .rc-sources td:nth-child(4)::before { content: "In force from: "; color: var(--muted); }
  .rc-sources td:nth-child(5)::before { content: "Checked: "; color: var(--muted); }
}

/* ---------- Readable text everywhere (pre-launch contrast check) ---------- */
/* Buttons and notes designed for dark sections, used on white pages */
.page-body .btn-ghost, .ask-chip { background: var(--white); color: var(--forest); border-color: #c9d6d0; }
.page-body .btn-ghost:hover, .ask-chip:hover { background: #eef8f6; border-color: var(--accent-bright); }
.page-body .expert-small { color: var(--ink-2); }
/* Gold text only on dark backgrounds; on white it becomes a deep gold that's easy to read */
.buy-head .result-kicker, .page-body > .result-kicker { color: #0b5f5b; }
.expert-call a { color: #0b5f5b; }
.gold-ink { color: #0f7c78; }
.rc-step { color: #1a7f45; }
.flow-node.is-end .flow-num, .status-pill { background: #1a7f45; }
.hero-hp2, .hero-home { overflow-x: clip; }
.result-aside > *, [class*="-aside"] > * { min-width: 0; }
.note-card .btn, .acct-card .btn-block { white-space: normal; }

/* ---------- Flow diagrams: walk-through (pages + chat) ---------- */
.diagram-walk { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 1rem; margin: 0 0 1.25rem; box-shadow: var(--shadow-sm); }
.fw-path { list-style: none; margin: 0 0 .8rem; padding: 0; display: grid; gap: .35rem; }
.fw-back { width: 100%; display: flex; justify-content: space-between; gap: .6rem; text-align: left; background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: .45rem .65rem; font: inherit; font-size: .8rem; color: var(--ink-2); cursor: pointer; }
.fw-back strong { color: #1a7f45; flex: none; }
.fw-back strong.is-warn { color: #b42318; }
.fw-card { border: 2px solid var(--line); border-radius: 14px; padding: .9rem; background: var(--white); color: var(--ink); }
.fw-card.is-decision { border-color: #bfe2dc; background: #eef8f6; }
.fw-card h3 { margin: .1rem 0 .35rem; font-size: 1.05rem; color: var(--ink); }
.fw-card p { margin: 0 0 .6rem; font-size: .9rem; color: var(--ink-2); }
.fw-count { font-size: .75rem !important; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: #1a7f45 !important; margin: 0 !important; }
.fw-opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: .5rem; }
.fw-opt { font: inherit; font-weight: 800; padding: .75rem; border-radius: 12px; border: 2px solid var(--forest); background: var(--white); color: var(--forest); cursor: pointer; }
.fw-opt:hover { background: #eef6f1; }
.fw-end { display: grid; gap: .5rem; justify-items: start; }
.fw-end.is-warn { border-color: #f3c2c2; background: #fdecec; }
/* Diagram viewer inside the Wala chat */
.dg-head-btn { position: relative; background: rgba(255,255,255,.12); color: var(--white); border: 1px solid rgba(255,255,255,.3); border-radius: 999px; padding: .3rem .6rem; font-size: 1rem; cursor: pointer; }
.dg-n { position: absolute; top: -6px; right: -6px; background: var(--gold); color: var(--on-accent); font-size: .65rem; font-weight: 800; border-radius: 999px; min-width: 16px; height: 16px; display: grid; place-items: center; }
.dg-view { position: absolute; inset: 0; z-index: 30; background: var(--bg, #f3f8f8); color: var(--ink); display: flex; flex-direction: column; }
.dg-view[hidden] { display: none; }
.dg-bar { display: flex; align-items: center; justify-content: space-between; gap: .6rem; padding: .7rem .9rem; background: var(--forest); color: var(--white); }
.dg-bar b { font-size: .95rem; line-height: 1.25; }
.dg-tabs { display: flex; gap: .4rem; padding: .55rem .9rem; background: var(--white); border-bottom: 1px solid var(--line); align-items: center; }
.dg-tabs[hidden] { display: none; }
.dg-tabs button { font: inherit; font-size: .85rem; font-weight: 700; border: 1px solid var(--line); background: var(--white); color: var(--forest); border-radius: 999px; padding: .4rem .75rem; cursor: pointer; }
.dg-tabs button.is-on { background: var(--forest); color: var(--white); border-color: var(--forest); }
.dg-tabs a { margin-left: auto; font-size: .82rem; color: var(--forest); }
.dg-body { flex: 1; overflow-y: auto; padding: .9rem; -webkit-overflow-scrolling: touch; }
.dg-body .flow { margin: 0; }
.dg-list { display: grid; gap: .5rem; }
.dg-item { text-align: left; font: inherit; font-weight: 700; padding: .8rem; border-radius: 12px; border: 1px solid var(--line); background: var(--white); color: var(--forest); cursor: pointer; }
.dg-item small { display: block; font-weight: 400; color: var(--ink-2); }
.msg-diagram.is-compact { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem; }
.msg-diagram.is-compact p { margin: 0; }
/* Chat: slimmer sales cards and a readable free-messages line */
.free-left { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .4rem .6rem; background: #eef8f6; color: var(--ink); border: 1px solid #bfe2dc; border-radius: 12px; padding: .5rem .7rem; font-size: .82rem; margin: .4rem 0; max-width: 100%; }
.free-left strong { color: var(--ink); }
.free-left-btn { font: inherit; font-weight: 800; font-size: .8rem; background: var(--gold); color: var(--on-accent); border: 0; border-radius: 999px; padding: .35rem .75rem; cursor: pointer; }
@media (max-width: 899px) {
  .offer-card:not(.is-open):not(.is-done):not(.is-dismissed):not(.docready-card) { padding: .65rem .8rem; }
  .offer-card:not(.is-open):not(.is-done):not(.is-dismissed):not(.docready-card) .offer-pitch, .offer-card:not(.is-open):not(.is-done):not(.is-dismissed):not(.docready-card) .offer-kicker { display: none; }
  .offer-card:not(.is-open):not(.is-done):not(.is-dismissed):not(.docready-card) .offer-headline { font-size: .92rem; margin: 0 0 .45rem; }
  .offer-card:not(.is-open):not(.is-done):not(.is-dismissed):not(.docready-card) .offer-open { padding: .5rem .8rem; font-size: .88rem; }
  .offer-card:not(.is-open):not(.is-done):not(.is-dismissed):not(.docready-card) .offer-dismiss { margin-top: .2rem; }
  .signup-card ul { display: none; }
}

/* Question carousel + "See all questions" (homepage Wala panel) */
.q-carousel .samples li[hidden] { display: none; }
.q-carousel [data-samples] li .sample { border-top: 0; }
.q-carousel [data-samples] li:not([hidden]) ~ li:not([hidden]) .sample { border-top: 1px solid var(--line); border-radius: 0; }
.q-carousel .samples { min-height: calc(4 * 48px + .7rem); align-content: start; }
@media (max-width: 699px) { .q-carousel [data-samples] { min-height: calc(3 * 42px + .7rem); } }
.q-nav { display: flex; align-items: center; gap: .4rem; margin-top: .5rem; flex-wrap: wrap; }
.q-arrow { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,.55); background: transparent; color: #fff; font-size: 1.5rem; line-height: 1; padding: 0 0 3px; display: grid; place-items: center; }
.q-dots { font-size: .8rem; font-weight: 600; min-width: 3.2em; text-align: center; }
.q-all-btn { margin-left: auto; }
.q-all-btn { background: var(--white); color: var(--ink); border: 0; border-radius: 999px; padding: .5rem .9rem; font-weight: 600; font-size: .85rem; min-height: 36px; }
.q-free { font-size: .8rem; margin: .45rem 0 0; text-align: center; opacity: .95; }
.q-all { margin-top: .6rem; max-height: 70vh; overflow-y: auto; background: var(--white); color: var(--ink); border-radius: var(--radius); padding: .4rem .6rem .8rem; }
.q-all h3 { font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-2); margin: .8rem .4rem .2rem; }
.q-all .samples { margin-top: 0; padding: 0; min-height: 0; }
/* Walk-through: ask about one step + free label */
.fw-free { display: inline-block; font-size: .72rem; font-weight: 700; color: #1a7f45; background: #e6f4f2; border-radius: 999px; padding: .1rem .55rem; margin-left: .4rem; }
.fw-askstep { display: block; margin-top: .7rem; background: none; border: 0; padding: 0; color: var(--ink); text-decoration: underline; font-size: .88rem; font-weight: 600; }
.nation-chips { margin: .2rem 0 .6rem; }
.fw-askhint { font-size: .8rem; margin: .4rem 0 0; color: var(--ink-2); }
.diagram-hint { padding: 0; background: none; margin: -.2rem 0 .5rem; }
.diagram-hint button { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.35); color: #fff; border-radius: 12px; padding: .5rem .75rem; text-align: left; font-size: .86rem; line-height: 1.35; width: 100%; }
.diagram-hint strong { color: #0f7c78; text-decoration: underline; }
.diagram-hint small { opacity: .9; }

/* Desktop question band under the homepage hero */
.q-strip { display: none; }
@media (min-width: 900px) {
  .q-strip { display: block; background: var(--cream, #f3f8f8); padding: 2.2rem 0 2rem; border-bottom: 1px solid var(--line); overflow: hidden; }
  .qs-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; margin-bottom: 1.1rem; }
  .qs-head h2 { margin: 0 0 .25rem; font-size: 1.6rem; }
  .qs-head p { margin: 0; color: var(--ink-2); }
  .qs-rows { display: grid; gap: .8rem; }
  .qs-row { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
  .qs-track, .qs-dup { display: flex; gap: .8rem; width: max-content; }
  .qs-track { animation: qs-scroll 150s linear infinite; }
  .qs-row.is-reverse .qs-track { animation-direction: reverse; }
  .qs-rows:hover .qs-track, .qs-rows:focus-within .qs-track { animation-play-state: paused; }
  @keyframes qs-scroll { from { transform: translateX(0); } to { transform: translateX(calc(-50% - .4rem)); } }
  .qs-card { display: flex; align-items: center; gap: .6rem; width: 330px; flex: none; text-align: left; background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 14px; padding: .75rem .9rem; box-shadow: 0 2px 8px rgba(11,61,46,.06); cursor: pointer; transition: transform .15s, box-shadow .15s, border-color .15s; }
  .qs-card:hover, .qs-card:focus-visible { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(11,61,46,.12); border-color: #1a7f45; }
  .qs-text { flex: 1; font-weight: 600; font-size: .93rem; line-height: 1.3; }
  .qs-tag { flex: none; font-size: .72rem; font-weight: 700; color: #1a7f45; background: #e6f4f2; border-radius: 999px; padding: .15rem .5rem; align-self: flex-start; }
  .qs-all { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 1.2rem 1rem; }
  .qs-all[hidden], .qs-rows[hidden] { display: none; }
  .qs-group h3 { font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-2); margin: 0 0 .5rem; }
  .qs-group .qs-card { width: 100%; margin-bottom: .5rem; }
}
@media (min-width: 900px) and (prefers-reduced-motion: reduce) {
  .qs-track { animation: none; }
  .qs-row { overflow-x: auto; }
}
/* Small upgrade card in the chat (one per conversation) */
.upgrade-card { background: rgba(255,255,255,.1); border: 1px solid rgba(15, 124, 120,.55); border-radius: 12px; padding: .6rem .75rem; margin: .2rem 0 .6rem; color: #fff; }
.upgrade-card p { margin: 0 0 .45rem; font-size: .86rem; line-height: 1.4; }
.upgrade-card strong { color: #0f7c78; }
.topup-sofar { font-size: .82rem; margin: -.2rem 0 .4rem; opacity: .9; }
.topup-adds { list-style: none; padding: 0; margin: 0 0 .6rem; font-size: .86rem; line-height: 1.45; }
.topup-adds li { margin: .15rem 0; }
.fw-pass { font-size: .82rem; margin: .6rem 0 0; color: var(--ink-2); } .fw-pass a { color: #1a7f45; font-weight: 600; }
@media (max-width: 899px) { .signup-card ul.topup-adds { display: block; margin: 0 0 .5rem; font-size: .82rem; } }
.signup-card ul.topup-adds { list-style: none; margin-left: 0; padding-left: 0; }
/* Homepage: free vs Wala Pass — three things the Pass builds */
.hp2-builds { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin: 1.2rem 0 1.6rem; }
.hp2-build { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 1rem 1.1rem; min-width: 0; }
.hp2-build h3 { font-size: 1.02rem; margin: .35rem 0 .3rem; }
.hp2-build p { margin: 0; color: var(--ink-2); font-size: .92rem; line-height: 1.45; }
.hp2-build-ico { font-size: 1.5rem; }
@media (max-width: 760px) { .hp2-builds { grid-template-columns: 1fr; gap: .6rem; } .hp2-build { padding: .8rem .9rem; } }
.fw-passcard { margin-top: .8rem; padding: .7rem .8rem; border: 1px solid #0f7c78; border-radius: 12px; background: #eef8f6; } .fw-passcard p { margin: 0 0 .5rem; font-size: .86rem; color: var(--ink); line-height: 1.4; }

/* =========================================================
   Teal theme (Nov 2026): light hero, navy headings, teal buttons, mint panels, soft borders.
   The rest of the palette comes from the :root tokens above.
   ========================================================= */
.gold { color: var(--gold); }
.brand-light .gold, .page-hero .gold, .result-hero .gold, .expert .gold, .hp2-final .gold { color: var(--accent-bright); }
.brand-name, .brand-name .gold, .brand-tld { color: var(--ink); }
.brand-light .brand-name, .brand-light .brand-tld { color: var(--white); }
.brand-light .brand-name .gold { color: var(--accent-bright); }
.site-header { background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); }
.btn-gold { background: linear-gradient(180deg, #12898a 0%, #0d7470 100%); box-shadow: 0 6px 18px rgba(15, 124, 120, .25); }
.btn-gold:hover { background: var(--gold-2); }
.btn-outline-dark { border-color: #c9d6db; color: var(--ink); }
.btn-outline-dark:hover { border-color: var(--gold); color: var(--gold-2); }

/* Cards: hairline borders and soft shadows, like the mock-up */
.lc-card, .plan, .hp2-steps li, .hp2-table, .hp2-build, .service-card, .guide-card, .doc-card, .lc-step { border-color: var(--line); box-shadow: 0 1px 2px rgba(13,27,46,.04), 0 4px 14px rgba(13,27,46,.05); }
.hp2-steps li:last-child { border-color: #bfe2dc; background: var(--mint-bg); }
.hp2-th > span { background: var(--forest); }
.hp2-th > span:nth-child(2) { background: var(--gold); }
.hp2-law { background: var(--mint-bg); }
.hp2-law a { color: var(--gold-2); }
.section-title { color: var(--ink); }

/* Home hero: light, navy headline, teal accents */
.hero { background: linear-gradient(180deg, #f5faf9 0%, #eef7f5 100%); color: var(--ink); }
.hero-bg img { opacity: .18; filter: saturate(.4); }
.hero-bg::after { background: linear-gradient(180deg, rgba(245,250,249,.75), rgba(238,247,245,.92)); }
.hero .eyebrow { border: 0; background: #dcefeb; color: var(--gold-2); }
.hero .hero-title { color: var(--ink); }
.hero .hero-title .gold, .hero-hp2.hero-home .hp2-title .line.gold { color: var(--ink); position: relative; display: block; width: fit-content; }
.hero .hero-title .gold::after { content: ""; position: absolute; right: .25em; bottom: -.12em; width: 2.6em; height: .14em; border-radius: 50%; border-bottom: .07em solid var(--gold); transform: rotate(-3deg); }
.hero .hero-lede, .hero .hp2-under { color: var(--ink-2); }
.hero .hp2-under a { color: var(--gold); }
.hero .hp2-legal, .hero .hp2-tenant { color: var(--ink-2); opacity: 1; }
.hero .btn-ghost { background: var(--white); border-color: #c9d6db; color: var(--ink); }
.hero .btn-ghost:hover { background: var(--mint-bg); border-color: var(--gold); }
.hero .btn-ghost .icon { color: var(--gold); }
.hero .ticks .icon { background: var(--gold); }
@media (max-width: 699px) {
  .hero-home .ticks li { background: var(--white); border-color: var(--line); color: var(--ink); }
  .hero-home .ticks li .icon { color: var(--white); background: var(--gold); }
  .hero-home .ticks li:last-child { background: var(--mint-bg); color: var(--ink); }
}
.hero .hv2-founder { background: var(--mint-bg); border-radius: 18px; padding: .7rem; align-items: center; }
.hero .hv2-founder img { border: 0; border-radius: 50%; width: 72px; height: 72px; box-shadow: none; object-position: center 15%; }
.hero .hv2-founder blockquote { background: none; color: var(--ink); padding: 0 0 0 .8rem; margin: 0; border-left: 1px solid #c9d6db; border-radius: 0; }
.hero .hv2-founder blockquote::before { display: none; }
.hero .hv2-founder blockquote p { font-style: italic; font-weight: 500; }
.hero .bubble-gold { background: var(--white); color: var(--ink); border: 1px solid var(--line); }
.hero .hero-mascot { filter: drop-shadow(0 10px 20px rgba(13,27,46,.18)); }

/* The Wala card in the hero: white, hairline border */
.hero .wala-panel { background: var(--white); border: 1px solid var(--line); box-shadow: 0 2px 6px rgba(13,27,46,.05), 0 16px 40px rgba(13,27,46,.08); color: var(--ink); }
.hero .wala-avatar { background: var(--mint-bg); }
.hero .wala-title { color: var(--ink); }
.hero .wala-sub { color: var(--muted); }
.hero .wala-bubble { background: var(--mint-bg); color: var(--ink); }
.hero .wala-bubble::before { border-bottom-color: var(--mint-bg); }
.hero .wala-bubble:hover { background: #dcefeb; }
.hero .hero-wala .wala-bubble { background: var(--white); border: 1px solid var(--line); }
.hero .hero-wala .wala-bubble::before { border-right-color: var(--white); }
.hero .wave span { background: var(--gold); opacity: .55; }
.hero .wala-side { color: var(--ink); }
.hero .wala-side-icon { background: var(--mint-bg); border-color: #cfe7e2; color: var(--gold-2); }
.hero .wala-side:hover .wala-side-icon { background: #dcefeb; }
.hero .mic-btn { background: radial-gradient(circle at 35% 30%, #2bb3a8, #0d7470 75%); color: var(--white); box-shadow: 0 0 0 8px rgba(15,124,120,.12), 0 10px 26px rgba(13,27,46,.18); }
.hero .mic-ring { border-color: rgba(15,124,120,.35); }
.hero .mic-caption { color: var(--ink); }
.hero .samples { border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(13,27,46,.04); }
.hero .wala-hear, .hero .hero-hear { color: var(--ink); background: var(--white); border-color: var(--line); }
.hero .q-arrow { border-color: #c9d6db; color: var(--ink); background: var(--white); }
.hero .q-arrow:hover { border-color: var(--gold); color: var(--gold-2); }
.hero .q-all-btn { border: 1px solid #c9d6db; }
.hero .q-dots, .hero .q-free { color: var(--ink-2); }

/* Question carousel: make the example questions stand out (Nov 2026) */
.hero .q-carousel .samples, .hero .wala-panel > .samples { background: none; border: 0; box-shadow: none; padding: 0; gap: .45rem; }
.hero .q-carousel [data-samples] li .sample,
.hero .q-carousel [data-samples] li:not([hidden]) ~ li:not([hidden]) .sample,
.hero .wala-panel > .samples li .sample { background: var(--mint-bg); border: 1px solid #cfe7e2; border-left: 4px solid var(--gold); border-radius: 12px; font-weight: 600; box-shadow: 0 1px 2px rgba(13,27,46,.05); transition: transform .15s, box-shadow .15s, background .15s; }
.hero .samples li .sample:hover, .hero .samples li .sample:focus-visible { background: #dcefeb; transform: translateY(-1px); box-shadow: 0 6px 16px rgba(15,124,120,.15); }
.hero .samples .sample-arrow { display: grid; place-items: center; width: 28px; height: 28px; flex: none; border-radius: 50%; background: var(--gold); color: var(--white); }
.hero .samples .sample-arrow .icon { width: 15px; height: 15px; }
.hero .q-carousel .samples { min-height: calc(4 * 52px + 1.4rem); }
@media (max-width: 699px) { .hero .q-carousel [data-samples] { min-height: calc(3 * 46px + 1rem); } }
.hero .q-all-btn { background: var(--gold); color: var(--white); border: 0; font-weight: 800; box-shadow: 0 4px 12px rgba(15,124,120,.25); }
.hero .q-all-btn:hover { background: var(--gold-2); }
.hero .q-arrow { border-color: var(--gold); color: var(--gold-2); }
@keyframes q-glow { 0%, 100% { box-shadow: 0 1px 2px rgba(13,27,46,.05); } 50% { box-shadow: 0 0 0 4px rgba(15,124,120,.18); } }
.hero .samples li:not([hidden]) .sample { animation: q-glow 2.4s ease-in-out 2; }
@media (prefers-reduced-motion: reduce) { .hero .samples li .sample { animation: none; } }

@media (min-width: 700px) {
  .q-strip { background: linear-gradient(180deg, var(--mint-bg), #f5faf9); border-top: 1px solid #cfe7e2; border-bottom: 1px solid #cfe7e2; padding: 2rem 0 2.2rem; }
  .qs-head h2 { color: var(--ink); }
  .qs-card { border-left: 4px solid var(--gold); box-shadow: 0 2px 8px rgba(13,27,46,.06); }
  .qs-card:hover, .qs-card:focus-visible { border-color: var(--gold); box-shadow: 0 10px 24px rgba(15,124,120,.18); }
  .qs-tag { color: var(--gold-2); background: #dcefeb; }
  .q-strip [data-qs-all] { background: var(--gold); color: var(--white); border-color: var(--gold); }
  .q-strip [data-qs-all]:hover { background: var(--gold-2); }
}
/* Wala logo (raster, transparent): no circle behind it */
.wala-avatar { background: none !important; padding: 0 !important; object-fit: contain; }
.brand-mark { object-fit: contain; }
/* Chat: a clear way back to the home page */
.sheet-home { flex: none; display: inline-flex; flex-direction: column; align-items: center; gap: 1px; border: 0; background: rgba(255,255,255,.08); color: var(--white); border-radius: 10px; padding: .3rem .45rem; font: inherit; font-size: .62rem; font-weight: 700; line-height: 1; cursor: pointer; }
.sheet-home .icon { width: 18px; height: 18px; }
.sheet-home:hover, .sheet-home:focus-visible { background: rgba(255,255,255,.18); }

/* Phones: keep the carousel arrows and "See all" on the first screen (Nov 2026) */
@media (max-width: 699px) {
  .hero-home .hero-grid { padding-top: .7rem; gap: .9rem; }
  .hero-hp2.hero-home .hp2-eyebrow { font-size: .9rem; padding: .38rem .85rem; margin: 0 0 .1rem; }
  .hero-hp2.hero-home .hp2-title { margin-top: -.2rem; }
  .hero-v2 .wala-panel { padding: .8rem .8rem .7rem; }
  .hero-v2 .wala-bubble { margin: .45rem 0 0; }
  .hero-v2 .wave { display: none; }
  .hero-v2 .wala-controls { margin-top: .45rem; }
  .hero-v2 .mic-btn { width: 70px; height: 70px; }
  .hero-v2 .mic-btn .icon { width: 30px; height: 30px; }
  .hero-v2 .mic-ring { inset: -7px; }
  .hero-v2 .wala-side-icon { width: 40px; height: 40px; }
  .hero-v2 .mic-caption { margin-top: .25rem; font-size: .82rem; }
  .hero-v2 .samples { margin-top: .55rem; }
  /* every question row is the same height (up to two lines), so the arrows below never move */
  .hero .q-carousel [data-samples] { min-height: 0; height: calc(3 * 50px + 2 * .4rem); gap: .4rem; }
  .hero .q-carousel [data-samples] li .sample, .hero .q-carousel [data-samples] li:not([hidden]) ~ li:not([hidden]) .sample { height: 50px; min-height: 0; padding: .3rem .5rem; font-size: .84rem; line-height: 1.22; }
  .hero .q-carousel .sample-text { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .hero .q-carousel .sample-icon { width: 28px; height: 28px; }
  .hero .samples .sample-arrow { width: 26px; height: 26px; }
  .hero .q-nav { margin-top: .45rem; }
  .hero .q-arrow { width: 34px; height: 34px; }
  .hero .q-all-btn { min-height: 34px; padding: .4rem .85rem; }
}
@media (max-width: 699px) {
  .hero-home .hero-grid { gap: .7rem; }
  .hero-hp2.hero-home .hp2-lede { margin-top: -.3rem; }
  .hero-v2 .wala-head { gap: .6rem; }
  .hero-v2 .wala-avatar { width: 42px; height: 42px; }
  .hero-v2 .wala-sub { font-size: .76rem; line-height: 1.3; }
  /* "Tap to hear me" sits on the corner of the greeting bubble instead of taking its own line */
  .hero-v2 .wala-bubble { padding-right: 6.6rem; height: calc(2 * 1.32em + 1rem); line-height: 1.32; }
  .hero-v2 .wala-panel .wala-hear { position: relative; z-index: 1; display: flex; width: fit-content; margin: -2.35rem .45rem .55rem auto; padding: .2rem .55rem; font-size: .72rem; }
  .hero-v2 .wala-panel .wala-hear[hidden] { display: none; }
  .hero-v2 .wala-hear[hidden] + .wave + .wala-controls { margin-top: .45rem; }
  .hero-v2 .mic-btn { width: 64px; height: 64px; }
  .hero-v2 .mic-btn .icon { width: 28px; height: 28px; }
  .hero-v2 .wala-side { font-size: .78rem; gap: .2rem; }
  .hero-v2 .wala-side-icon { width: 38px; height: 38px; }
  .hero-v2 .wala-controls { margin-top: .2rem; }
}
@media (max-width: 699px) {
  .hero-home .hero-grid { padding-top: .55rem; }
  .hero-v2 .wala-controls { margin-top: .5rem; }
  .hero .q-carousel [data-samples] { height: calc(3 * 46px + 2 * .35rem); gap: .35rem; }
  .hero .q-carousel [data-samples] li .sample, .hero .q-carousel [data-samples] li:not([hidden]) ~ li:not([hidden]) .sample { height: 46px; font-size: .82rem; line-height: 1.2; }
  .hero-home .hero-title { font-size: clamp(1.6rem, 7vw, 2.3rem); }
}
/* Phones: the chat header keeps "Wala AI" and its status on one line each (Home button added Nov 2026) */
@media (max-width: 480px) {
  .sheet-head { gap: .35rem; padding-left: .6rem; padding-right: .6rem; }
  .sheet-head .wala-avatar.sm { display: none; }
  .sheet-head-text { min-width: 0; }
  .sheet-head h2 { white-space: nowrap; }
  .sheet-head .sheet-status { max-width: none; }
  .sheet-head .icon-btn { width: 36px; height: 36px; border-radius: 10px; }
  .sheet-head .save-head { padding: .32rem .55rem; font-size: .74rem; }
  .sheet-head .dg-head-btn { padding: .25rem .45rem; font-size: .9rem; }
  .sheet-head .ts-btn { padding: .28rem .45rem; }
  .sheet-head .voice-toggle { padding: .3rem .5rem; }
  .sheet-home { padding: .28rem .4rem; }
}
@media (max-width: 380px) {
  .sheet-head { gap: .25rem; padding-left: .45rem; padding-right: .45rem; }
  .sheet-head h2 { font-size: .92rem; }
  .sheet-head .save-head { padding: .3rem .45rem; font-size: .68rem; }
  .sheet-head .ts-btn, .sheet-head .voice-toggle, .sheet-head .dg-head-btn { padding-left: .38rem; padding-right: .38rem; }
  .sheet-head .icon-btn { width: 32px; }
  .sheet-home { padding: .26rem .32rem; font-size: .58rem; }
}

/* Home page: free flow diagrams showcase (Nov 2026) */
.dg-show { padding: 1.8rem 0 1.6rem; background: var(--white); }
.dg-show-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.dg-show-head .section-title { margin: .15rem 0 .3rem; }
.dg-show-head .section-sub { margin: 0; color: var(--ink-2); }
.dg-show-kicker { display: inline-block; margin: 0; padding: .2rem .65rem; border-radius: 999px; background: #dcefeb; color: var(--gold-2); font-size: .78rem; font-weight: 800; }
.dg-show-all-top { display: none; flex: none; }
.dg-show-row { display: flex; gap: .8rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: .2rem var(--gutter) .8rem; margin: 0 calc(-1 * var(--gutter)); -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.dg-show-row::-webkit-scrollbar { display: none; }
.dg-card { flex: none; width: 78%; max-width: 300px; scroll-snap-align: start; display: flex; flex-direction: column; gap: .4rem; text-decoration: none; color: var(--ink); background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--gold); border-radius: 16px; padding: .9rem 1rem 1rem; box-shadow: 0 2px 10px rgba(13,27,46,.06); transition: transform .15s, box-shadow .15s; }
.dg-card:hover, .dg-card:focus-visible { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(15,124,120,.16); }
.dg-card-meta { font-size: .74rem; font-weight: 700; color: var(--muted); }
.dg-card h3 { margin: 0; font-size: 1.05rem; font-weight: 800; line-height: 1.25; }
.dg-mini { list-style: none; margin: .3rem 0 .2rem; padding: .6rem .7rem; background: var(--mint-bg); border-radius: 12px; display: grid; gap: .45rem; flex: 1; }
.dg-mini li { position: relative; display: flex; align-items: center; gap: .55rem; min-width: 0; font-size: .8rem; color: var(--ink-2); }
.dg-mini li:not(:last-child)::after { content: ""; position: absolute; left: 10px; top: 22px; height: .45rem; width: 2px; background: #9fd3cb; }
.dg-mini span { flex: none; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--gold); color: #fff; font-size: .7rem; font-weight: 800; }
.dg-mini li { height: 22px; }
.dg-mini li.is-q span { border-radius: 4px; transform: rotate(45deg) scale(.82); }
.dg-mini li.is-q span b { transform: rotate(-45deg) scale(1.2); font-weight: 800; }
.dg-mini li.is-more span { background: var(--white); color: var(--gold-2); border: 1px solid #9fd3cb; font-size: .62rem; }
.dg-mini em { font-style: normal; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.dg-card-go { display: inline-flex; align-items: center; gap: .35rem; margin-top: .2rem; font-weight: 800; font-size: .9rem; color: var(--gold-2); }
.dg-show-all { text-align: center; margin: .4rem 0 0; }
@media (min-width: 700px) {
  .dg-show { padding: 2.6rem 0 2.2rem; }
  .dg-show-all-top { display: inline-flex; }
  .dg-show-all { display: none; }
  .dg-show-row { display: grid; grid-template-columns: repeat(3, 1fr); overflow: visible; padding: 0; margin: 0; gap: 1rem; }
  .dg-card { width: auto; max-width: none; }
}
@media (max-width: 699px) { .dg-show-head .section-title { font-size: 1.35rem; } }

/* Ask Wala from a diagram step or guide question; on phones the chat opens as a half-height panel (Nov 2026) */
.flow-ask { display: inline-flex; align-items: center; gap: .3rem; margin-top: .55rem; border: 1px solid #bfe2dc; background: var(--mint-bg); color: var(--gold-2); border-radius: 999px; padding: .3rem .75rem; font: inherit; font-size: .8rem; font-weight: 700; cursor: pointer; }
.flow-ask:hover, .flow-ask:focus-visible { background: #dcefeb; border-color: var(--gold); }
@media print { .flow-ask { display: none !important; } }
.wizard-ask { display: inline-flex; align-items: center; gap: .35rem; margin-top: 1rem; border: 1px solid #bfe2dc; background: var(--mint-bg); color: var(--gold-2); border-radius: 999px; padding: .5rem 1rem; font: inherit; font-size: .9rem; font-weight: 700; cursor: pointer; }
.wizard-ask:hover { background: #dcefeb; border-color: var(--gold); }
.sheet-grow { display: none; }
@media (max-width: 899px) {
  .wala-sheet.is-peek { top: 38vh; border-radius: 20px 20px 0 0; box-shadow: 0 -10px 30px rgba(13,27,46,.25); }
  .wala-sheet.is-peek .sheet-head { padding-top: .5rem; }
  .wala-sheet.is-peek .sheet-grow { display: flex; flex-direction: column; align-items: center; gap: .15rem; width: 100%; border: 0; background: none; color: rgba(255,255,255,.7); font: inherit; font-size: .66rem; font-weight: 700; padding: .4rem 0 0; cursor: pointer; }
  .wala-sheet.is-peek .sheet-grow span { width: 42px; height: 4px; border-radius: 4px; background: rgba(255,255,255,.4); }
  body.sheet-peek .sheet-backdrop { background: rgba(13,27,46,.18); backdrop-filter: none; }
}
/* Phones: the diagrams sit right under the Wala card, inside the hero; tablets/desktops get the full-width section instead */
.dg-show.is-hero { display: none; }
@media (max-width: 699px) {
  .dg-show:not(.is-hero) { display: none; }
  .hero-hp2.hero-home .dg-show.is-hero { display: block; order: 6; padding: .3rem 0 0; background: none; margin: 0; }
  .dg-show.is-hero > .container { padding: 0; max-width: none; }
  .dg-show.is-hero .dg-show-head { margin-bottom: .7rem; }
  .dg-show.is-hero .section-title { font-size: 1.25rem; }
  .dg-show.is-hero .section-sub { font-size: .88rem; }
  .hero-hp2.hero-home .hp2-ticks { order: 7; }
  .hero-hp2.hero-home .hp2-founder-m { order: 8; }
  .hero-hp2.hero-home .hp2-legal { order: 9; }
  .hero-hp2.hero-home .hp2-tenant { order: 10; }
}

/* Phones: 4 questions per page, the arrows and "See all" above them so they're always on screen; stronger rows (Nov 2026) */
@media (max-width: 699px) {
  .hero .q-carousel { display: flex; flex-direction: column; }
  .hero .q-carousel .q-nav { order: -1; margin: .1rem 0 .5rem; gap: .4rem; flex-wrap: nowrap; }
  .hero .q-carousel .q-nav .q-all-btn { margin-left: auto; min-height: 32px; padding: .3rem .8rem; font-size: .78rem; white-space: nowrap; }
  .hero .q-arrow { width: 32px; height: 32px; flex: none; }
  .hero .q-carousel .q-dots { font-size: .76rem; white-space: nowrap; }
  .hero .q-carousel [data-samples] { height: calc(4 * 44px + 3 * .35rem); }
  .hero .q-carousel [data-samples] li .sample, .hero .q-carousel [data-samples] li:not([hidden]) ~ li:not([hidden]) .sample { height: 44px; font-size: .8rem; }
}
.hero .q-carousel [data-samples] li .sample,
.hero .q-carousel [data-samples] li:not([hidden]) ~ li:not([hidden]) .sample { background: linear-gradient(90deg, #dcf1ec, #f1faf8); border: 1.5px solid #a9dcd3; border-left: 5px solid var(--gold); color: var(--ink); font-weight: 700; box-shadow: 0 2px 6px rgba(15,124,120,.12); }
.hero .samples li .sample:hover, .hero .samples li .sample:focus-visible { background: linear-gradient(90deg, #cdebe4, #e6f5f2); border-color: var(--gold); }
/* All screens: carousel arrows and "See all" above the questions */
.hero .q-carousel { display: flex; flex-direction: column; }
.hero .q-carousel .q-nav { order: -1; margin: .1rem 0 .55rem; flex-wrap: nowrap; }
.hero .q-carousel .q-nav .q-all-btn { margin-left: auto; white-space: nowrap; }

/* Free diagrams stand out (option B, Nov 2026): mint band, teal-outlined cards, FREE tag, solid button */
.dg-show:not(.is-hero) { background: linear-gradient(180deg, #e3f3f1, #f5faf9); border-top: 1px solid #cfe7e2; border-bottom: 1px solid #cfe7e2; }
.hero-hp2.hero-home .dg-show.is-hero { background: linear-gradient(180deg, #e3f3f1, #eef7f5); margin: 0 calc(-1 * var(--gutter)); padding: 1rem var(--gutter) .9rem; border-radius: 22px; }
.dg-show-kicker { background: var(--gold); color: #fff; }
.dg-card { position: relative; border: 2px solid var(--gold); border-top-width: 2px; box-shadow: 0 12px 28px rgba(15,124,120,.2); }
.dg-card:hover, .dg-card:focus-visible { box-shadow: 0 16px 34px rgba(15,124,120,.28); }
.dg-card::before { content: "FREE"; position: absolute; top: 12px; right: -2px; background: #f2b632; color: #0f1c2e; font-size: .66rem; font-weight: 900; letter-spacing: .06em; padding: .2rem .55rem; border-radius: 6px 0 0 6px; }
.dg-card h3 { font-size: 1.15rem; padding-right: 3rem; }
.dg-card-meta { padding-right: 3rem; }
.dg-card-go { align-self: stretch; justify-content: center; background: linear-gradient(180deg, #12898a, #0d7470); color: #fff; border-radius: 12px; padding: .65rem; margin-top: .4rem; box-shadow: 0 6px 14px rgba(15,124,120,.25); }
/* "Free Diagrams" in the top menu: a teal pill so it's easy to spot */
.main-nav .nav-hot a { background: var(--mint-bg); color: var(--gold-2); border: 1px solid #bfe2dc; border-radius: 999px; padding: .35rem .8rem; font-weight: 800; }
.main-nav .nav-hot a:hover, .main-nav .nav-hot a[aria-current] { background: #dcefeb; border-color: var(--gold); }
.mobile-menu .nav-hot a { color: var(--gold-2); font-weight: 800; }
.dg-show-row { scroll-padding-left: var(--gutter); scroll-padding-right: var(--gutter); }
.topup-more { margin: .3rem 0 .5rem; font-size: .82rem; opacity: .85; }
.hp2-bigger ul li { margin-bottom: .45rem; }
