/* Public site — dark Styrk look, same family as the app */
body.site {
  --s-bg: #0B1030;
  --s-band: #0E1435;
  --s-card: #141B44;
  --s-line: rgba(252, 241, 208, .1);
  --s-text: #FCF1D0;
  --s-soft: rgba(252, 241, 208, .74);
  --s-muted: rgba(252, 241, 208, .5);
  --s-ok: #5CCB8E;
  background: var(--s-bg);
  background-image: radial-gradient(1100px 620px at 80% -8%, rgba(34, 57, 111, .7), transparent 62%);
  color: var(--s-text);
}
body.site h1, body.site h2, body.site h3 { color: var(--s-text); }
body.site a { color: var(--s-text); }
body.site .muted { color: var(--s-muted); }
html[lang=ar] body.site { font-family: "IBM Plex Sans Arabic", var(--font-body); }
html[lang=ar] body.site h1, html[lang=ar] body.site h2, html[lang=ar] body.site h3 { font-family: "Cairo", var(--font-display); font-weight: 800; letter-spacing: 0; }
html[lang=ar] body.site .eyebrow { letter-spacing: 0; }

.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
section { padding: clamp(64px, 9vw, 120px) 0; }
section.band { background: linear-gradient(180deg, rgba(14, 20, 53, .9), rgba(14, 20, 53, .6)); border-block: 1px solid var(--s-line); }
.eyebrow { color: var(--s-soft); opacity: 1; }
body.site h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); margin-bottom: 1.6rem; }
.lede { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--s-soft); max-width: 34rem; }

/* buttons on dark */
body.site .btn-cream { background: var(--s-text); color: #0B1030; }
body.site .btn-cream:hover { background: #fff; }
body.site .btn-ghost { border-color: rgba(252, 241, 208, .22); color: var(--s-text); background: rgba(252, 241, 208, .03); }
body.site .btn-ghost:hover { border-color: var(--s-text); }
body.site .btn-lg { padding: .95rem 1.5rem; font-size: 1rem; }
body.site .link-btn { color: var(--s-soft); }
.lang-btn { font-family: "IBM Plex Sans Arabic", var(--font-body); min-width: 80px; }
html[lang=ar] .lang-btn { font-family: var(--font-body); }

/* ---------- nav ---------- */
.site-nav { position: sticky; top: 0; z-index: 50; background: rgba(8, 12, 38, .78); backdrop-filter: blur(12px); border-bottom: 1px solid var(--s-line); }
.site-nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 66px; }
.site-nav .brand img { height: 28px; width: auto; }
.site-nav nav { display: flex; align-items: center; gap: .6rem; }
.nav-links { display: flex; gap: 1.4rem; margin-inline-end: .8rem; }
.nav-links a { text-decoration: none; font-weight: 600; font-size: .92rem; color: var(--s-soft); }
.nav-links a:hover { color: var(--s-text); }
.icon-link { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid rgba(252, 241, 208, .22); }
.icon-link svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.icon-link .dot { fill: currentColor; stroke: none; }
@media (max-width: 860px) { .nav-links { display: none; } }
@media (max-width: 420px) { .icon-link { display: none; } .site-nav nav { gap: .4rem; } }

/* ---------- hero ---------- */
.hero { padding-top: clamp(48px, 8vw, 96px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }
.hero-logo { width: min(560px, 100%); height: auto; margin: .4rem 0 1.4rem; }
.hero-word { font-family: var(--font-display); font-size: clamp(4rem, 13vw, 9rem); line-height: .9; margin: .2rem 0 1.2rem; }
.hero-lede { font-size: clamp(1.1rem, 1.8vw, 1.3rem); color: var(--s-soft); max-width: 36rem; margin-bottom: 1.6rem; }
.hero-lede strong { color: var(--s-text); }
.hero-meta { margin-top: 2rem; font-size: .74rem; letter-spacing: .2em; color: var(--s-muted); }

/* phone mockup */
.phone { justify-self: center; width: min(330px, 100%); padding: 12px; border-radius: 42px; background: linear-gradient(160deg, #1D2758, #0A0F2C); border: 1px solid rgba(252, 241, 208, .14); box-shadow: 0 30px 80px rgba(0, 0, 0, .55), 0 0 0 6px rgba(252, 241, 208, .03); }
.phone-screen { border-radius: 32px; background: #0B1030; padding: 22px 16px 18px; border: 1px solid var(--s-line); }
.phone-top { display: flex; justify-content: space-between; align-items: center; font-weight: 800; font-size: 1.25rem; margin-bottom: 14px; }
html[lang=ar] .phone-top { font-family: "Cairo", var(--font-body); }
.phone-chip { font-size: .66rem; font-weight: 700; padding: .25rem .55rem; border-radius: 99px; background: rgba(232, 182, 78, .16); color: #E8B64E; }
.phone-rings { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 14px; }
.mini-ring { position: relative; display: grid; place-items: center; aspect-ratio: 1; }
.mini-ring svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.mini-ring circle { fill: none; stroke-width: 10; }
.mini-ring .tr { stroke: rgba(252, 241, 208, .09); }
.mini-ring .br { stroke: var(--s-text); stroke-linecap: round; stroke-dasharray: 314.16; stroke-dashoffset: calc(314.16 * (1 - var(--p))); filter: drop-shadow(0 0 5px rgba(252, 241, 208, .35)); }
.mini-ring.ok .br { stroke: var(--s-ok); filter: drop-shadow(0 0 6px rgba(92, 203, 142, .5)); }
.mini-ring b { font-size: .95rem; letter-spacing: -.02em; margin-top: -.5rem; }
.mini-ring small { position: absolute; bottom: 24%; font-size: .56rem; color: var(--s-muted); letter-spacing: .08em; text-transform: uppercase; }
.phone-rows { border-radius: 16px; background: #141B44; border: 1px solid var(--s-line); overflow: hidden; }
.phone-rows > div { position: relative; display: flex; justify-content: space-between; padding: .62rem .8rem; border-bottom: 1px solid var(--s-line); font-size: .82rem; }
.phone-rows > div:last-child { border-bottom: 0; }
.phone-rows span { color: var(--s-muted); }
.phone-rows i { position: absolute; inset-inline-start: .8rem; bottom: 5px; height: 3px; width: calc((100% - 1.6rem) * 1); background: rgba(252, 241, 208, .08); border-radius: 99px; }
.phone-rows i::after { content: ""; position: absolute; inset-block: 0; inset-inline-start: 0; width: var(--w); background: var(--s-text); border-radius: 99px; }
.phone-rows i.ok::after { background: var(--s-ok); }
.phone-next { margin-top: 12px; font-size: .76rem; color: var(--s-soft); padding: .6rem .8rem; border-radius: 12px; background: rgba(92, 203, 142, .1); }
.phone-next b { color: var(--s-ok); }

/* ---------- the name ---------- */
.origin { max-width: 820px; text-align: center; }
.def { font-family: var(--font-display); font-size: clamp(2.4rem, 6vw, 4rem); margin-bottom: .9rem; }
.def span { font-family: var(--font-body); font-size: 1rem; color: var(--s-muted); margin-inline-start: .6rem; }
.origin .body { font-size: clamp(1.05rem, 1.8vw, 1.25rem); line-height: 1.7; color: var(--s-soft); }

/* ---------- features & steps ---------- */
.features { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
@media (max-width: 1000px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }
.feature, .step { background: linear-gradient(180deg, #1A2352, #141B44 70%); border: 1px solid var(--s-line); border-radius: 20px; padding: 1.4rem 1.3rem; }
.feature .n, .step .n { font-family: var(--font-display); font-size: 1.6rem; color: rgba(252, 241, 208, .35); margin-bottom: .8rem; }
.feature h3, .step h3 { font-size: 1.12rem; margin-bottom: .5rem; }
.feature p, .step p { color: var(--s-soft); font-size: .94rem; margin: 0; }
.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .9rem; }
@media (max-width: 1000px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step .n { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--s-text); color: #0B1030; font-size: 1.05rem; }

/* ---------- split sections ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.drop-tag { display: inline-block; font-size: .72rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; padding: .35rem .75rem; border-radius: 99px; background: rgba(232, 182, 78, .14); color: #E8B64E; margin-bottom: 1rem; }
html[lang=ar] .drop-tag { letter-spacing: 0; }
.spec { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .6rem; margin: 1.4rem 0; }
@media (max-width: 560px) { .spec { grid-template-columns: 1fr; } }
.spec > div { background: var(--s-card); border: 1px solid var(--s-line); border-radius: 14px; padding: .75rem .85rem; }
.spec dt { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--s-muted); font-weight: 700; }
html[lang=ar] .spec dt { letter-spacing: 0; }
.spec dd { margin: .2rem 0 0; font-weight: 600; font-size: .92rem; }

/* waitlist */
.waitlist-form { display: flex; gap: .6rem; max-width: 460px; flex-wrap: wrap; }
.waitlist-form input { flex: 1 1 220px; background: #0E1437; border: 1.5px solid rgba(252, 241, 208, .2); color: var(--s-text); border-radius: 999px; padding: .8rem 1.1rem; min-height: 48px; }
.waitlist-form input::placeholder { color: rgba(252, 241, 208, .35); }
.waitlist-form input:focus { border-color: var(--s-text); box-shadow: 0 0 0 3px rgba(252, 241, 208, .12); }
.form-note { min-height: 1.4em; margin-top: .6rem; font-size: .9rem; color: var(--s-ok); }

/* tees */
.tees { display: grid; gap: .8rem; }
.tee-tabs { display: inline-flex; justify-self: center; gap: 4px; padding: 4px; border-radius: 99px; background: var(--s-card); border: 1px solid var(--s-line); }
.tee-tabs button { border: 0; background: none; color: var(--s-soft); font-weight: 700; padding: .45rem 1rem; border-radius: 99px; cursor: pointer; }
.tee-tabs button.on { background: var(--s-text); color: #0B1030; }
.tee-row { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.tee { position: relative; margin: 0; border-radius: 22px; padding: 1.2rem 1rem .8rem; background: linear-gradient(180deg, #1A2352, #121941); border: 1px solid var(--s-line); }
.tee svg { width: 100%; height: auto; display: block; }
.tee .collar { fill: none; stroke-width: 2; }
.tee.beige .shirt { fill: #D6C2A0; } .tee.beige .collar { stroke: #BFA983; }
.tee.navy .shirt { fill: #1A2B57; } .tee.navy .collar { stroke: #2B3E72; }
.tee figcaption { text-align: center; font-size: .82rem; color: var(--s-soft); margin-top: .5rem; font-weight: 600; }
.print { position: absolute; left: 50%; transform: translateX(-50%); text-align: center; }
.print-front { top: 30%; width: 22%; }
.print-front img, .print-front .wordmark { width: 100%; height: auto; font-size: .9rem; }
.tee.beige .print-front .wordmark { color: #22396F; }
.print-back { top: 27%; width: 50%; line-height: 1.25; }
.tee.beige .print-back { color: #22396F; }
.tee.navy .print-back { color: #FCF1D0; }
.pb-head { font-family: var(--font-display); font-size: clamp(.7rem, 1.7vw, .95rem); letter-spacing: .02em; }
.pb-def { font-size: clamp(.42rem, .9vw, .55rem); opacity: .8; margin-top: .25rem; }
.pb-body { font-size: clamp(.4rem, .85vw, .52rem); margin-top: .35rem; }
.pb-foot { font-size: clamp(.34rem, .7vw, .44rem); letter-spacing: .1em; margin-top: .5rem; opacity: .85; }

/* book */
.book { display: grid; place-items: center; perspective: 1200px; }
.book-cover { width: min(300px, 80%); aspect-ratio: 3 / 4.2; border-radius: 8px 18px 18px 8px; padding: 2rem 1.6rem; display: flex; flex-direction: column; gap: .8rem;
  background: linear-gradient(150deg, #2C4A8E, #22396F 40%, #101F44); border: 1px solid rgba(252, 241, 208, .18);
  box-shadow: -14px 18px 40px rgba(0, 0, 0, .5), inset 10px 0 0 rgba(0, 0, 0, .18); transform: rotateY(-12deg); }
html[dir=rtl] .book-cover { transform: rotateY(12deg); border-radius: 18px 8px 8px 18px; box-shadow: 14px 18px 40px rgba(0, 0, 0, .5), inset -10px 0 0 rgba(0, 0, 0, .18); }
.book-cover img, .book-cover .wordmark { width: 55%; height: auto; }
.book-title { font-family: var(--font-display); font-size: 1.7rem; line-height: 1.05; margin-top: auto; }
html[lang=ar] .book-title { font-family: "Cairo", var(--font-display); font-weight: 900; }
.book-sub { color: var(--s-soft); font-size: .9rem; }
.book-foot { font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--s-muted); }
.ticks { list-style: none; padding: 0; margin: 1rem 0 1.2rem; display: grid; gap: .5rem; }
.ticks li { padding-inline-start: 1.7rem; position: relative; color: var(--s-soft); }
.ticks li::before { content: "✓"; position: absolute; inset-inline-start: 0; color: var(--s-ok); font-weight: 800; }

/* footer */
.site-footer { padding: 40px 0 48px; border-top: 1px solid var(--s-line); background: #080C26; }
.site-footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 1.2rem; flex-wrap: wrap; }
.site-footer .tagline { margin-top: .6rem; font-size: .72rem; letter-spacing: .2em; color: var(--s-muted); }
.site-footer a { text-decoration: none; color: var(--s-soft); }
.site-footer a:hover { color: var(--s-text); }
.phone b, .phone-next span, .spec dd, .pb-def { unicode-bidi: isolate; }
.phone-rows b { direction: ltr; }
