:root {
  --primary-color: #1e3d60;
  --secondary-color: #439bdb;
  --accent-color: #cad2da;
  --dark-text: #564743;
  --light-text: #68605c;
  --bg-light: #f4f6f8;
  --white: #FFFFFF;
  --border-color: #89b0cd;

  --rk-success: #067647;
  --rk-success-bg: #ecfdf3;
  --rk-success-border: #abefc6;
  --rk-danger: #b42318;
  --rk-danger-bg: #fef3f2;
  --rk-danger-border: #fda29b;
  --rk-warning: #b54708;
  --rk-warning-bg: #fffaeb;
  --rk-warning-border: #fedf89;
  --rk-info: #175cd3;
  --rk-info-bg: #eff8ff;
  --rk-info-border: #b2ddff;
}

body {
  font-family: 'Roboto', sans-serif;
  color: var(--dark-text);
  background-color: var(--white);
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
h1, h2, h3, h4, h5, h6 { font-family: 'Source Serif 4', serif; color: var(--primary-color); font-weight: 600; }
a { text-decoration: none; transition: 0.3s; color: var(--secondary-color); }
a:hover { color: var(--primary-color); }
::selection { background: rgba(67, 155, 219, .28); color: var(--primary-color); }

html { scrollbar-width: thin; scrollbar-color: var(--secondary-color) var(--bg-light); }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-light); }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, var(--secondary-color), var(--primary-color)); border-radius: 8px; border: 2px solid var(--bg-light); }
::-webkit-scrollbar-thumb:hover { background: var(--primary-color); }

.navbar { background-color: rgba(255,255,255,0.98); backdrop-filter: blur(10px); border-bottom: 2px solid var(--accent-color); box-shadow: 0 2px 15px rgba(30,61,96,0.05); }
.navbar-brand { font-family: 'Source Serif 4', serif; font-weight: 700; font-size: 1.5rem; color: var(--primary-color) !important; }
.navbar-brand i { color: var(--secondary-color); }
.nav-link { color: var(--dark-text); font-weight: 500; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.5px; }
.nav-link:hover, .nav-link.active { color: var(--secondary-color); }

.btn-primary { background-color: var(--primary-color); border-color: var(--primary-color); color: #fff; padding: 12px 30px; border-radius: 4px; font-weight: 500; text-transform: uppercase; font-size: 0.9rem; }
.btn-primary:hover { background-color: var(--secondary-color); border-color: var(--secondary-color); transform: translateY(-2px); }
.btn-outline-primary { color: var(--primary-color); border-color: var(--primary-color); border-radius: 4px; text-transform: uppercase; font-size: 0.9rem; }
.btn-outline-primary:hover { background-color: var(--primary-color); color: #fff; }

.section-padding { padding: 80px 0; }
.bg-soft { background-color: var(--bg-light); border-top: 1px solid var(--accent-color); border-bottom: 1px solid var(--accent-color); }
.card { border: 1px solid #e0e0e0; border-radius: 8px; transition: 0.3s; background: var(--white); height: 100%; }
.card:hover { box-shadow: 0 10px 30px rgba(30,61,96,0.1); transform: translateY(-5px); border-color: var(--secondary-color); }

footer { background-color: var(--primary-color); color: #a09d95; padding: 60px 0 20px; border-top: 4px solid var(--secondary-color); margin-top: auto; }
footer h5 { color: var(--white); margin-bottom: 20px; font-family: 'Roboto', sans-serif; text-transform: uppercase; font-size: 1rem; letter-spacing: 1px; }
footer a { color: #cad2da; }
footer a:hover { color: var(--white); }

.page-header { background-color: var(--bg-light); padding: 60px 0 40px; border-bottom: 1px solid var(--accent-color); margin-bottom: 40px; position: relative; }
.page-header::after { content: ''; position: absolute; bottom: -1px; left: 50%; transform: translateX(-50%); width: 60px; height: 3px; background-color: var(--secondary-color); }

.icon-max { width: 1.2em; height: 1.2em; vertical-align: -0.15em; fill: currentColor; }
a.social-dark { color: var(--primary-color); }
a.social-dark:hover { color: #0f2540; }

/* =====================================================================
   ФОРМА FetchIt / FormIt
   ===================================================================== */
.rk-shell { position: relative; }
.rk-shell > [hidden] { display: none !important; }

.rk-form {
  --rk-primary: var(--primary-color, #1e3d60);
  --rk-accent: var(--secondary-color, #439bdb);
  --rk-link: #2b6cb0;
  --rk-text: var(--dark-text, #564743);
  --rk-muted: #5f6a72;
  --rk-border: #cad2da;
  --rk-surface: #ffffff;
  position: relative;
  background: var(--rk-surface);
  border: 1px solid var(--rk-border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(30,61,96,.08);
  color: var(--rk-text);
}
.rk-form * { box-sizing: border-box; }
.rk-form__head { position: relative; padding: 22px 22px 18px; background: linear-gradient(135deg, #1e3d60 0%, #3474c3 55%, #439bdb 100%); color: #fff; }
.rk-form__head::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.14) 1px, transparent 1px); background-size: 14px 14px; opacity: .35; pointer-events: none; }
.rk-form__badge { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 6px; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.35); padding: 4px 10px; border-radius: 999px; margin-bottom: 10px; }
.rk-form__title { position: relative; z-index: 1; margin: 0 0 6px; font-size: 1.25rem; line-height: 1.25; color: #fff; font-weight: 700; }
.rk-form__sub { position: relative; z-index: 1; margin: 0; font-size: .85rem; color: rgba(255,255,255,.92); }
.rk-form__body { padding: 20px 22px 22px; background: linear-gradient(180deg, #ffffff 0%, #f4f6f8 100%); }
.rk-form__progress { height: 6px; border-radius: 999px; background: #e3e9ef; overflow: hidden; margin-bottom: 8px; }
.rk-form__progress > span { display: block; height: 100%; width: 0%; border-radius: inherit; background: linear-gradient(90deg, #3474c3, #439bdb); transition: width .35s ease; }
.rk-form__progress-label { display: flex; justify-content: space-between; font-size: .75rem; color: var(--rk-muted); margin: 0 0 14px; }
.rk-alert { display: flex; gap: 10px; align-items: flex-start; border-radius: 10px; padding: 12px 14px; font-size: .85rem; line-height: 1.45; margin-bottom: 14px; border: 1px solid transparent; }
.rk-alert--error { background: var(--rk-danger-bg); border-color: var(--rk-danger-border); color: var(--rk-danger); }
.rk-alert--success { background: var(--rk-success-bg); border-color: var(--rk-success-border); color: var(--rk-success); }
.rk-alert svg { flex: 0 0 auto; margin-top: 2px; }
.rk-field { margin-bottom: 16px; }
.rk-label { display: flex; align-items: baseline; gap: 6px; font-size: .85rem; font-weight: 600; color: var(--rk-primary); margin-bottom: 6px; }
.rk-req { color: var(--rk-danger); font-weight: 700; }
.rk-optional { font-size: .72rem; font-weight: 500; color: var(--rk-muted); }
.rk-control { position: relative; }
.rk-input, .rk-textarea { width: 100%; border: 1.5px solid var(--rk-border); border-radius: 10px; background: #fff; color: var(--rk-text); font-size: .95rem; padding: 11px 40px 11px 12px; transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease; outline: none; }
.rk-textarea { resize: vertical; min-height: 84px; padding-right: 12px; }
.rk-input::placeholder, .rk-textarea::placeholder { color: #98a2b3; }
.rk-input:focus, .rk-textarea:focus { border-color: var(--rk-accent); box-shadow: 0 0 0 3px rgba(67,155,219,.28); }
.rk-field.is-invalid .rk-input, .rk-field.is-invalid .rk-textarea { border-color: var(--rk-danger-border); background: var(--rk-danger-bg); }
.rk-field.is-invalid .rk-input:focus, .rk-field.is-invalid .rk-textarea:focus { box-shadow: 0 0 0 3px rgba(180,35,24,.18); }
.rk-field.is-valid .rk-input, .rk-field.is-valid .rk-textarea { border-color: var(--rk-success-border); background: #fbfffc; }
.rk-state-icon { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; display: none; pointer-events: none; }
.rk-field.is-valid .rk-state-icon--ok, .rk-field.is-invalid .rk-state-icon--err { display: block; }
.rk-hint { margin: 6px 0 0; font-size: .76rem; line-height: 1.4; color: var(--rk-muted); }
.rk-hint.is-warning { color: var(--rk-warning); }
.rk-hint.is-success { color: var(--rk-success); }
.rk-msg { display: none; align-items: flex-start; gap: 6px; margin: 6px 0 0; font-size: .78rem; line-height: 1.4; color: var(--rk-danger); font-weight: 500; }
.rk-field.is-invalid .rk-msg { display: flex; }
.rk-msg svg { flex: 0 0 auto; margin-top: 2px; }
.rk-counter { display: block; text-align: right; font-size: .72rem; color: var(--rk-muted); margin-top: 4px; }
.rk-counter.is-limit { color: var(--rk-danger); font-weight: 600; }
.rk-check { display: flex; gap: 10px; align-items: flex-start; padding: 12px; border: 1.5px solid var(--rk-border); border-radius: 10px; background: #fff; transition: border-color .2s ease, background-color .2s ease; }
.rk-field.is-invalid .rk-check { border-color: var(--rk-danger-border); background: var(--rk-danger-bg); }
.rk-field.is-valid .rk-check { border-color: var(--rk-success-border); background: var(--rk-success-bg); }
.rk-check input { width: 18px; height: 18px; margin-top: 2px; accent-color: #3474c3; flex: 0 0 auto; }
.rk-check label { font-size: .8rem; line-height: 1.45; color: var(--rk-text); cursor: pointer; }
.rk-check a { color: var(--rk-link); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.rk-check a:hover { color: var(--rk-primary); }
.rk-submit { width: 100%; border: none; border-radius: 10px; padding: 13px 18px; font-size: .95rem; font-weight: 700; color: #fff; background: linear-gradient(135deg, #1e3d60, #3474c3); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 10px; transition: transform .15s ease, box-shadow .2s ease, opacity .2s ease; box-shadow: 0 6px 16px rgba(30,61,96,.25); }
.rk-submit:hover:not(:disabled) { transform: translateY(-1px); box-shadow: 0 10px 22px rgba(30,61,96,.3); }
.rk-submit:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(67,155,219,.28), 0 6px 16px rgba(30,61,96,.25); }
.rk-submit:disabled { opacity: .75; cursor: not-allowed; }
.rk-spinner { width: 16px; height: 16px; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; display: none; animation: rk-spin .7s linear infinite; }
.rk-submit.is-loading .rk-spinner { display: inline-block; }
.rk-note { margin: 12px 0 0; font-size: .74rem; line-height: 1.45; color: var(--rk-muted); text-align: center; }
.rk-status { margin-top: 10px; font-size: .8rem; color: var(--rk-info); text-align: center; min-height: 1.2em; }
.rk-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.rk-trap { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.rk-form.is-shaking { animation: rk-shake .4s ease; }

.rk-alert--error:has([data-validation-error]:not(:empty)) { display: flex !important; }
.rk-alert--success:has([data-success]:not(:empty)) { display: flex !important; }
.rk-field:has([data-error]:not(:empty)) .rk-msg { display: flex; }
.rk-field:has([data-error]:not(:empty)) .rk-input,
.rk-field:has([data-error]:not(:empty)) .rk-textarea { border-color: var(--rk-danger-border); background: var(--rk-danger-bg); }
.rk-field:has([data-error]:not(:empty)) .rk-check { border-color: var(--rk-danger-border); background: var(--rk-danger-bg); }
.rk-field:has([data-error]:not(:empty)) .rk-state-icon--err { display: block; }
.rk-field:has([data-error]:not(:empty)) .rk-state-icon--ok { display: none; }

@keyframes rk-spin { to { transform: rotate(360deg); } }
@keyframes rk-shake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-6px); }
  40% { transform: translateX(6px); }
  60% { transform: translateX(-4px); }
  80% { transform: translateX(4px); }
}

/* =====================================================================
   ЭКРАН УСПЕШНОЙ ОТПРАВКИ (вместо формы)
   ===================================================================== */
.rk-done {
  position: relative;
  overflow: hidden;
  padding: 30px 26px 26px;
  border-radius: 16px;
  border: 1px solid var(--rk-success-border);
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(67,155,219,.16) 0%, rgba(67,155,219,0) 55%),
    linear-gradient(165deg, #f6fbff 0%, #ecfdf3 62%, #f7fdf9 100%);
  box-shadow: 0 18px 44px rgba(6,118,71,.12), 0 2px 8px rgba(30,61,96,.06);
  text-align: center;
  opacity: 0;
  transform: translateY(14px) scale(.985);
  transition: opacity .38s ease, transform .38s cubic-bezier(.22,1,.36,1);
}
.rk-done[hidden] { display: none !important; }
.rk-done.is-visible { opacity: 1; transform: none; }
.rk-done::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, #1e3d60, #3474c3 35%, #439bdb 60%, #47cd89 100%);
}
.rk-done__glow {
  position: absolute;
  top: -90px; left: 50%;
  width: 320px; height: 320px;
  margin-left: -160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(71,205,137,.28) 0%, rgba(71,205,137,0) 68%);
  pointer-events: none;
  animation: rk-done-glow 5.5s ease-in-out infinite;
}
@keyframes rk-done-glow {
  0%, 100% { transform: scale(1); opacity: .85; }
  50% { transform: scale(1.12); opacity: 1; }
}

.rk-done__mark { position: relative; width: 74px; height: 74px; margin: 4px auto 16px; color: var(--rk-success); }
.rk-done__mark svg { position: relative; z-index: 2; width: 74px; height: 74px; display: block; }
.rk-done__circle { stroke-dasharray: 145; stroke-dashoffset: 145; opacity: .45; }
.rk-done__tick { stroke-dasharray: 44; stroke-dashoffset: 44; }
.rk-done.is-visible .rk-done__circle { animation: rk-draw .55s ease forwards; }
.rk-done.is-visible .rk-done__tick { animation: rk-draw .38s .42s cubic-bezier(.65,0,.35,1) forwards; }
@keyframes rk-draw { to { stroke-dashoffset: 0; } }

.rk-done__ring {
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(6,118,71,.35);
  opacity: 0;
}
.rk-done.is-visible .rk-done__ring { animation: rk-ring 1.5s .35s ease-out forwards; }
.rk-done.is-visible .rk-done__ring--2 { animation-delay: .62s; }
@keyframes rk-ring {
  0% { transform: scale(.75); opacity: .7; }
  100% { transform: scale(1.7); opacity: 0; }
}

.rk-done__eyebrow {
  position: relative;
  margin: 0 0 8px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--rk-success);
}
.rk-done__eyebrow span { font-variant-numeric: tabular-nums; }
.rk-done__title {
  position: relative;
  margin: 0 0 10px;
  font-size: 1.5rem;
  line-height: 1.25;
  color: var(--primary-color);
  outline: none;
}
.rk-done__title:focus-visible { text-decoration: underline; text-underline-offset: 4px; }
.rk-done__lead {
  position: relative;
  margin: 0 auto 20px;
  max-width: 46ch;
  font-size: .92rem;
  line-height: 1.55;
  color: #3f4a55;
}
.rk-done__lead b { color: var(--primary-color); font-weight: 700; }

.rk-done__steps {
  position: relative;
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  display: grid;
  gap: 10px;
  text-align: left;
}
.rk-done__steps li {
  display: grid;
  grid-template-columns: 34px 1fr;
  grid-template-rows: auto auto;
  column-gap: 12px;
  align-items: center;
  padding: 11px 13px;
  border-radius: 11px;
  border: 1px solid rgba(30,61,96,.1);
  background: rgba(255,255,255,.82);
  opacity: 0;
  transform: translateY(8px);
}
.rk-done.is-visible .rk-done__steps li { animation: rk-step-in .42s ease forwards; }
.rk-done.is-visible .rk-done__steps li:nth-child(1) { animation-delay: .5s; }
.rk-done.is-visible .rk-done__steps li:nth-child(2) { animation-delay: .62s; }
.rk-done.is-visible .rk-done__steps li:nth-child(3) { animation-delay: .74s; }
@keyframes rk-step-in { to { opacity: 1; transform: none; } }
.rk-done__step-ico {
  grid-row: 1 / span 2;
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: 9px;
  color: #1e3d60;
  background: linear-gradient(150deg, #e6f2fb, #d8f5e6);
  border: 1px solid rgba(67,155,219,.35);
}
.rk-done__step-ico svg { width: 18px; height: 18px; }
.rk-done__steps b { font-size: .84rem; color: var(--primary-color); line-height: 1.3; }
.rk-done__steps span:not(.rk-done__step-ico) { font-size: .76rem; color: var(--light-text); line-height: 1.4; }

.rk-done__actions { position: relative; display: grid; gap: 10px; margin-bottom: 14px; }
.rk-done__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 16px;
  border-radius: 10px;
  border: 1.5px solid var(--border-color);
  background: #fff;
  color: var(--primary-color);
  font-size: .88rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform .16s ease, box-shadow .2s ease, background-color .2s ease, border-color .2s ease, color .2s ease;
}
.rk-done__btn svg { width: 17px; height: 17px; flex: 0 0 auto; }
.rk-done__btn:hover { transform: translateY(-1px); border-color: var(--secondary-color); color: #10365c; box-shadow: 0 8px 18px rgba(30,61,96,.14); }
.rk-done__btn:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(67,155,219,.35); }
.rk-done__btn--primary {
  border-color: transparent;
  color: #fff;
  background: linear-gradient(135deg, #1e3d60, #3474c3);
  box-shadow: 0 8px 18px rgba(30,61,96,.24);
}
.rk-done__btn--primary:hover { color: #fff; background: linear-gradient(135deg, #16304b, #2f6fb0); }
.rk-done__btn--ghost { background: transparent; border-style: dashed; font-weight: 600; color: var(--light-text); }
.rk-done__btn--ghost:hover { background: rgba(255,255,255,.7); color: var(--primary-color); }

.rk-done__note {
  position: relative;
  margin: 0;
  font-size: .75rem;
  line-height: 1.5;
  color: var(--light-text);
}

@media (min-width: 480px) {
  .rk-done__actions { grid-template-columns: 1fr 1fr; }
  .rk-done__btn--ghost { grid-column: 1 / -1; }
}

/* =====================================================================
   ВСПЛЫВАЮЩИЕ УВЕДОМЛЕНИЯ FetchIt
   ===================================================================== */
.rk-toasts {
  position: fixed;
  top: 92px;
  right: 20px;
  z-index: 1090;
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 380px;
  max-width: calc(100vw - 32px);
  max-height: calc(100vh - 130px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 2px;
  pointer-events: none;
  scrollbar-width: thin;
  scrollbar-color: #439bdb rgba(30,61,96,.08);
}
.rk-toasts::-webkit-scrollbar { width: 8px; }
.rk-toasts::-webkit-scrollbar-track { background: rgba(30,61,96,.08); border-radius: 8px; }
.rk-toasts::-webkit-scrollbar-thumb { background: linear-gradient(180deg, #439bdb, #1e3d60); border-radius: 8px; border: 2px solid transparent; background-clip: padding-box; }
.rk-toasts::-webkit-scrollbar-thumb:hover { background: #1e3d60; background-clip: padding-box; }

.rk-toast {
  --t-fg: #175cd3;
  --t-bg: #eff8ff;
  --t-bd: #b2ddff;
  --t-rail: linear-gradient(180deg, #439bdb, #1e3d60);
  position: relative;
  pointer-events: auto;
  display: grid;
  grid-template-columns: 4px 26px 1fr 26px;
  gap: 12px;
  align-items: start;
  padding: 14px 14px 16px;
  border: 1px solid var(--t-bd);
  border-radius: 12px;
  background: var(--t-bg);
  color: var(--t-fg);
  box-shadow: 0 18px 40px rgba(30,61,96,.18), 0 2px 6px rgba(30,61,96,.08);
  overflow: hidden;
  transform: translateX(24px) scale(.97);
  opacity: 0;
  animation: rk-toast-in .34s cubic-bezier(.22,1,.36,1) forwards;
}
.rk-toast[data-type="success"] { --t-fg: #067647; --t-bg: #ecfdf3; --t-bd: #abefc6; --t-rail: linear-gradient(180deg, #47cd89, #067647); }
.rk-toast[data-type="error"]   { --t-fg: #b42318; --t-bg: #fef3f2; --t-bd: #fda29b; --t-rail: linear-gradient(180deg, #f97066, #b42318); }
.rk-toast[data-type="warning"] { --t-fg: #b54708; --t-bg: #fffaeb; --t-bd: #fedf89; --t-rail: linear-gradient(180deg, #fdb022, #b54708); }
.rk-toast[data-type="sending"] { --t-fg: #1e3d60; --t-bg: #f4f8fc; --t-bd: #b2ddff; --t-rail: linear-gradient(180deg, #439bdb, #3474c3); }
.rk-toast.is-leaving { animation: rk-toast-out .26s ease forwards; }

.rk-toast__rail { align-self: stretch; width: 4px; border-radius: 4px; background: var(--t-rail); }
.rk-toast__icon { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.75); border: 1px solid var(--t-bd); }
.rk-toast__icon svg { width: 15px; height: 15px; display: block; }
.rk-toast[data-type="sending"] .rk-toast__icon svg { animation: rk-spin .8s linear infinite; }
.rk-toast__body { min-width: 0; }
.rk-toast__title { margin: 0 0 2px; font-size: .82rem; font-weight: 700; line-height: 1.3; color: var(--t-fg); font-family: 'Roboto', sans-serif; }
.rk-toast__text { margin: 0; font-size: .8rem; line-height: 1.45; color: #3f4a55; overflow-wrap: anywhere; }
.rk-toast__close { width: 26px; height: 26px; display: grid; place-items: center; border: 1px solid transparent; border-radius: 8px; background: transparent; color: var(--t-fg); cursor: pointer; padding: 0; transition: background-color .18s ease, border-color .18s ease, transform .18s ease; }
.rk-toast__close:hover { background: rgba(255,255,255,.9); border-color: var(--t-bd); transform: rotate(90deg); }
.rk-toast__close:focus-visible { outline: none; border-color: var(--t-fg); box-shadow: 0 0 0 3px rgba(67,155,219,.3); }
.rk-toast__close svg { width: 12px; height: 12px; }
.rk-toast__timer { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--t-rail); opacity: .85; transform-origin: left center; }

@keyframes rk-toast-in {
  from { transform: translateX(24px) scale(.97); opacity: 0; }
  to   { transform: translateX(0) scale(1); opacity: 1; }
}
@keyframes rk-toast-out {
  from { transform: translateX(0) scale(1); opacity: 1; max-height: 220px; }
  to   { transform: translateX(28px) scale(.95); opacity: 0; max-height: 0; margin-bottom: -12px; padding-top: 0; padding-bottom: 0; }
}

@media (max-width: 576px) {
  .rk-form__head, .rk-form__body { padding-left: 16px; padding-right: 16px; }
  .rk-done { padding: 24px 16px 20px; }
  .rk-done__title { font-size: 1.28rem; }
  .rk-toasts {
    top: auto; bottom: 14px; right: 12px; left: 12px;
    width: auto; max-width: none; max-height: 60vh;
    flex-direction: column-reverse;
  }
  .rk-toast { transform: translateY(20px) scale(.98); }
  @keyframes rk-toast-in {
    from { transform: translateY(20px) scale(.98); opacity: 0; }
    to   { transform: translateY(0) scale(1); opacity: 1; }
  }
  @keyframes rk-toast-out {
    from { transform: translateY(0) scale(1); opacity: 1; max-height: 220px; }
    to   { transform: translateY(16px) scale(.96); opacity: 0; max-height: 0; padding-top: 0; padding-bottom: 0; }
  }
}

@media (prefers-reduced-motion: reduce) {
  .rk-form *, .rk-done, .rk-done * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .rk-toast, .rk-toast.is-leaving { animation-duration: .01ms !important; }
  .rk-toast__close:hover { transform: none; }
  .rk-done__circle, .rk-done__tick { stroke-dashoffset: 0 !important; }
  .rk-done__steps li { opacity: 1 !important; transform: none !important; }
}