/* Keystone Home Quotes — shared design system
   Palette: warm stone (#faf9f5 bg / #191919 ink / #e8590c workwear orange)
   Type: Saira Condensed display + Inter body */

:root {
  --bg: #faf9f5;
  --ink: #191919;
  --accent: #e8590c;
  --accent-dark: #c24a06;
  --muted: #6f6d64;
  --line: rgba(25, 25, 25, 0.14);
  --tint: color-mix(in oklab, #191919 4%, #faf9f5);
  --card: #ffffff;
  --maxw: 1180px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", -apple-system, "Segoe UI", sans-serif;
  font-size: 16.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--accent); color: #fff; }

h1, h2, h3, .display {
  font-family: "Saira Condensed", "Inter", sans-serif;
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

h1 { font-size: clamp(2.6rem, 5.4vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
h3 { font-size: 1.3rem; }

a { color: inherit; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in oklab, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 14px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.wordmark {
  font-family: "Saira Condensed", sans-serif;
  font-weight: 700; font-size: 1.35rem; text-transform: uppercase;
  letter-spacing: 0.02em; text-decoration: none;
  display: flex; align-items: baseline; gap: 9px; white-space: nowrap;
}
.wordmark::before {
  content: ""; width: 11px; height: 11px; background: var(--accent);
  align-self: center; flex: none;
}
.wordmark span { color: var(--accent); }
.site-nav { display: flex; gap: 26px; align-items: center; flex-wrap: wrap; }
.site-nav a {
  text-decoration: none; font-size: 0.86rem; font-weight: 500;
  letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted);
  border-bottom: 2px solid transparent; padding-bottom: 2px;
}
.site-nav a:hover, .site-nav a.active { color: var(--ink); border-bottom-color: var(--accent); }
@media (max-width: 720px) {
  .header-inner { flex-direction: column; gap: 10px; padding: 12px 16px; }
  .site-nav { gap: 16px; justify-content: center; }
}

/* ---------- shared bits ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent-dark);
}
.eyebrow::before { content: ""; width: 9px; height: 9px; background: var(--accent); }

.section-label {
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 14px;
}
.section-label::before { content: "■ "; color: var(--accent); font-size: 0.7rem; }

.btn {
  display: inline-block; font-family: "Saira Condensed", sans-serif;
  font-weight: 600; font-size: 1.12rem; text-transform: uppercase;
  letter-spacing: 0.04em; text-decoration: none;
  padding: 13px 30px 11px; border-radius: 999px;
  border: 2px solid var(--ink); transition: opacity .15s ease, transform .15s ease;
}
.btn:hover { opacity: 0.85; transform: translateY(-1px); }
.btn-primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }

section { padding: 76px 0; }
section.tint { background: var(--tint); }
section + section { border-top: 1px solid var(--line); }

.lede { font-size: 1.12rem; color: var(--muted); max-width: 56ch; }

.fineprint { font-size: 0.8rem; color: var(--muted); line-height: 1.55; }
.fineprint a { color: var(--muted); text-decoration: underline; }

/* ---------- hero ---------- */
.hero { padding: 88px 0 72px; }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: 56px; align-items: center;
}
@media (max-width: 880px) { .hero-grid { grid-template-columns: 1fr; gap: 40px; } }
.hero h1 { margin: 18px 0 20px; }
.hero .btn-row { margin-top: 30px; }
.trustline {
  margin-top: 18px; font-size: 0.84rem; color: var(--muted);
  display: flex; gap: 8px; align-items: center;
}
.trustline::before { content: "■"; color: var(--accent); font-size: 0.6rem; }

/* ---------- town ticker ---------- */
.town-strip {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 14px 0; overflow: hidden; white-space: nowrap;
  font-family: "Saira Condensed", sans-serif; font-size: 1.02rem;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted);
}
.town-strip span { margin: 0 22px; }
.town-strip b { color: var(--accent-dark); font-weight: 600; }

/* ---------- card deck (index hero) ---------- */
.deck { position: relative; height: 400px; }
.deck-card {
  position: absolute; inset: 0; background: var(--card);
  border: 1px solid var(--line); border-radius: 14px;
  padding: 34px 32px; display: flex; flex-direction: column;
  box-shadow: 0 18px 44px rgba(25, 25, 25, 0.10);
  transition: transform .55s cubic-bezier(.22,.8,.3,1), opacity .55s ease;
}
.deck-card .trade-num {
  font-family: "Saira Condensed", sans-serif; font-size: 0.95rem;
  color: var(--muted); letter-spacing: 0.12em;
}
.deck-card h3 { font-size: 2.1rem; margin: 10px 0 6px; }
.deck-card .trade-desc { color: var(--muted); font-size: 0.95rem; flex: 1; }
.deck-card .trade-stat {
  font-family: "Saira Condensed", sans-serif; font-size: 1.05rem;
  text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 16px;
}
.deck-card .trade-stat b { color: var(--accent-dark); }
.deck-card .btn { align-self: flex-start; }
.deck-card.pos-0 { transform: translateY(0) rotate(0deg) scale(1); opacity: 1; z-index: 3; }
.deck-card.pos-1 { transform: translateY(18px) rotate(2.2deg) scale(0.965); opacity: 0.6; z-index: 2; pointer-events: none; }
.deck-card.pos-2 { transform: translateY(34px) rotate(-2.4deg) scale(0.93); opacity: 0.3; z-index: 1; pointer-events: none; }
.deck-dots { display: flex; gap: 8px; margin-top: 22px; }
.deck-dots button {
  width: 26px; height: 5px; border: none; background: var(--line);
  cursor: pointer; border-radius: 0; transition: background .2s;
}
.deck-dots button.on { background: var(--accent); }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line); }
.step { padding: 34px 30px; background: var(--card); }
.step + .step { border-left: 1px solid var(--line); }
.step .num {
  font-family: "Saira Condensed", sans-serif; font-weight: 700;
  font-size: 3rem; line-height: 1; color: var(--accent);
}
.step h3 { margin: 14px 0 8px; font-size: 1.25rem; }
.step p { font-size: 0.94rem; color: var(--muted); }
@media (max-width: 820px) {
  .steps { grid-template-columns: 1fr; }
  .step + .step { border-left: none; border-top: 1px solid var(--line); }
}

/* ---------- trade grid ---------- */
.trade-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 820px) { .trade-grid { grid-template-columns: 1fr; } }
.trade-tile {
  background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  padding: 30px 28px; text-decoration: none; display: flex; flex-direction: column;
  transition: transform .18s ease, box-shadow .18s ease;
}
.trade-tile:hover { transform: translateY(-3px); box-shadow: 0 14px 32px rgba(25,25,25,.10); }
.trade-tile h3 { font-size: 1.6rem; margin-bottom: 8px; }
.trade-tile p { font-size: 0.93rem; color: var(--muted); flex: 1; }
.trade-tile .go {
  margin-top: 18px; font-family: "Saira Condensed", sans-serif;
  font-size: 1.02rem; text-transform: uppercase; letter-spacing: 0.05em;
  color: var(--accent-dark); font-weight: 600;
}
.trade-tile .go::after { content: " →"; }

/* ---------- trade page ---------- */
.page-hero { padding: 72px 0 56px; }
.page-hero h1 { margin: 16px 0 18px; }
.call-box {
  margin-top: 34px; background: var(--ink); color: #faf9f5;
  border-radius: 12px; padding: 28px 30px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
}
.call-box .call-label { font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.65; }
.call-box .call-num {
  font-family: "Saira Condensed", sans-serif; font-weight: 700;
  font-size: 2.2rem; letter-spacing: 0.02em; text-decoration: none; color: #fff;
}
.call-box .call-num:hover { color: var(--accent); }
.call-box .fineprint { color: rgba(250,249,245,0.55); width: 100%; }

.job-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--line); background: var(--card); }
@media (max-width: 720px) { .job-list { grid-template-columns: 1fr; } }
.job-list li {
  padding: 20px 26px; border-bottom: 1px solid var(--line);
  font-size: 0.95rem; display: flex; justify-content: space-between; gap: 18px; align-items: baseline;
}
.job-list li:nth-child(odd) { border-right: 1px solid var(--line); }
@media (max-width: 720px) { .job-list li:nth-child(odd) { border-right: none; } }
.job-list li:last-child, .job-list li:nth-last-child(2):nth-child(odd) { border-bottom: none; }
.job-list .price { font-family: "Saira Condensed", sans-serif; font-weight: 600; color: var(--accent-dark); white-space: nowrap; font-size: 1.05rem; }

.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary {
  cursor: pointer; font-family: "Saira Condensed", sans-serif;
  font-size: 1.25rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.02em; list-style: none;
}
.faq summary::before { content: "+ "; color: var(--accent); }
.faq details[open] summary::before { content: "– "; }
.faq details p { margin-top: 10px; color: var(--muted); font-size: 0.96rem; max-width: 68ch; }

/* ---------- email tools page ---------- */
.tool-row {
  display: grid; grid-template-columns: 220px 1fr auto; gap: 28px;
  padding: 30px 0; border-bottom: 1px solid var(--line); align-items: center;
}
@media (max-width: 820px) { .tool-row { grid-template-columns: 1fr; gap: 14px; } }
.tool-row .tool-name { font-family: "Saira Condensed", sans-serif; font-weight: 700; font-size: 1.6rem; text-transform: uppercase; }
.tool-row .tool-name small { display: block; font-family: "Inter", sans-serif; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; color: var(--accent-dark); text-transform: uppercase; margin-top: 4px; }
.tool-row p { font-size: 0.95rem; color: var(--muted); }
.tool-row .btn { white-space: nowrap; }
.tool-row .no-link { font-size: 0.82rem; color: var(--muted); font-style: italic; white-space: nowrap; }
.tool-row.featured { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 30px 28px; margin: 12px 0; }
.disclosure-banner {
  background: var(--tint); border: 1px solid var(--line); border-left: 4px solid var(--accent);
  padding: 16px 20px; font-size: 0.86rem; color: var(--muted); border-radius: 6px;
  margin-bottom: 40px;
}

/* ---------- legal pages ---------- */
.legal { max-width: 760px; }
.legal h2 { font-size: 1.5rem; margin: 40px 0 12px; }
.legal p, .legal li { color: var(--muted); font-size: 0.97rem; margin-bottom: 12px; }
.legal ul { padding-left: 22px; }

/* ---------- CTA band ---------- */
.cta-band { text-align: left; }
.cta-band .wrap { display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 44px 0 56px; background: var(--tint); }
.footer-grid { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.site-footer .wordmark { font-size: 1.1rem; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a { font-size: 0.82rem; color: var(--muted); text-decoration: none; text-transform: uppercase; letter-spacing: 0.06em; }
.footer-links a:hover { color: var(--ink); }
.footer-note { margin-top: 26px; font-size: 0.78rem; color: var(--muted); max-width: 70ch; line-height: 1.6; }
