@font-face {
  font-family: Vazirmatn;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/vazirmatn-arabic-400-normal.woff2') format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0898-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FEFC;
}
@font-face {
  font-family: Vazirmatn;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/vazirmatn-arabic-500-normal.woff2') format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0898-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FEFC;
}
@font-face {
  font-family: Vazirmatn;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/vazirmatn-arabic-700-normal.woff2') format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0898-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FEFC;
}
@font-face {
  font-family: Vazirmatn;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/vazirmatn-latin-400-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: Vazirmatn;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/vazirmatn-latin-700-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #1b2422;
  --muted: #5c6762;
  --paper: #f3efe6;
  --paper-2: #faf7f1;
  --line: #ddd4c4;
  --deep: #14312e;
  --teal: #0f6e68;
  --teal-2: #18867e;
  --clay: #9c4328;
  --focus: #0b3f3b;
  --shadow: 0 18px 40px rgba(20, 49, 46, 0.08);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Vazirmatn, sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.75;
  font-size: 1.05rem;
}
img { max-width: 100%; height: auto; }
a { color: var(--teal); text-underline-offset: 0.18em; }
a:hover { color: var(--clay); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.skip {
  position: absolute;
  inset-inline-start: 12px;
  top: -40px;
  background: var(--deep);
  color: white;
  padding: 8px 12px;
  z-index: 5;
}
.skip:focus { top: 12px; }
.wrap { width: min(1120px, calc(100% - 32px)); margin-inline: auto; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 4;
  background: rgba(243, 239, 230, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}
.topbar-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  padding: 12px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
  margin-inline-end: auto;
}
.brand img { width: 36px; height: 36px; }
.brand strong { display: block; font-size: 1.15rem; letter-spacing: -0.02em; }
.brand small { display: block; color: var(--muted); font-size: 0.78rem; }
.nav { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.nav a { color: var(--ink); text-decoration: none; font-size: 0.95rem; }
.nav a:hover { color: var(--teal); }
.top-actions { display: flex; gap: 8px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid transparent;
  font: inherit;
  cursor: pointer;
}
.btn-primary { background: var(--clay); color: #fffaf6; }
.btn-primary:hover { background: #83361f; color: white; }
.btn-ghost { background: transparent; color: var(--deep); border-color: #c9bfae; }
.btn-ghost:hover { border-color: var(--deep); color: var(--deep); }

.hero { padding: 48px 0 20px; }
.hero-grid { display: grid; gap: 28px; align-items: start; }
.kicker {
  margin: 0 0 8px;
  color: var(--teal);
  font-weight: 700;
  font-size: 0.92rem;
}
h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.25;
  letter-spacing: -0.03em;
  font-weight: 700;
}
.lede { font-size: 1.12rem; color: var(--muted); max-width: 42rem; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0; }
.facts { padding: 0; margin: 0; list-style: none; display: grid; gap: 6px; }
.facts li { padding-inline-start: 1rem; position: relative; }
.facts li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 99px;
  background: var(--teal);
  position: absolute;
  inset-inline-start: 0;
  top: 0.7em;
}
.stat { color: var(--muted); font-size: 0.95rem; }

.day {
  margin: 0;
  background: var(--deep);
  color: #f4efe6;
  border-radius: 22px;
  padding: 22px 22px 16px;
  box-shadow: var(--shadow);
}
.day figcaption { font-weight: 700; margin-bottom: 12px; }
.day ol { list-style: none; padding: 0; margin: 0; }
.day li {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 10px;
  padding: 10px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.day time { color: #e2b59a; font-variant-numeric: tabular-nums; }
.day p { color: #d5ddd9; font-size: 0.92rem; }

.section { padding: 36px 0; }
.section-alt { background: var(--paper-2); border-block: 1px solid var(--line); }
.section-head { max-width: 40rem; margin-bottom: 18px; }
.section-head h2, .prose-page h1 { margin-bottom: 8px; }
h2 { font-size: clamp(1.4rem, 2vw, 1.9rem); line-height: 1.35; letter-spacing: -0.02em; margin: 0 0 10px; }
h3 { margin: 0 0 6px; font-size: 1.08rem; }

.feature-grid, .link-cards, .cards, .cats {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}
.feature-grid { grid-template-columns: 1fr; }
.feature-grid li, .price, .link-cards a, .cards a {
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px 16px 14px;
}
.feature-grid p, .link-cards span, .cards em { color: var(--muted); }
.link-cards a, .cards a {
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: inherit;
  text-decoration: none;
  min-height: 100%;
}
.link-cards a:hover, .cards a:hover { border-color: var(--teal); }
.cards em { font-style: normal; font-size: 0.88rem; }
.cards span { color: var(--teal); font-size: 0.85rem; font-weight: 700; }

.split { display: grid; gap: 24px; }
.steps { margin: 0; padding-inline-start: 1.2rem; }
.steps li { margin: 0.4rem 0; }

.price-grid { display: grid; gap: 14px; }
.price h3 { font-size: 1.2rem; }
.amount { font-size: 1.35rem; font-weight: 700; margin: 0 0 8px; color: var(--deep); }
.price ul { padding-inline-start: 1.1rem; }
.price-plus { background: #f7f1e8; }
.more { margin-top: 16px; }

.faq details {
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
}
.faq summary { cursor: pointer; font-weight: 700; }
.faq p { margin: 8px 0 4px; color: var(--muted); }
.stories p { max-width: 40rem; color: var(--muted); }
.cta-band { background: var(--deep); color: #f6f1e8; }
.cta-band a.btn-ghost { color: #f6f1e8; border-color: rgba(255,255,255,0.3); }
.cta-band a.btn-ghost:hover { color: white; }
.release-notes { color: #d9e2de; }

.prose-page { padding: 36px 0 64px; }
.prose h2 { margin-top: 1.6rem; }
.prose p, .prose-page p { max-width: 44rem; }
.prose ul, .prose-page ul { padding-inline-start: 1.2rem; }
.prose blockquote, .prose-page blockquote {
  margin: 1rem 0;
  padding: 0.2rem 1rem;
  border-inline-start: 3px solid var(--teal);
  color: var(--muted);
}
.byline { color: var(--muted); }
.cats { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); margin: 12px 0 20px; }
.cats li {
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
}
.crumbs { width: min(1120px, calc(100% - 32px)); margin: 18px auto 0; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px 0; list-style: none; padding: 0; margin: 0; color: var(--muted); font-size: 0.92rem; }
.crumbs li:not(:last-child)::after { content: "/"; margin-inline: 8px; color: #b3a894; }
.avatar { width: 96px; height: 96px; object-fit: cover; border-radius: 18px; }
.book, .doctor { display: grid; gap: 8px; }
.book input, .book textarea {
  width: 100%;
  font: inherit;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: white;
}
.pair { display: grid; gap: 10px; }
.form-msg { min-height: 1.4em; }

.footer { background: #101816; color: #e7ece9; padding: 36px 0 18px; }
.footer a { color: #d5ebe7; }
.footer-grid { display: grid; gap: 22px; }
.footer h2 { font-size: 0.95rem; color: #f3efe6; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer p { color: #b7c4bf; }
.footer-base {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 22px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.08);
  color: #9eaea8;
  font-size: 0.9rem;
}

@media (min-width: 800px) {
  .hero { padding-top: 72px; }
  .hero-grid, .split, .price-grid { grid-template-columns: 1.1fr 0.9fr; }
  .feature-grid { grid-template-columns: repeat(3, 1fr); }
  .link-cards, .cards { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .pair { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .top-actions { width: 100%; }
  .top-actions .btn { flex: 1; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
