

:root {
  --color-primary: #12352c;
  --color-accent: #c46a1a;
  --color-surface: #e7f0ea;
  --color-ink: #1c2b24;
  --color-ink-muted: #5e6f66;
  --color-card: #f7fbf8;
  --color-line: #c5d5cb;
  --color-wash: #d7e6dc;
  --font-display: "Lalezar", "Vazirmatn", sans-serif;
  --font-body: "Vazirmatn", "Noto Sans Arabic", sans-serif;
  --radius-md: 0.55rem;
  --radius-lg: 1rem;
  --radius-xl: 1.6rem;
  --shadow-sm: 0 1px 2px rgb(18 53 44 / 0.08);
  --shadow-lg: 0 18px 40px rgb(18 53 44 / 0.12);
  --shadow-xl: 0 28px 64px rgb(18 53 44 / 0.18);
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
}

html {
  direction: rtl;
}

body {
  margin: 0;
  background: var(--color-surface);
  color: var(--color-ink);
  font-family: var(--font-body);
  line-height: 1.75;
  overflow-x: hidden;
}

button, input, select, textarea {
  font-family: inherit;
}

:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.bar-word {
  font-family: var(--font-display);
  line-height: 1.25;
  font-size: clamp(3rem, 13vw, 4.6rem);
  margin: 0;
  overflow: hidden;
}

.ledger-poster {
  position: relative;
  min-height: 22rem;
  overflow: hidden;
  border-radius: 1.6rem;
  background: #0c1f18;
}

.ledger-poster__photo {
  position: absolute;
  inset: 0;
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.ledger-poster__scrim {
  position: absolute;
  inset: 0;
  background: #0c1f18;
  opacity: 0.72;
}

.ledger-poster__plate {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin: 1rem;
  max-width: 36rem;
  padding: 1rem 1.1rem 1.15rem;
  border-radius: 1rem;
  background: #0c1f18 !important;
  color: #f7fbf8 !important;
}

.ledger-poster__plate p,
.ledger-poster__plate h1 {
  margin: 0;
  color: #f7fbf8 !important;
  line-height: 1.75;
  overflow-wrap: anywhere;
}

.ledger-poster__word {
  margin: 0;
  padding-block: 0.08em;
  overflow: hidden;
  color: #f6d7a8 !important;
  font-family: "Lalezar", "Vazirmatn", sans-serif;
  font-size: clamp(3rem, 13vw, 4.6rem);
  line-height: 1.25;
}

.ledger-panel {
  display: grid;
  gap: 0.75rem;
  min-width: 0;
  align-content: start;
  padding: 1.25rem;
  border: 1px solid #c5d5cb;
  border-radius: 1rem;
  background: #f7fbf8;
  color: #1c2b24;
  box-shadow: 0 18px 40px rgb(18 53 44 / 0.12);
}

.ledger-btn {
  display: inline-flex;
  height: 2.75rem;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 0.55rem;
  background: #12352c !important;
  color: #f7fbf8 !important;
  font: inherit;
  cursor: pointer;
}

.ledger-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

@media (prefers-reduced-motion: reduce) {
  .bar-word,
  .ribbon-pulse {
    animation: none !important;
  }
}

/* SAZITO_PLATFORM_CONTAINER_FIX_SCRUM_4531 */
/* No author .container rule found; Tailwind's built-in .container
   utility never had a phone gutter in EITHER preview or a real build
   (width:100% + breakpoint max-width, no padding/margin, ever) — see
   platformContainerFix.ts for the full mechanism, verified both ways.
   Scoped to @layer components (not unlayered) so a REAL utility class the
   author DID apply — e.g. class="container px-8" — still wins: Tailwind's
   own @layer utilities (publish) and its unlayered runtime injection
   (preview) both outrank @layer components; this default only applies
   when nothing else sets padding/margin at all. */
@layer components {
  .container {
    margin-inline: auto;
    padding-inline: 1rem;
  }
  @media (min-width: 640px) {
    .container {
      padding-inline: 1.5rem;
    }
  }
}
