/* businesscardmakerfree.com — shared site shell.
   Design: refined Western business. Navy + gold + clean blue CTA.
   Widths (established): header/footer wrap 1280, main 1216, content 1136.
   Hamburger below 1160px. Card geometry (.card 350x200) is separate. */
:root {
  --navy: #1b2a4a;
  --navy-2: #24365e;
  --ink: #1a1a1a;
  --muted: #5b6470;
  --line: #e6e6e0;
  --bg: #ffffff;
  --bg-soft: #f7f7f4;
  --accent: #2563eb;
  --accent-dark: #1d4ed8;
  --gold: #c9a227;
  --gold-soft: #f5ecd0;
  --green: #15803d;
  --red: #dc2626;
  --radius: 12px;
  --shadow: 0 2px 10px rgba(0, 0, 0, .08);
  --shadow-lg: 0 8px 30px rgba(0, 0, 0, .12);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 {
  font-family: Fraunces, Georgia, "Times New Roman", serif;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--navy);
}
h1 { font-size: clamp(30px, 3.4vw, 40px); margin: 0 0 12px; }
h2 { font-size: clamp(22px, 2.4vw, 28px); margin: 0 0 10px; }
h3 { font-size: 19px; margin: 0 0 8px; }
p { margin: 0 0 14px; }
img, svg { max-width: 100%; }

/* ---------- header ---------- */
header.site {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
header.site .wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 20px;
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--navy); font-weight: 800; font-size: 18px; letter-spacing: -0.02em; white-space: nowrap; }
.brand:hover { text-decoration: none; }
.brand svg { flex: none; }
.brand .free { color: var(--accent); }
nav.main { margin-left: auto; display: flex; gap: 4px; }
nav.main a {
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 8px;
  white-space: nowrap;
}
nav.main a:hover { background: var(--bg-soft); text-decoration: none; }
nav.main a.cta {
  background: var(--accent);
  color: #fff;
  margin-left: 8px;
}
nav.main a.cta:hover { background: var(--accent-dark); }
button.hamburger {
  display: none;
  margin-left: auto;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
button.hamburger svg { display: block; }
.mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  padding: 8px 20px 16px;
  z-index: 60;
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block;
  padding: 12px 4px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-weight: 600;
  font-size: 16px;
}
.mobile-menu a:last-child { border-bottom: 0; }

/* ---------- layout ---------- */
main { max-width: 1216px; margin: 0 auto; padding: 0 20px 64px; }
section.block { padding-top: 40px; }
.prose { max-width: 760px; }
.prose h2 { margin-top: 32px; }
.prose ul, .prose ol { margin: 0 0 14px; padding-left: 22px; }
.prose li { margin-bottom: 6px; }
.lead { font-size: 18px; color: var(--muted); }

/* ---------- buttons / forms ---------- */
.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  padding: 12px 22px;
  border: 0;
  border-radius: 9px;
  cursor: pointer;
  text-align: center;
  line-height: 1.3;
}
.btn:hover { background: var(--accent-dark); text-decoration: none; }
.btn.ghost { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.btn.ghost:hover { background: var(--bg-soft); }
.btn.gold { background: var(--gold); color: #1a1a1a; }
.btn.gold:hover { background: #b8921f; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; }
.btn.small { padding: 8px 14px; font-size: 14px; }
label.f { display: block; font-size: 13px; font-weight: 700; color: var(--navy); margin: 0 0 5px; }
input[type="text"], input[type="email"], input[type="tel"], input[type="url"],
textarea, select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #cfcfc8;
  border-radius: 8px;
  font: inherit;
  font-size: 15px;
  background: #fff;
  color: var(--ink);
}
input:focus, textarea:focus, select:focus {
  outline: 2px solid var(--accent);
  outline-offset: 0;
  border-color: var(--accent);
}
.note {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 14px;
  color: var(--muted);
}
.note strong { color: var(--ink); }
.pill {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .02em;
}
.pill.free { background: #e7f6ec; color: var(--green); }
.pill.gold { background: var(--gold-soft); color: #7a5f00; }

/* ---------- cards / grids ---------- */
.grid { display: grid; gap: 20px; }
.grid.c3 { grid-template-columns: repeat(3, 1fr); }
.grid.c2 { grid-template-columns: repeat(2, 1fr); }
.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px;
}
.panel h3 { margin-top: 0; }
.muted { color: var(--muted); }
.small { font-size: 13px; }

/* ---------- FAQ ---------- */
details.faq {
  border: 1px solid var(--line);
  border-radius: 10px;
  margin-bottom: 10px;
  background: #fff;
}
details.faq summary {
  cursor: pointer;
  padding: 14px 16px;
  font-weight: 700;
  color: var(--navy);
  list-style: none;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; float: right; color: var(--muted); }
details.faq[open ] summary::after { content: "–"; }
details.faq .a { padding: 0 16px 14px; color: var(--muted); }

/* ---------- footer ---------- */
footer.site { background: var(--navy); color: #c8d0de; }
footer.site .wrap { max-width: 1280px; margin: 0 auto; padding: 36px 20px 28px; }
footer.site .cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 28px; }
footer.site h4 { color: #fff; font-family: Inter, system-ui, sans-serif; font-size: 14px; margin: 0 0 10px; letter-spacing: .02em; }
footer.site a { color: #c8d0de; font-size: 14px; display: block; margin-bottom: 7px; }
footer.site a:hover { color: #fff; }
footer.site p { font-size: 14px; line-height: 1.7; }
footer.site .fine { border-top: 1px solid rgba(255, 255, 255, .14); margin-top: 28px; padding-top: 16px; font-size: 13px; color: #93a0b5; }

/* ---------- responsive ---------- */
@media (max-width: 1159px) {
  nav.main { display: none; }
  button.hamburger { display: flex; }
}
@media (max-width: 900px) {
  .grid.c3 { grid-template-columns: repeat(2, 1fr); }
  footer.site .cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .grid.c3, .grid.c2 { grid-template-columns: 1fr; }
  main { padding-bottom: 48px; }
  .brand { font-size: 16px; }
  footer.site .cols { grid-template-columns: 1fr; }
}
