/* The landing page. The registration form keeps its own styles (styles.css). */

@font-face {
  font-family: 'Fixel Text';
  src: url('assets/fonts/FixelText-Regular.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Fixel Text';
  src: url('assets/fonts/FixelText-Bold.ttf') format('truetype');
  font-weight: 700;
  font-display: swap;
}

:root {
  --l-max: 1120px;
  --l-safe: #2e9d55;
  --l-warn: #e0a100;
  --l-danger: #d64545;
  --l-violet: #8a4fd6;
  --l-card: var(--surface);
}

html {
  scroll-padding-top: 72px;
}
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

.landing,
.l-header {
  font-family:
    'Fixel Text',
    system-ui,
    -apple-system,
    'Segoe UI',
    Roboto,
    sans-serif;
}

.l-wrap {
  width: 100%;
  max-width: var(--l-max);
  margin: 0 auto;
  padding: 0 16px;
}

/* ---------- Header ---------- */

.l-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.l-header .l-wrap {
  min-width: 0;
  max-width: 1360px;
  display: flex;
  align-items: center;
  gap: 20px;
  height: 64px;
}
.l-header .brand img {
  height: 32px;
}
.l-nav {
  display: flex;
  gap: 18px;
  margin-right: auto;
  font-size: 0.95rem;
}
.l-nav a {
  color: var(--muted);
  text-decoration: none;
  white-space: nowrap;
}
.l-actions .btn {
  white-space: nowrap;
}
.l-nav a:hover {
  color: var(--fg);
}
.l-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.l-link {
  color: var(--fg);
  text-decoration: none;
  font-size: 0.95rem;
  white-space: nowrap;
}
.l-link:hover {
  color: var(--primary);
}
.btn-donate {
  background: transparent;
  border-color: var(--accent);
  color: var(--fg);
}
@media (max-width: 1400px) {
  .l-nav {
    display: none;
  }
  .l-header .l-wrap {
    justify-content: space-between;
  }
}
@media (max-width: 820px) {
  .l-actions .l-link,
  .l-actions .btn-donate {
    display: none;
  }
}

/* ---------- Sections ---------- */

.l-section {
  padding: 72px 0;
}
.l-section.alt {
  background: var(--surface);
}
.l-kicker {
  color: var(--primary);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 8px;
}
.l-section h2 {
  font-size: clamp(1.6rem, 3.6vw, 2.3rem);
  line-height: 1.2;
  margin: 0 0 12px;
}
.l-section .l-intro {
  color: var(--muted);
  max-width: 680px;
  margin: 0 0 36px;
  font-size: 1.05rem;
}

/* ---------- Hero ---------- */

.l-hero {
  padding: 56px 0 72px;
}
.l-hero .l-wrap {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}
.l-hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.1;
  margin: 0 0 20px;
}
.l-hero h1 span {
  color: var(--primary);
}
.l-hero .l-sub {
  font-size: 1.15rem;
  color: var(--muted);
  margin: 0 0 28px;
  max-width: 560px;
}
.l-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}
.l-stores {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  color: var(--muted);
  font-size: 0.9rem;
}
.l-store {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 7px 12px;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
}
.l-store svg {
  width: 18px;
  height: 18px;
}
.l-store[aria-disabled='true'] {
  cursor: default;
}
.l-motto {
  margin: 24px 0 0;
  font-style: italic;
  color: var(--muted);
}
@media (max-width: 860px) {
  .l-hero .l-wrap {
    grid-template-columns: 1fr;
  }
}

/* A phone with the home screen (drawn, not a screenshot) */
.l-phone {
  justify-self: center;
  width: 300px;
  border-radius: 38px;
  border: 9px solid #0b0b14;
  background: #11132a;
  color: #eef2fa;
  box-shadow: 0 24px 60px rgb(0 0 0 / 0.35);
  overflow: hidden;
  font-size: 12px;
}
.l-phone .scr {
  padding: 14px 12px 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.l-phone .top {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  font-size: 11px;
  opacity: 0.85;
}
.l-phone .place {
  display: flex;
  gap: 8px;
  align-items: center;
}
.l-phone .place img {
  width: 22px;
}
.l-phone .place small {
  display: block;
  opacity: 0.6;
  font-size: 10px;
}
.l-phone .state {
  border-radius: 16px;
  padding: 11px;
  background: #4a1a1d;
  border: 1px solid #e05555;
}
.l-phone .state b {
  font-size: 15px;
  display: block;
}
.l-phone .state small {
  opacity: 0.8;
}
.l-phone .row {
  display: flex;
  gap: 6px;
  margin-top: 8px;
}
.l-phone .row span {
  flex: 1;
  border-radius: 10px;
  padding: 7px;
  text-align: center;
  font-weight: 700;
  background: #fff;
  color: #7a1f1f;
}
.l-phone .row span + span {
  background: transparent;
  border: 1px solid rgb(255 255 255 / 0.4);
  color: #fff;
}
.l-phone .shelter {
  margin-top: 8px;
  border-radius: 10px;
  background: rgb(0 0 0 / 0.25);
  padding: 7px 9px;
  font-size: 11px;
}
.l-phone .ask {
  border-radius: 16px;
  padding: 11px;
  border: 2px solid #4fa9ff;
  background: #1a1d38;
}
.l-phone .ask b {
  font-size: 14px;
}
.l-phone .ask .row span {
  background: #4cd17c;
  color: #0b2a17;
}
.l-phone .ask .row span + span {
  background: #ef5b5b;
  color: #fff;
  border: 0;
}
.l-phone .tabs {
  display: flex;
  justify-content: space-around;
  padding: 10px 6px 8px;
  margin-top: 4px;
  border-top: 1px solid #2c2f55;
}
.l-phone .tabs i {
  width: 18px;
  height: 18px;
  border-radius: 6px;
  opacity: 0.8;
}
.l-phone .sos {
  background: #c62f2f;
  text-align: center;
  font-weight: 800;
  font-size: 17px;
  padding: 12px 0 14px;
  letter-spacing: 1px;
}
.l-phone .sos small {
  font-weight: 400;
  font-size: 10px;
  letter-spacing: 0;
  opacity: 0.85;
  margin-left: 6px;
}

/* ---------- Problems ---------- */

.l-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 860px) {
  .l-cols {
    grid-template-columns: 1fr;
  }
}
.l-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 24px;
}
.l-section:not(.alt) .l-card {
  background: var(--l-card);
}
.l-card h3 {
  margin: 0 0 4px;
  font-size: 1.2rem;
}
.l-card .who {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0 0 16px;
}
.l-pain {
  margin: 0 0 14px;
  padding: 10px 12px;
  border-left: 3px solid var(--l-danger);
  background: color-mix(in srgb, var(--l-danger) 8%, transparent);
  border-radius: 0 10px 10px 0;
  font-size: 0.95rem;
}
.l-card ul {
  margin: 0;
  padding-left: 20px;
}
.l-card li {
  margin: 6px 0;
}
.l-ico {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  color: #fff;
}
.l-ico svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Features ---------- */

.l-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 16px;
}
.l-feature p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}
.l-feature h3 {
  font-size: 1.08rem;
  margin: 0 0 6px;
}
.l-tag {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 8px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  vertical-align: 3px;
  background: color-mix(in srgb, var(--accent) 22%, transparent);
  color: var(--fg);
}

/* ---------- Audience ---------- */

.l-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.l-chips span {
  border: 1px solid var(--border);
  background: var(--bg);
  border-radius: 999px;
  padding: 10px 16px;
}

/* ---------- Steps ---------- */

.l-steps {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
}
@media (max-width: 860px) {
  .l-steps {
    grid-template-columns: 1fr;
  }
}
.l-steps li {
  counter-increment: step;
  position: relative;
  padding: 24px;
  padding-top: 64px;
}
.l-steps li::before {
  content: counter(step);
  position: absolute;
  top: 20px;
  left: 24px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
  background: var(--primary);
  color: var(--primary-fg);
}
.l-steps h3 {
  margin: 0 0 6px;
}
.l-steps p {
  margin: 0;
  color: var(--muted);
}

/* ---------- Support ---------- */

.l-support {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  align-items: center;
}
@media (max-width: 860px) {
  .l-support {
    grid-template-columns: 1fr;
  }
}
.l-support p {
  font-size: 1.05rem;
}
.l-donate {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.l-donate .btn {
  text-align: center;
}

/* ---------- Footer ---------- */

.l-footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
  color: var(--muted);
  font-size: 0.9rem;
}
.l-footer .l-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
}
.l-footer img {
  width: 180px;
  height: auto;
}
.l-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.l-footer a {
  color: var(--muted);
}

/* ---------- Decoration: quiet and technical — a grid, a network, traces ---------- */

.l-hero,
.l-section {
  position: relative;
  overflow: hidden;
}
.l-hero .l-wrap,
.l-section .l-wrap {
  position: relative;
  z-index: 1;
}
.l-decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.l-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(color-mix(in srgb, var(--primary) 9%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--primary) 9%, transparent) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 70%);
}
.l-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.22;
}
.l-glow.blue {
  width: 520px;
  height: 520px;
  right: -140px;
  top: -160px;
  background: var(--primary);
  animation: l-drift 20s ease-in-out infinite alternate;
}
.l-glow.cyan {
  width: 380px;
  height: 380px;
  left: -160px;
  bottom: -200px;
  background: #22b8cf;
  animation: l-drift 24s ease-in-out infinite alternate-reverse;
}
@keyframes l-drift {
  to {
    transform: translate(40px, 30px);
  }
}
.l-net {
  position: absolute;
  right: 0;
  top: 0;
  width: 62%;
  height: 100%;
  opacity: 0.55;
}
.l-net .links path {
  fill: none;
  stroke: color-mix(in srgb, var(--primary) 45%, transparent);
  stroke-width: 1.2;
  stroke-dasharray: 4 6;
}
.l-net .dots circle {
  fill: var(--bg);
  stroke: var(--primary);
  stroke-width: 1.5;
}
.l-net .sig {
  fill: var(--primary);
}

/* the phone: a calm signal around it */
.l-phone-wrap {
  position: relative;
  justify-self: center;
  display: grid;
  place-items: center;
}
.l-phone-wrap .l-phone {
  position: relative;
}
.l-ring {
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--primary) 60%, transparent);
  opacity: 0;
  animation: l-ring 5.2s ease-out infinite;
}
@keyframes l-ring {
  0% {
    transform: scale(0.7);
    opacity: 0.35;
  }
  100% {
    transform: scale(1.7);
    opacity: 0;
  }
}

/* traces on the page margins */
.l-trace {
  position: absolute;
  top: 40px;
  width: 120px;
  height: 520px;
  pointer-events: none;
  opacity: 0.45;
}
.l-trace.left {
  left: max(0px, calc(50% - var(--l-max) / 2 - 140px));
}
.l-trace.right {
  right: max(0px, calc(50% - var(--l-max) / 2 - 140px));
  transform: scaleX(-1);
}
.l-trace .line {
  fill: none;
  stroke: color-mix(in srgb, var(--primary) 55%, transparent);
  stroke-width: 1.5;
  stroke-dasharray: 900;
  stroke-dashoffset: 900;
  transition: stroke-dashoffset 2.4s ease;
}
.l-trace .line.thin {
  stroke-width: 1;
  stroke: color-mix(in srgb, var(--muted) 45%, transparent);
}
.l-trace.grown .line {
  stroke-dashoffset: 0;
}
.l-trace .node {
  fill: var(--bg);
  stroke: var(--primary);
  stroke-width: 1.5;
}
.l-trace .node.live {
  fill: var(--l-safe);
  stroke: var(--l-safe);
}
.l-trace .pulse {
  fill: var(--primary);
}
@media (max-width: 1300px) {
  .l-trace {
    opacity: 0.15;
  }
}

/* cards lift a little */
.l-card {
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}
.l-grid .l-card:hover,
.l-cols .l-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgb(0 0 0 / 0.16);
  border-color: color-mix(in srgb, var(--primary) 45%, var(--border));
}

/* the steps are joined by a dashed line */
@media (min-width: 861px) {
  .l-steps {
    position: relative;
  }
  .l-steps::before {
    content: '';
    position: absolute;
    top: 37px;
    left: 60px;
    right: 60px;
    border-top: 2px dashed color-mix(in srgb, var(--primary) 40%, transparent);
  }
}

/* appears when scrolled to */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}
.reveal.shown {
  opacity: 1;
  transform: none;
}

/* ---------- Why «Гарбуз» ---------- */

.l-why {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}
@media (max-width: 860px) {
  .l-why {
    grid-template-columns: 1fr;
  }
}
.l-why p {
  font-size: 1.05rem;
}
.l-quote {
  font-size: 1.3rem !important;
  font-style: italic;
  border-left: 3px solid var(--primary);
  padding-left: 16px;
  margin: 18px 0;
}
.l-family {
  position: relative;
  width: 300px;
  height: 330px;
  justify-self: center;
}
.l-family .spokes {
  position: absolute;
  left: 0;
  top: 0;
  width: 300px;
  height: 300px;
}
.l-family .spokes line {
  stroke: color-mix(in srgb, var(--primary) 40%, transparent);
  stroke-width: 1.2;
  stroke-dasharray: 3 5;
  animation: l-flow 1.6s linear infinite;
}
@keyframes l-flow {
  to {
    stroke-dashoffset: -16;
  }
}
.l-family .hub,
.l-family .rel {
  position: absolute;
  left: 150px;
  top: 150px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--surface);
  border: 1.5px solid var(--border);
}
.l-family .hub {
  width: 84px;
  height: 84px;
  margin: -42px 0 0 -42px;
  border-color: var(--primary);
  box-shadow: 0 0 0 8px color-mix(in srgb, var(--primary) 10%, transparent);
}
.l-family svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.l-family .hub svg {
  width: 38px;
  color: var(--primary);
}
.l-family .rel {
  width: 50px;
  height: 50px;
  margin: -25px 0 0 -25px;
  transform: rotate(var(--a)) translate(120px) rotate(calc(-1 * var(--a)));
  color: var(--muted);
}
.l-family .rel svg {
  width: 24px;
}
.l-family .rel i {
  position: absolute;
  right: -3px;
  bottom: -3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid var(--bg);
  background: var(--border);
}
.l-family.shown .rel.ok i {
  animation: l-yes 0.4s ease forwards;
  animation-delay: var(--d);
}
.l-family.shown .rel.ok {
  animation: l-yes-ring 0.4s ease forwards;
  animation-delay: var(--d);
}
@keyframes l-yes {
  to {
    background: var(--l-safe);
  }
}
@keyframes l-yes-ring {
  to {
    border-color: var(--l-safe);
    color: var(--fg);
  }
}
.l-family .rel.wait i {
  background: var(--l-warn);
  animation: l-blink 1.4s ease-in-out infinite;
}
@keyframes l-blink {
  50% {
    opacity: 0.3;
  }
}
.l-family .legend {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  text-align: center;
  font-size: 0.85rem !important;
  color: var(--muted);
}
.l-family .legend span {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 4px;
  background: var(--l-safe);
}
.l-family .legend span.wait {
  background: var(--l-warn);
}

/* Less motion for those who asked for it */
@media (prefers-reduced-motion: reduce) {
  .l-glow,
  .l-ring,
  .l-family .spokes line,
  .l-family .rel.wait i {
    animation: none !important;
  }
  .l-net .sig,
  .l-trace .pulse {
    display: none;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .l-trace .line {
    stroke-dashoffset: 0;
    transition: none;
  }
  .l-family .rel.ok i {
    background: var(--l-safe);
  }
}

/* ---------- Screen by screen ---------- */

/* Each section is at least a screen tall (below the header), its content in the middle. */
.l-hero,
.l-section {
  /* clip, not hidden: «hidden» would break the pinned (sticky) steps */
  overflow: clip;
  min-height: calc(100vh - 64px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ---------- The pinned steps ---------- */

.l-pin {
  --p: 0;
  height: calc(var(--n) * 100vh);
  padding: 0;
  display: block;
}
.l-pin-sticky {
  position: sticky;
  top: 64px;
  height: calc(100vh - 64px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
}
.l-pin-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  column-gap: 24px;
}
.l-pin-head .l-kicker {
  flex-basis: 100%;
}
.l-pin-head h2 {
  margin: 0;
}
.l-dots {
  display: flex;
  gap: 8px;
  margin-left: auto;
  padding-bottom: 10px;
}
.l-dots i {
  width: 28px;
  height: 4px;
  border-radius: 2px;
  background: var(--border);
  transition:
    background 0.3s,
    width 0.3s;
}
.l-dots i.on {
  width: 48px;
  background: var(--primary);
}
.l-pin-track {
  display: flex;
  width: calc(var(--n) * 100vw);
  transform: translateX(calc(var(--p) * (var(--n) - 1) * -100vw));
  will-change: transform;
}
.l-panel {
  width: 100vw;
  flex: none;
}
.l-panel-in {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 48px;
  align-items: center;
}
.l-panel-num {
  font-size: clamp(6rem, 18vw, 13rem);
  font-weight: 700;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 2px color-mix(in srgb, var(--primary) 55%, transparent);
}
.l-panel-num span {
  font-size: 0.25em;
  -webkit-text-stroke: 1px color-mix(in srgb, var(--muted) 60%, transparent);
}
.l-panel h3 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  margin: 0 0 12px;
}
.l-panel p {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 560px;
  margin: 0 0 20px;
}
@media (max-width: 700px) {
  .l-panel-in {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .l-panel-num {
    font-size: 5rem;
  }
}

/* No motion: the steps simply one under another */
@media (prefers-reduced-motion: reduce) {
  .l-pin {
    height: auto;
  }
  .l-pin-sticky {
    position: static;
    height: auto;
  }
  .l-pin-track {
    flex-direction: column;
    width: 100%;
    transform: none;
  }
  .l-panel {
    width: 100%;
    padding: 24px 0;
  }
  .l-dots {
    display: none;
  }
}

/* the little pictures of each step */
.l-panel-in {
  grid-template-columns: auto 1fr minmax(260px, 360px);
}
.l-art {
  justify-self: end;
  width: 100%;
}
.l-mock {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
  padding: 18px;
  box-shadow: 0 16px 40px rgb(0 0 0 / 0.18);
  font-size: 0.9rem;
}
.l-mock b {
  display: block;
  margin-bottom: 12px;
}
.l-mock label {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  margin: 10px 0 4px;
}
.l-mock .fld {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 7px 10px;
  background: var(--bg);
}
.l-mock .steps {
  display: flex;
  gap: 6px;
}
.l-mock .steps i {
  flex: 1;
  height: 4px;
  border-radius: 2px;
  background: var(--border);
}
.l-mock .steps i.on {
  background: var(--primary);
}
.l-mock.doc {
  position: relative;
  aspect-ratio: 3 / 4;
  max-width: 280px;
  margin-left: auto;
  background: #f7f8fa;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 28px;
}
.l-mock.doc .ln {
  height: 7px;
  border-radius: 4px;
  background: #d9dee5;
}
.l-mock.doc .w80 {
  width: 80%;
}
.l-mock.doc .w70 {
  width: 70%;
}
.l-mock.doc .w60 {
  width: 60%;
}
.l-mock.doc .sig {
  width: 120px;
  margin-top: auto;
  fill: none;
  stroke: #1b4f9c;
  stroke-width: 2.5;
  stroke-linecap: round;
}
.l-mock.doc .badge {
  position: absolute;
  right: 14px;
  bottom: 18px;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
  background: var(--l-safe);
}
.l-mock.list .row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  border-top: 1px solid var(--border);
}
.l-mock.list .av {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--primary) 30%, var(--border));
  flex: none;
}
.l-mock.list em {
  margin-left: auto;
  font-style: normal;
  font-size: 0.75rem;
  border-radius: 999px;
  padding: 2px 8px;
  background: var(--border);
  white-space: nowrap;
}
.l-mock.list em.ok {
  background: color-mix(in srgb, var(--l-safe) 25%, transparent);
}
.l-mock.list em.chk {
  background: color-mix(in srgb, var(--l-warn) 25%, transparent);
}
@media (max-width: 1000px) {
  .l-panel-in {
    grid-template-columns: auto 1fr;
  }
  .l-art {
    display: none;
  }
}
@media (max-width: 700px) {
  .l-panel-in {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

/* ---------- Audience ---------- */

.l-whos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 1000px) {
  .l-whos {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .l-whos {
    grid-template-columns: 1fr;
  }
}
.l-who h3 {
  margin: 0 0 6px;
  font-size: 1.08rem;
}
.l-who p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}
.l-facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}
@media (max-width: 1000px) {
  .l-facts {
    grid-template-columns: repeat(2, 1fr);
  }
}
.l-fact {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.l-fact svg {
  width: 26px;
  height: 26px;
  flex: none;
  fill: none;
  stroke: var(--primary);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.l-fact b {
  display: block;
}
.l-fact span {
  color: var(--muted);
  font-size: 0.9rem;
}

/* ---------- «Демо»: a menu of the two demos (the header and the first screen) ---------- */

.l-demo {
  position: relative;
}
.l-demo summary {
  cursor: pointer;
  list-style: none;
}
.l-demo summary::-webkit-details-marker {
  display: none;
}
.l-demo summary::after {
  content: ' ▾';
  font-size: 0.8em;
  opacity: 0.7;
}
.l-demo > div {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 20;
  display: flex;
  flex-direction: column;
  min-width: 230px;
  padding: 6px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg);
  box-shadow: 0 12px 32px rgb(0 0 0 / 0.25);
}
/* An absolutely placed child of a closed <details> may still show in Chrome: hide it explicitly. */
.l-demo:not([open]) > div {
  display: none;
}
.l-demo-hero > div {
  right: auto;
  left: 0;
}
.l-demo > div a {
  padding: 9px 12px;
  border-radius: 8px;
  color: var(--fg);
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}
.l-demo > div a:hover {
  background: var(--surface);
}

/* «Контакти» next to «Демо» when the menu of the sections is hidden. */
.l-contacts-link {
  display: none;
}
@media (max-width: 1400px) {
  .l-contacts-link {
    display: inline;
  }
}

/* Paused for now: «Задонатити» and «Зареєструвати організацію» in the header. */
.l-actions .btn[disabled],
.l-actions .btn[aria-disabled='true'] {
  opacity: 0.45;
  cursor: not-allowed;
}

/* The way into the panels: two icons in one group, at the right; the hint on hover. */
.l-iconbar {
  display: inline-flex;
  border: 1px solid var(--border);
  border-radius: 10px;
}
.l-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 36px;
  color: var(--fg);
}
.l-icon + .l-icon {
  border-left: 1px solid var(--border);
}
.l-icon:hover,
.l-icon:focus-visible {
  color: var(--primary);
  background: var(--surface);
}
.l-icon:first-child {
  border-radius: 9px 0 0 9px;
}
.l-icon:last-child {
  border-radius: 0 9px 9px 0;
}
.l-icon[data-tip]::after {
  content: attr(data-tip);
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 30;
  padding: 6px 10px;
  border-radius: 8px;
  background: var(--fg);
  color: var(--bg);
  font-size: 0.8rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s;
}
.l-icon[data-tip]:hover::after,
.l-icon[data-tip]:focus-visible::after {
  opacity: 1;
}

@media (max-width: 820px) {
  .l-actions .l-demo .l-link,
  .l-actions .l-contacts-link {
    display: inline;
  }
  /* A phone: the paused buttons go; «Демо» and the way in stay. */
  .l-actions .l-reg {
    display: none;
  }
}
@media (max-width: 520px) {
  .l-actions .l-contacts-link {
    display: none;
  }
}

/* ---------- Contacts ---------- */

.l-contacts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px;
  margin-top: 28px;
}
.l-contact {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--bg);
  color: var(--fg);
  font-weight: 600;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.l-contact:hover {
  border-color: var(--primary);
}
.l-contact svg {
  flex: none;
  width: 22px;
  height: 22px;
  color: var(--primary);
}
.l-contact small {
  display: block;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 400;
}
