:root {
  --ink: #081714;
  --muted: #52635f;
  --paper: #f5f7f2;
  --panel: #ffffff;
  --line: color-mix(in srgb, var(--ink) 12%, transparent);
  --accent: #0d5f4b;
  --signal: #cdf35c;
  --soft: #e8f2ed;
  --shadow: 0 24px 70px rgba(8, 23, 20, .13);
  --radius: 28px;
  --page: min(1180px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; line-height: 1.55; text-rendering: optimizeLegibility; }
body[data-root="1"] { --accent:#155447; --signal:#d9f26a; --soft:#eaf2e8; }
body[data-root="2"] { --accent:#673679; --signal:#efbcff; --soft:#f4eafa; }
body[data-root="3"] { --accent:#825115; --signal:#ffd170; --soft:#f8eedc; }
body[data-root="4"] { --accent:#0a4f45; --signal:#cffa4f; --soft:#e4f2ec; }
body[data-root="5"] { --accent:#4e3b92; --signal:#c8b8ff; --soft:#eeeafa; }
body[data-root="6"] { --accent:#143f79; --signal:#7ddfff; --soft:#e6f2fb; }
body[data-root="7"] { --accent:#075b70; --signal:#7de6df; --soft:#e5f5f4; }
body[data-root="8"] { --accent:#773d22; --signal:#ffbd7c; --soft:#f7ece5; }
body[data-root="9"] { --accent:#71283b; --signal:#ff9db3; --soft:#f7e8ed; }

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, summary { font: inherit; }
button { color: inherit; }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 4px; border-radius: 8px; }
::selection { color: var(--ink); background: var(--signal); }

.skip-link { position: fixed; z-index: 1000; left: 18px; top: 14px; padding: 10px 14px; border-radius: 10px; color: #fff; background: var(--ink); transform: translateY(-160%); transition: transform .2s ease; }
.skip-link:focus { transform: translateY(0); }
.preview-note { margin: 0; padding: 7px 20px; color: var(--ink); background: var(--signal); font-size: 11px; font-weight: 850; letter-spacing: .12em; text-align: center; text-transform: uppercase; }

.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid rgba(8, 23, 20, .08); background: color-mix(in srgb, var(--paper) 90%, transparent); backdrop-filter: blur(18px); }
.header-inner { width: var(--page); min-height: 82px; margin: 0 auto; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; width: max-content; font-size: 19px; font-weight: 850; letter-spacing: -.035em; }
.brand-mark { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 13px; color: #fff; background: var(--accent); box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); }
.brand-mark::after { content: ""; width: 13px; height: 13px; border: 3px solid var(--signal); border-radius: 5px 5px 5px 1px; transform: rotate(-12deg); }
.main-nav { display: flex; align-items: center; gap: 22px; }
.main-nav a { position: relative; color: #40514c; font-size: 13px; font-weight: 700; }
.main-nav a::after { content:""; position:absolute; left:0; right:100%; bottom:-7px; height:2px; background:var(--accent); transition:right .22s ease; }
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { right:0; }
.header-tools { justify-self: end; display: flex; align-items: center; gap: 10px; }
.language-links { display: inline-flex; padding: 3px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.6); }
.language-links a { padding: 7px 9px; border-radius: 999px; color: var(--muted); font-size: 10px; font-weight: 850; text-transform: uppercase; }
.language-links a[aria-current="page"] { color:#fff; background:var(--accent); }
.pill-link { padding: 11px 15px; border: 1px solid var(--line); border-radius: 999px; font-size: 12px; font-weight: 800; }
.menu-button { display:none; width:44px; height:44px; border:1px solid var(--line); border-radius:13px; background:#fff; cursor:pointer; }

.hero { position: relative; overflow: clip; }
.hero::before { content:""; position:absolute; width:520px; height:520px; left:-260px; top:-240px; border-radius:50%; background:var(--signal); filter:blur(2px); opacity:.3; }
.hero-inner { width: var(--page); min-height: min(790px, calc(100vh - 82px)); margin: 0 auto; padding: 76px 0 92px; display:grid; grid-template-columns:minmax(0,1.04fr) minmax(420px,.96fr); gap:clamp(40px,7vw,110px); align-items:center; }
.breadcrumbs { display:flex; flex-wrap:wrap; align-items:center; gap:8px; color:#64756f; font-size:10px; font-weight:750; letter-spacing:.09em; text-transform:uppercase; }
.breadcrumbs i { width:4px; height:4px; border-radius:50%; background:currentColor; opacity:.5; }
.eyebrow { margin:28px 0 18px; color:var(--accent); font-size:11px; font-weight:900; letter-spacing:.16em; text-transform:uppercase; }
h1, h2, h3, p { overflow-wrap:anywhere; }
h1 { max-width:800px; margin:0; font-size:clamp(48px,6.4vw,94px); line-height:.94; letter-spacing:-.068em; text-wrap:balance; }
.hero-lead { max-width:730px; margin:30px 0 0; color:var(--muted); font-size:clamp(18px,1.65vw,24px); line-height:1.52; text-wrap:pretty; }
.hero-actions { display:flex; flex-wrap:wrap; align-items:center; gap:16px; margin-top:34px; }
.button { display:inline-flex; align-items:center; justify-content:center; min-height:48px; padding:13px 20px; border:1px solid var(--ink); border-radius:999px; font-size:13px; font-weight:850; transition:transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform:translateY(-2px); box-shadow:0 10px 25px rgba(8,23,20,.14); }
.button-primary { color:#fff; background:var(--ink); }
.button-secondary { border-color:var(--line); background:rgba(255,255,255,.72); }
.trust-chain { display:flex; flex-wrap:wrap; align-items:center; gap:9px; margin-top:38px; color:#657770; font-size:10px; font-weight:800; letter-spacing:.08em; text-transform:uppercase; }
.trust-chain i { width:5px; height:5px; border-radius:50%; background:var(--signal); box-shadow:0 0 0 4px color-mix(in srgb,var(--signal) 30%,transparent); }

.hero-visual { min-height:550px; position:relative; display:grid; place-items:center; isolation:isolate; }
.hero-orbit { position:absolute; inset:9% 2%; border:1px solid color-mix(in srgb,var(--accent) 22%,transparent); border-radius:45% 55% 57% 43% / 56% 43% 57% 44%; animation:orbit 19s linear infinite; }
.hero-orbit:nth-child(2) { inset:2% 15%; animation-duration:25s; animation-direction:reverse; }
.hero-disc { position:absolute; width:min(470px,80vw); aspect-ratio:1; border-radius:44% 56% 63% 37% / 40% 48% 52% 60%; background:var(--signal); transform:rotate(-8deg); box-shadow:0 50px 100px color-mix(in srgb,var(--accent) 22%,transparent); }
.signal-card { position:relative; z-index:2; width:min(430px,84vw); padding:28px; border:1px solid rgba(255,255,255,.65); border-radius:28px; color:#fff; background:linear-gradient(145deg,color-mix(in srgb,var(--accent) 92%,#000),color-mix(in srgb,var(--accent) 70%,#061b16)); box-shadow:var(--shadow); transform:rotate(1.5deg); }
.signal-top { display:flex; justify-content:space-between; gap:18px; color:rgba(255,255,255,.72); font-size:10px; font-weight:850; letter-spacing:.12em; text-transform:uppercase; }
.signal-score { display:flex; align-items:end; justify-content:space-between; gap:20px; margin:30px 0; }
.signal-score strong { font-size:66px; line-height:.85; letter-spacing:-.07em; }
.signal-score span { max-width:150px; font-size:12px; color:rgba(255,255,255,.74); text-align:end; }
.signal-lines { display:grid; gap:14px; }
.signal-line { display:grid; grid-template-columns:105px 1fr auto; align-items:center; gap:12px; font-size:10px; }
.signal-line i { position:relative; height:6px; border-radius:999px; background:rgba(255,255,255,.16); overflow:hidden; }
.signal-line i::after { content:""; position:absolute; inset:0; width:var(--score); border-radius:inherit; background:var(--signal); transform-origin:left; animation:grow 1.2s .3s both ease-out; }
[dir="rtl"] .signal-line i::after { transform-origin:right; }
.float-chip { position:absolute; z-index:3; padding:13px 16px; border-radius:16px; color:var(--ink); background:#fff; box-shadow:0 16px 40px rgba(8,23,20,.16); font-size:11px; font-weight:750; animation:float 5s ease-in-out infinite; }
.float-chip b { display:block; color:var(--accent); font-size:20px; }
.float-a { left:0; top:22%; transform:rotate(-5deg); }
.float-b { right:1%; bottom:17%; transform:rotate(4deg); animation-delay:-2s; }

.section { width:var(--page); margin:0 auto; padding:100px 0; }
.section-head { display:grid; grid-template-columns:minmax(0,1fr) minmax(280px,.55fr); gap:60px; align-items:end; margin-bottom:46px; }
.section-head .eyebrow { margin-top:0; }
.section h2 { max-width:820px; margin:0; font-size:clamp(36px,4.3vw,68px); line-height:1; letter-spacing:-.055em; text-wrap:balance; }
.section-head > p { margin:0; color:var(--muted); font-size:17px; }
.problem-grid { display:grid; grid-template-columns:1.1fr .9fr; gap:24px; }
.problem-card, .gap-card { padding:clamp(28px,4vw,54px); border-radius:var(--radius); }
.problem-card { color:#fff; background:var(--ink); box-shadow:var(--shadow); }
.gap-card { border:1px solid var(--line); background:#fff; }
.card-label { display:block; margin-bottom:24px; color:var(--signal); font-size:10px; font-weight:900; letter-spacing:.14em; text-transform:uppercase; }
.gap-card .card-label { color:var(--accent); }
.problem-card p, .gap-card p { margin:0; font-size:clamp(18px,2vw,26px); line-height:1.45; }

.solution-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.solution-card { position:relative; min-height:280px; padding:30px; border:1px solid var(--line); border-radius:24px; background:#fff; overflow:hidden; transition:transform .22s ease,border-color .22s ease; }
.solution-card:hover { transform:translateY(-6px); border-color:color-mix(in srgb,var(--accent) 55%,transparent); }
.solution-card::after { content:""; position:absolute; right:-60px; bottom:-90px; width:180px; height:180px; border-radius:50%; background:var(--soft); }
.solution-card > * { position:relative; z-index:1; }
.solution-card span { display:grid; place-items:center; width:38px; height:38px; border-radius:12px; color:#fff; background:var(--accent); font-size:11px; font-weight:900; }
.solution-card p { margin:55px 0 0; font-size:19px; font-weight:720; line-height:1.45; }

.dark-band { color:#fff; background:var(--ink); }
.dark-band .section-head > p, .dark-band .eyebrow { color:#aec2bb; }
.benefit-grid { display:grid; grid-template-columns:repeat(3,1fr); border-top:1px solid rgba(255,255,255,.18); }
.benefit-card { min-height:310px; padding:34px 28px; border-right:1px solid rgba(255,255,255,.18); }
.benefit-card:last-child { border-right:0; }
.benefit-card > span { color:var(--signal); font-size:11px; font-weight:900; }
.benefit-card h3 { margin:80px 0 16px; font-size:23px; letter-spacing:-.025em; }
.benefit-card p { margin:0; color:#bac9c4; }

.master-visual { position:relative; width:var(--page); min-height:520px; margin:92px auto; overflow:hidden; border-radius:32px; background:var(--ink); box-shadow:var(--shadow); }
.master-visual img { width:100%; height:clamp(520px,60vw,700px); object-fit:cover; opacity:.78; }
.master-visual::after { content:""; position:absolute; inset:0; background:linear-gradient(90deg,rgba(6,19,15,.9) 0%,rgba(6,19,15,.62) 42%,rgba(6,19,15,.05) 76%); }
.master-visual figcaption { position:absolute; z-index:2; left:clamp(28px,6vw,76px); bottom:clamp(30px,6vw,72px); max-width:620px; color:#fff; }
.master-visual figcaption span { display:block; margin-bottom:16px; color:var(--signal); font-size:10px; font-weight:900; letter-spacing:.14em; text-transform:uppercase; }
.master-visual figcaption strong { display:block; font-size:clamp(30px,4vw,54px); line-height:1.06; letter-spacing:-.045em; }
.master-visual figcaption p { max-width:560px; margin:18px 0 0; color:#c4d2cd; }
[dir="rtl"] .master-visual::after { background:linear-gradient(-90deg,rgba(6,19,15,.9) 0%,rgba(6,19,15,.62) 42%,rgba(6,19,15,.05) 76%); }
[dir="rtl"] .master-visual figcaption { left:auto; right:clamp(28px,6vw,76px); }

.metric-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:16px; }
.metric-card { min-height:150px; padding:24px; border:1px solid var(--line); border-radius:22px; background:color-mix(in srgb,var(--panel) 84%,var(--soft)); }
.metric-card strong { display:block; color:var(--accent); font-size:clamp(28px,3.3vw,48px); line-height:1; letter-spacing:-.05em; }
.metric-card span { display:block; margin-top:18px; color:var(--muted); font-size:12px; font-weight:750; }

.market-panel { display:grid; grid-template-columns:repeat(2,1fr); gap:18px; }
.revenue-card { padding:30px; border-radius:24px; color:#fff; background:var(--accent); box-shadow:var(--shadow); }
.revenue-meta { display:flex; justify-content:space-between; gap:20px; color:rgba(255,255,255,.72); font-size:10px; font-weight:850; letter-spacing:.1em; text-transform:uppercase; }
.revenue-card h3 { margin:40px 0 9px; font-size:22px; }
.revenue-card strong { display:block; color:var(--signal); font-size:clamp(32px,4vw,56px); line-height:1; letter-spacing:-.055em; }
.revenue-card p { margin:21px 0 0; color:rgba(255,255,255,.78); font-size:13px; }
.assumption { margin:22px 0 0; padding:18px 20px; border-left:4px solid var(--signal); border-radius:0 14px 14px 0; color:var(--muted); background:#fff; }
[dir="rtl"] .assumption { border-left:0; border-right:4px solid var(--signal); border-radius:14px 0 0 14px; }

.provenance-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:14px; }
.provenance-card { min-height:210px; padding:24px; border:1px solid var(--line); border-radius:22px; background:#fff; }
.provenance-dot { width:19px; height:19px; border-radius:50%; box-shadow:0 0 0 7px color-mix(in srgb,var(--status) 18%,transparent); background:var(--status); }
.provenance-card h3 { margin:48px 0 10px; }
.provenance-card p { margin:0; color:var(--muted); font-size:13px; }

.evidence-layout { display:grid; grid-template-columns:.8fr 1.2fr; gap:42px; align-items:start; }
.evidence-copy { position:sticky; top:120px; }
.evidence-list { display:grid; gap:12px; }
.evidence-list details { border:1px solid var(--line); border-radius:18px; background:#fff; }
.evidence-list summary { padding:20px 22px; cursor:pointer; font-weight:800; list-style:none; }
.evidence-list summary::-webkit-details-marker { display:none; }
.evidence-list summary::after { content:"+"; float:inline-end; color:var(--accent); }
.evidence-list details[open] summary::after { content:"–"; }
.evidence-list details p { margin:0; padding:0 22px 22px; color:var(--muted); }

.ecosystem-panel { padding:clamp(30px,5vw,64px); border-radius:32px; background:var(--soft); }
.ecosystem-links { display:grid; grid-template-columns:repeat(3,1fr); gap:14px; margin-top:38px; }
.ecosystem-link { padding:22px; border:1px solid color-mix(in srgb,var(--accent) 15%,transparent); border-radius:18px; background:rgba(255,255,255,.76); transition:transform .2s ease,background .2s ease; }
.ecosystem-link:hover { transform:translateY(-4px); background:#fff; }
.ecosystem-link span, .ecosystem-link small { display:block; color:var(--muted); font-size:10px; }
.ecosystem-link strong { display:block; margin:7px 0 2px; }

.cta-band { width:var(--page); margin:0 auto 30px; padding:clamp(34px,5vw,68px); display:grid; grid-template-columns:1fr auto; gap:30px; align-items:center; border-radius:32px; color:#fff; background:linear-gradient(125deg,var(--accent),var(--ink)); box-shadow:var(--shadow); }
.cta-band h2 { margin:0; font-size:clamp(30px,4vw,56px); line-height:1; letter-spacing:-.05em; }
.cta-band p { max-width:700px; margin:18px 0 0; color:rgba(255,255,255,.72); }
.cta-band .button { border-color:var(--signal); color:var(--ink); background:var(--signal); }

.site-footer { margin-top:70px; color:#dce6e2; background:#06130f; }
.footer-inner { width:var(--page); margin:0 auto; padding:58px 0 32px; }
.footer-top { display:grid; grid-template-columns:1fr 1.15fr; gap:80px; padding-bottom:38px; }
.footer-brand { font-size:23px; font-weight:880; }
.footer-brand small { display:block; margin-top:9px; color:#8da19a; font-size:11px; font-weight:600; }
.footer-copy { margin:0; color:#9eb1aa; }
.footer-links { display:flex; flex-wrap:wrap; gap:10px 18px; padding:24px 0; border-top:1px solid rgba(255,255,255,.12); border-bottom:1px solid rgba(255,255,255,.12); }
.footer-links a { color:#c3d1cc; font-size:12px; }
.footer-bottom { display:flex; justify-content:space-between; gap:22px; padding-top:24px; color:#81958e; font-size:11px; }

.legal-hero { width:var(--page); margin:0 auto; padding:90px 0 52px; }
.legal-hero h1 { max-width:900px; font-size:clamp(44px,6vw,82px); }
.legal-hero p { max-width:760px; color:var(--muted); font-size:19px; }
.legal-layout { width:var(--page); margin:0 auto; display:grid; grid-template-columns:230px minmax(0,760px); justify-content:center; gap:70px; padding:20px 0 110px; }
.legal-toc { position:sticky; top:115px; align-self:start; display:grid; gap:8px; padding:18px; border:1px solid var(--line); border-radius:18px; background:#fff; }
.legal-toc a { color:var(--muted); font-size:11px; font-weight:700; }
.legal-content { min-width:0; }
.legal-section { padding:34px 0; border-bottom:1px solid var(--line); }
.legal-section:first-child { padding-top:0; }
.legal-section h2 { margin:0 0 18px; font-size:26px; letter-spacing:-.03em; }
.legal-section p { color:#40514c; }
.legal-section address { font-style:normal; line-height:1.7; }
.legal-note { margin-top:34px; padding:20px; border-radius:16px; color:var(--muted); background:var(--soft); }
.domain-list { font-size:12px; line-height:1.8; }

.reveal { opacity:0; transform:translateY(22px); transition:opacity .65s ease,transform .65s ease; }
.reveal.is-visible { opacity:1; transform:none; }
@keyframes orbit { to { transform:rotate(360deg); } }
@keyframes float { 0%,100% { margin-top:0; } 50% { margin-top:-10px; } }
@keyframes grow { from { transform:scaleX(0); } to { transform:scaleX(1); } }

[dir="rtl"] body { font-family:"Noto Sans Arabic", Tahoma, Arial, sans-serif; }
[dir="rtl"] .brand, [dir="rtl"] h1, [dir="rtl"] h2 { letter-spacing:0; }
[dir="rtl"] .main-nav a::after { left:100%; right:0; }
[dir="rtl"] .main-nav a:hover::after { left:0; }
[dir="rtl"] .float-a { left:auto; right:0; }
[dir="rtl"] .float-b { right:auto; left:1%; }
[dir="rtl"] .benefit-card { border-right:0; border-left:1px solid rgba(255,255,255,.18); }
[dir="rtl"] .benefit-card:last-child { border-left:0; }

@media (max-width: 980px) {
  :root { --page:min(100% - 28px,760px); }
  .header-inner { grid-template-columns:1fr auto; }
  .menu-button { display:grid; place-items:center; }
  .main-nav { position:absolute; left:14px; right:14px; top:76px; display:none; padding:18px; border:1px solid var(--line); border-radius:20px; background:#fff; box-shadow:var(--shadow); }
  .main-nav[data-open="true"] { display:grid; gap:0; }
  .main-nav a { padding:13px 8px; border-bottom:1px solid var(--line); }
  .main-nav a:last-child { border-bottom:0; }
  .header-tools .pill-link { display:none; }
  .hero-inner { min-height:auto; grid-template-columns:1fr; padding:58px 0 72px; }
  .hero-copy { max-width:760px; }
  .hero-visual { min-height:520px; }
  .section { padding:78px 0; }
  .section-head, .problem-grid, .evidence-layout { grid-template-columns:1fr; gap:26px; }
  .evidence-copy { position:static; }
  .solution-grid, .benefit-grid { grid-template-columns:1fr; }
  .solution-card { min-height:220px; }
  .benefit-card { min-height:auto; border-right:0; border-bottom:1px solid rgba(255,255,255,.18); }
  [dir="rtl"] .benefit-card { border-left:0; }
  .benefit-card:last-child { border-bottom:0; }
  .benefit-card h3 { margin-top:34px; }
  .metric-grid, .provenance-grid { grid-template-columns:repeat(2,1fr); }
  .footer-top { grid-template-columns:1fr; gap:28px; }
  .legal-layout { grid-template-columns:1fr; gap:24px; }
  .legal-toc { position:static; grid-template-columns:repeat(2,1fr); }
}

@media (max-width: 620px) {
  :root { --page:calc(100% - 24px); --radius:22px; }
  .header-inner { min-height:70px; }
  .brand { font-size:16px; }
  .brand-mark { width:34px; height:34px; }
  .header-tools { gap:6px; }
  .language-links a { padding:6px 7px; }
  .menu-button { width:38px; height:38px; }
  .hero-inner { padding-top:44px; }
  h1 { font-size:clamp(42px,15vw,66px); }
  .hero-visual { min-height:430px; }
  .hero-disc { width:330px; }
  .signal-card { width:calc(100% - 28px); padding:22px; }
  .signal-score strong { font-size:52px; }
  .float-chip { display:none; }
  .master-visual { min-height:500px; margin:58px auto; }
  .master-visual img { height:580px; }
  .master-visual::after { background:linear-gradient(0deg,rgba(6,19,15,.94),rgba(6,19,15,.08)); }
  [dir="rtl"] .master-visual::after { background:linear-gradient(0deg,rgba(6,19,15,.94),rgba(6,19,15,.08)); }
  .metric-grid, .market-panel, .provenance-grid, .ecosystem-links { grid-template-columns:1fr; }
  .cta-band { grid-template-columns:1fr; }
  .footer-bottom { flex-direction:column; }
  .legal-toc { grid-template-columns:1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior:auto; }
  *, *::before, *::after { animation-duration:.001ms !important; animation-iteration-count:1 !important; scroll-behavior:auto !important; transition-duration:.001ms !important; }
  .reveal { opacity:1; transform:none; }
}

@media print {
  .site-header, .preview-note, .hero-visual, .cta-band, .site-footer, .legal-toc { display:none !important; }
  body { background:#fff; }
  .legal-layout { display:block; width:100%; padding:0; }
  .legal-hero { width:100%; padding:24px 0; }
  .legal-section { break-inside:avoid; }
}
