@font-face {
  font-family: Graphik;
  src: url("/fonts/Graphik-Arabic-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Graphik;
  src: url("/fonts/Graphik-Arabic-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Graphik;
  src: url("/fonts/Graphik-Arabic-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Graphik;
  src: url("/fonts/Graphik-Arabic-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #102326;
  --text: #132327;
  --muted: #414047;
  --surface: #fbfaf9;
  --surface-soft: #f3f1ee;
  --line: #e6e6e6;
  --blue: #266ff2;
  --white: #ffffff;
  --font: "Graphik", "Segoe UI", Tahoma, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  color: var(--text);
  background: var(--surface);
  font-family: var(--font);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.atmosphere {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 55% at 50% -10%, rgba(38, 111, 242, 0.08), transparent 55%),
    radial-gradient(ellipse 50% 40% at 100% 100%, rgba(16, 35, 38, 0.05), transparent 50%),
    linear-gradient(180deg, var(--surface) 0%, var(--surface-soft) 100%);
}

.page {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: min(100%, 40rem);
  margin: 0 auto;
  padding: 4.5rem 1.5rem 3rem;
  text-align: center;
}

.brand {
  display: inline-flex;
  margin-bottom: 2.75rem;
  transition: opacity 160ms ease;
}

.brand:hover {
  opacity: 0.72;
}

.brand img {
  display: block;
  width: 5.5rem;
  height: auto;
}

.eyebrow {
  margin: 0 0 0.85rem;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

h1 {
  margin: 0 0 1rem;
  color: var(--ink);
  font-size: clamp(1.85rem, 4.5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.lead {
  margin: 0 auto 1.75rem;
  max-width: 32rem;
  color: var(--muted);
  font-size: 1.05rem;
  font-weight: 400;
}

.mono {
  display: inline-block;
  margin-inline: 0.15rem;
  color: var(--text);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.92em;
  font-weight: 500;
  direction: ltr;
  unicode-bidi: embed;
}

.domains {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.65rem 0.85rem;
  margin-bottom: 2.25rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.92rem;
}

.domain {
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
}

.domain-old {
  color: var(--muted);
  text-decoration: line-through;
  text-decoration-thickness: 1px;
}

.domain-new {
  color: var(--ink);
  border-color: rgba(38, 111, 242, 0.28);
  background: rgba(38, 111, 242, 0.06);
  font-weight: 600;
}

.arrow {
  color: var(--blue);
  font-size: 1.1rem;
  font-weight: 600;
}

.actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 160ms ease, background-color 160ms ease, opacity 160ms ease;
}

.cta:hover {
  background: #0b1b1d;
  transform: translateY(-1px);
}

.cta:active {
  transform: translateY(0);
}

.hint {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem 1.25rem;
  padding: 1.25rem 1.5rem 1.75rem;
  color: var(--muted);
  font-size: 0.85rem;
}

.footer p {
  margin: 0;
}

.footer a {
  color: var(--muted);
  text-decoration: none;
  transition: color 160ms ease;
}

.footer a:hover {
  color: var(--ink);
}

@media (max-width: 480px) {
  .page {
    padding-top: 3.5rem;
  }

  .domains {
    flex-direction: column;
  }

  .arrow {
    transform: rotate(90deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .brand,
  .cta,
  .footer a {
    transition: none;
  }

  .cta:hover {
    transform: none;
  }
}
