/* The platform's own pages (the network's main site): ivory, deep brown and gold, Cormorant Garamond
   and Jost (Tajawal and Amiri in Arabic), in the family of the store designs. */

:root {
	--pf-bg: #f7f2ea;
	--pf-paper: #fffdf9;
	--pf-ink: #221d17;
	--pf-muted: #6d645a;
	--pf-line: #e6dccb;
	--pf-gold: #a67c3d;
	--pf-gold-light: #d8b77d;
	--pf-dark: #17120d;
	--pf-on-dark: #f3ece2;
	--pf-grad: linear-gradient(100deg, #7c5a2a 0%, #b98d4c 40%, #d9b878 60%, #a67c3d 100%);
	--pf-head: "Cormorant Garamond", "Amiri", Georgia, serif;
	--pf-body: "Jost", "Tajawal", "Segoe UI", Tahoma, sans-serif;
	--pf-wide: 1200px;
	--pf-gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; overflow-x: clip; }
body { margin: 0; background: var(--pf-bg); color: var(--pf-ink); font-family: var(--pf-body); font-size: 16px; line-height: 1.7; -webkit-font-smoothing: antialiased; }
html[lang^="ar"] body { font-size: 16.5px; line-height: 1.85; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--pf-head); font-weight: 600; line-height: 1.2; margin: 0 0 .5em; }
html[lang^="ar"] :is(h1, h2, h3) { font-family: "Tajawal", var(--pf-body); font-weight: 700; line-height: 1.45; }
p { margin: 0 0 1em; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--pf-gold); outline-offset: 3px; }
.pf-skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--pf-ink); color: #fff; border-radius: 6px; }
.pf-skip:focus { top: 12px; }
.pf-wrap { width: 100%; max-width: var(--pf-wide); margin-inline: auto; padding-inline: var(--pf-gutter); }
.pf-icon { width: 22px; height: 22px; flex: none; }
.pf-muted { color: var(--pf-muted); }

/* Small titles with a line, titles */
.pf-eyebrow { display: inline-flex; align-items: center; gap: 12px; margin: 0 0 12px; color: var(--pf-gold); font-size: .78rem; font-weight: 500; letter-spacing: .28em; text-transform: uppercase; }
html[lang^="ar"] .pf-eyebrow { letter-spacing: 0; font-size: .95rem; }
.pf-eyebrow::before { content: ""; width: 30px; height: 1px; background: currentColor; }
.pf-eyebrow--center::after { content: ""; width: 30px; height: 1px; background: currentColor; }
.pf-title { font-size: clamp(2rem, 4vw, 3rem); }
.pf-heading { text-align: center; max-width: 720px; margin: 0 auto clamp(30px, 5vw, 52px); }
.pf-heading .pf-muted { margin: 0; font-size: 1.05rem; }

/* Buttons */
.pf-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 10px 28px; border-radius: 999px; border: 1px solid transparent; font: inherit; font-weight: 500; font-size: 1rem; text-decoration: none; cursor: pointer; transition: transform .2s, box-shadow .2s, background-color .2s, color .2s; white-space: nowrap; }
.pf-btn .pf-icon { width: 18px; height: 18px; }
[dir="rtl"] .pf-btn .pf-icon { transform: scaleX(-1); }
.pf-btn--gold { background: var(--pf-grad); background-size: 140% 100%; color: #fff; box-shadow: 0 10px 24px rgba(124, 90, 42, .28); }
.pf-btn--gold:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(124, 90, 42, .36); }
.pf-btn--line { border-color: var(--pf-ink); color: var(--pf-ink); background: transparent; }
.pf-btn--line:hover { background: var(--pf-ink); color: #fff; }
.pf-btn--light { background: var(--pf-on-dark); color: var(--pf-dark); }
.pf-btn--light:hover { transform: translateY(-2px); }
.pf-btn--sm { min-height: 40px; padding: 7px 20px; font-size: .92rem; }
.pf-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* Header */
.pf-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--pf-bg) 92%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.admin-bar .pf-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .pf-header { top: 0; } }
.pf-header.is-scrolled { border-bottom-color: var(--pf-line); box-shadow: 0 8px 24px rgba(40, 30, 15, .06); }
.pf-header__in { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.pf-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--pf-ink); }
.pf-brand__mark { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: 50%; background: var(--pf-dark); color: var(--pf-gold-light); }
.pf-brand__mark .pf-icon { width: 20px; height: 20px; }
.pf-brand__name { font-family: var(--pf-head); font-size: 1.35rem; font-weight: 600; line-height: 1.1; }
html[lang^="ar"] .pf-brand__name { font-family: "Tajawal", var(--pf-body); font-size: 1.15rem; }
.pf-nav { flex: 1; display: flex; justify-content: center; gap: clamp(16px, 2.6vw, 36px); }
.pf-nav a { text-decoration: none; font-size: .95rem; padding: 6px 0; border-bottom: 1px solid transparent; }
.pf-nav a:hover { color: var(--pf-gold); border-bottom-color: var(--pf-gold-light); }
.pf-tools { display: flex; align-items: center; gap: 18px; margin-inline-start: auto; }
.pf-langs { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; font-size: .78rem; direction: ltr; }
.pf-langs li + li::before { content: ""; display: inline-block; width: 1px; height: 11px; background: currentColor; opacity: .35; margin-inline: 9px; vertical-align: -1px; }
.pf-langs a { text-decoration: none; opacity: .7; }
.pf-langs a[aria-current], .pf-langs a:hover { opacity: 1; color: var(--pf-gold); font-weight: 500; }
@media (max-width: 960px) { .pf-nav { display: none; } }
@media (max-width: 560px) {
	.pf-header__in { min-height: 64px; gap: 10px; }
	.pf-brand__name { font-size: 1.1rem; }
	.pf-tools .pf-langs { display: none; }
	.pf-tools .pf-btn { padding-inline: 14px; }
}

/* Hero */
.pf-hero { position: relative; overflow: hidden; padding: clamp(40px, 6vw, 80px) 0 clamp(60px, 8vw, 110px); background: radial-gradient(ellipse at 80% 20%, #efe2cb 0%, var(--pf-bg) 55%); }
.pf-hero__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(30px, 5vw, 70px); align-items: center; }
.pf-hero__title { font-size: clamp(2.5rem, 5.4vw, 4.4rem); line-height: 1.08; margin-bottom: 20px; }
html[lang^="ar"] .pf-hero__title { line-height: 1.35; }
.pf-hero__lead { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--pf-muted); max-width: 540px; margin-bottom: 30px; }
.pf-ticks { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: .92rem; }
.pf-ticks li { display: inline-flex; align-items: center; gap: 8px; }
.pf-ticks .pf-icon { width: 18px; height: 18px; color: var(--pf-gold); }
.pf-hero__media { position: relative; min-height: clamp(320px, 36vw, 470px); }
.pf-browser { position: absolute; margin: 0; overflow: hidden; border-radius: 12px; background: #fff; box-shadow: 0 30px 60px rgba(40, 28, 12, .22), 0 0 0 1px rgba(0, 0, 0, .06); }
.pf-browser img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.pf-browser__bar { display: flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; background: #f1ece4; direction: ltr; }
.pf-browser__bar i { width: 9px; height: 9px; border-radius: 50%; background: #d8cfc1; }
.pf-browser__bar b { margin-inline-start: 10px; flex: 1; height: 17px; border-radius: 9px; background: #fff; font: 500 .66rem/17px var(--pf-body); color: var(--pf-muted); padding-inline: 10px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.pf-browser--back { width: 72%; top: 0; inset-inline-end: 0; transform: rotate(2deg); opacity: .95; }
.pf-browser--front { width: 80%; bottom: 0; inset-inline-start: 0; }
.pf-phone { position: absolute; z-index: 2; inset-inline-end: 4%; bottom: -24px; width: clamp(110px, 13vw, 160px); margin: 0; aspect-ratio: 9 / 18; border-radius: 26px; overflow: hidden; border: 6px solid #120e0a; box-shadow: 0 24px 50px rgba(0, 0, 0, .35); background: #120e0a; }
.pf-phone img { width: 100%; height: 100%; object-fit: cover; object-position: 62% center; }
.pf-phone__tag { position: absolute; inset-inline: 8px; bottom: 10px; display: flex; align-items: center; justify-content: center; gap: 5px; padding: 5px 6px; border-radius: 999px; background: rgba(255, 255, 255, .92); color: var(--pf-ink); font-size: .68rem; font-weight: 600; }
.pf-phone__tag .pf-icon { width: 13px; height: 13px; color: var(--pf-gold); }
@media (max-width: 900px) {
	.pf-hero__in { grid-template-columns: 1fr; }
	.pf-hero__media { min-height: 0; aspect-ratio: 16 / 11; margin-top: 10px; }
}

/* Sections */
.pf-section { padding-block: clamp(60px, 8vw, 104px); }
.pf-how { background: var(--pf-paper); }
.pf-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 3vw, 32px); counter-reset: none; }
.pf-step { position: relative; padding: 30px 26px 26px; border: 1px solid var(--pf-line); border-radius: 18px; background: var(--pf-bg); }
.pf-step__num { position: absolute; top: 18px; inset-inline-end: 22px; font-family: var(--pf-head); font-size: 2.4rem; line-height: 1; color: var(--pf-gold-light); }
.pf-step > .pf-icon { width: 34px; height: 34px; color: var(--pf-gold); margin-bottom: 18px; }
.pf-step h3 { font-size: 1.5rem; }
.pf-step p { margin: 0; color: var(--pf-muted); font-size: .96rem; }
@media (max-width: 820px) { .pf-steps { grid-template-columns: 1fr; } }

.pf-feats__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(26px, 4vw, 46px) clamp(20px, 4vw, 48px); }
.pf-feat > .pf-icon { width: 46px; height: 46px; padding: 11px; border-radius: 50%; background: var(--pf-dark); color: var(--pf-gold-light); margin-bottom: 14px; }
.pf-feat h3 { font-family: var(--pf-body); font-size: 1.08rem; font-weight: 600; margin-bottom: 6px; }
html[lang^="ar"] .pf-feat h3 { font-family: "Tajawal", var(--pf-body); }
.pf-feat p { margin: 0; color: var(--pf-muted); font-size: .95rem; }
@media (max-width: 860px) { .pf-feats__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .pf-feats__grid { grid-template-columns: 1fr; } }

/* Designs */
.pf-designs { background: var(--pf-dark); color: var(--pf-on-dark); }
.pf-designs .pf-title { color: var(--pf-on-dark); }
.pf-designs .pf-eyebrow { color: var(--pf-gold-light); }
.pf-designs .pf-muted { color: color-mix(in srgb, var(--pf-on-dark) 70%, transparent); }
.pf-designs__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 22px; }
.pf-design { display: block; padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: center; cursor: pointer; }
.pf-design__img { display: block; overflow: hidden; border-radius: 12px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .12), 0 18px 40px rgba(0, 0, 0, .4); }
.pf-design__img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; transition: transform .6s ease; }
.pf-design:hover .pf-design__img img { transform: scale(1.04); }
.pf-design__name { display: block; margin-top: 14px; font-family: var(--pf-head); font-size: 1.4rem; font-weight: 600; }
.pf-design__more { display: inline-block; margin-top: 2px; font-size: .86rem; color: var(--pf-gold-light); border-bottom: 1px solid currentColor; }
.pf-dialog { border: 0; border-radius: 14px; padding: 0; width: min(960px, 96vw); max-height: 92vh; background: #fff; color: var(--pf-ink); box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.pf-dialog::backdrop { background: rgba(12, 9, 6, .75); }
.pf-dialog header { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 14px; background: #fff; border-bottom: 1px solid #eee; }
.pf-dialog header b { font-family: var(--pf-head); font-size: 1.3rem; }
.pf-dialog header div { display: flex; gap: 8px; flex-wrap: wrap; }
.pf-dialog img { width: 100%; }

/* Prices */
.pf-plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 3vw, 30px); max-width: 920px; margin: 0 auto; }
.pf-plan { position: relative; display: flex; flex-direction: column; padding: 32px 30px 30px; border: 1px solid var(--pf-line); border-radius: 20px; background: var(--pf-paper); }
.pf-plan--main { border-color: var(--pf-gold); box-shadow: 0 24px 50px rgba(124, 90, 42, .16); }
.pf-plan__badge { position: absolute; top: -13px; inset-inline-start: 28px; padding: 3px 14px; border-radius: 999px; background: var(--pf-grad); color: #fff; font-size: .78rem; font-weight: 600; }
.pf-plan h3 { font-size: 2rem; margin-bottom: 4px; }
.pf-plan__sub { color: var(--pf-muted); margin-bottom: 18px; }
.pf-plan__rows { list-style: none; margin: 0 0 22px; padding: 0; }
.pf-plan__rows li { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--pf-line); }
.pf-plan__rows b { font-family: var(--pf-head); font-size: 1.35rem; white-space: nowrap; }
.pf-plan__note { margin: auto 0 0; font-size: .9rem; color: var(--pf-muted); }
.pf-plan .pf-btn { margin-top: auto; align-self: flex-start; }
@media (max-width: 760px) { .pf-plans { grid-template-columns: 1fr; } }

/* Questions */
.pf-faq { background: var(--pf-paper); }
.pf-faq__in { max-width: 820px; }
.pf-q { border-bottom: 1px solid var(--pf-line); }
.pf-q summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; cursor: pointer; list-style: none; font-family: var(--pf-head); font-size: 1.35rem; font-weight: 600; }
html[lang^="ar"] .pf-q summary { font-family: "Tajawal", var(--pf-body); font-size: 1.12rem; }
.pf-q summary::-webkit-details-marker { display: none; }
.pf-q summary .pf-icon { color: var(--pf-gold); transition: transform .25s; }
.pf-q[open] summary .pf-icon { transform: rotate(45deg); }
.pf-q p { margin: -4px 0 22px; color: var(--pf-muted); }

/* Last call */
.pf-cta { background: var(--pf-dark) radial-gradient(ellipse at 50% 0%, #3a2a17 0%, transparent 65%); color: var(--pf-on-dark); text-align: center; padding-block: clamp(64px, 8vw, 100px); }
.pf-cta h2 { font-size: clamp(2rem, 4vw, 3rem); color: var(--pf-on-dark); max-width: 760px; margin-inline: auto; }
.pf-cta p { color: color-mix(in srgb, var(--pf-on-dark) 75%, transparent); margin-bottom: 28px; }

/* Footer */
.pf-footer { background: #0f0b08; color: color-mix(in srgb, var(--pf-on-dark) 78%, transparent); padding-top: clamp(44px, 6vw, 64px); font-size: .93rem; }
.pf-footer .pf-brand { color: var(--pf-on-dark); }
.pf-footer .pf-brand__mark { background: #2a2016; }
.pf-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 32px; }
.pf-footer__brand p { margin-top: 14px; max-width: 320px; }
.pf-footer__col { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.pf-footer__col h2 { font-family: var(--pf-body); font-size: .8rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--pf-gold-light); margin: 6px 0 8px; }
html[lang^="ar"] .pf-footer__col h2 { letter-spacing: 0; font-size: .95rem; }
.pf-footer__col a { text-decoration: none; }
.pf-footer__col a:hover { color: var(--pf-gold-light); }
.pf-footer__hint { font-size: .84rem; opacity: .75; margin: 4px 0; overflow-wrap: anywhere; }
.pf-footer__bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 40px; padding-block: 18px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .84rem; }
.pf-footer__bottom p { margin: 0; }
@media (max-width: 760px) { .pf-footer__grid { grid-template-columns: 1fr; } }

/* Other pages (sign-up, terms) */
.pf-pagehead { padding: clamp(40px, 6vw, 70px) 0 10px; text-align: center; background: radial-gradient(ellipse at 50% 0%, #efe2cb 0%, var(--pf-bg) 60%); }
.pf-pagehead .pf-muted { margin: 0; }
.pf-page { padding: 20px 0 clamp(60px, 8vw, 100px); }
.pf-prose { max-width: 760px; }
.pf-prose .rtp-signup { background: var(--pf-paper); border: 1px solid var(--pf-line); border-radius: 20px; padding: clamp(20px, 4vw, 36px); box-shadow: 0 20px 50px rgba(40, 28, 12, .08); }

/* Impressum and privacy links in the footer; the legal pages' text. */
.pf-legal { margin-inline-start: 10px; }
.pf-legal a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.pf-prose .rtp-legal h2 { font-size: 1.35rem; margin-top: 1.6em; }
.pf-prose .rtp-legal p { color: var(--pf-ink); }

.pf-prices__note { text-align: center; margin: 22px 0 0; font-size: .9rem; }
