:root {
  --bg: #ffffff;
  --bg-soft: #f5f7fb;
  --ink: #091224;
  --ink-soft: #344256;
  --line: #d8e0eb;
  --panel: #173660;
  --panel-line: rgba(130, 165, 214, 0.28);
  --accent: #cc9940;
  --shadow-soft: 0 28px 64px rgba(9, 18, 36, 0.12);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background: var(--bg);
}

.founder-page {
  font-family: "Inter", "Segoe UI", sans-serif;
}

.page-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

.site-header {
  border-bottom: 1px solid var(--line);
  background: #ffffff;
}

.header-row {
  height: 78px;
  display: grid;
  grid-template-columns: 280px 1fr 96px;
  align-items: center;
  gap: 24px;
  width: min(1120px, 100%);
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.035em;
  white-space: nowrap;
}

.brand-logo {
  width: 28px;
  height: 28px;
  object-fit: contain;
  flex-shrink: 0;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 0;
}

.nav-item {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  text-align: center;
  font-size: 13px;
  line-height: 1.16;
  color: var(--ink-soft);
  white-space: normal;
  min-width: 0;
}

.lang-switch {
  display: inline-flex;
  justify-self: end;
  align-items: center;
  padding: 4px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.lang-switch a {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  color: var(--ink-soft);
  text-decoration: none;
}

.lang-switch a.active {
  background: var(--panel);
  color: #ffffff;
}

.hero-shell {
  flex: 1;
  padding: 42px 0 28px;
}

.content-shell {
  flex: 1;
  padding: 56px 0 40px;
}

.content-grid {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 72px;
  align-items: start;
}

.content-main {
  max-width: 700px;
  min-width: 0;
}

.founder-main {
  max-width: 780px;
  min-width: 0;
}

.founder-page .brand,
.founder-page .nav-item,
.founder-page .lang-switch a {
  font-family: "Inter", "Segoe UI", sans-serif;
}

.page-kicker {
  margin: 0 0 20px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.page-title {
  margin: 0;
  max-width: 680px;
  font-size: 56px;
  line-height: 1.02;
  letter-spacing: -0.05em;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.founder-page .page-title {
  max-width: 780px;
  font-size: 54px;
  line-height: 1;
  letter-spacing: -0.055em;
  font-weight: 800;
}

.lang-ru .page-title {
  max-width: 760px;
  font-size: 48px;
  line-height: 1.04;
  letter-spacing: -0.045em;
  font-weight: 700;
}

.page-lead {
  margin: 28px 0 0;
  max-width: 640px;
  color: var(--ink-soft);
  font-size: 20px;
  line-height: 1.55;
}

.founder-copy {
  margin-top: 28px;
  max-width: 760px;
}

.founder-copy p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.58;
  overflow-wrap: anywhere;
}

.founder-page .founder-copy p {
  font-size: 15px;
  line-height: 1.58;
  letter-spacing: -0.01em;
}

.founder-page .founder-copy p:first-child {
  font-size: 17px;
  line-height: 1.54;
}

.founder-copy p + p {
  margin-top: 26px;
}

.principles-list {
  margin-top: 34px;
  display: grid;
  gap: 18px;
}

.principle-item {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.principle-number {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #c79a46;
  color: #ffffff;
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
}

.principle-copy h2 {
  margin: 0;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.principle-copy p {
  margin: 10px 0 0;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.6;
}

.content-aside {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--bg-soft);
}

.founder-aside {
  margin-top: 14px;
}

.founder-page .founder-aside {
  padding: 22px 24px;
}

.content-aside h2 {
  margin: 0 0 18px;
  font-size: 18px;
  line-height: 1.2;
}

.founder-page .content-aside h2 {
  font-size: 16px;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.founder-page .aside-intro {
  margin: -6px 0 12px;
  color: #5f6e83;
  font-size: 12px;
  line-height: 1.35;
}

.content-aside ul {
  margin: 0;
  padding-left: 22px;
}

.content-aside li {
  margin-bottom: 14px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.4;
}

.founder-page .content-aside li {
  margin-bottom: 12px;
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: -0.01em;
}

.assets-shell {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.assets-intro {
  max-width: 840px;
  margin-bottom: 28px;
}

.assets-page .page-title {
  max-width: 900px;
  font-size: 48px;
  line-height: 1.03;
  letter-spacing: -0.045em;
}

.assets-page .page-lead {
  margin-top: 18px;
  max-width: 860px;
}

.assets-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.asset-card {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #ffffff;
  padding: 18px;
  box-shadow: 0 14px 30px rgba(9, 18, 36, 0.08);
}

.asset-logo-wrap {
  height: 74px;
  display: flex;
  align-items: center;
}

.asset-logo {
  max-width: 100%;
  max-height: 66px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.asset-domain {
  margin: 10px 0 0;
  color: var(--ink);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.asset-domain a {
  color: inherit;
  text-decoration: none;
}

.asset-domain a:hover {
  text-decoration: underline;
}

.asset-description {
  margin: 10px 0 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.55;
  min-height: 64px;
}

.asset-stagebar {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
}

.stage-segment {
  min-height: 62px;
  padding: 8px 7px;
  border-radius: 10px;
  border: 1px solid #cfd7e5;
  background: linear-gradient(180deg, #ffffff 0%, #f2f5fa 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 3px 7px rgba(23, 54, 96, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 0;
}

.stage-segment.is-active {
  background: linear-gradient(180deg, #4d5158 0%, #2f3339 100%);
  border-color: #30343a;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 4px 9px rgba(12, 14, 16, 0.28);
}

.stage-led {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: #e3e8f1;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.72);
}

.stage-segment.is-active .stage-led {
  background: radial-gradient(circle at 35% 35%, #ff9090 0%, #ff3b3b 45%, #bf1010 100%);
  box-shadow: 0 0 10px rgba(255, 54, 54, 0.8), inset 0 0 2px rgba(255, 255, 255, 0.65);
}

.stage-label {
  text-align: center;
  font-size: 11px;
  line-height: 1.15;
  color: #1c2737;
  font-weight: 700;
  letter-spacing: -0.01em;
  white-space: nowrap;
  word-break: normal;
  overflow-wrap: normal;
  text-overflow: ellipsis;
  overflow: hidden;
  max-width: 100%;
}

.stage-segment.is-active .stage-label {
  color: #ffffff;
}

.asset-note {
  margin: 12px 0 0;
  min-height: 40px;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.45;
  border-top: 1px solid #e3e9f2;
  padding-top: 10px;
}

.contacts-shell {
  width: min(920px, 100%);
  margin: 0 auto;
}

.contacts-intro {
  max-width: 820px;
  margin-bottom: 24px;
}

.contacts-page .page-title {
  max-width: 760px;
  font-size: 46px;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.contacts-card {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #ffffff;
  padding: 22px;
  box-shadow: 0 14px 30px rgba(9, 18, 36, 0.08);
}

.contacts-card-spaced {
  margin-top: 18px;
}

.contacts-block-title {
  margin: 4px 0 10px;
  font-size: 18px;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.contacts-inline-note {
  margin: 0 0 12px;
  padding: 10px 12px;
  border: 1px solid #d6dfeb;
  border-radius: 10px;
  background: #f7f9fd;
  color: #30435c;
  font-size: 13px;
  line-height: 1.45;
}

.contact-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 14px;
  align-items: start;
  padding: 12px 0;
  border-bottom: 1px solid #e5ebf4;
}

.contact-row:last-child {
  border-bottom: none;
}

.contact-label,
.contact-value {
  margin: 0;
}

.contact-label {
  font-size: 14px;
  font-weight: 700;
  color: #223249;
}

.contact-value {
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-soft);
}

.contact-value a {
  color: #183f72;
  text-decoration: none;
  font-weight: 700;
}

.contact-value a:hover {
  text-decoration: underline;
}

.copy-btn {
  border: 1px solid #ccd7e8;
  background: #f8faff;
  color: #1a3a67;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  border-radius: 999px;
  padding: 7px 10px;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background-color 0.16s ease, border-color 0.16s ease, transform 0.16s ease;
}

.copy-btn:hover {
  background: #eef3fb;
  border-color: #b9c9df;
  transform: translateY(-1px);
}

.contacts-copy-top {
  display: flex;
  justify-content: flex-end;
  margin: 0 0 10px;
}

.hero-grid {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  justify-content: start;
  gap: 0;
  align-items: start;
  min-height: calc(100vh - 78px - 74px - 70px);
}

.hero-copy {
  width: 100%;
  max-width: 640px;
  padding-top: 56px;
}

.hero-kicker {
  margin: 0 0 24px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.hero-title {
  margin: 0;
  min-height: 360px;
  max-width: 640px;
  font-size: 78px;
  line-height: 0.94;
  letter-spacing: -0.065em;
  font-weight: 800;
}

.hero-text {
  margin: 26px 0 0;
  min-height: 78px;
  max-width: 560px;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.5;
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  gap: 14px;
}

.button {
  width: 170px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.button-dark {
  background: var(--panel);
  color: #ffffff;
  border: 1px solid #133153;
}

.button-light {
  background: #ffffff;
  color: var(--ink);
  border: 1px solid var(--line);
}

.button-dark:hover {
  background: #1a3d6d;
  transform: translateY(-1px);
}

.button-light:hover {
  background: #f7f9fd;
  border-color: #c9d4e4;
  transform: translateY(-1px);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
}

.footer-row {
  min-height: 74px;
  display: flex;
  align-items: center;
  width: min(1120px, 100%);
  margin: 0 auto;
}

.footer-row p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
}

.privacy-shell {
  width: min(760px, 100%);
  margin: 0 auto;
}

.privacy-title {
  margin: 0 0 32px;
  max-width: 680px;
  font-size: 40px;
  line-height: 1.08;
  letter-spacing: -0.04em;
  font-weight: 800;
}

.privacy-content {
  max-width: 680px;
}

.privacy-section + .privacy-section {
  margin-top: 28px;
}

.privacy-section h2 {
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.privacy-section p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.58;
}

.privacy-section p + p {
  margin-top: 10px;
}

.privacy-section a {
  color: #183f72;
  text-decoration: none;
  font-weight: 700;
}

.privacy-section a:hover {
  text-decoration: underline;
}

.nav-item.active {
  color: var(--ink);
  font-weight: 800;
}

.cookie-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 -8px 24px rgba(9, 18, 36, 0.08);
}

.cookie-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  width: min(1120px, calc(100% - 48px));
}

.cookie-bar-text {
  margin: 0;
  flex: 1;
  min-width: 0;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.45;
}

.cookie-bar-text a {
  color: #183f72;
  text-decoration: none;
  font-weight: 700;
}

.cookie-bar-text a:hover {
  text-decoration: underline;
}

.cookie-bar-btn {
  flex-shrink: 0;
  min-width: 108px;
  height: 36px;
  padding: 0 16px;
  border: 1px solid #133153;
  border-radius: 999px;
  background: var(--panel);
  color: #ffffff;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.16s ease, transform 0.16s ease;
}

.cookie-bar-btn:hover {
  background: #1a3d6d;
  transform: translateY(-1px);
}

@media (max-width: 1180px) {
  .container {
    width: min(1180px, calc(100% - 48px));
  }

  .hero-grid {
    width: 100%;
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: 68px;
    min-height: 320px;
  }

  .header-row {
    grid-template-columns: 220px 1fr 96px;
    width: 100%;
  }

  .hero-copy {
    width: auto;
    max-width: none;
  }

  .content-grid {
    width: 100%;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 48px;
  }
}

@media (max-width: 980px) {
  .header-row {
    height: auto;
    padding: 14px 0;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "brand switch"
      "nav nav";
    gap: 12px 16px;
    width: 100%;
  }

  .brand {
    grid-area: brand;
    min-width: 0;
  }

  .desktop-nav {
    grid-area: nav;
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 6px;
    overflow: hidden;
  }

  .nav-item {
    width: auto !important;
    min-width: 0;
    flex: 1 1 0;
    font-size: clamp(11px, 2.3vw, 13px);
    line-height: 1.1;
    min-height: 34px;
    white-space: nowrap;
  }

  .lang-switch {
    grid-area: switch;
    justify-self: end;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    min-height: auto;
  }

  .content-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero-title {
    min-height: auto;
    font-size: 56px;
    max-width: none;
  }

  .hero-text {
    min-height: auto;
  }

  .content-main {
    max-width: none;
  }

  .page-title {
    max-width: none;
    font-size: 46px;
  }

  .page-lead {
    max-width: none;
    font-size: 18px;
  }

  .principle-copy h2 {
    font-size: 20px;
  }

  .assets-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .contact-row {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 10px 0;
  }

}

@media (max-width: 640px) {
  .container {
    width: min(100% - 32px, 1180px);
  }

  .footer-row {
    width: 100%;
  }

  .header-row {
    gap: 10px 12px;
  }

  .brand {
    font-size: 15px;
  }

  .brand-logo {
    width: 24px;
    height: 24px;
  }

  .nav-item {
    font-size: clamp(10px, 2.8vw, 12px);
    padding: 0 2px;
  }

  .founder-page .page-title {
    max-width: 100%;
    font-size: clamp(26px, 7.2vw, 34px);
    line-height: 1.08;
    letter-spacing: -0.03em;
    overflow-wrap: anywhere;
  }

  .hero-title {
    font-size: 44px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .lang-ru .brand {
    font-size: 13px;
    letter-spacing: -0.03em;
  }

  .lang-ru .nav-item {
    font-size: 9px;
    letter-spacing: -0.03em;
    padding: 0 1px;
  }

  .lang-ru .page-title {
    max-width: 100%;
    font-size: clamp(24px, 6.9vw, 31px);
    line-height: 1.08;
    letter-spacing: -0.03em;
    font-weight: 700;
    overflow-wrap: anywhere;
  }

  .lang-ru .founder-copy p:first-child {
    font-size: 16px;
  }

  .lang-ru .founder-copy p {
    font-size: 14px;
    line-height: 1.56;
  }

  .assets-page .page-title {
    font-size: clamp(28px, 8vw, 36px);
    line-height: 1.08;
    letter-spacing: -0.028em;
  }

  .contacts-page .page-title {
    font-size: clamp(28px, 8vw, 36px);
    line-height: 1.08;
    letter-spacing: -0.028em;
  }

  .assets-page .page-lead {
    font-size: 16px;
    line-height: 1.5;
  }

  .asset-card {
    padding: clamp(10px, 2.8vw, 16px);
    border-radius: 14px;
  }

  .asset-logo-wrap {
    height: clamp(44px, 12vw, 66px);
  }

  .asset-logo {
    max-height: clamp(36px, 10.5vw, 58px);
  }

  .asset-domain {
    margin-top: 8px;
    font-size: clamp(13px, 3.6vw, 18px);
  }

  .asset-description {
    font-size: clamp(11px, 2.7vw, 14px);
    line-height: 1.45;
    min-height: 0;
  }

  .asset-stagebar {
    gap: 4px;
  }

  .stage-segment {
    min-height: clamp(44px, 13vw, 58px);
    padding: clamp(4px, 1.2vw, 7px) 4px;
    border-radius: 8px;
    gap: 4px;
  }

  .stage-led {
    width: clamp(8px, 2.2vw, 11px);
    height: clamp(8px, 2.2vw, 11px);
  }

  .stage-label {
    font-size: clamp(6px, 1.55vw, 9px);
    line-height: 1.15;
    letter-spacing: -0.025em;
    padding-bottom: 1px;
  }

  .asset-note {
    margin-top: 9px;
    padding-top: 8px;
    font-size: clamp(10px, 2.5vw, 13px);
    line-height: 1.35;
    min-height: 0;
  }

  .contacts-card {
    padding: 16px;
    border-radius: 16px;
  }

  .contacts-block-title {
    font-size: 16px;
    margin-bottom: 8px;
  }

  .contact-label {
    font-size: 13px;
  }

  .contact-value {
    font-size: 14px;
    line-height: 1.45;
  }

  .privacy-title {
    font-size: clamp(26px, 7vw, 34px);
    margin-bottom: 24px;
  }

  .privacy-section h2 {
    font-size: 17px;
  }

  .privacy-section p {
    font-size: 14px;
  }

  .cookie-bar-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    width: min(100% - 32px, 1120px);
    padding: 10px 0 12px;
  }

  .cookie-bar-btn {
    width: 100%;
    min-width: 0;
  }
}
