:root{
  --ac-bg:#f7f9fc;
  --ac-surface:#fff;
  --ac-text:#18202b;
  --ac-muted:#667085;
  --ac-border:#e6e9ef;
  --ac-primary:#3157d5;
  --ac-primary-hover:#2546b5;
  --ac-container:1180px;
}
.ac-header{
  width:100%;
  position:fixed;
  top:0;
  left:0;
  right:0;
  z-index:99999;
  background:rgba(255,255,255,.96);
  border-bottom:1px solid var(--ac-border);
  font-family:Inter,Arial,sans-serif;
  backdrop-filter:blur(10px);
}
.ac-header__inner{
  width:min(calc(100% - 40px),var(--ac-container));
  height:74px;
  margin:0 auto;
  display:flex;
  align-items:center;
  gap:28px;
}
.ac-logo{
  display:inline-flex;
  align-items:center;
  gap:10px;
  flex-shrink:0;
  color:var(--ac-text);
  text-decoration:none;
}
.ac-logo__mark{
  width:36px;
  height:36px;
  display:grid;
  place-items:center;
  border-radius:10px;
  background:var(--ac-primary);
  color:#fff;
  font-size:18px;
  font-weight:800;
  box-shadow:0 8px 20px rgba(49,87,213,.18);
}
.ac-logo__text{
  font-size:22px;
  font-weight:800;
  letter-spacing:-.03em;
}
.ac-nav{
  margin-left:auto;
  display:flex;
  align-items:center;
  gap:24px;
}
.ac-nav a{
  color:#4a5565;
  text-decoration:none;
  font-size:15px;
  font-weight:600;
  transition:.2s ease;
}
.ac-nav a:hover{
  color:var(--ac-primary);
}
.ac-all-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:42px;
  padding:0 16px;
  border-radius:11px;
  background:var(--ac-primary);
  color:#fff;
  text-decoration:none;
  font-size:14px;
  font-weight:700;
  flex-shrink:0;
  transition:.2s ease;
}
.ac-all-btn:hover{
  background:var(--ac-primary-hover);
  transform:translateY(-1px);
}
.ac-burger{
  display:none;
  margin-left:auto;
  width:42px;
  height:42px;
  padding:10px;
  border:1px solid #e3e7ee;
  border-radius:10px;
  background:#fff;
  cursor:pointer;
}
.ac-burger span{
  display:block;
  width:100%;
  height:2px;
  margin:4px 0;
  border-radius:10px;
  background:var(--ac-text);
}
.ac-mobile-menu{
  display:none;
  padding:10px 20px 20px;
  background:#fff;
  border-top:1px solid #edf0f4;
}
.ac-mobile-menu.is-open{
  display:block;
}
.ac-mobile-menu a{
  display:block;
  padding:13px 0;
  border-bottom:1px solid #f0f2f5;
  color:#273142;
  text-decoration:none;
  font-size:15px;
  font-weight:600;
}
.ac-mobile-menu a:last-child{
  border-bottom:0;
  color:var(--ac-primary);
  font-weight:700;
}
@media(max-width:980px){
  .ac-nav,.ac-all-btn{
    display:none;
  }
  .ac-burger{
    display:block;
  }
  .ac-header__inner{
    width:min(calc(100% - 28px),var(--ac-container));
    height:68px;
  }
}
@media(max-width:480px){
  .ac-logo__text{
    font-size:20px;
  }
  .ac-logo__mark{
    width:34px;
    height:34px;
    font-size:17px;
  }
}



body{
  padding-top:60px;
}
@media(max-width:980px){
  body{
    padding-top:60px;
  }
}

.ac-main{
  font-family:Inter,Arial,sans-serif;
  color:var(--ac-text);
  background:var(--ac-bg);
}
.ac-section{
  padding:72px 0;
}
.ac-container{
  width:min(calc(100% - 40px),var(--ac-container));
  margin:0 auto;
}
.ac-hero{
  padding:88px 0 72px;
  background:linear-gradient(180deg,#fff 0%,var(--ac-bg) 100%);
}
.ac-hero__grid{
  display:grid;
  grid-template-columns:1.15fr .85fr;
  gap:52px;
  align-items:center;
}
.ac-eyebrow{
  display:inline-flex;
  padding:8px 13px;
  margin-bottom:18px;
  border-radius:30px;
  background:#eef3ff;
  color:var(--ac-primary);
  font-size:14px;
  font-weight:700;
}
.ac-hero h1{
  max-width:760px;
  margin:0 0 20px;
  font-size:64px;
  line-height:1.03;
  letter-spacing:-.05em;
}
.ac-hero__text{
  max-width:680px;
  margin:0 0 28px;
  color:var(--ac-muted);
  font-size:19px;
  line-height:1.6;
}
.ac-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-bottom:24px;
}
.ac-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:50px;
  padding:0 20px;
  border-radius:13px;
  text-decoration:none;
  font-weight:700;
  transition:.2s ease;
}
.ac-btn--primary{
  background:var(--ac-primary);
  color:#fff;
}
.ac-btn--primary:hover{
  background:var(--ac-primary-hover);
  transform:translateY(-1px);
}
.ac-btn--secondary{
  border:1px solid var(--ac-border);
  background:#fff;
  color:var(--ac-text);
}
.ac-hero__meta{
  display:flex;
  flex-wrap:wrap;
  gap:18px;
  color:var(--ac-muted);
  font-size:14px;
}
.ac-hero__meta span:before{
  content:"✓";
  margin-right:7px;
  color:#168552;
  font-weight:800;
}
.ac-preview{
  padding:26px;
  border:1px solid var(--ac-border);
  border-radius:24px;
  background:#fff;
  box-shadow:0 16px 45px rgba(27,39,65,.08);
}
.ac-preview__label{
  margin-bottom:8px;
  color:var(--ac-muted);
  font-size:13px;
}
.ac-preview h2{
  margin:0 0 18px;
  font-size:26px;
}
.ac-preview__field{
  margin-bottom:10px;
  padding:13px 14px;
  border:1px solid var(--ac-border);
  border-radius:11px;
  background:#f9fafc;
  color:#505a69;
  font-size:14px;
}
.ac-preview__result{
  margin-top:14px;
  padding:18px;
  border-radius:13px;
  background:#eef3ff;
  color:#2846af;
  font-weight:700;
}
.ac-search{
  max-width:720px;
  display:flex;
  gap:10px;
  margin-top:32px;
  padding:9px;
  border:1px solid var(--ac-border);
  border-radius:15px;
  background:#fff;
  box-shadow:0 10px 30px rgba(27,39,65,.05);
}
.ac-search input{
  flex:1;
  min-width:0;
  padding:0 10px;
  border:0;
  outline:0;
  background:transparent;
  font-size:15px;
}
.ac-search button{
  padding:12px 17px;
  border:0;
  border-radius:10px;
  background:var(--ac-primary);
  color:#fff;
  font-weight:700;
  cursor:pointer;
}
.ac-kicker{
  margin-bottom:8px;
  color:var(--ac-primary);
  font-size:13px;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.ac-title{
  margin:0 0 12px;
  font-size:42px;
  line-height:1.1;
  letter-spacing:-.04em;
}
.ac-text{
  max-width:720px;
  margin:0 0 30px;
  color:var(--ac-muted);
  font-size:17px;
}
.ac-tools{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
}
.ac-tool{
  min-height:215px;
  display:flex;
  flex-direction:column;
  padding:22px;
  border:1px solid var(--ac-border);
  border-radius:18px;
  background:#fff;
  text-decoration:none;
  color:var(--ac-text);
  transition:.2s ease;
}
.ac-tool:hover{
  transform:translateY(-3px);
  border-color:#d1d7e1;
  box-shadow:0 14px 35px rgba(27,39,65,.07);
}
.ac-tool__icon{
  width:44px;
  height:44px;
  display:grid;
  place-items:center;
  margin-bottom:18px;
  border-radius:12px;
  background:#eef3ff;
  color:var(--ac-primary);
  font-size:13px;
  font-weight:800;
}
.ac-tool h3{
  margin:0 0 8px;
  font-size:20px;
  letter-spacing:-.02em;
}
.ac-tool p{
  margin:0 0 18px;
  color:var(--ac-muted);
  font-size:15px;
}
.ac-tool__link{
  margin-top:auto;
  color:var(--ac-primary);
  font-size:14px;
  font-weight:700;
}
.ac-tool__link:after{
  content:" →";
}
.ac-soft{
  background:#eef3fb;
}
.ac-features{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
}
.ac-feature{
  padding:24px;
  border:1px solid #e2e8f1;
  border-radius:17px;
  background:#fff;
}
.ac-feature strong{
  display:block;
  margin-bottom:6px;
  font-size:18px;
}
.ac-feature span{
  color:var(--ac-muted);
  font-size:15px;
}
.ac-categories{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}
.ac-category{
  padding:10px 14px;
  border:1px solid var(--ac-border);
  border-radius:30px;
  background:#fff;
  color:#475467;
  text-decoration:none;
  font-size:14px;
  font-weight:600;
}
.ac-category:hover{
  border-color:#c8d0dc;
  color:var(--ac-primary);
}
.ac-home-cta{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:30px;
  padding:38px;
  border-radius:24px;
  background:#17213a;
  color:#fff;
}
.ac-home-cta h2{
  margin:0 0 8px;
  font-size:34px;
  letter-spacing:-.04em;
}
.ac-home-cta p{
  max-width:650px;
  margin:0;
  color:#c3ccdc;
}
.ac-hidden{
  display:none!important;
}
.ac-footer{
  padding:50px 0 26px;
  background:#101828;
  color:#d0d5dd;
  font-family:Inter,Arial,sans-serif;
}
.ac-footer__grid{
  display:grid;
  grid-template-columns:1.5fr repeat(3,1fr);
  gap:38px;
  margin-bottom:38px;
}
.ac-footer__brand{
  color:#fff;
}
.ac-footer__desc{
  max-width:340px;
  margin-top:14px;
  color:#98a2b3;
  font-size:14px;
  line-height:1.6;
}
.ac-footer__col strong{
  display:block;
  margin-bottom:13px;
  color:#fff;
  font-size:14px;
}
.ac-footer__col a{
  display:block;
  margin:9px 0;
  color:#98a2b3;
  text-decoration:none;
  font-size:14px;
}
.ac-footer__col a:hover{
  color:#fff;
}
.ac-footer__bottom{
  display:flex;
  justify-content:space-between;
  gap:20px;
  padding-top:22px;
  border-top:1px solid rgba(255,255,255,.09);
  color:#7f8999;
  font-size:13px;
}
@media(max-width:900px){
  .ac-hero__grid{
    grid-template-columns:1fr;
  }
  .ac-tools,.ac-features{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .ac-footer__grid{
    grid-template-columns:1fr 1fr;
  }
  .ac-home-cta{
    align-items:flex-start;
    flex-direction:column;
  }
}
@media(max-width:600px){
  .ac-container{
    width:calc(100% - 28px);
  }
  .ac-section{
    padding:52px 0;
  }
  .ac-hero{
    padding:56px 0;
  }
  .ac-hero h1{
    font-size:42px;
  }
  .ac-hero__text{
    font-size:17px;
  }
  .ac-tools,.ac-features,.ac-footer__grid{
    grid-template-columns:1fr;
  }
  .ac-search{
    flex-direction:column;
  }
  .ac-search button{
    width:100%;
  }
  .ac-title{
    font-size:34px;
  }
  .ac-footer__bottom{
    flex-direction:column;
  }
  .ac-home-cta{
    padding:28px;
  }
}





.calc-page{
  padding:0 20px;
}
.calc-container{
  max-width:1200px;
  margin:0 auto;
}
.calc-breadcrumbs{
  padding-top:24px;
  font-size:14px;
  line-height:1.4;
  color:#7b8190;
}
.calc-breadcrumbs a{
  color:#4f67d8;
  text-decoration:none;
}
.calc-breadcrumbs a:hover{
  text-decoration:underline;
}
.calc-breadcrumbs span{
  margin-left:8px;
}
.calc-hero{
  padding:34px 0 26px;
}
.calc-hero h1{
  margin:0 0 12px;
  font-size:48px;
  line-height:1.08;
  font-weight:700;
  color:#171923;
}
.calc-hero p{
  max-width:760px;
  margin:0;
  font-size:18px;
  line-height:1.6;
  color:#656b78;
}
.calc-card{
  margin:0 0 32px;
  padding:28px;
  border:1px solid #e7e9ef;
  border-radius:20px;
  background:#fff;
  box-shadow:0 8px 30px rgba(24,32,56,.06);
}
.calc-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px;
}
.calc-field{
  display:flex;
  flex-direction:column;
  gap:8px;
}
.calc-field label{
  font-size:14px;
  font-weight:600;
  color:#303442;
}
.calc-field input,
.calc-field select{
  width:100%;
  box-sizing:border-box;
  padding:13px 14px;
  border:1px solid #dfe3eb;
  border-radius:12px;
  background:#fff;
  font-size:16px;
  color:#171923;
  outline:none;
}
.calc-field input:focus,
.calc-field select:focus{
  border-color:#4f67d8;
  box-shadow:0 0 0 3px rgba(79,103,216,.10);
}
.calc-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:20px;
}
.calc-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:46px;
  padding:0 20px;
  border:0;
  border-radius:12px;
  font-size:15px;
  font-weight:600;
  cursor:pointer;
}
.calc-btn-primary{
  background:#4f67d8;
  color:#fff;
}
.calc-btn-secondary{
  background:#f2f4f8;
  color:#303442;
}
.calc-result{
  margin-top:24px;
  padding:22px;
  border-radius:16px;
  background:#f6f7fb;
}
.calc-result-title{
  margin-bottom:6px;
  font-size:14px;
  color:#656b78;
}
.calc-result-value{
  font-size:38px;
  line-height:1.1;
  font-weight:700;
  color:#171923;
}
.calc-section{
  padding:42px 0;
}
.calc-section h2{
  margin:0 0 20px;
  font-size:32px;
  line-height:1.2;
  color:#171923;
}

.calc-section > p{
  max-width:1000px;
}

.calc-section h3{
  margin:30px 0 14px;
  font-size:22px;
  line-height:1.3;
  color:#171923;
}
.calc-section p,
.calc-section li{
  font-size:17px;
  line-height:1.7;
  color:#4f5563;
  margin:0 0 18px;
}
.calc-table-wrap{
  overflow-x:auto;
  margin:20px 0 22px;
}
.calc-table{
  width:100%;
  border-collapse:collapse;
  margin-top:18px;
}
.calc-table th,
.calc-table td{
  padding:14px 16px;
  border-bottom:1px solid #e7e9ef;
  text-align:left;
  font-size:15px;
}
.calc-table th{
  font-weight:600;
  color:#303442;
  background:#f7f8fb;
}
.calc-faq{
  display:flex;
  flex-direction:column;
  gap:12px;
}
.calc-faq-item{
  border:1px solid #e7e9ef;
  border-radius:14px;
  background:#fff;
  overflow:hidden;
}
.calc-faq-question{
  position:relative;
  padding:18px 48px 18px 20px;
  font-size:17px;
  font-weight:600;
  color:#171923;
  cursor:pointer;
  list-style:none;
}

.calc-faq-question::-webkit-details-marker{
  display:none;
}
.calc-faq-question:after{
  content:'+';
  position:absolute;
  right:20px;
  top:50%;
  transform:translateY(-50%);
  font-size:22px;
  font-weight:400;
  color:#7b8190;
}
.calc-faq-item[open] .calc-faq-question:after{
  content:'−';
}

.calc-faq-answer{
  padding:0 20px 18px;
  font-size:16px;
  line-height:1.65;
  color:#555c69;
}
@media(max-width:768px){
  .calc-page{
    padding:0 16px;
  }
  .calc-hero{
    padding:26px 0 20px;
  }
  .calc-hero h1{
    font-size:36px;
  }
  .calc-hero p{
    font-size:16px;
  }
  .calc-card{
    padding:20px;
    border-radius:16px;
  }
  .calc-grid{
    grid-template-columns:1fr;
  }
  .calc-section{
    padding:28px 0;
  }
  .calc-section h2{
    font-size:27px;
  }
  .calc-result-value{
    font-size:32px;
  }
}

.calc-mode{
  display:flex;
  gap:8px;
  margin-bottom:22px;
}
.calc-mode-btn{
  padding:10px 16px;
  border:1px solid #dfe3eb;
  border-radius:10px;
  background:#fff;
  color:#555c69;
  font-size:14px;
  font-weight:600;
  cursor:pointer;
}
.calc-mode-btn.active{
  border-color:#4f67d8;
  background:#4f67d8;
  color:#fff;
}
.calc-rows{
  display:flex;
  flex-direction:column;
  gap:12px;
}
.calc-row{
  display:grid;
  grid-template-columns:1.5fr 1fr .7fr 42px;
  gap:12px;
  align-items:end;
}
.calc-remove{
  width:42px;
  height:46px;
  border:0;
  border-radius:10px;
  background:#f2f4f8;
  color:#7b8190;
  font-size:20px;
  cursor:pointer;
}
.calc-remove:hover{
  background:#eceef3;
  color:#303442;
}
.calc-result{
  display:none;
}
.calc-result.show{
  display:block;
}
.calc-result-main{
  display:flex;
  align-items:flex-end;
  gap:8px;
}
.calc-result-max{
  padding-bottom:4px;
  font-size:18px;
  color:#8a909c;
}
.calc-result-stats{
  display:flex;
  gap:28px;
  margin-top:18px;
}
.calc-result-stat strong{
  display:block;
  margin-top:3px;
  font-size:18px;
  color:#171923;
}
.calc-result-stat span{
  font-size:13px;
  color:#7b8190;
}
@media(max-width:768px){
  .calc-row{
    grid-template-columns:1fr 1fr;
  }
  .calc-row .calc-course{
    grid-column:1/-1;
  }
  .calc-remove{
    width:100%;
  }
  .calc-result-stats{
    flex-direction:column;
    gap:12px;
  }
}

.calc-card-title{
  margin:0 0 8px;
  font-size:24px;
  line-height:1.2;
  color:#171923;
}
.calc-card-text{
  margin:0 0 20px;
  font-size:15px;
  line-height:1.6;
  color:#656b78;
}
.calc-mode-note{
  display:none;
  margin:-10px 0 20px;
  font-size:13px;
  line-height:1.5;
  color:#7b8190;
}
.calc-mode-note.show{
  display:block;
}

.calc-formula{
  margin:24px 0 28px;
  padding:18px 20px;
  border-radius:14px;
  background:#f6f7fb;
  font-size:18px;
  line-height:1.5;
  color:#171923;
}

.calc-related{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:16px;
}
.calc-related-card{
  display:flex;
  flex-direction:column;
  gap:8px;
  padding:20px;
  border:1px solid #e7e9ef;
  border-radius:16px;
  background:#fff;
  color:#171923;
  text-decoration:none;
  transition:.2s ease;
}
.calc-related-card:hover{
  transform:translateY(-2px);
  box-shadow:0 8px 24px rgba(24,32,56,.07);
}
.calc-related-card strong{
  font-size:17px;
}
.calc-related-card span{
  font-size:14px;
  line-height:1.55;
  color:#656b78;
}
@media(max-width:768px){
  .calc-related{
    grid-template-columns:1fr;
  }
}