/* Shared styles for fictional Fiverr sample pages */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  color: #1a2332;
  background: #faf9f7;
  line-height: 1.5;
}
.sample-banner {
  background: #0f2744;
  color: #e8eef5;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  padding: 8px 16px;
}
.sample-banner a { color: #7eb8ff; }
html.embed .sample-banner { display: none; }
.hero-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #1d4f91;
  margin: 0 0 12px;
}
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
.logo { font-weight: 700; font-size: 18px; letter-spacing: -0.02em; }
.nav-links { display: flex; gap: 24px; font-size: 14px; }
.nav-links a { color: inherit; text-decoration: none; opacity: 0.85; }
.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  border: none;
  cursor: pointer;
}
.btn-primary { background: #1d4f91; color: #fff; }
.btn-secondary { background: transparent; border: 1px solid rgba(0,0,0,0.15); color: inherit; }
.hero { padding: 72px 0 56px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(36px, 5vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 700;
}
.hero-lead { font-size: 18px; color: #4a5568; max-width: 520px; margin: 0 0 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-note { font-size: 13px; color: #6b7280; margin-top: 14px; }
.hero-visual {
  border-radius: 16px;
  min-height: 280px;
  background: linear-gradient(145deg, #dbeafe 0%, #eff6ff 55%, #f8fafc 100%);
  border: 1px solid rgba(29,79,145,0.12);
  display: flex;
  align-items: flex-end;
  padding: 24px;
}
.stat-row { display: flex; gap: 28px; margin-top: 32px; }
.stat strong { display: block; font-size: 22px; }
.stat span { font-size: 13px; color: #6b7280; }
.section { padding: 56px 0; }
.section h2 { margin: 0 0 12px; font-size: 28px; letter-spacing: -0.02em; }
.section-lead { color: #4a5568; max-width: 560px; margin: 0 0 32px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 12px;
  padding: 24px;
}
.card h3 { margin: 0 0 8px; font-size: 17px; }
.card p { margin: 0; font-size: 14px; color: #4a5568; }
.contact-section {
  padding: 56px 0 72px;
  background: #f1f5f9;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
form { display: grid; gap: 14px; }
label { font-size: 13px; font-weight: 600; }
input, textarea, select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  font: inherit;
}
textarea { min-height: 120px; resize: vertical; }
.trust-list { margin: 16px 0 0; padding: 0; list-style: none; }
.trust-list li {
  font-size: 14px;
  color: #4a5568;
  padding: 6px 0 6px 22px;
  position: relative;
}
.trust-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #1d7a4a;
  font-weight: 700;
}
.footer {
  padding: 28px 0;
  border-top: 1px solid rgba(0,0,0,0.08);
  font-size: 13px;
  color: #6b7280;
  text-align: center;
}
.version-pill {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
}
.version-before { background: #fee2e2; color: #991b1b; }
.version-after { background: #dcfce7; color: #166534; }

/* BEFORE state — intentionally weaker */
body.state-before { background: #f3f4f6; }
.state-before .sample-banner { background: #7f1d1d; }
.state-before .nav { flex-wrap: wrap; gap: 8px; }
.state-before .nav-links { flex-wrap: wrap; gap: 8px 14px; font-size: 12px; }
.state-before .logo { font-size: 22px; color: #6d28d9; font-family: Georgia, serif; }
.state-before .hero { padding: 28px 0; }
.state-before .hero-grid { grid-template-columns: 1fr; gap: 20px; }
.state-before .hero h1 {
  font-size: 26px;
  font-weight: 400;
  line-height: 1.35;
  color: #374151;
}
.state-before .hero-lead { font-size: 14px; color: #6b7280; }
.state-before .hero-actions { flex-direction: column; align-items: flex-start; }
.state-before .btn-primary {
  background: #f59e0b;
  color: #111;
  font-size: 12px;
  padding: 8px 14px;
}
.state-before .btn-secondary { font-size: 12px; padding: 8px 14px; }
.state-before .hero-visual { min-height: 140px; border-radius: 4px; background: #e5e7eb; }
.state-before .cards { grid-template-columns: 1fr; gap: 10px; }
.state-before .card { padding: 14px; border-radius: 4px; }
.state-before .card h3 { font-size: 15px; }
.state-before .contact-grid { grid-template-columns: 1fr; }
.state-before .contact-section form input,
.state-before .contact-section form textarea {
  border-color: #d1d5db;
  background: #fff;
}
.state-before .trust-list { display: none; }

/* Harbor Realty palette */
.theme-realty .logo { color: #0d5c63; }
.theme-realty .btn-primary { background: #0d5c63; }
.theme-realty .hero-visual {
  background: linear-gradient(145deg, #ccfbf1 0%, #f0fdfa 60%, #fff 100%);
  border-color: rgba(13,92,99,0.15);
}
.state-before.theme-realty .logo { color: #dc2626; font-family: "Times New Roman", serif; }

@media (max-width: 800px) {
  .hero-grid, .contact-grid, .cards { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}
