/* ===== CSS for your current page (topnav) ===== */

/* quick reset + nice background */
* { box-sizing: border-box; }
body{
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  background: #fff8f0;
  color: #2c1810;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* links */
a{
  color: #c2410c;
  text-decoration: none;
}
a:hover{
  text-decoration: underline;
}

/* top navigation bar */
.topnav{
  position: sticky;           /* stays at top while scrolling */
  top: 0;
  z-index: 1000;

  display: flex;
  flex-wrap: wrap;
  gap: 8px;

  padding: 12px 14px;
  background: #ffffff;

  border-bottom: 2px solid #fde68a;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

/* nav links */
.topnav a{
  display: inline-block;
  padding: 8px 16px;

  color: #7c2d12;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.2px;

  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;

  transition: background 120ms ease, color 120ms ease, border-color 120ms ease, transform 120ms ease;
}

/* hover + focus */
.topnav a:hover{
  color: #c2410c;
  background: #fff1e6;
  border-color: #fcd9b0;
  transform: translateY(-1px);
}
.topnav a:focus-visible{
  outline: none;
  box-shadow: 0 0 0 3px rgba(234,88,12,0.25);
  border-color: #ea580c;
}

/* active link */
.topnav a.active{
  color: #ffffff;
  background: linear-gradient(135deg, #ea580c, #f59e0b);
  border-color: transparent;
}

/* mobile: make links easier to tap */
@media (max-width: 520px){
  .topnav{
    justify-content: center;
  }
  .topnav a{
    padding: 12px 16px;
  }
}

/* ===== Site layout ===== */
.container{
  max-width: 980px;
  margin: 0 auto;
  padding: 22px 16px;  flex: 1;}

.page-header{
  padding: 10px 0 18px;
}
.page-header h1{
  margin: 10px 0 6px;
  font-size: clamp(24px, 3vw, 38px);
  color: #7c2d12;
  letter-spacing: 0.2px;
}
.page-header p{
  margin: 0;
  color: #92400e;
  max-width: 70ch;
}

.card{
  background: #ffffff;
  border: 1px solid #fde68a;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  margin: 0 0 16px;
}
.card h2, .card h3{
  color: #92400e;
  margin-top: 0;
}

.grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 16px;
}
@media (max-width: 860px){
  .grid{ grid-template-columns: 1fr; }
}

.muted{
  color: #a16207;
}

.clean-list{
  margin: 10px 0 0;
  padding-left: 20px;
  color: #44200e;
}
.clean-list li{ margin: 6px 0; }

.price{
  margin: 8px 0 10px;
  font-size: 26px;
  font-weight: 900;
  color: #ea580c;
}

/* buttons */
.cta-row{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}
.btn{
  display: inline-block;
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: 0.2px;
  background: linear-gradient(135deg, #ea580c, #f59e0b);
  color: #ffffff;
  border: none;
  text-decoration: none;
}
.btn:hover{
  text-decoration: none;
  filter: brightness(1.06);
}
.btn.secondary{
  background: #fff1e6;
  color: #92400e;
  border: 1px solid #fcd9b0;
}
.btn.secondary:hover{
  background: #fde8cc;
}

/* table */
.table-wrap{ overflow-x: auto; }
.table{
  width: 100%;
  border-collapse: collapse;
  min-width: 620px;
}
.table th,
.table td{
  text-align: left;
  padding: 12px 10px;
  border-bottom: 1px solid #fde68a;
  vertical-align: top;
  color: #2c1810;
}
.table th{
  color: #92400e;
  font-size: 13px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  background: #fffbeb;
}

/* footer */
.site-footer{
  border-top: 2px solid #fde68a;
  background: #ffffff;
  margin-top: 24px;
}
.site-footer p{
  margin: 0;
  color: #92400e;
  padding: 16px 0;
}
