
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;600;700;800&family=DM+Sans:wght@400;500;700;800&display=swap');

:root{
  --bg:#070b12;
  --surface:#111827;
  --surface-2:#0b1220;
  --card:#0d1524;
  --line:#253247;
  --text:#f5f7fb;
  --muted:#9aa8bd;
  --gold:#d6b26a;
  --gold-2:#f0d491;
  --accent:#243147;
  --danger:#e57373;
  --shadow:0 24px 80px rgba(0,0,0,.35);
  --radius:22px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;background:radial-gradient(circle at top left, rgba(214,178,106,.12), transparent 28%),var(--bg);
  color:var(--text);font-family:'DM Sans','Cairo',system-ui,sans-serif;line-height:1.5
}
html[lang="ar"] body{font-family:'Cairo','DM Sans',system-ui,sans-serif}
a{color:inherit;text-decoration:none}
.header{
  position:sticky;top:0;z-index:20;background:rgba(7,11,18,.86);backdrop-filter:blur(12px);
  display:flex;justify-content:space-between;align-items:center;padding:18px 28px;border-bottom:1px solid rgba(255,255,255,.05)
}
.brand{font-weight:800;letter-spacing:.08em}.brand span{color:var(--gold)}
.header nav{display:flex;gap:18px;align-items:center}
.header nav a,.header nav button{
  color:var(--muted);background:none;border:none;font:inherit;cursor:pointer
}
.header nav a:hover,.header nav button:hover{color:var(--text)}
main{max-width:1240px;margin:0 auto;padding:28px 20px 60px}
.hero{
  display:grid;grid-template-columns:1.5fr .9fr;gap:24px;align-items:center;
  background:linear-gradient(140deg, rgba(255,255,255,.03), rgba(214,178,106,.05));
  border:1px solid rgba(255,255,255,.06);border-radius:28px;padding:34px;box-shadow:var(--shadow)
}
.eyebrow{color:var(--gold);font-weight:800;letter-spacing:.08em;text-transform:uppercase;font-size:.88rem}
.hero h1{margin:10px 0 14px;font-size:clamp(2rem,4vw,3.6rem);line-height:1.05}
.hero p{margin:0;color:var(--muted);max-width:700px}
.hero-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.hero-cards div{
  background:linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
  border:1px solid rgba(255,255,255,.06);border-radius:22px;padding:18px;min-height:100px;
  display:flex;flex-direction:column;justify-content:space-between
}
.hero-cards b{font-size:1.2rem}.hero-cards small{color:var(--muted)}
.section{margin-top:28px}
.section h2{margin:0 0 16px;font-size:1.8rem}
.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.steps article{
  background:var(--surface);border:1px solid rgba(255,255,255,.06);border-radius:22px;padding:22px
}
.steps span{display:inline-flex;width:34px;height:34px;border-radius:50%;align-items:center;justify-content:center;background:rgba(214,178,106,.18);color:var(--gold);font-weight:800}
.steps p{color:var(--muted);margin:10px 0 0}

.sectionhead{display:flex;justify-content:space-between;align-items:end;margin-bottom:16px}
.pill{padding:10px 14px;border-radius:999px;background:rgba(214,178,106,.12);color:var(--gold);border:1px solid rgba(214,178,106,.22)}

.form{
  background:linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.015));
  border:1px solid rgba(255,255,255,.06);border-radius:28px;padding:24px;box-shadow:var(--shadow)
}
.form-layout{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:24px;align-items:start}
.form-main{display:flex;flex-direction:column;gap:18px}
.fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
label{display:block}
label>span,.surface-head h3{display:block;margin:0 0 8px;font-weight:800}
input,select,textarea{
  width:100%;background:#07111f;border:1px solid var(--line);color:var(--text);
  border-radius:16px;padding:16px 18px;font:inherit;outline:none;transition:border-color .2s, box-shadow .2s
}
input:focus,select:focus,textarea:focus{
  border-color:rgba(214,178,106,.8);box-shadow:0 0 0 3px rgba(214,178,106,.12)
}
textarea{resize:vertical;min-height:120px}
.surface{
  background:linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.015));
  border:1px solid rgba(255,255,255,.05);border-radius:24px;padding:20px
}
.surface-head{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:16px}
.mini-note{color:var(--muted);font-size:.92rem;max-width:520px}

.design-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}
.design-card{
  appearance:none;border:1px solid rgba(255,255,255,.07);background:#0a1322;border-radius:20px;padding:14px;text-align:start;
  color:var(--text);cursor:pointer;transition:transform .18s ease, border-color .18s ease, box-shadow .18s ease
}
.design-card:hover{transform:translateY(-2px);border-color:rgba(214,178,106,.45)}
.design-card.selected{border-color:var(--gold);box-shadow:0 0 0 2px rgba(214,178,106,.12), 0 10px 30px rgba(0,0,0,.25)}
.design-card strong{display:block;margin-top:12px}
.design-card small{display:block;color:var(--muted);margin-top:6px;min-height:38px}
.thumb{
  height:122px;border-radius:16px;position:relative;overflow:hidden;padding:14px;
  background:#f6f4ef;color:#17202f;border:1px solid rgba(0,0,0,.06)
}
.thumb-title{font-weight:800;font-size:.88rem}
.thumb-lines::before,.thumb-lines::after,.thumb-lines{content:"";display:block;height:7px;border-radius:999px;background:rgba(0,0,0,.16);margin-top:10px}
.thumb-lines::before{width:82%}.thumb-lines{width:64%}.thumb-lines::after{width:48%}
.thumb-academic{background:linear-gradient(180deg,#fbfaf7,#efe9df)}
.thumb-academic::after{content:"";position:absolute;inset:auto 14px 14px 14px;height:3px;background:#d6b26a}
.thumb-minimal{background:#ffffff}
.thumb-minimal::before{content:"";position:absolute;inset:10px;border:1px solid rgba(0,0,0,.07);border-radius:12px}
.thumb-modern{background:linear-gradient(135deg,#f9fbff,#e4efff)}
.thumb-modern::after{content:"";position:absolute;inset:0 auto 0 0;width:10px;background:#316ff6}
.thumb-creative{background:linear-gradient(135deg,#fff7e1,#fce0df)}
.thumb-creative::after{content:"";position:absolute;top:12px;right:12px;width:34px;height:34px;border-radius:50%;background:#d6b26a;opacity:.6}
.thumb-auto{background:linear-gradient(135deg,#f4f4f4,#ece7dd)}

.preview-board{display:grid;grid-template-columns:repeat(2,1fr);gap:16px;margin-top:18px}
.preview-card{
  background:#0a1322;border:1px solid rgba(255,255,255,.06);border-radius:22px;padding:14px
}
.preview-label{color:var(--muted);font-weight:700;margin-bottom:10px}
.preview-stage{height:250px;border-radius:18px;padding:12px}
.mock{
  height:100%;border-radius:16px;background:#f9f8f4;color:#101826;padding:18px;position:relative;overflow:hidden;border:1px solid rgba(0,0,0,.06)
}
.mock-auto{background:linear-gradient(180deg,#f8f6f1,#efe8db)}
.mock-academic{background:linear-gradient(180deg,#fcfbf8,#efe7db)}
.mock-minimal{background:#fff}
.mock-modern{background:linear-gradient(135deg,#eef5ff,#dae8ff)}
.mock-creative{background:linear-gradient(135deg,#fff6dc,#fde8e5)}
.mock-kicker{font-size:.85rem;color:rgba(0,0,0,.52)}
.mock-big{font-size:1.55rem;font-weight:800;margin-top:28px}
.mock-mid{font-size:1.15rem;font-weight:800;margin-top:10px}
.mock-meta{margin-top:14px;color:rgba(0,0,0,.58)}
.mock-line{height:8px;background:rgba(0,0,0,.12);border-radius:999px;margin-top:10px;width:100%}
.mock-line.short{width:72%}.mock-line.tiny{width:48%}
.mock-chart{position:absolute;bottom:20px;left:20px;width:110px;height:70px;border-radius:16px;background:linear-gradient(180deg,rgba(214,178,106,.28),rgba(49,111,246,.18))}
.mock-chart.small{position:relative;left:auto;bottom:auto;margin-top:20px;width:140px}
.mock-grid{margin-top:18px;height:120px;border-radius:12px;background:
  linear-gradient(to right, rgba(0,0,0,.08) 1px, transparent 1px) 0 0/25px 25px,
  linear-gradient(to bottom, rgba(0,0,0,.08) 1px, transparent 1px) 0 0/25px 25px;
  border:1px solid rgba(0,0,0,.06)
}

.extras-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;align-items:end}
.toggle-card{
  background:#0a1322;border:1px solid rgba(255,255,255,.06);border-radius:18px;padding:16px;
  display:flex;gap:10px;align-items:center;min-height:64px
}
.toggle-card input{width:auto;margin:0}
.tables-builder{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:14px;margin-top:16px}
.table-shape{background:#0a1322;border:1px solid rgba(255,255,255,.06);border-radius:18px;padding:14px}
.table-shape-title{font-weight:800;margin-bottom:10px}
.table-shape label{margin-bottom:10px}

.notice{
  background:rgba(214,178,106,.08);border:1px solid rgba(214,178,106,.18);color:#ead7ac;
  border-radius:18px;padding:14px 16px
}
.notice a{color:var(--gold-2);text-decoration:underline}
.cta.submit{
  width:100%;border:none;border-radius:18px;padding:16px 22px;font:inherit;font-weight:800;
  background:linear-gradient(180deg,var(--gold-2),var(--gold));color:#111;cursor:pointer
}
.cta.submit:disabled{opacity:.65;cursor:not-allowed}

.pricing-card{
  position:sticky;top:90px;background:linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.015));
  border:1px solid rgba(255,255,255,.06);border-radius:24px;padding:20px
}
.pricing-card h3{margin:8px 0 18px;font-size:1.5rem}
.summary-kpis{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:16px}
.summary-kpis div{background:#0a1322;border:1px solid rgba(255,255,255,.06);border-radius:16px;padding:12px}
.summary-kpis span{display:block;color:var(--muted);font-size:.85rem}
.summary-kpis strong{display:block;margin-top:6px}
.price-breakdown{display:flex;flex-direction:column;gap:10px;margin-bottom:16px}
.break-item,.break-meta{
  background:#0a1322;border:1px solid rgba(255,255,255,.05);border-radius:14px;padding:12px 14px;
  display:flex;justify-content:space-between;gap:16px;align-items:flex-start
}
.break-item.error{color:var(--danger)}
.break-meta{justify-content:flex-start;color:var(--muted);font-size:.92rem}
.total-line{
  margin-top:10px;padding-top:14px;border-top:1px dashed rgba(255,255,255,.12);
  display:flex;justify-content:space-between;align-items:baseline;gap:10px;font-weight:800;font-size:1.2rem
}
.total-line em{font-style:normal;color:var(--muted);font-size:.82rem}
.summary-note{color:var(--muted);font-size:.92rem;margin-top:12px}

footer{max-width:1240px;margin:0 auto;padding:0 20px 30px;color:var(--muted)}

@media (max-width:1080px){
  .form-layout{grid-template-columns:1fr}
  .pricing-card{position:static}
  .design-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .hero{grid-template-columns:1fr}
}
@media (max-width:760px){
  .header{padding:14px 16px}
  main{padding:18px 14px 40px}
  .hero{padding:22px}
  .steps,.fields,.preview-board,.extras-grid{grid-template-columns:1fr}
  .design-grid{grid-template-columns:1fr}
  .surface-head,.sectionhead{flex-direction:column;align-items:flex-start}
  .summary-kpis{grid-template-columns:1fr 1fr 1fr}
}


/* Research Studio polish v4: preserve the existing backend and page components. */
:root{--gold:#dfbd79;--gold-2:#f1d9a7;--muted:#aab4c2;--line:#303a4b}
html,body{overflow-x:clip}
html[lang="ar"] body{font-family:'Cairo','Tajawal','DM Sans',sans-serif}
main{max-width:1480px;padding:26px clamp(16px,3vw,48px) 64px}
#request{scroll-margin-top:94px}
.form{padding:clamp(16px,2vw,32px);border:1px solid #283141;background:linear-gradient(155deg,#171b23,#0e121a);border-radius:26px}
.form-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(310px,345px);align-items:start;gap:clamp(18px,2vw,28px)}
.form-main,.form-layout>.pricing-card{min-width:0}
.form-main{gap:26px}
.fields{gap:19px 22px}
.form label>span{line-height:1.45}
.form input,.form select,.form textarea{min-height:55px;max-width:100%;background:#0d1520;border:1px solid #354056;border-radius:13px;color:#f9f8f4}
.form input:focus-visible,.form select:focus-visible,.form textarea:focus-visible{outline:2px solid rgba(223,189,121,.6);outline-offset:2px}
.form input[type='checkbox']{min-height:0;inline-size:18px;block-size:18px;flex:none;accent-color:var(--gold)}
.form input[type='file']{padding:12px 14px;line-height:1.7;height:auto;white-space:normal;overflow-wrap:anywhere}
.surface{padding:clamp(16px,2vw,25px);background:#151a23;border-color:#303844}
.surface-head{align-items:start;flex-wrap:wrap;gap:6px 18px}
.surface-head h3{font-size:1.25rem;line-height:1.5;margin:0}
.surface-head .mini-note{font-size:.84rem;max-width:430px;line-height:1.7}
/* Wide, accessible, non-clipped design cards: 3+2 at desktop form column width. */
.design-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}
.design-card{min-width:0;min-height:0;background:#0d1624;border:1px solid #27354b;border-radius:17px;padding:12px 12px 14px;overflow:hidden;text-align:start;display:flex;flex-direction:column;align-items:stretch;gap:7px;box-shadow:none}
.design-card:hover{transform:translateY(-2px);border-color:#9f895c}
.design-card.selected,.design-card[aria-pressed="true"]{border:2px solid var(--gold);padding:11px 11px 13px;background:#141a24;box-shadow:0 0 0 3px rgba(223,189,121,.1)}
.design-card:focus-visible{outline:3px solid var(--gold);outline-offset:3px}
.design-card strong{margin:0;line-height:1.35;font:700 .93rem 'DM Sans',sans-serif;overflow-wrap:break-word;direction:ltr;text-align:center}
.design-card small{min-height:0;margin:0;color:#a6b2c4;font-size:.77rem;line-height:1.6;overflow-wrap:anywhere;text-align:center}
.thumb{height:124px;width:100%;max-width:none;position:relative;overflow:hidden;border-radius:11px;padding:14px;background:#fbfaf6}
.thumb::after,.thumb::before{pointer-events:none}
.thumb-art{height:100%;position:relative;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:7px;direction:ltr;padding:8px 12%;}
.thumb-art i{display:block;width:46%;height:5px;background:currentColor;opacity:.7;border-radius:9px}
.thumb-art b{display:block;width:88%;height:11px;background:currentColor;opacity:.75;border-radius:4px}
.thumb-art span{display:block;width:90%;height:4px;background:currentColor;opacity:.16;border-radius:8px}
.thumb-art span:last-child{width:60%}
.thumb-auto{background:linear-gradient(160deg,#e7e6e4,#f9f8f4);color:#343e4c}
.thumb-academic{background:linear-gradient(180deg,#fffdf8,#f0eadf);color:#374653}
.thumb-academic::after{inset:auto 16px 11px;height:3px;background:#c3a05f}
.thumb-minimal{background:#fff;color:#283343}
.thumb-minimal::before{inset:10px;border:1px solid #d7dade;border-radius:7px}
.thumb-modern{background:linear-gradient(145deg,#edf4ff,#e6efff);color:#234783}
.thumb-modern::after{left:0;right:auto;width:7px;inset:0 auto 0 0;background:#336bea;height:auto}
.thumb-creative{background:linear-gradient(125deg,#fff2df,#f9e5e2);color:#814b52}
.thumb-creative::after{position:absolute;top:13px;right:12px;width:38px;height:38px;background:#d6aa7c;opacity:.4;border-radius:50%}
/* The previews are intentionally compact, with clear poster/slide proportions. */
.preview-board{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:19px}
.preview-card{min-width:0;padding:14px;background:#101927;border-color:#2a3447;border-radius:17px}
.preview-label{font-size:.94rem;color:#e6cf9e;margin-bottom:11px}
.preview-stage{height:265px;padding:0;display:flex;align-items:center;justify-content:center;overflow:hidden}
.preview-stage .mock{width:100%;height:100%;max-width:100%;border-radius:12px;box-shadow:0 9px 25px rgba(0,0,0,.16);padding:clamp(13px,1.5vw,25px);display:flex;flex-direction:column;overflow:hidden}
.preview-stage .mock .mock-kicker{font:500 .75rem 'DM Sans','Cairo',sans-serif;opacity:.75}
.preview-stage .mock .mock-big{font-size:clamp(.94rem,1.5vw,1.5rem);line-height:1.5;overflow-wrap:anywhere;max-width:100%;margin:30px 0 0;text-align:center}
.preview-stage .mock .mock-meta{font-size:clamp(.67rem,.85vw,.86rem);line-height:1.6;overflow-wrap:anywhere;text-align:center;max-width:100%;margin:16px 0 0;opacity:.78}
.preview-stage .mock .mock-mid{font-size:clamp(.84rem,1.1vw,1.12rem);line-height:1.5;margin:18px 0 5px;overflow-wrap:anywhere}
.preview-stage .mock .mock-line{flex:none;max-width:100%;height:6px;margin:10px 0 0;opacity:.85}
.preview-stage .mock .mock-grid{height:106px}
.preview-stage .mock .mock-chart{max-height:42px}
.preview-stage .mock-academic{background:#fffdf8}
.preview-stage .mock-academic::after{content:'';position:absolute;bottom:12px;left:15%;width:70%;height:2px;background:#b69562}
.preview-stage .mock-minimal{background:#fff}
.preview-stage .mock-modern{background:linear-gradient(150deg,#f5f9ff,#dfeafd);border-left:7px solid #427af4}
.preview-stage .mock-creative{background:linear-gradient(130deg,#fff6e8,#fae4df)}
.extras-grid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:15px}
.extras-grid label{min-width:0}
.extras-grid .toggle-card{padding:16px;min-height:90px;border-radius:13px;align-self:stretch;gap:12px}
.extras-grid .toggle-card span{margin:0;font-size:.89rem;line-height:1.55}
.extras-grid label:not(.toggle-card){display:flex;flex-direction:column;justify-content:end}
.extras-grid label:not(.toggle-card) input{margin-top:auto}
.tables-builder{grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}
#requestResult:empty,#requestResult[hidden]{display:none!important}
#requestResult{white-space:pre-line;overflow-wrap:anywhere}
/* Clear pricing hierarchy, RTL-safe math, and no crowded English labels. */
.pricing-card{position:sticky;top:86px;padding:22px;background:linear-gradient(165deg,#191d25,#11151d);border:1px solid #313844;border-radius:20px;min-width:0}
.pricing-card .eyebrow{font-size:.79rem;letter-spacing:0;color:var(--gold)}
.pricing-card h3{font-size:1.45rem;margin:5px 0 18px}
.summary-kpis{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:22px}
.summary-kpis>div{min-width:0;padding:10px 8px;border:1px solid #2b3545;border-radius:12px;text-align:center;background:#0d1725}
.summary-kpis span{font-size:.73rem;line-height:1.5}
.summary-kpis strong{font-size:.79rem;line-height:1.45;overflow-wrap:anywhere;word-break:normal;direction:ltr;text-align:center}
.price-section-title{margin:0 0 12px;font-size:.9rem;font-weight:700;color:#e9ecf4}
.price-breakdown{gap:9px}
.break-item{min-width:0;display:flex;justify-content:space-between;gap:10px;align-items:center;padding:12px;background:#0d1725;border-radius:12px}
.break-label{font-size:.81rem;line-height:1.5;min-width:0;overflow-wrap:anywhere}
.break-detail{display:block;color:var(--muted);font:500 .74rem/1.5 'DM Sans','Cairo',sans-serif;margin-top:4px;direction:ltr;text-align:start}
.break-amount{font:700 .95rem 'DM Sans',sans-serif;direction:ltr;flex:none;color:#fff}
.break-meta{padding:10px 12px;color:#aeb9c9;font-size:.82rem;display:block}
.total-line{align-items:center;gap:9px;flex-wrap:wrap;border-top:1px solid #3a4251;margin-top:18px;padding-top:19px;font-size:.99rem}
.total-number{display:flex;align-items:baseline;gap:7px;direction:ltr}
.total-number strong{font:800 1.8rem 'DM Sans',sans-serif;color:var(--gold-2)}
.total-number em{font-size:.76rem;font-style:normal;color:#c1cad9}
.summary-note{font-size:.79rem;line-height:1.8;color:#acb6c5;margin:17px 0 0}
#workNotice{font-size:.88rem;line-height:1.8}
@media(min-width:1480px){.form-layout{grid-template-columns:minmax(0,1fr) 360px}.design-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.thumb{height:112px}.design-card{padding:10px}.design-card.selected{padding:9px}.design-card strong{font-size:.82rem}}
@media(max-width:1130px){.form-layout{grid-template-columns:1fr}.pricing-card{position:static}.design-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.thumb{height:110px}}
@media(max-width:760px){.form{padding:16px}.fields{grid-template-columns:1fr}.design-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.thumb{height:105px}.design-card strong{font-size:.83rem}.preview-board{grid-template-columns:1fr}.preview-stage{height:260px;max-width:380px;margin:0 auto}.pricing-card{padding:18px}.surface-head{display:block}.surface-head .mini-note{margin-top:5px}.extras-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.header nav{gap:9px}.sectionhead{align-items:start}}
@media(max-width:390px){.design-grid{gap:9px}.design-card{padding:9px}.design-card.selected{padding:8px}.summary-kpis{gap:5px}.summary-kpis>div{padding:9px 4px}}
@media(prefers-reduced-motion:reduce){.design-card{transition:none}.design-card:hover{transform:none}}


/* v5: Hero typography and service facts — targeted override. */
.hero{
  display:grid;
  grid-template-columns:minmax(0,1fr);
  align-items:stretch;
  gap:clamp(22px,3vw,32px);
  padding:clamp(24px,4vw,52px);
  min-width:0;
  text-align:center;
}
.hero>div:first-child{min-width:0;max-width:900px;margin-inline:auto;width:100%}
.hero .eyebrow{font-size:clamp(.78rem,1.25vw,.95rem);line-height:1.8;letter-spacing:0}
.hero h1{
  font-size:clamp(1.8rem,3.05vw,2.95rem);
  line-height:1.35;
  font-weight:800;
  letter-spacing:0;
  margin:12px auto 16px;
  max-width:900px;
  overflow-wrap:break-word;
}
.hero p{margin-inline:auto;max-width:720px;font-size:clamp(.9rem,1.35vw,1.04rem);line-height:1.9}
.hero-cards{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:clamp(10px,1.8vw,18px);
  margin-inline:auto;
  width:min(100%,840px);
  min-width:0;
}
.hero-cards .hero-fact{
  min-width:0;
  min-height:100px;
  background:#101720;
  border:1px solid #303744;
  border-radius:18px;
  padding:16px 14px;
  display:flex;
  flex-direction:column;
  gap:8px;
  justify-content:center;
  align-items:center;
  text-align:center;
}
.hero-cards .hero-fact b{font:800 clamp(.95rem,1.7vw,1.3rem)/1.4 'DM Sans',sans-serif;white-space:nowrap;color:#f8f6f2}
.hero-cards .hero-fact small{font:600 clamp(.74rem,1.04vw,.87rem)/1.5 'Cairo','DM Sans',sans-serif;color:#b8c1cf;overflow-wrap:normal}
@media(max-width:660px){
  .hero{gap:22px;padding:25px 18px}
  .hero h1{font-size:clamp(1.65rem,6.1vw,2.25rem);line-height:1.45}
  .hero-cards{gap:9px}
  .hero-cards .hero-fact{padding:12px 7px;min-height:93px;border-radius:13px}
  .hero-cards .hero-fact b{font-size:clamp(.72rem,2.7vw,1.02rem)}
  .hero-cards .hero-fact small{font-size:clamp(.62rem,2.1vw,.79rem)}
}
@media(max-width:390px){
  .hero-cards{grid-template-columns:1fr;gap:8px}
  .hero-cards .hero-fact{min-height:0;padding:12px 14px;flex-direction:row;justify-content:space-between;gap:14px}
  .hero-cards .hero-fact b{font-size:.95rem}
  .hero-cards .hero-fact small{font-size:.76rem}
}
