:root {
  --bg: #f7f8fa;
  --surface: #ffffff;
  --surface-soft: #fbfcfd;
  --line: #e6e8ec;
  --line-strong: #d5d9e0;
  --text: #101828;
  --text-soft: #475467;
  --text-muted: #667085;
  --accent: #111827;
  --accent-soft: #1f2937;
  --success: #0f766e;
  --danger: #b42318;
  --shadow: 0 18px 40px rgba(16, 24, 40, 0.06);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top right, rgba(233, 236, 241, 0.7), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 100%);
  color: var(--text);
  font-family: "PingFang SC", "Helvetica Neue", "Noto Sans SC", sans-serif;
}

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

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

.site-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  position: sticky;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px 24px 18px;
  border-bottom: 1px solid rgba(17, 24, 39, 0.08);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(20px);
}

.topbar.has-session {
  padding-right: 220px;
}

.session-actions {
  position: absolute;
  top: 50%;
  right: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  transform: translateY(-50%);
  padding-left: 12px;
}

.avatar-button {
  width: 52px;
  height: 52px;
  border: 1px solid rgba(70, 138, 255, 0.48);
  border-radius: 999px;
  background: linear-gradient(180deg, #ffffff 0%, #e9f1fb 100%);
  box-shadow:
    0 0 0 4px rgba(81, 148, 255, 0.18),
    0 16px 34px rgba(16, 24, 40, 0.12);
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  position: relative;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.avatar-button:hover {
  transform: translateY(-1px);
  border-color: rgba(64, 130, 247, 0.72);
  box-shadow:
    0 0 0 4px rgba(81, 148, 255, 0.24),
    0 18px 36px rgba(16, 24, 40, 0.16);
}

.avatar-button:focus-visible,
.avatar-button[aria-expanded="true"] {
  outline: none;
  border-color: rgba(64, 130, 247, 0.72);
  box-shadow:
    0 0 0 4px rgba(81, 148, 255, 0.24),
    0 18px 36px rgba(16, 24, 40, 0.16);
}

.user-menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  min-width: 228px;
  padding: 14px;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 24px 54px rgba(16, 24, 40, 0.14);
  backdrop-filter: blur(18px);
  display: grid;
  gap: 8px;
}

.user-menu.is-hidden {
  display: none !important;
}

.user-menu-label {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.user-menu-email {
  padding: 10px 12px;
  border-radius: 14px;
  background: var(--surface-soft);
  color: var(--text);
  word-break: break-all;
}

.user-menu-link {
  width: 100%;
  border: 0;
  padding: 11px 12px;
  border-radius: 14px;
  background: transparent;
  color: var(--text-soft);
  text-align: left;
  display: inline-flex;
  align-items: center;
  transition: background 0.18s ease, color 0.18s ease;
}

.user-menu-link:hover {
  background: #f5f7fa;
  color: var(--text);
}

.user-menu-link.danger {
  color: var(--danger);
}

.nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  width: min(980px, 100%);
  padding: 14px 20px;
  border: 1px solid rgba(17, 24, 39, 0.07);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 16px 34px rgba(16, 24, 40, 0.06);
}

.nav a,
.inline-button {
  color: var(--text-soft);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 10px 16px;
  border-radius: 999px;
}

.nav a.active {
  color: var(--text);
  background: #f3f4f6;
  box-shadow: inset 0 0 0 1px rgba(17, 24, 39, 0.06);
}

.nav-link-marketing {
  color: var(--text-soft);
}

.nav-link-accent,
.nav-link-filled {
  min-width: 88px;
  text-align: center;
}

.nav-link-accent {
  border: 1px solid rgba(17, 24, 39, 0.1);
  background: rgba(255, 255, 255, 0.92);
}

.nav-link-filled {
  color: #fff !important;
  background: linear-gradient(135deg, #111827 0%, #30405f 100%);
  box-shadow: 0 14px 28px rgba(17, 24, 39, 0.16);
}

.nav-link-filled.active {
  color: #fff !important;
  background: linear-gradient(135deg, #111827 0%, #30405f 100%) !important;
  box-shadow: 0 14px 28px rgba(17, 24, 39, 0.16) !important;
}

.page-container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0 88px;
  flex: 1;
}

.site-footer {
  text-align: center;
  color: var(--text-muted);
  padding: 24px 16px 40px;
}

.announcement-empty-card {
  width: min(760px, 100%);
  margin: 36px auto 0;
  padding: 56px 40px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow);
  text-align: center;
}

.announcement-centered-copy {
  margin: 0;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 700;
  line-height: 1.45;
  color: var(--text);
}

.marketing-hero,
.member-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 28px;
  align-items: stretch;
}

.marketing-hero-copy,
.member-hero-copy {
  padding: 38px 8px 18px 0;
}

.marketing-hero-copy h1,
.member-hero-copy h1 {
  margin: 0;
  font-size: clamp(40px, 5vw, 66px);
  line-height: 1.02;
  letter-spacing: -0.05em;
  text-wrap: balance;
}

.marketing-lead,
.member-hero-copy .lead {
  margin: 20px 0 0;
  max-width: 660px;
  color: var(--text-soft);
  font-size: 18px;
  line-height: 1.9;
}

.marketing-cta-row,
.member-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.marketing-cta-row.center {
  justify-content: center;
}

.marketing-hero-visual,
.member-hero-panel {
  min-height: 100%;
}

.marketing-visual-card,
.member-hero-panel {
  height: 100%;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 32px;
  background:
    radial-gradient(circle at top right, rgba(121, 167, 255, 0.16), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(246, 249, 253, 0.96) 100%);
  box-shadow: 0 22px 50px rgba(16, 24, 40, 0.08);
}

.marketing-visual-card {
  display: grid;
  align-content: center;
  gap: 18px;
  padding: 38px 34px;
}

.marketing-visual-label {
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--text-muted);
}

.marketing-visual-card strong {
  font-size: clamp(28px, 3.6vw, 42px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.marketing-visual-card p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.8;
}

.marketing-visual-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.marketing-visual-pills span,
.member-hero-stat {
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
}

.marketing-visual-pills span {
  padding: 10px 14px;
  color: var(--text-soft);
}

.marketing-section {
  margin-top: 72px;
}

.marketing-section-muted {
  padding: 36px 0 4px;
}

.marketing-header-center {
  justify-content: center;
  text-align: center;
}

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

.marketing-feature,
.review-card {
  padding: 28px;
  border-radius: 28px;
  border: 1px solid rgba(17, 24, 39, 0.08);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 16px 34px rgba(16, 24, 40, 0.05);
}

.marketing-feature h3,
.review-card strong {
  font-size: 22px;
}

.marketing-feature h3,
.review-card p,
.review-card strong {
  margin: 0;
}

.marketing-feature p,
.review-card p {
  margin-top: 14px;
  color: var(--text-soft);
  line-height: 1.85;
}

.review-card {
  display: grid;
  gap: 18px;
}

.review-card strong {
  font-size: 16px;
  color: var(--text);
}

.marketing-final-cta {
  margin-top: 78px;
}

.marketing-final-card {
  width: min(860px, 100%);
  margin: 0 auto;
  padding: 42px 34px;
  text-align: center;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 32px;
  background:
    radial-gradient(circle at top, rgba(121, 167, 255, 0.14), transparent 34%),
    rgba(255, 255, 255, 0.96);
  box-shadow: 0 22px 50px rgba(16, 24, 40, 0.08);
}

.marketing-final-card h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.marketing-final-card p:not(.section-tag) {
  margin: 16px auto 0;
  max-width: 600px;
  color: var(--text-soft);
  line-height: 1.85;
}

.member-hero-panel {
  display: grid;
  gap: 14px;
  padding: 24px;
}

.member-hero-stat {
  display: grid;
  gap: 8px;
  padding: 20px 22px;
}

.member-hero-stat span {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.member-hero-stat strong {
  font-size: 22px;
  line-height: 1.5;
}

.home-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 22px;
}

.featured-product-card,
.showcase-placeholder-card {
  min-height: 430px;
}

.featured-product-inner,
.showcase-placeholder-inner {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featured-product-inner {
  align-items: center;
  text-align: center;
  gap: 24px;
}

.featured-product-title {
  margin: 0;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.featured-product-copy {
  margin: 0;
  max-width: 440px;
  color: var(--text-soft);
  font-size: 20px;
  line-height: 1.8;
}

.featured-product-bottom {
  display: flex;
  align-items: center;
  gap: 18px;
}

.featured-product-price {
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--text);
  order: -1;
}

.showcase-placeholder-inner {
  align-items: center;
  text-align: center;
  gap: 14px;
  border: 1px dashed var(--line-strong);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.9) 0%, rgba(255, 255, 255, 0.96) 100%);
  opacity: 0.6;
}

.showcase-placeholder-title {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
}

.hero,
.form-card,
.detail-card,
.table-card,
.success-card,
.legal-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.hero {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 28px;
  padding: 42px;
}

.eyebrow,
.section-tag {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.26em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.hero h1,
.section-header h1,
.form-card h1,
.legal-card h1,
.success-card h1 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.page-title {
  margin: 0;
  font-size: clamp(32px, 5vw, 50px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.page-title.center,
.center-stack {
  text-align: center;
}

.lead,
.muted {
  color: var(--text-soft);
}

.hero-note {
  display: grid;
  gap: 12px;
  align-content: start;
}

.hero-note span,
.status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--surface-soft);
  color: var(--text-soft);
}

.section-header {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 24px;
}

.section-header.compact {
  margin-bottom: 20px;
}

.card-grid {
  display: grid;
  gap: 20px;
}

.card-grid.one {
  grid-template-columns: 1fr;
}

.product-card,
.info-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.product-top,
.product-bottom,
.button-row,
.link-row,
.inline-row {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
}

.product-actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.price-block {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.primary-button,
.ghost-button,
.inline-button {
  border-radius: 14px;
  padding: 12px 18px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.primary-button:hover,
.ghost-button:hover,
.inline-button:hover {
  transform: translateY(-1px);
}

.primary-button {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 12px 24px rgba(17, 24, 39, 0.16);
}

.primary-button.is-loading,
.ghost-button.is-loading,
.inline-button.is-loading {
  position: relative;
  pointer-events: none;
}

.primary-button.is-loading::before,
.ghost-button.is-loading::before,
.inline-button.is-loading::before {
  content: "";
  width: 14px;
  height: 14px;
  margin-right: 8px;
  border-radius: 50%;
  border: 2px solid currentColor;
  border-right-color: transparent;
  display: inline-block;
  vertical-align: -2px;
  animation: button-spin 0.8s linear infinite;
}

.ghost-button,
.inline-button {
  background: #fff;
  color: var(--text);
  border-color: var(--line-strong);
}

.full {
  width: 100%;
}

.form-wrap {
  display: flex;
  justify-content: center;
}

.form-card {
  width: min(680px, 100%);
  padding: 34px;
}

.center-stack {
  display: grid;
  gap: 12px;
  margin-bottom: 32px;
}

.support-copy {
  width: min(760px, 100%);
  margin: 0 auto;
  color: var(--text-soft);
  line-height: 1.75;
}

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

.form-grid label,
.grow {
  display: grid;
  gap: 8px;
}

.form-grid span {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-soft);
}

.send-text-button {
  min-width: 88px;
  width: 88px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 88px;
  padding: 0 10px;
  border-radius: 14px;
  border: 1px solid var(--line-strong);
  background: var(--surface-soft);
  box-shadow: none;
  font-size: 15px;
  line-height: 1;
  color: var(--text);
  white-space: nowrap;
}

.send-status {
  min-height: 22px;
  text-align: left;
  line-height: 1.5;
}

.send-code-row {
  align-items: start;
  grid-template-columns: minmax(0, 1fr);
}

.captcha-wrap {
  display: grid;
  gap: 10px;
}

.captcha-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 140px;
  gap: 12px;
  align-items: center;
}

.captcha-image-button {
  width: 140px;
  height: 46px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.captcha-image-button img {
  display: block;
  width: 140px;
  height: 46px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: #f8fafc;
}

.captcha-image-button:disabled {
  opacity: 1;
}

.email-code-group {
  gap: 8px;
}

.email-code-inline {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 8px;
  width: 100%;
}

.email-code-inline input {
  flex: 1 1 auto;
  min-width: 0;
  padding-right: 6px;
}

button:disabled,
.ghost-button:disabled,
.primary-button:disabled,
.captcha-image-button:disabled {
  opacity: 0.48;
  cursor: not-allowed;
  box-shadow: none;
}

@keyframes button-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

input:disabled,
select:disabled,
textarea:disabled {
  background: #f3f4f6;
  color: #9aa3af;
  cursor: not-allowed;
}

input,
select,
textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--line-strong);
  background: #fff;
  color: var(--text);
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: #101828;
  box-shadow: 0 0 0 4px rgba(16, 24, 40, 0.08);
}

.captcha-box {
  min-width: 140px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px dashed var(--line-strong);
  background: var(--surface-soft);
  text-align: center;
  font-weight: 700;
}

.toast-root {
  position: fixed;
  top: 24px;
  left: 50%;
  z-index: 1200;
  display: grid;
  gap: 10px;
  transform: translateX(-50%);
  width: min(420px, calc(100% - 32px));
}

.toast {
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  border-radius: 16px;
  padding: 14px 18px;
  box-shadow: 0 18px 40px rgba(16, 24, 40, 0.18);
  border: 1px solid rgba(17, 24, 39, 0.08);
  background: #fff;
  color: var(--text);
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.toast.error {
  border-color: rgba(180, 35, 24, 0.16);
}

.toast.success {
  border-color: rgba(15, 118, 110, 0.16);
}

.chat-fab {
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(22px, env(safe-area-inset-bottom));
  width: 58px;
  height: 58px;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 999px;
  background: linear-gradient(180deg, #ffffff 0%, #edf3fb 100%);
  box-shadow: 0 18px 36px rgba(16, 24, 40, 0.16);
  z-index: 90;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.chat-fab:hover {
  transform: translateY(-2px);
}

.chat-fab-icon {
  font-size: 22px;
  line-height: 1;
}

.chat-panel {
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: calc(max(22px, env(safe-area-inset-bottom)) + 72px);
  width: min(360px, calc(100vw - 24px));
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 26px 56px rgba(16, 24, 40, 0.18);
  backdrop-filter: blur(20px);
  overflow: hidden;
  z-index: 95;
}

.chat-panel-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 18px 14px;
  border-bottom: 1px solid rgba(17, 24, 39, 0.06);
}

.chat-panel-header h3 {
  margin: 0 0 6px;
  font-size: 18px;
}

.chat-panel-header p {
  margin: 0;
  font-size: 13px;
  color: var(--text-soft);
}

.chat-close {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: #f5f7fa;
  color: var(--text-soft);
  font-size: 22px;
  line-height: 1;
}

.chat-messages {
  min-height: 200px;
  max-height: 320px;
  overflow: auto;
  padding: 18px;
  display: grid;
  gap: 12px;
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.88) 0%, rgba(255, 255, 255, 0.96) 100%);
}

.chat-message {
  display: flex;
}

.chat-message.user {
  justify-content: flex-end;
}

.chat-bubble {
  max-width: 84%;
  padding: 12px 14px;
  border-radius: 18px;
  background: #f2f5f9;
  color: var(--text);
  line-height: 1.55;
  box-shadow: 0 10px 20px rgba(16, 24, 40, 0.05);
}

.chat-message.user .chat-bubble {
  background: var(--accent);
  color: #fff;
}

.chat-login-hint {
  padding: 0 18px 12px;
  color: var(--text-soft);
}

.chat-login-hint a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.chat-input-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  padding: 0 18px 18px;
}

.chat-send-button {
  min-width: 84px;
}

.form-message,
.inline-note {
  font-size: 14px;
}

.form-message {
  min-height: 22px;
  color: var(--text-soft);
}

.form-message.error {
  color: var(--danger);
}

.form-message.success {
  color: var(--success);
}

.agree-text,
.switch-text,
.empty-state {
  text-align: center;
  color: var(--text-soft);
}

.agree-line {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.agree-text a,
.switch-text a,
.empty-state a,
.link-row a,
td a {
  color: var(--accent-soft);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.table-card,
.detail-card,
.success-card,
.legal-card {
  padding: 30px;
}

.legal-card {
  display: grid;
  gap: 24px;
  width: min(860px, 100%);
  margin: 0 auto;
}

.legal-actions {
  display: flex;
  justify-content: flex-start;
}

.legal-lines {
  display: grid;
  gap: 14px;
}

.legal-lines p {
  margin: 0;
  padding: 20px 22px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--surface-soft);
  color: var(--text-soft);
  line-height: 1.95;
  text-wrap: pretty;
}

.highlight-line {
  background: #fff;
  border-color: var(--line-strong);
  color: var(--text);
  font-weight: 600;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
}

.data-table th,
.data-table td {
  text-align: left;
  padding: 16px 14px;
  border-bottom: 1px solid var(--line);
}

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

.support-stack {
  margin-bottom: 24px;
}

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

.support-meta-grid-two {
  width: min(760px, 100%);
  margin: 0 auto 8px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  justify-content: center;
  justify-items: center;
}

.support-meta-grid-two .support-meta-card {
  width: 100%;
  max-width: 340px;
}

.support-form-wrap {
  margin-top: 26px;
}

.support-form-card {
  width: min(860px, 100%);
}

.support-meta-card {
  display: grid;
  gap: 12px;
  min-height: 152px;
  align-content: center;
  text-align: center;
}

.meta-label {
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.support-meta-card strong {
  font-size: 24px;
  line-height: 1.5;
}

.support-order-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.order-chip {
  border: 1px solid var(--line-strong);
  background: var(--surface-soft);
  color: var(--text);
  border-radius: 999px;
  padding: 10px 16px;
  cursor: pointer;
}

.support-order-empty {
  width: 100%;
  padding: 14px 16px;
  border-radius: 16px;
  background: var(--surface-soft);
  border: 1px dashed var(--line-strong);
  color: var(--text-soft);
}

.support-auth-hint {
  text-align: center;
  color: var(--text-soft);
}

.support-auth-hint a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.products-grid {
  margin-top: 18px;
}

button:disabled,
select:disabled,
input:disabled,
textarea:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

.detail-grid div {
  padding: 18px;
  border-radius: 18px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
}

.detail-grid span {
  display: block;
  margin-bottom: 8px;
  color: var(--text-muted);
  font-size: 13px;
}

.detail-grid strong {
  font-size: 18px;
}

.pay-box {
  margin: 26px 0;
  padding: 22px;
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff, #f8fafc);
  border: 1px solid var(--line);
}

.success-card {
  text-align: center;
}

@media (max-width: 900px) {
  .topbar {
    padding: 16px 18px;
  }

  .topbar.has-session {
    padding-right: 18px;
  }

  .session-actions {
    position: static;
    transform: none;
    margin-top: 12px;
    margin-left: auto;
    padding-left: 0;
  }

  .hero,
  .detail-grid,
  .info-grid,
  .support-meta-grid,
  .section-header,
  .home-showcase,
  .marketing-hero,
  .member-hero,
  .marketing-feature-grid,
  .review-grid {
    grid-template-columns: 1fr;
    display: grid;
  }

  .page-container {
    width: min(100% - 24px, 1120px);
    padding-top: 24px;
  }

  .button-row,
  .link-row,
  .product-top,
  .product-bottom,
  .product-actions,
  .inline-row {
    flex-direction: column;
    align-items: stretch;
  }

  .captcha-box {
    min-width: 100%;
  }

  .nav {
    border-radius: 28px;
  }

  .marketing-hero-copy,
  .member-hero-copy {
    padding-right: 0;
  }

  .marketing-hero-copy h1,
  .member-hero-copy h1 {
    font-size: clamp(34px, 10vw, 54px);
  }

  .marketing-final-card {
    padding: 34px 22px;
  }

  .agree-line {
    gap: 6px;
  }

  .chat-panel {
    right: 12px;
    left: 12px;
    width: auto;
    bottom: calc(max(18px, env(safe-area-inset-bottom)) + 74px);
  }
}
