/* SIFR leasing landing page
   Colours sampled from the approved design. Fonts are the CoFo Sans Pro TRIAL
   files from the main website project: replace with licensed web fonts before launch. */


:root {
  --sky: #f5f5f7;
  --sand: #d6d1cb;
  --ink: #1c1b1b;
  --ink-logo: #2c2c2c;
  --emblem: #f94137;
  --tag: #f94536;
  --cta: #97262c;
  --cta-hover: #7f1f25;
  --muted: #8f8a84;
  --font-ar: "CoFo Sans Arabic", "Geeza Pro", "Noto Sans Arabic", system-ui, sans-serif;
  --font-en: "CoFo Sans", "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--sand);
  color: var(--ink);
  font-family: var(--font-ar);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
[lang="en"] { font-family: var(--font-en); }

.page { min-height: 100svh; display: flex; flex-direction: column; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--sky); overflow: hidden; }
.hero-img { display: block; width: 100%; height: auto; }
.logo {
  position: absolute; left: 50%; transform: translateX(-50%);
  top: 6.2%; width: 12%; height: auto;
}

/* ---------- Panel ---------- */
.panel {
  flex: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  padding: clamp(28px, 2.3vw, 46px) 16px clamp(48px, 3.1vw, 62px);
  gap: 0;
}
.tag {
  margin: 0;
  background: var(--tag); color: #fff;
  border-radius: 999px;
  padding: .5em 1.05em .55em;
  font-size: clamp(14px, 1.06vw, 21px);
  line-height: 1.2;
  white-space: nowrap;
}
.headline {
  margin: clamp(16px, 1.4vw, 30px) 0 0;
  font-weight: 400;
  font-size: clamp(44px, 4.6vw, 92px);
  line-height: 1.2;
  letter-spacing: 0;
}
.lede {
  margin: clamp(6px, .5vw, 12px) 0 0;
  font-size: clamp(17px, 1.42vw, 28px);
  line-height: 1.5;
  max-width: 34em;
  text-wrap: balance;
}
.cta {
  margin-top: clamp(22px, 1.8vw, 36px);
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--cta); color: #fff; text-decoration: none;
  border-radius: 999px;
  padding: .72em 2.1em .78em;
  font-weight: 700;
  font-size: clamp(17px, 1.3vw, 26px);
  line-height: 1.2;
  white-space: nowrap;
  transition: background-color .2s ease, transform .2s ease;
}
.cta:hover { background: var(--cta-hover); }
.cta:active { transform: scale(.98); }
.cta:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }

.legal {
  position: absolute; bottom: clamp(14px, 1.9vw, 38px); left: clamp(16px, 2vw, 40px);
  font-family: var(--font-en);
  font-size: clamp(12px, .82vw, 16px);
  color: var(--muted);
}
.page { position: relative; }

/* ---------- Phone ---------- */
@media (max-width: 700px) {
  .hero { height: 52svh; min-height: 330px; max-height: 520px; }
  .hero-img { height: 100%; object-fit: cover; object-position: 50% 100%; }
  .logo { width: 118px; top: max(22px, env(safe-area-inset-top)); }

  .panel { justify-content: flex-start; padding: 28px 20px 24px; }
  .headline { font-size: clamp(38px, 11vw, 48px); margin-top: 20px; }
  .lede { font-size: 16.5px; margin-top: 10px; max-width: 22em; }
  .cta { width: 100%; max-width: 360px; font-size: 17px; padding: .9em 1.2em; margin-top: 26px; }

  .legal { position: static; text-align: center; padding: 0 16px max(18px, env(safe-area-inset-bottom)); }
}
