/* =========================================================
   WK CONVERTS V2 — SHARED DESIGN SYSTEM
   Black / gold / white · Fraunces + Inter
   ========================================================= */
:root {
  --bg:          #0A0A0A;
  --bg-alt:      #141414;
  --bg-dark:     #000000;
  --ink:         #FFFFFF;
  --ink-2:       rgba(255,255,255,.75);
  --ink-3:       rgba(255,255,255,.48);
  --gold:        #C9A84C;
  --gold-mid:    #D4AF37;
  --gold-glow:   rgba(201,168,76,.12);
  --gold-light:  rgba(201,168,76,.08);
  --gold-tag:    rgba(201,168,76,.28);
  --border:      rgba(255,255,255,.1);
  --border-lt:   rgba(255,255,255,.06);
  --r-card:      20px;
  --r-sm:        12px;
  --shadow:      0 10px 40px rgba(0,0,0,.5);
  --shadow-hover:0 20px 60px rgba(0,0,0,.7);
  --max-w:       1180px;
  --content-w:   720px;
  --gap:         120px;
  --font-head:   'Fraunces', Georgia, serif;
  --font-body:   'Inter', system-ui, sans-serif;
  --ease:        cubic-bezier(.22,1,.36,1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; background: none; border: none; cursor: pointer; color: inherit; }

h1, h2, h3 { font-family: var(--font-head); font-weight: 500; line-height: 1.15; letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 5vw, 3.7rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); }
h3 { font-size: 1.25rem; }
h1 em, h2 em, h3 em { font-style: italic; color: var(--gold); }

.wrap { max-width: var(--max-w); margin-inline: auto; padding-inline: 24px; }
.section { padding-block: var(--gap); }
.section--alt { background: var(--bg-alt); }

.skip-link {
  position: absolute; left: -9999px; top: 0; background: var(--gold); color: #0A0A0A;
  padding: 10px 18px; z-index: 200; font-weight: 600; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold); background: var(--gold-light);
  border: 1px solid var(--gold-tag); border-radius: 100px;
  padding: 7px 16px; margin-bottom: 24px;
  font-family: var(--font-body);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-body); font-weight: 700; font-size: 0.95rem;
  padding: 15px 30px; border-radius: 100px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
  min-height: 44px;
}
.btn--gold {
  background: var(--gold); color: #0A0A0A;
  box-shadow: 0 8px 28px rgba(201,168,76,.35);
}
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(201,168,76,.5); }
.btn--ghost { border: 1px solid var(--border); color: var(--ink-2); font-weight: 600; }
.btn--ghost:hover { border-color: var(--gold-tag); color: var(--ink); }
.cta-note { font-size: 0.82rem; color: var(--ink-3); margin-top: 14px; }
.inline-link { color: var(--gold); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.inline-link:hover { color: var(--gold-mid); }

/* ---------- Scroll progress + nav ---------- */
.progress { position: fixed; top: 0; left: 0; height: 2px; background: var(--gold); width: 0; z-index: 110; transition: width .1s linear; }
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding-block: 18px; transition: background .3s, box-shadow .3s, padding .3s;
}
.nav--scrolled { background: rgba(10,10,10,.96); backdrop-filter: blur(12px); box-shadow: 0 1px 0 rgba(255,255,255,.07); padding-block: 12px; }
.nav__inner { max-width: var(--max-w); margin-inline: auto; padding-inline: 24px; display: flex; align-items: center; gap: 32px; }
.nav__logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-size: 1.15rem; font-weight: 600; }
.nav__logo-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--gold); }
.nav__links { display: flex; gap: 28px; margin-left: auto; }
.nav__links a { font-size: 0.92rem; font-weight: 500; color: var(--ink-2); transition: color .2s; }
.nav__links a:hover, .nav__links a[aria-current] { color: var(--ink); }
.nav__cta .btn { padding: 11px 22px; font-size: 0.85rem; }
.nav__burger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav__burger span { width: 22px; height: 2px; background: var(--ink); transition: transform .3s, opacity .3s; }

/* ---------- Inner-page header ---------- */
.page-head { padding: 170px 0 80px; position: relative; overflow: hidden; }
.page-head::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 55% 60% at 80% 30%, rgba(201,168,76,.07) 0%, transparent 70%);
  pointer-events: none;
}
.page-head__inner { max-width: 820px; position: relative; }
.page-head h1 { margin-bottom: 22px; }
.page-head__sub { font-size: 1.1rem; line-height: 1.75; color: var(--ink-2); max-width: 640px; }

/* ---------- Section heads ---------- */
.sec-head { max-width: var(--content-w); margin: 0 auto 56px; text-align: center; }
.sec-head p { margin-top: 18px; font-size: 1.05rem; color: var(--ink-2); }

/* ---------- FAQ accordion ---------- */
.faq__list { max-width: 760px; margin-inline: auto; display: flex; flex-direction: column; gap: 12px; }
.faq__item { border: 1px solid var(--border); border-radius: var(--r-sm); background: var(--bg); overflow: hidden; }
.section--alt .faq__item { background: var(--bg); }
.faq__q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 24px; text-align: left; font-weight: 600; font-size: 0.98rem; color: var(--ink);
}
.faq__q::after { content: '+'; font-size: 1.4rem; color: var(--gold); transition: transform .3s; flex-shrink: 0; }
.faq__item.open .faq__q::after { transform: rotate(45deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.faq__a-inner { padding: 0 24px 22px; font-size: 0.92rem; color: var(--ink-2); line-height: 1.75; }

/* ---------- Forms ---------- */
.form { display: flex; flex-direction: column; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form__group { display: flex; flex-direction: column; gap: 8px; }
.form__group label { font-size: 0.85rem; font-weight: 600; color: var(--ink-2); }
.form__group label .req { color: var(--gold); }
.form__group input, .form__group select, .form__group textarea {
  font: inherit; font-size: 0.95rem; color: var(--ink);
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--r-sm);
  padding: 14px 16px; width: 100%; transition: border-color .2s;
}
.form__group input:focus, .form__group select:focus, .form__group textarea:focus {
  outline: none; border-color: var(--gold);
}
.form__group select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23C9A84C' stroke-width='2' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
.form__group textarea { min-height: 120px; resize: vertical; }
.form__note { font-size: 0.82rem; color: var(--ink-3); }
.form .btn { width: 100%; }

/* ---------- Cards (generic) ---------- */
.card {
  background: var(--bg-alt); border: 1px solid var(--border);
  border-radius: var(--r-card); padding: 32px 30px;
  transition: transform .3s var(--ease), border-color .3s;
}
.card:hover { border-color: var(--gold-tag); }

/* ---------- Closer (mirrors hero) ---------- */
.closer { background: var(--bg-dark); position: relative; overflow: hidden; }
.closer::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 50% 70% at 50% 100%, rgba(201,168,76,.14) 0%, transparent 70%); pointer-events: none; }
.closer__inner { max-width: var(--content-w); margin-inline: auto; text-align: center; position: relative; }
.closer__inner h2 { margin-bottom: 20px; }
.closer__inner p { font-size: 1.05rem; color: var(--ink-2); margin-bottom: 38px; }

/* ---------- Footer ---------- */
.footer { background: var(--bg-dark); color: rgba(255,255,255,.7); padding-block: 72px 36px; border-top: 1px solid var(--border-lt); }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 56px; margin-bottom: 56px; }
.footer__logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-size: 1.1rem; font-weight: 600; color: #fff; margin-bottom: 14px; }
.footer__logo-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.footer__tagline { font-size: 0.9rem; color: rgba(255,255,255,.5); line-height: 1.7; margin-bottom: 20px; max-width: 320px; }
.footer__email { display: block; font-size: 0.88rem; color: rgba(255,255,255,.65); transition: color .2s; }
.footer__email:hover { color: var(--gold); }
.footer__social { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.footer__social a {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 8px;
  background: rgba(255,255,255,.08); color: rgba(255,255,255,.55);
  transition: background .2s, color .2s;
}
.footer__social a:hover { background: var(--gold); color: #0A0A0A; }
.footer__social svg { width: 16px; height: 16px; fill: currentColor; display: block; }
.footer__col h4 { font-family: var(--font-body); font-size: 0.78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.4); margin-bottom: 16px; }
.footer__col a { display: block; font-size: 0.9rem; color: rgba(255,255,255,.65); padding: 4px 0; transition: color .2s; }
.footer__col a:hover { color: #fff; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 26px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 0.85rem; color: rgba(255,255,255,.35); }

/* ---------- Float CTA ---------- */
.float-cta { position: fixed; bottom: 24px; right: 24px; z-index: 90; opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .35s, transform .35s; }
.float-cta.visible { opacity: 1; transform: none; pointer-events: auto; }

/* ---------- Animation ---------- */
.fade-up { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.fade-up.in { opacity: 1; transform: none; }
@keyframes fadeSlide { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fade-up { opacity: 1; transform: none; transition: none; }
}

/* ---------- Checklist popup ---------- */
.ckpop-overlay {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(0,0,0,.72); backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center; padding: 24px;
  opacity: 0; transition: opacity .3s var(--ease);
}
.ckpop-overlay.in { opacity: 1; }
.ckpop {
  background: var(--bg-alt); border: 1px solid var(--gold-tag); border-radius: var(--r-card);
  box-shadow: var(--shadow-hover); max-width: 440px; width: 100%;
  padding: 38px 34px 30px; position: relative;
  transform: translateY(24px) scale(.97); transition: transform .35s var(--ease);
}
.ckpop-overlay.in .ckpop { transform: none; }
.ckpop__close {
  position: absolute; top: 14px; right: 14px; width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; color: var(--ink-3); font-size: 1.3rem; line-height: 1;
  transition: color .2s, background .2s;
}
.ckpop__close:hover { color: var(--ink); background: rgba(255,255,255,.08); }
.ckpop__eyebrow {
  font-size: 0.68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 12px;
}
.ckpop h2 { font-family: var(--font-head); font-size: 1.45rem; line-height: 1.25; margin-bottom: 10px; }
.ckpop h2 em { font-style: italic; color: var(--gold); }
.ckpop__sub { font-size: 0.9rem; color: var(--ink-2); line-height: 1.65; margin-bottom: 22px; }
.ckpop .form { gap: 14px; }
.ckpop .form__note { text-align: center; }
@media (max-width: 480px) {
  .ckpop-overlay { padding: 12px; align-items: flex-end; }
  .ckpop { padding: 30px 24px 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .ckpop-overlay, .ckpop { transition: none; }
}

/* ---------- Responsive (shared) ---------- */
@media (max-width: 960px) {
  :root { --gap: 88px; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .page-head { padding-top: 150px; }
}
@media (max-width: 680px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: flex; }
  .nav__links.open {
    display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(10,10,10,.98); padding: 24px; gap: 18px; border-bottom: 1px solid var(--border);
  }
  .form__row { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; gap: 36px; }
}
