.simple-page {
  background: var(--paper);
}

.simple-page .site-header {
  margin-bottom: 0;
}

.simple-page .site-header {
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.16);
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 116px 24px 74px;
  background:
    radial-gradient(circle at 82% 14%, rgba(45, 212, 191, 0.2), transparent 34%),
    linear-gradient(135deg, #071122 0%, #10213a 58%, #0f766e 140%);
  color: #f8fafc;
}

.pricing-page .page-hero {
  padding-top: 76px;
  padding-bottom: 42px;
}

.pricing-page .page-hero-inner {
  align-items: center;
  gap: 42px;
}

.page-hero-inner,
.page-section,
.page-footer-inner {
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
}

.page-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 56px;
  align-items: end;
}

.page-kicker {
  width: fit-content;
  max-width: 100%;
  margin: 0 0 18px;
  color: #93c5fd;
  font-size: 0.82rem;
  font-weight: 950;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.page-hero h1 {
  max-width: 780px;
  margin-bottom: 22px;
  font-size: clamp(3.2rem, 8vw, 5.8rem);
  line-height: 0.94;
  font-weight: 950;
}

.pricing-page .page-hero h1 {
  max-width: 690px;
  margin-bottom: 18px;
  font-size: clamp(2.55rem, 5vw, 3.95rem);
  line-height: 1.02;
}

.pricing-page .page-lede {
  max-width: 680px;
  font-size: 1.05rem;
  line-height: 1.6;
}

.pricing-page .page-hero-card {
  padding: 22px;
  border-radius: 22px;
}

.page-lede {
  max-width: 720px;
  margin-bottom: 0;
  color: #dbeafe;
  font-size: 1.18rem;
  line-height: 1.68;
}

.page-hero-card {
  position: relative;
  isolation: isolate;
  padding: 28px;
  border: 1px solid rgba(191, 219, 254, 0.22);
  border-radius: 28px;
  background: rgba(15, 23, 42, 0.42);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(18px);
}

.page-hero-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  background:
    radial-gradient(circle at 88% 14%, rgba(45, 212, 191, 0.2), transparent 34%),
    transparent;
}

.page-hero-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.35rem;
}

.page-hero-card p {
  margin-bottom: 18px;
  color: #cbd5e1;
}

.page-pill-list,
.check-list,
.plain-list {
  padding: 0;
  margin: 0;
  list-style: none;
}

.page-pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-pill-list li {
  padding: 8px 11px;
  border: 1px solid rgba(147, 197, 253, 0.24);
  border-radius: 999px;
  background: rgba(96, 165, 250, 0.12);
  color: #dbeafe;
  font-size: 0.86rem;
  font-weight: 850;
}

.page-section {
  padding: 84px 0;
}

.pricing-plans-section {
  padding-top: 42px;
}

.page-section + .page-section {
  border-top: 1px solid var(--line);
}

.page-heading {
  max-width: 760px;
  margin-bottom: 36px;
}

.page-heading.center {
  margin-inline: auto;
  text-align: center;
}

.page-heading h2 {
  margin-bottom: 14px;
  font-size: clamp(2.2rem, 5vw, 3.7rem);
  line-height: 1;
  font-weight: 950;
}

.page-heading p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.split-grid,
.three-grid,
.two-grid {
  display: grid;
  gap: 18px;
}

.split-grid {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.72fr);
  align-items: start;
}

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

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

.info-card,
.plan-card,
.support-card,
.help-card,
.account-panel {
  border: 1px solid var(--line);
  border-radius: 26px;
  background: #ffffff;
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.08);
}

.payment-status {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f8fafc;
  color: var(--ink-soft);
  font-size: 0.94rem;
}

.payment-status[data-tone="success"] {
  border-color: rgba(13, 148, 136, 0.35);
  background: rgba(204, 251, 241, 0.55);
  color: #115e59;
}

.payment-status[data-tone="error"] {
  border-color: rgba(220, 38, 38, 0.3);
  background: rgba(254, 226, 226, 0.7);
  color: #991b1b;
}

.account-session {
  grid-column: 1 / -1;
}

.account-session[hidden] {
  display: none;
}

.account-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.text-button {
  border: 0;
  background: transparent;
  color: var(--ink-soft);
  box-shadow: none;
}

.info-card,
.support-card,
.help-card,
.account-panel {
  padding: 28px;
}

.info-card h3,
.support-card h3,
.help-card h3,
.account-panel h3 {
  margin-bottom: 12px;
  font-size: 1.32rem;
  line-height: 1.12;
}

.info-card p,
.support-card p,
.help-card p,
.account-panel p {
  color: var(--ink-soft);
}

.check-list {
  display: grid;
  gap: 10px;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  color: var(--ink-soft);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, #60a5fa, #2dd4bf);
}

.plan-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 18px;
  max-width: 1100px;
  margin-inline: auto;
  align-items: stretch;
}

.plan-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 30px;
}

.plan-card.is-featured {
  position: relative;
  isolation: isolate;
  background:
    linear-gradient(145deg, rgba(96, 165, 250, 0.14), rgba(45, 212, 191, 0.1)),
    #ffffff;
  border-color: rgba(59, 130, 246, 0.38);
}

.plan-card.is-featured::before {
  content: "";
  position: absolute;
  inset: auto 12% -28px;
  z-index: -1;
  height: 76px;
  border-radius: 999px;
  background: rgba(45, 212, 191, 0.22);
  filter: blur(28px);
}

.plan-label {
  width: fit-content;
  margin-bottom: 18px;
  padding: 7px 10px;
  border-radius: 999px;
  background: #e0f2fe;
  color: #075985;
  font-size: 0.76rem;
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.plan-card h2,
.plan-card h3 {
  margin-bottom: 8px;
  font-size: 2rem;
}

.plan-price {
  margin-bottom: 16px;
  color: var(--navy);
  font-size: 3rem;
  line-height: 1;
  font-weight: 950;
}

.plan-card .compare-price {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 1rem;
  font-weight: 900;
  text-decoration: line-through;
}

.plan-price span {
  color: var(--muted);
  font-size: 1rem;
  font-weight: 850;
}

.plan-card p {
  color: var(--ink-soft);
}

.plan-card .check-list {
  margin: 10px 0 26px;
}

.plan-card .button {
  margin-top: auto;
}

.plan-card .button.secondary,
.team-plan-callout .button.secondary {
  border-color: rgba(96, 165, 250, 0.36);
  background: #eff6ff;
  color: var(--navy);
}

.team-plan-callout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px 28px;
  width: min(100%, 1040px);
  margin: 24px auto 0;
  padding: 24px 26px;
  border: 1px solid rgba(59, 130, 246, 0.18);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(96, 165, 250, 0.08), rgba(45, 212, 191, 0.06)),
    #ffffff;
  box-shadow: 0 14px 38px rgba(15, 23, 42, 0.07);
}

.team-plan-copy .plan-label {
  margin-bottom: 10px;
}

.team-plan-copy h2 {
  margin-bottom: 6px;
  font-size: 1.35rem;
}

.team-plan-copy p {
  margin-bottom: 0;
  color: var(--ink-soft);
}

.team-plan-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 0;
  color: var(--navy);
  white-space: nowrap;
}

.team-plan-action {
  display: grid;
  justify-items: end;
  gap: 12px;
}

.team-plan-price strong {
  font-size: 2.35rem;
  line-height: 1;
  font-weight: 950;
}

.team-plan-price span {
  color: var(--muted);
  font-weight: 850;
}

.team-plan-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  grid-column: 1 / -1;
  padding: 0;
  margin: 0;
  list-style: none;
}

.team-plan-list li {
  padding: 7px 10px;
  border: 1px solid #dbe7f5;
  border-radius: 999px;
  background: #f8fbff;
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 850;
}

.comparison-table {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.08);
}

.comparison-row {
  display: grid;
  grid-template-columns: minmax(180px, 1.2fr) minmax(100px, 0.55fr) minmax(100px, 0.55fr);
  gap: 0;
}

.comparison-row > * {
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}

.comparison-row:last-child > * {
  border-bottom: 0;
}

.comparison-row strong {
  font-weight: 950;
}

.comparison-row span {
  color: var(--ink-soft);
  font-weight: 800;
}

.comparison-row.header {
  background: #eff6ff;
}

.support-card {
  min-height: 100%;
}

.support-card .support-tag {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 7px 10px;
  border-radius: 999px;
  background: #ecfeff;
  color: #0f766e;
  font-size: 0.76rem;
  font-weight: 950;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.flow-steps {
  display: grid;
  gap: 12px;
  counter-reset: flow;
}

.flow-steps li {
  position: relative;
  padding: 18px 18px 18px 62px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #ffffff;
  color: var(--ink-soft);
  list-style: none;
}

.flow-steps li::before {
  counter-increment: flow;
  content: counter(flow);
  position: absolute;
  left: 18px;
  top: 18px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--navy);
  color: #ffffff;
  font-weight: 950;
}

.form-shell {
  display: grid;
  gap: 12px;
}

.account-link-button {
  margin-top: 22px;
}

.account-new-user {
  display: grid;
  gap: 12px;
  margin-top: 8px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.account-new-user p {
  margin: 0;
}

.account-new-actions,
.account-help-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.account-new-actions .button {
  min-height: 46px;
}

.text-link {
  color: var(--navy);
  font-weight: 900;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.16em;
}

.flow-steps strong {
  color: var(--ink);
}

.form-shell label {
  color: var(--ink-soft);
  font-weight: 900;
}

.form-shell input,
.form-shell select,
.form-shell textarea {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #f8fbff;
  color: var(--ink);
  font: inherit;
  font-weight: 760;
}

.form-shell textarea {
  resize: vertical;
}

.form-grid {
  display: grid;
  gap: 14px;
}

.form-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}

.form-status {
  min-height: 1.4em;
  margin: 8px 0 0;
  color: var(--ink-soft);
  font-weight: 850;
}

.promo-builder {
  align-items: stretch;
}

.promo-summary {
  background:
    linear-gradient(145deg, rgba(96, 165, 250, 0.12), rgba(45, 212, 191, 0.1)),
    #ffffff;
}

.promo-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.promo-stats div,
.promo-table-shell {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.08);
}

.promo-stats div {
  padding: 20px;
}

.promo-stats span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 900;
}

.promo-stats strong {
  color: var(--navy);
  font-size: 2rem;
  line-height: 1;
}

.promo-table-shell {
  overflow-x: auto;
}

.promo-table {
  min-width: 760px;
}

.promo-row {
  display: grid;
  grid-template-columns: minmax(190px, 1.1fr) minmax(180px, 1fr) minmax(110px, 0.5fr) minmax(120px, 0.55fr) minmax(170px, 0.8fr);
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.promo-row:last-child {
  border-bottom: 0;
}

.promo-row > span {
  min-width: 0;
  padding: 18px;
  color: var(--ink-soft);
  font-weight: 850;
}

.promo-row strong {
  display: block;
  color: var(--ink);
  font-size: 1rem;
}

.promo-row small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
}

.promo-row-head {
  background: #eff6ff;
}

.promo-row-head > span {
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.promo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.promo-actions button {
  border: 1px solid rgba(96, 165, 250, 0.34);
  border-radius: 999px;
  padding: 8px 10px;
  background: #eff6ff;
  color: #1d4ed8;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 950;
  cursor: pointer;
}

.promo-empty {
  margin: 0;
  padding: 24px;
  color: var(--ink-soft);
}

.notice-band {
  padding: 24px;
  border: 1px solid rgba(37, 99, 235, 0.18);
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(96, 165, 250, 0.14), rgba(45, 212, 191, 0.12));
}

.notice-band p {
  margin-bottom: 0;
  color: var(--ink-soft);
}

.page-footer {
  padding: 34px 0 46px;
  border-top: 1px solid var(--line);
  background: #ffffff;
}

.page-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
  font-weight: 760;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-links a {
  color: var(--ink-soft);
}

@media (max-width: 900px) {
  .page-hero-inner,
  .split-grid,
  .plan-grid,
  .three-grid,
  .two-grid,
  .team-plan-callout {
    grid-template-columns: 1fr;
  }

  .team-plan-action {
    justify-items: start;
  }

  .comparison-row {
    grid-template-columns: 1fr;
  }

  .comparison-row > * {
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 720px) {
  .page-hero {
    padding-top: 82px;
    padding-bottom: 58px;
  }

  .page-section {
    padding: 58px 0;
  }

  .page-hero-inner,
  .page-section,
  .page-footer-inner {
    width: min(calc(100% - 28px), var(--max));
  }

  .page-footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .page-hero h1 {
    font-size: clamp(2.55rem, 12vw, 3.45rem);
    line-height: 0.98;
  }

  .page-lede {
    font-size: 1.02rem;
    line-height: 1.58;
  }

  .page-hero-card,
  .info-card,
  .plan-card,
  .support-card,
  .help-card,
  .account-panel {
    border-radius: 20px;
  }

  .plan-card {
    padding: 24px;
  }

  .plan-price {
    font-size: 2.8rem;
  }

  .form-grid.two,
  .promo-stats {
    grid-template-columns: 1fr;
  }
}

/* Account and checkout experience */
.account-page .page-hero {
  padding-top: 78px;
  padding-bottom: 62px;
}

.account-page .page-hero-inner {
  align-items: center;
  gap: clamp(32px, 5vw, 64px);
}

.account-page .page-hero h1 {
  max-width: 800px;
  font-size: clamp(2.8rem, 6.2vw, 5rem);
  line-height: 0.98;
  text-wrap: balance;
}

.account-page .page-lede {
  max-width: 680px;
  font-size: clamp(1rem, 1.4vw, 1.14rem);
  line-height: 1.58;
}

.account-page .page-hero-card {
  min-width: 0;
  padding: clamp(22px, 3vw, 30px);
}

.account-card-kicker {
  display: block;
  margin-bottom: 10px;
  color: #93c5fd;
  font-size: 0.74rem;
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.account-page .page-hero-card strong {
  max-width: 18ch;
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  line-height: 1.12;
  text-wrap: balance;
}

.account-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.account-hero-actions .button {
  flex: 1 1 150px;
  min-width: 0;
  padding-inline: 18px;
  text-align: center;
}

.account-checkout-points {
  display: grid;
  gap: 9px;
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}

.account-checkout-points li {
  position: relative;
  padding-left: 24px;
  color: #dbeafe;
  font-size: 0.94rem;
  line-height: 1.42;
}

.account-checkout-points li::before {
  position: absolute;
  left: 0;
  top: 0.48em;
  width: 10px;
  height: 6px;
  border-bottom: 2px solid #5eead4;
  border-left: 2px solid #5eead4;
  content: "";
  transform: rotate(-45deg);
}

.account-workspace .split-grid {
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  align-items: stretch;
  gap: 22px;
}

.account-workspace .account-panel {
  min-width: 0;
  height: 100%;
  padding: clamp(24px, 3vw, 34px);
}

.account-workspace .account-panel h2,
.account-workspace .account-panel h3 {
  margin-bottom: 10px;
  font-size: clamp(1.55rem, 2.2vw, 2rem);
  line-height: 1.08;
  text-wrap: balance;
}

.account-workspace .form-shell {
  gap: 14px;
}

.account-action-field {
  display: grid;
  gap: 12px;
}

.account-submit {
  width: 100%;
  margin-top: 2px;
}

.checkout-assurance {
  margin: 0;
  color: var(--muted) !important;
  font-size: 0.9rem;
  line-height: 1.45;
  text-align: center;
}

.account-guide {
  display: flex;
  flex-direction: column;
}

.compact-flow {
  gap: 10px;
  padding-left: 0;
  margin: 18px 0 20px;
}

.compact-flow li {
  padding: 16px 16px 16px 58px;
  border-radius: 16px;
  line-height: 1.45;
}

.compact-flow li::before {
  top: 16px;
  left: 16px;
  width: 26px;
  height: 26px;
}

.account-support-link {
  margin-top: auto;
}

.account-page [hidden] {
  display: none !important;
}

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

  .account-workspace .account-panel {
    height: auto;
  }
}

@media (max-width: 560px) {
  .account-page .page-hero {
    padding-top: 62px;
    padding-bottom: 46px;
  }

  .account-page .page-hero h1 {
    font-size: clamp(2.35rem, 12vw, 3.2rem);
    line-height: 1;
  }

  .account-page .page-hero-card,
  .account-workspace .account-panel {
    padding: 22px;
  }

  .account-hero-actions {
    flex-direction: column;
  }

  .account-hero-actions .button {
    flex-basis: auto;
    width: 100%;
  }

  .compact-flow li {
    padding: 15px 14px 15px 54px;
  }

  .compact-flow li::before {
    top: 15px;
    left: 14px;
  }
}
