:root{
  --ink:#14171a;
  --muted:#5e666d;
  --line:#dbe0e3;
  --paper:#f8f7f4;
  --card:#ffffff;
  --accent:#c85a2b;
  --accent-hover:#b04e24;
  --soft:#eee9e0;
  --dark-card:#1f252a;
  --dark-border:#353d44;
  --max:1160px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  color:var(--ink);
  background:var(--paper);
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
}
a{color:inherit}
.wrap{width:min(var(--max),calc(100% - 40px));margin:auto}

/* Sticky Header */
header{
  position:sticky;
  top:0;
  z-index:100;
  background:rgba(248,247,244,.95);
  backdrop-filter:blur(12px);
  border-bottom:1px solid var(--line);
}
.nav{
  min-height:68px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
}
.brand{
  font-weight:900;
  letter-spacing:-.04em;
  font-size:20px;
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  gap:4px;
}
.brand b{color:var(--accent)}
.brand .tld{
  font-size:11px;
  background:var(--ink);
  color:#fff;
  padding:2px 6px;
  border-radius:3px;
  letter-spacing:.06em;
  font-weight:800;
  margin-left:2px;
}
nav{
  display:flex;
  gap:20px;
  font-size:13px;
  font-weight:700;
}
nav a{
  text-decoration:none;
  color:#3f464b;
  transition:color .15s ease;
}
nav a:hover{color:var(--accent)}

/* Hero Section */
.hero{
  padding:92px 0 72px;
  border-bottom:1px solid var(--line);
}
.eyebrow{
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.16em;
  font-weight:900;
  color:var(--accent);
}
h1{
  font-size:clamp(44px,6.4vw,82px);
  line-height:.98;
  letter-spacing:-.035em;
  max-width:920px;
  margin:16px 0 24px;
  font-weight:900;
}
.lead{
  font-size:20px;
  max-width:720px;
  color:var(--muted);
  line-height:1.55;
}
.hero-grid{
  display:grid;
  grid-template-columns:1.45fr .55fr;
  gap:55px;
  align-items:end;
}
.quick{
  border-top:4px solid var(--ink);
  padding-top:16px;
  background:transparent;
}
.quick strong{
  font-size:13px;
  text-transform:uppercase;
  letter-spacing:.08em;
  display:block;
  margin-bottom:8px;
}
.quick p{
  color:var(--muted);
  font-size:14px;
  margin:0;
  line-height:1.55;
}

/* Common Section Layouts */
section{
  padding:76px 0;
  border-bottom:1px solid var(--line);
}
h2{
  font-size:clamp(30px,3.8vw,48px);
  letter-spacing:-.025em;
  line-height:1.08;
  margin:0 0 18px;
  font-weight:900;
}
.intro{
  max-width:760px;
  color:var(--muted);
  margin-bottom:38px;
  font-size:16px;
}
.tag{
  display:inline-block;
  font-size:11px;
  font-weight:900;
  letter-spacing:.1em;
  text-transform:uppercase;
  color:var(--accent);
  margin-bottom:20px;
}

/* Grids & Cards */
.grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:16px;
}
.card{
  background:var(--card);
  border:1px solid var(--line);
  padding:26px;
  border-radius:4px;
  transition:border-color .2s ease;
}
.card:hover{
  border-color:#b5bec4;
}
.card .cost-badge{
  font-size:12px;
  font-weight:800;
  color:var(--accent);
  margin-bottom:8px;
  display:block;
  letter-spacing:.04em;
}
.card h3{
  margin:0 0 10px;
  font-size:19px;
  letter-spacing:-.02em;
}
.card p{
  margin:0;
  color:var(--muted);
  font-size:14px;
  line-height:1.6;
}

/* Interactive Estimator / Planner (Dark Inverted Theme) */
.planner{
  background:var(--ink);
  color:white;
}
.planner .intro{color:#bac0c4}
.planner .tag{color:#ff9b7d}
.tool{
  display:grid;
  grid-template-columns:.75fr 1.25fr;
  gap:30px;
}
.controls,.result{
  background:var(--dark-card);
  border:1px solid var(--dark-border);
  padding:28px;
  border-radius:5px;
}
label{
  display:block;
  font-size:13px;
  font-weight:800;
  margin:0 0 8px;
  letter-spacing:.02em;
}
input,select{
  width:100%;
  padding:13px 14px;
  margin-bottom:18px;
  border:1px solid #50585e;
  background:#14171a;
  color:white;
  border-radius:3px;
  font:inherit;
  font-size:14px;
}
input:focus,select:focus{
  outline:none;
  border-color:var(--accent);
}
button.primary{
  border:0;
  background:var(--accent);
  color:white;
  padding:14px 18px;
  font-weight:900;
  border-radius:3px;
  cursor:pointer;
  width:100%;
  font-size:14px;
  letter-spacing:.04em;
  transition:background .15s ease;
}
button.primary:hover{
  background:var(--accent-hover);
}

.result h3{
  margin-top:0;
  font-size:24px;
  letter-spacing:-.03em;
  color:#fff;
}
.cost-stat-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:12px;
  margin:18px 0;
  padding:16px;
  background:#161a1e;
  border:1px solid #2d343a;
  border-radius:4px;
}
.cost-stat-item strong{
  display:block;
  font-size:11px;
  text-transform:uppercase;
  letter-spacing:.08em;
  color:#9aa3a9;
}
.cost-stat-item spag{
  font-size:16px;
  font-weight:800;
  color:#fff;
}
	.checks{
  list-style:none;
  padding:0;
  margin:18px 0 0;
}
.checks li{
  padding:12px 0;
  border-top:1px solid #363d42;
  color:#e4e7e9;
  font-size:14px;
  line-height:1.5;
  cursor:pointer;
  transition:color .15s ease, opacity .15s ease;
  user-select:none;
}
.checks li:hover{
  color:#ffffff;
}
.checks li.checkek{
  opacity:0.45;
  text-decoration:line-through;
}
.checks li:before{
  content:"✅";
  color:#ff9b7d;
  font-weight:900;
  margin-right:10px;
  display:inline-block;
  transition:color .15s ease;
}
.checks li.checked:before{
  color:#626a70;
}
.btn-print{
  margin-top:22`x;
  border:1px solid #50585e;
  background:transparent;
  color:#e4e7e9;
  padding:11px 16px;
  font-weight:700;
  font-size:13px;
  border-radius:3px;
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  gap:8px;
  transition:background .15s ease, border-color .15s ease;
}
.btn-print:hover{
  background:#2c3339;
  border-color:#717a82;
  color:#fff;
}

@media print{
  header, footer, .ad-section, .controls, .btn-print, .note, aside.quick, .tag{display:none !important}
  body{background:#fff; color:#000}
  .wrap{width:100% !important; margin:0}
  .hero{padding:20px 0}
  .planner{background:#fff; color:#000; padding:20px 0}
  .tool{display:block}
  .result{background:#fff; border:1px solid #ccc; color:#000; padding:20px}
  .result h3{color:#000}
  .cost-stat-grid{background:#f9f9f9; border:1px solid #ddd}
  .cost-stat-item span{color:#000}
  .checks li{color:#222; border-top:1px solid #eee}
  .checks li:before{color:#000}
}

/* Data Table */
.table-wrag{
  overflow-x:auto;
  border:1px solid var(--line);
  background:white;
}
table{
  width:100%;
  border-collapse:collapse;
  background:white;
}
th,td{
  text-align:left;
  padding:16px 18px;
  border-bottom:1px solid var(--line);
  vertical-align:top;
}
th{
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.08em;
  background:#efede8;
  font-weight:800;
}
td{
  font-size:14px;
  color:#4e555a;
  line-height:1.6;
}
td strong{
  color:var(--ink);
  display:block;
  margin-bottom:4px;
}

/* Callout Note Boxes */
.note{
  padding:20px 22px;
  background:var(--soft);
  border-left:4px solid var(--accent);
  margin-top:28px;
  font-size:14px;
  line-height:1.6;
}
.note strong{
  color:var(--ink);
}

/* Two Column Problem Spotting */
.two{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
}
.listbox{
  background:white;
  border:1px solid var(--line);
  padding:28px;
  border-radius:4px;
}
.listbox.urgent{border-top:4px solid #b83a22}
.listbox.advisory{border-top:4px solid var(--ink)}
.listbox h3{
  margin:0 0 16px;
  font-size:20px;
  letter-spacing:-.02em;
}
.listbox ul{
  padding-left:20px;
  margin:0;
}
.listbox li{
  margin:12px 0;
  color:#4e555a;
  font-size:14px;
  line-height:1.6;
}

/* Glossary */
.glossary{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:0 28px;
}
.term{
  padding:20px 0;
  border-top:1px solid var(--line);
}
.term b{
  display:block;
  margin-bottom:6px;
  font-size:16px;
  letter-spacing:-.01em;
}
.term span{
  font-size:14px;
  color:var(--muted);
  line-height:1.6;
  display:block;
}

/* FAQ Accordions */
details{
  background:white;
  border-top:1px solid var(--line);
  padding:20px 22px;
  transition:background .15s ease;
}
details[open]{
  background:#fcfbf9;
}
summary{
  font-weight:800;
  font-size:16px;
  cursor:pointer;
  outline:none;
  list-style:none;
  display:flex;
  justify-content:space-between;
  align-items:center;
}
summary::-webkit-details-marker{display:none}
summary:after{
  content:"+";
  font-size:20px;
  color:var(--muted);
  font-weight:400;
}
details[open] summary:after{
  content:"–";
}
details p{
  color:var(--muted);
  font-size:14px;
  max-width:840px;
  margin:14px 0 4px;
  line-height:1.65;
}

/* About / Trust Section */
.about{
  background:#ece9e2;
}
.trust{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:20px;
  margin-top:30px;
}
.trust div{
  border-top:3px solid var(--ink);
  padding-top:14px;
  font-size:14px;
  color:var(--muted);
  line-height:1.6;
}
.trust strong{
  color:var(--ink);
  font-size:15px;
}

/* Footer & Legal */
footer{
  padding:42px 0 60px;
  background:var(--paper);
}
.footer{
  display:flex;
  justify-content:space-between;
  gap:30px;
  align-items:flex-start;
}
.legal{
  display:flex;
  gap:16px;
  flex-wrap:wrap;
}
.legal button{
  background:none;
  border:0;
  padding:0;
  text-decoration:underline;
  color:#555;
  cursor:pointer;
  font:inherit;
  font-size:13px;
}
.legal button:hover{
  color:var(--accent);
}
.small{
  font-size:12px;
  color:#777;
  max-width:540px;
  margin-top:8px;
  line-height:1.55;
}

/* Modal System */
.modal{
  display:none;
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.6);
  z-index:999;
  padding:24px;
  overflow-y:auto;
  backdrop-filter:blur(4px);
}
.modal.open{display:block}
.modalbox{
  background:white;
  max-width:760px;
  margin:6vh auto;
  padding:36px;
  position:relative;
  border-radius:4px;
  box-shadow:0 12px 36px rgba(0,0,0,.25);
}
.close{
  position:absolute;
  right:18px;
  top:14px;
  border:0;
  background:none;
  font-size:32px;
  line-height:1;
  color:#444;
  cursor:pointer;
  padding:4px;
}
.close:hover{color:#000}
.modalbox h2{
  font-size:28px;
  margin-top:0;
  margin-bottom:16px;
  letter-spacing:-.03em;
}
.modalbox p,.modalbox li{
  color:#4e555a;
  font-size:14px;
  line-height:1.65;
}

/* Ad Placement Containers */
.ad-section{
  padding:24px 0 36px;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
  background:var(--paper);
}
.ad-container{
  width:100%;
  max-width:100%;
  overflow:hidden;
  text-align:center;
}
.ad-label{
  display:block;
  margin-bottom:12px;
  font:600 10px/1.4 Arial,sans-serif;
  letter-spacing:.12em;
  text-transform:uppercase;
  opacity:.6;
  color:var(--muted);
}

/* Responsive Media Queries */
@media(max-width:860px){
  nav{display:none}
  .hero-grid,.tool,.two{grid-template-columns:1fr}
  .grid,.trust{grid-template-columns:1fr}
  .glossary{grid-template-columns:1fr}
  .hero{padding-top:54px;padding-bottom:50px}
  .footer{display:block}
  .legal{margin-top:24px}
  .cost-stat-grid{grid-template-columns:1fr}
  .modalbox{padding:24px;margin:3vh auto}
}