:root {
  --ink: #0E1116;
  --ink-2: #2B323C;
  --muted: #3A424D;
  --muted-2: #4A525E;
  --ground: #F3F5F7;
  --ground-2: #E8ECF0;
  --line: #DDE2E8;
  --line-2: #CBD2DA;
  --card-dark: #1A1F27;
  --on-dark-muted: #B9C1CC;
  --accent: #0B5BD3;
  --accent-hover: #08439C;
  --accent-soft: #F5F9FF;
  --error-bg: #FDECEA;
  --error-ink: #9B1C1C;
  --display: 'Archivo', system-ui, sans-serif;
  --body: 'Manrope', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }
a { color: var(--accent); }
a:hover { color: var(--accent-hover); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

.wrap { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); }
.nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 18px; padding-bottom: 18px; }
.wordmark { font-family: var(--display); font-stretch: 125%; font-weight: 800; font-size: 20px; letter-spacing: -0.01em; color: var(--ink); text-decoration: none; }
.wordmark:hover { color: var(--ink); }
.nav-links { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; font-size: 15px; font-weight: 600; }
.nav-links a:not(.btn) { color: var(--ink-2); text-decoration: none; }
.nav-links a:not(.btn):hover { color: var(--ink); text-decoration: underline; }
.back-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 15px; font-weight: 600; color: var(--ink-2); text-decoration: none; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px; border-radius: 999px; border: 1.5px solid transparent; font: inherit; font-size: 16px; font-weight: 700; text-decoration: none; cursor: pointer; }
.btn-sm { min-height: 44px; padding: 0 20px; font-size: 15px; }
.btn-lg { min-height: 56px; padding: 0 36px; font-size: 17px; font-weight: 800; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #262C35; color: #fff; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-hover); color: #fff; }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { background: var(--ground-2); color: var(--ink); }
.btn[disabled] { opacity: 0.6; cursor: wait; }

/* Type */
.eyebrow { margin: 0; font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.h1 { margin: 0; font-family: var(--display); font-stretch: 112%; font-weight: 850; font-size: clamp(44px, 6vw, 76px); line-height: 0.98; letter-spacing: -0.03em; }
.h2 { margin: 0; font-family: var(--display); font-stretch: 112%; font-weight: 800; font-size: clamp(32px, 4vw, 48px); line-height: 1.05; letter-spacing: -0.02em; }
.lead { margin: 0; max-width: 520px; font-size: 19px; line-height: 1.55; color: var(--muted); }

/* Hero */
.hero { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; padding-top: 72px; padding-bottom: 88px; }
.hero-copy { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.hero-media { flex: 1 1 460px; min-width: 0; background: #fff; border-radius: 28px; padding: 24px; }
.hero-media img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: contain; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.facts { margin: 8px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: 14px; font-weight: 600; color: var(--muted); }

/* Uses */
.dark { background: var(--ink); color: #fff; }
.section { padding-top: 96px; padding-bottom: 96px; display: flex; flex-direction: column; gap: 48px; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; }
.section-head .h2 { max-width: 620px; }
.section-head p { margin: 0; max-width: 380px; font-size: 17px; line-height: 1.55; color: var(--on-dark-muted); }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.use-card { background: var(--card-dark); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.use-card h3 { margin: 0; font-size: 19px; font-weight: 700; }
.use-card p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--on-dark-muted); }

/* Steps */
.stack-head { display: flex; flex-direction: column; gap: 14px; max-width: 640px; }
.steps { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.step { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 32px; display: flex; flex-direction: column; gap: 12px; }
.step-num { font-family: var(--display); font-stretch: 125%; font-weight: 800; font-size: 40px; color: var(--accent); }
.step h3 { margin: 0; font-size: 20px; font-weight: 700; }
.step p { margin: 0; font-size: 16px; line-height: 1.55; color: var(--muted); }

/* Storage */
.band-white { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.split { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; padding-top: 96px; padding-bottom: 96px; }
.split > * { flex: 1 1 420px; min-width: 0; }
.split-copy { display: flex; flex-direction: column; gap: 20px; }
.split-copy p { margin: 0; font-size: 18px; line-height: 1.6; color: var(--muted); }
.features { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 28px 32px; }
.features li { display: flex; flex-direction: column; gap: 6px; border-top: 2px solid var(--ink); padding-top: 16px; }
.features strong { font-size: 17px; }
.features span { font-size: 15px; line-height: 1.5; color: var(--muted-2); }

/* Specs & FAQ */
.two-col { display: flex; flex-wrap: wrap; gap: 56px; padding-top: 96px; padding-bottom: 96px; }
.two-col > .h2 { flex: 1 1 300px; }
.two-col > :last-child { flex: 2 1 560px; min-width: 0; }
.specs { margin: 0; display: grid; grid-template-columns: minmax(140px, 1fr) minmax(0, 2fr); font-size: 16px; }
.specs dt, .specs dd { margin: 0; padding: 16px 0; border-top: 1px solid var(--line-2); }
.specs dt { font-weight: 700; padding-inline-end: 16px; }
.specs dd { color: var(--muted); }
.specs .last { border-bottom: 1px solid var(--line-2); }
.band-grey { background: var(--ground-2); }
.faq { display: flex; flex-direction: column; gap: 28px; }
.faq h3 { margin: 0 0 8px; font-size: 18px; font-weight: 700; }
.faq p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--muted); }

/* Buy band */
.buy { background: var(--accent); color: #fff; }
.buy-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px; padding-top: 96px; padding-bottom: 96px; }
.buy-inner > div { display: flex; flex-direction: column; gap: 14px; max-width: 640px; }
.buy h2 { margin: 0; font-family: var(--display); font-stretch: 112%; font-weight: 850; font-size: clamp(36px, 5vw, 60px); line-height: 1; letter-spacing: -0.03em; }
.buy p { margin: 0; font-size: 18px; line-height: 1.55; color: #E6F0FF; }

/* Footer */
.site-footer { background: var(--ink); color: var(--on-dark-muted); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; padding-top: 40px; padding-bottom: 40px; font-size: 14px; }
.footer-inner .wordmark { color: #fff; font-size: 16px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 24px; }
.footer-links a { color: var(--on-dark-muted); }
.footer-links a:hover { color: #fff; }

/* Checkout */
.checkout { padding-top: 48px; padding-bottom: 96px; display: flex; flex-direction: column; gap: 32px; }
.checkout-title { margin: 0; font-family: var(--display); font-stretch: 112%; font-weight: 850; font-size: clamp(36px, 5vw, 52px); line-height: 1; letter-spacing: -0.03em; }
.checkout-grid { display: flex; flex-wrap: wrap-reverse; align-items: flex-start; gap: 32px; }
.checkout-main { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.panel { margin: 0; padding: 32px; border: 1px solid var(--line); border-radius: 20px; background: #fff; display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.panel legend { padding: 0 8px; margin-inline-start: -8px; font-size: 20px; font-weight: 700; }
.field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 14px; font-weight: 700; }
.field label span { font-weight: 500; color: #555D68; }
.input { width: 100%; min-height: 48px; padding: 12px 14px; border: 1.5px solid #B8C0CA; border-radius: 12px; background: #fff; font: inherit; font-size: 16px; color: var(--ink); }
.input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(11, 91, 211, 0.2); }
textarea.input { resize: vertical; }
.pay-option { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border: 2px solid var(--accent); border-radius: 14px; background: var(--accent-soft); }
.pay-option div { display: flex; flex-direction: column; gap: 2px; }
.pay-option span { font-size: 14px; color: var(--muted-2); }
.alert { margin: 0; padding: 14px 18px; border-radius: 12px; background: var(--error-bg); color: var(--error-ink); font-size: 15px; font-weight: 600; }
.note { margin: 0; font-size: 14px; line-height: 1.5; color: var(--muted-2); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.summary { flex: 1 1 340px; min-width: 0; padding: 28px; border-radius: 20px; background: var(--ink); color: #fff; display: flex; flex-direction: column; gap: 20px; }
.summary h2 { margin: 0; font-size: 20px; font-weight: 700; }
.summary-item { display: flex; align-items: center; gap: 16px; }
.summary-item img { width: 88px; height: 88px; flex: none; border-radius: 14px; background: #fff; object-fit: contain; padding: 6px; }
.summary-item div { display: flex; flex-direction: column; gap: 4px; }
.summary-item span { font-size: 14px; color: var(--on-dark-muted); }
.qty-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.qty-row > span { font-size: 15px; font-weight: 600; }
.stepper { display: flex; align-items: center; border: 1.5px solid #3A424D; border-radius: 999px; }
.stepper button { width: 44px; height: 44px; border: 0; border-radius: 999px; background: transparent; color: #fff; font: inherit; font-size: 22px; cursor: pointer; }
.stepper button:disabled { opacity: 0.35; cursor: not-allowed; }
.stepper output { min-width: 32px; text-align: center; font-size: 17px; font-weight: 700; }
.totals { margin: 0; display: grid; grid-template-columns: 1fr auto; gap: 12px 16px; font-size: 15px; border-top: 1px solid var(--ink-2); padding-top: 20px; }
.totals dt { color: var(--on-dark-muted); }
.totals dd { margin: 0; text-align: end; }
.grand { display: flex; align-items: baseline; justify-content: space-between; border-top: 1px solid var(--ink-2); padding-top: 20px; }
.grand span:first-child { font-size: 17px; font-weight: 700; }
.grand span:last-child { font-family: var(--display); font-stretch: 112%; font-size: 32px; font-weight: 850; }

/* Confirmation */
.confirm { max-width: 720px; padding-top: 72px; padding-bottom: 96px; display: flex; flex-direction: column; gap: 32px; }
.confirm-head { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.check { width: 64px; height: 64px; border-radius: 999px; background: var(--accent); display: flex; align-items: center; justify-content: center; }
.confirm-head p { margin: 0; font-size: 18px; line-height: 1.55; color: var(--muted); }
.confirm-head strong { color: var(--ink); }
.panel-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
.panel-head h2 { margin: 0; font-size: 20px; font-weight: 700; }
.panel-head span { font-size: 15px; font-weight: 700; color: var(--muted); }
.order-dl { margin: 0; display: grid; grid-template-columns: minmax(120px, 1fr) minmax(0, 2fr); gap: 14px 24px; font-size: 16px; }
.order-dl dt { font-weight: 700; }
.order-dl dd { margin: 0; color: var(--muted); overflow-wrap: anywhere; }
.test-banner { margin: 0; padding: 12px 16px; border-radius: 12px; background: #FFF4E5; color: #7A3E00; font-size: 14px; font-weight: 600; }

[hidden] { display: none !important; }

/* Language switch */
.lang-switch { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.lang-switch svg { flex: none; margin-inline-end: 4px; }
.lang-switch a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 999px; color: var(--on-dark-muted); text-decoration: none; font-weight: 600; }
.lang-switch a:hover { color: #fff; background: var(--ink-2); }
.lang-switch a[aria-current="page"] { color: var(--ink); background: #fff; }

/* Arabic */
[lang="ar"] body, body[lang="ar"], html[lang="ar"] body { font-family: 'Cairo', system-ui, sans-serif; }
html[lang="ar"] { --display: 'Cairo', system-ui, sans-serif; --body: 'Cairo', system-ui, sans-serif; }
html[lang="ar"] .h1, html[lang="ar"] .h2, html[lang="ar"] .checkout-title, html[lang="ar"] .buy h2 { letter-spacing: 0; line-height: 1.25; }
html[lang="ar"] .eyebrow { letter-spacing: 0; font-size: 15px; }
html[lang="ar"] .back-link svg { transform: scaleX(-1); }
html[lang="ar"] .lead, html[lang="ar"] p { line-height: 1.8; }
.wordmark, .lang-switch a[lang="en"], .lang-switch a[lang="fr"] { font-family: 'Archivo', system-ui, sans-serif; }
.lang-switch a[lang="ar"] { font-family: 'Cairo', system-ui, sans-serif; }
.ltr { direction: ltr; unicode-bidi: isolate; }

/* Cookie notice */
.cookie-notice { position: fixed; inset-inline: 16px; bottom: 16px; z-index: 50; max-width: 720px; margin: 0 auto; padding: 16px 20px; border-radius: 16px; background: var(--ink); color: #fff; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; box-shadow: 0 8px 32px rgba(14, 17, 22, 0.25); }
.cookie-notice p { margin: 0; flex: 1 1 280px; font-size: 15px; line-height: 1.5; }
.cookie-actions { display: flex; gap: 8px; }
.cookie-no { color: #fff; border-color: #5A6370; background: transparent; }
.cookie-no:hover { background: var(--ink-2); color: #fff; }

/* Waiting list (stock = 0) */
.stock-banner { margin: 0; padding: 16px 20px; border-radius: 14px; background: #FFF4E5; color: #7A3E00; font-size: 16px; line-height: 1.55; }
.stock-banner strong { color: #5C2E00; }
