/* Rareco Capital — draft site styles */
:root {
  --navy: #0b1c2c;
  --navy-mid: #163044;
  --navy-soft: #1e3a52;
  --gold: #c5a572;
  --gold-deep: #9a7a45;
  --gold-soft: #e8d7b5;
  --ivory: #f6f3ec;
  --ivory-2: #ebe6d9;
  --ink: #14202b;
  --muted: #5c6670;
  --line: rgba(11, 28, 44, 0.12);
  --line-gold: rgba(197, 165, 114, 0.45);
  --white: #fffcf7;
  --danger: #8a2b2b;
  --radius: 4px;
  --header-h: 4.75rem;
  --max: 72rem;
  --font-serif: "Cormorant Garamond", "Georgia", "Times New Roman", serif;
  --font-sans: "Source Sans 3", "Source Sans Pro", "Helvetica Neue", Arial, sans-serif;
  --shadow: 0 18px 40px rgba(11, 28, 44, 0.08);
}

@font-face {
  font-family: "Cormorant Garamond";
  src: url("fonts/cormorant-garamond-400.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("fonts/cormorant-garamond-500.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("fonts/cormorant-garamond-600.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("fonts/cormorant-garamond-italic-400.ttf") format("truetype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("fonts/source-sans-3-400.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("fonts/source-sans-3-500.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("fonts/source-sans-3-600.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html:focus-within { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--gold-deep); }
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--navy);
  color: var(--white);
  padding: 0.6rem 1rem;
  z-index: 1000;
}
.skip:focus { left: 0.75rem; top: 0.75rem; }

.wrap {
  width: min(var(--max), calc(100% - 2.5rem));
  margin-inline: auto;
}
.gold-bar { height: 3px; background: var(--gold); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 243, 236, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 1rem;
}
.logo-link {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  text-decoration: none;
}
.logo-link img {
  height: 3.4rem;
  width: auto;
}
.nav-toggle { display: none; }
.nav-toggle-btn {
  display: none;
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  position: relative;
  border-radius: var(--radius);
}
.nav-toggle-btn span {
  position: absolute;
  left: 0.65rem;
  right: 0.65rem;
  top: 50%;
  height: 1.5px;
  background: var(--navy);
  display: block;
}
.nav-toggle-btn span::before,
.nav-toggle-btn span::after {
  position: absolute;
  left: 0;
  right: 0;
  height: 1.5px;
  background: var(--navy);
  content: "";
}
.nav-toggle-btn span::before { top: -7px; }
.nav-toggle-btn span::after { top: 7px; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}
.site-nav a {
  text-decoration: none;
  color: var(--navy);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.site-nav a:hover { color: var(--gold-deep); }
.nav-phone {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.25rem;
  background: var(--gold);
  color: var(--navy);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn:hover { background: var(--gold-deep); border-color: var(--gold-deep); color: var(--white); }
.btn-navy {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}
.btn-navy:hover { background: var(--navy-mid); color: var(--white); }
.btn-ghost {
  background: transparent;
  border-color: var(--line-gold);
  color: var(--white);
}
.btn-ghost:hover { background: rgba(197, 165, 114, 0.12); color: var(--gold-soft); }

@media (max-width: 880px) {
  .nav-toggle-btn { display: inline-block; }
  .site-nav {
    display: none;
    position: absolute;
    top: calc(var(--header-h) + 3px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--ivory);
    border-bottom: 1px solid var(--line);
    padding: 0.5rem 1.25rem 1.1rem;
  }
  .site-nav a, .site-nav .btn {
    padding: 0.75rem 0;
  }
  .site-nav .btn { margin-top: 0.4rem; }
  .nav-toggle:checked ~ .site-nav { display: flex; }
}

@media (max-width: 880px) {
  .site-nav {
    top: 100%;
  }
}

/* Hero */
.hero {
  background: var(--navy);
  color: var(--ivory);
  position: relative;
  overflow: hidden;
  padding: 3.5rem 0 4.25rem;
}
.hero-inner { position: relative; z-index: 1; max-width: 42rem; }
.eyebrow {
  display: inline-block;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 0 0 1rem;
}
.hero h1 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2.15rem, 5.4vw, 3.85rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 1.15rem;
  color: var(--white);
}
.lead {
  font-size: 1.125rem;
  line-height: 1.65;
  color: rgba(246, 243, 236, 0.82);
  margin: 0 0 1.75rem;
  max-width: 38rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; align-items: center; }
.hero-note {
  margin: 1.25rem 0 0;
  font-size: 0.9rem;
  color: rgba(246, 243, 236, 0.62);
}

/* Sections */
section { padding: 4.25rem 0; }
.section-kicker {
  color: var(--gold-deep);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 0 0 0.65rem;
}
h2 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.85rem, 3.2vw, 2.55rem);
  line-height: 1.2;
  margin: 0 0 0.85rem;
  color: var(--navy);
  letter-spacing: -0.015em;
}
.section-intro {
  max-width: 40rem;
  color: var(--muted);
  margin: 0 0 2.4rem;
}
.section-head { margin-bottom: 2.2rem; }

.products { background: var(--white); }
.product-grid {
  display: grid;
  gap: 1.15rem;
  grid-template-columns: 1fr;
}
.product {
  border: 1px solid var(--line);
  background: var(--ivory);
  padding: 1.5rem 1.4rem 1.45rem;
  border-left: 3px solid var(--gold);
  border-radius: 2px;
}
.product.featured {
  background: var(--ivory);
  padding: 1.75rem 1.6rem 1.6rem;
}
.product h3 {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 500;
  margin: 0 0 0.55rem;
  color: var(--navy);
}
.product p { margin: 0; color: var(--ink); }
.product .tag {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold-deep);
  margin-bottom: 0.45rem;
}

@media (min-width: 720px) {
  .product-grid { grid-template-columns: 1fr 1fr; }
  .product.featured { grid-column: span 1; }
}
@media (min-width: 1020px) {
  .product-grid.supporting { grid-template-columns: repeat(4, 1fr); }
}

.supporting { margin-top: 1.15rem; }
.supporting .product { background: var(--white); }

/* How it works */
.how { background: var(--ivory); }
.steps {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
  counter-reset: step;
}
.step {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1.6rem 1.4rem 1.5rem;
  position: relative;
}
.step .num {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  color: var(--gold);
  line-height: 1;
  margin: 0 0 0.7rem;
  font-weight: 500;
}
.step h3 {
  margin: 0 0 0.45rem;
  font-size: 1.15rem;
  font-family: var(--font-sans);
  font-weight: 600;
  color: var(--navy);
}
.step p { margin: 0; color: var(--muted); }
@media (min-width: 800px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
}

/* Why a broker */
.why { background: var(--navy); color: var(--ivory); }
.why h2, .why .section-kicker { color: var(--gold); }
.why h2 { color: var(--white); }
.why .section-intro { color: rgba(246, 243, 236, 0.75); }
.reasons {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}
.reason {
  border-top: 1px solid var(--line-gold);
  padding-top: 1.1rem;
}
.reason h3 {
  margin: 0 0 0.45rem;
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--white);
}
.reason p { margin: 0; color: rgba(246, 243, 236, 0.75); }
@media (min-width: 800px) {
  .reasons { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
}

/* Form */
.funding { background: var(--ivory-2); }
.funding-grid {
  display: grid;
  gap: 2.4rem;
}
@media (min-width: 900px) {
  .funding-grid { grid-template-columns: 0.85fr 1.15fr; gap: 3rem; align-items: start; }
}
.funding-aside .callout {
  margin-top: 1.5rem;
  padding: 1.15rem 1.2rem;
  border: 1px solid var(--line);
  background: var(--white);
}
.funding-aside .callout strong { display: block; color: var(--navy); margin-bottom: 0.2rem; }
.funding-aside a { font-weight: 600; }

form.funding-form {
  background: var(--white);
  padding: 1.5rem 1.25rem;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
@media (min-width: 640px) {
  form.funding-form { padding: 2rem; }
}
.form-row {
  display: grid;
  gap: 1rem;
  margin-bottom: 1rem;
}
@media (min-width: 640px) {
  .form-row.two { grid-template-columns: 1fr 1fr; }
}
label, .label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 0.4rem;
}
input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  width: 100%;
  padding: 0.7rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ivory);
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
}
input:focus, select:focus, textarea:focus {
  outline: 2px solid var(--gold);
  outline-offset: 1px;
  background: var(--white);
}
textarea { min-height: 7rem; resize: vertical; }
.honeypot {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}
.form-note {
  margin: 0.75rem 0 0;
  font-size: 0.85rem;
  color: var(--muted);
}
form .btn { margin-top: 0.4rem; width: 100%; }
@media (min-width: 640px) {
  form .btn { width: auto; }
}

/* Footer */
.site-footer {
  background: var(--navy);
  color: rgba(246, 243, 236, 0.78);
  padding: 2.75rem 0 2rem;
  font-size: 0.95rem;
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: flex-start;
  padding-bottom: 1.6rem;
  border-bottom: 1px solid rgba(197, 165, 114, 0.25);
}
.footer-brand img { height: 3.15rem; width: auto; }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.25rem;
  align-items: center;
}
.footer-links a { color: var(--ivory); text-decoration: none; }
.footer-links a:hover { color: var(--gold); }
.disclaimer {
  margin: 1.35rem 0 0;
  font-size: 0.82rem;
  line-height: 1.55;
  color: rgba(246, 243, 236, 0.58);
  max-width: 52rem;
}
.legal-fine { margin: 0.85rem 0 0; font-size: 0.78rem; color: rgba(246, 243, 236, 0.42); }

/* Interior pages */
.page-hero {
  background: var(--navy);
  color: var(--ivory);
  padding: 2.6rem 0 2.2rem;
}
.page-hero h1 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin: 0 0 0.4rem;
  color: var(--white);
}
.draft-banner {
  display: inline-block;
  background: rgba(197, 165, 114, 0.18);
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.6rem;
  margin-bottom: 0.9rem;
}
.prose {
  padding: 3rem 0 4rem;
  max-width: 44rem;
}
.prose h2 {
  font-size: 1.45rem;
  margin: 2rem 0 0.6rem;
}
.prose p, .prose li { color: var(--ink); }
.prose ul { padding-left: 1.2rem; }
.thanks-card {
  max-width: 36rem;
  margin: 3.5rem auto;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 2.4rem 1.8rem;
  text-align: center;
}
.thanks-card h1 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 2.2rem;
  margin: 0 0 0.8rem;
  color: var(--navy);
}
.thanks-card p { color: var(--muted); }

.funding-aside .callout a[href^="tel"] { display: block; }
.funding-aside .callout a[href*="leadconnectorhq.com"] { display: block; margin-top: 0.35rem; }

.investor-stf {
  margin-top: 1.15rem;
}
.stf-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  margin-top: 1.25rem;
}
.stf-grid > div {
  padding-top: 0.95rem;
  border-top: 1px solid var(--line-gold);
}
.stf-grid h4 {
  margin: 0 0 0.35rem;
  font-family: var(--font-sans);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--navy);
}
.stf-grid p {
  margin: 0;
  color: var(--muted);
}
@media (min-width: 800px) {
  .stf-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.4rem;
  }
}
