:root {
  --bg:        #FAF7F2;
  --surface:   #FFFFFF;
  --ink:       #0F0F10;
  --ink-soft:  #4A4A4D;
  --ink-mute:  #8A8A8D;
  --line:      #E6E1D6;
  --line-soft: #EFEAE0;
  --accent:    #E55A1F;
  --accent-ink:#FFFFFF;
  --accent-soft:#F5ECDF;
  --accent-deep:#A33E10;
  --cool:      #0F0F10;
  --cool-soft: #1A1A1C;

  --wrap-w:    1240px;
  --wrap-pad:  24px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Geist', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { -webkit-tap-highlight-color: transparent; }
::selection { background: var(--accent); color: #fff; }

.wrap { max-width: var(--wrap-w); margin: 0 auto; padding: 0 var(--wrap-pad); }

.h2 {
  font-family: 'Geist', sans-serif;
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 700;
  letter-spacing: -1px;
  color: var(--ink);
  margin: 0;
  line-height: 1.05;
}
.eyebrow {
  font-family: 'Geist', sans-serif;
  font-size: 12px; font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.6px; text-transform: uppercase;
  margin: 0;
}
.mono { font-family: 'JetBrains Mono', monospace; }
.serif-italic {
  font-family: 'Instrument Serif', 'Geist', serif;
  font-style: italic; font-weight: 500; letter-spacing: -1px;
}

.btn-primary {
  background: var(--accent); color: var(--accent-ink); border: none;
  padding: 14px 22px; border-radius: 10px;
  font-family: 'Geist', sans-serif; font-size: 15px; font-weight: 600;
  cursor: pointer; letter-spacing: -0.1px;
  display: inline-flex; align-items: center; gap: 6px;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn-primary:hover { background: #cf4d14; transform: translateY(-1px); box-shadow: 0 10px 24px rgba(229,90,31,0.25); }
.btn-primary.small { padding: 8px 14px; font-size: 13px; }
.btn-secondary {
  background: transparent; color: var(--ink); border: 1px solid var(--line);
  padding: 13px 22px; border-radius: 10px;
  font-family: 'Geist', sans-serif; font-size: 15px; font-weight: 500;
  cursor: pointer; letter-spacing: -0.1px;
  display: inline-flex; align-items: center; gap: 6px;
  text-decoration: none;
  transition: border-color .15s ease, transform .15s ease;
}
.btn-secondary:hover { border-color: var(--ink); transform: translateY(-1px); }
.btn-secondary.small { padding: 8px 14px; font-size: 13px; }

.logo {
  font-family: 'Geist', sans-serif;
  font-weight: 700; letter-spacing: -1.1px; line-height: 1;
  color: var(--ink); font-size: 22px;
  text-decoration: none;
}

.site-nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250,247,242,0.85);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-nav .row { display: flex; align-items: center; gap: 24px; height: 64px; }
.site-nav .links { display: flex; gap: 24px; flex: 1; }
.site-nav .links a { color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 500; }
.site-nav .links a:hover { color: var(--accent); }

.site-footer { padding: 64px 0 32px; background: var(--cool); color: #fff; }
.site-footer .row {
  display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px;
}
.site-footer .logo { color: #fff; font-size: 26px; }
.site-footer .blurb {
  font-family: 'Geist'; font-size: 13px; color: rgba(255,255,255,0.55); line-height: 1.5;
  margin: 20px 0 0; max-width: 280px;
}
.socials { display: flex; gap: 8px; margin-top: 20px; }
.socials a {
  width: 34px; height: 34px; border-radius: 8px;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.85); text-decoration: none;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 14px;
  transition: background .15s ease, color .15s ease, transform .15s ease, border-color .15s ease;
}
.socials a:hover { background: var(--accent); color: #fff; transform: translateY(-1px); border-color: transparent; }
.site-footer .col-title {
  font-family: 'Geist'; font-size: 11px; font-weight: 600;
  color: var(--accent); letter-spacing: 0.6px; text-transform: uppercase;
  margin-bottom: 14px;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.site-footer li a { color: rgba(255,255,255,0.75); text-decoration: none; font-family: 'Geist'; font-size: 13.5px; }
.site-footer li a:hover { color: #fff; }
.footer-base {
  margin-top: 48px; padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-family: 'Geist'; font-size: 12px; color: rgba(255,255,255,0.5);
}

.status-pill {
  display: inline-flex; align-items: center; gap: 6px;
  border-radius: 999px;
  padding: 4px 10px 4px 8px;
  font-family: 'Geist'; font-size: 11.5px; font-weight: 600; letter-spacing: 0.2px;
}
.status-pill .dot { width: 6px; height: 6px; border-radius: 999px; }
.status-pill.tone-good   { background: #E8F0E6; color: #1F5128; }
.status-pill.tone-good   .dot { background: #2F7A3A; }
.status-pill.tone-warn   { background: #FBEFD9; color: #7A570F; }
.status-pill.tone-warn   .dot { background: #B8851A; }
.status-pill.tone-info   { background: #E5EAF2; color: #243A5A; }
.status-pill.tone-info   .dot { background: #3A5A8C; }
.status-pill.tone-mute   { background: #EFEAE0; color: #4A4A4D; }
.status-pill.tone-mute   .dot { background: #8A8A8D; }
.status-pill.tone-accent { background: #F5ECDF; color: #A33E10; }
.status-pill.tone-accent .dot { background: #E55A1F; }
.status-pill.on-dark { background: rgba(255,255,255,0.12); color: #fff; }
.status-pill.on-dark .dot { background: var(--accent); }

.modal {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(15,15,16,0.55); backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center; padding: 16px;
}
.modal-card {
  background: var(--surface); border-radius: 18px; max-width: 460px; width: 100%;
  padding: 28px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.3);
  animation: ml-slide .35s cubic-bezier(.2,.8,.2,1);
}
@keyframes ml-slide { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.modal-card .title {
  font-family: 'Geist'; font-size: 22px; font-weight: 700; color: var(--ink);
  letter-spacing: -0.5px; margin-top: 8px;
}
.modal-card .sub {
  font-family: 'Geist'; font-size: 13px; color: var(--ink-soft); margin-top: 4px;
}
.modal-card .sub strong { color: var(--ink); }
.modal-card .field-head { display: flex; align-items: baseline; justify-content: space-between; }
.modal-card .field-head .k {
  font-family: 'Geist'; font-size: 11px; font-weight: 600;
  color: var(--ink-mute); letter-spacing: 0.3px; text-transform: uppercase;
}
.modal-card .field-head .qual { font-family: 'Geist'; font-size: 13px; color: var(--ink-soft); }
.modal-card .offer-amt {
  font-family: 'Geist'; font-size: 36px; font-weight: 700;
  color: var(--ink); letter-spacing: -1.2px; margin-top: 4px;
}
.modal-card input[type="range"] { width: 100%; margin-top: 14px; accent-color: var(--accent); }
.modal-card .range-bounds {
  display: flex; justify-content: space-between;
  font-family: 'JetBrains Mono'; font-size: 11px; color: var(--ink-mute);
  margin-top: 6px;
}
.modal-card .actions { display: flex; gap: 10px; margin-top: 24px; }
.modal-card .wa {
  flex: 1; background: #25D366; color: #fff; border: none;
  padding: 14px 16px; border-radius: 12px; text-decoration: none; text-align: center;
  font-family: 'Geist'; font-size: 14px; font-weight: 600;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
}
.modal-card .disclaimer {
  font-family: 'Geist'; font-size: 12px; color: var(--ink-mute);
  margin-top: 14px; line-height: 1.4;
}

@media (max-width: 980px) {
  .site-nav .links { display: none; }
  .site-footer .row { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .site-footer .row { grid-template-columns: 1fr; }
}
