:root {
  --ink: #1a2231;
  --navy: #001c47;
  --slate: #3e5560;
  --paper: #f3efe6;
  --paper-2: #e7e1d4;
  --white: #fffcf7;
  --line: rgba(26, 34, 49, 0.14);
  --warn: #8a3b24;
  --ok: #1f4d3a;
  --shadow: 0 18px 40px rgba(26, 34, 49, 0.08);
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(1200px 500px at 90% -10%, rgba(0, 28, 71, 0.06), transparent 50%),
    var(--paper);
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  font-size: 1.05rem;
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }

.wrap { width: min(var(--max), calc(100% - 2.4rem)); margin: 0 auto; }
.nav {
  position: sticky; top: 0; z-index: 20;
  background: rgba(243, 239, 230, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 84px; }
.brand { display: flex; align-items: center; gap: 0.55rem; text-decoration: none; min-width: 0; }
.brand-logo { height: 62px; width: auto; }
.brand-badge { height: 46px; width: auto; }
.nav-tools { display: none; align-items: center; gap: 0.45rem; }
.nav-call, .nav-call-wide {
  align-items: center; justify-content: center; gap: 0.35rem;
  text-decoration: none; border: 1px solid var(--ink); color: var(--ink);
  padding: 0.55rem 0.75rem; letter-spacing: 0.04em; text-transform: uppercase;
  font-size: 0.82rem; font-weight: 600; min-height: 44px;
}
.nav-call-wide { display: inline-flex; }
.nav-tools .nav-call { display: inline-flex; }
.nav-call::before, .call-bar-call::before { content: ""; width: 0.7rem; height: 0.7rem; border-radius: 50%; background: var(--ok); display: inline-block; flex: 0 0 auto; }
.nav-links { display: flex; gap: 1.1rem; align-items: center; }
.nav-links a { text-decoration: none; font-size: 0.92rem; letter-spacing: 0.04em; text-transform: uppercase; }
.nav-links a[aria-current="page"] { border-bottom: 2px solid var(--navy); }
.nav-cta {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--ink); color: var(--white); text-decoration: none;
  padding: 0.55rem 0.8rem; letter-spacing: 0.04em; text-transform: uppercase; font-size: 0.82rem; min-height: 44px;
}
.menu-btn { display: none; background: var(--white); border: 1px solid var(--line); padding: 0.55rem 0.75rem; min-height: 44px; min-width: 44px; }

.hero { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 2.5rem; align-items: end; padding: 3.2rem 0 1.4rem; }
.kicker { letter-spacing: 0.16em; text-transform: uppercase; font-size: 0.78rem; color: var(--slate); margin: 0 0 0.7rem; }
h1, h2, h3 { font-family: "Barlow Condensed", "Arial Narrow", sans-serif; font-weight: 600; letter-spacing: 0.01em; line-height: 0.95; margin: 0; }
h1 { font-size: clamp(3.1rem, 7vw, 5.4rem); max-width: 11ch; }
h2 { font-size: clamp(2.1rem, 4vw, 3.2rem); }
h3 { font-size: 1.7rem; }
.lede { font-size: 1.18rem; max-width: 42rem; }
.hero-actions { display: flex; gap: 0.7rem; flex-wrap: wrap; margin-top: 1.3rem; }
.btn { display: inline-block; text-decoration: none; padding: 0.75rem 1rem; border: 1px solid var(--ink); }
.btn.solid { background: var(--ink); color: var(--white); }
.btn.ghost { background: transparent; }

.rate-strip {
  display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line); margin: 1.4rem 0 2.4rem;
}
.rate-strip div { background: var(--white); padding: 1rem 1.1rem; }
.rate-strip strong { display: block; font-family: "Barlow Condensed", sans-serif; font-size: 1.8rem; font-weight: 600; }
.rate-strip span { color: var(--slate); font-size: 0.92rem; }

.section { padding: 1.2rem 0 2.4rem; }
.grid-4, .grid-3, .grid-2 { display: grid; gap: 1rem; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: 1fr 1fr; }
.card, .limit, .split { background: var(--white); border: 1px solid var(--line); padding: 1.1rem 1.15rem; }
.card h3, .split h3 { margin-bottom: 0.45rem; }
.card p, .split p, .limit p { margin: 0.35rem 0; }
.tag { display: inline-block; font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--slate); }
.limit { border-left: 3px solid var(--warn); }
.split.host { border-top: 3px solid var(--navy); }
.split.apex { border-top: 3px solid var(--ok); }

.filters { display: flex; gap: 0.5rem; flex-wrap: wrap; margin: 1rem 0; }
.filters button, .search { border: 1px solid var(--line); background: var(--white); padding: 0.45rem 0.7rem; }
.filters button[aria-pressed="true"] { background: var(--ink); color: var(--white); }
.search { min-width: 220px; }
.industry { display: grid; gap: 0.35rem; }
.industry .limit-line { color: var(--warn); }

table { width: 100%; border-collapse: collapse; background: var(--white); min-width: 520px; }
th, td { text-align: left; padding: 0.75rem 0.8rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: 0.82rem; letter-spacing: 0.06em; text-transform: uppercase; }
.estimator { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; align-items: start; }
label { display: block; font-size: 0.92rem; margin: 0.7rem 0 0.25rem; }
input, select, textarea { width: 100%; border: 1px solid var(--line); background: var(--white); padding: 0.6rem 0.7rem; }
textarea { min-height: 120px; }
.total { font-family: "Barlow Condensed", sans-serif; font-size: 2.6rem; margin: 0.2rem 0; }
.note { color: var(--slate); font-size: 0.92rem; }

footer { border-top: 1px solid var(--line); padding: 1.6rem 0 2rem; margin-top: 1rem; }
.foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 1rem; }
.foot a { text-decoration: none; }
.legal { font-size: 0.86rem; color: var(--slate); }
.call-bar { display: none; }
.foot-logo { height: 64px; width: auto; margin-bottom: 0.7rem; }
.foot-badge { width: 72px; height: auto; }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.request { max-width: 760px; }
.request .fields { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.hero-mark { width: 92px; height: auto; margin: 0 0 0.8rem; }
.card[hidden], .industry[hidden] { display: none; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.privacy a { text-decoration: underline; }

@media (max-width: 1100px) {
  .nav-links { gap: 0.65rem; }
  .nav-links a { font-size: 0.8rem; }
}
@media (max-width: 860px) {
  body { padding-bottom: calc(4.6rem + env(safe-area-inset-bottom)); }
  .wrap { width: min(var(--max), calc(100% - 1.4rem)); }
  .hero, .grid-4, .grid-3, .grid-2, .rate-strip, .photo-row, .estimator, .foot, .request .fields { grid-template-columns: 1fr; }
  .nav-inner { min-height: 72px; }
  .brand-logo { height: 48px; }
  .brand-badge { display: block; height: 40px; }
  .nav-tools { display: flex; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column; align-items: stretch; gap: 0.15rem;
    position: absolute; left: 0; right: 0; top: 72px;
    background: var(--paper); padding: 0.4rem 1rem 1rem;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  }
  .nav-links a { padding: 0.75rem 0.15rem; min-height: 44px; border-bottom: 1px solid var(--line); }
  .nav-links a.nav-cta, .nav-links a.nav-call-wide { margin-top: 0.45rem; justify-content: center; border-bottom: 0; }
  .menu-btn { display: inline-flex; align-items: center; justify-content: center; }
  .hero { padding: 1.6rem 0 0.6rem; gap: 1.2rem; }
  h1 { font-size: clamp(2.4rem, 12vw, 3.4rem); }
  .btn, .nav-cta, .nav-call { min-height: 44px; }
  .hero-actions .btn { flex: 1 1 160px; text-align: center; }
  .call-bar {
    display: grid; grid-template-columns: 1.2fr 1fr; gap: 0.45rem;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    padding: 0.55rem 0.7rem calc(0.55rem + env(safe-area-inset-bottom));
    background: rgba(243, 239, 230, 0.96); border-top: 1px solid var(--line);
    backdrop-filter: blur(10px);
  }
  .call-bar a {
    display: flex; align-items: center; justify-content: center; gap: 0.4rem;
    min-height: 46px; text-decoration: none; font-weight: 600;
    letter-spacing: 0.03em; text-transform: uppercase; font-size: 0.86rem;
  }
  .call-bar-call { background: var(--ink); color: var(--white); }
  .call-bar-req { border: 1px solid var(--ink); background: var(--white); }
  input, select, textarea { font-size: 16px; }
}
@media (max-width: 420px) {
  .brand-badge { display: none; }
  .call-bar { grid-template-columns: 1fr 1fr; }
  .call-bar a { font-size: 0.78rem; padding: 0 0.3rem; }
}
