/**
 * Now Shipping — public Shopify app pricing page
 * English, LTR. Overrides the Arabic landing layout.
 */

html.landing-layout {
  direction: ltr !important;
}

html.landing-layout,
html.landing-layout body {
  margin: 0;
  background: #f6f8fb;
}

html.landing-layout .sp,
html.landing-layout .sp * {
  direction: ltr;
}

.sp {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #f6f8fb;
  color: #0e2a5c;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  text-align: left;
  line-height: 1.6;
}

.sp,
.sp *,
.sp *::before,
.sp *::after {
  box-sizing: border-box;
}

.sp h1,
.sp h2,
.sp h3,
.sp p {
  margin: 0;
}

.sp a {
  color: inherit;
}

.sp-wrap {
  width: min(1080px, calc(100% - 40px));
  margin-inline: auto;
}

.sp-header {
  background: #fff;
  border-bottom: 1px solid #e4eaf2;
}

.sp-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
}

.sp-brand {
  display: flex;
  align-items: center;
}

.sp-brand__logo {
  height: 36px;
  width: auto;
  display: block;
}

.sp-header__nav {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 0.9375rem;
  font-weight: 600;
}

.sp-header__nav a {
  color: #1b4da8;
  text-decoration: none;
}

.sp-header__nav a:hover {
  color: #ff6b1a;
}

.sp-hero {
  padding: 64px 0 28px;
  background:
    radial-gradient(900px 280px at 50% -40px, rgba(27, 77, 168, 0.08), transparent 70%),
    #f6f8fb;
}

.sp-hero__inner {
  text-align: center;
}

.sp .sp-eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #fff0e8;
  color: #c2410c;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.sp h1 {
  max-width: 16ch;
  margin-inline: auto;
  font-size: clamp(2rem, 5vw, 3.25rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.sp .sp-lead {
  max-width: 640px;
  margin: 16px auto 0;
  color: #3d5168;
  font-size: 1.0625rem;
}

.sp-price {
  max-width: 420px;
  margin: 32px auto 0;
  padding: 28px 24px 24px;
  background: #fff;
  border: 1px solid #e4eaf2;
  border-radius: 20px;
  box-shadow: 0 18px 50px rgba(14, 42, 92, 0.08);
}

.sp .sp-price__label {
  color: #5b6b7e;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.sp .sp-price__amount {
  margin-top: 4px;
  color: #0e2a5c;
  font-size: clamp(3rem, 8vw, 4.25rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}

.sp .sp-price__zero {
  margin-top: 10px;
  color: #12896f;
  font-size: 1.125rem;
  font-weight: 700;
}

.sp-price__zero span {
  margin: 0 6px;
  color: #b7c3d1;
  font-weight: 500;
}

.sp .sp-price__note {
  margin-top: 8px;
  color: #5b6b7e;
  font-size: 0.9375rem;
}

.sp-section {
  padding: 36px 0;
}

.sp-section h2 {
  margin-bottom: 18px;
  font-size: clamp(1.375rem, 2.4vw, 1.75rem);
  letter-spacing: -0.02em;
}

.sp-section p {
  color: #3d5168;
}

.sp-section p + p {
  margin-top: 12px;
}

.sp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  min-width: 0;
}

.sp-card {
  min-width: 0;
  padding: 20px 18px 22px;
  background: #fff;
  border: 1px solid #e4eaf2;
  border-radius: 16px;
}

.sp-card__mark {
  display: inline-flex;
  color: #12896f;
}

.sp-card h3 {
  margin: 10px 0 6px;
  font-size: 1.0625rem;
  letter-spacing: -0.02em;
}

.sp .sp-card p {
  color: #3d5168;
  font-size: 0.9375rem;
  overflow-wrap: break-word;
}

.sp-section--tint {
  background: #fff;
  border-block: 1px solid #e4eaf2;
}

.sp-split {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: start;
}

.sp-included {
  padding: 22px 22px 8px;
  background: #0e2a5c;
  color: #fff;
  border-radius: 16px;
}

.sp-included h3 {
  margin-bottom: 12px;
  font-size: 1.05rem;
}

.sp-included ul {
  margin: 0;
  padding: 0 0 10px;
  list-style: none;
}

.sp-included li {
  position: relative;
  padding: 8px 0 8px 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.9375rem;
}

.sp-included li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff6b1a;
}

.sp-note {
  padding: 24px 26px;
  background: #fff;
  border: 1px solid #e4eaf2;
  border-left: 4px solid #1b4da8;
  border-radius: 16px;
}

.sp-note h2 {
  margin-bottom: 8px;
}

.sp-section--contact {
  padding-top: 12px;
}

.sp .sp-contact__lead {
  margin-bottom: 16px;
}

.sp-contact {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sp-contact li {
  padding: 16px 18px;
  background: #fff;
  border: 1px solid #e4eaf2;
  border-radius: 14px;
}

.sp-contact span {
  display: block;
}

.sp-contact li > span:first-child {
  margin-bottom: 4px;
  color: #5b6b7e;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.sp-contact a {
  color: #1b4da8;
  font-weight: 600;
  text-decoration: none;
}

.sp-contact a:hover {
  color: #ff6b1a;
}

.sp .sp-updated {
  margin-top: 16px;
  color: #5b6b7e;
  font-size: 0.875rem;
}

.sp-footer {
  margin-top: auto;
  background: #061634;
  color: rgba(255, 255, 255, 0.72);
}

.sp-footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 22px 0;
  font-size: 0.875rem;
}

.sp-footer a {
  color: #fff;
  text-decoration: none;
}

.sp-footer a:hover {
  color: #ff8a47;
}

.sp a:focus-visible,
.sp-brand:focus-visible {
  outline: 2px solid #ff6b1a;
  outline-offset: 3px;
  border-radius: 4px;
}

@media (max-width: 900px) {
  .sp-grid {
    grid-template-columns: 1fr 1fr;
  }

  .sp-split,
  .sp-contact {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .sp-wrap {
    width: min(1080px, calc(100% - 32px));
  }

  .sp-hero {
    padding-top: 40px;
  }

  .sp h1 {
    max-width: 12em;
  }

  .sp-grid,
  .sp-contact {
    grid-template-columns: 1fr;
  }

  .sp-header__inner,
  .sp-footer__inner {
    flex-direction: column;
    align-items: flex-start;
    padding-block: 16px;
  }

  .sp-header__inner {
    min-height: 0;
  }
}

@media print {
  .sp-header__nav,
  .sp-footer {
    display: none;
  }

  .sp,
  .sp-hero,
  .sp-section--tint,
  .sp-card,
  .sp-price,
  .sp-note,
  .sp-contact li {
    background: #fff;
  }

  .sp-included {
    background: #fff;
    color: #0e2a5c;
    border: 1px solid #ccc;
  }
}
