/* =========================================================
   WildDream Studio — Site styles
   Brand (the social media brand guide, 2026-09, section 01; TASK-71): night navy 0E1634 · dream pink F8B0BE ·
          sky blue 4C80EE · deep blue 3263C9 · sun yellow FACA2B · flame orange FF5A0B · ember red EE3923 · cream FFF7EC
   ========================================================= */

:root {
  --navy: #0E1634;
  --navy-2: #141F4B;
  --navy-3: #1C2A5E;
  --ink: #0F1B3D;
  --pink: #F8B0BE;
  --pink-soft: #FDE6EB;
  --blue: #4C80EE;
  --blue-d: #3263C9;
  --blue-soft: #E7EEFD;
  --yellow: #FACA2B;
  --yellow-soft: #FFF5CC;
  --orange: #FF5A0B;
  --orange-soft: #FFE9DC;
  --red: #EE3923;
  --red-ink: #BE1E12;  /* ember red as text on white and on its tints (6.2:1); the guide's red reads 4.0:1 there */
  --cream: #FFF7EC;    /* the guide's alternative background; a token only, nothing uses it yet */
  /* the same colours as channels, for the translucent shadows and glows: rgba(var(--navy-rgb), .08) */
  --navy-rgb: 14, 22, 52;
  --blue-rgb: 76, 128, 238;
  --orange-rgb: 255, 90, 11;
  /* the five fields (TASK-70, the brand guide's «لون لكل خدمة»): -c the guide's colour; -ink its text on white and on the
     field's 13% tint (≥ 4.5:1); -on the text and icons drawn on the colour (≥ 4.5:1): night navy, which clears AA on all
     five, deepened to #080E26 on the ember red where #0E1634 reads 4.43:1. tests/task70.test.ts holds the ratios.
     TASK-71: the guide's field colours are its brand colours, so they read the brand tokens above. */
  --f-ai: var(--blue);      --f-ai-ink: #2B5BC4;          --f-ai-on: var(--navy);
  --f-web: var(--yellow);   --f-web-ink: #7A5D00;         --f-web-on: var(--navy);
  --f-mkt: var(--pink);     --f-mkt-ink: #B0244F;         --f-mkt-on: var(--navy);
  --f-game: var(--orange);  --f-game-ink: #B33A00;        --f-game-on: var(--navy);
  --f-anime: var(--red);    --f-anime-ink: var(--red-ink); --f-anime-on: #080E26;
  --white: #FFFFFF;
  --bg: #FFFFFF;
  --bg-soft: #F6F7FB;
  --muted: #5B6480;
  --line: #E6E8F0;
  --shadow: 0 10px 30px rgba(var(--navy-rgb), 0.08);
  --shadow-lg: 0 24px 60px rgba(var(--navy-rgb), 0.16);
  --radius: 20px;
  --radius-sm: 12px;
  --container: 1180px;
  --font-ar: 'Cairo', 'Segoe UI', Tahoma, sans-serif;
  --font-en: 'Poppins', 'Segoe UI', Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-ar);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
  /* No overflow guard here on purpose: overflow-x on body propagates to the viewport and kills programmatic
     scrolling (scrollIntoView, window.scrollTo, in-page anchors). The stray horizontal scroll this used to hide
     was the off-screen honeypot input, now fixed properly by .visually-hidden below. */
}
html[lang="en"] body { font-family: var(--font-en); line-height: 1.65; }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.25; font-weight: 800; }
p { margin: 0; }

.container { width: min(100% - 32px, var(--container)); margin-inline: auto; }
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section-soft { background: var(--bg-soft); }
.section-navy { background: var(--navy); color: var(--white); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--orange);
}
.eyebrow::before { content: ""; width: 22px; height: 3px; border-radius: 2px; background: var(--orange); }
.section-navy .eyebrow { color: var(--yellow); }
.section-navy .eyebrow::before { background: var(--yellow); }

.section-head { max-width: 720px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head h2 { font-size: clamp(26px, 3.4vw, 40px); margin-top: 10px; }
.section-head p { color: var(--muted); margin-top: 12px; font-size: 17px; }
.section-navy .section-head p { color: rgba(255, 255, 255, .72); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow::before { display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 24px; border-radius: 999px; border: 2px solid transparent;
  font-weight: 700; font-size: 15px; line-height: 1.2; white-space: nowrap;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s, color .2s, border-color .2s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 10px 24px rgba(var(--orange-rgb), .32); }
.btn-primary:hover { background: #e84e05; }
.btn-navy { background: var(--navy); color: #fff; box-shadow: 0 10px 24px rgba(var(--navy-rgb), .28); }
.btn-navy:hover { background: var(--navy-2); }
.btn-whatsapp { background: #25D366; color: #fff; box-shadow: 0 10px 24px rgba(37, 211, 102, .3); }
.btn-whatsapp:hover { background: #1fbf5a; }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--yellow); }
.btn-outline { border-color: rgba(255, 255, 255, .5); color: #fff; }
.btn-outline:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }
.btn-outline-dark { border-color: var(--ink); color: var(--ink); }
.btn-outline-dark:hover { background: var(--ink); color: #fff; }
.btn-sm { padding: 9px 16px; font-size: 14px; }
/* phones: the long labels of the home page's journey button and a service's price box and demo box wrap inside the button
   instead of widening the page (TASK-39). Only these: every other button (the order bar, the portal's row
   buttons, icon + text pills) keeps its single line. */
@media (max-width: 600px) {
  .steps-cta .btn, .sp-buy .btn, .sp-demo .btn { max-width: 100%; white-space: normal; text-align: center; }
}

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(var(--navy-rgb), .92);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; }
.brand img { height: 46px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; gap: 5px; }
.brand-text strong { font-family: var(--font-en); font-size: 17px; font-weight: 700; letter-spacing: .01em; white-space: nowrap; }
.brand-text small { font-family: var(--font-en); font-size: 9px; letter-spacing: .22em; color: var(--orange); font-weight: 600; text-transform: uppercase; line-height: 1; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  padding: 10px 14px; border-radius: 999px; color: rgba(255, 255, 255, .8); font-weight: 600; font-size: 15px;
  transition: color .2s, background .2s;
}
.nav a:hover, .nav a.active { color: #fff; background: rgba(255, 255, 255, .08); }
.nav a.active { color: var(--yellow); }

.header-actions { display: flex; align-items: center; gap: 10px; }
.lang-toggle {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px; border-radius: 999px; border: 1.5px solid rgba(255, 255, 255, .28);
  background: transparent; color: #fff; font-weight: 700; font-size: 14px;
  transition: background .2s, border-color .2s;
}
.lang-toggle:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }
.lang-toggle svg { width: 16px; height: 16px; }

.nav .nav-login { display: none; }
.btn-login { border-color: rgba(255, 255, 255, .35); }

/* Signed in: the sign-in button gives way to an account menu carrying the person's initials. */
.btn-login.is-replaced { display: none; }
.acct { position: relative; }
/* the avatar sits on the leading edge in both directions, so let the padding follow the text */
.acct-btn {
  display: inline-flex; align-items: center; gap: 9px; padding: 5px; padding-inline-end: 12px; border-radius: 999px;
  border: 1.5px solid rgba(255, 255, 255, .28); background: transparent; color: #fff; font-weight: 700; font-size: 14px;
  transition: background .2s, border-color .2s;
}
.acct-btn:hover, .acct-btn[aria-expanded="true"] { border-color: #fff; background: rgba(255, 255, 255, .1); }
.acct-chev { width: 14px; height: 14px; opacity: .75; transition: transform .2s var(--ease); }
.acct-btn[aria-expanded="true"] .acct-chev { transform: rotate(180deg); }
.acct-menu {
  position: absolute; top: calc(100% + 10px); inset-inline-end: 0; z-index: 70; min-width: 250px; padding: 8px;
  border-radius: 16px; background: #fff; color: var(--ink); border: 1px solid var(--line); box-shadow: var(--shadow-lg);
  animation: acct-in .16s var(--ease);
}
.acct-menu[hidden] { display: none; }
@keyframes acct-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.acct-head { padding: 10px 12px 12px; margin-bottom: 6px; border-bottom: 1px solid var(--line); }
.acct-head strong { display: block; font-size: 14.5px; line-height: 1.4; }
.acct-head small { display: block; margin-top: 2px; font-size: 12.5px; color: var(--muted); text-align: start; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html[dir="rtl"] .acct-head small { text-align: right; }
.acct-menu [role="menuitem"] {
  display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; border: 0; border-radius: 10px;
  background: none; color: var(--ink); font: inherit; font-size: 14.5px; font-weight: 700; text-align: start; cursor: pointer;
}
.acct-menu [role="menuitem"]:hover, .acct-menu [role="menuitem"]:focus-visible { background: var(--bg-soft); outline: none; }
.acct-menu [role="menuitem"] svg { width: 18px; height: 18px; flex: none; color: var(--muted); }
.acct-menu .acct-out { color: var(--red-ink); }
.acct-menu .acct-out svg { color: var(--red-ink); }
html[dir="rtl"] .acct-menu .acct-out svg { transform: scaleX(-1); }
.acct-menu [role="menuitem"][disabled] { opacity: .6; cursor: progress; }
.nav .nav-signout { display: none; }
.acc-avatar {
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: linear-gradient(135deg, var(--blue), var(--orange)); color: #fff;
  font-weight: 800; font-size: 12px; letter-spacing: .3px; line-height: 1;
}
.acc-avatar.is-anon { background: rgba(255, 255, 255, .16); }
.acc-avatar svg { width: 17px; height: 17px; }
.acc-name { font-weight: 700; max-width: 9ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 1200px) and (min-width: 961px) {
  .acc-name { display: none; }
  .acct-btn { padding-inline-end: 8px; gap: 6px; }
}

.menu-btn {
  display: none; width: 44px; height: 44px; border-radius: 12px; border: 1.5px solid rgba(255, 255, 255, .25);
  background: transparent; color: #fff; align-items: center; justify-content: center;
}
.menu-btn svg { width: 22px; height: 22px; }

/* Tablet landscape (iPad 1024-1200px): the full nav must fit on one line beside the brand and the buttons.
   Brand and actions never shrink, links never wrap; sizes are compacted, and the brand name gives way below 1100px. */
.brand, .header-actions { flex: none; }
.nav { min-width: 0; }
.nav a { white-space: nowrap; }
@media (max-width: 1200px) and (min-width: 961px) {
  .header-inner { gap: 12px; }
  .nav { gap: 0; }
  .nav a { padding: 8px 9px; font-size: 14px; }
  .header-actions { gap: 8px; }
  .header .btn { padding: 9px 15px; font-size: 14px; }
  .lang-toggle { padding: 7px 11px; font-size: 13px; }
  .brand { gap: 10px; }
  .brand img { height: 42px; }
  .brand-text small { display: none; }
}
@media (max-width: 1100px) and (min-width: 961px) {
  .brand-text { display: none; }
}

/* Mobile nav */
@media (max-width: 960px) {
  .nav {
    position: fixed; inset: 76px 0 auto 0; flex-direction: column; align-items: stretch; gap: 4px;
    background: var(--navy); padding: 16px; border-bottom: 1px solid rgba(255, 255, 255, .1);
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: transform .25s var(--ease), opacity .2s;
    box-shadow: 0 30px 40px rgba(0, 0, 0, .35);
  }
  .nav.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav a { padding: 14px 16px; font-size: 16px; }
  .menu-btn { display: inline-flex; }
  .header .btn-cta, .header .btn-login { display: none; }
  .nav .nav-login { display: block; color: var(--yellow); }
  .acct { display: none; }
  .nav .nav-signout {
    display: block; width: 100%; padding: 14px 16px; border: 0; border-radius: 999px; background: none;
    color: #FF9B94; font: inherit; font-size: 16px; font-weight: 600; text-align: start; cursor: pointer;
  }
  .nav .nav-signout:hover { background: rgba(255, 255, 255, .08); }
  /* the links fold into the menu, so the name has room beside the logo again (hidden only in the tablet band above) */
  .brand { gap: 10px; min-width: 0; }
  .brand img { height: 42px; }
  .brand-text { display: flex; gap: 4px; }
  .brand-text strong { font-size: 16px; }
  .brand-text small { font-size: 8px; letter-spacing: .18em; }
}
@media (max-width: 480px) {
  .lang-toggle span { display: none; }
  .lang-toggle { padding: 8px 10px; }
}
@media (max-width: 370px) {
  .brand { gap: 8px; }
  .brand img { height: 36px; }
  .brand-text strong { font-size: 14px; }
  .brand-text small { font-size: 7px; letter-spacing: .14em; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; background: var(--navy); color: #fff;
  padding: clamp(56px, 8vw, 110px) 0 clamp(64px, 8vw, 120px);
  isolation: isolate;
}
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero h1 {
  font-size: clamp(34px, 5.2vw, 62px); line-height: 1.28; letter-spacing: -.01em;
  margin-top: 18px;
}
html[lang="en"] .hero h1 { line-height: 1.18; }
/* the word carrying a shadda gets extra room above it, without loosening the other lines */
.hero h1 .dia { display: inline-block; padding-top: .36em; }
.hero h1 .grad {
  background: linear-gradient(90deg, var(--pink), var(--yellow), var(--orange));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-lead { font-size: clamp(17px, 1.6vw, 20px); color: rgba(255, 255, 255, .78); max-width: 560px; margin-top: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.hero-tags span {
  padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 600;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14);
}

.hero-visual { position: relative; display: grid; place-items: center; min-height: 340px; }
.hero-visual img {
  width: min(100%, 420px); filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .45));
  animation: float 6s ease-in-out infinite;
}
.hero-visual .glow {
  position: absolute; inset: 10%; border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--blue-rgb), .35), rgba(var(--orange-rgb), .12) 50%, transparent 70%);
  filter: blur(30px); z-index: -1;
}

.dots { position: absolute; inset: 0; pointer-events: none; z-index: -1; }
.dots span {
  position: absolute; border-radius: 50%; opacity: .9;
  animation: drift var(--d, 9s) ease-in-out infinite alternate;
}
.dots .d1 { width: 90px; height: 90px; background: var(--pink); top: 8%; inset-inline-end: 6%; --d: 10s; }
.dots .d2 { width: 36px; height: 36px; background: var(--blue); top: 30%; inset-inline-end: 3%; --d: 8s; }
.dots .d3 { width: 60px; height: 60px; background: var(--yellow); bottom: 14%; inset-inline-end: 10%; --d: 12s; }
.dots .d4 { width: 120px; height: 120px; background: var(--red); bottom: -50px; inset-inline-start: -40px; --d: 11s; opacity: .8; }
.dots .d5 { width: 44px; height: 44px; background: var(--orange); top: 12%; inset-inline-end: 40%; --d: 9s; }
.dots .d6 { width: 26px; height: 26px; background: var(--pink); top: 55%; inset-inline-end: 44%; --d: 7s; }
@media (max-width: 960px) { .dots span { opacity: .35; } }

@keyframes float { 0%, 100% { transform: translateY(0) } 50% { transform: translateY(-14px) } }
@keyframes drift { from { transform: translate(0, 0) } to { transform: translate(14px, -18px) } }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 56px; }
.stat {
  padding: 18px 20px; border-radius: 16px; background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .1);
}
.stat strong { display: block; font-size: 30px; font-weight: 800; line-height: 1.1; color: var(--yellow); font-family: var(--font-en); }
.stat span { font-size: 14px; color: rgba(255, 255, 255, .72); }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .hero-visual { order: -1; min-height: 240px; }
  .hero-visual img { width: min(70%, 300px); }
  .stats { grid-template-columns: repeat(2, 1fr); margin-top: 40px; }
}

/* ---------- Pillars ---------- */
/* five fields: three on the first row, two wider ones under them */
.pillars { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.pillars > .pillar { grid-column: span 2; }
.pillars > .pillar:nth-child(n+4) { grid-column: span 3; }
.pillar-badge { position: absolute; top: 16px; inset-inline-end: 16px; font-family: var(--font-en); font-size: 11px; font-weight: 800; letter-spacing: .08em; padding: 3px 9px; border-radius: 999px; background: var(--c); color: var(--c-on, #fff); z-index: 1; }
.pillar {
  position: relative; overflow: hidden; padding: 28px 24px 24px; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
  display: flex; flex-direction: column;
}
.pillar:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.pillar::after {
  content: ""; position: absolute; width: 180px; height: 180px; border-radius: 50%;
  top: -80px; inset-inline-end: -70px; opacity: .18; background: var(--c);
}
.pillar-icon {
  width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center;
  background: var(--c); color: var(--c-on, #fff); margin-bottom: 18px;
}
.pillar-icon svg { width: 28px; height: 28px; }
.pillar h3 { font-size: 20px; margin-bottom: 8px; }
.pillar p { color: var(--muted); margin-bottom: 16px; }
.pillar ul { margin-bottom: 20px; display: grid; gap: 8px; }
.pillar li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.pillar li::before {
  content: ""; flex: none; width: 18px; height: 18px; border-radius: 50%; margin-top: 4px;
  background: var(--c) center / 10px no-repeat;
  /* the tick is the fields' --c-on (night navy); a data URI cannot read a variable */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230E1634' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E");
}
.pillar-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pillar-foot .from { font-size: 13px; color: var(--muted); }
.pillar-foot .from strong { display: block; font-size: 20px; color: var(--ink); font-family: var(--font-en); }
.pillar-foot a { color: var(--c-ink, var(--c)); font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.pillar-foot a svg { width: 18px; height: 18px; transition: transform .2s; }
.pillar-foot a:hover svg { transform: translateX(4px); }
html[dir="rtl"] .pillar-foot a svg { transform: scaleX(-1); }
html[dir="rtl"] .pillar-foot a:hover svg { transform: scaleX(-1) translateX(4px); }

.c-ai, .p-ai { --c: var(--f-ai); --c-ink: var(--f-ai-ink); --c-on: var(--f-ai-on); }
.c-web { --c: var(--f-web); --c-ink: var(--f-web-ink); --c-on: var(--f-web-on); }
.c-mkt { --c: var(--f-mkt); --c-ink: var(--f-mkt-ink); --c-on: var(--f-mkt-on); }
.c-game, .p-game { --c: var(--f-game); --c-ink: var(--f-game-ink); --c-on: var(--f-game-on); }
.c-anime, .p-anime { --c: var(--f-anime); --c-ink: var(--f-anime-ink); --c-on: var(--f-anime-on); }

@media (max-width: 1100px) { .pillars { grid-template-columns: repeat(2, 1fr); } .pillars > .pillar, .pillars > .pillar:nth-child(n+4) { grid-column: auto; } .pillars > .pillar:last-child { grid-column: 1 / -1; } }
@media (max-width: 640px) { .pillars { grid-template-columns: 1fr; } }

/* ---------- Why ---------- */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.why-list { display: grid; gap: 16px; }
.why-item { display: flex; gap: 16px; padding: 18px 20px; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.why-item .n {
  flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  font-family: var(--font-en); font-weight: 800; font-size: 18px; color: #fff; background: var(--navy);
}
.why-item:nth-child(1) .n { background: var(--blue); }
.why-item:nth-child(2) .n { background: var(--orange); }
.why-item:nth-child(3) .n { background: #E5B400; }
.why-item:nth-child(4) .n { background: var(--red-ink); } /* white on the guide's red is 4.0:1; on its ink 6.2:1 */
.why-item h4 { font-size: 17px; margin-bottom: 4px; }
.why-item p { color: var(--muted); font-size: 15px; }
/* the «why» quote card, in the hero's visual language: the same navy, the pink→yellow→orange brand gradient as a strip along
   the top edge, the hero's blue/orange glow, and the hero's floating brand circles (pink, blue, yellow, orange) drifting at the
   edges behind a fine dot grid; a large translucent quotation mark behind the text; the signature sits on a divider */
.why-visual { position: relative; isolation: isolate; padding: 48px 44px 36px; border-radius: 28px; color: #fff; overflow: hidden;
  background: radial-gradient(120% 90% at 100% 0%, var(--navy-3) 0%, var(--navy-2) 38%, var(--navy) 70%, #080E26 100%);
  box-shadow: 0 30px 60px -36px rgba(var(--navy-rgb), .65), inset 0 0 0 1px rgba(255, 255, 255, .07); }
.why-visual::before { content: ""; position: absolute; top: 0; inset-inline: 0; height: 5px; background: linear-gradient(90deg, var(--pink), var(--yellow), var(--orange)); }
.why-visual::after { content: ""; position: absolute; z-index: -1; inset: 0; opacity: .18; pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, .6) 1px, transparent 1.3px); background-size: 18px 18px;
  -webkit-mask-image: radial-gradient(80% 80% at 100% 100%, #000 0%, transparent 70%); mask-image: radial-gradient(80% 80% at 100% 100%, #000 0%, transparent 70%); }
.why-visual .wv-glow { position: absolute; z-index: -1; inset: -20% -10%; pointer-events: none; filter: blur(30px);
  background: radial-gradient(40% 55% at 100% 0%, rgba(var(--blue-rgb), .45) 0%, transparent 70%), radial-gradient(38% 50% at 0% 100%, rgba(var(--orange-rgb), .28) 0%, transparent 70%); }
.why-visual .wv-ring, .why-visual .wv-dots, .why-visual .wv-dot { position: absolute; z-index: -1; border-radius: 50%; pointer-events: none; animation: drift var(--d, 9s) ease-in-out infinite alternate; }
.why-visual .wv-ring { width: 150px; height: 150px; inset-inline-start: -56px; bottom: -64px; background: var(--pink); opacity: .34; --d: 11s; }
.why-visual .wv-dots { width: 54px; height: 54px; inset-inline-end: 34px; top: 26px; background: var(--yellow); opacity: .5; --d: 8s; }
.why-visual .wv-dot { width: 26px; height: 26px; inset-inline-end: 110px; bottom: 60px; background: var(--blue); opacity: .55; --d: 10s; }
.why-visual .wv-dot.wv-dot-2 { width: 14px; height: 14px; inset-inline-end: 22px; bottom: 120px; background: var(--orange); opacity: .55; --d: 7s; }
.why-visual .wv-mark { position: absolute; z-index: -1; top: 2px; inset-inline-start: 26px; font: 700 170px/1 Georgia, 'Times New Roman', serif; color: var(--yellow); opacity: .14; pointer-events: none; }
.why-visual .quote { position: relative; margin: 0; padding-inline-start: 14px; font-size: clamp(22px, 2.3vw, 30px); font-weight: 800; line-height: 1.6; letter-spacing: -.01em; text-wrap: balance; text-shadow: 0 2px 24px rgba(0, 0, 0, .25); }
.why-visual .wv-foot { position: relative; display: flex; align-items: center; gap: 14px; margin-top: 30px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .10); }
.why-visual .wv-line { width: 34px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--orange), var(--yellow)); }
.why-visual .sig { margin: 0; font-family: var(--font-en); font-size: 12px; font-weight: 600; letter-spacing: .24em; color: var(--yellow); text-transform: uppercase; }
@media (max-width: 600px) { .why-visual { padding: 36px 26px 28px; } .why-visual .wv-mark { font-size: 120px; inset-inline-start: 14px; } .why-visual .quote { padding-inline-start: 8px; } }
@media (max-width: 960px) { .why-grid { grid-template-columns: 1fr; } }

/* ---------- Service cards ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 1000px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .services-grid { grid-template-columns: 1fr; } }

/* The whole card opens the service page through a stretched title link; only the order button sits above it. */
.svc {
  position: relative; display: flex; flex-direction: column; padding: 24px 22px 18px;
  border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(var(--navy-rgb), .04);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .2s;
  min-height: 100%;
}
.svc::before {
  content: ""; position: absolute; top: 0; inset-inline: 22px; height: 3px; border-radius: 0 0 4px 4px; background: var(--c);
}
@media (hover: hover) {
  .svc:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: color-mix(in srgb, var(--c) 30%, var(--line)); }
}
.svc-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.svc-code {
  font-family: var(--font-en); font-weight: 700; font-size: 12px; letter-spacing: .08em; line-height: 1.5;
  padding: 3px 10px; border-radius: 999px; color: var(--c-ink, var(--c)); background: color-mix(in srgb, var(--c) 13%, #fff);
}
.svc-cat { margin-inline-start: auto; font-size: 12px; color: var(--muted); font-weight: 600; }
.svc-tag {
  display: inline-flex; align-items: center; gap: 4px; font-size: 11.5px; font-weight: 800; line-height: 1.5;
  padding: 3px 9px; border-radius: 999px; white-space: nowrap;
}
.svc-tag svg { width: 11px; height: 11px; }
.svc-tag.is-demo { color: #0b6b3a; background: #dcf7e7; }
.svc-tag.is-monthly { color: var(--blue-d); background: var(--blue-soft); }
.svc-title { font-size: 17.5px; line-height: 1.45; margin-bottom: 8px; }
.svc-link { color: inherit; }
.svc-link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: 1; }
.svc-link:focus-visible { outline: none; }
.svc-link:focus-visible::after { outline: 3px solid var(--c-ink, var(--c)); outline-offset: 3px; }
.svc-short {
  color: var(--muted); font-size: 14.5px; line-height: 1.75; flex: 1;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.svc-price { display: flex; align-items: baseline; gap: 6px; margin-top: 18px; flex-wrap: wrap; }
.svc-price .from { font-size: 12px; color: var(--red-ink); font-weight: 700; padding: 2px 8px; border-radius: 999px; background: #fdeceb; }
.svc-price strong { font-family: var(--font-en); font-size: 26px; font-weight: 800; color: var(--ink); line-height: 1; }
.svc-price .cur { font-size: 13px; color: var(--muted); font-weight: 700; }
.svc-price .unit { font-size: 13px; color: var(--muted); }
.svc-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.svc-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; color: var(--c-ink, var(--c)); }
.svc-more svg { width: 16px; height: 16px; transition: transform .2s var(--ease); }
html[dir="rtl"] .svc-more svg { transform: scaleX(-1); }
@media (hover: hover) {
  .svc:hover .svc-more svg { transform: translateX(3px); }
  html[dir="rtl"] .svc:hover .svc-more svg { transform: scaleX(-1) translateX(3px); }
}

.demo-lang-note { margin-top: 2px; font-size: 13px; color: var(--muted); }
.btn-demo { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn-demo:hover { background: #12204a; border-color: #12204a; }
.btn-demo svg { width: 18px; height: 18px; }
.btn-block { width: 100%; }

.search { position: relative; }
.search input {
  width: 100%; padding: 10px 40px 10px 14px; border-radius: 11px; border: 1px solid var(--line); background: #fff;
  font: inherit; font-size: 14px; outline: none; transition: border-color .2s, box-shadow .2s;
}
html[dir="ltr"] .search input { padding: 10px 14px 10px 40px; }
.search input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); }
.search svg { position: absolute; top: 50%; transform: translateY(-50%); inset-inline-start: 13px; width: 17px; height: 17px; color: var(--muted); }

.empty { padding: 40px; text-align: center; color: var(--muted); border: 1.5px dashed var(--line); border-radius: var(--radius); grid-column: 1 / -1; }

.price-note {
  margin-top: 28px; padding: 16px 20px; border-radius: 14px; background: var(--yellow-soft); color: #5a4600;
  font-size: 14px; display: flex; gap: 12px; align-items: flex-start;
}
.price-note svg { width: 20px; height: 20px; flex: none; margin-top: 2px; }

/* ---------- Services & pricing page ---------- */
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.hero-facts li {
  display: flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 14px;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12);
}
.hero-facts strong { font-family: var(--font-en); font-size: 18px; font-weight: 800; color: var(--yellow); }
.hero-facts span { font-size: 13.5px; color: rgba(255, 255, 255, .82); }
@media (max-width: 640px) {
  .hero-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .hero-facts li { padding: 10px 12px; gap: 8px; }
  .hero-facts span { font-size: 12.5px; line-height: 1.5; }
}

/* ---------- the header's "Services & Pricing" menu ----------
   A <details>: it opens with a click, a tap or the keyboard without any script. On a wide screen it floats
   under its button; inside the phone menu it unfolds in place. */
.nav-dd { position: relative; }
.nav-dd > summary {
  list-style: none; display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 999px;
  color: rgba(255, 255, 255, .8); font-weight: 600; font-size: 15px; white-space: nowrap; cursor: pointer;
  transition: color .2s, background .2s; user-select: none;
}
.nav-dd > summary::-webkit-details-marker { display: none; }
.nav-dd > summary::marker { content: ""; }
.nav-dd > summary:hover, .nav-dd[open] > summary { color: #fff; background: rgba(255, 255, 255, .08); }
.nav-dd > summary.active { color: var(--yellow); }
.nav-dd > summary:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
.nav-dd-chev { width: 15px; height: 15px; flex: none; opacity: .8; transition: transform .2s var(--ease); }
.nav-dd[open] .nav-dd-chev { transform: rotate(180deg); }
.nav-dd-menu {
  position: absolute; top: calc(100% + 12px); inset-inline-start: 0; z-index: 70; width: 370px; padding: 8px;
  display: grid; gap: 2px; border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg);
  animation: acct-in .16s var(--ease);
  /* on a short window the menu scrolls inside itself: it hangs from the sticky header, so the page cannot bring it up */
  max-height: calc(100vh - 90px); max-height: calc(100dvh - 90px); overflow-y: auto; overscroll-behavior: contain;
}
.nav .nav-dd-item {
  display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 12px; white-space: normal;
  color: var(--navy); background: none; font-size: 14.5px; font-weight: 700; line-height: 1.35;
}
.nav .nav-dd-item:hover, .nav .nav-dd-item:focus-visible { background: var(--bg-soft); color: var(--navy); }
.nav .nav-dd-item:focus-visible { outline: 2px solid var(--blue); outline-offset: -2px; }
.nav .nav-dd-item[aria-current] { background: var(--bg-soft); box-shadow: inset 3px 0 0 var(--c, var(--navy)); }
html[dir="rtl"] .nav .nav-dd-item[aria-current] { box-shadow: inset -3px 0 0 var(--c, var(--navy)); }
.nav-dd-ico { width: 38px; height: 38px; flex: none; border-radius: 11px; display: grid; place-items: center; background: var(--c, var(--navy)); color: var(--c-on, #fff); }
.nav-dd-ico svg { width: 20px; height: 20px; }
.nav-dd-item.is-subs { --c: #1E9E57; --c-on: #fff; }
.nav-dd-item.is-pkg { --c: var(--red); --c-on: #fff; }
.nav-dd-txt { display: grid; gap: 2px; min-width: 0; }
.nav-dd-txt strong { font-size: 14.5px; }
.nav-dd-txt small { font-size: 12px; font-weight: 600; color: var(--muted); }
.nav-dd-label { margin: 6px 10px 2px; padding-top: 10px; border-top: 1px solid var(--line); font-size: 11.5px; font-weight: 800; color: var(--muted); letter-spacing: .02em; }
@media (max-width: 1200px) and (min-width: 961px) {
  .nav-dd > summary { padding: 8px 9px; font-size: 14px; }
}
@media (max-width: 960px) {
  /* the phone menu can now be taller than the screen: it scrolls inside itself */
  .nav { max-height: calc(100vh - 76px); max-height: calc(100dvh - 76px); overflow-y: auto; overscroll-behavior: contain; }
  .nav-dd > summary { display: flex; justify-content: space-between; padding: 14px 16px; font-size: 16px; border-radius: 14px; }
  .nav-dd-menu {
    position: static; width: auto; margin: 2px 0 6px; padding: 6px; border: 0; border-radius: 14px;
    background: rgba(255, 255, 255, .05); box-shadow: none; animation: none; max-height: none; overflow: visible;
  }
  .nav .nav-dd-item { color: #fff; padding: 10px 12px; font-size: 15px; }
  .nav .nav-dd-item:hover, .nav .nav-dd-item:focus-visible, .nav .nav-dd-item[aria-current] { background: rgba(255, 255, 255, .08); color: #fff; }
  .nav .nav-dd-item:focus-visible { outline-color: var(--yellow); }
  .nav-dd-txt small { color: rgba(255, 255, 255, .62); }
  .nav-dd-label { color: rgba(255, 255, 255, .5); border-top-color: rgba(255, 255, 255, .1); }
  .nav-dd-ico { width: 34px; height: 34px; border-radius: 10px; }
}
@media print { .nav-dd-menu { display: none !important; } }

/* one toolbar for field, search and view; pinned under the header on wide screens only, where it costs little height */
.svc-toolbar { background: rgba(255, 255, 255, .95); border-bottom: 1px solid var(--line); }
@media (min-width: 961px) {
  .svc-toolbar { position: sticky; top: var(--header-h, 76px); z-index: 40; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
}
/* the tools share the tabs' row while both fit, and drop to their own row (at its end) when they do not */
.svc-toolbar-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; row-gap: 10px; padding: 12px 0; }
.svc-tabs { display: flex; gap: 4px; flex: 1 1 auto; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.svc-tabs::-webkit-scrollbar { display: none; }
.svc-tabs .chip {
  flex: none; display: inline-flex; align-items: center; gap: 7px; padding: 8px 11px; border-radius: 10px;
  border: 0; background: transparent; color: var(--muted); font-weight: 700; font-size: 13.5px; white-space: nowrap;
  transition: background .2s, color .2s;
}
.svc-tabs .chip[class*="c-"]::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c); flex: none; }
.svc-tabs .chip:hover { background: var(--bg-soft); color: var(--ink); }
.svc-tabs .chip.active { background: var(--navy); color: #fff; }
.svc-tabs .chip .cnt {
  font-family: var(--font-en); font-size: 11.5px; line-height: 1.6; padding: 0 7px; border-radius: 999px;
  background: var(--bg-soft); color: var(--muted);
}
.svc-tabs .chip.active .cnt { background: rgba(255, 255, 255, .16); color: #fff; }
.svc-tools { display: flex; align-items: center; gap: 10px; flex: none; margin-inline-start: auto; }
.svc-tools .search { width: 200px; }
.view-toggle { display: inline-flex; padding: 3px; border-radius: 11px; background: var(--bg-soft); border: 1px solid var(--line); }
.view-toggle button {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border: 0; border-radius: 8px;
  background: transparent; color: var(--muted); font-weight: 700; font-size: 13px; white-space: nowrap;
}
.view-toggle button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(var(--navy-rgb), .14); }
.view-toggle svg, .print-btn svg { width: 16px; height: 16px; flex: none; }
.print-btn {
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 10px; border: 1px solid var(--line);
  background: #fff; color: var(--ink); font-weight: 700; font-size: 13px; white-space: nowrap;
}
.pt-tools { display: flex; justify-content: flex-end; margin-bottom: -16px; }
/* ---------- subscription plans ----------
   The subscriptions page lists each family as a card in the services' own style (.svc.plan-svc); each family has
   its own page (/ar/subscriptions/<slug>): a navy sheet of four tier cards drawn like the owner's price sheet, a
   comparison table, how a subscription starts, and its terms. The tiers sit four in a row on wide screens, two by
   two on tablets (iPad portrait and landscape), and one under the other on phones.
   The billing switch sets data-billing on .plans-root: .bm shows monthly figures, .by yearly ones, so switching
   needs no redraw and the built page works without script. */
.plans-root:not([data-billing="yearly"]) .by, .plans-root[data-billing="yearly"] .bm { display: none !important; }

/* the monthly / yearly switch */
.billing { display: inline-flex; align-items: center; gap: 2px; padding: 4px; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--line); flex: none; }
.billing button { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); font: inherit; font-weight: 800; font-size: 14px; cursor: pointer; white-space: nowrap; }
.billing button[aria-pressed="true"] { background: var(--navy); color: #fff; box-shadow: 0 2px 8px rgba(var(--navy-rgb), .22); }
.billing button:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.billing small { font-size: 11.5px; font-weight: 800; padding: 1px 7px; border-radius: 999px; background: #E6F7EC; color: #197A43; }
.billing button[aria-pressed="true"] small { background: rgba(255, 255, 255, .16); color: #fff; }

/* a plan's page: the hero */
#plan-page { display: contents; }
.plan-hero .plan-eyebrow { margin-top: 18px; }
.plan-hero h1 { margin-top: 6px; }
.plan-eyebrow { font-family: var(--font-en); font-size: 12px; font-weight: 800; letter-spacing: .22em; color: var(--orange); }
.plan-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.plan-chips li { padding: 5px 13px; border-radius: 999px; border: 1.5px solid rgba(255, 255, 255, .3); font-size: 13px; color: rgba(255, 255, 255, .92); }
.plan-chips li:nth-child(3n+1) { border-color: var(--orange); }
.plan-chips li:nth-child(3n+2) { border-color: var(--blue); }
.plan-chips li:nth-child(3n) { border-color: var(--yellow); }

/* the switch and the page's sections in one row, pinned under the header on every width; it belongs to the
   tiers, the comparison and the terms (.plan-body), and scrolls away with them */
.plan-toolbar { position: sticky; top: var(--header-h, 76px); z-index: 40; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.plan-toolbar .svc-toolbar-inner { flex-wrap: nowrap; gap: 12px; padding: 10px 0; }
.plan-toolbar .svc-tabs { flex: 1 1 auto; }
.plan-toolbar .svc-tabs .chip[class*="tier-"]::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--tc); flex: none; }
.chip.tier-starter, .plan.tier-starter, .plan-band.tier-starter { --tc: var(--blue); }
.chip.tier-growth, .plan.tier-growth, .plan-band.tier-growth { --tc: var(--pink); }
.chip.tier-pro, .plan.tier-pro, .plan-band.tier-pro { --tc: var(--yellow); }
.chip.tier-business, .plan.tier-business, .plan-band.tier-business { --tc: var(--orange); }
/* what a link lands on stays clear of the header and the pinned toolbar; a section's own top padding may go under it */
.plan, .pkg { scroll-margin-top: 160px; }
.plan-compare-section, .plan-info-section { scroll-margin-top: calc(164px - clamp(56px, 8vw, 96px)); }
@media (max-width: 640px) {
  .plan-toolbar .svc-toolbar-inner { gap: 8px; }
  .plan-toolbar .billing button { padding: 7px 12px; font-size: 13px; }
  .plan-toolbar .svc-tabs .chip { padding: 7px 9px; font-size: 13px; }
}
@media (max-width: 400px) { .plan-toolbar .billing small { display: none; } }

/* the tiers: a navy sheet, like the owner's */
.plan-tiers { padding-block: clamp(28px, 4vw, 48px); }
.plan-sheet { padding: clamp(20px, 3vw, 36px); border-radius: 26px; background: var(--navy); color: #fff; box-shadow: 0 24px 60px rgba(var(--navy-rgb), .18); }
.plan-sheet-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px 20px; flex-wrap: wrap; margin-bottom: 22px; padding-bottom: 18px; border-bottom: 2px solid rgba(255, 255, 255, .85); }
.plan-sheet-head h2 { font-size: clamp(22px, 2.8vw, 32px); color: #fff; }
.plan-terms { font-size: 13.5px; font-weight: 700; color: var(--yellow); }
.plan-terms .svc-code { background: rgba(255, 255, 255, .12); color: #fff; margin-inline-end: 6px; }

.plan-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column; gap: 14px; min-width: 0; padding: 22px 18px 18px;
  border-radius: 20px; background: #16204D; border: 1px solid rgba(255, 255, 255, .08); border-top: 4px solid var(--tc, var(--blue));
}
/* the highlighted tier keeps the same inner layout as its neighbours, so prices and buttons line up across the row */
.plan.is-hl { border: 2px solid var(--orange); border-top-width: 4px; box-shadow: 0 0 0 4px rgba(var(--orange-rgb), .12), 0 18px 40px rgba(var(--orange-rgb), .18); padding: 22px 17px 17px; }
.plan-badge { position: absolute; top: 12px; inset-inline-end: 14px; padding: 3px 11px; border-radius: 999px; background: var(--orange); color: #fff; font-size: 12px; font-weight: 800; }
.plan-head h3 { font-size: 22px; color: #fff; }
.plan-tier-en { display: block; margin-top: 2px; font-family: var(--font-en); font-size: 11.5px; font-weight: 800; letter-spacing: .2em; color: var(--tc); }
.plan-quota { display: flex; align-items: baseline; gap: 8px; flex-wrap: nowrap; padding-bottom: 14px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.plan-quota strong { font-family: var(--font-en); font-size: 34px; line-height: 1; color: #fff; }
.plan-quota span { min-width: 0; font-size: 13.5px; color: rgba(255, 255, 255, .72); }
.plan-price { display: grid; gap: 4px; }
.plan-amt { display: flex; align-items: baseline; gap: 8px; flex-wrap: nowrap; }
.plan-amt span { white-space: nowrap; }
.plan-price strong { font-family: var(--font-en); font-size: clamp(32px, 3.2vw, 46px); line-height: 1; font-weight: 800; color: var(--orange); }
.plan-price span { font-size: 13.5px; color: rgba(255, 255, 255, .72); }
.plan-bill { font-size: 12.5px; line-height: 1.6; color: rgba(255, 255, 255, .66); }
.plans-root[data-billing="yearly"] .plan-bill.by { color: #8CE0AE; font-weight: 700; }
.plan-rows { display: grid; gap: 8px; margin: 0; padding: 12px 14px; border-radius: 14px; background: rgba(0, 0, 0, .22); }
.plan-row { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; font-size: 13px; }
.plan-row dt { color: rgba(255, 255, 255, .8); min-width: 0; }
.plan-row dd { margin: 0; font-family: var(--font-en); font-weight: 800; color: #fff; white-space: nowrap; }
.plan-row dd s { color: rgba(255, 255, 255, .5); font-weight: 600; }
.plan-free { color: #8CE0AE; }
.plan-row-note { margin: -2px 0 0; font-size: 11.5px; color: #8CE0AE; }
.plan-feats { display: grid; align-content: start; gap: 9px; margin: 2px 0 0; padding: 0; list-style: none; flex: 1 1 auto; }
.plan-feats li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 8px; align-items: start; font-size: 14px; line-height: 1.55; color: rgba(255, 255, 255, .92); }
.plan-feats svg { width: 18px; height: 18px; margin-top: 2px; color: var(--tc); }
.plan-feats li.is-all { font-weight: 800; color: #fff; }
.plan-foot { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; margin-top: 4px; }
.plan-foot .btn { display: inline-flex; justify-content: center; width: 100%; min-width: 0; white-space: normal; text-align: center; padding-inline: 12px; font-size: 14px; line-height: 1.35; }
/* the assistant's order button only when the assistant takes orders (assistant.js sets body.wd-ai-orders) */
.plan-foot [data-order-ai] { display: none; }
body.wd-ai-orders .plan-foot [data-order-ai] { display: inline-flex; }
.plan-foot .btn svg { width: 18px; height: 18px; }
.plan-foot .plan-ai { border: 1.5px solid rgba(255, 255, 255, .35); background: transparent; color: #fff; }
.plan-foot .plan-ai:hover { background: rgba(255, 255, 255, .08); border-color: #fff; }
.plan-cta { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 22px; padding: 20px 22px; border-radius: 18px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); }
.plan-cta h3 { font-size: 18px; color: #fff; }
.plan-cta p { margin-top: 4px; font-size: 14px; color: rgba(255, 255, 255, .75); }
.plan-cta .btn { flex: none; }
/* tablets and small laptops (iPad portrait and landscape): two by two */
@media (max-width: 1099px) {
  .plan-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* phones: one under the other, each tier at full width */
@media (max-width: 639px) {
  .plan-sheet { padding: 18px 14px; border-radius: 22px; }
  .plan-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .plan-cta { flex-direction: column; align-items: stretch; padding: 18px; }
  .plan-cta .btn { width: 100%; }
}

/* a tier's one-line description, and the lighter plan for a smaller need under the sheet (A06 → A05) */
.plan-tagline { margin-top: 8px; font-size: 13.5px; line-height: 1.5; color: rgba(255, 255, 255, .78); }
.plan-alt { display: flex; align-items: center; gap: 6px 14px; flex-wrap: wrap; margin-top: 12px; padding: 16px 22px; border-radius: 18px; border: 1.5px dashed rgba(255, 255, 255, .28); color: #fff; }
.plan-alt strong { font-size: 16px; }
.plan-alt span { flex: 1 1 260px; font-size: 14px; color: rgba(255, 255, 255, .75); }
.plan-alt svg { width: 20px; height: 20px; flex: none; color: var(--yellow); }
html[dir="rtl"] .plan-alt svg { transform: scaleX(-1); }
.plan-alt:hover { border-color: var(--yellow); }

/* what a family offers: its kinds side by side (A06's three assistants) */
.plan-kinds-section { padding-block: clamp(28px, 4vw, 44px) 0; }
.plan-kinds { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.plan-kind { padding: 22px; border-radius: 20px; background: var(--navy); color: #fff; box-shadow: var(--shadow); }
.plan-kind-ic { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 12px; border-radius: 12px; background: rgba(255, 255, 255, .08); color: var(--c, var(--blue)); }
.plan-kind-ic svg { width: 24px; height: 24px; }
.plan-kind h3 { font-size: 19px; color: #fff; }
.plan-kind-en { display: block; margin-top: 2px; font-family: var(--font-en); font-size: 11px; font-weight: 800; letter-spacing: .16em; color: var(--orange); }
.plan-kind p { margin-top: 10px; font-size: 14.5px; line-height: 1.7; color: rgba(255, 255, 255, .82); }
@media (max-width: 860px) { .plan-kinds { grid-template-columns: minmax(0, 1fr); } }

/* which assistant fits: the two families, a need → the plan, the monthly volume → the tier */
.plan-guide-section { padding-top: clamp(8px, 2vw, 20px); }
.plan-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-bottom: 28px; }
.plan-pair-item { display: grid; gap: 6px; padding: 18px 20px; border-radius: 18px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); border-top: 4px solid var(--blue); }
.plan-pair-item.is-own { border-top-color: var(--orange); background: var(--orange-soft); }
.plan-pair-item strong { font-size: 17px; }
.plan-pair-item span { font-size: 14px; color: var(--muted); }
.plan-pair-here { display: inline-block; margin-inline-start: 8px; padding: 2px 10px; border-radius: 999px; background: var(--orange); color: #fff; font-size: 12px; font-weight: 800; vertical-align: middle; }
.plan-guide-h { margin: 6px 0 12px; font-size: clamp(19px, 2.2vw, 24px); color: var(--ink); }
.plan-guide-sub { margin: -6px 0 14px; font-size: 14.5px; color: var(--muted); }
.plan-needs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-bottom: 30px; }
.plan-need { display: grid; gap: 10px; padding: 16px 18px; border-radius: 16px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
.plan-need:hover { border-color: var(--blue); box-shadow: var(--shadow); }
.plan-need-q { font-size: 15px; font-weight: 700; line-height: 1.6; }
.plan-need-to { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--blue-d); }
.plan-need-to svg { width: 16px; height: 16px; flex: none; }
html[dir="rtl"] .plan-need-to svg { transform: scaleX(-1); }
.plan-need.is-own .plan-need-to { color: var(--orange); }
.plan-bands { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-bottom: 18px; }
.plan-band { display: grid; gap: 4px; padding: 16px 14px; border-radius: 16px; background: #fff; border: 1.5px solid var(--line); border-top: 4px solid var(--tc, var(--muted)); text-align: center; color: var(--ink); }
.plan-band strong { font-family: var(--font-en); font-size: 17px; }
.plan-band span { font-size: 13.5px; font-weight: 700; color: var(--tc, var(--muted)); }
.plan-band b { font-size: 13.5px; }
.plan-unsure { padding: 16px 20px; border-radius: 16px; border: 1.5px dashed var(--orange); background: var(--orange-soft); font-size: 14.5px; line-height: 1.7; color: var(--ink); }
@media (max-width: 860px) {
  .plan-pair, .plan-needs { grid-template-columns: minmax(0, 1fr); }
  .plan-bands { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* a service sold in options (A01): the options as cards like a plan's tiers, the credit, the steps */
.sp-opts-title { margin-top: 34px; }
.sp-opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 14px 0 20px; }
.sp-opt { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 22px 18px 18px; border-radius: 20px; background: var(--navy); color: #fff; border-top: 4px solid var(--yellow); }
.sp-opt.is-hl { border: 2px solid var(--blue); border-top-width: 4px; }
.sp-opt.is-hl .plan-badge { background: var(--blue); }
.sp-opt h3 { font-size: 22px; color: #fff; }
.sp-opt .plan-tier-en { color: var(--yellow); }
.sp-opt.is-hl .plan-tier-en { color: var(--blue); }
.sp-opt-span { margin-top: 6px; font-size: 14px; color: rgba(255, 255, 255, .78); }
.sp-opt-price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, .1); }
.sp-opt-price strong { font-family: var(--font-en); font-size: 42px; line-height: 1; color: var(--blue); }
.sp-opt-price span { font-size: 14px; color: rgba(255, 255, 255, .78); }
.sp-opt-price small { width: 100%; font-size: 12.5px; color: rgba(255, 255, 255, .6); }
.sp-opt-facts { display: grid; gap: 8px; margin: 0; padding: 12px 14px; border-radius: 14px; background: rgba(0, 0, 0, .22); }
.sp-opt-facts div { display: flex; justify-content: space-between; gap: 10px; font-size: 13.5px; }
.sp-opt-facts dt { color: rgba(255, 255, 255, .8); }
.sp-opt-facts dd { margin: 0; font-weight: 800; }
.sp-opt .plan-feats svg { color: var(--yellow); }
.sp-opt .btn { margin-top: auto; }
.sp-credit { display: flex; align-items: flex-start; gap: 14px; margin: 6px 0 30px; padding: 18px 20px; border-radius: 18px; background: var(--blue-soft); color: var(--ink); }
.sp-credit svg { width: 28px; height: 28px; flex: none; color: var(--blue-d); }
.sp-credit strong { font-size: 17px; }
.sp-credit p { margin-top: 4px; font-size: 14.5px; color: var(--muted); }
.sp-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 14px 0 30px; padding: 0; list-style: none; }
.sp-steps .plan-step-n { --c: var(--blue); --c-on: #fff; }
.sp-steps li { display: grid; gap: 10px; padding: 16px; border-radius: 16px; border: 1.5px solid var(--line); background: #fff; }
.sp-steps strong { font-size: 15.5px; color: var(--ink); }
.sp-steps p { margin-top: 4px; font-size: 13.5px; color: var(--muted); }
@media (max-width: 860px) {
  .sp-opts { grid-template-columns: minmax(0, 1fr); }
  .sp-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) { .sp-steps { grid-template-columns: minmax(0, 1fr); } }
/* three or four options side by side; an option that lists nothing (A10's lengths) is a compact card */
.sp-opts.is-many { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sp-opts.is-four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sp-opts.is-compact { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1099px) { .sp-opts.is-many, .sp-opts.is-compact { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .sp-opts.is-many, .sp-opts.is-four { grid-template-columns: minmax(0, 1fr); } }
.sp-opt.is-compact { gap: 10px; padding: 18px 16px 16px; }
.sp-opt.is-compact h3 { font-size: 19px; }
.sp-opt.is-compact .sp-opt-price strong { font-size: 34px; }
.sp-opt .plan-badge.is-own { background: transparent; border: 1.5px solid var(--yellow); color: var(--yellow); }
/* a chain of steps the service runs by itself */
.sp-flow { margin: 26px 0 6px; padding: 20px; border-radius: 20px; background: var(--navy); color: #fff; }
.sp-flow-t { font-size: 13.5px; color: rgba(255, 255, 255, .7); }
.sp-flow ol { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 12px 0; padding: 0; list-style: none; }
.sp-flow li { padding: 10px 18px; border-radius: 999px; border: 1.5px solid var(--blue); font-weight: 800; }
.sp-flow li + li::before { content: '\2190'; margin-inline-end: 12px; color: var(--yellow); }
html[dir="ltr"] .sp-flow li + li::before { content: '\2192'; }
.sp-flow-f { font-size: 13.5px; color: rgba(255, 255, 255, .7); }
.sp-optnote { margin: -6px 0 18px; padding: 12px 16px; border-radius: 14px; background: var(--bg-soft); font-size: 14px; line-height: 1.7; color: var(--muted); }
.sp-alt { display: flex; align-items: center; gap: 6px 14px; flex-wrap: wrap; margin: 0 0 22px; padding: 16px 20px; border-radius: 16px; border: 1.5px dashed var(--blue); background: var(--blue-soft); color: var(--ink); }
.sp-alt strong { font-size: 16px; }
.sp-alt span { flex: 1 1 240px; font-size: 14px; color: var(--muted); }
.sp-alt svg { width: 20px; height: 20px; flex: none; color: var(--blue-d); }
html[dir="rtl"] .sp-alt svg { transform: scaleX(-1); }
/* add-ons: name and price per line */
.sp-addons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 22px; margin: 12px 0 28px; padding: 16px 18px; border-radius: 16px; border: 1.5px dashed var(--line); background: #fff; }
.sp-addons div { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.sp-addons dt { color: var(--ink); }
.sp-addons dd { margin: 0; font-weight: 800; white-space: nowrap; color: var(--ink); }
/* a highlighted box (brand voice, "your game or one we build") */
.sp-box { margin: 0 0 24px; padding: 18px 20px; border-radius: 18px; background: var(--navy); color: #fff; }
.sp-box-head { display: flex; align-items: baseline; gap: 6px 12px; flex-wrap: wrap; }
.sp-box-head strong { font-size: 18px; }
.sp-box-head span { font-size: 15px; font-weight: 800; color: var(--orange); }
.sp-box p { margin-top: 6px; font-size: 14.5px; line-height: 1.7; color: rgba(255, 255, 255, .8); }
.sp-fit { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 28px; padding: 0; list-style: none; }
.sp-fit li { padding: 7px 14px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font-size: 14px; font-weight: 700; color: var(--ink); }
/* a service's optional monthly running (A12) */
.sp-run-sub { margin: -4px 0 14px; font-size: 14.5px; line-height: 1.7; color: var(--muted); }
.sp-run { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-bottom: 28px; }
.sp-run-tier { display: grid; gap: 4px; padding: 16px 14px; border-radius: 16px; background: #fff; border: 1.5px solid var(--line); border-top: 4px solid var(--tc, var(--blue)); }
.sp-run-tier.tier-starter { --tc: var(--blue); } .sp-run-tier.tier-growth { --tc: var(--pink); } .sp-run-tier.tier-pro { --tc: var(--yellow); } .sp-run-tier.tier-business { --tc: var(--orange); }
.sp-run-tier.is-addon { border-style: dashed; border-top-style: solid; --tc: var(--navy); }
.sp-run-tier strong { font-size: 16px; color: var(--ink); }
.sp-run-price b { font-family: var(--font-en); font-size: 26px; color: var(--orange); }
.sp-run-tier p { font-size: 13.5px; color: var(--ink); }
.sp-run-tier small { font-size: 12.5px; color: var(--muted); }
/* a plan page's steps, add-ons and "made for" */
.plan-extras { padding-top: 0; }
@media (max-width: 640px) { .sp-addons { grid-template-columns: minmax(0, 1fr); } }

/* every tier's figures side by side; the first column stays in view while the table scrolls sideways */
.plan-compare-hint { display: none; }
@media (max-width: 700px) {
  .plan-compare-hint { display: flex; align-items: center; gap: 8px; margin: -12px 0 12px; font-size: 13px; font-weight: 700; color: var(--muted); }
  .plan-compare-hint::before { content: '\2194'; font-family: var(--font-en); font-size: 16px; color: var(--blue); }
}
.plan-compare-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 18px; background: #fff; overscroll-behavior-x: contain; }
.plan-compare-wrap:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.plan-compare { width: 100%; min-width: 620px; border-collapse: separate; border-spacing: 0; font-size: 14.5px; }
.plan-compare th, .plan-compare td { padding: 13px 14px; text-align: center; vertical-align: middle; border-bottom: 1px solid var(--line); }
.plan-compare thead th { background: var(--navy); color: #fff; font-size: 15px; font-weight: 800; border-bottom: 0; }
.plan-compare thead th[class*="tier-"] { box-shadow: inset 0 4px 0 var(--tc); }
.plan-compare th.tier-starter { --tc: var(--blue); }
.plan-compare th.tier-growth { --tc: var(--pink); }
.plan-compare th.tier-pro { --tc: var(--yellow); }
.plan-compare th.tier-business { --tc: var(--orange); }
.plan-compare thead th small { display: block; margin-top: 2px; font-size: 11.5px; font-weight: 800; color: var(--yellow); }
.plan-compare thead th:first-child, .plan-compare tbody th { position: sticky; inset-inline-start: 0; text-align: start; }
.plan-compare thead th:first-child { z-index: 2; }
.plan-compare tbody th { z-index: 1; min-width: 150px; background: var(--bg-soft); font-weight: 700; color: var(--ink); box-shadow: inset -1px 0 0 var(--line); }
html[dir="rtl"] .plan-compare tbody th { box-shadow: inset 1px 0 0 var(--line); }
.plan-compare td { color: #3A4260; }
.plan-compare td b { font-family: var(--font-en); color: var(--ink); }
.plan-compare td.is-hl { background: #FFF6F0; }
.plan-compare td small { display: block; margin-top: 3px; font-size: 11.5px; font-weight: 700; color: #197A43; }
.plan-compare .plan-save { font-weight: 800; color: #197A43; }
.plan-compare tbody tr:last-child th, .plan-compare tbody tr:last-child td { border-bottom: 0; }
@media (max-width: 640px) {
  .plan-compare { font-size: 13.5px; min-width: 560px; }
  .plan-compare th, .plan-compare td { padding: 11px 10px; }
  .plan-compare tbody th { min-width: 118px; }
}

/* how a subscription starts, and what to know before it does */
.plan-info { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: clamp(18px, 3vw, 32px); align-items: start; }
.plan-how, .plan-know { padding: clamp(20px, 3vw, 30px); border-radius: 20px; border: 1px solid var(--line); background: #fff; }
.plan-how h2, .plan-know h2 { font-size: clamp(20px, 2.2vw, 26px); margin-bottom: 18px; }
.plan-steps { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.plan-steps li { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 12px; align-items: start; }
.plan-step-n { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-en); font-weight: 800; color: var(--c-on, #fff); background: var(--c); }
.plan-steps p { margin: 4px 0 0; font-size: 15px; line-height: 1.8; color: #3A4260; }
.plan-know-list { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.plan-know-list li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; font-size: 15px; line-height: 1.8; color: #3A4260; }
.plan-know-list svg { width: 20px; height: 20px; margin-top: 4px; color: #197A43; }
.plan-know-foot { display: flex; gap: 10px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 14px; font-weight: 700; line-height: 1.7; color: #197A43; }
.plan-know-foot svg { width: 20px; height: 20px; flex: none; margin-top: 2px; }
.plan-know-foot a { color: var(--orange); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 900px) { .plan-info { grid-template-columns: minmax(0, 1fr); } }

/* printed, a plan's page is its comparison table and its terms */
@media print {
  .plan-tiers, .plan-toolbar, .sp-pkgs, .sp-related, .plan-hero .hero-dsc, .plan-compare-hint { display: none !important; }
  .plan-compare-wrap { overflow: visible; border: 0; }
  .plan-compare { min-width: 0; }
  .plan-compare thead th { background: #fff; color: #000; border-bottom: 2px solid #000; }
  .plan-compare thead th:first-child, .plan-compare tbody th { position: static; }
  .plan-how, .plan-know { border: 0; padding: 0; }
}

/* a field page: its subscription plans, as the same cards */
.subs-note-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.subs-note .services-grid { margin-top: 16px; }
.pkg-setup { color: var(--muted); font-size: 11.5px; font-weight: 600; }

/* ---------- a field's page ---------- */
#category-page { display: contents; }
.cat-hero::after {
  content: ""; position: absolute; z-index: -1; top: -140px; inset-inline-end: -120px; width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--c) 42%, transparent), transparent 70%); pointer-events: none;
}
.cat-eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; color: rgba(255, 255, 255, .8); font-weight: 700; font-size: 14px; }
.cat-eyebrow-ico { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--c); color: var(--c-on, #fff); }
.cat-eyebrow-ico svg { width: 19px; height: 19px; }
.cat-hero h1 { margin-top: 10px; }
/* the field tabs are links to the other field pages; the last one leads to the subscriptions */
.svc-tabs a.chip { text-decoration: none; }
.svc-tabs .chip.is-subs { --c: #1E9E57; margin-inline-start: 6px; }
.svc-tabs .chip.is-subs::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c); flex: none; }
/* where the field's monthly services went */
#subs-note:empty, #subs-note[hidden] { display: none; }
.subs-note {
  display: flex; flex-direction: column; align-items: stretch; gap: 0; margin-bottom: 30px; padding: 18px 22px; border-radius: 18px;
  background: var(--bg-soft); border: 1px solid var(--line); border-inline-start: 4px solid var(--c);
}
.subs-note-txt { flex: 1 1 auto; min-width: 0; }
.subs-note h2 { font-size: 17px; }
.subs-note p { margin-top: 4px; color: var(--muted); font-size: 14px; }
.subs-note ul { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.subs-note li { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 13.5px; }
.subs-note li a { font-weight: 700; color: var(--navy); }
.subs-note li a:hover { color: var(--c-ink, var(--blue)); text-decoration: underline; }
.subs-note-price { color: var(--muted); font-size: 12.5px; white-space: nowrap; }
.subs-note .btn { flex: none; }
.subs-note .btn svg { width: 16px; height: 16px; }
html[dir="rtl"] .subs-note .btn svg { transform: scaleX(-1); }
@media (max-width: 760px) {
  .subs-note { flex-direction: column; align-items: stretch; padding: 16px; }
  .subs-note li { border-radius: 12px; }
}

/* the Arabic tab names need about 1225px beside the tools; below that the tools take their own row */
@media (max-width: 1240px) {
  .svc-toolbar-inner { flex-wrap: wrap; row-gap: 10px; }
  .svc-tabs { flex-basis: 100%; }
  .svc-tools { flex: 1 1 100%; }
  .svc-tools .search { flex: 1 1 auto; width: auto; }
}
@media (max-width: 640px) {
  .view-toggle button span { display: none; }
  .view-toggle button { padding: 7px 10px; }
  .pt-tools { display: none; }
}

.svc-list-section { padding-top: clamp(32px, 5vw, 56px); }
.svc-list { display: grid; gap: clamp(40px, 6vw, 64px); }
.svc-group-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 20px;
  margin-bottom: 22px; padding-bottom: 18px; border-bottom: 1px solid var(--line);
}
.svc-group-id { display: flex; gap: 14px; align-items: stretch; min-width: 0; }
.svc-group-bar { width: 5px; border-radius: 5px; background: var(--c); flex: none; }
.svc-group-head h2 { font-size: clamp(21px, 2.4vw, 28px); }
.svc-group-head p { color: var(--muted); margin-top: 6px; max-width: 62ch; font-size: 15px; }
.svc-group-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; font-size: 13.5px; color: var(--muted); white-space: nowrap; }
.svc-group-meta strong { font-family: var(--font-en); color: var(--ink); font-size: 16px; }
@media (max-width: 640px) {
  .svc-group-head { flex-direction: column; align-items: flex-start; }
  .svc-group-meta { flex-direction: row; gap: 14px; align-items: baseline; }
}
.svc-results { font-weight: 700; color: var(--muted); margin-bottom: 16px; }

/* the price table: what a buyer prints, forwards, or holds against a quote */
.svc-list.is-table { gap: 32px; }
.price-table {
  width: 100%; border-collapse: separate; border-spacing: 0; background: #fff;
  border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
}
.price-table caption { caption-side: top; text-align: start; font-weight: 800; font-size: 19px; padding: 0 0 12px; }
.price-table caption::before {
  content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--c);
  margin-inline-end: 10px; vertical-align: middle;
}
.price-table th {
  text-align: start; font-size: 12.5px; font-weight: 700; color: var(--muted); background: var(--bg-soft);
  padding: 10px 18px; border-bottom: 1px solid var(--line);
}
.price-table td { padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: middle; font-size: 15px; }
.price-table tbody tr:last-child td { border-bottom: 0; }
.price-table tbody tr { transition: background .15s; }
.price-table tbody tr:hover { background: #FAFBFE; }
.price-table td:first-child, .price-table th:first-child { width: 1%; white-space: nowrap; }
.price-table td a { font-weight: 700; color: var(--ink); }
.price-table td a:hover { color: var(--c-ink, var(--c)); text-decoration: underline; text-underline-offset: 3px; }
.price-table .num { text-align: end; white-space: nowrap; }
.pt-price b { font-family: var(--font-en); font-size: 17px; font-weight: 800; }
.pt-price small { color: var(--red-ink); font-weight: 700; font-size: 12px; }
.pt-unit { display: block; margin-top: 2px; font-size: 12px; color: var(--muted); white-space: normal; }
@media (max-width: 640px) {
  .price-table th, .price-table td { padding: 11px 10px; }
  .price-table td { font-size: 14px; }
  .price-table td .svc-tag { display: none; }
  .price-table .num { white-space: normal; min-width: 92px; }
}

.price-terms {
  margin-top: clamp(40px, 6vw, 64px); padding: 28px clamp(20px, 4vw, 36px); border-radius: 20px;
  background: var(--bg-soft); border: 1px solid var(--line);
}
.price-terms h2 { font-size: 20px; margin-bottom: 18px; }
.price-terms ul { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 32px; }
.price-terms li { display: flex; gap: 12px; font-size: 14.5px; color: #3A4260; line-height: 1.75; }
.price-terms li svg { flex: none; width: 20px; height: 20px; color: var(--blue); margin-top: 3px; }
.price-terms-foot {
  display: flex; gap: 10px; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line);
  font-weight: 700; font-size: 14.5px; color: #197A43; line-height: 1.7;
}
.price-terms-foot svg { width: 20px; height: 20px; flex: none; margin-top: 2px; }
.price-terms-foot a { color: var(--orange); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 760px) { .price-terms ul { grid-template-columns: 1fr; } }

/* ---------- One page per service ---------- */
.sp-hero {
  position: relative; overflow: hidden; isolation: isolate; background: var(--navy); color: #fff;
  padding: clamp(32px, 5vw, 60px) 0 clamp(40px, 5vw, 64px);
}
.sp-hero::before {
  content: ""; position: absolute; z-index: -1; width: 560px; height: 560px; border-radius: 50%;
  top: -220px; inset-inline-end: -140px; opacity: .5;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--c) 55%, transparent), transparent);
}
.sp-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 48px; align-items: start; }
.sp-hero .crumbs { flex-wrap: wrap; }
.sp-chips { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 24px; }
.sp-hero .svc-code { background: rgba(255, 255, 255, .12); color: #fff; }
.sp-hero h1 { font-size: clamp(28px, 4vw, 46px); margin-top: 14px; line-height: 1.25; }
.sp-lead { color: rgba(255, 255, 255, .8); font-size: 18px; margin-top: 14px; max-width: 58ch; }
.sp-buy {
  display: grid; gap: 10px; padding: 24px; border-radius: 22px; background: #fff; color: var(--ink);
  box-shadow: 0 30px 60px rgba(0, 0, 0, .28);
}
.sp-buy-label { font-size: 13px; font-weight: 700; color: var(--muted); }
.sp-buy .svc-price { margin-top: 0; }
.sp-buy .svc-price strong { font-size: 40px; }
.sp-buy .first-pay { margin-top: -4px; }
.sp-vat { font-size: 12.5px; color: var(--muted); margin-top: -4px; }
.sp-buy .btn { min-height: 48px; }
.sp-buy .btn svg { width: 18px; height: 18px; }
.sp-promise {
  display: flex; gap: 8px; margin-top: 4px; padding-top: 14px; border-top: 1px solid var(--line);
  font-size: 13px; font-weight: 700; color: #197A43; line-height: 1.7;
}
.sp-promise svg { width: 18px; height: 18px; flex: none; margin-top: 2px; }
.sp-promise a { color: var(--orange); text-decoration: underline; text-underline-offset: 3px; }

.sp-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; align-items: start; }
.sp-main h2, .sp-related-head h2 { font-size: clamp(22px, 2.6vw, 30px); }
.sp-what { font-size: 17px; color: #3A4260; line-height: 1.95; margin-top: 14px; max-width: 70ch; }
.sp-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 32px; }
.sp-col { padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.sp-col h3 { font-size: 17px; margin-bottom: 14px; }
.sp-list { display: grid; gap: 10px; }
.sp-list li { display: flex; gap: 10px; font-size: 15px; line-height: 1.7; }
.sp-list svg { flex: none; width: 18px; height: 18px; margin-top: 4px; }
.sp-list.is-who svg { width: 10px; height: 10px; margin-top: 9px; color: var(--c); }
.sp-list.is-get svg { color: #197A43; }
.sp-demo {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 28px; padding: 22px 24px;
  border-radius: 18px; color: #fff; background: linear-gradient(135deg, var(--navy), var(--navy-3));
}
.sp-demo h3 { font-size: 19px; }
.sp-demo p { color: rgba(255, 255, 255, .75); font-size: 14.5px; margin-top: 4px; }
.sp-demo .btn-demo { flex: none; width: auto; background: #fff; color: var(--navy); border-color: #fff; }
.sp-side {
  position: sticky; top: calc(var(--header-h, 76px) + 24px);
  padding: 24px; border-radius: 18px; background: var(--bg-soft); border: 1px solid var(--line);
}
.sp-side-title { font-size: 17px; margin-bottom: 16px; }
.sp-facts { display: grid; gap: 16px; margin: 0; }
.sp-facts dt { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--muted); }
.sp-facts dt svg { width: 17px; height: 17px; color: var(--c-ink, var(--c)); flex: none; }
.sp-facts dd { margin: 4px 0 0; font-size: 15px; font-weight: 700; line-height: 1.75; }
.sp-related-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.sp-related-all { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--blue-d); white-space: nowrap; }
.sp-related-all svg { width: 16px; height: 16px; }
html[dir="rtl"] .sp-related-all svg { transform: scaleX(-1); }
.sp-bar { display: none; }
@media (max-width: 960px) {
  .sp-hero-grid, .sp-layout { grid-template-columns: 1fr; gap: 28px; }
  .sp-side { position: static; }
  /* the order button stays in reach once the price card has scrolled away */
  .sp-bar {
    display: flex; position: fixed; inset-inline: 0; bottom: 0; z-index: 60; align-items: center; justify-content: space-between; gap: 12px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line);
    box-shadow: 0 -10px 24px rgba(var(--navy-rgb), .1); transform: translateY(110%); transition: transform .25s var(--ease);
  }
  .sp-bar.show { transform: none; }
  .sp-bar-price { display: flex; flex-direction: column; min-width: 0; }
  .sp-bar-price small { font-family: var(--font-en); font-size: 11px; font-weight: 700; color: var(--muted); }
  .sp-bar-price strong { font-family: var(--font-en); font-size: 18px; white-space: nowrap; }
  .sp-bar .btn { min-height: 46px; padding-inline: 18px; }
  .sp-bar .btn svg { width: 18px; height: 18px; }
  /* the contact button steps up above the order bar instead of covering it; an open chat hides the bar */
  body.wd-chat-open .sp-bar { display: none; }
  body[data-page="service"] .footer { padding-bottom: 88px; }
}
@media (max-width: 640px) {
  .sp-cols { grid-template-columns: 1fr; }
  .sp-demo { flex-direction: column; align-items: stretch; }
  .sp-demo .btn-demo { width: 100%; }
  .sp-related-head { flex-direction: column; align-items: flex-start; }
  .sp-lead { font-size: 16px; }
}

/* the price list prints as a clean price list */
@media print {
  .header, .footer, .svc-toolbar, .wd-fab, .announce, .page-hero .dots, .hero-facts, .sp-bar { display: none !important; }
  .section-soft:has(.cta-band) { display: none !important; }
  .page-hero { background: none; color: #000; padding: 0 0 12px; }
  .page-hero p, .crumbs { color: #333; }
  .section { padding: 12px 0; }
  .price-table { box-shadow: none; }
  .price-table tr { break-inside: avoid; }
  .price-terms { background: none; }
}

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 16px; }
.modal.open { display: flex; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(var(--navy-rgb), .7); backdrop-filter: blur(4px); }
.modal-card {
  position: relative; width: min(100%, 760px); max-height: 90vh; overflow: auto; background: #fff; border-radius: 24px;
  padding: 32px; box-shadow: var(--shadow-lg); animation: pop .25s var(--ease);
}
@keyframes pop { from { transform: translateY(16px) scale(.98); opacity: 0 } to { transform: none; opacity: 1 } }
.modal-close {
  position: absolute; top: 14px; inset-inline-end: 14px; width: 40px; height: 40px; border-radius: 50%; border: 0;
  background: var(--bg-soft); color: var(--ink); display: grid; place-items: center;
}
.modal-close svg { width: 18px; height: 18px; }

/* ---------- Packages ---------- */
.packages-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 1100px) { .packages-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .packages-grid { grid-template-columns: 1fr; } }
.pkg {
  position: relative; display: flex; flex-direction: column; padding: 26px 24px; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.pkg:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.pkg::before { content: ""; position: absolute; top: 0; inset-inline: 0; height: 6px; background: var(--c); }
.pkg.featured { border: 2px solid var(--c); }
.pkg .badge {
  position: absolute; top: 16px; inset-inline-end: 16px; font-size: 11px; font-weight: 800; padding: 4px 10px; border-radius: 999px;
  background: var(--c); color: var(--c-on, #fff); letter-spacing: .04em;
}
.pkg h3 { font-size: 21px; margin-top: 8px; }
.pkg .tag { color: var(--muted); font-size: 14px; margin: 6px 0 16px; min-height: 42px; }
.pkg ul { display: grid; gap: 8px; margin-bottom: 18px; }
.pkg li { display: flex; gap: 10px; font-size: 14.5px; align-items: flex-start; }
.pkg li .q { flex: none; font-family: var(--font-en); font-weight: 700; color: var(--c-ink, var(--c)); min-width: 22px; }
.pkg li .pkg-item { flex: 1 1 auto; min-width: 0; }
.pkg-total { margin-top: auto; padding-top: 16px; border-top: 1px dashed var(--line); }
.pkg-total .was { font-size: 13px; color: var(--muted); }
.pkg-total .was s { font-family: var(--font-en); }
.pkg-total .save { display: inline-block; margin-inline-start: 6px; padding: 2px 8px; border-radius: 999px; background: #E8F8EE; color: #1a7f45; font-weight: 700; font-size: 12px; }
.pkg-total .now { display: flex; align-items: baseline; gap: 6px; margin-top: 4px; }
.pkg-total .now strong { font-family: var(--font-en); font-size: 32px; font-weight: 800; line-height: 1; }
.pkg-total .now span { color: var(--muted); font-size: 13px; font-weight: 700; }
.pkg .btn { margin-top: 16px; width: 100%; }

.p-launch { --c: var(--pink); } .p-launch::before { background: linear-gradient(90deg, var(--pink), var(--red)); } .p-launch .badge, .p-launch li .q { color: var(--red-ink); } .p-launch .badge { background: var(--red-ink); color: #fff; }
/* a bundle led by one field wears that field's colours (.p-ai, .p-game, .p-anime sit with .c-* above); the cross-field
   bundles keep their own, with white on the colour and the colour as its own ink, as before */
.p-adopt { --c: #2E8B8B; }
.p-growth { --c: var(--blue); }
.p-camp { --c: var(--orange); }
.p-event { --c: #E5B400; }
.p-launch, .p-adopt, .p-growth, .p-camp, .p-event { --c-ink: var(--c); --c-on: #fff; }

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; position: relative; }
.step { position: relative; padding: 26px 22px; border-radius: var(--radius); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); }
.step .n {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-family: var(--font-en);
  font-weight: 800; font-size: 20px; color: var(--navy); background: var(--yellow); margin-bottom: 16px;
}
.step:nth-child(2) .n { background: var(--pink); } .step:nth-child(3) .n { background: var(--blue); color: #fff; } .step:nth-child(4) .n { background: var(--orange); color: #fff; }
.step h3 { font-size: 19px; margin-bottom: 8px; color: #fff; }
.step p { color: rgba(255, 255, 255, .72); font-size: 15px; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; border-radius: 28px; padding: clamp(36px, 5vw, 64px);
  background: linear-gradient(120deg, var(--orange), var(--red)); color: #fff;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 32px; align-items: center; /* the buttons get the width they need, so they sit side by side instead of stacking */
}
.cta-band h2 { font-size: clamp(26px, 3.2vw, 38px); }
.cta-band p { margin-top: 10px; color: rgba(255, 255, 255, .88); font-size: 17px; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
.cta-band .actions .btn { white-space: nowrap; }
.cta-band .ring { position: absolute; border-radius: 50%; border: 24px solid rgba(255, 255, 255, .12); }
.cta-band .r1 { width: 320px; height: 320px; top: -160px; inset-inline-end: -80px; }
.cta-band .r2 { width: 180px; height: 180px; bottom: -110px; inset-inline-start: 10%; }
@media (max-width: 860px) { .cta-band { grid-template-columns: 1fr; } .cta-band .actions { justify-content: flex-start; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; overflow: hidden; background: var(--navy); color: #fff; padding: clamp(44px, 6vw, 72px) 0; isolation: isolate; }
.page-hero h1 { font-size: clamp(30px, 4vw, 48px); margin-top: 12px; }
.page-hero p { color: rgba(255, 255, 255, .75); max-width: 640px; margin-top: 12px; font-size: 17px; }
.page-hero .dots .d1 { width: 70px; height: 70px; }
.page-hero .dots .d4 { width: 90px; height: 90px; }
.crumbs { display: flex; gap: 8px; font-size: 13px; color: rgba(255, 255, 255, .6); }
.crumbs a:hover { color: #fff; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.about-grid .lead { font-size: 18px; color: var(--ink); }
.about-grid p + p { margin-top: 14px; color: var(--muted); }
.about-visual { position: relative; }
.about-visual .card-logo {
  background: var(--navy); border-radius: 28px; padding: 40px; display: grid; place-items: center; box-shadow: var(--shadow-lg);
  position: relative; overflow: hidden;
}
.about-visual .card-logo img { width: 80%; }
.about-visual .card-logo picture { display: contents; } /* the <img> stays the centred grid item */
.about-visual .card-logo .blob { position: absolute; border-radius: 50%; opacity: .35; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.value { padding: 26px 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.value .ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; color: var(--c-on, #fff); margin-bottom: 14px; background: var(--c, var(--navy)); }
.value .ic svg { width: 24px; height: 24px; }
.value h3 { font-size: 18px; margin-bottom: 6px; }
.value p { color: var(--muted); font-size: 15px; }
@media (max-width: 960px) { .about-grid { grid-template-columns: 1fr; } .values { grid-template-columns: 1fr; } }

.principles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.principle { display: flex; gap: 14px; padding: 18px 20px; border-radius: 16px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); }
.principle .ic { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--yellow); color: var(--navy); }
.principle .ic svg { width: 20px; height: 20px; }
.principle h4 { font-size: 16px; color: #fff; margin-bottom: 4px; }
.principle p { font-size: 14.5px; color: rgba(255, 255, 255, .7); }
@media (max-width: 760px) { .principles { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 32px; align-items: start; }
.contact-cards { display: grid; gap: 14px; }
.ccard { display: flex; gap: 16px; align-items: flex-start; padding: 20px; border-radius: 18px; background: #fff; border: 1px solid var(--line); transition: transform .2s var(--ease), box-shadow .2s; }
.ccard:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.ccard .ic { flex: none; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; color: var(--c-on, #fff); background: var(--c, var(--navy)); }
.ccard .ic svg { width: 22px; height: 22px; }
.ccard h4 { font-size: 15px; color: var(--muted); font-weight: 600; margin-bottom: 2px; }
.ccard .v { font-weight: 700; font-size: 17px; direction: ltr; unicode-bidi: isolate; display: inline-block; min-width: 0; overflow-wrap: anywhere; }
.ccard .v.ar { direction: inherit; }
.ccard small { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; }

.form-card { padding: 30px; border-radius: 24px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.form-card h3 { font-size: 22px; margin-bottom: 6px; }
.form-card > p { color: var(--muted); margin-bottom: 22px; font-size: 15px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 700; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff;
  font: inherit; font-size: 15px; outline: none; transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-soft); }
.field textarea { min-height: 120px; resize: vertical; }
.field input[type="tel"] { direction: ltr; text-align: start; }
html[dir="rtl"] .field input[type="tel"] { text-align: right; }
.form-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; align-items: center; }
.form-hint { font-size: 13px; color: var(--muted); }
.form-hint a { color: var(--orange); text-decoration: underline; text-underline-offset: 3px; }
.form-msg { margin-top: 14px; font-size: 14px; font-weight: 700; display: none; padding: 14px 16px; border-radius: 14px; }
.form-msg.show { display: block; }
.form-msg.ok { color: #14663a; background: #E6F7EC; border: 1px solid #B7E4C7; }
.form-msg.bad { color: #9B2C22; background: #FDECEA; border: 1px solid #F5C6C0; }
.form-msg strong { display: block; }
.form-msg .fm-note { display: block; font-weight: 600; opacity: .85; margin-top: 4px; }
.form-msg .fm-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.form-msg .fm-links .btn { font-size: 13px; padding: 9px 16px; }

/* Packages: the discount ladder the published percentages actually follow */
.pk-ladder { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 20px; padding: 20px 24px; margin-bottom: 26px; }
.pk-ladder > strong { display: block; font-size: 17px; margin-bottom: 14px; }
.pk-ladder ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.pk-ladder li { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; font-size: 14px; }
.pk-ladder li b { color: var(--orange); white-space: nowrap; }
.pk-ladder p { margin: 12px 0 0; font-size: 13px; color: var(--muted); }
@media (max-width: 720px) { .pk-ladder ul { grid-template-columns: 1fr; } .pk-ladder { padding: 18px; } }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } .form-card { padding: 22px 18px; } }

.map-wrap { margin-top: 36px; border-radius: 24px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: var(--bg-soft); }
.map-wrap iframe { width: 100%; height: 380px; border: 0; display: block; }
.map-bar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; padding: 16px 20px; background: #fff; }
.map-bar p { font-size: 15px; color: var(--muted); }
.map-bar p strong { color: var(--ink); }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: rgba(255, 255, 255, .78); padding: 64px 0 84px; position: relative; overflow: hidden; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; }
.footer .brand img { height: 120px; }
.footer .about-txt { margin-top: 14px; font-size: 14.5px; max-width: 320px; }
.footer h4 { color: #fff; font-size: 16px; margin-bottom: 14px; }
.footer ul { display: grid; gap: 8px; }
.footer li a { font-size: 14.5px; transition: color .2s; }
.footer li a:hover { color: var(--yellow); }
.footer .ct { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; }
.footer .ct svg { width: 18px; height: 18px; flex: none; margin-top: 4px; color: var(--yellow); }
.footer .ct .ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }
.socials { display: flex; gap: 8px; margin-top: 16px; }
.socials a { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: rgba(255, 255, 255, .08); transition: background .2s, transform .2s; }
.socials a:hover { background: var(--orange); transform: translateY(-2px); }
.socials svg { width: 18px; height: 18px; }
.footer-news { margin-top: 40px; padding: 26px 28px; border-radius: 20px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px; align-items: center; }
.footer-news h4 { color: #fff; font-size: 18px; margin-bottom: 6px; }
.footer-news p { font-size: 14px; color: rgba(255, 255, 255, .72); }
.news-form { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center; }
.news-form input[type="email"] { width: 100%; padding: 13px 16px; border-radius: 999px; border: 1.5px solid rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .08); color: #fff; font: inherit; font-size: 15px; outline: none; transition: border-color .2s, background .2s; }
.news-form input[type="email"]::placeholder { color: rgba(255, 255, 255, .55); }
.news-form input[type="email"]:focus { border-color: var(--yellow); background: rgba(255, 255, 255, .12); }
.news-form .btn { padding-inline: 20px; }
.news-msg { grid-column: 1 / -1; font-size: 13px; font-weight: 700; min-height: 0; display: none; }
.news-msg.show { display: block; }
.news-msg.ok { color: #7EE2A8; }
.news-msg.bad { color: #FFB4AE; }
@media (max-width: 860px) { .footer-news { grid-template-columns: 1fr; padding: 22px 20px; } }
@media (max-width: 480px) { .news-form { grid-template-columns: 1fr; } .news-form .btn { width: 100%; } }
.footer-bottom { margin-top: 44px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .1); display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; font-size: 13px; }
.footer-bottom .tag { font-family: var(--font-en); letter-spacing: .2em; color: var(--orange); font-weight: 600; text-transform: uppercase; font-size: 11px; }
/* the registered company and its commercial registration, on a line of their own */
.footer-bottom .legal { flex-basis: 100%; font-size: 12px; color: rgba(255, 255, 255, .5); }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Floating WhatsApp ---------- */
/* Policies page */
.pol-updated { font-size: 14px !important; color: var(--yellow) !important; margin-top: 8px !important; font-weight: 700; }
.pol-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 40px; align-items: start; }
.pol-nav { position: sticky; top: 92px; background: #F4F6FB; border: 1px solid var(--line); border-radius: 18px; padding: 12px; }
.pol-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.pol-nav a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; font-size: 14px; font-weight: 600; color: var(--muted); transition: background .2s, color .2s; }
.pol-nav a:hover { background: #fff; color: var(--navy); }
.pol-nav .n, .pol-sec h2 .n { flex: none; display: grid; place-items: center; border-radius: 8px; background: var(--navy); color: var(--yellow); font-weight: 800; }
.pol-nav .n { width: 24px; height: 24px; font-size: 12px; }
.pol-body { min-width: 0; }
.pol-sec { padding: 4px 0 26px; border-bottom: 1px solid var(--line); margin-bottom: 26px; scroll-margin-top: 96px; }
.pol-sec:last-child { border-bottom: 0; margin-bottom: 0; }
.pol-sec h2 { font-size: 22px; display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.pol-sec h2 .n { width: 36px; height: 36px; border-radius: 10px; font-size: 15px; }
.pol-sec p, .pol-sec li { font-size: 16px; line-height: 1.9; color: #3A4260; }
.pol-sec p { margin: 0 0 12px; }
.pol-sec ul { margin: 0 0 14px; padding-inline-start: 22px; }
.pol-sec li { margin-bottom: 6px; }
@media (max-width: 960px) {
  .pol-layout { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .pol-nav { position: sticky; top: 76px; z-index: 5; min-width: 0; padding: 8px; border-radius: 14px; }
  .pol-nav ul { flex-direction: row; flex-wrap: nowrap; gap: 6px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .pol-nav ul::-webkit-scrollbar { display: none; }
  .pol-nav li { flex: none; }
  .pol-nav a { padding: 6px 10px 6px 6px; background: #fff; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; white-space: nowrap; }
}

/* FAQ page (shares the policies layout) */
.faq-search { display: flex; align-items: center; gap: 10px; padding: 11px 16px; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; margin-bottom: 24px; transition: border-color .2s, box-shadow .2s; }
.faq-search:focus-within { border-color: var(--orange); box-shadow: 0 0 0 4px rgba(var(--orange-rgb), .12); }
.faq-search svg { width: 18px; height: 18px; color: var(--muted); flex: none; }
.faq-search input { border: 0; outline: 0; font: inherit; font-size: 15px; width: 100%; background: transparent; color: var(--ink); }
.faq-sec h2 .cnt { margin-inline-start: auto; font-size: 13px; font-weight: 600; color: var(--muted); white-space: nowrap; }
.faq-item { border: 1px solid var(--line); border-radius: 14px; background: #fff; margin-bottom: 10px; transition: border-color .2s, box-shadow .2s; }
.faq-item[open] { border-color: rgba(var(--orange-rgb), .45); box-shadow: 0 8px 24px rgba(var(--navy-rgb), .06); }
.faq-item summary { list-style: none; cursor: pointer; padding: 14px 16px; font-weight: 700; font-size: 16px; display: flex; align-items: center; gap: 12px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: ""; width: 9px; height: 9px; border-inline-end: 2px solid var(--orange); border-bottom: 2px solid var(--orange); transform: rotate(45deg); margin-inline-start: auto; margin-top: -4px; transition: transform .2s; flex: none; }
.faq-item[open] summary::after { transform: rotate(-135deg); margin-top: 4px; }
.faq-a { padding: 0 16px 16px; }
.faq-a p { margin: 0; font-size: 15.5px; line-height: 1.85; color: #3A4260; }
.faq-item[hidden], .faq-sec[hidden], .faq-results[hidden] { display: none; }
.faq-results { margin-bottom: 8px; }
.faq-empty { color: var(--muted); padding: 24px; text-align: center; border: 1px dashed var(--line); border-radius: 14px; }

/* The first real payment, and the promises that sit next to a price */
.first-pay { margin: 6px 0 0; font-size: 12.5px; font-weight: 700; color: var(--muted); }

.guarantees { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 34px clamp(20px, 4vw, 40px); margin-bottom: 40px; box-shadow: var(--shadow); }
.guarantees .section-head { margin-bottom: 20px; }
.grt-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.grt-list a { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg-soft); font-size: 14.5px; line-height: 1.65; color: var(--ink); transition: border-color .2s, background .2s, transform .2s; }
.grt-list a:hover { border-color: var(--orange); background: #fff; transform: translateY(-2px); }
.grt-list svg { width: 20px; height: 20px; flex: none; color: #197A43; margin-top: 2px; }
@media (max-width: 760px) { .grt-list { grid-template-columns: 1fr; } .guarantees { padding: 24px 18px; } }


/* Newsletter success pop-up */
.modal-card.nl-card { width: min(100%, 560px); text-align: center; padding: 40px 32px 32px; }
.nl-pop-icon { width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 16px; display: grid; place-items: center; background: #E6F7EC; color: #197A43; }
.nl-pop-icon svg { width: 34px; height: 34px; }
.nl-pop h3 { font-size: 26px; margin: 0 0 8px; }
.nl-pop-lead { color: var(--muted); font-size: 16px; }
.nl-pop-list { list-style: none; margin: 18px auto 0; padding: 0; text-align: start; display: grid; gap: 10px; max-width: 440px; }
.nl-pop-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.6; }
.nl-pop-list svg { width: 20px; height: 20px; flex: none; color: var(--orange); margin-top: 3px; }
.nl-pop-note { margin-top: 18px; font-size: 13.5px; color: var(--muted); line-height: 1.7; }
.nl-pop-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 22px; }
@media (max-width: 480px) { .modal-card.nl-card { padding: 34px 20px 24px; } .nl-pop-actions .btn { width: 100%; } }

/* Announcement bar (switched on from the dashboard settings) */
.announce { background: var(--yellow); color: var(--navy); font-weight: 700; font-size: 14px; }
.announce-inner { display: flex; align-items: center; justify-content: center; gap: 14px; min-height: 40px; padding-block: 6px; text-align: center; }
.announce a { text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.announce-close { background: none; border: 0; font-size: 22px; line-height: 1; color: inherit; cursor: pointer; padding: 0 4px; opacity: .7; }
.announce-close:hover { opacity: 1; }

/* ---------- The floating contact button: one button, two ways in (WhatsApp, the assistant) ---------- */
.wd-fab {
  position: fixed; bottom: 22px; inset-inline-end: 22px; z-index: 62;
  display: flex; flex-direction: column-reverse; align-items: flex-end; gap: 12px; /* the button comes first in the markup so Tab reaches the menu after it */
  transition: bottom .25s var(--ease);
}
.wd-fab[hidden] { display: none; }
.wd-fab-btn {
  width: 60px; height: 60px; border: 0; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  background: #25D366; color: #fff;
  box-shadow: 0 12px 28px rgba(37, 211, 102, .4), 0 4px 12px rgba(var(--navy-rgb), .18); transition: transform .2s var(--ease);
}
.wd-fab-btn:hover { transform: translateY(-3px); }
.wd-fab-btn svg { grid-area: 1 / 1; width: 27px; height: 27px; transition: transform .25s var(--ease), opacity .2s; }
.wd-fab-btn .i-close { opacity: 0; transform: rotate(-90deg) scale(.6); }
.wd-fab.is-open .wd-fab-btn .i-open { opacity: 0; transform: rotate(90deg) scale(.6); }
.wd-fab.is-open .wd-fab-btn .i-close { opacity: 1; transform: none; }
.wd-fab-menu { display: grid; gap: 10px; width: min(310px, calc(100vw - 44px)); }
.wd-fab-menu[hidden] { display: none; }
.wd-fab-item {
  display: flex; align-items: center; gap: 14px; width: 100%; padding: 13px 16px; margin: 0;
  border: 1px solid rgba(255, 255, 255, .09); border-radius: 18px; background: var(--navy); color: #fff;
  font: inherit; text-align: start; text-decoration: none; cursor: pointer;
  box-shadow: 0 14px 34px rgba(var(--navy-rgb), .3); transition: transform .2s var(--ease), background .2s;
}
.wd-fab-item[hidden] { display: none; }
.wd-fab-item:hover { background: var(--navy-2); transform: translateY(-2px); }
.wd-fab-btn:focus-visible, .wd-fab-item:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.wd-fab-menu:not([hidden]) .wd-fab-item { animation: wd-fab-in .22s var(--ease) both; }
.wd-fab-menu:not([hidden]) .wd-fab-item + .wd-fab-item { animation-delay: .05s; }
@keyframes wd-fab-in { from { opacity: 0; transform: translateY(10px) scale(.97); } }
.wd-fab-ico { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; flex: none; }
.wd-fab-ico svg { width: 22px; height: 22px; }
.wd-fab-ico.is-wa { background: #25D366; color: #fff; }
.wd-fab-ico.is-chat { background: var(--yellow); color: var(--navy); }
.wd-fab-txt { display: flex; flex-direction: column; min-width: 0; line-height: 1.35; }
.wd-fab-txt strong { font-size: 15px; font-weight: 800; }
.wd-fab-txt small { margin-top: 3px; font-size: 12.5px; color: rgba(255, 255, 255, .7); }
@media (prefers-reduced-motion: reduce) {
  .wd-fab, .wd-fab-btn, .wd-fab-btn svg, .wd-fab-item { transition: none; }
  .wd-fab-menu:not([hidden]) .wd-fab-item { animation: none; }
}
@media (max-width: 560px) {
  .wd-fab { bottom: 16px; inset-inline-end: 16px; }
  .wd-fab-btn { width: 56px; height: 56px; }
}
@media print { .wd-fab { display: none !important; } }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-visual img, .dots span, .why-visual .wv-ring, .why-visual .wv-dots, .why-visual .wv-dot { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Utilities ---------- */
.mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 40px; }
.center { text-align: center; }
.num { font-family: var(--font-en); }
.hidden { display: none !important; }
.ltr { direction: ltr; unicode-bidi: isolate; }
/* TASK-58: a phone number reads left to right inside Arabic text and never breaks across lines (assets/js/bidi.js) */
.wd-tel { direction: ltr; unicode-bidi: isolate; white-space: nowrap; }
.wd-nw { white-space: nowrap; }
.faq-a .ltr, .pol-body .ltr { white-space: nowrap; } /* the phone numbers faq.js and policies.js isolate themselves */
/* a phone number is typed left to right, aligned with the page's side */
input[type="tel"] { direction: ltr; }
html[dir="rtl"] input[type="tel"] { text-align: right; }
html[dir="ltr"] input[type="tel"] { text-align: left; }
.text-muted { color: var(--muted); }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

/* ---------- Price on request (anime foundation, episodes, seasons) ---------- */
.svc-price.is-quote strong { font-family: inherit; font-size: 20px; }
.pt-price.is-quote b { font-family: inherit; font-size: 15px; }

/* ---------- Founding clients programme ---------- */
.fd-hero .eyebrow { margin-top: 18px; }
.fd-seats {
  display: inline-flex; flex-direction: column; gap: 4px; margin-top: 22px; padding: 14px 20px; border-radius: 16px;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); max-width: 560px;
}
.fd-seats strong { font-size: 22px; font-weight: 800; color: #fff; }
.fd-seats span { font-size: 13.5px; color: rgba(255, 255, 255, .72); }
.page-hero .fd-full-note { color: #fff; font-weight: 700; }
.fd-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.fd-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.fd-card { padding: clamp(22px, 3vw, 32px); border-radius: var(--radius); border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); }
.fd-card h2 { font-size: 22px; margin-bottom: 16px; }
.fd-get { border-top: 4px solid var(--orange); }
.fd-ask { border-top: 4px solid var(--blue); }
.fd-list { display: grid; gap: 12px; }
.fd-list li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.7; }
.fd-list svg { flex: none; width: 20px; height: 20px; margin-top: 4px; color: var(--orange); }
.fd-ask .fd-list svg { color: var(--blue); }
.fd-examples { max-width: 860px; margin: 0 auto; }
.fd-table { --c: var(--orange); }
.fd-table .fd-was { color: var(--muted); font-family: var(--font-en); font-weight: 600; }
.fd-table .fd-now { font-family: var(--font-en); font-size: 17px; font-weight: 800; color: var(--ink); }
.fd-private {
  margin-bottom: clamp(28px, 4vw, 44px); padding: 22px clamp(20px, 3vw, 30px); border-radius: var(--radius);
  background: var(--bg-soft); border: 1px dashed var(--line);
}
.fd-private h3 { font-size: 18px; margin-bottom: 6px; }
.fd-private p { color: var(--muted); line-height: 1.8; }
@media (max-width: 760px) { .fd-grid { grid-template-columns: 1fr; } }

/* home: the programme in one band */
.fd-promo {
  display: flex; align-items: center; justify-content: space-between; gap: 18px 28px; flex-wrap: wrap;
  padding: clamp(22px, 3vw, 30px) clamp(22px, 4vw, 36px); border-radius: var(--radius);
  background: linear-gradient(135deg, #FFF4EC, #F2F5FF); border: 1px solid var(--line);
}
.fd-promo .tag { display: inline-block; font-size: 12.5px; font-weight: 800; color: var(--orange); letter-spacing: .02em; }
.fd-promo h3 { font-size: clamp(19px, 2.4vw, 24px); margin: 4px 0 6px; }
.fd-promo p { color: var(--muted); max-width: 620px; }
.fd-promo .fd-promo-seats { display: block; margin-top: 8px; font-weight: 700; color: var(--ink); font-size: 14px; }

.section-tight { padding: clamp(20px, 3vw, 36px) 0; }
@media (max-width: 640px) {
  /* four columns do not fit a phone: the code column goes, the service name links to its page anyway */
  .fd-table th:first-child, .fd-table td:first-child { display: none; }
  .fd-table .num { min-width: 0; }
  .fd-table .fd-now { font-size: 15px; }
}

/* ---------- The site assistant (chat widget) ---------- */
.wd-chat-panel {
  position: fixed; bottom: 96px; inset-inline-end: 22px; z-index: 61; width: min(400px, calc(100vw - 32px)); height: min(620px, calc(100vh - 120px));
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 22px; overflow: hidden;
  box-shadow: 0 24px 60px rgba(var(--navy-rgb), .28);
}
.wd-chat-panel[hidden] { display: none; }
.wd-chat-head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: var(--navy); color: #fff; }
.wd-chat-head > div { flex: 1; min-width: 0; line-height: 1.25; }
.wd-chat-head strong { display: block; font-size: 15px; }
.wd-chat-head small { font-size: 12px; color: rgba(255, 255, 255, .7); }
.wd-chat-avatar { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .12); color: #FFC93C; flex: none; }
.wd-chat-avatar svg { width: 20px; height: 20px; }
.wd-chat-head button { width: 34px; height: 34px; border: 0; border-radius: 10px; background: rgba(255, 255, 255, .1); color: #fff; display: grid; place-items: center; cursor: pointer; flex: none; }
.wd-chat-head button:hover { background: rgba(255, 255, 255, .22); }
.wd-chat-head button svg { width: 18px; height: 18px; }
.wd-chat-body { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.wd-chat { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.wd-chat-log { flex: 1; min-height: 0; overflow-y: auto; padding: 16px 14px 8px; display: flex; flex-direction: column; gap: 10px; background: var(--bg-soft); scroll-behavior: auto; }
.wd-chat-msg { max-width: 88%; padding: 10px 14px; border-radius: 16px; font-size: 14.5px; line-height: 1.75; word-break: break-word; }
.wd-chat-msg.is-user { align-self: flex-end; background: var(--navy); color: #fff; border-end-end-radius: 4px; }
.wd-chat-msg.is-assistant { align-self: flex-start; background: #fff; border: 1px solid var(--line); border-end-start-radius: 4px; }
.wd-chat-msg.is-error { border-color: #f3c1bd; background: #FFF1F0; color: #8A1F17; }
.wd-chat-msg p { margin: 0; }
.wd-chat-msg p + p, .wd-chat-msg ul, .wd-chat-msg ol { margin-top: 8px; }
.wd-chat-msg ul, .wd-chat-msg ol { padding-inline-start: 18px; }
.wd-chat-msg li + li { margin-top: 3px; }
.wd-chat-msg a { color: var(--blue); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.wd-chat-msg.is-streaming:empty::after, .wd-chat-msg.is-streaming p:last-child::after { content: "\258D"; color: var(--orange); animation: wd-blink 1s steps(2) infinite; }
@keyframes wd-blink { 50% { opacity: 0; } }
.wd-chat-err { margin-top: 8px !important; font-size: 13px; color: #8A1F17; }
.wd-chat-cards { display: grid; gap: 8px; margin-top: 10px; }
.wd-chat-card { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; padding: 9px 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg-soft); color: var(--ink); text-decoration: none !important; font-size: 13.5px; }
.wd-chat-card:hover { border-color: var(--blue); }
.wd-chat-card .code { font-family: var(--font-en); font-size: 11.5px; font-weight: 800; color: var(--orange); }
.wd-chat-card .name { font-weight: 700; }
.wd-chat-card .price { font-family: var(--font-en); font-weight: 800; white-space: nowrap; }
.wd-chat-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 2px 0 6px; }
.wd-chat-chips button { border: 1px solid var(--line); background: #fff; color: var(--ink); font: inherit; font-size: 13px; font-weight: 700; padding: 7px 12px; border-radius: 999px; cursor: pointer; }
.wd-chat-chips button:hover { border-color: var(--navy); }
.wd-chat-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.wd-chat-tag { font-size: 12.5px; font-weight: 700; color: #1F6A3A; background: #E6F6EC; padding: 6px 10px; border-radius: 10px; }
.wd-chat-wa { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 12px; background: #25D366; color: #fff !important; font-weight: 700; font-size: 13.5px; text-decoration: none !important; }
.wd-chat-wa svg { width: 18px; height: 18px; }
.wd-chat-fb { display: flex; align-items: center; gap: 6px; margin-top: 10px; padding-top: 8px; border-top: 1px dashed var(--line); font-size: 12px; color: var(--muted); }
.wd-chat-fb span { flex: 1; }
.wd-chat-fb button { width: 28px; height: 28px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--muted); display: grid; place-items: center; cursor: pointer; }
.wd-chat-fb button svg { width: 15px; height: 15px; }
.wd-chat-fb button.on { color: #fff; background: var(--navy); border-color: var(--navy); }
.wd-chat-status { padding: 4px 18px; font-size: 12.5px; color: var(--muted); background: var(--bg-soft); }
.wd-chat-status[hidden] { display: none; }
.wd-chat-form { display: flex; align-items: flex-end; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--line); background: #fff; }
.wd-chat-form textarea { flex: 1; resize: none; min-height: 42px; max-height: 120px; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 12px; font: inherit; font-size: 14.5px; line-height: 1.5; background: var(--bg-soft); }
.wd-chat-form textarea:focus { outline: none; border-color: var(--blue); background: #fff; }
.wd-chat-send { width: 42px; height: 42px; border: 0; border-radius: 12px; background: var(--orange); color: #fff; display: grid; place-items: center; cursor: pointer; flex: none; }
.wd-chat-send:disabled { opacity: .5; cursor: progress; }
.wd-chat-send svg { width: 18px; height: 18px; }
html[dir="rtl"] .wd-chat-send svg { transform: scaleX(-1); }
.wd-chat.is-capped .wd-chat-form { display: none; }
.wd-chat-note { margin: 0; padding: 6px 14px 10px; font-size: 11.5px; line-height: 1.5; color: var(--muted); background: #fff; }
.wd-chat-note a { color: var(--muted); text-decoration: underline; }
@media (max-width: 560px) {
  .wd-chat-panel { inset: auto 0 0 0; width: 100%; height: min(85vh, 640px); border-radius: 22px 22px 0 0; }
  body.wd-chat-open .wd-fab { display: none; }
}
@media print { .wd-chat-panel { display: none !important; } }

/* the founding page's "reserve with the assistant" button: only when the assistant may book seats */
[data-fd-ai] { display: none; }
body.wd-ai-booking [data-fd-ai]:not([hidden]) { display: inline-flex; }
[data-fd-ai] svg { width: 20px; height: 20px; color: var(--orange); }

/* the service page's "order with the assistant" button: only when the assistant may take orders */
[data-order-ai] { display: none; }
body.wd-ai-orders [data-order-ai] { display: inline-flex; }
[data-order-ai] svg { width: 20px; height: 20px; color: var(--yellow); }
.sp-bar [data-order-ai] { padding-inline: 14px; }

/* ---------- Client reviews (home) ---------- */
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.review-card { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; box-shadow: 0 4px 16px rgba(var(--navy-rgb), .04); display: flex; flex-direction: column; gap: 10px; }
.review-stars { color: #F2B01E; font-size: 18px; letter-spacing: 2px; }
.review-stars span { color: #D9DCE6; }
.review-card blockquote { margin: 0; font-size: 15px; line-height: 1.8; color: var(--ink); }
.review-card figcaption { font-size: 13px; color: var(--muted); }
.review-card figcaption strong { color: var(--ink); }

/* ---------- Needs-discovery worksheet ---------- */
.dsc-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 22px; }
.dsc-facts div { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; display: flex; align-items: center; gap: 12px; }
.dsc-facts b { font-family: var(--font-en); font-size: 28px; color: var(--orange); }
.dsc-facts span { font-size: 13.5px; color: var(--muted); line-height: 1.5; }
.dsc-facts:has(+ .dsc.is-open) { display: none; }
/* the current section as one line: shown on phones only, where it opens the list of sections */
.dsc-cur { display: none; }
.dsc { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 22px; align-items: start; }
.dsc:not(.is-open) { grid-template-columns: 1fr; }
.dsc:not(.is-open) .dsc-nav { display: none; }
.dsc-nav { position: sticky; top: 90px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.dsc-progress { display: grid; gap: 6px; margin-bottom: 12px; font-size: 12.5px; color: var(--muted); }
.dsc-pbar { height: 8px; border-radius: 999px; background: #EEF0F5; overflow: hidden; }
.dsc-pbar i { display: block; height: 100%; background: linear-gradient(90deg, var(--orange), var(--yellow)); border-radius: 999px; transition: width .3s; }
.dsc-stepper { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; max-height: 60vh; overflow: auto; }
.dsc-stepper button { width: 100%; display: grid; grid-template-columns: 34px 1fr; gap: 2px 10px; align-items: center; padding: 7px 8px; border: 0; border-radius: 10px; background: none; text-align: start; font: inherit; cursor: pointer; color: var(--ink); }
.dsc-stepper button:hover { background: var(--bg-soft); }
.dsc-stepper li.cur button { background: var(--blue-soft); }
.dsc-stepper li.off button { opacity: .55; }
.dsc-stepper b { font-family: var(--font-en); font-size: 12px; font-weight: 800; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--bg-soft); color: var(--muted); grid-row: span 2; }
.dsc-stepper li.has b { background: #E6F7EC; color: #197A43; }
.dsc-stepper li.cur b { background: var(--navy); color: #fff; }
.dsc-stepper span { font-size: 13.5px; font-weight: 700; line-height: 1.3; }
.dsc-stepper small { font-size: 11.5px; color: var(--muted); }
.dsc-navfoot { margin-top: 12px; display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.dsc-save { font-size: 12px; color: var(--muted); }
.dsc-save.is-saved { color: #197A43; font-weight: 700; }
.dsc-save.is-fail { color: var(--red-ink); }
.dsc-save.is-locked { color: var(--red-ink); font-weight: 700; }
.dsc-main { min-width: 0; display: grid; gap: 16px; }
.dsc-why { flex: 0 0 100%; margin: 0 0 10px; text-align: start; }
.dsc-why > * { max-width: 560px; margin-inline: auto; }
.dsc-why h3 { font-size: 18px; margin: 0 0 10px; color: var(--navy); }
.dsc-why ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.dsc-why li { position: relative; padding-inline-start: 28px; font-size: 15px; line-height: 1.6; }
.dsc-why li::before { content: '✓'; position: absolute; inset-inline-start: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: var(--orange-soft); color: var(--orange); font-size: 12px; font-weight: 800; }
.dsc-why-more { margin: 8px 0 0; font-size: 13px; color: var(--muted); }
.dsc-why-time { margin: 12px 0 0; padding-top: 12px; border-top: 1px dashed var(--line); font-size: 13.5px; color: var(--muted); }
.dsc-sent { margin: 0 0 14px; padding: 10px 14px; border-radius: 12px; background: var(--yellow-soft); color: var(--navy); font-size: 14px; line-height: 1.7; }
.cta-dsc-note { margin-top: 6px; font-weight: 700; }
.dsc-seeded { margin: 10px 0 0; padding: 8px 12px; border-radius: 10px; background: var(--blue-soft); color: var(--blue-d); font-size: 13.5px; font-weight: 700; }
.dsc-landing { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 40px 24px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; align-items: center; }
.dsc-sechead { display: flex; gap: 14px; align-items: flex-start; }
.dsc-secnum { font-family: var(--font-en); font-weight: 800; font-size: 14px; width: 44px; height: 44px; border-radius: 14px; background: var(--navy); color: var(--yellow); display: grid; place-items: center; flex: none; }
.dsc-sechead h2 { font-size: clamp(20px, 2.4vw, 26px); }
.dsc-sechead p { color: var(--muted); font-size: 14px; margin-top: 4px; line-height: 1.7; }
.dsc-explore { color: #8A5A00 !important; }
.dsc-forme { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; background: var(--yellow-soft); border-radius: 14px; padding: 12px 14px; font-weight: 700; font-size: 14px; }
.dsc-folded { background: #fff; border: 1px dashed var(--line); border-radius: 14px; padding: 18px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; color: var(--muted); font-size: 14px; }
.dsc-sub-block { display: grid; gap: 12px; }
.dsc-subhead h3 { font-size: 17px; margin-top: 8px; }
.dsc-subhead p { color: var(--muted); font-size: 13.5px; }
.dsc-when { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; background: var(--bg-soft); border-radius: 12px; padding: 10px 12px; font-size: 13.5px; color: #5A4600; }
.dsc-when span { flex: 1 1 280px; }
.dsc-q { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; display: grid; gap: 10px; transition: border-color .15s; }
.dsc-q.has { border-color: #B9E6C7; }
.dsc-q.ai { border-color: #C9B6F2; background: #FBF8FF; }
.dsc-q.info { background: var(--bg-soft); }
.dsc-qh { display: flex; gap: 10px; align-items: baseline; }
.dsc-qh .num { font-family: var(--font-en); font-size: 12px; font-weight: 800; color: var(--orange); flex: none; }
.dsc-qh h4 { font-size: 15px; line-height: 1.6; }
.dsc-hint { font-size: 12.5px; color: var(--muted); line-height: 1.7; }
.dsc-note { font-size: 13.5px; font-weight: 700; color: #197A43; background: #E6F7EC; border-radius: 10px; padding: 8px 12px; }
.dsc-sub { font-size: 12.5px; font-weight: 700; color: var(--muted); margin-top: 4px; }
.dsc-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.dsc-chip { position: relative; padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font: inherit; font-size: 13.5px; font-weight: 600; color: var(--ink); cursor: pointer; transition: all .12s; }
.dsc-chip:hover { border-color: var(--navy); }
.dsc-chip.on { background: var(--navy); border-color: var(--navy); color: #fff; }
.dsc-chip.ai:not(.on) { border-color: #C9B6F2; }
.dsc-chip small { font-family: var(--font-en); font-size: 10.5px; opacity: .7; margin-inline-start: 4px; }
.dsc-chip[data-rank]::before { content: attr(data-rank); position: absolute; top: -8px; inset-inline-end: -6px; width: 20px; height: 20px; border-radius: 50%; background: var(--orange); color: #fff; font-family: var(--font-en); font-size: 11px; font-weight: 800; display: grid; place-items: center; }
.dsc-chip:disabled { opacity: .6; cursor: default; }
.dsc-other { margin-top: 4px; }
.dsc-q input[type="text"], .dsc-q input[type="number"], .dsc-q input[type="date"], .dsc-q input[type="tel"], .dsc-q input[type="email"], .dsc-q textarea, .dsc-other, .dsc-ai textarea, .dsc-later input { width: 100%; padding: 10px 12px; border-radius: 10px; border: 1.5px solid var(--line); font: inherit; font-size: 14px; background: #fff; outline: none; transition: border-color .15s, box-shadow .15s; }
.dsc-q input:focus, .dsc-q textarea:focus, .dsc-ai textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-soft); }
.dsc-q textarea { resize: vertical; min-height: 72px; }
.dsc-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; }
.dsc-field { display: grid; gap: 4px; font-size: 12.5px; font-weight: 700; }
.dsc-field.full { grid-column: 1 / -1; }
.dsc-seg { display: inline-flex; flex-wrap: wrap; gap: 4px; background: #EEF0F5; padding: 3px; border-radius: 10px; }
.dsc-seg button { padding: 6px 12px; border: 0; border-radius: 8px; background: transparent; font: inherit; font-size: 13px; font-weight: 700; color: var(--muted); cursor: pointer; }
.dsc-seg button.on { background: #fff; color: var(--navy); box-shadow: 0 1px 4px rgba(var(--navy-rgb), .12); }
.dsc-seg button:disabled { cursor: default; }
.dsc-table { display: grid; gap: 8px; }
.dsc-trow { display: grid; grid-template-columns: 160px 1fr auto; gap: 8px; align-items: center; }
.dsc-tlabel { font-size: 13px; font-weight: 700; }
.dsc-tlabel small { font-family: var(--font-en); color: var(--muted); font-size: 11px; }
.dsc-tcells { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 6px; }
.dsc-tc { display: grid; gap: 3px; min-width: 0; }
.dsc-tc input { width: 100%; min-width: 0; }
.dsc-tcap { font-size: 11.5px; font-weight: 600; color: var(--muted); line-height: 1.3; }
.dsc-trow { align-items: end; }
.dsc-table.has-name .dsc-trow { grid-template-columns: 190px 1fr auto; }
.dsc-q .dsc-tname input { font-weight: 700; color: var(--navy); background: #F5F7FC; border-style: dashed; }
.dsc-q .dsc-tname input:focus { background: #fff; border-style: solid; }
.dsc-trow + .dsc-trow { padding-top: 8px; border-top: 1px solid #EEF0F5; }
.dsc-x { width: 30px; height: 30px; border-radius: 8px; border: 1px solid var(--line); background: #fff; color: var(--red-ink); font-size: 18px; line-height: 1; cursor: pointer; }
.dsc-add { justify-self: start; padding: 7px 12px; border-radius: 999px; border: 1.5px dashed var(--line); background: #fff; font: inherit; font-size: 13px; font-weight: 700; color: var(--blue); cursor: pointer; }
.dsc-mgroup { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding: 8px 12px; border-radius: 10px; background: var(--bg-soft); font-size: 13.5px; margin-top: 6px; }
.dsc-mgroup small { color: var(--muted); }
.dsc-nocount { margin-inline-start: auto; font-size: 12.5px; color: var(--muted); }
.dsc-nocount b { color: var(--red-ink); font-family: var(--font-en); }
.dsc-mrow { display: grid; grid-template-columns: 1fr auto; gap: 8px 14px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); }
.dsc-mrow:last-child { border-bottom: 0; }
.dsc-mlabel { font-size: 13.5px; line-height: 1.6; }
.dsc-mlabel small { color: var(--muted); font-size: 12px; }
.dsc-mlabel b { font-family: var(--font-en); color: var(--orange); }
.dsc-mcells { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; justify-content: flex-end; }
.dsc-mcells input { max-width: 200px; }
.dsc-steps { margin: 0; padding-inline-start: 22px; display: grid; gap: 4px; font-size: 14px; }
.dsc-guide { display: grid; gap: 6px; }
.dsc-grow { display: grid; grid-template-columns: 52px 1fr auto; gap: 10px; align-items: center; font-size: 13px; padding: 6px 0; border-bottom: 1px solid var(--line); }
.dsc-grow b { font-family: var(--font-en); color: var(--orange); }
.dsc-grow small { display: block; color: var(--muted); }
.dsc-grow em { font-style: normal; color: var(--muted); font-size: 12px; white-space: nowrap; }
.dsc-details summary { cursor: pointer; font-weight: 700; font-size: 14px; }
.dsc-help { display: grid; gap: 4px; font-size: 12.5px; overflow: auto; }
.dsc-hrow { display: grid; grid-template-columns: 120px repeat(5, 1fr); gap: 6px; align-items: start; }
.dsc-hrow.head span { font-weight: 800; color: var(--muted); }
.dsc-hrow .lbl { font-weight: 700; }
.dsc-hrow i { display: block; font-style: normal; background: #fff; border-radius: 6px; padding: 3px 6px; margin-bottom: 3px; border: 1px solid var(--line); }
.dsc-xsell { background: var(--navy); color: #fff; border-radius: 16px; padding: 16px 18px; display: grid; gap: 8px; }
.dsc-xsell strong { color: var(--yellow); }
.dsc-xrow { display: grid; grid-template-columns: 1fr 1fr auto; gap: 8px; font-size: 13px; align-items: center; }
.dsc-xrow em { font-style: normal; color: rgba(255, 255, 255, .85); }
.dsc-xrow small { font-family: var(--font-en); color: var(--yellow); white-space: nowrap; }
.dsc-skiprow { display: flex; justify-content: flex-end; }
.dsc-morerow { display: flex; justify-content: flex-start; margin-top: 4px; }
.dsc-morerow .btn { border-style: dashed; }
.dsc-ai { background: #FBF8FF; border: 1.5px solid #C9B6F2; border-radius: 16px; padding: 16px 18px; display: grid; gap: 8px; }
.dsc-ai h4 { font-size: 15px; }
.dsc-ai p { font-size: 13px; color: var(--muted); line-height: 1.7; }
.dsc-airow { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 13px; color: #6A3BB5; font-weight: 700; }
.no-dsc-ai .dsc-ai { display: none; }
.dsc-bar { position: sticky; bottom: 0; background: rgba(246, 247, 251, .95); backdrop-filter: blur(8px); border-top: 1px solid var(--line); padding: 12px 0; display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 13px; color: var(--muted); z-index: 5; }
.dsc-terms { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--muted); cursor: pointer; }
.dsc-terms input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--orange); }
.dsc-terms a { color: var(--blue); text-decoration: underline; }
.dsc-err { color: var(--red-ink); font-weight: 700; font-size: 13.5px; min-height: 1.4em; }
.dsc-upload { cursor: pointer; }
.dsc-filelist { list-style: none; margin: 0 0 10px; padding: 0; display: grid; gap: 6px; }
.dsc-filelist li { display: flex; align-items: center; gap: 10px; background: var(--bg-soft); border-radius: 10px; padding: 8px 12px; font-size: 13.5px; }
.dsc-filelist small { color: var(--muted); margin-inline-start: auto; }
.dsc-promises { margin: 0; padding-inline-start: 22px; display: grid; gap: 6px; font-size: 14px; }
.dsc-promises li::marker { color: #197A43; }
.dsc-done { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 24px; display: grid; gap: 12px; text-align: center; justify-items: center; }
.dsc-doneic { width: 64px; height: 64px; border-radius: 20px; background: #E6F7EC; color: #197A43; font-size: 32px; font-weight: 800; display: grid; place-items: center; }
.dsc-done .dsc-promises { text-align: start; }
.dsc-doneactions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.dsc-linkrow { display: flex; gap: 8px; width: 100%; max-width: 560px; }
.dsc-linkrow input { flex: 1; min-width: 0; padding: 9px 12px; border-radius: 10px; border: 1.5px solid var(--line); font: inherit; font-size: 13px; }
.dsc-later { background: var(--yellow-soft); border-radius: 14px; padding: 14px 16px; display: grid; gap: 8px; font-size: 13.5px; }
.dsc-callout { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin: 26px 0; padding: 22px 26px; border-radius: var(--radius); background: var(--navy); color: #fff; }
.dsc-callout > div { flex: 1 1 320px; }
.dsc-callout h3 { font-size: 20px; margin: 6px 0 6px; }
.dsc-callout p { color: rgba(255, 255, 255, .8); font-size: 14px; line-height: 1.8; }
/* staff mode (discovery.js): a team member fills the worksheet for a client. The banner spans both columns above the
   section list and the questions; the paper pages open from it; the start screen explains the two ways in. */
.dsc-staffbar { grid-column: 1 / -1; min-width: 0; display: grid; gap: 8px; padding: 12px 16px; border-radius: 16px; background: var(--navy); color: #fff; font-size: 13.5px; line-height: 1.7; }
.dsc-staffrow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.dsc-staffrow p { flex: 1 1 320px; min-width: 0; margin: 0; }
.dsc-stafftag { flex: none; padding: 3px 10px; border-radius: 999px; background: var(--yellow); color: var(--navy); font-size: 12px; font-weight: 800; }
.dsc-staffbar .btn-light:hover { background: var(--yellow); }
.dsc-staffreview { margin: 0; padding-top: 8px; border-top: 1px solid rgba(255, 255, 255, .15); color: rgba(255, 255, 255, .9); }
/* the colour of a highlighted (.ai) question, so the note points at what it means (a pill, not a box: nothing to tick) */
.dsc-staffreview::before { content: ''; display: inline-block; width: 18px; height: 8px; margin-inline-end: 8px; vertical-align: 2px; border-radius: 999px; background: #C9B6F2; }
.dsc-paperpages summary { cursor: pointer; font-weight: 700; color: var(--yellow); }
.dsc-paperthumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; margin-top: 10px; }
.dsc-paperthumbs a { position: relative; display: block; aspect-ratio: 1 / 1.414; border-radius: 8px; overflow: hidden; background: #fff; border: 1px solid rgba(255, 255, 255, .25); }
.dsc-paperthumbs a:hover, .dsc-paperthumbs a:focus-visible { outline: 2px solid var(--yellow); outline-offset: 1px; }
.dsc-paperthumbs img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; color: transparent; }
.dsc-paperthumbs span { position: absolute; bottom: 4px; inset-inline-start: 4px; padding: 1px 7px; border-radius: 6px; background: rgba(var(--navy-rgb), .8); color: #fff; font-family: var(--font-en); font-size: 11px; font-weight: 700; }
.dsc-staffnote { margin: 0; padding: 12px 14px; border-radius: 12px; background: var(--blue-soft); color: var(--navy); font-size: 14.5px; line-height: 1.8; }
@media (max-width: 560px) {
  .dsc-staffbar { padding: 12px; }
  .dsc-staffrow .btn { flex: 1 1 100%; }
}
/* ---------- Ways into the needs worksheet (hidden together when the owner switches the worksheet off) ---------- */
body.no-dsc [data-dsc-entry] { display: none !important; }
.sp-dsc { display: grid; gap: 2px; margin-top: 10px; padding: 11px 14px; border: 1.5px dashed var(--blue); border-radius: 14px; background: var(--blue-soft); color: var(--navy); text-decoration: none; text-align: start; transition: background .2s, transform .2s var(--ease); }
.sp-dsc strong { font-size: 14px; color: var(--blue-d); }
.sp-dsc span { font-size: 12.5px; color: var(--muted); line-height: 1.5; }
.sp-dsc:hover { background: #fff; transform: translateY(-2px); }
.hero-dsc { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; color: var(--yellow); font-weight: 700; font-size: 15px; text-decoration: none; border-bottom: 1.5px dashed rgba(255, 196, 0, .55); padding-bottom: 3px; }
.hero-dsc::after { content: '←'; font-family: var(--font-en); transition: transform .2s var(--ease); }
html[dir="ltr"] .hero-dsc::after { content: '→'; }
.hero-dsc:hover::after { transform: translateX(-4px); }
html[dir="ltr"] .hero-dsc:hover::after { transform: translateX(4px); }
.page-hero .hero-dsc { margin: 14px 0 4px; }
.page-hero .hero-dsc + .hero-facts { margin-top: 18px; }
.empty .dsc-empty { display: block; margin-top: 8px; color: var(--blue); font-weight: 700; }
/* the header's quote button opens two ways to a quote */
.header-actions { position: relative; }
.qc-pop { position: absolute; top: calc(100% + 12px); inset-inline-end: 0; z-index: 70; width: 330px; display: grid; gap: 8px; padding: 10px; border-radius: 18px; background: #fff; box-shadow: 0 24px 60px rgba(var(--navy-rgb), .28); animation: wd-fab-in .2s var(--ease) both; }
.qc-pop[hidden] { display: none; }
.qc-item { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 12px; color: var(--navy); text-decoration: none; transition: background .15s; }
.qc-item:hover { background: var(--bg-soft); }
.qc-item:focus-visible { background: var(--bg-soft); outline: 3px solid var(--blue); outline-offset: 2px; }
.qc-ico { width: 40px; height: 40px; flex: none; border-radius: 12px; display: grid; place-items: center; color: #fff; }
.qc-ico svg { width: 21px; height: 21px; }
.qc-item.is-dsc .qc-ico { background: var(--orange); }
.qc-item.is-wa .qc-ico { background: #25D366; }
.qc-item strong { display: block; font-size: 14.5px; }
.qc-item small { display: block; color: var(--muted); font-size: 12px; line-height: 1.45; margin-top: 2px; }
.nav .nav-dsc { display: none; }
/* e-mail links open a chooser: web mail, the device's mail app, or copy the address */
.mp-pop { position: fixed; z-index: 95; display: grid; gap: 6px; padding: 10px; border-radius: 18px; background: #fff; box-shadow: 0 24px 60px rgba(var(--navy-rgb), .28); animation: wd-fab-in .2s var(--ease) both; }
.mp-pop[hidden] { display: none; }
.mp-head { margin: 2px 6px 4px; color: var(--muted); font-size: 12.5px; font-weight: 700; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 10px; }
.mp-head .ltr { color: var(--navy); }
.mp-pop button.qc-item { width: 100%; border: 0; background: none; font: inherit; text-align: start; cursor: pointer; }
.mp-pop .qc-item:hover, .mp-pop button.qc-item:hover { background: var(--bg-soft); }
.qc-item.is-gmail .qc-ico { background: #EA4335; }
.qc-item.is-outlook .qc-ico { background: #0A64D6; }
.qc-item.is-app .qc-ico { background: var(--orange); }
.qc-item.is-copy .qc-ico { background: var(--navy); }
.qc-item.is-copy.is-done .qc-ico { background: #1E9E57; }
/* the home page's one-minute journey check */
.jc-section { --jc1: #4F7CF0; --jc2: #8A63D2; --jc3: #B58A00; --jc4: #FF5A1F; --jc5: #D9577C; }
.jc-rows > :nth-child(1) { --jci: #2F5BD0; } .jc-rows > :nth-child(2) { --jci: #6A45B5; } .jc-rows > :nth-child(3) { --jci: #7F5E00; }
.jc-rows > :nth-child(4) { --jci: #B53A0B; } .jc-rows > :nth-child(5) { --jci: #B23A5E; }
.jc { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 22px; align-items: start; }
.jc-rows { display: grid; gap: 10px; }
.jc-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px 16px; border: 1px solid var(--line); border-inline-start: 4px solid var(--jc); border-radius: 16px; background: #fff; transition: box-shadow .2s, border-color .2s; }
.jc-row.is-done { box-shadow: 0 8px 22px rgba(var(--navy-rgb), .06); }
.jc-n { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--jci, var(--jc)); color: #fff; font-family: var(--font-en); font-weight: 800; font-size: 14px; }
.jc-txt small { display: block; color: var(--jci, var(--jc)); font-weight: 700; font-size: 12px; margin-bottom: 2px; }
.jc-txt p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--ink); }
.jc-seg { display: inline-flex; gap: 4px; padding: 3px; border-radius: 12px; background: var(--bg-soft); }
.jc-seg button { border: 0; background: transparent; padding: 7px 12px; border-radius: 9px; font: inherit; font-size: 13.5px; font-weight: 700; color: var(--muted); cursor: pointer; transition: background .15s, color .15s; }
.jc-seg button:hover { color: var(--navy); }
.jc-seg button[aria-pressed="true"] { background: #fff; color: var(--navy); box-shadow: 0 1px 4px rgba(var(--navy-rgb), .14); }
.jc-seg button[data-jc="no"][aria-pressed="true"] { background: var(--jci, var(--jc)); color: #fff; }
.jc-result { position: sticky; top: 96px; min-height: 100%; padding: 24px; border-radius: var(--radius); background: var(--navy); color: #fff; display: flex; flex-direction: column; gap: 12px; justify-content: center; }
.jc-wait { color: rgba(255, 255, 255, .75); text-align: center; font-size: 15px; }
.jc-meter { display: flex; gap: 6px; justify-content: center; }
.jc-meter i { width: 36px; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .18); }
.jc-meter i.on { background: var(--yellow); }
.jc-result h3 { font-size: 20px; line-height: 1.45; margin: 0; }
.jc-result p { color: rgba(255, 255, 255, .8); font-size: 14px; line-height: 1.75; margin: 0; }
.jc-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.jc-chips span { font-size: 12.5px; padding: 4px 11px; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .16); }
.jc-result .btn { align-self: flex-start; margin-top: 4px; }
.jc-result small { color: rgba(255, 255, 255, .6); font-size: 12.5px; }
/* the process: step one is the worksheet */
/* the closing band keeps WhatsApp and e-mail side by side and gives the worksheet its own full line */
.cta-band .actions:has(> [data-dsc-entry]) { display: grid; grid-template-columns: repeat(2, auto); justify-content: end; }
.cta-band .actions > [data-dsc-entry] { grid-column: 1 / -1; justify-content: center; }
body.no-dsc .cta-band .actions:has(> [data-dsc-entry]) { display: flex; }
@media (max-width: 860px) { .cta-band .actions:has(> [data-dsc-entry]) { justify-content: start; } }
@media (max-width: 560px) { .cta-band .actions:has(> [data-dsc-entry]) { grid-template-columns: 1fr; justify-content: stretch; } .cta-band .actions:has(> [data-dsc-entry]) > .btn { justify-content: center; } }
.steps-cta { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; justify-content: center; text-align: center; }
.steps-cta p { max-width: 640px; margin: 0; color: rgba(255, 255, 255, .8); line-height: 1.8; }
/* the contact form's success message offers the worksheet with the details already in it */
.fm-dsc { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; margin-top: 10px; padding-top: 10px; border-top: 1px dashed currentColor; font-size: 13.5px; }
/* an unfinished worksheet is one tap away on every page */
.dsc-resume { position: fixed; bottom: 26px; inset-inline-start: 18px; z-index: 61; display: flex; align-items: center; gap: 10px; max-width: calc(100vw - 118px); padding: 7px 7px 7px 16px; border-radius: 999px; background: var(--navy); color: #fff; box-shadow: 0 14px 34px rgba(var(--navy-rgb), .3); animation: wd-fab-in .3s var(--ease) both; }
html[dir="rtl"] .dsc-resume { padding: 7px 16px 7px 7px; }
.dsc-resume[hidden] { display: none; }
.dsc-resume-txt { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.dsc-resume-txt strong { font-size: 13.5px; }
.dsc-resume-txt small { font-size: 11.5px; color: rgba(255, 255, 255, .65); }
.dsc-resume .btn { padding: 8px 16px; }
.dsc-resume-x { width: 30px; height: 30px; flex: none; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .1); color: #fff; font-size: 17px; line-height: 1; cursor: pointer; }
body.wd-chat-open .dsc-resume { display: none; }
/* No floating contact button on a service's own page or on the worksheet (the owner's choice): both have their own
   order and contact buttons, and the floating one sat on their content. It comes back only as the close button of the
   chat when a visitor opens the assistant from the page (on a wide screen it sits under the chat window). */
body[data-page="service"]:not(.wd-chat-open) .wd-fab, body[data-page="plan"]:not(.wd-chat-open) .wd-fab, body[data-page="discovery"]:not(.wd-chat-open) .wd-fab { display: none; }
.wd-fab-ico.is-dsc { background: var(--orange); color: #fff; }
.wd-chat-chips .wd-chat-chip-link { display: inline-flex; align-items: center; padding: 7px 12px; border-radius: 999px; border: 1.5px solid var(--orange); color: var(--orange); background: #fff; font-size: 13px; font-weight: 700; text-decoration: none; }
.wd-chat-chips .wd-chat-chip-link:hover { background: var(--orange); color: #fff; }
@media (max-width: 960px) {
  body:has(.sp-bar.show) .dsc-resume { display: none; }
  .nav .nav-dsc { display: block; color: #fff; background: var(--orange); text-align: center; font-weight: 800; margin-top: 6px; }
  .jc { grid-template-columns: 1fr; }
  .jc-result { position: static; }
}
@media (max-width: 560px) {
  .jc-row { grid-template-columns: auto minmax(0, 1fr); }
  .jc-seg { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); }
  .dsc-resume { bottom: 92px; inset-inline-start: 12px; max-width: calc(100vw - 24px); }
}
@media print { .dsc-resume, .qc-pop, .mp-pop { display: none !important; } }
@media (max-width: 900px) {
  .dsc { grid-template-columns: minmax(0, 1fr); }
  .dsc-nav { position: static; min-width: 0; } /* the one-line step bar scrolls inside its strip instead of widening the page */
  .dsc-cur {
    display: grid; grid-template-columns: 34px minmax(0, 1fr) 18px; align-items: center; gap: 10px; width: 100%;
    padding: 8px 10px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--blue-soft);
    font: inherit; color: var(--ink); text-align: start; cursor: pointer;
  }
  .dsc-cur b { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--navy); color: #fff; font-family: var(--font-en); font-size: 12px; font-weight: 800; }
  .dsc-cur strong { display: block; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .dsc-cur small { display: block; font-size: 12px; color: var(--muted); }
  .dsc-cur svg { width: 18px; height: 18px; transition: transform .2s var(--ease); }
  .dsc-nav.steps-open .dsc-cur svg { transform: rotate(180deg); }
  .dsc-cur:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
  .dsc-nav:not(.steps-open) .dsc-stepper { display: none; }
  .dsc-stepper { position: relative; margin-top: 8px; max-height: 55vh; }
  .dsc-facts { grid-template-columns: 1fr; }
  .dsc-trow, .dsc-table.has-name .dsc-trow { grid-template-columns: 1fr; }
  .dsc-mrow { grid-template-columns: 1fr; }
  .dsc-mcells { justify-content: flex-start; }
  .dsc-xrow { grid-template-columns: 1fr; }
  .dsc-hrow { grid-template-columns: 90px repeat(5, 120px); }
}

/* ---------- forms.html extras: chips that preview a type sample, a corner radius or a button style ---------- */
.fm-sample { font-size: 15px; font-weight: 500; opacity: .85; margin-inline-start: 6px; }
.dsc-chip.fm-radius { padding: 10px 18px; }
.dsc-chip.fm-btn-filled { background: var(--navy); color: #fff; border-color: var(--navy); }
.dsc-chip.fm-btn-filled.on { background: var(--orange); border-color: var(--orange); }
.dsc-chip.fm-btn-outline { border-width: 2px; border-color: var(--navy); }
.dsc-chip.fm-btn-pill { border-radius: 999px; padding-inline: 20px; }
.dsc-chip.fm-btn-sharp { border-radius: 2px; }
.fm-cellchips { gap: 6px; }
.fm-cellchips .dsc-chip { padding: 5px 10px; font-size: 12.5px; }
.dsc-tc.fm-tc-multi { flex: 1 1 100%; }

/* ---------- how we work: the journey, the two commitment lists, the order tracker ---------- */
.journey { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; max-width: 900px; margin-inline: auto; }
.jr { display: flex; gap: 18px; padding: 22px 24px; border-radius: var(--radius); background: #fff; border: 1px solid #E6E8F0; }
.jr .n { flex: none; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; background: var(--navy); color: #fff; }
.jr > div { flex: 1; min-width: 0; }
.jr h3 { font-size: 19px; margin-bottom: 6px; }
.jr p { color: #5b6480; font-size: 15.5px; }
.jr dl { display: grid; grid-template-columns: 1.5fr 1fr; gap: 10px; margin: 14px 0 0; }
.jr dl > div { padding: 10px 14px; border-radius: 12px; background: #F5F6FA; }
.jr dt { font-size: 12.5px; font-weight: 800; color: var(--orange); margin-bottom: 2px; }
.jr dd { margin: 0; font-size: 14.5px; font-weight: 600; }
.jr-note { max-width: 900px; margin: 18px auto 0; font-size: 14.5px; color: #5b6480; }
.jr-note a, .jr-client a { color: var(--orange); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.jr-two { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 900px; margin-inline: auto; }
.jr-box { padding: 24px 26px; border-radius: var(--radius); background: #fff; border: 1px solid #E6E8F0; }
.jr-box h2 { font-size: 21px; margin-bottom: 12px; }
.jr-box ul { margin: 0; padding-inline-start: 20px; display: grid; gap: 8px; font-size: 15.5px; list-style: disc; }
.jr-track { max-width: 720px; margin-inline: auto; padding: 28px; border-radius: var(--radius); background: #fff; border: 1px solid #E6E8F0; }
.jr-track h2 { font-size: clamp(22px, 2.6vw, 30px); margin: 6px 0 8px; }
.jr-track form { display: grid; grid-template-columns: 1fr 1fr auto; gap: 12px; align-items: end; margin-top: 18px; }
.jr-track label { display: grid; gap: 6px; font-size: 14px; font-weight: 700; }
.jr-track input { width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid #D9DCE8; font: inherit; background: #fff; }
.jr-client { margin-top: 16px; font-size: 14.5px; color: #5b6480; }
@media (max-width: 720px) { .jr { padding: 18px; gap: 12px; } .jr dl, .jr-two, .jr-track form { grid-template-columns: 1fr; } .jr-track { padding: 20px; } }
