/* ============================================================
   CONNECT YOUR DOTS — connectyour.online
   Standalone brand site. Dark theme (web canonical).
   Built on the locked CYD brand tokens (cyd-tokens.css) +
   the live v10 constellation engine. No build step.
   ============================================================ */

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

:root {
  --bg:         #13100d;
  --bg-section: #1a1410;
  --bg-card:    #1c1712;
  --border:     rgba(200,155,80,0.15);
  --border-mid: rgba(200,155,80,0.30);
  --gold:       #c89b50;
  --gold-light: #e8c278;
  --cream:      #f0e6d3;
  --muted:      #8a7d6a;
  --soft:       rgba(240,230,211,0.80);
  --soft-2:     rgba(240,230,211,0.65);
  --display: 'Cormorant Garamond', 'Lora', Georgia, serif;
  --body: 'Outfit', 'Poppins', system-ui, -apple-system, sans-serif;
  --maxw: 1080px;
  --readw: 720px;
}

html {
  background: var(--bg);
  color: var(--cream);
  font-family: var(--body);
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
  font-size: 17px;
}
body { position: relative; overflow-x: hidden; }

/* Constellation canvas — fixed, behind everything */
#dotfield { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
.page { position: relative; z-index: 1; }

a { color: inherit; }
img { max-width: 100%; display: block; }

/* ── shared containers ── */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 2rem; }
.read { max-width: var(--readw); }
section { padding: 5.5rem 0; border-top: 1px solid var(--border); }
section:first-of-type { border-top: 0; }
.section-dark { background: rgba(26,20,16,0.55); backdrop-filter: blur(2px); }

.eyebrow {
  font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1.3rem; font-weight: 400;
}
.divider { width: 52px; height: 1px; background: linear-gradient(90deg, var(--gold), transparent); margin: 1.8rem 0; border: 0; }
.divider.center { margin-left: auto; margin-right: auto; background: linear-gradient(90deg, transparent, var(--gold), transparent); }

h1, h2, h3 { font-family: var(--display); font-weight: 300; line-height: 1.12; color: var(--cream); }
h1 { font-size: clamp(2.6rem, 6vw, 4.2rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); margin-bottom: 1.1rem; }
h3 { font-size: 1.35rem; margin-bottom: 0.6rem; }
h1 em, h2 em, h3 em, .accent { font-style: italic; color: var(--gold-light); }

p { font-size: 1rem; line-height: 1.85; color: var(--soft); margin-bottom: 1.1rem; }
p:last-child { margin-bottom: 0; }
.lead { font-family: var(--display); font-style: italic; font-size: 1.3rem; line-height: 1.6; color: var(--soft); }
.muted { color: var(--muted); }
strong { color: var(--cream); font-weight: 400; }

/* ── HEADER / NAV ── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(19,16,13,0.78);
  backdrop-filter: blur(12px) saturate(1.2);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { font-family: var(--display); font-size: 1.15rem; letter-spacing: 0.06em; color: var(--cream); text-decoration: none; white-space: nowrap; }
.brand em { font-style: italic; color: var(--gold-light); }
.brand .dot { color: var(--gold); }
.nav-links { display: flex; align-items: center; gap: 1.7rem; list-style: none; }
.nav-links a {
  font-size: 0.82rem; letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--soft-2); text-decoration: none; transition: color .2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--gold-light); }
.nav-cta {
  font-family: var(--body); font-size: 0.8rem; letter-spacing: 0.04em;
  padding: 0.6rem 1.15rem; border: 1px solid var(--gold); border-radius: 999px;
  color: var(--gold-light) !important; text-transform: none; transition: all .2s;
}
.nav-cta:hover { background: var(--gold); color: var(--bg) !important; }

/* mobile nav via checkbox toggle */
.nav-toggle, .nav-toggle-label { display: none; }
@media (max-width: 860px) {
  .nav-toggle-label {
    display: block; cursor: pointer; width: 26px; height: 18px; position: relative;
  }
  .nav-toggle-label span, .nav-toggle-label span::before, .nav-toggle-label span::after {
    content: ''; position: absolute; height: 1.5px; width: 26px; background: var(--cream); left: 0; transition: .25s;
  }
  .nav-toggle-label span { top: 8px; }
  .nav-toggle-label span::before { top: -7px; }
  .nav-toggle-label span::after { top: 7px; }
  .nav-links {
    position: fixed; inset: 68px 0 auto 0; flex-direction: column; gap: 0;
    background: rgba(19,16,13,0.98); border-bottom: 1px solid var(--border);
    max-height: 0; overflow: hidden; transition: max-height .3s ease;
  }
  .nav-links li { width: 100%; text-align: center; }
  .nav-links li a { display: block; padding: 1rem; border-top: 1px solid var(--border); }
  .nav-toggle:checked ~ .nav-links { max-height: 80vh; }
  .nav-toggle:checked ~ .nav-toggle-label span { background: transparent; }
  .nav-toggle:checked ~ .nav-toggle-label span::before { top: 0; transform: rotate(45deg); }
  .nav-toggle:checked ~ .nav-toggle-label span::after { top: 0; transform: rotate(-45deg); }
}

/* ── HERO ── */
.hero { padding: 7rem 0 6rem; border-top: 0; }
.hero .eyebrow { color: var(--gold); }
.hero h1 { max-width: 15ch; margin-bottom: 1.6rem; }
.hero .lead { max-width: 46ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.4rem; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--body); font-size: 0.92rem; letter-spacing: 0.02em;
  padding: 0.85rem 1.6rem; border-radius: 999px; text-decoration: none;
  cursor: pointer; transition: all .2s; border: 1px solid transparent;
}
.btn-primary { background: var(--gold); color: var(--bg); }
.btn-primary:hover { background: var(--gold-light); transform: translateY(-1px); }
.btn-ghost { border-color: var(--border-mid); color: var(--cream); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-light); }
.btn-sm { padding: 0.6rem 1.15rem; font-size: 0.82rem; }
.arrow::after { content: '→'; transition: transform .2s; }
.btn:hover .arrow::after { transform: translateX(3px); }

/* ── GRIDS / CARDS ── */
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 820px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }

.card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 14px; padding: 2rem; transition: border-color .25s, transform .25s;
}
.card:hover { border-color: var(--border-mid); transform: translateY(-2px); }
.card h3 { color: var(--cream); }
.card p { font-size: 0.94rem; }

/* method / step nodes */
.node { display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 999px; background: rgba(200,155,80,0.12);
  border: 1px solid var(--border-mid); color: var(--gold-light);
  font-family: var(--display); font-size: 1.05rem; flex: 0 0 auto; }
.step { display: flex; gap: 1.1rem; align-items: flex-start; }
.step + .step { margin-top: 1.6rem; }
.step .step-body h3 { margin-bottom: .3rem; font-size: 1.15rem; }
.step .step-body p { font-size: 0.94rem; }

/* method badge chips */
.badge {
  display: inline-block; font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold); border: 1px solid var(--border-mid); border-radius: 999px;
  padding: 0.28rem 0.75rem; margin-bottom: 1rem;
}

/* pricing */
.price-table { border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
.price-row { display: grid; grid-template-columns: 1.4fr 2fr 0.9fr auto; gap: 1rem; align-items: center;
  padding: 1.15rem 1.5rem; border-top: 1px solid var(--border); }
.price-row:first-child { border-top: 0; }
.price-row .pt-name { font-family: var(--display); font-size: 1.25rem; color: var(--cream); }
.price-row .pt-desc { font-size: 0.88rem; color: var(--soft-2); }
.price-row .pt-price { font-family: var(--display); font-size: 1.35rem; color: var(--gold-light); white-space: nowrap; }
.price-row .pt-price small { font-size: 0.7rem; color: var(--muted); font-family: var(--body); }
@media (max-width: 720px) {
  .price-row { grid-template-columns: 1fr auto; row-gap: .35rem; }
  .price-row .pt-desc { grid-column: 1 / -1; order: 3; }
  .price-row .pt-cta { grid-column: 1 / -1; order: 4; }
}
.featured { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold) inset; }

/* quote / testimonial */
.quote { font-family: var(--display); font-style: italic; font-size: 1.35rem; line-height: 1.55; color: var(--cream); }
.quote-by { font-size: 0.82rem; color: var(--muted); margin-top: .8rem; letter-spacing: .04em; }

/* CTA band */
.band { text-align: center; }
.band h2 { margin-bottom: 1rem; }
.band .btn { margin-top: 1.5rem; }

/* newsletter form */
.form-row { display: flex; gap: .7rem; flex-wrap: wrap; max-width: 480px; }
.form-row input[type=email] {
  flex: 1 1 220px; background: var(--bg-card); border: 1px solid var(--border-mid);
  border-radius: 999px; padding: 0.85rem 1.3rem; color: var(--cream); font-family: var(--body); font-size: 0.95rem;
}
.form-row input[type=email]:focus { outline: none; border-color: var(--gold); }
.form-note { font-size: 0.8rem; color: var(--muted); margin-top: .8rem; }
.form-ok { color: var(--gold-light); }

/* ── FOOTER ── */
.site-footer { border-top: 1px solid var(--border); padding: 4rem 0 3rem; background: rgba(19,16,13,0.85); }
.footer-grid { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 2.5rem; }
.footer-brand { max-width: 320px; }
.footer-brand .brand { font-size: 1.3rem; }
.footer-tag { font-family: var(--display); font-style: italic; color: var(--soft-2); margin-top: .8rem; font-size: 1.05rem; }
.footer-col h4 { font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin-bottom: 1rem; font-weight: 500; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: .6rem; }
.footer-col a { font-size: 0.9rem; color: var(--soft-2); text-decoration: none; }
.footer-col a:hover { color: var(--gold-light); }
.footer-legal { margin-top: 3rem; padding-top: 1.6rem; border-top: 1px solid var(--border); font-size: 0.78rem; color: var(--muted); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }

/* utilities */
.center { text-align: center; }
.mt-s { margin-top: 1rem; } .mt-m { margin-top: 2rem; } .mt-l { margin-top: 3rem; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
@media (max-width: 820px) { .two-col { grid-template-columns: 1fr; gap: 2rem; } }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }
