:root {
  color: #17212b;
  background: #f4f7f8;
  font-family: Inter, "Microsoft YaHei", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

* { box-sizing: border-box; }

body { margin: 0; min-width: 320px; }

a { color: inherit; }

button, input, select { font: inherit; }

button { cursor: pointer; }

button:disabled { cursor: not-allowed; }

.site-header, .site-footer, .home-intro, .plan-section, .product-page, .checkout-layout {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand { display: inline-flex; align-items: center; gap: 10px; color: #17212b; font-weight: 750; text-decoration: none; }

.brand-mark { display: inline-grid; width: 30px; height: 30px; place-items: center; border-radius: 7px; background: #0d7a7e; color: #fff; font-size: 14px; }

.site-nav { display: flex; gap: 22px; font-size: 14px; }

.site-nav a { color: #4f606c; text-decoration: none; }

.site-nav a:hover, .site-nav a[aria-current="page"] { color: #0d7a7e; font-weight: 700; }

.header-state, .eyebrow, .order-state, .visual-live, .plan-tier { font-size: 12px; font-weight: 700; letter-spacing: 0.06em; }

.header-state { color: #4f606c; }

.eyebrow { margin: 0 0 10px; color: #0d7a7e; }

h1, h2, h3, p { margin-top: 0; }

h1, h2, h3 { color: #17212b; letter-spacing: 0; }

h1 { margin-bottom: 16px; font-size: 40px; line-height: 1.15; }

h2 { margin-bottom: 10px; font-size: 27px; line-height: 1.25; }

h3 { margin-bottom: 0; font-size: 19px; }

.home-intro {
  min-height: 386px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.8fr);
  align-items: center;
  gap: 54px;
  padding-block: 52px;
}

.home-intro > div > p:not(.eyebrow), .page-intro > p:not(.eyebrow), .package-description, .checkout-heading > p:not(.eyebrow) { color: #52646e; }

.home-intro > div > p:not(.eyebrow) { max-width: 590px; margin-bottom: 26px; font-size: 18px; }

.primary-link, .plan-card > a { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; border-radius: 6px; padding: 0 15px; background: #0d7a7e; color: #fff; font-weight: 700; text-decoration: none; }

.primary-link:hover, .plan-card > a:hover { background: #086368; }

.quota-visual, .service-visual { border: 1px solid #254b56; border-radius: 8px; background: #17333b; color: #dffcf6; }

.quota-visual { min-height: 236px; display: flex; flex-direction: column; padding: 24px; }

.quota-visual-head, .quota-visual-footer, .visual-head, .visual-foot, .order-panel-head, .price-row, .site-footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; }

.quota-visual-head, .quota-visual-footer, .visual-head, .visual-foot { color: #9cbab8; font-size: 12px; }

.quota-bars { display: grid; grid-template-columns: repeat(6, 1fr); align-items: end; gap: 9px; flex: 1; padding-block: 30px 20px; }

.quota-bars span { height: 32%; border: 1px solid #548087; background: #265159; }
.quota-bars span:nth-child(2) { height: 56%; }
.quota-bars span:nth-child(3) { height: 43%; }
.quota-bars span:nth-child(4) { height: 80%; background: #3d8d89; }
.quota-bars span:nth-child(5) { height: 64%; background: #3d8d89; }
.quota-bars span:nth-child(6) { height: 92%; background: #70e2ca; }

.plan-section { padding: 44px 0 68px; border-top: 1px solid #d9e1e5; }

.section-heading, .page-intro { max-width: 640px; }

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

.plan-card { min-height: 316px; display: flex; flex-direction: column; border: 1px solid #d7e0e4; border-radius: 8px; padding: 24px; background: #fff; }

.plan-card-featured { border-color: #0d7a7e; box-shadow: inset 0 3px 0 #0d7a7e; }

.plan-tier { margin-bottom: 12px; color: #0d7a7e; }

.plan-quota { margin: 26px 0 0; color: #17212b; font-size: 37px; font-weight: 750; line-height: 1; }

.plan-caption, .plan-details dt { color: #64747d; font-size: 13px; }

.plan-caption { margin: 7px 0 0; }

.plan-price { margin: auto 0 16px; color: #17212b; font-size: 22px; font-weight: 750; }

.plan-card > a { width: 100%; }

.product-page { padding: 42px 0 68px; }

.product-plan-grid { margin-top: 38px; }

.product-plan-grid .plan-card { min-height: 290px; }

.product-plan-grid h2 { font-size: 23px; }

.plan-details { display: grid; gap: 14px; margin: 22px 0 auto; }

.plan-details div { display: flex; justify-content: space-between; gap: 16px; border-bottom: 1px solid #e5ebed; padding-bottom: 10px; }

.plan-details dd { margin: 0; color: #17212b; font-weight: 700; }

.checkout-layout { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr); align-items: stretch; border: 1px solid #d9e1e5; border-radius: 8px; overflow: hidden; background: #fff; }

.product-stage, .checkout-stage { padding: 48px; }

.product-stage { display: flex; flex-direction: column; gap: 30px; background: #eef7f6; }

.checkout-stage { display: flex; flex-direction: column; gap: 22px; }

.package-description { max-width: 530px; margin-bottom: 0; }

.service-visual { min-height: 278px; display: flex; flex-direction: column; padding: 20px; }

.visual-live { color: #70e2ca; }

.visual-amount { margin-top: 28px; color: #fff; font-size: 52px; font-weight: 750; line-height: 1; }

.visual-rule { height: 1px; margin: 26px 0 16px; background: #42646a; }

.visual-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 7px; }

.visual-grid span { height: 13px; border: 1px solid #548087; background: #265159; }

.visual-grid span:nth-child(3n) { background: #3d8d89; }

.visual-foot { margin-top: auto; padding-top: 18px; }

.package-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; border-top: 1px solid #c8dedd; }

.package-facts div { padding: 16px 12px 0 0; }

.package-facts dt, .order-panel dt, .field-hint { color: #64747d; font-size: 13px; }

.package-facts dd, .order-panel dd { margin: 4px 0 0; color: #17212b; font-weight: 650; }

.checkout-plan-picker { display: grid; gap: 8px; }

label { color: #23333c; font-size: 14px; font-weight: 650; }

input, select { width: 100%; min-height: 48px; border: 1px solid #b9c5ca; border-radius: 6px; padding: 0 13px; color: #17212b; background: #fff; }

input:focus-visible, select:focus-visible, button:focus-visible, a:focus-visible { outline: 3px solid #76b6d7; outline-offset: 2px; }

.price-row { padding-block: 18px; border-block: 1px solid #e2e8eb; }

.price-row span, .price-row small { display: block; }

.price-row small { margin-top: 3px; color: #687781; }

.price-row strong { color: #17212b; font-size: 25px; white-space: nowrap; }

form { display: grid; gap: 9px; }

.field-hint, .field-error { min-height: 20px; margin: 0; }

.field-error { color: #b42318; font-size: 13px; }

.primary-action, .payment-action { min-height: 48px; border: 0; border-radius: 6px; padding: 0 16px; font-weight: 700; }

.primary-action { margin-top: 4px; background: #0d7a7e; color: #fff; }

.primary-action:hover:not(:disabled) { background: #086368; }

.primary-action:disabled { background: #b9c7c8; color: #52646e; }

.order-panel { border: 1px solid #dce5e8; border-radius: 8px; padding: 19px; background: #fbfcfc; }

.order-state { padding: 4px 8px; border-radius: 4px; background: #e5f1f7; color: #176c95; }

.order-panel dl { display: grid; gap: 12px; margin: 18px 0; }

.order-panel dl > div { display: flex; justify-content: space-between; gap: 20px; }

.order-panel dd { text-align: right; word-break: break-word; }

.payment-action { width: 100%; display: flex; align-items: center; justify-content: center; gap: 9px; background: #1677d2; color: #fff; }

.payment-action:disabled { background: #c8d6e5; color: #52646e; }

.payment-symbol { display: inline-grid; width: 22px; height: 22px; place-items: center; border-radius: 4px; background: #fff; color: #1677d2; font-size: 13px; }

.checkout-status { min-height: 24px; margin: 0; color: #53636d; font-size: 14px; }

.site-footer { min-height: 82px; color: #6b7880; font-size: 13px; }

@media (max-width: 820px) {
  .site-header, .site-footer, .home-intro, .plan-section, .product-page, .checkout-layout { width: min(100% - 24px, 1120px); }
  .home-intro, .checkout-layout { grid-template-columns: 1fr; }
  .home-intro { gap: 30px; padding-block: 32px; }
  .plan-grid { grid-template-columns: 1fr; }
  .product-stage, .checkout-stage { padding: 30px 22px; }
  h1 { font-size: 32px; }
  .service-visual { min-height: 246px; }
}

@media (max-width: 460px) {
  .site-header { height: 64px; }
  .site-nav { gap: 14px; font-size: 13px; }
  .header-state { display: none; }
  .package-facts { grid-template-columns: 1fr; }
  .package-facts div { padding-top: 13px; }
  .visual-amount { font-size: 44px; }
  .order-panel dl > div { flex-direction: column; gap: 2px; }
  .order-panel dd { text-align: left; }
  .site-footer { flex-direction: column; align-items: flex-start; justify-content: center; gap: 3px; }
}
