/* =========================================================
   DryLine Home — design tokens
   Subject: residential leak detection & flood prevention.
   Palette pulls from plumbing/utility signage, not lifestyle décor.
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Semi+Condensed:wght@600;700&family=Inter:wght@400;500;600&family=IBM+Plex+Mono:wght@500&display=swap');

:root{
  --ink:        #16232E;   /* primary text / dark panels */
  --slate:      #3D4F5C;   /* secondary text */
  --mist:       #EEF1F2;   /* light section bg */
  --paper:      #FBFAF8;   /* page bg, warm-neutral not cream-default */
  --amber:      #E8A33D;   /* alert / accent — reads as a warning-label color */
  --copper:     #9C6B3F;   /* secondary accent — pipe copper */
  --line:       #D7DCDD;   /* hairline rule */
  --white:      #FFFFFF;

  --display: 'Barlow Semi Condensed', 'Arial Narrow', sans-serif;
  --body:    'Inter', -apple-system, sans-serif;
  --mono:    'IBM Plex Mono', monospace;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family:var(--body);
  color:var(--ink);
  background:var(--paper);
  line-height:1.6;
  font-size:17px;
}
img,svg{ max-width:100%; display:block; }
a{ color:var(--ink); }
.container{ max-width:1080px; margin:0 auto; padding:0 24px; }

/* ---------- eyebrow / labels ---------- */
.eyebrow{
  font-family:var(--mono);
  font-size:12px;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--copper);
  display:flex;
  align-items:center;
  gap:8px;
  margin-bottom:10px;
}
.eyebrow::before{
  content:"";
  width:18px; height:2px;
  background:var(--amber);
  display:inline-block;
}

/* ---------- headings ---------- */
h1,h2,h3{
  font-family:var(--display);
  font-weight:700;
  line-height:1.08;
  letter-spacing:.01em;
  color:var(--ink);
  margin:0 0 .4em;
}
h1{ font-size:clamp(2.2rem,5vw,3.6rem); }
h2{ font-size:clamp(1.5rem,3vw,2.1rem); }
h3{ font-size:1.25rem; }
p{ margin:0 0 1em; color:var(--slate); }
.lede{ font-size:1.15rem; color:var(--ink); max-width:60ch; }

/* ---------- header / nav ---------- */
header.site{
  border-bottom:1px solid var(--line);
  background:var(--white);
  position:sticky; top:0; z-index:20;
}
.nav-row{
  display:flex; align-items:center; justify-content:space-between;
  padding:16px 0;
}
.logo{
  font-family:var(--display); font-weight:700; font-size:1.25rem;
  display:flex; align-items:center; gap:10px; text-decoration:none;
}
.logo .dial{ width:26px; height:26px; }
nav.links{ display:flex; gap:28px; }
nav.links a{
  text-decoration:none; font-size:.92rem; font-weight:500; color:var(--slate);
}
nav.links a:hover{ color:var(--ink); }

/* ---------- hero (gauge signature) ---------- */
.hero{
  background:var(--ink);
  color:var(--white);
  padding:76px 0 64px;
  position:relative;
  overflow:hidden;
}
.hero .container{ display:grid; grid-template-columns:1.3fr .9fr; gap:48px; align-items:center; }
.hero h1{ color:var(--white); }
.hero p.lede{ color:#C9D3D8; }
.hero-cta{ display:flex; gap:14px; margin-top:26px; flex-wrap:wrap; }

.btn{
  display:inline-block;
  font-family:var(--body); font-weight:600; font-size:.95rem;
  padding:13px 22px;
  text-decoration:none;
  border:1px solid transparent;
  border-radius:2px;
}
.btn-primary{ background:var(--amber); color:var(--ink); }
.btn-primary:hover{ background:#f0b054; }
.btn-ghost{ border-color:#4a5a66; color:var(--white); }
.btn-ghost:hover{ border-color:var(--white); }

/* gauge dial signature, used in hero + as section markers */
.dial{ color:var(--amber); }
.dial circle.face{ fill:none; stroke:currentColor; stroke-width:2; opacity:.9; }
.dial line{ stroke:currentColor; stroke-width:2; stroke-linecap:round; }
.dial circle.hub{ fill:currentColor; }

.hero-gauge{ justify-self:end; }
.hero-gauge svg{ width:220px; height:220px; }

/* ---------- reading strip (mono stat row) ---------- */
.reading-strip{
  border-top:1px solid #2a3944; border-bottom:1px solid #2a3944;
  margin-top:44px; padding:18px 0;
  display:flex; gap:40px; flex-wrap:wrap;
}
.reading{ font-family:var(--mono); font-size:.85rem; color:#9FB0BB; }
.reading b{ color:var(--amber); font-size:1rem; }

/* ---------- sections ---------- */
section{ padding:56px 0; }
section.alt{ background:var(--mist); }
.grid-3{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.grid-2{ display:grid; grid-template-columns:1fr 1fr; gap:24px; }

.card{
  background:var(--white);
  border:1px solid var(--line);
  padding:26px;
  border-radius:3px;
}
.card .dial-mark{ width:34px; height:34px; margin-bottom:14px; }

/* ---------- product / pick blocks ---------- */
.pick{
  display:grid; grid-template-columns:120px 1fr auto;
  gap:22px; align-items:start;
  padding:22px 0; border-top:1px solid var(--line);
}
.pick:last-child{ border-bottom:1px solid var(--line); }
.pick .rank{
  font-family:var(--display); font-size:2.2rem; font-weight:700;
  color:var(--line); line-height:1;
}
.pick.top .rank{ color:var(--amber); }
.pick h3{ margin-bottom:4px; }
.pick .tag{
  font-family:var(--mono); font-size:.72rem; letter-spacing:.06em;
  text-transform:uppercase; color:var(--copper);
  background:#F3E6D6; padding:3px 8px; border-radius:2px; display:inline-block; margin-bottom:8px;
}
.spec-list{ list-style:none; margin:10px 0 0; padding:0; font-size:.9rem; }
.spec-list li{ display:flex; justify-content:space-between; padding:4px 0; border-bottom:1px dashed var(--line); color:var(--slate); }
.spec-list li b{ color:var(--ink); font-weight:600; }
.pick .cta{ align-self:center; }

/* ---------- comparison table ---------- */
table.compare{ width:100%; border-collapse:collapse; font-size:.92rem; }
table.compare th, table.compare td{ padding:12px 14px; border-bottom:1px solid var(--line); text-align:left; }
table.compare thead th{ font-family:var(--mono); font-size:.75rem; letter-spacing:.05em; text-transform:uppercase; color:var(--copper); border-bottom:2px solid var(--ink); }
table.compare tbody tr:hover{ background:var(--mist); }

/* ---------- callout / disclosure ---------- */
.callout{
  border-left:3px solid var(--amber);
  background:var(--mist);
  padding:16px 20px;
  font-size:.92rem;
  color:var(--slate);
  margin:24px 0;
}

/* ---------- footer ---------- */
footer.site{
  background:var(--ink); color:#9FB0BB;
  padding:44px 0 30px; margin-top:40px;
}
footer.site a{ color:#C9D3D8; }
.foot-grid{ display:grid; grid-template-columns:2fr 1fr 1fr; gap:32px; }
.foot-grid h4{ color:var(--white); font-family:var(--body); font-size:.85rem; margin-bottom:12px; letter-spacing:.05em; text-transform:uppercase; }
.foot-grid ul{ list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:8px; font-size:.88rem; }
.fine{ font-size:.78rem; color:#6F808B; margin-top:30px; border-top:1px solid #2a3944; padding-top:20px; }

@media (max-width:820px){
  .hero .container{ grid-template-columns:1fr; }
  .hero-gauge{ justify-self:start; }
  .grid-3, .grid-2{ grid-template-columns:1fr; }
  .pick{ grid-template-columns:60px 1fr; }
  .pick .cta{ grid-column:2; }
  .foot-grid{ grid-template-columns:1fr; }
}
