:root {
  /* Бренд MoliyaGO: глубокий изумруд + золото (из логотипа) */
  --canvas: #04211b;
  --surface: #06291f;
  --surface-2: #0a382b;
  --surface-3: #0e4636;
  --white: #ffffff;
  --fog: #c8d4cd;
  --mist: #93a69b;
  --border: #12382d;
  --emerald: #17a97b;
  --gold: #d9b44a;
  --gold-strong: #c09a2e;
  --ink-on-gold: #211a04;
  --coral: #ff4433;
  --lime: #00cc4b;
  --orange: #ff8833;
  --pink: #ff33aa;
  --violet: #9019e6;
  --yellow: #ffcc02;
  --sky: #00acfe;
  --slate: #5c6f8a;
  --radius-card: 24px;
  --radius-button: 16px;
  --shadow-inset: rgba(255,255,255,.08) 4px 4px 8px inset,
    rgba(255,255,255,.16) 4px 4px 16px -4px inset,
    rgba(0,0,0,.24) -4px -4px 16px -4px inset;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--white);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 300;
  min-width: 320px;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
svg { width: 100%; height: 100%; display: block; }

.container {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
}

.announcement {
  position: relative;
  min-height: 40px;
  padding: 10px 56px 10px 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  background: var(--surface-3);
  color: var(--white);
  font-size: 12px;
  font-weight: 300;
  z-index: 50;
}
.announcement a { opacity: .86; }
.announcement__close {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  color: var(--white);
  font-size: 22px;
  cursor: pointer;
  opacity: .8;
}
.announcement.is-hidden { display: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid rgba(18,56,45,.5);
  background: rgba(4,33,27,.8);
  backdrop-filter: blur(18px);
}
.nav {
  height: 72px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; width: fit-content; }
.brand__mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  overflow: hidden;
}
.brand__mark img { width: 100%; height: 100%; object-fit: contain; display: block; }
.brand__mark--large { width: 64px; height: 64px; border-radius: 18px; }
.brand__wordmark { font-family: "Space Grotesk", sans-serif; font-size: 18px; font-weight: 600; }
.nav__links { display: flex; align-items: center; gap: 30px; font-size: 14px; color: var(--fog); }
.nav__links a, .nav__login, .footer__links a { transition: color .2s ease; }
.nav__links a:hover, .nav__login:hover, .footer__links a:hover { color: var(--white); }
.nav__actions { justify-self: end; display: flex; align-items: center; gap: 18px; font-size: 14px; }
.nav__toggle { display: none; justify-self: end; width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.16); background: transparent; border-radius: 14px; padding: 0 10px; }
.nav__toggle span { display: block; height: 1px; background: var(--white); margin: 6px 0; }
.mobile-menu { display: none; }

.button {
  min-height: 46px;
  padding: 12px 20px;
  border-radius: var(--radius-button);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 400;
  transition: background .2s ease, border-color .2s ease, opacity .2s ease;
}
.button:hover { opacity: .9; }
.button--primary { background: linear-gradient(135deg, var(--gold), var(--gold-strong)); color: var(--ink-on-gold); font-weight: 500; }
.button--light { background: var(--white); color: var(--canvas); padding: 10px 18px; min-height: 42px; }
.button--ghost { background: transparent; border-color: rgba(255,255,255,.56); color: var(--white); }
.button--icon { padding-left: 10px; }
.button__icon { width: 32px; height: 32px; padding: 7px; border-radius: 10px; background: rgba(255,255,255,.14); }

.hero {
  min-height: 820px;
  position: relative;
  display: grid;
  place-items: center;
  isolation: isolate;
  overflow: hidden;
}
.hero__glow {
  position: absolute;
  inset: 24% 32%;
  background: rgba(23,169,123,.18);
  filter: blur(120px);
  border-radius: 50%;
  z-index: -2;
}
.hero__content { text-align: center; position: relative; z-index: 2; padding: 112px 0 120px; }
.eyebrow {
  margin: 0 0 24px;
  font-size: 15px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: .12em;
  color: var(--gold);
}
.hero__title {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(78px, 12vw, 148px);
  line-height: .88;
  letter-spacing: -.055em;
  font-weight: 600;
}
.hero__subtitle {
  width: min(680px, 100%);
  margin: 38px auto 0;
  color: var(--fog);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.55;
  font-weight: 200;
}
.hero__actions { margin-top: 38px; display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }
.hero__proof { margin-top: 40px; display: flex; justify-content: center; flex-wrap: wrap; gap: 20px; color: var(--mist); font-size: 13px; }
.hero__proof span { display: inline-flex; align-items: center; gap: 8px; }
.hero__proof span::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 12px rgba(217,180,74,.8); }

.floating-tags { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.tag {
  position: absolute;
  padding: 9px 15px;
  border-radius: 20px;
  color: var(--white);
  font-size: 12px;
  font-weight: 400;
  white-space: nowrap;
  box-shadow: rgba(255,255,255,.24) 3px 3px 8px inset, rgba(0,0,0,.22) -3px -3px 8px inset;
  animation: float 7s ease-in-out infinite;
}
.tag--coral { background: var(--coral); }
.tag--lime { background: var(--lime); }
.tag--orange { background: var(--orange); }
.tag--pink { background: var(--pink); }
.tag--violet { background: var(--violet); }
.tag--yellow { background: var(--yellow); color: #241e00; }
.tag--sky { background: var(--sky); }
.tag--slate { background: var(--slate); }
.tag--1 { left: 7%; top: 21%; transform: rotate(-8deg); animation-delay: -.8s; }
.tag--2 { left: 16%; bottom: 20%; transform: rotate(9deg); animation-delay: -3.2s; }
.tag--3 { right: 10%; top: 24%; transform: rotate(8deg); animation-delay: -1.4s; }
.tag--4 { right: 16%; bottom: 18%; transform: rotate(-11deg); animation-delay: -4s; }
.tag--5 { left: 3%; top: 48%; transform: rotate(7deg); animation-delay: -2.1s; }
.tag--6 { right: 3%; top: 52%; transform: rotate(-7deg); animation-delay: -5.3s; }
.tag--7 { left: 22%; top: 8%; transform: rotate(5deg); animation-delay: -3.6s; }
.tag--8 { right: 28%; bottom: 10%; transform: rotate(-5deg); animation-delay: -2.8s; }
@keyframes float { 0%,100% { translate: 0 0; } 50% { translate: 0 -10px; } }

.section { padding: 112px 0; position: relative; }
.section--deep { background: var(--surface); }
.manifesto { padding: 88px 0; }
.manifesto__inner { width: min(760px, calc(100% - 48px)); text-align: center; display: flex; flex-direction: column; align-items: center; gap: 28px; }
.manifesto__inner p { margin: 0; font-size: clamp(28px, 4vw, 48px); line-height: 1.25; font-weight: 200; letter-spacing: -.03em; }
.section-heading { max-width: 760px; margin-bottom: 56px; }
.section-heading h2, .security__copy h2, .cta-card h2 { margin: 0; font-family: "Space Grotesk", sans-serif; font-size: clamp(46px, 6vw, 72px); line-height: 1.02; letter-spacing: -.045em; font-weight: 600; }
.section-heading > p:last-child, .security__copy > p:last-child { margin: 22px 0 0; color: var(--fog); font-size: 18px; line-height: 1.6; max-width: 620px; font-weight: 200; }
.section-heading--split { max-width: none; display: grid; grid-template-columns: 1.2fr .8fr; gap: 64px; align-items: end; }
.section-heading--split > p { margin: 0 0 8px; color: var(--fog); font-size: 20px; line-height: 1.5; }

.feature-stack { display: grid; gap: 24px; }
.feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 24px; }
.feature-card, .security-card, .service-panel, .cta-card {
  background: var(--surface);
  border: 1px solid rgba(18,56,45,.75);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-inset);
}
.feature-card { padding: 34px; min-height: 360px; position: relative; overflow: hidden; }
.feature-card--wide { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 48px; min-height: 440px; }
.feature-card__index { display: block; margin-bottom: 64px; color: var(--gold); font-family: "Space Grotesk", sans-serif; font-size: 13px; letter-spacing: .08em; }
.feature-card h3, .security-card h3, .service-panel h3 { margin: 0; font-family: "Space Grotesk", sans-serif; font-size: clamp(28px, 3.6vw, 42px); line-height: 1.08; letter-spacing: -.035em; font-weight: 600; }
.feature-card p, .security-card p, .service-panel p { margin: 18px 0 0; color: var(--fog); font-size: 17px; line-height: 1.55; font-weight: 200; }
.ledger { padding: 24px; border-radius: 22px; background: var(--surface-2); border: 1px solid rgba(23,169,123,.2); box-shadow: rgba(23,169,123,.1) 0 0 20px inset; }
.ledger__top { display: flex; justify-content: space-between; padding: 0 0 18px; color: var(--mist); font-size: 13px; border-bottom: 1px solid rgba(255,255,255,.08); }
.ledger__row { display: grid; grid-template-columns: 40px 1fr auto; align-items: center; gap: 12px; min-height: 66px; border-bottom: 1px solid rgba(255,255,255,.06); font-size: 14px; }
.ledger__row:last-child { border-bottom: 0; }
.ledger__row strong { font-weight: 500; }
.ledger__icon { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 11px; }
.ledger__icon--coral { background: rgba(255,68,51,.18); }
.ledger__icon--sky { background: rgba(0,172,254,.18); }
.ledger__icon--violet { background: rgba(144,25,230,.18); }
.goal-card { margin-top: 46px; padding: 20px; border-radius: 20px; background: var(--surface-2); }
.goal-card > div:first-child { display: flex; justify-content: space-between; }
.goal-card strong { font-weight: 500; }
.progress { height: 8px; margin: 18px 0 12px; background: rgba(255,255,255,.08); border-radius: 999px; overflow: hidden; }
.progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--gold), var(--gold-strong)); border-radius: inherit; }
.goal-card small { color: var(--mist); }
.limit-orbit { width: 180px; height: 180px; margin: 42px auto 0; border-radius: 50%; display: grid; place-items: center; position: relative; background: conic-gradient(var(--emerald) 0 74%, rgba(255,255,255,.07) 74% 100%); }
.limit-orbit::after { content: ""; position: absolute; inset: 12px; border-radius: 50%; background: var(--surface-2); box-shadow: var(--shadow-inset); }
.limit-orbit__value, .limit-orbit__label { position: absolute; z-index: 1; }
.limit-orbit__value { top: 58px; font-family: "Space Grotesk", sans-serif; font-size: 32px; font-weight: 600; }
.limit-orbit__label { top: 102px; width: 100px; text-align: center; color: var(--mist); font-size: 11px; line-height: 1.3; }

.services-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.services-tab { border: 1px solid rgba(255,255,255,.12); background: transparent; color: var(--fog); padding: 11px 16px; border-radius: 999px; cursor: pointer; }
.services-tab.is-active { background: var(--emerald); border-color: var(--emerald); color: var(--white); }
.service-panel { padding: 40px; display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; min-height: 470px; }
.service-panel__badge { display: inline-flex; width: fit-content; padding: 8px 12px; border-radius: 999px; background: rgba(217,180,74,.16); color: var(--gold); font-size: 12px; margin-bottom: 26px; }
.service-panel ul { padding: 0; margin: 28px 0 0; list-style: none; display: grid; gap: 12px; color: var(--fog); }
.service-panel li { display: flex; gap: 10px; align-items: center; }
.service-panel li::before { content: "✓"; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: rgba(0,204,75,.14); color: var(--lime); font-size: 12px; }
.rates-card { background: var(--surface-2); border-radius: 24px; border: 1px solid rgba(23,169,123,.22); padding: 24px; box-shadow: rgba(23,169,123,.1) 0 0 24px inset; }
.rates-card__header { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 18px; }
.rates-card__header span { font-family: "Space Grotesk", sans-serif; font-size: 30px; font-weight: 600; }
.rates-card__header small { color: var(--mist); }
.rates-card__filters { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 14px; }
.rates-card__filters span { text-align: center; padding: 10px; border-radius: 12px; background: rgba(255,255,255,.04); color: var(--mist); font-size: 13px; }
.rates-card__filters .active { background: var(--emerald); color: var(--white); }
.rates-card__row { display: grid; grid-template-columns: 1.4fr .6fr .6fr; gap: 12px; align-items: center; min-height: 62px; border-bottom: 1px solid rgba(255,255,255,.06); font-size: 14px; }
.rates-card__row:last-child { border-bottom: 0; }
.rates-card__row strong { text-align: right; font-weight: 500; }
.rates-card__row small { text-align: right; color: var(--mist); font-size: 13px; }

.security { display: grid; grid-template-columns: .85fr 1.15fr; gap: 72px; align-items: start; }
.security__cards { display: grid; gap: 16px; }
.security-card { padding: 28px; }
.security-card > span { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 34px; border-radius: 14px; background: var(--surface-2); }
.security-card h3 { font-size: 26px; }
.security-card p { font-size: 15px; }

.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; align-items: start; }
.faq__list { display: grid; }
.faq__item { border-top: 1px solid rgba(255,255,255,.12); }
.faq__item:last-child { border-bottom: 1px solid rgba(255,255,255,.12); }
.faq__item summary { cursor: pointer; list-style: none; padding: 24px 48px 24px 0; position: relative; font-family: "Space Grotesk", sans-serif; font-size: 20px; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; position: absolute; right: 4px; font-size: 26px; font-weight: 200; top: 20px; }
.faq__item[open] summary::after { content: "−"; }
.faq__item p { margin: 0; padding: 0 40px 24px 0; color: var(--fog); line-height: 1.6; }

.cta-section { padding-top: 80px; }
.cta-card { min-height: 520px; position: relative; overflow: hidden; padding: 72px 40px; text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; background: var(--surface-2); }
.cta-card h2 { max-width: 800px; }
.cta-card > p:not(.eyebrow) { max-width: 620px; margin: 24px 0 30px; color: var(--fog); font-size: 18px; line-height: 1.6; }
.floating-tags--cta .tag:nth-child(1) { left: 7%; top: 20%; transform: rotate(-9deg); }
.floating-tags--cta .tag:nth-child(2) { right: 9%; top: 24%; transform: rotate(8deg); }
.floating-tags--cta .tag:nth-child(3) { right: 16%; bottom: 15%; transform: rotate(-6deg); }

.footer { padding: 34px 0; border-top: 1px solid rgba(255,255,255,.08); }
.footer__inner { display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; align-items: center; }
.footer__inner p { margin: 0; color: var(--mist); font-size: 12px; }
.footer__links { justify-self: end; display: flex; gap: 20px; color: var(--mist); font-size: 13px; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1024px) {
  .nav { grid-template-columns: 1fr auto; }
  .nav__links, .nav__actions { display: none; }
  .nav__toggle { display: block; }
  .mobile-menu { position: fixed; left: 16px; right: 16px; top: 84px; display: grid; gap: 4px; padding: 16px; border-radius: 22px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-inset); }
  .mobile-menu[hidden] { display: none; }
  .mobile-menu a:not(.button) { padding: 14px; color: var(--fog); }
  .hero { min-height: 760px; }
  .tag--5, .tag--6 { display: none; }
  .feature-card--wide, .service-panel, .security, .faq { grid-template-columns: 1fr; }
  .section-heading--split { grid-template-columns: 1fr; gap: 24px; }
  .security { gap: 44px; }
  .faq { gap: 30px; }
}

@media (max-width: 760px) {
  .container { width: min(100% - 32px, 1200px); }
  .announcement { justify-content: flex-start; flex-wrap: wrap; padding-left: 16px; }
  .announcement a { display: none; }
  .hero { min-height: 700px; }
  .hero__content { padding: 92px 0 96px; }
  .hero__title { font-size: clamp(64px, 21vw, 96px); }
  .hero__subtitle { font-size: 17px; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__proof { gap: 12px; }
  .tag { font-size: 11px; padding: 8px 12px; }
  .tag--7, .tag--8 { display: none; }
  .tag--1 { left: 3%; top: 18%; }
  .tag--2 { left: 7%; bottom: 14%; }
  .tag--3 { right: 4%; top: 18%; }
  .tag--4 { right: 6%; bottom: 13%; }
  .section { padding: 80px 0; }
  .manifesto { padding: 64px 0; }
  .section-heading { margin-bottom: 40px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card, .service-panel, .security-card { padding: 24px; }
  .feature-card--wide { gap: 30px; }
  .feature-card__index { margin-bottom: 40px; }
  .service-panel { gap: 34px; }
  .rates-card { padding: 18px; }
  .rates-card__row { grid-template-columns: 1.1fr .7fr .7fr; font-size: 12px; }
  .cta-card { min-height: 500px; padding: 58px 24px; }
  .floating-tags--cta .tag:nth-child(1) { left: 3%; top: 12%; }
  .floating-tags--cta .tag:nth-child(2) { right: 3%; top: 14%; }
  .floating-tags--cta .tag:nth-child(3) { display: none; }
  .footer__inner { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .footer__links { justify-self: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
