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

:root {
  --bg: #070b11;
  --bg-soft: #0b1119;
  --surface: #0f1620;
  --surface-2: #131c27;
  --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: #a8b1bf;
  --text-muted: #758090;
  --muted: var(--text-soft);
  --accent: #ff3b30;
  --accent-2: #ff5945;
  --accent-dark: #d92b22;
  --success: #31c98a;
  --danger: #ff554c;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --radius: var(--radius-md);
  --container: 1200px;
  --gutter: 16px;
  --header-height: 64px;
  --transition: .2s ease;
  --section-space: clamp(56px, 5vw, 72px);
}

*,
*::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 260px 400px at 0 300px, rgba(255, 59, 48, .035), transparent), 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: var(--accent);
  color: #fff;
  box-shadow: 0 4px 16px rgba(255, 59, 48, .16);
}

.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-2);
  }

  .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;
  }
}