:root {
  --bg-900: #0f0f23;
  --bg-800: #1a1a2e;
  --bg-700: #16213e;
  --panel: rgba(255, 255, 255, 0.05);
  --panel-strong: rgba(255, 255, 255, 0.08);
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.2);
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.72);
  --muted-soft: rgba(255, 255, 255, 0.58);
  --primary: #60a5fa;
  --primary-strong: #3b82f6;
  --secondary: #8b5cf6;
  --success: #34d399;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.32);
  --shadow-soft: 0 12px 32px rgba(0, 0, 0, 0.22);
  --radius-xl: 24px;
  --radius-lg: 20px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --max: 1200px;
  --page-gutter: clamp(1rem, 3vw, 1.5rem);
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: var(--font-sans);
  color: var(--text);
  background: linear-gradient(135deg, var(--bg-900) 0%, var(--bg-800) 50%, var(--bg-700) 100%);
  overflow-x: hidden;
}

body.modal-open {
  overflow: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 10% 10%, rgba(59, 130, 246, 0.15), transparent 28%),
    radial-gradient(circle at 90% 15%, rgba(139, 92, 246, 0.14), transparent 22%),
    radial-gradient(circle at 80% 80%, rgba(59, 130, 246, 0.08), transparent 26%);
  pointer-events: none;
  z-index: -1;
}

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

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

button {
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
}

img {
  display: block;
  max-width: 100%;
}

input,
textarea,
select {
  width: 100%;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  padding: 0.9rem 1rem;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

input::placeholder,
textarea::placeholder {
  color: rgba(255, 255, 255, 0.42);
}

input:focus,
textarea:focus,
select:focus {
  border-color: rgba(96, 165, 250, 0.9);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.18);
  background: rgba(255, 255, 255, 0.05);
}

textarea {
  resize: vertical;
  min-height: 140px;
}

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

.container {
  width: min(var(--max), calc(100% - (var(--page-gutter) * 2)));
  margin: 0 auto;
}

.hidden {
  display: none !important;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 17, 24, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: 80px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  min-width: 0;
}

.brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.22);
  flex: none;
}

.brand-name {
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  position: relative;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0.45rem 0.9rem;
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
  font-weight: 500;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 4px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-strong), var(--secondary));
  border-radius: 999px;
  transform: translateX(-50%);
  transition: width 180ms ease;
}

.nav-link:hover::after,
.nav-link.is-active::after {
  width: calc(100% - 1.3rem);
}

.user-trigger,
.menu-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.3);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.menu-trigger {
  display: none;
  flex-direction: column;
  gap: 4px;
}

.menu-trigger span {
  width: 16px;
  height: 2px;
  border-radius: 999px;
  background: var(--text);
}

.user-trigger:hover,
.menu-trigger:hover {
  transform: translateY(-1px);
  border-color: rgba(96, 165, 250, 0.56);
  background: rgba(255, 255, 255, 0.12);
}

.user-avatar {
  font-size: 0.9rem;
  font-weight: 700;
}

.header-popover {
  position: absolute;
  top: calc(100% + 0.6rem);
  right: 0;
  min-width: 220px;
  padding: 0.8rem;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(15, 23, 42, 0.96);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 0.5rem;
}

.header-popover p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

.header-popover button,
.header-popover a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0.75rem 0.85rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid transparent;
  transition: border-color 180ms ease, background-color 180ms ease;
}

.header-popover button:hover,
.header-popover a:hover {
  border-color: rgba(96, 165, 250, 0.4);
  background: rgba(255, 255, 255, 0.08);
}

.mobile-nav {
  display: none;
  padding: 0 0 1rem;
  gap: 0.6rem;
}

.mobile-nav.is-open {
  display: grid;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 52px;
  padding: 0.9rem 1rem;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.88);
}

.site-main {
  flex: 1;
  padding: 1rem 0 0;
}

.section {
  padding: 1.5rem 0 2.5rem;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.section-head h2,
.content-hero h1,
.detail-title,
.policy-title,
.auth-card h1 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.section-head h2,
.policy-title {
  font-size: clamp(1.7rem, 4vw, 2.6rem);
}

.section-head p,
.lead,
.muted-copy,
.content-copy,
.field-hint,
.detail-copy,
.doc-body p,
.article-body p {
  color: var(--muted);
  line-height: 1.72;
}

.announcement {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 70px;
  border-radius: 18px;
  background: linear-gradient(220.55deg, #5d85a6 0%, #0e2c5e 100%);
  color: #fff;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
}

.announcement strong {
  font-size: 1rem;
}

.hero-shell,
.frost-panel,
.auth-card,
.detail-card,
.doc-card,
.surface-card,
.legal-card {
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow);
}

.hero-shell {
  position: relative;
  overflow: hidden;
  padding: clamp(1.5rem, 4vw, 3rem);
}

.hero-shell::before {
  content: "";
  position: absolute;
  top: -48%;
  left: -32%;
  width: 120%;
  height: 120%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.18) 0%, transparent 62%);
  animation: heroFloat 7s ease-in-out infinite;
  pointer-events: none;
}

@keyframes heroFloat {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
  50% {
    transform: translate(-18px, -18px) rotate(180deg);
  }
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.92fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 34px;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.82rem;
  font-weight: 600;
}

.hero-dot,
.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary-strong), var(--secondary));
  box-shadow: 0 0 12px rgba(96, 165, 250, 0.72);
}

.content-hero h1,
.auth-card h1,
.detail-title {
  margin-top: 1rem;
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  font-weight: 900;
  background: linear-gradient(120deg, #ffffff, #e0f2fe, #d8b4fe, #93c5fd, #bae6fd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 40px rgba(255, 255, 255, 0.22);
}

.content-hero h1::after,
.detail-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary-strong), var(--secondary));
  margin-top: 0.8rem;
}

.content-copy {
  max-width: 54ch;
  margin-top: 1rem;
  font-size: clamp(1rem, 2vw, 1.2rem);
}

.hero-features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.hero-feature {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  min-height: 68px;
  padding: 0.95rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.hero-feature:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.24);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.24);
}

.hero-feature[data-tone="0"] {
  background: linear-gradient(to right, rgba(59, 130, 246, 0.2), rgba(139, 92, 246, 0.2));
}

.hero-feature[data-tone="1"] {
  background: linear-gradient(to right, rgba(139, 92, 246, 0.2), rgba(236, 72, 153, 0.18));
}

.hero-feature[data-tone="2"] {
  background: linear-gradient(to right, rgba(236, 72, 153, 0.2), rgba(239, 68, 68, 0.18));
}

.hero-feature[data-tone="3"] {
  background: linear-gradient(to right, rgba(239, 68, 68, 0.2), rgba(59, 130, 246, 0.18));
}

.hero-icon {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.45);
  flex: none;
}

.hero-icon::before,
.hero-icon::after {
  content: "";
  position: absolute;
}

.hero-icon.is-lightning::before {
  top: 9px;
  left: 11px;
  width: 18px;
  height: 20px;
  background: var(--primary-strong);
  clip-path: polygon(40% 0%, 100% 0%, 60% 50%, 100% 50%, 40% 100%, 40% 60%, 0% 60%);
}

.hero-icon.is-lock::before {
  top: 15px;
  left: 10px;
  width: 20px;
  height: 13px;
  border-radius: 4px;
  background: var(--secondary);
}

.hero-icon.is-lock::after {
  top: 7px;
  left: 13px;
  width: 14px;
  height: 10px;
  border: 2px solid var(--secondary);
  border-bottom: 0;
  border-radius: 10px 10px 0 0;
}

.hero-icon.is-money::before {
  top: 9px;
  left: 9px;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: #ec4899;
}

.hero-icon.is-money::after {
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  content: "$";
}

.hero-icon.is-target::before {
  top: 10px;
  left: 10px;
  width: 20px;
  height: 20px;
  border: 2px solid #ef4444;
  border-radius: 999px;
}

.hero-icon.is-target::after {
  top: 17px;
  left: 17px;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #ef4444;
}

.hero-feature span {
  font-size: 0.95rem;
  font-weight: 600;
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.hero-visual-frame {
  width: min(520px, 100%);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  transition: transform 220ms ease;
}

.hero-visual-frame:hover {
  transform: scale(1.02);
}

.category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  padding: 1.2rem 0 0.4rem;
}

.category-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.85rem 1.25rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.84);
  font-weight: 600;
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.category-tab:hover,
.category-tab.is-active {
  transform: translateY(-2px);
  border-color: rgba(96, 165, 250, 0.48);
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.24), rgba(139, 92, 246, 0.24));
  color: var(--text);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
}

.product-card {
  display: grid;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid rgba(75, 85, 99, 0.86);
  background: rgba(17, 17, 17, 0.92);
  color: #fff;
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(156, 163, 175, 0.92);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.28);
}

.product-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 0.72;
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-copy {
  display: grid;
  gap: 0.5rem;
  padding: 0.85rem;
}

.product-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.product-title {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.88);
}

.product-summary {
  margin: 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.76rem;
  line-height: 1.55;
}

.product-price {
  font-size: 1rem;
  font-weight: 800;
  color: var(--primary);
}

.empty-state {
  min-height: 220px;
  display: grid;
  place-items: center;
  padding: 2rem;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  text-align: center;
}

.content-hero,
.policy-hero {
  padding: 1rem 0 1.4rem;
}

.hero-simple {
  padding: clamp(1.5rem, 4vw, 2.6rem);
}

.content-hero h1,
.policy-title {
  font-size: clamp(2rem, 5vw, 3.4rem);
}

.muted-copy {
  margin-top: 1rem;
  font-size: 1rem;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.button,
.button-secondary,
.button-ghost,
.button-inline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.8rem 1.15rem;
  border-radius: 999px;
  font-weight: 600;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

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

.button:disabled,
.button-secondary:disabled,
.button-ghost:disabled,
.button-inline:disabled {
  cursor: not-allowed;
  opacity: 0.55;
  transform: none;
  box-shadow: none;
}

.button,
.button-secondary.is-primary {
  background: linear-gradient(135deg, var(--primary-strong), var(--secondary));
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.28);
}

.button-ghost,
.button-secondary,
.button-inline {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
}

.button-inline {
  min-height: 40px;
  padding: 0.55rem 0.9rem;
  border-radius: 12px;
  font-size: 0.9rem;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 1.5rem;
}

.detail-card {
  padding: 1.35rem;
}

.detail-top {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.detail-thumb {
  width: 96px;
  height: 96px;
  border-radius: 16px;
  overflow: hidden;
  flex: none;
}

.detail-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-price {
  font-size: clamp(1.6rem, 4vw, 2.1rem);
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.04em;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 40px;
  padding: 0.6rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 1rem;
}

.detail-meta {
  margin-top: 0.8rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.spec-section {
  margin-top: 1.5rem;
}

.spec-section h3,
.subsection-title {
  margin: 0 0 0.8rem;
  font-size: 1rem;
}

.choice-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.choice-chip {
  position: relative;
  min-width: 120px;
  padding: 0.85rem 0.95rem;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  transition: border-color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.choice-chip:hover,
.choice-chip.is-selected {
  transform: translateY(-2px);
  border-color: rgba(96, 165, 250, 0.52);
  background: rgba(59, 130, 246, 0.16);
}

.choice-chip.is-disabled,
.choice-chip:disabled {
  cursor: not-allowed;
  opacity: 0.58;
  transform: none;
  border-color: rgba(248, 113, 113, 0.28);
  background: rgba(127, 29, 29, 0.18);
}

.choice-chip.is-disabled:hover,
.choice-chip:disabled:hover {
  transform: none;
}

.choice-chip strong {
  display: block;
  font-size: 0.96rem;
}

.choice-chip span {
  display: block;
  margin-top: 0.25rem;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

.field-row,
.split-row,
.inline-form {
  display: grid;
  gap: 0.8rem;
}

.split-row {
  grid-template-columns: 1fr auto;
  align-items: end;
}

.field-group {
  display: grid;
  gap: 0.5rem;
}

.field-group label {
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.9rem;
}

.field-hint {
  margin: 0;
  font-size: 0.82rem;
}

.price-table {
  display: grid;
  gap: 0.9rem;
  margin-top: 1.1rem;
}

.price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: rgba(255, 255, 255, 0.9);
}

.price-row strong {
  color: var(--text);
}

.price-row.is-total strong:last-child {
  color: var(--success);
}

.detail-note-box {
  padding: 1rem 1.05rem;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  line-height: 1.7;
}

.detail-note-box ul,
.article-body ul {
  margin: 0.4rem 0 0;
  padding-left: 1.2rem;
}

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

.doc-card,
.surface-card {
  padding: 1.2rem;
}

.doc-card h3,
.surface-card h3,
.article-card h3,
.help-link-label {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.4;
}

.doc-link-list,
.help-side-list {
  display: grid;
  gap: 0.65rem;
  margin-top: 1rem;
}

.help-link,
.side-link {
  display: grid;
  gap: 0.28rem;
  padding: 0.85rem 0.95rem;
  border-radius: 14px;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.04);
  transition: border-color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.help-link:hover,
.help-link.is-active,
.side-link:hover,
.side-link.is-active {
  transform: translateY(-1px);
  border-color: rgba(96, 165, 250, 0.48);
  background: rgba(255, 255, 255, 0.06);
}

.help-link span,
.side-link span {
  color: var(--muted);
  font-size: 0.82rem;
}

.help-layout {
  display: grid;
  grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
  gap: 1.25rem;
}

.doc-body,
.article-body,
.legal-body {
  display: grid;
  gap: 0.9rem;
}

.doc-body h2,
.article-body h2,
.article-card h2,
.auth-card h2,
.modal-card h2 {
  margin: 0;
  font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 1.2;
}

.doc-meta,
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
  color: var(--muted-soft);
  font-size: 0.84rem;
}

.tag,
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: rgba(96, 165, 250, 0.16);
  color: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(96, 165, 250, 0.26);
  font-size: 0.78rem;
  font-weight: 600;
}

.support-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 1.25rem;
}

.support-channels {
  display: grid;
  gap: 0.7rem;
}

.support-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0.95rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.support-item strong {
  font-size: 0.95rem;
}

.result-card {
  min-height: 180px;
  padding: 1rem;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.result-card p {
  margin: 0;
}

.faq-list,
.ledger-list,
.summary-grid,
.article-list {
  display: grid;
  gap: 1rem;
}

.faq-item,
.ledger-item,
.summary-item,
.article-card {
  padding: 1rem 1.05rem;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.faq-item h3,
.ledger-item h3,
.summary-item h3,
.article-card h3 {
  margin: 0 0 0.45rem;
}

.invite-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 1.5rem;
  align-items: start;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 36px;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.85rem;
  font-weight: 600;
}

.invite-panel {
  padding: 1.2rem;
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.panel-head span:first-child {
  font-weight: 700;
}

.kpi-list,
.feature-grid,
.steps-grid {
  display: grid;
  gap: 0.85rem;
}

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

.kpi,
.feature-card,
.step-card {
  padding: 1rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
}

.kpi b,
.feature-card h3,
.step-card h3 {
  display: block;
  margin: 0;
  font-size: 1rem;
}

.kpi span,
.feature-card p,
.step-card p,
.invite-note,
.callout {
  margin: 0.35rem 0 0;
  color: var(--muted);
  line-height: 1.65;
}

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

.step-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary-strong), var(--secondary));
  font-weight: 800;
  margin-bottom: 0.7rem;
}

.bottom-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
}

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

.summary-item strong {
  display: block;
  margin-top: 0.4rem;
  font-size: 1.6rem;
}

.promoter-shell {
  align-items: stretch;
}

.promoter-link-box {
  display: grid;
  gap: 0.5rem;
  margin-top: 1rem;
}

.promoter-link-box span {
  font-size: 0.84rem;
  color: var(--muted);
}

.promoter-link-box input {
  font-size: 0.9rem;
  letter-spacing: 0.01em;
}

.promoter-summary-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.promoter-ledger-list {
  gap: 1rem;
}

.promoter-ledger-item {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
}

.promoter-ledger-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.promoter-ledger-head h3 {
  margin: 0 0 0.45rem;
}

.promoter-ledger-head .muted-copy {
  margin: 0;
}

.promoter-ledger-item .doc-meta {
  margin-top: 1rem;
}

.promoter-amount {
  flex: none;
  color: var(--success);
  font-size: 1.4rem;
  line-height: 1;
  white-space: nowrap;
}

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

.article-card {
  display: grid;
  gap: 1rem;
}

.article-cover {
  overflow: hidden;
  border-radius: 16px;
  aspect-ratio: 16 / 10;
}

.article-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.policy-grid {
  display: grid;
  gap: 1rem;
}

.legal-card {
  padding: 1.35rem;
}

.legal-card h2 {
  margin: 0 0 0.8rem;
  font-size: 1.12rem;
}

.site-footer {
  margin-top: 2rem;
  background: linear-gradient(135deg, var(--bg-900) 0%, var(--bg-800) 50%, var(--bg-700) 100%);
  position: relative;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.5), transparent);
}

.footer-inner {
  padding: 3rem 0 2rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
}

.footer-brand {
  display: grid;
  gap: 1rem;
}

.footer-brand-head {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-brand-head img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

.footer-brand-head h2 {
  margin: 0;
  font-size: 1.2rem;
  background: linear-gradient(45deg, var(--primary-strong), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-stats {
  display: flex;
  gap: 0.75rem;
}

.footer-stat {
  min-width: 74px;
  padding: 0.6rem 0.75rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  text-align: center;
}

.footer-stat strong {
  display: block;
  font-size: 0.92rem;
  color: var(--primary);
}

.footer-stat span {
  display: block;
  margin-top: 0.2rem;
  color: var(--muted-soft);
  font-size: 0.7rem;
}

.footer-group h3 {
  margin: 0 0 1rem;
  font-size: 1rem;
  position: relative;
}

.footer-group h3::after {
  content: "";
  display: block;
  width: 24px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary-strong), var(--secondary));
  margin-top: 0.45rem;
}

.footer-links {
  display: grid;
  gap: 0.55rem;
}

.footer-links a,
.footer-links button {
  justify-self: start;
  color: rgba(255, 255, 255, 0.78);
  transition: color 180ms ease, transform 180ms ease;
}

.footer-links a:hover,
.footer-links button:hover {
  color: var(--primary);
  transform: translateX(4px);
}

.footer-bottom {
  border-top: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.2);
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 0;
}

.footer-bottom-inner p {
  margin: 0;
  color: var(--muted-soft);
  font-size: 0.84rem;
}

.footer-bottom-inner a {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.84rem;
}

.floating-contact {
  position: fixed;
  right: 15px;
  bottom: 80px;
  z-index: 40;
}

.floating-button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  width: 68px;
  height: 68px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--primary-strong), var(--secondary));
  color: #fff;
  box-shadow: 0 8px 20px rgba(59, 130, 246, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.floating-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 26px rgba(59, 130, 246, 0.42);
}

.floating-icon {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

.floating-label {
  font-size: 0.7rem;
  font-weight: 500;
  line-height: 1;
}

.modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  z-index: 200;
}

.modal.is-open {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
}

.modal-card {
  position: relative;
  z-index: 1;
  width: min(680px, 100%);
  max-height: calc(100vh - 2rem);
  overflow: auto;
  padding: 1.5rem;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background: linear-gradient(135deg, var(--bg-900) 0%, var(--bg-800) 50%, var(--bg-700) 100%);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.modal-card h2 {
  margin: 0;
}

.modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.modal-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.82);
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.16);
}

.modal-body {
  margin-top: 1.2rem;
}

.modal-copy {
  margin: 0.8rem 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.modal-image {
  margin: 1.2rem auto 0;
  width: min(320px, 100%);
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  padding: 0.7rem;
}

.modal-image img {
  width: 100%;
  border-radius: 12px;
}

.auth-card {
  padding: clamp(1.5rem, 4vw, 2.25rem);
}

.auth-card h1 {
  margin-top: 0;
}

.auth-card h1::after {
  margin-top: 0.6rem;
}

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

.auth-stack {
  display: grid;
  gap: 1rem;
}

.auth-inline {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.75rem;
  align-items: end;
}

.auth-inline .button-inline {
  min-width: 96px;
}

.agreement {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.6;
}

.agreement input {
  width: 16px;
  height: 16px;
  margin: 0.25rem 0 0;
  padding: 0;
  border-radius: 4px;
}

.dev-code {
  margin-top: 0.75rem;
  padding: 0.85rem 0.95rem;
  border-radius: 14px;
  border: 1px dashed rgba(96, 165, 250, 0.44);
  background: rgba(59, 130, 246, 0.08);
  color: rgba(255, 255, 255, 0.86);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0.24rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
  font-size: 0.76rem;
}

.status-pill.is-success {
  background: rgba(52, 211, 153, 0.16);
  border-color: rgba(52, 211, 153, 0.34);
}

.status-pill.is-warning {
  background: rgba(250, 204, 21, 0.16);
  border-color: rgba(250, 204, 21, 0.34);
}

.status-pill.is-muted {
  background: rgba(255, 255, 255, 0.06);
}

@media (max-width: 1180px) {
  .product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 980px) {
  .site-nav {
    display: none;
  }

  .menu-trigger {
    display: inline-flex;
  }

  .hero-grid,
  .detail-layout,
  .help-layout,
  .support-grid,
  .invite-hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    justify-content: flex-start;
  }

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

  .doc-grid,
  .feature-grid,
  .steps-grid,
  .summary-grid,
  .article-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 720px) {
  .site-header-inner {
    min-height: 64px;
  }

  .brand-name {
    font-size: 1.15rem;
  }

  .announcement {
    min-height: 60px;
    padding: 0.6rem 0.9rem;
    text-align: center;
  }

  .content-hero h1,
  .auth-card h1,
  .detail-title {
    font-size: clamp(2.1rem, 10vw, 3rem);
  }

  .hero-features,
  .kpi-list,
  .summary-grid,
  .doc-grid,
  .feature-grid,
  .steps-grid,
  .article-list {
    grid-template-columns: 1fr;
  }

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

  .product-card {
    border-radius: 18px;
    grid-template-columns: 110px minmax(0, 1fr);
  }

  .product-media {
    aspect-ratio: auto;
    min-height: 132px;
  }

  .product-copy {
    padding: 0.95rem;
    align-content: center;
  }

  .split-row,
  .auth-inline {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    padding-top: 2.2rem;
  }

  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 520px) {
  .container {
    width: calc(100% - 1rem);
  }

  .hero-shell,
  .detail-card,
  .auth-card,
  .doc-card,
  .surface-card,
  .legal-card,
  .modal-card {
    border-radius: 18px;
  }

  .floating-contact {
    right: 12px;
    bottom: 74px;
  }

  .floating-button {
    width: 64px;
    height: 64px;
  }

  .floating-label {
    font-size: 0.66rem;
  }

  .choice-chip {
    min-width: 0;
    width: 100%;
  }

  .detail-top {
    flex-direction: column;
  }

  .footer-stats {
    flex-wrap: wrap;
  }
}
