

:root {
  --color-primary: #8F2D18;
  --color-accent: #D98324;
  --color-surface: #F6EBDA;
  --color-ink: #2A1A12;
  --color-ink-muted: #6A5546;
  --font-sans: "Vazirmatn", system-ui, sans-serif;
  --font-display: "Estedad", "Vazirmatn", system-ui, sans-serif;
  --radius-md: 0.75rem;
  --radius-lg: 1.25rem;
  --radius-xl: 2rem;
  --shadow-sm: 0 1px 2px rgb(42 26 18 / 0.08);
  --shadow-lg: 0 14px 30px -10px rgb(42 26 18 / 0.25);
  --shadow-xl: 0 30px 60px -20px rgb(42 26 18 / 0.35);
  --color-card: #FFF9EF;
  --color-line: rgb(42 26 18 / 0.14);
  --color-wash: rgb(42 26 18 / 0.06);
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
}

* { box-sizing: border-box; margin: 0; }
html, body { font-family: var(--font-sans); color: var(--color-ink); background: var(--color-surface); line-height: 1.8; overflow-x: clip; }
#root { min-height: 100dvh; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.45; overflow-wrap: anywhere; }
p, li, span, a, label { overflow-wrap: break-word; }
img { max-width: 100%; }
:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }

@keyframes menu-in { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: none; } }
@keyframes link-in { from { opacity: 0; transform: translateX(16px); } to { opacity: 1; transform: none; } }
.menu-in { animation: menu-in 260ms var(--helix-ease-out, ease-out) both; }
.link-in { animation: link-in 420ms var(--helix-ease-out, ease-out) both; }

.hide-scroll { scrollbar-width: none; }
.hide-scroll::-webkit-scrollbar { display: none; }

.field {
  min-height: 2.75rem; width: 100%; min-width: 0; border-radius: var(--radius-md);
  border: 1px solid var(--color-line); background: var(--color-card);
  padding: 0.55rem 0.75rem; font: inherit; line-height: 1.65; color: var(--color-ink);
}
.field::placeholder { color: var(--color-ink-muted); opacity: 0.85; }
.field:focus-visible { border-color: var(--color-primary); outline: 2px solid var(--color-accent); outline-offset: 2px; }

/* 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;
    }
  }
}
