:root {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #172232;
  background: #f5f6f8;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  overflow: hidden;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  font: inherit;
}
a:focus-visible,
button:focus-visible {
  outline: 3px solid #91aee9;
  outline-offset: 5px;
}
button {
  cursor: pointer;
}
svg {
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}
.landing-shell {
  height: 100svh;
  min-height: 320px;
  max-width: 1540px;
  margin: auto;
  padding: 30px 5.5vw 24px;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
}
.site-header {
  display: flex;
  align-items: center;
  gap: 30px;
}
.site-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 750;
  font-size: 29px;
  letter-spacing: -1.5px;
}
.site-brand img {
  border-radius: 8px;
}
.header-note {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  color: #89919e;
  margin-left: 20px;
}
.header-note i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #7d9f8d;
}
.header-login {
  font-size: 12px;
  margin-left: auto;
  font-weight: 550;
}
.header-login span {
  margin-left: 9px;
  color: #65778f;
}
.hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 2vw;
  align-items: center;
  min-height: 0;
}
.hero-copy {
  padding-bottom: 20px;
  position: relative;
  z-index: 2;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 10px;
  letter-spacing: 2px;
  font-weight: 600;
  color: #6e8097;
}
.eyebrow > span {
  width: 20px;
  height: 2px;
  background: #3a65c1;
}
h1 {
  font-size: clamp(36px, 4.45vw, 72px);
  font-weight: 650;
  line-height: 1.12;
  letter-spacing: -2.7px;
  margin: 24px 0;
}
h1 > span {
  color: #778393;
}
.intro {
  font-size: clamp(13px, 1.1vw, 16px);
  line-height: 1.85;
  color: #7c8796;
  margin: 0;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 27px;
  margin: 32px 0;
}
.hero-actions a {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  font-size: 13px;
  font-weight: 550;
  white-space: nowrap;
}
.primary-action {
  padding: 17px 22px;
  background: #315ed7;
  color: white;
  border-radius: 10px;
  box-shadow: 0 6px 16px #315ed71b;
  transition:
    background 150ms,
    transform 150ms;
}
.primary-action:hover {
  background: #244fc6;
  transform: translateY(-2px);
}
.primary-action svg {
  width: 18px;
  height: 18px;
}
.telegram-action {
  color: #62738a;
  gap: 8px !important;
}
.telegram-action svg {
  width: 19px;
  height: 19px;
}
.features {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 19px;
  padding: 0;
  list-style: none;
  color: #9099a6;
  font-size: 10px;
}
.features li {
  display: flex;
  align-items: center;
  gap: 6px;
}
.features li:before {
  content: '';
  width: 3px;
  height: 3px;
  background: #93a3b9;
  border-radius: 50%;
}
.finance-scene {
  position: relative;
  width: 100%;
  aspect-ratio: 560/520;
  max-height: 570px;
  isolation: isolate;
}
.scene-grid {
  position: absolute;
  inset: 10% 2%;
  background-image: radial-gradient(#8a9caf3b 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: radial-gradient(ellipse, #000 15%, transparent 68%);
}
.orbit {
  position: absolute;
  border: 1px solid #dfe5ed;
  border-radius: 50%;
  width: 74%;
  aspect-ratio: 1;
  top: 9%;
  left: 13%;
  transform: rotate(-23deg) scaleX(0.85);
}
.orbit:before {
  content: '';
  position: absolute;
  top: 50%;
  left: -4px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #7d99b6;
  box-shadow: 0 0 0 5px #eef1f5;
}
.orbit-one {
  animation: orbit 32s linear infinite;
}
.orbit-two {
  width: 91%;
  top: 0;
  left: 5%;
  border-style: dashed;
  opacity: 0.4;
  animation: orbit 60s linear infinite reverse;
}
.flow-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.flow-track {
  stroke: #d3ddeb;
  stroke-width: 1.4;
}
.flow-pulse {
  stroke: #6287da;
  stroke-width: 2;
  stroke-dasharray: 20 420;
  animation: trace 8s linear infinite;
}
.flow-pulse.second {
  stroke: #7c9c8b;
  animation-delay: -4s;
}
.currency-node {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 14px 18px;
  background: #fff;
  border: 1px solid #e1e6ed;
  border-radius: 13px;
  box-shadow: 0 12px 30px #283e5810;
  z-index: 2;
  width: 36%;
  animation: float 6s ease-in-out infinite;
}
.thb {
  top: 16%;
  left: 0;
  transform: rotate(-5deg);
}
.rub {
  top: 82%;
  right: -1%;
  animation-delay: -3s;
}
.currency-symbol {
  width: 42px;
  height: 42px;
  background: #f0f4fb;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 23px;
  color: #466b9d;
}
.rub .currency-symbol {
  background: #f1f5f1;
  color: #64826d;
}
.currency-node strong {
  font-size: 12px;
  display: block;
  font-weight: 600;
}
.currency-node small {
  display: block;
  color: #9ca6b3;
  font-size: 9px;
  margin-top: 4px;
  letter-spacing: 1px;
}
.node-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #afbfce;
  margin-left: auto;
}
.budget-card {
  position: absolute;
  left: 22%;
  top: 28%;
  width: 61%;
  border: 1px solid #dce4ee;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 24px 50px #233f6110;
  transform: rotate(-3deg);
  padding: 23px;
  z-index: 3;
  animation: card-enter 900ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
.card-top {
  display: flex;
  align-items: center;
  gap: 10px;
}
.card-top > span {
  font-size: 8px;
  letter-spacing: 1.3px;
  color: #8997a9;
  font-weight: 600;
}
.card-top > svg {
  width: 17px;
  height: 17px;
  color: #6c9982;
  margin-left: auto;
}
.card-title {
  font-size: clamp(19px, 2vw, 28px);
  display: block;
  font-weight: 600;
  letter-spacing: -0.8px;
  margin: 24px 0;
}
.card-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
}
.card-line > span {
  font-size: 9px;
  color: #8c97a6;
}
.card-line > div {
  height: 5px;
  width: 58%;
  background: #eff2f7;
  border-radius: 3px;
  overflow: hidden;
}
.card-line i {
  display: block;
  height: 100%;
  width: 67%;
  background: #8ea8d7;
  border-radius: 3px;
  transform-origin: left;
  animation: grow 1200ms 300ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
.income i {
  width: 86%;
  background: #b3c8b8;
  animation-delay: 450ms;
}
.card-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #edf0f4;
  padding-top: 17px;
  margin-top: 25px;
  font-size: 9px;
  color: #8c99aa;
}
.card-bottom > span:last-child {
  font-size: 16px;
  color: #66768a;
}
.card-bottom b {
  font-size: 10px;
  color: #aeb8c5;
  padding: 0 7px;
}
.receipt-stub {
  position: absolute;
  top: 7%;
  right: 4%;
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 10px;
  color: #7f8d9e;
  background: #fafcfe;
  border: 1px solid #e3e9f0;
  padding: 11px 14px;
  border-radius: 9px;
  transform: rotate(5deg);
  animation: float 7s -2s ease-in-out infinite;
}
.receipt-stub > svg {
  width: 17px;
  height: 17px;
  color: #a4b1c1;
}
.receipt-check {
  color: #608d76;
  margin-left: 9px;
}
.scene-caption {
  position: absolute;
  bottom: 4%;
  left: 32%;
  font-size: 9px;
  letter-spacing: 1.5px;
  color: #a9b3c0;
}
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10px;
  color: #9ba4b0;
  padding-top: 16px;
}
.site-footer p {
  margin: 0;
}
.site-footer nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.site-footer a:hover {
  color: #62748e;
}
.motion-toggle {
  border: 1px solid #e1e6ec;
  border-radius: 50%;
  width: 29px;
  height: 29px;
  display: grid;
  place-items: center;
  background: transparent;
  color: #95a1b2;
}
.motion-toggle svg {
  width: 15px;
  height: 15px;
}
.hero-copy {
  animation: copy-enter 700ms 90ms ease both;
}
.is-paused .orbit,
.is-paused .flow-pulse,
.is-paused .currency-node,
.is-paused .receipt-stub {
  animation-play-state: paused !important;
}
@keyframes copy-enter {
  from {
    transform: translateY(14px);
  }
  to {
    transform: translateY(0);
  }
}
@keyframes card-enter {
  from {
    opacity: 0;
    transform: translateY(25px) rotate(-7deg);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotate(-3deg);
  }
}
@keyframes float {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -10px;
  }
}
@keyframes orbit {
  to {
    rotate: 360deg;
  }
}
@keyframes trace {
  to {
    stroke-dashoffset: -440;
  }
}
@keyframes grow {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}
@media (min-width: 1450px) {
  .landing-shell {
    padding-inline: 80px;
  }
}
@media (max-width: 1000px) {
  .landing-shell {
    padding: 26px 4vw 18px;
  }
  .hero {
    gap: 0;
    grid-template-columns: 1.1fr 1fr;
  }
  h1 {
    letter-spacing: -1.9px;
  }
  .header-note {
    display: none;
  }
  .currency-node {
    padding: 10px 12px;
    gap: 8px;
  }
  .currency-symbol {
    width: 32px;
    height: 32px;
    font-size: 20px;
  }
  .budget-card {
    padding: 17px;
  }
  .card-title {
    margin: 17px 0;
  }
  .card-bottom {
    margin-top: 17px;
    padding-top: 13px;
  }
  .hero-actions {
    gap: 19px;
  }
  .hero-actions a {
    font-size: 12px;
  }
  .primary-action {
    padding: 16px 18px;
  }
  .site-footer nav {
    gap: 16px;
  }
}
@media (max-width: 700px) {
  .landing-shell {
    padding: 20px 23px 16px;
    grid-template-rows: 34px minmax(0, 1fr) 30px;
  }
  .site-brand {
    font-size: 26px;
  }
  .site-brand img {
    width: 28px;
    height: 28px;
  }
  .header-login {
    font-size: 11px;
  }
  .hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0;
    position: relative;
  }
  .hero-copy {
    padding: 0;
    width: 100%;
    text-align: center;
  }
  .eyebrow {
    justify-content: center;
    font-size: 9px;
  }
  h1 {
    font-size: clamp(31px, 8.7vw, 47px);
    line-height: 1.13;
    letter-spacing: -1.5px;
    margin: 15px 0;
  }
  .intro {
    font-size: 12px;
    line-height: 1.8;
  }
  .desktop-break {
    display: none;
  }
  .hero-actions {
    justify-content: center;
    gap: 20px;
    margin: 23px 0 18px;
  }
  .hero-actions a {
    font-size: 11px;
    gap: 15px;
  }
  .features {
    justify-content: center;
    gap: 14px;
    font-size: 8px;
    margin: 0;
  }
  .finance-scene {
    flex: 0 1 auto;
    width: min(90%, 330px);
    max-height: 270px;
    min-height: 180px;
    margin-top: 12px;
  }
  .currency-node {
    padding: 10px 12px;
    border-radius: 10px;
    gap: 7px;
    width: 35%;
  }
  .currency-symbol {
    width: 29px;
    height: 29px;
    font-size: 18px;
  }
  .currency-node strong {
    font-size: 9px;
  }
  .currency-node small {
    font-size: 7px;
  }
  .node-dot {
    display: none;
  }
  .budget-card {
    padding: 15px;
    border-radius: 13px;
    left: 21%;
    top: 28%;
    width: 63%;
  }
  .card-top {
    gap: 6px;
  }
  .card-top img {
    width: 23px;
    height: 23px;
  }
  .card-top > span {
    font-size: 6px;
    letter-spacing: 1px;
  }
  .card-title {
    font-size: 18px;
    margin: 15px 0;
  }
  .card-line {
    margin-bottom: 10px;
    gap: 8px;
  }
  .card-line > span {
    font-size: 7px;
  }
  .card-line > div {
    height: 4px;
  }
  .card-bottom {
    margin-top: 14px;
    padding-top: 12px;
    font-size: 7px;
  }
  .card-bottom > span:last-child {
    font-size: 13px;
  }
  .receipt-stub {
    font-size: 7px;
    padding: 8px 10px;
    gap: 5px;
  }
  .receipt-stub > svg {
    width: 13px;
    height: 13px;
  }
  .scene-caption {
    display: none;
  }
  .site-footer {
    font-size: 8px;
    padding-top: 0;
  }
  .site-footer > p {
    max-width: 115px;
    line-height: 1.5;
  }
  .site-footer nav {
    gap: 11px;
  }
  .motion-toggle {
    width: 24px;
    height: 24px;
  }
  .motion-toggle svg {
    width: 12px;
    height: 12px;
  }
}
@media (max-height: 720px) and (max-width: 700px) {
  .finance-scene {
    max-height: 190px;
    width: 225px;
    margin-top: 4px;
  }
  .hero-actions {
    margin: 17px 0 13px;
  }
  h1 {
    font-size: 32px;
    margin: 13px 0;
  }
  .intro {
    font-size: 11px;
  }
  .receipt-stub {
    display: none;
  }
  .card-title {
    font-size: 15px;
    margin: 10px 0;
  }
  .card-top > span {
    font-size: 5px;
  }
  .card-top img {
    width: 18px;
    height: 18px;
  }
  .card-line {
    margin-bottom: 7px;
  }
  .card-bottom {
    margin-top: 9px;
    padding-top: 7px;
  }
  .currency-node {
    width: 36%;
    padding: 8px;
  }
  .currency-symbol {
    width: 23px;
    height: 23px;
    font-size: 15px;
  }
  .currency-node strong {
    font-size: 8px;
  }
  .currency-node small {
    font-size: 6px;
  }
  .budget-card {
    padding: 12px;
  }
  .features {
    font-size: 7px;
  }
}
@media (max-height: 540px) {
  .finance-scene {
    display: none;
  }
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-copy {
    padding-bottom: 0;
  }
  .eyebrow,
  .hero-actions,
  .features {
    justify-content: center;
  }
  h1 {
    font-size: 34px;
    margin: 14px 0;
  }
  .hero-actions {
    margin: 20px 0;
  }
  .intro {
    font-size: 12px;
  }
  .landing-shell {
    padding-top: 16px;
    padding-bottom: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }
  .motion-toggle {
    display: none;
  }
  .flow-pulse {
    display: none;
  }
}

@media (max-width: 700px) {
  .finance-scene {
    margin-bottom: 30px;
  }
  .rub {
    top: 93%;
  }
}
.status-toggle {
  display: flex;
  align-items: center;
  gap: 5px;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
  padding: 0;
}
.status-toggle i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #8793a6;
}
.status-toggle.has-check:not(.has-outage) i {
  background: #319270;
}
.status-toggle.has-outage i {
  background: #cc7650;
}
.status-dialog {
  border: 1px solid #e0e4eb;
  border-radius: 22px;
  padding: 26px;
  width: min(440px, calc(100% - 32px));
  max-height: 85dvh;
  overflow: auto;
  box-sizing: border-box;
  color: #202938;
  box-shadow: 0 24px 90px #15233a35;
}
.status-dialog::backdrop {
  background: #20293866;
  backdrop-filter: blur(5px);
}
.status-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}
.status-heading h2 {
  font-size: 22px;
  margin: 0;
}
.status-close {
  font: 24px/1 inherit;
  border: 0;
  background: #f0f2f6;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  cursor: pointer;
}
.status-description,
.status-note {
  font-size: 13px;
  line-height: 1.6;
  color: #788292;
}
.status-services > div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid #edf0f5;
  font-size: 14px;
}
.status-ok {
  color: #258363;
}
.status-down {
  color: #ba5a40;
}
.status-development {
  color: #946b16;
}
.status-refresh {
  background: #326be3;
  color: white;
  border: 0;
  border-radius: 10px;
  padding: 11px 16px;
  font: inherit;
  cursor: pointer;
}
.status-checked {
  display: block;
  color: #8a93a1;
  font-size: 11px;
  margin-top: 12px;
}
.site-footer nav {
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 15px;
}
.site-footer nav > a,
.status-toggle {
  white-space: nowrap;
}
@media (max-width: 700px) {
  .site-footer nav {
    gap: 10px;
    justify-content: center;
    width: 100%;
    font-size: 9px;
  }
  .site-footer {
    justify-content: center;
  }
  .site-footer > p {
    display: none;
  }
  .status-dialog {
    padding: 20px;
  }
}
