:root {
  --ink: #141414;
  --muted: #656461;
  --paper: #fffaf0;
  --surface: #ffffff;
  --line: #e7dfcf;
  --yellow: #ffd22e;
  --yellow-dark: #d79c00;
  --teal: #007f79;
  --coral: #f26a4f;
  --shadow: 0 22px 70px rgba(37, 31, 17, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
    sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 14px clamp(18px, 5vw, 64px);
  background: rgba(255, 250, 240, 0.92);
  border-bottom: 1px solid rgba(20, 20, 20, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 220px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: #171717;
  background: var(--yellow);
  border: 2px solid var(--ink);
  border-radius: 50%;
  font-weight: 900;
  line-height: 1;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 15px;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.2;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a {
  padding: 10px 12px;
  color: #2b2b2a;
  font-size: 14px;
  border-radius: 8px;
}

.site-nav a:hover {
  background: rgba(20, 20, 20, 0.06);
}

.site-nav .nav-cta {
  color: #101010;
  background: var(--yellow);
  border: 1px solid rgba(20, 20, 20, 0.12);
  font-weight: 800;
}

.nav-auth,
.orders-button,
.logout-button {
  min-height: 40px;
  padding: 8px 12px;
  color: #2b2b2a;
  background: transparent;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 750;
}

.nav-auth:hover,
.orders-button:hover,
.logout-button:hover {
  background: rgba(20, 20, 20, 0.06);
}

.nav-register {
  border: 1px solid rgba(20, 20, 20, 0.16);
}

.account-menu {
  align-items: center;
  gap: 4px;
  max-width: 260px;
}

.account-menu:not([hidden]) {
  display: flex;
}

.account-email {
  max-width: 170px;
  overflow: hidden;
  color: var(--teal);
  font-size: 13px;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.orders-overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(20, 20, 20, 0.58);
  backdrop-filter: blur(6px);
}

.orders-overlay[hidden] {
  display: none;
}

.orders-dialog {
  position: relative;
  width: min(760px, 100%);
  max-height: calc(100svh - 40px);
  overflow-y: auto;
  padding: 28px;
  background: var(--surface);
  border-radius: 8px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.3);
}

.orders-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  padding: 0;
  color: var(--ink);
  background: #f5f2eb;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  font-size: 26px;
  line-height: 1;
}

.orders-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  padding-right: 48px;
}

.orders-heading h2,
.orders-heading .eyebrow {
  margin-bottom: 0;
}

.orders-heading h2 {
  font-size: 30px;
}

.orders-refresh {
  min-height: 40px;
  padding: 8px 14px;
  color: var(--ink);
  background: var(--yellow);
  border: 1px solid rgba(20, 20, 20, 0.14);
  border-radius: 8px;
  cursor: pointer;
  font-weight: 850;
}

.orders-status {
  min-height: 24px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.orders-status.is-error {
  color: #b93423;
}

.orders-list {
  border-top: 1px solid var(--line);
}

.order-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px 24px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.order-row-main,
.order-row-meta {
  min-width: 0;
}

.order-row-main strong,
.order-row-main small {
  display: block;
}

.order-row-main strong {
  overflow-wrap: anywhere;
  font-size: 15px;
}

.order-row-main small,
.order-row-meta {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

.order-row-side {
  display: grid;
  justify-items: end;
  align-content: start;
  gap: 7px;
}

.order-row-price {
  font-size: 20px;
  font-weight: 950;
}

.order-status-badge {
  padding: 3px 8px;
  color: #40615e;
  background: #f0fbfa;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 850;
}

.orders-empty {
  padding: 48px 12px;
  color: var(--muted);
  text-align: center;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

body.modal-open {
  overflow: hidden;
}

.auth-overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(20, 20, 20, 0.58);
  backdrop-filter: blur(6px);
}

.auth-overlay[hidden] {
  display: none;
}

.auth-dialog {
  position: relative;
  width: min(460px, 100%);
  max-height: calc(100svh - 40px);
  overflow-y: auto;
  padding: 28px;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 8px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.3);
}

.auth-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  color: var(--ink);
  background: #f5f2eb;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  font-size: 26px;
  line-height: 1;
}

.auth-intro {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-right: 40px;
}

.auth-intro .eyebrow,
.auth-intro h2 {
  margin-bottom: 0;
}

.auth-intro h2 {
  font-size: 28px;
}

.auth-brand-mark {
  display: grid;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  place-items: center;
  background: var(--yellow);
  border: 2px solid var(--ink);
  border-radius: 50%;
  font-size: 25px;
  font-weight: 950;
}

.auth-tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px;
  margin: 24px 0 20px;
  padding: 4px;
  background: #f2efe8;
  border-radius: 8px;
}

.auth-tab {
  min-height: 42px;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 850;
}

.auth-tab.is-active {
  color: var(--ink);
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(20, 20, 20, 0.08);
}

.auth-form {
  display: grid;
  gap: 15px;
}

.auth-form label {
  display: grid;
  gap: 7px;
}

.auth-form label > span:first-child {
  color: #3a3936;
  font-size: 14px;
  font-weight: 850;
}

.auth-form input {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 12px 13px;
  color: var(--ink);
  background: #fffdf8;
  border: 1px solid var(--line);
  border-radius: 8px;
  outline: none;
}

.auth-form input:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(0, 127, 121, 0.12);
}

.code-field {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.send-code-button {
  min-width: 112px;
  padding: 0 14px;
  color: #ffffff;
  background: var(--teal);
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 850;
}

.send-code-button:disabled,
.auth-submit:disabled {
  cursor: wait;
  opacity: 0.62;
}

.auth-status {
  min-height: 22px;
  margin: 0;
  color: var(--teal);
  font-size: 14px;
  font-weight: 750;
}

.auth-status.is-error {
  color: #b93423;
}

.auth-footnote {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: min(720px, calc(100svh - 112px));
  padding: clamp(56px, 8vw, 104px) clamp(18px, 5vw, 64px);
  background-image: linear-gradient(90deg, rgba(255, 250, 240, 0.98) 0%, rgba(255, 250, 240, 0.82) 38%, rgba(255, 250, 240, 0.18) 62%),
    url("assets/hero-sim.png");
  background-position: center;
  background-size: cover;
  overflow: hidden;
}

.hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 42%;
  pointer-events: none;
  content: "";
  background: linear-gradient(0deg, rgba(255, 250, 240, 0.78), rgba(255, 250, 240, 0));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(40px, 5.2vw, 66px);
  line-height: 1.02;
  letter-spacing: 0;
}

.h1-line {
  display: block;
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.1;
  letter-spacing: 0;
}

h3 {
  font-size: 20px;
  line-height: 1.2;
}

.hero-copy {
  max-width: 590px;
  margin-bottom: 28px;
  color: #3b3934;
  font-size: clamp(16px, 2vw, 19px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid rgba(20, 20, 20, 0.14);
  border-radius: 8px;
  cursor: pointer;
  font-weight: 850;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover,
.select-plan:hover {
  transform: translateY(-1px);
}

.button.primary {
  color: #121212;
  background: var(--yellow);
  box-shadow: 0 12px 28px rgba(215, 156, 0, 0.24);
}

.button.ghost {
  background: rgba(255, 255, 255, 0.72);
}

.button.wide {
  width: 100%;
}

.button-icon {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  color: #ffffff;
  background: #141414;
  border-radius: 50%;
  font-size: 14px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 560px;
  margin: 0;
}

.hero-stats div {
  padding: 14px 12px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(20, 20, 20, 0.09);
  border-radius: 8px;
  backdrop-filter: blur(8px);
}

.hero-stats dt {
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
}

.hero-stats dd {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--ink);
}

.trust-strip span {
  display: grid;
  min-height: 58px;
  place-items: center;
  padding: 12px 14px;
  color: #fffaf0;
  background: var(--ink);
  font-size: 14px;
  text-align: center;
}

.section {
  padding: clamp(64px, 9vw, 112px) clamp(18px, 5vw, 64px);
}

.section-heading {
  width: min(1120px, 100%);
  margin: 0 auto 28px;
}

.section-heading.split {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 28px;
  align-items: end;
}

.section-heading p,
.order-copy p,
.faq .section-heading > p {
  color: var(--muted);
}

.feature-grid,
.plan-grid,
.order-section,
.step-list,
.faq-list {
  width: min(1120px, 100%);
  margin-right: auto;
  margin-left: auto;
}

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

.feature,
.plan-card,
.order-form,
.step-list li,
.faq-list details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.feature {
  padding: 24px;
  box-shadow: 0 16px 50px rgba(30, 25, 15, 0.08);
}

.feature-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 20px;
  color: #ffffff;
  background: var(--teal);
  border-radius: 50%;
  font-size: 13px;
  font-weight: 900;
}

.feature h3,
.feature p {
  margin-bottom: 0;
}

.feature p {
  margin-top: 10px;
  color: var(--muted);
}

.plans {
  background: #f4efe3;
}

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

.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 430px;
  padding: 24px;
  box-shadow: 0 18px 54px rgba(36, 29, 12, 0.08);
}

.plan-card.featured {
  border-color: #171717;
  box-shadow: var(--shadow);
}

.badge {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 6px 10px;
  color: #101010;
  background: var(--yellow);
  border: 1px solid rgba(20, 20, 20, 0.16);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.plan-top {
  display: block;
  margin-bottom: 12px;
}

.plan-top h3 {
  margin-bottom: 0;
  padding-right: 0;
}

.plan-card.featured .plan-top h3 {
  padding-right: 64px;
}

.plan-top span {
  display: block;
  margin-top: 8px;
  white-space: nowrap;
  font-size: 24px;
  font-weight: 950;
}

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

.plan-card ul {
  display: grid;
  gap: 9px;
  margin: 10px 0 24px;
  padding: 0;
  list-style: none;
}

.plan-card li {
  position: relative;
  padding-left: 22px;
  color: #343331;
}

.plan-card li::before {
  position: absolute;
  top: 0.65em;
  left: 2px;
  width: 8px;
  height: 8px;
  background: var(--teal);
  border-radius: 50%;
  content: "";
}

.select-plan {
  min-height: 46px;
  margin-top: auto;
  color: #ffffff;
  background: #161616;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 850;
}

.order-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1.1fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: stretch;
}

.order-copy {
  position: sticky;
  top: 108px;
}

.order-copy.has-payment {
  position: static;
}

.notice {
  display: grid;
  gap: 8px;
  margin-top: 26px;
  padding: 18px;
  background: #f0fbfa;
  border: 1px solid rgba(0, 127, 121, 0.24);
  border-radius: 8px;
}

.notice span {
  color: #40615e;
  font-size: 14px;
}

.order-note {
  display: grid;
  gap: 8px;
}

.order-note[hidden] {
  display: none;
}

.order-payment-box.has-payment {
  padding: 20px;
  background: #f7f9fc;
  border-color: #dce4ef;
}

.order-payment-box {
  margin-top: 0;
}

.order-form {
  display: grid;
  height: 100%;
  align-content: start;
  gap: clamp(22px, 2vw, 30px);
  padding: clamp(20px, 4vw, 32px);
  box-shadow: var(--shadow);
}

.selected-plan-summary {
  display: grid;
  gap: 4px;
  padding: 18px;
  background: #f0fbfa;
  border: 1px solid rgba(0, 127, 121, 0.24);
  border-radius: 8px;
}

.selected-plan-summary span,
.selected-plan-summary small {
  color: var(--muted);
  font-size: 13px;
}

.selected-plan-summary strong {
  font-size: 19px;
  line-height: 1.35;
}

.order-form label {
  display: grid;
  gap: 10px;
}

.order-form label span {
  color: #3a3936;
  font-size: 14px;
  font-weight: 850;
}

.order-form input,
.order-form select,
.order-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 12px 13px;
  color: var(--ink);
  background: #fffdf8;
  border: 1px solid var(--line);
  border-radius: 8px;
  outline: none;
}

.order-form textarea {
  resize: vertical;
}

.order-form input:focus,
.order-form select:focus,
.order-form textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(0, 127, 121, 0.12);
}

.form-row {
  display: grid;
  grid-template-columns: 0.6fr 1fr;
  gap: 12px;
}

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

.summary-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  background: #171717;
  border-radius: 8px;
  color: #fffaf0;
}

.summary-line strong {
  color: var(--yellow);
  font-size: 28px;
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: var(--teal);
  font-size: 14px;
  font-weight: 800;
}

.form-status.is-error {
  color: #b93423;
}

.alipay-button {
  color: #ffffff;
  background: #1677ff;
  border-color: #1677ff;
  box-shadow: 0 12px 28px rgba(22, 119, 255, 0.24);
}

.alipay-button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.alipay-mark {
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  color: #1677ff;
  background: #ffffff;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 950;
}

.payment-result {
  display: grid;
  justify-items: center;
  gap: 16px;
  width: 100%;
}

.payment-result[hidden] {
  display: none;
}

.payment-created-title {
  justify-self: start;
  color: var(--teal);
  font-size: 19px;
}

.payment-order-no {
  display: grid;
  width: 100%;
  gap: 3px;
  padding: 10px 12px;
  background: #ffffff;
  border: 1px solid #dce4ef;
  border-radius: 8px;
}

.payment-order-no span {
  color: var(--muted);
  font-size: 12px;
}

.payment-order-no strong {
  overflow-wrap: anywhere;
  font-size: 14px;
}

.payment-result-head {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.payment-result-head span {
  color: var(--muted);
  font-size: 14px;
}

.payment-result-head strong {
  color: #e64c2e;
  font-size: 26px;
}

.payment-warning {
  width: 100%;
  margin: -4px 0 0;
  padding: 10px 12px;
  color: #b92814;
  background: #fff0e8;
  border: 2px solid #e64c2e;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 950;
  text-align: center;
}

.payment-result img {
  display: block;
  width: min(320px, 100%);
  aspect-ratio: 1;
  padding: 8px;
  background: #ffffff;
  border: 1px solid #dce4ef;
  border-radius: 8px;
  object-fit: contain;
}

.payment-countdown {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.payment-countdown strong {
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.express-form {
  display: grid;
  gap: 15px;
  width: 100%;
}

.express-form[hidden] {
  display: none;
}

.payment-success-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 4px;
}

.payment-success-heading > span {
  display: grid;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  place-items: center;
  color: #ffffff;
  background: var(--teal);
  border-radius: 50%;
  font-weight: 950;
}

.payment-success-heading strong,
.payment-success-heading small {
  display: block;
}

.payment-success-heading strong {
  color: var(--teal);
  font-size: 20px;
}

.payment-success-heading small {
  color: var(--muted);
  font-size: 13px;
}

.express-form label {
  display: grid;
  gap: 7px;
}

.express-form label > span {
  color: #3a3936;
  font-size: 14px;
  font-weight: 850;
}

.express-form input,
.express-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 12px 13px;
  color: var(--ink);
  background: #ffffff;
  border: 1px solid #dce4ef;
  border-radius: 8px;
  outline: none;
}

.express-form textarea {
  resize: vertical;
}

.express-form input:focus,
.express-form textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(0, 127, 121, 0.12);
}

.express-submit:disabled {
  cursor: wait;
  opacity: 0.65;
}

.express-status {
  min-height: 22px;
  margin: 0;
  color: var(--teal);
  font-size: 14px;
  font-weight: 800;
}

.express-status.is-error {
  color: #b93423;
}

.steps {
  background: #ffffff;
}

.step-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding: 0;
  list-style: none;
}

.step-list li {
  padding: 22px;
}

.step-list span {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 18px;
  color: #121212;
  background: var(--yellow);
  border-radius: 50%;
  font-weight: 950;
}

.step-list h3,
.step-list p {
  margin-bottom: 0;
}

.step-list p {
  margin-top: 8px;
  color: var(--muted);
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  padding: 0 20px;
}

.faq-list summary {
  padding: 18px 0;
  cursor: pointer;
  font-weight: 900;
}

.faq-list p {
  margin-bottom: 18px;
  color: var(--muted);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 30px clamp(18px, 5vw, 64px);
  color: #fffaf0;
  background: #151515;
}

.site-footer p {
  margin: 6px 0 0;
  color: #ccc7bb;
}

.site-footer a {
  color: var(--yellow);
  font-weight: 850;
}

.qq-contact {
  position: fixed;
  right: clamp(16px, 3vw, 34px);
  bottom: calc(18px + env(safe-area-inset-bottom));
  z-index: 30;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 11px 18px;
  color: #101010;
  background: var(--yellow);
  border: 2px solid var(--ink);
  border-radius: 999px;
  box-shadow: 0 18px 44px rgba(20, 20, 20, 0.22);
  font-weight: 900;
  line-height: 1.1;
}

.qq-contact span,
.qq-contact strong {
  display: block;
  white-space: nowrap;
}

.qq-contact em {
  display: block;
  font-size: 13px;
  font-style: normal;
}

.qq-contact small {
  display: block;
  margin-top: 2px;
  color: rgba(16, 16, 16, 0.7);
  font-size: 11px;
  font-weight: 800;
}

.qq-contact strong {
  font-size: 18px;
}

.qq-contact:hover {
  transform: translateY(-2px);
}

.qq-contact.is-copied {
  background: #fff3a6;
}

@media (max-width: 1100px) {
  .plan-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 18px;
    left: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    background: rgba(255, 250, 240, 0.98);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 13px 14px;
  }

  .site-nav .nav-auth,
  .site-nav .orders-button,
  .site-nav .logout-button {
    width: 100%;
    min-height: 46px;
    padding: 11px 14px;
    text-align: left;
  }

  .account-menu:not([hidden]) {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .account-email {
    max-width: none;
    padding: 0 14px;
  }

  .hero {
    align-items: flex-end;
    min-height: min(720px, calc(100svh - 98px));
    padding-top: 220px;
    background-image: linear-gradient(0deg, rgba(255, 250, 240, 0.98) 0%, rgba(255, 250, 240, 0.96) 40%, rgba(255, 250, 240, 0.16) 76%),
      url("assets/hero-sim.png");
    background-position: 64% top;
  }

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

  .section-heading.split,
  .feature-grid,
  .order-section,
  .step-list {
    grid-template-columns: 1fr;
  }

  .order-copy {
    position: static;
  }

  .order-form {
    height: auto;
  }

  .plan-card {
    min-height: auto;
  }
}

@media (max-width: 620px) {
  .site-header {
    min-height: 66px;
    padding: 12px 16px;
  }

  .brand {
    min-width: 0;
  }

  .brand strong {
    font-size: 13px;
  }

  .brand small {
    font-size: 11px;
  }

  .hero {
    min-height: auto;
    padding: 318px 16px 46px;
    background-image: linear-gradient(180deg, rgba(255, 250, 240, 0.02) 0%, rgba(255, 250, 240, 0.14) 42%, rgba(255, 250, 240, 0.98) 60%, rgba(255, 250, 240, 1) 100%),
      url("assets/hero-sim.png");
    background-position: center top, 62% top;
    background-repeat: no-repeat;
    background-size: 100% 100%, auto 330px;
  }

  h1 {
    font-size: 38px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .trust-strip {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 58px 16px;
  }

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

  .plan-grid {
    grid-template-columns: 1fr;
  }

  .plan-top h3 {
    padding-right: 0;
  }

  .plan-card.featured .plan-top h3 {
    padding-right: 58px;
  }

  .site-footer {
    display: block;
    padding-bottom: calc(96px + env(safe-area-inset-bottom));
  }

  .site-footer a {
    display: inline-block;
    margin-top: 18px;
  }

  .qq-contact {
    right: 16px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    left: 16px;
    justify-content: center;
    min-height: 52px;
    padding: 10px 14px;
  }

  .qq-contact strong {
    font-size: 16px;
  }

  .auth-overlay {
    align-items: end;
    padding: 0;
  }

  .auth-dialog {
    width: 100%;
    max-height: calc(100svh - 20px);
    padding: 24px 18px calc(24px + env(safe-area-inset-bottom));
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: 8px 8px 0 0;
  }

  .orders-overlay {
    align-items: end;
    padding: 0;
  }

  .orders-dialog {
    width: 100%;
    max-height: calc(100svh - 20px);
    padding: 24px 18px calc(24px + env(safe-area-inset-bottom));
    border-radius: 8px 8px 0 0;
  }

  .orders-heading {
    align-items: start;
  }

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

  .order-row-side {
    grid-auto-flow: column;
    justify-content: space-between;
    align-items: center;
  }

  .code-field {
    grid-template-columns: minmax(0, 1fr) 106px;
  }

  .send-code-button {
    min-width: 0;
    padding: 0 10px;
  }
}
