/* dedaapp.ae — the public website. Premium cream / ink / gold, Light by default and Dark by choice, LTR and RTL. */
@font-face { font-family: 'Inter Tight'; font-weight: 500; font-display: swap; src: url('/assets/fonts/inter-500.woff') format('woff'); }
@font-face { font-family: 'Inter Tight'; font-weight: 600; font-display: swap; src: url('/assets/fonts/inter-600.woff') format('woff'); }
@font-face { font-family: 'Inter Tight'; font-weight: 700; font-display: swap; src: url('/assets/fonts/inter-700.woff') format('woff'); }
@font-face { font-family: 'Inter Tight'; font-weight: 800; font-display: swap; src: url('/assets/fonts/inter-800.woff') format('woff'); }
@font-face { font-family: 'Vazirmatn'; font-weight: 500; font-display: swap; src: url('/assets/fonts/vazir-500.woff') format('woff'); }
@font-face { font-family: 'Vazirmatn'; font-weight: 700; font-display: swap; src: url('/assets/fonts/vazir-700.woff') format('woff'); }
@font-face { font-family: 'Vazirmatn'; font-weight: 800; font-display: swap; src: url('/assets/fonts/vazir-800.woff') format('woff'); }

:root {
  --gold: #E9AE38; --gold-2: #F6C85C; --gold-3: #FBD98A; --gold-deep: #B8862B; --gold-ink: #1A1406; --gold-text: #8A6410;
  --gold-grad: linear-gradient(135deg, #FBD98A 0%, #F3B73F 45%, #D9961F 100%);
  --gold-text-grad: linear-gradient(100deg, #D9961F 0%, #B8862B 50%, #8A6410 100%);
  --bg: #F7F3EB; --bg-2: #FFFFFF; --bg-3: #F0EADC; --bg-4: #E8E0CF; --ink: #14110D; --ink-2: #4A4339; --ink-3: #7A7164; --line: #E6DFD0; --line-2: #D5CBB6;
  --card-hover: linear-gradient(160deg, #FFF8E4 0%, #FFFFFF 62%); --card-hover-line: rgba(217, 150, 31, .55); --card-hover-shadow: 0 26px 60px rgba(160, 110, 20, .16), 0 2px 0 rgba(255, 255, 255, .6) inset;
  --shadow: 0 20px 50px rgba(30, 22, 10, .12); --shadow-sm: 0 8px 22px rgba(30, 22, 10, .08);
  --footer-bg: #0E0D0B; --footer-ink: #F1ECE2; --footer-muted: #A79E8F; --footer-line: #2A2620;
  --dark-panel: #0F0E0C; --dark-panel-ink: #F5F1E8; --dark-panel-muted: #B7AE9F;
  --r: 24px; --r-sm: 14px; --r-pill: 999px; --ease: cubic-bezier(.2, .8, .2, 1);
  --font-latin: 'Inter Tight', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-rtl: 'Vazirmatn', 'Inter Tight', system-ui, sans-serif;
  --font: var(--font-latin);
  --max: 1200px;
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #0B0A09; --bg-2: #14120E; --bg-3: #1C1913; --bg-4: #26221A; --ink: #F5F1E8; --ink-2: #CFC6B6; --ink-3: #9B9284; --line: #27231C; --line-2: #3A352C;
  --gold-text: #F3B73F; --gold-text-grad: linear-gradient(100deg, #FBD98A 0%, #F3B73F 50%, #E9AE38 100%);
  --card-hover: linear-gradient(160deg, #241D10 0%, #14120E 62%); --card-hover-line: rgba(243, 183, 63, .5); --card-hover-shadow: 0 26px 60px rgba(0, 0, 0, .5), 0 1px 0 rgba(255, 255, 255, .06) inset;
  --shadow: 0 20px 50px rgba(0, 0, 0, .5); --shadow-sm: 0 8px 22px rgba(0, 0, 0, .4);
  --footer-bg: #070706; --footer-line: #1F1B15;
  --dark-panel: #F6F2E9; --dark-panel-ink: #14110D; --dark-panel-muted: #655D50;
  color-scheme: dark;
}
html[dir="rtl"] { --font: var(--font-rtl); }
html[lang="zh"] { --font: 'Inter Tight', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans CJK SC', 'Source Han Sans SC', system-ui, sans-serif; }
html[lang="zh"] .eyebrow, html[lang="zh"] .grp-title, html[lang="zh"] .site-footer b, html[lang="zh"] .grp { letter-spacing: 0; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 500 17px/1.6 var(--font); letter-spacing: -.005em; -webkit-font-smoothing: antialiased; }
html[dir="rtl"] body { letter-spacing: 0; line-height: 1.85; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 8px; }
.ltr { direction: ltr; unicode-bidi: isolate; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
::selection { background: rgba(233, 174, 56, .35); }

.wrap { width: min(100% - 32px, var(--max)); margin-inline: auto; }
h1, h2, h3 { margin: 0; font-weight: 800; letter-spacing: -.025em; line-height: 1.08; text-wrap: balance; }
html[dir="rtl"] :is(h1, h2, h3) { letter-spacing: 0; line-height: 1.42; }
h1 { font-size: clamp(40px, 6.4vw, 78px); }
h2 { font-size: clamp(30px, 3.8vw, 48px); }
h3 { font-size: 20px; letter-spacing: -.015em; }
p { margin: 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 12.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-text); }
html[dir="rtl"] .eyebrow { letter-spacing: 0; font-size: 14px; }
.eyebrow::before { content: ''; width: 26px; height: 2px; background: var(--gold-grad); border-radius: 2px; }
.lead { font-size: clamp(18px, 1.5vw, 21px); color: var(--ink-2); max-width: 48ch; line-height: 1.55; }
html[dir="rtl"] .lead { line-height: 1.9; }
.gold { color: var(--gold-text); }
.muted { color: var(--ink-3); }
.num { font-family: var(--font-latin); font-weight: 700; font-size: 12.5px; letter-spacing: .14em; color: var(--ink-3); }

/* buttons */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 50px; padding: 0 24px; border-radius: var(--r-pill); border: 1px solid rgba(184, 134, 43, .55); background: var(--gold-grad); color: var(--gold-ink); font-weight: 700; font-size: 16px; cursor: pointer; white-space: nowrap; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), 0 10px 24px rgba(201, 143, 31, .22); transition: transform .3s var(--ease), box-shadow .3s var(--ease), filter .3s var(--ease); }
.btn:hover { transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), 0 16px 34px rgba(201, 143, 31, .32); filter: saturate(1.05); }
.btn:active { transform: translateY(0); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn.lg { min-height: 56px; padding: 0 28px; font-size: 17px; }
.btn.sm { min-height: 40px; padding: 0 16px; font-size: 14.5px; }
.btn.sec { background: color-mix(in srgb, var(--bg-2) 75%, transparent); color: var(--ink); border-color: var(--line-2); box-shadow: none; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn.sec:hover { border-color: var(--gold); color: var(--gold-text); box-shadow: 0 10px 24px rgba(201, 143, 31, .12); }
.btn.ghost { background: transparent; border-color: transparent; color: var(--gold-text); padding-inline: 10px; box-shadow: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.note { font-size: 14.5px; color: var(--ink-3); }
.more-row { margin-top: 26px; display: flex; justify-content: center; }
.free-pill { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: var(--r-pill); background: rgba(44, 157, 107, .12); color: #1E7A51; font-weight: 700; font-size: 14.5px; }
.free-pill svg { width: 18px; height: 18px; } :root[data-theme="dark"] .free-pill { color: #6CCB9A; }

/* store badges */
.download { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.store-badges { display: flex; flex-wrap: wrap; gap: 10px; }
.store-badge { position: relative; display: inline-flex; align-items: center; border-radius: 14px; background: #0F0E0C; color: #F5F1E8; border: 1px solid #2A2620; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; }
.store-badge img { height: 52px; width: auto; display: block; }
.store-badge .sb { display: inline-flex; align-items: center; gap: 10px; padding: 7px 18px 7px 12px; min-height: 52px; direction: ltr; }
.store-badge .sb-ic { width: 30px; height: 30px; display: grid; place-items: center; color: var(--gold); } .store-badge .sb-ic svg { width: 26px; height: 26px; }
.store-badge .sb-t { display: grid; line-height: 1.1; font-family: var(--font-latin); text-align: left; }
.store-badge .sb-t small { font-size: 10.5px; letter-spacing: .04em; text-transform: uppercase; color: #C9C1B2; font-weight: 600; }
.store-badge .sb-t b { font-size: 18px; font-weight: 700; letter-spacing: -.01em; }
a.store-badge:hover { transform: translateY(-2px); border-color: var(--gold); box-shadow: 0 14px 30px rgba(0, 0, 0, .25); }
.store-badge.soon { opacity: .92; }
.store-badge.soon em { position: absolute; top: -9px; inset-inline-end: 10px; font-style: normal; font-size: 10.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: 2px 8px; border-radius: 999px; background: var(--gold-grad); color: var(--gold-ink); }
html[dir="rtl"] .store-badge.soon em { letter-spacing: 0; }
.cta-band .store-badge { background: #14110D; }
.site-footer .store-badge { background: #15130F; border-color: #2E2921; }

/* v0.62.0: the launch-phase notice — a slim news ticker above the header (it scrolls away with the page; the header stays) */
.notice-bar { --nb-bg: #14110D; --nb-ink: #EFE8DA; --nb-line: rgba(243, 183, 63, .22); position: relative; z-index: 41; background: var(--nb-bg); color: var(--nb-ink); border-bottom: 1px solid var(--nb-line); font-size: 14px; line-height: 1.4; }
:root[data-theme="dark"] .notice-bar { --nb-bg: #18150F; --nb-ink: #EDE5D6; --nb-line: rgba(243, 183, 63, .28); }
.nb-wrap { display: flex; align-items: center; gap: 16px; height: 40px; padding-inline-start: max(16px, calc((100% - var(--max)) / 2)); }
.nb-label { flex: none; display: inline-flex; align-items: center; gap: 8px; height: 24px; padding: 0 11px 0 9px; border-radius: var(--r-pill); background: var(--gold-grad); color: var(--gold-ink); font-size: 11.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5); }
html[dir="rtl"] .nb-label, html[lang="zh"] .nb-label { letter-spacing: 0; font-size: 12.5px; padding: 0 9px 0 11px; }
.nb-dot { position: relative; width: 7px; height: 7px; border-radius: 50%; background: var(--gold-ink); }
.nb-dot::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--gold-ink); opacity: 0; animation: nb-pulse 2.4s ease-out infinite; }
@keyframes nb-pulse { 0% { transform: scale(.4); opacity: .6; } 80%, 100% { transform: scale(1.25); opacity: 0; } }
.nb-viewport { flex: 1; min-width: 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 16px, #000 calc(100% - 16px), transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 16px, #000 calc(100% - 16px), transparent 100%); }
.nb-track { display: flex; width: max-content; padding-inline-start: 18px; animation: nb-ltr var(--nb-dur, 60s) linear infinite; will-change: transform; }
html[dir="rtl"] .nb-track { animation-name: nb-rtl; }
@media (hover: hover) and (pointer: fine) { .notice-bar:hover .nb-track { animation-play-state: paused; } }
/* the track is one lead-in (18px, so the first word is never under the fade) and two identical copies: moving by one copy loops seamlessly */
@keyframes nb-ltr { from { transform: translateX(0); } to { transform: translateX(calc(-50% + 9px)); } }
@keyframes nb-rtl { from { transform: translateX(0); } to { transform: translateX(calc(50% - 9px)); } }
.nb-group { flex: none; display: flex; align-items: center; }
.nb-item { white-space: nowrap; font-weight: 500; letter-spacing: .005em; }
html[dir="rtl"] .nb-item { letter-spacing: 0; }
.nb-sep { flex: none; width: 6px; height: 6px; margin-inline: 26px; background: var(--gold); transform: rotate(45deg); border-radius: 1px; opacity: .9; }
body:has(.mobile-nav[open]) .notice-bar, .notice-bar.menu-open { display: none; }
.notice-bar { -webkit-tap-highlight-color: transparent; cursor: pointer; } .notice-bar.paused .nb-track { animation-play-state: paused; }
.notice-bar.paused .nb-dot::after { animation: none; opacity: 0; } /* paused: the label's dot stops pulsing */
@media (max-width: 640px) { .notice-bar { font-size: 13px; } .nb-wrap { height: 36px; gap: 12px; } .nb-sep { margin-inline: 20px; } }
@media (prefers-reduced-motion: reduce) {
  .nb-wrap { height: auto; min-height: 40px; padding-block: 8px; align-items: flex-start; padding-inline-end: 16px; }
  .nb-viewport { -webkit-mask-image: none; mask-image: none; }
  .nb-track { width: auto; padding-inline-start: 0; } .nb-group + .nb-group { display: none; }
  .nb-group { display: block; flex: 1; } .nb-item { display: inline; white-space: normal; } .nb-sep { display: inline-block; vertical-align: middle; margin-inline: 10px; } .nb-group .nb-sep:last-child { display: none; }
}
@media (prefers-reduced-motion: reduce) and (max-width: 640px) { .nb-group .nb-item ~ .nb-item, .nb-group .nb-sep { display: none; } .nb-wrap { align-items: center; } }
@media print { .notice-bar { display: none !important; } }

/* header */
.site-header { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--bg) 78%, transparent); backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s, background .3s; }
.site-header::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 2px; background: var(--gold-grad); opacity: .9; }
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 10px 30px rgba(30, 22, 10, .06); background: color-mix(in srgb, var(--bg) 90%, transparent); }
.site-header .wrap { display: flex; align-items: center; gap: 18px; height: 78px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.brand img { height: 42px; width: auto; }
.on-dark { display: none; } :root[data-theme="dark"] .on-light { display: none; } :root[data-theme="dark"] .on-dark { display: block; }
.nav { display: flex; align-items: center; gap: 4px; margin-inline-start: 14px; }
.nav > a, .nav > details > summary { position: relative; display: inline-flex; align-items: center; gap: 6px; height: 42px; padding: 0 13px; font-weight: 600; font-size: 15px; color: var(--ink-2); cursor: pointer; list-style: none; transition: color .25s; }
.nav > details > summary::-webkit-details-marker { display: none; }
.nav > a > span, .nav > details > summary > span { position: relative; }
.nav > a > span::after, .nav > details > summary > span::after { content: ''; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; border-radius: 2px; background: var(--gold-grad); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
html[dir="rtl"] .nav > a > span::after, html[dir="rtl"] .nav > details > summary > span::after { transform-origin: right; }
.nav > a:hover, .nav > details > summary:hover, .nav > a.on, .nav > details > summary.on, .nav > details[open] > summary { color: var(--ink); }
.nav > a:hover > span::after, .nav > a.on > span::after, .nav > details > summary:hover > span::after, .nav > details > summary.on > span::after, .nav > details[open] > summary > span::after { transform: scaleX(1); }
.nav > a.on { color: var(--gold-text); }
.nav > details > summary svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.nav > details[open] > summary svg { transform: rotate(180deg); }
.nav details { position: static; }
.mega-panel { position: absolute; left: 0; right: 0; top: 78px; z-index: 50; margin-inline: auto; width: min(100% - 32px, var(--max)); display: grid; grid-template-columns: 1.1fr 1fr 1fr .9fr; gap: 18px; padding: 22px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 0 0 28px 28px; box-shadow: 0 40px 80px rgba(30, 22, 10, .18); animation: drop .28s var(--ease); }
@keyframes drop { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.mega-col { display: grid; gap: 2px; align-content: start; }
.mega-col .grp { padding: 6px 12px 10px; font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
html[dir="rtl"] .mega-col .grp { letter-spacing: 0; font-size: 12.5px; }
.mega-link { display: grid; grid-template-columns: 38px 1fr; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 14px; color: var(--ink-2); transition: background .25s, color .25s, transform .25s var(--ease); }
.mega-link .ic { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--bg-3); color: var(--gold-text); transition: background .25s, color .25s; }
.mega-link .ic svg { width: 20px; height: 20px; }
.mega-link b { display: block; font-size: 15px; color: var(--ink); } .mega-link small { display: block; font-size: 13px; color: var(--ink-3); margin-top: 1px; }
.mega-link:hover, .mega-link.on { background: var(--bg-3); transform: translateX(2px); } html[dir="rtl"] .mega-link:hover { transform: translateX(-2px); }
.mega-link:hover .ic, .mega-link.on .ic { background: var(--gold-grad); color: var(--gold-ink); }
.mega-side { position: relative; overflow: hidden; display: grid; gap: 8px; align-content: start; padding: 20px; border-radius: 20px; background: var(--dark-panel); color: var(--dark-panel-ink); min-height: 220px; }
.mega-side .eyebrow { color: var(--gold); } .mega-side b { font-size: 18px; } .mega-side p { color: var(--dark-panel-muted); font-size: 14px; max-width: 24ch; }
.mega-side .btn { justify-self: start; margin-top: 8px; }
.mega-side .mega-dio { position: absolute; inset-inline-end: -10px; bottom: -14px; height: 150px; width: auto; }
.hdr-actions { margin-inline-start: auto; display: flex; align-items: center; gap: 8px; }
.amb-head svg { width: 16px; height: 16px; } .amb-head .short { display: none; } @media (max-width: 1280px) { .amb-head .full { display: none; } .amb-head .short { display: inline; } }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: var(--r-pill); border: 1px solid var(--line); background: color-mix(in srgb, var(--bg-2) 70%, transparent); color: var(--ink-2); cursor: pointer; transition: border-color .25s, color .25s, background .25s; }
.icon-btn:hover { color: var(--gold-text); border-color: var(--gold); }
.icon-btn svg { width: 20px; height: 20px; }
.lang details { position: relative; } .lang summary { list-style: none; } .lang summary::-webkit-details-marker { display: none; }
.lang summary { display: inline-flex; align-items: center; gap: 7px; height: 42px; padding: 0 12px 0 14px; border-radius: var(--r-pill); border: 1px solid var(--line); background: color-mix(in srgb, var(--bg-2) 70%, transparent); font-weight: 700; font-size: 14px; cursor: pointer; transition: border-color .25s, color .25s; }
.lang summary:hover { border-color: var(--gold); color: var(--gold-text); }
.lang summary svg { width: 18px; height: 18px; } .lang summary svg:last-child { width: 15px; height: 15px; opacity: .7; }
.lang details > div { position: absolute; top: 52px; inset-inline-end: 0; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 2px; min-width: 380px; padding: 10px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); z-index: 50; animation: drop .25s var(--ease); }
.lang details > div a { padding: 10px 12px; border-radius: 12px; font-weight: 600; font-size: 15px; color: var(--ink-2); transition: background .2s, color .2s; }
.lang details > div a:hover { background: var(--bg-3); color: var(--ink); }
.lang details > div a.on { background: var(--gold-grad); color: var(--gold-ink); }
.theme-dark-icon { display: none; } :root[data-theme="dark"] .theme-dark-icon { display: block; } :root[data-theme="dark"] .theme-light-icon { display: none; }
.menu-btn { display: none; }
.mobile-nav { display: none; }
@media (max-width: 1080px) {
  .nav, .hdr-actions .cta-head, .hdr-actions .amb-head { display: none; }
  .menu-btn { display: inline-flex; }
  .mobile-nav[open] { display: block; position: fixed; inset: 78px 0 0 0; z-index: 39; background: var(--bg); overflow: auto; padding: 18px 16px 40px; }
  .mobile-nav .grp { margin: 18px 4px 8px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
  html[dir="rtl"] .mobile-nav .grp { letter-spacing: 0; font-size: 13px; }
  .mobile-nav a { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-radius: 16px; font-size: 17px; font-weight: 600; background: var(--bg-2); border: 1px solid var(--line); margin-bottom: 8px; }
  .mobile-nav a.on { color: var(--gold-text); border-color: var(--gold); }
  .mobile-nav a.btn { width: 100%; justify-content: center; gap: 10px; background: var(--gold-grad); color: var(--gold-ink); border: 0; font-weight: 700; box-shadow: 0 10px 24px rgba(201, 143, 31, .25); }
  .mobile-nav .mn-cta { display: grid; gap: 10px; margin: 0 0 18px; } .mobile-nav .mn-cta a.btn.amb { background: rgba(243, 183, 63, .1); color: var(--gold-text); border: 1.5px solid var(--gold); box-shadow: none; } .mobile-nav .mn-cta .amb svg { width: 18px; height: 18px; }
  .dio-fab { width: 58px; height: 58px; bottom: 14px; inset-inline-end: 14px; } .dio-fab img { height: 50px; }
}

/* v0.62.1: the partner portal in the header, beside the ambassadors' button. When a language needs the room, site.js
   steps the header down: the ambassadors' short label and tighter spacing (.hdr-short), the ambassadors' icon (.hdr-amb-icon), the
   language as its globe (.hdr-lang-icon), then both buttons as icons (.hdr-icons) — a label hidden this way stays for
   screen readers. The phone menu has it as a full button. */
.biz-head svg { width: 16px; height: 16px; }
.site-header .nav { flex: none; } .site-header .nav > a, .site-header .nav > details > summary { white-space: nowrap; } /* the menu never wraps to make room: the buttons step down instead */
.site-header.hdr-short .amb-head .full { display: none; } .site-header.hdr-short .amb-head .short { display: inline; } .site-header.hdr-short :is(.amb-head, .biz-head) { padding-inline: 12px; } .site-header.hdr-short .hdr-actions { gap: 6px; } .site-header.hdr-short .wrap { gap: 14px; }
.site-header:is(.hdr-amb-icon, .hdr-icons) .amb-head, .site-header.hdr-icons .biz-head { width: 42px; min-height: 42px; padding: 0; gap: 0; }
.site-header.hdr-lang-icon .lang summary { padding: 0 9px 0 11px; gap: 4px; }
.site-header.hdr-lang-icon .lang summary > span, .site-header:is(.hdr-amb-icon, .hdr-icons) .amb-head span, .site-header.hdr-icons .biz-head span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 1080px) {
  .hdr-actions .biz-head { display: none; }
  .mobile-nav .mn-cta a.btn.biz { background: rgba(243, 183, 63, .1); color: var(--gold-text); border: 1.5px solid var(--gold); box-shadow: none; } .mobile-nav .mn-cta .biz svg { width: 18px; height: 18px; }
}

/* hero */
.hero { position: relative; overflow: hidden; padding: clamp(44px, 7vw, 100px) 0 clamp(36px, 6vw, 80px); }
.hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(60% 55% at 85% 20%, rgba(233, 174, 56, .16), transparent 70%), radial-gradient(40% 40% at 10% 90%, rgba(233, 174, 56, .08), transparent 70%); pointer-events: none; }
.hero .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: 40px; align-items: center; }
.hero .copy { display: grid; gap: 24px; }
.hero h1 { max-width: 13ch; }
.hero h1 .b { background: var(--gold-text-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .art { position: relative; min-height: 440px; display: grid; place-items: center; }
.hero .dio { position: relative; z-index: 2; width: min(100%, 360px); height: auto; filter: drop-shadow(0 34px 44px rgba(30, 22, 10, .28)); animation: float 6s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.hero .glow { position: absolute; width: 560px; height: 560px; border-radius: 50%; background: radial-gradient(closest-side, rgba(233, 174, 56, .38), transparent 70%); z-index: 0; }
.hero .glow.g2 { width: 380px; height: 380px; background: radial-gradient(closest-side, rgba(255, 255, 255, .55), transparent 70%); } :root[data-theme="dark"] .hero .glow.g2 { background: radial-gradient(closest-side, rgba(243, 183, 63, .12), transparent 70%); }
.hero-fig { position: relative; width: min(100%, 360px); display: grid; place-items: center; }
.hero-fig .ground { position: absolute; bottom: 6px; left: 20%; right: 20%; height: 26px; border-radius: 50%; background: radial-gradient(closest-side, rgba(30, 22, 10, .22), transparent); z-index: 1; filter: blur(2px); }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; } .hero .art { min-height: 340px; order: -1; } .hero .dio { width: min(72%, 280px); } .hero-fig { width: min(72%, 280px); } }

/* the four principles beside DIO: one card above his raised hand, cycling (site.js) */
.hero-fig { overflow: visible; display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; }
.fig-body { position: relative; width: 100%; display: grid; place-items: center; }
.prin-card { position: relative; z-index: 4; justify-self: right; margin: 0 -16% 30px 0; width: min(350px, 110%); padding: 14px 18px 16px; border-radius: 20px; background: var(--dark-panel); color: var(--dark-panel-ink); border: 1px solid rgba(243, 183, 63, .32); box-shadow: 0 24px 54px rgba(30, 22, 10, .26); display: grid; gap: 6px; text-align: start; cursor: pointer; transition: box-shadow .32s var(--ease), transform .32s var(--ease); -webkit-tap-highlight-color: transparent; }
.prin-card::before { content: ''; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(60% 70% at 100% 0%, rgba(243, 183, 63, .22), transparent 70%); pointer-events: none; }
.prin-card::after { content: ''; position: absolute; right: 54px; bottom: -9px; width: 18px; height: 18px; border-radius: 3px; background: var(--dark-panel); border-right: 1px solid rgba(243, 183, 63, .32); border-bottom: 1px solid rgba(243, 183, 63, .32); transform: rotate(45deg); }
.prin-card .eyebrow { display: flex; align-items: center; gap: 10px; font-size: 11px; color: var(--gold); letter-spacing: .14em; } .prin-card .eyebrow::before { display: none; }
.prin-card .nb { font-style: normal; font-family: var(--font-latin); font-weight: 800; font-size: 12px; letter-spacing: .06em; min-width: 30px; height: 24px; padding: 0 7px; border-radius: 8px; display: inline-grid; place-items: center; background: var(--gold-grad); color: var(--gold-ink); box-shadow: 0 6px 14px rgba(201, 143, 31, .35); }
.prin-card b { font-size: 17px; line-height: 1.25; letter-spacing: -.01em; } .prin-card p { font-size: 13.5px; line-height: 1.5; color: var(--dark-panel-muted); }
html[dir="rtl"] .prin-card b { letter-spacing: 0; font-size: 16px; } html[dir="rtl"] .prin-card p { line-height: 1.7; font-size: 13px; }
.prin-card .dots { display: flex; gap: 6px; margin-top: 4px; } .prin-card .dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(243, 183, 63, .3); transition: width .3s var(--ease), background .3s; } .prin-card .dots i.on { width: 20px; border-radius: 3px; background: var(--gold); }
.prin-card.sw b, .prin-card.sw p, .prin-card.sw .kw { opacity: 0; transform: translateY(5px); }
.prin-card b, .prin-card p, .prin-card .kw { transition: opacity .22s var(--ease), transform .22s var(--ease); }
.prin-card:hover, .prin-card.held { box-shadow: 0 24px 54px rgba(30, 22, 10, .26), 0 0 0 2px rgba(243, 183, 63, .5); }
.prin-card:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
@media (max-width: 1100px) { .prin-card { width: min(330px, 110%); margin-right: -6%; } }
@media (max-width: 900px) {
  .prin-card { width: min(360px, calc(100vw - 32px)); margin: 0 0 26px; justify-self: center; }
  .prin-card::after { right: 40px; }
}

/* sections */
section.sec { padding: clamp(44px, 6.5vw, 96px) 0; }
section.sec.tight { padding-block: clamp(24px, 4vw, 52px); }
.sec-head { display: grid; gap: 12px; max-width: 780px; margin-bottom: clamp(26px, 4vw, 48px); }
.sec-head.center { margin-inline: auto; text-align: center; justify-items: center; }
.grid { display: grid; gap: 18px; }
.grid.c2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.c4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) { .grid.c4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid.c3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid.c4, .grid.c3, .grid.c2 { grid-template-columns: 1fr; } }

/* cards: every card changes colour on hover */
.card { position: relative; overflow: hidden; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; display: grid; gap: 10px; align-content: start; transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s var(--ease), background .45s var(--ease); }
.card::before { content: ''; position: absolute; inset: 0; background: var(--card-hover); opacity: 0; transition: opacity .45s var(--ease); pointer-events: none; }
.card::after { content: ''; position: absolute; width: 220px; height: 220px; border-radius: 50%; inset-inline-end: -80px; top: -90px; background: radial-gradient(closest-side, rgba(233, 174, 56, .28), transparent 70%); opacity: 0; transition: opacity .5s var(--ease), transform .6s var(--ease); transform: scale(.6); pointer-events: none; }
.card > * { position: relative; z-index: 1; }
.card:hover { transform: translateY(-6px); border-color: var(--card-hover-line); box-shadow: var(--card-hover-shadow); }
.card:hover::before { opacity: 1; } .card:hover::after { opacity: 1; transform: scale(1); }
.card h3 { font-size: 19px; transition: color .3s; }
.card:hover h3 { color: var(--gold-text); }
.card p { color: var(--ink-2); font-size: 15.5px; }
.card .ic { width: 46px; height: 46px; border-radius: 15px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(251, 217, 138, .55), rgba(233, 174, 56, .18)); color: var(--gold-text); transition: background .35s, color .35s, transform .45s var(--ease), box-shadow .35s; }
.card .ic svg { width: 24px; height: 24px; }
.card:hover .ic { background: var(--gold-grad); color: var(--gold-ink); transform: translateY(-2px) rotate(-4deg); box-shadow: 0 10px 22px rgba(201, 143, 31, .3); }
.card .num { position: absolute; top: 22px; inset-inline-end: 22px; }
.card .more { margin-top: auto; font-weight: 700; color: var(--gold-text); font-size: 15px; transition: transform .3s var(--ease); }
.card:hover .more { transform: translateX(4px); } html[dir="rtl"] .card:hover .more { transform: translateX(-4px); }
.card.gold { background: var(--gold-grad); border-color: transparent; color: var(--gold-ink); }
.card.gold::before { background: linear-gradient(160deg, #FFF3CF 0%, #F6C85C 60%); } .card.gold::after { background: radial-gradient(closest-side, rgba(255, 255, 255, .55), transparent 70%); }
.card.gold p { color: #3D2D06; } .card.gold:hover h3 { color: var(--gold-ink); }
.card.gold .ic { background: rgba(26, 20, 6, .12); color: var(--gold-ink); } .card.gold:hover .ic { background: var(--gold-ink); color: var(--gold); }
.card.dark { background: var(--dark-panel); color: var(--dark-panel-ink); border-color: transparent; }
.card.dark::before { background: linear-gradient(160deg, #2A2110 0%, #0F0E0C 60%); } :root[data-theme="dark"] .card.dark::before { background: linear-gradient(160deg, #FFF8E4 0%, #F6F2E9 60%); }
.card.dark p { color: var(--dark-panel-muted); } .card.dark:hover h3 { color: var(--gold); } :root[data-theme="dark"] .card.dark:hover h3 { color: var(--gold-deep); }
.card.dark .ic { background: rgba(243, 183, 63, .18); color: var(--gold); } .card.dark .list li { color: var(--dark-panel-ink); }
.card.big { padding: clamp(28px, 4vw, 44px); grid-template-columns: auto 1fr; column-gap: 22px; align-items: start; }
.card.big h3 { font-size: clamp(22px, 2.4vw, 28px); grid-column: 2; } .card.big p { grid-column: 2; font-size: 17px; max-width: 70ch; }
.card.big .ic { grid-row: 1 / span 2; width: 56px; height: 56px; }
@media (max-width: 640px) { .card.big { grid-template-columns: 1fr; } .card.big h3, .card.big p { grid-column: 1; } .card.big .ic { grid-row: auto; } }
.principles .card { min-height: 300px; padding-top: 30px; }
.principles .card h3 { font-size: 21px; }

/* the seventeen areas */
.areas { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 1100px) { .areas { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 700px) { .areas { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; } }
@media (max-width: 460px) { .areas { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.area { position: relative; overflow: hidden; display: grid; gap: 12px; justify-items: start; padding: 18px 16px 16px; border-radius: 20px; background: var(--bg-2); border: 1px solid var(--line); font-weight: 700; font-size: 15px; line-height: 1.3; color: var(--ink); transition: transform .4s var(--ease), border-color .4s, box-shadow .4s var(--ease), background .4s; }
.area::before { content: ''; position: absolute; inset: 0; background: var(--card-hover); opacity: 0; transition: opacity .4s; }
.area > * { position: relative; }
.area .ic { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; background: var(--bg-3); color: var(--gold-text); transition: background .35s, color .35s, transform .4s var(--ease); }
.area .ic svg { width: 22px; height: 22px; }
.area:hover { transform: translateY(-5px); border-color: var(--card-hover-line); box-shadow: var(--card-hover-shadow); color: var(--gold-text); }
.area:hover::before { opacity: 1; }
.area:hover .ic { background: var(--gold-grad); color: var(--gold-ink); transform: rotate(-6deg) scale(1.06); }

.steps { counter-reset: s; display: grid; gap: 16px; }
.steps.row { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 900px) { .steps.row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* v0.48.1: three steps (the ambassadors' way to a verified card); the Academy card's button sits under its text */
.steps-3 .steps.row { grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 0; margin: 0; }
.card.big.amb-learn .btn { grid-column: 2; justify-self: start; margin-top: 6px; }
@media (max-width: 900px) { .steps-3 .steps.row { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .card.big.amb-learn .btn { grid-column: 1; } }
@media (max-width: 560px) { .steps.row { grid-template-columns: 1fr; } }
.step { position: relative; overflow: hidden; padding: 24px; border-radius: var(--r); background: var(--bg-2); border: 1px solid var(--line); display: grid; gap: 8px; transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s, background .45s; }
.step::before { counter-increment: s; content: counter(s); display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 13px; background: var(--gold-grad); color: var(--gold-ink); font-weight: 800; font-size: 17px; margin-bottom: 6px; font-family: var(--font-latin); box-shadow: 0 8px 18px rgba(201, 143, 31, .25); }
html[lang="fa"] .step::before { content: counter(s, persian); font-family: var(--font-rtl); }
html[lang="ar"] .step::before { content: counter(s, arabic-indic); font-family: var(--font-rtl); }
.step:hover { transform: translateY(-5px); border-color: var(--card-hover-line); box-shadow: var(--card-hover-shadow); background: var(--card-hover); }
.step h3 { font-size: 19px; transition: color .3s; } .step:hover h3 { color: var(--gold-text); }
.step p { color: var(--ink-2); font-size: 15.5px; }

.proof { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--bg-2); box-shadow: var(--shadow-sm); }
.proof > div { padding: 24px; border-inline-end: 1px solid var(--line); display: grid; gap: 6px; align-content: start; transition: background .35s; }
.proof > div:hover { background: var(--bg-3); }
.proof > div:last-child { border-inline-end: 0; }
.proof b { font-size: 17px; } .proof span { color: var(--ink-2); font-size: 15px; }
.proof .k { display: inline-flex; align-items: center; gap: 8px; color: var(--gold-text); font-weight: 800; }
.proof .k::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(233, 174, 56, .22); }
@media (max-width: 900px) { .proof { grid-template-columns: repeat(2, minmax(0, 1fr)); } .proof > div:nth-child(2) { border-inline-end: 0; } .proof > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }
@media (max-width: 560px) { .proof { grid-template-columns: 1fr; } .proof > div { border-inline-end: 0; border-bottom: 1px solid var(--line); } .proof > div:last-child { border-bottom: 0; } }

/* phone frames */
.phones { display: flex; justify-content: center; gap: 22px; flex-wrap: wrap; }
.phone { position: relative; width: 250px; flex: none; margin: 0; border-radius: 36px; padding: 10px; background: linear-gradient(160deg, #1B1814, #0B0A09); box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, .08); border: 1px solid #2A2620; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.phone::after { content: ''; position: absolute; inset: 10px; border-radius: 26px; background: linear-gradient(115deg, rgba(255, 255, 255, .14) 0%, transparent 32%); pointer-events: none; }
.phone img { border-radius: 26px; width: 100%; height: auto; aspect-ratio: 640 / 1385; object-fit: cover; object-position: top; }
.phone:hover { transform: translateY(-6px); box-shadow: 0 30px 70px rgba(30, 22, 10, .22); }
.phone.sm { width: 200px; }
.phone.lg { width: 300px; }
.phone .cap { color: #B7AE9F; font-size: 13px; text-align: center; padding: 8px 4px 2px; font-weight: 600; }
.phones.tilt .phone:nth-child(2) { margin-top: 44px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 44px; align-items: center; }
.split .phones { justify-content: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.feature-list { display: grid; gap: 14px; }
.feature { display: grid; grid-template-columns: 46px 1fr; gap: 16px; align-items: start; padding: 14px; margin: -14px; border-radius: 18px; transition: background .35s; }
.feature:hover { background: color-mix(in srgb, var(--bg-2) 60%, transparent); }
.feature .ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--bg-3); color: var(--gold-text); transition: background .35s, color .35s, transform .4s var(--ease); }
.feature:hover .ic { background: var(--gold-grad); color: var(--gold-ink); transform: rotate(-4deg); }
.feature .ic svg { width: 22px; height: 22px; }
.feature h3 { font-size: 18px; margin-bottom: 3px; }
.feature p { color: var(--ink-2); font-size: 15.5px; }

.world { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 1000px) { .world { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .world { grid-template-columns: 1fr; } }
.world .card { min-height: 220px; }
.world .card .art { height: 150px; border-radius: 16px; background: var(--bg-3); display: grid; place-items: center; overflow: hidden; transition: background .4s; }
.world .card:hover .art { background: linear-gradient(135deg, rgba(251, 217, 138, .5), var(--bg-3)); }
.world .card .art img { height: 140px; width: auto; transition: transform .6s var(--ease); }
.world .card:hover .art img { transform: translateY(-4px) scale(1.03); }

.langs { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.langs span { padding: 10px 18px; border-radius: var(--r-pill); background: var(--bg-2); border: 1px solid var(--line); font-weight: 700; font-size: 16px; transition: border-color .3s, color .3s, transform .3s var(--ease); }
.langs span:hover { border-color: var(--gold); color: var(--gold-text); transform: translateY(-2px); }

.cta-band { background: var(--dark-panel); color: var(--dark-panel-ink); border-radius: 32px; padding: clamp(32px, 5vw, 64px); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; position: relative; overflow: hidden; box-shadow: var(--shadow); }
.cta-band::before { content: ''; position: absolute; width: 460px; height: 460px; border-radius: 50%; inset-inline-end: -120px; top: -180px; background: radial-gradient(closest-side, rgba(243, 183, 63, .38), transparent 70%); }
.cta-band::after { content: ''; position: absolute; inset: 0; border-radius: 32px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08); pointer-events: none; }
.cta-band h2 { font-size: clamp(26px, 3.4vw, 40px); }
.cta-band p { color: var(--dark-panel-muted); margin-top: 8px; font-size: 17px; }
.cta-band .dio { position: absolute; height: calc(100% - 24px); max-height: 230px; inset-inline-end: 40px; bottom: 12px; }
.cta-band { padding-inline-end: calc(clamp(32px, 5vw, 64px) + 230px); }
.cta-band .btn.sec { color: var(--dark-panel-ink); border-color: rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .06); } :root[data-theme="dark"] .cta-band .btn.sec { border-color: rgba(0, 0, 0, .2); background: rgba(0, 0, 0, .04); }
@media (max-width: 760px) { .cta-band { padding-inline-end: clamp(32px, 5vw, 64px); grid-template-columns: 1fr; } .cta-band .dio { display: none; } }

.list { display: grid; gap: 10px; padding: 0; margin: 0; list-style: none; }
.list li { display: grid; grid-template-columns: 24px 1fr; gap: 10px; align-items: start; font-size: 16px; color: var(--ink-2); }
.list li::before { content: ''; width: 22px; height: 22px; border-radius: 50%; background: var(--gold); margin-top: 3px; -webkit-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='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/70% no-repeat; 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='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/70% no-repeat; }

.faq details { border: 1px solid var(--line); border-radius: 18px; background: var(--bg-2); margin-bottom: 10px; transition: border-color .3s, box-shadow .3s; }
.faq details:hover, .faq details[open] { border-color: var(--card-hover-line); box-shadow: var(--shadow-sm); }
.faq summary { padding: 18px 22px; font-weight: 700; font-size: 17px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-weight: 800; color: var(--gold-text); transition: transform .3s var(--ease); }
.faq details[open] summary::after { content: '–'; }
.faq details p { padding: 0 22px 20px; color: var(--ink-2); font-size: 16px; }

.band { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
:root[data-theme="dark"] .band { background: #0F0E0B; }
.quote { font-size: clamp(22px, 2.6vw, 30px); font-weight: 700; line-height: 1.35; max-width: 20ch; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { padding: 9px 16px; border-radius: var(--r-pill); border: 1px solid var(--line); background: var(--bg-2); font-weight: 600; font-size: 15px; transition: border-color .3s, color .3s; }
.chip:hover { border-color: var(--gold); color: var(--gold-text); }
.chip.on { background: var(--gold-grad); border-color: transparent; color: var(--gold-ink); }

/* forms */
form.lead-form { display: grid; gap: 12px; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; box-shadow: var(--shadow-sm); }
form.lead-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 600px) { form.lead-form .row { grid-template-columns: 1fr; } }
label.f { display: grid; gap: 6px; font-size: 14px; font-weight: 700; color: var(--ink-2); }
label.f input, label.f select, label.f textarea { height: 50px; padding: 0 14px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--bg); color: var(--ink); font-weight: 500; transition: border-color .25s, box-shadow .25s; }
label.f textarea { height: auto; min-height: 110px; padding: 12px 14px; resize: vertical; }
label.f input:focus, label.f textarea:focus, label.f select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(233, 174, 56, .22); }
.form-msg { font-size: 15px; color: var(--ink-2); min-height: 1.4em; }
.form-msg.ok { color: #1E7A51; } .form-msg.err { color: #B3261E; }
.hp { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; opacity: 0; }

/* team */
.team { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 900px) { .team { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.person { position: relative; overflow: hidden; display: grid; gap: 4px; padding: 24px; border-radius: var(--r); background: var(--bg-2); border: 1px solid var(--line); transition: transform .45s var(--ease), border-color .45s, box-shadow .45s var(--ease), background .45s; }
.person:hover { transform: translateY(-5px); border-color: var(--card-hover-line); box-shadow: var(--card-hover-shadow); background: var(--card-hover); }
.person .ava { width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; background: var(--gold-grad); color: var(--gold-ink); font-weight: 800; font-size: 20px; margin-bottom: 8px; font-family: var(--font-latin); box-shadow: 0 8px 18px rgba(201, 143, 31, .25); }
.person b { font-size: 17px; } .person span { color: var(--ink-2); font-size: 15px; } .person a { color: var(--gold-text); font-size: 14.5px; font-weight: 600; }

/* legal */
.legal-toc { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.legal-sec { padding: 22px 0; border-top: 1px solid var(--line); display: grid; gap: 10px; max-width: 76ch; }
.legal-sec p { color: var(--ink-2); font-size: 16px; }
/* v0.113.0: the Terms of Use page (and its link on the legal page) */
.legal-sec ul { margin: 0; padding-inline-start: 22px; display: grid; gap: 6px; color: var(--ink-2); font-size: 16px; }
.terms-sum { border-top: 0; padding-top: 0; }
.terms-link { margin: 0 0 22px; }
.terms-link .btn { white-space: normal; text-align: center; }

/* footer: ink, gold, a giant watermark */
.site-footer { position: relative; overflow: hidden; margin-top: clamp(44px, 7vw, 96px); background: var(--footer-bg); color: var(--footer-ink); border-top: 1px solid var(--footer-line); }
.site-footer::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 2px; background: var(--gold-grad); opacity: .9; }
.site-footer::after { content: ''; position: absolute; width: 640px; height: 640px; border-radius: 50%; inset-inline-end: -200px; top: -260px; background: radial-gradient(closest-side, rgba(243, 183, 63, .16), transparent 70%); pointer-events: none; }
.site-footer .wm { position: absolute; inset-inline-start: -2%; bottom: -8%; font-family: var(--font-latin); font-weight: 800; font-size: clamp(160px, 26vw, 360px); letter-spacing: -.06em; line-height: 1; color: rgba(255, 255, 255, .025); pointer-events: none; user-select: none; }
.site-footer .wrap { position: relative; }
.site-footer .ftop { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 40px; align-items: start; padding: 64px 0 44px; border-bottom: 1px solid var(--footer-line); }
.site-footer .ident { display: grid; gap: 12px; }
.site-footer .ident .brand img { height: 76px; width: auto; }
.site-footer .ident .tag { font-size: clamp(24px, 2.6vw, 34px); font-weight: 800; letter-spacing: -.02em; line-height: 1.1; background: var(--gold-text-grad); -webkit-background-clip: text; background-clip: text; color: transparent; margin-top: 10px; }
:root:not([data-theme="dark"]) .site-footer .ident .tag { background: linear-gradient(100deg, #FBD98A, #F3B73F 50%, #E9AE38); -webkit-background-clip: text; background-clip: text; }
html[dir="rtl"] .site-footer .ident .tag { letter-spacing: 0; line-height: 1.5; }
.site-footer .ident .sub { color: var(--footer-muted); font-size: 16px; max-width: 48ch; }
.site-footer .socials { display: flex; gap: 10px; margin-top: 8px; }
.site-footer .socials a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--footer-line); color: var(--footer-muted); background: rgba(255, 255, 255, .02); transition: color .3s, border-color .3s, transform .3s var(--ease), background .3s; }
.site-footer .socials a:hover { color: var(--gold-ink); border-color: var(--gold); background: var(--gold-grad); transform: translateY(-3px); }
.site-footer .socials svg { width: 18px; height: 18px; }
.site-footer .get { display: grid; gap: 14px; justify-items: start; padding: 26px; border-radius: 24px; border: 1px solid var(--footer-line); background: rgba(255, 255, 255, .025); }
.site-footer .get b { font-size: 17px; }
.site-footer .get .btn.sec { color: var(--footer-ink); border-color: rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .04); }
.site-footer .cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; padding: 44px 0 36px; }
.site-footer .col { display: grid; gap: 10px; align-content: start; }
.site-footer .col b { font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
html[dir="rtl"] .site-footer .col b { letter-spacing: 0; font-size: 14px; }
.site-footer .col a { position: relative; width: max-content; max-width: 100%; color: var(--footer-muted); font-size: 15.5px; font-weight: 500; transition: color .25s; }
.site-footer .col a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
html[dir="rtl"] .site-footer .col a::after { transform-origin: right; }
.site-footer .col a:hover { color: var(--footer-ink); } .site-footer .col a:hover::after { transform: scaleX(1); }
.site-footer .langs-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; padding: 18px 0; border-top: 1px solid var(--footer-line); }
.site-footer .langs-row b { font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); } html[dir="rtl"] .site-footer .langs-row b { letter-spacing: 0; }
.site-footer .langs-row div { display: flex; flex-wrap: wrap; gap: 6px; }
.site-footer .langs-row a { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--footer-line); color: var(--footer-muted); font-size: 14px; font-weight: 600; transition: color .25s, border-color .25s; }
.site-footer .langs-row a:hover { color: var(--footer-ink); border-color: var(--gold); }
.site-footer .langs-row a.on { color: var(--gold-ink); background: var(--gold-grad); border-color: transparent; }
.site-footer .bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 20px; padding: 18px 0 30px; border-top: 1px solid var(--footer-line); color: var(--footer-muted); font-size: 14px; }
.site-footer .bottom a { color: var(--footer-muted); } .site-footer .bottom a:hover { color: var(--gold); }
.site-footer .dot { display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: var(--gold); margin: 0 8px; vertical-align: middle; }
@media (max-width: 1000px) { .site-footer .ftop { grid-template-columns: 1fr; } .site-footer .cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .site-footer .cols { grid-template-columns: 1fr; } .site-footer .get { width: 100%; } }

/* reveal on scroll (site.js adds .in; without JS everything is visible) */
html.js .rv { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
html.js .rv.in { opacity: 1; transform: none; }
html.js .rv:nth-child(2) { transition-delay: .06s; } html.js .rv:nth-child(3) { transition-delay: .12s; } html.js .rv:nth-child(4) { transition-delay: .18s; } html.js .rv:nth-child(5) { transition-delay: .24s; } html.js .rv:nth-child(6) { transition-delay: .3s; }

/* DIO widget */
.dio-fab { position: fixed; z-index: 38; bottom: 18px; inset-inline-end: 18px; width: 72px; height: 72px; border-radius: 50%; border: 1px solid var(--line); background: var(--bg-2); box-shadow: var(--shadow); cursor: pointer; display: grid; place-items: center; padding: 0; transition: transform .3s var(--ease), box-shadow .3s; }
.dio-fab:hover { transform: translateY(-3px); box-shadow: 0 24px 50px rgba(201, 143, 31, .25); }
.dio-fab img { height: 62px; width: auto; transform: translateY(-2px); }
.dio-fab .ring { position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--gold); opacity: .55; animation: pulse 2.6s ease-out infinite; }
@keyframes pulse { 0% { transform: scale(.92); opacity: .6; } 100% { transform: scale(1.18); opacity: 0; } }
.dio-panel { position: fixed; z-index: 38; bottom: 100px; inset-inline-end: 18px; width: min(380px, calc(100vw - 36px)); max-height: min(560px, calc(100vh - 130px)); background: var(--bg-2); border: 1px solid var(--line); border-radius: 26px; box-shadow: var(--shadow); display: none; grid-template-rows: auto 1fr auto; overflow: hidden; }
.dio-panel[open] { display: grid; animation: popin2 .3s var(--ease); }
@keyframes popin2 { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.dio-panel header { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, rgba(233, 174, 56, .08), transparent); }
.dio-panel header img { height: 36px; } .dio-panel header b { font-size: 16px; } .dio-panel header small { display: block; color: var(--ink-3); font-size: 13px; }
.dio-panel header button { margin-inline-start: auto; }
.dio-log { overflow: auto; padding: 14px; display: grid; gap: 8px; align-content: start; }
.dio-msg { max-width: 86%; padding: 10px 14px; border-radius: 16px; font-size: 15px; line-height: 1.5; }
.dio-msg.in { background: var(--bg-3); justify-self: start; border-end-start-radius: 4px; }
.dio-msg.out { background: var(--gold-grad); color: var(--gold-ink); justify-self: end; border-end-end-radius: 4px; }
.dio-msg.note { color: var(--ink-3); font-size: 13.5px; justify-self: center; }
.dio-form { display: flex; gap: 8px; padding: 10px; border-top: 1px solid var(--line); align-items: center; }
.dio-form input { flex: 1; min-width: 0; height: 44px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--bg); }
.dio-form input:focus { outline: none; border-color: var(--gold); }
.dio-form button { width: 44px; height: 44px; border-radius: 12px; border: 0; background: var(--gold-grad); color: var(--gold-ink); display: grid; place-items: center; cursor: pointer; flex: none; }
.dio-form button.mic { background: var(--bg-3); color: var(--ink); } .dio-form button.mic.rec { background: #B3261E; color: #fff; }
.dio-form button svg { width: 20px; height: 20px; }
@media print { .dio-fab, .dio-panel, .site-header, .site-footer, .prin-card { display: none !important; } }

/* digital card */
.card-page { min-height: 100vh; display: grid; place-items: center; padding: 24px 16px; background: radial-gradient(60% 50% at 50% 0%, rgba(233, 174, 56, .22), transparent), var(--bg); }
.dcard { width: min(100%, 420px); background: #0F0E0C; color: #F5F1E8; border-radius: 32px; padding: 28px; box-shadow: var(--shadow); display: grid; gap: 16px; border: 1px solid #2A2620; }
.dcard .logo { height: 44px; width: auto; }
.dcard .mono { width: 72px; height: 72px; border-radius: 22px; background: var(--gold-grad); color: var(--gold-ink); display: grid; place-items: center; font-weight: 800; font-size: 26px; font-family: var(--font-latin); }
.dcard h1 { font-size: 28px; } .dcard .role { color: var(--gold); font-weight: 700; } .dcard .co { color: #B7AE9F; }
.dcard .acts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.dcard .acts a, .dcard .acts button { display: grid; justify-items: center; gap: 6px; padding: 12px 6px; border-radius: 16px; background: #1D1A15; border: 1px solid #2A2620; color: #F5F1E8; font-size: 13px; font-weight: 700; cursor: pointer; transition: border-color .3s, transform .3s var(--ease); }
.dcard .acts a:hover, .dcard .acts button:hover { border-color: var(--gold); transform: translateY(-2px); }
.dcard .acts svg { width: 22px; height: 22px; color: var(--gold); }
.dcard .qr { background: #fff; border-radius: 18px; padding: 12px; display: grid; place-items: center; }
.dcard .qr svg { width: 160px; height: 160px; }
.dcard .hint { color: #B7AE9F; font-size: 13.5px; text-align: center; }

/* internal hub */
.hub { min-height: 100vh; display: grid; align-content: start; gap: 22px; padding: 40px 16px 60px; width: min(100%, 960px); margin-inline: auto; }
.hub .top { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.hub .top img { height: 42px; }
.hub .box { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; display: grid; gap: 12px; box-shadow: var(--shadow-sm); }
.hub .panels { display: grid; gap: 10px; }
@media (min-width: 900px) { .hub .panels { grid-template-columns: 1fr 1fr; } .hub .panels .grp-title { grid-column: 1 / -1; } }
.hub .panel { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 16px; background: var(--bg); border: 1px solid var(--line); transition: border-color .3s, transform .3s var(--ease); }
.hub .panel:hover { border-color: var(--card-hover-line); transform: translateY(-2px); }
.hub .panel b { font-size: 16px; } .hub .panel small { display: block; color: var(--ink-3); font-size: 13.5px; }
.hub .panel .st { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--ink-3); }
.hub .panel .st::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #9B9284; }
.hub .panel .st.up { color: #1E7A51; } .hub .panel .st.up::before { background: #2C9D6B; }
.hub .panel .st.down { color: #B3261E; } .hub .panel .st.down::before { background: #B3261E; }
.hub .grp-title { font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-top: 8px; }
html[dir="rtl"] .hub .grp-title { letter-spacing: 0; font-size: 13.5px; }
.hub .lang-row { display: flex; gap: 8px; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } html { scroll-behavior: auto; } html.js .rv { opacity: 1; transform: none; } }

/* ---------- v0.99.0: the intro — DEDA's logo motion over the page (src/intro.js draws it; the page's head decides it before the first paint) ---------- */
@font-face { font-family: 'Poppins'; font-weight: 700; font-display: swap; src: url('/assets/fonts/poppins-700.woff') format('woff'); }
#deda-intro { display: none; position: fixed; inset: 0; z-index: 2000; overflow: hidden; direction: ltr; cursor: pointer; -webkit-tap-highlight-color: transparent; user-select: none; transition: opacity .45s ease;
  background: linear-gradient(180deg, #FCF8EF 0%, #F5EDDC 50%, #EBDDC2 100%); --it: #14110D; --ig: #D99A00; --il: rgba(201, 144, 27, .30); --ic: rgba(251, 196, 46, .20); --icl: rgba(201, 144, 27, .55); --ir: rgba(201, 144, 27, .55); }
:root[data-theme="dark"] #deda-intro { background: linear-gradient(180deg, #0D0B09 0%, #0A0908 50%, #070605 100%); --it: #FBF7EF; --ig: #FBC42E; --il: rgba(251, 196, 46, .22); --ic: rgba(251, 196, 46, .10); --icl: rgba(251, 196, 46, .42); --ir: rgba(251, 196, 46, .55); }
html.intro-on:not(.intro-out) { overflow: hidden; } html.intro-on #deda-intro { display: block; }
#deda-intro.out { opacity: 0; pointer-events: none; } #deda-intro.out.fast { transition-duration: .22s; }
#deda-intro, #deda-intro * { box-sizing: border-box; }
#deda-intro > *, .di-lock > *, .di-mark > *, .di-taghalo { position: absolute; }
.di-sun, .di-low { inset: 0; pointer-events: none; }
.di-low { background: radial-gradient(60% 60% at 50% 100%, rgba(230, 179, 90, .22), rgba(230, 179, 90, 0)); } :root[data-theme="dark"] .di-low { background: radial-gradient(60% 60% at 50% 100%, rgba(214, 120, 40, .10), rgba(214, 120, 40, 0)); }
.di-ring { border-radius: 50%; border: 1.5px solid var(--ir); opacity: 0; } :root[data-theme="dark"] .di-ring { border-width: 1px; }
.di-lock { left: 0; top: 0; width: 100%; height: 0; }
.di-mark { opacity: 0; transform-origin: 50% 55%; }
.di-mark img, .di-flash { left: 0; top: 0; width: 100%; height: 100%; max-width: none; }
.di-flash { opacity: 0; }
.di-tag { opacity: 0; } .di-tag img { position: relative; width: 100%; height: auto; }
.di-taghalo { left: -30px; right: -30px; top: -14px; bottom: -14px; border-radius: 40px; background: linear-gradient(90deg, rgba(251, 196, 46, 0), rgba(251, 196, 46, .32), rgba(251, 196, 46, 0)); } :root[data-theme="dark"] .di-taghalo { background: linear-gradient(90deg, rgba(251, 196, 46, 0), rgba(251, 196, 46, .22), rgba(251, 196, 46, 0)); }
.di-chip { border-radius: 50%; background: var(--ic); border: 1px solid var(--icl); display: flex; align-items: center; justify-content: center; opacity: 0; }
.di-chip svg { fill: none; stroke: var(--ig); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.di-word { display: flex; align-items: center; font-family: 'Poppins', 'Inter Tight', system-ui, sans-serif; font-weight: 700; color: var(--it); white-space: nowrap; letter-spacing: -.2px; direction: ltr; }
.di-word.c { justify-content: center; }
.di-word .ini { display: inline-block; color: var(--ig); opacity: 0; } .di-word .clip { display: inline-block; overflow: hidden; } .di-word .rest { display: inline-block; opacity: 0; }
.di-hair { background: var(--il); opacity: 0; }
.di-spark { width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px; border-radius: 50%; background: #FFD45A; box-shadow: 0 0 10px 3px rgba(251, 196, 46, .75), 0 0 22px 8px rgba(251, 196, 46, .28); opacity: 0; }
.di-tail { height: 2px; margin-top: -1px; border-radius: 2px; transform-origin: 0 50%; background: linear-gradient(90deg, rgba(251, 196, 46, 0), rgba(251, 196, 46, .85)); opacity: 0; }
.di-rule { height: 1px; opacity: 0; } .di-rule i { position: absolute; top: 0; height: 1px; background: linear-gradient(90deg, rgba(251, 196, 46, 0), var(--ig)); } .di-rule i.r { background: linear-gradient(270deg, rgba(251, 196, 46, 0), var(--ig)); }
.di-rule b { position: absolute; left: 50%; top: 50%; width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px; background: var(--ig); }
.di-line { text-align: center; color: var(--it); font-family: 'Inter Tight', system-ui, sans-serif; font-weight: 600; letter-spacing: .1px; direction: ltr; opacity: 0; } .di-line em { font-style: normal; color: var(--ig); }

/* v0.100.0 (the owner, 16 Nov 2026: taxi, restaurants and supermarkets first; board deda-v0.100.0-board-web): opening first /
   coming soon, the business page's free-to-join block, Moments or Ambassadors, what DEDA is in the footer */
.open-lead { margin: 0 0 18px; display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: var(--r-pill); background: var(--bg-2); border: 1px solid var(--line); font-weight: 700; }
.open-lead::before { content: ''; flex: none; width: 9px; height: 9px; border-radius: 50%; background: #12A86E; box-shadow: 0 0 0 4px rgba(18, 168, 110, .15); }
.card .st { position: absolute; top: 22px; inset-inline-end: 22px; height: 26px; display: inline-flex; align-items: center; padding: 0 11px; border-radius: var(--r-pill); font-size: 12px; font-style: normal; font-weight: 800; letter-spacing: .02em; }
.card .st.first, .area .st.first { background: var(--gold-grad); color: var(--gold-ink); }
.card .st.soon, .area .st.soon { background: transparent; color: var(--ink-3); border: 1px solid var(--line); }
.card.is-soon .ic, .area.is-soon .ic { filter: grayscale(.7); opacity: .55; }
.card.is-soon h3 { opacity: .78; }
.card.is-soon p { opacity: .7; }
.card.is-open { border-color: rgba(233, 174, 56, .55); box-shadow: 0 10px 30px -18px rgba(233, 174, 56, .6); }
.area { position: relative; }
.area .st { font-style: normal; font-size: 10.5px; font-weight: 800; padding: 2px 8px; border-radius: var(--r-pill); margin-top: 2px; }
.biz-board { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 22px; align-items: stretch; }
@media (max-width: 760px) { .biz-board { grid-template-columns: 1fr; } }
.bb-free { border-radius: var(--r); padding: 26px; background: var(--gold-grad); color: var(--gold-ink); display: grid; gap: 8px; align-content: center; }
.bb-free b { font-size: 34px; line-height: 1.05; font-weight: 900; letter-spacing: -.01em; }
.bb-free span { font-weight: 600; opacity: .85; }
.bb-lines { border-radius: var(--r); padding: 24px 26px; background: var(--bg-2); border: 1px solid var(--line); display: grid; gap: 10px; align-content: center; }
.bb-lines p { margin: 0; }
.bb-phase { padding-inline-start: 14px; border-inline-start: 3px solid #12A86E; font-weight: 600; }
.bb-honest { color: var(--ink-2); font-size: .95em; }
.earn-note { margin-top: 18px; max-width: 70ch; }
.site-footer .ident .role { margin: 10px 0 0; max-width: 52ch; font-size: 12.5px; line-height: 1.65; color: var(--footer-muted); opacity: .8; }

/* v0.116.0 (the marketing team's review): the order's journey in a row of 4 (7 steps: 4 + 3) */
.journey .steps.row { grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 0; margin: 0; }
@media (max-width: 900px) { .journey .steps.row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .journey .steps.row { grid-template-columns: 1fr; } }

/* v0.119.0 — Invite friends (board deda-v0.119.0-board-website-invite, approved): the numbers in gold, the invite card and
   its QR beside the title, four tiles of the plan, the four steps numbered, the rewards and the rules side by side */
.inv-v { color: var(--gold-text); font-weight: 800; }
.inv-lead { margin-top: 18px; }
.inv-hero .btn-row { margin-top: 26px; }
.inv-art { position: relative; width: min(100%, 440px); min-height: 370px; margin-inline: auto; }
.inv-card { position: relative; overflow: hidden; display: grid; align-content: start; gap: 6px; width: min(100%, 400px); aspect-ratio: 1200 / 630; margin-inline-start: auto; padding: 22px 24px; border-radius: 20px; background: radial-gradient(120% 140% at 85% 70%, #3A2A0C 0%, #15110A 55%, #0C0A07 100%); color: #FFFFFF; box-shadow: 0 30px 60px rgba(20, 14, 4, .35); }
.inv-card img { width: 64px; height: auto; } .inv-card b { max-width: 52%; font-size: 23px; line-height: 1.18; font-weight: 800; margin-top: 8px; }
.inv-card span { max-width: 52%; color: #D9CFBF; font-size: 13px; }
.inv-card .inv-dio { position: absolute; inset-inline-end: 2%; bottom: -6%; width: 40%; height: auto; }
.inv-qr { position: absolute; inset-inline-start: 0; top: 168px; display: grid; justify-items: center; gap: 6px; width: 172px; padding: 14px; border-radius: 18px; background: #FFFFFF; border: 1px solid rgba(20, 17, 13, .12); box-shadow: 0 24px 48px rgba(20, 14, 4, .22); color: #14110D; }
.inv-qr img { width: 40px; height: auto; } .inv-qr b { font-size: 13px; font-weight: 800; text-align: center; } .inv-qr svg { width: 124px; height: 124px; }
.inv-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.inv-stats > div { display: grid; gap: 4px; padding: 18px 20px; border-radius: var(--r); background: var(--bg-2); border: 1px solid var(--line); }
.inv-stats b { font-size: 26px; font-weight: 800; color: var(--gold-text); } .inv-stats b .inv-v { color: inherit; } .inv-stats span .inv-v { font-size: inherit; } .inv-stats span { color: var(--ink-2); font-size: 14.5px; }
.inv-steps.steps.row { padding: 0; margin: 0; }
.inv-two .card h3 { margin-bottom: 6px; }
.inv-off { margin-top: 16px; }
.inv-teaser { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px; text-decoration: none; color: inherit; }
.inv-teaser h3 { margin: 0 0 4px; } .inv-teaser p { margin: 0; color: var(--ink-2); } .inv-teaser .more { color: var(--gold-text); font-weight: 700; display: inline-flex; gap: 6px; align-items: center; white-space: nowrap; } .inv-teaser .more svg { width: 18px; height: 18px; }
[dir="rtl"] .inv-teaser .more svg, [dir="rtl"] .inv-hero .btn svg { transform: scaleX(-1); }
@media (max-width: 900px) { .inv-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .inv-art { min-height: 340px; } }
@media (max-width: 560px) { .inv-card { padding: 16px 18px; } .inv-card img { width: 52px; } .inv-card b { font-size: 17px; max-width: 64%; } .inv-card span { max-width: 64%; font-size: 12px; } .inv-card .inv-dio { width: 30%; bottom: -4%; } .inv-qr { width: 140px; padding: 10px; top: 150px; } .inv-qr svg { width: 100px; height: 100px; } .inv-teaser { grid-template-columns: auto 1fr; } .inv-teaser .more { grid-column: 1 / -1; } .inv-stats b { font-size: 22px; } }
/* v0.119.0: the header's last two steps (site.js): a tighter row, then «Invite friends» in «More» instead of the row */
.mega-link.inv-alt { display: none; }
.site-header.hdr-nav-tight .nav { margin-inline-start: 6px; gap: 0; } .site-header.hdr-nav-tight .nav > a, .site-header.hdr-nav-tight .nav > details > summary { padding: 0 9px; font-size: 14.5px; }
.site-header.hdr-nav-less .nav > a[href$="/invite/"] { display: none; } .site-header.hdr-nav-less .mega-link.inv-alt { display: grid; }

/* v0.119.1 — «Invite friends» in the header in its own colour (the owner: «با رنگی دیگر متمایز کن … باید خوب دیده بشود»):
   a pill with a gift, in the row, in «More» and first in the phone's menu */
/* (the review: white words readable on it — darker greens in Light) */
:root { --inv: #047857; --inv-2: #059669; --inv-ink: #FFFFFF; --inv-glow: rgba(4, 120, 87, .30); }
:root[data-theme="dark"] { --inv: #16B67E; --inv-2: #34D399; --inv-ink: #04140D; --inv-glow: rgba(52, 211, 153, .28); }
.nav > a.nav-invite { height: 38px; margin-inline: 6px 2px; padding: 0 15px 0 12px; border-radius: var(--r-pill); background: linear-gradient(135deg, var(--inv-2), var(--inv)); color: var(--inv-ink); font-weight: 800; box-shadow: 0 8px 20px var(--inv-glow); transition: transform .25s var(--ease), box-shadow .25s; }
.nav > a.nav-invite svg { width: 18px; height: 18px; flex: none; }
.nav > a.nav-invite > span::after { display: none; }
.nav > a.nav-invite:hover, .nav > a.nav-invite.on { color: var(--inv-ink); transform: translateY(-1px); box-shadow: 0 12px 26px var(--inv-glow); }
.site-header.hdr-nav-tight .nav > a.nav-invite { padding: 0 12px 0 10px; }
.mobile-nav a.nav-invite { justify-content: flex-start; gap: 10px; background: linear-gradient(135deg, var(--inv-2), var(--inv)); color: var(--inv-ink); border: 0; font-weight: 800; box-shadow: 0 10px 24px var(--inv-glow); }
.mobile-nav a.nav-invite svg { width: 20px; height: 20px; }
.mega-link.inv-alt .ic { background: linear-gradient(135deg, var(--inv-2), var(--inv)); color: var(--inv-ink); }
@media (prefers-reduced-motion: no-preference) { .nav > a.nav-invite svg { animation: inv-wiggle 4.5s ease-in-out 1.5s infinite; } }
@keyframes inv-wiggle { 0%, 88%, 100% { transform: rotate(0); } 91% { transform: rotate(-14deg); } 94% { transform: rotate(12deg); } 97% { transform: rotate(-6deg); } }

/* v0.121.0 — DEDA's shopping assistants: the questions and the sign-up (phone by code → you and your documents → the agreement → done) */
.faq { display: grid; gap: 10px; max-width: 860px; }
.faq details { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 0 20px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 700; color: var(--ink); display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--gold-text); font-weight: 800; }
.faq details[open] summary::after { content: '–'; }
.faq details p { margin: 0 0 18px; color: var(--ink-2); line-height: 1.7; }
.asst-join { max-width: 860px; margin: 0 auto; }
.aj-steps { list-style: none; margin: 0 0 16px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.aj-steps li { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: var(--r-pill); border: 1px solid var(--line); background: var(--bg-2); font-size: 13.5px; font-weight: 700; color: var(--ink-3); }
.aj-steps li span { flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-3); color: var(--ink-2); font-size: 12.5px; }
.aj-steps li.on { color: var(--ink); border-color: var(--gold); } .aj-steps li.on span { background: var(--gold-grad); color: var(--gold-ink); }
.aj-steps li.done span { background: #1E7A51; color: #fff; }
.aj-form { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; box-shadow: var(--shadow-sm); display: grid; gap: 12px; }
.aj-form fieldset { border: 0; margin: 0; padding: 0; display: none; gap: 14px; } .aj-form fieldset.on { display: grid; }
.aj-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.aj-form .note { margin: 0; color: var(--ink-3); font-size: 13.5px; display: flex; gap: 6px; align-items: center; } .aj-form .note svg { width: 15px; height: 15px; flex: none; }
.ups { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.up { position: relative; display: grid; justify-items: center; align-content: center; gap: 4px; min-height: 112px; padding: 12px; text-align: center; border: 1.5px dashed var(--line-2); border-radius: var(--r-sm); background: var(--bg); cursor: pointer; transition: border-color .25s, background .25s; }
.up input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.up .ic svg { width: 22px; height: 22px; color: var(--gold-text); } .up b { font-size: 13.5px; color: var(--ink); } .up small { font-size: 12px; color: var(--ink-3); }
.up.ok { border-style: solid; border-color: #1E7A51; background: rgba(30, 122, 81, .07); } .up.ok small { color: #1E7A51; font-weight: 700; }
.aj-terms { max-height: 260px; overflow: auto; padding: 16px 18px; border-radius: var(--r-sm); border: 1px solid #E8B4A4; background: #FBEDE8; color: #3B2A22; font-size: 14.5px; line-height: 1.75; }
:root[data-theme="dark"] .aj-terms { background: #2A1A14; border-color: #6B3A2A; color: #F1DDD3; }
.aj-terms p { margin: 0; }
.aj-agree { display: flex; gap: 10px; align-items: flex-start; font-weight: 700; color: var(--ink); } .aj-agree input { width: 20px; height: 20px; accent-color: #E9AE38; margin-top: 2px; }
.aj-done { display: grid; justify-items: center; text-align: center; gap: 10px; padding: 10px 0; }
.aj-done > .ic { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: rgba(30, 122, 81, .12); color: #1E7A51; } .aj-done > .ic svg { width: 28px; height: 28px; }
.aj-done h3 { margin: 0; font-size: 22px; } .aj-done p { margin: 0; color: var(--ink-2); max-width: 560px; line-height: 1.7; }
@media (max-width: 760px) { .aj-steps { grid-template-columns: repeat(2, 1fr); } .ups { grid-template-columns: 1fr 1fr; } .aj-form .row { grid-template-columns: 1fr; } .aj-form { padding: 18px; } }
.asst-how .steps.row { grid-template-columns: repeat(5, minmax(0, 1fr)); padding: 0; margin: 0; }
@media (max-width: 1080px) { .asst-how .steps.row { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 700px) { .asst-how .steps.row { grid-template-columns: 1fr; } }
