@font-face {
  font-family: "Noto Sans Arabic";
  src: url("assets/arabic-regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Noto Sans Arabic";
  src: url("assets/arabic-bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --wine: #791f1b;
  --wine-dark: #621612;
  --ink: #251917;
  --muted: #685953;
  --line: #eaded8;
  --paper: #fffdfb;
  font-family: "Noto Sans Arabic", Tahoma, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
body {
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  display: grid;
  place-items: center;
  padding: 36px 16px;
  color: var(--ink);
  background:
    radial-gradient(circle, #8d494329 1px, transparent 1.35px) center top / 24px 24px,
    radial-gradient(ellipse at 50% 0%, #f0dfd6 0%, #f8f2ed 47%, #faf7f4 85%);
}

.panel {
  position: relative;
  width: min(100%, 490px);
  padding: 24px 28px 23px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: var(--paper);
  box-shadow: 0 28px 85px #45211715, 0 3px 13px #45211707;
}

.topbar { display: flex; justify-content: space-between; align-items: center; }
.logo { display: block; width: 99px; height: auto; }
.icon-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon {
  display: block;
  width: 22px;
  height: 22px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.share, .social a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--wine);
  cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease;
}
.share[hidden] { display: none; }
.share:hover, .social a:hover { background: #f9efeb; border-color: #d9bcb3; }
.share .icon { width: 19px; height: 19px; }

.intro { margin: 15px 0 27px; text-align: center; }
.portrait {
  width: 122px;
  height: 122px;
  margin: 0 auto 13px;
  padding: 5px;
  border: 1px solid #d7b4a9;
  border-radius: 50%;
  background: #f9efea;
}
.portrait img { display: block; width: 100%; height: 100%; border-radius: 50%; }
h1 { margin: 0; font-size: clamp(29px, 8vw, 40px); line-height: 1.5; }
h1 span { color: var(--wine); }
.intro p { margin: 1px 0 0; color: var(--muted); font-size: 14px; line-height: 1.8; }

.links { display: grid; gap: 10px; }
.link {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 12px;
  min-height: 75px;
  padding: 10px 13px;
  text-decoration: none;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  transition: background-color .18s ease, border-color .18s ease, transform .18s ease;
}
.link:hover { background: #fcf4f0; border-color: #d9bcb3; transform: translateY(-2px); }
.tile {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #f7eae6;
  color: var(--wine);
}
.tile-whatsapp { background: #eaf5ed; color: #256843; }
.link-copy { display: grid; gap: 2px; }
.link strong { font-size: 16px; line-height: 1.5; }
.link small { font-size: 12px; line-height: 1.5; color: var(--muted); }
.arrow { width: 18px; height: 18px; transform: scaleX(-1); color: var(--wine); }
.link-primary {
  color: #fff;
  background: var(--wine);
  border-color: var(--wine);
  box-shadow: 0 7px 16px #791f1b24;
}
.link-primary:hover { background: var(--wine-dark); border-color: var(--wine-dark); }
.link-primary small { color: #f9e9e3; }
.link-primary .tile { color: #fff; background: #ffffff24; }
.link-primary .arrow { color: #fff; }

.social { display: flex; justify-content: center; margin-top: 21px; }
.social a { color: var(--ink); }
.social .icon { width: 20px; height: 20px; }
:focus-visible { outline: 2px solid var(--wine); outline-offset: 4px; }
.notice {
  position: absolute;
  inset-inline: 16px;
  bottom: 12px;
  width: fit-content;
  margin: auto;
  padding: 7px 13px;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  pointer-events: none;
}
.notice:empty { padding: 0; }

@media (max-width: 480px) {
  body { padding: 20px 13px; }
  .panel { padding: 18px 16px 18px; border-radius: 25px; }
  .intro { margin-top: 19px; margin-bottom: 23px; }
  .portrait { width: 113px; height: 113px; }
}

@media (max-width: 360px) {
  .link { gap: 8px; padding-inline: 9px; }
  .link strong { font-size: 14px; }
  .link small { font-size: 11px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
