/* Concept: a guided buying journey — outcome-led hero, recognise the problem,
   try it for your own industry, see the value in numbers, real proof, a clear
   offer, then book a demo. Two themes from one emerald & lime palette:
   light (default) and dark ([data-theme="dark"]). Type scales fluidly with the viewport. */
/* Metric-matched fallbacks: text keeps its size while the web fonts load, so the layout doesn't jump. */
@font-face{font-family:'Manrope Fallback';src:local('Arial');size-adjust:101.8%;ascent-override:104%;descent-override:29%;line-gap-override:0%}
@font-face{font-family:'DM Sans Fallback';src:local('Arial');size-adjust:103.8%;ascent-override:106%;descent-override:33%;line-gap-override:0%}
:root{
  /* Light (default): warm paper, deep emerald actions, lime highlights */
  --bg:#f6f8f6;
  --bg-soft:#e9f1ec;
  --bg-soft-2:#ffffff;
  --fg:#12221e;
  --fg-dim:#536660;   /* muted text: a touch darker than #5e726c so it passes contrast on the green-tinted sections */
  --accent:#176b57;          /* buttons, focus rings, icons */
  --accent-rgb:23,107,87;    /* the same emerald, for tints and glows */
  --on-accent:#ffffff;       /* text on emerald buttons */
  --accent-soft:#176b57;     /* emerald for text and links */
  --accent-hover:#0f483a;    /* button hover fill */
  --lime:#c9ef8a;            /* highlight: marker under key words, badges */
  --on-lime:#0f3a2f;
  --coral:#b42318;           /* "without" / problem accent */
  --line:#e0e8e4;
  --line-strong:#c5d3cd;
  --obsidian:#102a22;        /* dark hero band */
  --radius-card:24px;
  --shadow-lg:0 30px 70px rgba(16,42,34,0.12);
  --tint:rgba(20,36,33,0.05);
  --nav-bg:rgba(246,248,246,0.9);
  --card-glass:rgba(255,255,255,0.92);
  --bar-bg:rgba(255,255,255,0.97);
  --phone-frame:#142421;
  --chat-head:#ffffff;
  --chat-wall:#efeae2;
  --wall-dot:rgba(20,36,33,0.06);
  --bubble-in:#ffffff;
  --bubble-out:#d9f5e6;
  --bubble-out-fg:#142421;
  --bubble-meta:#5d6f6a;
  --bubble-out-meta:#3f6457;
  --tick:#2f9fd0;
  --shadow-rgb:23,60,50;
  --shadow-k:.3;
  --select-arrow:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23176b57' stroke-width='1.6'/%3E%3C/svg%3E");
  --total-fg:#176b57;        /* order-card total: emerald on the light card */
  --mono:'IBM Plex Mono', ui-monospace, monospace;
  color-scheme: light;
  interpolate-size: allow-keywords;
}
:root[data-theme="dark"]{
  --bg:#101d1a;
  --bg-soft:#152723;
  --bg-soft-2:#1b302b;
  --fg:#e8f3ef;
  --fg-dim:#a3b8b1;
  --accent:#c9ef8a;          /* lime buttons with dark green text read best on slate */
  --accent-rgb:201,239,138;
  --on-accent:#0f3a2f;
  --accent-soft:#b9e87a;
  --accent-hover:#b8e672;
  --lime:#c9ef8a;
  --on-lime:#0f3a2f;
  --coral:#ff9b8a;
  --line:rgba(232,243,239,0.12);
  --line-strong:rgba(232,243,239,0.24);
  --obsidian:#0b1f19;
  --shadow-lg:0 30px 70px rgba(0,0,0,0.45);
  --tint:rgba(232,243,239,0.07);
  --nav-bg:rgba(16,29,26,0.88);
  --card-glass:rgba(27,48,43,0.86);
  --bar-bg:rgba(21,39,35,0.96);
  --phone-frame:#050a09;
  --chat-head:#172a25;
  --chat-wall:#0b1512;
  --wall-dot:rgba(232,243,239,0.045);
  --bubble-in:#1d332d;
  --bubble-out:#1f5c4b;
  --bubble-out-fg:#ecf8f3;
  --bubble-meta:#a3b8b1;
  --bubble-out-meta:#cfe9de;
  --tick:#53bdeb;
  --total-fg:#b9e87a;
  --shadow-rgb:0,0,0;
  --shadow-k:1;
  --select-arrow:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23b9e87a' stroke-width='1.6'/%3E%3C/svg%3E");
  color-scheme: dark;
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%;scroll-padding-top:80px;scroll-behavior:smooth;font-size:clamp(14px,13.4px + 0.24vw,17px)}
body{
  margin:0;background:var(--bg);color:var(--fg);
  font-family:'DM Sans','DM Sans Fallback',-apple-system,Segoe UI,sans-serif;font-size:1rem;line-height:1.6;
  overflow-x:clip;
}
img{max-width:100%}
:focus-visible{outline:2px solid var(--accent);outline-offset:3px;border-radius:4px}
.arabic{font-family:'Noto Sans Arabic','DM Sans','DM Sans Fallback',sans-serif;direction:rtl;unicode-bidi:plaintext}
h1,h2,h3{font-family:'Manrope','Manrope Fallback',sans-serif;font-weight:800;letter-spacing:-.025em;text-wrap:balance;margin:0;line-height:1.15}
h3{font-weight:700;letter-spacing:-.015em}
a{color:var(--accent-soft)}
.wrap{max-width:68rem;margin-inline:auto;padding-inline:max(20px,env(safe-area-inset-left,0px)) max(20px,env(safe-area-inset-right,0px));}
section{padding-block:clamp(52px,7vw,128px)}
.alt{background:var(--bg-soft)}
.kicker{display:inline-block;margin-bottom:14px;font-family:var(--mono);font-size:.74rem;letter-spacing:.08em;text-transform:uppercase;color:var(--accent-soft)}
.sec-head h2{font-size:clamp(1.3rem,1rem + 1.2vw,1.95rem);max-width:34ch}
.sec-head .lede{color:var(--fg-dim);max-width:58ch;margin:12px 0 0}
.note{font-size:.8rem;color:var(--fg-dim)}
.note svg{vertical-align:-2px;margin-inline-end:4px;color:var(--accent-soft)}

/* ---- buttons ---- */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  padding:13px 22px;border-radius:9px;font-size:.96rem;font-weight:600;line-height:1.2;
  text-decoration:none;cursor:pointer;border:1px solid transparent;
  font-family:'DM Sans','DM Sans Fallback',sans-serif;transition:background .15s ease,border-color .15s ease;
}
.btn-primary{background:var(--accent);color:var(--on-accent);box-shadow:0 10px 26px -12px rgba(var(--accent-rgb),.55)}
.btn-primary:hover{background:var(--accent-hover)}
.btn-ghost{border-color:var(--line);color:var(--fg);background:transparent}
.btn-ghost:hover{border-color:var(--fg-dim)}
.btn svg{flex-shrink:0}

/* ---- nav ---- */
.nav{
  position:sticky;top:0;z-index:20;padding-top:env(safe-area-inset-top,0px);
  background:var(--nav-bg);-webkit-backdrop-filter:blur(16px) saturate(1.4);backdrop-filter:blur(16px) saturate(1.4);
  border-bottom:1px solid var(--line);transition:box-shadow .25s ease;
}
.nav.scrolled{box-shadow:0 10px 30px -18px rgba(var(--shadow-rgb),calc(0.8 * var(--shadow-k)))}
.nav .wrap{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-block:14px}
.brand{display:flex;align-items:center;flex-wrap:wrap;column-gap:8px;min-width:0;font-family:'Manrope','Manrope Fallback',sans-serif;font-size:1.2rem;font-weight:800;letter-spacing:-.01em;color:var(--fg);text-decoration:none}
.brand .dim{color:var(--fg-dim);font-family:'DM Sans','DM Sans Fallback',sans-serif;font-size:.8rem;font-weight:400}
.nav nav{display:flex;align-items:center;gap:20px;font-size:.92rem}
.nav a{color:var(--fg-dim);text-decoration:none;transition:color .15s ease}
.nav a:hover,.nav nav a.active{color:var(--fg)}
.nav nav a.active:not(.nav-cta){box-shadow:inset 0 -2px 0 var(--accent)}
.nav nav a.nav-cta{color:var(--on-accent);background:var(--accent);padding:8px 14px;border-radius:8px;font-weight:600}
.nav nav a.nav-cta:hover{background:var(--accent-hover)}
.nav-toggle{
  display:none;flex-shrink:0;align-items:center;justify-content:center;width:44px;height:44px;margin-block:-6px;padding:0;
  background:transparent;color:var(--fg);border:1px solid var(--line);border-radius:9px;cursor:pointer;-webkit-tap-highlight-color:transparent;
}
.nav-toggle:hover{border-color:var(--fg-dim)}
.nav-toggle .icon-close{display:none}
.nav.open .nav-toggle .icon-open{display:none}
.nav.open .nav-toggle .icon-close{display:block}
@media (max-width:1079px){
  .nav-toggle{display:inline-flex}
  .nav nav{
    display:none;position:absolute;top:100%;inset-inline-start:0;inset-inline-end:0;flex-direction:column;align-items:stretch;gap:0;font-size:1rem;
    background:var(--bg);border-bottom:1px solid var(--line);padding:6px max(20px,env(safe-area-inset-left,0px)) 14px;
    box-shadow:0 18px 30px -18px rgba(var(--shadow-rgb),calc(0.6 * var(--shadow-k)));
  }
  .nav.open nav{display:flex}
  .nav nav a{display:flex;align-items:center;min-height:48px;border-bottom:1px solid var(--line)}
  .nav nav a.active:not(.nav-cta){box-shadow:none;color:var(--accent-soft)}
  .nav nav a.nav-cta{justify-content:center;margin-top:12px;border-bottom:none;padding:12px 14px}
}
@media (max-width:420px){.brand .dim{display:none}}

/* ---- hero ---- */
.hero{padding-block:clamp(40px,5vw,96px) clamp(48px,5vw,96px);position:relative;isolation:isolate;overflow:clip}
.hero::before{
  content:"";position:absolute;z-index:-1;pointer-events:none;top:-260px;inset-inline-end:-220px;width:820px;height:820px;border-radius:50%;
  background:radial-gradient(circle,rgba(var(--accent-rgb),.16) 0%,rgba(var(--accent-rgb),.05) 38%,rgba(var(--accent-rgb),0) 66%);
}
.hero-grid{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:clamp(32px,4vw,64px);align-items:center}
.hero::after{
  content:"";position:absolute;z-index:-1;pointer-events:none;bottom:-320px;inset-inline-start:-260px;width:720px;height:720px;border-radius:50%;
  background:radial-gradient(circle,rgba(201,239,138,.32) 0%,rgba(201,239,138,0) 62%);
}
@media (max-width:900px){.hero-grid{grid-template-columns:1fr;gap:44px}}
.hero-grid > *{min-width:0}
.eyebrow{
  display:inline-flex;align-items:center;gap:8px;font-size:.78rem;letter-spacing:.08em;text-transform:uppercase;color:var(--accent-soft);
  padding:5px 12px;border:1px solid var(--line);border-radius:100px;margin-bottom:22px;
}
.hero h1{font-size:clamp(1.75rem,1.2rem + 1.9vw,2.7rem);line-height:1.1}
.hero h1 em{font-style:normal;color:var(--fg);background:linear-gradient(transparent 62%,var(--lime) 62%,var(--lime) 92%,transparent 92%);padding:0 .08em}
.hero p.lede{font-size:clamp(1.02rem,.95rem + .3vw,1.15rem);color:var(--fg-dim);max-width:48ch;margin-top:18px}
.cta-row{display:flex;gap:14px;flex-wrap:wrap;margin-top:30px}
@media (max-width:480px){.cta-row .btn{flex:1 1 100%}}
.hero-note{display:flex;align-items:center;gap:10px;margin-top:16px;font-size:.86rem;color:var(--fg-dim)}
.hero-note a{color:var(--fg);text-underline-offset:3px}
.live-dot{position:relative;width:8px;height:8px;border-radius:50%;background:var(--accent);flex-shrink:0}
.live-dot::after{content:"";position:absolute;inset:-4px;border-radius:50%;border:1px solid var(--accent);opacity:0;animation:pulse 2.4s ease-out infinite}
@keyframes pulse{0%{transform:scale(.6);opacity:.9}100%{transform:scale(1.8);opacity:0}}
.trust{display:flex;gap:10px;flex-wrap:wrap;margin-top:28px}
.trust-item{
  display:flex;align-items:center;gap:8px;font-size:.82rem;color:var(--fg-dim);min-width:0;
  background:var(--bg-soft-2);border:1px solid var(--line);border-radius:100px;padding:8px 14px;
}
.trust-item svg{flex-shrink:0;color:var(--accent-soft)}

/* hero visual */
.notifs{width:100%;max-width:27rem;margin-inline:auto;padding:clamp(16px,1.8vw,24px);border-radius:28px;border:1px solid var(--line);
  background:linear-gradient(160deg,rgba(var(--accent-rgb),.10),rgba(201,239,138,.20) 70%,rgba(var(--accent-rgb),.04));
  box-shadow:0 30px 60px -40px rgba(var(--shadow-rgb),calc(.9 * var(--shadow-k)))}
.notifs-head{display:flex;justify-content:space-between;align-items:baseline;padding:0 6px 12px;font-family:var(--mono);font-size:.74rem;color:var(--fg-dim);letter-spacing:.03em}
.notifs-head b{font-family:'Manrope','Manrope Fallback',sans-serif;font-size:1.5rem;font-weight:600;color:var(--fg);letter-spacing:0}
.notif{
  display:flex;gap:12px;align-items:flex-start;background:var(--card-glass);border:1px solid var(--line);border-radius:16px;padding:12px 14px;
  box-shadow:0 20px 40px -26px rgba(var(--shadow-rgb),calc(.85 * var(--shadow-k)));animation:notif-in .6s cubic-bezier(.2,.7,.2,1) both;animation-delay:calc(var(--i,0) * .5s + .3s);
}
.notif + .notif{margin-top:10px}
.notif.hot{border-color:rgba(var(--accent-rgb),.55);background:linear-gradient(160deg,rgba(var(--accent-rgb),.14),var(--card-glass) 60%)}
.notif .ic{width:34px;height:34px;border-radius:10px;display:grid;place-items:center;flex-shrink:0}
.ic.wa{background:var(--tint);color:var(--fg)}
.ic.ai{border-radius:50%;background:linear-gradient(135deg,#2a9a7c,#145c4b);color:#fff;font-family:'Noto Sans Arabic',sans-serif;font-weight:600}
.ic.tg{background:rgba(var(--accent-rgb),.16);color:var(--accent-soft)}
.notif .body{min-width:0;flex:1}
.notif .top{display:flex;justify-content:space-between;gap:8px;font-size:.76rem;color:var(--fg-dim)}
.notif .top b{color:var(--fg);font-weight:600}
.notif .top time{font-family:var(--mono);flex-shrink:0}
.notif p{margin:3px 0 0;font-size:.88rem;line-height:1.4;color:var(--fg);overflow-wrap:anywhere}
.notif p .dim{color:var(--fg-dim)}
@keyframes notif-in{from{opacity:0;transform:translateY(14px) scale(.98)}to{opacity:1;transform:none}}
.notifs-foot{margin-top:14px;text-align:center;font-size:.76rem;color:var(--fg-dim)}
@media (max-width:480px){.notif:nth-of-type(n+5){display:none}}

/* ---- problem ---- */
/* Contained as a card, with the "with Noor" column washed in accent so the contrast
   between the two outcomes reads at a glance rather than only from the small labels. */
.ba-grid{display:grid;grid-template-columns:minmax(9ch,auto) 1fr 1fr;gap:0 24px;margin-top:40px;
  padding:28px 30px 8px;border:1px solid var(--line);border-radius:var(--radius-card);background:var(--bg-soft-2)}
.ba-head,.ba-cell.after{position:relative}
.ba-cell.after::after,.ba-head.after::after{content:"";position:absolute;inset:0 -14px;z-index:0;background:rgba(var(--accent-rgb),.07)}
.ba-head.after::after{border-radius:12px 12px 0 0}
.ba-row:last-child .ba-cell.after::after{border-radius:0 0 12px 12px}
.ba-row:last-child .ba-cell,.ba-row:last-child .ba-label{border-bottom:none}
.ba-head > *,.ba-cell.after > *{position:relative;z-index:1}
.ba-head.after,.ba-cell.after{isolation:isolate}
.ba-head{font-family:var(--mono);font-size:.74rem;letter-spacing:.05em;text-transform:uppercase;padding-bottom:14px;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:8px}
.ba-head.before{color:var(--coral)}
.ba-head.after{color:var(--accent-soft)}
.ba-row{display:contents}
.ba-label{grid-column:1;padding-block:20px;border-bottom:1px solid var(--line);font-size:.9rem;font-weight:600;color:var(--fg);display:flex;align-items:center;max-width:15ch}
.ba-cell{padding-block:20px;border-bottom:1px solid var(--line);font-size:.95rem;min-width:0;display:flex;align-items:center}
.ba-cell.before{color:var(--fg-dim)}
.ba-cell.after{color:var(--fg)}
@media (min-width:701px) and (max-width:900px){
  .ba-grid{column-gap:18px}
  .ba-label{max-width:11ch;font-family:var(--mono);font-size:.76rem;line-height:1.45}
  .ba-cell{font-size:.9rem;align-items:flex-start}
  .ba-label,.ba-cell{padding-block:18px}
}
@media (max-width:700px){
  .ba-grid{grid-template-columns:1fr}
  .ba-head{display:none}
  .ba-grid > span:first-child{display:none}
  .ba-label{padding-bottom:4px;border-bottom:none;max-width:none;font-weight:600;color:var(--accent-soft)}
  .ba-cell{border-bottom:none;padding-block:4px 14px;display:block}
  .ba-cell.before::before{content:"Without Noor — ";color:var(--coral)}
  .ba-cell.after::before{content:"With Noor — ";color:var(--accent-soft)}
  .ba-row{border-bottom:1px solid var(--line);padding-block:10px;display:block}
}

/* ---- phone (shared): drawn like a real WhatsApp chat ---- */
.phone{
  width:100%;max-width:23.5rem;margin-inline:auto;padding:9px;border-radius:44px;background:var(--phone-frame);
  box-shadow:0 0 0 1px var(--line),0 34px 70px -24px rgba(var(--shadow-rgb),calc(0.75 * var(--shadow-k)));
}
.phone-screen{display:flex;flex-direction:column;border-radius:36px;overflow:hidden;background-color:var(--chat-wall);
  background-image:radial-gradient(var(--wall-dot) 1px,transparent 1.3px);background-size:16px 16px}
.status-bar{position:relative;display:flex;justify-content:space-between;align-items:center;padding:11px 24px 4px 28px;background:var(--chat-head);color:var(--fg);font-size:.78rem;font-weight:600}
.sb-notch{position:absolute;inset-inline-start:50%;top:8px;transform:translateX(-50%);width:84px;height:22px;border-radius:12px;background:var(--phone-frame)}
.sb-icons{display:flex;align-items:center;gap:5px}
.phone-head{display:flex;align-items:center;gap:10px;padding:8px 14px 10px 12px;background:var(--chat-head);border-bottom:1px solid var(--line)}
.phone-head .back{color:var(--accent-soft);flex-shrink:0}
.phone-head .avatar{
  width:36px;height:36px;border-radius:50%;background:linear-gradient(135deg,#2a9a7c,#145c4b);flex-shrink:0;
  display:flex;align-items:center;justify-content:center;font-family:'Noto Sans Arabic',sans-serif;font-weight:600;color:#fff;
}
.phone-head .who{min-width:0;flex:1;line-height:1.25}
.phone-head .who b{display:block;font-size:.9rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.phone-head .who span{font-size:.74rem;color:var(--fg-dim)}
.phone-head .who span.typing-now{color:var(--accent-soft)}
.head-icons{display:flex;gap:16px;color:var(--accent-soft);flex-shrink:0}
.chat{position:relative;display:flex;flex-direction:column;gap:5px;padding:12px 14px 14px}
.bubble{
  position:relative;max-width:80%;padding:6px 9px 7px;border-radius:9px;font-size:.86rem;line-height:1.38;
  min-width:0;overflow-wrap:anywhere;white-space:pre-line;color:var(--fg);box-shadow:0 1px .5px rgba(var(--shadow-rgb),.13);
}
.bubble::before{content:"";position:absolute;top:0;width:8px;height:13px}
.bubble.in{align-self:flex-start;background:var(--bubble-in);border-top-left-radius:0}
.bubble.in::before{inset-inline-start:-7px;background:var(--bubble-in);clip-path:polygon(0 0,100% 0,100% 100%)}
.bubble.out{align-self:flex-end;background:var(--bubble-out);color:var(--bubble-out-fg);border-top-right-radius:0}
.bubble.out::before{inset-inline-end:-7px;background:var(--bubble-out);clip-path:polygon(0 0,100% 0,0 100%)}
.bubble.out + .bubble.out,.bubble.in + .bubble.in{margin-top:-2px}
/* These rules sit INSIDE an element that is already direction:rtl, so a logical property
   would resolve the opposite way here. They stay physical on purpose — do not "modernise"
   them along with the rest of the sheet. */
.bubble.arabic{direction:rtl;text-align:right}
.meta{float:right;display:inline-flex;align-items:center;gap:3px;margin:8px -2px -4px 10px;font-size:.66rem;line-height:1;color:var(--bubble-meta);white-space:nowrap;direction:ltr}
.bubble.out .meta{color:var(--bubble-out-meta)}
.bubble.arabic .meta{float:left;margin:8px 10px -4px -2px}
.meta .ticks{color:var(--tick)}
.tag,.sys{
  align-self:center;max-width:90%;margin:4px 0;padding:4px 10px;border-radius:7px;text-align:center;
  font-size:.7rem;color:var(--fg-dim);background:var(--chat-head);box-shadow:0 1px .5px rgba(var(--shadow-rgb),.1);
}
.typing-bubble{padding:10px 12px;color:var(--fg-dim)}
.phone-input{display:flex;align-items:center;gap:7px;padding:6px 8px 14px}
.pi-field{flex:1;min-width:0;display:flex;align-items:center;gap:8px;padding:9px 12px;border-radius:22px;background:var(--chat-head);color:var(--fg-dim);font-size:.86rem}
.pi-text{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pi-text.typed{color:var(--fg)}
.pi-send{width:40px;height:40px;border-radius:50%;display:grid;place-items:center;flex-shrink:0;background:var(--accent);color:var(--on-accent)}
.replay-link{
  display:flex;align-items:center;gap:6px;margin:14px auto 0;padding:6px 10px;border:none;background:none;cursor:pointer;
  font:inherit;font-size:.84rem;color:var(--fg-dim);
}
.replay-link:hover{color:var(--fg)}
.replay-link[hidden]{display:none}
.dots{display:flex;gap:4px;padding:3px 0}
.dots i{width:6px;height:6px;border-radius:50%;background:currentColor;animation:blink 1.1s infinite ease-in-out}
.dots i:nth-child(2){animation-delay:.15s}
.dots i:nth-child(3){animation-delay:.3s}
@keyframes blink{0%,80%,100%{opacity:.3;transform:translateY(0)}40%{opacity:1;transform:translateY(-3px)}}
@keyframes pop{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}

/* ---- industry demo ---- */
.ind-tabs{display:flex;flex-wrap:wrap;gap:8px;margin-top:30px}
.ind-tab{
  display:inline-flex;align-items:center;gap:8px;min-height:42px;padding:8px 15px;border-radius:100px;
  border:1px solid var(--line);background:var(--bg-soft);color:var(--fg-dim);font:inherit;font-size:.9rem;cursor:pointer;
  transition:border-color .15s ease,background .15s ease,color .15s ease;
}
.ind-tab:hover{border-color:var(--fg-dim);color:var(--fg)}
.ind-tab[aria-selected="true"]{border-color:var(--accent);background:rgba(var(--accent-rgb),.13);color:var(--fg)}
.ind-tab span{font-size:1rem}
/* The conversation leads: the phone sits first and widest, with the reference
   material beside it as a calmer sidebar rather than a stack of equal panels. */
.demo-wrap{display:grid;grid-template-columns:25.5rem minmax(0,1fr);gap:44px;margin-top:30px;align-items:start}
@media (max-width:860px){.demo-wrap{grid-template-columns:1fr;gap:26px}}
.demo-wrap > *{min-width:0}
.demo-side{display:flex;flex-direction:column;gap:16px}
.demo-side .panel{margin:0}
/* message allowance, as a slim strip under the phone instead of its own panel */
.demo-meter{max-width:23.5rem;margin:16px auto 0}
.dm-row{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:7px}
.dm-text{font-size:.83rem;color:var(--fg-dim)}
.dm-text b{color:var(--fg);font-weight:700}
.dm-track{height:5px;border-radius:99px;background:var(--line);overflow:hidden}
.dm-fill{display:block;height:100%;width:var(--meter,100%);border-radius:99px;background:var(--accent);transition:width .35s ease}
.demo-meter.low .dm-fill{background:var(--coral)}
.demo-meter .replay-link{margin:0;padding:3px 7px;font-size:.8rem}
.panel{background:var(--bg-soft);border:1px solid var(--line);border-radius:14px;padding:20px 22px}
.panel + .panel{margin-top:14px}
.panel h3{font-family:var(--mono);font-size:.74rem;font-weight:500;letter-spacing:.06em;text-transform:uppercase;color:var(--fg-dim);margin-bottom:10px}
.panel p{margin:0}
.pain-text{font-size:1.05rem;color:var(--fg)}
.collected dl{display:grid;grid-template-columns:auto 1fr;gap:8px 16px;margin:0}
.collected dt{font-size:.82rem;color:var(--fg-dim)}
.collected dd{margin:0;font-size:.92rem;color:var(--fg);overflow-wrap:anywhere}
.collected .new{animation:pop .4s ease both}
.collected dd.status{color:var(--accent-soft);font-weight:600}
.collected .empty{font-size:.88rem;color:var(--fg-dim)}
.outcome{border-color:rgba(var(--accent-rgb),.55);background:linear-gradient(160deg,rgba(var(--accent-rgb),.1),var(--bg-soft) 60%)}
.outcome[hidden]{display:none}
.outcome .result{font-family:'Manrope','Manrope Fallback',sans-serif;font-size:1.2rem;line-height:1.3}
.outcome .btn{margin-top:16px}
.chat.interactive{height:470px;overflow-y:auto;scroll-behavior:smooth;overscroll-behavior:contain}
@media (max-width:480px){.chat.interactive{height:400px}.demo-gate{min-height:400px}}
.chat.interactive > *{animation:pop .3s ease both}
.composer{padding:4px 10px 2px}
.composer .hint{font-size:.7rem;color:var(--fg-dim);display:flex;justify-content:space-between;gap:8px;padding:0 4px}
.reply-btn{
  display:block;width:100%;text-align:left;margin-top:8px;padding:10px 13px;border-radius:12px;cursor:pointer;
  background:var(--chat-head);border:1px dashed rgba(var(--accent-rgb),.6);color:var(--fg);font:inherit;font-size:.85rem;line-height:1.35;
  transition:border-color .15s ease,background .15s ease;
}
.reply-btn:hover{border-style:solid;border-color:var(--accent);background:rgba(var(--accent-rgb),.08)}
.reply-btn:disabled{opacity:.45;cursor:default}
.reply-btn.restart{text-align:center;border-style:solid;border-color:var(--line);color:var(--fg-dim)}
.demo-note{margin-top:18px}

/* ---- calculator ---- */
.calc{display:grid;grid-template-columns:1fr 1fr;gap:28px;margin-top:36px;align-items:start}
@media (max-width:860px){.calc{grid-template-columns:1fr}}
.calc > *{min-width:0}
.range-field + .range-field{margin-top:24px}
.range-field .row{display:flex;justify-content:space-between;align-items:baseline;gap:12px}
.range-field label{font-size:.92rem;color:var(--fg)}
.range-field output{font-family:'Manrope','Manrope Fallback',sans-serif;font-size:1.25rem;color:var(--accent-soft);white-space:nowrap}
.range-field input[type=range]{width:100%;margin-top:10px;accent-color:var(--accent);height:28px;cursor:pointer}
.range-field .scale{display:flex;justify-content:space-between;font-size:.72rem;color:var(--fg-dim);font-family:var(--mono)}
.assume{margin-top:24px;border-top:1px solid var(--line);padding-top:16px}
.assume summary{cursor:pointer;font-size:.88rem;color:var(--accent-soft);font-weight:600;list-style:none}
.assume summary::-webkit-details-marker{display:none}
.assume summary::after{content:" +";font-family:var(--mono)}
.assume[open] summary::after{content:" −"}
.assume .grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:14px}
@media (max-width:520px){.assume .grid{grid-template-columns:1fr}}
.num-field{display:flex;flex-direction:column;justify-content:space-between;gap:6px;font-size:.78rem;color:var(--fg-dim)}
.num-field input{width:100%;font:inherit;font-size:.95rem;color:var(--fg);background:var(--bg);border:1px solid var(--line);border-radius:8px;padding:9px 11px}
.num-field input:focus{outline:none;border-color:var(--accent)}
.results{display:grid;gap:12px}
.res{background:var(--bg-soft-2);border:1px solid var(--line);border-radius:14px;padding:18px 20px}
.res.big{border-color:rgba(var(--accent-rgb),.55);background:linear-gradient(160deg,rgba(var(--accent-rgb),.12),var(--bg-soft-2) 60%)}
.res span{font-size:.84rem;color:var(--fg-dim)}
.res b{display:block;font-family:'Manrope','Manrope Fallback',sans-serif;font-weight:600;font-size:clamp(1.6rem,4vw,2.2rem);line-height:1.15;color:var(--fg);margin:4px 0 2px}
.res.big b{color:var(--accent-soft)}
.res small{font-size:.78rem;color:var(--fg-dim)}
.calc-foot{margin-top:16px;display:flex;flex-wrap:wrap;gap:12px 18px;align-items:center}
.calc-foot .note{flex:1;min-width:220px;margin:0}

/* ---- proof ---- */
/* The claims track the conversation as it plays: aligned to the top and pinned, so the
   column never floats in the middle of the tall phone with dead space above and below. */
.proof-grid{display:grid;grid-template-columns:1fr minmax(0,24rem);gap:56px;align-items:start;margin-top:36px}
@media (min-width:861px){.proof-grid > :first-child{position:sticky;top:96px}}
@media (max-width:860px){.proof-grid{grid-template-columns:1fr;gap:32px}}
.proof-grid > *{min-width:0}
.badge{display:inline-flex;align-items:center;gap:8px;font-size:.78rem;color:var(--fg);background:var(--bg-soft-2);border:1px solid var(--line);border-radius:100px;padding:6px 12px}
.check-list{list-style:none;padding:0;margin:22px 0 0;display:flex;flex-direction:column;gap:12px}
.check-list li{display:flex;gap:12px;align-items:flex-start;color:var(--fg-dim)}
.check-list li b{color:var(--fg)}
.check-list svg{color:var(--accent);margin-top:5px;flex-shrink:0}
.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:28px}
@media (max-width:520px){.stats{grid-template-columns:1fr}}
.stat{background:var(--bg-soft);border:1px solid var(--line);border-radius:12px;padding:14px 16px}
.stat b{font-family:'Manrope','Manrope Fallback',sans-serif;font-size:1.5rem;display:block;color:var(--accent-soft);line-height:1.15}
.stat span{font-size:.8rem;color:var(--fg-dim)}
.chat-anim .live-chat .bubble,.chat-anim .live-chat .tag{opacity:0;transform:translateY(8px);transition:opacity .35s ease,transform .35s ease}
.chat-anim .live-chat .shown{opacity:1;transform:none}
.live-chat .typing{
  position:absolute;inset-inline-start:14px;top:0;padding:10px 12px;color:var(--fg-dim);
  background:var(--bubble-in);border-radius:9px;border-top-left-radius:0;box-shadow:0 1px .5px rgba(var(--shadow-rgb),.13);opacity:0;transition:opacity .2s ease;pointer-events:none;
}
.live-chat .typing.on{opacity:1}
.staff-alert{
  max-width:22rem;margin:16px auto 0;background:var(--bg-soft-2);border:1px solid rgba(var(--accent-rgb),.45);
  border-radius:14px;padding:14px 16px;font-size:.84rem;line-height:1.5;box-shadow:0 20px 40px -26px rgba(var(--shadow-rgb),calc(.85 * var(--shadow-k)));
}
.chat-anim .staff-alert{opacity:0;transform:translateY(10px);transition:opacity .45s ease,transform .45s ease}
.chat-anim .staff-alert.shown{opacity:1;transform:none}
.staff-alert .sa-head{display:flex;align-items:center;gap:8px;font-size:.74rem;color:var(--fg-dim);margin-bottom:8px}
.staff-alert .sa-head svg{color:var(--accent-soft);flex-shrink:0}
.staff-alert .sa-head time{margin-inline-start:auto;font-family:var(--mono)}
.staff-alert b{display:block;color:var(--fg);margin-bottom:2px}
.staff-alert div.l{color:var(--fg-dim);overflow-wrap:anywhere}
.staff-alert div.l span{color:var(--fg)}

.trust-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px;margin-top:56px}
@media (max-width:760px){.trust-grid{grid-template-columns:1fr}}
.trust-card{background:var(--bg-soft);border:1px solid var(--line);border-radius:14px;padding:24px;min-width:0}
.trust-card h3{font-size:1.1rem;margin-bottom:14px}
.integ{display:flex;flex-direction:column;gap:14px}
/* compact two-up variant used in the demo sidebar, so the column doesn't tower over the phone */
.integ-tight{display:grid;grid-template-columns:1fr 1fr;gap:16px 22px}
.integ-tight .ic{width:30px;height:30px;border-radius:9px}
.integ-tight b{font-size:.88rem;line-height:1.3}
.integ-tight span{font-size:.8rem;line-height:1.35}
@media (max-width:860px){.integ-tight{grid-template-columns:1fr 1fr}}
@media (max-width:560px){.integ-tight{grid-template-columns:1fr}}
/* suggestions read better side by side when the sidebar is wide */
.panel-ask .suggestions{display:grid;grid-template-columns:1fr 1fr;gap:8px}
@media (max-width:1000px){.panel-ask .suggestions{grid-template-columns:1fr}}
.integ > div{display:flex;gap:12px;align-items:flex-start}
.integ .ic{width:36px;height:36px;border-radius:10px;display:grid;place-items:center;flex-shrink:0;background:rgba(var(--accent-rgb),.13);color:var(--accent-soft)}
.integ p{margin:0;min-width:0}
.integ b{display:block;font-size:.94rem}
.integ span{font-size:.86rem;color:var(--fg-dim)}
.trust-card .check-list{margin-top:0;gap:10px;font-size:.92rem}

/* ---- how it works: step cards ---- */
.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:clamp(14px,1.6vw,22px);margin-top:clamp(28px,3.5vw,44px)}
@media (max-width:900px){.steps{grid-template-columns:1fr}}
.step{min-width:0;padding:clamp(22px,2.4vw,32px);border-radius:var(--radius-card);background:var(--bg-soft-2);border:1px solid var(--line);box-shadow:0 18px 40px -32px rgba(var(--shadow-rgb),calc(.8 * var(--shadow-k)))}
.step .n{font-family:'Manrope','Manrope Fallback',sans-serif;font-weight:800;font-size:2.2rem;line-height:1;letter-spacing:-.03em;color:var(--accent-soft)}
.step h3{font-size:1.12rem;margin-top:16px}
.step p{color:var(--fg-dim);font-size:.94rem;margin:8px 0 0}
.step .when{display:inline-block;margin-top:12px;padding:3px 10px;border-radius:100px;font-size:.74rem;color:var(--on-lime);background:var(--lime);font-family:var(--mono)}

/* ---- pricing ---- */
.price-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:44px}
@media (max-width:900px){.price-grid{grid-template-columns:1fr}}
.price-card{
  position:relative;background:var(--bg-soft-2);border:1px solid var(--line);border-radius:14px;padding:26px;
  display:flex;flex-direction:column;gap:12px;min-width:0;transition:border-color .2s ease;
}
.price-card:hover{border-color:var(--line-strong)}
@media (max-width:420px){.price-card{padding:22px}}
.price-card.featured{border-color:var(--accent);background:linear-gradient(170deg,rgba(var(--accent-rgb),.09),var(--bg-soft-2) 45%)}
/* Muted, not coral: coral is reserved for the "without Noor" problem framing, and
   reading "START HERE" in warning red works against the offer. */
.price-card .tag-label{font-family:var(--mono);font-size:.74rem;letter-spacing:.05em;text-transform:uppercase;color:var(--fg-dim)}
.price-card .ribbon{position:absolute;top:-12px;inset-inline-end:20px;background:var(--lime);color:var(--on-lime);font-size:.74rem;font-weight:600;padding:4px 10px;border-radius:100px}
.price-card h3{font-size:1.25rem}
.price-card .price{font-family:'Manrope','Manrope Fallback',sans-serif;font-size:1.1rem;color:var(--accent-soft)}
.price-card .when{font-size:.86rem;color:var(--fg-dim)}
.price-card .suits{font-size:.86rem;color:var(--fg-dim);border-top:1px solid var(--line);padding-top:12px;margin:4px 0 0}
.price-card .suits b{color:var(--fg);font-weight:600}
.price-card ul{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:9px}
.price-card ul li{display:flex;gap:10px;align-items:flex-start;font-size:.9rem;color:var(--fg)}
.price-card ul li svg{color:var(--accent);margin-top:4px;flex-shrink:0}
.price-card .btn{margin-top:auto}
.price-note{
  display:flex;align-items:center;flex-wrap:wrap;gap:12px 16px;margin-top:24px;padding:18px 20px;
  background:var(--bg-soft);border:1px solid var(--line);border-radius:12px;font-size:.92rem;color:var(--fg-dim);
}
.price-note > span:nth-child(2){flex:1;min-width:220px}
.price-note b{color:var(--fg)}
.price-note a{font-weight:600;text-decoration:none;white-space:nowrap}
.price-note a:hover{text-decoration:underline;text-underline-offset:3px}

/* ---- faq ---- */
.faq-list{margin-top:32px;display:flex;flex-direction:column}
.faq-item{border-top:1px solid var(--line);padding-block:20px}
.faq-item:last-child{border-bottom:1px solid var(--line)}
.faq-item summary{
  cursor:pointer;font-family:'Manrope','Manrope Fallback',sans-serif;font-weight:600;font-size:1.04rem;
  list-style:none;display:flex;justify-content:space-between;align-items:center;gap:12px;transition:color .15s ease;
}
.faq-item summary:hover{color:var(--accent-soft)}
.faq-item summary::-webkit-details-marker{display:none}
.faq-item summary::marker{content:""}
.faq-item summary .plus{
  color:var(--accent-soft);font-family:var(--mono);font-size:1.1rem;flex-shrink:0;display:inline-grid;place-items:center;
  width:30px;height:30px;border:1px solid var(--line);border-radius:50%;transition:transform .2s ease,border-color .2s ease;
}
.faq-item[open] summary .plus{transform:rotate(45deg);border-color:rgba(var(--accent-rgb),.5)}
.faq-item p{color:var(--fg-dim);margin:12px 0 0;max-width:66ch}
.faq-item::details-content{block-size:0;overflow:hidden;transition:block-size .25s ease,content-visibility .25s allow-discrete}
.faq-item[open]::details-content{block-size:auto}

/* ---- book a demo ---- */
.book{position:relative;isolation:isolate;overflow:clip}
.book::before{
  content:"";position:absolute;z-index:-1;pointer-events:none;inset-inline-start:50%;top:-180px;transform:translateX(-50%);
  width:900px;height:600px;border-radius:50%;background:radial-gradient(closest-side,rgba(var(--accent-rgb),.12),rgba(var(--accent-rgb),0));
}
.book-box{
  display:grid;grid-template-columns:.85fr 1.15fr;gap:44px;
  background:linear-gradient(160deg,var(--bg-soft-2),var(--bg-soft));border:1px solid var(--line);border-radius:18px;padding:clamp(24px,4vw,56px);
}
@media (max-width:900px){.book-box{grid-template-columns:1fr;gap:32px}}
@media (max-width:560px){.book-box{padding:28px 18px}}
.book-box > *{min-width:0}
.book-box .lede{color:var(--fg-dim);margin:14px 0 0}
.next{list-style:none;padding:0;margin:26px 0 0;display:flex;flex-direction:column;gap:16px;counter-reset:n}
.next li{display:flex;gap:14px;align-items:flex-start;counter-increment:n;color:var(--fg-dim);font-size:.92rem}
.next li::before{
  content:counter(n);flex-shrink:0;width:28px;height:28px;border-radius:50%;display:grid;place-items:center;
  border:1px solid rgba(var(--accent-rgb),.5);color:var(--accent-soft);font-family:'Manrope','Manrope Fallback',sans-serif;font-size:.9rem;
}
.next li b{display:block;color:var(--fg)}
.quote-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}
@media (max-width:600px){.quote-grid{grid-template-columns:1fr}}
.field{display:flex;flex-direction:column;gap:6px;min-width:0}
.field.full{grid-column:1/-1}
.field > label,.field > .label{font-size:.84rem;color:var(--fg-dim)}
.field .opt{opacity:.75}
.field input[type=text],.field input[type=tel],.field input[type=email],.field select{
  width:100%;font:inherit;font-size:.95rem;color:var(--fg);background:var(--bg);
  border:1px solid var(--line);border-radius:9px;padding:11px 13px;min-height:46px;transition:border-color .15s ease,box-shadow .15s ease;
}
.field select{appearance:none;-webkit-appearance:none;padding-inline-end:38px;
  background-image:var(--select-arrow);
  background-repeat:no-repeat;background-position:right 14px center}
.field input::placeholder{color:var(--fg-dim);opacity:.7}
.field input:focus,.field select:focus{outline:none;border-color:var(--accent);box-shadow:0 0 0 3px rgba(var(--accent-rgb),.18)}
.field input:user-invalid,.field select:user-invalid{border-color:var(--coral)}
.choices{display:flex;flex-wrap:wrap;gap:8px}
.choice{position:relative;cursor:pointer}
.choice input{position:absolute;opacity:0;width:1px;height:1px}
.choice span{
  display:inline-flex;align-items:center;min-height:40px;padding:8px 14px;border-radius:100px;
  border:1px solid var(--line);background:var(--bg);font-size:.88rem;color:var(--fg-dim);transition:border-color .15s ease,background .15s ease,color .15s ease;
}
.choice:hover span{border-color:var(--fg-dim)}
.choice input:checked + span{border-color:var(--accent);background:rgba(var(--accent-rgb),.12);color:var(--fg)}
.choice input:focus-visible + span{outline:2px solid var(--accent);outline-offset:2px}
.form-actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px 18px;margin-top:22px}
.form-actions .btn{min-width:220px}
.form-actions small{color:var(--fg-dim);font-size:.8rem;flex:1;min-width:200px}
.form-done{margin-top:20px;padding:16px 18px;border:1px solid rgba(var(--accent-rgb),.45);border-radius:12px;background:rgba(var(--accent-rgb),.06);font-size:.9rem;color:var(--fg-dim)}
.form-done b{color:var(--fg)}
.form-done pre{
  margin:12px 0 0;padding:12px 14px;background:var(--bg);border:1px solid var(--line);border-radius:9px;
  font-family:var(--mono);font-size:.78rem;color:var(--fg);white-space:pre-wrap;overflow-wrap:anywhere;max-height:220px;overflow:auto;
}
.form-done .row{display:flex;flex-wrap:wrap;gap:10px;margin-top:12px}
.form-done .row .btn{padding:9px 16px;font-size:.88rem}
.direct{grid-column:1/-1;display:flex;flex-wrap:wrap;align-items:center;gap:10px 14px;font-size:.84rem;color:var(--fg-dim);border-top:1px solid var(--line);padding-top:22px}
.copy-chip{
  display:inline-flex;align-items:center;gap:10px;background:var(--bg);border:1px solid var(--line);
  border-radius:100px;padding:9px 16px;font-family:var(--mono);font-size:.84rem;color:var(--fg);max-width:100%;
}
.copy-chip a{color:var(--fg);text-decoration:none;overflow-wrap:anywhere}
.copy-chip a:hover{color:var(--accent-soft);text-decoration:underline;text-underline-offset:3px}
.copy-chip button{
  border:none;background:transparent;color:var(--accent-soft);cursor:pointer;font-size:.8rem;font-weight:600;
  font-family:'DM Sans','DM Sans Fallback',sans-serif;padding:8px 10px;margin:-8px -10px -8px -4px;min-width:62px;
}
.copied{color:var(--fg-dim)!important}

/* ---- footer ---- */
footer{padding-block:44px 28px;border-top:1px solid var(--line);background:var(--bg-soft)}
.footer-grid{display:flex;justify-content:space-between;flex-wrap:wrap;gap:28px 40px}
.footer-grid .brand{font-size:1.3rem}
.footer-grid p{margin:6px 0 0;font-size:.86rem;color:var(--fg-dim);max-width:32ch}
.footer-links{display:flex;flex-wrap:wrap;gap:10px 22px;font-size:.88rem}
.footer-links a,.footer-contact a{color:var(--fg-dim);text-decoration:none}
.footer-links a:hover,.footer-contact a:hover{color:var(--fg)}
.footer-contact{font-size:.88rem;display:flex;flex-direction:column;gap:6px}
.footer-contact span{font-size:.74rem;font-family:var(--mono);letter-spacing:.06em;text-transform:uppercase;color:var(--accent-soft)}
.footer-base{margin-top:32px;padding-top:18px;border-top:1px solid var(--line);font-size:.8rem;color:var(--fg-dim);display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px}

/* ---- mobile sticky CTA ---- */
.mobile-cta{
  position:fixed;z-index:30;inset-inline-start:12px;inset-inline-end:12px;bottom:calc(12px + env(safe-area-inset-bottom,0px));
  display:none;align-items:center;justify-content:space-between;gap:12px;padding:10px 10px 10px 16px;
  background:var(--bar-bg);border:1px solid var(--line);border-radius:14px;
  -webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);box-shadow:0 18px 40px -16px rgba(var(--shadow-rgb),calc(.8 * var(--shadow-k)));
  transform:translateY(calc(100% + 30px));visibility:hidden;transition:transform .3s ease,visibility 0s linear .3s;
}
.mobile-cta.show{transform:none;visibility:visible;transition:transform .3s ease,visibility 0s}
.mobile-cta span{font-size:.8rem;color:var(--fg-dim);line-height:1.3}
.mobile-cta span b{display:block;color:var(--fg);font-size:.9rem}
.mobile-cta .btn{padding:11px 16px;font-size:.9rem;flex-shrink:0}
@media (max-width:767px){.mobile-cta{display:flex}}

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

/* ---- multi-page additions ---- */
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.book-box h1{font-size:clamp(1.45rem,1rem + 1.5vw,2.1rem)}
.nav nav a.nav-cta.active{box-shadow:0 0 0 2px var(--bg),0 0 0 3px var(--accent-soft)}
.field-error{grid-column:1/-1;margin:-6px 0 0;font-size:.84rem;color:var(--coral)}
.field-error[hidden]{display:none}
.field input[aria-invalid="true"]{border-color:var(--coral)}
.sec-head.center{text-align:center}
.sec-head.center h2,.sec-head.center .lede{margin-inline:auto}
.cta-row.center{justify-content:center;margin-top:28px}

/* ---- theme switch ---- */
.nav nav{margin-inline-start:auto}
.theme-toggle{
  display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:40px;height:40px;margin-block:-4px;padding:0;
  background:transparent;color:var(--fg-dim);border:1px solid var(--line);border-radius:50%;cursor:pointer;-webkit-tap-highlight-color:transparent;
  transition:color .15s ease,border-color .15s ease;
}
.theme-toggle:hover{color:var(--fg);border-color:var(--line-strong)}
.theme-toggle .icon-sun{display:none}
:root[data-theme="dark"] .theme-toggle .icon-sun{display:block}
:root[data-theme="dark"] .theme-toggle .icon-moon{display:none}
@media (max-width:1079px){.theme-toggle{margin-inline-start:auto;order:1}.nav-toggle{order:2}}
@media (max-width:480px){.eyebrow{font-size:.7rem;letter-spacing:.05em;padding:5px 11px}}

/* ---- features: alternating cards with small product illustrations ---- */
.feature-list-x{display:flex;flex-direction:column;gap:clamp(20px,2.5vw,32px);margin-top:clamp(32px,4vw,56px)}
.feature-card{
  display:grid;grid-template-columns:1fr 1fr;gap:clamp(24px,4vw,64px);align-items:center;
  padding:clamp(22px,3.6vw,52px);border-radius:24px;border:1px solid var(--line);
  background:linear-gradient(135deg,rgba(var(--accent-rgb),.08),rgba(201,239,138,.14) 55%,var(--bg-soft-2));
}
.feature-card > *{min-width:0}
.feature-card.reverse .feature-copy{order:2}
@media (max-width:860px){.feature-card{grid-template-columns:1fr}.feature-card.reverse .feature-copy{order:0}}
.feature-copy h3{font-size:clamp(1.3rem,1rem + 1vw,1.75rem);line-height:1.2}
.feature-copy > p{color:var(--fg-dim);margin:12px 0 0}
.feature-copy .check-list{margin-top:18px;gap:10px;font-size:.95rem}
.feature-copy .check-list li{color:var(--fg)}
.feature-visual{
  position:relative;display:flex;flex-direction:column;gap:14px;padding:clamp(14px,2vw,24px);
  border-radius:18px;background:var(--bg-soft);border:1px solid var(--line);
}
.visual-note{align-self:flex-end;margin-top:-6px;font-size:.7rem;color:var(--fg-dim)}

.mock-sheet{background:var(--bg-soft-2);border:1px solid var(--line);border-radius:12px;overflow:hidden;font-size:.8rem;box-shadow:0 10px 26px -18px rgba(var(--shadow-rgb),calc(.7 * var(--shadow-k)))}
.ms-bar{display:flex;align-items:center;gap:8px;padding:9px 12px;border-bottom:1px solid var(--line);font-weight:600;white-space:nowrap}
.ms-bar small{font-weight:400;color:var(--fg-dim);overflow:hidden;text-overflow:ellipsis}
.ms-icon{display:grid;color:var(--accent-soft)}
.ms-saved{margin-inline-start:auto;flex-shrink:0;font-size:.7rem;font-weight:500;color:var(--accent-soft);background:rgba(var(--accent-rgb),.1);padding:2px 8px;border-radius:100px}
.ms-grid{display:grid;grid-template-columns:1.9fr .7fr .9fr 1fr}
.ms-grid span{padding:7px 10px;border-bottom:1px solid var(--line);border-inline-end:1px solid var(--line);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ms-grid span:nth-child(4n){border-inline-end:none}
.ms-grid span:nth-last-child(-n+4){border-bottom:none}
.ms-grid .h{background:var(--tint);color:var(--fg-dim);font-weight:600;font-size:.72rem}
.ms-grid .edited{background:rgba(var(--accent-rgb),.14);box-shadow:inset 0 0 0 2px var(--accent);font-weight:600}
.ms-grid .n{color:var(--coral);font-weight:600}
.ms-grid .offer{color:var(--accent-soft)}
.ms-grid .dim{color:var(--fg-dim)}
@media (max-width:420px){.mock-sheet{font-size:.72rem}.ms-grid span{padding:6px 7px}.ms-bar small{display:none}}

.mock-chat{
  display:flex;flex-direction:column;gap:6px;padding:14px 16px;border-radius:14px;
  background-color:var(--chat-wall);background-image:radial-gradient(var(--wall-dot) 1px,transparent 1.3px);background-size:16px 16px;
}
.mock-chat .bubble{max-width:86%}
.lang-tag{align-self:center;margin-top:4px;padding:2px 10px;border-radius:6px;font-size:.68rem;font-family:var(--mono);color:var(--fg-dim);background:var(--chat-head)}
.lang-tag:not(:first-child){margin-top:12px}
.paused-pill{align-self:center;display:inline-flex;align-items:center;gap:8px;margin-top:6px;padding:5px 12px;border-radius:100px;font-size:.72rem;background:var(--chat-head);color:var(--fg-dim)}

.flow{display:flex;flex-direction:column;gap:22px}
.flow-card{
  position:relative;display:flex;gap:12px;align-items:flex-start;padding:14px 16px;border-radius:12px;
  background:var(--bg-soft-2);border:1px solid var(--line);box-shadow:0 10px 24px -18px rgba(var(--shadow-rgb),calc(.7 * var(--shadow-k)));
}
.flow-card + .flow-card::before{content:"";position:absolute;inset-inline-start:31px;top:-23px;height:22px;border-inline-start:2px solid rgba(var(--accent-rgb),.35)}
.flow-card > div{min-width:0}
.flow-card small{display:block;font-size:.72rem;color:var(--fg-dim)}
.flow-card b{font-size:.92rem;margin-inline-end:4px}
.flow-ic{width:32px;height:32px;border-radius:9px;display:grid;place-items:center;flex-shrink:0}
.flow-ic.wa{background:var(--accent);color:var(--on-accent)}
.flow-ic.check{background:rgba(var(--accent-rgb),.15);color:var(--accent-soft)}
.flow-ic.send{background:var(--coral);color:#fff}
.chip{display:inline-block;margin:6px 6px 0 0;padding:3px 9px;border-radius:6px;font-size:.76rem;background:rgba(var(--accent-rgb),.1);color:var(--accent-soft)}

.mock-alert{background:var(--bg-soft-2);border:1px solid rgba(var(--accent-rgb),.4);border-radius:12px;padding:12px 14px;font-size:.82rem;line-height:1.5}
.ma-head{display:flex;align-items:center;gap:6px;font-size:.72rem;color:var(--fg-dim);margin-bottom:6px}
.ma-head svg{color:var(--accent-soft)}
.ma-head time{margin-inline-start:auto;font-family:var(--mono)}
.mock-alert b{display:block}
.mock-alert .l{color:var(--fg-dim);overflow-wrap:anywhere}
.mock-alert .l span{color:var(--fg)}

.flow-strip{margin-top:clamp(28px,4vw,48px);padding:clamp(20px,3vw,36px);border-radius:20px;background:var(--bg-soft);border:1px solid var(--line)}
.flow-strip h3{font-size:1.15rem;margin-bottom:16px}
.flow-strip ol{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(5,1fr);gap:16px;counter-reset:f}
.flow-strip li{position:relative;counter-increment:f;min-width:0;padding:16px;border-radius:14px;background:var(--bg-soft-2);border:1px solid var(--line);font-size:.86rem}
.flow-strip li::before{content:counter(f);display:grid;place-items:center;width:26px;height:26px;margin-bottom:10px;border-radius:50%;background:var(--accent);color:var(--on-accent);font-size:.78rem;font-weight:600}
.flow-strip li:not(:last-child)::after{content:"→";position:absolute;inset-inline-end:-14px;top:50%;transform:translateY(-50%);width:12px;text-align:center;color:var(--accent-soft);font-weight:600}
.flow-strip li b{display:block;color:var(--fg);margin-bottom:2px}
.flow-strip li span{color:var(--fg-dim)}
@media (max-width:960px){.flow-strip ol{grid-template-columns:repeat(2,1fr)}.flow-strip li::after{display:none}}
@media (max-width:520px){.flow-strip ol{grid-template-columns:1fr}}

/* ---- logo mark ---- */
.brand-mark{display:inline-grid;flex-shrink:0;width:1.75em;height:1.75em;margin-inline-end:2px}
.brand-mark svg{width:100%;height:100%}
.brand .dim{align-self:center}

/* ---- home: pricing teaser + enquiry ---- */
.teaser-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:clamp(28px,3.5vw,44px)}
@media (max-width:760px){.teaser-grid{grid-template-columns:1fr}}
.teaser{
  display:flex;flex-direction:column;gap:4px;padding:22px 24px;border-radius:16px;text-decoration:none;color:var(--fg);
  background:var(--bg-soft-2);border:1px solid var(--line);transition:border-color .15s ease,transform .15s ease;
}
.teaser:hover{border-color:var(--accent);transform:translateY(-2px)}
.teaser.featured{border-color:var(--accent);box-shadow:0 18px 40px -26px rgba(var(--shadow-rgb),calc(.9 * var(--shadow-k)))}
.teaser .tag-label{font-family:var(--mono);font-size:.72rem;letter-spacing:.05em;text-transform:uppercase;color:var(--coral)}
.teaser b{font-family:'Manrope','Manrope Fallback',sans-serif;font-size:1.25rem;font-weight:600}
.teaser .price{font-weight:600;color:var(--accent-soft)}
.teaser .sub{font-size:.86rem;color:var(--fg-dim)}
.center-link{text-align:center;margin:22px 0 0;font-size:.95rem}
.center-link a{font-weight:600;text-decoration:none}
.center-link a:hover{text-decoration:underline;text-underline-offset:3px}

.enquiry{
  display:grid;grid-template-columns:1fr 1fr;gap:clamp(24px,4vw,56px);align-items:center;
  padding:clamp(24px,4vw,56px);border-radius:24px;background:var(--accent);color:var(--on-accent);
}
@media (max-width:860px){.enquiry{grid-template-columns:1fr}}
.enquiry > *{min-width:0}
.enquiry .kicker{color:var(--on-accent);opacity:.85}
.enquiry h2{font-size:clamp(1.3rem,1rem + 1.2vw,1.95rem)}
.enquiry .lede{margin:12px 0 0;opacity:.92}
.enquiry .lede a{color:inherit;font-weight:600}
.enquiry .check-list li{color:var(--on-accent)}
.enquiry .check-list svg{color:var(--lime)}
:root[data-theme="dark"] .enquiry .check-list svg{color:var(--on-accent)}
.enquiry-form{display:flex;flex-direction:column;gap:14px;padding:clamp(18px,2.4vw,28px);border-radius:18px;background:var(--bg-soft-2);color:var(--fg)}
.enquiry-form .btn{width:100%;margin-top:4px}
.enquiry-form small{font-size:.8rem;color:var(--fg-dim);text-align:center}
/* with seven nav links, the tagline next to the logo only fits on wide screens */
@media (min-width:1080px) and (max-width:1279px){.brand .dim{display:none}}
/* dark theme: light text can't sit on the lime marker, so the key word is lime instead */
:root[data-theme="dark"] .hero h1 em{background:none;color:var(--lime);padding:0}

/* ================================================================
   SaaS pass: dark hero, metrics bar, bento grid, results box, guarantees
   ================================================================ */
.btn{border-radius:100px}
.btn-lime{background:var(--lime);color:var(--on-lime);box-shadow:0 12px 30px -14px rgba(201,239,138,.7)}
.btn-lime:hover{background:#b8e672}
/* The secondary hero action sat too close to the dark band to read as a button — a
   brighter edge and a lighter fill give it a visible shape without competing with the primary. */
.btn-ghost-light{border-color:rgba(255,255,255,.45);color:#fff;background:rgba(255,255,255,.12)}
.btn-ghost-light:hover{border-color:rgba(255,255,255,.75);background:rgba(255,255,255,.2)}
.nav nav a.nav-cta{border-radius:100px;padding-inline:16px}

/* hero: an obsidian band in both themes; local tokens recolour everything inside it */
.hero{
  --fg:#f2f8f5;--fg-dim:#b7ccc3;--line:rgba(255,255,255,.14);--accent-soft:#c9ef8a;--bg-soft-2:rgba(255,255,255,.06);
  background:var(--obsidian);color:var(--fg);padding-block:clamp(48px,6vw,112px) clamp(56px,6.5vw,120px);
}
.hero::before{background:radial-gradient(circle,rgba(44,160,128,.35) 0%,rgba(44,160,128,.1) 40%,rgba(44,160,128,0) 68%)}
.hero::after{background:radial-gradient(circle,rgba(201,239,138,.16) 0%,rgba(201,239,138,0) 62%)}
.hero h1 em,:root[data-theme="dark"] .hero h1 em{background:none;color:var(--lime);padding:0}
.hero .eyebrow{border-color:rgba(201,239,138,.35)}
.hero .live-dot{background:#4ade80}
.hero .live-dot::after{border-color:#4ade80}
.micro-trust{display:flex;align-items:center;gap:8px;margin:16px 0 0;font-size:.88rem;color:var(--fg-dim)}
.micro-trust svg{color:var(--lime);flex-shrink:0}
.trust-strip{display:flex;flex-wrap:wrap;gap:10px 22px;list-style:none;margin:28px 0 0;padding:22px 0 0;border-top:1px solid var(--line);font-size:.86rem;font-weight:500;color:var(--fg-dim)}
.trust-strip li{display:flex;align-items:center;gap:8px}
.trust-strip svg{color:var(--lime)}

/* hero visual: a light chat card, always in light colours so it reads like a real phone */
.hero-visual{position:relative;padding-bottom:64px}
.chat-card{
  --fg:#12221e;--fg-dim:#5e726c;--line:#e0e8e4;--bubble-in:#ffffff;--bubble-out:#d9f5e6;--bubble-out-fg:#12221e;--bubble-meta:#5d6f6a;
  position:relative;max-width:27rem;margin-inline:auto;border-radius:28px;overflow:hidden;color:var(--fg);
  background:#efeae2;box-shadow:0 40px 90px -30px rgba(0,0,0,.55),0 0 0 1px rgba(255,255,255,.08);
}
.cc-head{display:flex;align-items:center;gap:10px;padding:14px 16px;background:#ffffff;border-bottom:1px solid var(--line)}
.cc-head .avatar{
  width:38px;height:38px;border-radius:50%;flex-shrink:0;display:grid;place-items:center;color:#fff;
  background:linear-gradient(135deg,#2a9a7c,#145c4b);font-family:'Noto Sans Arabic',sans-serif;font-weight:600;
}
.cc-head .who{min-width:0;line-height:1.3}
.cc-head .who b{display:block;font-size:.92rem}
.cc-head .who span{display:flex;align-items:center;gap:7px;font-size:.74rem;color:var(--fg-dim)}
.cc-head .live-dot{width:7px;height:7px}
.cc-body{display:flex;flex-direction:column;gap:6px;padding:14px 16px 16px;background-image:radial-gradient(rgba(20,36,33,.06) 1px,transparent 1.3px);background-size:16px 16px}
.cc-body .bubble{font-size:.84rem;max-width:84%}
/* Tokenised rather than hardcoded white: the live demo now renders these inside the chat,
   where they have to sit correctly on the dark theme's chat wall as well as the light one. */
.order-card{align-self:flex-start;width:min(84%,19rem);padding:12px 14px;border-radius:12px;background:var(--bubble-in);border:1px solid var(--line);font-size:.8rem;box-shadow:0 1px .5px rgba(var(--shadow-rgb),.13);color:var(--fg)}
.oc-title{font-weight:700;margin-bottom:6px;font-family:'Manrope','Manrope Fallback',sans-serif}
.oc-row{display:flex;justify-content:space-between;gap:10px;padding:3px 0;color:var(--fg-dim)}
.oc-row b{color:var(--fg);font-weight:600;white-space:nowrap}
.oc-row.total{margin-top:6px;padding-top:8px;border-top:1px dashed var(--line);color:var(--fg);font-weight:700}
/* Its own token, not --accent-soft: the order card keeps a light background even inside the
   hero's dark band, where --accent-soft is redefined to lime and would be unreadable here. */
.oc-row.total b{color:var(--total-fg);font-weight:800}
.cc-foot{display:block;text-align:end;padding:12px 18px;background:#fff;border-top:1px solid var(--line);font-size:.82rem;font-weight:600;color:#176b57;text-decoration:none}
.cc-foot:hover{text-decoration:underline;text-underline-offset:3px}
.float-alert{
  position:absolute;inset-inline-start:clamp(-28px,-2vw,-12px);bottom:0;display:flex;align-items:center;gap:12px;max-width:20rem;
  padding:12px 16px;border-radius:16px;background:#fff;color:#12221e;box-shadow:0 24px 50px -18px rgba(0,0,0,.5);
  animation:float-in .7s cubic-bezier(.2,.7,.2,1) .6s both;
}
.float-alert .fa-ic{width:34px;height:34px;border-radius:10px;display:grid;place-items:center;flex-shrink:0;background:#e1f2eb;color:#176b57}
.float-alert b{display:block;font-size:.84rem}
.float-alert span{font-size:.74rem;color:#5e726c}
@keyframes float-in{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}
@media (max-width:900px){.hero-visual{padding-bottom:0}.cc-foot{text-align:start}.float-alert{position:relative;inset-inline-start:auto;margin:-18px auto 0;width:max-content;max-width:100%}}

/* metrics bar */
.metrics{background:var(--bg-soft-2);border-bottom:1px solid var(--line)}
.metrics-grid{display:grid;grid-template-columns:repeat(3,1fr);padding-block:clamp(24px,3vw,40px)}
.metric{padding:6px clamp(12px,2vw,28px);text-align:center;min-width:0}
.metric + .metric{border-inline-start:1px solid var(--line)}
.metric b{display:block;font-family:'Manrope','Manrope Fallback',sans-serif;font-weight:800;font-size:clamp(1.4rem,1rem + 1.3vw,2rem);letter-spacing:-.03em;color:var(--accent-soft);line-height:1.1}
.metric span{display:block;margin-top:6px;font-size:.88rem;color:var(--fg-dim)}
@media (max-width:700px){.metrics-grid{grid-template-columns:1fr}.metric + .metric{border-inline-start:none;border-top:1px solid var(--line)}.metric{padding-block:14px}}

/* bento features */
.bento{display:grid;grid-template-columns:repeat(12,1fr);gap:clamp(14px,1.6vw,22px);margin-top:clamp(28px,3.5vw,48px)}
.bento-card{
  display:flex;flex-direction:column;min-width:0;padding:clamp(22px,2.6vw,38px);border-radius:28px;
  background:var(--bg-soft-2);border:1px solid var(--line);box-shadow:0 24px 50px -40px rgba(var(--shadow-rgb),calc(.9 * var(--shadow-k)));
}
.bento-card.span-7{grid-column:span 7}
.bento-card.span-5{grid-column:span 5}
@media (max-width:900px){.bento-card.span-7,.bento-card.span-5{grid-column:1 / -1}}
.bento-badge{align-self:flex-start;margin-bottom:14px;padding:5px 12px;border-radius:100px;font-size:.72rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--accent-soft);background:rgba(var(--accent-rgb),.1)}
.bento-card h3{font-size:clamp(1.25rem,1rem + .7vw,1.6rem)}
.bento-card > p{color:var(--fg-dim);margin:10px 0 0}
.bento-visual{margin-top:auto;padding-top:24px}
.bento-visual .mock-sheet{box-shadow:none}
.tg-card{padding:16px 18px;border-radius:16px;background:var(--accent);color:var(--on-accent);font-size:.86rem;line-height:1.5;box-shadow:0 18px 40px -20px rgba(var(--accent-rgb),.6)}
.tg-card .tg-head{display:flex;align-items:center;gap:8px;font-size:.74rem;opacity:.85;margin-bottom:6px}
.tg-card .tg-head time{margin-inline-start:auto;font-family:var(--mono)}
.tg-card b{display:block;font-size:.95rem}
.tg-card .l{opacity:.85;overflow-wrap:anywhere}
.tg-card .l span{opacity:1;font-weight:600}
.lang-pair,.handoff{display:flex;flex-direction:column;gap:6px;padding:14px 16px;border-radius:16px;background-color:var(--chat-wall);background-image:radial-gradient(var(--wall-dot) 1px,transparent 1.3px);background-size:16px 16px}
.lang-pair .bubble,.handoff .bubble{font-size:.84rem;max-width:86%}
.handoff .paused-pill{display:inline-flex;align-items:center;gap:8px;align-self:center;margin-top:6px;padding:6px 14px;border-radius:100px;font-size:.76rem;font-weight:600;background:var(--chat-head);color:var(--fg)}
.pp-dot{width:8px;height:8px;border-radius:50%;background:#eab308}

/* calculator results: high-contrast box with the CTA inside */
.results-box{padding:clamp(20px,2.4vw,32px);border-radius:28px;background:var(--obsidian);color:#f2f8f5;box-shadow:var(--shadow-lg)}
.rb-title{font-size:1.1rem;margin-bottom:14px;color:#f2f8f5}
.results-box .res{background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.12);border-radius:18px}
.results-box .res span{color:#b7ccc3}
.results-box .res b{color:#fff}
.results-box .res.big{background:rgba(201,239,138,.1);border-color:rgba(201,239,138,.45)}
.results-box .res.big b{color:var(--lime)}
.results-box .res small{color:#9fb8ae}
.results-box .calc-foot{margin-top:18px}
.results-box .note{color:#b7ccc3}

/* guarantees + primary pricing cards */
.guarantee{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;list-style:none;margin:clamp(20px,2.5vw,28px) 0 0;padding:0}
.guarantee li{display:inline-flex;align-items:center;gap:8px;padding:8px 14px;border-radius:100px;font-size:.86rem;font-weight:600;background:var(--bg-soft-2);border:1px solid var(--line);color:var(--fg)}
.guarantee svg{color:var(--accent-soft)}
#pricing .guarantee{justify-content:flex-start}
.price-card,.teaser,.trust-card,.feature-card,.panel{border-radius:var(--radius-card)}
.price-card.primary{border-color:var(--accent);box-shadow:var(--shadow-lg)}
.price-card.featured{box-shadow:var(--shadow-lg)}
.teaser-grid.two{grid-template-columns:repeat(2,1fr);max-width:58rem;margin-inline:auto}
@media (max-width:760px){.teaser-grid.two{grid-template-columns:1fr}}
.teaser{padding:clamp(22px,2.6vw,34px);gap:6px}
.teaser.featured{box-shadow:var(--shadow-lg)}
.teaser .tag-label{color:var(--accent-soft)}
.teaser .sub{margin-top:4px}
.teaser .more{margin-top:12px;font-weight:600;font-size:.9rem;color:var(--accent-soft)}
.enquiry{border-radius:28px;box-shadow:var(--shadow-lg)}
:root[data-theme="dark"] .enquiry{background:#176b57;color:#fff}
:root[data-theme="dark"] .enquiry .kicker{color:#fff}
:root[data-theme="dark"] .enquiry .check-list li{color:#fff}
:root[data-theme="dark"] .enquiry .check-list svg{color:var(--lime)}

/* ---- live demo ---- */
.live-label{display:inline-flex;align-items:center;gap:10px;margin:22px 0 0;padding:8px 16px;border-radius:100px;
  background:var(--lime);color:var(--on-lime);font-size:.92rem}
.live-label .live-dot{background:#16a34a}
.live-label .live-dot::after{border-color:#16a34a}
.suggestions{display:flex;flex-direction:column;gap:8px}
.suggestions .reply-btn{margin-top:0;background:var(--bg-soft-2)}
.suggest-note{margin:12px 0 0}
.meter{margin:0;font-size:.95rem;color:var(--fg-dim)}
.meter b{font-family:'Manrope','Manrope Fallback',sans-serif;font-size:1.8rem;font-weight:800;color:var(--accent-soft);margin-inline-end:4px}
/* The gate fills the same space the chat will occupy and is centred in it, so the
   submit button is always visible — it must never scroll inside the phone frame. */
.demo-gate{display:flex;flex-direction:column;justify-content:center;gap:12px;min-height:470px;padding:26px 20px;background:var(--chat-head)}
.gate-title{margin:0;font-family:'Manrope','Manrope Fallback',sans-serif;font-weight:800;font-size:1.15rem}
.gate-sub{margin:-4px 0 4px;font-size:.86rem;color:var(--fg-dim)}
.demo-gate .field input{min-height:42px}
.demo-gate .btn{margin-top:4px}
.chat.interactive[hidden],.demo-gate[hidden],.live-input[hidden]{display:none}
.live-input{gap:8px}
.live-input input{flex:1;min-width:0;padding:10px 14px;border-radius:22px;border:1px solid var(--line);background:var(--chat-head);color:var(--fg);font:inherit;font-size:.9rem}
.live-input input:focus{outline:none;border-color:var(--accent)}
.live-input input:disabled{opacity:.6}
.live-input .pi-send{border:none;cursor:pointer}
.live-input .pi-send:disabled{opacity:.45;cursor:default}
/* Condensed replacement for the stacked privacy list in the proof section: the same four
   commitments, read as a row of short claims rather than four sentences. The detail behind each
   one lives in the FAQ, which is where someone who actually wants it will look. */
/* ---- soft botanical backdrop -------------------------------------------------------------
   A leaf is a square with two opposite corners fully rounded, so these need no image files and
   no licensing. The tint comes from --accent-rgb, so they follow the palette switcher and fade
   correctly in dark mode. Purely decorative: aria-hidden by virtue of being pseudo-elements,
   pointer-events off, and sitting behind a z-indexed .wrap so they never intercept a click. */
#how, .cta-sec{position:relative;overflow:hidden}
#how > .wrap, .cta-sec > .wrap{position:relative;z-index:1}
#how::before, #how::after, .cta-sec::before, .cta-sec::after{
  content:'';position:absolute;pointer-events:none;z-index:0;
  border-radius:0 100% 0 100%;background:rgba(var(--accent-rgb),.07);
}
/* Mostly inside the section, so the pointed leaf form reads rather than a clipped curve. */
#how::before{width:150px;height:150px;top:38px;inset-inline-start:-28px;transform:rotate(-24deg)}
#how::after{width:112px;height:112px;bottom:34px;inset-inline-end:-20px;transform:rotate(34deg);opacity:.8}
.cta-sec::before{width:300px;height:300px;top:-110px;inset-inline-end:-90px;transform:rotate(38deg);background:rgba(255,255,255,.06)}
.cta-sec::after{width:200px;height:200px;bottom:-80px;inset-inline-start:-60px;transform:rotate(-22deg);background:rgba(255,255,255,.05)}
@media (max-width:700px){#how::before{width:170px;height:170px;top:-50px;inset-inline-start:-70px}#how::after{display:none}.cta-sec::before{width:190px;height:190px}.cta-sec::after{display:none}}
/* No prefers-reduced-transparency guard: these are flat low-contrast shapes behind nothing,
   not a transparency effect that hurts legibility, and that query fires whenever Windows has
   "Transparency effects" switched off — which silently deleted the design for those users. */
@media (min-width:0){#how::before,#how::after,.cta-sec::before,.cta-sec::after{display:block}}
.privacy-row{margin-top:clamp(18px,2.4vw,26px);padding-top:clamp(16px,2vw,22px);border-top:1px solid var(--line)}
.privacy-row h3{font-size:.82rem;font-weight:700;color:var(--fg-dim);letter-spacing:.02em;margin:0 0 10px}
.privacy-row ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:8px 20px}
.privacy-row li{display:flex;align-items:center;gap:7px;font-size:.85rem;color:var(--fg-dim);line-height:1.4}
.privacy-row li svg{flex:none;color:var(--accent-soft)}
.privacy-row li b{color:var(--fg);font-weight:600}
@media (max-width:560px){.privacy-row ul{gap:9px}.privacy-row li{width:100%}}
.cap-note{max-width:94%;line-height:1.5;font-size:.78rem;color:var(--fg)}
.cap-note a{font-weight:700}
/* The request form that opens in the chat when the ten demo messages run out. Zolx speaking to
   the visitor, not Noor, so it is deliberately site chrome (card, inputs, button) rather than a
   WhatsApp bubble — it sits centred on the chat wall like the Telegram card does. */
.req-card{align-self:center;width:min(94%,22rem);padding:13px 15px;border-radius:12px;background:var(--bubble-in);border:1px solid var(--line);box-shadow:0 1px .5px rgba(var(--shadow-rgb),.13);font-size:.8rem;color:var(--fg)}
.rq-title{font-weight:800;font-size:.9rem;line-height:1.3;font-family:'Manrope','Manrope Fallback',sans-serif}
.rq-sub{margin-top:4px;color:var(--fg-dim);line-height:1.45}
.rq-form{margin-top:11px;display:flex;flex-direction:column;gap:7px}
.rq-input{width:100%;padding:9px 11px;border:1px solid var(--line);border-radius:9px;background:var(--bg);color:var(--fg);font-family:inherit;font-size:.8rem}
.rq-input::placeholder{color:var(--fg-dim)}
.rq-input:focus-visible{outline:2px solid var(--accent);outline-offset:1px;border-color:var(--accent)}
.rq-notes{resize:vertical;min-height:2.4rem;line-height:1.4}
.rq-send{width:100%;padding:10px 14px;border:0;border-radius:9px;background:var(--accent);color:var(--on-accent);font-family:inherit;font-weight:700;font-size:.82rem;cursor:pointer}
.rq-send:hover:not(:disabled){filter:brightness(1.06)}
.rq-send:disabled{opacity:.6;cursor:default}
.rq-err{color:var(--coral);line-height:1.45}
.rq-alt{margin-top:9px;color:var(--fg-dim);font-size:.76rem}
.rq-alt a{font-weight:700}

/* ---- WhatsApp-native demo elements: tap-to-reply buttons, list picker, Telegram alert ---- */
.phone-screen{position:relative}
.wa-btns{align-self:flex-start;width:min(80%,17rem);display:flex;flex-direction:column;gap:2px;margin-top:-2px}
.wa-btn{background:var(--bubble-in);color:var(--accent-soft);border:0;border-radius:9px;padding:9px 10px;font-family:inherit;font-weight:600;font-size:.82rem;line-height:1.2;text-align:center;cursor:pointer;box-shadow:0 1px .5px rgba(var(--shadow-rgb),.13)}
.wa-btn:hover:not(:disabled){filter:brightness(1.07)}
.wa-btn:disabled{opacity:.5;cursor:default}
.wa-sheet-back{position:absolute;inset:0;background:rgba(0,0,0,.45);z-index:20}
.wa-sheet{position:absolute;inset-inline-start:0;inset-inline-end:0;bottom:0;max-height:75%;display:flex;flex-direction:column;background:var(--chat-head);color:var(--fg);border-radius:18px 18px 0 0;z-index:21;box-shadow:0 -4px 18px rgba(0,0,0,.25)}
.wa-sheet-head{display:flex;align-items:center;gap:12px;padding:14px 16px;border-bottom:1px solid var(--line);font-size:.92rem}
.wa-sheet-x{background:none;border:0;color:var(--fg-dim);font-size:1rem;cursor:pointer;padding:2px 4px}
.wa-sheet-rows{overflow-y:auto;padding:4px 0}
.wa-row{display:flex;align-items:center;gap:12px;width:100%;padding:11px 16px;background:none;border:0;border-bottom:1px solid var(--line);color:inherit;text-align:start;cursor:pointer;font:inherit}
.wa-row-txt{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.wa-row-title{font-size:.86rem;font-weight:600}
.wa-row-desc{font-size:.76rem;color:var(--fg-dim)}
.wa-radio{width:18px;height:18px;border-radius:50%;border:2px solid var(--fg-dim);flex-shrink:0}
.wa-row.on .wa-radio{border-color:var(--accent-soft);box-shadow:inset 0 0 0 3px var(--chat-head);background:var(--accent-soft)}
.wa-sheet-foot{padding:10px 16px 16px}
.wa-sheet-send{width:100%;padding:10px;border:0;border-radius:22px;background:var(--accent-soft);color:#fff;font-family:inherit;font-weight:600;font-size:.88rem;cursor:pointer}
.wa-sheet-send:disabled{opacity:.4;cursor:default}
.wa-tg-card{align-self:center;width:min(88%,21rem);padding:10px 12px;border-radius:12px;background:var(--bubble-in);border:1px solid var(--line);border-inline-start:3px solid #2aabee;font-size:.78rem;color:var(--fg)}
.wa-tg-head{font-size:.68rem;font-weight:700;color:#2aabee;margin-bottom:5px;letter-spacing:.02em}
.wa-tg-msg{display:flex;flex-direction:column;gap:2px;line-height:1.4}

.phone-head .avatar{font-size:1.15rem;line-height:1}

/* multi-select picker (WhatsApp Flow style): checkbox, quantity stepper */
.wa-hint{padding:8px 16px 2px;font-size:.74rem;color:var(--fg-dim)}
.wa-check{width:20px;height:20px;border-radius:5px;border:2px solid var(--fg-dim);flex-shrink:0;display:inline-flex;align-items:center;justify-content:center}
.wa-row.on .wa-check{background:var(--accent-soft);border-color:var(--accent-soft)}
.wa-row.on .wa-check::after{content:"✓";color:#fff;font-size:.8rem;line-height:1;font-weight:700}
.wa-step{display:inline-flex;align-items:center;gap:8px;flex-shrink:0}
.wa-step[hidden]{display:none}
.wa-step-b{width:26px;height:26px;border-radius:50%;border:1px solid var(--line);background:var(--bubble-in);color:var(--fg);font-size:1rem;line-height:1;cursor:pointer;padding:0}
.wa-step-n{min-width:1ch;text-align:center;font-weight:700;font-size:.86rem}
.wa-row:focus-visible{outline:2px solid var(--accent-soft);outline-offset:-2px}

/* ---- Home: "Who it's for" cards ---- */
.who-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:40px}
.who-card{display:flex;flex-direction:column;gap:8px;padding:24px;border-radius:20px;background:var(--bg-soft-2);border:1px solid var(--line);color:inherit;text-decoration:none;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}
.who-card:hover,.who-card:focus-visible{transform:translateY(-3px);border-color:var(--accent);box-shadow:0 18px 40px -22px rgba(var(--accent-rgb),.5)}
.who-ic{width:46px;height:46px;border-radius:13px;background:var(--bg-soft);display:flex;align-items:center;justify-content:center;font-size:1.45rem;line-height:1}
.who-card h3{font-size:1.15rem;margin:8px 0 0}
.who-card p{color:var(--fg-dim);margin:0;font-size:.95rem;line-height:1.55}
.who-go{margin-top:auto;padding-top:10px;color:var(--accent-soft);font-weight:600;font-size:.9rem}
@media (max-width:900px){.who-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:580px){.who-grid{grid-template-columns:1fr}.who-card{padding:20px}}
@media (prefers-reduced-motion:reduce){.who-card{transition:none}.who-card:hover{transform:none}}

/* Booking form: honeypot (hidden from people, visible to bots) and error state */
.hp{position:absolute;inset-inline-start:-9999px;width:1px;height:1px;overflow:hidden}
.form-done.is-error{border-color:rgba(220,80,70,.55);background:rgba(220,80,70,.07)}
.form-actions .btn[disabled]{opacity:.7;cursor:progress}
.hero .eyebrow{border-color:color-mix(in srgb,var(--lime) 35%,transparent)}
.palette{position:relative}
.palette-btn{width:40px;height:40px;border-radius:50%;border:1px solid var(--line);background:var(--bg-soft-2);display:grid;place-items:center;cursor:pointer;padding:0}
.palette-btn:hover{border-color:var(--line-strong)}
.palette-btn i,.palette-menu i{display:block;width:18px;height:18px;border-radius:50%;background:var(--sw);box-shadow:inset 0 0 0 2px rgba(255,255,255,.55)}
.palette-menu{position:absolute;inset-inline-end:0;top:calc(100% + 8px);z-index:60;display:flex;gap:6px;padding:8px;border-radius:14px;background:var(--bg-soft-2);border:1px solid var(--line);box-shadow:var(--shadow-lg)}
.palette-menu[hidden]{display:none}
.palette-menu button{width:36px;height:36px;border-radius:50%;border:2px solid transparent;background:none;display:grid;place-items:center;cursor:pointer;padding:0}
.palette-menu button[aria-pressed="true"]{border-color:var(--fg)}
.palette-menu i{width:20px;height:20px}
@media (max-width:1079px){.palette{margin-inline-start:auto;order:1}.palette+.theme-toggle{margin-inline-start:8px}}

/* ===== Forest palette (default) + compact homepage layout ===== */
:root[data-palette="forest"]{--bg:#f7faf8;--bg-soft:#edf5ef;--fg:#15251f;--fg-dim:#61716a;--accent:#176b57;--accent-rgb:23,107,87;--accent-soft:#176b57;--accent-hover:#0f5143;--lime:#d9f77b;--on-lime:#183326;--obsidian:#0c3026;--line:#dce7e0;--line-strong:#c4d6cb;--nav-bg:rgba(247,250,248,.92);--total-fg:#176b57;--select-arrow:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23087b50' stroke-width='1.6'/%3E%3C/svg%3E")}
:root[data-palette="forest"][data-theme="dark"]{--bg:#0e1a14;--bg-soft:#14241b;--bg-soft-2:#1b3126;--fg:#eef7f1;--fg-dim:#b3c9bb;--accent:#86efac;--accent-rgb:134,239,172;--on-accent:#052e16;--accent-soft:#86efac;--accent-hover:#6ee7a0;--lime:#86efac;--on-lime:#052e16;--obsidian:#07150e;--nav-bg:#0e1a14e0;--card-glass:#1b3126db;--bar-bg:#14241bf5;--total-fg:#86efac;--chat-head:#14241b;--line:rgba(255,255,255,.12);--line-strong:rgba(255,255,255,.24)}
:root[data-palette="forest"]:not([data-theme="dark"]) .hero{--fg:#0f2a1d;--fg-dim:#46594d;--line:rgba(15,42,29,.14);--accent-soft:#176b57;--bg-soft-2:#ffffff;background:linear-gradient(180deg,#e3f3e8 0%,#f2f9f4 70%,#f6faf7 100%)}
:root[data-palette="forest"]:not([data-theme="dark"]) .hero::before{background:radial-gradient(circle,rgba(34,160,90,.2) 0%,rgba(34,160,90,0) 66%)}
:root[data-palette="forest"]:not([data-theme="dark"]) .hero::after{background:radial-gradient(circle,rgba(187,247,208,.8) 0%,rgba(187,247,208,0) 62%)}
:root[data-palette="forest"]:not([data-theme="dark"]) .hero h1 em{background:none;color:#176b57;padding:0}
:root[data-palette="forest"]:not([data-theme="dark"]) .hero .eyebrow{border-color:rgba(23,107,87,.3);color:#176b57;background:rgba(187,247,208,.5)}
:root[data-palette="forest"]:not([data-theme="dark"]) .hero .btn-lime{background:#176b57;color:#fff;box-shadow:0 12px 28px -14px rgba(23,107,87,.6)}
:root[data-palette="forest"]:not([data-theme="dark"]) .hero .btn-lime:hover{background:#0f5143}
:root[data-palette="forest"]:not([data-theme="dark"]) .hero .btn-ghost-light{border-color:#176b57;color:#176b57;background:#fff}
:root[data-palette="forest"]:not([data-theme="dark"]) .hero .btn-ghost-light:hover{background:#ecf7f0}
:root[data-palette="forest"]:not([data-theme="dark"]) .hero .micro-trust svg,:root[data-palette="forest"]:not([data-theme="dark"]) .hero .trust-strip svg{color:#176b57}
:root[data-palette="forest"] .cc-foot{color:var(--accent-soft)}

/* Vertical rhythm. Loosened from the earlier compressed values: the page was readable but
   crowded, and the extra breathing room is what makes a landing page feel composed rather
   than busy. Still clamped, so phones don't inherit desktop-sized gaps. */
section{padding-block:clamp(40px,4.4vw,72px)}
section.tight{padding-block:clamp(36px,4vw,64px)}
.hero{padding-block:clamp(26px,3vw,44px) clamp(30px,3.6vw,56px)}
.sec-head{margin-bottom:clamp(18px,2.2vw,30px)}
.sec-head .lede{margin-top:8px}
.proof-grid{margin-top:22px;gap:clamp(24px,3.5vw,44px)}
.trust-grid{margin-top:28px}
.h2-left{font-size:clamp(1.3rem,1rem + 1.2vw,1.95rem);max-width:30ch}

/* benefits */
.ben-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.ben{padding:20px;border-radius:16px;background:var(--bg-soft-2);border:1px solid var(--line)}
.ben-ic{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:var(--bg-soft);color:var(--accent-soft);margin-bottom:12px}
.ben h3{font-size:1.02rem;line-height:1.25}
.ben p{margin:6px 0 0;font-size:.9rem;color:var(--fg-dim);line-height:1.5}
@media (max-width:980px){.ben-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:520px){.ben-grid{grid-template-columns:1fr}.ben{padding:16px}}

/* how it works */
.how-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,26rem);gap:clamp(28px,5vw,64px);align-items:center}
.how-steps{list-style:none;margin:20px 0 0;padding:0;display:flex;flex-direction:column;gap:18px}
.how-steps li{display:flex;gap:14px;align-items:flex-start}
.hn{flex:none;display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:var(--accent);color:var(--on-accent);font-weight:800;font-size:.95rem}
.how-steps h3{font-size:1.05rem}
.how-steps p{margin:4px 0 0;font-size:.92rem;color:var(--fg-dim);line-height:1.55}
.how-steps .when{display:inline-block;margin-top:6px;padding:2px 10px;border-radius:100px;font-size:.74rem;color:var(--on-lime);background:var(--lime);font-family:var(--mono)}
.how-visual{display:flex;flex-direction:column;gap:8px;min-width:0}
.hv-label{font-family:var(--mono);font-size:.72rem;letter-spacing:.04em;text-transform:uppercase;color:var(--fg-dim)}
.hv-label:not(:first-child){margin-top:8px}
@media (max-width:900px){.how-grid{grid-template-columns:1fr}.how-visual{max-width:30rem}}

/* features */
.feat-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:16px}
.feat{grid-column:span 2;padding:20px;border-radius:16px;background:var(--bg-soft-2);border:1px solid var(--line);min-width:0}
.feat:nth-child(n+4){grid-column:span 3}
.feat h3{font-size:1.05rem}
.feat p{margin:6px 0 0;font-size:.9rem;color:var(--fg-dim);line-height:1.5}
.feat-vis{margin-top:14px;max-height:15rem;overflow:hidden}
@media (max-width:900px){.feat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.feat,.feat:nth-child(n+4){grid-column:span 1}.feat:last-child{grid-column:span 2}}
@media (max-width:600px){.feat-grid{grid-template-columns:1fr}.feat,.feat:nth-child(n+4),.feat:last-child{grid-column:span 1}}
.chip-label{text-align:center;margin:26px 0 10px;font-size:.88rem;color:var(--fg-dim)}
.chips{display:flex;flex-wrap:wrap;justify-content:center;gap:10px}
.chip{display:inline-flex;align-items:center;gap:6px;padding:9px 16px;border-radius:100px;border:1px solid var(--line-strong);background:var(--bg-soft-2);color:var(--fg);font-weight:600;font-size:.9rem;text-decoration:none;min-height:40px}
.chip:hover,.chip:focus-visible{border-color:var(--accent);color:var(--accent-soft)}

/* closing banner + dark footer */
.cta-sec{padding-block:clamp(10px,2vw,24px) clamp(34px,4vw,56px)}
.cta-band{display:flex;align-items:center;justify-content:space-between;gap:24px 32px;flex-wrap:wrap;padding:clamp(24px,3.4vw,40px);border-radius:20px;background:var(--obsidian);color:#fff}
.cta-band h2{color:#fff;font-size:clamp(1.25rem,1rem + 1vw,1.75rem);max-width:26ch}
.cta-band p{margin:8px 0 0;color:#cfe5d8;max-width:46ch}
.cta-actions{display:flex;flex-wrap:wrap;gap:12px}
.cta-band .btn-lime{background:#86efac;color:#052e16}
.cta-band .btn-lime:hover{background:#6ee7a0}
@media (max-width:560px){.cta-actions .btn{flex:1 1 100%}}
footer{background:var(--obsidian);border-top:0;color:#cfe5d8}
footer .brand,footer .footer-links a,footer .footer-contact a{color:#fff}
footer .footer-links a:hover,footer .footer-contact a:hover{color:#86efac}
footer p,footer .footer-contact span,footer .footer-base{color:#9fbfae}
footer .footer-base{border-top-color:rgba(255,255,255,.14)}
.proof-grid .trust-grid{grid-template-columns:1fr;gap:14px;margin-top:22px}
.proof-grid .trust-card{padding:18px 20px}
.cta-band>div:first-child{flex:1 1 20rem}
.cta-band h2{max-width:32ch}
footer p{color:#b7d3c3}
@media (max-width:520px){.ben{display:grid;grid-template-columns:44px 1fr;column-gap:14px;align-items:start}.ben-ic{grid-row:span 2;margin:0}.ben h3{align-self:end}}

/* ===== Sample design pass: tokens, cards, proof panel, footer ===== */
:root[data-palette="forest"]:not([data-theme="dark"]){--bg:#ffffff;--bg-soft:#f4faf5;--bg-soft-2:#ffffff;--fg:#15372f;--fg-dim:#5b7268;--accent:#176b57;--accent-rgb:23,107,87;--accent-soft:#176b57;--accent-hover:#0f5143;--lime:#d9f77b;--on-lime:#183326;--obsidian:#0c3026;--line:#dcebe0;--line-strong:#b9d6c3;--nav-bg:rgba(255,255,255,.92);--total-fg:#176b57}
:root[data-palette="forest"]:not([data-theme="dark"]) .hero{--fg:#123d32;--fg-dim:#536f63;background:radial-gradient(ellipse at 77% 36%,#dff4e2 0,transparent 35%),linear-gradient(115deg,#f8fcf8 0%,#edf8f0 100%)}
:root[data-palette="forest"]:not([data-theme="dark"]) .hero h1 em,:root[data-palette="forest"]:not([data-theme="dark"]) .hero .btn-ghost-light,:root[data-palette="forest"]:not([data-theme="dark"]) .hero .eyebrow{color:#176b57}
:root[data-palette="forest"]:not([data-theme="dark"]) .hero .btn-lime{background:#176b57}
:root[data-palette="forest"]:not([data-theme="dark"]) .hero .btn-lime:hover{background:#0f5143}
:root[data-palette="forest"]:not([data-theme="dark"]) .hero .btn-ghost-light{border-color:#a8cdb6}
.metrics{background:#fff}
.metric b{color:var(--accent-soft)}
.icon-box{display:grid;place-items:center;width:42px;height:42px;border-radius:13px;background:#e6f6eb;color:var(--accent-soft)}
.icon-box svg{width:22px;height:22px}
.fcard{display:flex;flex-direction:column;padding:20px;border-radius:19px;background:var(--bg-soft-2);border:1px solid var(--line);min-width:0;transition:transform .2s,box-shadow .2s}
.fcard:hover,.ben:hover{transform:translateY(-3px);box-shadow:0 18px 44px rgba(22,75,50,.1)}
.fc-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}
.fc-tag{font-size:.72rem;font-weight:700;color:#188356;background:#e8f7ec;padding:4px 9px;border-radius:999px}
.fcard h3{font-size:1.05rem}
.fcard p{margin:6px 0 0;font-size:.9rem;line-height:1.55;color:var(--fg-dim)}
.mini-chat{margin-top:auto;padding-top:14px}
.mini-chat{display:grid;gap:7px}
.mini-chat::before{content:"";display:block}
.mini-msg{max-width:92%;padding:7px 10px;border-radius:10px;font-size:.78rem;background:#fff;border:1px solid #e5ece6;color:#587165}
.mini-msg.right{justify-self:end;background:#dff5e5;border-color:#d4eedb}
.fcard .mini-chat{margin-top:14px;padding:11px;border-radius:13px;background:#f5faf6;border:1px solid #e5efe7}
.feat-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.fcard,.fcard:nth-child(n+4){grid-column:auto}
@media (max-width:900px){.feat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:600px){.feat-grid{grid-template-columns:1fr}}
.how-visual{padding:20px;border-radius:24px;background:#fff;border:1px solid var(--line);box-shadow:0 18px 50px rgba(35,78,53,.08)}
.proof-visual{padding:clamp(18px,2.6vw,30px);border-radius:30px;background:linear-gradient(145deg,#e9f7ed,#d5efdc);display:flex;flex-direction:column;align-items:center;gap:12px}
.proof-visual .phone{margin-inline:auto}
@media (min-width:861px){.proof-grid{grid-template-columns:1fr minmax(0,27rem);align-items:start}.proof-grid > :first-child{position:static}}
.chip{font-size:.85rem}
.cta-band{position:relative;overflow:hidden;background:linear-gradient(115deg,#0c4936,#073d2d);border-radius:27px}
.cta-band::after{content:"";position:absolute;width:230px;height:230px;border:1px solid rgba(255,255,255,.1);border-radius:50%;inset-inline-end:27%;top:-140px;box-shadow:0 0 0 30px rgba(255,255,255,.03),0 0 0 60px rgba(255,255,255,.02);pointer-events:none}
.cta-band>*{position:relative;z-index:1}
.cta-band .btn-lime{background:#c8f58c;color:#163c2d}
.cta-band .btn-lime:hover{background:#b8ea78}
.nav{background:rgba(255,255,255,.92);backdrop-filter:blur(16px)}
.nav nav a[aria-current="page"]{color:var(--accent-soft)}
footer{background:#0c3026}
.footer-grid{display:grid;grid-template-columns:1.2fr 1fr .7fr;gap:28px 35px;align-items:start}
.footer-links{display:grid;grid-template-columns:1fr 1fr;gap:12px 18px;align-content:start}
@media (max-width:760px){.footer-grid{grid-template-columns:1fr 1fr}.footer-grid>:first-child,.footer-grid>:last-child{grid-column:1/-1}}
@media (max-width:600px){.fcard .mini-chat{display:none}.fcard{padding:16px}.fc-top{margin-bottom:10px}}
@media (max-width:700px){.metrics-grid{grid-template-columns:repeat(3,minmax(0,1fr));padding-block:16px}.metric{padding:4px 6px}.metric + .metric{border-inline-start:1px solid var(--line);border-top:0}.metric b{font-size:1.1rem}.metric span{font-size:.7rem;line-height:1.3}}

/* ===== Sample-page look (forest): pill kickers, soft hero circles, lifted cards, mint proof panel ===== */
:root[data-palette="forest"]:not([data-theme="dark"]) .hero{background:radial-gradient(ellipse at 77% 36%,#dff4e2 0,transparent 35%),linear-gradient(115deg,#f8fcf8 0%,#edf8f0 100%)}
:root[data-palette="forest"]:not([data-theme="dark"]) .hero::before{inset:auto;width:280px;height:280px;inset-inline-end:9%;top:60px;inset-inline-start:auto;bottom:auto;border-radius:50%;background:#d6efcf;opacity:.45;filter:none}
:root[data-palette="forest"]:not([data-theme="dark"]) .hero::after{inset:auto;width:110px;height:110px;inset-inline-end:43%;top:155px;inset-inline-start:auto;bottom:auto;border-radius:50%;background:#d6efcf;opacity:.45;filter:none}
:root[data-palette="forest"]:not([data-theme="dark"]) .hero h1 em{color:#176b57}
:root[data-palette="forest"] .kicker{display:inline-flex;align-items:center;padding:6px 12px;border-radius:999px;background:#dff2e5;border:1px solid #d0ead9;color:#176b57;font-family:'DM Sans',sans-serif;font-size:.72rem;font-weight:800;letter-spacing:.035em}
:root[data-palette="forest"][data-theme="dark"] .kicker{background:rgba(134,239,172,.12);border-color:rgba(134,239,172,.25);color:var(--accent-soft)}
.ben,.feat{transition:transform .2s,box-shadow .2s}
.ben:hover,.feat:hover{transform:translateY(-4px);box-shadow:0 22px 60px rgba(22,75,50,.12)}
.ben,.feat{border-radius:19px}
/* Circular icon chips. The tint is derived from the accent rather than a fixed light green,
   so it follows the palette switcher and stays readable in dark mode instead of putting a pale
   glyph on a pale square. */
.ben-ic{border-radius:50%;background:rgba(var(--accent-rgb),.13)}
.ben-ic.sm{width:44px;height:44px;margin:0;border-radius:50%}
.metrics-strip{background:#fff;border-bottom:1px solid var(--line)}
.mstrip-grid{display:grid;grid-template-columns:repeat(3,1fr);padding:16px 20px}
.mstrip-grid>div{text-align:center;padding:4px 16px;border-inline-end:1px solid var(--line)}
.mstrip-grid>div:last-child{border:0}
.mstrip-grid b{display:block;font:800 1.55rem Manrope,'Manrope Fallback',sans-serif;letter-spacing:-.03em;color:var(--accent-soft)}
.mstrip-grid span{font-size:.8rem;color:var(--fg-dim)}
@media (max-width:560px){.mstrip-grid{padding:12px 8px}.mstrip-grid>div{padding:2px 6px}.mstrip-grid b{font-size:1.1rem}.mstrip-grid span{font-size:.68rem}}
.feat-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.feat,.feat:nth-child(n+4){grid-column:auto}
.feat-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}
.feat-tag{font-size:.7rem;font-weight:700;color:#188356;background:#e8f7ec;padding:4px 9px;border-radius:999px}
.mini-chat{margin-top:14px;background:#f5faf6;border:1px solid #e5efe7;border-radius:13px;padding:10px;display:grid;gap:7px}
.mini-msg{max-width:92%;background:#fff;border:1px solid #e5ece6;padding:7px 10px;border-radius:10px;font-size:.74rem;color:#587165}
.mini-msg.right{justify-self:end;background:#dff5e5;border-color:#d4eedb}
@media (max-width:900px){.feat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.feat:last-child{grid-column:auto}}
@media (max-width:600px){.feat-grid{grid-template-columns:1fr}}
.workflow-card{background:#fff;border:1px solid #dcebe0;border-radius:24px;padding:20px;box-shadow:0 18px 50px rgba(35,78,53,.08)}
.proof-visual{background:linear-gradient(145deg,#e9f7ed,#d5efdc);border-radius:30px;padding:clamp(18px,3vw,28px);display:flex;flex-direction:column;align-items:center;gap:12px;min-width:0}
.proof-visual .phone{width:min(285px,100%)}
.proof-visual .staff-alert{max-width:285px}
.cta-band{background:linear-gradient(115deg,#0c4936,#073d2d);border-radius:27px;position:relative;overflow:hidden}
.cta-band .btn-lime{background:#c8f58c;color:#163c2d}
.cta-band .btn-lime:hover{background:#b8ea78}
.how-grid{grid-template-columns:minmax(0,1fr) minmax(0,30rem)}
.workflow-card{padding:16px}
@media (max-width:900px){.how-grid{grid-template-columns:1fr}}
.proof-visual .phone{width:min(330px,100%)}
.proof-visual .staff-alert{max-width:330px;width:100%}
.proof-grid{grid-template-columns:minmax(0,1fr) minmax(0,26rem)}
@media (max-width:600px){.feat .mini-chat{display:none}.feat{padding:16px}.feat-top{margin-bottom:10px}}

.skip-link{position:absolute;inset-inline-start:12px;top:-60px;z-index:100;background:var(--accent);color:#fff;padding:10px 16px;border-radius:10px;font-weight:700}
.skip-link:focus{top:10px}
.stats-band{background:#176b57;color:#fff}
.sb-grid{display:grid;grid-template-columns:repeat(3,1fr);padding:18px 20px}
.sb-grid>div{padding:2px 28px;border-inline-end:1px solid rgba(255,255,255,.22)}
.sb-grid>div:first-child{padding-inline-start:0}
.sb-grid>div:last-child{border:0}
.sb-grid b{display:block;font:800 1.5rem Manrope,'Manrope Fallback',sans-serif;color:#d9f77b;letter-spacing:-.03em}
.sb-grid span{display:block;font-size:.84rem;color:#e0eee6;margin-top:2px}
@media (max-width:700px){.sb-grid{grid-template-columns:1fr;gap:10px;padding:14px 20px}.sb-grid>div,.sb-grid>div:first-child{display:flex;align-items:center;gap:14px;padding:0;border:0}.sb-grid b{font-size:1.15rem;min-width:6.5rem}.sb-grid span{margin:0;font-size:.8rem}}
.cmp-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;max-width:58rem;margin-inline:auto}
.cmp{padding:22px 24px;border:1px solid var(--line);border-radius:20px;background:#fff}
.cmp.good{background:#eff8f1;border-color:#cde5d4}
.cmp-label{font-size:.7rem;letter-spacing:.09em;text-transform:uppercase;font-weight:800;color:#78877e}
.cmp.good .cmp-label{color:var(--accent-soft)}
.cmp h3{font-size:1.2rem;margin:8px 0 12px}
.cmp-row{display:flex;gap:10px;padding:11px 0;border-top:1px solid #e5ece7;font-size:.9rem;color:var(--fg-dim);line-height:1.5}
.cmp-row b{color:var(--fg)}
.cmp-x{color:#c06c57;font-weight:900}
.cmp-y{color:var(--accent-soft);font-weight:900}
@media (max-width:760px){.cmp-grid{grid-template-columns:1fr}.cmp{padding:18px}}
.price-wrap{display:grid;grid-template-columns:1fr 1fr;gap:16px;max-width:54rem;margin:0 auto}
.pcard{padding:24px;border:1px solid var(--line);border-radius:22px;background:#fff;display:flex;flex-direction:column}
.pcard.featured{border:2px solid var(--accent);box-shadow:0 18px 40px rgba(23,107,87,.12)}
.pcard .feat-tag{align-self:flex-start}
.pcard h3{font-size:1.3rem;margin:14px 0 4px}
.p-label{font-weight:700;color:var(--accent-soft);margin-bottom:8px}
.pcard p{font-size:.92rem;color:var(--fg-dim);margin:0}
.pcard ul{list-style:none;padding:0;margin:16px 0 20px;display:grid;gap:9px;flex:1}
.pcard li{display:flex;gap:9px;font-size:.88rem;color:var(--fg-dim)}
.pcard .btn{align-self:stretch;justify-content:center}
@media (max-width:760px){.price-wrap{grid-template-columns:1fr}}
.faq-more{text-align:center;margin:18px 0 0;font-weight:700}
.faq-more a{color:var(--accent-soft)}

.cc-try{padding:10px 16px 12px;border-top:1px solid var(--line);background:#fff}
.cc-try>span{display:block;font-size:.72rem;color:var(--fg-dim);margin-bottom:7px}
.cc-chips{display:flex;flex-wrap:wrap;gap:6px}
.cc-chip{font-size:.74rem;font-weight:600;padding:6px 11px;border-radius:999px;border:1px solid #c8e4d3;background:#f2f9f5;color:var(--accent-soft);line-height:1.3;text-decoration:none}
.cc-chip:hover,.cc-chip:focus-visible{background:var(--accent);color:#fff;border-color:var(--accent)}

/* ===== v6: wider layout, tighter hero, parrot-green (lime) primary buttons ===== */
.wrap{max-width:1200px}
.hero{padding-block:clamp(30px,3.4vw,56px) clamp(34px,3.8vw,60px)}
.hero-grid{grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:clamp(28px,4vw,60px)}
.hero h1{font-size:clamp(1.9rem,1.2rem + 2.3vw,3.15rem);line-height:1.08;letter-spacing:-.035em;margin-top:18px}
.hero p.lede{font-size:clamp(1rem,.95rem + .3vw,1.12rem);line-height:1.7;max-width:34rem;margin-top:16px}
.hero .cta-row{margin-top:24px}
.hero .btn{padding:14px 24px;font-size:.95rem}
.hero .trust-strip{margin-top:22px;padding-top:18px}
.hero-visual{padding-bottom:56px}
.chat-card{max-width:28rem;margin-inline:auto}
.hero-visual .float-alert{inset-inline-start:0}
:root[data-palette="forest"]:not([data-theme="dark"]) :is(.btn-primary,.btn-lime,.nav nav a.nav-cta,.mobile-cta .btn),
:root[data-palette="forest"]:not([data-theme="dark"]) .hero .btn-lime{background:#ccf35c;color:#122b1e;box-shadow:0 8px 25px rgba(204,243,92,.45);border-color:transparent}
:root[data-palette="forest"]:not([data-theme="dark"]) :is(.btn-primary,.btn-lime,.nav nav a.nav-cta,.mobile-cta .btn):hover,
:root[data-palette="forest"]:not([data-theme="dark"]) .hero .btn-lime:hover{background:#bce24a;box-shadow:0 12px 30px rgba(188,226,74,.55)}
:root[data-palette="forest"]:not([data-theme="dark"]) .cta-band .btn-lime{background:#ccf35c;color:#122b1e}
:root[data-palette="forest"]:not([data-theme="dark"]) .hero .btn-ghost-light{background:#fff;border:1.5px solid #cdddd3;color:#15251f}
:root[data-palette="forest"]:not([data-theme="dark"]) .hero .btn-ghost-light:hover{border-color:#176b57;background:#f2f9f5}
.nav nav a.nav-cta{font-weight:800}
/* v6b: fill the hero column to match card height */
.hero-grid{grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);align-items:center}
.hero h1{font-size:clamp(2rem,1.1rem + 2.9vw,3.6rem);margin-top:20px}
.hero p.lede{font-size:clamp(1.02rem,.95rem + .4vw,1.2rem);margin-top:20px}
.hero .cta-row{margin-top:30px}
.hero .btn{padding:16px 28px;font-size:1rem}
.hero .trust-strip{margin-top:28px;padding-top:22px;gap:12px 28px}
.hero-visual{padding-bottom:0}
.cc-chips .cc-chip:nth-child(3){display:none}
.hero-visual .float-alert{bottom:-18px}

/* ===== v7: layout + responsive fixes (must stay last: later blocks above overrode the breakpoints) ===== */
/* hero: text column starts at the top (no empty band above the eyebrow), smaller headline */
.hero-grid{align-items:start}
.hero h1{font-size:clamp(1.7rem,1rem + 1.6vw,2.3rem);line-height:1.12;margin-top:14px}
.hero p.lede{margin-top:16px}
@media (min-width:901px){.hero{padding-top:clamp(20px,2.2vw,34px)}}

/* hero chat: a narrower, cleaner phone-style card — fixed-height scrolling chat, quick-reply chips,
   a message bar that opens the live demo, and two floating notes overlapping its edges */
.hv2{position:relative;padding:8px 0 24px}
.hero-chat{
  position:relative;width:100%;max-width:420px;margin-inline:auto;display:flex;flex-direction:column;
  border-radius:28px;background:#fff;border:1px solid #e1ece5;overflow:hidden;color:#12221e;
  box-shadow:0 40px 80px -36px rgba(18,61,50,.4),0 2px 6px rgba(18,61,50,.04)
}
.hc-head{display:flex;align-items:center;gap:12px;padding:14px 16px;border-bottom:1px solid #edf2ee}
.hc-avatar{width:42px;height:42px;border-radius:12px;flex-shrink:0;display:grid;place-items:center;background:#176b57;color:#fff;font-family:'Noto Sans Arabic',sans-serif;font-weight:600;font-size:1.05rem}
.hc-who{flex:1;min-width:0;line-height:1.3}
.hc-who b{display:block;font-family:'Manrope','Manrope Fallback',sans-serif;font-size:.95rem;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hc-who span{display:flex;align-items:center;gap:6px;font-size:.74rem;color:#61716a}
.hc-who .live-dot{width:7px;height:7px;background:#22c55e}
.hc-who .live-dot::after{border-color:#22c55e}
.hc-pill{flex-shrink:0;padding:6px 10px;border-radius:9px;background:#eef6f0;color:#176b57;font-size:.66rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase;text-decoration:none;white-space:nowrap}
.hc-pill:hover,.hc-pill:focus-visible{background:#176b57;color:#fff}
/* column-reverse keeps the scroll pinned to the latest message without any script */
.hc-scroll{height:320px;overflow-y:auto;display:flex;flex-direction:column-reverse;background:#f6faf7;scrollbar-width:thin;scrollbar-color:#c9d6cd transparent}
.hc-scroll:focus-visible{outline:2px solid #176b57;outline-offset:-2px}
.hc-body{display:flex;flex-direction:column;gap:10px;padding:16px}
.hc-msg{max-width:84%;padding:10px 14px;border-radius:16px;font-size:.86rem;line-height:1.45;overflow-wrap:anywhere}
.hc-msg.in{align-self:flex-start;background:#fff;border:1px solid #e3ece6;border-top-left-radius:6px}
.hc-msg.out{align-self:flex-end;background:#dcf2e3;border-top-right-radius:6px}
.hc-msg[dir="rtl"]{font-family:'Noto Sans Arabic','DM Sans',sans-serif;border-top-left-radius:16px;border-top-right-radius:6px}
.hc-order{align-self:stretch;padding:14px 16px;border-radius:16px;background:#fff;border:1px solid #e3ece6;font-size:.82rem}
.hc-order-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}
.hc-order-title b{font-family:'Manrope','Manrope Fallback',sans-serif;font-size:.84rem;font-weight:800}
.hc-row{display:flex;justify-content:space-between;gap:12px;padding:4px 0;color:#61716a}
.hc-row b{color:#3d524b;font-weight:700;white-space:nowrap}
.hc-row.total{margin-top:6px;padding-top:10px;border-top:1px solid #edf2ee;color:#12221e;font-weight:700}
.hc-row.total b{color:#176b57;font-weight:800}
.hc-chips{display:flex;gap:8px;padding:12px 16px;overflow-x:auto;border-top:1px solid #edf2ee;scrollbar-width:none}
.hc-chips::-webkit-scrollbar{display:none}
.hc-chip{flex-shrink:0;padding:7px 12px;border-radius:999px;background:#f1f7f3;border:1px solid #dcebe1;color:#1f5446;font-size:.8rem;font-weight:700;text-decoration:none;white-space:nowrap}
.hc-chip:hover,.hc-chip:focus-visible{background:#176b57;border-color:#176b57;color:#fff}
.hc-input{display:flex;align-items:center;gap:10px;padding:12px 16px 16px;text-decoration:none}
.hc-field{flex:1;padding:12px 18px;border-radius:999px;background:#f1f6f2;border:1px solid #e1ece5;color:#7a8a83;font-size:.86rem}
.hc-send{width:42px;height:42px;border-radius:50%;flex-shrink:0;display:grid;place-items:center;background:#176b57;color:#fff}
.hc-input:hover .hc-field{border-color:#176b57}
.hc-input:hover .hc-send{background:#0f5143}
.hc-float{
  position:absolute;z-index:2;display:flex;align-items:center;gap:12px;padding:12px 18px 12px 12px;border-radius:16px;
  background:#fff;border:1px solid #e6efe9;color:#12221e;box-shadow:0 20px 44px -20px rgba(18,61,50,.35);
  pointer-events:none;animation:float-in .7s cubic-bezier(.2,.7,.2,1) .4s both
}
.hc-float-ic{width:38px;height:38px;border-radius:11px;flex-shrink:0;display:grid;place-items:center;background:#eef6f0;color:#176b57}
.hc-float b{display:block;font-family:'Manrope','Manrope Fallback',sans-serif;font-size:.86rem;font-weight:800;line-height:1.3}
.hc-float div span{display:block;font-size:.74rem;color:#61716a}
.hc-float-top{top:58px;inset-inline-start:calc(50% - 210px - 48px)}
.hc-float-bottom{bottom:96px;inset-inline-end:calc(50% - 210px - 52px);animation-delay:.8s}
@media (max-width:1180px){.hc-float-top{inset-inline-start:-10px}.hc-float-bottom{inset-inline-end:-10px}}
@media (max-width:900px){.hc-float-top{inset-inline-start:max(0px,calc(50% - 240px))}.hc-float-bottom{inset-inline-end:max(0px,calc(50% - 240px))}}
@media (max-width:480px){
  .hc-scroll{height:280px}
  .hc-float{padding:9px 12px 9px 9px;gap:9px}
  .hc-float-ic{width:32px;height:32px}
  .hc-float b{font-size:.78rem}
  .hc-float div span{font-size:.68rem}
  .hc-float-top{inset-inline-start:-6px;top:52px}
  .hc-float-bottom{inset-inline-end:-6px}
}
:root[data-theme="dark"] .hero-chat{border-color:rgba(255,255,255,.1)}
@media (max-width:900px){
  .hero-grid{grid-template-columns:1fr;gap:36px}
  .hero h1,.hero p.lede{max-width:none}
}
@media (max-width:480px){
  .hero .btn{padding:14px 20px}
  .hero .trust-strip{gap:10px 20px}
}
/* hero: "Try Noor live" card fills the space under the trust ticks, so the demo is one click away above the fold */
.try-live{display:none}
@media (min-width:901px){
  .try-live{display:flex;align-items:center;gap:14px;margin-top:22px;padding:14px 14px 14px 16px;border-radius:18px;background:#fff;border:1px solid #cfe7d8;box-shadow:0 14px 34px -20px rgba(18,61,50,.35);color:#12221e;text-decoration:none;transition:border-color .2s,box-shadow .2s,transform .2s}
  .try-live:hover,.try-live:focus-visible{border-color:#176b57;box-shadow:0 18px 40px -18px rgba(18,61,50,.45);transform:translateY(-2px)}
  .tl-ic{width:42px;height:42px;border-radius:12px;display:grid;place-items:center;flex-shrink:0;background:#e3f4e8}
  .try-live .live-dot{width:10px;height:10px;background:#16a34a}
  .try-live .live-dot::after{border-color:#16a34a}
  .tl-copy{min-width:0;flex:1;line-height:1.35}
  .tl-copy b{display:block;font-family:'Manrope','Manrope Fallback',sans-serif;font-size:.98rem;font-weight:800;color:#176b57}
  .tl-copy span{display:block;margin-top:2px;font-size:.8rem;color:#5e726c}
  .tl-btn{display:inline-flex;align-items:center;gap:6px;flex-shrink:0;padding:10px 16px;border-radius:999px;background:#176b57;color:#fff;font-size:.86rem;font-weight:700;white-space:nowrap}
  .try-live:hover .tl-btn{background:#0f5143}
}
@media (min-width:901px) and (max-width:1100px){.tl-btn{padding:9px 12px;font-size:.8rem}.tl-copy span{display:none}}
:root[data-theme="dark"] .try-live{background:#14241b;border-color:rgba(134,239,172,.25);color:#eef7f1}
:root[data-theme="dark"] .tl-copy b{color:#86efac}
:root[data-theme="dark"] .tl-copy span{color:#b3c9bb}
:root[data-theme="dark"] .tl-ic{background:rgba(134,239,172,.12)}
/* hero order: message → buttons → free-trial line → live demo card → one compact "Works with" row */
.hero .cta-row{margin-top:26px}
.hero .micro-trust{margin-top:14px}
.works-with{display:flex;align-items:center;flex-wrap:wrap;gap:10px 14px;margin-top:22px}
.ww-label{font-size:.7rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--fg-dim);opacity:.8}
.hero .works-with .trust-strip{margin:0;padding:0;border:0;gap:8px;font-size:.8rem}
.works-with .trust-strip li{padding:5px 11px;border-radius:999px;background:rgba(255,255,255,.75);border:1px solid #d6e9dd;color:#33504a;white-space:nowrap}
.works-with .trust-strip svg{color:#176b57;flex-shrink:0}
:root[data-theme="dark"] .works-with .trust-strip li{background:rgba(255,255,255,.04);border-color:rgba(255,255,255,.12);color:var(--fg-dim)}
:root[data-theme="dark"] .works-with .trust-strip svg{color:var(--accent-soft)}
@media (max-width:900px){.works-with{margin-top:20px}}
/* nav: keep each link on one line */
.nav nav a{white-space:nowrap}
@media (min-width:1080px) and (max-width:1199px){.nav nav{gap:14px;font-size:.88rem}}
/* proof: heading lives in the left column so both columns start together, no empty gap under the text */
#proof .proof-grid{margin-top:0;align-items:start}
#proof .proof-grid .sec-head{margin-bottom:20px}
@media (min-width:861px){#proof .proof-visual{position:sticky;top:88px}}
@media (max-width:860px){.proof-grid,#proof .proof-grid{grid-template-columns:1fr;gap:28px}.proof-visual{width:100%;max-width:30rem;margin-inline:auto}}
/* features: preview chats line up along the bottom of every card in a row */
.feat{display:flex;flex-direction:column}
.feat > p{margin-bottom:14px}
.feat .mini-chat{margin-top:auto}
@media (max-width:600px){.feat > p{margin-bottom:0}}
/* how it works: keep the visual full width when stacked */
@media (max-width:900px){.how-visual{max-width:none;width:100%}}
/* closing banner + footer: one continuous dark-green block. The gradient runs left→right only,
   so the banner section and the footer meet without a visible seam. */
.cta-sec,footer{background:linear-gradient(90deg,#0c4936,#073d2d)}
.cta-sec{position:relative;overflow:hidden;padding-block:clamp(40px,5vw,64px) 0}
.cta-sec .cta-band{background:none;border-radius:0;box-shadow:none;overflow:visible;padding:0 0 clamp(32px,4vw,48px);border-bottom:1px solid rgba(255,255,255,.14)}
.cta-sec .cta-band::after{inset-inline-end:22%;top:-170px}
@media (max-width:760px){.cta-band{flex-direction:column;align-items:stretch}.cta-band>div:first-child{flex:none}}
/* slim footer: copyright · email · domain (brand and page links already live in the top nav) */
footer{border-top:0;padding-block:22px calc(22px + env(safe-area-inset-bottom,0px))}
footer .footer-base{margin:0 auto;padding-top:0;border-top:0;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px 24px;font-size:.84rem;color:#b7d3c3}
.footer-mail{display:inline-flex;align-items:center;gap:8px;color:#fff;font-weight:600;text-decoration:none}
.footer-mail svg{color:#86efac}
.footer-mail:hover,.footer-mail:focus-visible{color:#c8f58c}
@media (max-width:600px){footer .footer-base{flex-direction:column;align-items:flex-start;gap:8px}}
/* top nav ribbon: same dark-green look as the closing banner + footer (height unchanged) */
.nav,.nav.scrolled{background:linear-gradient(90deg,#0c4936,#073d2d);border-bottom-color:rgba(255,255,255,.1);-webkit-backdrop-filter:none;backdrop-filter:none}
.nav.scrolled{box-shadow:0 10px 30px -16px rgba(4,30,22,.55)}
.nav .brand{color:#fff}
.nav .brand .dim{color:#b7d3c3}
.nav a{color:#cfe5d8}
.nav a:hover,.nav nav a.active,.nav nav a[aria-current="page"]{color:#fff}
.nav nav a.active:not(.nav-cta){box-shadow:inset 0 -2px 0 #c8f58c}
.nav .theme-toggle,.nav .nav-toggle{color:#e0eee6;border-color:rgba(255,255,255,.22);background:transparent}
.nav .theme-toggle:hover,.nav .nav-toggle:hover{color:#fff;border-color:rgba(255,255,255,.45)}
.nav .palette-btn{background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.22)}
.nav .palette-btn:hover{border-color:rgba(255,255,255,.45)}
@media (max-width:1079px){
  .nav nav{background:#0a4231;border-bottom-color:rgba(255,255,255,.1)}
  .nav nav a{border-bottom-color:rgba(255,255,255,.1)}
  .nav nav a.active:not(.nav-cta){color:#c8f58c}
}
/* hero: industries strip under the chat card — shows who Zolx serves; each chip opens the demo for that business type */
.hc-stage{position:relative}
.hv2{padding-bottom:8px}
.hc-industries{max-width:470px;margin:18px auto 0;text-align:center}
.hci-label{display:block;margin-bottom:8px;font-size:.7rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--fg-dim)}
.hci-chips{display:flex;flex-wrap:wrap;justify-content:center;gap:6px}
.hci-chip{display:inline-flex;align-items:center;gap:5px;padding:5px 11px;border-radius:999px;background:rgba(255,255,255,.8);border:1px solid #d6e9dd;color:#1f5446;font-size:.76rem;font-weight:700;text-decoration:none;white-space:nowrap;transition:background .15s,border-color .15s,color .15s}
.hci-chip:hover,.hci-chip:focus-visible{background:#176b57;border-color:#176b57;color:#fff}
:root[data-theme="dark"] .hci-chip{background:rgba(255,255,255,.04);border-color:rgba(255,255,255,.14);color:var(--fg)}

/* v8: hero cleanup (reviewed) */
.hero p.lede{max-width:40rem}
.hero-grid{align-items:center}
.hc-scroll{height:auto;max-height:min(390px,calc(100vh - 440px));min-height:230px;flex-direction:column}
.hc-float-bottom{bottom:-22px;inset-inline-end:-26px;inset-inline-start:auto}
@media (max-width:1180px){.hc-float-bottom{inset-inline-end:-10px}}
@media (max-width:900px){.hc-float-bottom{position:relative;inset-inline-end:auto;bottom:auto;margin:-14px auto 0;width:max-content;max-width:100%}}
:root[data-palette="forest"] .nav nav a[aria-current]{color:inherit}
@media (min-width:901px){
  .hero{padding-block:clamp(16px,2.6vh,30px) clamp(20px,3vh,34px)}
  .hero-grid{align-items:center}
  .hc-body{gap:7px;padding:12px 14px}
  .hc-msg{padding:8px 12px;font-size:.84rem;line-height:1.4}
  .hc-order{padding:10px 14px}
  .hc-row{padding:2px 0}
  .hc-scroll{max-height:none;min-height:0}
  .hc-chips{padding:9px 14px}
  .hc-chip{padding:6px 11px;font-size:.76rem}
  .hc-chip:nth-child(3){display:none}
  .hc-input{padding:8px 14px 12px}
  .hc-field{padding:9px 16px}
  .hc-industries{margin-top:12px}
  .hci-chip{padding:4px 10px}
  .hero .btn{padding:14px 26px}
  .try-live{margin-top:16px}
  .sb-grid{padding:10px 20px}
}
@media (min-width:901px) and (max-height:1000px){ .hc-scroll{max-height:calc(100vh - 380px);min-height:200px} }
.hero p.lede{max-width:46rem}.hero .hero-grid>div:first-child{min-width:0}

/* v9: industries row under hero */
.hc-industries{display:none!important}
.hero-ind{text-align:center;margin-top:clamp(10px,2vh,22px)}
.hi-label{margin:0 0 10px;font-size:.92rem;color:var(--fg-dim)}
.hi-chips{display:flex;flex-wrap:wrap;justify-content:center;gap:8px 10px}
.hi-chip{display:inline-flex;align-items:center;gap:7px;padding:9px 18px;border-radius:999px;background:#fff;border:1px solid #cfe3d6;color:#15251f;font-size:.9rem;font-weight:700;text-decoration:none;white-space:nowrap;transition:background .15s,border-color .15s,transform .15s}
.hi-chip:hover,.hi-chip:focus-visible{background:#176b57;border-color:#176b57;color:#fff;transform:translateY(-1px)}
:root[data-theme="dark"] .hi-chip{background:rgba(255,255,255,.05);border-color:rgba(255,255,255,.14);color:var(--fg)}
@media (min-width:901px){.hero{padding-block:clamp(14px,2.2vh,26px) clamp(16px,2.4vh,28px)}.hero-visual{padding-bottom:0}}
@media (max-width:560px){.hi-chip{padding:7px 13px;font-size:.82rem}}

/* v10: industries inside left column; top-align hero columns */
.hero-ind{text-align:start;margin-top:20px}
.hi-label{font-weight:600;font-size:.9rem;margin-bottom:9px}
.hi-chips{justify-content:flex-start}
@media (min-width:901px){
  .hero-grid{align-items:start}
  .hero{padding-block:clamp(22px,3.4vh,36px) clamp(26px,3.6vh,40px)}
  .hi-chip{padding:7px 15px;font-size:.86rem}
}
@media (max-width:900px){.hero-ind{text-align:center}.hi-chips{justify-content:center}}

/* v11: lime marker under "more sales." */
.hero h1 em{position:relative;white-space:nowrap;z-index:0}
.hero h1 em::after{content:"";position:absolute;inset-inline-start:-2px;inset-inline-end:-2px;bottom:.08em;height:.26em;background:#ccf35c;border-radius:8px;z-index:-1;transform:rotate(-1deg);opacity:.9}
:root[data-palette]:not([data-palette="forest"]) .hero h1 em::after{background:var(--lime,#ccf35c);opacity:.55}
:root[data-theme="dark"] .hero h1 em::after{opacity:.35}

/* v13: breathing room between text and chat; hero + stats strip fill the first screen */
@media (min-width:901px){
  .hero-grid{gap:clamp(48px,6vw,104px);grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr)}
  .hero .try-live{max-width:34rem}
  .hero p.lede{max-width:34rem}
}
@media (min-width:901px) and (min-height:640px){
  .hero{min-height:calc(100vh - 150px);display:flex;align-items:center}
  .hero>.hero-grid{width:100%;align-items:center}
}

/* v14: integrations block + full-width industries band */
.integ{margin-top:20px;padding-top:16px;border-top:1px solid var(--line)}
.integ-label{display:block;font-size:.72rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--fg-dim);margin-bottom:10px}
.integ-pills{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:8px}
.integ-pills li{display:inline-flex;align-items:center;gap:7px;padding:7px 14px;border-radius:999px;background:#fff;border:1px solid #cfe3d6;font-size:.84rem;font-weight:700;color:#2f4a40}
.integ-pills svg{color:#176b57;flex-shrink:0}
.ind-band{background:#fff;border-top:1px solid #dbe9e0}
.ind-band-in{display:flex;align-items:center;justify-content:space-between;gap:12px 24px;flex-wrap:wrap;padding-block:14px}
.ib-label{font-size:.76rem;font-weight:800;letter-spacing:.07em;text-transform:uppercase;color:var(--fg-dim)}
.ib-chips{display:flex;flex-wrap:wrap;gap:8px}
.ib-chip{display:inline-flex;align-items:center;gap:6px;padding:7px 14px;border-radius:10px;background:#f4faf6;border:1px solid #cfe3d6;color:#1f3a30;font-size:.84rem;font-weight:700;text-decoration:none;white-space:nowrap;transition:background .15s,color .15s,border-color .15s}
.ib-chip:hover,.ib-chip:focus-visible{background:#176b57;border-color:#176b57;color:#fff}
:root[data-theme="dark"] .ind-band{background:rgba(255,255,255,.03);border-color:rgba(255,255,255,.1)}
:root[data-theme="dark"] .ib-chip,:root[data-theme="dark"] .integ-pills li{background:rgba(255,255,255,.05);border-color:rgba(255,255,255,.14);color:var(--fg)}
@media (min-width:901px) and (min-height:640px){.hero{min-height:calc(100vh - 235px)}}
@media (max-width:700px){.ind-band-in{flex-direction:column;align-items:flex-start}.ib-chips{gap:6px}.ib-chip{padding:6px 11px;font-size:.8rem}}
.ind-band{padding:0!important}
.ind-band-in{padding-block:12px!important;flex-wrap:nowrap;gap:18px}
.ib-label{white-space:nowrap;font-size:.72rem;letter-spacing:.05em}
.ib-chips{flex-wrap:nowrap;gap:6px}
.ib-chip{padding:6px 11px;font-size:.8rem;gap:5px}
.integ{margin-top:16px;padding-top:12px}
.integ-label{margin-bottom:8px}
.integ-pills{gap:6px}
.integ-pills li{padding:6px 11px;font-size:.8rem;gap:6px;white-space:nowrap}
@media (max-width:1100px){.ind-band-in{flex-wrap:wrap}.ib-chips{flex-wrap:wrap}}
@media (min-width:901px) and (min-height:640px){.hero{min-height:calc(100vh - 160px)}}
@media (min-width:901px) and (min-height:640px){.hero{min-height:calc(100vh - 212px)}}
.integ-label{font-size:.7rem;margin-bottom:6px}
.integ-pills li{padding:5px 10px;font-size:.78rem;gap:5px}
.integ-pills svg{width:14px;height:14px}

/* v15: Zolx wordmark logo (z + ring "o" with lime dot + lx) */
.wm{display:inline-flex;align-items:center;font-family:'Manrope','Manrope Fallback',sans-serif;font-weight:800;font-size:2.05rem;line-height:1;letter-spacing:-.06em;color:#fff}
.wm-o{position:relative;display:inline-block;width:.6em;height:.6em;margin:0 .06em 0 .05em;border-radius:50%;border:.19em solid #4cc79f;box-sizing:border-box}
.wm-o::after{content:"";position:absolute;inset-inline-end:-.24em;top:-.3em;width:.27em;height:.27em;border-radius:50%;background:#ccf35c}
.brand .wm{margin-inline-end:2px}
footer .wm{font-size:1.9rem}
@media (max-width:420px){.wm{font-size:1.8rem}}
.wm{font-size:2.35rem}.wm-o{border-width:.2em}
footer .wm{font-size:2.1rem}
@media (max-width:420px){.wm{font-size:2rem}}

/* v16: 3D logo mark in the closing CTA */
.cta-logo3d{flex:0 0 auto;display:grid;place-items:center;margin-inline-end:clamp(0px,1.5vw,16px)}
.cta-sec .cta-band{justify-content:flex-start;gap:24px clamp(24px,3vw,44px)}
.cta-sec .cta-band>div:nth-child(2){flex:1 1 20rem}
.cta-sec .cta-band .cta-actions{margin-inline-start:auto}
@media (max-width:760px){.cta-logo3d{align-self:flex-start}.cta-logo3d svg{width:92px;height:98px}}
.cta-band>.cta-logo3d{flex:0 0 auto!important}
.cta-sec .cta-band{flex-wrap:nowrap;align-items:center}
@media (max-width:900px){.cta-sec .cta-band{flex-wrap:wrap}}
@media (max-width:900px){.cta-sec .cta-band>div:nth-child(2){flex:none}.cta-sec .cta-band .cta-actions{margin-inline-start:0}}

/* v17: industries band — quieter */
.ind-band{background:#f3f9f5;border-top:1px solid #e3efe7}
.ind-band-in{padding-block:9px!important}
.ib-label{color:#7f948a;font-weight:700;font-size:.68rem}
.ib-chip{background:transparent;border-color:#d9e8de;color:#5d7469;font-weight:600;font-size:.76rem;padding:5px 10px}
.ib-chip:hover,.ib-chip:focus-visible{background:#176b57;border-color:#176b57;color:#fff}
:root[data-theme="dark"] .ib-chip{color:var(--fg-dim)}

/* v18: industries band — readable on a mint background */
.ind-band{background:#dcefe3;border-top:1px solid #c6e0d0;border-bottom:0}
.ib-label{color:#3f5f52;font-weight:800}
.ib-chip{background:#fff;border-color:#bdd9c7;color:#244a3b;font-weight:700;font-size:.8rem}
.ib-chip:hover,.ib-chip:focus-visible{background:#176b57;border-color:#176b57;color:#fff}
:root[data-theme="dark"] .ind-band{background:rgba(255,255,255,.06)}
:root[data-theme="dark"] .ib-chip{background:rgba(255,255,255,.08);color:var(--fg)}

/* v19: soft lime glow on the nav CTA (dark header only) */
.nav nav a.nav-cta,.nav .nav-cta{box-shadow:0 0 0 1px rgba(204,243,92,.35),0 0 22px rgba(204,243,92,.55),0 0 52px rgba(204,243,92,.28)!important;transition:box-shadow .2s,transform .2s,background .2s}
.nav nav a.nav-cta:hover,.nav .nav-cta:hover{box-shadow:0 0 0 1px rgba(204,243,92,.5),0 0 28px rgba(204,243,92,.7),0 0 64px rgba(204,243,92,.38)!important;transform:translateY(-1px)}
@media (prefers-reduced-motion:reduce){.nav .nav-cta{transition:none}}

/* v20: same lime glow on the dark closing banner button */
.cta-band .btn-lime{box-shadow:0 0 0 1px rgba(204,243,92,.35),0 0 22px rgba(204,243,92,.5),0 0 52px rgba(204,243,92,.25)!important}
.cta-band .btn-lime:hover{box-shadow:0 0 0 1px rgba(204,243,92,.5),0 0 28px rgba(204,243,92,.65),0 0 64px rgba(204,243,92,.35)!important}

/* v21: never crop the hero chat — show the whole conversation */
.hc-scroll{height:auto!important;max-height:none!important;min-height:0!important;overflow:visible!important;flex-direction:column!important}
@media (min-width:901px) and (max-height:900px){
  .hc-body{gap:5px;padding:10px 14px}
  .hc-msg{padding:6px 11px;font-size:.8rem;line-height:1.35}
  .hc-order{padding:8px 13px;font-size:.78rem}
  .hc-row{padding:1px 0}
  .hc-chips{padding:7px 14px}
  .hc-input{padding:6px 14px 10px}
  .hc-field{padding:8px 14px}
  .hc-head{padding:10px 14px}
}

/* v22: the two section labels share one readable style */
.integ-label,.ib-label{font-family:'Manrope','Manrope Fallback',sans-serif;font-size:.95rem!important;font-weight:800!important;letter-spacing:0!important;text-transform:none!important;color:#1f4a3a!important;line-height:1.3;white-space:nowrap}
.integ-label{margin-bottom:9px}
:root[data-theme="dark"] .integ-label,:root[data-theme="dark"] .ib-label{color:var(--fg)!important}

/* v23: Zolx logo as the Noor avatar everywhere */
.hc-avatar,.phone-head .avatar,.cc-head .avatar{background:#0f3d31!important;display:grid;place-items:center;overflow:hidden;padding:0}
.av-logo{width:78%;height:78%;display:block}

/* ===== v24: layered backgrounds =========================================================
   Ported from the reference comp, but expressed in tokens instead of its hardcoded hexes, so
   all five palettes and both themes keep working. The comp's gain was never its colour — it
   was that nothing is a flat fill: bands run on a diagonal, cards carry a faint wash, and the
   dark CTA has a light source instead of being one solid slab. */

/* Tinted bands run corner to corner, lightening through the middle, rather than a single fill. */
.alt{background:linear-gradient(105deg,var(--bg-soft) 0%,var(--bg) 58%,var(--bg-soft) 100%)}

/* A barely-there accent wash gives the cards depth without a heavier border. Layered over the
   token background so the card still sits correctly on either theme. */
.ben,.feat{background:linear-gradient(145deg,rgba(var(--accent-rgb),.05),rgba(var(--accent-rgb),0) 62%),var(--bg-soft-2)}

/* Leaves gain a gradient, so they read as a form catching light rather than a flat silhouette. */
#how::before,#how::after,.cta-sec::before,.cta-sec::after{
  background:linear-gradient(135deg,rgba(var(--accent-rgb),.16),rgba(var(--accent-rgb),.03) 70%)
}
.cta-sec::before,.cta-sec::after{background:linear-gradient(135deg,rgba(255,255,255,.1),rgba(255,255,255,.01) 70%)}

/* The CTA band gets a light source at the left instead of a flat diagonal, which is what made
   the comp's dark band feel lit rather than printed. Same greens as before. */
.cta-band{background:radial-gradient(ellipse at 14% 46%,#0e5a42 0%,#0a4733 42%,#06382a 100%)}

/* The proof phone used to lay out the whole conversation at once, growing to 863px and leaving
   a 665px void beside the text column. A real phone shows a few messages and scrolls, so the
   chat now has a fixed viewport and home.js keeps the newest message in view as it plays. The
   mock reads as a phone instead of a slab, and the two columns sit at comparable heights. */
.proof-visual .live-chat{height:clamp(276px,38vh,340px);overflow:hidden;scroll-behavior:smooth}
@media (max-width:860px){.proof-visual .live-chat{height:clamp(270px,44vh,330px)}}
/* Tighter panel: the padding was sized for a much taller phone. */
.proof-visual{padding:clamp(14px,1.8vw,20px)}

/* ===== v25: hero height ==================================================================
   The hero carried min-height:calc(100vh - 212px) with align-items:center. Whenever its content
   came in shorter than that — which is most screens, and every tall one — the surplus was split
   as dead space above and below, so the first thing a visitor saw was a band of nothing. Four
   competing min-height rules had accumulated for this; a later rule of equal specificity settles
   them all. The hero is now exactly as tall as what is in it, plus its padding. */
.hero{min-height:auto}

/* ===== v26: paired hero buttons + hero leaves ============================================ */

/* Outlined secondary pill for LIGHT backgrounds (btn-ghost-light is the dark-background one).
   White fill so it reads as a button rather than a ghost, with a small circular badge for the
   icon — the detail that makes the pair look deliberate rather than two links side by side. */
.btn-outline{background:var(--bg);border-color:var(--line-strong);color:var(--fg)}
.btn-outline:hover{border-color:var(--accent);background:rgba(var(--accent-rgb),.06);color:var(--fg)}
.btn-ic{display:inline-grid;place-items:center;width:22px;height:22px;flex:none;border-radius:50%;
  background:rgba(var(--accent-rgb),.14);color:var(--accent-soft);margin-inline-end:2px}
/* The row already flexes (line ~181); this only centres the pills against each other. */
.cta-row{align-items:center}

/* Large, overlapping leaves behind the hero conversation, the way the reference comp frames its
   phone. Same square-with-two-rounded-corners trick as the smaller ones, but gradient-filled and
   sized to read as foliage rather than decoration. Behind everything in the column and
   click-through, so they can never sit on the chat or its buttons. */
.hero-visual{isolation:isolate}
.hero-visual > *{position:relative;z-index:1}
.hero-visual::before,.hero-visual::after{
  content:'';position:absolute;z-index:0;pointer-events:none;border-radius:100% 0 100% 0;
  background:linear-gradient(135deg,rgba(var(--accent-rgb),.3),rgba(var(--accent-rgb),.05) 74%);
}
.hero-visual::before{width:330px;height:470px;inset-inline-start:-150px;top:10px;transform:rotate(-22deg)}
.hero-visual::after{width:260px;height:370px;inset-inline-end:-118px;bottom:-40px;transform:rotate(28deg);opacity:.9}
@media (max-width:900px){
  .hero-visual::before{width:190px;height:260px;inset-inline-start:-70px;top:10px}
  .hero-visual::after{width:150px;height:210px;inset-inline-end:-54px;bottom:0}
}
/* Same reasoning as the section leaves: no reduced-transparency guard. */

/* ===== v27: dark-mode contrast fixes ======================================================
   Four components kept a hardcoded light fill while their text colour came from a token, so in
   dark mode they rendered as light-on-white: contrast ratios of 1.0–1.8 where 4.5 is the floor
   for body text. They now use the same --bg-soft-2 surface as the other cards, which flips with
   the theme and follows the palette. Light mode is unchanged: --bg-soft-2 is white there. */
.cmp{background:var(--bg-soft-2)}
.cmp.good{background:linear-gradient(145deg,rgba(var(--accent-rgb),.1),rgba(var(--accent-rgb),.02) 70%),var(--bg-soft-2);
  border-color:rgba(var(--accent-rgb),.32)}
.cmp-label{color:var(--fg-dim)}
.pcard{background:var(--bg-soft-2)}
.workflow-card{background:var(--bg-soft-2);border-color:var(--line)}

/* ===== v28: shared page-top treatment ====================================================
   The homepage hero has a layered gradient; the inner pages opened on flat white under the dark
   nav, which made them read as a different, plainer site. This gives each inner page's first
   section the same "arrival" wash, written in tokens rather than the hero's per-palette hexes so
   every palette and both themes are covered by one rule. */
.page-pricing #how, .page-demo #demo, .page-book #book{
  position:relative;overflow:clip;
  background:
    radial-gradient(ellipse at 78% 28%,rgba(var(--accent-rgb),.11) 0,transparent 44%),
    linear-gradient(115deg,var(--bg) 0%,var(--bg-soft) 100%);
}
.page-pricing #how > .wrap, .page-demo #demo > .wrap, .page-book #book > .wrap{position:relative;z-index:1}

/* One leaf per page top, on the copy side so it never sits behind the demo chat or a form. */
.page-pricing #how::before, .page-demo #demo::before, .page-book #book::before{
  content:'';position:absolute;z-index:0;pointer-events:none;border-radius:100% 0 100% 0;
  width:230px;height:330px;inset-inline-start:-104px;top:24px;transform:rotate(-22deg);
  background:linear-gradient(135deg,rgba(var(--accent-rgb),.2),rgba(var(--accent-rgb),.03) 72%);
}
.page-pricing #how::after, .page-book #book::after{
  content:'';position:absolute;z-index:0;pointer-events:none;border-radius:100% 0 100% 0;
  width:180px;height:260px;inset-inline-end:-80px;bottom:-30px;transform:rotate(28deg);opacity:.85;
  background:linear-gradient(135deg,rgba(var(--accent-rgb),.16),rgba(var(--accent-rgb),.02) 72%);
}
@media (max-width:900px){
  .page-pricing #how::before, .page-demo #demo::before, .page-book #book::before{width:150px;height:210px;inset-inline-start:-66px}
  .page-pricing #how::after, .page-book #book::after{display:none}
}

/* ===== v28: wider container on large screens ============================================
   .wrap was pinned at 1200px, leaving ~680px of dead margin each side at 2560. It can grow
   safely because line length is capped separately, in characters, on the text itself
   (.sec-head h2 34ch, .lede 58ch, .faq-item p 66ch) — so widening the container gives the
   grids, cards and device mockups more room without stretching any paragraph past a
   comfortable measure. Below ~1430px nothing changes. */
.wrap{max-width:clamp(1200px,86vw,1480px)}

/* ===== v29: one pricing card, two places =================================================
   The homepage summary (.pcard) and the pricing page (.price-card) had grown into two
   different components: pill label vs mono label, 2px border vs 1px + gradient for the
   featured card, different radii, different list colour. The CONTENT should differ — the
   homepage is a two-card summary, the pricing page the full three-tier version — but the
   styling should not. .pcard now inherits the pricing page's visual language. */
.pcard{border-radius:var(--radius-card);padding:26px;gap:12px}
.pcard.featured{border:1px solid var(--accent);box-shadow:var(--shadow-lg);
  background:linear-gradient(170deg,rgba(var(--accent-rgb),.09),var(--bg-soft-2) 45%)}
/* .tag-label is the tier label, shared with the pricing page; it was scoped to .price-card,
   so the rule is lifted here rather than overriding .feat-tag, which is a category chip and a
   different thing. One class, one look. */
.tag-label{font-family:var(--mono);font-size:.74rem;letter-spacing:.05em;text-transform:uppercase;color:var(--fg-dim)}
/* .feat-tag hardcoded #188356 on #e8f7ec, so it stayed a light chip in dark mode. */
.feat-tag{color:var(--accent-soft);background:rgba(var(--accent-rgb),.13)}
.pcard h3{margin:10px 0 2px;font-size:1.25rem}
.pcard li{font-size:.9rem;color:var(--fg)}
.pcard li svg{color:var(--accent);flex-shrink:0}

/* ===== v30: one card shell ===============================================================
   An audit of every rounded container on the site found 21 distinct card styles, with corner
   radii of 12, 13, 14, 16, 18, 19, 20, 24, 28 and 44px. Content cards — the boxes that hold
   copy — now all use --radius-card, so a feature card, a plan card, a comparison card and the
   booking panel share one shell.

   Deliberately NOT normalised: the UI mock-ups. A phone is 44px because phones are, a WhatsApp
   bubble is 9px because WhatsApp's are, and the Telegram alert, order card and sheet mock each
   copy the app they imitate. Those radii are doing a job; making them match the cards would
   make the mock-ups look less real, which is the opposite of what this site needs. */
.feat,.cmp,.try-live,.price-note,.res,.results-box,.book-box{border-radius:var(--radius-card)}
/* .try-live used a one-off pale green hairline; every other light-surface card uses --line. */
.try-live{border-color:var(--line)}
/* .res.big carries its own radius rule, so it needs naming explicitly. */
.res.big{border-radius:var(--radius-card)}

/* ===== v31: heading measure and section-head alignment ===================================
   Headings were capped at 34ch, a value tuned when the container was 1200px. At 1480 that left
   long headlines wrapping to three lines while using barely a third of the width. 38ch suits
   display type — a heading is taken in at a glance, not scanned line by line, so it tolerates a
   longer measure than body copy, which stays at 58ch. Body text is untouched. */
.sec-head h2{max-width:38ch}

/* ===== v32: shared page background ======================================================
   Every page now opens on the same wash, so the dark nav lands on something rather than on
   flat white. Built from tokens (--bg, --bg-soft, --accent-rgb) rather than copied from the
   homepage's hero rule, which is written per palette and only covers forest and ocean in light
   mode — copying it would have multiplied that gap across four pages.

   It sits on <body>, sized to the top of the page and not repeated, so it fades out as you
   scroll into the first tinted band. Section backgrounds paint over it normally. */
body{
  background-image:
    radial-gradient(ellipse 60% 70% at 78% 2%, rgba(var(--accent-rgb),.10), transparent 60%),
    linear-gradient(168deg, var(--bg-soft) 0%, var(--bg) 48%);
  background-repeat:no-repeat;
  background-size:100% 820px;
}

/* Base hero wash for the palettes and themes that have no hand-tuned rule of their own. The
   per-palette rules are far more specific, so forest and ocean light keep exactly what they
   had; this only fills the gaps (every dark theme, violet, sunset, rose). */
.hero{background:
  radial-gradient(ellipse at 77% 34%, rgba(var(--accent-rgb),.13), transparent 42%),
  linear-gradient(115deg, var(--bg) 0%, var(--bg-soft) 100%)}

/* Demo gets one pair of leaves, on the calculator band — well away from the live chat, where
   anything moving behind the messages competes with reading them. The booking form gets none:
   someone typing their WhatsApp number wants a calm page. */
#value{position:relative;overflow:hidden}
#value > .wrap{position:relative;z-index:1}
#value::before{content:'';position:absolute;z-index:0;pointer-events:none;
  width:150px;height:150px;top:40px;inset-inline-start:-30px;transform:rotate(-24deg);border-radius:0 100% 0 100%;
  background:linear-gradient(135deg,rgba(var(--accent-rgb),.16),rgba(var(--accent-rgb),.03) 70%)}
@media (max-width:700px){#value::before{width:110px;height:110px;inset-inline-start:-45px}}

/* ===== v33: tap targets =================================================================
   Three standalone text links rendered 16–21px tall on a phone, under the 24px minimum in
   WCAG 2.5.8. They are links people are meant to tap — "More questions", "Request a tailored
   plan", the footer email — not words inside a sentence, so the exemption doesn't apply.
   min-height on an inline-flex box grows the hit area without moving the text.
   The booking form's #b-website is left alone deliberately: it is the spam honeypot and is
   meant to be inconspicuous. */
@media (pointer:coarse),(max-width:860px){
  .faq-more a,.price-note a,.footer-mail,.copy-chip a{display:inline-flex;align-items:center;min-height:26px}
}

/* ===== v34: not-found page ==============================================================
   Four routes as cards rather than a bare "page not found": someone who mistypes a URL or
   follows an old link should land somewhere useful, not a dead end. Reuses the shared card
   shell (--radius-card, --line) so it needs no styling of its own beyond the grid. */
.nf-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:clamp(12px,1.6vw,18px);margin-top:clamp(18px,2.4vw,28px)}
.nf-card{display:flex;flex-direction:column;gap:6px;padding:22px 24px;border:1px solid var(--line);
  border-radius:var(--radius-card);background:var(--bg-soft-2);color:inherit;text-decoration:none;
  transition:transform .2s,border-color .2s,box-shadow .2s}
.nf-card:hover{transform:translateY(-3px);border-color:var(--accent);box-shadow:0 18px 40px -24px rgba(var(--accent-rgb),.45)}
.nf-card b{font-family:'Manrope','Manrope Fallback',sans-serif;font-size:1.02rem}
.nf-card span{color:var(--fg-dim);font-size:.88rem;line-height:1.5}
.nf-foot{margin-top:clamp(18px,2.4vw,26px);text-align:center;color:var(--fg-dim);font-size:.9rem}
.nf-foot a{font-weight:700}

/* ==========================================================================
   v35 — Arabic / RTL layer
   --------------------------------------------------------------------------
   The rest of this sheet is direction-agnostic: box-model, text alignment and
   absolute offsets all use logical properties, so `dir="rtl"` on <html> flips
   the layout with no parallel stylesheet. Everything below is the part that is
   genuinely about the LANGUAGE, not the direction, and so cannot be inferred.

   Three things are deliberately NOT done here:
     * No `letter-spacing:0 !important` on the root. Arabic is cursive and
       letter-spacing breaks the joins — but that rule would also inherit into
       the Zolx wordmark, prices and the Latin UI text that stays Latin on the
       Arabic site, and `!important` would leave no way back. The affected
       selectors are named instead.
     * No `a svg{transform:scaleX(-1)}`. Most SVGs here are logos, tick marks
       and sun/moon icons; mirroring them is wrong. Only the one genuinely
       directional icon is flipped.
     * No `flex-direction:row-reverse`. `dir="rtl"` already reverses flex rows;
       adding row-reverse would flip them back to Latin order.
   ========================================================================== */

/* Arabic faces, appended rather than substituted.
   Manrope, DM Sans and IBM Plex Mono carry no Arabic glyphs at all. Font matching is
   per-character, so adding 'Noto Sans Arabic' at the END of each stack keeps Latin text and
   digits on the original face while Arabic resolves to a real Arabic face — instead of
   whatever the visitor's OS happens to substitute, which differs on every device.
   The monospace case was not merely inconsistent but broken: ui-monospace DOES carry Arabic,
   in isolated non-joining forms, so the fallback stopped there and the script never connected.
   Redefining --mono fixes every element that uses it in one place.
   .brand and .wm are excluded: the Zolx wordmark is Latin in every language. */
:root[dir="rtl"] { --mono: 'IBM Plex Mono', 'Noto Sans Arabic', ui-monospace, monospace; }

[dir="rtl"] h1,
[dir="rtl"] h2,
[dir="rtl"] h3,
[dir="rtl"] .notifs-head b,
[dir="rtl"] .outcome .result,
[dir="rtl"] .range-field output,
[dir="rtl"] .res b,
[dir="rtl"] .stat b,
[dir="rtl"] .step .n,
[dir="rtl"] .price-card .price,
[dir="rtl"] .faq-item summary,
[dir="rtl"] .next li::before,
[dir="rtl"] .teaser b,
[dir="rtl"] .oc-title,
[dir="rtl"] .metric b,
[dir="rtl"] .meter b,
[dir="rtl"] .gate-title,
[dir="rtl"] .rq-title,
[dir="rtl"] .hc-who b,
[dir="rtl"] .hc-order-title b,
[dir="rtl"] .hc-float b,
[dir="rtl"] .tl-copy b,
[dir="rtl"] .integ-label,
[dir="rtl"] .ib-label,
[dir="rtl"] .nf-card b {
  font-family: 'Manrope', 'Manrope Fallback', 'Noto Sans Arabic', sans-serif;
}

[dir="rtl"] body,
[dir="rtl"] .arabic,
[dir="rtl"] .btn,
[dir="rtl"] .copy-chip button,
[dir="rtl"] :root[data-palette="forest"] .kicker,
[dir="rtl"] .hc-msg[dir="rtl"],
[dir="rtl"] b, [dir="rtl"] strong, [dir="rtl"] button, [dir="rtl"] output,
[dir="rtl"] time, [dir="rtl"] summary, [dir="rtl"] label,
[dir="rtl"] input, [dir="rtl"] select, [dir="rtl"] textarea {
  font-family: 'DM Sans', 'DM Sans Fallback', 'Noto Sans Arabic', sans-serif;
}

/* Cursive script: letters join, so tracking pulls them apart and the word stops
   reading as a word. Zeroed only where this sheet sets it. .brand and .wm are
   left alone on purpose — the wordmark stays Latin in every language. */
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3,
[dir="rtl"] .hero h1, [dir="rtl"] .panel h3, [dir="rtl"] .privacy-row h3,
[dir="rtl"] .kicker, [dir="rtl"] .eyebrow, [dir="rtl"] .notifs-head,
[dir="rtl"] .ba-head, [dir="rtl"] .step .n, [dir="rtl"] .footer-contact span,
[dir="rtl"] .teaser .tag-label, [dir="rtl"] .tag-label, [dir="rtl"] .metric b,
[dir="rtl"] .bento-badge, [dir="rtl"] .wa-tg-head, [dir="rtl"] .hv-label,
[dir="rtl"] .mstrip-grid b, [dir="rtl"] .sb-grid b, [dir="rtl"] .cmp-label,
[dir="rtl"] .hc-pill, [dir="rtl"] .ww-label, [dir="rtl"] .hci-label,
[dir="rtl"] .integ-label, [dir="rtl"] .ib-label,
:root[data-palette="forest"] [dir="rtl"] .kicker,
[dir="rtl"] :root[data-palette="forest"] .kicker {
  letter-spacing: 0;
}

/* Arabic sits taller (ascenders, descenders, dots), so Latin leading crowds it. */
[dir="rtl"] body, [dir="rtl"] p, [dir="rtl"] .lede,
[dir="rtl"] .bubble, [dir="rtl"] li {
  line-height: 1.7;
}

/* Arabic has no letter case, so uppercase is a no-op on the Arabic words and a
   shouting mistake on any Latin word mixed in ("WhatsApp" -> "WHATSAPP"). */
[dir="rtl"] .kicker, [dir="rtl"] .eyebrow, [dir="rtl"] .ba-head,
[dir="rtl"] .panel h3, [dir="rtl"] .footer-contact span,
[dir="rtl"] .teaser .tag-label, [dir="rtl"] .tag-label, [dir="rtl"] .bento-badge,
[dir="rtl"] .hv-label, [dir="rtl"] .cmp-label, [dir="rtl"] .hc-pill,
[dir="rtl"] .ww-label, [dir="rtl"] .hci-label, [dir="rtl"] .integ-label,
[dir="rtl"] .ib-label {
  text-transform: none;
}

/* The three places physical values survive, because they are values rather than
   properties and so have no logical form to convert to. */
[dir="rtl"] .reply-btn { text-align: start; }          /* kept physical for the English page */
[dir="rtl"] .field select { background-position: left 14px center; }
[dir="rtl"] .meta { float: left; margin: 8px 10px -4px -2px; }
[dir="rtl"] .bubble.arabic .meta { float: left; }

/* The only icon in the set that actually points somewhere: the chat back chevron.
   Logos, ticks and the sun/moon toggle must not be mirrored. */
[dir="rtl"] svg.back { transform: scaleX(-1); }

/* Language switch in the nav. Quiet by default — it is wayfinding, not a CTA. */
.lang-switch {
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  line-height: 1.4;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
}
.lang-switch:hover { background: var(--bg-soft); }

/* Inside the dark header the switch is a nav control, not a page element, so it follows the
   same treatment as the theme toggle beside it. Without this it inherited the light-surface
   tokens and hovered to a white pill against the dark green. */
.nav .lang-switch {
  color: #e0eee6;
  border-color: rgba(255, 255, 255, .22);
  background: transparent;
}
.nav .lang-switch:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, .45);
  background: rgba(255, 255, 255, .08);
}

/* .kicker carries a palette-scoped override, `:root[data-palette="forest"] .kicker`, whose
   specificity (0,3,0) beats the `[dir="rtl"] .kicker` above (0,2,0) — so on the default palette
   only, the tracking survived into Arabic. Matched here at (0,4,0) rather than reached for with
   !important, which would also have overridden the wordmark. */
/* .kicker is declared again under :root[data-palette="forest"], at specificity (0,3,0), which
   outranks the [dir="rtl"] rules above (0,2,0) — so on the default palette both its tracking and
   its font stack survived into Arabic. Matched here at (0,4,0) rather than with !important. */
:root[dir="rtl"][data-palette="forest"] .kicker {
  letter-spacing: 0;
  font-family: 'DM Sans', 'DM Sans Fallback', 'Noto Sans Arabic', sans-serif;
}

/* The wordmark is a flex row of three spans (z + ring + lx). Under dir="rtl" the flex row
   reverses and it renders "lxoz". The logotype is Latin in every language, so the brand — and
   anything else that is an address rather than prose — is pinned to LTR. isolate keeps it from
   disturbing the bidi run around it. */
[dir="rtl"] .brand,
[dir="rtl"] .wm,
[dir="rtl"] .footer-contact a[href^="mailto:"],
[dir="rtl"] .footer-contact a[href^="http"],
[dir="rtl"] .meta {
  direction: ltr;
  unicode-bidi: isolate;
}
/* ...but the brand must still sit at the start of the header, which in RTL is the right. */
[dir="rtl"] .brand { text-align: start; }

/* The send arrow is the second genuinely directional icon: it points the way the message
   travels, which in RTL is leftward. Scoped to the button, not to `a svg`. */
[dir="rtl"] .pi-send svg { transform: scaleX(-1); }

/* Directional icons, tagged in the markup because CSS cannot select on path data. Only the
   "next / go" arrow is mirrored: the play triangle that shares .btn is a media control, and
   media controls are not mirrored in RTL by convention. .ic-arrow is inert in English — it
   carries no styles outside this rule. */
[dir="rtl"] .ic-arrow { transform: scaleX(-1); }

/* ==========================================================================
   v36 — one border treatment for every card
   --------------------------------------------------------------------------
   Cards had drifted onto four different borders: var(--line) for plain ones,
   var(--accent) for .featured and .primary, a hardcoded #dcebe0 on the workflow
   card and rgba(accent,.32) on .cmp.good. In a row of three, two carried the solid
   accent and the third fell back to the pale line, so it read as unfinished rather
   than as the quiet option.

   One rule now: every card uses the accent at low strength, so they all read as the
   same object. Emphasis stays with .featured / .primary, which keep the solid accent
   plus their tint and ribbon — deliberate contrast, not an oversight.
   --card-line is a token so this cannot drift again.
   ========================================================================== */
:root { --card-line: rgba(var(--accent-rgb), .32); }

.price-card,
.pcard,
.ben,
.cmp,
.workflow-card {
  border-color: var(--card-line);
}

.price-card.featured,
.price-card.primary,
.pcard.featured {
  border-color: var(--accent);
}


/* These two labels live in CSS `content:`, so they are real visible text that no HTML or JS
   extractor can reach — on the Arabic site they were still rendering in English. They only
   appear in the narrow-screen layout of the before/after table, which is why they went unseen.
   Translated here; if the labels ever change, change them in both places. */
[dir="rtl"] .ba-cell.before::before { content: "بدون نور — "; }
[dir="rtl"] .ba-cell.after::before  { content: "مع نور — "; }

/* ==========================================================================
   v37 — a readable floor for the smallest labels
   --------------------------------------------------------------------------
   The root font-size is fluid — clamp(14px, 13.4px + 0.24vw, 17px) — so every rem-based size
   shrinks with the viewport. On a phone the root settles at ~14.2px, which put the smallest
   labels at 9.4px: technically fine for WCAG, genuinely hard to read on a real handset.

   max() sets a floor without touching the type scale: once the viewport is wide enough for the
   original rem value to exceed 11px, the original wins and nothing changes. Only the selectors
   that fell to 10.5px or below are listed; anything already at 11px+ is left alone.
   ========================================================================== */
.hc-pill,
.meta {
  font-size: max(11px, 0.66rem);
}

.hc-float div span,
.ib-label,
.lang-tag,
.mstrip-grid span,
.wa-tg-head {
  font-size: max(11px, 0.68rem);
}

.cmp-label,
.composer .hint,
.eyebrow,
.feat-tag,
.hci-label,
.integ-label,
.metric span,
.ms-saved,
.tag,.sys,
.visual-note,
.ww-label {
  font-size: max(11px, 0.7rem);
}

.bento-badge,
.cc-try>span,
.fc-tag,
.flow-card small,
.hv-label,
.ma-head,
.mock-sheet,
.ms-grid .h,
.paused-pill,
.range-field .scale,
.teaser .tag-label,
:root[data-palette="forest"] .kicker {
  font-size: max(11px, 0.72rem);
}

.ba-head,
.cc-chip,
.cc-head .who span,
.float-alert span,
.footer-contact span,
.hc-who span,
.how-steps .when,
.kicker,
.mini-msg,
.notifs-head,
.panel h3,
.phone-head .who span,
.price-card .ribbon,
.staff-alert .sa-head,
.step .when,
.tg-card .tg-head {
  font-size: max(11px, 0.74rem);
}

/* Pointer targets below the WCAG 2.2 AA minimum of 24x24 (2.5.8). All four are standalone
   controls, so the "inline in a sentence" exception does not apply. Padding on the block axis
   only, so nothing reflows horizontally. Measured at desktop widths, where they were smallest —
   the mobile layout already gives them more room. */
.assume summary { padding-block: 3px; }
.faq-more a,
.footer-mail,
#email-text { padding-block: 4px; }

/* <small> applies the browser's own 80% shrink on top of the inherited size, which lands this
   one at 10.2px even after the floor above. It keeps its visual step down through weight and
   colour instead. (Hidden under 420px, so this only affects wider screens.) */
.ms-bar small { font-size: max(11px, .92em); }

/* Contrast, measured from the pixels actually painted behind the text rather than from
   background-color (most of this site's bands are gradients, which a computed-style check
   reads as transparent and gets wrong).

   1. The composer placeholder inside the phone mock sat at 3.45:1 against its own field.
      It is simulated placeholder text, but it is still text a visitor reads. Same hue, darker. */
.hc-field { color: #62726b; }

/* 2. In dark mode the lime "Usually live within a few days" pill came to 4.48:1 — three
      hundredths under AA. The label is already near-black, so the pill lifts instead. */
:root[data-theme="dark"] .step .when,
:root[data-theme="dark"] .how-steps .when { background: #579c71; }

/* Text-only zoom (WCAG 1.4.4): a flex item defaults to min-width:auto, so it refuses to shrink
   below its content's intrinsic width and therefore never wraps. At 200% text the industries
   chip row pushed 700px past the viewport for that reason. min-width:0 lets it wrap instead.
   No effect at normal size, where the row already fits. */
.ib-chips { min-width: 0; }
.ind-band-in > * { min-width: 0; }
/* Same for the header: at 200% text the links outgrew the bar. */
.nav nav { flex-wrap: wrap; }

/* .ib-chips / .ind-band-in carry flex-wrap:nowrap at top level (not inside a media query, as
   the formatting suggests), so the row could never wrap above 1100px. At normal size the chips
   fit on one line and wrap changes nothing; it only matters when the text is enlarged. */
.ind-band-in,
.ib-chips { flex-wrap: wrap; }

/* "Request a tailored plan →" sits apart from the sentence beside it, so it is a standalone
   target and came to 23px at tablet widths — one pixel short of the 24px minimum. */
.price-note a { padding-block: 3px; display: inline-block; }

/* ============================================================================
   v38 — dark-theme surfaces that were still hard-coded light.

   The phone mock in #proof already reads the --chat-* tokens and goes dark
   correctly. The hero chat card and the feature-card mini-chats were written
   with literal hex values (#fff, #f5faf6, #dcf2e3) before those tokens
   existed, so they stayed white on a dark page — three bright panels in an
   otherwise dark layout. These rules wire them to the SAME tokens the phone
   already uses; no new colours are introduced.
   ========================================================================== */

/* --- hero chat card ------------------------------------------------------ */
:root[data-theme="dark"] .hero-chat{background:var(--chat-head);color:var(--fg)}
:root[data-theme="dark"] .hc-head{border-bottom-color:var(--line)}
:root[data-theme="dark"] .hc-who span{color:var(--fg-dim)}
:root[data-theme="dark"] .hc-pill{background:var(--tint);color:var(--accent-soft)}
:root[data-theme="dark"] .hc-pill:hover,
:root[data-theme="dark"] .hc-pill:focus-visible{background:var(--accent);color:var(--on-accent)}
:root[data-theme="dark"] .hc-scroll{background:var(--chat-wall);scrollbar-color:rgba(232,243,239,.2) transparent}
:root[data-theme="dark"] .hc-scroll:focus-visible{outline-color:var(--accent-soft)}
:root[data-theme="dark"] .hc-msg.in{background:var(--bubble-in);border-color:var(--line);color:var(--fg)}
:root[data-theme="dark"] .hc-msg.out{background:var(--bubble-out);color:var(--bubble-out-fg)}
:root[data-theme="dark"] .hc-order{background:var(--bubble-in);border-color:var(--line);color:var(--fg)}
:root[data-theme="dark"] .hc-row{color:var(--fg-dim)}
:root[data-theme="dark"] .hc-row b{color:var(--fg)}
:root[data-theme="dark"] .hc-row.total{border-top-color:var(--line);color:var(--fg)}
:root[data-theme="dark"] .hc-row.total b{color:var(--total-fg)}
:root[data-theme="dark"] .hc-chips{border-top-color:var(--line)}
:root[data-theme="dark"] .hc-chip{background:var(--tint);border-color:var(--line);color:var(--fg)}
:root[data-theme="dark"] .hc-chip:hover,
:root[data-theme="dark"] .hc-chip:focus-visible{background:var(--accent);border-color:var(--accent);color:var(--on-accent)}
:root[data-theme="dark"] .hc-field{background:var(--tint);border-color:var(--line);color:var(--fg-dim)}
:root[data-theme="dark"] .hc-input:hover .hc-field{border-color:var(--accent-soft)}
:root[data-theme="dark"] .hc-send{background:var(--accent);color:var(--on-accent)}
:root[data-theme="dark"] .hc-input:hover .hc-send{background:var(--accent-hover)}

/* --- feature-card mini chats --------------------------------------------- */
:root[data-theme="dark"] .mini-chat,
:root[data-theme="dark"] .fcard .mini-chat{background:var(--chat-wall);border-color:var(--line)}
:root[data-theme="dark"] .mini-msg{background:var(--bubble-in);border-color:var(--line);color:var(--fg-dim)}
:root[data-theme="dark"] .mini-msg.right{background:var(--bubble-out);border-color:var(--bubble-out);color:var(--bubble-out-fg)}

/* --- the panel the proof phone sits on ----------------------------------- */
/* (v39 folds this into one token-based rule for both themes — see below) */

/* ============================================================================
   v39 — two light-theme leftovers from the same half-finished token pass.

   1. .proof-visual (the panel the phone sits on) still carried a literal mint
      gradient, while .workflow-card — the panel holding the sheet + Telegram
      mock, i.e. exactly the same role — had already been moved to
      var(--bg-soft-2). Two identical roles, two different surfaces. Now one
      rule serves both themes.

   2. The "recommended" treatment was a 4% tint — eleven points out of 255,
      below the threshold anyone notices. The featured pricing card and the
      with-Noor comparison card were not reading as highlighted at all.
      --hl-1/--hl-2 make the emphasis visible, at a strength tuned per theme
      so the lime does not shout on the dark background.
   ========================================================================== */
:root{--hl-1:rgba(var(--accent-rgb),.16);--hl-2:rgba(var(--accent-rgb),.05)}
:root[data-theme="dark"]{--hl-1:rgba(var(--accent-rgb),.12);--hl-2:rgba(var(--accent-rgb),.03)}

.proof-visual{
  background:var(--bg-soft-2);
  border:1px solid var(--line);
  box-shadow:0 18px 50px rgba(35,78,53,.08)
}
:root[data-theme="dark"] .proof-visual{box-shadow:var(--shadow-lg)}

.cmp.good{background:linear-gradient(145deg,var(--hl-1),var(--hl-2) 70%),var(--bg-soft-2)}
.pcard.featured{
  background:linear-gradient(170deg,var(--hl-1),var(--hl-2) 65%),var(--bg-soft-2);
  border:2px solid var(--accent)
}

/* ============================================================================
   v40 — two more one-off inverted surfaces, same half-finished pass.

   1. .results-box (the demo-page value calculator) was painted with
      var(--obsidian). That token is the site's FULL-WIDTH dark band — footer,
      .cta-band, the dark hero band — where an inverted block reads as a
      deliberate section break. Used on one card of a two-card grid, beside a
      white sibling, it just reads as a mismatch. It becomes a normal themed
      card; the emphasis moves to the .big tile, which keeps the accent tint
      and the lime figure.

   2. .tg-card (the Telegram mock in "How it works") was var(--accent) — dark
      green on light, lime on dark. The site already has a correct treatment
      for exactly this object: .staff-alert in #proof is var(--bg-soft-2) with
      an accent border. Two Telegram alert mockups, two different surfaces.
      .tg-card now matches .staff-alert.

   Both are reversible in one line if the inverted look is wanted back.
   ========================================================================== */

/* --- demo-page calculator ------------------------------------------------ */
.results-box{
  background:var(--bg-soft-2);color:var(--fg);
  border:1px solid var(--line);box-shadow:0 18px 50px rgba(35,78,53,.08)
}
:root[data-theme="dark"] .results-box{box-shadow:var(--shadow-lg)}
.rb-title{color:var(--fg)}
.results-box .res{background:var(--bg-soft);border:1px solid var(--line)}
.results-box .res span{color:var(--fg-dim)}
.results-box .res b{color:var(--fg)}
.results-box .res small{color:var(--fg-dim)}
.results-box .res.big{
  background:linear-gradient(160deg,var(--hl-1),var(--bg-soft) 60%);
  border-color:rgba(var(--accent-rgb),.55)
}
.results-box .res.big b{color:var(--total-fg)}
.results-box .note{color:var(--fg-dim)}

/* --- Telegram alert mock, matched to .staff-alert ------------------------ */
.tg-card{
  background:var(--bg-soft-2);color:var(--fg);
  border:1px solid rgba(var(--accent-rgb),.45);
  box-shadow:0 20px 40px -26px rgba(var(--shadow-rgb),calc(.85 * var(--shadow-k)))
}
.tg-card .tg-head{color:var(--fg-dim);opacity:1}
.tg-card .tg-head svg{color:var(--accent-soft)}
.tg-card b{color:var(--fg)}
.tg-card .l{color:var(--fg-dim);opacity:1}
.tg-card .l span{color:var(--fg)}

/* ============================================================================
   v41 — demo page rebuilt around mobile, where the visitors actually are.

   Before this, every panel sat above the phone in document order, so on a
   390px screen the message box — the one thing the page exists for — was
   2,149px down: two and a half screens of scrolling, past four panels AND
   past the "Book a free demo" CTA. The page asked for the booking before
   the visitor had tried the product.

   Mobile order is now: pick a business type -> chat -> the suggestions that
   feed the chat -> messages left + CTA -> context panels -> fine print.
   The CTA now comes after the experience instead of before it.

   Desktop keeps the same source order but places the phone in the middle
   column, context on the left, suggestions + counter on the right.

   The chat box also sized itself to a fixed 470px while holding ~90px of
   content, so the demo opened looking abandoned. It now starts near its
   content and grows to the old height as the conversation fills it; the
   registration gate's min-height tracks it so the phone never jumps.
   ========================================================================== */

/* ---- mobile first: one column, chat before everything that explains it ---
   The rails collapse with display:contents so the panels become direct flex
   items here and `order` can interleave them with the phone.                */
@media (max-width:860px){
  .demo-wrap{display:flex;flex-direction:column;gap:22px}
  .rail{display:contents}
  .demo-wrap .phone-col      {order:1}
  .demo-wrap .panel.ask      {order:2}
  .demo-wrap .panel.outcome  {order:3}
  .demo-wrap .panel.setup    {order:4}
  .demo-wrap .panel.problem  {order:5}
  .demo-wrap .demo-note      {order:6}
}

/* ---- desktop: phone centred, context left, controls right ----------------
   Each rail is its own flex column. Sharing grid ROWS between the two rails
   made row 1 as tall as the taller card, so the shorter right-hand card left
   a 122px hole beneath it against 42px on the left. One row, three columns,
   each rail spacing its own cards evenly.                                   */
@media (min-width:861px){
  .demo-wrap{
    grid-template-columns:minmax(0,1fr) minmax(21rem,25rem) minmax(0,1fr);
    gap:28px 32px;align-items:start
  }
  .demo-wrap > .rail{display:flex;flex-direction:column;gap:22px}
  .demo-wrap > .rail-a    {grid-column:1;grid-row:1}
  .demo-wrap > .phone-col {grid-column:2;grid-row:1;position:sticky;top:88px}
  .demo-wrap > .rail-b    {grid-column:3;grid-row:1}
  .demo-wrap > .demo-note {grid-column:1 / -1;grid-row:2;margin-top:4px}
}

/* ---- the conversation sits on the bottom edge, as a real chat does -------
   A new thread has one greeting in a tall box. Anchored to the top, the empty
   two-thirds below read as "nothing happened here"; anchored to the bottom,
   against the input, the same space reads as room above the conversation —
   which is exactly how WhatsApp itself looks when a chat has just started.
   margin-block-start:auto rather than justify-content:flex-end, because the
   latter can make overflowing content unreachable in a scroll container.    */
.chat.interactive > *:first-child{margin-block-start:auto}

/* ---- phone proportions --------------------------------------------------
   The mock was 400x469 — 1:1.17, nearly square, and read as a tablet. Real
   phones are around 1:2.16 (iPhone 14 is 390x844). The chat is the only
   flexible part of the frame, so its height sets the whole shape: the frame
   is chat + ~180px of status bar, header, input and padding.

   The desktop value is capped against the viewport rather than fixed, because
   the phone is position:sticky — an element taller than the window cannot
   stick, so a flat 620px would break the sticky column on a 768px laptop.

   Mobile gets a smaller bump on purpose. The visitor is already holding a
   phone, so the frame has no illusion to sell there, and every pixel of its
   height pushes the message box further down the page — the exact thing the
   mobile reorder was for.                                                   */
.chat.interactive{height:clamp(320px,calc(100vh - 300px),620px);min-height:0;max-height:none}
.demo-gate{min-height:clamp(320px,calc(100vh - 300px),620px)}
@media (max-width:860px){
  .chat.interactive{height:clamp(260px,40vh,330px)}
  .demo-gate{min-height:clamp(260px,40vh,330px)}
}

/* ============================================================================
   v44 — the registration gate as an in-app sheet.

   It used to render as a block appended under the conversation, so the phone
   frame grew by the whole height of the form the moment the free messages ran
   out — a ~500px form turned a 800px phone into a 1,300px one, and the
   "phone" stopped looking like a phone at the exact moment it mattered most.

   It is now a sheet anchored to the bottom of the phone screen, over the
   conversation, the way a real app asks for something mid-flow. The frame
   keeps its size, the visitor keeps seeing the conversation they just had
   (which is the argument for registering), and openChat() hiding the gate
   closes the sheet again.

   .phone-screen already supplies position:relative and overflow:hidden, so
   the sheet is clipped to the rounded frame with nothing further needed.
   ========================================================================== */
.demo-gate{
  position:absolute;inset-inline:0;bottom:0;z-index:3;
  min-height:0;max-height:88%;overflow-y:auto;
  justify-content:flex-start;
  padding:18px 20px calc(20px + env(safe-area-inset-bottom,0px));
  border-radius:22px 22px 0 0;
  box-shadow:0 -16px 38px rgba(8,20,16,.22);
  animation:gate-sheet-up .28s cubic-bezier(.2,.8,.25,1) both;
}
@media (max-width:860px){ .demo-gate{min-height:0;max-height:92%} }

/* the grab handle that makes it read as a sheet rather than a panel */
.demo-gate .gate-title::before{
  content:"";display:block;width:38px;height:4px;border-radius:999px;
  background:var(--line-strong);margin:0 auto 14px
}

/* conversation dimmed behind the sheet; no scrim on browsers without :has(),
   which degrades to an undimmed chat rather than anything broken */
.phone-screen:has(.demo-gate:not([hidden]))::after{
  content:"";position:absolute;inset:0;z-index:2;pointer-events:none;
  background:rgba(8,20,16,.38)
}

@keyframes gate-sheet-up{from{transform:translateY(14%);opacity:0}to{transform:none;opacity:1}}
@media (prefers-reduced-motion:reduce){.demo-gate{animation:none}}

/* ============================================================================
   v45 — the mobile hero had no way into the demo.

   .try-live (the "Try Noor live — right now" card) is display:none below 901px,
   so on a phone the hero offered /book and "See how it works", and the latter
   jumped 2,552px — three screens — to a block of explanatory text. The live
   demo is the strongest thing on this site and it was unreachable from the
   first screen on the device most visitors use.

   Two real anchors, one shown per breakpoint, rather than one anchor whose
   label lies about where it goes: on a phone the secondary action opens the
   chat; on a laptop it still explains, because the try-live card is there to
   cover the demo.
   ========================================================================== */
.hero-how{display:none}
.hero-try{display:inline-flex}
@media (min-width:901px){
  .hero-how{display:inline-flex}
  .hero-try{display:none}
}

/* ============================================================================
   v46 — dynamic viewport units, so the phone frame shrinks with the keyboard.

   vh is frozen at the height the viewport had BEFORE the on-screen keyboard
   appeared, so on a phone the chat kept its full height and pushed the message
   box down behind the keyboard. dvh tracks the viewport that is actually
   visible, so the frame gives back the space the keyboard took.

   The vh line stays first as a fallback: a browser that does not understand
   dvh ignores the second declaration and keeps the old behaviour.
   ========================================================================== */
.chat.interactive{height:clamp(320px,calc(100vh - 300px),620px)}
.chat.interactive{height:clamp(320px,calc(100dvh - 300px),620px)}
@media (max-width:860px){
  .chat.interactive{height:clamp(260px,40vh,330px)}
  .chat.interactive{height:clamp(240px,38dvh,330px)}
}
