.ap {
  --cream: var(--bn-cream);
  --ink: #09183d;
  --ink-soft: #071836;
  --faq: #071443;
  --teal: #007c86;
  --teal-link: #008ca4;
  --teal-faq: #007d89;
  --muted: #597799;
  --lead: #143b65;
  --placeholder: #7c91a7;
  --unit: #96a5b4;
  --line: #e4ebe6;
  --mint: #e5f3ee;
  --card-line: #f0e4d4;
  background: var(--cream);
  color: var(--ink);
  font-family: "Poppins", sans-serif;
  overflow: hidden;
  padding-bottom: 56px;
}

.ap * { box-sizing: border-box; }
.ap img { max-width: 100%; height: auto; }
.ap a { color: var(--teal-link); text-decoration: none; }
.ap h1, .ap h2, .ap h3, .ap p { margin: 0; }

.ap h1,
.ap h2,
.ap h3,
.ap button,
.ap p,
.ap a,
.ap li,
.ap label,
.ap input {
  font-family: "Poppins", sans-serif !important;
  text-transform: none;
}
html[dir="rtl"] .ap,
html[dir="rtl"] .ap h1,
html[dir="rtl"] .ap h2,
html[dir="rtl"] .ap h3,
html[dir="rtl"] .ap button,
html[dir="rtl"] .ap p,
html[dir="rtl"] .ap a,
html[dir="rtl"] .ap li,
html[dir="rtl"] .ap label,
html[dir="rtl"] .ap input,
html[dir="rtl"] .ap span {
  font-family: "El Messiri", sans-serif !important;
}
.ap-arrow { width: 16px; height: 16px; }
html:not([dir="rtl"]) .ap-arrow { transform: scaleX(-1); }

.ap-hero {
  position: relative;
  display: grid;
  max-width: 1440px;
  margin: 0 auto;
  padding: 28px 20px 8px;
  gap: 22px;
}

.ap-hero__visual img {
  display: block;
  width: 100%;
  border-radius: 24px;
}

.ap-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 16px;
  color: #007c86;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
}
html[dir="rtl"] .ap-eyebrow {
  font-size: 16px;
  letter-spacing: 0;
  text-transform: none;
}

.ap-eyebrow i {
  display: block;
  width: 72px;
  height: 1px;
  background: var(--teal);
}

.ap-hero h1 {
  display: grid;
  color: var(--ink);
  font-weight: 700;
  font-size: 38px;
  line-height: 1.28;
}

.ap-hero h1 .ap-accent { color: #007c86; font-style: italic; }
html[dir="rtl"] .ap-hero h1 .ap-accent { font-style: normal; }
.ap-lead { margin-top: 16px; color: var(--lead); font-size: 18px; line-height: 1.75; }

.ap-recommend {
  margin-top: 22px;
  padding: 20px 18px 16px;
  background: #fff;
  border: 1px solid #e5eee9;
  border-radius: 24px;
}

.ap-recommend__head {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.ap-recommend__head img {
  width: 52px;
  height: 52px;
  padding: 12px;
  border-radius: 50%;
  background: #e7f4ee;
  flex: none;
}

.ap-recommend h2 { font-size: 24px; color: var(--ink); line-height: 1.4; }
.ap-recommend__head p { margin-top: 4px; color: var(--muted); font-size: 16px; line-height: 1.6; }
.ap-field-label { display: block; margin: 16px 0 8px; font-weight: 700; font-size: 17px; text-align: start; }

.ap-age-row { display: grid; gap: 10px; }
.ap-age {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 14px;
  background: #fefdf9;
  border: 1px solid #ece7df;
  border-radius: 14px;
}
.ap-age input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 18px;
  text-align: start;
  outline: none;
}
.ap-age input::placeholder { color: var(--placeholder); }
.ap-age span { color: var(--unit); font-size: 16px; white-space: nowrap; }

.ap-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  background: #007c86;
  color: #fff;
  font-weight: 700;
  font-size: 17px;
  white-space: nowrap;
  cursor: pointer;
}
.ap-btn img { width: 18px; height: 18px; }
.ap-btn--ghost {
  background: #fff;
  color: var(--teal-link);
  border: 1.5px solid #9fd4d8;
  min-height: 48px;
  font-size: 16px;
}
.ap a.ap-btn,
.ap a.ap-btn:hover { color: #fff !important; }
.ap a.ap-btn--ghost,
.ap a.ap-btn--ghost:hover { color: var(--teal-link) !important; }

.ap-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 15px;
}
.ap-note img { width: 34px; height: auto; }

.ap-corner { display: none; }

.ap-skills {
  display: grid;
  gap: 0;
  max-width: 1080px;
  margin: 8px auto 0;
  padding: 8px 20px 0;
  list-style: none;
}
.ap-skills li {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 72px;
  color: var(--ink);
  font-size: 20px;
}
.ap-skills li + li { border-top: 1px solid #e7ece4; }
.ap-skills img {
  width: 46px;
  height: 46px;
  padding: 10px;
  border-radius: 50%;
  background: #e7f3ea;
}
.ap-skills li:nth-child(2) img { background: #fdecee; }

.ap-catalog { max-width: 1180px; margin: 0 auto; padding: 48px 20px 8px; }
.ap-catalog__head { text-align: center; }
.ap-catalog__title { display: flex; align-items: center; justify-content: center; gap: 12px; }
.ap-catalog__head h2 { color: var(--ink-soft); font-size: 32px; font-weight: 700; line-height: 1.25; }
.ap-catalog__head p { margin-top: 8px; color: #5074a6; font-size: 18px; }
html[dir="rtl"] .ap-catalog__head { text-align: start; }
html[dir="rtl"] .ap-catalog__title { justify-content: flex-start; }
.ap-sprig { width: 28px; height: auto; flex: none; }
.ap-sprig--flip { transform: scaleX(-1); }

.ap-cards { display: grid; gap: 16px; margin-top: 28px; }
.ap-card {
  display: grid;
  grid-template-columns: 108px 1fr;
  gap: 14px;
  align-items: center;
  padding: 16px;
  background: transparent;
  border: 1px solid var(--card-line);
  border-radius: 22px;
}
.ap-card > img { grid-column: 1; grid-row: 1; }
.ap-card > div { grid-column: 2; grid-row: 1; }
.ap-card.ap-picked { border-color: #007c86; background: #f4fbf8; }
.ap-card img {
  width: 108px;
  height: 136px;
  object-fit: contain;
  border-radius: 12px;
  justify-self: center;
}
.ap-card h3 { color: var(--ink-soft); font-size: 18px; line-height: 1.45; font-weight: 700; }
.ap-card p { margin-top: 6px; color: #3d5670; font-size: 14px; line-height: 1.75; }
.ap-card a,
.ap-a a,
.ap-textlink {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  color: var(--teal-link);
  font-weight: 700;
  font-size: 15px;
}
.ap-card a img, .ap-a a img, .ap-textlink img { width: 16px; height: 16px; }

.ap-feature {
  display: grid;
  gap: 14px;
  margin-top: 16px;
  padding: 16px;
  background: var(--mint);
  border-radius: 22px;
  align-items: center;
}
.ap-feature img { width: min(100%, 220px); justify-self: center; }
.ap-feature h3 { color: var(--ink-soft); font-size: 22px; line-height: 1.45; }
.ap-feature p { margin-top: 6px; color: var(--ink-soft); font-size: 15px; line-height: 1.75; }

.ap-faq {
  display: grid;
  gap: 28px;
  max-width: 1140px;
  margin: 42px auto 0;
  padding: 10px 20px;
}
.ap-faq__intro h2 { color: var(--faq); font-size: 34px; line-height: 1.35; font-weight: 700; }
.ap-faq__intro h2 em { color: #007d89; font-style: italic; }
html[dir="rtl"] .ap-faq__intro h2 em { font-style: normal; }
.ap-faq__intro > p { margin-top: 10px; color: var(--faq); font-size: 18px; line-height: 1.75; }
.ap-faq__intro > img { display: block; width: min(100%, 360px); margin: 12px 0 8px auto; }
.ap-ask { margin-top: 8px; font-weight: 500; font-size: 16px; }
.ap-textlink { color: var(--teal-faq); }

.ap-faq__list { display: grid; gap: 12px; }
.ap-item {
  background: #fff;
  border: 1px solid #edf1ec;
  border-radius: 18px;
}
.ap-item[open] { background: #eef6f2; border-color: #e3eee8; }
.ap-item summary {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  min-height: 68px;
  padding: 10px 14px;
  cursor: pointer;
  list-style: none;
}
.ap-item summary::-webkit-details-marker { display: none; }
.ap-num {
  color: var(--ink-soft);
  font-weight: 700;
  font-size: 15px;
  padding-inline-end: 12px;
  border-inline-end: 1px solid #d7e0da;
}
.ap-q { color: var(--faq); font-weight: 700; font-size: 17px; line-height: 1.5; }
.ap-chevron {
  width: 36px;
  height: 36px;
  border: 1.5px solid #d5ded8;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
}
.ap-chevron::before {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--ink-soft);
  border-bottom: 2px solid var(--ink-soft);
  transform: rotate(45deg) translate(-1px, -1px);
}
.ap-item[open] .ap-chevron::before { transform: rotate(-135deg) translate(-1px, -1px); }
.ap-a { padding: 0 18px 16px 18px; }
.ap-a p { color: var(--faq); font-size: 15px; line-height: 1.85; }

.ap-banner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  max-width: 1100px;
  margin: 28px 20px 0;
  padding: 22px 20px;
  background: #e7f3ee;
  border-radius: 28px;
}
.ap-banner__icon { grid-column: 1; grid-row: 1; justify-self: start; }
.ap-banner > div:not(.ap-banner__icon) { grid-column: 1; grid-row: 2; }
.ap-banner > .ap-btn { grid-column: 1; grid-row: 3; justify-self: start; min-width: max-content; }
.ap-banner__icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #f8e8e4;
}
.ap-banner__icon img { width: 28px; height: 28px; }
.ap-banner h2 { color: var(--faq); font-size: 22px; line-height: 1.45; }
.ap-banner h2 em { color: #007d89; font-style: italic; }
html[dir="rtl"] .ap-banner h2 em { font-style: normal; }
.ap-banner p { margin-top: 6px; color: var(--faq); font-size: 15px; line-height: 1.75; }
.ap-banner__icon,
.ap-banner > div,
.ap-banner > .ap-btn { position: relative; z-index: 1; }
.ap-banner__leaf { position: absolute; width: 70px; inset-inline-start: -18px; bottom: -16px; pointer-events: none; z-index: 0; }
.ap-banner__leaf--end { inset-inline-start: auto; inset-inline-end: -12px; transform: scaleX(-1); }

@media (min-width: 720px) {
  .ap-cards { grid-template-columns: 1fr 1fr; }
  .ap-skills { grid-template-columns: repeat(3, 1fr); }
  .ap-skills li + li { border-top: 0; border-inline-start: 1px solid #e7ece4; }
  .ap-hero h1 { font-size: 48px; }
  .ap-age-row { grid-template-columns: 1fr auto; align-items: center; }
  .ap-feature { grid-template-columns: 200px 1fr auto; }
  .ap-feature img { border-inline-end: 1px solid #cfe3dc; padding-inline-end: 16px; }
}

@media (min-width: 1100px) {
  .ap-hero {
    grid-template-columns: minmax(420px, 0.9fr) minmax(480px, 1fr);
    align-items: center;
    padding: 28px 56px 4px;
    gap: 28px;
  }
  .ap-hero__visual { order: 2; }
  .ap-hero__visual img { border-radius: 8px; }
  .ap-hero h1 { font-size: 58px; line-height: 1.08; letter-spacing: -0.8px; }
  .ap-hero h1 span:nth-child(2) { font-size: 64px; }
  .ap-hero h1 .ap-accent { font-size: 68px; line-height: 1.1; }
  html[dir="rtl"] .ap-hero h1 { font-size: 56px; line-height: 1.3; letter-spacing: 0; }
  html[dir="rtl"] .ap-hero h1 span:nth-child(2),
  html[dir="rtl"] .ap-hero h1 .ap-accent { font-size: 60px; }
  .ap-lead { font-size: 22px; line-height: 1.45; max-width: 36rem; }
  .ap-recommend { max-width: 640px; padding: 22px 22px 16px; }
  .ap-recommend h2 { font-size: 30px; }
  .ap-corner { display: block; position: absolute; bottom: -18px; width: 170px; pointer-events: none; }
  .ap-corner--start { inset-inline-start: 0; }
  .ap-corner--end { inset-inline-end: 0; top: 18px; bottom: auto; width: 150px; }
  .ap-cards { grid-template-columns: repeat(3, 1fr); }
  .ap-card { grid-template-columns: 124px 1fr; min-height: 188px; }
  .ap-card img { width: 118px; height: 148px; }
  .ap-faq { grid-template-columns: 0.92fr 1.15fr; align-items: start; gap: 28px; }
  .ap-faq__intro h2 { font-size: 44px; }
  .ap-banner {
    grid-template-columns: auto 1fr auto;
    align-items: center;
    margin: 36px auto 0;
    padding: 22px 48px;
  }
  .ap-banner__icon,
  .ap-banner > div:not(.ap-banner__icon),
  .ap-banner > .ap-btn { grid-row: 1; }
  .ap-banner__icon { grid-column: 1; }
  .ap-banner > div:not(.ap-banner__icon) { grid-column: 2; }
  .ap-banner > .ap-btn { grid-column: 3; }
}

/* Phone only. Tablet starts at 720px and desktop at 1100px. */
@media (max-width: 719px) {
  .ap {
    max-width: 100%;
  }
  .ap-hero {
    padding-top: 16px;
    gap: 16px;
  }
  .ap-hero__visual {
    max-width: 100%;
    min-width: 0;
  }
  .ap-hero__visual img {
    width: 100%;
    height: auto;
    aspect-ratio: 1.7 / 1;
    object-fit: cover;
    object-position: center 60%;
  }
  .ap-hero__copy,
  .ap-recommend,
  .ap-recommend__head,
  .ap-recommend__head > div,
  .ap-age,
  .ap-age-row,
  .ap-card,
  .ap-card > div,
  .ap-feature,
  .ap-banner,
  .ap-banner > div,
  .ap-item,
  .ap-q,
  .ap-eyebrow {
    min-width: 0;
    max-width: 100%;
  }
  .ap-hero h1 span,
  .ap-lead,
  .ap-recommend h2,
  .ap-recommend__head p,
  .ap-eyebrow span,
  .ap-card h3,
  .ap-card p,
  .ap-feature h3,
  .ap-feature p,
  .ap-q,
  .ap-a p,
  .ap-banner h2,
  .ap-banner p {
    overflow-wrap: break-word;
  }
  .ap-eyebrow { flex-wrap: wrap; }
  .ap-btn {
    white-space: normal;
    max-width: 100%;
  }
  .ap-banner > .ap-btn {
    min-width: 0;
    width: auto;
    justify-self: start;
  }
  html[dir="rtl"] .ap-hero,
  html[dir="rtl"] .ap-hero h1,
  html[dir="rtl"] .ap-lead,
  html[dir="rtl"] .ap-recommend,
  html[dir="rtl"] .ap-recommend h2,
  html[dir="rtl"] .ap-recommend p,
  html[dir="rtl"] .ap-field-label,
  html[dir="rtl"] .ap-card h3,
  html[dir="rtl"] .ap-card p,
  html[dir="rtl"] .ap-feature,
  html[dir="rtl"] .ap-feature h3,
  html[dir="rtl"] .ap-feature p,
  html[dir="rtl"] .ap-faq__intro,
  html[dir="rtl"] .ap-faq__intro h2,
  html[dir="rtl"] .ap-q,
  html[dir="rtl"] .ap-a,
  html[dir="rtl"] .ap-a p,
  html[dir="rtl"] .ap-banner,
  html[dir="rtl"] .ap-banner h2,
  html[dir="rtl"] .ap-banner p {
    text-align: right;
  }
  html:not([dir="rtl"]) .ap-hero,
  html:not([dir="rtl"]) .ap-hero h1,
  html:not([dir="rtl"]) .ap-lead,
  html:not([dir="rtl"]) .ap-recommend,
  html:not([dir="rtl"]) .ap-recommend h2,
  html:not([dir="rtl"]) .ap-recommend p,
  html:not([dir="rtl"]) .ap-card h3,
  html:not([dir="rtl"]) .ap-card p,
  html:not([dir="rtl"]) .ap-feature,
  html:not([dir="rtl"]) .ap-q,
  html:not([dir="rtl"]) .ap-a p,
  html:not([dir="rtl"]) .ap-banner,
  html:not([dir="rtl"]) .ap-banner h2,
  html:not([dir="rtl"]) .ap-banner p {
    text-align: left;
  }

  /* Keep the chat button off the hero description. Other pages stay put. */
  body:has(.ap) a.float {
    width: 52px;
    height: 52px;
    bottom: 14px;
    right: 14px;
    left: auto;
  }
  body:has(.ap) a.float .my-float {
    margin-top: 11px;
  }
  html[dir="rtl"] body:has(.ap) a.float {
    right: auto;
    left: 14px;
  }
}
