@import url('https://fonts.googleapis.com/css2?family=Onest:wght@400;500;600;700;800&display=swap');

:root {
  --bg: #11131f;
  --bg-dark: #0c0e18;
  --bg-soft: #181927;
  --surface: #1c1f30;
  --surface-2: #25283b;
  --surface-hover: #303247;
  --card: var(--surface);
  --card-2: var(--surface-2);
  --line: rgba(255, 255, 255, .07);
  --line-strong: rgba(255, 255, 255, .12);
  --text: #f7f8fa;
  --text-soft: #d5d7e2;
  --text-muted: #9da0b2;
  --muted: var(--text-soft);
  --accent: #ff2854;
  --accent-2: #ff4267;
  --accent-hover: var(--accent-2);
  --accent-dark: #cc1941;
  --accent-soft: rgba(255, 40, 84, .12);
  --line-accent: rgba(255, 40, 84, .35);
  --success: #28d58c;
  --danger: #ff4565;
  --warning: #ffb84d;
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --radius: var(--radius-md);
  --container: 1180px;
  --gutter: 16px;
  --header-height: 68px;
  --transition: .2s ease;
  --section-space: clamp(32px, 4vw, 48px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 40px);
}

html:has(#wpadminbar) {
  scroll-padding-top: calc(var(--header-height) + 40px + 32px);
}

@media (max-width: 782px) {
  html:has(#wpadminbar) {
    scroll-padding-top: calc(var(--header-height) + 40px + 46px);
  }
}

body {
  margin: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  min-width: 320px;
  background: radial-gradient(ellipse 650px 500px at 85% 180px, var(--accent-soft), transparent 75%), var(--bg);
  color: var(--text);
  font-family: 'Onest', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

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

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

.site-main {
  flex: 1 0 auto;
  min-width: 0;
}

body>.site-header,
body>.site-footer {
  flex-shrink: 0;
}

body.admin-bar {
  min-height: calc(100vh - 32px);
  min-height: calc(100dvh - 32px);
}

@media (max-width: 782px) {
  body.admin-bar {
    min-height: calc(100vh - 46px);
    min-height: calc(100dvh - 46px);
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  max-width: 100%;
  padding: 11px 20px;
  border: 1px solid transparent;
  border-radius: 11px;
  text-decoration: none;
  text-align: center;
  font-weight: 700;
  line-height: 1.3;
  cursor: pointer;
  transition: background-color var(--transition), border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-2), var(--accent) 65%, var(--accent-dark));
  color: #fff;
  box-shadow: 0 5px 20px rgba(255, 40, 84, .22);
}

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

:where(a, button, input, textarea, select):focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 4px;
}

@media (hover: hover) {
  .btn:hover {
    transform: translateY(-1px);
  }

  .btn-primary:hover {
    background: var(--accent-hover);
    box-shadow: 0 7px 24px rgba(255, 40, 84, .3);
  }

  .btn-secondary:hover {
    background: var(--surface-2);
  }
}

@media (min-width: 768px) {
  :root {
    --gutter: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  :root {
    --transition: 0s;
  }

  .btn:hover {
    transform: none;
  }
}
