:root {
  --ink: #1A243D;
  --muted: #666666;
  --line: rgba(31, 42, 55, 0.1);
  --bg: #F7FDFE;
  --card: #ffffff;
  --accent: #FF9E43;
  --accent-dark: #E7642E;
  --accent-soft: #FFF6ED;
  --ok: #14804a;
  --save: #e8f7ef;
  --soft: #f8fbff;
  --radius: 18px;
  --shadow: 0 18px 50px rgba(43, 36, 31, 0.07);
  --shadow-strong: 0 28px 70px rgba(239, 122, 69, 0.18);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --icon-check: url("../img/icons/misc/check.svg");
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.sr-pricing {
  /* website chrome owns page background */
}
body.sr-checkout {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(59, 130, 246, 0.12) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 90% 90%, rgba(125, 211, 252, 0.14) 0%, transparent 50%),
    linear-gradient(180deg, #f7fbff 0%, #ffffff 100%);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
.sr-pricing .wrap {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.92em;
}

.wrap {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

/* Compact brand bar for checkout / success / cancel flows */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 0 12px;
}
.topbar .brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.02em;
}
.topbar .brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: linear-gradient(145deg, #46C4FF 0%, var(--accent) 55%, #2f8f7a 130%);
  box-shadow: 0 10px 24px rgba(0, 113, 227, 0.28);
}
.topbar .brand-logo {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: block;
  box-shadow: 0 8px 20px rgba(47, 107, 255, 0.22);
}
.top-link {
  color: var(--muted);
  font-size: 15px;
  font-weight: 500;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: 0.2s ease;
}
.top-link:hover {
  color: var(--ink);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.7);
}

.hero {
  text-align: center;
  padding: 48px 0 10px;
  animation: rise 0.7s ease both;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid #c9ddf8;
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.hero h1 {
  margin: 0;
  font-size: clamp(34px, 5vw, 48px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.12;
  color: var(--ink);
}
.hero p {
  margin: 18px auto 0;
  max-width: 680px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  padding: 42px 0 12px;
  align-items: stretch;
}
.plan {
  position: relative;
  background: var(--card);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 22px;
  padding: 30px 26px 26px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  animation: rise 0.75s ease both;
}
.plan:nth-child(1) { animation-delay: 0.05s; }
.plan:nth-child(2) { animation-delay: 0.12s; }
.plan:nth-child(3) { animation-delay: 0.19s; }
.plan:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(26, 26, 26, 0.12);
}
.plan.featured {
  border-color: rgba(0, 85, 255, 0.28);
  background: #ffffff;
  box-shadow: 0 22px 48px rgba(26, 36, 61, 0.08);
  transform: translateY(-8px) scale(1.02);
  z-index: 1;
}
.plan.featured:hover {
  transform: translateY(-12px) scale(1.02);
}
.badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: #0055FF;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 8px 14px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 10px 24px rgba(0, 113, 227, 0.28);
}
.plan h2 {
  margin: 10px 0 8px;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.plan .tagline {
  margin: 0;
  min-height: 48px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}
.price-row {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  margin: 22px 0 6px;
}
.price-row .currency {
  font-size: 22px;
  font-weight: 700;
  transform: translateY(-14px);
}
.price-row .amount {
  font-size: 56px;
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.95;
}
.price-row .unit {
  color: var(--muted);
  font-size: 16px;
  font-weight: 600;
  padding-bottom: 8px;
}
.billed {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 14px;
}
.save-box {
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 13px;
  margin-bottom: 18px;
  background: #f5f2ed;
  color: #555;
  line-height: 1.45;
}
.save-box.green {
  background: var(--save);
  color: var(--ok);
  font-weight: 600;
}
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  border-radius: 999px;
  padding: 15px 18px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  border: 1.5px solid #1a1a1a;
  background: #fff;
  color: var(--ink);
  transition: 0.2s ease;
}
.cta:hover {
  border-color: #0055FF;
  background: #F3F8FF;
  color: #0055FF;
}
.cta.primary {
  border-color: #0055FF;
  background: #0055FF;
  color: #fff;
  box-shadow: none;
}
.cta.primary:hover {
  filter: none;
  border-color: #0046d4;
  background: #0046d4;
  color: #fff;
}
.cta:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.cta .cart {
  width: 16px;
  height: 16px;
}
.renew {
  margin: 12px 0 0;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}
.divider {
  height: 1px;
  background: var(--line);
  margin: 20px 0;
}
.features h3 {
  margin: 0 0 14px;
  font-size: 14px;
  font-weight: 700;
  color: #333;
}
.features ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.features li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  font-size: 14px;
}
.features .check {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  border-radius: 0;
  background: var(--icon-check) center / contain no-repeat;
  color: transparent;
  font-size: 0;
}
.features .desc {
  display: block;
  color: var(--muted);
  font-size: 13px;
  margin-top: 3px;
  line-height: 1.45;
}
.perk {
  margin: 0 0 14px;
  border: 1px solid rgba(0, 85, 255, 0.14);
  background: #F3F8FF;
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 13px;
  color: #1A243D;
  font-weight: 500;
}

.feature-board {
  margin: 56px 0 8px;
  padding: 42px 0 8px;
}
.feature-board-head {
  text-align: center;
  margin-bottom: 28px;
}
.feature-board-head .social-hero {
  width: min(420px, 88%);
  margin: 0 auto 22px;
  display: block;
  filter: drop-shadow(0 18px 30px rgba(26, 26, 26, 0.12));
}
.feature-board-head h2 {
  margin: 0 0 12px;
  font-size: clamp(26px, 3.4vw, 34px);
  font-weight: 800;
  letter-spacing: -0.03em;
}
.feature-board-head p {
  margin: 0 auto;
  max-width: 720px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.app-logos {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  gap: clamp(4px, 0.9vw, 10px);
  margin: 0 auto 32px;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.app-logos::-webkit-scrollbar { display: none; }
.app-logo {
  width: clamp(32px, 4.5vw, 48px);
  height: clamp(32px, 4.5vw, 48px);
  border-radius: 22%;
  background: transparent;
  border: 0;
  box-shadow: 0 8px 16px rgba(26, 26, 26, 0.08);
  display: block;
  overflow: hidden;
  flex: 0 0 auto;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.app-logo:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 14px 24px rgba(26, 26, 26, 0.14);
}
.app-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

.feature-groups {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.feature-groups article {
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 18px;
  padding: 22px 18px 18px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 34px rgba(26, 26, 26, 0.05);
  transition: transform 0.2s ease;
}
.feature-groups article:hover { transform: translateY(-4px); }
.feature-groups .group-icon {
  width: 52px;
  height: 52px;
  margin-bottom: 16px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background:
    linear-gradient(145deg, #fff 0%, var(--accent-soft) 100%);
  border: 1px solid rgba(0, 113, 227, 0.12);
  box-shadow: 0 10px 20px rgba(0, 113, 227, 0.08);
}
.feature-groups .group-icon img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(26, 26, 26, 0.08));
}
.feature-groups h3 {
  margin: 0 0 14px;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.feature-groups ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.feature-groups li {
  position: relative;
  padding-left: 28px;
  color: #444;
  font-size: 14px;
  line-height: 1.4;
}
.feature-groups li strong {
  display: block;
  font-weight: 600;
  color: var(--ink);
}
.feature-groups li span {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 12.5px;
}
.feature-groups li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.15em;
  width: 18px;
  height: 18px;
  background: var(--icon-check) center / contain no-repeat;
}

.faq {
  margin: 48px auto 8px;
  padding: 36px 0 8px;
  max-width: 820px;
}
.faq h2 {
  margin: 0 0 20px;
  font-size: clamp(24px, 3vw, 30px);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-align: center;
}
.faq details {
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 14px;
  padding: 16px 18px;
  margin-bottom: 12px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 24px rgba(26, 26, 26, 0.04);
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  float: right;
  color: var(--muted);
  font-weight: 700;
}
.faq details[open] summary::after { content: "–"; }
.faq details p {
  margin: 12px 0 2px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.pay-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 16px;
  margin: 28px auto 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}
.pay-strip .pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.pay-strip .pill {
  display: none;
}
.pay-strip .pay-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 12px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 8px 16px rgba(26, 26, 26, 0.05);
}
.pay-strip .pay-logo {
  height: 24px;
  width: auto;
  display: block;
}

.trust {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  padding: 48px 0 8px;
  margin-top: 28px;
}
.trust article {
  padding: 22px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 12px 28px rgba(26, 26, 26, 0.04);
  text-align: center;
}
.trust .icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  border-radius: 20px;
  background:
    linear-gradient(145deg, #ffffff 0%, var(--accent-soft) 100%);
  border: 1px solid rgba(0, 113, 227, 0.12);
  box-shadow: 0 12px 24px rgba(0, 113, 227, 0.1);
}
.trust .icon img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(26, 26, 26, 0.08));
}
.trust h3 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 700;
}
.trust p {
  margin: 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.55;
}

.panel {
  width: min(500px, calc(100% - 40px));
  margin: 36px auto 56px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 18px;
  padding: 32px 28px;
  box-shadow: var(--shadow);
}
.panel-checkout {
  width: min(540px, calc(100% - 40px));
}
.panel-checkout .cta.primary {
  border-color: #0055FF;
  background: #0055FF;
}
.panel-checkout .cta.primary:hover {
  border-color: #0046d4;
  background: #0046d4;
}
.checkout-hero {
  margin-bottom: 8px;
}
.checkout-hero .eyebrow {
  margin-bottom: 8px;
}
.checkout-hero h1 {
  margin: 0 0 8px;
}
.summary-accent {
  background: linear-gradient(180deg, var(--soft) 0%, #fff 72%);
  border-color: #f3d6bf;
}
.summary .row.total {
  margin-top: 4px;
  padding-top: 10px;
  border-top: 1px dashed #f0c9a8;
  font-size: 15px;
}
.summary .row.total strong {
  color: var(--accent-dark);
  font-size: 1.15em;
}
.trust-list {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.trust-list li {
  position: relative;
  padding-left: 28px;
  color: var(--muted);
  font-size: 13px;
}
.trust-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.15em;
  width: 18px;
  height: 18px;
  background: var(--icon-check) center / contain no-repeat;
}
.panel h1 {
  margin: 0 0 8px;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.panel .sub {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 15px;
}
.summary {
  background: #fafafa;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 16px;
}
.summary .row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
  padding: 7px 0;
  border-bottom: 1px solid #efefef;
}
.summary .row:last-child { border-bottom: 0; }
.summary .row strong {
  font-size: 18px;
  color: var(--ink);
}
label {
  display: block;
  margin: 12px 0 6px;
  font-size: 13px;
  color: var(--muted);
}
input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 13px 14px;
  background: #fff;
}
input:focus {
  outline: none;
  border-color: #f0b27a;
  box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.12);
}
.msg {
  min-height: 1.2em;
  margin-top: 12px;
  font-size: 14px;
}
.msg.err { color: #b42318; }
.msg.ok { color: var(--ok); }
.status-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 24px;
  margin-bottom: 12px;
}
.status-icon.ok { background: #eaf7ef; color: var(--ok); }
.status-icon.cancel { background: #eef5ff; color: var(--accent-dark); }
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}
.actions .cta { width: auto; min-width: 132px; padding-inline: 18px; }

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 0 0 18px;
}
.steps .step {
  text-align: center;
  padding: 10px 6px;
  border-radius: 10px;
  background: #f5f2ed;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}
.steps .step.on {
  background: var(--accent-soft);
  color: var(--accent-dark);
}
.legal-note {
  margin-top: 14px;
  font-size: 12px;
  color: var(--muted);
}
.legal-note a { color: var(--accent-dark); text-decoration: underline; }
.dev-box {
  margin-top: 14px;
  padding: 12px;
  border-radius: 8px;
  border: 1px dashed #ccc;
  background: #fafafa;
}
.busy::after {
  content: "";
  width: 14px;
  height: 14px;
  margin-left: 8px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  display: inline-block;
  animation: spin .7s linear infinite;
  vertical-align: -2px;
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

.foot { display: none; }

@media (max-width: 980px) {
  .plans, .trust, .feature-groups { grid-template-columns: 1fr; }
  .plan.featured {
    order: -1;
    transform: none;
  }
  .plan.featured:hover { transform: translateY(-6px); }
  .steps { grid-template-columns: 1fr; }
  .price-row .amount { font-size: 48px; }
}

@media (min-width: 981px) and (max-width: 1180px) {
  .feature-groups { grid-template-columns: repeat(2, 1fr); }
}

/* Footer social (checkout pages do not load sidearo.css) */
.sr-footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 12px;
}
.sr-footer-social__link {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid rgba(26, 36, 61, 0.1);
  color: #1A243D !important;
  text-decoration: none !important;
  transition: transform .18s ease, border-color .18s ease, color .18s ease, background .18s ease;
}
.sr-footer-social__link svg {
  width: 18px;
  height: 18px;
  display: block;
}
.sr-footer-social__link:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 85, 255, 0.35);
  color: #0055FF !important;
  background: #f5f9ff;
}
