:root {
  --color-bg: #f4f7fb;
  --color-surface: #ffffff;
  --color-surface-warm: #f8fbff;
  --color-text: #262424;
  --color-muted: #536174;
  --color-subdued: #6a7688;
  --color-soft: #eef4fa;
  --color-line: #dce6f1;
  --color-primary: #3182f6;
  --color-primary-dark: #1f63d2;
  --color-primary-soft: #eaf3ff;
  --color-brand-lavender: #78b7ff;
  --color-accent: #d7ff4f;
  --color-accent-soft: #f3ffd5;
  --color-ink: #0c1522;
  --color-blue: #3182f6;
  --shadow-soft: none;
  --shadow-subtle: none;
  --radius-sm: 0;
  --radius-md: 0;
  --container: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: clip;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: clip;
  background: var(--color-bg);
  color: var(--color-text);
  font-family:
    sohne-var,
    "SF Pro Display",
    Pretendard,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 17px;
  letter-spacing: 0;
  line-height: 1.5;
}

body.modal-open {
  overflow: hidden;
}

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

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

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

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 0;
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
  transition:
    background 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease,
    opacity 0.18s ease;
}

.button:hover {
  transform: none;
}

.button-primary {
  background: var(--color-primary);
  color: #ffffff;
}

.button-primary:hover {
  background: var(--color-primary-dark);
}

.button.is-loading,
.bottom-submit.is-loading {
  cursor: wait;
  gap: 8px;
  opacity: 0.92;
  pointer-events: none;
}

.button.is-loading::before,
.bottom-submit.is-loading::before {
  content: "";
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-top-color: #ffffff;
  border-radius: 50%;
  flex: 0 0 auto;
  animation: submitSpin 0.72s linear infinite;
}

@keyframes submitSpin {
  to {
    transform: rotate(360deg);
  }
}

.mobile-subscribe-fab {
  display: none;
}

.mobile-subscribe-fab.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px);
}

.mobile-subscribe-fab__button {
  width: 100%;
  min-height: 54px;
  border-radius: 18px;
  box-shadow: 0 14px 32px rgba(6, 15, 28, 0.16);
}

.button-dark {
  background: var(--color-text);
  color: #ffffff;
}

.button-ghost {
  background: rgba(255, 255, 255, 0.72);
  color: var(--color-primary);
  border-color: rgba(0, 111, 255, 0.28);
}

.button-ghost:hover {
  border-color: var(--color-primary);
}

