/*
 * Bayim landing — design system (2026-06 redesign).
 *
 * Shared by the homepage (scripts/build-landing.mts) AND the programmatic SEO
 * pages (scripts/build-seo-pages.mts + seo.css). seo.css inherits the tokens and
 * the shared primitives below (.container, .section, .btn, .feature-grid, …), so
 * the whole site reads as one product.
 *
 * Cache-busting: pages load this as style.css?v=YYYYMMDD — bump the v= when this
 * file changes (build-landing.mts STYLE const + build-seo-pages.mts STYLE const).
 *
 * Self-hosted Sora: the _headers CSP is `font-src 'self'`, so Google Fonts is
 * blocked by design (also keeps us off Google's font CDN for KVKK). The brand
 * display face ships from /fonts/ instead.
 */

/* ── Self-hosted Sora (variable, display face) ── */
@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(/fonts/sora-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(/fonts/sora-latin.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 {
  /* ── App-uniform tokens (2026-07 rollout) ──
     Values are copied 1:1 from the app's design system
     (constants/design-tokens.js): warm off-white ground, warm line/surface
     ramp, the HeroBand wash, and the app's real order-status badge colors.
     Validated on the homepage first (scoped .home layer), then promoted
     here site-wide. If the app ramp changes, change it here too. */
  /* brand */
  --primary: #DC2626;
  --primary-dark: #B91C1C;
  --primary-soft: #FEE2E2;
  /* ink + surfaces (app neutral ramp — warm) */
  --ink: #1A1A1A;
  --ink-muted: #6B7280;
  --ink-subtle: #9CA3AF;
  --bg: #FFFFFF;            /* card surface (app `surface`) */
  --bg-soft: #F5F1EC;       /* app `surface-2` */
  --paper: #FAF8F5;         /* app `bg` — the warm page ground */
  --line: #ECE7E1;
  --line-soft: #F5F1EC;
  /* order-status palette (app badge colors) */
  --ok: #047857;   --ok-wash: #D1FAE5;   /* app success */
  --warn: #D97706; --warn-wash: #FEF3C7; /* app warning — "Onay bekliyor" */
  --ship: #B45309; --ship-wash: #FFE8D6; /* app accent strong/soft — "Yolda" */
  --new: #B91C1C;  --new-wash: #FEE2E2;
  --success: #047857;
  /* app HeroBand wash stops */
  --band: #FCEEEA;
  --band-2: #FBE7E0;
  /* shape + scale (app radii: 12 cards / 20 sheets) */
  --radius: 12px;
  --radius-lg: 20px;
  --max-w: 1120px;
  --display: 'Sora', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Apple Color Emoji', sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body { overflow-x: hidden; }

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Headings use the system body stack to match the app's own typography.
   Sora (--display) is reserved for the .brand wordmark ONLY. */

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

.eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--primary);
  margin: 0 0 14px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

.ic { display: inline-block; vertical-align: middle; width: 18px; height: 18px; }

/* ── Button system (one system, single label) ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--body);
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  padding: 13px 20px;
  border-radius: 12px;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: background .15s ease, border-color .15s ease, transform .15s ease, color .15s ease;
}
.btn:hover { text-decoration: none; }
.btn .ic { width: 18px; height: 18px; }
.btn-sm { padding: 9px 16px; font-size: 14px; border-radius: 999px; }

.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); }

.btn-store { background: var(--ink); color: #fff; }
.btn-store:hover { background: #23282F; transform: translateY(-1px); }
.btn-store .ic { width: 19px; height: 19px; }

.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink-subtle); }

/* ── Nav ── */
.nav {
  padding: 16px 0;
  border-bottom: 1px solid var(--line-soft);
  position: sticky;
  top: 0;
  background: rgba(250, 248, 245, 0.85); /* warm --paper at 85% */
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  z-index: 50;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-weight: 800;
  font-size: 20px;
  color: var(--ink);
  letter-spacing: -0.4px;
}
.brand:hover { text-decoration: none; }
.brand-mark { width: 32px; height: 32px; border-radius: 8px; display: inline-block; }
.nav-links { display: flex; gap: 22px; align-items: center; }
.nav-links a { color: var(--ink-muted); font-size: 14.5px; font-weight: 500; }
.nav-links a:hover { color: var(--ink); text-decoration: none; }
.nav-links .btn-primary { color: #fff; }
.lang-switch {
  color: var(--ink-muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
}
.lang-switch:hover { background: var(--bg-soft); color: var(--ink); text-decoration: none; }
@media (max-width: 720px) {
  .nav-links { gap: 14px; }
  .nav-links a:not(.btn):not(.lang-switch) { display: none; }
}

/* ── Hero (Apple-centered: one statement, product front and center) ── */
.hero {
  padding: 88px 0 44px;
  /* The app's HeroBand: warm band wash fading into the page ground — the
     same gradient family the app paints behind buyer home + welcome. */
  background: linear-gradient(180deg, var(--band) 0%, var(--band-2) 44%, var(--paper) 100%);
  border-bottom: 1px solid var(--line-soft);
  text-align: center;
}
.hero-center { max-width: 820px; margin: 0 auto; }
.hero h1 {
  font-size: clamp(40px, 6.6vw, 70px);
  line-height: 1.02;
  letter-spacing: -1.6px;
  font-weight: 800;
  margin: 0 0 20px;
}
.hero h1 .accent { color: var(--primary); }
.hero .lead {
  font-size: clamp(17px, 1.7vw, 20px);
  line-height: 1.6;
  color: var(--ink-muted);
  margin: 0 auto 30px;
  max-width: 600px;
}
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.hero .cta-row { justify-content: center; }

.trust { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.hero .trust { justify-content: center; }
.trust li { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; color: var(--ink-muted); font-weight: 500; }
.trust .ic { width: 15px; height: 15px; color: var(--success); }

/* Device bezel — REAL app screenshots (shared by hero cluster + feature shots) */
.device {
  background: #0E1116;
  border-radius: 40px;
  padding: 9px;
  box-shadow: 0 40px 80px -32px rgba(14, 17, 22, 0.45), 0 0 0 1px rgba(14, 17, 22, 0.04);
}
.device .shot { display: block; width: 100%; height: auto; border-radius: 31px; }

/* Hero cluster — centered lead device, two peeking behind it (fanned) */
.hero-cluster {
  position: relative;
  margin: 60px auto 0;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  max-width: 900px;
}
.device--lead { position: relative; z-index: 3; width: min(300px, 76vw); }
.device--peek {
  position: absolute;
  bottom: 0;
  z-index: 1;
  width: 224px;
  opacity: 0.94;
  box-shadow: 0 30px 60px -30px rgba(14, 17, 22, 0.40);
}
.device--peek-left  { left: 50%;  transform: translateX(-116%) translateY(-4%) rotate(-7deg); }
.device--peek-right { right: 50%; transform: translateX(116%)  translateY(-4%) rotate(7deg); }
@media (max-width: 900px) {
  .hero { padding: 54px 0 30px; }
  .hero-cluster { margin-top: 38px; }
  .device--peek { display: none; }
  .device--lead { width: min(264px, 74vw); }
}

/* ── Status track (signature) ── */
.track {
  margin: 38px 0 0;
  padding: 18px 22px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 1px 2px rgba(14,17,22,0.03);
}
.track-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
}
.track-step {
  flex: 1;
  position: relative;
  text-align: center;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-muted);
  padding-top: 20px;
}
.track-step .track-dot {
  position: absolute;
  top: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 13px;
  height: 13px;
  border-radius: 999px;
  background: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-soft);
  z-index: 1;
}
.track-step::before {
  content: "";
  position: absolute;
  top: 8px;
  right: 50%;
  left: -50%;
  height: 2px;
  background: var(--primary);
  opacity: 0.35;
}
.track-step:first-child::before { display: none; }
.track-step.is-done { color: var(--ink); }
.track-step.is-done .track-dot { background: var(--ok); box-shadow: 0 0 0 4px var(--ok-wash); }
.track-cap { margin: 14px 0 0; text-align: center; font-size: 13px; color: var(--ink-subtle); }
/* Mobile: a 5-step horizontal stepper gets cramped/cut off, so switch to a
   clean vertical timeline (dot on the left, label on the right). */
@media (max-width: 640px) {
  .track-steps { flex-direction: column; align-items: stretch; }
  .track-step { flex: none; width: 100%; text-align: left; padding: 9px 0 9px 30px; font-size: 14px; }
  .track-step .track-dot { top: 50%; left: 5px; transform: translateY(-50%); }
  .track-step::before { top: -50%; bottom: auto; left: 10px; right: auto; width: 2px; height: 100%; }
  .track-cap { text-align: left; padding-left: 30px; }
}

/* ── Problem beat (single centered statement) ── */
.problem { padding: 100px 0; }
.problem-inner { max-width: 760px; margin: 0 auto; text-align: center; }
.problem h2 {
  font-size: clamp(26px, 3.6vw, 38px);
  letter-spacing: -0.9px;
  line-height: 1.14;
  margin: 0 0 16px;
  font-weight: 800;
}
.problem p { font-size: 18px; color: var(--ink-muted); margin: 0 auto 24px; max-width: 600px; }
.problem-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; justify-content: center; }
.problem-chips li {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-muted);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 15px;
}
.problem-chips li::before { content: "✕"; color: var(--primary); font-weight: 700; margin-right: 8px; }

/* ── Sections ── */
.section { padding: 84px 0; }
.section--soft { background: var(--bg-soft); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
@media (max-width: 880px) { .section { padding: 60px 0; } .problem { padding: 64px 0; } }

.section-head { max-width: 680px; margin: 0 0 44px; }
.section-head h2 {
  font-size: clamp(28px, 4vw, 42px);
  letter-spacing: -1.2px;
  line-height: 1.1;
  margin: 0 0 12px;
  font-weight: 800;
}
.section-head p { font-size: 18px; color: var(--ink-muted); margin: 0; }

/* Home (marketing) gets Apple-grade breathing room + centered section intros.
   Scoped to .home so the 100+ shared SEO pages keep their tighter rhythm. */
.home .section { padding: 116px 0; }
.home .section-head { max-width: 720px; margin: 0 auto 60px; text-align: center; }
.home .faq-list { margin: 0 auto; }
@media (max-width: 880px) { .home .section { padding: 74px 0; } }

/* ── How it works (open numbered columns — no card chrome) ── */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px; }
.step { position: relative; padding: 0; }
.step-n {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--primary-soft);
  color: var(--primary);
  font-weight: 800;
  font-size: 20px;
  margin-bottom: 18px;
}
.step h3 { margin: 0 0 8px; font-size: 19px; font-weight: 700; letter-spacing: -0.3px; }
.step p { margin: 0; font-size: 15px; color: var(--ink-muted); line-height: 1.62; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; gap: 36px; } }

/* ── Feature rows (open alternating screenshot + copy, no card chrome) ── */
.frows { display: flex; flex-direction: column; gap: 96px; }
.frow {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 64px;
  align-items: center;
}
.frow--alt { grid-template-columns: 400px 1fr; }
.frow--alt .frow-copy { order: 2; }
.frow--alt .frow-shot { order: 1; }
.frow-copy h3 { font-size: clamp(22px, 2.6vw, 30px); letter-spacing: -0.7px; line-height: 1.14; margin: 0 0 14px; font-weight: 800; }
.frow-copy p { font-size: 17px; color: var(--ink-muted); margin: 0; line-height: 1.62; max-width: 480px; }
.frow-shot { display: flex; justify-content: center; }
/* Feature + supplier shots reuse the hero's .device bezel. A bordered <img>
   with border-radius leaves square corners on iOS Safari; the padded container
   clips the image cleanly instead. */
.device--inline { padding: 8px; border-radius: 34px; box-shadow: 0 30px 60px -28px rgba(14,17,22,0.42); }
.device--inline .shot { border-radius: 27px; }
.frow-shot .device--inline { width: 286px; }
@media (max-width: 820px) {
  .frows { gap: 64px; }
  .frow, .frow--alt { grid-template-columns: 1fr; gap: 30px; text-align: center; justify-items: center; }
  .frow--alt .frow-copy { order: 1; }
  .frow--alt .frow-shot { order: 2; }
  .frow-copy p { margin-left: auto; margin-right: auto; }
  .frow-shot .device--inline { width: 240px; }
}

/* ── Supplier section ── */
.supplier-grid { display: grid; grid-template-columns: 380px 1fr; gap: 64px; align-items: center; }
.supplier-shot { display: flex; justify-content: center; }
.supplier-shot .device--inline { width: 290px; }
.supplier-copy h2 { font-size: clamp(26px, 3.4vw, 38px); letter-spacing: -1px; line-height: 1.12; margin: 0 0 14px; font-weight: 800; }
.supplier-copy .lead { font-size: 18px; color: var(--ink-muted); margin: 0 0 22px; }
.ticks { list-style: none; margin: 0 0 26px; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.ticks li { display: flex; align-items: flex-start; gap: 11px; font-size: 16px; color: var(--ink); }
.ticks .ic { width: 19px; height: 19px; color: var(--success); flex-shrink: 0; margin-top: 1px; }
@media (max-width: 820px) {
  .supplier-grid { grid-template-columns: 1fr; gap: 28px; }
  .supplier-shot { order: 2; }
  .supplier-copy { order: 1; }
}

/* ── Trust grid (open columns, hairline top rule — no card chrome) ── */
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.trust-card { padding: 20px 0 0; border-top: 1px solid var(--line); }
.trust-card h3 { margin: 0 0 8px; font-size: 18px; font-weight: 700; letter-spacing: -0.3px; }
.trust-card p { margin: 0; font-size: 15px; color: var(--ink-muted); line-height: 1.62; }
@media (max-width: 820px) { .trust-grid { grid-template-columns: 1fr; gap: 28px; } }

/* ── Shared: feature grid (used by SEO pages) ── */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.feature { padding: 26px 24px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .2s, transform .2s; }
.feature:hover { border-color: var(--ink-subtle); transform: translateY(-2px); }
.feature h3 { margin: 0 0 8px; font-size: 17px; font-weight: 700; letter-spacing: -0.3px; }
.feature p { margin: 0; font-size: 14.5px; color: var(--ink-muted); line-height: 1.6; }

/* ── FAQ ── */
.faq-list { max-width: 760px; }
details { border-bottom: 1px solid var(--line); padding: 20px 0; }
details summary {
  cursor: pointer; font-weight: 600; font-size: 16.5px; color: var(--ink);
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; font-size: 24px; color: var(--ink-subtle); font-weight: 300; transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { margin: 12px 0 0; color: var(--ink-muted); font-size: 15.5px; line-height: 1.65; }

/* ── Final CTA ── */
.final-wrap { padding: 28px 24px 56px; }
.cta-final {
  background: var(--ink);
  color: #fff;
  text-align: center;
  padding: 72px 24px;
  border-radius: var(--radius-lg);
  margin: 0 auto;
  max-width: calc(var(--max-w) - 48px);
  background-image: radial-gradient(900px 360px at 50% -20%, rgba(220,38,38,0.32) 0%, rgba(220,38,38,0) 62%);
}
.cta-final h2 { margin: 0 0 12px; font-size: clamp(28px, 4vw, 40px); letter-spacing: -1px; font-weight: 800; }
.cta-final p { margin: 0 0 28px; color: #C4CAD3; font-size: 18px; }
.cta-final .cta-row { justify-content: center; }
.cta-final .btn-store { background: rgba(255,255,255,0.10); }
.cta-final .btn-store:hover { background: rgba(255,255,255,0.18); }

/* ── Footer ── */
footer { padding: 48px 0 36px; border-top: 1px solid var(--line); color: var(--ink-muted); font-size: 14px; background: var(--paper); }
.footer-grid { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 22px; margin-bottom: 22px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 22px; }
.footer-links a { color: var(--ink-muted); font-weight: 500; }
.footer-links a:hover { color: var(--ink); }
.footer-bottom { color: var(--ink-subtle); font-size: 13px; padding-top: 16px; border-top: 1px solid var(--line-soft); }

/* ── Scroll reveal (home only — gated on html.js so no-JS shows everything;
   SEO pages add neither .js nor [data-reveal], so these never match there) ── */
html.js [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .65s cubic-bezier(.16, 1, .3, 1), transform .65s cubic-bezier(.16, 1, .3, 1);
  will-change: opacity, transform;
}
html.js [data-reveal].in { opacity: 1; transform: none; }

/* ── Mobile web: CTA rows stack cleanly (primary full-width, stores share a row) ── */
@media (max-width: 560px) {
  .cta-row { gap: 10px; }
  .cta-row .btn-primary { flex: 1 1 100%; }
  .cta-row .btn-store { flex: 1 1 0; min-width: 0; padding-left: 14px; padding-right: 14px; }
  .hero .lead { font-size: 17px; }
}

/* ── A11y: focus + reduced motion ── */
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js [data-reveal] { opacity: 1; transform: none; transition: none; }
  * { transition: none !important; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   Home hero components (2026-07-03)

   The app-uniform token layer that debuted here scoped to body.home has been
   PROMOTED into :root above (2026-07 rollout) — the whole site now runs the
   app's warm ramp. What remains .home-scoped is homepage-only markup (the
   CSS order-inbox hero, store line) and the homepage's roomier section
   rhythm defined earlier in this file.
   ═══════════════════════════════════════════════════════════════════════ */

/* ── Hero store badges (single primary CTA; App Store / Play as small
      logo pills right under it). Unscoped (not .home) so the SEO/sector/city
      pages — which render <body> with no .home class — get it too. ── */
.store-badges { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 14px 0 0; }
.store-badges a {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 14px; font-weight: 600; color: var(--ink);
  text-decoration: none; background: var(--bg);
  border: 1px solid var(--line); border-radius: 999px; padding: 7px 15px;
  transition: border-color .15s ease;
}
.store-badges a:hover { border-color: var(--ink-subtle); }
.store-badges .ic { width: 16px; height: 16px; }
/* Supplier section "more" text link (homepage → /toptanci) */
.home .store-line { margin: 14px 0 0; font-size: 14px; }
.home .store-line a { color: var(--primary); font-weight: 600; text-decoration: none; }
.home .store-line a:hover { text-decoration: underline; }

/* ── Hero inbox — the supplier order inbox, redrawn in CSS at readable size.
      This replaces the phone-screenshot cluster: on the phones the ad traffic
      actually uses, a 224px screenshot is unreadable; a real-size card in the
      app's own component language (surface / 12px radius / soft shadow /
      status badges) is both legible and uniform-by-construction. ── */
.home .inbox {
  margin: 46px auto 0;
  max-width: 460px;
  text-align: left;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 48px -24px rgba(26, 26, 26, 0.16), 0 2px 6px rgba(26, 26, 26, 0.04);
  overflow: hidden;
}
.home .inbox-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line-soft);
  background: var(--bg);
}
.home .inbox-head h3 { margin: 0; font-size: 15px; font-weight: 700; letter-spacing: -0.2px; color: var(--ink); }
.home .inbox-bell { position: relative; color: var(--ink-muted); display: inline-flex; }
.home .inbox-bell .ic { width: 19px; height: 19px; }
.home .inbox-bell::after {
  content: "";
  position: absolute;
  top: -1px;
  right: -1px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--primary);
  border: 2px solid var(--bg);
}
.home .order-row { display: flex; align-items: center; gap: 12px; padding: 14px 18px; background: var(--bg); }
.home .order-row + .order-row { border-top: 1px solid var(--line-soft); }
.home .order-avatar {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
  flex-shrink: 0;
}
/* App Avatar palette pairs (constants/theme.ts avatar bg ramp) */
.home .order-avatar--a { background: #E8F0FE; color: #2563EB; }
.home .order-avatar--b { background: #FEF0E6; color: #B45309; }
.home .order-avatar--c { background: #E6F8EE; color: #047857; }
.home .order-main { flex: 1; min-width: 0; }
.home .order-name {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.home .order-new-dot { width: 8px; height: 8px; border-radius: 999px; background: var(--primary); flex-shrink: 0; }
.home .order-meta { display: block; font-size: 12.5px; color: var(--ink-muted); margin-top: 1px; }
.home .obadge {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1px;
  line-height: 1.4; /* body's 1.6 makes the pill taller than the app's compact Badge */
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
}
.home .obadge--warn { color: var(--warn); background: var(--warn-wash); }
.home .obadge--ok { color: var(--ok); background: var(--ok-wash); }
.home .obadge--ship { color: var(--ship); background: var(--ship-wash); }
.home .inbox-cap { margin: 14px auto 0; font-size: 13px; color: var(--ink-subtle); text-align: center; max-width: 460px; }

/* Orchestrated load moment: rows cascade in, then the top order's badge
   flips "Onay bekliyor" → "Onaylandı" once — the product's core promise
   (an order getting handled) told in ~2.5 seconds, pure CSS. */
html.js .home .order-row {
  opacity: 0;
  transform: translateY(10px);
  animation: home-row-in 0.55s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
html.js .home .order-row:nth-of-type(1) { animation-delay: 0.15s; }
html.js .home .order-row:nth-of-type(2) { animation-delay: 0.3s; }
html.js .home .order-row:nth-of-type(3) { animation-delay: 0.45s; }
@keyframes home-row-in { to { opacity: 1; transform: none; } }
.home .badge-swap { position: relative; display: inline-grid; }
/* Both badges share one grid cell for the cross-fade; the cell is as wide as
   the WIDER label ("Onay bekliyor"), and the grid default (stretch) inflated
   the visible "Onaylandı" pill to that width. justify-items:end keeps each
   pill at its intrinsic width, flush right like the other rows' badges. */
.home .badge-swap { justify-items: end; }
.home .badge-swap .obadge { grid-area: 1 / 1; }
.home .badge-swap .obadge--ok { opacity: 0; }
html.js .home .badge-swap .obadge--warn { animation: home-badge-out 0.3s ease 2.3s forwards; }
html.js .home .badge-swap .obadge--ok { animation: home-badge-in 0.3s ease 2.3s forwards; }
@keyframes home-badge-in { to { opacity: 1; } }
@keyframes home-badge-out { to { opacity: 0; } }

@media (max-width: 560px) {
  .home .inbox { margin-top: 36px; }
  .home .order-row { padding: 13px 14px; }
  .home .inbox-head { padding: 13px 14px; }
}

/* Reduced motion: land on the final state (approved), no cascade. */
@media (prefers-reduced-motion: reduce) {
  html.js .home .order-row { opacity: 1; transform: none; animation: none; }
  html.js .home .badge-swap .obadge--warn { animation: none; opacity: 0; }
  html.js .home .badge-swap .obadge--ok { animation: none; opacity: 1; }
}

/* ── Supplier page (/toptanci/ + /en/for-suppliers/): pricing card ──
   Everything else on the page reuses the shared primitives above; only the
   price presentation is new. Figures are the real store prices — copy lives
   in scripts/build-landing.mts (trSupplier/enSupplier). */
.price-card {
  max-width: 520px;
  margin: 0 auto;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 28px 28px;
  text-align: center;
}
.price-kicker {
  display: inline-block;
  background: var(--ok-wash);
  color: var(--ok);
  font-weight: 700;
  font-size: 14px;
  border-radius: 999px;
  padding: 6px 14px;
  margin: 0 0 14px;
}
.price-figure {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  font-size: 56px;
  letter-spacing: -1.5px;
  line-height: 1;
  color: var(--ink);
}
.price-per { font-size: 20px; font-weight: 600; letter-spacing: 0; color: var(--ink-muted); }
.price-note { margin: 10px auto 0; max-width: 400px; font-size: 14px; color: var(--ink-muted); line-height: 1.55; }
.price-card .ticks { display: inline-flex; flex-direction: column; gap: 10px; margin: 20px auto 4px; text-align: left; }
.price-card .cta-row { justify-content: center; margin-top: 16px; }
.price-fine { margin: 16px 0 0; font-size: 12px; color: var(--ink-subtle); line-height: 1.5; }
