/* Fateen Cards' website (internal/site/cards). Colors are Fateen's (internal/site/static/site.css),
   the type is the apps': Alexandria for Arabic display, IBM Plex Sans Arabic for Arabic text, Inter
   for English. The font files are the website's own, shared (site.Fonts). */

@font-face { font-family: "Cards Display"; src: url(/fonts/alexandria-900.woff2?v=23f55584f7cd) format("woff2"); font-weight: 900; font-display: swap; }
@font-face { font-family: "Cards Display"; src: url(/fonts/alexandria-700.woff2?v=b66a69d09675) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Cards Text"; src: url(/fonts/inter-400.woff2?v=20dc3ed67a90) format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2190-2193, U+2212, U+2215; }
@font-face { font-family: "Cards Text"; src: url(/fonts/inter-600.woff2?v=ca7a85f02187) format("woff2"); font-weight: 600; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2190-2193, U+2212, U+2215; }
@font-face { font-family: "Cards Text"; src: url(/fonts/plexar-400.woff2?v=7c5ab85237d9) format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: "Cards Text"; src: url(/fonts/plexar-600.woff2?v=15cf4c00631d) format("woff2"); font-weight: 600; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF; }

:root {
  color-scheme: light dark;
  --canvas: #F6F4EE;
  --ink: #0A0A0A;
  --ink-2: #4D4D4D;
  --hairline: #DBD9D5;
  --brand: #FA541C;
  --felt: #00583D;
  --sun: #FFC53D;
  --paper: #F6F4EE;
}

@media (prefers-color-scheme: dark) {
  :root {
    --canvas: #0A0A0A;
    --ink: #F6F4EE;
    --ink-2: #B5B0A6;
    --hairline: #2F2D29;
  }
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  /* The splash screen's light: a warm glow at the top, the table's green at the bottom. */
  background:
    radial-gradient(44rem 34rem at 100% 0%, color-mix(in oklab, var(--brand) 11%, transparent), transparent 70%),
    radial-gradient(44rem 34rem at 0% 100%, color-mix(in oklab, var(--felt) 14%, transparent), transparent 70%),
    var(--canvas);
  color: var(--ink);
  font: 400 1.0625rem/1.65 "Cards Text", system-ui, sans-serif;
}

main {
  flex: 1;
  width: 100%;
  max-width: 34rem;
  padding: clamp(3rem, 10vh, 5.5rem) 1.25rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  text-align: center;
}

a { color: inherit; }
a:focus-visible { outline: 3px solid var(--brand); outline-offset: 4px; border-radius: .5rem; }

/* The stacked lockup, as the Figma file's Logo Lockup draws it: the mark, the wordmark, and the
   كوتشينة tag under it, level (the user's call: no tilt). */
.lockup {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
}
.lockup svg { width: 6.5rem; height: auto; display: block; }
.wordmark { margin-top: .9rem; font: 900 3.5rem/1.15 "Cards Display", system-ui, sans-serif; }
.tag {
  /* Clear of the wordmark's ن, whose tail drops below the line. */
  margin-top: .8rem;
  padding: .2rem .95rem .3rem;
  border: 2px solid #0A0A0A;
  border-radius: .55rem;
  background: var(--sun);
  color: #0A0A0A;
  box-shadow: 0 .16rem 0 #0A0A0A;
  font: 700 1rem/1.4 "Cards Display", system-ui, sans-serif;
}

.soon {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .35rem 1rem;
  border-radius: 999px;
  background: var(--felt);
  color: var(--paper);
  font-weight: 600;
  font-size: .9375rem;
}
.soon span { opacity: .8; }

.pitch { width: 100%; }
.pitch + .pitch { padding-top: 2rem; border-top: 1px solid var(--hairline); }
h1 { margin: 0; font: 900 clamp(2rem, 8vw, 2.75rem)/1.25 "Cards Display", system-ui, sans-serif; text-wrap: balance; }
h2 { margin: 0; font-weight: 600; font-size: 1.5rem; line-height: 1.3; letter-spacing: -.015em; text-wrap: balance; }
.pitch p { margin: .6rem auto 0; max-width: 28rem; color: var(--ink-2); text-wrap: pretty; }
/* Arabic display type drops further below its line than English. */
h1 + p { margin-top: 1rem; }

.family {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .25rem;
  color: var(--ink-2);
  font-size: .9375rem;
}
.family p { margin: 0; }
.button {
  margin-top: 1rem;
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .8rem 1.5rem;
  border-radius: 999px;
  background: var(--ink);
  color: var(--canvas);
  font-weight: 600;
  text-decoration: none;
  transition: background-color .15s ease;
}
.button span { opacity: .7; font-weight: 400; }
.button:hover { background: var(--brand); color: #FFFFFF; }

footer { padding: 1.5rem 1.25rem 2rem; font-size: .875rem; color: var(--ink-2); }

@media (prefers-reduced-motion: reduce) {
  .button { transition: none; }
}
