html {
  overflow-x: hidden;
  overflow-y: auto;
  scroll-behavior: smooth;
}

body {
  overflow: visible !important;
}

.ai-page {
  overflow: visible !important;
}

.ai-pricing-hero,
.ai-pricing-section,
.ai-pricing-section * {
  box-sizing: border-box;
}

#subscription,
#topup,
#token-guide,
#payment-policy,
#team-subscription {
  scroll-margin-top: 142px;
}

.ai-page .ai-pricing-hero {
  display: flex;
  align-items: center;
  min-height: 500px;
  padding: 154px 0 76px;
}

.ai-page .ai-pricing-hero .ai-title {
  max-width: 850px;
  font-size: clamp(3.1rem, 5vw, 4.9rem);
  line-height: 1.08;
}

.ai-pricing-subnav {
  position: sticky;
  z-index: 940;
  top: 72px;
  border-top: 1px solid rgba(218, 226, 238, 0.78);
  border-bottom: 1px solid rgba(210, 220, 234, 0.9);
  background: rgba(248, 250, 254, 0.92);
  box-shadow: 0 10px 28px rgba(31, 52, 83, 0.08);
  backdrop-filter: blur(16px);
}

.ai-pricing-subnav .ai-container {
  padding-top: 11px;
  padding-bottom: 11px;
}

.ai-pricing-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin: 0;
}

.ai-pricing-jump a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 9px 15px;
  border: 1px solid #d9e1ed;
  border-radius: 999px;
  background: #ffffff;
  color: #445268;
  font-size: 13px;
  font-weight: 750;
  text-decoration: none;
  box-shadow: 0 7px 18px rgba(31, 52, 83, 0.05);
}

.ai-pricing-jump a::after {
  content: "↓";
  margin-left: 7px;
  color: #315fd6;
  font-weight: 900;
}

.ai-pricing-jump a:hover {
  border-color: rgba(49, 95, 214, 0.42);
  color: #244dac;
}

.ai-pricing-jump a:focus-visible,
.ai-plan-card .ai-btn:focus-visible,
.ai-topup-check .ai-btn:focus-visible,
.ai-policy-disclosure summary:focus-visible {
  outline: 3px solid rgba(49, 95, 214, 0.35);
  outline-offset: 3px;
}

.ai-page .ai-pricing-section {
  padding: 104px 0;
}

.ai-pricing-section__header {
  max-width: 780px;
}

.ai-pricing-section__header .ai-section-title {
  max-width: 760px;
}

.ai-pricing-section__header .ai-lead {
  max-width: 720px;
  margin-top: 20px;
}

.ai-plan-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 46px;
}

.ai-plan-card {
  display: flex;
  flex-direction: column;
  min-height: 492px;
  padding: 34px;
  border: 1px solid #dbe3ef;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 18px 48px rgba(31, 52, 83, 0.08);
}

.ai-plan-card.is-primary {
  border-color: rgba(49, 95, 214, 0.34);
  background:
    radial-gradient(circle at 100% 0, rgba(49, 95, 214, 0.13), transparent 25rem),
    #ffffff;
}

.ai-plan-card.is-team {
  background:
    radial-gradient(circle at 100% 0, rgba(105, 72, 203, 0.12), transparent 25rem),
    #ffffff;
}

.ai-plan-card__head {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  justify-content: space-between;
}

.ai-plan-card__badge {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #edf3ff;
  color: #2853bb;
  font-size: 11px;
  font-weight: 850;
}

.ai-plan-card.is-team .ai-plan-card__badge {
  background: #f0ecff;
  color: #6242bd;
}

.ai-plan-card h3 {
  margin: 0;
  color: #111827;
  font-size: 25px;
  font-weight: 850;
  letter-spacing: -0.035em;
}

.ai-plan-card__price {
  flex: 0 0 auto;
  margin: 0;
  text-align: right;
}

.ai-plan-card__price strong {
  display: block;
  color: #111827;
  font-size: clamp(27px, 2.8vw, 38px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.055em;
}

.ai-plan-card__price span {
  display: block;
  margin-top: 6px;
  color: #69778b;
  font-size: 12px;
  font-weight: 700;
}

.ai-plan-card__summary {
  margin: 26px 0 0;
  padding: 16px 18px;
  border-radius: 14px;
  background: #f4f7fc;
  color: #4f5e73;
  font-size: 14px;
  line-height: 1.65;
  word-break: keep-all;
}

.ai-plan-card__list {
  display: grid;
  gap: 11px;
  margin: 23px 0 28px;
  padding: 0;
  list-style: none;
}

.ai-plan-card__list li {
  position: relative;
  padding-left: 24px;
  color: #4d5c70;
  font-size: 14px;
  line-height: 1.5;
}

.ai-plan-card__list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #315fd6;
  font-weight: 900;
}

.ai-plan-card.is-team .ai-plan-card__list li::before {
  color: #6948cb;
}

.ai-plan-card .ai-btn {
  align-self: flex-start;
  margin-top: auto;
}

.ai-pricing-caption {
  margin: 20px 0 0;
  color: #6d798b;
  font-size: 13px;
  line-height: 1.65;
  word-break: keep-all;
}

.ai-topup-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: 18px;
  margin-top: 46px;
}

.ai-topup-products {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.ai-topup-product {
  position: relative;
  overflow: hidden;
  min-height: 302px;
  padding: 30px;
  border: 1px solid #dbe3ef;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 16px 38px rgba(31, 52, 83, 0.07);
}

.ai-topup-product::after {
  content: "";
  position: absolute;
  right: -62px;
  bottom: -78px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: #edf3ff;
}

.ai-topup-product.is-value::after {
  background: #f0ecff;
}

.ai-topup-product > span {
  position: relative;
  z-index: 1;
  display: block;
  color: #315fd6;
  font-size: 13px;
  font-weight: 850;
}

.ai-topup-product > strong {
  position: relative;
  z-index: 1;
  display: block;
  margin-top: 13px;
  color: #111827;
  font-size: clamp(50px, 5vw, 72px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.06em;
}

.ai-topup-product > p {
  position: relative;
  z-index: 1;
  margin: 70px 0 0;
  color: #111827;
  font-size: 23px;
  font-weight: 850;
}

.ai-topup-product > small {
  position: absolute;
  z-index: 1;
  right: 20px;
  bottom: 20px;
  padding: 6px 9px;
  border-radius: 999px;
  background: #6848c7;
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
}

.ai-topup-check {
  padding: 30px;
  border: 1px solid #d6dfec;
  border-radius: 22px;
  background: #f8faff;
}

.ai-topup-check h3 {
  margin: 0;
  color: #111827;
  font-size: 22px;
  font-weight: 850;
}

.ai-topup-check ul {
  display: grid;
  gap: 12px;
  margin: 22px 0 28px;
  padding: 0;
  list-style: none;
}

.ai-topup-check li {
  position: relative;
  padding-left: 18px;
  color: #596779;
  font-size: 14px;
  line-height: 1.6;
  word-break: keep-all;
}

.ai-topup-check li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #315fd6;
}

.ai-token-use-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 44px;
}

.ai-token-use-grid article {
  min-height: 178px;
  padding: 24px;
  border: 1px solid #dce4f0;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 12px 32px rgba(31, 52, 83, 0.06);
}

.ai-token-use-grid b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: #edf3ff;
  color: #315fd6;
  font-size: 12px;
  font-weight: 900;
}

.ai-token-use-grid strong {
  display: block;
  margin-top: 18px;
  color: #111827;
  font-size: 17px;
  font-weight: 850;
}

.ai-token-use-grid span {
  display: block;
  margin-top: 8px;
  color: #647286;
  font-size: 13px;
  line-height: 1.55;
  word-break: keep-all;
}

.ai-service-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  margin-top: 18px;
  padding: 24px;
  border: 1px solid #d9e2ef;
  border-radius: 22px;
  background: #f5f8fd;
}

.ai-service-split article {
  min-height: 164px;
  padding: 24px;
  border-radius: 17px;
  background: #ffffff;
}

.ai-service-split article.is-addin {
  background: linear-gradient(135deg, #172a57 0%, #274ea8 100%);
}

.ai-service-split article > span {
  color: #315fd6;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.09em;
}

.ai-service-split h3 {
  margin: 9px 0 0;
  color: #111827;
  font-size: 21px;
  font-weight: 850;
}

.ai-service-split p {
  margin: 10px 0 0;
  color: #647286;
  font-size: 14px;
  line-height: 1.6;
  word-break: keep-all;
}

.ai-page .ai-service-split .is-addin > span,
.ai-page .ai-service-split .is-addin h3 {
  color: #ffffff !important;
}

.ai-page .ai-service-split .is-addin p {
  color: rgba(255, 255, 255, 0.78) !important;
}

.ai-service-split__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #ffffff;
  color: #315fd6;
  font-size: 20px;
  font-weight: 900;
  box-shadow: 0 8px 22px rgba(31, 52, 83, 0.1);
}

.ai-policy-section .ai-policy-board {
  margin-top: 0;
}

.ai-policy-board__header h2 {
  margin: 0;
  color: var(--policy-ink);
  font-size: clamp(32px, 3.4vw, 48px);
  font-weight: 850;
  line-height: 1.16;
  letter-spacing: -0.045em;
}

.ai-policy-group-title {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: baseline;
  margin-top: 42px;
}

.ai-policy-group-title > span {
  color: #315fd6;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.ai-policy-group-title h3 {
  margin: 0;
  color: #111827;
  font-size: 25px;
  font-weight: 850;
  letter-spacing: -0.035em;
}

.ai-policy-group-title p {
  flex-basis: 100%;
  margin: 0;
  color: #6b788b;
  font-size: 13px;
}

.ai-policy-disclosures {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.ai-policy-disclosure {
  --policy-accent: #315fd6;
  overflow: hidden;
  border: 1px solid #dce4f0;
  border-radius: 16px;
  background: #ffffff;
}

.ai-policy-disclosure:nth-child(2) { --policy-accent: #6848c7; }
.ai-policy-disclosure:nth-child(3) { --policy-accent: #147b72; }
.ai-policy-disclosure:nth-child(4) { --policy-accent: #b45f27; }

.ai-policy-disclosure summary {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(180px, auto) 28px;
  gap: 14px;
  align-items: center;
  min-height: 76px;
  padding: 16px 20px;
  cursor: pointer;
  list-style: none;
}

.ai-policy-disclosure summary::-webkit-details-marker {
  display: none;
}

.ai-policy-disclosure summary::after {
  content: "+";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #edf3ff;
  color: #315fd6;
  font-size: 18px;
  font-weight: 700;
}

.ai-policy-disclosure[open] summary::after {
  content: "−";
}

.ai-policy-disclosure summary > strong {
  color: #111827;
  font-size: 16px;
  font-weight: 850;
}

.ai-policy-disclosure summary > small {
  color: #6b788b;
  font-size: 13px;
  text-align: right;
}

.ai-policy-disclosure > div {
  padding: 0 20px 20px 88px;
  border-top: 1px solid #edf1f6;
}

.ai-policy-disclosure ul {
  display: grid;
  gap: 9px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.ai-policy-disclosure li {
  position: relative;
  padding-left: 17px;
  color: #5b677a;
  font-size: 14px;
  line-height: 1.6;
  word-break: keep-all;
}

.ai-policy-disclosure li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--policy-accent);
}

.ai-policy-disclosure a {
  color: #2853bb;
  font-weight: 750;
  text-underline-offset: 3px;
}

.ai-policy-section .ai-policy-highlight {
  min-height: 288px;
}

.ai-policy-disclosures + .ai-team-map {
  margin-top: 42px;
}

.ai-policy-board {
  --policy-ink: #111827;
  --policy-muted: #5b677a;
  --policy-blue: #315fd6;
  --policy-line: #dce4f0;
  margin-top: 48px;
  padding: clamp(30px, 4vw, 54px);
  border: 1px solid #d7e0ee;
  border-radius: 28px;
  background:
    radial-gradient(circle at 100% 0, rgba(49, 95, 214, 0.12), transparent 30rem),
    linear-gradient(145deg, #ffffff 0%, #f7faff 100%);
  box-shadow: 0 24px 70px rgba(34, 55, 88, 0.11);
  color: var(--policy-ink);
}

.ai-policy-board,
.ai-policy-board * {
  box-sizing: border-box;
}

.ai-policy-board__header {
  max-width: 760px;
  margin-bottom: 30px;
}

.ai-policy-board__kicker {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin-bottom: 13px;
  padding: 6px 11px;
  border: 1px solid rgba(49, 95, 214, 0.18);
  border-radius: 999px;
  background: #edf3ff;
  color: #2853bb;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.ai-policy-board__header h3 {
  margin: 0;
  color: var(--policy-ink);
  font-size: clamp(28px, 3.2vw, 44px);
  font-weight: 850;
  line-height: 1.18;
  letter-spacing: -0.045em;
}

.ai-policy-board__header p {
  margin: 14px 0 0;
  color: var(--policy-muted);
  font-size: 16px;
  line-height: 1.7;
  word-break: keep-all;
}

.ai-policy-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.ai-policy-highlight {
  --policy-accent: #315fd6;
  --policy-soft: #edf3ff;
  position: relative;
  overflow: hidden;
  min-height: 315px;
  padding: 25px;
  border: 1px solid var(--policy-line);
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 12px 34px rgba(31, 52, 83, 0.07);
}

.ai-policy-highlight::after {
  content: "";
  position: absolute;
  right: -48px;
  bottom: -64px;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: var(--policy-soft);
  opacity: 0.7;
}

.ai-policy-highlight.is-validity {
  --policy-accent: #6948cb;
  --policy-soft: #f0ecff;
}

.ai-policy-highlight.is-payment {
  --policy-accent: #8a6500;
  --policy-soft: #fff6c7;
}

.ai-policy-highlight__metric {
  position: relative;
  z-index: 1;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 78px;
  height: 78px;
  margin-bottom: 22px;
  border-radius: 21px;
  background: var(--policy-soft);
  color: var(--policy-accent);
}

.ai-policy-highlight__metric strong {
  color: inherit;
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.05em;
}

.ai-policy-highlight__metric span {
  margin-top: 5px;
  color: inherit;
  font-size: 9px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.11em;
}

.ai-policy-highlight__label {
  position: relative;
  z-index: 1;
  display: block;
  margin-bottom: 7px;
  color: var(--policy-accent);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.06em;
}

.ai-policy-highlight h3,
.ai-policy-highlight h4 {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--policy-ink);
  font-size: 22px;
  font-weight: 850;
  line-height: 1.3;
  letter-spacing: -0.035em;
}

.ai-policy-highlight ul,
.ai-policy-detail ul,
.ai-team-payment-note ul {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 8px;
  margin: 17px 0 0;
  padding: 0;
  list-style: none;
}

.ai-policy-highlight li,
.ai-policy-detail li,
.ai-team-payment-note li {
  position: relative;
  padding-left: 17px;
  color: var(--policy-muted);
  font-size: 14px;
  line-height: 1.55;
  word-break: keep-all;
}

.ai-policy-highlight li::before,
.ai-policy-detail li::before,
.ai-team-payment-note li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--policy-accent, var(--policy-blue));
}

.ai-policy-journeys {
  display: grid;
  gap: 18px;
  margin-top: 22px;
}

.ai-policy-journey {
  overflow: hidden;
  border: 1px solid var(--policy-line);
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 12px 34px rgba(31, 52, 83, 0.06);
}

.ai-policy-journey__header {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 15px;
  align-items: center;
  padding: 23px 26px;
  background: linear-gradient(120deg, #172a57 0%, #274ea8 100%);
  color: #ffffff;
}

.ai-page .ai-policy-journey__header > span,
.ai-page .ai-policy-journey__header h4 {
  color: #ffffff !important;
}

.ai-page .ai-policy-journey__header p {
  color: rgba(255, 255, 255, 0.76) !important;
}

.ai-policy-journey.is-use .ai-policy-journey__header {
  background: linear-gradient(120deg, #27315f 0%, #6848c7 100%);
}

.ai-policy-journey__header > span {
  grid-row: 1 / 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.11);
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.06em;
}

.ai-policy-journey__header h4 {
  margin: 0;
  color: #ffffff;
  font-size: 21px;
  font-weight: 850;
  line-height: 1.3;
}

.ai-policy-journey__header p {
  margin: 3px 0 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 13px;
  line-height: 1.5;
}

.ai-policy-steps {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 24px;
  margin: 0;
  padding: 25px 26px 21px;
  list-style: none;
}

.ai-policy-steps li {
  position: relative;
  min-width: 0;
  text-align: center;
}

.ai-policy-step__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 10px;
  border-radius: 50%;
  background: #eaf1ff;
  color: #2853bb;
  font-size: 12px;
  font-weight: 900;
}

.ai-policy-journey.is-use .ai-policy-step__number {
  background: #f0ecff;
  color: #6748c5;
}

.ai-policy-steps strong {
  display: block;
  color: var(--policy-ink);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
  word-break: keep-all;
}

.ai-policy-steps small {
  display: block;
  margin-top: 5px;
  color: #718096;
  font-size: 12px;
  line-height: 1.45;
  word-break: keep-all;
}

.ai-policy-journey__result {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  margin: 0 26px 25px;
  padding: 13px 16px;
  border-radius: 13px;
  background: #f2f6fd;
  color: #526176;
  font-size: 13px;
  line-height: 1.55;
  word-break: keep-all;
}

.ai-policy-journey__result strong {
  flex: 0 0 auto;
  color: #2853bb;
  font-weight: 850;
}

.ai-policy-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.ai-policy-detail {
  --policy-accent: #315fd6;
  position: relative;
  min-height: 260px;
  padding: 25px;
  border: 1px solid var(--policy-line);
  border-radius: 20px;
  background: #ffffff;
}

.ai-policy-detail:nth-child(2) {
  --policy-accent: #6848c7;
}

.ai-policy-detail:nth-child(3) {
  --policy-accent: #147b72;
}

.ai-policy-detail:nth-child(4) {
  --policy-accent: #b45f27;
}

.ai-policy-detail__top {
  display: flex;
  gap: 14px;
  align-items: center;
}

.ai-policy-detail__code {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  min-width: 54px;
  height: 40px;
  padding: 0 10px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--policy-accent) 11%, white);
  color: var(--policy-accent);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.07em;
}

.ai-policy-detail h4 {
  margin: 0;
  color: var(--policy-ink);
  font-size: 19px;
  font-weight: 850;
  line-height: 1.35;
  letter-spacing: -0.03em;
}

.ai-policy-detail__lead {
  margin: 18px 0 0;
  color: var(--policy-accent);
  font-size: 18px;
  font-weight: 850;
  line-height: 1.45;
  letter-spacing: -0.025em;
}

.ai-policy-detail a,
.ai-policy-links a {
  color: #2853bb;
  font-weight: 750;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.ai-team-map {
  margin-top: 22px;
  padding: 28px;
  border: 1px solid #cdd9ef;
  border-radius: 22px;
  background:
    radial-gradient(circle at 100% 0, rgba(49, 95, 214, 0.14), transparent 24rem),
    #edf3ff;
}

.ai-team-map__header {
  display: flex;
  gap: 18px;
  align-items: flex-end;
  justify-content: space-between;
}

.ai-team-map__header span {
  display: block;
  margin-bottom: 5px;
  color: #315fd6;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.ai-team-map__header h3,
.ai-team-map__header h4 {
  margin: 0;
  color: var(--policy-ink);
  font-size: 24px;
  font-weight: 850;
  line-height: 1.3;
  letter-spacing: -0.035em;
}

.ai-team-map__header p {
  max-width: 490px;
  margin: 0;
  color: var(--policy-muted);
  font-size: 14px;
  line-height: 1.55;
  text-align: right;
  word-break: keep-all;
}

.ai-team-map__steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.ai-team-map__steps li {
  position: relative;
  min-height: 112px;
  padding: 18px;
  border: 1px solid rgba(49, 95, 214, 0.15);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.84);
}

.ai-team-map__steps b {
  display: block;
  margin-bottom: 7px;
  color: #315fd6;
  font-size: 11px;
  font-weight: 900;
}

.ai-team-map__steps strong {
  display: block;
  color: var(--policy-ink);
  font-size: 15px;
  font-weight: 850;
  line-height: 1.35;
}

.ai-team-map__steps small {
  display: block;
  margin-top: 5px;
  color: #69778b;
  font-size: 12px;
  line-height: 1.45;
  word-break: keep-all;
}

.ai-team-payment-note {
  --policy-accent: #b45f27;
  margin-top: 16px;
  padding: 18px 20px;
  border: 1px solid #f0d9c9;
  border-radius: 16px;
  background: #fff8f2;
}

.ai-team-payment-note strong {
  display: block;
  color: #944d1f;
  font-size: 14px;
  font-weight: 850;
}

.ai-team-payment-note ul {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px 18px;
  margin-top: 10px;
}

.ai-policy-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--policy-line);
}

.ai-policy-links > span {
  margin-right: 4px;
  color: var(--policy-ink);
  font-size: 14px;
  font-weight: 850;
}

.ai-policy-links a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 13px;
  border: 1px solid #d6dfed;
  border-radius: 999px;
  background: #ffffff;
  text-decoration: none;
  box-shadow: 0 5px 15px rgba(31, 52, 83, 0.05);
}

.ai-policy-links a:hover {
  border-color: rgba(49, 95, 214, 0.4);
  background: #edf3ff;
  color: #173f9c;
}

.ai-policy-links a:focus-visible {
  outline: 3px solid rgba(49, 95, 214, 0.36);
  outline-offset: 2px;
}

@media (min-width: 1101px) {
  .ai-policy-steps li:not(:last-child)::after,
  .ai-team-map__steps li:not(:last-child)::after {
    content: "→";
    position: absolute;
    z-index: 2;
    right: -19px;
    top: 10px;
    color: #9eb0cc;
    font-size: 18px;
    font-weight: 800;
  }

  .ai-team-map__steps li:not(:last-child)::after {
    top: 43px;
    color: #7e98ca;
  }
}

@media (max-width: 1100px) {
  .ai-policy-highlights {
    grid-template-columns: 1fr 1fr;
  }

  .ai-policy-highlight.is-payment {
    grid-column: 1 / -1;
    min-height: auto;
  }

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

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

@media (max-width: 767.98px) {
  .ai-policy-board {
    margin-top: 36px;
    padding: 24px 18px;
    border-radius: 22px;
  }

  .ai-policy-board__header h3 {
    font-size: 30px;
  }

  .ai-policy-highlights,
  .ai-policy-details {
    grid-template-columns: 1fr;
  }

  .ai-policy-highlight.is-payment {
    grid-column: auto;
  }

  .ai-policy-highlight {
    min-height: auto;
  }

  .ai-policy-steps {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 18px;
  }

  .ai-policy-steps li {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    column-gap: 12px;
    align-items: center;
    min-height: 62px;
    padding: 9px 12px;
    border: 1px solid #e2e8f2;
    border-radius: 13px;
    background: #fbfcff;
    text-align: left;
  }

  .ai-policy-step__number {
    grid-row: 1 / 3;
    margin-bottom: 0;
  }

  .ai-policy-steps small {
    margin-top: 2px;
  }

  .ai-policy-journey__result {
    display: block;
    margin: 0 18px 18px;
  }

  .ai-policy-journey__result strong {
    display: block;
    margin-bottom: 4px;
  }

  .ai-team-map {
    padding: 22px 18px;
  }

  .ai-team-map__header {
    display: block;
  }

  .ai-team-map__header p {
    margin-top: 10px;
    text-align: left;
  }

  .ai-team-map__steps {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .ai-team-map__steps li {
    min-height: 0;
  }

  .ai-team-payment-note ul {
    grid-template-columns: 1fr;
  }

  .ai-policy-links {
    align-items: stretch;
  }

  .ai-policy-links > span {
    flex-basis: 100%;
  }
}

@media (max-width: 420px) {
  .ai-policy-board {
    margin-right: -4px;
    margin-left: -4px;
    padding: 22px 14px;
  }

  .ai-policy-board__header h3 {
    font-size: 27px;
  }

  .ai-policy-highlight,
  .ai-policy-detail {
    padding: 21px;
  }

  .ai-policy-journey__header {
    padding: 19px 18px;
  }

  .ai-policy-links a {
    justify-content: center;
    flex: 1 1 calc(50% - 5px);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .ai-policy-links a {
    scroll-behavior: auto;
  }
}

@media (max-width: 1100px) {
  .ai-page .ai-pricing-hero {
    min-height: 540px;
  }

  .ai-topup-layout {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 767.98px) {
  #subscription,
  #topup,
  #token-guide,
  #payment-policy,
  #team-subscription {
    scroll-margin-top: 176px;
  }

  .ai-page .ai-pricing-hero {
    min-height: auto;
    padding: 154px 0 58px;
  }

  .ai-page .ai-pricing-hero .ai-title {
    font-size: clamp(2.45rem, 12vw, 3.35rem);
  }

  .ai-pricing-subnav {
    top: 113px;
  }

  .ai-pricing-subnav .ai-container {
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .ai-pricing-subnav .ai-pricing-jump {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    padding: 0 1px;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
  }

  .ai-pricing-subnav .ai-pricing-jump::-webkit-scrollbar {
    display: none;
  }

  .ai-pricing-subnav .ai-pricing-jump a {
    flex: 0 0 auto;
    justify-content: center;
    min-width: max-content;
    min-height: 38px;
    padding: 8px 12px;
    font-size: 12px;
    scroll-snap-align: start;
  }

  .ai-page .ai-pricing-section {
    padding: 74px 0;
  }

  .ai-pricing-section__header .ai-section-title {
    font-size: clamp(2rem, 9vw, 2.7rem);
  }

  .ai-plan-grid {
    grid-template-columns: 1fr;
    margin-top: 32px;
  }

  .ai-plan-card {
    min-height: 0;
    padding: 25px;
    border-radius: 20px;
  }

  .ai-plan-card__head {
    display: block;
  }

  .ai-plan-card__price {
    margin-top: 26px;
    text-align: left;
  }

  .ai-plan-card__price strong {
    font-size: 34px;
  }

  .ai-plan-card__price span {
    display: inline;
    margin-left: 5px;
  }

  .ai-plan-card__summary {
    margin-top: 22px;
  }

  .ai-plan-card .ai-btn,
  .ai-topup-check .ai-btn {
    width: 100%;
    justify-content: center;
  }

  .ai-topup-layout {
    margin-top: 32px;
  }

  .ai-topup-product {
    min-height: 238px;
    padding: 21px;
  }

  .ai-topup-product > strong {
    font-size: clamp(42px, 14vw, 58px);
  }

  .ai-topup-product > p {
    margin-top: 47px;
    font-size: 19px;
  }

  .ai-topup-product > small {
    right: 14px;
    bottom: 14px;
  }

  .ai-topup-check {
    padding: 24px;
  }

  .ai-token-use-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 32px;
  }

  .ai-token-use-grid article {
    min-height: 174px;
    padding: 19px;
  }

  .ai-service-split {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 14px;
  }

  .ai-service-split article {
    min-height: 0;
    padding: 21px;
  }

  .ai-service-split__arrow {
    justify-self: center;
    transform: rotate(90deg);
  }

  .ai-policy-board__header h2 {
    font-size: 34px;
  }

  .ai-policy-group-title {
    margin-top: 34px;
  }

  .ai-policy-disclosure summary {
    grid-template-columns: auto minmax(0, 1fr) 28px;
    gap: 10px;
    padding: 14px;
  }

  .ai-policy-disclosure summary > small {
    grid-column: 2 / 3;
    text-align: left;
  }

  .ai-policy-disclosure summary::after {
    grid-column: 3;
    grid-row: 1 / 3;
  }

  .ai-policy-disclosure > div {
    padding: 0 16px 18px;
  }

  .ai-policy-disclosures + .ai-team-map {
    margin-top: 34px;
  }
}

@media (max-width: 420px) {
  .ai-topup-products {
    gap: 9px;
  }

  .ai-topup-product {
    min-height: 225px;
    padding: 18px 16px;
  }

  .ai-topup-product > p {
    font-size: 17px;
  }

  .ai-topup-product > small {
    max-width: 110px;
    text-align: center;
  }
}
