.pricing-main { max-width: 1120px; }
.pricing-page .nav-links { margin-left: 0; gap: 25px; }
.pricing-page .nav-links [aria-current="page"] { color: #d6c4ff; text-decoration: underline; text-decoration-color: #a78bcf; text-underline-offset: .5em; }
.pricing-hero { padding: 85px 0 55px; position: relative; }
.pricing-page .pricing-hero h1 { font-size: clamp(3.7rem, 6.5vw, 5.7rem); letter-spacing: -.065em; line-height: 1.06; margin: 22px 0 25px; }
.pricing-intro { font-size: 1.125rem; line-height: 1.8; color: var(--muted); }
.rates-pending { display: inline-block; padding: 7px 12px; margin-top: 25px; font-size: .875rem; line-height: 1.5; color: #c5b5df; background: #a080d80a; border: 1px solid #aa8cdc33; border-radius: 5px; }

.pricing-methods { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.pricing-card { position: relative; display: flex; flex-direction: column; align-items: flex-start; padding: 35px 36px 29px; border: 1px solid #bca4df2b; border-radius: 12px; background: linear-gradient(145deg, #17141f, #0e1119 75%); overflow: hidden; }
.queue-card { background: radial-gradient(ellipse at 100% 0, #8561c51b, transparent 70%), #10121b; }
.method-icon { display: grid; place-items: center; width: 49px; height: 49px; margin-bottom: 24px; color: #bca4df; background: #a582d10a; border: 1px solid #aa8cdc30; border-radius: 10px; }
.method-icon svg { width: 29px; height: 29px; fill: none; stroke: currentColor; stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }
.method-label { color: #c3b8d2; font-size: .875rem; line-height: 1.6; margin-bottom: 12px; }
.pricing-card h2 { font-size: clamp(1.85rem, 3vw, 2.5rem); font-weight: 500; letter-spacing: -.045em; line-height: 1.18; }
.rate-period { color: var(--muted); font-size: 1rem; font-weight: 400; letter-spacing: 0; white-space: nowrap; }
.method-description { font-size: 1rem; line-height: 1.75; color: var(--muted); max-width: 350px; margin-top: 20px; margin-bottom: 28px; }
.method-detail { display: flex; align-items: flex-start; gap: 12px; margin-top: auto; padding-top: 21px; width: 100%; border-top: 1px solid #bca4df21; }
.method-detail p { color: #aaa0b7; font-size: .875rem; line-height: 1.7; }
.detail-rule { width: 15px; height: 1px; background: #a487c5; margin-top: 11px; flex-shrink: 0; }

.pricing-families { padding: 70px 0 60px; }
.families-heading { margin-bottom: 27px; }
.families-heading h2 { margin-top: 15px; font-size: 2rem; font-weight: 500; line-height: 1.2; letter-spacing: -.045em; }
.price-unit { color: var(--muted); font-size: .875rem; line-height: 1.75; margin-top: 16px; }
.rate-family { margin-top: 40px; }
.rate-family + .rate-family { margin-top: 50px; }
.rate-family-heading { margin-bottom: 20px; }
.rate-family-heading h3 { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; font-size: 1.125rem; font-weight: 500; }
.rate-family-heading h3 code { padding: 4px 10px; border: 1px solid #aa8cdc33; border-radius: 5px; background: #a080d80a; color: #d6c4ff; font-size: 1rem; }
.rate-status { padding: 3px 9px; border: 1px solid #aa8cdc33; border-radius: 5px; color: #c5b5df; font-size: .875rem; font-weight: 400; white-space: nowrap; }
.rate-family-heading p { color: var(--muted); font-size: 1rem; line-height: 1.75; margin-top: 12px; }
.rate-table { width: 100%; border-collapse: collapse; text-align: left; font-size: 1rem; font-variant-numeric: tabular-nums; }
.rate-table thead th { font-size: .875rem; font-weight: 500; color: #a79cb6; padding: 13px 16px; border-bottom: 1px solid #bca4df30; white-space: nowrap; }
.rate-table tbody th,.rate-table td { padding: 19px 16px; border-bottom: 1px solid var(--line); line-height: 1.6; }
.rate-table tbody th { width: 23%; font-weight: 500; }
.rate-table td { color: var(--muted); }
.rate-table code { color: #d6c4ff; font: 500 1rem ui-monospace, "Cascadia Code", Consolas, monospace; white-space: nowrap; }
.rate-table .rate-price { color: #eee8f6; }
.aws-reference > span,.aws-reference > a { display: block; }
.aws-reference .aws-rate { color: #ded6ec; }
.aws-reference > a { color: #baadd1; font: 400 .875rem ui-monospace, "Cascadia Code", Consolas, monospace; text-decoration: underline; text-underline-offset: .2em; margin-top: 3px; white-space: nowrap; }
.aws-reference .aws-note { max-width: 165px; color: var(--muted); font-size: .875rem; margin-top: 5px; line-height: 1.55; }
.comparison-note,.price-notice { color: var(--muted); font-size: .875rem; line-height: 1.8; margin-top: 22px; }
.comparison-note a,.volume-reference a { color: #c9b7e4; text-decoration: underline; text-underline-offset: .2em; }
.volume-pricing { padding: 35px 0 38px; border-block: 1px solid var(--line); }
.volume-pricing h2 { font-size: 1.75rem; font-weight: 500; letter-spacing: -.035em; margin-top: 14px; }
.volume-rate { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 26px; align-items: start; margin-top: 25px; }
.volume-rate h3 { font-size: 1rem; font-weight: 500; margin-bottom: 8px; }
.volume-rate p { color: var(--muted); font-size: 1rem; line-height: 1.75; }
.volume-amount { font-size: 1.7rem; font-weight: 500; letter-spacing: -.025em; }
.volume-amount span { display: block; color: var(--muted); font-size: .875rem; font-weight: 400; letter-spacing: 0; margin-top: 5px; }
.volume-reference a { font-size: .875rem; display: inline-block; margin-top: 6px; }
.transfer-pricing { border-top: 0; }
.transfer-pricing .volume-rate { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.transfer-pricing .volume-rate > div { grid-column: auto; }
.family-naming { margin-top: 20px; color: var(--muted); font-size: .875rem; line-height: 1.75; }
.pricing-next { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 32px 0 62px; }
.pricing-trust-link { display: inline-block; color: #baa9d0; font-size: .875rem; text-decoration: underline; text-underline-offset: .25em; }
.pricing-trust-link:hover { color: #dfcaff; }
.pricing-page .site-footer { border-top: 1px solid var(--line); }
.pricing-page .site-footer>div { font-size: .875rem; }
.pricing-page .footer-domain { font-size: .875rem; }

@media (max-width: 1050px) {
  .pricing-page .nav { gap: 18px; }
  .pricing-page .nav-links { gap: 16px; }
  .pricing-page .nav-actions { gap: 15px; }
  .pricing-card { padding: 30px 28px 25px; }
}

@media (max-width: 800px) {
  .pricing-page .nav { flex-wrap: wrap; height: auto; padding-block: 22px 18px; row-gap: 22px; }
  .pricing-page .nav-links { order: 3; display: flex; width: 100%; justify-content: space-between; gap: 15px; font-size: .875rem; }
  .pricing-hero { padding: 60px 0 42px; }
  .pricing-page .pricing-hero h1 { font-size: clamp(3rem, 8vw, 4.5rem); }
  .pricing-methods { gap: 18px; }
  .pricing-card { padding: 26px 23px 24px; }
  .pricing-card h2 { font-size: 1.85rem; }
  .pricing-families { padding: 55px 0 37px; }
  .rate-table thead th { padding-inline: 9px; }
  .rate-table tbody th,.rate-table td { padding: 18px 9px; }
  .pricing-next { padding-bottom: 45px; }
}

@media (max-width: 760px) {
  .rate-table,.rate-table tbody { display: block; }
  .rate-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .rate-table tbody tr { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 24px; padding-block: 22px; border-bottom: 1px solid var(--line); }
  .rate-table tbody tr:first-child { border-top: 1px solid var(--line); }
  .rate-table tbody th,.rate-table td { padding: 0; border: 0; width: auto; }
  .rate-table tbody th { grid-column: 1 / -1; }
  .rate-table td::before { content: attr(data-label); display: block; color: #a79cb6; font-size: .875rem; margin-bottom: 3px; }
  .rate-table .aws-reference { padding-top: 0; }
  .aws-reference .aws-note { max-width: none; }
  .volume-rate { grid-template-columns: 1fr 1fr; gap: 24px; }
  .volume-rate > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  .pricing-methods { grid-template-columns: 1fr; }
  .pricing-card { padding: 29px 27px 25px; }
  .pricing-card h2 { font-size: 2.1rem; }
  .method-icon { margin-bottom: 20px; }
  .method-description { margin-bottom: 24px; }
  .pricing-intro { font-size: 1rem; }
  .pricing-next { flex-direction: column; align-items: flex-start; gap: 24px; }
  .pricing-page .nav .button-small { font-size: .875rem; }
  .pricing-page .sign-in { font-size: .875rem; }
}

@media (max-width: 380px) {
  .pricing-page .nav { column-gap: 10px; }
  .pricing-page .brand { font-size: 22px; }
  .pricing-page .brand-mark { width: 26px; height: 26px; }
  .pricing-page .nav-actions { gap: 12px; }
  .pricing-page .nav .button-small { padding-inline: 9px; }
  .pricing-page .nav-links { gap: 11px; }
  .pricing-page .pricing-hero h1 { font-size: 3rem; }
}
