@import url("../fonts/fonts.css");

:root {
  --bg: #FFFDF7;
  --card: #FFFBF1;
  --card-warm: #FFF4DF;
  --ink: #1F2742;
  --muted: #6C6D8A;
  --peach: #FED78C;
  --peach-d: #FCB15C;
  --gold: #FFD19A;
  --coral: #FF5E33;
  --coral-d: #BC4524;
  --lavender: #E9E8FF;
  --lavender-d: #A97DD6;
  --line: #E8CBA9;
  --line-soft: #E5DCC1;
  --danger: #BC4524;
  --danger-soft: #FFF0EA;
  --green: #1F8F4B;
  --ok: #1F8F4B;
  --green-soft: #E8F4E6;
  --mint: #85B58A;
  --shadow-soft: 0 8px 24px rgba(31, 39, 66, 0.06);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  /* clip: без scrollport, sticky .abar не ломается (в отличие от overflow-x:hidden) */
  overflow-x: clip;
}

body {
  margin: 0;
  overflow-x: clip;
  color: var(--ink);
  background: var(--bg);
  font-family: "Onest", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

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

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

button {
  cursor: pointer;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.csrf-form {
  display: none;
}

.mono {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-feature-settings: "tnum";
}

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

.v2-logo {
  display: inline-flex;
  align-items: center;
  flex: none;
  width: 124.29px;
  height: 28px;
  line-height: 0;
}

.v2-logo__img {
  display: block;
  width: 124.29px;
  height: 28px;
  max-width: none;
}

.v2-btn-icon {
  display: block;
  width: 100%;
  height: 100%;
}
