:root {
        color-scheme: light;
        --bg: #f7f3ec;
        --text: #14181f;
        --muted: rgba(20, 24, 31, 0.62);
        --font-family-brand-latin: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
        --font-family-fa: "Vazirmatn", "IBM Plex Sans Arabic", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
        --font-family-ar: "Vazirmatn", "IBM Plex Sans Arabic", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
        --font-family-base: var(--font-family-brand-latin);
        --surface-top: #fbf8f2;
        --surface-bottom: #f4efe6;
        --surface-glow: rgba(255, 255, 255, 0.7);
      }

      :root[data-theme="dark"] {
        --bg: #14181f;
        --text: #f7f3ec;
        --muted: rgba(247, 243, 236, 0.68);
        --surface-top: #1e242d;
        --surface-bottom: #101318;
        --surface-glow: rgba(93, 130, 184, 0.16);
      }

      html[data-font-locale="fa"] {
        --font-family-base: var(--font-family-fa);
      }

      html[data-font-locale="ar"] {
        --font-family-base: var(--font-family-ar);
      }

      * {
        box-sizing: border-box;
      }

      html {
        margin: 0;
        min-height: 100%;
        background: var(--surface-bottom);
      }

      body {
        margin: 0;
        min-height: 100vh;
        min-height: 100svh;
        min-height: 100dvh;
        background:
          radial-gradient(circle at top, var(--surface-glow), transparent 42%),
          linear-gradient(180deg, var(--surface-top) 0%, var(--bg) 36%, var(--surface-bottom) 100%);
        font-family: var(--font-family-base);
        color: var(--text);
        display: grid;
        place-items: center;
        padding: 1.5rem;
      }

      main {
        width: min(100%, 34rem);
        text-align: center;
      }

      p,
      h1 {
        margin: 0;
      }

      .eyebrow {
        font-size: var(--font-size-400);
        font-weight: 600;
        color: var(--muted);
      }

      h1 {
        margin-top: 1rem;
        font-size: clamp(2.5rem, 8vw, 4.75rem);
        line-height: 0.95;
        letter-spacing: -0.06em;
        overflow-wrap: anywhere;
      }

      .copy {
        margin-top: 1.5rem;
        font-size: var(--font-size-500);
        line-height: var(--line-height-400);
        color: var(--muted);
      }

      .actions {
        margin-top: 2rem;
      }

      a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 3.25rem;
        padding: 0.875rem 1.5rem;
        border: 1px solid rgba(20, 24, 31, 0.09);
        border-radius: var(--radius-pill);
        background: linear-gradient(180deg, rgba(27, 32, 40, 0.92), rgba(12, 15, 20, 0.97));
        box-shadow: 0 10px 24px rgba(17, 24, 39, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.16);
        color: #faf7f2;
        font-size: 0.96rem;
        font-weight: 600;
        letter-spacing: -0.01em;
        text-decoration: none;
      }
