/* PURL Landing Page Styles
   Clean, trustworthy, mobile-first.
   Avoids feeling like a marketing page — feels like a personal letter. */

:root {
  --bg: #fafaf7;
  --surface: #ffffff;
  --border: #e5e3dc;
  --text: #1a1a1a;
  --text-muted: #5e5e5a;
  --accent: #b8470d;       /* warm muted orange */
  --accent-hover: #8f3608;
  --tax-old: #647058;       /* muted green for "before" */
  --tax-new: #b8470d;       /* warm orange for "after" — the alarm */
  --shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  --radius: 12px;
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Georgia', 'Iowan Old Style', serif;
  line-height: 1.6;
  font-size: 17px;
}

.container {
  max-width: 720px;
  margin: 0 auto;
  padding: 24px 20px 80px;
}

/* Hero */
.hero {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-bottom: 32px;
}

.hero-content { padding: 32px 28px 20px; }

.eyebrow {
  font-family: -apple-system, system-ui, sans-serif;
  font-size: 14px;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 8px;
}

h1 {
  font-size: 30px;
  line-height: 1.3;
  margin-bottom: 12px;
  color: var(--text);
  font-weight: 700;
}

.address {
  font-size: 18px;
  color: var(--text-muted);
  font-style: italic;
}

.hero-image {
  width: 100%;
  height: 280px;
  background: #f0eee8;
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-image img.hidden { display: none; }

/* Tax impact */
.tax-impact {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  margin-bottom: 32px;
  box-shadow: var(--shadow);
}

.tax-impact h2 {
  font-size: 22px;
  margin-bottom: 24px;
  font-weight: 700;
}

.tax-cards {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 16px;
  align-items: center;
  margin-bottom: 28px;
}

.tax-card {
  padding: 20px 16px;
  border-radius: 8px;
  background: #f7f5ee;
}

.tax-card.new {
  background: #fdf2eb;
  border: 1px solid #f0d4be;
}

.tax-card .label {
  font-family: -apple-system, system-ui, sans-serif;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.tax-card .amount {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.1;
  font-family: 'Georgia', serif;
}

.tax-card.old .amount { color: var(--tax-old); }
.tax-card.new .amount { color: var(--tax-new); }

.tax-card .basis {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 6px;
  font-family: -apple-system, system-ui, sans-serif;
}

.arrow {
  font-size: 24px;
  color: var(--text-muted);
  font-family: serif;
}

.delta {
  background: #fef7f2;
  border-left: 3px solid var(--accent);
  padding: 20px 24px;
  margin: 24px 0;
  border-radius: 0 8px 8px 0;
}

.delta-label {
  font-family: -apple-system, system-ui, sans-serif;
  font-size: 13px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.delta-amount {
  font-size: 36px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1.1;
}

.delta-context {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 6px;
  font-family: -apple-system, system-ui, sans-serif;
}

.explanation {
  font-size: 16px;
  color: var(--text);
  line-height: 1.7;
}

/* CTA */
.cta {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  margin-bottom: 32px;
  box-shadow: var(--shadow);
}

.cta h2 {
  font-size: 22px;
  margin-bottom: 12px;
}

.cta p {
  color: var(--text-muted);
  margin-bottom: 24px;
}

.form-row { margin-bottom: 14px; }

.form-row input,
.form-row textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 16px;
  background: #fafaf7;
  color: var(--text);
}

.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: #fff;
}

.form-row textarea {
  resize: vertical;
  font-family: inherit;
}

button[type="submit"] {
  width: 100%;
  padding: 16px;
  background: var(--accent);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 17px;
  font-weight: 600;
  font-family: -apple-system, system-ui, sans-serif;
  cursor: pointer;
  transition: background 0.15s;
}

button[type="submit"]:hover { background: var(--accent-hover); }
button[type="submit"]:disabled {
  background: var(--text-muted);
  cursor: not-allowed;
}

.or-call {
  text-align: center;
  margin-top: 20px;
  color: var(--text-muted);
  font-size: 15px;
}

.or-call a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 700;
}

.or-call a:hover { text-decoration: underline; }

/* Disclaimer */
.disclaimer {
  font-size: 13px;
  color: var(--text-muted);
  padding: 0 4px;
  line-height: 1.5;
}

.disclaimer p { margin-bottom: 8px; }

.footer-meta {
  font-size: 12px;
  font-style: italic;
}

/* Success state after form submit */
.success-message {
  background: #eaf5e9;
  border: 1px solid #b8d8b3;
  border-radius: 8px;
  padding: 24px;
  text-align: center;
  margin-top: 16px;
}

.success-message h3 {
  color: #2d5b2a;
  margin-bottom: 8px;
}

/* Mobile */
@media (max-width: 560px) {
  .container { padding: 16px 14px 60px; }
  h1 { font-size: 24px; }
  .hero-content { padding: 24px 20px 16px; }
  .hero-image { height: 200px; }
  .tax-impact, .cta { padding: 24px 20px; }
  .tax-cards { grid-template-columns: 1fr; gap: 12px; }
  .arrow {
    transform: rotate(90deg);
    justify-self: center;
  }
  .tax-card .amount { font-size: 22px; }
  .delta-amount { font-size: 28px; }
}
