body {
  font-family: Onest, system-ui, -apple-system, sans-serif;
}

body.finopora-light-glass {
  margin: 0;
  --lg-ink: #132a45;
  --lg-muted: #425c74;
  --lg-line: #c5d7e9;
  --lg-glass: linear-gradient(145deg, #fff, #f0f7ff 65%, #e3effb);
  --lg-depth: 0 10px 28px #29558e1c, inset 0 1px 0 #fff;
  --lg-radius: 22px;
}

.lg-home {
  background: #f3f7fc;
  color: var(--lg-ink);
  line-height: 1.55;
}

.lg-home *, .lg-home *::before, .lg-home *::after { box-sizing: border-box; }
.lg-home .fo { overflow-wrap: anywhere; }
.lg-home :where(h1, h2, h3, p, dl, dd, blockquote) { margin: 0; }
.lg-home :where(h1, h2, h3) {
  font-family: Montserrat, Onest, sans-serif;
  line-height: 1.14;
}
.lg-home h1 { font-size: clamp(30px, 4vw, 55px); letter-spacing: -.04em; }
.lg-home h2 { font-size: clamp(24px, 3vw, 38px); }
.lg-home h3 { font-size: 18px; }
.lg-home a { color: inherit; text-underline-offset: 3px; }
.lg-home :focus-visible { outline: 3px solid #17659a; outline-offset: 3px; }
.lg-home .wrap { width: min(100%, 1260px); margin-inline: auto; padding-inline: clamp(16px, 4vw, 40px); }
.lg-home main section { padding-block: clamp(34px, 6vw, 76px); scroll-margin-top: 76px; }
.lg-home main section > .wrap > h2 { margin-bottom: 22px; }
.lg-home :where(.lead, .lg-role, .lg-review-meta) { color: var(--lg-muted); }
.lg-home .lead { font-size: clamp(16px, 1.5vw, 19px); }
.lg-home .eyebrow {
  color: #305c85;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.lg-home .top {
  position: sticky;
  top: 0;
  z-index: 10;
  background: #f7fbff;
  border-bottom: 1px solid var(--lg-line);
}
.lg-home .bar { display: flex; align-items: center; gap: 16px; min-height: 66px; }
.lg-home .top .logoimg {
  display: block;
  width: 148px;
  height: 34px;
  background: url('/assets/finopora-light-glass-lockup.svg') left center/contain no-repeat;
}
.lg-home .top a { text-decoration: none; }
.lg-home .nav { display: flex; gap: clamp(12px, 1.7vw, 24px); margin-left: auto; }
.lg-home .phone, .fo .top .bar .lg-cabinet { font-weight: 700; white-space: nowrap; }
.fo .top .bar .lg-cabinet {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 7px 12px;
  border: 1px solid var(--lg-line);
  border-radius: 12px;
  background: #f1f7fe;
  color: var(--lg-ink);
  text-decoration: none;
}
.lg-home .burger, .lg-home .mnav { display: none; }
.lg-home .burger {
  margin-left: auto;
  padding: 8px 13px;
  border: 1px solid var(--lg-line);
  border-radius: 10px;
  background: #fff;
  color: inherit;
  font: inherit;
  cursor: pointer;
}
.lg-home .mnav.open { display: grid; padding-bottom: 12px; }
.lg-home .mnav a { padding-block: 8px; border-top: 1px solid var(--lg-line); }

.lg-home .lg-hero {
  width: min(calc(100% - 24px), 1376px);
  margin: 14px auto 0;
  border: 1px solid #fff;
  border-radius: clamp(22px, 4vw, 36px);
  box-shadow: var(--lg-depth);
  background:
    radial-gradient(ellipse at 95% 0%, #c6e1fa, transparent 65%),
    radial-gradient(ellipse at 100% 100%, #ffe8cb, transparent 55%),
    linear-gradient(135deg, #fbfdff, #e7f0fd);
}
.lg-hero-grid, .lg-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(20px, 4vw, 46px);
}
.lg-stack { display: grid; gap: 14px; min-width: 0; }
.lg-tags, .lg-promises, .lg-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.lg-tags, .lg-promises { margin: 0; padding: 0; list-style: none; }
.lg-tags li {
  padding: 5px 10px;
  border: 1px solid var(--lg-line);
  border-radius: 999px;
  background: #ffffffab;
  font-size: 13px;
}
.lg-promises {
  grid-column: 1 / -1;
  gap: 8px 24px;
  padding-top: 14px;
  border-top: 1px solid var(--lg-line);
  color: var(--lg-muted);
  font-size: 14px;
  font-weight: 600;
}
.lg-promises li::before { content: "✓"; margin-right: 6px; color: #20577f; }

.lg-panel, .lg-home .card, .lg-team-card {
  min-width: 0;
  padding: clamp(16px, 2.6vw, 30px);
  border: 1px solid #fff;
  border-radius: var(--lg-radius);
  background: var(--lg-glass);
  box-shadow: var(--lg-depth);
}
.lg-preview { display: grid; gap: 10px; }
.lg-preview h2 { font-size: clamp(20px, 2.6vw, 30px); }
.lg-stats { display: grid; gap: 6px; }
.lg-stats > div {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 10px;
  padding: 8px 12px;
  border-radius: 10px;
  background: #ffffffb8;
}
.lg-stats dd { font-weight: 700; }
.lg-status { padding: 9px 12px; border: 1px solid var(--lg-line); border-radius: 12px; background: #f6faff; }
.lg-home .lg-ai {
  border-color: #9cded9;
  background: linear-gradient(145deg, #f4fffd, #c4eeea);
  box-shadow: inset 0 1px 0 #fff, 0 9px 22px #12898022;
  color: #145451;
}
.lg-attention { color: #683b0f; background: #fff3dd; border-color: #ebcd98; }

.lg-home .key {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  max-width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--lg-line);
  border-radius: 12px;
  font: 700 15px/1.3 Onest, system-ui, sans-serif;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
.lg-home .key-light { background: linear-gradient(#fff, #e9f2fc); color: var(--lg-ink); }
.lg-home .key-light[aria-pressed="true"] {
  background: #d6e9fa;
  border-color: #6a98bf;
  box-shadow: inset 0 2px 4px #244f7724;
}
.lg-home .key-amber {
  background: linear-gradient(#ffce78, #f0a638);
  border-color: #da8d27;
  color: #2e1b08;
  box-shadow: 0 3px 0 #b57418, inset 0 1px 0 #fff8;
}
.lg-home .key:disabled { cursor: wait; opacity: .65; }

.lg-fields, .lg-grid4, .lg-grid3, .lg-team-grid, .lg-app-images {
  display: grid;
  gap: clamp(12px, 2vw, 22px);
}
.lg-fields, .lg-grid4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.lg-grid3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.lg-app-images { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 20px; }
.lg-home :where(#qualification, .lead-form) label:not(.lg-options label, .lead-c) {
  display: grid;
  gap: 6px;
  min-width: 0;
  font-weight: 600;
}
.lg-home :where(select, .lead-form input:not([type="radio"], [type="checkbox"], [type="hidden"]), textarea) {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 9px 10px;
  border: 1px solid #a9bfd5;
  border-radius: 10px;
  background: #fff;
  color: var(--lg-ink);
  font: inherit;
}
.lg-home textarea { resize: vertical; }
.lg-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 0;
  min-inline-size: 0;
  padding: 8px 12px 12px;
  border: 1px solid var(--lg-line);
  border-radius: 12px;
}
.lg-options legend { padding-inline: 5px; font-weight: 700; }
.lg-options label, .lg-home .lead-c { display: flex; align-items: baseline; gap: 6px; cursor: pointer; }
.lg-options input, .lg-home .lead-c input { margin: 0; flex: none; accent-color: #20577f; }
.lg-reason { max-width: 400px; }
.lg-calc-result {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding-top: 14px;
  border-top: 1px solid var(--lg-line);
}
#qualification-price { display: block; font-size: clamp(21px, 3vw, 32px); font-weight: 800; line-height: 1.2; }
.lg-calc-result p { margin-top: 6px; color: var(--lg-muted); font-size: 14px; }

.lg-home :is(#app, #protection, #faq) { background: #e9f2fc; }
.lg-home .card { display: grid; align-content: start; gap: 9px; }
.lg-home .card strong { color: #285277; }
.lg-section-link { margin-top: 18px; font-weight: 600; }
.lg-app-images img { display: block; width: 100%; height: auto; border: 1px solid #fff; border-radius: 16px; box-shadow: var(--lg-depth); }
.lg-team-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.lg-team-card { padding: 0; overflow: hidden; }
.lg-team-card > img, .lg-founder-photo {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: top center;
}
.lg-founder-photo { max-height: 580px; }
.lg-team-card > div { display: grid; gap: 8px; padding: clamp(12px, 1.6vw, 20px); }
.fo .lg-team-card :is(h3, p) { overflow-wrap: anywhere; }
.fo .lg-role, .lg-review-meta { color: var(--lg-muted); font-size: 14px; font-weight: 600; }
.lg-home #reviews blockquote { padding-left: 12px; border-left: 3px solid #a4c2df; }
.lg-faq { display: grid; gap: 10px; }
.lg-faq details { padding: 12px 16px; border: 1px solid var(--lg-line); border-radius: 12px; background: #fff; }
.lg-faq summary { cursor: pointer; font-weight: 700; }
.lg-faq details p { margin-top: 8px; }
.lg-home #form { background: linear-gradient(145deg, #e1eefb, #f6faff); }
.lg-contact-grid { align-items: start; }
.lg-summary { overflow-wrap: anywhere; }
.lg-home .lead-c { font-size: 14px; }
.lg-home .lead-msg:empty { display: none; }
.lg-home .foot { padding-block: 32px; background: #0e2236; color: #e6f0fb; font-size: 14px; }
.lg-home .foot .grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 20px; }
.lg-home .foot a { display: block; margin-block: 4px; }
.lg-home .foot .h { font-weight: 700; color: #fff; }

@media (max-width: 1100px) {
  .lg-home .nav { display: none; }
  .lg-home .burger { display: block; }
  .lg-home .phone { margin-left: auto; }
  .lg-home .phone ~ .burger { margin-left: 0; }
  .lg-team-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
  .lg-home .top .phone { display: none; }
  .lg-home .phone ~ .burger { margin-left: auto; }
  .lg-info .fo .top .burger { display: block; }
  .lg-fields, .lg-grid4, .lg-grid3, .lg-team-grid,
  .lg-home .foot .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 630px) {
  .fo .top .bar .lg-cabinet { display: none; }
  .lg-hero-grid, .lg-contact-grid, .lg-app-images, .lg-grid3 { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 390px) {
  .lg-home .lg-hero .lg-actions > *, .lg-home #qualification-save { width: 100%; }
  .lg-fields, .lg-grid4 { grid-template-columns: minmax(0, 1fr); }
  .lg-team-card > div { padding: 10px; }
}

.fo-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: inherit;
  background: #0D2646;
}

.fo .rv-video > .fo-video,
.fo .yt-box > .fo-video {
  position: absolute;
  inset: 0;
}

.fo .fo-video-heading { margin: 24px 0 12px; }

.fo-vreviews-grid,
.fo-vreels-grid {
  display: grid;
  gap: 12px;
}

.fo-vreviews-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.fo-vreels-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.fo-vreviews-grid > .card,
.fo-vreels-grid > .card {
  min-width: 0;
  overflow-wrap: anywhere;
}

.fo-vreviews-grid .fo-video,
.fo-vreels-grid .fo-video {
  max-width: 200px;
  height: auto;
  aspect-ratio: 9 / 16;
  margin: 0 auto 12px;
}

.fo-vreviews-grid h4,
.fo-vreels-grid h4 { margin: 0; }

@media (max-width: 820px) {
  .fo-vreels-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 630px) {
  .fo-vreviews-grid,
  .fo-vreels-grid { grid-template-columns: minmax(0, 1fr); }
}
