/* ==========================================================================
   Kidglish Design System · kg-system.css · v1.0 · 22 Nov 2026
   «الليل للدهشة، والورق للثقة» · Night for wonder, paper for trust.
   One night. One light source: the child's door. Orange is light, never decoration.

   RTL-first. Every spacing/position uses logical properties, so an English page
   only needs <html lang="en" dir="ltr">. Arrows flip through --kg-dir.

   Fonts (production, in <head>):
     <link rel="preconnect" href="https://fonts.googleapis.com">
     <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
     <link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Baloo+Bhaijaan+2:wght@600;700;800&family=Cairo:wght@400;500;600;700;800&display=swap">
   Behaviour (menu drawer, name plaque, door, sticky bar, Kido): kg-system.js

   Contents
   1 Tokens ....... palette · type · space · radius · elevation · motion · layers
   2 Surfaces ..... night (default) · paper · sky · sheet
   3 Base
   4 Typography
   5 Layout ....... container · section · section-head · stack · cluster · grid
   6 Components ... header · nav · drawer · lang · button · link · badge · kicker
                    plaque form · card · hero · door · route/station · passport
                    emblem · pricing · checklist · trustline · faq · report
                    final CTA · footer · sticky bar · Kido launcher
   7 Motion & accessibility
   ========================================================================== */

/* 1 · TOKENS ============================================================== */
:root{
  /* 1.1 Palette (primitives). Components use the ROLES in §2, not these. */
  --kg-deep:#0B1040;        /* the night */
  --kg-night-2:#0E1452;
  --kg-navy:#141B5E;        /* brand navy */
  --kg-navy-2:#1A2270;
  --kg-navy-3:#2A3696;      /* light navy */
  --kg-orange:#FF8A2B;      /* THE LIGHT: CTA fill, key word, door glow */
  --kg-light-core:#FFF4E3;  /* hottest point of the light (door, lit station, lit dot) */
  --kg-peach:#FFC27F;       /* warm label on night, highlighter on paper */
  --kg-peach-soft:#FFE6C7;
  --kg-paper-0:#FFFDF8;     /* sheet */
  --kg-paper-1:#FBF5EC;     /* paper */
  --kg-paper-2:#F3E8D8;     /* paper, second tone */
  --kg-white:#FFFFFF;
  --kg-rgb-white:255 255 255;
  --kg-rgb-navy:20 27 94;
  --kg-rgb-deep:11 16 64;
  --kg-rgb-orange:255 138 43;
  --kg-rgb-peach:255 194 127;
  --kg-rgb-ph:255 214 0;    /* preview-only [placeholder] highlight; removed before launch */

  /* 1.2 Type: Baloo Bhaijaan 2 (display, 800) + Cairo (text, 500/700/800) */
  --kg-font-display:'Baloo Bhaijaan 2','Cairo',system-ui,sans-serif;
  --kg-font-body:'Cairo',system-ui,-apple-system,'Segoe UI',Tahoma,sans-serif;
  --kg-font-mono:ui-monospace,'SFMono-Regular',Menlo,Consolas,monospace; /* passport MRZ only */
  --kg-fs-display:clamp(2.25rem, 1.1rem + 3.9vw, 4.5rem);     /* 36 @390 · 72 @1440 */
  --kg-fs-h1:clamp(2rem, 1.1rem + 3vw, 3.5rem);              /* 32 · 56 */
  --kg-fs-h2:clamp(1.75rem, 1.1rem + 2.6vw, 3.25rem);        /* 28 · 52 */
  --kg-fs-h3:clamp(1.3125rem, 1.15rem + .75vw, 1.75rem);     /* 21 · 28 */
  --kg-fs-lead:clamp(1.0625rem, .95rem + .45vw, 1.3125rem);  /* 17 · 21 */
  --kg-fs-body:clamp(1rem, .96rem + .15vw, 1.0625rem);       /* 16 · 17 */
  --kg-fs-small:.875rem;                                      /* 14 */
  --kg-fs-label:.8125rem;                                     /* 13 */
  --kg-lh-display:1.18;
  --kg-lh-heading:1.3;
  --kg-lh-body:1.85;
  --kg-lh-ui:1.3;
  --kg-measure:36em;

  /* 1.3 Space (4-pt) */
  --kg-s1:.25rem; --kg-s2:.5rem; --kg-s3:.75rem; --kg-s4:1rem; --kg-s5:1.5rem;
  --kg-s6:2rem; --kg-s7:3rem; --kg-s8:4rem; --kg-s9:6rem;
  --kg-gutter:clamp(1.25rem, .45rem + 3.3vw, 5rem);           /* 20 → 80 */
  --kg-section-y:clamp(4rem, 2.5rem + 6vw, 7.5rem);           /* 64 → 120 */
  --kg-container:80rem;                                        /* 1280 */
  --kg-container-narrow:52rem;                                 /* 832, reading */
  --kg-header-h:72px;
  --kg-sticky-h:76px;

  /* 1.4 Radius: ONE family, +8 per step. Nested: inner = outer − padding. */
  --kg-r1:12px;   /* icon tile, small inset */
  --kg-r2:20px;   /* element inside a card */
  --kg-r3:28px;   /* card, sheet, panel */
  --kg-pill:999px;/* button, badge, plaque form */

  /* 1.5 Elevation: three, no more. Night is lit by light, not by shadow. */
  --kg-shadow-sheet:0 1px 0 rgb(var(--kg-rgb-navy) / .05), 0 22px 48px -26px rgb(var(--kg-rgb-deep) / .42);
  --kg-shadow-float:0 18px 48px -16px rgb(0 0 0 / .55);
  /* --kg-glow (the light) is surface-tuned in §2 */

  /* 1.6 Motion */
  --kg-ease:cubic-bezier(.2,.7,.2,1);
  --kg-ease-door:cubic-bezier(.65,0,.25,1);
  --kg-t-fast:160ms;
  --kg-t:280ms;
  --kg-t-slow:640ms;
  --kg-t-door:1800ms;

  /* 1.7 Layers */
  --kg-z-sticky:40; --kg-z-kido:45; --kg-z-header:50; --kg-z-drawer:60;

  /* 1.8 Direction helper: 1 in RTL, −1 in LTR (arrows, nudges) */
  --kg-dir:1;
}
[dir="ltr"]{
  --kg-dir:-1;
  --kg-lh-display:1.06;
  --kg-lh-heading:1.16;
  --kg-lh-body:1.65;
}

/* 2 · SURFACES ============================================================ */
/* Night: the default surface of the brand (hero, passport moment, family, final CTA, footer) */
:root,.kg-night{
  --kg-bg:var(--kg-deep);
  --kg-bg-2:var(--kg-night-2);
  --kg-surface:rgb(var(--kg-rgb-white) / .045);
  --kg-surface-2:rgb(var(--kg-rgb-white) / .08);
  --kg-text:var(--kg-white);
  --kg-text-2:rgb(var(--kg-rgb-white) / .8);    /* 11.7:1 */
  --kg-text-3:rgb(var(--kg-rgb-white) / .64);   /*  7.8:1 */
  --kg-line:rgb(var(--kg-rgb-white) / .12);
  --kg-line-2:rgb(var(--kg-rgb-white) / .24);
  --kg-accent:var(--kg-peach);                  /* kickers, icons, labels: 11.4:1 */
  --kg-accent-bg:rgb(var(--kg-rgb-orange) / .12);
  --kg-key:var(--kg-orange);                    /* the one key word: 7.7:1 */
  --kg-key-glow:0 0 48px rgb(var(--kg-rgb-orange) / .45);
  --kg-key-mark:none;
  --kg-light:var(--kg-orange);
  --kg-on-light:var(--kg-deep);                 /* 7.7:1 on the light */
  --kg-focus:var(--kg-peach);
  --kg-underline:rgb(var(--kg-rgb-peach) / .6);
  --kg-card-shadow:none;
  --kg-glow:0 0 0 6px rgb(var(--kg-rgb-orange) / .14), 0 18px 40px -14px rgb(var(--kg-rgb-orange) / .62);
  --kg-check:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFC27F' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E");
  color-scheme:dark;
}
/* Paper: reading and trust (why us, map, pricing, FAQ, reports, passport) */
.kg-paper{
  --kg-bg:var(--kg-paper-1);
  --kg-bg-2:var(--kg-paper-2);
  --kg-surface:var(--kg-paper-0);
  --kg-surface-2:var(--kg-paper-2);
  --kg-text:var(--kg-navy);                     /* 14.4:1 */
  --kg-text-2:rgb(var(--kg-rgb-navy) / .8);     /*  8.0:1 */
  --kg-text-3:rgb(var(--kg-rgb-navy) / .68);    /*  5.4:1 */
  --kg-line:rgb(var(--kg-rgb-navy) / .14);
  --kg-line-2:rgb(var(--kg-rgb-navy) / .28);
  --kg-accent:var(--kg-navy);
  --kg-accent-bg:var(--kg-peach-soft);
  --kg-key:var(--kg-navy);                      /* never orange text on paper (2.2:1) */
  --kg-key-glow:none;
  --kg-key-mark:linear-gradient(transparent 60%, rgb(var(--kg-rgb-peach) / .9) 60% 92%, transparent 92%);
  --kg-light:var(--kg-orange);
  --kg-on-light:var(--kg-deep);
  --kg-focus:var(--kg-navy-3);
  --kg-underline:var(--kg-peach);
  --kg-card-shadow:var(--kg-shadow-sheet);
  --kg-glow:0 14px 28px -14px rgb(var(--kg-rgb-orange) / .9);
  --kg-check:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23141B5E' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E");
  color-scheme:light;
}
.kg-night,.kg-paper{background-color:var(--kg-bg);color:var(--kg-text)}

/* Sky: the night with its single top glow and a quiet star field (pure CSS) */
.kg-sky{
  position:relative;isolation:isolate;
  background:
    radial-gradient(1100px 620px at 72% -12%, rgb(var(--kg-rgb-navy) / .95), transparent 62%),
    linear-gradient(180deg, var(--kg-deep), var(--kg-night-2));
}
.kg-sky::before{
  content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;opacity:.8;
  background-image:
    radial-gradient(circle at 20px 30px, rgb(var(--kg-rgb-white) / .9) 0 1px, transparent 1.6px),
    radial-gradient(circle at 140px 90px, rgb(var(--kg-rgb-white) / .55) 0 .8px, transparent 1.3px),
    radial-gradient(circle at 90px 170px, rgb(var(--kg-rgb-white) / .7) 0 1px, transparent 1.5px),
    radial-gradient(circle at 210px 220px, rgb(var(--kg-rgb-peach) / .85) 0 1.1px, transparent 1.7px),
    radial-gradient(circle at 60px 250px, rgb(var(--kg-rgb-white) / .45) 0 .7px, transparent 1.2px);
  background-size:263px 281px, 311px 233px, 197px 359px, 421px 389px, 173px 211px;
  -webkit-mask-image:linear-gradient(180deg,#000 50%,transparent);
          mask-image:linear-gradient(180deg,#000 50%,transparent);
}
/* Sheet: a paper section held inside the night (rounded, inset from the edges) */
.kg-sheet{margin-inline:clamp(.5rem, .1rem + 1.4vw, 1.5rem);border-radius:var(--kg-r3)}

/* 3 · BASE ================================================================ */
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{
  margin:0;min-height:100vh;overflow-x:clip;
  background:var(--kg-bg);color:var(--kg-text);
  font-family:var(--kg-font-body);font-size:var(--kg-fs-body);font-weight:500;line-height:var(--kg-lh-body);
  -webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;
}
h1,h2,h3,h4,p,figure,blockquote,dl,dd{margin:0}
img{display:block;max-width:100%;height:auto}
svg{flex:none}
a{color:inherit}
button,input,select,textarea{font:inherit;color:inherit}
b,strong{font-weight:700;color:var(--kg-text)}
:focus-visible{outline:3px solid var(--kg-focus);outline-offset:3px}
::selection{background:rgb(var(--kg-rgb-peach) / .55);color:var(--kg-deep)}
.kg-icon{width:1.5rem;height:1.5rem;flex:none}
.kg-arrow{width:1.15em;height:1.15em;flex:none;transform:scaleX(var(--kg-dir))} /* drawn pointing "forward" in RTL */
.kg-sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.kg-skip{position:absolute;inset-inline-start:var(--kg-s4);top:-200px;z-index:100;padding:var(--kg-s3) var(--kg-s4);border-radius:var(--kg-r1);background:var(--kg-peach);color:var(--kg-deep);font-weight:800}
.kg-skip:focus{top:var(--kg-s4)}
/* [placeholder] marker, preview only. Remove (with its brackets) before launch. */
.kg-ph{background:rgb(var(--kg-rgb-ph) / .32);border-radius:4px;padding-inline:.15em;-webkit-box-decoration-break:clone;box-decoration-break:clone}
.kg-footer .kg-ph{color:#fff}

/* 4 · TYPOGRAPHY ========================================================== */
.kg-display,.kg-h1,.kg-h2,.kg-h3{font-family:var(--kg-font-display);font-weight:800;color:var(--kg-text);text-wrap:balance}
.kg-display{font-size:var(--kg-fs-display);line-height:var(--kg-lh-display)}
.kg-h1{font-size:var(--kg-fs-h1);line-height:var(--kg-lh-display)}
.kg-h2{font-size:var(--kg-fs-h2);line-height:var(--kg-lh-heading)}
.kg-h3{font-size:var(--kg-fs-h3);line-height:1.38}
[dir="ltr"] :is(.kg-display,.kg-h1,.kg-h2){letter-spacing:-.015em}
.kg-lead{font-size:var(--kg-fs-lead);line-height:1.8;color:var(--kg-text-2);max-width:var(--kg-measure);text-wrap:pretty}
.kg-body{color:var(--kg-text-2);text-wrap:pretty}
.kg-small{font-size:var(--kg-fs-small);line-height:1.65;color:var(--kg-text-3)}
.kg-label{font-size:var(--kg-fs-label);font-weight:700;line-height:var(--kg-lh-ui);color:var(--kg-text-3)}
/* Latin micro-labels only (PASSPORT, NAME). Arabic is never tracked or uppercased. */
.kg-latin{font-family:var(--kg-font-body);font-size:.6875rem;font-weight:800;letter-spacing:.16em;text-transform:uppercase;direction:ltr;unicode-bidi:isolate}
.kg-num{font-family:var(--kg-font-display);font-weight:800;font-variant-numeric:tabular-nums;line-height:1.1}
/* The key word: orange light on night; navy + peach highlighter on paper */
.kg-key{font-style:normal;color:var(--kg-key);text-shadow:var(--kg-key-glow);background:var(--kg-key-mark);padding-inline:.06em;-webkit-box-decoration-break:clone;box-decoration-break:clone}
/* © after methodology names */
.kg-c{font-family:var(--kg-font-body);font-weight:600;font-size:.6em;color:var(--kg-text-3);vertical-align:.4em;margin-inline-start:.1em}

/* 5 · LAYOUT ============================================================== */
.kg-container{width:100%;max-width:calc(var(--kg-container) + var(--kg-gutter) * 2);margin-inline:auto;padding-inline:var(--kg-gutter)}
.kg-container--narrow{max-width:calc(var(--kg-container-narrow) + var(--kg-gutter) * 2)}
.kg-section{position:relative;padding-block:var(--kg-section-y)}
.kg-section-head{display:grid;gap:var(--kg-s4) var(--kg-s8);align-items:end;margin-block-end:clamp(2rem, 1.2rem + 2.4vw, 3.5rem)}
.kg-section-head__title{display:flex;flex-direction:column;gap:var(--kg-s4)}
@media (min-width:900px){.kg-section-head{grid-template-columns:1.15fr .85fr}}
.kg-stack{display:flex;flex-direction:column;gap:var(--kg-gap, var(--kg-s4))}
.kg-cluster{display:flex;flex-wrap:wrap;align-items:center;gap:var(--kg-gap, var(--kg-s3))}
.kg-grid{display:grid;gap:var(--kg-gap, var(--kg-s5));grid-template-columns:repeat(auto-fit, minmax(min(100%, var(--kg-min, 17rem)), 1fr))}
.kg-grid--12{grid-template-columns:repeat(12, minmax(0, 1fr))}

/* 6 · COMPONENTS ========================================================== */

/* 6.1 Header: logo · ≤5 links · language · one CTA. ≤72px desktop, 60px mobile */
.kg-header{position:sticky;top:0;z-index:var(--kg-z-header);height:var(--kg-header-h);border-block-end:1px solid transparent;transition:background-color var(--kg-t) var(--kg-ease),border-color var(--kg-t) var(--kg-ease)}
.kg-header[data-scrolled]{background:rgb(var(--kg-rgb-deep) / .84);-webkit-backdrop-filter:saturate(140%) blur(14px);backdrop-filter:saturate(140%) blur(14px);border-color:var(--kg-line)}
.kg-header__bar{height:100%;display:flex;align-items:center;gap:var(--kg-s5)}
.kg-header__logo{display:block;flex:none;border-radius:var(--kg-r1);padding-block:6px}
.kg-header__logo img{height:42px;width:auto}
.kg-nav{display:flex;align-items:center;gap:clamp(1rem, .1rem + 1.9vw, 2.25rem);margin-inline:auto}
.kg-nav a{position:relative;display:flex;align-items:center;min-height:48px;font-size:.9375rem;font-weight:700;color:var(--kg-text-2);text-decoration:none;white-space:nowrap;transition:color var(--kg-t-fast) var(--kg-ease)}
.kg-nav a:hover,.kg-nav a[aria-current]{color:var(--kg-text)}
.kg-nav a[aria-current]::after{content:"";position:absolute;inset-inline:0;bottom:8px;height:2px;border-radius:2px;background:var(--kg-accent)}
.kg-header__actions{display:flex;align-items:center;gap:var(--kg-s2)}
.kg-lang{display:inline-flex;align-items:center;justify-content:center;min-width:48px;min-height:48px;padding-inline:var(--kg-s3);border-radius:var(--kg-pill);font-size:.8125rem;font-weight:800;color:var(--kg-text-3);text-decoration:none;transition:color var(--kg-t-fast) var(--kg-ease),background-color var(--kg-t-fast) var(--kg-ease)}
.kg-lang:hover{color:var(--kg-text);background:var(--kg-surface-2)}
.kg-menu-btn{display:none;align-items:center;gap:var(--kg-s2);min-height:48px;padding-inline:var(--kg-s4);border-radius:var(--kg-pill);border:1px solid var(--kg-line-2);background:var(--kg-surface);font-size:.9375rem;font-weight:800;cursor:pointer}
.kg-menu-btn .kg-icon{width:20px;height:20px}
@media (max-width:899.98px){
  :root{--kg-header-h:60px}
  .kg-nav,.kg-header .kg-lang,.kg-header .kg-header__cta{display:none}
  .kg-menu-btn{display:inline-flex}
  .kg-header__actions{margin-inline-start:auto}
  .kg-header__logo img{height:32px}
}

/* 6.2 Drawer (mobile menu) */
.kg-drawer{position:fixed;inset:0;z-index:var(--kg-z-drawer);display:none;flex-direction:column;padding:0 var(--kg-gutter) calc(var(--kg-s6) + env(safe-area-inset-bottom));overflow-y:auto;overscroll-behavior:contain}
.kg-drawer[data-open]{display:flex;animation:kg-fade-in var(--kg-t) var(--kg-ease)}
.kg-drawer__top{flex:none;height:var(--kg-header-h);display:flex;align-items:center;justify-content:space-between}
.kg-drawer__top img{height:32px;width:auto}
.kg-drawer .kg-menu-btn{display:inline-flex}
.kg-drawer__nav{display:flex;flex-direction:column;margin-block:var(--kg-s5) var(--kg-s6)}
.kg-drawer__nav a{display:flex;align-items:center;justify-content:space-between;gap:var(--kg-s4);min-height:64px;border-block-end:1px solid var(--kg-line);font-family:var(--kg-font-display);font-size:1.625rem;font-weight:700;line-height:1.3;text-decoration:none}
.kg-drawer__nav a .kg-arrow{color:var(--kg-accent)}
.kg-drawer__foot{margin-block-start:auto;display:flex;flex-direction:column;gap:var(--kg-s4)}
html[data-kg-menu-open]{overflow:hidden}
html[data-kg-menu-open] :is(.kg-stickybar,.kg-kido){visibility:hidden}

/* 6.3 Buttons: light (primary, orange = the one action) · quiet (secondary) */
.kg-btn{
  --kg-btn-h:56px;
  display:inline-flex;align-items:center;justify-content:center;gap:.625rem;
  min-height:var(--kg-btn-h);padding:.5rem 1.75rem;border-radius:var(--kg-pill);border:1.5px solid transparent;
  font-family:var(--kg-font-body);font-size:1.0625rem;font-weight:800;line-height:1.25;text-align:center;text-decoration:none;text-wrap:balance;
  cursor:pointer;-webkit-tap-highlight-color:transparent;
  transition:transform var(--kg-t-fast) var(--kg-ease),background-color var(--kg-t) var(--kg-ease),border-color var(--kg-t) var(--kg-ease),box-shadow var(--kg-t) var(--kg-ease),color var(--kg-t) var(--kg-ease);
}
.kg-btn--light{background:var(--kg-light);color:var(--kg-on-light);box-shadow:var(--kg-glow)}
.kg-btn--light:hover{transform:translateY(-1px)}
.kg-btn--light:active{transform:translateY(0) scale(.985)}
.kg-btn--quiet{background:transparent;color:var(--kg-accent);border-color:color-mix(in srgb, var(--kg-accent) 45%, transparent)}
.kg-btn--quiet:hover{background:var(--kg-surface-2);border-color:var(--kg-accent)}
.kg-btn--sm{--kg-btn-h:48px;padding-inline:1.25rem;font-size:.9375rem}
.kg-btn--lg{--kg-btn-h:64px;padding-inline:2.25rem;font-size:1.125rem}
.kg-btn--block{display:flex;width:100%}
.kg-btn--stacked{flex-direction:column;gap:0;padding-block:.375rem}
.kg-btn__sub{font-size:.75rem;font-weight:600;line-height:1.35;opacity:.82}
.kg-btn:disabled,.kg-btn[aria-disabled="true"]{opacity:.45;pointer-events:none;box-shadow:none}

/* 6.4 Text link (quiet route to the next step; arrow points forward) */
.kg-link{display:inline-flex;align-items:center;gap:var(--kg-s2);min-height:48px;font-weight:800;color:var(--kg-text);text-decoration:underline;text-decoration-color:var(--kg-underline);text-decoration-thickness:2px;text-underline-offset:.55em;cursor:pointer;transition:text-decoration-color var(--kg-t-fast) var(--kg-ease)}
.kg-link:hover{text-decoration-color:currentColor}
.kg-link .kg-arrow{transition:translate var(--kg-t) var(--kg-ease)}
.kg-link:hover .kg-arrow{translate:calc(-4px * var(--kg-dir)) 0}

/* 6.5 Badge / pill */
.kg-badge{display:inline-flex;align-items:center;gap:var(--kg-s2);min-height:30px;padding:.25rem .75rem;border-radius:var(--kg-pill);border:1px solid color-mix(in srgb, var(--kg-accent) 26%, transparent);background:var(--kg-accent-bg);color:var(--kg-accent);font-size:var(--kg-fs-label);font-weight:700;line-height:1.3;white-space:nowrap}
.kg-badge--lg{min-height:40px;padding-inline:1rem;font-size:.9375rem}
.kg-badge--quiet{background:transparent}
.kg-badge--solid{background:var(--kg-peach);border-color:transparent;color:var(--kg-deep)}
.kg-badge--lit::before{content:"";flex:none;width:12px;height:12px;margin-inline:-2px;border-radius:50%;background:radial-gradient(circle, var(--kg-light-core) 0 18%, var(--kg-light) 42%, rgb(var(--kg-rgb-orange) / 0) 72%)}

/* 6.6 Section label (kicker): a short light-dash + label */
.kg-kicker{display:flex;align-items:center;gap:var(--kg-s3);font-size:.875rem;font-weight:800;line-height:1.3;color:var(--kg-accent)}
.kg-kicker::before{content:"";flex:none;width:28px;height:2px;border-radius:2px;background:var(--kg-light)}
.kg-kicker__mark{height:40px;width:auto}

/* 6.7 Name plaque + CTA: «اكتب اسم ابنك» → «باب سارة» → «احجز اختبار سارة المجاني» */
.kg-plaque-form{container-type:inline-size;width:100%;max-width:40rem}
.kg-plaque-form__box{display:flex;align-items:center;gap:var(--kg-s2);padding:var(--kg-s2);border-radius:var(--kg-pill);border:1px solid var(--kg-line-2);background:var(--kg-surface-2);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}
.kg-plaque-form__box:focus-within{outline:2px solid var(--kg-focus);outline-offset:2px}
.kg-plaque-form__field{flex:1;min-width:0;display:flex;flex-direction:column;justify-content:center;min-height:56px;padding-inline:var(--kg-s5) var(--kg-s2)}
.kg-plaque-form__label{font-size:.75rem;font-weight:700;line-height:1.2;color:var(--kg-text-3)}
.kg-plaque-form__input{width:100%;margin:2px 0 0;padding:0;border:0;background:none;outline:none;font-family:var(--kg-font-display);font-size:1.25rem;font-weight:800;line-height:1.35;color:var(--kg-text);caret-color:var(--kg-light)}
.kg-plaque-form__input::placeholder{color:var(--kg-text-3);opacity:1;font-weight:700}
.kg-plaque-form__box .kg-btn{flex:none}
.kg-plaque-form__note{margin-block-start:var(--kg-s3)}
@container (max-width:33rem){
  .kg-plaque-form__box{flex-direction:column;align-items:stretch;border-radius:var(--kg-r3)}
  .kg-plaque-form__field{padding-inline:var(--kg-s4)}
  .kg-plaque-form__box .kg-btn{border-radius:var(--kg-r2)} /* 28 − 8 padding = 20: concentric */
}

/* 6.8 Card: one card, two surfaces, one radius */
.kg-card{position:relative;display:flex;flex-direction:column;gap:var(--kg-s3);padding:clamp(1.375rem, 1rem + 1.2vw, 2rem);border-radius:var(--kg-r3);border:1px solid var(--kg-line);background:var(--kg-surface);box-shadow:var(--kg-card-shadow);color:var(--kg-text)}
.kg-card__icon{display:grid;place-items:center;width:52px;height:52px;margin-block-end:var(--kg-s2);border-radius:var(--kg-r1);background:var(--kg-accent-bg);color:var(--kg-accent)}
.kg-card__icon svg{width:28px;height:28px}
.kg-card__title{font-family:var(--kg-font-display);font-size:var(--kg-fs-h3);font-weight:800;line-height:1.35;color:var(--kg-text)}
.kg-card__text{color:var(--kg-text-2)}
.kg-card__foot{margin-block-start:auto;padding-block-start:var(--kg-s2)}
.kg-card--link{transition:transform var(--kg-t) var(--kg-ease),border-color var(--kg-t) var(--kg-ease)}
.kg-card--link:hover{transform:translateY(-3px);border-color:var(--kg-line-2)}
.kg-stretch::after{content:"";position:absolute;inset:0;border-radius:inherit} /* whole card = one link */

/* 6.9 Hero: copy + door. Phone: the door is a 120px band above the headline, so H1 + CTA + «مجاني» fit the first screen */
.kg-hero{position:relative;overflow:clip;padding-block:var(--kg-s5) var(--kg-s8)}
.kg-hero__grid{display:grid;gap:var(--kg-s4);align-items:center}
.kg-hero__copy{position:relative;z-index:1;display:flex;flex-direction:column;align-items:flex-start;gap:var(--kg-s5)}
.kg-hero__copy .kg-lead{max-width:34em}
.kg-hero__micro{display:flex;flex-wrap:wrap;gap:var(--kg-s2) var(--kg-s5)}
.kg-hero__micro li{display:flex;align-items:center;gap:var(--kg-s2)}
.kg-hero__micro svg{width:16px;height:16px;color:var(--kg-accent)}
.kg-hero__door{justify-self:center;width:100%}
@media (min-width:900px){
  .kg-hero{padding-block:var(--kg-s6) var(--kg-s8)}
  .kg-hero__grid{grid-template-columns:1.2fr .8fr;gap:var(--kg-s7);min-height:min(760px, calc(100svh - var(--kg-header-h)))}
}
@media (max-width:899.98px){
  .kg-hero{padding-block:var(--kg-s3) var(--kg-s7)}
  .kg-hero__door{order:-1;height:120px}
  .kg-hero__door .kg-door{height:100%;width:auto}
  .kg-hero__copy{gap:var(--kg-s4)}
  .kg-hero__copy > .kg-badge{min-height:32px;padding-inline:.75rem;font-size:var(--kg-fs-label)}
}
ul.kg-hero__micro,ul.kg-checklist{margin:0;padding:0;list-style:none}

/* 6.10 The door (brand object, inline SVG, fixed colours on any surface). JS: kg-system.js */
.kg-door{position:relative;display:block;width:100%;max-width:560px;margin-inline:auto;aspect-ratio:560 / 720}
.kg-door svg{display:block;width:100%;height:100%;overflow:visible}
.kg-door__twinkle{transform-box:fill-box;transform-origin:center;animation:kg-twinkle 5s ease-in-out infinite}
.kg-door__dust circle{animation:kg-rise 8s linear infinite}

/* 6.10b Rendered art (3D by «فنان الـ3D», illustration by «رسام Kidglish») + live HTML name plates.
   Rule: 3D = the things the child gets (his door, program medallions); flat illustration = people and moments.
   The plate graphic lives in the art; the child's name is real text placed on its measured box. JS: fitPlates() */
.kg-door--3d{aspect-ratio:4 / 5;max-width:600px;container-type:inline-size}
.kg-door--3d img{display:block;width:100%;height:100%}
.kg-plate{position:absolute;display:grid;place-items:center;padding-inline:4.6%;pointer-events:none}
.kg-plate__name{display:block;max-width:100%;overflow:hidden;font-family:var(--kg-font-display);font-weight:800;line-height:1;color:var(--kg-deep);white-space:nowrap;text-align:center;transform:translateY(.06em)}
.kg-door--3d .kg-plate{left:35.55%;top:16.71%;width:26.5%;height:5.28%}
.kg-door--3d .kg-plate__name{font-size:3.9cqw}
@media (max-width:899.98px){
  .kg-hero__door--3d{height:clamp(170px, 46vw, 230px)}
  .kg-door--3d .kg-plate{display:none}
}
@media (max-width:899.98px) and (max-height:700px){.kg-hero__door--3d{height:120px}}
.kg-art{margin:0}
.kg-art img{display:block;width:100%;height:auto}
.kg-section-head--art{align-items:center}
.kg-section-head--art .kg-art{max-width:34rem;justify-self:center;width:100%}
.kg-final__art{position:relative;width:min(440px, 86vw);margin-inline:auto;margin-block-end:calc(-1 * var(--kg-s5));container-type:inline-size}
.kg-final__art img{display:block;width:100%;height:auto}
.kg-final__art .kg-plate{left:36.52%;top:10.8%;width:26.96%;height:8.04%}
.kg-final__art .kg-plate__name{font-size:4.3cqw}
.kg-medal{object-fit:contain}

/* 6.11 «خريطة ابنك»: route of 5 stations. Vertical on phones, a lit path on wide screens */
.kg-route{container-type:inline-size}
.kg-route__list{display:grid;margin:0;padding:0;list-style:none}
.kg-station{position:relative;display:grid;grid-template-columns:64px 1fr;gap:var(--kg-s4);padding-block-end:var(--kg-s6)}
.kg-station:last-child{padding-block-end:0}
.kg-station:not(:last-child)::before{content:"";position:absolute;inset-inline-start:31px;top:92px;bottom:10px;border-inline-start:2px dashed var(--kg-line-2)}
.kg-station__door{display:grid;place-items:center;width:64px;height:80px;border-radius:32px 32px var(--kg-r1) var(--kg-r1);background:linear-gradient(180deg, var(--kg-navy-3), var(--kg-navy));color:var(--kg-peach);border:1px solid rgb(var(--kg-rgb-white) / .1)}
.kg-station__door svg{width:30px;height:30px;margin-block-start:6px}
.kg-station.is-lit .kg-station__door{background:radial-gradient(120% 90% at 50% 100%, var(--kg-light-core) 0%, var(--kg-peach) 38%, var(--kg-orange) 78%);color:var(--kg-deep);box-shadow:var(--kg-glow)}
.kg-station__body{display:flex;flex-direction:column;gap:var(--kg-s1);min-width:0}
.kg-station__num{font-family:var(--kg-font-body);font-size:.75rem;font-weight:800;color:var(--kg-text-3);font-variant-numeric:tabular-nums}
.kg-station__name{font-family:var(--kg-font-display);font-size:1.625rem;font-weight:800;line-height:1.3;color:var(--kg-text)}
.kg-station__text{color:var(--kg-text-2);font-size:var(--kg-fs-small);line-height:1.75}
.kg-station__get{display:flex;flex-direction:column;gap:2px;margin-block-start:var(--kg-s3);padding:var(--kg-s3) var(--kg-s4);border-radius:var(--kg-r2);border:1px solid var(--kg-line);background:var(--kg-surface);box-shadow:var(--kg-card-shadow);font-size:var(--kg-fs-small);font-weight:700;line-height:1.6;color:var(--kg-text)}
.kg-station__get-label{display:flex;align-items:center;gap:6px;font-size:.75rem;font-weight:800;color:var(--kg-text-3)}
.kg-station__get-label::before{content:"";width:6px;height:6px;border-radius:50%;background:var(--kg-light)}
@container (min-width:60rem){
  .kg-route__list{grid-template-columns:repeat(5, minmax(0, 1fr));gap:var(--kg-s5)}
  .kg-station{grid-template-columns:1fr;gap:var(--kg-s4);padding-block-end:0}
  .kg-station:not(:last-child)::before{inset-inline-start:84px;inset-inline-end:calc(-1 * var(--kg-s5) + 4px);top:40px;bottom:auto;border-inline-start:0;border-block-start:2px dashed var(--kg-line-2)}
  .kg-station__get{margin-block-start:var(--kg-s4);min-height:6.5rem}
}

/* 6.12 Passport card (brand object: always paper, even on night) */
.kg-passport{
  position:relative;container-type:inline-size;width:100%;max-width:29rem;padding:var(--kg-s5);
  border-radius:var(--kg-r3);border:1px solid var(--kg-line);box-shadow:var(--kg-shadow-sheet);
  background:
    repeating-radial-gradient(circle at 112% 118%, transparent 0 11px, rgb(var(--kg-rgb-peach) / .3) 11px 12px) ,
    var(--kg-surface);
  background-blend-mode:normal;
}
.kg-passport__head{display:flex;align-items:center;gap:var(--kg-s3);padding-block-end:var(--kg-s4);border-block-end:1.5px dashed var(--kg-line-2)}
.kg-passport__head img{width:32px;height:32px;border-radius:9px}
.kg-passport__title{font-family:var(--kg-font-display);font-size:1.0625rem;font-weight:800;line-height:1.3}
.kg-passport__head .kg-latin{margin-inline-start:auto;color:var(--kg-text-3)}
.kg-passport__id{display:grid;grid-template-columns:96px 1fr;gap:var(--kg-s4);margin-block:var(--kg-s4)}
.kg-passport__photo{position:relative;display:grid;place-items:end center;height:120px;border-radius:var(--kg-r1);border:1.5px solid var(--kg-line-2);background:linear-gradient(180deg, var(--kg-peach-soft), var(--kg-peach));overflow:hidden}
.kg-passport__photo span{position:absolute;top:8px;inset-inline:0;text-align:center;font-size:.6875rem;font-weight:700;color:var(--kg-text-3)}
.kg-passport__photo svg{width:76px;height:auto;color:rgb(var(--kg-rgb-navy) / .22)}
.kg-passport__fields{display:flex;flex-direction:column;gap:var(--kg-s3);min-width:0}
.kg-passport__fields dt{display:flex;align-items:center;gap:var(--kg-s2);font-size:.75rem;font-weight:700;color:var(--kg-text-3)}
.kg-passport__fields dt .kg-latin{font-size:.5625rem}
.kg-passport__fields dd{font-family:var(--kg-font-display);font-size:1.5rem;font-weight:800;line-height:1.35;color:var(--kg-text);overflow-wrap:anywhere}
.kg-passport__worlds{display:grid;grid-template-columns:1fr 1fr;gap:var(--kg-s3)}
.kg-passport__slot{display:flex;align-items:center;justify-content:space-between;gap:var(--kg-s2);min-height:64px;padding:var(--kg-s2) var(--kg-s4);border-radius:var(--kg-r2);border:1.5px dashed var(--kg-line-2);background:rgb(var(--kg-rgb-peach) / .14);font-size:.8125rem;font-weight:700;line-height:1.35;color:var(--kg-text-2)}
.kg-passport__slot b{font-family:var(--kg-font-display);font-size:1.875rem;font-weight:800;line-height:1}
.kg-passport__foot{display:flex;align-items:center;justify-content:space-between;gap:var(--kg-s3);margin-block-start:var(--kg-s4)}
.kg-passport__stamp{width:92px;height:92px;flex:none;transform:rotate(-12deg);margin-block:-10px -18px}
.kg-passport__mrz{margin-block-start:var(--kg-s4);font-family:var(--kg-font-mono);font-size:.625rem;line-height:1.6;letter-spacing:.08em;color:var(--kg-text-3);direction:ltr;text-align:left;white-space:nowrap;overflow:hidden}
@container (max-width:22rem){
  .kg-passport__id{grid-template-columns:76px 1fr}
  .kg-passport__photo{height:96px}
  .kg-passport__fields dd{font-size:1.25rem}
}

/* 6.13 Emblem tile: the methodologies family ©. Night objects; on paper wrap in .kg-night */
.kg-emblems{container-type:inline-size;display:grid;gap:var(--kg-s4);grid-template-columns:repeat(auto-fit, minmax(min(100%, 15.5rem), 1fr))}
.kg-emblem{position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:var(--kg-s2);padding:var(--kg-s5);border-radius:var(--kg-r3);border:1px solid var(--kg-line);background:radial-gradient(120% 70% at 50% 0%, rgb(var(--kg-rgb-navy) / .95), transparent 72%), var(--kg-surface);color:var(--kg-text);text-decoration:none;transition:border-color var(--kg-t) var(--kg-ease),transform var(--kg-t) var(--kg-ease)}
.kg-emblem:hover{border-color:var(--kg-line-2);transform:translateY(-3px)}
.kg-emblem__art{position:relative;isolation:isolate;width:120px;height:120px;margin-block-end:var(--kg-s3);border-radius:var(--kg-r3)}
.kg-emblem__art::before{content:"";position:absolute;inset:-30%;z-index:-1;background:radial-gradient(closest-side, rgb(var(--kg-rgb-orange) / .26), transparent);transition:opacity var(--kg-t) var(--kg-ease);opacity:.85}
.kg-emblem:hover .kg-emblem__art::before{opacity:1}
.kg-emblem__art img{width:100%;height:100%;object-fit:cover;border-radius:inherit}
.kg-emblem__title{font-family:var(--kg-font-display);font-size:1.375rem;font-weight:800;line-height:1.35}
.kg-emblem__sub{font-size:var(--kg-fs-small);font-weight:700;color:var(--kg-accent)}
.kg-emblem__text{font-size:var(--kg-fs-small);line-height:1.75;color:var(--kg-text-2)}
.kg-emblem .kg-link{margin-block-start:auto;font-size:.9375rem}
@container (max-width:36rem){
  .kg-emblem{display:grid;grid-template-columns:84px minmax(0, 1fr);column-gap:var(--kg-s4);row-gap:var(--kg-s1);padding:var(--kg-s4)}
  .kg-emblem > *{grid-column:2}
  .kg-emblem__art{grid-column:1;grid-row:1 / span 4;width:84px;height:84px;margin:0;border-radius:var(--kg-r2)}
  .kg-emblem__title{font-size:1.1875rem}
  .kg-emblem .kg-link{min-height:40px}
}

/* 6.14 Pricing: 4 rows, read row by row (number of levels first).
   Real prices only: no discount column, no struck "was" price, no «الأوفر» badge (founder decision, Nov 2026).
   Each row carries one short encouraging note (.kg-price__note) under the package name. */
.kg-pricing{container-type:inline-size}
.kg-price-table{width:100%;border-collapse:separate;border-spacing:0;border:1px solid var(--kg-line);border-radius:var(--kg-r3);background:var(--kg-surface);box-shadow:var(--kg-card-shadow);overflow:hidden}
.kg-price-table th,.kg-price-table td{padding:var(--kg-s4) var(--kg-s5);border-block-end:1px solid var(--kg-line);text-align:start;vertical-align:middle;font-weight:500}
.kg-price-table thead th{padding-block:var(--kg-s3);background:var(--kg-bg-2);font-size:var(--kg-fs-label);font-weight:700;color:var(--kg-text-3)}
.kg-price-table tbody tr:last-child > *{border-block-end:0}
.kg-price-table tbody th{font-family:var(--kg-font-display);font-size:1.25rem;font-weight:800;color:var(--kg-text);white-space:nowrap}
.kg-price-table tbody th .kg-badge{margin-inline-start:var(--kg-s2);vertical-align:middle}
.kg-price__amount{font-family:var(--kg-font-display);font-size:clamp(1.5rem, 1.2rem + .8vw, 2rem);font-weight:800;line-height:1.1;color:var(--kg-text);font-variant-numeric:tabular-nums}
.kg-price__cur{margin-inline-start:.3em;font-size:.875rem;font-weight:700;color:var(--kg-text-2)}
.kg-price-table tbody th .kg-price__note{display:block;margin-block-start:.25rem;font-family:var(--kg-font-body);font-size:var(--kg-fs-small);font-weight:600;line-height:1.6;color:var(--kg-text-2);white-space:normal}
.kg-price-table tr.is-best > *{background:rgb(var(--kg-rgb-peach) / .2)}
.kg-price-table tr.is-best > th{border-inline-start:4px solid var(--kg-light)}
@container (max-width:40rem){
  .kg-price-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
  .kg-price-table,.kg-price-table tbody{display:block}
  .kg-price-table tr{display:grid;grid-template-columns:repeat(2, minmax(0, 1fr));gap:var(--kg-s2) var(--kg-s3);padding:var(--kg-s4) var(--kg-s5);border-block-end:1px solid var(--kg-line)}
  .kg-price-table tbody tr:last-child{border-block-end:0}
  .kg-price-table th,.kg-price-table td{padding:0;border:0;background:none!important}
  .kg-price-table tr.is-best{background:rgb(var(--kg-rgb-peach) / .2);border-inline-start:4px solid var(--kg-light)}
  .kg-price-table tr.is-best > th{border:0}
  .kg-price-table tbody th{grid-column:1 / -1;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;column-gap:var(--kg-s2)}
  .kg-price-table tbody th .kg-price__note{flex-basis:100%;margin-block-start:0}
  .kg-price-table tbody th .kg-switch{flex-basis:100%;max-width:none}
  .kg-price-table td.kg-price__trust{grid-column:1 / -1}
  .kg-price-table td::before{content:attr(data-label);display:block;margin-block-end:2px;font-size:.75rem;font-weight:700;color:var(--kg-text-3)}
  .kg-price__amount{font-size:1.5rem}
}

/* 6.14b Switch: two ways to start ONE row («مستوى كامل» / «باقة الثقة»). The row carries
   [data-kg-switch][data-plan]; cells carry [data-for]. Two plans, never a price cut: no strike, no arrow from one price to the other. */
.kg-switch{position:relative;display:grid;grid-template-columns:1fr 1fr;max-width:18rem;margin-block-start:var(--kg-s3);padding:4px;border-radius:var(--kg-pill);background:var(--kg-bg-2);box-shadow:inset 0 0 0 1px var(--kg-line);isolation:isolate;white-space:nowrap}
.kg-switch button{position:relative;z-index:1;min-height:40px;padding:0 var(--kg-s3);border:0;border-radius:var(--kg-pill);background:none;font:700 var(--kg-fs-small)/1.2 var(--kg-font-body);color:var(--kg-text-2);cursor:pointer;transition:color var(--kg-t-fast) var(--kg-ease)}
.kg-switch button[aria-checked="true"]{color:var(--kg-text)}
.kg-switch__thumb{position:absolute;z-index:0;inset-block:4px;inset-inline-start:4px;width:calc(50% - 4px);border-radius:var(--kg-pill);background:var(--kg-surface);box-shadow:0 2px 10px rgb(var(--kg-rgb-navy) / .16);transition:transform var(--kg-t) var(--kg-ease-door),background-color var(--kg-t-fast) var(--kg-ease)}
[data-kg-switch][data-plan="trust"] .kg-switch__thumb{transform:translateX(calc(-100% * var(--kg-dir)));background:var(--kg-deep)}
[data-kg-switch][data-plan="trust"] .kg-switch button[data-plan="trust"]{color:var(--kg-peach)}
.kg-switch[data-peek] .kg-switch__thumb{animation:kg-switch-peek 1.3s var(--kg-ease) 1}
@keyframes kg-switch-peek{0%,100%{transform:none}35%,60%{transform:translateX(calc(-24% * var(--kg-dir)))}}
.kg-price-table tbody th .kg-switch{display:grid;font-family:var(--kg-font-body)}
.kg-price-table td.kg-price__trust p{margin:0}
.kg-price__start{display:flex;flex-wrap:wrap;align-items:baseline;column-gap:var(--kg-s2)}
.kg-price__lead{font-weight:600;color:var(--kg-text-2)}
.kg-price__terms{margin-block-start:var(--kg-s1)!important;font-size:var(--kg-fs-small);line-height:1.7;color:var(--kg-text-3)}
.kg-price__terms .kg-link{white-space:nowrap}
@media (prefers-reduced-motion:reduce){.kg-switch[data-peek] .kg-switch__thumb{animation:none}}

/* 6.14c Currency: prices show in the visitor's currency. kg-system.js picks it (see "Prices in the visitor's
   currency" there); the parent can change it. One quiet pill above the table: no flags, no rates, no
   "was" price. The native <select> lies invisible over the pill, so a phone opens its own picker. */
.kg-currency{display:flex;flex-wrap:wrap;align-items:center;gap:var(--kg-s2) var(--kg-s3);margin-block-end:var(--kg-s4)}
.kg-currency__pick{position:relative;display:inline-flex;align-items:center;gap:var(--kg-s2);min-height:44px;padding-inline:var(--kg-s4) var(--kg-s3);border-radius:var(--kg-pill);border:1px solid var(--kg-line-2);background:var(--kg-surface);box-shadow:var(--kg-card-shadow);font-size:var(--kg-fs-small);font-weight:600;line-height:1.3;color:var(--kg-text-2);cursor:pointer;transition:border-color var(--kg-t-fast) var(--kg-ease)}
.kg-currency__pick b{font-weight:800;color:var(--kg-text)}
.kg-currency__pick > svg{width:18px;height:18px;flex:none;color:var(--kg-text-3)}
.kg-currency__pick > .kg-currency__chev{width:14px;height:14px;color:var(--kg-text-2)}
.kg-currency__pick:hover{border-color:var(--kg-text-3)}
.kg-currency__pick:has(select:focus-visible){outline:3px solid var(--kg-focus);outline-offset:3px}
.kg-currency select{position:absolute;inset:0;width:100%;height:100%;margin:0;padding:0;border:0;opacity:0;cursor:pointer;font-size:16px;-webkit-appearance:none;appearance:none}
.kg-currency__hint{font-size:var(--kg-fs-small);line-height:1.6;color:var(--kg-text-3)}
.kg-currency__hint:not(:has(> :not([hidden]))){display:none}
html:not(.kg-js) .kg-currency select,html:not(.kg-js) .kg-currency__chev{display:none}

/* 6.15 Included list + trust line */
.kg-checklist{display:grid;gap:var(--kg-s3)}
.kg-checklist li{display:flex;align-items:flex-start;gap:var(--kg-s3);color:var(--kg-text-2)}
.kg-checklist li::before{content:"";flex:none;width:22px;height:22px;margin-block-start:.22em;border-radius:50%;background:var(--kg-check) center / 14px no-repeat, var(--kg-accent-bg)}
.kg-trustline{display:flex;align-items:center;gap:var(--kg-s4);padding:var(--kg-s4) var(--kg-s5);border-radius:var(--kg-r3);border:1.5px dashed var(--kg-line-2)}
.kg-trustline img{width:68px;height:68px;flex:none}
.kg-trustline p{color:var(--kg-text-2)}
@media (max-width:599.98px){.kg-trustline{flex-direction:column;align-items:flex-start}}

/* 6.15b Steps: short numbered sequence (ق3 «نتعرف ← يطلع جوازه ← نجلس معك», journey «نتعرف / نبدأ / نشوف ونراجع») */
.kg-steps{display:grid;gap:var(--kg-s3);margin:0;padding:0;list-style:none;counter-reset:kg-step}
.kg-steps li{position:relative;min-height:32px;padding-inline-start:44px;color:var(--kg-text-2);counter-increment:kg-step}
.kg-steps li::before{content:counter(kg-step);position:absolute;inset-inline-start:0;top:0;display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:var(--kg-accent-bg);color:var(--kg-accent);font-family:var(--kg-font-display);font-size:1rem;font-weight:800;line-height:1}

/* 6.16 FAQ accordion: native <details>, closed by default, one open at a time (name="") */
.kg-faq{padding-inline:clamp(1.125rem, .8rem + 1.2vw, 2rem);border-radius:var(--kg-r3);border:1px solid var(--kg-line);background:var(--kg-surface);box-shadow:var(--kg-card-shadow)}
.kg-faq__item + .kg-faq__item{border-block-start:1px solid var(--kg-line)}
.kg-faq__q{display:flex;align-items:center;justify-content:space-between;gap:var(--kg-s4);min-height:68px;padding-block:var(--kg-s3);list-style:none;cursor:pointer;font-family:var(--kg-font-display);font-size:clamp(1.0625rem, 1rem + .35vw, 1.25rem);font-weight:700;line-height:1.5;color:var(--kg-text);border-radius:var(--kg-r1)}
.kg-faq__q::-webkit-details-marker{display:none}
.kg-faq__q:focus-visible{outline-offset:-2px}
.kg-faq__icon{position:relative;flex:none;width:32px;height:32px;border-radius:50%;background:var(--kg-accent-bg)}
.kg-faq__icon::before,.kg-faq__icon::after{content:"";position:absolute;top:50%;left:50%;width:12px;height:2px;margin:-1px 0 0 -6px;border-radius:2px;background:var(--kg-accent);transition:transform var(--kg-t) var(--kg-ease)}
.kg-faq__icon::after{transform:rotate(90deg)}
.kg-faq__item[open] .kg-faq__icon::after{transform:rotate(0deg)}
.kg-faq__a{max-width:var(--kg-measure);padding-block-end:var(--kg-s5);color:var(--kg-text-2)}

/* 6.17 Report card: «وين كان ← وين صار ← وش الجاي». Always labelled «مثال توضيحي» until real */
.kg-report{container-type:inline-size;padding:clamp(1.125rem, .8rem + 1.2vw, 1.75rem);border-radius:var(--kg-r3);border:1px solid var(--kg-line);background:var(--kg-surface);box-shadow:var(--kg-card-shadow)}
.kg-report__head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:var(--kg-s3);margin-block-end:var(--kg-s4)}
.kg-report__title{display:flex;align-items:center;gap:var(--kg-s3);font-family:var(--kg-font-display);font-size:1.25rem;font-weight:800}
.kg-report__title svg{width:28px;height:28px;color:var(--kg-accent)}
.kg-report__steps{display:grid;gap:var(--kg-s6);margin:0;padding:0;list-style:none}
.kg-report__step{position:relative;display:flex;flex-direction:column;gap:var(--kg-s1);padding:var(--kg-s4);border-radius:var(--kg-r2);background:var(--kg-bg-2)}
.kg-report__step:not(:last-child)::after{content:"";position:absolute;left:50%;bottom:calc(-1 * var(--kg-s6) + 4px);width:24px;height:24px;margin-inline-start:-12px;background:var(--kg-text-3);-webkit-mask:var(--kg-arrow-mask) center / 20px no-repeat;mask:var(--kg-arrow-mask) center / 20px no-repeat;transform:rotate(-90deg)}
.kg-report{--kg-arrow-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 6 4 12l6 6M4 12h16'/%3E%3C/svg%3E")}
.kg-report__k{font-family:var(--kg-font-display);font-size:1.125rem;font-weight:800;line-height:1.4;color:var(--kg-text)}
.kg-report__step p{font-size:var(--kg-fs-small);line-height:1.7;color:var(--kg-text-2)}
.kg-report__step.is-next{background:transparent;border:1.5px dashed var(--kg-line-2)}
.kg-report__step.is-next .kg-report__k{display:flex;align-items:center;gap:var(--kg-s2)}
.kg-report__step.is-next .kg-report__k::before{content:"";width:7px;height:7px;border-radius:50%;background:var(--kg-light)}
@container (min-width:34rem){
  .kg-report__steps{grid-template-columns:repeat(3, minmax(0, 1fr));gap:var(--kg-s6)}
  .kg-report__step:not(:last-child)::after{left:auto;bottom:auto;top:50%;inset-inline-end:calc(-1 * var(--kg-s6) + 4px);margin:-12px 0 0;transform:scaleX(var(--kg-dir))}
}

/* 6.18 Final CTA: the same door, wide open; its light fills the section */
.kg-final{position:relative;isolation:isolate;overflow:clip;padding-block:var(--kg-s7) var(--kg-section-y);text-align:center;background:radial-gradient(70% 58% at 50% 106%, rgb(var(--kg-rgb-orange) / .4), rgb(var(--kg-rgb-orange) / .1) 46%, transparent 72%), linear-gradient(180deg, var(--kg-deep), var(--kg-night-2))}
.kg-final__door{width:min(300px, 64vw);margin-inline:auto}
.kg-final__copy{display:flex;flex-direction:column;align-items:center;gap:var(--kg-s5);max-width:46rem;margin-inline:auto}
.kg-final__copy .kg-lead{margin-inline:auto}

/* 6.19 Footer */
.kg-footer{padding-block:var(--kg-s8) calc(var(--kg-s6) + env(safe-area-inset-bottom));border-block-start:1px solid var(--kg-line)}
.kg-footer__grid{display:grid;gap:var(--kg-s7)}
.kg-footer__brand{display:flex;flex-direction:column;align-items:flex-start;gap:var(--kg-s4)}
.kg-footer__brand img{height:52px;width:auto}
.kg-footer__brand p{font-family:var(--kg-font-display);font-size:1.25rem;font-weight:700;color:var(--kg-text)}
.kg-footer__nav{display:grid;grid-template-columns:repeat(auto-fill, minmax(10.5rem, 1fr));gap:0 var(--kg-s5);align-content:start}
.kg-footer__nav a{display:flex;align-items:center;min-height:44px;color:var(--kg-text-2);font-weight:600;text-decoration:none}
.kg-footer__nav a:hover{color:var(--kg-text)}
.kg-footer__legal{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:var(--kg-s3) var(--kg-s5);margin-block-start:var(--kg-s7);padding-block-start:var(--kg-s5);border-block-start:1px solid var(--kg-line);font-size:var(--kg-fs-small);line-height:1.7;color:var(--kg-text-3)}
.kg-footer__legal p{max-width:52em}
@media (min-width:900px){.kg-footer__grid{grid-template-columns:1fr 1.6fr}}

/* 6.20 Sticky booking bar (phones): one action, ≤76px + safe area. Shown by kg-system.js */
.kg-stickybar{position:fixed;inset-inline:0;bottom:0;z-index:var(--kg-z-sticky);display:none;padding:10px var(--kg-gutter) calc(10px + env(safe-area-inset-bottom));border-block-start:1px solid var(--kg-line);background:rgb(var(--kg-rgb-deep) / .9);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);box-shadow:var(--kg-shadow-float);transform:translateY(110%);visibility:hidden;transition:transform var(--kg-t) var(--kg-ease),visibility 0s linear var(--kg-t)}
.kg-stickybar[data-visible]{transform:none;visibility:visible;transition-delay:0s}
@media (max-width:899.98px){.kg-stickybar{display:block}}

/* 6.21 Kido launcher: a guide, not a CTA (navy, never orange). Inline-end corner, above the bar */
.kg-kido{position:fixed;z-index:var(--kg-z-kido);inset-inline-end:16px;bottom:calc(16px + env(safe-area-inset-bottom));display:grid;place-items:center;width:56px;height:56px;padding:0;border-radius:50%;border:1px solid var(--kg-line-2);background:radial-gradient(circle at 50% 30%, var(--kg-navy-3), var(--kg-navy));color:var(--kg-peach);box-shadow:var(--kg-shadow-float);cursor:pointer;transition:opacity var(--kg-t) var(--kg-ease),transform var(--kg-t) var(--kg-ease),bottom var(--kg-t) var(--kg-ease)}
.kg-kido svg{width:28px;height:28px}
.kg-kido__dot{position:absolute;top:4px;inset-inline-end:4px;width:10px;height:10px;border-radius:50%;background:var(--kg-light);outline:2px solid var(--kg-deep)}
.kg-kido[data-hidden]{opacity:0;transform:scale(.85);pointer-events:none}
html[data-kg-sticky] .kg-kido{bottom:calc(var(--kg-sticky-h) + 12px + env(safe-area-inset-bottom))}
@media (min-width:900px){.kg-kido{inset-inline-end:24px;bottom:24px}}

/* 7 · MOTION & ACCESSIBILITY ============================================== */
@keyframes kg-fade-in{from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:none}}
@keyframes kg-twinkle{0%,100%{opacity:.35;transform:scale(.7)}50%{opacity:1;transform:scale(1)}}
@keyframes kg-rise{0%{transform:translateY(10px);opacity:0}25%{opacity:.9}100%{transform:translateY(-70px);opacity:0}}
.kg-js .kg-reveal{opacity:0;transform:translateY(16px);transition:opacity var(--kg-t-slow) var(--kg-ease),transform var(--kg-t-slow) var(--kg-ease)}
.kg-js .kg-reveal[data-in]{opacity:1;transform:none}
@media (prefers-reduced-motion:no-preference){html{scroll-behavior:smooth}}
@media (prefers-reduced-motion:reduce){
  :root{--kg-t-fast:0ms;--kg-t:0ms;--kg-t-slow:0ms;--kg-t-door:0ms}
  *,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}
  .kg-door__twinkle,.kg-door__dust circle{animation:none!important}
  .kg-js .kg-reveal{opacity:1;transform:none}
}
@media (forced-colors:active){.kg-btn,.kg-badge,.kg-card,.kg-faq,.kg-price-table{border:1px solid CanvasText}}

/* «باقة الثقة» seats: honest scarcity (real numbers only, see KG.setSeats) */
.kg-seats{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;margin:0;font-size:var(--kg-fs-small);font-weight:700;line-height:1.7;color:var(--kg-text)}
.kg-seats__chip{display:inline-flex;align-items:center;gap:8px;padding:3px 13px 3px 11px;border-radius:var(--kg-pill);background:var(--kg-navy);color:#fff;font-size:var(--kg-fs-label);font-weight:800;line-height:1.7;white-space:nowrap}
.kg-seats__dot{flex:none;width:8px;height:8px;border-radius:50%;background:var(--kg-orange);animation:kg-seat-pulse 2.2s ease-out infinite}
@keyframes kg-seat-pulse{0%{box-shadow:0 0 0 0 rgb(var(--kg-rgb-orange) / .6)}70%{box-shadow:0 0 0 7px rgb(var(--kg-rgb-orange) / 0)}100%{box-shadow:0 0 0 0 rgb(var(--kg-rgb-orange) / 0)}}
@media (prefers-reduced-motion:reduce){.kg-seats__dot{animation:none}}
.kg-seats__text{color:var(--kg-text-2)}
.kg-seats__dots{display:flex;flex-wrap:wrap;gap:5px;flex-basis:100%}
.kg-seats__dots i{width:13px;height:13px;border-radius:4px;border:2px solid var(--kg-orange);background:rgb(var(--kg-rgb-orange) / .18)}
.kg-seats__dots i.is-taken{border-color:transparent;background:rgb(var(--kg-rgb-navy) / .22)}
.kg-sky .kg-seats__chip,.kg-night .kg-seats__chip{background:rgb(255 255 255 / .14)}
.kg-sky .kg-seats__dots i.is-taken,.kg-night .kg-seats__dots i.is-taken{background:rgb(255 255 255 / .25)}

/* headline-font preview (?font=lalezar): the founder compares Lalezar with Baloo on the real pages */
.kg-font-lalezar{--kg-font-display:'Lalezar','Baloo Bhaijaan 2','Cairo',system-ui,sans-serif;font-synthesis:none}
.kg-font-lalezar .kg-display,.kg-font-lalezar .kg-h1,.kg-font-lalezar .kg-h2,.kg-font-lalezar .kg-h3{font-weight:400;letter-spacing:0}
.kg-fontprev{position:fixed;z-index:9999;inset-inline-start:12px;bottom:12px;display:flex;gap:10px;align-items:center;padding:8px 14px;border-radius:999px;background:#0B1040;color:#fff;font:700 13px/1.4 'Cairo',sans-serif;box-shadow:0 10px 30px -10px #000a}
.kg-fontprev a{color:#FFC48F;font-weight:800}
