:root {
  --bg: #f5f9f9;
  --surface: #ffffff;
  --surface-soft: #ebf3f4;
  --surface-badge: #daf1f2;
  --text: #1f3131;
  --muted: #556b6c;
  --line: #cedddd;
  --brand: #1caaaf;
  --brand-2: #af26ab;
  --brand-3: #9b9f2c;
  --warning: #c68f10;
  --ink: #1f3131;
  --paper: #ffffff;
  --spark: #9b9f2c;
  --shadow: 0 16px 40px rgba(245,249,249,0.12);
  --radius: 18px;
  --radius-sm: 14px;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --container: 1180px;
  --header-h: 64px;
  --touch: 40px;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  overflow-x: hidden;
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 14% 12%, rgba(175, 38, 171, .32), transparent 24%),
    radial-gradient(circle at 86% 10%, rgba(155, 159, 44, .18), transparent 28%),
    radial-gradient(circle, rgba(198, 143, 16, .16) 0 1px, transparent 2px) 0 0 / 18px 18px,
    linear-gradient(135deg, #fff0b8 0%, #ffe6fb 24%, #2b0f3d 72%, #12051b 100%);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  overflow-x: hidden;
}

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

img,
svg,
video,
iframe {
  max-width: 100%;
}

img {
  display: block;
}

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

button {
  cursor: pointer;
}

.container {
  width: min(100% - 24px, var(--container));
  margin-inline: auto;
}

.section {
  margin-top: 28px;
}

.eyebrow {
  margin: 0 0 6px;
  color: var(--brand);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.btn-primary,
.btn-ghost {
  display: inline-flex;
  min-height: var(--touch);
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  padding: 0 18px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform .2s ease, background-color .2s ease, border-color .2s ease;
}

.btn-primary {
  color: #fff;
  background: var(--brand);
}

.btn-ghost {
  color: var(--text);
  background: var(--surface);
  border-color: var(--line);
}

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

.small {
  min-height: 36px;
  padding-inline: 12px;
  font-size: 13px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .001ms !important;
  }
}

@media (min-width: 360px) {
  .container {
    width: min(100% - 28px, var(--container));
  }
}

@media (min-width: 390px) {
  body {
    font-size: 15.5px;
  }
}

@media (min-width: 430px) {
  .container {
    width: min(100% - 32px, var(--container));
  }
}

@media (min-width: 768px) {
  :root {
    --header-h: 72px;
  }

  .section {
    margin-top: 38px;
  }
}

@media (min-width: 1024px) {
  .container {
    width: min(100% - 48px, var(--container));
  }
}

@media (min-width: 1280px) {
  :root {
    --container: 1240px;
  }
}
