*{
  box-sizing:border-box;
}

body{
  margin:0;
  font-family:Arial, sans-serif;
  background:#fff7f7;
  color:#111827;
}

.site-header{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:15px 18px;
  background:#1f2937;
  color:#fff;
  position:relative;
}

.logo{
  margin:0;
  font-size:20px;
}

.nav{
  display:flex;
  gap:20px;
}

nav a {
  color: white;
  text-decoration: none;
  margin-left: 20px;
  padding: 8px 14px;
  border-radius: 6px;
  transition: 0.3s;
}

nav>a:hover {
  background: #00c853;
}

.burger{
  display:none;
  font-size:26px;
  background:none;
  border:none;
  color:#fff;
  cursor:pointer;
}

.wrap{
  max-width:1100px;
  margin:auto;
  padding:30px 20px 50px;
}

.hero-card{
  background:linear-gradient(135deg, #ffe4e6, #fff1f2);
  border:1px solid #fecdd3;
  border-radius:24px;
  padding:28px;
  margin-bottom:24px;
}

.eyebrow{
  margin:0 0 10px;
  color:#be123c;
  font-size:13px;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:1px;
}

.hero-card h1{
  margin:0 0 12px;
  font-size:38px;
}

.hero-text{
  margin:0;
  color:#881337;
  line-height:1.7;
}

.main-layout{
  display:grid;
  grid-template-columns:1fr .95fr;
  gap:24px;
  margin-bottom:24px;
}

.form-card,
.results-card,
.content-card{
  background:white;
  border-radius:24px;
  padding:24px;
  box-shadow:0 12px 28px rgba(0,0,0,0.06);
}

.form-card h2{
  margin:0 0 6px;
}

.subtitle{
  margin:0 0 20px;
  color:#667085;
}

.grid{
  display:grid;
  grid-template-columns:repeat(2, 1fr);
  gap:16px;
}

.full{
  grid-column:1 / -1;
}

.field{
  margin-bottom:18px;
}

.field label{
  display:block;
  margin-bottom:8px;
  font-weight:600;
}

.field input,
.field select{
  width:100%;
  padding:13px;
  border:1px solid #d0d5dd;
  border-radius:14px;
  font-size:15px;
  background:#fff;
}

.section-block{
  margin-top:10px;
}

.section-top{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  margin-bottom:12px;
  flex-wrap:wrap;
}

.section-top h3{
  margin:0;
  font-size:18px;
}

.switch-group{
  display:flex;
  gap:8px;
}

.switch-btn{
  padding:10px 14px;
  border:1px solid #d0d5dd;
  background:#fff;
  border-radius:12px;
  cursor:pointer;
  font-weight:700;
}

.switch-btn.active{
  background:#ffe4e6;
  border-color:#fda4af;
  color:#be123c;
}

.calculate-btn{
  width:100%;
  margin-top:8px;
  border:none;
  border-radius:16px;
  background:#e11d48;
  color:white;
  padding:15px;
  font-size:16px;
  font-weight:700;
  cursor:pointer;
}

.calculate-btn:hover{
  background:#be123c;
}

.results-card{
  background:linear-gradient(180deg, #fff1f2, #ffffff);
  border:1px solid #fecdd3;
}

.goal-strip{
  display:grid;
  grid-template-columns:1fr auto 1fr;
  gap:14px;
  align-items:center;
  margin-bottom:20px;
}

.goal-box{
  background:white;
  border:1px solid #fecdd3;
  border-radius:18px;
  padding:16px;
  text-align:center;
}

.goal-box span{
  display:block;
  color:#667085;
  margin-bottom:8px;
}

.goal-box strong{
  font-size:24px;
  color:#111827;
}

.arrow{
  font-size:28px;
  color:#be123c;
  font-weight:700;
}

.result-grid{
  display:grid;
  grid-template-columns:repeat(2, 1fr);
  gap:14px;
}

.result-tile{
  background:white;
  border:1px solid #fecdd3;
  border-radius:18px;
  padding:18px;
  text-align:center;
}

.result-tile span{
  display:block;
  color:#667085;
  margin-bottom:8px;
  font-size:14px;
}

.result-tile strong{
  font-size:22px;
  color:#111827;
}

.result-note{
  margin:18px 0 0;
  color:#475467;
  line-height:1.6;
  text-align:center;
}

.content-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:24px;
}

.content-card h2{
  margin-top:0;
}

.content-card p{
  color:#475467;
  line-height:1.7;
}

.faq-item{
  margin-bottom:18px;
}

.faq-item:last-child{
  margin-bottom:0;
}

.faq-item h3{
  margin-bottom:8px;
}

.hidden{
  display:none;
}

@media (max-width:900px){
  .main-layout,
  .content-grid{
    grid-template-columns:1fr;
  }
}

@media (max-width:700px){
  .grid,
  .result-grid{
    grid-template-columns:1fr;
  }

  .hero-card h1{
    font-size:32px;
  }

  .goal-strip{
    grid-template-columns:1fr;
  }

  .arrow{
    display:none;
  }
}

@media (max-width:600px){
  .burger{
    display:block;
  }

  .nav{
    display:none;
    position:absolute;
    top:60px;
    left:0;
    right:0;
    background:#1f2937;
    flex-direction:column;
    padding:15px;
    z-index:1000;
  }

  .nav.open{
    display:flex;
  }
}