@import url("./assets/fonts.css");
:root {
  --blue: #2445ff;
  --red: #ff493c;
  --ink: #15171e;
  --muted: #686a74;
  --paper: #fff;
  --surface: #f3f4f7;
  --line: #e8e9ed;
  --green: #16734e;
  --radius: 14px;
  --font: "Manrope", Arial, sans-serif;
  --shadow: 0 16px 50px #15171e18;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.5 var(--font);
  -webkit-font-smoothing: antialiased;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
  color: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  display: block;
}
svg {
  display: block;
  flex-shrink: 0;
}
.icon {
  width: 20px;
  height: 20px;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.4;
}
input,
textarea,
select {
  min-width: 0;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}
::selection {
  background: #d8dfff;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: clamp(36px, 4.6vw, 64px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -2.9px;
}
h2 {
  font-size: 30px;
  font-weight: 750;
  line-height: 1.18;
  letter-spacing: -1.1px;
}
h3 {
  font-size: 23px;
  font-weight: 750;
  line-height: 1.24;
  letter-spacing: -0.7px;
}
small,
.small {
  font-size: 13px;
  line-height: 1.5;
}
.muted {
  color: var(--muted);
}
.blue-text {
  color: var(--blue);
}
.red-text {
  color: #cb322a;
}
.eyebrow {
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.skip {
  position: fixed;
  top: -100px;
  z-index: 999;
  background: white;
  padding: 12px;
}
.skip:focus {
  top: 12px;
}
/* Navigation belongs to the page; only menus float above it. */
.header {
  height: 92px;
  max-width: 1440px;
  margin: auto;
  padding: 0 48px;
  display: flex;
  align-items: center;
  gap: 32px;
  background: white;
}
.logo {
  font-size: 27px;
  letter-spacing: -1.6px;
  font-weight: 850;
  white-space: nowrap;
}
.logo b {
  color: var(--red);
}
.nav {
  display: flex;
  gap: 28px;
  align-items: center;
  margin: auto;
}
.nav a {
  position: relative;
  padding: 18px 0;
  font-size: 14px;
  font-weight: 650;
  white-space: nowrap;
  color: var(--muted);
  transition: color 0.15s;
}
.nav a.active,
.nav a:hover {
  color: var(--ink);
}
.nav a.active:after {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--blue);
  position: absolute;
  bottom: 6px;
  left: calc(50% - 2px);
}
.account {
  position: relative;
}
.account-button {
  border: 0;
  background: transparent;
  border-radius: 8px;
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 6px 0 6px 6px;
  font-size: 13px;
  font-weight: 650;
}
.avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--blue);
  color: white;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  font-size: 12px;
  font-weight: 750;
  flex-shrink: 0;
}
.avatar.red {
  background: var(--red);
  color: var(--ink);
}
.avatar.soft {
  background: #eef1ff;
  color: var(--blue);
}
.avatar.lg {
  width: 52px;
  height: 52px;
  font-size: 16px;
}
.role-menu {
  position: absolute;
  top: 58px;
  right: 0;
  z-index: 60;
  width: 270px;
  background: white;
  border-radius: 16px;
  padding: 8px;
  box-shadow: var(--shadow);
}
.role-menu button {
  border: 0;
  background: transparent;
  width: 100%;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px;
  border-radius: 9px;
  font-size: 14px;
}
.role-menu button:hover,
.role-menu .selected {
  background: #eef1ff;
  color: var(--blue);
}
.menu-label {
  padding: 9px 13px 5px;
  font-size: 12px;
  color: var(--muted);
}
.role-menu hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 8px 10px;
}
.container {
  max-width: 1440px;
  padding: 36px 48px 72px;
  margin: auto;
}
.page-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 40px;
}
.page-head h1 {
  margin-top: 12px;
}
.page-head .muted {
  margin-top: 18px;
}
.row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.between {
  justify-content: space-between;
}
.wrap {
  flex-wrap: wrap;
}
.stack {
  display: grid;
  gap: 28px;
}
.gap8 {
  gap: 8px;
}
.btn {
  border: 0;
  border-radius: 9px;
  padding: 16px 24px;
  background: var(--ink);
  color: white;
  font-weight: 700;
  font-size: 14px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  min-height: 52px;
  line-height: 1.3;
  transition:
    background 0.18s,
    color 0.18s;
}
.btn:hover {
  background: #30333d;
}
.btn .icon,
.intro-link .icon {
  transition: transform 0.25s var(--ease);
}
.btn:hover .icon:last-child,
.intro-link:hover .icon {
  transform: translateX(3px);
}
.btn.blue {
  background: var(--blue);
}
.btn.blue:hover {
  background: #1734df;
}
.btn.red {
  background: var(--red);
  color: var(--ink);
}
.btn.white {
  background: white;
  color: var(--ink);
}
.btn.soft {
  background: var(--surface);
  color: var(--ink);
}
.btn.soft:hover {
  background: #e7e9ee;
}
.btn.outline {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px #dfe1e6;
}
.btn.outline:hover {
  background: var(--surface);
}
.btn.small {
  padding: 12px 17px;
  min-height: 44px;
  font-size: 13px;
}
.btn.full {
  width: 100%;
}
.icon-btn {
  background: var(--surface);
  border: 0;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition:
    background 0.18s,
    color 0.18s;
}
.icon-btn.active {
  color: #d63332;
}
.icon-btn.active .icon {
  fill: currentColor;
  stroke-width: 1.3;
}
.text-btn {
  border: 0;
  background: transparent;
  padding: 0;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: var(--blue);
  font-size: 14px;
  font-weight: 700;
}
.back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 26px;
}
.back:hover {
  color: var(--blue);
}
/* Two expressive elements: oversized type and our original bear pair. */
.catalog-intro {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 42px;
  margin: 12px 0 50px;
  align-items: center;
}
.intro-copy h1 {
  font-size: clamp(45px, 5.25vw, 76px);
  line-height: 1.02;
  letter-spacing: -3.9px;
  margin: 18px 0 25px;
  font-weight: 800;
}
.intro-copy h1 span {
  color: var(--blue);
}
.intro-bottom {
  display: flex;
  align-items: center;
  gap: 38px;
}
.intro-bottom p {
  color: var(--muted);
  font-size: 14px;
}
.intro-link {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  font-size: 14px;
  font-weight: 750;
}
.intro-link .icon {
  width: 42px;
  height: 42px;
  background: var(--red);
  color: var(--ink);
  padding: 11px;
  border-radius: 50%;
}
.intro-art {
  height: 280px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 14px;
  background: var(--blue);
}
.art-block {
  position: absolute;
  width: 42%;
  height: 110%;
  right: 0;
  top: 0;
  background: var(--red);
  transform: skewX(-13deg) translateX(28px);
}
.hero-bears {
  height: 310px;
  width: auto;
  max-width: none;
  object-fit: contain;
  position: absolute;
  bottom: -50px;
  right: 30px;
  z-index: 2;
}
.art-label {
  position: absolute;
  left: 18px;
  top: 18px;
  font-weight: 800;
  letter-spacing: -1px;
  color: white;
  font-size: 15px;
  line-height: 1;
  display: grid;
}
.art-label span {
  color: white;
  margin-top: 3px;
}
.search-toolbar {
  display: flex;
  gap: 12px;
  margin: 0 0 20px;
}
.search {
  display: flex;
  align-items: center;
  background: var(--surface);
  border: 0;
  border-radius: 9px;
  gap: 12px;
  padding: 0 18px;
  flex: 1;
  min-height: 54px;
}
.search input {
  border: 0;
  outline: none;
  background: transparent;
  flex: 1;
  width: 100%;
  font-size: 14px;
}
.search .icon {
  color: var(--muted);
}
select.filter {
  background: var(--surface);
  border: 0;
  border-radius: 9px;
  padding: 0 35px 0 16px;
  font-size: 14px;
  height: 54px;
  max-width: 230px;
}
.chips {
  display: flex;
  gap: 28px;
  overflow: auto;
  scrollbar-width: none;
  padding: 0 0 10px;
  margin: 0 0 22px;
}
.chips button {
  position: relative;
  border: 0;
  background: transparent;
  padding: 9px 0 14px;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
}
.chips button.active {
  color: var(--ink);
  font-weight: 800;
}
.chips button.active:after {
  content: "";
  height: 3px;
  border-radius: 2px;
  background: var(--blue);
  position: absolute;
  bottom: 3px;
  left: 0;
  right: 0;
}
.chips button:hover {
  color: var(--blue);
}
.display-toggle {
  background: var(--surface);
  border-radius: 9px;
  display: flex;
  padding: 4px;
  flex-shrink: 0;
}
.display-toggle button {
  border: 0;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 13px;
  border-radius: 6px;
  font-size: 13px;
}
.display-toggle button.active {
  background: white;
  color: var(--blue);
}
.section-head {
  margin: 35px 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}
.section-head h2 {
  font-size: 25px;
}
.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px 24px;
}
.card {
  min-width: 0;
}
.section-card {
  background: transparent;
  padding: 0;
}
.card-image {
  height: 234px;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  display: block;
  background: #e7eaf4;
}
.card-image > a {
  display: block;
  height: 100%;
}
.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.section-card:hover .card-image img {
  transform: scale(1.035);
}
.card-image .badge {
  position: absolute;
  left: 16px;
  top: 16px;
}
.card-image .favorite {
  position: absolute;
  right: 14px;
  top: 14px;
  border: 0;
  background: white;
  width: 37px;
  height: 37px;
}
.card-image .favorite .icon {
  width: 18px;
  height: 18px;
}
.card-image .free-badge {
  position: absolute;
  left: 16px;
  bottom: 16px;
  background: white;
  color: var(--ink);
  padding: 6px 10px;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 750;
}
.card-body {
  padding: 20px 0 0;
}
.card-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 7px;
}
.card-title h3 {
  font-size: 29px;
  font-weight: 800;
  letter-spacing: -1.1px;
}
.card-title .arrow {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s;
}
.card-title:hover .arrow {
  transform: translate(2px, -2px);
  color: var(--blue);
}
.card-meta {
  font-size: 13px;
  color: var(--muted);
  display: flex;
  gap: 7px;
  align-items: center;
}
.card-meta .icon {
  width: 14px;
  height: 14px;
}
.card-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 18px;
  font-size: 12px;
  gap: 10px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 9px;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.5;
  background: #eef1ff;
  color: var(--blue);
}
.badge .icon {
  width: 14px;
  height: 14px;
}
.badge.white {
  background: white;
  color: var(--ink);
}
.badge.green {
  background: #e9f5ed;
  color: var(--green);
}
.badge.red {
  background: #fff0ed;
  color: #c43b30;
}
.badge.ink {
  background: var(--ink);
  color: white;
}
.badge.dot:before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}
.progress {
  height: 6px;
  background: #edeef2;
  border-radius: 3px;
  overflow: hidden;
  width: 100%;
}
.progress span {
  display: block;
  height: 100%;
  background: var(--blue);
  border-radius: 3px;
}
.progress.red span {
  background: var(--red);
}
.progress.green span {
  background: var(--green);
}
.funding-line {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin: 22px 0 12px;
  gap: 8px;
}
.funding-line strong {
  font-size: 27px;
  letter-spacing: -1px;
  font-weight: 800;
}
.funding-line .muted {
  font-size: 12px;
}
.empty {
  padding: 60px 24px;
  text-align: center;
}
.empty > .icon {
  margin: 0 auto 22px;
  width: 35px;
  height: 35px;
  color: var(--blue);
}
.empty p {
  color: var(--muted);
  max-width: 410px;
  margin: 15px auto 25px;
  font-size: 14px;
}
.footer {
  margin-top: 64px;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
  font-size: 12px;
  gap: 20px;
}
.footer a,
.footer button {
  font-size: 12px;
  color: var(--muted);
}
/* Reading, budgets and facts stay on the page, not inside nested cards. */
.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(310px, 1fr);
  gap: 52px;
  align-items: start;
}
.two-column > * {
  min-width: 0;
}
.panel {
  padding: 12px 0;
  background: transparent;
  border: 0;
  border-radius: 0;
}
.panel h2 {
  font-size: 27px;
  margin-bottom: 20px;
}
.panel p {
  font-size: 15px;
  line-height: 1.7;
}
.panel .lead {
  font-size: 17px;
  line-height: 1.7;
}
.sticky {
  position: sticky;
  top: 24px;
}
.section-cover {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
}
.section-photo {
  width: 100%;
  height: 430px;
  object-fit: cover;
}
.section-cover:after {
  content: "";
  position: absolute;
  inset: 40% 0 0;
  background: linear-gradient(transparent, #07111bcc);
  pointer-events: none;
}
.cover-title {
  position: absolute;
  left: 28px;
  bottom: 25px;
  color: white;
  z-index: 2;
}
.cover-title > span {
  font-size: 14px;
  font-weight: 600;
}
.cover-title h1 {
  font-size: 64px;
  line-height: 1;
  margin-top: 8px;
  letter-spacing: -2.5px;
}
.cover-actions {
  position: absolute;
  top: 20px;
  right: 20px;
  display: flex;
  gap: 8px;
  z-index: 2;
}
.cover-actions .icon-btn {
  background: white;
}
.detail-location {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  margin: 18px 0 24px;
}
.detail-location .icon {
  width: 16px;
  height: 16px;
}
.detail-location > .badge {
  margin-left: auto;
}
.detail-tabs,
.tabs {
  display: flex;
  gap: 30px;
  overflow: auto;
  margin: 16px 0 30px;
  scrollbar-width: none;
}
.detail-tabs button,
.tabs button {
  white-space: nowrap;
  border: 0;
  background: transparent;
  padding: 12px 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  position: relative;
}
.detail-tabs button.active,
.tabs button.active {
  color: var(--ink);
  font-weight: 800;
}
.detail-tabs button.active:after,
.tabs button.active:after {
  content: "";
  height: 3px;
  background: var(--blue);
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 2px;
}
.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin: 28px 0;
}
.fact {
  padding: 5px 0;
}
.fact > .icon {
  width: 21px;
  height: 21px;
  margin-bottom: 14px;
  color: var(--blue);
}
.fact span {
  font-size: 12px;
  color: var(--muted);
  display: block;
}
.fact strong {
  font-weight: 750;
  font-size: 15px;
  display: block;
  margin-top: 5px;
}
.coach {
  display: flex;
  gap: 13px;
  align-items: center;
  padding: 24px 0;
}
.coach strong {
  font-size: 14px;
  display: block;
}
.coach span {
  font-size: 12px;
  color: var(--muted);
}
.need-card {
  background: var(--blue);
  color: white;
  padding: 29px;
  border-radius: 14px;
  position: relative;
  overflow: hidden;
}
.need-card .muted {
  color: #e0e5ff;
}
.need-card .progress {
  background: #ffffff32;
  margin-bottom: 16px;
}
.need-card .progress span {
  background: white;
}
.need-card h2 {
  font-size: 34px;
  line-height: 1.12;
  margin: 20px 0 28px;
  letter-spacing: -1.4px;
  max-width: 320px;
  font-weight: 800;
}
.need-card .funding-line strong {
  font-size: 34px;
}
.need-card .row {
  margin-top: 16px;
}
.need-card .tag {
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.need-card .tag i {
  width: 6px;
  height: 6px;
  background: white;
  border-radius: 50%;
}
.ticket {
  position: relative;
  padding: 30px 4px 0;
  margin-top: 8px;
}
.ticket .row {
  margin-bottom: 18px;
}
.ticket h3 {
  font-size: 23px;
}
.ticket .divider {
  height: 1px;
  background: var(--line);
  margin: 21px 0;
}
.ticket dl {
  margin: 0;
}
.ticket dt {
  color: var(--muted);
  font-size: 12px;
}
.ticket dd {
  margin: 5px 0 0;
  font-size: 14px;
  font-weight: 700;
}
.ticket .bear-stamp {
  width: 77px;
  height: 77px;
  object-fit: contain;
  margin-left: auto;
}
.budget-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 17px 0;
  font-size: 14px;
}
.budget-row + .budget-row {
  border-top: 1px solid var(--line);
}
.budget-row span {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}
.budget-row strong {
  font-weight: 700;
  white-space: nowrap;
}
.budget-row.total {
  font-weight: 800;
}
.steps {
  display: flex;
  gap: 8px;
  margin-bottom: 32px;
}
.step {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
}
.step .num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--surface);
  font-size: 12px;
}
.step .num .icon {
  width: 14px;
  height: 14px;
}
.step.active {
  color: var(--ink);
  font-weight: 700;
}
.step.active .num {
  background: var(--blue);
  color: white;
}
.step-line {
  height: 1px;
  width: 30px;
  background: var(--line);
  margin: 12px 7px;
}
.payment-layout {
  max-width: 1040px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 60px;
  align-items: start;
}
.payment-layout > .panel {
  padding: 0;
}
.payment-summary {
  padding: 0;
  background: transparent;
}
.payment-summary > img {
  height: 230px;
  border-radius: 12px;
  width: 100%;
  object-fit: cover;
}
.payment-summary .inner {
  padding: 22px 0 0;
}
.payment-summary h3 {
  font-size: 30px;
  margin: 12px 0;
}
.payment-summary .budget-row {
  font-size: 13px;
}
.segmented {
  display: flex;
  background: var(--surface);
  border-radius: 10px;
  padding: 4px;
  gap: 4px;
}
.segmented button {
  flex: 1;
  border: 0;
  background: transparent;
  border-radius: 7px;
  padding: 12px;
  font-size: 14px;
  font-weight: 650;
}
.segmented button.active {
  background: white;
  color: var(--blue);
}
.field {
  display: grid;
  gap: 9px;
  margin-top: 24px;
  font-size: 14px;
  font-weight: 650;
}
.field input,
.field textarea,
.field select {
  border: 1px solid transparent;
  border-radius: 8px;
  background: var(--surface);
  padding: 15px 16px;
  color: var(--ink);
  width: 100%;
  font-weight: 500;
  font-size: 16px;
}
.field input:focus,
.field textarea:focus {
  border-color: var(--blue);
}
.field textarea {
  resize: vertical;
  min-height: 125px;
}
.field .hint {
  font-size: 12px;
  font-weight: 400;
  color: var(--muted);
}
.amounts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 24px 0 12px;
}
.amounts button {
  border: 0;
  border-radius: 8px;
  background: var(--surface);
  padding: 14px 5px;
  font-size: 14px;
  font-weight: 650;
}
.amounts button.active {
  background: var(--blue);
  color: white;
}
.amount-input {
  position: relative;
}
.amount-input input {
  font-size: 38px;
  letter-spacing: -1.4px;
  padding: 18px 52px 18px 16px;
  font-weight: 800;
}
.amount-input span {
  position: absolute;
  right: 18px;
  top: 20px;
  font-size: 32px;
  color: var(--muted);
}
.error {
  background: #fff0ed;
  color: #bf3024;
  padding: 12px 15px;
  border-radius: 8px;
  font-size: 13px;
  margin: 15px 0;
  display: none;
}
.error:not(:empty) {
  display: block;
}
.form-bottom {
  margin-top: 30px;
}
.form-note {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
  margin-top: 15px;
  text-align: center;
}
.upload-box {
  border: 1px dashed #c6c9d6;
  border-radius: 8px;
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 20px;
  font-size: 14px;
  cursor: pointer;
}
.upload-box .icon {
  color: var(--blue);
}
.upload-box input {
  max-width: 210px;
  font-size: 12px;
}
.brand-preview {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  margin-top: 20px;
}
.brand-preview > img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}
.brand-banner {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  background: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 19px;
  gap: 15px;
  font-size: 12px;
  border-radius: 5px;
}
.brand-banner strong {
  font-size: 24px;
  color: var(--blue);
  letter-spacing: -1px;
}
.brand-logo {
  max-height: 38px;
  max-width: 100px;
  object-fit: contain;
}
/* A partnership is a choice next to its real placement preview. */
.partnership-layout {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 50px;
  align-items: start;
}
.package-list {
  display: grid;
  gap: 12px;
}
.package {
  position: relative;
  border: 0;
  background: transparent;
  border-radius: 12px;
  padding: 28px 24px 28px 16px;
  display: flex;
  gap: 20px;
  text-align: left;
  transition: background 0.2s;
  width: 100%;
  color: var(--ink);
}
.package:hover {
  background: #f7f8fb;
}
.package.selected {
  background: #eef1ff;
}
.package-index {
  font-size: 13px;
  font-weight: 650;
  color: var(--muted);
  padding-top: 5px;
}
.package-content {
  flex: 1;
  min-width: 0;
}
.package-title {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding-right: 24px;
}
.package h2 {
  font-size: 24px;
  max-width: 230px;
}
.package .price {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.8px;
  white-space: nowrap;
}
.package .description {
  font-size: 14px;
  color: var(--muted);
  margin-top: 9px;
}
.package ul {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  display: grid;
  gap: 11px;
  font-size: 13px;
}
.package:not(.selected) ul {
  display: none;
}
.package li {
  display: flex;
  gap: 9px;
  align-items: flex-start;
}
.package li .icon {
  width: 16px;
  height: 16px;
  color: var(--blue);
  margin-top: 2px;
}
.check-radio {
  position: absolute;
  right: 16px;
  top: 33px;
  border: 1px solid #cbd0dd;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.check-radio .icon {
  width: 12px;
  height: 12px;
  opacity: 0;
}
.package.selected .check-radio {
  background: var(--blue);
  border-color: var(--blue);
  color: white;
}
.package.selected .check-radio .icon {
  opacity: 1;
}
.brand-stage {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: var(--surface);
  height: 340px;
}
.brand-stage > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.preview-tag {
  position: absolute;
  left: 20px;
  top: 20px;
  background: white;
  padding: 7px 11px;
  font-size: 12px;
  font-weight: 650;
  border-radius: 5px;
  max-width: calc(100% - 40px);
}
.brand-stage .brand-banner {
  display: grid;
  gap: 5px;
  grid-template-columns: 1fr auto;
  padding: 15px 18px;
}
.brand-stage .brand-banner > span:first-child {
  grid-column: 1/-1;
  color: var(--muted);
}
.brand-stage .brand-banner strong {
  font-size: 32px;
}
.brand-sign {
  font-size: 14px;
  font-weight: 850;
  letter-spacing: -0.7px;
}
.brand-sign b {
  color: var(--red);
}
.brand-stage[data-placement="official"] .brand-banner {
  right: auto;
  min-width: 65%;
}
.brand-stage[data-placement="local"] .brand-banner {
  left: auto;
  min-width: 52%;
}
.preview-info {
  padding: 27px 0;
}
.preview-info h2 {
  font-size: 43px;
  letter-spacing: -1.6px;
  margin: 9px 0 12px;
}
.preview-info p {
  font-size: 13px;
}
.preview-info .btn {
  margin-top: 23px;
}
.preview-footnote {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  margin-top: 17px;
}
.preview-footnote .icon {
  width: 16px;
  height: 16px;
}
/* Result moments retain final, readable values throughout the animation. */
.confirmation {
  max-width: 720px;
  margin: 10px auto;
  text-align: center;
}
.confirmation h1 {
  font-size: 43px;
  margin: 30px 0 14px;
  letter-spacing: -1.7px;
}
.confirmation > .muted {
  font-size: 15px;
}
.confirmation > .row {
  justify-content: center;
}
.confirmation .result-receipt {
  text-align: left;
  margin: 28px 0;
  padding: 24px 0;
}
.result-receipt h2 {
  font-size: 20px;
  margin: 6px 0 0;
}
.result-stage {
  position: relative;
  isolation: isolate;
  background: var(--blue);
  height: 315px;
  color: white;
  border-radius: 14px;
  overflow: hidden;
  text-align: left;
}
.result-stage:before {
  content: "";
  position: absolute;
  right: -40px;
  top: 0;
  height: 100%;
  width: 35%;
  background: var(--red);
  transform: skewX(-14deg);
  z-index: -1;
}
.result-copy {
  position: relative;
  z-index: 2;
  padding: 30px 32px;
}
.result-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}
.result-status .icon {
  width: 17px;
  height: 17px;
}
.result-amount {
  font-size: 58px;
  line-height: 1.1;
  letter-spacing: -2.8px;
  font-weight: 800;
  margin: 24px 0 5px;
  transform-origin: left center;
}
.result-copy p {
  font-size: 16px;
}
.result-bears {
  position: absolute;
  height: 265px;
  bottom: 42px;
  right: 2px;
  z-index: 1;
  max-width: none;
  object-fit: contain;
}
.result-progress {
  position: absolute;
  bottom: 26px;
  left: 32px;
  right: 32px;
  z-index: 3;
  font-size: 13px;
}
.result-progress strong {
  color: var(--ink);
}
.result-progress .progress {
  background: #ffffff35;
  margin-top: 13px;
  height: 7px;
}
.result-progress .progress span {
  background: white;
}
.result-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 4;
  overflow: hidden;
}
.result-particles i {
  position: absolute;
  width: 7px;
  height: 14px;
  background: white;
  left: calc(9% + var(--i) * 9%);
  top: 30%;
  opacity: 0;
}
.result-particles i:nth-child(even) {
  background: var(--red);
  height: 7px;
  width: 7px;
  border-radius: 50%;
}
.check-mark {
  width: 37px;
  height: 37px;
  background: #e9f5ed;
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex-shrink: 0;
}
.enrollment-art {
  height: 265px;
  position: relative;
  background: #eef1ff;
  border-radius: 14px;
  overflow: hidden;
  isolation: isolate;
  margin-bottom: 28px;
}
.enrollment-art:before {
  content: "";
  position: absolute;
  width: 45%;
  height: 100%;
  background: var(--blue);
  right: -30px;
  transform: skewX(-14deg);
  z-index: -1;
}
.enrollment-art .result-bears {
  height: 278px;
  bottom: -25px;
  right: 30px;
}
.enrollment-date {
  position: absolute;
  left: 44px;
  top: 40px;
  bottom: 30px;
  text-align: left;
  transform-origin: bottom left;
}
.enrollment-date > span {
  display: block;
  font-size: 13px;
  color: var(--blue);
  font-weight: 650;
}
.enrollment-date strong {
  font-size: 104px;
  line-height: 1.08;
  letter-spacing: -6px;
  font-weight: 800;
}
.enrollment-date i {
  position: absolute;
  right: -48px;
  bottom: 38px;
  background: var(--blue);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
}
.is-celebrating .result-bears {
  animation: bear-arrive 800ms var(--ease) both;
}
.is-celebrating .result-amount {
  animation: amount-arrive 700ms var(--ease) both;
}
.is-celebrating .result-particles i {
  animation: result-particle 1050ms var(--ease) both;
  animation-delay: calc(200ms + var(--i) * 24ms);
}
.is-celebrating .enrollment-date {
  animation: ticket-arrive 650ms var(--ease) both;
}
.is-celebrating .enrollment-date i {
  animation: check-arrive 550ms var(--ease) 260ms both;
}
@keyframes bear-arrive {
  from {
    opacity: 0;
    transform: translateY(45px) rotate(3deg);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotate(0);
  }
}
@keyframes amount-arrive {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.94);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@keyframes ticket-arrive {
  from {
    opacity: 0;
    transform: translateY(26px) rotate(-7deg);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotate(0);
  }
}
@keyframes check-arrive {
  0% {
    transform: scale(0);
  }
  70% {
    transform: scale(1.15);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes result-particle {
  0% {
    opacity: 0;
    transform: translateY(45px) rotate(0);
  }
  20% {
    opacity: 0.9;
  }
  100% {
    opacity: 0;
    transform: translateY(calc(-100px - var(--i) * 8px))
      rotate(calc(var(--i) * 47deg));
  }
}
/* Reporting and coach tools use open columns and aligned values. */
.timeline {
  display: grid;
  gap: 0;
}
.timeline-item {
  position: relative;
  padding: 0 0 26px 30px;
  font-size: 14px;
}
.timeline-item:before {
  content: "";
  position: absolute;
  width: 9px;
  height: 9px;
  background: #dcdfe7;
  border-radius: 50%;
  left: 0;
  top: 6px;
}
.timeline-item.done:before {
  background: var(--blue);
}
.timeline-item:after {
  content: "";
  width: 1px;
  position: absolute;
  left: 4px;
  top: 22px;
  bottom: 5px;
  background: var(--line);
}
.timeline-item:last-child:after {
  display: none;
}
.timeline-item:last-child {
  padding-bottom: 0;
}
.timeline-item strong {
  font-weight: 700;
}
.timeline-item p {
  font-size: 13px;
  color: var(--muted);
  margin-top: 5px;
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
  margin: 34px 0 42px;
}
.stat {
  padding: 5px 0;
  background: transparent;
}
.stat .value {
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1.1;
  margin: 15px 0 9px;
}
.stat .label {
  font-size: 13px;
  color: var(--muted);
}
.stat .badge {
  padding: 0;
  background: none;
  color: var(--muted);
  font-weight: 500;
  font-size: 13px;
}
.stat.primary .value {
  color: var(--blue);
}
.list-card {
  display: flex;
  gap: 22px;
  padding: 12px 0;
  align-items: center;
  min-width: 0;
}
.list-card > img {
  width: 128px;
  height: 108px;
  object-fit: cover;
  border-radius: 10px;
  flex-shrink: 0;
}
.list-card .list-info {
  flex: 1;
  min-width: 0;
}
.list-card h3 {
  font-size: 24px;
  margin: 7px 0;
}
.list-card .muted {
  font-size: 13px;
}
.list-card .end {
  text-align: right;
  margin-left: auto;
}
.list-card .amount {
  font-size: 26px;
  letter-spacing: -0.9px;
  font-weight: 750;
  margin-bottom: 9px;
}
.table-wrap {
  overflow: auto;
}
.data-table {
  border-collapse: collapse;
  width: 100%;
  min-width: 570px;
}
.data-table th {
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
}
.data-table td {
  font-size: 14px;
  padding: 20px 14px;
  border-bottom: 1px solid var(--line);
}
.data-table tr:last-child td {
  border-bottom: 0;
}
.data-table .right {
  text-align: right;
}
.rank-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 21px 0;
}
.rank-row + .rank-row {
  border-top: 1px solid var(--line);
}
.rank-number {
  font-size: 27px;
  font-weight: 750;
  letter-spacing: -1px;
  width: 34px;
  color: var(--muted);
}
.rank-number.first {
  color: var(--blue);
}
.brand-circle {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: #eef1ff;
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
  flex-shrink: 0;
}
.rank-row .brand-name {
  font-size: 15px;
  font-weight: 750;
}
.rank-row .muted {
  font-size: 12px;
}
.rank-row .value {
  margin-left: auto;
  font-size: 17px;
  font-weight: 750;
  white-space: nowrap;
}
.report-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 30px 0;
  min-height: 250px;
  margin-bottom: 25px;
}
.report-hero h1 {
  max-width: 75%;
  font-size: 48px;
  margin: 18px 0;
  line-height: 1.05;
}
.report-hero p {
  color: var(--muted);
  font-size: 15px;
}
.report-hero > img {
  position: absolute;
  height: 225px;
  right: 0;
  bottom: 0;
  z-index: -1;
}
.report-thumb {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 24px;
}
.map-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 38px;
  align-items: start;
}
.map-panel {
  padding: 25px;
  background: #f3f6fc;
  border-radius: 14px;
  min-height: 460px;
}
.map-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}
.map-title h2 {
  font-size: 25px;
}
.russia-map {
  width: 100%;
  height: 330px;
  overflow: visible;
  margin: 15px 0;
}
.russia-map path {
  stroke: white;
  stroke-width: 1.1;
  cursor: pointer;
  transition:
    fill 0.25s,
    stroke 0.15s;
}
.russia-map path:hover,
.russia-map path:focus-visible {
  stroke: var(--blue);
  stroke-width: 2;
  outline: none;
}
.russia-map path.selected {
  stroke: var(--blue);
  stroke-width: 3;
}
.map-legend {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 12px;
  align-items: center;
}
.legend-item {
  display: flex;
  align-items: center;
  gap: 7px;
}
.legend-item i {
  width: 8px;
  height: 8px;
  border-radius: 2px;
}
.region-list {
  display: grid;
  gap: 4px;
  margin-top: 19px;
}
.region-btn {
  background: transparent;
  border: 0;
  border-radius: 8px;
  text-align: left;
  padding: 14px 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 13px;
}
.region-btn.active {
  background: #eef1ff;
  color: var(--blue);
}
.region-dot {
  height: 7px;
  width: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}
.region-amount {
  font-size: 13px;
  font-weight: 750;
  white-space: nowrap;
}
.city-map {
  border-radius: 12px;
  overflow: hidden;
  height: 550px;
  background: #e8edf0;
  position: relative;
}
.map-view-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 30px;
  align-items: start;
}
.map-view-grid .section-card {
  display: flex;
  gap: 18px;
  align-items: center;
}
.map-view-grid .card-image {
  width: 155px;
  height: 160px;
  flex-shrink: 0;
}
.map-view-grid .card-body {
  flex: 1;
  padding: 0;
}
.map-view-grid .card-meta {
  flex-wrap: wrap;
}
.map-view-grid .card-bottom {
  font-size: 12px;
  flex-wrap: wrap;
}
.leaflet-canvas {
  height: 100%;
  width: 100%;
  z-index: 1;
}
.leaflet-container {
  font-family: var(--font);
  background: #e9eef1;
}
.leaflet-popup-content-wrapper {
  border-radius: 12px;
}
.map-popup {
  padding: 3px 2px;
  min-width: 170px;
}
.map-popup > span {
  font-size: 12px;
  color: var(--muted);
}
.map-popup > strong {
  display: block;
  font-size: 20px;
  margin-top: 6px;
}
.map-popup p {
  font-size: 12px;
  margin: 8px 0 12px;
}
.map-popup a {
  font-size: 13px;
  color: var(--blue);
  font-weight: 650;
}
.leaflet-control-attribution {
  font-size: 10px !important;
}
.leaflet-popup-close-button {
  margin: 4px;
}
.story-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.story-card {
  position: relative;
  height: 450px;
  border-radius: 12px;
  overflow: hidden;
  background: #ddd;
  display: block;
}
.story-card > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.story-card:hover > img {
  transform: scale(1.04);
}
.story-card:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 25%, #060b17d9);
}
.story-card .story-copy {
  position: absolute;
  bottom: 28px;
  left: 26px;
  right: 26px;
  z-index: 1;
  color: white;
}
.story-copy h2 {
  font-size: 33px;
  letter-spacing: -1.2px;
  margin-top: 13px;
}
.story-copy .meta {
  font-size: 12px;
  margin-top: 17px;
}
.story-card .story-index {
  position: absolute;
  left: 24px;
  top: 24px;
  color: white;
  font-size: 12px;
  z-index: 2;
}
.story-detail {
  max-width: 1060px;
  margin: auto;
}
.story-detail .cover {
  height: 500px;
  border-radius: 14px;
  width: 100%;
  object-fit: cover;
}
.story-article {
  max-width: 690px;
  margin: 38px auto;
}
.story-article h1 {
  font-size: 50px;
  margin: 20px 0 27px;
}
.story-article p {
  font-size: 17px;
  line-height: 1.85;
  margin: 20px 0;
}
.story-article .story-action {
  margin: 35px 0;
  padding: 28px;
  background: #eef1ff;
  border-radius: 12px;
}
.story-update {
  margin: 40px 0;
}
.story-update time {
  font-size: 12px;
  color: var(--muted);
}
.story-update h3 {
  margin-top: 10px;
}
.application-card {
  padding: 8px 0 24px;
}
.application-card + .application-card {
  border-top: 1px solid var(--line);
  padding-top: 28px;
}
.application-card .top {
  display: flex;
  gap: 20px;
  align-items: center;
  padding-bottom: 18px;
}
.application-card .top > img {
  height: 108px;
  width: 125px;
  object-fit: cover;
  border-radius: 10px;
}
.application-card .top h3 {
  margin: 9px 0;
}
.application-card .bottom {
  padding: 13px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}
.application-card .bottom .muted {
  font-size: 13px;
}
.coach-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 50px;
}
.coach-side {
  padding: 0;
  position: sticky;
  top: 24px;
}
.coach-side .label {
  padding: 8px 12px 22px;
  font-size: 12px;
  color: var(--muted);
}
.coach-side button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: transparent;
  border: 0;
  text-align: left;
  padding: 14px 12px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 8px;
  margin-bottom: 4px;
}
.coach-side button.active {
  background: #eef1ff;
  color: var(--blue);
}
.coach-side .counter {
  background: var(--blue);
  color: white;
  border-radius: 12px;
  font-size: 12px;
  padding: 1px 7px;
}
.coach-head {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-bottom: 28px;
  padding: 0 0 12px;
}
.coach-head img {
  width: 105px;
  height: 90px;
  object-fit: cover;
  border-radius: 10px;
}
.coach-head h2 {
  font-size: 32px;
}
.coach-head .muted {
  font-size: 13px;
  margin-top: 6px;
}
.coach-head select {
  max-width: 240px;
  margin-left: auto;
}
.info-banner {
  padding: 18px;
  background: #f0f3ff;
  border-radius: 8px;
  display: flex;
  gap: 13px;
  align-items: flex-start;
  font-size: 14px;
  color: #203991;
}
.info-banner > .icon {
  width: 21px;
  height: 21px;
  flex-shrink: 0;
}
.info-banner p {
  font-size: 13px;
  margin-top: 5px;
  color: #52628b;
}
.checklist {
  display: grid;
  gap: 16px;
  margin: 25px 0;
  font-size: 14px;
}
.checklist > div {
  display: flex;
  gap: 10px;
  align-items: center;
}
.checklist .icon {
  width: 18px;
  height: 18px;
  color: var(--blue);
}
.inline-status {
  font-size: 13px;
  color: var(--green);
}
.funded-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #e9f5ed;
  padding: 16px;
  border-radius: 8px;
  color: var(--green);
  font-size: 13px;
}
.month-label {
  background: #eef1ff;
  padding: 5px 9px;
  border-radius: 5px;
  color: var(--blue);
  font-size: 12px;
}
.calendar-date {
  background: #eef1ff;
  color: var(--blue);
  border-radius: 8px;
  padding: 17px;
  text-align: center;
  min-width: 55px;
}
.calendar-date strong {
  display: block;
  font-size: 28px;
  line-height: 1.1;
}
.calendar-date span {
  font-size: 12px;
}
.capacity {
  height: 60px;
  display: flex;
  gap: 5px;
  align-items: end;
  margin: 22px 0;
}
.capacity i {
  height: 100%;
  flex: 1;
  background: #e2e7ff;
  border-radius: 3px;
}
.capacity i.used {
  background: var(--blue);
}
#toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  transform: translate(-50%, 12px);
  opacity: 0;
  pointer-events: none;
  background: var(--ink);
  color: white;
  padding: 16px 24px;
  border-radius: 10px;
  box-shadow: var(--shadow);
  z-index: 150;
  font-size: 14px;
  max-width: min(90vw, 560px);
  transition:
    transform 0.25s var(--ease),
    opacity 0.2s;
}
#toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
dialog {
  padding: 32px;
  border: 0;
  border-radius: 16px;
  box-shadow: var(--shadow);
  max-width: 600px;
  width: calc(100% - 32px);
  max-height: 90dvh;
  overflow: auto;
  background: white;
  color: var(--ink);
}
dialog[open] {
  animation: dialog-enter 0.24s var(--ease);
}
@keyframes dialog-enter {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
dialog::backdrop {
  background: #11162b66;
}
dialog .modal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}
dialog .modal-head h2 {
  font-size: 27px;
}
dialog .modal-close {
  width: 40px;
  height: 40px;
}
dialog p {
  font-size: 14px;
  color: var(--muted);
}
.guide-steps {
  display: grid;
  gap: 6px;
  margin-top: 24px;
}
.guide-step {
  padding: 16px 0;
  display: flex;
  gap: 16px;
  align-items: center;
}
.guide-step .num {
  font-size: 24px;
  color: var(--blue);
  letter-spacing: -1px;
  min-width: 30px;
}
.guide-step h3 {
  font-size: 15px;
  letter-spacing: 0;
  margin-bottom: 5px;
}
.guide-step p {
  font-size: 12px;
}
.guide-step button {
  margin-left: auto;
  flex-shrink: 0;
}
.mobile-nav {
  display: none;
}
@media (min-width: 1600px) {
  .container {
    padding-top: 45px;
  }
  .card-image {
    height: 250px;
  }
  .intro-art {
    height: 300px;
  }
  .hero-bears {
    height: 335px;
  }
}
@media (max-width: 1150px) {
  .header {
    padding: 0 30px;
    gap: 26px;
  }
  .nav {
    gap: 18px;
  }
  .nav a {
    font-size: 13px;
  }
  .account-button .role-name {
    display: none;
  }
  .container {
    padding: 30px 30px 70px;
  }
  .intro-copy h1 {
    font-size: 57px;
  }
  .catalog-intro {
    gap: 25px;
    grid-template-columns: 1.35fr 1fr;
  }
  .intro-bottom {
    gap: 20px;
  }
  .intro-link {
    font-size: 12px;
    gap: 10px;
  }
  .intro-art {
    height: 265px;
  }
  .hero-bears {
    height: 280px;
    right: 5px;
    bottom: -30px;
  }
  .two-column {
    gap: 32px;
    grid-template-columns: minmax(0, 1.5fr) minmax(300px, 1fr);
  }
  .section-photo {
    height: 385px;
  }
  .card-image {
    height: 205px;
  }
  .partnership-layout {
    gap: 25px;
  }
  .package {
    padding: 24px 20px 24px 12px;
    gap: 12px;
  }
  .package-title {
    display: block;
    padding-right: 14px;
  }
  .package .price {
    display: block;
    margin-top: 9px;
  }
  .brand-stage {
    height: 320px;
  }
  .need-card {
    padding: 25px;
  }
  .need-card h2 {
    font-size: 30px;
  }
  .need-card .funding-line strong {
    font-size: 29px;
  }
  .coach-layout {
    gap: 30px;
    grid-template-columns: 190px 1fr;
  }
  .map-layout {
    gap: 25px;
    grid-template-columns: 1fr 280px;
  }
  .stat .value {
    font-size: 40px;
  }
}
@media (max-width: 800px) {
  html {
    scroll-padding-bottom: 105px;
  }
  button,
  a,
  input,
  select,
  textarea {
    scroll-margin-block: 24px 105px;
  }
  .header {
    height: 78px;
    padding: 0 24px;
  }
  .nav {
    display: none;
  }
  .account {
    margin-left: auto;
  }
  .account-button .role-name {
    display: block;
  }
  .container {
    padding: 24px 24px 120px;
  }
  .catalog-intro {
    gap: 24px;
    margin: 8px 0 35px;
  }
  .intro-copy h1 {
    font-size: 46px;
    letter-spacing: -2.6px;
    margin-top: 15px;
  }
  .intro-art {
    height: 255px;
  }
  .hero-bears {
    height: 258px;
    right: -20px;
    bottom: -25px;
  }
  .intro-bottom {
    display: grid;
    gap: 17px;
  }
  .intro-link {
    font-size: 13px;
    justify-content: flex-start;
  }
  .intro-link .icon {
    width: 34px;
    height: 34px;
    padding: 8px;
  }
  .intro-bottom p {
    font-size: 13px;
  }
  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 20px;
  }
  .card-image {
    height: 220px;
  }
  .two-column {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .sticky {
    position: static;
  }
  .two-column .side-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  .ticket {
    padding-top: 14px;
    margin-top: 0;
  }
  .section-photo {
    height: 400px;
  }
  .payment-layout {
    grid-template-columns: 1fr;
    max-width: 650px;
    gap: 30px;
  }
  .payment-summary {
    display: flex;
    gap: 20px;
  }
  .payment-summary > img {
    width: 145px;
    height: 155px;
  }
  .payment-summary .inner {
    padding: 0;
    flex: 1;
  }
  .payment-summary .budget-row,
  .payment-summary .summary-detail {
    display: none;
  }
  .payment-summary h3 {
    font-size: 24px;
    margin: 7px 0;
  }
  .payment-summary .funding-line {
    margin-top: 12px;
  }
  .payment-summary .funding-line strong {
    font-size: 22px;
  }
  .payment-layout .payment-summary {
    order: -1;
  }
  .map-layout {
    grid-template-columns: 1fr;
  }
  .map-panel {
    min-height: 400px;
  }
  .russia-map {
    height: 290px;
  }
  .map-layout > .panel .region-list {
    grid-template-columns: 1fr 1fr;
  }
  .map-view-grid {
    grid-template-columns: 1fr;
  }
  .city-map {
    height: 400px;
    order: -1;
  }
  .story-grid {
    gap: 16px;
  }
  .story-card {
    height: 380px;
  }
  .story-copy h2 {
    font-size: 25px;
  }
  .story-card .story-copy {
    left: 20px;
    right: 20px;
    bottom: 24px;
  }
  .coach-layout {
    grid-template-columns: 1fr;
  }
  .coach-side {
    position: static;
    display: flex;
    overflow: auto;
    gap: 5px;
  }
  .coach-side .label {
    display: none;
  }
  .coach-side button {
    width: auto;
    flex-shrink: 0;
    gap: 10px;
    margin: 0;
  }
  .coach-head {
    flex-wrap: wrap;
  }
  .coach-head select {
    margin-left: 0;
    width: 100%;
    max-width: none;
    height: 46px;
  }
  .mobile-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-around;
    background: white;
    color: var(--muted);
    z-index: 50;
    padding: 8px 7px;
    padding-bottom: max(8px, env(safe-area-inset-bottom));
    box-shadow: 0 -8px 25px #15171e08;
  }
  .mobile-nav a {
    position: relative;
    font-size: 11px;
    font-weight: 600;
    display: grid;
    justify-items: center;
    gap: 5px;
    padding: 8px 5px;
    min-width: 58px;
  }
  .mobile-nav a .icon {
    width: 21px;
    height: 21px;
  }
  .mobile-nav a.active {
    color: var(--blue);
  }
  .mobile-nav a.active:before {
    content: "";
    width: 24px;
    height: 3px;
    border-radius: 2px;
    background: var(--blue);
    position: absolute;
    top: -5px;
    left: calc(50% - 12px);
  }
  .footer {
    margin-top: 40px;
  }
  .footer > span:last-child {
    display: none;
  }
  #toast {
    bottom: 96px;
  }
  .partnership-layout {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  .package {
    padding: 22px 15px;
    gap: 10px;
  }
  .package-index {
    display: none;
  }
  .package h2 {
    font-size: 22px;
    padding-right: 8px;
  }
  .package .description {
    font-size: 13px;
  }
  .package ul {
    font-size: 12px;
  }
  .brand-stage {
    height: 290px;
  }
  .brand-stage .brand-banner {
    left: 14px;
    right: 14px;
    bottom: 14px;
    padding: 13px;
  }
  .brand-stage .brand-banner strong {
    font-size: 25px;
  }
  .brand-sign {
    font-size: 12px;
  }
  .report-hero h1 {
    font-size: 43px;
    max-width: 65%;
  }
  .report-hero > img {
    height: 225px;
    right: -15px;
  }
  .report-hero p {
    max-width: 62%;
    font-size: 14px;
  }
}
@media (max-width: 540px) {
  h1 {
    font-size: 37px;
    letter-spacing: -1.6px;
  }
  h2 {
    font-size: 27px;
  }
  .header {
    padding: 0 20px;
    height: 72px;
  }
  .logo {
    font-size: 25px;
  }
  .account-button {
    gap: 7px;
  }
  .account-button .role-name {
    font-size: 12px;
    max-width: 92px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .account-button .avatar {
    width: 30px;
    height: 30px;
    font-size: 11px;
  }
  .account-button > .icon {
    width: 14px;
  }
  .container {
    padding: 18px 20px 105px;
  }
  .catalog-intro {
    display: block;
    position: relative;
    margin: 7px 0 32px;
  }
  .intro-copy {
    position: relative;
    z-index: 2;
  }
  .intro-copy > .eyebrow {
    font-size: 11px;
    letter-spacing: 0.7px;
  }
  .intro-copy h1 {
    font-size: 43px;
    letter-spacing: -2.5px;
    margin: 14px 0 22px;
    line-height: 1.04;
  }
  .intro-bottom {
    width: 58%;
    gap: 18px;
    min-height: 108px;
    justify-content: start;
    align-content: start;
  }
  .intro-bottom p {
    font-size: 12px;
    line-height: 1.6;
  }
  .intro-link {
    font-size: 12px;
    gap: 8px;
    white-space: nowrap;
  }
  .intro-link .icon {
    width: 31px;
    height: 31px;
    padding: 7px;
  }
  .intro-art {
    position: absolute;
    width: 43%;
    height: 124px;
    right: 0;
    bottom: -2px;
    background: transparent;
    overflow: visible;
    z-index: 1;
  }
  .art-block {
    display: none;
  }
  .hero-bears {
    height: 135px;
    bottom: -5px;
    right: -6px;
  }
  .art-label {
    display: none;
  }
  .search-toolbar {
    gap: 8px;
    flex-wrap: wrap;
    margin: 0 0 15px;
  }
  .search {
    flex-basis: 100%;
    min-height: 49px;
  }
  .search input {
    font-size: 13px;
  }
  select.filter {
    flex: 1;
    height: 44px;
    font-size: 12px;
    max-width: none;
    padding-left: 12px;
    padding-right: 21px;
  }
  .display-toggle {
    margin-left: auto;
    padding: 3px;
  }
  .display-toggle button {
    padding: 7px 10px;
  }
  .display-toggle button span {
    display: none;
  }
  .display-toggle .icon {
    width: 18px;
    height: 18px;
  }
  .chips {
    gap: 24px;
    margin: 0 0 8px;
    padding-bottom: 5px;
  }
  .chips button {
    font-size: 13px;
    padding: 10px 0 13px;
  }
  .section-head {
    margin: 25px 0 18px;
  }
  .section-head h2 {
    font-size: 23px;
  }
  .section-head .muted {
    font-size: 12px;
  }
  .grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .card-image {
    height: 220px;
    border-radius: 10px;
  }
  .card-body {
    padding: 17px 0 0;
  }
  .card-title h3 {
    font-size: 28px;
  }
  .card-bottom {
    margin-top: 14px;
    font-size: 12px;
  }
  .page-head {
    align-items: flex-start;
    margin-bottom: 29px;
    gap: 13px;
  }
  .page-head .btn {
    padding: 11px 14px;
    min-height: 42px;
    font-size: 12px;
  }
  .page-head .eyebrow {
    font-size: 11px;
  }
  .page-head .muted {
    font-size: 14px;
    margin-top: 15px;
  }
  .page-head > .badge {
    font-size: 11px;
    white-space: nowrap;
  }
  .panel {
    padding: 10px 0;
  }
  .panel h2 {
    font-size: 25px;
  }
  .panel .lead {
    font-size: 16px;
  }
  .panel p {
    font-size: 14px;
  }
  .back {
    margin-bottom: 20px;
    font-size: 13px;
  }
  .section-photo {
    height: 300px;
  }
  .cover-title {
    left: 23px;
    bottom: 21px;
  }
  .cover-title h1 {
    font-size: 51px;
  }
  .cover-title > span {
    font-size: 13px;
  }
  .cover-actions {
    top: 16px;
    right: 16px;
    gap: 7px;
  }
  .cover-actions .icon-btn {
    width: 38px;
    height: 38px;
  }
  .detail-location {
    font-size: 12px;
    gap: 6px;
    flex-wrap: wrap;
  }
  .detail-location > .badge {
    margin-left: 0;
  }
  .detail-tabs {
    gap: 28px;
    margin: 18px 0 24px;
  }
  .detail-tabs button {
    font-size: 13px;
  }
  .facts {
    gap: 12px;
    margin: 25px 0;
  }
  .fact strong {
    font-size: 13px;
  }
  .fact span {
    font-size: 12px;
  }
  .fact > .icon {
    margin-bottom: 12px;
    width: 20px;
    height: 20px;
  }
  .coach strong {
    font-size: 13px;
  }
  .coach .badge {
    font-size: 11px;
  }
  .two-column {
    gap: 30px;
  }
  .two-column .side-column {
    display: flex;
    flex-direction: column;
    gap: 22px;
  }
  .need-card {
    padding: 26px;
  }
  .need-card h2 {
    max-width: 100%;
    font-size: 32px;
  }
  .need-card .funding-line strong {
    font-size: 32px;
  }
  .ticket {
    padding: 7px 0;
  }
  .payment-summary {
    gap: 17px;
  }
  .payment-summary > img {
    width: 108px;
    height: 137px;
    border-radius: 9px;
  }
  .payment-summary .inner {
    padding: 0;
    min-width: 0;
  }
  .payment-summary h3 {
    font-size: 23px;
    margin: 7px 0;
  }
  .payment-summary .badge {
    font-size: 11px;
    padding: 4px 6px;
  }
  .payment-summary .small {
    font-size: 12px;
  }
  .payment-summary .funding-line strong {
    font-size: 20px;
  }
  .payment-summary .funding-line {
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 10px;
  }
  .payment-summary .funding-line .muted {
    font-size: 11px;
  }
  .payment-summary .progress {
    height: 4px;
  }
  .steps {
    gap: 2px;
    margin-bottom: 25px;
  }
  .step {
    font-size: 12px;
    gap: 5px;
  }
  .step-line {
    width: 12px;
    margin: 12px 5px;
  }
  .step .num {
    width: 22px;
    height: 22px;
  }
  .amounts {
    gap: 7px;
  }
  .amounts button {
    font-size: 13px;
    padding: 13px 3px;
  }
  .field {
    font-size: 14px;
    margin-top: 22px;
  }
  .field input,
  .field select,
  .field textarea {
    font-size: 16px;
  }
  .amount-input input {
    font-size: 33px;
  }
  .form-bottom {
    margin-top: 25px;
  }
  .partnership-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .package-list {
    gap: 8px;
  }
  .package {
    padding: 22px 18px;
    gap: 13px;
  }
  .package-index {
    display: block;
    font-size: 12px;
  }
  .package-title {
    display: block;
    padding-right: 15px;
  }
  .package h2 {
    font-size: 23px;
    max-width: none;
  }
  .package .price {
    font-size: 25px;
    margin-top: 8px;
  }
  .package .description {
    font-size: 13px;
  }
  .package ul {
    gap: 9px;
    font-size: 13px;
    margin-top: 16px;
  }
  .check-radio {
    top: 26px;
    right: 16px;
  }
  .brand-stage {
    height: 320px;
  }
  .brand-stage .brand-banner {
    left: 18px;
    right: 18px;
    bottom: 18px;
    padding: 16px;
  }
  .brand-stage .brand-banner strong {
    font-size: 29px;
  }
  .preview-info {
    padding: 23px 0;
  }
  .preview-info h2 {
    font-size: 39px;
  }
  .stats {
    gap: 20px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 28px 0 32px;
  }
  .stats > .stat:first-child {
    grid-column: 1/-1;
  }
  .stats > .stat:first-child .value {
    font-size: 48px;
  }
  .stat .value {
    font-size: 37px;
    letter-spacing: -1.5px;
    margin-top: 10px;
    white-space: nowrap;
  }
  .stat .label,
  .stat .badge {
    font-size: 12px;
  }
  .list-card {
    padding: 10px 0;
    gap: 16px;
    flex-wrap: wrap;
  }
  .list-card > img {
    height: 90px;
    width: 100px;
    border-radius: 9px;
  }
  .list-card h3 {
    font-size: 23px;
  }
  .list-card .muted {
    font-size: 12px;
  }
  .list-card .end {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 9px;
  }
  .list-card .amount {
    font-size: 24px;
    margin: 0;
  }
  .list-card .btn {
    font-size: 12px;
    padding: 11px 14px;
  }
  .tabs {
    gap: 25px;
    margin-bottom: 22px;
  }
  .tabs button {
    font-size: 13px;
    padding: 12px 0;
  }
  .report-hero {
    padding: 16px 0;
    min-height: 0;
    margin-bottom: 10px;
  }
  .report-hero h1 {
    font-size: 35px;
    max-width: 100%;
    letter-spacing: -1.7px;
    margin-top: 50px;
  }
  .report-hero > img {
    height: 88px;
    top: 0;
    bottom: auto;
    right: 0;
  }
  .report-hero p {
    font-size: 13px;
    max-width: 100%;
  }
  .rank-row {
    gap: 10px;
  }
  .rank-row .value {
    font-size: 14px;
  }
  .rank-row .brand-name {
    font-size: 14px;
  }
  .rank-row .muted {
    font-size: 11px;
  }
  .brand-circle {
    height: 33px;
    width: 33px;
    border-radius: 7px;
    font-size: 15px;
  }
  .rank-number {
    font-size: 24px;
    width: 27px;
  }
  .map-panel {
    padding: 20px 14px;
    min-height: 340px;
    border-radius: 12px;
  }
  .map-title h2 {
    font-size: 21px;
  }
  .russia-map {
    height: 215px;
    margin: 13px 0;
  }
  .map-legend {
    gap: 10px;
    font-size: 11px;
  }
  .legend-item {
    gap: 5px;
  }
  .map-layout > .panel .region-list {
    grid-template-columns: 1fr;
  }
  .map-layout {
    gap: 23px;
  }
  .map-view-grid .card-image {
    height: 158px;
    width: 120px;
  }
  .map-view-grid .section-card {
    gap: 14px;
  }
  .map-view-grid .card-title h3 {
    font-size: 23px;
  }
  .map-view-grid .card-image .badge {
    font-size: 10px;
    left: 7px;
    top: 8px;
    padding: 4px 6px;
  }
  .map-view-grid .card-image .favorite {
    width: 29px;
    height: 29px;
    right: 6px;
    top: 38px;
  }
  .map-view-grid .card-image .free-badge {
    display: none;
  }
  .map-view-grid .card-meta {
    font-size: 12px;
    gap: 4px;
  }
  .map-view-grid .card-bottom {
    font-size: 11px;
  }
  .map-view-grid .card-title .arrow {
    width: 25px;
    height: 25px;
  }
  .story-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .story-card {
    height: 400px;
  }
  .story-copy h2 {
    font-size: 33px;
  }
  .story-detail .cover {
    height: 280px;
    border-radius: 10px;
  }
  .story-article {
    margin-top: 28px;
  }
  .story-article h1 {
    font-size: 38px;
    letter-spacing: -1.7px;
  }
  .story-article p {
    font-size: 16px;
  }
  .story-article .story-action {
    padding: 23px;
  }
  .story-action .btn {
    font-size: 13px;
    padding: 14px 17px;
  }
  .application-card .top {
    gap: 17px;
  }
  .application-card .top > img {
    height: 95px;
    width: 91px;
  }
  .application-card .top h3 {
    font-size: 23px;
  }
  .application-card .top .small {
    font-size: 12px;
  }
  .application-card .bottom {
    flex-wrap: wrap;
  }
  .application-card .bottom .btn {
    font-size: 13px;
    padding: 12px 15px;
  }
  .application-card .bottom .text-btn {
    font-size: 13px;
  }
  .confirmation {
    margin-top: 8px;
  }
  .confirmation h1 {
    font-size: 34px;
    letter-spacing: -1.6px;
  }
  .confirmation > .muted {
    font-size: 14px;
  }
  .confirmation .row {
    flex-wrap: wrap;
  }
  .confirmation .row .btn {
    flex: 1;
    font-size: 13px;
    padding: 15px 16px;
    white-space: nowrap;
  }
  .result-stage {
    height: 330px;
  }
  .result-copy {
    padding: 24px;
  }
  .result-status {
    font-size: 12px;
  }
  .result-amount {
    font-size: 43px;
    letter-spacing: -2px;
    margin-top: 15px;
  }
  .result-copy p {
    font-size: 13px;
    max-width: 155px;
  }
  .result-bears {
    height: 154px;
    bottom: 73px;
    right: -5px;
  }
  .result-progress {
    bottom: 23px;
    left: 24px;
    right: 24px;
    font-size: 12px;
  }
  .result-stage:before {
    width: 32%;
    right: -35px;
  }
  .confirmation .result-receipt {
    margin: 20px 0;
    padding: 10px 0;
  }
  .result-receipt h2 {
    font-size: 20px;
    margin: 6px 0 0;
  }
  .result-receipt .budget-row strong {
    white-space: normal;
    text-align: right;
    max-width: 62%;
  }
  .enrollment-art {
    height: 225px;
  }
  .enrollment-art .result-bears {
    height: clamp(160px, 52vw, 207px);
    right: -12px;
    bottom: -9px;
  }
  .enrollment-date {
    left: 27px;
    top: 30px;
    bottom: 20px;
  }
  .enrollment-date strong {
    font-size: 88px;
  }
  .enrollment-date > span {
    font-size: 12px;
  }
  .enrollment-date i {
    right: auto;
    left: 64px;
    bottom: 47px;
    width: 31px;
    height: 31px;
  }
  .enrollment-date i .icon {
    width: 17px;
    height: 17px;
  }
  .enrollment-date > span:first-child {
    max-width: 100px;
  }
  .coach-head {
    gap: 17px;
  }
  .coach-head img {
    width: 87px;
    height: 85px;
  }
  .coach-head h2 {
    font-size: 29px;
  }
  .coach-side button {
    font-size: 13px;
    padding: 13px 11px;
  }
  .coach-layout {
    gap: 24px;
  }
  .info-banner {
    font-size: 13px;
    padding: 16px;
  }
  .info-banner p {
    font-size: 12px;
  }
  .data-table {
    min-width: 560px;
  }
  .page-head .icon-btn {
    width: 40px;
    height: 40px;
  }
  .footer {
    font-size: 11px;
    align-items: flex-start;
    gap: 12px;
  }
  .footer .row {
    gap: 7px;
    display: grid;
    text-align: right;
  }
  .footer a,
  .footer button {
    font-size: 11px;
  }
  .footer .text-btn {
    justify-content: flex-end;
  }
  .field .hint {
    font-size: 12px;
  }
  dialog {
    padding: 24px;
    border-radius: 14px;
  }
  dialog .modal-head h2 {
    font-size: 25px;
  }
  .guide-step {
    padding: 14px 0;
    gap: 12px;
  }
  .guide-step h3 {
    font-size: 14px;
  }
  .guide-step p {
    font-size: 12px;
  }
  .guide-step .num {
    font-size: 22px;
  }
  .guide-step button {
    font-size: 12px;
    padding: 11px 12px;
  }
  .brand-preview > img {
    height: 210px;
  }
  .upload-box {
    padding: 16px;
    gap: 11px;
  }
  .upload-box input {
    max-width: 185px;
  }
  .report-thumb {
    height: 230px;
  }
}
@media (max-width: 370px) {
  .header {
    gap: 12px;
  }
  .account-button .role-name {
    max-width: 68px;
  }
  .intro-copy h1 {
    font-size: 38px;
  }
  .intro-art {
    width: 39%;
  }
  .hero-bears {
    height: 135px;
    right: -5px;
  }
  .intro-link {
    font-size: 11px;
    gap: 5px;
  }
  .intro-link .icon {
    width: 28px;
    height: 28px;
  }
  .intro-bottom p {
    font-size: 12px;
  }
  .result-amount {
    font-size: 38px;
  }
  .result-bears {
    height: 135px;
  }
  .card-image {
    height: 205px;
  }
  .step {
    font-size: 11px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* The entry choice is the only setup step. Each whole surface is one button. */
body.onboarding {
  padding-bottom: 0;
}
.welcome {
  max-width: 1328px;
  margin: auto;
  padding: 0 48px;
}
.welcome-header {
  height: 104px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.welcome-demo {
  color: var(--muted);
  font-size: 13px;
}
.welcome-main {
  padding-bottom: 30px;
}
.welcome-intro {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: center;
  min-height: 330px;
  gap: 24px;
}
.welcome-copy {
  padding: 35px 0 48px;
}
.welcome-copy .eyebrow {
  margin-bottom: 26px;
}
.welcome-copy h1 {
  font-size: clamp(48px, 5.5vw, 76px);
  line-height: 1.04;
  letter-spacing: -0.055em;
}
.welcome-copy h1 span {
  color: var(--blue);
}
.welcome-art {
  position: relative;
  height: 330px;
  display: flex;
  align-items: end;
  justify-content: center;
  isolation: isolate;
}
.welcome-art img {
  position: relative;
  width: 350px;
  max-height: 100%;
  object-fit: contain;
  object-position: bottom;
}
.welcome-disc {
  position: absolute;
  width: 300px;
  height: 235px;
  border-radius: 140px 140px 16px 16px;
  background: var(--blue);
  bottom: 10px;
  transform: rotate(-7deg);
  z-index: -1;
}
.welcome-disc:after {
  content: "";
  position: absolute;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: var(--red);
  top: -28px;
  right: -38px;
}
.role-choices {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 25px;
}
.role-choice {
  border: 0;
  border-radius: 16px;
  padding: 25px 28px 28px;
  text-align: left;
  display: flex;
  flex-direction: column;
  min-height: 270px;
  background: var(--surface);
  color: var(--ink);
  transition:
    transform 0.22s var(--ease),
    background 0.22s var(--ease);
}
.role-family {
  background: var(--blue);
  color: white;
}
.role-coach {
  background: var(--red);
}
.choice-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}
.choice-top > .icon {
  width: 25px;
  height: 25px;
}
.choice-arrow {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #15171e0c;
  transition: transform 0.22s var(--ease);
}
.role-family .choice-arrow {
  background: #ffffff22;
}
.choice-name {
  font-size: 34px;
  line-height: 1.1;
  letter-spacing: -1.4px;
  font-weight: 800;
}
.choice-action {
  font-size: 17px;
  line-height: 1.45;
  font-weight: 600;
  max-width: 265px;
  margin: 15px 0 23px;
}
.choice-detail {
  font-size: 12px;
  line-height: 1.5;
  margin-top: auto;
}
.welcome-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 24px;
  font-size: 13px;
  color: var(--muted);
}
.welcome-footer .text-btn {
  font-size: 13px;
}
.role-start {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  font-size: 14px;
  border-radius: 8px;
}
.role-start:hover {
  background: var(--surface);
}
.section-impact {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 5px;
}
.section-impact strong {
  font-size: 55px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -2px;
  color: var(--blue);
}
.section-impact span {
  color: var(--muted);
  font-size: 14px;
}
[data-role-view="family"] .ticket {
  background: var(--surface);
  padding: 25px;
  border-radius: 14px;
}
@media (hover: hover) {
  .role-choice:hover {
    transform: translateY(-5px);
  }
  .role-choice:hover .choice-arrow {
    transform: rotate(45deg);
  }
  .role-investor:hover {
    background: #e9edff;
  }
}
@keyframes choice-enter {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (prefers-reduced-motion: no-preference) {
  .role-choice {
    animation: choice-enter 0.42s var(--ease) backwards;
  }
  .role-choice:nth-child(2) {
    animation-delay: 60ms;
  }
  .role-choice:nth-child(3) {
    animation-delay: 120ms;
  }
}
@media (max-width: 900px) {
  .welcome {
    padding: 0 26px;
  }
  .welcome-intro {
    min-height: 260px;
  }
  .welcome-art {
    height: 260px;
  }
  .welcome-art img {
    width: 285px;
  }
  .welcome-disc {
    width: 220px;
    height: 180px;
  }
  .welcome-disc:after {
    width: 65px;
    height: 65px;
    right: -20px;
  }
  .role-choice {
    padding: 22px;
  }
  .choice-name {
    font-size: 29px;
  }
  .choice-action {
    font-size: 15px;
  }
}
@media (max-width: 650px) {
  .welcome {
    padding: 0 20px;
  }
  .welcome-header {
    height: 76px;
  }
  .welcome-header .logo {
    font-size: 22px;
  }
  .welcome-demo {
    font-size: 11px;
  }
  .welcome-intro {
    min-height: 168px;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    gap: 2px;
  }
  .welcome-copy {
    padding: 20px 0;
    position: relative;
    z-index: 1;
  }
  .welcome-copy .eyebrow {
    font-size: 9px;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
  }
  .welcome-copy h1 {
    font-size: clamp(29px, 6.8vw, 44px);
    line-height: 1.08;
    letter-spacing: -1.5px;
  }
  .welcome-art {
    height: 168px;
  }
  .welcome-art img {
    max-width: 100%;
    width: 176px;
  }
  .welcome-disc {
    width: 125px;
    height: 102px;
    bottom: 0;
    right: 3px;
  }
  .welcome-disc:after {
    width: 40px;
    height: 40px;
    top: -10px;
    right: -4px;
  }
  .role-choices {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 22px;
  }
  .role-choice {
    position: relative;
    min-height: 140px;
    padding: 20px 60px 20px 22px;
    border-radius: 13px;
  }
  .choice-top {
    position: absolute;
    right: 18px;
    top: 19px;
    margin: 0;
  }
  .choice-top > .icon {
    display: none;
  }
  .choice-arrow {
    width: 32px;
    height: 32px;
  }
  .choice-name {
    font-size: 27px;
    letter-spacing: -1px;
  }
  .choice-action {
    font-size: 14px;
    margin: 8px 0 12px;
    max-width: 250px;
  }
  .choice-detail {
    font-size: 11px;
  }
  .welcome-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding-top: 20px;
    font-size: 11px;
  }
  .welcome-footer .text-btn {
    font-size: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .role-choice,
  .choice-arrow {
    transition: none;
  }
  .role-choice:hover {
    transform: none;
  }
}

main[tabindex="-1"]:focus {
  outline: none;
}
@media (max-width: 370px) {
  .welcome-copy h1 {
    font-size: 26px;
    letter-spacing: -1.3px;
  }
  .welcome-copy .eyebrow {
    font-size: 8px;
  }
  .welcome-disc {
    max-width: 100%;
  }
}
