:root {
  --bg: #F6F4EF;
  --surface: #FFFFFF;
  --surface-alt: #EFECE5;
  --ink: #141718;
  --ink-2: #3A3F42;
  --muted: #61676B;
  --obsidian: #111517;
  --teal: #0F6B62;
  --teal-dark: #0A524B;
  --teal-soft: #EBF6F4;
  --gold: #B08D57;
  --border: #DDD8CE;
  --border-strong: #C4BDB0;
  --danger: #9F2D2D;
  --radius: 8px;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.66;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-dark); text-decoration-color: rgba(15,107,98,.35); text-underline-offset: 3px; }
a:hover { color: var(--teal); text-decoration-color: var(--teal); }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* Top operational ribbon */
.topbar {
  background: var(--obsidian);
  color: #E7E3DA;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.03em;
  text-align: center;
  padding: 9px 16px;
  border-bottom: 2px solid var(--teal);
}
.topbar a { color: #7DD3C8; text-decoration: underline; margin-left: 8px; }

/* Sticky frosted header */
header.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(246, 244, 239, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
header.site-header .inner {
  max-width: 1180px; margin: 0 auto; padding: 0 24px;
  min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 18px;
}
.brand-link {
  display: inline-flex; align-items: center; gap: 11px;
  color: var(--obsidian); text-decoration: none;
  font-family: var(--font-display); font-weight: 700; font-size: 27px; letter-spacing: -0.01em;
}
.brand-mark {
  display: inline-grid; place-items: center; width: 32px; height: 32px;
  border-radius: 6px; background: var(--obsidian); color: #7DD3C8;
  font-family: var(--font-mono); font-size: 12px; font-weight: 700; border: 1px solid var(--teal);
}
nav.top-nav { display: flex; align-items: center; gap: 22px; }
nav.top-nav a {
  font-size: 14px; font-weight: 600; color: var(--ink-2); text-decoration: none;
  padding: 6px 0; border-bottom: 2px solid transparent; transition: 0.15s ease;
}
nav.top-nav a:hover { color: var(--obsidian); border-bottom-color: var(--teal); }
nav.top-nav a.nav-cta {
  background: var(--obsidian); color: #fff; padding: 9px 16px; border-radius: 6px; border: 1px solid var(--obsidian);
}
nav.top-nav a.nav-cta:hover { background: var(--teal); border-color: var(--teal); color: #fff; }
.mob-nav {
  display: none; overflow-x: auto; white-space: nowrap; gap: 16px;
  padding: 8px 20px 10px; border-top: 1px solid var(--border);
}
.mob-nav a { font-size: 13px; font-weight: 600; color: var(--ink-2); text-decoration: none; }

/* Main & Hero */
main { padding-bottom: 72px; }
.hero-band { padding: 44px 0 36px; border-bottom: 1px solid var(--border); }
.hero-grid { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 40px; align-items: center; }
.meta-bar {
  display: flex; flex-wrap: wrap; gap: 10px 16px;
  font-family: var(--font-mono); font-size: 12px; color: var(--muted);
  margin-bottom: 14px;
}
.meta-pill {
  background: var(--surface); border: 1px solid var(--border);
  padding: 3px 9px; border-radius: 999px;
}
h1 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2.25rem, 4.3vw, 3.35rem);
  line-height: 1.07; letter-spacing: -0.015em; margin: 0 0 18px; color: var(--obsidian);
}
.bluf {
  font-size: 1.06rem; color: var(--ink-2); margin: 0 0 22px; max-width: 64ch;
}
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0 6px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 16px; border-radius: 6px; font-weight: 700; font-size: 13.5px; white-space: nowrap;
  cursor: pointer; text-decoration: none; border: 1.5px solid var(--teal);
  background: var(--teal); color: #fff; transition: 0.15s ease;
}
.btn:hover { background: var(--teal-dark); border-color: var(--teal-dark); color: #fff; text-decoration: none; }
.btn-dark { background: var(--obsidian); border-color: var(--obsidian); color: #fff; }
.btn-dark:hover { background: #262C30; border-color: #262C30; color: #fff; }
.btn-ghost { background: var(--surface); border-color: var(--border-strong); color: var(--ink); }
.btn-ghost:hover { border-color: var(--obsidian); color: var(--obsidian); background: #fff; }

.hero-frame {
  border-radius: 10px; overflow: hidden; border: 1px solid var(--border-strong);
  box-shadow: 0 20px 48px rgba(20, 23, 24, 0.10); background: var(--obsidian);
}
.hero-frame img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.hero-cap {
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding: 10px 14px; background: var(--obsidian); color: #CBD5D2;
  font-family: var(--font-mono); font-size: 11.5px;
}

/* Dark Full-Bleed Key Facts Ribbon */
.key-facts-ribbon { background: var(--obsidian); color: #F1EFEA; padding: 30px 0; }
.key-facts-ribbon .kf-title {
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.1em;
  text-transform: uppercase; color: #7DD3C8; margin: 0 0 16px; font-weight: 700;
}
.key-facts-ribbon ul {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px;
}
.key-facts-ribbon li {
  border-left: 2px solid var(--teal); padding-left: 14px;
  font-size: 13.8px; color: #D4D7D8; line-height: 1.5;
}
.key-facts-ribbon li strong {
  display: block; color: #fff; font-size: 15px; margin-bottom: 3px;
}

/* Standard inner page Key Facts box */
.key-facts-box {
  background: var(--surface); border: 1px solid var(--border); border-left: 4px solid var(--teal);
  border-radius: var(--radius); padding: 18px 22px; margin: 22px 0 26px;
}
.key-facts-box .kf-title {
  font-family: var(--font-mono); font-size: 12px; font-weight: 800; color: var(--teal-dark);
  text-transform: uppercase; letter-spacing: 0.06em; margin: 0 0 10px;
}
.key-facts-box ul { margin: 0; padding-left: 20px; display: grid; gap: 7px; }

.content-wrap { max-width: 1180px; margin: 0 auto; padding: 30px 24px 0; }
.toc {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 13px 18px; margin: 0 0 26px; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14px;
}
.toc strong { color: var(--obsidian); font-family: var(--font-mono); font-size: 12px; align-self: center; }

h2 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.7rem, 2.7vw, 2.25rem); line-height: 1.15;
  margin: 42px 0 14px; padding-top: 14px; border-top: 1px solid var(--border); color: var(--obsidian);
}
h3 { font-size: 1.12rem; margin: 22px 0 8px; color: var(--obsidian); }
table {
  width: 100%; border-collapse: collapse; margin: 18px 0 26px;
  font-size: 14.5px; background: var(--surface); border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,.04);
}
th, td { text-align: left; padding: 12px 14px; border: 1px solid var(--border); vertical-align: top; }
th { background: var(--surface-alt); font-weight: 700; color: var(--obsidian); font-size: 13.5px; }
tr:nth-child(even) td { background: #FCFBFA; }

/* Cards & Hardware split */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 20px; margin: 22px 0 30px; }
.card {
  border: 1px solid var(--border); border-radius: 10px; padding: 22px; background: var(--surface);
  box-shadow: 0 4px 16px rgba(20,23,24,0.04); display: flex; flex-direction: column;
}
.card h3 { margin-top: 0; font-size: 1.16rem; }
.price-tag { font-family: var(--font-mono); font-weight: 700; color: var(--teal-dark); font-size: 0.98rem; margin: 4px 0 10px; }
.split-showcase {
  display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 28px; align-items: center;
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
  padding: 24px; margin: 24px 0 32px; box-shadow: 0 8px 28px rgba(20,23,24,0.05);
}
.split-showcase img { border-radius: 8px; border: 1px solid var(--border); }

/* Interactive Sizer & Visual Bar Chart */
.tool-panel {
  border: 1.5px solid var(--obsidian); border-radius: 12px; background: var(--surface);
  padding: 26px; margin: 22px 0 32px; box-shadow: 0 12px 34px rgba(20,23,24,0.07);
}
.tool-head { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; margin-bottom: 18px; }
.tool-head .th-tag { font-family: var(--font-mono); font-size: 12px; color: var(--teal-dark); font-weight: 700; }
.tool-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(175px, 1fr)); gap: 14px; margin-bottom: 18px; align-items: end; }
label.fld { display: block; font-size: 12.5px; font-weight: 700; color: var(--obsidian); margin-bottom: 6px; }
input, select, textarea {
  width: 100%; padding: 9px 12px; border: 1px solid var(--border-strong);
  border-radius: 6px; font-family: var(--font-sans); font-size: 14px; background: #fff; color: var(--ink);
}
input, select { height: 44px; }
select { text-overflow: ellipsis; white-space: nowrap; overflow: hidden; }
input:focus, select:focus, textarea:focus { outline: 2px solid rgba(15,107,98,.25); border-color: var(--teal); }
.kpi-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 18px 0; }
.kpi { background: var(--bg); border: 1px solid var(--border); border-radius: 8px; padding: 13px 15px; }
.kpi.highlight { background: var(--teal-soft); border-color: #99D5CE; }
.kpi .k-lbl { font-size: 11px; color: var(--muted); font-family: var(--font-mono); letter-spacing: 0.04em; }
.kpi .k-val { font-size: 1.22rem; font-weight: 800; color: var(--obsidian); font-family: var(--font-mono); margin-top: 4px; }
.kpi.highlight .k-val { color: var(--teal-dark); }

/* Visual 36-Month Comparison Bars */
.tco-chart {
  background: var(--bg); border: 1px solid var(--border); border-radius: 8px; padding: 16px 18px; margin-top: 16px;
}
.tco-row { margin: 10px 0; }
.tco-meta { display: flex; justify-content: space-between; font-size: 13px; font-weight: 700; margin-bottom: 5px; font-family: var(--font-mono); }
.bar-track { height: 14px; background: #E3DFD7; border-radius: 999px; overflow: hidden; }
.bar-fill { height: 100%; border-radius: 999px; transition: width 0.25s ease; }
.bar-lease { background: #94A3B8; }
.bar-owned { background: var(--teal); }

/* Scent profile chips */
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0 18px; }
.scent-chip {
  padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--border-strong);
  background: var(--surface); color: var(--ink); font-size: 13.5px; font-weight: 600; cursor: pointer;
}
.scent-chip.active { background: var(--obsidian); color: #fff; border-color: var(--obsidian); }

.diagram-box {
  background: var(--surface); border: 1px solid var(--border); border-radius: 10px;
  padding: 20px; margin: 20px 0 28px;
}

.faq-list { display: grid; gap: 14px; margin: 16px 0 26px; }
.faq-item { border: 1px solid var(--border); border-radius: 8px; padding: 18px 20px; background: var(--surface); }
.faq-item h3 { margin: 0 0 8px; font-size: 1.04rem; color: var(--obsidian); }
.faq-item p { margin: 0; color: var(--ink-2); }
.sources-box { background: var(--surface); border: 1px solid var(--border); border-radius: 8px; padding: 18px 22px; margin-top: 30px; font-size: 14px; }
.quote-form { background: var(--surface); border: 1.5px solid var(--border-strong); border-radius: 10px; padding: 24px; margin-top: 24px; }
.status-msg { margin-top: 10px; font-weight: 700; font-size: 14px; }

footer.site-footer { background: var(--obsidian); color: #C9CFD1; padding: 44px 24px; font-size: 14px; border-top: 3px solid var(--teal); }
footer.site-footer .inner { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; }
footer.site-footer a { color: #F1EFEA; text-decoration: none; }
footer.site-footer a:hover { color: #7DD3C8; text-decoration: underline; }
footer.site-footer h4 { color: #fff; margin: 0 0 12px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; }

@media (max-width: 900px) {
  .hero-grid, .split-showcase { grid-template-columns: 1fr; }
  .kpi-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  nav.top-nav { display: none; }
  .mob-nav { display: flex; }
}
@media print {
  .topbar, header.site-header, footer.site-footer, .btn-row, .quote-form, .toc { display: none !important; }
  body { background: #fff; }
  .tool-panel { border: 1px solid #000; box-shadow: none; }
}
