/* ============================================================
   FastScope — landing styles
   Aesthetic: trade/service-business, blueprint-pencil accents,
   warm off-white paper, dark ink, restrained.
   ============================================================ */

:root {
  --paper:    #F6F1E7;   /* warm off-white */
  --paper-2:  #EFE7D6;   /* slightly deeper warm */
  --ink:      #1A1A1A;   /* near-black text */
  --ink-2:    #3A3A38;   /* secondary text */
  --ink-3:    #6B665E;   /* muted text */
  --rule:     #D9CFB8;   /* hairline rule */
  --accent:   #F2C14E;   /* construction pencil yellow */
  --accent-2: #E5A823;   /* darker pencil */
  --blueprint:#1F3A5F;   /* blueprint navy */
  --blueprint-soft: #E4ECF3;
  --success:  #2F6B3D;
  --shadow-sm: 0 1px 2px rgba(20,18,12,0.06), 0 1px 1px rgba(20,18,12,0.04);
  --shadow-md: 0 8px 24px -8px rgba(20,18,12,0.18), 0 2px 4px rgba(20,18,12,0.06);
  --shadow-lg: 0 24px 48px -16px rgba(20,18,12,0.22), 0 4px 8px rgba(20,18,12,0.08);
  --radius:   10px;
  --radius-lg:14px;
  --container: 1120px;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10:40px;
  --space-12:48px;
  --space-16:64px;
  --space-20:80px;
  --space-24:96px;

  --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  /* subtle blueprint grid texture */
  background-image:
    linear-gradient(to right, rgba(31,58,95,0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(31,58,95,0.04) 1px, transparent 1px);
  background-size: 28px 28px;
  background-attachment: fixed;
}

img, svg { max-width: 100%; display: block; }
a { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-2); }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: var(--paper);
  padding: 10px 16px; border-radius: 6px; z-index: 100;
}
.skip-link:focus { left: 16px; top: 16px; }

.container {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

/* -------- Header -------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246,241,231,0.85);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--rule);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--ink);
}
.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.01em;
}
.brand-ai {
  color: var(--accent-2);
  font-style: italic;
  font-weight: 600;
}
.nav-links {
  display: flex; align-items: center; gap: 22px;
}
.nav-links a {
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
}
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  background: var(--ink);
  color: var(--paper) !important;
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: 600;
}
.nav-cta:hover { background: var(--blueprint); color: var(--paper) !important; }

@media (max-width: 640px) {
  .nav-links a:not(.nav-cta) { display: none; }
}

/* -------- Buttons -------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 6px;
  padding: 14px 22px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 80ms ease, box-shadow 120ms ease, background 120ms ease;
  font-family: inherit;
}
.btn-primary {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  background: var(--blueprint);
  border-color: var(--blueprint);
  color: var(--paper);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-secondary {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--ink);
}
.btn-secondary:hover { background: var(--ink); color: var(--paper); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: transparent;
  padding: 14px 8px;
}
.btn-ghost:hover { color: var(--accent-2); }
.btn-full { width: 100%; }

/* -------- Hero -------- */
.hero {
  padding: clamp(48px, 8vw, 96px) 0 clamp(56px, 9vw, 110px);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; }
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blueprint);
  background: var(--blueprint-soft);
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid #c8d6e3;
}
.dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 3px rgba(47,107,61,0.18);
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(36px, 5.6vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.022em;
  margin: 18px 0 18px;
  color: var(--ink);
}
.ink-underline {
  background-image: linear-gradient(transparent 62%, var(--accent) 62%, var(--accent) 92%, transparent 92%);
  background-repeat: no-repeat;
  padding: 0 2px;
}
.lede {
  font-size: 18px;
  color: var(--ink-2);
  max-width: 56ch;
  margin: 0 0 28px;
}
.cta-row {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  margin-bottom: 28px;
}
.hero-bullets {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 8px;
  font-size: 15px; color: var(--ink-2);
}
.check {
  display: inline-block; width: 20px;
  color: var(--success); font-weight: 700; margin-right: 4px;
}

/* Sample card — looks like a paper estimate clipped to a clipboard */
.hero-card {
  background: #FFFDF7;
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  position: relative;
  transform: rotate(-0.6deg);
  overflow: hidden;
}
.hero-card::before {
  /* faint blueprint grid inside the card */
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(31,58,95,0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(31,58,95,0.05) 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
}
.card-tab {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--paper);
  background: var(--ink);
  padding: 6px 12px;
  display: inline-block;
  border-bottom-right-radius: 8px;
}
.card-body { padding: 18px 22px 22px; position: relative; }
.card-row { display: flex; justify-content: space-between; gap: 16px; }
.card-row-top { margin-bottom: 14px; }
.card-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--ink-3);
  margin-bottom: 2px;
}
.card-value {
  font-weight: 600;
  font-size: 14px;
}
.hero-card hr {
  border: none;
  border-top: 1px dashed var(--rule);
  margin: 14px 0;
}
.card-section-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  margin: 14px 0 8px;
}
.card-list {
  margin: 0 0 14px; padding-left: 18px;
  font-size: 13.5px; color: var(--ink-2);
}
.card-list li { margin: 3px 0; }
.card-quote {
  background: var(--paper-2);
  border: 1px solid var(--rule);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 14px;
}
.card-quote > div {
  display: flex; justify-content: space-between;
  padding: 4px 0;
}
.card-quote .total {
  border-top: 1px solid var(--rule);
  margin-top: 4px; padding-top: 8px;
  font-weight: 700;
}
.card-stamp {
  position: absolute;
  right: 16px; bottom: 14px;
  transform: rotate(-8deg);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: rgba(178, 40, 40, 0.85);
  border: 2px solid rgba(178, 40, 40, 0.6);
  padding: 4px 8px;
  border-radius: 4px;
  text-transform: uppercase;
}

/* -------- Section common -------- */
.section { padding: clamp(56px, 9vw, 110px) 0; }
.section-head {
  max-width: 720px;
  margin: 0 auto clamp(32px, 5vw, 56px);
  text-align: center;
}
.kicker {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blueprint);
  display: inline-block;
  margin-bottom: 12px;
  position: relative;
  padding-left: 22px;
}
.kicker::before {
  content: ""; position: absolute;
  left: 0; top: 50%; transform: translateY(-50%);
  width: 14px; height: 1.5px; background: var(--accent-2);
}
h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(28px, 3.6vw, 40px);
  line-height: 1.12;
  letter-spacing: -0.018em;
  margin: 0 0 12px;
  color: var(--ink);
}
.section-lede {
  font-size: 17px;
  color: var(--ink-2);
  margin: 0;
}

/* -------- Problem -------- */
.problem { background: var(--paper-2); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 800px) { .problem-grid { grid-template-columns: 1fr; } }
.problem-card {
  background: #FFFDF7;
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.problem-num {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent-2);
  letter-spacing: 0.12em;
  margin-bottom: 12px;
}
.problem-card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  margin: 0 0 8px;
}
.problem-card p { margin: 0; color: var(--ink-2); font-size: 15px; }

/* -------- What you get (checklist) -------- */
.checklist {
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 28px;
  max-width: 980px;
  margin: 0 auto;
}
@media (max-width: 740px) { .checklist { grid-template-columns: 1fr; } }
.checklist li {
  display: flex; gap: 16px;
  padding: 20px 22px;
  border-radius: var(--radius-lg);
  background: #FFFDF7;
  border: 1px solid var(--rule);
  box-shadow: var(--shadow-sm);
}
.checklist h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  margin: 0 0 4px;
}
.checklist p { margin: 0; font-size: 14.5px; color: var(--ink-2); }
.tick {
  flex-shrink: 0;
  width: 28px; height: 28px;
  background: var(--accent);
  color: var(--ink);
  border-radius: 50%;
  display: inline-flex;
  align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 14px;
  border: 1.5px solid var(--ink);
}

/* -------- How it works -------- */
.how { background: var(--paper-2); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.steps {
  list-style: none; padding: 0; margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  counter-reset: step;
}
@media (max-width: 880px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }
.steps li {
  background: #FFFDF7;
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: relative;
  box-shadow: var(--shadow-sm);
}
.step-num {
  width: 36px; height: 36px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-mono);
  font-weight: 600;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.steps h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  margin: 0 0 6px;
}
.steps p { margin: 0; color: var(--ink-2); font-size: 14.5px; }

/* -------- Pricing -------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
@media (max-width: 980px) { .pricing-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .pricing-grid { grid-template-columns: 1fr; } }
.price-card {
  background: #FFFDF7;
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: 26px 22px;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.price-card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  margin: 0 0 6px;
}
.price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 34px;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 4px 0 8px;
}
.price span {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 13px;
  color: var(--ink-3);
  margin-left: 4px;
}
.price-desc {
  font-size: 14px;
  color: var(--ink-2);
  margin: 0 0 14px;
}
.price-card ul {
  list-style: none; padding: 0; margin: 0 0 20px;
  font-size: 14px; color: var(--ink-2);
  display: grid; gap: 6px;
  flex: 1;
}
.price-card ul li::before {
  content: "✓ ";
  color: var(--accent-2);
  font-weight: 700;
  margin-right: 4px;
}
.price-tag {
  position: absolute;
  top: 14px; right: 14px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--accent);
  color: var(--ink);
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid var(--ink);
}
.price-tag-best { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.price-card-feature {
  border-color: var(--ink);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
@media (max-width: 980px) { .price-card-feature { transform: none; } }
.price-card-beta { background: linear-gradient(180deg, #FFF7E0 0%, #FFFDF7 60%); }
.pricing-note {
  text-align: center;
  margin-top: 24px;
  color: var(--ink-3);
  font-size: 14px;
}

/* -------- Best for trades -------- */
.best-for { background: var(--paper-2); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.trades {
  list-style: none; padding: 0; margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  max-width: 900px;
  margin: 0 auto;
}
@media (max-width: 720px) { .trades { grid-template-columns: repeat(2, 1fr); } }
.trades li {
  background: #FFFDF7;
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: 18px;
  display: flex; align-items: center; gap: 12px;
  font-weight: 500;
  box-shadow: var(--shadow-sm);
  transition: transform 120ms ease, box-shadow 120ms ease;
}
.trades li:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.trade-icon { font-size: 22px; }

/* -------- FAQ + disclaimer -------- */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: clamp(28px, 5vw, 56px);
  align-items: start;
}
@media (max-width: 880px) { .faq-grid { grid-template-columns: 1fr; } }
.disclaimer {
  margin-top: 18px;
  background: var(--blueprint-soft);
  border: 1px solid #c8d6e3;
  border-left: 4px solid var(--blueprint);
  border-radius: 8px;
  padding: 18px 20px;
  font-size: 14.5px;
  color: var(--ink-2);
  line-height: 1.6;
}
.disclaimer strong { color: var(--blueprint); }

.faq-list { display: grid; gap: 8px; }
.faq-list details {
  background: #FFFDF7;
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: 14px 18px;
  box-shadow: var(--shadow-sm);
}
.faq-list summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
  list-style: none;
  position: relative;
  padding-right: 28px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font-family: var(--font-mono);
  color: var(--accent-2);
  font-size: 20px;
  font-weight: 600;
  transition: transform 150ms ease;
}
.faq-list details[open] summary::after { content: "−"; }
.faq-list p {
  margin: 10px 0 0;
  color: var(--ink-2);
  font-size: 14.5px;
}

/* -------- Contact -------- */
.contact { background: var(--ink); color: var(--paper); }
.contact .kicker { color: var(--accent); }
.contact .kicker::before { background: var(--accent); }
.contact h2 { color: var(--paper); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-copy p { color: #D9D5CB; max-width: 50ch; }
.contact-direct a {
  color: var(--accent);
  font-weight: 600;
}
.contact-bullets {
  list-style: none; padding: 0; margin: 20px 0 0;
  display: grid; gap: 8px;
}
.contact-bullets li {
  position: relative; padding-left: 24px;
  color: #E8E3D7;
}
.contact-bullets li::before {
  content: "✓"; position: absolute; left: 0;
  color: var(--accent); font-weight: 700;
}

.contact-form {
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  box-shadow: var(--shadow-lg);
}
.field { display: grid; gap: 6px; }
.field-full { grid-column: 1 / -1; }
.field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
}
.field input,
.field select,
.field textarea {
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  background: #FFFDF7;
  border: 1px solid var(--rule);
  border-radius: 8px;
  padding: 10px 12px;
  outline: none;
  transition: border-color 120ms ease, box-shadow 120ms ease;
}
.field textarea { resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(242,193,78,0.35);
}
.contact-form .btn { grid-column: 1 / -1; margin-top: 4px; }
.form-fineprint {
  grid-column: 1 / -1;
  font-size: 12.5px;
  color: var(--ink-3);
  margin: 0;
  text-align: center;
}
.form-success {
  grid-column: 1 / -1;
  background: #E6F1E8;
  border: 1px solid #B7D8BD;
  color: var(--success);
  padding: 12px 14px;
  border-radius: 8px;
  margin: 0;
  font-size: 14px;
}
.form-success a { color: var(--success); }

/* -------- Footer -------- */
.site-footer {
  background: var(--paper-2);
  border-top: 1px solid var(--rule);
  padding: 36px 0;
  font-size: 13.5px;
  color: var(--ink-3);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 24px;
  align-items: start;
}
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr; } }
.brand-footer .brand-name { font-size: 17px; }
.footer-tag { margin: 8px 0 0; }
.footer-meta p { margin: 0 0 6px; }
.footer-meta a { color: var(--ink-2); }

/* -------- Reduced motion -------- */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
  .hero-card { transform: none; }
}
