:root {
  --orange: #ff6720;
  --orange-dark: #ec5b00;
  --blue: #0063b0;
  --ink: #282828;
  --muted: #666;
  --line: #e1e1e1;
  --page: #f4f4f4;
  --soft: #f8f8f8;
  --white: #fff;
  --pale-orange: #ffb28e;
  --pale-blue: #9fcdec;
  --yellow: #ffe955;
  --green: #22d24a;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: "Open Sans", Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.45;
}

.site-page a,
.lead-popup a {
  color: inherit;
  text-decoration: none;
}

.header-calc-btn {
  position: absolute;
  right: 0;
  top: 20px;
  display: none;
  align-items: center;
  justify-content: center;
  min-width: 126px;
  height: 40px;
  padding: 0 20px;
  background: var(--orange);
  color: var(--white) !important;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.header-calc-btn:hover {
  background: var(--orange-dark);
}

.orange-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: var(--orange);
  color: var(--white);
  font-weight: 700;
  cursor: pointer;
}

.orange-btn:hover {
  background: var(--orange-dark);
}

.site-page {
  width: 100%;
  margin: 0 auto;
  padding: 80px 0 81px;
  background: var(--page);
}

.hero {
  width: 100%;
  height: 410px;
  margin: 0;
  background:
    linear-gradient(rgba(0, 0, 0, .2), rgba(0, 0, 0, .2)),
    url("assets/figma/mcp/hero-calculator.png") left 62% / 100% auto no-repeat;
  position: relative;
}

.hero--small {
  height: 410px;
}

.hero__overlay {
  width: 100%;
  height: 100%;
  display: grid;
  align-content: center;
  justify-items: center;
  text-align: center;
  color: var(--white);
  padding: 141px min(17.43vw, 251px);
}

.site-page .hero h1 {
  max-width: none;
  margin: 0 0 10px;
  font-family: Circe, "Open Sans", Arial, sans-serif;
  font-size: 50px !important;
  line-height: 1.2 !important;
  font-weight: 700 !important;
  letter-spacing: -0.1px;
  white-space: nowrap;
}

.site-page .hero p {
  width: 669px;
  margin: 0;
  font-family: Circe, "Open Sans", Arial, sans-serif;
  font-size: 20px !important;
  line-height: 1.2 !important;
  letter-spacing: -0.04px;
}

.calc-card,
.result-card,
.info-card,
.warning-card,
.receive-card,
.maturity-card {
  width: min(1100px, calc(100% - 48px));
  margin: 0 auto 40px;
  background: var(--white);
  border-radius: 4px;
  overflow: hidden;
}

.calc-card {
  display: grid;
  grid-template-columns: minmax(0, 430px) minmax(0, 433px);
  justify-content: space-between;
  gap: 40px;
  margin-top: -60px;
  padding: 40px;
  position: relative;
}

.site-page h2,
.site-page h3,
.site-page p,
.lead-popup h2,
.lead-popup h3,
.lead-popup p {
  margin-top: 0;
}

.site-page h2,
.site-page h3,
.lead-popup h2,
.lead-popup h3 {
  line-height: 1.25;
}

.site-page h2,
.lead-popup h2 {
  margin-bottom: 28px;
  font-size: 30px;
}

.site-page h3,
.lead-popup h3 {
  margin-bottom: 24px;
  font-size: 28px;
}

.site-page p,
.lead-popup p {
  margin-bottom: 14px;
}

.calc-card__form,
.calc-card__summary {
  min-width: 0;
}

.calc-card__title {
  margin-bottom: 25px;
}

.calc-card__form h2 {
  max-width: none;
  margin: 0 0 25px;
  color: #464646;
  font-family: Circe, "Open Sans", Arial, sans-serif;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.04px;
  text-transform: uppercase;
  white-space: nowrap;
}

.calc-fields {
  width: min(430px, 100%);
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.field-wide {
  grid-column: 1 / -1;
}

.site-page form label,
.lead-popup form label {
  display: block;
}

.site-page form label span,
.lead-popup form label span {
  display: block;
  margin-bottom: 15px;
  color: #464646;
  font-family: Circe, "Open Sans", Arial, sans-serif;
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: -0.04px;
}

.site-page input,
.lead-popup input {
  width: 151px;
  height: 43px;
  border: 0;
  border-radius: 4px;
  background: #f7f7f7;
  padding: 0 11px;
  outline: none;
  color: rgba(70, 70, 70, .5);
  font-family: Circe, "Open Sans", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.2;
  letter-spacing: -0.028px;
}

.site-page input:focus,
.lead-popup input:focus {
  box-shadow: 0 0 0 1px var(--orange);
}

.orange-btn {
  width: 334px;
  height: 60px;
  border-radius: 4px;
  font-family: Circe, "Open Sans", Arial, sans-serif;
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: -0.04px;
}

.calc-card__summary {
  padding-top: 93px;
}

.calc-card__summary h3 {
  width: 333px;
  margin: 0 0 25px;
  color: #464646;
  font-family: Circe, "Open Sans", Arial, sans-serif;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.04px;
}

.summary-tile {
  width: min(433px, 100%);
  min-height: 89px;
  margin-bottom: 25px;
  padding: 20px 28px 20px 72px;
  background: #f7f7f7;
  border-radius: 4px;
  position: relative;
}

.dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--blue);
  position: absolute;
  left: 28px;
  top: 22px;
}

.summary-tile strong {
  display: block;
  margin-bottom: 10px;
  color: #464646;
  font-family: Circe, "Open Sans", Arial, sans-serif;
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: -0.04px;
}

.summary-tile p {
  margin: 0;
  color: #464646;
  font-family: Circe, "Open Sans", Arial, sans-serif;
  font-size: 20px;
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: -0.04px;
}

.method-card {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: 64px;
  padding: 48px 52px;
}

.method-card .accent-line,
.receive-card .accent-line {
  margin: 0 0 26px;
}

.accent-line {
  width: 55px;
  height: 4px;
  display: block;
  background: var(--orange);
  border-radius: 5px;
  margin: 0;
}

.method-card p,
.method-card li,
.recommendation-card p {
  color: #444;
  font-size: 16px;
}

ol {
  margin: 0;
  padding-left: 22px;
}

.warning-card {
  min-height: 118px;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 38px;
  align-items: center;
  padding: 28px 52px;
}

.warning-mark {
  width: 28px;
  height: 88px;
  object-fit: contain;
}

.warning-card p {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
}

.receive-card,
.maturity-card,
.recommendation-card {
  padding: 48px 52px;
}

.receive-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 42px 86px;
}

.receive-grid article {
  min-height: 150px;
}

.receive-grid h3 {
  margin-bottom: 10px;
  font-size: 20px;
}

.receive-grid p {
  color: #555;
  font-size: 16px;
}

.icon {
  width: auto;
  height: 42px;
  max-width: 42px;
  margin-bottom: 18px;
  object-fit: contain;
  object-position: left center;
}

.lead-popup {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 50;
  place-items: center;
  padding: 24px;
  background: rgba(0, 0, 0, .34);
}

.lead-popup.is-open {
  display: grid;
}

.lead-popup__inner {
  width: min(1100px, calc(100vw - 48px));
  min-height: 310px;
  display: grid;
  grid-template-columns: 424px 1fr;
  background: var(--white);
  position: relative;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .18);
}

.lead-popup__image {
  background: url("assets/figma/extracted/a77982f4595c13fe1d79a151ac376fb5f60ccecd.jpg") center / cover no-repeat;
}

.lead-popup form {
  padding: 54px 58px;
}

.lead-popup h2 {
  margin-bottom: 24px;
  font-size: 28px;
}

.lead-popup input {
  width: 100%;
  margin-bottom: 18px;
}

.lead-popup .orange-btn {
  width: 220px;
  height: 52px;
}

.close-popup {
  position: absolute;
  top: 12px;
  right: 14px;
  border: 0;
  background: none;
  color: #555;
  font-size: 30px;
  cursor: pointer;
}

.result-card {
  margin-top: -74px;
  padding: 49px 66px 58px;
  position: relative;
}

.result-tabs {
  display: inline-flex;
  align-items: stretch;
  gap: 0;
  margin: 0 0 42px;
  border: 1px solid #e8e8e8;
  border-radius: 2px;
  overflow: hidden;
}

.result-tab {
  min-width: 220px;
  height: 48px;
  border: 0;
  border-right: 1px solid #e8e8e8;
  background: #f7f7f7;
  color: #464646;
  font-family: Circe, "Open Sans", Arial, sans-serif;
  font-size: 16px;
  line-height: 1;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}

.result-tab:last-child {
  border-right: 0;
}

.result-tab.is-active {
  background: var(--orange);
  color: var(--white);
}

.result-panels {
  position: relative;
}

.result-panel {
  display: none;
  opacity: 0;
  transform: translateY(8px);
}

.result-panel.is-active {
  display: block;
  animation: result-panel-in .28s ease forwards;
}

@keyframes result-panel-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.result-card h2 {
  margin: 0 0 28px;
  color: #282828;
  font-family: Circe, "Open Sans", Arial, sans-serif;
  font-size: 32px;
  line-height: 1.22;
  font-weight: 700;
  letter-spacing: -0.05px;
}

.result-stat-grid,
.roi-line,
.scenario-line {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 42px;
  margin-bottom: 46px;
}

.result-stat-grid strong,
.roi-line strong {
  display: block;
  margin-bottom: 8px;
  color: #282828;
  font-size: 28px;
  line-height: 1.18;
  font-weight: 700;
}

.result-stat-grid p,
.roi-line span {
  color: #555;
  font-size: 16px;
}

.scenario-line {
  gap: 34px;
}

.scenario-line article {
  min-height: 92px;
  padding-left: 48px;
  position: relative;
}

.scenario-dot {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--orange);
  position: absolute;
  left: 0;
  top: 4px;
}

.scenario-line strong {
  display: block;
  margin-bottom: 6px;
  font-size: 18px;
}

.scenario-line p {
  color: #666;
  font-size: 15px;
}

.bars-compare {
  display: grid;
  grid-template-columns: 230px 230px minmax(0, 1fr);
  align-items: end;
  gap: 54px;
  margin-top: 26px;
  margin-bottom: 50px;
}

.bar-pair {
  height: 190px;
  display: flex;
  align-items: end;
  gap: 18px;
}

.bar-pair span {
  width: 58px;
  display: block;
  position: relative;
}

.bar-pair b {
  position: absolute;
  top: -28px;
  left: 0;
  font-size: 15px;
}

.bar-light {
  background: var(--pale-orange);
}

.bar-orange {
  background: var(--orange);
}

.bars-compare p {
  margin-top: 12px;
  color: #555;
  font-size: 15px;
}

.mini-legend,
.donut-legend {
  list-style: none;
  padding: 0;
  margin: 0;
  color: #555;
  font-size: 15px;
}

.mini-legend li,
.donut-legend li {
  margin-bottom: 12px;
}

.mini-legend i,
.donut-legend i {
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-right: 9px;
  vertical-align: -3px;
  background: var(--orange);
}

.mini-legend .light {
  background: var(--pale-orange);
}

.donut-row {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  align-items: center;
  margin-bottom: 54px;
}

.donut {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: conic-gradient(var(--blue) 0 35%, var(--pale-blue) 35% 62%, var(--yellow) 62% 80%, var(--orange) 80% 92%, var(--green) 92% 100%);
  position: relative;
}

.donut::after {
  content: "";
  position: absolute;
  inset: 22px;
  background: var(--white);
  border-radius: 50%;
}

.donut-legend .blue {
  background: var(--blue);
}

.donut-legend .pale {
  background: var(--pale-blue);
}

.donut-legend .yellow {
  background: var(--yellow);
}

.donut-legend .orange {
  background: var(--orange);
}

.donut-legend .green {
  background: var(--green);
}

.month-chart {
  height: 300px;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  align-items: end;
  gap: 14px;
  margin-top: 18px;
  padding-top: 44px;
  border-bottom: 1px solid #ddd;
}

.month-chart span {
  background: var(--orange);
  position: relative;
}

.month-chart b {
  position: absolute;
  width: 94px;
  top: -28px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  font-weight: 700;
  text-align: center;
}

.month-chart em {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  width: 58px;
  color: #555;
  font-size: 12px;
  font-style: normal;
  text-align: center;
}

.scenario-compare {
  max-width: 740px;
  margin: 12px 0 54px;
}

.scenario-compare article {
  display: grid;
  grid-template-columns: 190px minmax(150px, 220px) minmax(180px, 1fr);
  align-items: center;
  gap: 28px;
  margin-bottom: 22px;
}

.scenario-compare span {
  color: #555;
  font-size: 16px;
}

.scenario-compare strong {
  color: #282828;
  font-size: 22px;
  line-height: 1.2;
}

.scenario-compare i {
  height: 12px;
  display: block;
  background: var(--orange);
  border-radius: 0;
}

.maturity-bar {
  height: 12px;
  background: #eee;
  margin: 22px 0 28px;
}

.maturity-bar span {
  display: block;
  width: 40%;
  height: 100%;
  background: var(--orange);
}

.maturity-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.maturity-grid article {
  border: 1px solid var(--line);
  padding: 22px;
}

.maturity-grid p {
  margin: 8px 0 0;
  color: #555;
}

@media (max-width: 980px) {
  .page-header {
    height: 60px;
    padding: 20px 0;
  }

  .page-header > .container-fluid {
    width: 100%;
    height: 20px;
  }

  .page-header .logo_25 {
    margin-top: -8px;
    margin-left: 20px;
  }

  .logo_25 img {
    width: 130px;
  }

  .menu {
    display: none;
  }

  .menu__btn.burger {
    display: block;
    position: absolute;
    right: 29px;
    top: 2px;
    width: 25px;
    height: 16px;
  }

  .menu__btn.burger::before,
  .menu__btn.burger::after,
  .menu__btn.burger {
    border-top: 2px solid #000;
  }

  .menu__btn.burger::before,
  .menu__btn.burger::after {
    content: "";
    position: absolute;
    left: 0;
    width: 25px;
  }

  .menu__btn.burger::before {
    top: 5px;
  }

  .menu__btn.burger::after {
    top: 12px;
  }

  .site-page {
    width: min(100% - 48px, 760px);
    padding-top: 88px;
  }

  .hero {
    height: 320px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero p {
    font-size: 20px;
  }

  .calc-card,
  .method-card,
  .result-stat-grid,
  .roi-line,
  .scenario-line,
  .bars-compare,
  .donut-row {
    grid-template-columns: 1fr;
  }

  .calc-fields {
    grid-template-columns: 1fr;
  }

  .calc-card,
  .result-card,
  .info-card,
  .warning-card,
  .receive-card,
  .maturity-card {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .site-page {
    width: calc(100% - 32px);
    padding-top: 88px;
  }

  .hero {
    height: 300px;
  }

  .hero__overlay {
    padding: 28px;
  }

  .hero h1 {
    font-size: 38px;
  }

  .hero p {
    font-size: 18px;
  }

  .calc-card,
  .result-card,
  .info-card,
  .warning-card,
  .receive-card,
  .maturity-card {
    padding-left: 32px;
    padding-right: 32px;
  }

  h2,
  .calc-card__form h2 {
    font-size: 27px;
  }
}
