/* meenira.ai — site styles. Hand-written for Meenira; no third-party CSS.
   Tokens: Meenira's site palette (green, ink, marigold, orange, soft, tint). */
:root {
  color-scheme: light;
  --ink: #1F2433; --ink-2: #3A4052; --muted: #4E5566;
  --bg: #FFFFFF; --soft: #F4F8F6; --tint: #E6F4EE; --line: #DCE3DF; --card: #FFFFFF;
  --green: #0E6E53; --green-brand: #13946F; --green-ink: #0B5A44;
  --marigold: #F7B32B; --orange: #F28C28; --coral: #F0573C; --rose: #E5577E;
  --c-realty: #13946F; --c-pa: #C2410C; --c-health: #E5577E; --c-video: #8E5CD9; --c-equity: #3B5BDB;
  --night: #1F2433; --on-night: #F3EFE7; --on-night-muted: #BEC2CE;   /* device bezels and the call bar only: no dark page bands */
  --wash: linear-gradient(180deg, #E6F4EE 0%, #F4F8F6 55%, #FFF8E8 100%);
  --chat-wall: #EFEAE2; --bubble-in: #FFFFFF; --bubble-out: #DCF5E7;
  --display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --body: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --deva: 'IBM Plex Sans', 'Nirmala UI', 'Mangal', 'Kohinoor Devanagari', system-ui, sans-serif;
  --r: 18px; --r-lg: 26px;
  --shadow: 0 24px 48px -28px rgba(31,36,51,.35), 0 6px 16px -10px rgba(31,36,51,.18);
  --shadow-lg: 0 40px 80px -40px rgba(14,110,83,.45), 0 12px 28px -16px rgba(31,36,51,.25);
  --wrap: min(1200px, calc(100vw - 32px));
  --header-h: 68px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.65 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: var(--green); text-underline-offset: 3px; }
p { margin: 0; }
ul { margin: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; font-family: var(--display); font-weight: 460; letter-spacing: -.018em; line-height: 1.1; font-optical-sizing: auto; color: var(--ink); }
h1 { font-size: clamp(38px, 5.6vw, 72px); }
h2 { font-size: clamp(30px, 3.8vw, 50px); }
h3 { font-size: clamp(21px, 2vw, 25px); line-height: 1.2; }
.deva, [lang="hi"] { font-family: var(--deva); }
[lang="hi"] h1, [lang="hi"] h2, [lang="hi"] h3 { font-family: var(--deva); font-weight: 600; letter-spacing: 0; line-height: 1.3; }
.wrap { width: var(--wrap); margin: 0 auto; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 50; }
.skip:focus { left: 16px; background: var(--card); color: var(--ink); padding: 10px 14px; border-radius: 10px; }
:focus-visible { outline: 3px solid var(--marigold); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- buttons, chips, badges ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 1.5px solid transparent;
  font: 600 15.5px/1 var(--body); text-decoration: none; cursor: pointer; transition: transform .18s ease, background .18s ease, box-shadow .18s ease, border-color .18s ease; white-space: nowrap; }
.btn svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 12px 24px -12px rgba(14,110,83,.7); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: var(--card); }
.btn-ghost:hover { border-color: var(--green); color: var(--green); }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 15px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 600 12.5px/1.2 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--green); }
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--marigold); }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; font: 600 12.5px/1 var(--body); letter-spacing: .02em; background: var(--tint); color: var(--green-ink); }
.badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.badge.soon { background: color-mix(in srgb, var(--marigold) 22%, var(--bg)); color: #7A4E00; }
.badge.roll { background: color-mix(in srgb, var(--orange) 16%, var(--bg)); color: #8A3F06; }
.lede { font-size: clamp(17.5px, 1.45vw, 20px); color: var(--muted); max-width: 38em; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; }
.chips li { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); font-size: 14.5px; color: var(--ink-2); }
.note { font-size: 14px; color: var(--muted); }
.disclaimer { margin-top: 14px; font-size: 14px; color: var(--muted); border-left: 3px solid var(--c-equity); padding-left: 12px; }
.ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--tint); color: var(--green); flex: none; }
.ic svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- header + mega-menu ---------- */
.site-header { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(1.5) blur(14px); -webkit-backdrop-filter: saturate(1.5) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 8px 24px -20px rgba(31,36,51,.4); }
.site-header .bar { display: flex; align-items: center; gap: 20px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; text-decoration: none; flex: none; }
.brand img { height: 32px; width: auto; }
.mainnav { display: flex; align-items: center; gap: 4px; margin-left: 18px; flex: 1; }
.mainnav > ul { display: flex; align-items: center; gap: 2px; list-style: none; }
.mainnav > ul > li { position: relative; }
.navlink { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px; border: 0; background: none; border-radius: 10px; font: 500 15px/1 var(--body); color: var(--ink-2); text-decoration: none; cursor: pointer; }
.navlink:hover, .navlink[aria-expanded="true"] { color: var(--ink); background: var(--soft); }
.navlink svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; transition: transform .2s; }
.navlink[aria-expanded="true"] svg { transform: rotate(180deg); }
.header-cta { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.mega { position: absolute; left: 0; top: calc(100% + 10px); width: min(860px, calc(100vw - 32px)); background: var(--card); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-lg);
  display: grid; grid-template-columns: 1fr 1fr 0.9fr; gap: 8px; padding: 14px; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .18s, transform .18s, visibility .18s; }
.mega.two { width: min(760px, calc(100vw - 32px)); }
.mega.open { opacity: 1; visibility: visible; transform: none; }
.mega h4 { font: 600 11.5px/1 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); padding: 12px 12px 8px; }
.mega ul { list-style: none; }
.mega a { display: flex; gap: 12px; align-items: flex-start; padding: 10px 12px; border-radius: 12px; text-decoration: none; color: var(--ink); min-height: 78px; }
.mega a:hover { background: var(--soft); }
.mega .feature a { min-height: 0; }   /* the products list and links in the side panel stay compact */
.mega a b { display: block; font-weight: 600; font-size: 14.5px; line-height: 1.3; }
/* Only the description line under the title: the icon tile is a span too and must stay a centring grid. */
.mega a > span:not(.ic) > span { display: block; font-size: 13px; line-height: 1.4; color: var(--muted); margin-top: 2px; }
.mega a > span:not(.ic) { min-width: 0; }
.mega .ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex: none; margin-top: 1px; }
.mega .ic svg { width: 18px; height: 18px; }
.mega .feature { background: linear-gradient(160deg, var(--tint), var(--soft)); border-radius: 16px; padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.mega .feature p { font-size: 14px; color: var(--ink-2); }
.mega .feature a.btn { margin-top: auto; align-self: flex-start; padding: 0 18px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; line-height: 1; color: #fff; }
.mega .feature a.btn:hover { background: var(--green); }
.mega .feature .more { padding: 0; font-size: 14px; color: var(--green); font-weight: 600; }
.mega .feature .more:hover { background: none; text-decoration: underline; }
.dot { width: 9px; height: 9px; border-radius: 50%; flex: none; margin-top: 6px; }
.menu-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); color: var(--ink); cursor: pointer; place-items: center; }
.menu-toggle svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 2; }
@media (max-width: 1060px) {
  .menu-toggle { display: grid; }
  .header-cta .signin { display: none; }
  .mainnav { position: fixed; inset: var(--header-h) 0 0 0; margin: 0; background: var(--bg); flex-direction: column; align-items: stretch; padding: 12px 16px 40px; overflow-y: auto; display: none; }
  .mainnav.open { display: flex; }
  .mainnav > ul { flex-direction: column; align-items: stretch; }
  .navlink { width: 100%; justify-content: space-between; min-height: 52px; font-size: 17px; padding: 0 8px; }
  .mega { position: static; width: auto; box-shadow: none; border: 0; padding: 0 0 8px; grid-template-columns: 1fr; display: none; opacity: 1; visibility: visible; transform: none; }
  .mega.open { display: grid; }
  .mega .feature { display: none; }
  .header-cta { margin-left: 0; }
}
@media (max-width: 1060px) { .site-header .bar > .header-cta { margin-left: auto; } .menu-toggle { margin-left: 0; } }
@media (max-width: 480px) { .header-cta .btn { padding: 0 14px; font-size: 14px; } .brand img { height: 28px; } }
@media (max-width: 380px) { .header-cta .btn .long { display: none; } }

/* ---------- sections ---------- */
section { padding: clamp(64px, 8vw, 112px) 0; }
.band-soft { background: var(--soft); }
.band-wash { position: relative; background: var(--wash); overflow: hidden; isolation: isolate; }
.band-wash::before { content: ""; position: absolute; z-index: -1; right: -40px; top: -30px; width: 260px; height: 260px; background: url("../illustrations/decor-dots.svg") 0 0/180px; opacity: .8; }
.band-wash::after { content: ""; position: absolute; z-index: -1; left: -120px; bottom: -140px; width: 420px; height: 420px; background: url("../illustrations/decor-blob.svg") center/contain no-repeat; opacity: .9; }
.head { max-width: 780px; margin-bottom: clamp(32px, 4.5vw, 56px); }
.head.center { margin-left: auto; margin-right: auto; text-align: center; }
.head.center .lede { margin-left: auto; margin-right: auto; }
.head h2 { margin-top: 16px; }
.head .lede { margin-top: 16px; }
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line); }
.crumbs a { color: var(--muted); }

/* ---------- hero ---------- */
.hero { position: relative; padding: clamp(40px, 6vw, 84px) 0 clamp(56px, 7vw, 100px); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(60% 55% at 85% 10%, color-mix(in srgb, var(--green-brand) 18%, transparent), transparent 70%),
              radial-gradient(40% 40% at 5% 0%, color-mix(in srgb, var(--marigold) 16%, transparent), transparent 70%),
              linear-gradient(var(--bg), var(--soft)); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(70% 60% at 50% 0%, #000, transparent 75%); mask-image: radial-gradient(70% 60% at 50% 0%, #000, transparent 75%); }
.hero .grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 4.5vw, 64px); align-items: center; }
.hero.simple .grid { grid-template-columns: 1fr 0.95fr; }
.hero h1 { font-size: clamp(38px, 5vw, 64px); }
.hero h1 em, h2 em { font-style: italic; font-weight: 380; color: var(--green-brand); }
.hero .lede { margin-top: 22px; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.facts { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 28px; list-style: none; font-size: 14.5px; color: var(--ink-2); }
.facts li { display: inline-flex; align-items: center; gap: 8px; }
.facts svg { width: 18px; height: 18px; stroke: var(--green); fill: none; stroke-width: 2.2; }
.hero .badge { margin-bottom: 18px; }
@media (max-width: 940px) { .hero .grid, .hero.simple .grid { grid-template-columns: 1fr; } }

/* ---------- product mock-ups (Meenira console, invented data) ---------- */
.mock { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-lg); overflow: hidden; min-width: 0; }
.mock-top { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: var(--soft); }
.mock-top .lights { display: flex; gap: 6px; }
.mock-top .lights i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.mock-top .addr { flex: 1; min-width: 0; font-size: 12.5px; color: var(--muted); background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 5px 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock-tabs { display: flex; gap: 4px; padding: 8px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.mock-tabs button { flex: none; min-height: 36px; padding: 0 12px; border-radius: 9px; border: 0; background: none; color: var(--muted); font: 600 13px/1 var(--body); cursor: pointer; position: relative; }
.mock-tabs button[aria-selected="true"] { background: var(--tint); color: var(--green-ink); }
.mock-tabs button .prog { position: absolute; left: 10px; right: 10px; bottom: 3px; height: 2px; border-radius: 2px; background: var(--green); transform-origin: left; transform: scaleX(0); }
.mock-tabs button[aria-selected="true"] .prog.run { animation: prog var(--tab-ms, 6000ms) linear forwards; }
@keyframes prog { to { transform: scaleX(1); } }
.mock-panels { position: relative; height: 430px; }
.mock-panel { position: absolute; inset: 0; padding: 16px; opacity: 0; visibility: hidden; transition: opacity .35s ease, visibility .35s; overflow: hidden; }
.mock-panel.active { opacity: 1; visibility: visible; }
.mock-caption { padding: 10px 16px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--muted); background: var(--soft); }
.mock.single .mock-panels { height: auto; }
.mock.single .mock-panel { position: static; opacity: 1; visibility: visible; }
@media (max-width: 560px) { .mock-panels { height: 470px; } }

/* WhatsApp-style chat */
.wa { display: flex; flex-direction: column; height: 100%; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: var(--chat-wall); }
.wa-head { display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: #0E6E53; color: #fff; }
.wa-head .av { width: 32px; height: 32px; border-radius: 50%; background: rgba(255,255,255,.18); display: grid; place-items: center; font: 700 13px/1 var(--body); }
.wa-head b { display: block; font-size: 14px; line-height: 1.2; }
.wa-head small { font-size: 11.5px; opacity: .85; }
.wa-body { flex: 1; padding: 12px; display: flex; flex-direction: column; gap: 8px; overflow: hidden; justify-content: flex-end; }
.msg { max-width: 82%; padding: 7px 10px 5px; border-radius: 10px; font-size: 13.5px; line-height: 1.45; color: var(--ink); background: var(--bubble-in); box-shadow: 0 1px 1px rgba(0,0,0,.08); }
.msg.out { align-self: flex-end; background: var(--bubble-out); }
.msg time { display: block; text-align: right; font-size: 10.5px; color: var(--muted); margin-top: 2px; }
.msg.sys { align-self: center; background: color-mix(in srgb, var(--marigold) 25%, var(--bubble-in)); font-size: 12px; text-align: center; max-width: 92%; }
.msg.card { padding: 10px 12px; border-left: 3px solid var(--green-brand); }
.msg.card dl { display: grid; grid-template-columns: auto 1fr; gap: 2px 10px; margin: 6px 0 0; font-size: 12.5px; }
.msg.card dt { color: var(--muted); } .msg.card dd { margin: 0; font-weight: 600; }
.typing { align-self: flex-start; display: inline-flex; gap: 4px; padding: 10px 12px; border-radius: 10px; background: var(--bubble-in); }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: blink 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }
.js .seq > :not(.shown), .js .seq > .gone { display: none; }
.js .seq > .shown { animation: pop .35s ease both; }
@keyframes pop { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* pipeline board */
.board { display: grid; grid-template-columns: repeat(4, minmax(120px, 1fr)); gap: 10px; height: 100%; }
.col { background: var(--soft); border: 1px solid var(--line); border-radius: 12px; padding: 8px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.col h5 { margin: 2px 4px 2px; font: 600 11.5px/1.2 var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); display: flex; justify-content: space-between; }
.lead { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 8px 9px; font-size: 12.5px; line-height: 1.35; box-shadow: 0 1px 2px rgba(0,0,0,.05); }
.lead b { display: block; font-size: 13px; }
.lead span { color: var(--muted); display: block; }
.temp { display: inline-block; margin-top: 5px; padding: 2px 7px; border-radius: 999px; font-size: 11px; font-weight: 700; }
.temp.hot { background: #FDE2DC; color: #9A2A12; } .temp.warm { background: #FFF0CF; color: #7A4E00; } .temp.cold { background: #E3E9F5; color: #2B3F73; }
.lead.moving { animation: hop 6s ease-in-out infinite; }
@keyframes hop { 0%, 35% { transform: none; } 45% { transform: translateY(-4px); box-shadow: var(--shadow); } 55%, 100% { transform: none; } }
@media (max-width: 560px) { .board { grid-template-columns: repeat(2, minmax(0, 1fr)); } .board .col:nth-child(n+3) { display: none; } }

/* lead card */
.leadcard { display: grid; grid-template-columns: 1fr; gap: 12px; }
.lc-head { display: flex; align-items: center; gap: 12px; }
.lc-head .av { width: 44px; height: 44px; border-radius: 50%; background: var(--tint); color: var(--green-ink); display: grid; place-items: center; font: 700 15px/1 var(--body); }
.lc-head b { font-size: 16px; display: block; } .lc-head small { color: var(--muted); font-size: 12.5px; }
.lc-head .temp { margin-left: auto; margin-top: 0; }
.lc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.lc-grid div { background: var(--soft); border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; }
.lc-grid small { display: block; font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.lc-grid b { font-size: 14px; }
.lc-sum { font-size: 13.5px; color: var(--ink-2); background: var(--card); border: 1px dashed var(--line); border-radius: 10px; padding: 10px 12px; }
.lc-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.lc-actions span { font-size: 12.5px; font-weight: 600; padding: 7px 11px; border-radius: 8px; background: var(--green); color: #fff; }
.lc-actions span.alt { background: var(--soft); color: var(--ink); border: 1px solid var(--line); }

/* voice transcript */
.voice { display: flex; flex-direction: column; gap: 10px; height: 100%; }
.call-bar { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; background: var(--night); color: var(--on-night); }
.call-bar .rec { width: 10px; height: 10px; border-radius: 50%; background: var(--coral); animation: blink 1.4s infinite; }
.call-bar b { font-size: 13.5px; } .call-bar small { color: var(--on-night-muted); font-size: 12px; margin-left: auto; }
.wave { display: flex; align-items: center; gap: 3px; height: 26px; }
.wave i { width: 3px; height: 100%; border-radius: 2px; background: var(--marigold); animation: wave 1.2s ease-in-out infinite; }
.wave i:nth-child(2n) { background: var(--orange); animation-delay: .15s; } .wave i:nth-child(3n) { background: var(--coral); animation-delay: .3s; } .wave i:nth-child(5n) { background: var(--rose); animation-delay: .45s; }
@keyframes wave { 0%, 100% { transform: scaleY(.3); } 50% { transform: scaleY(1); } }
.tr { display: flex; flex-direction: column; gap: 8px; font-size: 13.5px; line-height: 1.45; }
.tr p { display: grid; grid-template-columns: 74px 1fr; gap: 8px; color: var(--ink-2); }
.tr p b { font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding-top: 2px; }
.tr p.ai b { color: var(--green); }
.brief { margin-top: auto; background: var(--tint); border-radius: 12px; padding: 10px 12px; font-size: 13px; color: var(--ink-2); }
.brief b { color: var(--green-ink); }

/* inventory import review */
.imp { display: flex; flex-direction: column; gap: 8px; }
.imp-file { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px dashed var(--green-brand); border-radius: 12px; background: var(--tint); font-size: 13px; }
.imp-file .bar { flex: 1; height: 6px; border-radius: 6px; background: var(--card); overflow: hidden; }
.imp-file .bar i { display: block; height: 100%; width: 100%; background: var(--green); transform-origin: left; animation: fill 3.5s ease-out infinite; }
@keyframes fill { from { transform: scaleX(0); } 70%, to { transform: scaleX(1); } }
.imp-row { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 12px; font-size: 13px; background: var(--card); }
.imp-row b { font-size: 13.5px; } .imp-row span { color: var(--muted); }
.imp-row .ok { grid-row: span 2; align-self: center; font-size: 12px; font-weight: 700; padding: 6px 10px; border-radius: 8px; background: var(--green); color: #fff; }
.imp-row .ok.chg { background: var(--marigold); color: #3B2600; }

/* calendar / visits */
.visits { display: grid; gap: 8px; }
.visit { display: grid; grid-template-columns: 58px 1fr auto; gap: 10px; align-items: center; padding: 9px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); font-size: 13px; }
.visit .when { text-align: center; background: var(--soft); border-radius: 8px; padding: 4px 0; font-weight: 700; font-size: 12px; line-height: 1.25; }
.visit .when small { display: block; font-weight: 500; color: var(--muted); }
.visit span { color: var(--muted); display: block; }
.pill { font-size: 11.5px; font-weight: 700; padding: 4px 9px; border-radius: 999px; background: var(--tint); color: var(--green-ink); white-space: nowrap; }
.pill.wait { background: #FFF0CF; color: #7A4E00; } .pill.alert { background: #FDE2DC; color: #9A2A12; }

/* consent log */
.log { font: 12.5px/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; display: grid; gap: 6px; }
.log div { display: grid; grid-template-columns: 52px 1fr; gap: 10px; padding: 8px 10px; border-radius: 10px; background: var(--soft); border: 1px solid var(--line); color: var(--ink-2); }
.log time { color: var(--muted); }
.log .blk { border-color: color-mix(in srgb, var(--coral) 45%, var(--line)); }

/* ---------- cards and grids ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }
.card { --pad: clamp(22px, 2.4vw, 30px); background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: var(--pad); display: flex; flex-direction: column; gap: 12px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.card p { color: var(--muted); font-size: 16px; }
a.card { text-decoration: none; color: inherit; }
a.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--green) 40%, var(--line)); }
.card .more { margin-top: auto; font-weight: 600; font-size: 15px; color: var(--green); display: inline-flex; align-items: center; gap: 6px; }
.card .more::after { content: "→"; transition: transform .2s; }
a.card:hover .more::after { transform: translateX(3px); }
.card .top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.card ul.ticks { margin-top: 4px; }
ul.ticks { list-style: none; display: grid; gap: 10px; }
ul.ticks li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: 16px; color: var(--ink-2); }
ul.ticks li::before { content: ""; width: 20px; height: 20px; margin-top: 3px; border-radius: 50%; background: var(--tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230E6E53' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/12px no-repeat; }
ul.crosses li::before { background: color-mix(in srgb, var(--coral) 14%, var(--bg)) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B23A1E' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7L7 17'/%3E%3C/svg%3E") center/11px no-repeat; }

/* product cards (platform) */
.pcard { position: relative; overflow: hidden; }
.pcard::before { content: ""; position: absolute; z-index: 1; left: 0; top: 0; right: 0; height: 4px; background: var(--accent, var(--green)); }
.pcard .name { display: flex; align-items: center; gap: 10px; font: 600 13px/1 var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--accent, var(--green)); }
.pcard .name::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: currentColor; }
.acc-realty { --accent: var(--c-realty); } .acc-pa { --accent: var(--c-pa); } .acc-health { --accent: var(--c-health); } .acc-video { --accent: var(--c-video); } .acc-equity { --accent: var(--c-equity); }

/* compare: before / after */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.compare .card.after { background: linear-gradient(170deg, var(--tint), var(--card) 70%); border-color: color-mix(in srgb, var(--green) 35%, var(--line)); }
@media (max-width: 760px) { .compare { grid-template-columns: 1fr; } }

/* journey (3 stages) */
.journey { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.journey > div { padding: clamp(22px, 2.6vw, 32px); background: var(--card); border: 1px solid var(--line); border-radius: 24px; display: flex; flex-direction: column; gap: 12px; box-shadow: var(--shadow); }
.journey > div > p { color: var(--muted); }
.journey .journey-art { width: 100%; max-width: 240px; height: auto; margin: -6px auto 4px; }
.journey .n { font: 600 13px/1 var(--body); letter-spacing: .14em; color: #9A5B00; }
.journey ul { list-style: none; display: grid; gap: 8px; margin-top: 6px; }
.journey li a { display: inline-flex; align-items: center; gap: 8px; color: var(--green); font-weight: 600; text-decoration: none; font-size: 15px; min-height: 32px; }
.journey li a::after { content: "→"; }
.journey li a:hover { text-decoration: underline; }
@media (max-width: 860px) { .journey { grid-template-columns: 1fr; } }

/* feature split (alternating) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.split + .split { margin-top: clamp(56px, 7vw, 96px); }
.split.flip > :first-child { order: 2; }
.split .text h3 { font-size: clamp(26px, 2.6vw, 34px); margin-top: 14px; }
.split .text p { margin-top: 14px; color: var(--muted); }
.split .text ul.ticks { margin-top: 20px; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split.flip > :first-child { order: 0; } }

/* steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; list-style: none; counter-reset: s; }
.steps.three { grid-template-columns: repeat(3, 1fr); }
.steps li { counter-increment: s; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; }
.steps li::before { content: counter(s, decimal-leading-zero); display: block; font: 500 15px/1 var(--display); color: var(--green); letter-spacing: .08em; margin-bottom: 16px; }
.steps h3 { font-size: 20px; }
.steps p { margin-top: 10px; color: var(--muted); font-size: 15.5px; }
@media (max-width: 980px) { .steps, .steps.three { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .steps, .steps.three { grid-template-columns: 1fr; } }

/* trust / compliance list */
.trust { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 clamp(28px, 5vw, 64px); }
.trust > div { padding: 22px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 44px 1fr; gap: 16px; }
.trust h3 { font-size: 20px; }
.trust p { margin-top: 8px; color: var(--muted); font-size: 16px; }
@media (max-width: 760px) { .trust { grid-template-columns: 1fr; } }

/* works-with strip and programs */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--soft); padding: 22px 0; }
.strip .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 30px; }
.strip p { font-size: 14px; color: var(--muted); font-weight: 600; letter-spacing: .04em; }
.programs { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; }
.programs li { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--card); font-size: 14.5px; font-weight: 600; color: var(--ink-2); }
.programs li svg { width: 16px; height: 16px; stroke: var(--green); fill: none; stroke-width: 2.2; }

/* marquee (logo strip — hidden until the owner supplies real logos) */
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee ul { display: flex; gap: 48px; width: max-content; list-style: none; animation: scroll 30s linear infinite; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* interactive buyer demo */
.demo-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.demo-stage { position: relative; }
.demo-stage .demo-blob { position: absolute; z-index: 0; inset: -8% -10% auto auto; width: 90%; height: auto; pointer-events: none; }
.demo-phone { position: relative; z-index: 1; max-width: 420px; width: 100%; margin: 0 auto; border-radius: 36px; padding: 10px; background: var(--night); box-shadow: var(--shadow-lg); }
.demo-phone .wa { height: 520px; border: 0; border-radius: 22px; }
.demo-phone .wa-body { overflow-y: auto; justify-content: flex-start; scroll-behavior: smooth; }
.demo-phone .wa-body > :first-child { margin-top: auto; }
.demo-replies { display: flex; flex-wrap: wrap; gap: 8px; padding: 10px; background: var(--card); border-top: 1px solid var(--line); min-height: 64px; }
.demo-replies button { min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--green); background: var(--card); color: var(--green); font: 600 13.5px/1.2 var(--body); cursor: pointer; text-align: left; }
.demo-replies button:hover { background: var(--tint); }
.demo-label { display: inline-block; margin-top: 12px; font-size: 13px; color: var(--muted); text-align: center; width: 100%; }
@media (max-width: 900px) { .demo-wrap { grid-template-columns: 1fr; } .demo-phone .wa { height: 480px; } }

/* demo form */
.demo-form-wrap { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.demo-form-wrap ul.ticks { margin-top: 24px; }
.dform { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(22px, 3vw, 34px); box-shadow: var(--shadow); display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.dform .full { grid-column: 1 / -1; }
.dform label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.dform label small { font-weight: 400; color: var(--muted); }
.dform input, .dform select, .dform textarea { width: 100%; min-height: 48px; padding: 10px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--bg); color: var(--ink); font: 400 16px/1.4 var(--body); }
.dform textarea { min-height: 84px; resize: vertical; }
.dform input:focus, .dform select:focus, .dform textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px color-mix(in srgb, var(--green) 22%, transparent); }
.dform [aria-invalid="true"] { border-color: var(--coral); }
.dform .err { color: #B23A1E; font-size: 13px; font-weight: 500; min-height: 0; }
.dform .submit { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.dform .result { grid-column: 1 / -1; padding: 16px; border-radius: 14px; background: var(--tint); display: grid; gap: 12px; }
.dform .result p { color: var(--ink-2); font-size: 15px; }
.dform .result .ctas { margin-top: 0; }
@media (max-width: 900px) { .demo-form-wrap { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .dform { grid-template-columns: 1fr; } }

/* FAQ */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 16px; }
.faq summary { list-style: none; cursor: pointer; padding: 18px 56px 18px 22px; font-weight: 600; font-size: 17px; position: relative; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 14px; height: 14px; margin-top: -7px;
  background: linear-gradient(var(--green), var(--green)) center/14px 2px no-repeat, linear-gradient(var(--green), var(--green)) center/2px 14px no-repeat; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 22px 20px; color: var(--muted); }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.plan .price { font: 460 clamp(30px, 3vw, 40px)/1.05 var(--display); }
.plan .price small { font: 400 15px/1.4 var(--body); color: var(--muted); display: block; margin-top: 6px; }
.plan .btn { margin-top: auto; }
@media (max-width: 980px) { .plans { grid-template-columns: 1fr; } }

/* articles */
.article { max-width: 760px; margin: 0 auto; }
.article h2 { font-size: clamp(26px, 2.6vw, 34px); margin: 44px 0 14px; }
.article h3 { margin: 28px 0 10px; }
.article p, .article li { color: var(--ink-2); font-size: 18px; line-height: 1.75; }
.article p + p { margin-top: 16px; }
.article ul, .article ol { padding-left: 22px; display: grid; gap: 8px; margin: 14px 0; }
.article .meta { color: var(--muted); font-size: 15px; margin-top: 16px; }
.callout { margin: 28px 0; padding: 18px 20px; border-radius: 14px; background: var(--soft); border: 1px solid var(--line); font-size: 16px; color: var(--ink-2); }
.callout b { color: var(--ink); }

/* closing CTA band */
.cta-band { position: relative; overflow: hidden; isolation: isolate; border-radius: 28px; padding: clamp(36px, 5vw, 64px); background: linear-gradient(120deg, #E6F4EE, #FFF4DA); border: 1px solid color-mix(in srgb, var(--green) 18%, var(--line)); display: grid; grid-template-columns: 1.3fr auto; gap: 24px; align-items: center; }
.cta-band::after { content: ""; position: absolute; z-index: -1; right: -60px; top: -60px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(247,179,43,.35), transparent 70%); }
.cta-band .cta-bars { position: absolute; z-index: -1; right: 4%; bottom: -14px; width: 120px; height: auto; opacity: .35; }
.cta-band h2 { font-size: clamp(28px, 3.2vw, 42px); }
.cta-band p { color: var(--ink-2); margin-top: 12px; }
.cta-band .ctas { margin-top: 0; position: relative; z-index: 1; }
@media (max-width: 860px) { .cta-band { grid-template-columns: 1fr; } }

/* footer */
.site-footer { background: var(--soft); border-top: 1px solid var(--line); color: var(--muted); padding: 64px 0 40px; font-size: 14.5px; position: relative; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 4px; background: linear-gradient(90deg, var(--marigold), var(--orange), var(--coral), var(--rose), var(--coral), var(--orange), var(--marigold)); }
.site-footer .cols { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 32px; }
.site-footer img { height: 30px; width: auto; }
.site-footer h2 { font: 600 12px/1 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--ink); margin: 6px 0 14px; }
.site-footer ul { list-style: none; display: grid; gap: 4px; }
.site-footer a { color: var(--ink-2); text-decoration: none; display: inline-flex; min-height: 32px; align-items: center; }
.site-footer a:hover { color: var(--green); text-decoration: underline; }
.site-footer .about p { margin-top: 16px; max-width: 30em; }
.site-footer .legal { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; font-size: 13.5px; }
@media (max-width: 980px) { .site-footer .cols { grid-template-columns: 1fr 1fr; } .site-footer .about { grid-column: 1 / -1; } }

/* ---------- pictures: illustrations, photos and device frames ---------- */
.hero-art { margin: 0; position: relative; min-width: 0; }
.hero-art .hero-scene { width: 100%; height: auto; filter: drop-shadow(0 30px 40px rgba(14,110,83,.14)); }
.hero-art.small { max-width: 420px; width: 100%; justify-self: center; }
.hero-art.small img { width: 100%; height: auto; }
.hero-chip { position: absolute; left: -3%; bottom: 7%; display: flex; gap: 12px; align-items: center; max-width: 290px; padding: 10px 16px 10px 10px; border-radius: 18px; background: var(--card); box-shadow: var(--shadow); font-size: 13.5px; line-height: 1.35; color: var(--muted); }
.hero-chip-photo img { width: 56px; height: 56px; border-radius: 14px; object-fit: cover; }
.hero-chip b { display: block; font-size: 14.5px; color: var(--ink); }
.hero-chip span span { display: block; }
@media (max-width: 560px) { .hero-chip { left: 6px; bottom: -6px; max-width: 250px; } }
.hero-photo { margin: 0; position: relative; }
.hero-photo-bars { position: absolute; right: 14px; bottom: -22px; width: 84px; height: auto; }
img.framed { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 24px; box-shadow: var(--shadow-lg); }
.hero-photo img.framed { aspect-ratio: 4 / 3.6; }

/* laptop frame */
.device-laptop { position: relative; min-width: 0; }
.device-laptop > .device-screen { padding: 12px 12px 14px; border-radius: 22px 22px 10px 10px; background: var(--night); box-shadow: var(--shadow-lg); }
.device-laptop > .device-screen > .mock { border: 0; border-radius: 10px; box-shadow: none; }
.device-base { position: relative; height: 16px; margin: 0 -3%; border-radius: 0 0 22px 22px; background: linear-gradient(#E6EBE8, #C3CCC7); box-shadow: 0 18px 24px -18px rgba(31,36,51,.45); }
.device-base::before { content: ""; position: absolute; left: 50%; top: 0; width: 18%; height: 6px; transform: translateX(-50%); border-radius: 0 0 8px 8px; background: #AEB8B3; }
@media (max-width: 600px) { .device-base { margin: 0; } .device-laptop > .device-screen { padding: 8px 8px 10px; border-radius: 16px 16px 8px 8px; } }

/* phone frame */
.device-phone { position: relative; width: 100%; max-width: 320px; margin: 0 auto; padding: 11px; border-radius: 42px; background: var(--night); box-shadow: var(--shadow-lg); }
.device-notch { position: absolute; z-index: 2; top: 11px; left: 50%; width: 34%; height: 20px; transform: translateX(-50%); border-radius: 0 0 14px 14px; background: var(--night); }
.device-phone > .device-screen { overflow: hidden; border-radius: 32px; background: var(--bg); }
.device-phone .wa { height: 520px; border: 0; border-radius: 0; }
.device-phone .wa-head { padding-top: 28px; }
.device-phone.shot img { width: 100%; height: auto; }
.phone-only { margin: 0; }
.mock-caption-out { margin-top: 14px; font-size: 12.5px; color: var(--muted); text-align: center; }

/* photo behind, phone in front */
.stage { position: relative; margin: 0; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); min-width: 0; }
.stage::before { content: ""; position: absolute; z-index: 0; left: -24px; bottom: 40px; width: 150px; height: 150px; background: url("../illustrations/decor-dots.svg") 0 0/180px; }
.stage-photo { grid-column: 1 / 9; grid-row: 1; position: relative; z-index: 1; }
.stage-photo img { width: 100%; height: auto; aspect-ratio: 4 / 4.4; object-fit: cover; border-radius: 28px; box-shadow: var(--shadow); }
.stage-phone { grid-column: 6 / 13; grid-row: 1; position: relative; z-index: 2; margin-top: 22%; }
.stage-phone .device-phone { max-width: 300px; }
.stage-phone .wa { height: 470px; }
.stage figcaption { grid-column: 1 / -1; grid-row: 2; }
@media (max-width: 560px) { .stage::before { left: 0; } .stage-photo { grid-column: 1 / 11; } .stage-phone { grid-column: 5 / 13; margin-top: 62%; } .stage-phone .wa { height: 420px; } }

/* home: the tabbed console in a laptop, with the real console on a phone */
.showcase-band { background: linear-gradient(180deg, var(--bg), var(--soft)); }
.showcase { display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: clamp(28px, 4vw, 56px); align-items: center; }
.showcase-phone { text-align: center; }
.showcase-phone .note { margin-top: 12px; }
@media (max-width: 940px) { .showcase { grid-template-columns: 1fr; } .showcase-phone { max-width: 250px; margin: 0 auto; } }

/* laptop mock-up with a real console phone in front */
.duo { display: grid; grid-template-columns: minmax(0, 1fr) 27%; align-items: end; min-width: 0; }
.duo > .device-laptop { margin-bottom: 8%; }
.duo-phone { position: relative; z-index: 2; margin-left: -20%; }
.duo-phone .device-phone { padding: 7px; border-radius: 26px; }
.duo-phone .device-phone > .device-screen { border-radius: 20px; }
.duo-phone .device-notch { top: 7px; height: 12px; }
@media (max-width: 600px) { .duo { grid-template-columns: minmax(0, 1fr) 34%; } }
.phone-pair { display: flex; justify-content: center; gap: clamp(14px, 2.5vw, 28px); }
.phone-pair .device-phone { max-width: 250px; }
.phone-pair .device-phone + .device-phone { margin-top: 48px; }

/* cards with an illustration or photo on top */
.card.has-art { overflow: hidden; }
.card-art, .card-photo { margin: calc(var(--pad) * -1) calc(var(--pad) * -1) 6px; border-bottom: 1px solid var(--line); }
.card-art { display: grid; place-items: center; padding: 12px; background: linear-gradient(160deg, var(--tint), var(--soft) 70%, #FFF8E8); }
.card-art img { width: 100%; max-width: 260px; height: auto; }
.card-photo img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .5s ease; }
.card-photo img[src$=".svg"] { object-fit: contain; padding: 10px; background: linear-gradient(160deg, #EEF1FC, var(--soft)); }
a.card:hover .card-photo img { transform: scale(1.03); }
.photo-card { margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 24px; background: var(--card); box-shadow: var(--shadow); }
.photo-card img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.photo-card figcaption { padding: 14px 18px 16px; font-size: 15px; color: var(--ink-2); }
.compare.with-photo { grid-template-columns: .9fr 1fr 1fr; }
.compare.with-photo .photo-card img { aspect-ratio: auto; height: 100%; min-height: 240px; }
.compare.with-photo .photo-card { display: flex; flex-direction: column; }
.compare.with-photo .photo-card img { flex: 1; }
@media (max-width: 1000px) { .compare.with-photo { grid-template-columns: 1fr 1fr; } .compare.with-photo .photo-card { grid-column: 1 / -1; } .compare.with-photo .photo-card img { aspect-ratio: 16 / 7; min-height: 0; } }
@media (max-width: 760px) { .compare.with-photo { grid-template-columns: 1fr; } .compare.with-photo .photo-card img { aspect-ratio: 4 / 3; } }
.photo-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 28px; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 760px) { .photo-pair, .gallery { grid-template-columns: 1fr; } }
.head.head-art { max-width: none; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }
.head.head-art > div { max-width: 780px; flex: 1 1 420px; }
.head.head-art > img { width: 220px; height: auto; flex: none; }
@media (max-width: 640px) { .head.head-art > img { width: 170px; } }

/* scroll reveal (only when JS is running and motion is allowed) */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
  .js .reveal.in { opacity: 1; transform: none; }
  .hero .grid > * { animation: rise .8s cubic-bezier(.2,.7,.2,1) both; }
  .hero .grid > :nth-child(2) { animation-delay: .12s; }
  .hero-chip { animation: float 6s ease-in-out infinite; }
  @keyframes float { 0%, 100% { transform: none; } 50% { transform: translateY(-6px); } }
  @keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .marquee ul { animation: none; }
}

/* the chat widget sits above everything but the open menu */
.menu-open .meenira-chat-widget { display: none; }

/* fixes */
.header-cta .btn { gap: 0; }
.imp-file > svg { width: 20px; height: 20px; flex: none; color: var(--green); }
.dform .result[hidden] { display: none; }
@media (max-width: 480px) { .site-header .bar { gap: 10px; } .header-cta { gap: 6px; } .brand img { height: 26px; } .header-cta .btn { min-height: 44px; } }
html:not(.js) .mainnav > ul > li:hover > .mega, html:not(.js) .mainnav > ul > li:focus-within > .mega { opacity: 1; visibility: visible; transform: none; }
.article .crumbs ol { display: flex; padding: 0; margin: 0; gap: 6px; }
.article .crumbs li { font-size: 14px; line-height: 1.5; color: var(--muted); }
