:root {
  --bg: #150d0e;
  --surface: #24191a;
  --surface-soft: #2f2223;
  --surface-badge: #422326;
  --text: #f1edee;
  --muted: #beb0b1;
  --line: #513d3f;
  --brand: #e15a67;
  --brand-2: #48de84;
  --brand-3: #59a5d8;
  --warning: #eeb838;
  --ink: #f1edee;
  --paper: #352b2c;
  --spark: #eeb838;
  --shadow: 0 16px 40px rgba(21,13,14,0.40);
  --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(238, 184, 56, .28), transparent 26%),
    radial-gradient(circle at 86% 10%, rgba(72, 222, 132, .16), transparent 28%),
    linear-gradient(90deg, rgba(89, 165, 216, .06) 50%, transparent 50%) 0 0 / 28px 28px,
    linear-gradient(180deg, #f7fdff 0%, #e7f8ff 42%, #dff6e9 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;
  }
}
