/* Rareco Digital — marketing site
   Placeholder brand name under Rareco LLC. Can be renamed. */

:root {
  --ink: #1c1916;
  --ink-soft: #3f3a35;
  --muted: #6b645c;
  --line: #e4dcd1;
  --paper: #f7f3ec;
  --paper-2: #efe8dc;
  --white: #fffcf7;
  --card: #fffcf7;
  --copper: #9a5a2c;
  --copper-deep: #7c4520;
  --copper-soft: #c98a58;
  --sage: #3f5c4e;
  --sage-soft: #e4eee8;
  --banner: #2a2521;
  --shadow: 0 18px 40px rgba(28, 25, 22, 0.08);
  --radius: 18px;
  --max: 1140px;
  --sans: "Source Sans 3", "Segoe UI", sans-serif;
  --serif: "Cormorant Garamond", "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  font-size: 18px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--copper-deep); }
a:hover { color: var(--copper); }

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(247, 243, 236, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 0;
}
.logo {
  text-decoration: none;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}
.logo-mark {
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.logo-sub {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
.nav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 0.95rem;
  font-weight: 600;
}
.nav a:hover { color: var(--copper); }
.nav-cta {
  background: var(--ink) !important;
  color: var(--white) !important;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 0.9rem !important;
}
.nav-cta:hover { background: var(--copper-deep) !important; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 10px;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
}

/* Hero */
.hero {
  padding: 72px 0 56px;
  background:
    radial-gradient(900px 420px at 90% -10%, rgba(201, 138, 88, 0.18), transparent 60%),
    radial-gradient(700px 380px at 0% 100%, rgba(63, 92, 78, 0.1), transparent 55%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}
.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--copper);
  margin-bottom: 14px;
}
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 16px;
  color: var(--ink);
}
h1 { font-size: clamp(2.4rem, 5vw, 4.15rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 3.4vw, 3rem); }
h3 { font-size: 1.55rem; }
.lede {
  font-size: 1.2rem;
  color: var(--ink-soft);
  max-width: 38rem;
  margin: 0 0 28px;
}
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 1rem;
  border-radius: 999px;
  padding: 13px 22px;
}
.btn-primary { background: var(--ink); color: var(--white); }
.btn-primary:hover { background: var(--copper-deep); color: var(--white); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: var(--white); }
.hero-note {
  margin-top: 22px;
  font-size: 0.92rem;
  color: var(--muted);
}

.hero-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
  padding: 28px;
}
.hero-card h2 {
  font-size: 1.6rem;
  margin-bottom: 8px;
}
.hero-card p { margin: 0 0 16px; color: var(--ink-soft); }
.hero-list { list-style: none; margin: 0; padding: 0; }
.hero-list li {
  padding: 10px 0 10px 28px;
  position: relative;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
}
.hero-list li:before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--sage);
  position: absolute;
  left: 4px;
  top: 18px;
}

/* Sections */
section { padding: 72px 0; }
.section-intro { max-width: 40rem; margin-bottom: 36px; }
.section-intro p, .muted { color: var(--ink-soft); }
.band { background: var(--paper-2); }
.dark-band {
  background: var(--banner);
  color: #f3ebe2;
}
.dark-band h2, .dark-band h3 { color: #fffcf7; }
.dark-band p, .dark-band .muted { color: #d7ccc0; }

.grid-3, .grid-2, .grid-5 {
  display: grid;
  gap: 20px;
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}
.card h3 { margin-bottom: 10px; }
.card p:last-child { margin-bottom: 0; }
.icon-pill {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--sage-soft);
  color: var(--sage);
  font-weight: 700;
  margin-bottom: 16px;
}

/* Packages */
.pkg {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px 26px 26px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.pkg.featured {
  border-color: var(--ink);
  box-shadow: var(--shadow);
  transform: translateY(-8px);
}
.badge {
  position: absolute;
  top: -12px;
  left: 24px;
  background: var(--ink);
  color: var(--white);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 999px;
}
.price-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  color: var(--copper);
  margin-bottom: 8px;
}
.price {
  font-family: var(--serif);
  font-size: 2.05rem;
  line-height: 1.2;
  margin: 0 0 6px;
}
.price span { font-size: 1.05rem; color: var(--muted); font-family: var(--sans); }
.range { color: var(--muted); font-size: 0.95rem; margin-bottom: 16px; }
.pkg ul {
  margin: 0 0 22px;
  padding: 0 0 0 18px;
  color: var(--ink-soft);
  flex: 1;
}
.pkg li { margin: 8px 0; }
.price-disclaimer {
  margin-top: 28px;
  font-size: 0.95rem;
  color: var(--muted);
}

/* Steps */
.steps { counter-reset: step; display: grid; gap: 16px; }
.step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  align-items: start;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
}
.step:before {
  counter-increment: step;
  content: counter(step);
  font-family: var(--serif);
  font-size: 1.6rem;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--paper-2);
  color: var(--ink);
}

/* Sample cards */
.sample-card { overflow: hidden; padding: 0; text-decoration: none; color: inherit; display: block; }
.sample-card:hover { color: inherit; }
.sample-visual {
  height: 180px;
  display: grid;
  place-items: center;
  color: #fff;
  font-family: var(--serif);
  font-size: 1.8rem;
  position: relative;
}
.sample-visual .sample-flag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: #fff;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 9px;
  border-radius: 999px;
}
.sv-plumber { background: linear-gradient(145deg, #1e4a62, #3c7d8f 55%, #c9a36a); }
.sv-restaurant { background: linear-gradient(145deg, #6d2e22, #b45a3a 55%, #e8c48a); }
.sv-auto { background: linear-gradient(145deg, #1f2428, #3d4a45 55%, #c07a32); }
.sample-body { padding: 20px 22px 24px; }
.sample-body h3 { margin-bottom: 6px; }
.sample-body p { margin: 0 0 12px; color: var(--ink-soft); }
.sample-link { font-weight: 700; color: var(--copper-deep); }

/* FAQ */
.faq details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 4px 20px;
  margin-bottom: 10px;
}
.faq summary {
  cursor: pointer;
  font-weight: 700;
  padding: 16px 0;
}
.faq details p { margin: 0 0 16px; color: var(--ink-soft); }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
}
form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 26px;
  display: grid;
  gap: 14px;
}
label { font-weight: 600; font-size: 0.92rem; }
input, textarea, select {
  width: 100%;
  margin-top: 6px;
  font: inherit;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  color: var(--ink);
}
textarea { min-height: 120px; resize: vertical; }
.form-note {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0;
}
.contact-aside p { color: var(--ink-soft); }
.contact-line { margin: 10px 0; }
.contact-page {
  padding: 56px 0 80px;
  background:
    radial-gradient(800px 320px at 100% 0%, rgba(201, 138, 88, 0.14), transparent 60%),
    var(--paper);
}
.contact-page h1 {
  font-size: clamp(2rem, 4vw, 3rem);
}
.contact-cta-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: var(--shadow);
}
.contact-cta-card p { color: var(--ink-soft); }
.consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--ink-soft);
}
.consent input[type="checkbox"] {
  width: auto;
  margin-top: 5px;
  accent-color: var(--ink);
  flex-shrink: 0;
}
.endpoint-note {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
  background: var(--paper-2);
  border-radius: 10px;
  padding: 10px 12px;
}
.endpoint-note code {
  font-size: 0.84em;
  background: #fff;
  padding: 1px 5px;
  border-radius: 4px;
  word-break: break-all;
}
.thanks-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 40px 28px;
  text-align: center;
  box-shadow: var(--shadow);
}
.thanks-card h2 { font-size: 2.2rem; }
.thanks-card p { color: var(--ink-soft); margin: 0 auto 18px; max-width: 36rem; }
[hidden] { display: none !important; }

/* Footer */
footer {
  background: var(--banner);
  color: #d7ccc0;
  padding: 40px 0 28px;
  font-size: 0.95rem;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 28px;
  margin-bottom: 28px;
}
footer a { color: #f3ebe2; text-decoration: none; }
footer a:hover { color: #e8c48a; }
footer .logo-mark { color: #fffcf7; }
.footer-note {
  border-top: 1px solid #3a342f;
  padding-top: 18px;
  color: #b5a99c;
  font-size: 0.88rem;
}

@media (max-width: 900px) {
  .hero-grid, .grid-3, .grid-5, .contact-grid, .footer-inner {
    grid-template-columns: 1fr;
  }
  .pkg.featured { transform: none; }
  .nav-toggle { display: inline-flex; }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 12px 20px 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  body.nav-open .nav { display: flex; }
  .hero { padding: 48px 0 36px; }
  section { padding: 52px 0; }
}

/* Honeypot field for contact and signup forms */
.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
