/* PermitPad — Architectural editorial palette */
:root {
  --cream: #f7f4ef;
  --forest: #1a3a2f;
  --forest-light: #2d5447;
  --terracotta: #c8573d;
  --sand: #e2d9cc;
  --ink: #1c1c1a;
  --ink-muted: #6b6658;
  --white: #ffffff;
  --radius: 8px;
  --radius-lg: 16px;
}

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

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: 'DM Serif Display', serif;
  font-weight: 400;
  line-height: 1.15;
}

/* NAV */
.nav {
  padding: 20px 40px;
  border-bottom: 1px solid var(--sand);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: 'DM Serif Display', serif;
  font-size: 20px;
  color: var(--forest);
  letter-spacing: -0.02em;
}
.nav-tagline {
  font-size: 13px;
  color: var(--ink-muted);
  font-style: italic;
  letter-spacing: 0.03em;
}

/* HERO */
.hero {
  padding: 80px 40px 90px;
  border-bottom: 1px solid var(--sand);
}
.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-kicker {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 20px;
  font-weight: 600;
}
.hero-headline {
  font-size: clamp(44px, 5vw, 64px);
  color: var(--forest);
  margin-bottom: 24px;
  line-height: 1.05;
}
.hero-lede {
  font-size: 18px;
  color: var(--ink-muted);
  line-height: 1.65;
  max-width: 460px;
  font-weight: 300;
}

/* PERMIT CARD (hero visual) */
.permit-card {
  background: var(--white);
  border: 1px solid var(--sand);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: 0 4px 24px rgba(26,58,47,0.08);
  font-size: 14px;
}
.permit-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--sand);
}
.permit-label {
  font-weight: 500;
  color: var(--ink);
  font-size: 13px;
}
.permit-status {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.permit-status.active {
  background: #e8f0ec;
  color: var(--forest);
}
.permit-card-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}
.doc-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--ink-muted);
}
.doc-item.checked { color: var(--ink); }
.doc-item.pending { opacity: 0.6; }
.doc-check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--forest);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  flex-shrink: 0;
}
.doc-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid var(--sand);
  flex-shrink: 0;
}
.permit-card-footer {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.progress-bar {
  height: 6px;
  background: var(--sand);
  border-radius: 3px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  background: var(--forest);
  border-radius: 3px;
  transition: width 1s ease;
}
.progress-label {
  font-size: 12px;
  color: var(--ink-muted);
  text-align: right;
}

/* PROBLEM */
.problem {
  padding: 80px 40px;
  background: var(--forest);
  color: var(--cream);
}
.problem-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 60px;
  align-items: start;
}
.problem-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-right: 60px;
  border-right: 1px solid rgba(247,244,239,0.2);
}
.problem-number {
  font-family: 'DM Serif Display', serif;
  font-size: 96px;
  line-height: 1;
  color: var(--terracotta);
  margin-bottom: 12px;
}
.problem-desc {
  font-size: 14px;
  color: rgba(247,244,239,0.7);
  max-width: 200px;
  line-height: 1.5;
}
.problem-body {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.problem-text {
  font-size: 18px;
  line-height: 1.7;
  color: var(--cream);
  font-weight: 300;
}

/* SECTION HEADING */
.section-heading {
  font-size: clamp(32px, 3.5vw, 44px);
  color: var(--forest);
  margin-bottom: 48px;
}

/* FEATURES */
.features {
  padding: 90px 40px;
  background: var(--cream);
}
.features-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.feature-card {
  background: var(--white);
  border: 1px solid var(--sand);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.feature-card:hover {
  box-shadow: 0 8px 32px rgba(26,58,47,0.1);
  transform: translateY(-2px);
}
.feature-icon {
  color: var(--terracotta);
  margin-bottom: 20px;
}
.feature-title {
  font-family: 'DM Serif Display', serif;
  font-size: 22px;
  color: var(--forest);
  margin-bottom: 12px;
}
.feature-desc {
  font-size: 15px;
  color: var(--ink-muted);
  line-height: 1.65;
  font-weight: 300;
}

/* WORKFLOW */
.workflow {
  padding: 90px 40px;
  background: var(--sand);
}
.workflow-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.workflow-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.workflow-step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 32px;
  padding: 40px 0;
  border-bottom: 1px solid rgba(26,58,47,0.12);
  align-items: start;
}
.workflow-step:last-child { border-bottom: none; }
.step-num {
  font-family: 'DM Serif Display', serif;
  font-size: 40px;
  color: var(--terracotta);
  line-height: 1;
  padding-top: 4px;
}
.step-title {
  font-family: 'DM Serif Display', serif;
  font-size: 26px;
  color: var(--forest);
  margin-bottom: 12px;
}
.step-desc {
  font-size: 16px;
  color: var(--ink-muted);
  line-height: 1.65;
  font-weight: 300;
}

/* MANIFESTO */
.manifesto {
  padding: 100px 40px;
  background: var(--cream);
}
.manifesto-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.manifesto-quote {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(24px, 2.5vw, 34px);
  color: var(--forest);
  line-height: 1.4;
  font-style: italic;
  margin-bottom: 28px;
}
.manifesto-sub {
  font-size: 16px;
  color: var(--ink-muted);
  line-height: 1.7;
  font-weight: 300;
}

/* FOOTER */
.footer {
  padding: 40px;
  border-top: 1px solid var(--sand);
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-logo {
  font-family: 'DM Serif Display', serif;
  font-size: 18px;
  color: var(--forest);
  display: block;
  margin-bottom: 4px;
}
.footer-tagline {
  font-size: 13px;
  color: var(--ink-muted);
}
.footer-note {
  font-size: 13px;
  color: var(--ink-muted);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero-inner,
  .problem-inner { grid-template-columns: 1fr; }
  .problem-stat { border-right: none; padding-right: 0; border-bottom: 1px solid rgba(247,244,239,0.2); padding-bottom: 40px; margin-bottom: 20px; flex-direction: row; gap: 20px; text-align: left; }
  .problem-number { font-size: 64px; }
  .problem-desc { max-width: none; }
  .feature-grid { grid-template-columns: 1fr; }
  .workflow-step { grid-template-columns: 1fr; gap: 8px; }
  .step-num { font-size: 28px; }
  .hero { padding: 50px 24px 60px; }
  .problem, .features, .workflow, .manifesto { padding: 60px 24px; }
  .nav { padding: 16px 24px; }
  .footer-inner { flex-direction: column; gap: 16px; text-align: center; }
}