/* Frankfig marketing site — shared styles
   Palette: paper #FAF6EF · ink #1C2433 · indigo #232F72 · delivered-green #1E7A5A · rule #E4DDCF
   Type: Fraunces (display) · Public Sans (body) · IBM Plex Mono (timestamps/evidence) */

:root {
  --paper: #FAF6EF;
  --paper-deep: #F3EDE1;
  --ink: #1C2433;
  --ink-soft: #4A5266;
  --indigo: #232F72;
  --indigo-deep: #1A2358;
  --green: #1E7A5A;
  --green-soft: #E4F0EA;
  --rule: #E4DDCF;
  --white: #FFFFFF;
  --max: 1080px;
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: "Public Sans", -apple-system, sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  font-size: 17px;
}

h1, h2, h3 { font-family: "Fraunces", Georgia, serif; font-weight: 600; line-height: 1.15; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); }
h3 { font-size: 1.2rem; }

.mono { font-family: "IBM Plex Mono", monospace; font-size: 0.82em; }

a { color: var(--indigo); }

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

/* ---------- header ---------- */
header {
  border-bottom: 1px solid var(--rule);
  background: var(--paper);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 24px; max-width: var(--max); margin: 0 auto;
}
.logo { font-family: "Fraunces", serif; font-weight: 700; font-size: 1.35rem; color: var(--ink); text-decoration: none; }
.logo .tld { color: var(--green); }
.nav-links { display: flex; gap: 26px; align-items: center; }
.nav-links a { text-decoration: none; color: var(--ink-soft); font-size: 0.95rem; }
.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--ink); font-weight: 600; }

.btn {
  display: inline-block; text-decoration: none; font-weight: 600;
  padding: 12px 22px; border-radius: 8px; font-size: 0.98rem;
  transition: background 0.15s ease;
}
.btn-primary { background: var(--indigo); color: var(--white); }
.btn-primary:hover { background: var(--indigo-deep); }
.btn-ghost { color: var(--indigo); border: 1.5px solid var(--indigo); }
.btn-ghost:hover { background: var(--white); }
.btn-small { padding: 9px 16px; font-size: 0.9rem; }

:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }

/* ---------- hero ---------- */
.hero {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px;
  align-items: center; padding: 72px 24px 84px;
  max-width: var(--max); margin: 0 auto;
}
.hero p.lede { font-size: 1.15rem; color: var(--ink-soft); margin: 20px 0 30px; max-width: 34em; }
.hero .cta-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero .cta-note { font-size: 0.85rem; color: var(--ink-soft); margin-top: 14px; }

/* evidence card — the signature element */
.evidence {
  background: var(--white); border: 1px solid var(--rule); border-radius: 12px;
  box-shadow: 0 18px 40px -18px rgba(28, 36, 51, 0.25);
  overflow: hidden;
}
.evidence-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 18px; border-bottom: 1px solid var(--rule); background: var(--paper-deep);
}
.evidence-head .title { font-weight: 600; font-size: 0.95rem; }
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--green-soft); color: var(--green);
  font-weight: 600; font-size: 0.78rem; padding: 4px 10px; border-radius: 99px;
}
.badge::before { content: "✓"; font-weight: 700; }
.evidence-rows { padding: 6px 18px 14px; }
.evidence-row {
  display: flex; gap: 14px; padding: 10px 0; border-bottom: 1px dashed var(--rule);
  font-size: 0.9rem; align-items: baseline;
}
.evidence-row:last-child { border-bottom: none; }
.evidence-row .t { color: var(--ink-soft); white-space: nowrap; }

/* ---------- screenshot placeholders ---------- */
.shot {
  border: 2px dashed #C9BFA8; border-radius: 10px; background: var(--paper-deep);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; color: var(--ink-soft); padding: 20px; gap: 6px;
}
.shot .num { font-family: "IBM Plex Mono", monospace; font-size: 0.75rem; color: var(--green); font-weight: 600; }
.shot .desc { font-size: 0.88rem; max-width: 26em; }
.shot-wide { aspect-ratio: 16 / 10; }
.shot-tall { aspect-ratio: 9 / 16; max-width: 300px; }
.shot-mid { aspect-ratio: 4 / 3; }

/* ---------- sections ---------- */
section { padding: 68px 0; }
section.alt { background: var(--white); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.eyebrow {
  font-family: "IBM Plex Mono", monospace; text-transform: uppercase;
  letter-spacing: 0.12em; font-size: 0.72rem; color: var(--green); font-weight: 600;
  display: block; margin-bottom: 12px;
}
.section-lede { color: var(--ink-soft); max-width: 40em; margin-top: 14px; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; margin-top: 40px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 40px; }

.pain-list { list-style: none; margin-top: 30px; display: grid; gap: 16px; max-width: 46em; }
.pain-list li {
  padding: 16px 20px; background: var(--white); border: 1px solid var(--rule);
  border-left: 3px solid var(--indigo); border-radius: 0 8px 8px 0; font-size: 1rem;
}

/* workflow steps */
.steps { counter-reset: step; margin-top: 44px; display: grid; gap: 0; }
.step {
  display: grid; grid-template-columns: 56px 1fr; gap: 20px;
  padding: 24px 0; border-bottom: 1px solid var(--rule);
}
.step:last-child { border-bottom: none; }
.step .n {
  counter-increment: step; font-family: "Fraunces", serif; font-size: 1.6rem;
  color: var(--green); font-weight: 600;
}
.step .n::before { content: counter(step, decimal-leading-zero); }
.step h3 { margin-bottom: 6px; }
.step p { color: var(--ink-soft); font-size: 0.98rem; max-width: 44em; }

/* feature cards */
.card {
  background: var(--white); border: 1px solid var(--rule); border-radius: 10px;
  padding: 26px;
}
.card h3 { margin-bottom: 10px; }
.card p { color: var(--ink-soft); font-size: 0.95rem; }

/* founder */
.founder {
  display: grid; grid-template-columns: 120px 1fr; gap: 30px; align-items: start;
  max-width: 46em; margin-top: 36px;
}
.founder .photo {
  width: 120px; height: 120px; border-radius: 50%; background: var(--paper-deep);
  border: 2px dashed #C9BFA8; display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem; color: var(--ink-soft); text-align: center; padding: 10px;
}
.founder blockquote { font-size: 1.05rem; }
.founder .sig { margin-top: 14px; color: var(--ink-soft); font-size: 0.9rem; }

/* ---------- pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 44px; align-items: stretch; }
.plan {
  background: var(--white); border: 1px solid var(--rule); border-radius: 12px;
  padding: 28px 24px; display: flex; flex-direction: column;
}
.plan.featured { border: 2px solid var(--indigo); position: relative; }
.plan.featured::before {
  content: "For firms running matters"; position: absolute; top: -12px; left: 20px;
  background: var(--indigo); color: var(--white); font-size: 0.72rem; font-weight: 600;
  padding: 3px 12px; border-radius: 99px;
}
.plan h3 { font-size: 1.25rem; }
.plan .price { font-family: "Fraunces", serif; font-size: 2rem; font-weight: 600; margin: 14px 0 2px; }
.plan .per { color: var(--ink-soft); font-size: 0.85rem; margin-bottom: 18px; }
.plan ul { list-style: none; display: grid; gap: 10px; font-size: 0.92rem; margin-bottom: 26px; }
.plan ul li { padding-left: 22px; position: relative; color: var(--ink-soft); }
.plan ul li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 700; }
.plan ul li.no { color: #A39A87; }
.plan ul li.no::before { content: "—"; color: #C9BFA8; }
.plan .btn { margin-top: auto; text-align: center; }

.pricing-note {
  margin-top: 34px; padding: 22px 26px; background: var(--green-soft);
  border-radius: 10px; max-width: 52em; font-size: 0.98rem;
}
.pricing-note strong { color: var(--green); }

/* ---------- final cta ---------- */
.final-cta { text-align: center; padding: 84px 24px; }
.final-cta h2 { max-width: 20em; margin: 0 auto 18px; }
.final-cta p { color: var(--ink-soft); margin-bottom: 30px; }

/* ---------- footer ---------- */
footer { border-top: 1px solid var(--rule); padding: 36px 0; font-size: 0.85rem; color: var(--ink-soft); }
.foot { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.foot a { color: var(--ink-soft); }

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding-top: 48px; gap: 40px; }
  .grid-2, .grid-3, .plans { grid-template-columns: 1fr; }
  .founder { grid-template-columns: 1fr; }
  .nav-links { gap: 16px; }
  .nav-links .hide-m { display: none; }
}
