/* The Merchant landing page. Palette and type: design/brand/colors.md, marketing/brand-presence.md § 2. */

@font-face { font-family: "Cormorant Garamond"; font-weight: 600; font-style: normal; font-display: swap;
  src: url("fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Nunito Sans"; font-weight: 400; font-style: normal; font-display: swap;
  src: url("fonts/nunito-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Nunito Sans"; font-weight: 700; font-style: normal; font-display: swap;
  src: url("fonts/nunito-sans-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Nunito Sans"; font-weight: 800; font-style: normal; font-display: swap;
  src: url("fonts/nunito-sans-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Noto Sans Arabic"; font-weight: 400; font-style: normal; font-display: swap;
  src: url("fonts/noto-sans-arabic-arabic-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Noto Sans Arabic"; font-weight: 700; font-style: normal; font-display: swap;
  src: url("fonts/noto-sans-arabic-arabic-700-normal.woff2") format("woff2"); }

:root {
  --bg: #06120D;
  --bg-raised: #0C1C15;
  --line: #1E3328;
  --ivory: #F3EDDC;
  --ivory-dim: #CFC8B5;
  --champagne: #C9A961;
  --forest: #0B6B45;
  --green: #1FA36B;
  --radius: 14px;
  --max: 1080px;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Nunito Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ivory);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
html[lang="ar"] body { font-family: "Noto Sans Arabic", var(--sans); line-height: 1.8; }

a { color: var(--champagne); }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid var(--champagne);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip { position: absolute; inset-inline-start: 1rem; top: 1rem; background: var(--ivory); color: var(--bg); padding: .5rem 1rem; z-index: 10; transform: translateY(-300%); }
.skip:focus { transform: none; }

.wrap { width: min(100% - 2.5rem, var(--max)); margin-inline: auto; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1rem; }
.brand { display: inline-flex; line-height: 0; }
.brand img { width: 168px; height: auto; }
.lang { font-weight: 700; text-decoration: none; border: 1px solid var(--line); border-radius: 999px; padding: .35rem .9rem; color: var(--ivory); }
.lang:hover { border-color: var(--champagne); }

/* Hero */
.hero { padding-block: clamp(3.5rem, 9vw, 7rem) clamp(3rem, 7vw, 5.5rem); text-align: center; }
.eyebrow { color: var(--champagne); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: .8rem; margin: 0 0 1rem; }
html[lang="ar"] .eyebrow { letter-spacing: 0; font-size: .95rem; }
.hero h1 { font-family: var(--sans); font-weight: 800; font-size: clamp(2.2rem, 6.5vw, 4rem); line-height: 1.1; margin: 0 auto 1.25rem; max-width: 16ch; }
html[lang="ar"] .hero h1 { font-family: "Noto Sans Arabic", var(--sans); font-weight: 700; line-height: 1.35; }
.tagline { font-family: var(--serif); font-weight: 600; font-size: clamp(1.6rem, 4vw, 2.3rem); color: var(--champagne); margin: 0 0 1.25rem; }
html[lang="ar"] .tagline { font-family: "Noto Sans Arabic", var(--sans); font-weight: 700; font-size: clamp(1.3rem, 3.4vw, 1.8rem); }
.lede { color: var(--ivory-dim); max-width: 46ch; margin: 0 auto 2rem; }

.btn {
  display: inline-block; font: inherit; font-weight: 800; text-decoration: none; cursor: pointer;
  background: var(--champagne); color: var(--bg); border: 2px solid var(--champagne);
  padding: .8rem 1.6rem; border-radius: 999px; min-height: 44px;
}
.btn:hover { background: var(--ivory); border-color: var(--ivory); }
.btn-ghost { background: transparent; color: var(--ivory); border-color: var(--line); }
.btn-ghost:hover { background: transparent; border-color: var(--champagne); }
.btn[aria-disabled="true"] { background: transparent; color: var(--ivory-dim); border-color: var(--line); cursor: not-allowed; }

/* Sections */
section { padding-block: clamp(3rem, 7vw, 5rem); border-top: 1px solid var(--line); }
h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(1.9rem, 4.5vw, 2.6rem); line-height: 1.15; margin: 0 0 .5rem; }
html[lang="ar"] h2 { font-family: "Noto Sans Arabic", var(--sans); font-weight: 700; font-size: clamp(1.5rem, 4vw, 2rem); }
.section-intro { color: var(--ivory-dim); margin: 0 0 2rem; max-width: 60ch; }

/* Service cards */
.cards { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.card { background: var(--bg-raised); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; display: flex; flex-direction: column; gap: .75rem; }
.card h3 { margin: 0; font-size: 1.3rem; font-weight: 800; }
.card p { margin: 0; }
.card dl { margin: 0; display: grid; gap: .35rem; font-size: .95rem; }
.card dt { color: var(--champagne); font-weight: 700; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; }
html[lang="ar"] .card dt { letter-spacing: 0; font-size: .9rem; }
.card dd { margin: 0 0 .4rem; color: var(--ivory-dim); }
.plus { font-size: .9rem; color: var(--ivory-dim); border-top: 1px dashed var(--line); padding-top: .75rem; }
.plus strong { color: var(--champagne); }
.card .btn { align-self: flex-start; margin-top: auto; }
.tag { display: inline-block; font-size: .75rem; font-weight: 800; color: var(--bg); background: var(--green); border-radius: 999px; padding: .1rem .6rem; vertical-align: middle; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); counter-reset: step; }
.steps li { counter-increment: step; border-inline-start: 3px solid var(--forest); padding-inline-start: 1rem; }
.steps li::before { content: counter(step); display: block; font-family: var(--serif); font-weight: 600; font-size: 2.2rem; color: var(--champagne); line-height: 1; margin-bottom: .4rem; }
.steps h3 { margin: 0 0 .3rem; font-size: 1.15rem; }
.steps p { margin: 0; color: var(--ivory-dim); }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); padding-block: 1rem; }
.faq summary { cursor: pointer; font-weight: 800; font-size: 1.1rem; list-style-position: inside; }
.faq summary::marker { color: var(--champagne); }
.faq details p { color: var(--ivory-dim); margin: .75rem 0 0; max-width: 70ch; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding-block: 2.5rem; font-size: .92rem; color: var(--ivory-dim); }
.site-footer .wrap { display: grid; gap: .75rem; }
.disclaimer { color: var(--ivory); font-weight: 700; }
.site-footer img { width: 40px; height: auto; }

/* Redirect page */
.go { min-height: 70vh; display: grid; place-content: center; text-align: center; gap: 1rem; padding: 2rem; }

/* Store buttons (D39) */
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; margin: 0; }
.buy-note { margin: 2rem 0 1rem; }
.buy-row { margin: 0; }
