/* «قريباً» on www.leaglksayidati.com until the store is deployed.
   Colours and font are the store's (src/app/globals.css); the double arch echoes the logo. */

@font-face {
  font-family: "Tajawal";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/tajawal-400-arabic.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FEFC;
}
@font-face {
  font-family: "Tajawal";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/tajawal-400-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;
}
@font-face {
  font-family: "Tajawal";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/tajawal-700-arabic.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FEFC;
}

:root {
  --paper: #ffffff;
  --shell: #fdfbf8;
  --cream: #e9d3c0;
  --taupe: #726253;
  --taupe-soft: #9a8977;
  --taupe-deep: #55483c;
  --ink: #1c1917;
  --muted: #736a61;
  --ease-soft: cubic-bezier(0.32, 0.72, 0, 1);
  color-scheme: light;
}

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

html, body { margin: 0; }

body {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 32px 16px;
  background: var(--shell);
  color: var(--ink);
  font: 400 1rem/1.8 "Tajawal", "Segoe UI", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* the arch: radii larger than half the width are scaled down by the browser into a semicircle at any width */
.arch {
  position: relative;
  width: min(100%, 420px);
  padding: 88px 28px 52px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: var(--paper);
  border: 1px solid var(--taupe-soft);
  border-radius: 999px 999px 2px 2px;
  animation: rise 300ms var(--ease-soft) both;
}

.arch::before {
  content: "";
  position: absolute;
  inset: 9px;
  border: 1px solid var(--cream);
  border-radius: inherit;
  pointer-events: none;
}

.logo {
  width: min(240px, 74%);
  height: auto;
}

.rule {
  width: 40px;
  height: 1px;
  margin: 28px 0 22px;
  background: var(--taupe-soft);
}

h1 {
  margin: 0;
  font-size: clamp(2.4rem, 11vw, 3.1rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--taupe-deep);
}

.lead {
  margin: 14px 0 0;
  max-width: 30ch;
  text-wrap: balance;
}

.note {
  margin: 6px 0 28px;
  max-width: 32ch;
  text-wrap: balance;
  font-size: 0.9375rem;
  color: var(--muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 26px;
  border-radius: 2px;
  background: var(--taupe-deep);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 200ms var(--ease-soft), transform 200ms var(--ease-soft);
}

.btn:hover { background: var(--ink); }
.btn:active { transform: scale(0.98); }

.phone {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.9375rem;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.phone:hover { color: var(--taupe-deep); }

.btn:focus-visible,
.phone:focus-visible {
  outline: 2px solid var(--taupe);
  outline-offset: 3px;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .arch { animation: none; }
  .btn { transition: none; }
}
