@font-face {
  font-family: "Inter";
  src: url("fonts/Inter-VariableFont_opsz,wght.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Lora";
  src: url("fonts/Lora-VariableFont_wght.woff2") format("woff2-variations");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

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

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

:root {
  --ink: #1a120d;
  --cream-warm: #faf6f1;
  --wine: #5f002f;
  --wine-dark: #38001f;
  --peach: #c49e85;
  --rule: rgba(26, 18, 13, 0.14);
  --muted: rgba(26, 18, 13, 0.72);
}

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

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
}

body {
  color: var(--ink);
  background: var(--cream-warm);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.5;
  letter-spacing: 0;
}

body.is-ar {
  font-family: "Doran", "Inter", sans-serif;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
  letter-spacing: 0;
}

::selection {
  color: var(--cream-warm);
  background: var(--wine);
}

.page {
  position: relative;
  width: 100%;
  height: 100dvh;
  min-height: 520px;
  padding: 32px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  overflow: hidden;
  isolation: isolate;
}

.background-mark {
  position: absolute;
  width: 520px;
  height: 520px;
  top: 50%;
  left: 50%;
  z-index: -1;
  opacity: 0.15;
  filter: blur(10px);
  transform: translate(-50%, -50%);
}

.header {
  width: min(100%, 1120px);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  width: 156px;
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--rule);
  border-radius: 8px;
  background: rgba(250, 246, 241, 0.7);
}

.language-option {
  min-width: 58px;
  min-height: 38px;
  padding: 0 12px;
  color: var(--wine);
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 700;
}

.language-option.is-active {
  color: var(--cream-warm);
  background: var(--wine);
}

.content {
  width: min(100%, 920px);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transform: translateY(-8px);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--wine);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

body.is-ar .eyebrow {
  letter-spacing: 0;
}

h1 {
  margin: 0;
  color: var(--wine-dark);
  font-family: "Lora", Georgia, serif;
  font-size: 6.25rem;
  font-weight: 600;
  line-height: 0.92;
  letter-spacing: 0;
}

body.is-ar h1 {
  font-family: "Doran", "Inter", sans-serif;
  font-size: 5.5rem;
  font-weight: 700;
  line-height: 1;
}

.description {
  max-width: 760px;
  margin: 28px auto 0;
  color: var(--muted);
  font-size: 1.35rem;
  line-height: 1.5;
}

body.is-ar .description {
  max-width: 720px;
  font-size: 1.45rem;
  line-height: 1.65;
}

.footer {
  width: min(100%, 1120px);
  margin: 0 auto;
  padding-bottom: 4px;
  text-align: center;
  color: rgba(26, 18, 13, 0.68);
  font-size: 0.98rem;
}

.footer p {
  margin: 0;
}

.footer a {
  color: var(--wine);
  font-weight: 800;
  border-bottom: 1px solid rgba(95, 0, 47, 0.24);
}

@media (max-width: 720px) {
  .page {
    min-height: 500px;
    padding: 22px;
  }

  .brand {
    width: 132px;
  }

  .language-option {
    min-width: 50px;
    min-height: 34px;
    font-size: 0.82rem;
  }

  .background-mark {
    width: 390px;
    height: 390px;
  }

  h1 {
    font-size: 4rem;
  }

  body.is-ar h1 {
    font-size: 3.7rem;
  }

  .description {
    margin-top: 22px;
    font-size: 1.05rem;
  }

  body.is-ar .description {
    font-size: 1.18rem;
    line-height: 1.6;
  }

  .footer {
    font-size: 0.86rem;
    line-height: 1.45;
  }
}

@media (max-height: 620px) {
  .page {
    padding-top: 18px;
    padding-bottom: 18px;
  }

  .brand {
    width: 126px;
  }

  .eyebrow {
    margin-bottom: 10px;
  }

  h1 {
    font-size: 4.4rem;
  }

  body.is-ar h1 {
    font-size: 3.9rem;
  }

  .description {
    margin-top: 16px;
    font-size: 1rem;
  }
}
