:root {
  color-scheme: light;
  --ink: #24243a;
  --muted: #554b60;
  --paper: #fff8ed;
  --surface: #fffcf5;
  --lilac: #e6defa;
  --mint: #d2ebdc;
  --peach: #f6c7b6;
  --yellow: #fbe189;
  --rust: #af4d44;
  --border: 1.5px solid var(--ink);
  --shadow: 3px 4px 0 var(--ink);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 1.5rem; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Montserrat', system-ui, sans-serif;
  line-height: 1.55;
}
html[lang="ar"] body { font-family: 'Noto Sans Arabic', system-ui, sans-serif; }
html[lang="ar"] :is(h1, h2, h3) { letter-spacing: normal; line-height: 1.35; }
html[dir="rtl"] :is(.button, .detail-link) svg { transform: scaleX(-1); }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--rust); outline-offset: 5px; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.12; text-wrap: balance; }
h1 { font-size: clamp(2.55rem, 5.5vw, 4.75rem); letter-spacing: -0.075em; font-weight: 800; }
h2 { font-size: clamp(1.85rem, 3.6vw, 3rem); letter-spacing: -0.055em; }
h3 { font-size: 1.12rem; letter-spacing: -0.025em; }
.wrap { width: min(1120px, calc(100% - clamp(32px, 8vw, 96px))); margin-inline: auto; }

.skip-link {
  position: absolute;
  inset-block-start: .6rem;
  inset-inline-start: .6rem;
  padding: .65rem 1rem;
  background: var(--yellow);
  border: var(--border);
  z-index: 2;
  transform: translateY(-160%);
}
.skip-link:focus { transform: none; }
.site-header { background: var(--surface); border-bottom: 1px solid #d9cccf; }
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.wordmark { display: inline-flex; align-items: center; gap: .65rem; font-size: 1.35rem; font-weight: 800; letter-spacing: -.045em; text-decoration: none; }
.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: none;
  background: var(--peach);
  border: var(--border);
  border-radius: 13px;
  box-shadow: 2px 2px 0 var(--ink);
  transform: rotate(-7deg);
}
.brand-mark svg { width: 23px; height: 23px; }
.site-nav { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: .6rem clamp(.65rem, 2.5vw, 2rem); }
.site-nav > a { font-weight: 700; font-size: .87rem; text-decoration: none; }
.site-nav > a:not(.button):hover, .site-footer a:hover { text-decoration: underline; text-underline-offset: .2em; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  min-height: 51px;
  padding: .65rem 1rem;
  background: var(--surface);
  color: var(--ink);
  border: var(--border);
  border-radius: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color .18s, transform .18s, box-shadow .18s;
}
.button svg { height: 20px; width: 20px; flex: none; }
.button-primary { background: var(--yellow); box-shadow: var(--shadow); }
.button-compact { min-height: 42px; background: var(--lilac); }
.button:hover { background: var(--mint); }
.button:active { transform: translate(2px, 2px); box-shadow: 1px 2px 0 var(--ink); }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 70px);
  align-items: center;
  padding-block: clamp(55px, 8.2vw, 108px) clamp(52px, 7vw, 94px);
}
.breadcrumbs { margin-top: 1.4rem; font-size: .88rem; color: var(--muted); }
.breadcrumbs + .hero { padding-block-start: clamp(30px, 5vw, 60px); }
.hero-category, .detail-label { font-size: .86rem; font-weight: 800; }
.hero-category { margin-bottom: .95rem; }
.hero-highlight {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 520 24' preserveAspectRatio='none'%3E%3Cpath d='M5 15Q129 4 227 10T515 7M8 20Q205 11 367 13T514 14' fill='none' stroke='%23fbe189' stroke-width='7' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat 50% 100% / 100% .33em;
  padding-bottom: .05em;
}
.hero-lead { margin-top: 1.4rem; color: var(--muted); max-width: 35rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .95rem; margin-top: 1.6rem; }
.hero-visual { position: relative; padding-block-end: 25px; padding-inline-end: 7px; }
.illustration-board {
  display: grid;
  align-items: center;
  min-height: clamp(225px, 30vw, 360px);
  padding: clamp(8px, 2.2vw, 27px);
  background: var(--surface);
  border: var(--border);
  border-radius: clamp(19px, 3vw, 32px);
  box-shadow: 5px 6px 0 var(--ink);
}
.illustration-board img { height: auto; width: 100%; }
.appointment-note {
  position: absolute;
  inset-block-end: 0;
  inset-inline-end: 0;
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .55rem .7rem;
  background: var(--mint);
  border: var(--border);
  border-radius: 15px;
  box-shadow: var(--shadow);
  transform: rotate(-3deg);
}
.appointment-note-icon { display: grid; place-items: center; width: 37px; height: 37px; background: var(--surface); border: var(--border); border-radius: 11px; }
.appointment-note-icon svg { width: 22px; height: 22px; }
.appointment-note strong, .appointment-note small { display: block; white-space: nowrap; font-size: .72rem; }
.appointment-note small { color: var(--muted); }
.appointment-time { background: var(--yellow); border: var(--border); padding: .25rem .42rem; border-radius: 8px; font-size: .68rem; font-weight: 800; white-space: nowrap; }

.how-section h2 { margin-bottom: 1.35rem; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(15px, 2vw, 25px); }
.step, .detail-card, .download { border: var(--border); border-radius: 22px; box-shadow: var(--shadow); }
.step { background: var(--surface); overflow: hidden; }
.step-art { display: grid; place-items: center; aspect-ratio: 2.15; border-bottom: var(--border); }
.step-art img { width: 88%; height: auto; }
.step-discovery .step-art { background: var(--lilac); }
.step-booking .step-art { background: var(--mint); }
.step-review .step-art { background: var(--peach); }
.step-copy { padding: clamp(16px, 2.5vw, 25px); }
.step-copy p, .detail-card > h2 + p, .download > p { margin-top: .65rem; color: var(--muted); font-size: .92rem; }
.details-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(15px, 2vw, 25px); margin-top: clamp(44px, 7vw, 83px); }
.detail-card { padding: clamp(21px, 4vw, 42px); }
.detail-card h2 { margin-top: .55rem; max-width: 17ch; font-size: clamp(1.65rem, 3.2vw, 2.45rem); }
.detail-card p { max-width: 38ch; }
.detail-owners { background: var(--lilac); }
.detail-rewards { background: var(--mint); }
.detail-link { display: inline-flex; align-items: center; gap: .5rem; margin-top: 1rem; font-size: .87rem; font-weight: 700; text-underline-offset: .2em; }
.detail-link svg { width: 17px; height: 17px; flex: none; }

.download { margin-top: clamp(44px, 7vw, 83px); padding: clamp(22px, 5vw, 54px); background: var(--peach); text-align: center; }
.download-mark { margin-bottom: .9rem; background: var(--yellow); }
.store-row { display: flex; flex-wrap: wrap; justify-content: center; gap: .85rem; margin-top: 1.4rem; }
.store-badge { display: inline-flex; align-items: center; gap: .65rem; padding: .58rem .8rem; background: var(--ink); color: var(--surface); border: var(--border); border-radius: 12px; text-decoration: none; text-align: start; }
.store-badge-icon { flex: none; width: 23px; height: 23px; }
.store-badge-text { display: grid; line-height: 1.24; }
.store-badge-sub { font-size: .67rem; }
.store-badge-label { font-size: .92rem; font-weight: 800; }
a.store-badge:hover { background: var(--surface); color: var(--ink); }
.store-badge--soon { background: var(--surface); color: var(--muted); border-style: dashed; }
.faq { max-width: 48rem; margin: clamp(44px, 7vw, 83px) auto 0; }
.faq h2 { margin-bottom: 1.35rem; }
.faq-item { border-top: 1px solid #d9cccf; }
.faq-item:last-child { border-bottom: 1px solid #d9cccf; }
.faq-item summary { cursor: pointer; padding: .9rem .15rem; font-weight: 700; }
.faq-item summary::marker { color: var(--rust); }
.faq-item p { max-width: 42rem; padding: 0 .15rem 1rem; color: var(--muted); }
.guide { width: min(100%, 46rem); margin: clamp(32px, 6vw, 70px) auto 0; }
.guide h1 { font-size: clamp(2.15rem, 5vw, 4rem); }
.guide section { margin-top: 2rem; }
.guide section h2 { margin-bottom: .6rem; font-size: clamp(1.35rem, 3vw, 1.75rem); }
.guide section p + p { margin-top: .5rem; }
.site-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .7rem 1.25rem; margin-block: clamp(35px, 6vw, 74px) 0; border-top: 1px solid #d9cccf; padding-block: 1.3rem 1.7rem; font-size: .79rem; color: var(--muted); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: .65rem 1rem; }
.site-footer a[aria-current="page"] { font-weight: 700; }

@media (max-width: 810px) {
  .hero { grid-template-columns: 1fr; }
  .hero-break { display: none; }
  .hero-visual { width: min(100%, 540px); }
  .steps { grid-template-columns: 1fr; }
  .step { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); }
  .step-art { aspect-ratio: auto; min-height: 125px; border: 0; border-inline-end: var(--border); }
}
@media (max-width: 490px) {
  .header-inner { flex-wrap: wrap; gap: .65rem; padding-block: .85rem; }
  .site-nav { justify-content: flex-start; width: 100%; }
  .site-nav > a { font-size: .75rem; }
  .site-nav .button { min-height: 38px; padding: .45rem .65rem; }
  .site-nav .button svg { width: 16px; height: 16px; }
  .hero-actions { gap: .6rem; }
  .hero-actions .button { min-height: 47px; padding: .55rem .7rem; font-size: .87rem; }
  .appointment-note { gap: .4rem; padding-inline: .45rem; }
  .appointment-note-icon { width: 32px; height: 32px; }
  .step { grid-template-columns: 1fr; }
  .step-art { aspect-ratio: 2.15; min-height: 0; border: 0; border-bottom: var(--border); }
  .details-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button, .button:active { transition: none; transform: none; }
}
