:root {
  --bg: #f9f6f3;
  --text: #1b1624; /* aliabdaal.com/Cinder */
  --muted: #76737c; /* aliabdaal.com/Jumbo */
  --blue: #0083f5;
  --accent: #fdd36b;
  --brand-red: #fe5860;
  --radius-lg: 20px;
  --radius-xl: 25px;
  --shadow-elev: 0 50px 80px -15px rgba(224, 216, 208, 0.65);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: linear-gradient(to bottom, rgba(249,246,243,0.9), rgba(249,246,243,0.7) 60%, rgba(249,246,243,0));
  backdrop-filter: blur(6px);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand {
  font-weight: 800;
  letter-spacing: -0.02em;
  text-decoration: none;
  color: var(--text);
}
.nav-links { display: flex; gap: 24px; align-items: center; }
.nav-links a { color: var(--text); text-decoration: none; font-weight: 500; }
.bmc {
  background: #111;
  color: #fff;
  text-decoration: none;
  padding: 10px 14px;
  border-radius: 12px;
  font-weight: 600;
}

/* Mobile nav toggle */
.nav-toggle { 
  display: none; position: relative; width: 40px; height: 40px; border: 0; background: transparent; cursor: pointer; padding: 0; 
}
.nav-toggle span { 
  position: absolute; left: 10px; right: 10px; height: 2px; background: var(--text); border-radius: 1px; transition: transform .25s ease, opacity .2s ease, top .25s ease;
}
.nav-toggle span:nth-child(1) { top: 13px; }
.nav-toggle span:nth-child(2) { top: 19px; }
.nav-toggle span:nth-child(3) { top: 25px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { top: 19px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { top: 19px; transform: rotate(-45deg); }

/* Overlay shown when mobile nav is open */
.nav-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.45); z-index: 19; }
.nav-overlay.active { display: block; }

/* Utility when menu open to prevent background scroll */
body.menu-open { overflow: hidden; }

.nav-dropdown { position: relative; }
.nav-dropdown__trigger {
  display: inline-flex; align-items: center; gap: 6px;
  background: transparent; border: 0; font: inherit; color: var(--text); cursor: pointer; font-weight: 500;
}
.nav-dropdown__menu {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 200px;
  background: #fff; padding: 8px; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.12);
  display: none; flex-direction: column; gap: 4px;
}
.nav-dropdown:focus-within .nav-dropdown__menu { display: flex; }
.nav-dropdown__menu a { padding: 8px 10px; border-radius: 8px; color: var(--text); text-decoration: none; }
.nav-dropdown__menu a:hover { background: #f3f3f3; }

.hero { padding: 48px 24px 16px; }
.hero__card {
  position: relative;
  background: radial-gradient(1200px 600px at -10% 0%, rgba(255,255,255,0.18), rgba(255,255,255,0) 40%),
              linear-gradient(120deg, #0576e6 0%, #00a1f5 50%, #00c0f5 100%);
  border-radius: 25px;
  min-height: 480px;
  padding: 48px 24px;
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; background: radial-gradient(400px 280px at 85% 20%, rgba(253,211,107,0.55), rgba(253,211,107,0) 60%), radial-gradient(500px 260px at 20% 80%, rgba(255,255,255,0.28), rgba(255,255,255,0) 60%); pointer-events: none; }
.hero__grid { display: grid; grid-template-columns: 1fr 480px; gap: 24px; align-items: center; }
.eyebrow { color: #fff; font-weight: 900; font-size: 28px; margin: 0 0 16px; }
.eyebrow .accent { color: var(--accent); }
.tagline { color: rgba(255,255,255,0.92); margin: -6px 0 12px; font-weight: 600; }
.display {
  margin: 0;
  color: #fff;
  line-height: 0.9;
  font-weight: 900;
  font-size: clamp(48px, 9vw, 160px);
  letter-spacing: -0.02em;
}
.display span { display: block; }
.gradient-text { background: linear-gradient(180deg, #fff 20%, rgba(255,255,255,0.7) 60%, rgba(255,255,255,0.5)); -webkit-background-clip: text; background-clip: text; color: transparent; }

.hero__image-wrap {
  position: relative; inset: auto; transform: none; width: 100%;
}
.hero__image { width: 100%; height: auto; display: block; filter: drop-shadow(0 10px 30px rgba(0,0,0,0.2)); }
.hero__footer { margin-top: 16px; }
.hero__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.hero__stat { background: rgba(255,255,255,0.18); border: 1px solid rgba(255,255,255,0.35); border-radius: 12px; padding: 10px 12px; color: #fff; }
.hero__stat .num { font-weight: 900; font-size: 22px; line-height: 1; }
.hero__stat .label { opacity: 0.95; font-weight: 600; font-size: 12px; }

.socials {
  position: absolute; right: 24px; top: 24px; display: flex; gap: 10px; list-style: none; padding: 0; margin: 0;
}
.socials__btn { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 999px; background: rgba(255,255,255,0.85); color: #111; }
.socials__btn:hover { background: #fff; box-shadow: 0 6px 18px rgba(0,0,0,0.12); }

.featured { display: flex; align-items: center; gap: 16px; margin: 24px 0 0; flex-wrap: wrap; }
.featured__label { color: var(--muted); font-weight: 500; }
.featured__logos { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.featured__logo { height: 28px; width: auto; filter: grayscale(1) contrast(1.1); opacity: 0.85; }
.featured__logo[alt~="Times"] { height: 22px; }
.logo-pill { background: #fff; padding: 8px 14px; border-radius: 999px; border: 1px solid #eee; color: #333; font-weight: 600; }

.hero__ctas { margin-top: 24px; display: flex; gap: 12px; flex-wrap: wrap; }
.btn-secondary { height: 52px; padding: 0 20px; border-radius: 20px; border: 1px solid rgba(0,0,0,0.1); background: #fff; color: var(--text); font-weight: 700; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; }
.btn-tertiary { height: 52px; padding: 0 16px; border-radius: 20px; border: 0; background: transparent; color: var(--text); font-weight: 700; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; }

.section { padding: 64px 0; }
.section__title { font-size: clamp(28px, 4vw, 40px); margin: 0 0 12px; }
.section__lead { font-size: 18px; color: #3a3a3a; margin: 0 0 16px; }
.section__links { display: flex; gap: 12px; flex-wrap: wrap; }

.chips { display: flex; gap: 8px; flex-wrap: wrap; margin: 8px 0 4px; }
.chip { background: #fff; border: 1px solid #eee; padding: 6px 10px; border-radius: 999px; font-weight: 600; color: #333; font-size: 13px; }

.badges { display: flex; gap: 10px; flex-wrap: wrap; }
.badge { display: inline-flex; align-items: center; gap: 8px; background: #fff; color: #111; padding: 8px 12px; border-radius: 10px; font-weight: 700; font-size: 13px; border: 1px solid #eee; }

.cards { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card { background: #fff; border: 1px solid #eee; border-radius: 14px; padding: 16px; position: relative; transition: box-shadow .2s ease, transform .2s ease; }
.card:hover { box-shadow: 0 12px 28px rgba(0,0,0,0.06); transform: translateY(-2px); }
.card--service:hover { box-shadow: 0 12px 28px rgba(0,0,0,0.08); transform: translateY(-2px); transition: .2s ease; }
.card__link { display: inline-block; margin-top: 8px; color: var(--blue); font-weight: 700; text-decoration: none; }
.card__link:hover { text-decoration: underline; }

.list { padding-left: 18px; margin: 8px 0 0; color: #3a3a3a; }
.list li { margin: 6px 0; }

.section--alt { background: #fff; }
.metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.metric { background: #ffffff; border: 1px solid #eee; border-radius: 14px; padding: 18px; text-align: center; }
.metric__num { font-weight: 900; font-size: 28px; }
.metric__label { color: var(--muted); font-weight: 600; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; list-style: none; padding: 0; margin: 0; }
.steps li { background: #fff; border: 1px solid #eee; border-radius: 14px; padding: 16px; }
.steps h4 { margin: 0 0 6px; }

.faq details { background: #fff; border: 1px solid #eee; border-radius: 12px; padding: 12px 14px; margin: 8px 0; }
.faq summary { cursor: pointer; font-weight: 700; }

.timeline { position: relative; margin: 8px 0 0; padding-left: 18px; }
.timeline:before { content: ""; position: absolute; left: 6px; top: 0; bottom: 0; width: 2px; background: #e8e4df; }
.timeline__item { position: relative; margin: 18px 0; }
.timeline__item:before { content: ""; position: absolute; left: -2px; top: 6px; width: 10px; height: 10px; border-radius: 50%; background: var(--blue); }
.timeline__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.timeline__head h3 { margin: 0; font-size: 18px; }
.timeline__meta { color: var(--muted); font-weight: 600; }

.cta { background: linear-gradient(180deg, rgba(0,131,245,0.1), rgba(253,211,107,0.15)); }
.cta__wrap { text-align: center; background: #fff; padding: 24px; border-radius: 18px; border: 1px solid #eee; }

.footer { padding-top: 16px; }
.footer__cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: start; }
.footer__socials { display: flex; gap: 10px; margin-top: 8px; }
.list--plain { list-style: none; padding-left: 0; }

.newsletter { padding: 72px 0; }
.newsletter__card {
  position: relative;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-elev);
  padding: 32px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
}
.newsletter__left { position: relative; }
.rating { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.avatars { display: flex; }
.avatar { width: 32px; height: 32px; border-radius: 50%; background: #eee; border: 2px solid #fff; margin-left: -8px; }
.avatar:first-child { margin-left: 0; }
.stars { font-weight: 700; color: #ffb400; }
.stars .muted { margin-left: 8px; color: var(--muted); font-weight: 500; }
.newsletter__title { font-size: clamp(28px, 4vw, 56px); line-height: 1.05; margin: 0 0 8px; }
.brand-red { color: var(--brand-red); font-weight: 900; }
.newsletter__subtitle { margin: 0 0 24px; color: var(--text); font-weight: 500; }
.newsletter__decor { position: absolute; right: -8px; top: -24px; width: 96px; opacity: 0.9; }

.newsletter__copy { margin: 0 0 16px; font-size: 18px; line-height: 1.4; color: var(--text); }
.newsletter__form { display: flex; gap: 12px; background: var(--bg); padding: 8px; border-radius: 25px; align-items: center; }
.newsletter__form input[type="email"] {
  flex: 1; min-width: 0; height: 52px; border: 0; outline: 0; background: transparent; padding: 0 16px; font-size: 16px; color: var(--text);
}
.btn-primary { height: 52px; padding: 0 24px; border-radius: 20px; border: 0; background: var(--blue); color: #fff; font-weight: 700; cursor: pointer; }
.btn-primary:hover { filter: brightness(1.05); }
.newsletter__fineprint { color: var(--muted); font-size: 14px; line-height: 1.5; }
.newsletter__fineprint a { color: inherit; text-decoration: underline; }
#form-message { margin-top: 10px; font-weight: 600; }

.help { padding: 40px 24px 96px; }
.help__heading { display: flex; align-items: center; gap: 24px; position: relative; }
.help__circle { width: 110px; height: auto; opacity: 0.9; }
.help__kicker { font-size: clamp(40px, 6vw, 80px); font-weight: 600; letter-spacing: -0.025em; line-height: 1.05; }
.help__title { font-size: clamp(44px, 6.5vw, 84px); font-weight: 900; letter-spacing: -0.025em; line-height: 1.05; }
.help__grid { margin-top: 24px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.help__card { background: #fff; border: 1px solid #eee; border-radius: 16px; padding: 20px; box-shadow: 0 10px 30px rgba(224,216,208,0.3); }
.help__card h4 { margin: 0 0 6px; }
.help__card p { margin: 0; color: #4b4b4b; }

.site-footer { padding: 32px 0 48px; color: var(--muted); text-align: center; }

.visually-hidden {
  position: absolute !important;
  height: 1px; width: 1px; overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap; border: 0; padding: 0; margin: -1px;
}

/* Scroll cue under hero */
.scroll-cue { 
  display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; margin: 8px auto 0; border-radius: 999px; background: rgba(0,0,0,0.08); color: #111; text-decoration: none; transition: transform .2s ease; 
}
.scroll-cue:hover { transform: translateY(2px); }

/* Focus styles */
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 6px; }

@media (max-width: 1024px) {
  .newsletter__card { grid-template-columns: 1fr; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__image-wrap { margin: 16px auto 0; }
  .socials { position: static; margin-top: 12px; }
  .nav-toggle { display: inline-block; }
  .nav-links { display: none; }
  .nav-links.show { 
    display: flex; flex-direction: column; gap: 8px; 
    position: fixed; top: 0; right: 0; height: 100vh; width: min(84vw, 340px);
    background: #fff; border-left: 1px solid #eee; padding: 88px 20px 24px; 
    z-index: 20; box-shadow: -10px 0 30px rgba(0,0,0,0.06);
  }
  .nav-links a { padding: 10px 8px; border-radius: 10px; }
  .footer__cols { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .nav { height: 64px; }
  .hero__card { padding: 32px 16px 24px; }
  .featured { gap: 8px; }
  .logo-pill { font-size: 14px; }
  .help__grid { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .metrics { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: 1fr; }
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}


