/* ردّ marketing site. Emerald night, ivory paper, champagne gold used sparingly: a private-clinic feel, not a startup one. */
:root {
  --ink: #0B1F1B; --ink-2: #334A44; --muted: #66766F; --paper: #F7F3EC; --paper-2: #EFE9DE; --surface: #FFFDF9;
  --line: #E4DBCB; --hair: #D9CBB0; --gold: #8A6A2F; --gold-soft: #F1E7D3;
  --night: #0A1714; --night-2: #11231F; --night-3: #18302A; --on-night: #EFE8DA; --on-night-2: #ABA595;
  --champagne: #D6B77A; --champagne-2: #E6CD98; --champagne-ink: #14110A; --hair-night: rgba(214, 183, 122, .22);
  --wa: #E2F3D6; --chat-bg: #EDE5D7;
  --f-display: "Markazi Text", "Amiri", "Times New Roman", serif;
  --f-body: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif;
  --r: 20px; --shadow: 0 30px 70px -35px rgba(10, 23, 20, .45);
  --ease: cubic-bezier(.2, .8, .2, 1);
  /* Faint eight-point-star lattice and a film grain: the night sections' texture. */
  --lattice: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='88' height='88' viewBox='0 0 88 88' fill='none' stroke='%23D6B77A' stroke-opacity='.075' stroke-width='1'%3E%3Cpath d='M26 26h36v36H26zM44 18.5 69.5 44 44 69.5 18.5 44z'/%3E%3Cpath d='M0 0l26 26M88 0 62 26M0 88l26-26M88 88 62 62M44 0v18.5M44 88V69.5M0 44h18.5M88 44H69.5'/%3E%3C/svg%3E");
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 .07 0 0 0 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  /* Paper sections stay a step lighter than the night ones so the page keeps its rhythm. */
  :root {
    --ink: #EFE8DA; --ink-2: #C9C2B2; --muted: #9C9786; --paper: #0F1916; --paper-2: #13201C; --surface: #172520;
    --line: #25362F; --hair: #3A3A2C; --gold: #D6B77A; --gold-soft: #2A2618;
    --night: #060D0B; --night-2: #0D1A17; --night-3: #142621;
    --wa: #1E3529; --chat-bg: #0F1B18; --shadow: 0 30px 70px -35px rgba(0, 0, 0, .8);
    color-scheme: dark;
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--f-body); font-size: 16.5px; line-height: 1.8; font-weight: 400; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
a { color: var(--gold); }
::selection { background: var(--champagne); color: var(--champagne-ink); }
:focus-visible { outline: 2px solid var(--champagne); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; background: var(--night); color: var(--on-night); padding: 8px 14px; border-radius: 10px; z-index: 50; }
.skip:focus { top: 12px; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.wrap.narrow { width: min(800px, 100% - 32px); }

.hero, .roi-sec, .final-in { background-image: var(--grain), var(--lattice); }
.foot { background-image: var(--grain), radial-gradient(60% 80% at 50% 100%, rgba(214, 183, 122, .08), transparent 70%); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 500 16px/1 var(--f-body); padding: 16px 28px; border-radius: 999px; text-decoration: none; border: 1px solid transparent; transition: transform .25s var(--ease), background .25s, box-shadow .25s, border-color .25s, color .25s; cursor: pointer; letter-spacing: .1px; }
.btn:hover { transform: translateY(-2px); }
.btn-gold { position: relative; overflow: hidden; isolation: isolate; background: linear-gradient(180deg, var(--champagne-2), var(--champagne)); color: var(--champagne-ink); box-shadow: 0 14px 30px -14px rgba(214, 183, 122, .7), inset 0 1px 0 rgba(255, 255, 255, .45); }
.btn-gold:hover { box-shadow: 0 18px 38px -14px rgba(214, 183, 122, .85), inset 0 1px 0 rgba(255, 255, 255, .45); }
/* A slow light sweep across the gold, like a polished edge catching the light. */
.btn-gold::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .55) 50%, transparent 70%); transform: translateX(-130%); transition: transform 1s var(--ease); pointer-events: none; }
.btn-gold:hover::after { transform: translateX(130%); }
.btn-outline { border-color: var(--hair-night); color: var(--on-night); background: rgba(255, 255, 255, .03); }
.btn-outline:hover { border-color: var(--champagne); color: var(--champagne-2); }
.btn-sm { padding: 11px 20px; font-size: 14.5px; }

/* brand */
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: inherit; }
.brand b { font: 700 30px/1 var(--f-display); letter-spacing: .3px; }
.mark { width: 38px; height: 38px; border-radius: 12px 12px 12px 3px; background: var(--night); color: var(--champagne); border: 1px solid var(--champagne); display: grid; place-items: center; font: 700 26px/1 var(--f-display); padding-bottom: 4px; flex: none; }

/* nav: dark glass over the hero, stays dark so the gold reads */
.nav { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--night) 78%, transparent); backdrop-filter: saturate(1.3) blur(16px); -webkit-backdrop-filter: saturate(1.3) blur(16px); border-bottom: 1px solid transparent; color: var(--on-night); transition: border-color .3s, background .3s; }
.nav.scrolled { border-bottom-color: var(--hair-night); background: color-mix(in srgb, var(--night) 92%, transparent); }
/* Reading progress: a gold hairline under the nav, driven by scroll alone (no script). */
.nav::after { content: ""; position: absolute; inset-inline: 0; bottom: -1px; height: 1px; background: linear-gradient(270deg, var(--champagne-2), #9C7838); transform: scaleX(0); transform-origin: right; }
@supports (animation-timeline: scroll()) { .nav::after { animation: progress linear both; animation-timeline: scroll(root); } }
@keyframes progress { to { transform: scaleX(1); } }
.nav-in { display: flex; align-items: center; gap: 28px; height: 74px; }
.links { display: flex; gap: 28px; margin-inline-start: 16px; }
.links a, .link-quiet { color: var(--on-night-2); text-decoration: none; font-size: 15px; transition: color .2s; }
.links a:hover, .link-quiet:hover { color: var(--champagne-2); }
.nav-cta { margin-inline-start: auto; display: flex; align-items: center; gap: 20px; }
@media (max-width: 880px) { .links { display: none; } }
@media (max-width: 420px) { .link-quiet { display: none; } }

/* hero */
.hero { position: relative; margin-top: -74px; padding: 150px 0 110px; overflow: hidden; background-color: var(--night); color: var(--on-night); }
.hero::before { content: ""; position: absolute; inset: -30% -20% auto auto; width: 900px; height: 900px; background: radial-gradient(closest-side, rgba(214, 183, 122, .16), transparent 70%); pointer-events: none; }
.hero::after { content: ""; position: absolute; inset: auto auto -40% -20%; width: 800px; height: 800px; background: radial-gradient(closest-side, rgba(40, 110, 92, .28), transparent 70%); pointer-events: none; }
.hero-in { position: relative; z-index: 1; display: grid; grid-template-columns: 1.12fr .88fr; gap: 64px; align-items: center; }
@media (max-width: 960px) { .hero-in { grid-template-columns: 1fr; gap: 56px; } .hero { padding: 130px 0 90px; } }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; margin: 0 0 18px; color: var(--gold); font-weight: 500; font-size: 14px; letter-spacing: .6px; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .8; }
.hero .eyebrow, .roi-sec .eyebrow, .bcard.big .eyebrow { color: var(--champagne); }
h1 { font: 600 clamp(42px, 6.4vw, 76px)/1.18 var(--f-display); margin: 0 0 22px; letter-spacing: 0; text-wrap: balance; }
h1 em { font-style: normal; color: var(--champagne); background: linear-gradient(180deg, var(--champagne-2), #B8954F); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.lead { font-size: clamp(16.5px, 1.6vw, 19px); font-weight: 300; color: var(--on-night-2); max-width: 56ch; margin: 0 0 34px; }
/* Hero copy settles in line by line on load. */
.hero-copy > * { animation: rise 1.1s var(--ease) both; }
.hero-copy > :nth-child(2) { animation-delay: .1s; }
.hero-copy > :nth-child(3) { animation-delay: .22s; }
.hero-copy > :nth-child(4) { animation-delay: .34s; }
.hero-copy > :nth-child(5) { animation-delay: .46s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-cta.center { justify-content: center; }
.ticks { list-style: none; padding: 0; margin: 34px 0 0; display: flex; flex-wrap: wrap; gap: 10px 28px; color: var(--on-night-2); font-size: 14.5px; }
.ticks li { display: inline-flex; align-items: center; gap: 10px; }
.ticks li::before { content: ""; width: 6px; height: 6px; background: var(--champagne); transform: rotate(45deg); }

.hero-visual { position: relative; justify-self: center; width: min(370px, 100%); animation: rise 1.3s .25s var(--ease) both; }
/* A large eight-point star and rings turning very slowly behind the phone. */
.hero-visual::before { content: ""; position: absolute; left: 50%; top: 50%; width: min(660px, 170vw); aspect-ratio: 1; translate: -50% -50%; z-index: -1; pointer-events: none; opacity: .5; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200' fill='none' stroke='%23D6B77A' stroke-width='.3'%3E%3Ccircle cx='100' cy='100' r='99' stroke-opacity='.5'/%3E%3Ccircle cx='100' cy='100' r='92' stroke-dasharray='.6 2.2'/%3E%3Cpath d='M42 42h116v116H42z' stroke-opacity='.7'/%3E%3Cpath d='M100 18 182 100 100 182 18 100z' stroke-opacity='.7'/%3E%3Ccircle cx='100' cy='100' r='58' stroke-opacity='.4'/%3E%3C/svg%3E") center / contain no-repeat; animation: spin 140s linear infinite; }
@keyframes spin { to { rotate: 360deg; } }
.phone { position: relative; border-radius: 44px; padding: 10px; border: 1px solid transparent; background: linear-gradient(#050B0A, #050B0A) padding-box, linear-gradient(155deg, rgba(230, 205, 152, .7), rgba(214, 183, 122, .06) 38%, rgba(214, 183, 122, .06) 62%, rgba(230, 205, 152, .45)) border-box; box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .9), 0 0 80px -20px rgba(214, 183, 122, .18), inset 0 0 0 1px rgba(255, 255, 255, .04); }
.phone-head { display: flex; align-items: center; gap: 10px; padding: 16px 16px 14px; background: var(--night-3); color: var(--on-night); border-radius: 34px 34px 0 0; }
.phone-head b { display: block; font-size: 14.5px; font-weight: 600; }
.phone-head small { color: var(--on-night-2); font-size: 12.5px; }
.avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--night); color: var(--champagne); border: 1px solid var(--champagne); display: grid; place-items: center; font: 700 22px/1 var(--f-display); padding-bottom: 3px; flex: none; }
.time-chip { margin-inline-start: auto; font-size: 12px; color: var(--on-night-2); }
.phone-log { height: 430px; padding: 16px 12px; background: var(--chat-bg); color: #1A2421; display: flex; flex-direction: column; gap: 8px; overflow: hidden; justify-content: flex-end; border-radius: 0 0 34px 34px; }
@media (prefers-color-scheme: dark) { .phone-log { color: var(--ink); } }
.bubble { max-width: 84%; padding: 9px 12px 8px; border-radius: 14px; font-size: 14.5px; line-height: 1.6; box-shadow: 0 1px 1px rgba(0, 0, 0, .06); animation: pop .4s var(--ease) both; white-space: pre-line; }
.bubble.in { align-self: flex-start; background: var(--surface); border-start-start-radius: 4px; }
.bubble.out { align-self: flex-end; background: var(--wa); border-start-end-radius: 4px; }
.bubble .t { display: block; text-align: end; font-size: 11px; color: var(--muted); margin-top: 2px; }
.chips { align-self: flex-end; display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; animation: pop .4s var(--ease) both; }
.chips span { background: var(--surface); color: #145A4C; border: 1px solid #CFE3DC; padding: 5px 12px; border-radius: 99px; font-size: 13px; font-weight: 600; transition: background .25s, color .25s; }
.chips span.picked { background: #145A4C; color: #fff; }
@media (prefers-color-scheme: dark) { .chips span { color: #8ED3C0; border-color: #24423A; } .chips span.picked { background: #2A7A67; color: #fff; } }
.dots { align-self: flex-end; background: var(--wa); padding: 10px 14px; border-radius: 14px; display: flex; gap: 4px; }
.dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: blink 1.2s infinite; }
.dots i:nth-child(2) { animation-delay: .2s; } .dots i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 60%, 100% { opacity: .25; } 30% { opacity: 1; } }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }
.float-card { position: absolute; z-index: 2; display: flex; align-items: center; gap: 12px; background: color-mix(in srgb, var(--night-2) 88%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: var(--on-night); border: 1px solid var(--hair-night); border-radius: 18px; padding: 12px 16px; box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .8); font-size: 13.5px; animation: float 7s ease-in-out infinite; }
.float-card b { display: block; font-size: 14px; font-weight: 600; }
.float-card small { color: var(--on-night-2); }
/* Notifications sit over the phone's bezel, never over the conversation. */
.fc-1 { inset-inline-start: -46px; top: -40px; }
.fc-2 { inset-inline-end: -46px; bottom: -42px; animation-delay: -3.5s; }
.fc-ico { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--champagne); color: var(--champagne); flex: none; }
.fc-ico svg, .ico svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
@keyframes float { 50% { transform: translateY(-9px); } }
@media (max-width: 560px) { .fc-1 { inset-inline-start: -6px; top: -40px; } .fc-2 { inset-inline-end: -6px; bottom: -42px; } }

/* strip */
.strip { background: var(--surface); border-bottom: 1px solid var(--line); }
.strip-in { display: grid; grid-template-columns: repeat(4, 1fr); }
.strip-in > div { padding: 30px 14px; text-align: center; position: relative; }
.strip-in > div + div::before { content: ""; position: absolute; inset-inline-start: 0; top: 28%; bottom: 28%; width: 1px; background: var(--hair); }
.strip b { display: block; font: 600 34px/1.2 var(--f-display); color: var(--gold); }
.strip span { color: var(--muted); font-size: 14px; }
@media (max-width: 720px) { .strip-in { grid-template-columns: repeat(2, 1fr); } .strip-in > div:nth-child(3)::before { display: none; } .strip-in > div:nth-child(n+3) { border-top: 1px solid var(--line); } }

/* statement */
.statement { padding: 110px 0 30px; text-align: center; }
.statement p { font: 500 clamp(30px, 4.4vw, 50px)/1.45 var(--f-display); margin: 0; text-wrap: balance; }
.statement em { font-style: normal; color: var(--gold); }
.orn { display: block; width: 120px; height: 14px; margin: 0 auto 28px; background: linear-gradient(var(--hair), var(--hair)) center / 100% 1px no-repeat; position: relative; }
.orn::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; border: 1px solid var(--gold); background: var(--paper); transform: translate(-50%, -50%) rotate(45deg); }

/* sections */
.section { padding: 110px 0; }
.section.alt { background: var(--paper-2); }
@media (max-width: 720px) { .section { padding: 72px 0; } .statement { padding: 80px 0 10px; } }
.sec-head { max-width: 700px; margin-bottom: 54px; }
.sec-head.center { text-align: center; margin-inline: auto; }
h2 { font: 600 clamp(32px, 4.4vw, 52px)/1.25 var(--f-display); margin: 0 0 14px; text-wrap: balance; }
.sec-head p:not(.eyebrow) { color: var(--ink-2); font-size: 18px; font-weight: 300; margin: 0; }
h3 { font: 600 25px/1.35 var(--f-display); margin: 0 0 8px; }

/* Icons sit in a gold-ruled diamond, the same shape as the site's ornaments. */
.ico { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--gold); border-radius: 2px; color: var(--gold); rotate: 45deg; margin: 9px 9px 34px; box-shadow: inset 0 0 0 4px var(--surface), inset 0 0 0 5px color-mix(in srgb, var(--gold) 25%, transparent); }
.ico svg { width: 19px; height: 19px; stroke-width: 1.4; rotate: -45deg; }

/* Problem cards read like an editorial column: a hairline rule with a short gold lead that runs on hover. */
.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px 48px; }
@media (max-width: 860px) { .cards3 { grid-template-columns: 1fr; } }
.pcard { position: relative; border-top: 1px solid var(--hair); padding: 34px 0 0; }
.pcard::before { content: ""; position: absolute; top: -1px; inset-inline-start: 0; width: 56px; height: 1px; background: var(--gold); transition: width .8s var(--ease); }
.pcard:hover::before { width: 100%; }
.pcard .ico { box-shadow: inset 0 0 0 4px var(--paper), inset 0 0 0 5px color-mix(in srgb, var(--gold) 25%, transparent); }
.pcard h3 { font-size: 28px; }
.pcard p { color: var(--muted); margin: 0; }
.bcard:not(.big):hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--hair); }

.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--hair); }
@media (max-width: 960px) { .flow { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .flow { grid-template-columns: 1fr; } }
.flow li { position: relative; padding: 34px 28px 10px; padding-inline-start: 0; }
.flow li + li { padding-inline-start: 28px; border-inline-start: 1px solid var(--line); }
@media (max-width: 960px) { .flow li:nth-child(3) { padding-inline-start: 0; border-inline-start: 0; } }
@media (max-width: 560px) { .flow li + li { padding-inline-start: 0; border-inline-start: 0; border-top: 1px solid var(--line); } }
.flow p { color: var(--muted); margin: 0; }
/* Ornamental numerals: Arabic-Indic, in a gold that deepens toward the base. */
.num, .vows li::before { background: linear-gradient(180deg, color-mix(in srgb, var(--gold) 55%, #E6CD98), var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.num { display: block; font: 500 64px/1 var(--f-display); margin-bottom: 14px; }

/* sectors: one card per business type, each opening its own demo */
.sectors { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 1080px) { .sectors { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .sectors { grid-template-columns: 1fr; } }
.scard { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 28px 26px 24px; transition: transform .4s var(--ease), box-shadow .4s, border-color .4s; }
.scard::after { content: ""; position: absolute; top: -1px; inset-inline: 26px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); opacity: 0; transition: opacity .5s; }
.scard:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--hair); }
.scard:hover::after { opacity: 1; }
.scard .ico { margin-bottom: 26px; }
.scard h3 { font-size: 24px; }
.scard p { color: var(--muted); margin: 0 0 18px; font-size: 15.5px; }
.scard.ask { background: transparent; border-style: dashed; border-color: var(--hair); }
.scard.ask .ico { box-shadow: inset 0 0 0 4px var(--paper-2), inset 0 0 0 5px color-mix(in srgb, var(--gold) 25%, transparent); }
.slinks { margin-top: auto; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 15px; font-weight: 500; }
.slinks a { text-decoration: none; }
.slinks a:hover { text-decoration: underline; text-underline-offset: 5px; }
.slinks a.quiet { color: var(--muted); font-weight: 400; }

.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.bcard { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 32px; transition: transform .4s var(--ease), box-shadow .4s, border-color .4s; }
.bcard:not(.big)::after { content: ""; position: absolute; top: -1px; inset-inline: 32px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); opacity: 0; transition: opacity .5s; }
.bcard:not(.big):hover::after { opacity: 1; }
.bcard p { color: var(--muted); margin: 0; }
.bcard.big { grid-row: span 2; background: var(--night); background-image: var(--grain), radial-gradient(circle at 100% 0%, rgba(214, 183, 122, .14), transparent 55%); color: var(--on-night); border-color: var(--hair-night); display: flex; flex-direction: column; }
.bcard.big h3 { font-size: 34px; }
.bcard.big p { color: var(--on-night-2); }
.bcard.big .eyebrow { margin-bottom: 14px; }
@media (max-width: 960px) { .bento { grid-template-columns: repeat(2, 1fr); } .bcard.big { grid-column: 1 / -1; grid-row: auto; } }
@media (max-width: 560px) { .bento { grid-template-columns: 1fr; } }
.mini-dash { margin-top: auto; padding-top: 32px; display: grid; gap: 8px; }
.md-row { display: flex; justify-content: space-between; background: var(--night-2); border: 1px solid rgba(214, 183, 122, .1); padding: 13px 16px; border-radius: 14px; font-size: 14.5px; }
.md-row.warn .md-v { color: var(--champagne-2); }
.md-v { font-weight: 600; }
.md-bar { height: 4px; border-radius: 99px; background: var(--night-3); overflow: hidden; margin-top: 8px; }
.md-bar span { width: 72%; display: block; height: 100%; background: linear-gradient(90deg, #8C6E35, var(--champagne-2)); border-radius: inherit; }

/* roi */
.roi-sec { background-color: var(--night); color: var(--on-night); }
.roi { display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: center; }
@media (max-width: 860px) { .roi { grid-template-columns: 1fr; gap: 40px; } }
.roi-p { color: var(--on-night-2); margin: 0 0 28px; font-weight: 300; }
.range { display: block; margin-bottom: 24px; color: var(--on-night-2); font-size: 15px; }
.range output { float: inline-end; color: var(--on-night); font: 600 22px/1.2 var(--f-display); }
.range input { width: 100%; margin-top: 12px; accent-color: var(--champagne); }
.roi-out { background: linear-gradient(180deg, var(--night-2), var(--night)); border: 1px solid var(--hair-night); border-radius: 28px; padding: 40px 36px; display: grid; gap: 6px; justify-items: start; position: relative; }
.roi-out::before { content: ""; position: absolute; inset: 8px; border: 1px solid rgba(214, 183, 122, .1); border-radius: 22px; pointer-events: none; }
.roi-out span { color: var(--on-night-2); }
.roi-out b { font: 600 clamp(60px, 8vw, 88px)/1.05 var(--f-display); color: var(--champagne-2); }
.roi-out small { color: var(--on-night-2); margin-bottom: 18px; }

/* journey: heading holds still on one side while the timeline scrolls past on the other */
.split { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(40px, 7vw, 100px); align-items: start; }
.split > .sec-head { position: sticky; top: 124px; margin-bottom: 0; }
@media (max-width: 960px) { .split { grid-template-columns: 1fr; gap: 0; } .split > .sec-head { position: static; margin-bottom: 44px; } }
.journey { list-style: none; margin: 0; padding: 0; position: relative; display: grid; }
.journey::before { content: ""; position: absolute; inset-inline-start: 19px; top: 16px; bottom: 44px; width: 1px; background: linear-gradient(var(--hair), var(--gold), var(--hair)); }
.journey li { position: relative; padding: 0 0 38px; padding-inline-start: 64px; }
.journey li + li { padding-top: 34px; background: linear-gradient(var(--line), var(--line)) top left / calc(100% - 64px) 1px no-repeat; }
.journey li::before { content: ""; position: absolute; inset-inline-start: 14px; top: 10px; width: 11px; height: 11px; background: var(--paper); border: 1px solid var(--gold); transform: rotate(45deg); }
.journey li + li::before { top: 44px; }
.journey li:last-child::before { background: var(--gold); }
.jd { display: inline-block; font-size: 13px; font-weight: 500; color: var(--gold); background: var(--gold-soft); padding: 2px 12px; border-radius: 99px; margin-bottom: 8px; }
.journey p { color: var(--muted); margin: 0; }
.journey a { display: inline-block; margin-top: 10px; font-weight: 500; text-decoration: none; }
.journey a:hover { text-decoration: underline; text-underline-offset: 5px; }

/* faq: hairline list, no boxes */
.faq { border-top: 1px solid var(--hair); }
.faq details { border-bottom: 1px solid var(--hair); }
.faq summary { cursor: pointer; list-style: none; padding: 24px 0; font: 600 23px/1.4 var(--f-display); display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 10px; height: 10px; border-right: 1.5px solid var(--gold); border-bottom: 1.5px solid var(--gold); transform: rotate(45deg); transition: transform .3s var(--ease); margin-top: -6px; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: 6px; }
.faq summary:hover { color: var(--gold); }
.faq p { margin: -6px 0 24px; color: var(--ink-2); font-weight: 300; max-width: 64ch; }

/* final */
.final { padding: 30px 0 120px; }
.final-in { position: relative; border: 1px solid var(--hair-night); background-color: var(--night); color: var(--on-night); border-radius: 36px; padding: clamp(48px, 7vw, 96px) 24px; text-align: center; overflow: hidden; }
.final-in::before { content: ""; position: absolute; inset: 12px; border: 1px solid var(--hair-night); border-radius: 28px; pointer-events: none; }
.final-in::after { content: ""; position: absolute; inset: -40% 20% auto; height: 500px; background: radial-gradient(closest-side, rgba(214, 183, 122, .14), transparent); pointer-events: none; }
.final-in > * { position: relative; z-index: 1; }
.final-in .orn { background-image: linear-gradient(var(--hair-night), var(--hair-night)); }
.final-in .orn::after { background: var(--night); border-color: var(--champagne); }
.final-in p { color: var(--on-night-2); margin: 0 auto 32px; max-width: 46ch; font-size: 18px; font-weight: 300; }

/* pledge: four commitments set like a certificate, signed */
.pledge-card { position: relative; max-width: 1000px; margin-inline: auto; background: var(--surface); border: 1px solid var(--hair); border-radius: 6px; padding: clamp(44px, 6vw, 80px) clamp(22px, 6vw, 80px); text-align: center; box-shadow: var(--shadow); }
.pledge-card::before { content: ""; position: absolute; inset: 10px; border: 1px solid var(--line); border-radius: 3px; pointer-events: none; }
.pledge-card::after { --d: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M6 .8 11.2 6 6 11.2.8 6z' fill='%23B8954F'/%3E%3C/svg%3E"); content: ""; position: absolute; inset: 4px; pointer-events: none; background-image: var(--d), var(--d), var(--d), var(--d); background-repeat: no-repeat; background-size: 12px; background-position: top left, top right, bottom left, bottom right; }
.pledge-card .eyebrow { justify-content: center; }
.pledge-card .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .8; }
.vows { list-style: none; counter-reset: v; margin: 44px 0 48px; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); text-align: start; border-top: 1px solid var(--line); }
.vows li { counter-increment: v; display: grid; grid-template-columns: auto 1fr; gap: 2px 20px; align-content: start; padding: 30px 30px 28px; border-bottom: 1px solid var(--line); }
.vows li:nth-child(odd) { border-inline-end: 1px solid var(--line); }
.vows li::before { content: counter(v, arabic-indic); grid-row: span 2; font: 500 50px/1 var(--f-display); }
.vows b { font: 600 24px/1.4 var(--f-display); }
.vows span { color: var(--muted); }
@media (max-width: 720px) { .vows { grid-template-columns: 1fr; } .vows li { padding-inline: 4px; } .vows li:nth-child(odd) { border-inline-end: 0; } }
.sign { margin: 0; display: grid; justify-items: center; gap: 4px; color: var(--muted); font-size: 14px; }
.sign span { font: 700 44px/1.3 "Aref Ruqaa", var(--f-display); color: var(--ink); }

/* footer: closes the page on night, with the wordmark set large and fading out */
.foot { position: relative; overflow: hidden; background-color: var(--night); color: var(--on-night-2); border-top: 1px solid var(--hair-night); padding: 64px 0 0; font-size: 14.5px; }
.foot-in { display: flex; justify-content: space-between; gap: 28px; flex-wrap: wrap; align-items: flex-start; }
.foot .brand { color: var(--on-night); }
.foot p { margin: 14px 0 0; max-width: 44ch; }
.foot nav { display: flex; flex-wrap: wrap; gap: 10px 26px; }
.foot nav a { color: var(--on-night-2); text-decoration: none; transition: color .2s; }
.foot nav a:hover { color: var(--champagne-2); }
.foot-base { display: flex; justify-content: space-between; gap: 8px 20px; flex-wrap: wrap; margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--hair-night); font-size: 13px; }
.foot-glyph { display: block; text-align: center; font: 700 clamp(130px, 21vw, 290px)/1.1 var(--f-display); margin: 18px 0 0; padding-bottom: .3em; background: linear-gradient(180deg, rgba(230, 205, 152, .3), rgba(214, 183, 122, .07)); -webkit-background-clip: text; background-clip: text; color: transparent; user-select: none; pointer-events: none; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s ease, transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* trust: the freelance credential set like an official card, beside five plain-spoken pillars */
.trust { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 28px; align-items: start; }
@media (max-width: 960px) { .trust { grid-template-columns: 1fr; } }
.cred { position: relative; background: var(--night-2); background-image: var(--grain), var(--lattice); color: var(--on-night); border: 1px solid var(--hair-night); border-radius: var(--r); padding: clamp(22px, 4vw, 36px); box-shadow: var(--shadow); overflow: hidden; }
.cred::before { content: ""; position: absolute; inset: 8px; border: 1px solid var(--hair-night); border-radius: 14px; pointer-events: none; }
.cred-head { display: flex; gap: 16px; align-items: center; padding-bottom: 20px; border-bottom: 1px solid var(--hair-night); }
.cred-seal { flex: none; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; color: var(--champagne); border: 1px solid var(--champagne); background: rgba(214, 183, 122, .08); }
.cred-seal svg { width: 28px; height: 28px; }
.cred-kicker { margin: 0; color: var(--champagne); font-size: 13.5px; font-weight: 500; letter-spacing: .4px; }
.cred h3 { margin: 2px 0 0; font: 600 23px/1.35 var(--f-display); color: var(--on-night); }
.cred-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px 20px; margin: 22px 0; }
.cred-grid div { min-width: 0; }
.cred-grid .cred-no { grid-column: 1 / -1; padding: 14px 16px; border: 1px dashed var(--hair-night); border-radius: 12px; background: rgba(0, 0, 0, .18); }
.cred-grid dt { color: var(--on-night-2); font-size: 12.5px; }
.cred-grid dd { margin: 2px 0 0; font-weight: 500; }
.cred-no dd { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.cred-no dd span { font: 600 clamp(24px, 4.4vw, 32px)/1.2 "IBM Plex Sans Arabic", ui-monospace, monospace; letter-spacing: 1.5px; color: var(--champagne-2); }
.copy { font: inherit; font-size: 13px; cursor: pointer; color: var(--on-night); background: transparent; border: 1px solid var(--hair-night); border-radius: 999px; padding: 4px 14px; transition: border-color .2s, color .2s; }
.copy:hover { border-color: var(--champagne); color: var(--champagne-2); }
@media (max-width: 520px) { .cred-grid { grid-template-columns: 1fr 1fr; } }
.cred-verify { display: flex; gap: 18px; align-items: center; }
.cred-verify .qr { flex: none; display: block; padding: 8px; background: #fff; border-radius: 12px; line-height: 0; }
.cred-verify .qr img { width: 96px; height: 96px; display: block; }
.cred-verify p { margin: 10px 0 0; color: var(--on-night-2); font-size: 13.5px; line-height: 1.7; }
@media (max-width: 420px) { .cred-verify { flex-direction: column; align-items: flex-start; } }
.cred-foot { margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--hair-night); color: var(--on-night-2); font-size: 13.5px; }
.cred-foot a, .foot-base a { color: var(--champagne-2); text-decoration: none; }
.cred-foot a:hover, .foot-base a:hover { text-decoration: underline; }
.pillars { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.pillars li { display: grid; gap: 2px; padding: 18px 4px; border-bottom: 1px solid var(--line); }
.pillars b { font: 600 22px/1.4 var(--f-display); color: var(--ink); }
.pillars b::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-inline-end: 12px; transform: rotate(45deg) translateY(-3px); background: var(--gold); }
.pillars span { color: var(--muted); }
