/* ==========================================================================
   Solar — калькулятор светильников
   Все стили изолированы внутри .lc-app, чтобы не конфликтовать с темой сайта.
   ========================================================================== */

.lc-app {
  --lc-bg: #f2eee5;
  --lc-bg-2: #eae4d7;
  --lc-surface: #fffcf6;
  --lc-surface-2: #fbf7ef;
  --lc-ink: #171a1e;
  --lc-ink-2: #2b2f34;
  --lc-muted: #726c60;
  --lc-muted-2: #948d7f;
  --lc-line: #ded6c7;
  --lc-line-2: #e8e1d4;
  --lc-amber: #e39a3b;
  --lc-amber-2: #f0b35f;
  --lc-amber-deep: #b46616;
  --lc-deep: #123c35;
  --lc-deep-2: #0d2d28;
  --lc-cream: #f7f2e7;
  --lc-danger: #b23b2e;
  --lc-ok: #2f7d5b;
  --lc-radius: 20px;
  --lc-font: "Inter", "Manrope", "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --lc-serif: Georgia, "Times New Roman", "PT Serif", serif;
  --lc-shadow: 0 1px 0 rgba(255, 255, 255, .7) inset, 0 24px 48px -38px rgba(23, 26, 30, .45);

  position: relative;
  isolation: isolate;
  background:
    radial-gradient(1000px 560px at 88% -8%, rgba(227, 154, 59, .18), transparent 62%),
    radial-gradient(800px 520px at -12% 16%, rgba(18, 60, 53, .09), transparent 60%),
    var(--lc-bg);
  color: var(--lc-ink);
  font-family: var(--lc-font);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  overflow-x: clip;
}

.lc-app *,
.lc-app *::before,
.lc-app *::after { box-sizing: border-box; }

.lc-app h1,
.lc-app h2,
.lc-app h3,
.lc-app p,
.lc-app ul,
.lc-app li,
.lc-app figure { margin: 0; padding: 0; }

.lc-app ul { list-style: none; }
.lc-app a { color: inherit; }
.lc-app button,
.lc-app input,
.lc-app select,
.lc-app textarea { font: inherit; color: inherit; }
.lc-app :where(button) { background: none; border: 0; padding: 0; }
.lc-app svg { display: block; }
.lc-app [hidden] { display: none !important; }

.lc-app :focus-visible {
  outline: 2px solid var(--lc-amber-deep);
  outline-offset: 3px;
}

.lc-shell {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding-bottom: 28px;
  container-type: inline-size;
}

/* ---------- Header ---------- */

.lc-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 0 8px;
}

.lc-brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  text-decoration: none;
}

.lc-brand-logo {
  display: block;
  width: auto;
  height: 56px;
  max-width: 100%;
}

.lc-top-meta { display: flex; align-items: center; gap: 18px; }

.lc-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 13px;
  border: 1px solid var(--lc-line);
  border-radius: 99px;
  background: rgba(255, 252, 246, .55);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--lc-ink-2);
  white-space: nowrap;
}
.lc-chip i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lc-amber);
  box-shadow: 0 0 0 3px rgba(227, 154, 59, .2);
}

.lc-top-link {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--lc-ink-2);
  text-decoration: none;
  border-bottom: 1px solid rgba(23, 26, 30, .25);
  padding-bottom: 2px;
  transition: border-color .2s, color .2s;
}
.lc-top-link:hover { color: var(--lc-amber-deep); border-color: var(--lc-amber); }

/* ---------- Hero ---------- */

.lc-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  padding: clamp(36px, 6vw, 74px) 0 clamp(34px, 5vw, 60px);
}

.lc-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--lc-amber-deep);
}
.lc-eyebrow > span {
  width: 22px;
  height: 1px;
  background: var(--lc-amber);
}

.lc-hero h1 {
  margin-top: 18px;
  font-size: clamp(40px, 5.3vw, 68px);
  font-size: clamp(34px, 6.5cqw, 68px);
  font-weight: 500;
  line-height: .98;
  letter-spacing: -.045em;
  color: var(--lc-ink);
}
.lc-hero h1 em {
  display: block;
  margin-top: 6px;
  font-family: var(--lc-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -.03em;
  color: var(--lc-deep);
}

.lc-lede {
  max-width: 560px;
  margin-top: 24px;
  font-size: 15.5px;
  line-height: 1.62;
  color: var(--lc-muted);
}

.lc-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 34px;
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid var(--lc-line);
}
.lc-facts li { display: flex; flex-direction: column; gap: 2px; }
.lc-facts b { font-size: 13px; font-weight: 700; letter-spacing: .01em; }
.lc-facts span { font-size: 10px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--lc-muted-2); }

.lc-hero-formula {
  position: relative;
  overflow: hidden;
  padding: 26px 28px 24px;
  border-radius: 24px;
  background:
    radial-gradient(420px 220px at 100% 0%, rgba(240, 179, 95, .22), transparent 60%),
    linear-gradient(155deg, #16463e 0%, var(--lc-deep) 48%, #0c2b26 100%);
  color: var(--lc-cream);
  box-shadow: 0 34px 70px -44px rgba(10, 32, 28, .9), 0 1px 0 rgba(255, 255, 255, .12) inset;
}
.lc-hero-formula-glow {
  position: absolute;
  top: -70px;
  right: -50px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 196, 110, .5), transparent 65%);
  filter: blur(8px);
  pointer-events: none;
}
.lc-hero-formula-top {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(247, 242, 231, .55);
}

.lc-formula-big {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 28px 0 18px;
  font-size: 30px;
  letter-spacing: -.02em;
}
.lc-formula-eq { font-weight: 300; color: rgba(247, 242, 231, .8); }
.lc-frac { display: inline-flex; flex-direction: column; gap: 8px; min-width: 190px; }
.lc-frac-num,
.lc-frac-den { text-align: center; white-space: nowrap; }
.lc-frac-num { font-weight: 500; }
.lc-frac-den {
  padding-top: 8px;
  border-top: 1px solid rgba(247, 242, 231, .38);
  color: var(--lc-amber-2);
}
.lc-frac sub { font-size: .55em; }

.lc-hero-formula-note {
  position: relative;
  font-size: 11.5px;
  line-height: 1.55;
  color: rgba(247, 242, 231, .58);
}
.lc-hero-formula-foot {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(247, 242, 231, .14);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(247, 242, 231, .62);
}
.lc-hero-formula-foot i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #8fd3a8;
  box-shadow: 0 0 0 4px rgba(143, 211, 168, .14);
  animation: lc-pulse 2.4s ease-in-out infinite;
}

/* ---------- Workspace ---------- */

.lc-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1.32fr) minmax(360px, .92fr);
  gap: 22px;
  align-items: start;
}

.lc-inputs { display: grid; gap: 16px; }

.lc-card {
  padding: 24px;
  border: 1px solid var(--lc-line);
  border-radius: var(--lc-radius);
  background: rgba(255, 252, 246, .82);
  box-shadow: var(--lc-shadow);
}

.lc-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.lc-card-head h2,
.lc-advanced-title {
  font-size: 16px;
  font-weight: 650;
  letter-spacing: -.01em;
}
.lc-step {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  border: 1px solid var(--lc-line);
  border-radius: 50%;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--lc-amber-deep);
  background: #fffaf1;
}
.lc-card-note {
  margin-left: auto;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--lc-muted-2);
  text-align: right;
}

.lc-field { display: block; min-width: 0; }
.lc-label {
  display: block;
  margin-bottom: 7px;
  font-size: 9.5px;
  font-weight: 650;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--lc-muted);
}

.lc-input {
  display: flex;
  align-items: center;
  height: 48px;
  border: 1px solid var(--lc-line);
  border-radius: 12px;
  background: var(--lc-surface-2);
  transition: border-color .18s, box-shadow .18s, background .18s;
}
.lc-input:hover { border-color: #cfc5b3; }
.lc-input:focus-within {
  border-color: var(--lc-amber);
  background: #fffdf8;
  box-shadow: 0 0 0 3px rgba(227, 154, 59, .16);
}
.lc-input input {
  width: 100%;
  min-width: 0;
  height: 100%;
  padding: 0 6px 0 13px;
  border: 0;
  background: transparent;
  font-size: 15px;
  font-weight: 550;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.01em;
}
.lc-input input:focus { outline: 0; }
.lc-input input:disabled { color: var(--lc-muted-2); }
.lc-input i {
  padding-right: 13px;
  font-style: normal;
  font-size: 11px;
  font-weight: 600;
  color: var(--lc-muted-2);
  white-space: nowrap;
}
.lc-input.is-invalid { border-color: rgba(178, 59, 46, .55); }

.lc-select-wrap { position: relative; display: block; }
.lc-select-wrap::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 14px;
  width: 7px;
  height: 7px;
  margin-top: -5px;
  border-right: 1.5px solid var(--lc-muted);
  border-bottom: 1.5px solid var(--lc-muted);
  transform: rotate(45deg);
  pointer-events: none;
}
.lc-select {
  width: 100%;
  height: 48px;
  padding: 0 38px 0 13px;
  border: 1px solid var(--lc-line);
  border-radius: 12px;
  background: var(--lc-surface-2);
  font-size: 14.5px;
  font-weight: 500;
  appearance: none;
  cursor: pointer;
  transition: border-color .18s, box-shadow .18s, background .18s;
}
.lc-select:hover { border-color: #cfc5b3; }
.lc-select:focus {
  outline: 0;
  border-color: var(--lc-amber);
  background: #fffdf8;
  box-shadow: 0 0 0 3px rgba(227, 154, 59, .16);
}

.lc-row { display: grid; gap: 12px; margin-top: 14px; }
.lc-row--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.lc-row--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.lc-field--full { margin-top: 0; }
.lc-row:first-child { margin-top: 0; }

.lc-hint {
  margin-top: 15px;
  font-size: 12px;
  line-height: 1.55;
  color: var(--lc-muted);
}
.lc-hint b { font-weight: 650; color: var(--lc-ink-2); font-variant-numeric: tabular-nums; }
.lc-dot-sep { display: inline-block; margin: 0 7px; color: var(--lc-muted-2); }
.lc-lum-meta { margin-top: 8px; font-size: 11px; color: var(--lc-muted-2); }
.lc-lum-meta b { color: var(--lc-ink-2); font-variant-numeric: tabular-nums; }

/* ---------- Finish ---------- */

.lc-finish {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.lc-finish-opt {
  position: relative;
  display: block;
  padding: 12px 13px 11px;
  border: 1px solid var(--lc-line);
  border-radius: 14px;
  background: var(--lc-surface-2);
  cursor: pointer;
  transition: border-color .18s, background .18s, box-shadow .18s, transform .18s;
}
.lc-finish-opt:hover { border-color: #cfc5b3; transform: translateY(-1px); }
.lc-finish-opt:focus-within { outline: 2px solid var(--lc-amber-deep); outline-offset: 3px; }
.lc-finish-opt input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.lc-finish-opt.is-active {
  border-color: rgba(227, 154, 59, .85);
  background: #fff8ea;
  box-shadow: 0 0 0 3px rgba(227, 154, 59, .12);
}
.lc-finish-opt.is-active b { color: var(--lc-amber-deep); }
.lc-swatches { display: flex; gap: 4px; margin-bottom: 9px; }
.lc-swatches i {
  width: 26px;
  height: 11px;
  border-radius: 3px;
  background: var(--c);
  border: 1px solid rgba(23, 26, 30, .12);
}
.lc-finish-opt b { display: block; font-size: 12.5px; font-weight: 650; letter-spacing: -.01em; }
.lc-finish-opt small {
  display: block;
  margin-top: 2px;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .05em;
  color: var(--lc-muted-2);
  font-variant-numeric: tabular-nums;
}

/* ---------- Advanced ---------- */

.lc-advanced { padding: 0; overflow: hidden; }
.lc-advanced > summary {
  padding: 20px 24px;
  margin: 0;
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.lc-advanced > summary::-webkit-details-marker { display: none; }
.lc-summary-plus {
  position: relative;
  width: 18px;
  height: 18px;
  margin-left: auto;
  border: 1px solid var(--lc-line);
  border-radius: 50%;
  flex: 0 0 18px;
}
.lc-summary-plus::before,
.lc-summary-plus::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 7px;
  height: 1px;
  background: var(--lc-muted);
  transform: translate(-50%, -50%);
  transition: transform .2s;
}
.lc-summary-plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.lc-advanced[open] .lc-summary-plus::after { transform: translate(-50%, -50%) rotate(0deg); }
.lc-advanced-body { padding: 0 24px 22px; }
.lc-check {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-top: 14px;
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--lc-ink-2);
  cursor: pointer;
}
.lc-check input { margin-top: 2px; accent-color: var(--lc-amber-deep); }
.lc-linkbtn {
  display: inline-block;
  margin-top: 14px;
  padding: 0 0 2px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--lc-amber-deep);
  border-bottom: 1px solid rgba(180, 102, 22, .35);
  cursor: pointer;
}
.lc-linkbtn:hover { border-color: var(--lc-amber-deep); }

/* ---------- Result ---------- */

.lc-result {
  position: sticky;
  top: 20px;
  overflow: hidden;
  padding: 25px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 24px;
  background:
    radial-gradient(520px 280px at 100% 0%, rgba(227, 154, 59, .2), transparent 60%),
    linear-gradient(165deg, #16201c 0%, #101815 50%, #0b1210 100%);
  color: var(--lc-cream);
  box-shadow: 0 44px 80px -52px rgba(8, 18, 15, .95), 0 1px 0 rgba(255, 255, 255, .08) inset;
}
.lc-result-glow {
  position: absolute;
  top: -110px;
  right: -80px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 190, 100, .28), transparent 66%);
  filter: blur(10px);
  pointer-events: none;
}

.lc-result-top {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 9.5px;
  font-weight: 650;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(247, 242, 231, .5);
}
.lc-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(247, 242, 231, .62);
}
.lc-live i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #8fd3a8;
  box-shadow: 0 0 0 3px rgba(143, 211, 168, .13);
  animation: lc-pulse 2.4s ease-in-out infinite;
}

.lc-result-main { position: relative; margin-top: 18px; }
.lc-num {
  font-size: clamp(74px, 7.2vw, 104px);
  font-weight: 300;
  line-height: .86;
  letter-spacing: -.065em;
  font-variant-numeric: tabular-nums;
  color: #fffaf0;
  text-shadow: 0 0 48px rgba(255, 190, 100, .22);
  transition: transform .22s ease, opacity .22s ease;
}
.lc-num.is-bump { transform: scale(1.035); }
.lc-num-label {
  margin-top: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(247, 242, 231, .62);
}
.lc-layout {
  margin-top: 12px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--lc-amber-2);
}

.lc-model {
  margin-top: 4px;
  font-size: 11.5px;
  line-height: 1.4;
  color: rgba(247, 242, 231, .58);
}

.lc-gauge { position: relative; margin: 22px 0 6px; }
.lc-gauge-track {
  position: relative;
  height: 6px;
  border-radius: 99px;
  background: rgba(247, 242, 231, .11);
  overflow: visible;
}
.lc-gauge-fill {
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #c97e27, #f5bd6d);
  box-shadow: 0 0 16px rgba(240, 179, 95, .45);
  transition: width .45s cubic-bezier(.22, 1, .36, 1);
}
.lc-gauge-fill.is-over { background: linear-gradient(90deg, #c97e27, #ff8a5c); }
.lc-gauge-target {
  position: absolute;
  top: -4px;
  left: 62.5%;
  width: 2px;
  height: 14px;
  border-radius: 2px;
  background: rgba(247, 242, 231, .75);
  transition: left .45s cubic-bezier(.22, 1, .36, 1);
}
.lc-gauge-labels {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 8px;
  font-size: 9px;
  font-weight: 550;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: rgba(247, 242, 231, .42);
}

.lc-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 16px;
  border-top: 1px solid rgba(247, 242, 231, .1);
}
.lc-metric {
  padding: 13px 12px 12px 0;
  border-bottom: 1px solid rgba(247, 242, 231, .1);
}
.lc-metric:nth-child(even) { padding-left: 16px; border-left: 1px solid rgba(247, 242, 231, .1); }
.lc-metric > span {
  display: block;
  margin-bottom: 4px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(247, 242, 231, .45);
}
.lc-metric b {
  display: block;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
  color: #fffaf0;
}
.lc-metric b i { font-style: normal; font-size: 11px; font-weight: 500; color: rgba(247, 242, 231, .5); }
.lc-metric small {
  display: block;
  margin-top: 2px;
  font-size: 10.5px;
  font-weight: 500;
  color: rgba(247, 242, 231, .5);
  font-variant-numeric: tabular-nums;
}
.lc-metric small.is-good { color: #9ad4b1; }
.lc-metric small.is-warn { color: #f0c181; }
.lc-metric small.is-bad { color: #f29a84; }

.lc-plan-card {
  margin-top: 16px;
  padding: 12px 12px 8px;
  border: 1px solid rgba(247, 242, 231, .1);
  border-radius: 15px;
  background: rgba(247, 242, 231, .035);
}
.lc-plan-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 4px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: rgba(247, 242, 231, .45);
}
.lc-plan svg { width: 100%; height: auto; display: block; }

.lc-warnings { display: grid; gap: 7px; margin-top: 12px; }
.lc-warnings:empty { display: none; }
.lc-warning {
  display: flex;
  gap: 8px;
  padding: 9px 10px;
  border-radius: 10px;
  font-size: 11.5px;
  line-height: 1.45;
  background: rgba(247, 242, 231, .045);
  color: rgba(247, 242, 231, .62);
}
.lc-warning svg { flex: 0 0 14px; width: 14px; height: 14px; margin-top: 1px; }
.lc-warning--warn { background: rgba(227, 154, 59, .13); color: #f0c181; }

.lc-result-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 14px;
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(247, 242, 231, .45);
}
.lc-result-foot b { color: rgba(247, 242, 231, .82); font-weight: 600; }

.lc-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  margin-top: 18px;
}

.lc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 13.5px;
  font-weight: 650;
  letter-spacing: -.005em;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.lc-btn span { font-size: 16px; font-weight: 400; line-height: 1; }
.lc-btn--primary {
  background: linear-gradient(180deg, #f3b661 0%, #e39a3b 100%);
  color: #1d1305;
  box-shadow: 0 14px 30px -16px rgba(227, 154, 59, .9), 0 1px 0 rgba(255, 255, 255, .35) inset;
}
.lc-btn--primary:hover { transform: translateY(-1px); background: linear-gradient(180deg, #f8c477, #e8a344); }
.lc-btn--primary:active { transform: translateY(0); }
.lc-btn--ghost {
  padding: 0 17px;
  border-color: rgba(247, 242, 231, .32);
  background: rgba(247, 242, 231, .07);
  color: rgba(247, 242, 231, .9);
  font-size: 11.5px;
  letter-spacing: .1em;
}
.lc-btn--ghost:hover { background: rgba(247, 242, 231, .09); border-color: rgba(247, 242, 231, .32); }
.lc-btn--dark {
  background: var(--lc-deep);
  color: var(--lc-cream);
}
.lc-btn--dark:hover { background: #0c2b26; }
.lc-btn--wide { width: 100%; }
.lc-btn:disabled { opacity: .6; cursor: progress; transform: none; }

.lc-disclaimer {
  margin-top: 12px;
  font-size: 10px;
  line-height: 1.5;
  color: rgba(247, 242, 231, .48);
}

/* ---------- Method ---------- */

.lc-method { padding: clamp(56px, 8vw, 96px) 0 0; }
.lc-section-head { max-width: 640px; }
.lc-section-head h2 {
  margin-top: 14px;
  font-size: clamp(30px, 3.6vw, 44px);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -.035em;
}
.lc-section-head > p:last-child {
  margin-top: 16px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--lc-muted);
}

.lc-method-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 30px;
}
.lc-method-card {
  padding: 22px;
  border: 1px solid var(--lc-line);
  border-radius: 18px;
  background: rgba(255, 252, 246, .72);
}
.lc-method-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--lc-amber-deep);
}
.lc-formula-line {
  margin: 14px 0 12px;
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -.02em;
  color: var(--lc-deep);
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
.lc-formula-line sub { font-size: .55em; }
.lc-formula-text {
  font-size: 12px;
  line-height: 1.6;
  color: var(--lc-muted);
  font-variant-numeric: tabular-nums;
}
.lc-method-card--notes ul { display: grid; gap: 10px; margin-top: 14px; }
.lc-method-card--notes li {
  position: relative;
  padding-left: 14px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--lc-muted);
}
.lc-method-card--notes li::before {
  content: "";
  position: absolute;
  top: .55em;
  left: 0;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--lc-amber);
}

/* ---------- Lead ---------- */

.lc-lead {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 480px);
  gap: clamp(28px, 5vw, 64px);
  margin-top: clamp(56px, 8vw, 96px);
  padding: clamp(28px, 4.5vw, 52px);
  border-radius: 28px;
  overflow: hidden;
  background:
    radial-gradient(640px 360px at 8% 0%, rgba(227, 154, 59, .2), transparent 58%),
    radial-gradient(500px 340px at 92% 100%, rgba(80, 150, 130, .18), transparent 60%),
    linear-gradient(150deg, #17483f 0%, #103630 48%, #0a2622 100%);
  color: var(--lc-cream);
  box-shadow: 0 48px 90px -58px rgba(8, 24, 20, .95);
}
.lc-lead .lc-eyebrow { color: var(--lc-amber-2); }
.lc-lead h2 {
  margin-top: 16px;
  font-size: clamp(30px, 3.9vw, 46px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -.04em;
}
.lc-lead-text {
  max-width: 430px;
  margin-top: 18px;
  font-size: 14px;
  line-height: 1.62;
  color: rgba(247, 242, 231, .68);
}
.lc-lead-list { margin-top: 30px; }
.lc-lead-list li {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 11px 0;
  border-top: 1px solid rgba(247, 242, 231, .12);
  font-size: 13px;
  color: rgba(247, 242, 231, .82);
}
.lc-lead-list li:last-child { border-bottom: 1px solid rgba(247, 242, 231, .12); }
.lc-lead-list span {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .1em;
  color: var(--lc-amber-2);
}
.lc-lead-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  font-size: 10.5px;
  font-weight: 550;
  letter-spacing: .04em;
  color: rgba(247, 242, 231, .5);
}
.lc-lead-note i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lc-amber-2);
  box-shadow: 0 0 0 3px rgba(240, 179, 95, .12);
}

.lc-lead-contacts { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 24px; }
.lc-lead-contacts a {
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(247, 242, 231, .3);
  padding-bottom: 2px;
}
.lc-lead-contacts a:hover { border-color: var(--lc-amber-2); color: var(--lc-amber-2); }

.lc-form-card {
  align-self: start;
  padding: 26px;
  border-radius: 20px;
  background: var(--lc-surface);
  color: var(--lc-ink);
  box-shadow: 0 34px 70px -44px rgba(0, 0, 0, .7), 0 1px 0 rgba(255, 255, 255, .8) inset;
}
.lc-form-head {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-bottom: 14px;
  margin-bottom: 16px;
  border-bottom: 1px dashed var(--lc-line);
}
.lc-form-head span {
  font-size: 9px;
  font-weight: 650;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--lc-muted-2);
}
.lc-form-head b { font-size: 13px; font-weight: 600; color: var(--lc-ink-2); }

.lc-form-card .lc-field { margin-bottom: 11px; }
.lc-form-card .lc-field label {
  display: block;
  margin-bottom: 6px;
  font-size: 9.5px;
  font-weight: 650;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--lc-muted);
}
.lc-form-card .lc-field label span {
  margin-left: 4px;
  font-weight: 500;
  letter-spacing: .02em;
  text-transform: none;
  color: var(--lc-muted-2);
}
.lc-form-card input[type="text"],
.lc-form-card input[type="tel"],
.lc-form-card input[type="email"],
.lc-form-card textarea {
  width: 100%;
  padding: 12px 13px;
  border: 1px solid var(--lc-line);
  border-radius: 10px;
  background: var(--lc-surface-2);
  font-size: 14px;
  line-height: 1.3;
  transition: border-color .18s, box-shadow .18s, background .18s;
}
.lc-form-card textarea { resize: vertical; min-height: 62px; }
.lc-form-card input::placeholder,
.lc-form-card textarea::placeholder { color: #a79f91; }
.lc-form-card input:focus,
.lc-form-card textarea:focus {
  outline: 0;
  border-color: var(--lc-amber);
  background: #fffdf8;
  box-shadow: 0 0 0 3px rgba(227, 154, 59, .15);
}
.lc-form-card input.is-invalid,
.lc-form-card textarea.is-invalid { border-color: rgba(178, 59, 46, .6); }

.lc-err {
  display: block;
  min-height: 0;
  margin-top: 4px;
  font-size: 11px;
  font-style: normal;
  line-height: 1.35;
  color: var(--lc-danger);
}
.lc-err:empty { display: none; }

.lc-consent {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 4px;
  font-size: 11px;
  line-height: 1.45;
  color: var(--lc-muted);
  cursor: pointer;
}
.lc-consent input { flex: 0 0 auto; margin-top: 2px; accent-color: var(--lc-amber-deep); }
.lc-consent a { color: var(--lc-ink-2); text-decoration: underline; text-decoration-color: rgba(23, 26, 30, .3); text-underline-offset: 2px; }
.lc-consent a:hover { color: var(--lc-amber-deep); }

.lc-hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.lc-form-card .lc-btn--primary { margin-top: 14px; }
.lc-form-note {
  margin-top: 10px;
  font-size: 10.5px;
  line-height: 1.45;
  color: var(--lc-muted-2);
  text-align: center;
}

.lc-status {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 12px;
  line-height: 1.45;
}
.lc-status--error { background: #fbe9e6; color: #8c2f23; }
.lc-status--ok { background: #e8f4ed; color: #235f45; }
.lc-status a { color: inherit; font-weight: 650; }

.lc-success { padding: 26px 6px 18px; text-align: center; }
.lc-success-icon { display: inline-block; width: 58px; height: 58px; color: var(--lc-ok); }
.lc-success-icon svg { width: 100%; height: 100%; }
.lc-success h3 {
  margin-top: 14px;
  font-size: 24px;
  font-weight: 550;
  letter-spacing: -.03em;
}
.lc-success p {
  margin: 8px auto 0;
  max-width: 320px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--lc-muted);
}
.lc-success-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
}
.lc-success .lc-linkbtn { margin-top: 0; }

/* ---------- Footer ---------- */

.lc-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px 26px;
  margin-top: 54px;
  padding-top: 20px;
  border-top: 1px solid var(--lc-line);
  font-size: 10.5px;
  color: var(--lc-muted-2);
}
.lc-footer-brand { font-weight: 650; letter-spacing: .12em; text-transform: uppercase; color: var(--lc-ink-2); }
.lc-footer p { flex: 1 1 340px; margin: 0; line-height: 1.5; }
.lc-footer-up { margin-left: auto; text-decoration: none; border-bottom: 1px solid var(--lc-line); padding-bottom: 1px; }
.lc-footer-up:hover { color: var(--lc-amber-deep); border-color: var(--lc-amber); }

/* ---------- Toast ---------- */

.lc-toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 9999;
  max-width: calc(100% - 32px);
  padding: 12px 17px;
  border-radius: 11px;
  background: #171a1e;
  color: #f7f2e7;
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.4;
  box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .5);
  transform: translate(-50%, 20px);
  opacity: 0;
  animation: lc-toast-in .28s cubic-bezier(.22, 1, .36, 1) forwards;
}
.lc-toast.is-out { animation: lc-toast-out .28s ease forwards; }

@keyframes lc-toast-in {
  to { transform: translate(-50%, 0); opacity: 1; }
}
@keyframes lc-toast-out {
  to { transform: translate(-50%, 12px); opacity: 0; }
}

/* ---------- Animations ---------- */

@keyframes lc-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .55; transform: scale(.82); }
}

.lc-app[data-ready="0"] .lc-hero-copy,
.lc-app[data-ready="0"] .lc-hero-formula { opacity: 0; transform: translateY(10px); }
.lc-app[data-ready="1"] .lc-hero-copy,
.lc-app[data-ready="1"] .lc-hero-formula {
  animation: lc-rise .7s cubic-bezier(.22, 1, .36, 1) both;
}
.lc-app[data-ready="1"] .lc-hero-formula { animation-delay: .08s; }

@keyframes lc-rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .lc-app *,
  .lc-app *::before,
  .lc-app *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* ---------- Responsive ---------- */

@media (min-width: 961px) and (max-height: 920px) {
  /* На низких экранах панель результата выше окна — фиксировать её нельзя. */
  .lc-result { position: static; }
}

@media (max-width: 1080px) {
  .lc-workspace { grid-template-columns: minmax(0, 1.2fr) minmax(340px, .9fr); }
  .lc-result { padding: 22px; }
  .lc-formula-big { font-size: 26px; }
  .lc-frac { min-width: 160px; }
}

@media (max-width: 960px) {
  .lc-hero { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .lc-hero-formula { max-width: 520px; }
  .lc-workspace { grid-template-columns: minmax(0, 1fr); }
  .lc-result { position: static; }
  .lc-method-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lc-method-card--notes { grid-column: 1 / -1; }
  .lc-lead { grid-template-columns: minmax(0, 1fr); }
  .lc-form-card { max-width: 560px; }
}

@media (max-width: 720px) {
  .lc-shell { width: calc(100% - 32px); }
  .lc-top { padding-top: 18px; }
  .lc-brand-logo { height: 46px; }
  .lc-input input,
  .lc-select,
  .lc-form-card input[type="text"],
  .lc-form-card input[type="tel"],
  .lc-form-card input[type="email"],
  .lc-form-card textarea { font-size: 16px; }
  .lc-top-meta .lc-chip { display: none; }
  .lc-hero { padding-top: 34px; }
  .lc-hero h1 { font-size: clamp(34px, 9.2vw, 46px); }
  .lc-lede { font-size: 14.5px; }
  .lc-facts {
    display: grid;
    grid-template-columns: 1.3fr 1fr .8fr;
    gap: 10px 14px;
    margin-top: 26px;
  }
  .lc-facts b { font-size: 10.5px; white-space: nowrap; }
  .lc-facts span { font-size: 8.5px; letter-spacing: .07em; }
  .lc-card { padding: 19px; }
  .lc-row--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .lc-input input { padding-left: 10px; font-size: 14px; }
  .lc-input i { padding-right: 9px; font-size: 10px; }
  .lc-select { font-size: 13.5px; padding-left: 11px; }
  .lc-finish { gap: 8px; }
  .lc-finish-opt { padding: 10px; }
  .lc-metrics { margin-top: 12px; }
  .lc-metric b { font-size: 18px; }
  .lc-result { padding: 20px; border-radius: 20px; }
  .lc-num { font-size: 78px; }
  .lc-method-grid { grid-template-columns: minmax(0, 1fr); }
  .lc-lead { padding: 24px; border-radius: 22px; }
  .lc-form-card { padding: 20px; }
  .lc-footer { margin-top: 40px; }
}

@media (max-width: 400px) {
  .lc-formula-big { font-size: 22px; gap: 8px; }
  .lc-frac { min-width: 140px; }
}

/* ---------- Container queries: блок может быть уже окна ---------- */

@container (max-width: 1000px) {
  .lc-hero { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .lc-hero-formula { max-width: 520px; }
}

@container (max-width: 960px) {
  .lc-method-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lc-method-card--notes { grid-column: 1 / -1; }
  .lc-lead { grid-template-columns: minmax(0, 1fr); }
  .lc-form-card { max-width: 560px; }
}

@container (max-width: 860px) {
  .lc-workspace { grid-template-columns: minmax(0, 1fr); }
  .lc-result { position: static; }
}

@container (max-width: 620px) {
  .lc-method-grid { grid-template-columns: minmax(0, 1fr); }
}


