:root {
  --commerce-navy: #061329;
  --commerce-ink: #0b1730;
  --commerce-muted: #5d708e;
  --commerce-line: #dfe7f1;
  --commerce-blue: #286cff;
  --commerce-blue-dark: #1858d8;
  --commerce-surface: #f5f8fc;
}

.commerceHero {
  padding: 76px 0 82px;
  color: #fff;
  background: radial-gradient(circle at 82% 18%, rgba(43, 108, 255, 0.22), transparent 34%), var(--commerce-navy);
  text-align: center;
}

.commerceHero .pageEyebrow {
  margin-bottom: 18px;
}

.commerceHero h1 {
  max-width: 850px;
  margin: 0 auto;
  color: #fff;
  font-size: clamp(48px, 6vw, 72px);
  font-weight: 590;
  letter-spacing: -0.055em;
  line-height: 1;
}

.commerceHero p {
  max-width: 720px;
  margin: 24px auto 0;
  color: #b7c4d7;
  font-size: 18px;
  line-height: 1.7;
}

.pricingMain {
  padding: 76px 0 96px;
  background: var(--commerce-surface);
}

.pricingNotice {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0 auto 26px;
  color: #355173;
  font-size: 14px;
  font-weight: 700;
}

.pricingNotice i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #35c878;
  box-shadow: 0 0 0 5px rgba(53, 200, 120, 0.12);
}

.freePlan {
  display: grid;
  grid-template-columns: 1.2fr 1fr auto;
  gap: 34px;
  align-items: center;
  margin-bottom: 22px;
  padding: 30px 32px;
  color: #fff;
  border: 1px solid #27497a;
  border-radius: 15px;
  background: radial-gradient(circle at 85% 0%, rgba(49, 112, 244, 0.2), transparent 38%), #07172f;
  box-shadow: 0 18px 50px rgba(10, 31, 66, 0.12);
}

.freePlanTitle span {
  display: block;
  color: #75a0ff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.freePlanTitle strong {
  display: block;
  margin-top: 7px;
  font-size: 27px;
}

.freePlanTitle p {
  margin: 8px 0 0;
  color: #aebdd1;
  font-size: 14px;
  line-height: 1.6;
}

.freePlanFeatures {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.freePlanFeatures li {
  color: #c8d5e7;
  font-size: 13px;
}

.freePlanFeatures li::before {
  content: "✓";
  margin-right: 8px;
  color: #57d98b;
  font-weight: 900;
}

.freePlanAction {
  min-width: 185px;
}

.pricingGrid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
  gap: 14px;
}

.planCard {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 30px 25px 26px;
  border: 1px solid var(--commerce-line);
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 15px 42px rgba(10, 31, 66, 0.055);
}

.planCard.featured {
  border-color: #77a0f4;
  box-shadow: 0 20px 55px rgba(30, 87, 202, 0.14);
}

.planFlag {
  position: absolute;
  inset: 0 0 auto;
  min-height: 31px;
  padding: 7px 10px;
  color: #fff;
  border-radius: 14px 14px 0 0;
  background: #1f65e8;
  text-align: center;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.planCard.featured {
  padding-top: 50px;
}

.planName {
  display: block;
  color: var(--commerce-ink);
  font-size: 21px;
  font-weight: 760;
}

.planAudience {
  min-height: 48px;
  margin-top: 7px;
  color: var(--commerce-muted);
  font-size: 14px;
  line-height: 1.55;
}

.planResponsibility {
  width: fit-content;
  margin: 8px 0 0;
  padding: 6px 9px;
  border-radius: 7px;
  background: #eef4ff;
  color: #315a9f;
  font-size: 11px;
  font-weight: 750;
  line-height: 1.35;
}

.planResponsibility.managed {
  background: #eaf8f0;
  color: #24724a;
}

.planPrice {
  display: flex;
  align-items: flex-start;
  margin: 24px 0 5px;
  color: var(--commerce-ink);
}

.planPrice sup {
  margin-top: 9px;
  font-size: 17px;
  font-weight: 750;
}

.planPrice strong {
  font-size: 50px;
  letter-spacing: -0.055em;
  line-height: 1;
}

.planPrice span {
  align-self: flex-end;
  margin: 0 0 6px 6px;
  color: #71819a;
  font-size: 12px;
  line-height: 1.25;
}

.planTrial {
  margin-bottom: 19px;
  color: #1f7d50;
  font-size: 13px;
  font-weight: 750;
}

.planButton {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  color: #fff;
  border-radius: 9px;
  background: var(--commerce-blue);
  text-decoration: none;
  font-size: 14px;
  font-weight: 760;
}

.planButton:hover {
  background: var(--commerce-blue-dark);
}

.planIncludes {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid #e6ebf2;
}

.planIncludes > strong {
  display: block;
  margin-bottom: 15px;
  font-size: 14px;
}

.planFeatures {
  display: grid;
  gap: 11px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.planFeatures li {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 8px;
  color: #536681;
  font-size: 13px;
  line-height: 1.5;
}

.planFeatures li::before {
  content: "✓";
  display: grid;
  width: 19px;
  height: 19px;
  place-items: center;
  color: #147c4a;
  border-radius: 50%;
  background: #e9f8f0;
  font-size: 11px;
  font-weight: 900;
}

.billingNote {
  max-width: 900px;
  margin: 27px auto 0;
  color: #65758d;
  text-align: center;
  font-size: 13px;
  line-height: 1.7;
}

.pricingSupport {
  padding: 86px 0;
  background: #fff;
}

.supportGrid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 58px;
  align-items: center;
  padding: 44px;
  border: 1px solid var(--commerce-line);
  border-radius: 18px;
  background: linear-gradient(135deg, #fff, #f4f8ff);
  box-shadow: 0 20px 60px rgba(10, 31, 66, 0.06);
}

.supportGrid h2 {
  margin: 0;
  color: var(--commerce-ink);
  font-size: 38px;
  font-weight: 610;
  letter-spacing: -0.045em;
}

.supportGrid p {
  margin: 15px 0 0;
  color: var(--commerce-muted);
  font-size: 16px;
}

.supportFacts {
  display: grid;
  gap: 11px;
}

.supportFacts div {
  padding: 15px 17px;
  border: 1px solid #dce5f1;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.85);
}

.supportFacts strong,
.supportFacts span {
  display: block;
}

.supportFacts strong {
  font-size: 15px;
}

.supportFacts span {
  margin-top: 4px;
  color: var(--commerce-muted);
  font-size: 13px;
}

.loginMain {
  min-height: calc(100vh - 190px);
  padding: 78px 0 96px;
  background: var(--commerce-surface);
}

.loginLayout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(460px, 0.72fr);
  gap: 78px;
  align-items: center;
}

.loginCopy h1 {
  margin: 0;
  color: var(--commerce-ink);
  font-size: clamp(46px, 5vw, 64px);
  font-weight: 590;
  letter-spacing: -0.055em;
  line-height: 1;
}

.loginCopy > p {
  max-width: 600px;
  margin: 23px 0 0;
  color: var(--commerce-muted);
  font-size: 18px;
}

.loginBenefits {
  display: grid;
  gap: 12px;
  margin-top: 31px;
}

.loginBenefits div {
  display: flex;
  align-items: center;
  gap: 11px;
  color: #3c506d;
  font-size: 15px;
  font-weight: 650;
}

.loginBenefits i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--commerce-blue);
  box-shadow: 0 0 0 5px rgba(40, 108, 255, 0.1);
}

.loginCard {
  padding: 38px;
  border: 1px solid var(--commerce-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 25px 75px rgba(10, 31, 66, 0.1);
}

.loginCardTop {
  margin-bottom: 26px;
}

.loginCardTop strong {
  display: block;
  font-size: 25px;
}

.loginCardTop span {
  display: block;
  margin-top: 7px;
  color: var(--commerce-muted);
  font-size: 14px;
}

.loginField {
  display: grid;
  gap: 8px;
  margin-top: 17px;
}

.loginField span {
  color: #263a58;
  font-size: 14px;
  font-weight: 700;
}

.loginField input {
  min-height: 52px;
  padding: 0 14px;
  color: #65758d;
  border: 1px solid #d4deea;
  border-radius: 9px;
  background: #f8fafd;
  font: inherit;
  font-size: 15px;
}

.loginStatus {
  margin: 23px 0 0;
  padding: 15px 17px;
  color: #405570;
  border-left: 4px solid var(--commerce-blue);
  border-radius: 0 9px 9px 0;
  background: #f0f5ff;
  font-size: 13px;
  line-height: 1.6;
}

.loginButton {
  width: 100%;
  min-height: 50px;
  margin-top: 21px;
  color: #7c8ba0;
  border: 0;
  border-radius: 9px;
  background: #e4eaf2;
  font: inherit;
  font-weight: 760;
  cursor: not-allowed;
}

.loginHelp {
  margin: 21px 0 0;
  color: var(--commerce-muted);
  text-align: center;
  font-size: 13px;
}

.loginHelp a {
  color: var(--commerce-blue-dark);
  font-weight: 750;
  text-decoration: none;
}

.trialPlanField {
  margin-top: 18px;
}

.trialPlanNote {
  margin: 10px 0 0;
  color: #6b7b91;
  font-size: 12px;
  line-height: 1.55;
}

.trialPromises > div {
  grid-template-columns: 1fr;
}

@media (max-width: 1050px) {
  .pricingGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

  .freePlanAction {
    grid-column: 1 / -1;
    width: fit-content;
  }

  .supportGrid,
  .loginLayout {
    grid-template-columns: 1fr;
  }

  .loginLayout {
    gap: 48px;
  }
}

@media (max-width: 640px) {
  .commerceHero {
    padding: 56px 0 65px;
  }

  .commerceHero h1 {
    font-size: 45px;
  }

  .commerceHero p {
    font-size: 17px;
  }

  .pricingMain {
    padding: 58px 0 72px;
  }

  .pricingGrid {
    grid-template-columns: 1fr;
  }

  .freePlan {
    grid-template-columns: 1fr;
    gap: 23px;
    padding: 25px 22px;
  }

  .freePlanAction {
    grid-column: auto;
    width: 100%;
  }

  .planAudience {
    min-height: 0;
  }

  .supportGrid {
    padding: 29px 22px;
  }

  .supportGrid h2 {
    font-size: 34px;
  }

  .loginMain {
    padding: 56px 0 72px;
  }

  .loginLayout {
    grid-template-columns: minmax(0, 1fr);
  }

  .loginCopy h1 {
    font-size: 44px;
  }

  .loginCard {
    padding: 29px 22px;
  }
}
