:root {
  --bg: #fbf8f0;
  --cream: #fffdf8;
  --ink: #07183a;
  --ink-soft: #31415f;
  --muted: #53617d;
  --aqua: #2fc6c9;
  --aqua-dark: #119da4;
  --gold: #dfae45;
  --gold-dark: #bd7f2d;
  --line: rgba(7, 24, 58, .11);
  --panel: rgba(255, 255, 255, .84);
  --shadow: 0 22px 70px rgba(17, 33, 67, .11);
  --soft-shadow: 0 14px 38px rgba(17, 33, 67, .08);
  --radius: 8px;
  --container: min(1180px, calc(100vw - 40px));
  font-family: "Lorenzo Sans", Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, #fffdf8 0%, #f8fbfa 32%, #fffdf8 64%, #f7fbfb 100%);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; }

.page-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(135deg, rgba(47,198,201,.12), transparent 24%),
    linear-gradient(315deg, rgba(223,174,69,.12), transparent 24%);
}

.site-header {
  position: sticky;
  top: 14px;
  z-index: 20;
  width: min(1360px, calc(100vw - 28px));
  min-height: 68px;
  margin: 14px auto 0;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid rgba(255,255,255,.9);
  border-radius: var(--radius);
  background: rgba(255,255,255,.84);
  box-shadow: var(--soft-shadow);
  backdrop-filter: blur(18px);
}
.brand img, .site-footer img, .sidebar img, .auth-card img { width: 174px; height: auto; }
.nav { display: flex; gap: 28px; font-size: 13px; font-weight: 700; text-transform: uppercase; color: #102650; }
.nav a:hover { color: var(--aqua-dark); }
.header-button, .btn {
  min-height: 46px;
  border: 0;
  border-radius: var(--radius);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 20px;
  cursor: pointer;
  font-weight: 750;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.header-button { background: #c5eeef; color: var(--ink); }
.btn:hover, .header-button:hover { transform: translateY(-1px); }
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #23c3c8, #4fd5d0);
  box-shadow: 0 16px 34px rgba(47,198,201,.25);
}
.btn-soft { color: var(--ink); background: rgba(255,255,255,.78); border: 1px solid var(--line); }

.hero-shell {
  width: min(1360px, calc(100vw - 28px));
  min-height: 660px;
  margin: 16px auto 0;
  padding: 52px;
  display: grid;
  grid-template-columns: .86fr 1.14fr;
  align-items: center;
  gap: 30px;
  overflow: hidden;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255,255,255,.95), rgba(255,253,248,.86)),
    linear-gradient(120deg, rgba(47,198,201,.18), rgba(223,174,69,.14));
  box-shadow: var(--shadow);
}
.eyebrow, .section-cap, .kicker {
  color: var(--gold-dark);
  font-size: 12px;
  line-height: 1.35;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 800;
}
.hero-copy h1, .section-title, .hero-panel h1, .panel h1 {
  margin: 12px 0 0;
  font-size: clamp(42px, 5.4vw, 82px);
  line-height: .98;
  letter-spacing: 0;
}
.hero-copy h1 span, .section-title span { display: block; }
.hero-copy h1 strong, .section-title strong { display: block; color: var(--aqua); }
.section-title.gold strong { color: var(--gold-dark); }
.hero-text, .section-subtitle, .hero-panel p, .panel p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.62;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.hero-visual { position: relative; min-height: 560px; }
.hero-image { width: 100%; height: 550px; object-fit: contain; object-position: center right; }
.live-card {
  position: absolute;
  right: 0;
  bottom: 20px;
  width: min(540px, 88%);
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 18px;
  padding: 22px;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(255,255,255,.9);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.live-card strong { display: block; margin-top: 8px; font-size: 38px; }
.status-pill { display: inline-flex; padding: 6px 10px; border-radius: 999px; background: rgba(47,198,201,.12); color: var(--aqua-dark); font-size: 12px; font-weight: 800; }

.section { width: var(--container); margin: 110px auto 0; }
.center { text-align: center; }
.flow-grid, .plans-grid, .route-grid, .dash-grid {
  display: grid;
  gap: 16px;
  margin-top: 34px;
  min-width: 0;
}
.flow-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.plans-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.route-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.dash-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.step-card, .plan-card, .metric-card, .panel, .mini-panel, .notice-card {
  background: var(--panel);
  border: 1px solid rgba(255,255,255,.88);
  border-radius: var(--radius);
  box-shadow: var(--soft-shadow);
}
.step-card, .metric-card, .mini-panel, .notice-card { padding: 22px; }
.step-card span, .metric-card span { color: var(--gold-dark); font-weight: 900; }
.step-card h3, .metric-card h3, .plan-card h3, .panel h2 { margin: 12px 0 8px; font-size: 24px; line-height: 1.14; }
.step-card p, .metric-card p, .plan-card p { color: var(--muted); line-height: 1.55; }
.plan-card { overflow: hidden; }
.plan-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: #eefafa; }
.plan-card div { padding: 22px; }
.plan-card span { color: var(--aqua-dark); font-weight: 800; }
.route-section {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: 34px;
  align-items: start;
}
.cta-section {
  width: var(--container);
  margin: 110px auto 0;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 30px;
  align-items: start;
}
.demo-section {
  width: var(--container);
  margin: 110px auto 0;
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(320px, .65fr);
  gap: 28px;
  align-items: stretch;
  padding: 34px;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(7,24,58,.96), rgba(7,43,57,.94)),
    linear-gradient(135deg, rgba(47,198,201,.16), rgba(223,174,69,.16));
  color: #fff;
  box-shadow: var(--shadow);
}
.demo-section .section-title,
.demo-section .section-subtitle { color: #fff; }
.demo-section .section-title strong { color: #60dde0; }
.demo-section .section-subtitle { color: rgba(255,255,255,.76); }
.demo-card {
  display: grid;
  gap: 18px;
  align-content: space-between;
  padding: 24px;
  border-radius: var(--radius);
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.18);
}
.demo-card h3 {
  margin: 14px 0 8px;
  font-size: 28px;
}
.demo-card p {
  margin: 0;
  color: rgba(255,255,255,.74);
  line-height: 1.55;
}
.lead-form, .factory-form, .auth-card form {
  display: grid;
  gap: 16px;
  padding: 28px;
  background: var(--panel);
  border: 1px solid rgba(255,255,255,.88);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
label, .field { display: grid; gap: 8px; color: var(--ink-soft); font-weight: 750; }
input, textarea, select {
  width: 100%;
  border: 1px solid rgba(7,24,58,.14);
  border-radius: var(--radius);
  background: rgba(255,255,255,.92);
  color: var(--ink);
  padding: 13px 14px;
  outline: none;
}
textarea { min-height: 128px; resize: vertical; line-height: 1.5; }
input:focus, textarea:focus, select:focus { border-color: var(--aqua); box-shadow: 0 0 0 4px rgba(47,198,201,.13); }
.consent { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; line-height: 1.35; font-weight: 600; color: var(--muted); }
.consent input { width: auto; margin-top: 2px; }
.consent a { color: var(--aqua-dark); text-decoration: underline; }
.site-footer {
  width: min(1360px, calc(100vw - 28px));
  margin: 90px auto 0;
  padding: 42px 0;
  color: #fff;
  display: grid;
  gap: 18px;
  border-radius: var(--radius) var(--radius) 0 0;
  background: linear-gradient(135deg, #031521, #072b39);
  place-items: center;
}
.site-footer nav { display: flex; gap: 18px; flex-wrap: wrap; color: rgba(255,255,255,.74); }

.thank-page {
  width: min(1180px, calc(100vw - 40px));
  margin: 26px auto 0;
  display: grid;
  gap: 18px;
}
.thank-card {
  min-height: 520px;
  display: grid;
  align-content: center;
  padding: 56px;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255,255,255,.94), rgba(239,250,250,.9)),
    linear-gradient(135deg, rgba(47,198,201,.18), rgba(223,174,69,.16));
  box-shadow: var(--shadow);
}
.thank-card h1 {
  max-width: 860px;
  margin: 14px 0 0;
  font-size: clamp(44px, 6vw, 88px);
  line-height: .98;
  letter-spacing: 0;
}
.thank-card h1 span,
.thank-card h1 strong { display: block; }
.thank-card h1 strong { color: var(--aqua); }
.thank-card p {
  max-width: 660px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.58;
}
.thank-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 18px;
}
.thank-heading {
  margin: 34px 0 0;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.02;
  letter-spacing: 0;
}
.thank-next {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.thank-next article {
  padding: 22px;
  border-radius: var(--radius);
  background: var(--panel);
  border: 1px solid rgba(255,255,255,.88);
  box-shadow: var(--soft-shadow);
}
.thank-next span {
  color: var(--gold-dark);
  font-weight: 900;
}
.thank-next h2 {
  margin: 10px 0 6px;
  font-size: 26px;
  line-height: 1.18;
}
.thank-next p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.app { min-height: 100vh; display: grid; grid-template-columns: 260px minmax(0, 1fr); }
.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 26px 18px;
  background: rgba(255,255,255,.78);
  border-right: 1px solid rgba(7,24,58,.08);
  backdrop-filter: blur(18px);
}
.sidebar nav { display: grid; gap: 8px; margin-top: 28px; }
.sidebar a { padding: 12px 14px; border-radius: var(--radius); color: var(--ink-soft); font-weight: 750; }
.sidebar a:hover { background: rgba(47,198,201,.10); color: var(--aqua-dark); }
.admin-side { background: linear-gradient(180deg, rgba(3,21,33,.96), rgba(7,43,57,.96)); }
.admin-side a { color: rgba(255,255,255,.78); }
.app-main { width: min(1120px, calc(100vw - 320px)); margin: 0 auto; padding: 36px 0 70px; }
.panel {
  padding: 28px;
  margin-bottom: 16px;
}
.hero-panel { padding: 34px; background: linear-gradient(135deg, rgba(255,255,255,.93), rgba(239,250,250,.88)); }
.hero-panel h1, .panel h1 { font-size: clamp(36px, 4vw, 60px); }
.context-head { display: flex; justify-content: space-between; gap: 22px; align-items: start; }
.prep-panel { background: rgba(223,174,69,.09); border-color: rgba(223,174,69,.14); }
.progress { height: 10px; overflow: hidden; border-radius: 999px; background: rgba(7,24,58,.08); margin: 20px 0; }
.progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--aqua), var(--gold)); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.full { grid-column: 1 / -1; }
.factory-form { padding: 0; background: transparent; border: 0; box-shadow: none; }
.factory-form small { color: var(--muted); font-weight: 500; line-height: 1.4; }
.form-actions { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 6px; }
.context-select { display: flex; gap: 12px; align-items: end; flex-wrap: wrap; }
.context-select label { min-width: 280px; }
.check-grid, .social-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 16px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.social-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
legend { padding: 0 8px; color: var(--ink); font-weight: 850; }
.check-grid label { display: flex; gap: 8px; align-items: center; padding: 10px; background: rgba(255,255,255,.7); border-radius: var(--radius); }
.check-grid input { width: auto; }
.quota-grid, .usage-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}
.usage-panel { display: grid; grid-template-columns: .7fr 1.3fr; gap: 20px; align-items: center; }
.usage-grid div { padding: 14px; border-radius: var(--radius); background: rgba(255,255,255,.72); border: 1px solid rgba(7,24,58,.08); }
.usage-grid span, .usage-grid small { display: block; color: var(--muted); }
.usage-grid strong { display: block; margin: 6px 0; font-size: 22px; }
.data-table { width: 100%; border-collapse: collapse; overflow: hidden; border-radius: var(--radius); }
.data-table th, .data-table td { padding: 13px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.data-table th { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.result-editor { min-height: 460px; font-family: inherit; }
.approve-form { margin-top: 14px; }
.stack { display: grid; gap: 12px; }
.auth-page { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.auth-card, .auth-page .panel { width: min(460px, 100%); }
.error { color: #9b2626; background: rgba(155,38,38,.08); padding: 10px; border-radius: var(--radius); }
.legal { width: var(--container); margin: 40px auto; }

@media (max-width: 1100px) {
  .hero-shell, .route-section, .cta-section, .demo-section, .usage-panel { grid-template-columns: 1fr; }
  .hero-visual { min-height: 480px; }
  .flow-grid, .plans-grid, .route-grid, .quota-grid, .usage-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .app { grid-template-columns: 1fr; }
  .sidebar { position: relative; height: auto; border-right: 0; border-bottom: 1px solid var(--line); }
  .sidebar nav { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .app-main { width: min(100vw - 28px, 980px); }
}

@media (max-width: 720px) {
  :root { --container: min(100vw - 24px, 1180px); }
  .site-header { align-items: flex-start; }
  .nav { display: none; }
  .brand img, .sidebar img { width: 140px; }
  .hero-shell { padding: 28px 18px; min-height: auto; }
  .hero-copy h1, .section-title { font-size: 42px; }
  .hero-visual { min-height: 390px; }
  .hero-image { height: 360px; object-position: center; }
  .live-card { position: relative; width: 100%; bottom: auto; grid-template-columns: 1fr; margin-top: -20px; }
  .flow-grid, .plans-grid, .route-grid, .dash-grid, .form-grid, .check-grid, .social-grid, .quota-grid, .usage-grid { grid-template-columns: 1fr; }
  .cta-section, .section { margin-top: 72px; }
  .sidebar nav { grid-template-columns: 1fr 1fr; }
  .context-head { display: grid; }
  .data-table { display: block; overflow-x: auto; white-space: nowrap; }
  .btn, .header-button { width: 100%; }
  .thank-page { width: min(100vw - 24px, 1180px); }
  .thank-card { min-height: auto; padding: 34px 20px; }
  .thank-next { grid-template-columns: 1fr; }
}

@font-face {
  font-family: "Lorenzo Sans";
  src: url("/assets/fonts/Lorenzo Sans Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Lorenzo Sans";
  src: url("/assets/fonts/Lorenzo Sans Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Lorenzo Sans";
  src: url("/assets/fonts/Lorenzo Sans Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Lorenzo Sans";
  src: url("/assets/fonts/Lorenzo-Sans-Bold.ttf") format("truetype");
  font-weight: 800 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --font-main: "Lorenzo Sans";
  --font-heading: "Lorenzo Sans";
  --font-text: "Lorenzo Sans";
  --font-ui: "Lorenzo Sans";
  --text: #07183a;
  --text-soft: #26375d;
  --aqua-core: #34c9c4;
  --gold-core: #d6a247;
  --teal: #1baaa9;
}

.site-header .nav,
.site-header .header-button,
.hero-shell,
.hero-shell p,
.hero-shell a,
.hero-shell button,
.hero-shell span,
.hero-shell strong,
.hero-text,
.system-ten,
.system-ten p,
.system-ten span,
.scale-v2,
.scale-v2 p,
.scale-v2 span,
.site-footer,
.site-footer p,
.site-footer a,
.site-footer span {
  font-family: var(--font-text) !important;
}

.logo-brand-text,
.hero-copy h1,
.hero-copy h1 span,
.hero-copy h1 strong,
.system-ten h2,
.system-ten h3,
.system-ten__badge,
.scale-v2 h2,
.scale-v2 h3,
.scale-v2__title-line,
.scale-v2__top-badge,
.site-footer h3 {
  font-family: var(--font-heading) !important;
}

.site-header {
  width: min(1360px, calc(100vw - 56px));
  margin: 14px auto 0;
  height: 68px;
  min-height: 68px;
  padding: 0 26px;
  border-radius: 20px;
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(255,255,255,.86);
  box-shadow: 0 18px 50px rgba(17,33,67,.08);
  backdrop-filter: blur(20px);
  align-items: center;
  top: 18px;
}

.logo-brand--animated {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: 178px;
  flex: 0 0 auto;
}

.logo-ornament {
  width: 48px;
  height: 48px;
  min-width: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  overflow: hidden;
  background: radial-gradient(circle at 50% 50%, rgba(255,255,255,.72), rgba(255,255,255,.18));
}

.logo-ornament__video {
  display: block;
  width: 54px;
  height: 54px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.logo-brand-text {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
  color: #0b1838;
  font-family: var(--font-heading) !important;
  font-weight: 800;
  line-height: .94;
  letter-spacing: -0.02em;
  text-transform: none;
  white-space: nowrap;
}

.logo-brand-text span:first-child,
.logo-brand-text span:last-child {
  font-size: 18px;
}

.logo-brand-text span:last-child {
  color: var(--teal);
}

.site-header .nav {
  display: flex;
  align-items: center;
  gap: 38px;
  color: #0b1838;
  font-size: 15px;
  font-weight: 600;
  text-transform: none;
}

.site-header .nav a:hover {
  color: var(--teal);
}

.site-header .header-button {
  height: 48px;
  min-width: 146px;
  border-radius: 14px;
  background: #c5eeef;
  color: #07183a;
  border: 1px solid rgba(47,198,201,.22);
  font-weight: 600;
  font-size: 16px;
  box-shadow: 0 12px 28px rgba(47,198,201,.12);
}

.site-header .header-button:hover {
  transform: translateY(-2px);
  background: #aee8e9;
}

.hero-shell {
  width: min(1360px, calc(100vw - 56px));
  height: min(680px, calc(100svh - 108px));
  min-height: 660px;
  margin: 16px auto 0;
  border-radius: 34px;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 41% 59%;
  align-items: center;
  gap: 0;
  padding: 44px 52px;
  background:
    radial-gradient(circle at 12% 88%,rgba(47,198,201,.18),transparent 24%),
    radial-gradient(circle at 72% 20%,rgba(241,215,141,.18),transparent 22%),
    linear-gradient(135deg,rgba(255,255,255,.94),rgba(255,253,248,.86));
  box-shadow: 0 28px 80px rgba(17,33,67,.10);
}

.hero-shell:before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 74% 52%,rgba(101,222,218,.25),transparent 30%),
    radial-gradient(circle at 38% 92%,rgba(47,198,201,.12),transparent 22%);
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 3;
  max-width: 500px;
}

.eyebrow {
  color: #c18431;
  font-size: 13px;
  line-height: 1.32;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: .045em;
  margin: 0 0 18px;
}

.hero-copy h1 {
  line-height: .98;
  letter-spacing: -0.025em;
  margin: 0;
  color: var(--text);
}

.hero-copy h1 span,
.hero-copy h1 strong {
  display: block;
  font-size: clamp(44px,4.15vw,64px);
  font-weight: 700;
}

.hero-copy h1 strong {
  margin-top: 6px;
  color: var(--aqua);
  text-shadow: 0 0 18px rgba(47,198,201,.10);
}

.hero-text {
  max-width: 500px;
  margin-top: 20px;
  color: #142851;
  font-size: 16px;
  line-height: 1.55;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 28px;
}

.button {
  min-height: 56px;
  border-radius: 15px;
  padding: 0 28px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  justify-content: center;
  font-weight: 600;
  font-size: 16px;
  border: 1px solid rgba(255,255,255,.85);
  transition: .25s;
  position: relative;
  white-space: nowrap;
}

.button:hover {
  transform: translateY(-2px);
}

.button i {
  font-style: normal;
  font-size: 28px;
  line-height: 1;
}

.button-primary {
  background: linear-gradient(135deg,#23c3c8,#4fd5d0);
  color: #fff;
  box-shadow: 0 18px 42px rgba(47,198,201,.25), inset 0 1px 0 rgba(255,255,255,.55);
}

.button-secondary {
  background: rgba(255,255,255,.72);
  color: #07183a;
  border-color: rgba(7,24,58,.06);
  box-shadow: 0 14px 34px rgba(17,33,67,.07);
}

.pulse-button:before,
.pulse-button:after {
  content: "";
  position: absolute;
  inset: -12px;
  border-radius: 22px;
  border: 1px solid rgba(47,198,201,.34);
  animation: pulseRing 2.2s ease-out infinite;
  pointer-events: none;
}

.pulse-button:after {
  inset: -22px;
  animation-delay: .55s;
  opacity: .55;
}

@keyframes pulseRing {
  0% { transform: scale(.96); opacity: .72; }
  80%, 100% { transform: scale(1.12); opacity: 0; }
}

.hero-visual {
  position: relative;
  z-index: 2;
  min-height: 100%;
  align-self: stretch;
}

.hero-video,
.hero-fallback {
  position: absolute;
  right: -12px;
  top: 10px;
  width: 100%;
  height: calc(100% - 78px);
  object-fit: contain;
  object-position: center right;
  filter: drop-shadow(0 22px 38px rgba(25,61,79,.10));
}

.hero-fallback {
  display: none;
}

.live-card {
  position: absolute;
  right: 18px;
  bottom: 14px;
  width: min(520px,84%);
  min-height: 140px;
  border-radius: 22px;
  background: rgba(255,255,255,.90);
  box-shadow: 0 28px 70px rgba(18,54,72,.14);
  border: 1px solid rgba(255,255,255,.85);
  display: grid;
  grid-template-columns: 35% 1px 1fr;
  gap: 12px;
  padding: 19px 22px;
  backdrop-filter: blur(18px);
  animation: cardFloat 5s ease-in-out infinite;
}

.live-card:before {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 28px;
  background: linear-gradient(135deg,rgba(47,198,201,.18),rgba(223,174,69,.14));
  z-index: -1;
  filter: blur(16px);
  opacity: .8;
}

@keyframes cardFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

.live-left {
  min-width: 0;
}

.live-status {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  color: #0e2046;
  font-size: 14px;
}

.status-ring {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 3px solid #19cbbd;
  position: relative;
}

.status-ring:after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: #19cbbd;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #32ca87;
  animation: dotPulse 1.7s ease-in-out infinite;
}

@keyframes dotPulse {
  50% { box-shadow: 0 0 0 10px rgba(50,202,135,0); }
}

.live-number {
  margin-top: 12px;
  display: flex;
  align-items: flex-end;
  gap: 10px;
  color: #07183a;
}

.live-number strong {
  font-size: 34px;
  line-height: .85;
  letter-spacing: -0.06em;
}

.live-number span {
  font-size: 19px;
  color: #26375d;
}

.live-bars {
  height: 38px;
  margin-top: 12px;
  display: flex;
  align-items: flex-end;
  gap: 7px;
}

.live-bars span {
  width: 8px;
  border-radius: 6px;
  background: linear-gradient(180deg,#1fc6c8,#f0c455);
  animation: barDance 1.6s ease-in-out infinite;
  transform-origin: bottom;
}

.live-bars span:nth-child(2n) { animation-delay: .18s; }
.live-bars span:nth-child(3n) { animation-delay: .34s; }
.live-bars span:nth-child(5n) { animation-delay: .52s; }

@keyframes barDance {
  0%, 100% { transform: scaleY(.78); opacity: .82; }
  50% { transform: scaleY(1.12); opacity: 1; }
}

.live-divider {
  background: rgba(7,24,58,.10);
}

.route-box p {
  font-weight: 700;
  color: #26375d;
  margin: 0 0 10px;
}

.route-icons {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 8px;
}

.route-icons span {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #7ddbd5;
  color: #fff;
  font-weight: 700;
}

.route-icons span:nth-of-type(3),
.route-icons span:nth-of-type(4) {
  background: #e6b54b;
}

.route-icons i {
  font-style: normal;
  color: #9aa5b9;
}

.route-box strong {
  font-size: 12.5px;
  color: #26375d;
  font-weight: 500;
}

.system-ten {
  position: relative;
  width: 100%;
  margin: -18px 0 0;
  padding: clamp(100px, 7.1vw, 122px) 0 clamp(84px, 7vw, 126px);
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(180deg, rgba(251,248,240,0) 0%, rgba(251,248,240,.72) 5%, rgba(255,253,248,.96) 14%, rgba(248,244,235,.96) 58%, #fbfbf6 100%),
    radial-gradient(circle at 50% 45%, rgba(143, 224, 224, 0.38) 0%, rgba(221, 247, 246, 0.22) 25%, transparent 56%),
    radial-gradient(circle at 14% 18%, rgba(246, 231, 201, 0.48) 0%, transparent 33%),
    radial-gradient(circle at 88% 18%, rgba(255, 246, 229, 0.56) 0%, transparent 32%);
}

.system-ten::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 110px;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(251,248,240,0), rgba(255,253,248,.78), rgba(255,253,248,0));
}

.system-ten__bg,
.system-ten__bg span {
  pointer-events: none;
}

.system-ten__ring {
  position: absolute;
  z-index: -1;
  left: 50%;
  top: 50%;
  width: 1180px;
  height: 1180px;
  border-radius: 50%;
  border: 1px solid rgba(219, 171, 88, 0.26);
  opacity: 0.72;
  transform: translate(-50%, -48%) rotate(-21deg);
}

.system-ten__ring--two {
  width: 1450px;
  height: 820px;
  border-color: rgba(255, 255, 255, 0.82);
  transform: translate(-50%, -45%) rotate(-16deg);
  box-shadow: 0 0 70px rgba(255,255,255,.45) inset;
}

.system-ten__spark {
  position: absolute;
  z-index: 0;
  color: rgba(232, 185, 91, 0.44);
  text-shadow: 0 0 24px rgba(255, 255, 255, 0.9);
  animation: systemSpark 4.5s ease-in-out infinite;
}

.system-ten__spark--one { left: 7%; top: 57%; font-size: 34px; }
.system-ten__spark--two { right: 15%; top: 19%; font-size: 46px; animation-delay: -1.4s; }
.system-ten__spark--three { right: 5%; bottom: 27%; font-size: 30px; animation-delay: -2.7s; }

@keyframes systemSpark {
  0%, 100% { opacity: .38; transform: scale(.9) rotate(0deg); }
  50% { opacity: .92; transform: scale(1.06) rotate(7deg); }
}

.system-ten__heading {
  position: relative;
  z-index: 2;
  width: min(1120px, calc(100% - 44px));
  max-width: 980px;
  margin: 0 auto clamp(38px, 3.6vw, 56px);
  text-align: center;
}

.system-ten__badge {
  width: fit-content;
  margin: 0 auto 20px;
  padding: 12px 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.56);
  border: 1px solid rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 46px rgba(17, 33, 67, 0.055), inset 0 1px 0 rgba(255,255,255,.88);
  backdrop-filter: blur(18px);
  color: #b77e33;
  font-size: 16.5px;
  line-height: 1;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.system-ten__badge span {
  color: #d3a451;
  font-size: 13px;
}

.section-title--aqua strong,
.scale-v2__title-line--gradient {
  background: linear-gradient(90deg, #57d2df 8%, #74c7c4 45%, #dea43e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.system-ten__heading h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(38px, 3.8vw, 62px);
  line-height: 1.02;
  letter-spacing: 0.012em;
  font-weight: 800;
  text-shadow: 0 14px 36px rgba(7, 24, 58, 0.045);
}

.system-ten__heading > p:not(.system-ten__badge) {
  max-width: 780px;
  margin: 20px auto 0;
  color: rgba(49, 65, 95, .76);
  font-size: clamp(16px, 1.05vw, 19px);
  line-height: 1.62;
  letter-spacing: .01em;
}

.system-ten__panel {
  position: relative;
  z-index: 3;
  width: min(1240px, calc(100% - 120px));
  min-height: 414px;
  margin: 0 auto;
  padding: clamp(30px, 2.8vw, 44px) clamp(32px, 3vw, 48px) clamp(78px, 5.2vw, 98px);
  border-radius: 32px;
  background: radial-gradient(circle at 50% 43%, rgba(114, 219, 218, .21), transparent 45%), linear-gradient(135deg, rgba(255,255,255,.58), rgba(255,255,255,.28));
  border: 1px solid rgba(255, 255, 255, .88);
  box-shadow: 0 28px 86px rgba(37, 77, 96, .10), inset 0 1px 0 rgba(255,255,255,.98), inset 0 0 0 14px rgba(255,255,255,.18);
  backdrop-filter: blur(24px) saturate(150%);
}

.system-ten__panel::before {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 26px;
  border: 1px solid rgba(255,255,255,.74);
  pointer-events: none;
}

.system-ten__steps {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 36px minmax(0, 1fr) 36px minmax(0, 1fr) 36px minmax(0, 1fr);
  align-items: center;
  gap: clamp(14px, 1.45vw, 26px);
}

.system-step {
  position: relative;
  min-height: 276px;
  padding: 28px 24px;
  border-radius: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  background: radial-gradient(circle at 50% 26%, rgba(189, 244, 243, .35), transparent 37%), linear-gradient(150deg, rgba(255, 255, 255, .75), rgba(255, 255, 255, .43));
  border: 1px solid rgba(255,255,255,.9);
  box-shadow: 0 24px 68px rgba(35, 73, 91, .08), inset 0 1px 0 rgba(255,255,255,.95), inset 0 -1px 0 rgba(255,255,255,.42);
  overflow: hidden;
}

.system-step::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(145deg, rgba(255,255,255,.95), transparent 30%), radial-gradient(circle at 18% 12%, rgba(255,255,255,.9), transparent 18%);
  opacity: .8;
  pointer-events: none;
}

.system-step::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 32px;
  width: 102px;
  height: 102px;
  border-radius: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(188, 242, 241, .82), rgba(255,255,255,.24) 62%, transparent 70%);
  border: 1px solid rgba(255,255,255,.72);
  box-shadow: inset 0 0 36px rgba(255,255,255,.58), 0 12px 42px rgba(47,198,201,.10);
  pointer-events: none;
}

.system-step__number {
  position: absolute;
  z-index: 5;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, rgba(45, 202, 200, .96), rgba(107, 220, 216, .92));
  color: #fff;
  font-size: 15px;
  line-height: 1;
  box-shadow: 0 12px 28px rgba(47, 198, 201, .22), inset 0 1px 0 rgba(255,255,255,.76);
}

.system-step__icon {
  position: relative;
  z-index: 4;
  width: 96px;
  height: 96px;
  margin: 5px auto 23px;
  border-radius: 50%;
  display: grid;
  place-items: center;
}

.system-step__icon svg {
  width: 58px;
  height: 58px;
  fill: none;
  stroke: var(--gold-core);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 8px 13px rgba(214, 162, 71, .18));
}

.system-step__icon--content svg,
.system-step__icon--funnel svg,
.system-step__icon--analytics svg {
  stroke: var(--aqua-core);
}

.system-step h3 {
  position: relative;
  z-index: 4;
  margin: 0;
  color: var(--ink);
  font-size: clamp(23px, 1.7vw, 29px);
  line-height: 1.12;
  letter-spacing: 0.006em;
}

.system-step p {
  position: relative;
  z-index: 4;
  max-width: 214px;
  margin: 14px auto 0;
  color: rgba(55, 67, 96, .76);
  font-size: clamp(14px, .98vw, 16px);
  line-height: 1.48;
}

.system-ten__arrow {
  position: relative;
  z-index: 5;
  display: grid;
  place-items: center;
  color: rgba(207, 150, 52, .78);
  font-size: clamp(31px, 2.45vw, 42px);
  line-height: 1;
  transform: translateY(-2px);
  text-shadow: 0 12px 18px rgba(207, 150, 52, .10);
}

.system-ten__return {
  position: absolute;
  left: clamp(44px, 8.2vw, 124px);
  right: clamp(44px, 8.2vw, 124px);
  bottom: 24px;
  height: 104px;
  z-index: 6;
  pointer-events: none;
}

.system-ten__return-svg {
  position: absolute;
  inset: 0 0 18px;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.system-ten__return-path,
.system-ten__return-head {
  fill: none;
  stroke: rgba(207, 150, 52, .62);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 5 6;
  animation: systemReturnDash 1.85s linear infinite;
  filter: drop-shadow(0 8px 14px rgba(207, 150, 52, .12));
}

.system-ten__return-head {
  stroke-width: 2.4;
  stroke-dasharray: none;
  animation: systemReturnHead 2.4s ease-in-out infinite;
}

@keyframes systemReturnDash {
  from { stroke-dashoffset: 0; }
  to { stroke-dashoffset: 33; }
}

@keyframes systemReturnHead {
  0%, 100% { opacity: .68; transform: translateX(0); }
  50% { opacity: 1; transform: translateX(-4px); }
}

.system-ten__return-dot {
  position: absolute;
  z-index: 7;
  right: 0;
  top: 13px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-core), var(--aqua-core));
  animation: systemReturnDot 4.2s cubic-bezier(.5, 0, .1, 1) infinite;
}

@keyframes systemReturnDot {
  0% { right: 1%; top: 9px; opacity: 0; transform: scale(.7); }
  7% { opacity: 1; transform: scale(1); }
  48% { right: 50%; top: 91px; opacity: 1; }
  88% { right: 99%; top: 22px; opacity: 1; transform: scale(1); }
  100% { right: 99%; top: 22px; opacity: 0; transform: scale(.72); }
}

.system-ten__return-center {
  position: absolute;
  z-index: 8;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 35% 24%, rgba(255,255,255,.98), rgba(255,255,255,.78) 42%, rgba(242, 217, 155, .72));
  border: 1px solid rgba(255,255,255,.9);
  color: var(--aqua-core);
  font-size: 30px;
  box-shadow: 0 18px 42px rgba(41, 56, 82, .12), inset 0 1px 0 rgba(255,255,255,.96);
  animation: systemReturnSpin 5.6s linear infinite;
}

@keyframes systemReturnSpin {
  to { transform: translateX(-50%) rotate(360deg); }
}

.system-ten__return p {
  position: absolute;
  left: 50%;
  bottom: -2px;
  transform: translateX(-50%);
  margin: 0;
  width: max-content;
  max-width: 72vw;
  color: rgba(49, 65, 95, .68);
  font-size: clamp(12px, .88vw, 14px);
  line-height: 1.2;
  letter-spacing: .15em;
  text-align: center;
}

.scale-v2 {
  position: relative;
  padding: 72px 0 84px;
  background: radial-gradient(circle at 8% 78%, rgba(98, 231, 235, 0.18), transparent 18%), radial-gradient(circle at 92% 14%, rgba(235, 203, 94, 0.18), transparent 18%), linear-gradient(180deg, #f9faf8 0%, #f7f8f6 100%);
  overflow: hidden;
}

.scale-v2__container {
  width: min(1320px, calc(100% - 48px));
  margin: 0 auto;
  position: relative;
  z-index: 2;
  text-align: center;
}

.scale-v2__top-badge {
  margin: 0 auto 24px;
  padding: 10px 18px;
  width: fit-content;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  background: rgba(239, 246, 246, 0.92);
  border: 1px solid rgba(198, 228, 230, 0.95);
  box-shadow: 0 12px 28px rgba(41, 56, 82, 0.05);
  color: #48b8c7;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.scale-v2__top-badge-icon {
  font-size: 14px;
  line-height: 1;
  color: #61c8d4;
}

.scale-v2__title {
  margin: 0;
  text-align: center;
  font-size: clamp(46px, 5vw, 78px);
  line-height: 0.94;
  font-weight: 800;
  letter-spacing: -0.045em;
  color: #112b63;
}

.scale-v2__title-line {
  display: block;
}

.scale-v2__title-line--gradient {
  margin-top: 8px;
}

.scale-v2__subtitle {
  max-width: 860px;
  margin: 24px auto 0;
  text-align: center;
  font-size: 18px;
  line-height: 1.58;
  font-weight: 400;
  color: #5f739d;
}

.scale-v2__grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px;
}

.scale-v2-card {
  position: relative;
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(233, 238, 244, 0.92);
  box-shadow: 0 28px 60px rgba(31, 44, 79, 0.07), inset 0 1px 0 rgba(255, 255, 255, 0.88);
  overflow: hidden;
  backdrop-filter: blur(10px);
  text-align: left;
}

.scale-v2-card__image-wrap {
  position: relative;
  margin: 14px 14px 0;
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(244, 249, 250, 0.98), rgba(240, 244, 245, 0.95));
}

.scale-v2-card__image {
  display: block;
  width: 100%;
  height: 292px;
  object-fit: cover;
  border-radius: 28px;
}

.scale-v2-card__number {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 4;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.97);
  box-shadow: 0 14px 30px rgba(36, 54, 84, 0.08);
}

.scale-v2-card--cyan .scale-v2-card__number,
.scale-v2-card--blue .scale-v2-card__number {
  color: #4ec5d3;
}

.scale-v2-card--gold .scale-v2-card__number {
  color: #d9a341;
}

.scale-v2-card__content {
  padding: 22px 28px 28px;
}

.scale-v2-card__title {
  margin: 0;
  font-size: 26px;
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #14326f;
}

.scale-v2-card__text {
  margin: 16px 0 0;
  font-size: 16px;
  line-height: 1.62;
  font-weight: 400;
  color: #6a7ea7;
}

.scale-v2-card__tags {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  margin-top: 22px;
}

.scale-v2-tag {
  min-width: 0;
  height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
  font-size: 13px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.01em;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.86);
}

.scale-v2-tag__icon,
.scale-v2-tag__icon svg {
  width: 15px;
  height: 15px;
  min-width: 15px;
  display: inline-flex;
}

.scale-v2-tag__icon svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.scale-v2-tag--cyan {
  background: #f1fcfd;
  border: 1px solid #d1eef2;
  color: #43bfd0;
}

.scale-v2-tag--blue {
  background: #f1fbfd;
  border: 1px solid #d2edf2;
  color: #47bfd2;
}

.scale-v2-tag--gold {
  background: #fff8ef;
  border: 1px solid #f0dfba;
  color: #d89c34;
}

.scale-v2-card--gold .scale-v2-card__image-wrap {
  background: linear-gradient(180deg, #fbf8ef 0%, #f8f4ea 100%);
}

.site-footer {
  width: min(1500px, calc(100% - 32px));
  margin: 84px auto 0;
  padding: 0;
  border-radius: 30px 30px 0 0;
  overflow: hidden;
  background: radial-gradient(circle at 10% 12%, rgba(47, 198, 201, 0.18), transparent 26%), radial-gradient(circle at 92% 100%, rgba(223, 174, 69, 0.14), transparent 28%), linear-gradient(135deg, #031521 0%, #052234 54%, #072b39 100%);
  box-shadow: 0 -12px 36px rgba(7, 24, 58, 0.08);
  color: rgba(255, 255, 255, 0.92);
  position: relative;
  display: block;
}

.site-footer::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, #25c8cd 0%, #f0b544 100%);
}

.site-footer__inner {
  width: min(1320px, calc(100% - 56px));
  margin: 0 auto;
  padding: 44px 0 26px;
}

.site-footer__top {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 28px;
}

.site-footer__brand {
  display: inline-flex;
  align-items: center;
}

.site-footer .site-footer__logo {
  width: 210px;
  max-width: 100%;
  height: auto;
}

.site-footer__lead {
  margin: 0;
  text-align: right;
  color: rgba(255, 255, 255, 0.86);
  font-size: 16px;
  line-height: 1.5;
}

.site-footer__divider {
  height: 1px;
  margin: 34px 0 38px;
  background: linear-gradient(90deg, rgba(47, 198, 201, 0.30), rgba(255,255,255,0.12), rgba(223, 174, 69, 0.30));
}

.site-footer__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
}

.site-footer__col h3 {
  margin: 0 0 18px;
  color: #ffffff;
  font-family: var(--font-ui) !important;
  font-weight: 700 !important;
  font-size: 26px;
  line-height: 1.1;
}

.site-footer__col h3::after {
  content: "";
  display: block;
  width: 54px;
  height: 3px;
  border-radius: 999px;
  margin-top: 14px;
  background: linear-gradient(90deg, #25c8cd 0%, #f0b544 100%);
}

.site-footer__col a,
.site-footer__col p {
  display: block;
  margin: 0 0 16px;
  color: rgba(232, 244, 248, 0.88);
  font-size: 15px;
  line-height: 1.5;
}

.site-footer__col a:hover {
  color: #ffffff;
}

.site-footer__bottom {
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.10);
  text-align: center;
}

.site-footer__bottom p {
  margin: 0;
  color: rgba(232, 244, 248, 0.82);
  font-size: 14px;
}

@media (max-width: 1240px) {
  .scale-v2__grid { gap: 24px; }
  .scale-v2-card__content { padding: 20px 22px 24px; }
  .scale-v2-card__title { font-size: 22px; }
  .scale-v2-card__text { font-size: 15px; }
  .scale-v2-tag { font-size: 12px; padding: 0 12px; }
}

@media (max-width: 1180px) {
  .system-ten__panel {
    width: min(920px, calc(100% - 44px));
    padding: 34px 34px 80px;
  }
  .system-ten__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .system-ten__arrow { display: none; }
  .system-step { min-height: 280px; }
  .system-ten__return { left: 70px; right: 70px; bottom: 18px; }
}

@media (max-width: 1024px) {
  .scale-v2 { padding: 60px 0 72px; }
  .scale-v2__grid {
    grid-template-columns: 1fr;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
  }
  .scale-v2-card__image { height: 320px; }
  .scale-v2-card__tags { flex-wrap: wrap; }
}

@media (max-width: 980px) {
  .hero-shell {
    grid-template-columns: 1fr;
    height: auto;
    min-height: auto;
  }
  .hero-copy { max-width: 700px; }
  .hero-visual { min-height: 560px; }
  .hero-video,
  .hero-fallback {
    right: 50%;
    transform: translateX(50%);
    height: 560px;
    width: min(900px, 112%);
    object-position: center;
  }
  .live-card {
    right: 50%;
    transform: translateX(50%);
    bottom: 0;
    width: min(540px, 86%);
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 20px;
  }
  .live-divider { display: none; }
  .site-footer__top {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }
  .site-footer__lead { text-align: center; }
  .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
  .site-header {
    width: min(100% - 24px, 1360px);
    height: 66px;
    top: 10px;
    padding: 0 14px;
    align-items: center;
  }
  .logo-brand--animated { min-width: auto; gap: 8px; }
  .logo-ornament { width: 42px; height: 42px; min-width: 42px; }
  .logo-ornament__video { width: 48px; height: 48px; }
  .logo-brand-text span:first-child,
  .logo-brand-text span:last-child { font-size: 15px; }
  .site-header .nav { display: none; }
  .site-header .header-button {
    width: auto;
    min-width: 118px;
    height: 44px;
    font-size: 14px;
    padding: 0 14px;
  }
  .hero-shell {
    width: min(100% - 24px, 1360px);
    padding: 46px 22px;
    border-radius: 26px;
  }
  .hero-copy h1 span,
  .hero-copy h1 strong { font-size: 44px; }
  .hero-text { font-size: 16px; }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .button { width: 100%; min-height: 58px; }
  .hero-visual { min-height: 520px; }
  .hero-video { display: none; }
  .hero-fallback {
    display: block;
    right: 50%;
    width: 680px;
    height: 455px;
    transform: translateX(50%);
    max-width: none;
    opacity: .98;
  }
  .live-card { position: absolute; width: 100%; bottom: 0; }
  .system-ten {
    margin-top: -8px;
    padding: 76px 0 78px;
  }
  .system-ten__heading {
    width: min(100% - 28px, 620px);
    margin-bottom: 34px;
  }
  .system-ten__badge {
    padding: 10px 16px;
    gap: 9px;
    font-size: 11px;
    letter-spacing: .12em;
  }
  .system-ten__heading h2 {
    font-size: clamp(38px, 12.2vw, 52px);
    line-height: 1.06;
  }
  .system-ten__heading > p:not(.system-ten__badge) {
    margin-top: 18px;
    font-size: 15px;
    line-height: 1.58;
  }
  .system-ten__heading br { display: none; }
  .system-ten__panel {
    width: min(100% - 24px, 560px);
    padding: 20px 16px 28px;
    border-radius: 28px;
  }
  .system-ten__panel::before {
    inset: 8px;
    border-radius: 22px;
  }
  .system-ten__steps {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .system-step {
    min-height: auto;
    padding: 22px 20px 24px;
    border-radius: 24px;
  }
  .system-step::after {
    top: 22px;
    width: 86px;
    height: 86px;
  }
  .system-step__number {
    top: 16px;
    right: 16px;
    width: 38px;
    height: 38px;
    font-size: 14px;
  }
  .system-step__icon {
    width: 76px;
    height: 76px;
    margin: 3px auto 18px;
  }
  .system-step__icon svg { width: 47px; height: 47px; }
  .system-step h3 { font-size: 23px; }
  .system-step p {
    max-width: 300px;
    margin-top: 11px;
    font-size: 15px;
  }
  .system-ten__return {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    height: auto;
    margin-top: 18px;
    padding-top: 58px;
  }
  .system-ten__return-svg,
  .system-ten__return-dot { display: none; }
  .system-ten__return-center {
    top: 0;
    bottom: auto;
    width: 48px;
    height: 48px;
    font-size: 27px;
  }
  .system-ten__return p {
    position: static;
    transform: none;
    width: auto;
    max-width: 100%;
  }
  .scale-v2__container { width: min(100% - 28px, 1320px); }
  .scale-v2__top-badge {
    font-size: 13px;
    padding: 9px 14px;
    gap: 8px;
  }
  .scale-v2__title {
    font-size: 38px;
    line-height: 0.98;
  }
  .scale-v2__subtitle {
    margin-top: 18px;
    font-size: 16px;
    line-height: 1.55;
  }
  .scale-v2__grid { margin-top: 36px; }
  .scale-v2-card__image {
    height: auto;
    aspect-ratio: 16 / 10;
  }
  .scale-v2-card__number {
    width: 62px;
    height: 62px;
    font-size: 20px;
  }
  .scale-v2-card__tags {
    display: grid;
    grid-template-columns: 1fr;
  }
  .scale-v2-tag {
    max-width: 100%;
    white-space: normal;
    height: auto;
    min-height: 42px;
    padding-top: 10px;
    padding-bottom: 10px;
    text-align: center;
  }
  .site-footer {
    width: min(100%, calc(100% - 16px));
    margin-top: 64px;
    border-radius: 24px 24px 0 0;
  }
  .site-footer__inner {
    width: min(100% - 32px, 1320px);
    padding: 32px 0 22px;
  }
  .site-footer .site-footer__logo { width: 180px; }
  .site-footer__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .site-footer__col h3 { font-size: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  .pulse-button:before,
  .pulse-button:after,
  .live-card,
  .live-bars span,
  .system-ten__spark,
  .system-ten__return-path,
  .system-ten__return-head,
  .system-ten__return-dot,
  .system-ten__return-center {
    animation: none !important;
  }
}

/* Context setup page - real two-line title */
body:not(.public-page) .app-main .context-step-title {
  max-width: 760px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 10px !important;
}

body:not(.public-page) .app-main .context-step-title__count,
body:not(.public-page) .app-main .context-step-title__name {
  display: block !important;
}

/* FORCE cabinet mobile greeting and bottom icon nav */
.app-main {
  position: relative !important;
}

/* Desktop greeting chip */
.app-user-chip {
  position: absolute !important;
  top: 28px !important;
  right: 42px !important;
  z-index: 50 !important;

  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;

  max-width: min(430px, calc(100% - 84px)) !important;
  padding: 12px 18px !important;

  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.86) !important;
  border: 1px solid rgba(26, 122, 122, 0.14) !important;
  box-shadow: 0 18px 44px rgba(20, 58, 66, 0.09) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;

  color: #123f48 !important;
  font-size: 16px !important;
  line-height: 1 !important;
  font-weight: 800 !important;
  white-space: nowrap !important;
  text-decoration: none !important;
}

.app-user-chip__icon {
  width: 30px !important;
  height: 30px !important;
  flex: 0 0 30px !important;

  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  border-radius: 999px !important;
  background: linear-gradient(135deg, #24caca, #8bcf91) !important;
  color: #ffffff !important;
  font-size: 13px !important;
  line-height: 1 !important;
  font-weight: 900 !important;
  box-shadow: 0 10px 24px rgba(24, 202, 202, 0.24) !important;
}

.app-user-chip__text {
  display: inline-block !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

/* Mobile cabinet */
@media (max-width: 768px) {
  body .app {
    display: block !important;
    min-height: 100vh !important;
    padding-bottom: 96px !important;
  }

  /* Top area with logo */
  body .app .sidebar {
    position: relative !important;
    width: 100% !important;
    min-height: 0 !important;
    height: auto !important;

    padding: 24px 22px 16px !important;
    margin: 0 !important;

    display: block !important;

    background: rgba(255, 255, 255, 0.92) !important;
    border-right: 0 !important;
    border-bottom: 1px solid rgba(26, 122, 122, 0.10) !important;
    box-shadow: 0 14px 34px rgba(20, 58, 66, 0.06) !important;
    overflow: visible !important;
  }

  body .app .sidebar > img {
    display: block !important;
    width: 198px !important;
    max-width: 74vw !important;
    height: auto !important;
    margin: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
  }

  /* Bottom nav */
  body .app .sidebar nav {
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    top: auto !important;
    bottom: 0 !important;
    z-index: 99999 !important;

    width: 100% !important;
    min-height: 74px !important;
    height: auto !important;

    margin: 0 !important;
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom)) !important;

    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 4px !important;

    background: rgba(255, 255, 255, 0.96) !important;
    border-top: 1px solid rgba(26, 122, 122, 0.12) !important;
    border-radius: 0 !important;
    box-shadow: 0 -14px 34px rgba(20, 58, 66, 0.10) !important;
    backdrop-filter: blur(18px) !important;
    -webkit-backdrop-filter: blur(18px) !important;
  }

  body .app .sidebar nav a {
    min-width: 0 !important;
    min-height: 58px !important;

    margin: 0 !important;
    padding: 0 !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    border-radius: 18px !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;

    color: rgba(7, 26, 64, 0.68) !important;
    text-decoration: none !important;

    font-size: 0 !important;
    line-height: 0 !important;
    text-indent: -9999px !important;
    overflow: hidden !important;
  }

  body .app .sidebar nav a::before {
    text-indent: 0 !important;

    width: 44px !important;
    height: 44px !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    border-radius: 16px !important;
    color: currentColor !important;
    font-size: 24px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
  }

  body .app .sidebar nav a[href="/kabinet/"]::before {
    content: "⌂" !important;
  }

  body .app .sidebar nav a[href="/kabinet/create/"]::before {
    content: "✦" !important;
  }

  body .app .sidebar nav a[href="/kabinet/history/"]::before {
    content: "▤" !important;
  }

  body .app .sidebar nav a[href="/kabinet/settings/"]::before {
    content: "☰" !important;
  }

  body .app .sidebar nav a[href="/logout"]::before {
    content: "↪" !important;
  }

  body .app .sidebar nav a:hover,
  body .app .sidebar nav a:focus {
    color: #1a7a7a !important;
    background: rgba(24, 202, 202, 0.08) !important;
  }

  body .app .app-main {
    width: 100% !important;
    margin: 0 !important;
    padding: 22px 20px 112px !important;
    position: relative !important;
  }

  body .app .app-user-chip {
    position: static !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 0 18px !important;
    padding: 12px 14px !important;

    justify-content: flex-start !important;
    border-radius: 24px !important;

    font-size: 14px !important;
  }

  body .app .app-user-chip__icon {
    width: 28px !important;
    height: 28px !important;
    flex-basis: 28px !important;
    font-size: 12px !important;
  }
}

@media (max-width: 420px) {
  body .app .sidebar {
    padding: 22px 20px 15px !important;
  }

  body .app .sidebar > img {
    width: 190px !important;
  }

  body .app .sidebar nav {
    min-height: 72px !important;
    padding-left: 8px !important;
    padding-right: 8px !important;
  }

  body .app .sidebar nav a::before {
    width: 40px !important;
    height: 40px !important;
    font-size: 22px !important;
  }
}


/* Mobile cabinet - restore logo above icon menu */
@media (max-width: 768px) {
  body:not(.public-page) .app .sidebar {
    display: block !important;
    width: 100% !important;
    min-height: auto !important;
    height: auto !important;

    padding: 28px 20px 14px !important;
    margin: 0 !important;

    background: rgba(255, 255, 255, 0.94) !important;
    border-right: 0 !important;
    border-bottom: 1px solid rgba(26, 122, 122, 0.10) !important;
    box-shadow: 0 14px 34px rgba(20, 58, 66, 0.06) !important;
    overflow: visible !important;
  }

  body:not(.public-page) .app .sidebar > img {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;

    width: 220px !important;
    max-width: 74vw !important;
    height: auto !important;

    margin: 0 auto 22px !important;
    padding: 0 !important;

    position: relative !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    transform: none !important;

    object-fit: contain !important;
    z-index: 10 !important;
  }

  body:not(.public-page) .app .sidebar nav {
    position: static !important;
    inset: auto !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;

    width: 100% !important;
    min-height: auto !important;

    margin: 0 auto !important;
    padding: 0 !important;

    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 4px !important;

    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
}

@media (max-width: 420px) {
  body:not(.public-page) .app .sidebar {
    padding-top: 26px !important;
  }

  body:not(.public-page) .app .sidebar > img {
    width: 208px !important;
    margin-bottom: 20px !important;
  }
}

/* Mobile cabinet hero - spacing and START button */
@media (max-width: 768px) {
  body:not(.public-page) .app-main h1 {
    margin-bottom: 30px !important;
    line-height: 1.05 !important;
  }

  body:not(.public-page) .app-main h1 + p {
    margin-top: 0 !important;
    margin-bottom: 34px !important;
    line-height: 1.62 !important;
  }

  body:not(.public-page) .app-main .btn,
  body:not(.public-page) .app-main button,
  body:not(.public-page) .app-main a.btn {
    min-height: 58px !important;
    font-size: 18px !important;
    line-height: 1 !important;
    letter-spacing: 0.05em !important;
    font-weight: 900 !important;
    text-transform: uppercase !important;
  }
}

@media (max-width: 420px) {
  body:not(.public-page) .app-main h1 {
    margin-bottom: 28px !important;
  }

  body:not(.public-page) .app-main h1 + p {
    margin-bottom: 32px !important;
    line-height: 1.6 !important;
  }

  body:not(.public-page) .app-main .btn,
  body:not(.public-page) .app-main button,
  body:not(.public-page) .app-main a.btn {
    font-size: 17px !important;
  }
}

/* Desktop only - /kabinet/ home hero width and spacing */
@media (min-width: 921px) {
  body:not(.public-page) .app-main .cabinet-home-hero {
    max-width: 1180px !important;
    width: min(100%, 1180px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 58px 72px 64px !important;
  }

  body:not(.public-page) .app-main .cabinet-home-hero h1 {
    max-width: 900px !important;
    margin-bottom: 26px !important;
    line-height: 1.04 !important;
  }

  body:not(.public-page) .app-main .cabinet-home-hero h1 + p {
    max-width: 940px !important;
    margin-top: 0 !important;
    margin-bottom: 34px !important;
    line-height: 1.58 !important;
  }

  body:not(.public-page) .app-main .cabinet-home-hero .btn,
  body:not(.public-page) .app-main .cabinet-home-hero button,
  body:not(.public-page) .app-main .cabinet-home-hero a.btn {
    margin-top: 0 !important;
  }
}

@media (min-width: 921px) and (max-width: 1320px) {
  body:not(.public-page) .app-main .cabinet-home-hero {
    max-width: 1080px !important;
    width: min(100%, 1080px) !important;
    padding: 52px 60px 58px !important;
  }

  body:not(.public-page) .app-main .cabinet-home-hero h1 {
    max-width: 820px !important;
  }

  body:not(.public-page) .app-main .cabinet-home-hero h1 + p {
    max-width: 860px !important;
  }
}

/* Desktop only - make /kabinet/ home hero narrower */
@media (min-width: 921px) {
  body:not(.public-page) .app-main .cabinet-home-hero {
    width: 700px !important;
    max-width: 700px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 58px 64px 64px !important;
  }

  body:not(.public-page) .app-main .cabinet-home-hero h1 {
    max-width: 100% !important;
    width: 100% !important;
    margin-bottom: 28px !important;
    line-height: 1.04 !important;
  }

  body:not(.public-page) .app-main .cabinet-home-hero h1 + p {
    max-width: 100% !important;
    width: 100% !important;
    margin-bottom: 36px !important;
    line-height: 1.58 !important;
  }
}

@media (min-width: 921px) and (max-width: 1200px) {
  body:not(.public-page) .app-main .cabinet-home-hero {
    width: min(100%, 700px) !important;
    max-width: calc(100vw - 360px) !important;
    padding: 52px 56px 58px !important;
  }
}

/* Context start page - text column inside context-head */
@media (min-width: 921px) {
  body:not(.public-page) .app-main .context-head {
    width: 100% !important;
  }

  body:not(.public-page) .app-main .context-head h1,
  body:not(.public-page) .app-main .context-head p,
  body:not(.public-page) .app-main .context-head .kicker,
  body:not(.public-page) .app-main .context-head .eyebrow,
  body:not(.public-page) .app-main .context-head .section-cap {
    max-width: 700px !important;
    width: 700px !important;
    text-align: left !important;
  }

  body:not(.public-page) .app-main .context-head h1 {
    margin-bottom: 34px !important;
    line-height: 1.04 !important;
    letter-spacing: -0.045em !important;
  }

  body:not(.public-page) .app-main .context-head h1 br {
    display: block !important;
  }

  body:not(.public-page) .app-main .context-head h1 + p {
    margin-top: 0 !important;
    max-width: 700px !important;
    width: 700px !important;
    line-height: 1.56 !important;
  }
}

@media (max-width: 920px) {
  body:not(.public-page) .app-main .context-head h1 br {
    display: block !important;
  }

  body:not(.public-page) .app-main .context-head h1 {
    margin-bottom: 26px !important;
    line-height: 1.06 !important;
  }

  body:not(.public-page) .app-main .context-head h1 + p {
    line-height: 1.58 !important;
  }
}

/* Result page - top section spacing */
body:not(.public-page) .app-main .panel:first-of-type {
  padding-top: 58px !important;
  padding-bottom: 56px !important;
}

body:not(.public-page) .app-main .panel:first-of-type .kicker,
body:not(.public-page) .app-main .panel:first-of-type .eyebrow,
body:not(.public-page) .app-main .panel:first-of-type .section-cap {
  display: block !important;
  margin-bottom: 28px !important;
  line-height: 1.25 !important;
}

body:not(.public-page) .app-main .panel:first-of-type h1 {
  margin-top: 0 !important;
  margin-bottom: 24px !important;
  line-height: 1.04 !important;
}

body:not(.public-page) .app-main .panel:first-of-type h1 + p {
  margin-top: 0 !important;
  line-height: 1.55 !important;
}

/* Mobile result page spacing */
@media (max-width: 768px) {
  body:not(.public-page) .app-main .panel:first-of-type {
    padding-top: 42px !important;
    padding-bottom: 42px !important;
  }

  body:not(.public-page) .app-main .panel:first-of-type .kicker,
  body:not(.public-page) .app-main .panel:first-of-type .eyebrow,
  body:not(.public-page) .app-main .panel:first-of-type .section-cap {
    margin-bottom: 22px !important;
  }

  body:not(.public-page) .app-main .panel:first-of-type h1 {
    margin-bottom: 20px !important;
    line-height: 1.06 !important;
  }

  body:not(.public-page) .app-main .panel:first-of-type h1 + p {
    line-height: 1.58 !important;
  }
}
