/* Public pages (privacy, terms, FAQ). Same-origin only: the CSP in _headers allows no inline styles. */
@font-face {
  font-family: "IBM Plex Sans Arabic";
  font-weight: 400;
  font-display: swap;
  src: url("fonts/ibm-plex-sans-arabic-arabic-400-normal.woff2") format("woff2");
  unicode-range:
    U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E,
    U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}
@font-face {
  font-family: "IBM Plex Sans Arabic";
  font-weight: 600;
  font-display: swap;
  src: url("fonts/ibm-plex-sans-arabic-arabic-600-normal.woff2") format("woff2");
  unicode-range:
    U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E,
    U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}
@font-face {
  font-family: "IBM Plex Sans Arabic";
  font-weight: 400;
  font-display: swap;
  src: url("fonts/ibm-plex-sans-arabic-latin-400-normal.woff2") format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IBM Plex Sans Arabic";
  font-weight: 600;
  font-display: swap;
  src: url("fonts/ibm-plex-sans-arabic-latin-600-normal.woff2") format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --teal: #004d5b;
  --teal-soft: #e6f2f4;
  --gold: #c9a227;
  --gold-soft: #f2d27a;
  --bg: #f8f8f8;
  --surface: #ffffff;
  --border: #e3e7e8;
  --text: #1d1e20;
  --muted: #5f6b6d;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --teal: #baefe3;
    --teal-soft: #17353a;
    --bg: #131516;
    --surface: #1d2022;
    --border: #2e3336;
    --text: #eef1f2;
    --muted: #a7b1b3;
  }
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "IBM Plex Sans Arabic", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.8;
}

a {
  color: var(--teal);
  text-underline-offset: 3px;
}

a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  border-radius: 2px;
}

.top {
  background: #004d5b;
  color: #ffffff;
}

.top-inner,
main,
.foot-inner {
  max-width: 820px;
  margin-inline: auto;
  padding-inline: 20px;
}

.top-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-block: 22px;
}

.top img {
  width: 44px;
  height: 44px;
  border-radius: 10px;
}

.top .brand {
  font-size: 1.25rem;
  font-weight: 600;
  color: #ffffff;
  text-decoration: none;
}

.top nav {
  margin-inline-start: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  font-size: 0.95rem;
}

.top nav a {
  color: #d9f1ec;
  text-decoration: none;
}

.top nav a:hover,
.top nav a[aria-current="page"] {
  color: var(--gold-soft);
}

main {
  padding-block: 36px 56px;
}

h1 {
  font-size: 1.9rem;
  line-height: 1.4;
  margin: 0 0 6px;
}

h2 {
  font-size: 1.2rem;
  margin: 34px 0 8px;
}

h3 {
  font-size: 1.05rem;
  margin: 0 0 6px;
}

.meta {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 0 0 24px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 20px;
  margin-block: 14px;
}

.card p:last-child,
.card ul:last-child {
  margin-bottom: 0;
}

ul {
  padding-inline-start: 22px;
}

li + li {
  margin-top: 4px;
}

.formula {
  background: var(--teal-soft);
  border-inline-start: 4px solid var(--gold);
  border-radius: 8px;
  padding: 12px 16px;
  font-weight: 600;
}

.lang-switch {
  margin-block: 0 26px;
  font-size: 0.95rem;
}

section[lang="en"] {
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

.foot {
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.9rem;
}

.foot-inner {
  padding-block: 22px 32px;
}

/* Landing page (/home/, served at the root of sabika.cc) */
.hero {
  background: #004d5b url("/home/hero.webp") left center / cover no-repeat;
  color: #ffffff;
}

.hero-inner {
  max-width: 1120px;
  margin-inline: auto;
  padding: 72px 20px 80px;
}

.hero-text {
  max-width: 560px;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.3;
}

.hero h1 span {
  display: block;
  color: var(--gold-soft);
}

.hero p {
  color: #d4efe9;
  font-size: 1.1rem;
  margin: 18px 0 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero .hero-note {
  font-size: 0.95rem;
  color: var(--gold-soft);
}

.btn-cta,
.btn-ghost {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
}

.btn-cta {
  background: linear-gradient(90deg, #c9a227, #f2d27a);
  color: #1d1e20;
}

.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: #ffffff;
}

.landing {
  max-width: 1120px;
}

.block {
  margin-block: 64px;
}

.block-title {
  text-align: center;
  font-size: 1.7rem;
  margin: 0 0 28px;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.feature {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}

.feature img {
  display: block;
  width: 100%;
  height: auto;
}

.feature h3,
.feature p {
  padding-inline: 20px;
}

.feature h3 {
  margin-top: 18px;
}

.feature p {
  color: var(--muted);
  margin: 0 0 20px;
}

.how {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  counter-reset: step;
}

.how li {
  counter-increment: step;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
  margin: 0;
}

.how li::before {
  content: counter(step, arabic-indic);
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--teal-soft);
  color: var(--teal);
  font-weight: 600;
  margin-bottom: 10px;
}

.how p {
  color: var(--muted);
  margin: 0;
}

.shots {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: x mandatory;
}

.shots img {
  flex: 0 0 auto;
  width: 220px;
  height: auto;
  border-radius: 14px;
  scroll-snap-align: start;
}

.plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 320px));
  justify-content: center;
  gap: 20px;
}

.plan {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
  text-align: center;
}

.plan-best {
  border: 2px solid var(--gold);
}

.plan-tag {
  position: absolute;
  top: -13px;
  inset-inline: 0;
  margin-inline: auto;
  width: max-content;
  background: var(--gold);
  color: #1d1e20;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 2px 12px;
  border-radius: 999px;
}

.plan h3 {
  margin: 0;
}

.price {
  margin: 10px 0 4px;
}

.price strong {
  font-size: 2.2rem;
}

.muted {
  color: var(--muted);
}

.center-text {
  text-align: center;
}

.cta-band {
  text-align: center;
  background: #004d5b;
  color: #ffffff;
  border-radius: 18px;
  padding: 40px 20px;
}

.cta-band h2 {
  margin-top: 0;
}

.cta-band p {
  color: #d4efe9;
  margin: 0 0 22px;
}

.foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.foot-links a {
  color: var(--muted);
}

@media (max-width: 720px) {
  .hero {
    background-position: 15% center;
  }

  .hero-inner {
    padding-block: 48px 56px;
  }

  .hero-text {
    background: rgba(0, 61, 72, 0.82);
    border-radius: 16px;
    padding: 20px;
  }
}
