/* SHRAYTA (شريته) public website. Tokens follow the app (src/constants/theme.ts): navy, amber, warm cream. */

:root {
  color-scheme: light dark;
  --bg: #FAF7F0;
  --canvas: #F5F2EB;
  --surface: #FFFFFF;
  --inset: #F6F3EC;
  --text: #101C26;
  --text-2: #5B6679;
  --border: #E8E3D6;
  --edge: rgba(16, 28, 38, 0.07);
  --navy: #101C26;
  --on-navy: #FAF7F0;
  --amber: #F5A712;
  --on-amber: #201400;
  --amber-soft: #FFF4D6;
  --amber-ink: #8A5A00;
  --accent-text: #B7791F;
  --gold: #9C7A22;
  --gold-edge: #C9A23A;
  --verified: #1B7F5C;
  --link: #101C26;
  --focus: #F5A712;
  --shadow: 0 1px 2px rgba(16, 28, 38, 0.05), 0 8px 24px rgba(16, 28, 38, 0.06);
  --shadow-lg: 0 2px 6px rgba(16, 28, 38, 0.06), 0 24px 60px rgba(16, 28, 38, 0.14);
  --radius: 20px;
  --radius-sm: 14px;
  --max: 1160px;
  --gutter: 20px;
  --font-ar: "IBM Plex Sans Arabic", "Inter", system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;
  --font-en: "Inter", "IBM Plex Sans Arabic", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Category tiles (src/data/categories.ts) */
  --t-cars: #E4EEFD; --t-property: #E0F4EA; --t-phones: #ECE6FB; --t-electronics: #FDEBDD;
  --t-services: #DDF2F5; --t-furniture: #F7E8DF; --t-fashion: #F7E3F1; --t-camping: #E5F2E3;
  --t-gaming: #E5E8FA; --t-gifts: #FCE4E9; --t-education: #E0F1FA; --t-baby: #FFF1CC;
  --t-sports: #FFE3DB; --t-business: #E5EAF1; --t-building: #EBF4D2; --t-hobbies: #EFE2F0;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0B1220;
    --canvas: #0B1220;
    --surface: #151E31;
    --inset: #1F2A42;
    --text: #F6F3EC;
    --text-2: #A4ADBF;
    --border: #243049;
    --edge: rgba(255, 255, 255, 0.07);
    --navy: #1B2740;
    --on-navy: #F6F3EC;
    --amber-soft: #2B2410;
    --amber-ink: #F5B83A;
    --accent-text: #F5B83A;
    --gold: #E6C46A;
    --gold-edge: #D9B45A;
    --verified: #3FC892;
    --link: #F5B83A;
    --shadow: 0 0 0 1px rgba(255, 255, 255, 0.06);
    --shadow-lg: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 24px 60px rgba(0, 0, 0, 0.45);

    --t-cars: #14253F; --t-property: #112E22; --t-phones: #241D42; --t-electronics: #3A2314;
    --t-services: #102F35; --t-furniture: #37241B; --t-fashion: #361A2E; --t-camping: #17301A;
    --t-gaming: #1D2244; --t-gifts: #3A1822; --t-education: #102B3A; --t-baby: #3A3012;
    --t-sports: #40201A; --t-business: #1F2A38; --t-building: #27331A; --t-hobbies: #33203A;
  }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-ar);
  font-size: 1.0625rem;
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
html[lang="en"] body { font-family: var(--font-en); line-height: 1.65; font-size: 1.03rem; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--link); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3 { line-height: 1.3; margin: 0; letter-spacing: -0.01em; }
html[lang="en"] h1, html[lang="en"] h2, html[lang="en"] h3 { letter-spacing: -0.022em; line-height: 1.15; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; background: var(--navy); color: var(--on-navy); padding: 10px 16px; border-radius: 10px; text-decoration: none; font-weight: 600; }
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.icon { width: 24px; height: 24px; flex: none; }
.icon-sm { width: 18px; height: 18px; flex: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--edge);
}
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; border-radius: 10px; }
.brand img { height: 42px; width: auto; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a { color: var(--text); text-decoration: none; font-weight: 500; font-size: 0.97rem; padding: 8px 12px; border-radius: 999px; }
.nav a:hover { background: var(--inset); }
.lang-switch {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--border); background: var(--surface);
  color: var(--text); text-decoration: none; font-weight: 600; font-size: 0.95rem;
  padding: 7px 14px; border-radius: 999px; min-height: 40px;
}
.lang-switch:hover { border-color: var(--text-2); }
.lang-switch .icon-sm { opacity: 0.75; }
@media (max-width: 860px) { .nav .nav-link { display: none; } }

/* Theme-aware logo */
.logo-dark { display: none; }
@media (prefers-color-scheme: dark) { .logo-light { display: none; } .logo-dark { display: block; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px; border-radius: 999px;
  font: inherit; font-weight: 600; font-size: 1rem; text-decoration: none; cursor: pointer;
  border: 1px solid transparent; transition: transform .15s ease, background-color .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn-amber { background: var(--amber); color: var(--on-amber); }
.btn-amber:hover { background: #FFB72E; }
.btn-ghost { background: transparent; color: inherit; border-color: currentColor; }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); }
.btn-outline { background: var(--surface); color: var(--text); border-color: var(--border); }
.btn-outline:hover { border-color: var(--text-2); }

/* ---------- Hero ---------- */
.hero { position: relative; padding-block: 56px 72px; overflow: hidden; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; z-index: -1; inset: -20% -10% auto auto; width: 70%; height: 120%;
  background: radial-gradient(closest-side, rgba(245, 167, 18, 0.16), rgba(245, 167, 18, 0));
}
html[dir="rtl"] .hero::before { inset: -20% auto auto -10%; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; align-items: center; }
.hero-grid > *, .split > *, .biz-grid > * { min-width: 0; }
@media (min-width: 940px) { .hero-grid { grid-template-columns: 1.08fr 0.92fr; gap: 56px; } .hero { padding-block: 72px 96px; } }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.9rem; font-weight: 600; color: var(--amber-ink);
  background: var(--amber-soft); padding: 6px 14px; border-radius: 999px;
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--amber); }
.hero h1 { margin-top: 18px; font-size: clamp(2.1rem, 3.6vw + 1rem, 3.7rem); font-weight: 700; line-height: 1.25; }
html[lang="en"] .hero h1 { line-height: 1.08; }
.hero h1 .accent { color: var(--accent-text); }
.hero .lead { margin-top: 20px; font-size: clamp(1.05rem, 0.4vw + 1rem, 1.22rem); color: var(--text-2); max-width: 36em; }
.stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.store-badge {
  display: inline-flex; align-items: center; gap: 12px;
  min-width: 190px; padding: 10px 18px 10px 16px; border-radius: 16px;
  background: var(--navy); color: var(--on-navy); border: 1px solid transparent;
  cursor: default; user-select: none;
}
@media (prefers-color-scheme: dark) { .store-badge { background: var(--surface); border-color: var(--border); } }
.store-badge .icon { width: 28px; height: 28px; color: var(--amber); }
.store-badge span { display: flex; flex-direction: column; line-height: 1.25; }
.store-badge small { font-size: 0.78rem; opacity: 0.78; font-weight: 500; }
.store-badge strong { font-family: var(--font-en); font-size: 1.12rem; font-weight: 600; letter-spacing: -0.01em; }
.soon {
  margin-inline-start: auto; font-style: normal; font-size: 0.75rem; font-weight: 700; color: var(--on-amber);
  background: var(--amber); padding: 3px 10px; border-radius: 999px; white-space: nowrap;
}
.hero-note { margin-top: 18px; font-size: 0.95rem; color: var(--text-2); }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 28px 0 0; padding: 0; list-style: none; color: var(--text-2); font-size: 0.95rem; }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points .icon-sm { color: var(--verified); }

/* ---------- Phone mockup (an illustration of the app's home screen, built from the app's own artwork) ---------- */
.mockup-wrap { display: flex; justify-content: center; position: relative; }
.mockup-wrap::after {
  content: ""; position: absolute; z-index: -1; width: 380px; height: 380px; max-width: 90%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(245, 167, 18, 0.28), rgba(245, 167, 18, 0)); top: 18%;
}
.phone {
  --pw: 300px;
  width: var(--pw); max-width: 84vw; aspect-ratio: 9 / 19; border-radius: 46px; padding: 11px;
  background: linear-gradient(145deg, #2A3646, #0E1621 40%, #1B2533);
  box-shadow: var(--shadow-lg), inset 0 0 0 1.5px rgba(255, 255, 255, 0.08);
  position: relative;
}
.screen {
  /* the illustration is always the app's light theme */
  --t-cars: #E4EEFD; --t-property: #E0F4EA; --t-phones: #ECE6FB; --t-electronics: #FDEBDD;
  --t-services: #DDF2F5; --t-furniture: #F7E8DF; --t-camping: #E5F2E3; --t-baby: #FFF1CC; --t-gifts: #FCE4E9;
  height: 100%; border-radius: 36px; overflow: hidden; position: relative;
  background: #F5F2EB; color: #101C26; font-size: 10px; line-height: 1.35;
  display: flex; flex-direction: column;
}
.screen .island { position: absolute; top: 9px; left: 50%; transform: translateX(-50%); width: 82px; height: 22px; border-radius: 20px; background: #0B0F15; z-index: 3; }
.sbar { display: flex; justify-content: space-between; align-items: center; padding: 12px 22px 0; font-weight: 600; font-size: 11px; font-family: var(--font-en); direction: ltr; height: 34px; }
.sbar .bat { width: 22px; height: 10px; border-radius: 3px; background: #101C26; }
.s-top { display: flex; align-items: center; justify-content: space-between; padding: 8px 14px 6px; }
.s-top img { height: 26px; width: auto; }
.s-pill { display: inline-flex; align-items: center; gap: 4px; background: #fff; border-radius: 999px; padding: 5px 10px; font-weight: 600; font-size: 10px; box-shadow: 0 1px 2px rgba(16,28,38,.06); }
.s-pill svg, .s-search svg { width: 12px; height: 12px; }
.s-search { margin: 4px 14px 8px; display: flex; align-items: center; gap: 6px; background: #fff; border-radius: 999px; padding: 8px 12px; color: #5B6679; box-shadow: 0 1px 2px rgba(16,28,38,.06); }
.s-cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px 6px; padding: 4px 12px 8px; }
.s-cat { display: flex; flex-direction: column; align-items: center; gap: 3px; text-align: center; font-size: 8.6px; font-weight: 500; line-height: 1.2; }
.s-cat i { background: var(--tile); display: grid; place-items: center; width: 48px; height: 48px; border-radius: 15px; }
.s-cat img { width: 34px; height: 34px; }
.s-sec { display: flex; align-items: center; gap: 6px; padding: 6px 14px 6px; }
.s-sec b { font-size: 12px; }
.s-sec .dot { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: #101C26; color: #F2D27C; }
.s-sec .dot svg { width: 11px; height: 11px; }
.s-sub { font-size: 8.5px; color: #5B6679; padding: 0 14px 6px; margin-top: -4px; }
.s-row { display: flex; gap: 8px; padding: 0 14px; }
.s-card { flex: 0 0 62%; background: #fff; border-radius: 14px; overflow: hidden; border: 1.5px solid #C9A23A; box-shadow: 0 0 0 2px rgba(201,162,58,.15); }
.s-card .ph { background: var(--tile); position: relative; height: 92px; display: grid; place-items: center; }
.s-card .ph img { width: 70px; height: 70px; }
.s-badge { position: absolute; top: 6px; inset-inline-start: 6px; background: #101C26; color: #F2D27C; font-size: 8px; font-weight: 700; padding: 2px 7px; border-radius: 999px; display: inline-flex; align-items: center; gap: 3px; }
.s-badge svg { width: 8px; height: 8px; }
.s-body { padding: 6px 8px 8px; }
.s-price { font-weight: 700; font-size: 12.5px; }
.s-title { font-size: 9px; margin-top: 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.s-meta { font-size: 8px; color: #5B6679; margin-top: 2px; display: flex; align-items: center; gap: 3px; }
.s-meta svg { width: 9px; height: 9px; color: #1B7F5C; }
.s-list { display: grid; gap: 6px; padding: 0 14px; }
.s-item { display: flex; align-items: center; gap: 8px; background: #fff; border-radius: 12px; padding: 6px; }
.s-item .th { width: 40px; height: 40px; border-radius: 9px; display: grid; place-items: center; background: var(--tile); flex: none; }
.s-item .th img { width: 30px; height: 30px; }
.s-item .tx { min-width: 0; flex: 1; }
.s-item .tx b { display: block; font-size: 11px; }
.s-item .tx span { display: block; font-size: 8.6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.s-item .tx small { display: block; font-size: 7.8px; color: #5B6679; }
.s-tabs {
  position: absolute; z-index: 2; inset-inline: 10px; bottom: 12px; background: rgba(255,255,255,.94);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-radius: 999px; display: grid; grid-template-columns: repeat(5, 1fr); padding: 6px 4px; box-shadow: 0 4px 16px rgba(16,28,38,.12);
}
.s-tab { display: flex; flex-direction: column; align-items: center; gap: 1px; font-size: 7.6px; font-weight: 500; color: #101C26; }
.s-tab svg { width: 15px; height: 15px; }
.s-tab.on { color: #B7791F; }
.s-tab.sell svg { color: #F5A712; width: 18px; height: 18px; }
.mockup-caption { text-align: center; font-size: 0.8rem; color: var(--text-2); margin-top: 14px; }
.mockup-col { display: flex; flex-direction: column; align-items: center; }

/* ---------- Sections ---------- */
.section { padding-block: 72px; }
@media (min-width: 940px) { .section { padding-block: 96px; } }
.section-alt { background: var(--canvas); border-block: 1px solid var(--edge); }
@media (prefers-color-scheme: dark) { .section-alt { background: #0E1626; } }
.section-head { max-width: 680px; margin-bottom: 40px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.7rem, 1.6vw + 1.2rem, 2.5rem); font-weight: 700; }
.section-head p { margin-top: 12px; color: var(--text-2); font-size: 1.08rem; }
.kicker { display: block; font-size: 0.9rem; font-weight: 700; color: var(--amber-ink); margin-bottom: 10px; letter-spacing: 0.01em; }
html[lang="en"] .kicker { text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.8rem; }

/* Categories */
.cats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 12px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 600px) { .cats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 940px) { .cats { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 26px 18px; } }
.cat { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; font-weight: 500; font-size: 0.95rem; line-height: 1.35; }
.cat .tile { width: 100%; max-width: 116px; aspect-ratio: 1; border-radius: 26px; display: grid; place-items: center; background: var(--tile, var(--inset)); transition: transform .2s ease; }
.cat .tile img { width: 66%; height: 66%; }
.cat:hover .tile { transform: translateY(-3px); }
.t-cars { --tile: var(--t-cars); } .t-property { --tile: var(--t-property); } .t-phones { --tile: var(--t-phones); }
.t-electronics { --tile: var(--t-electronics); } .t-services { --tile: var(--t-services); } .t-furniture { --tile: var(--t-furniture); }
.t-fashion { --tile: var(--t-fashion); } .t-camping { --tile: var(--t-camping); } .t-gaming { --tile: var(--t-gaming); }
.t-gifts { --tile: var(--t-gifts); } .t-education { --tile: var(--t-education); } .t-baby { --tile: var(--t-baby); }
.t-sports { --tile: var(--t-sports); } .t-business { --tile: var(--t-business); } .t-building { --tile: var(--t-building); }
.t-hobbies { --tile: var(--t-hobbies); }
.cats-note { margin-top: 28px; text-align: center; color: var(--text-2); font-size: 0.95rem; }

/* Features */
.features { display: grid; gap: 18px; }
@media (min-width: 720px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; } }
.card { background: var(--surface); border: 1px solid var(--edge); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.feature h3 { font-size: 1.25rem; font-weight: 700; margin-top: 18px; }
.feature p { margin-top: 8px; color: var(--text-2); }
.f-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--amber-soft); color: var(--amber-ink); }
.f-icon .icon { width: 26px; height: 26px; }

/* Promotions */
.promos { display: grid; gap: 18px; }
@media (min-width: 820px) { .promos { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; } }
.promo { display: flex; flex-direction: column; gap: 18px; }
.promo h3 { font-size: 1.15rem; font-weight: 700; display: flex; align-items: center; gap: 10px; }
.promo h3 .icon { color: var(--amber-ink); }
.promo p { color: var(--text-2); margin-top: 6px; }
.mini-ad { background: var(--inset); border-radius: 16px; padding: 12px; display: flex; gap: 12px; align-items: center; border: 2px solid transparent; position: relative; }
.mini-ad .thumb { background: var(--tile); width: 64px; height: 64px; border-radius: 12px; display: grid; place-items: center; flex: none; }
.mini-ad .thumb img { width: 46px; height: 46px; }
.mini-ad .lines { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 7px; }
.mini-ad .bar { height: 9px; border-radius: 6px; background: var(--border); }
.mini-ad .bar.w60 { width: 60%; } .mini-ad .bar.w40 { width: 40%; } .mini-ad .bar.w80 { width: 80%; }
.mini-tag { position: absolute; top: -11px; inset-inline-end: 12px; font-size: 0.75rem; font-weight: 700; padding: 2px 10px; border-radius: 999px; display: inline-flex; align-items: center; gap: 4px; }
.mini-tag svg { width: 12px; height: 12px; }
.tag-pin { background: var(--amber); color: var(--on-amber); }
.tag-gold { background: #101C26; color: #F2D27C; }
@media (prefers-color-scheme: dark) { .tag-gold { background: #05080F; color: #E6C46A; box-shadow: 0 0 0 1px #3A3220; } }
.mini-ad.gold { border-color: var(--gold-edge); box-shadow: 0 0 0 3px rgba(201, 162, 58, 0.18); }
.mini-ad.hl { border-color: var(--amber); background: var(--amber-soft); }
.promo-note { margin-top: 26px; display: flex; gap: 10px; align-items: flex-start; color: var(--text-2); font-size: 0.95rem; max-width: 760px; }
.promo-note .icon-sm { margin-top: 4px; color: var(--amber-ink); }

/* Safety */
.split { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; align-items: center; }
@media (min-width: 940px) { .split { grid-template-columns: 0.8fr 1.2fr; gap: 64px; } }
.scene { width: min(360px, 80%); margin-inline: auto; aspect-ratio: 1; border-radius: 40px; background: var(--surface); box-shadow: var(--shadow); display: grid; place-items: center; }
.scene img { width: 80%; height: 80%; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.checks li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.checks .c-icon { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--edge); color: var(--verified); }
.checks h3 { font-size: 1.08rem; font-weight: 700; }
.checks p { color: var(--text-2); margin-top: 2px; }
.tip { margin-top: 32px; display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: var(--radius-sm); background: var(--amber-soft); color: var(--text); }
.tip .icon { color: var(--amber-ink); margin-top: 2px; }

/* Business */
.biz { background: var(--navy); color: var(--on-navy); border-radius: 32px; padding: 40px 28px; position: relative; overflow: hidden; isolation: isolate; }
@media (min-width: 720px) { .biz { padding: 56px; } }
@media (prefers-color-scheme: dark) { .biz { background: var(--surface); border: 1px solid var(--border); } }
.biz::before { content: ""; position: absolute; z-index: -1; width: 420px; height: 420px; inset-inline-end: -140px; top: -160px; border-radius: 50%; background: radial-gradient(closest-side, rgba(245, 167, 18, 0.3), rgba(245, 167, 18, 0)); }
.biz-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; align-items: center; }
@media (min-width: 940px) { .biz-grid { grid-template-columns: 1.3fr 0.7fr; } }
.biz .kicker { color: var(--amber); }
.biz h2 { font-size: clamp(1.7rem, 1.6vw + 1.2rem, 2.4rem); font-weight: 700; }
.biz p { margin-top: 14px; opacity: 0.86; max-width: 40em; }
.biz ul { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
@media (min-width: 640px) { .biz ul { grid-template-columns: 1fr 1fr; } }
.biz li { display: flex; gap: 10px; align-items: flex-start; }
.biz li .icon-sm { color: var(--amber); margin-top: 5px; }
.biz-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.biz-art { display: none; }
@media (min-width: 940px) { .biz-art { display: grid; place-items: center; } .biz-art .tile { width: 260px; height: 260px; border-radius: 48px; background: rgba(255, 255, 255, 0.06); display: grid; place-items: center; } .biz-art img { width: 78%; } }

/* Contact */
.contact-grid { display: grid; gap: 16px; }
@media (min-width: 720px) { .contact-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }
.contact-card { display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: var(--text); }
a.contact-card:hover { border-color: var(--text-2); }
.contact-card .f-icon { margin-bottom: 10px; }
.contact-card strong { font-size: 1.08rem; }
.contact-card span { color: var(--text-2); overflow-wrap: anywhere; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--edge); padding-block: 48px 36px; background: var(--canvas); font-size: 0.95rem; }
@media (prefers-color-scheme: dark) { .site-footer { background: #0E1626; } }
.footer-grid { display: grid; gap: 28px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; } }
.footer-brand img { height: 46px; width: auto; }
.footer-brand p { color: var(--text-2); margin-top: 12px; max-width: 26em; }
.site-footer h2 { font-size: 0.95rem; font-weight: 700; margin-bottom: 10px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.site-footer a { color: var(--text); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-bottom { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--edge); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; color: var(--text-2); font-size: 0.88rem; }

/* ---------- Legal pages ---------- */
.legal { padding-block: 48px 80px; }
.legal .container { max-width: 800px; }
.crumb { font-size: 0.92rem; color: var(--text-2); }
.crumb a { color: var(--text-2); }
.legal h1 { font-size: clamp(2rem, 2vw + 1.4rem, 2.8rem); font-weight: 700; margin-top: 12px; }
.legal-meta { margin-top: 10px; color: var(--text-2); font-size: 0.95rem; }
.draft { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 0.88rem; color: var(--text-2); border: 1px dashed var(--border); border-radius: 999px; padding: 4px 14px; }
.draft::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--amber); flex: none; }
.summary { margin-top: 32px; }
.summary h2 { font-size: 1.1rem; font-weight: 700; }
.summary ul { margin: 12px 0 0; padding-inline-start: 1.2em; display: grid; gap: 8px; }
.toc { margin-top: 28px; }
.toc summary { cursor: pointer; font-weight: 700; padding: 4px 0; }
.toc ol { margin: 12px 0 0; padding-inline-start: 1.5em; columns: 2 220px; column-gap: 32px; }
.toc li { padding-block: 3px; break-inside: avoid; }
.toc a { color: var(--text); }
.legal-body section { margin-top: 40px; scroll-margin-top: 90px; }
.legal-body h2 { font-size: 1.35rem; font-weight: 700; }
.legal-body h2 .num { color: var(--amber-ink); margin-inline-end: 8px; font-family: var(--font-en); }
.legal-body p, .legal-body ul { margin-top: 12px; }
.legal-body ul { padding-inline-start: 1.3em; display: grid; gap: 8px; }
.legal-body li::marker { color: var(--amber-ink); }
.legal-body .note { color: var(--text-2); font-size: 0.95rem; }
.todo { background: var(--amber-soft); color: var(--amber-ink); border-radius: 6px; padding: 0 6px; font-weight: 600; }

/* ---------- 404 ---------- */
.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; padding-block: 64px; }
.notfound img.art { width: 200px; margin-inline: auto; }
.notfound h1 { font-size: clamp(1.8rem, 2vw + 1.2rem, 2.6rem); margin-top: 16px; }
.notfound p { color: var(--text-2); margin-top: 8px; }
.notfound .en-block { margin-top: 28px; font-family: var(--font-en); }
.notfound .actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 24px; }

@media (max-width: 400px) {
  :root { --gutter: 16px; }
  .store-badge { min-width: 0; flex: 1 1 100%; }
  .card { padding: 22px; }
}
