/* Closyfy marketing site — shared subpages (support, legal). Matches website_v3 tokens. */
:root {
  --bg:        #FAF5F0;
  --surface:   #F5EDE4;
  --primary:   #A79686;
  --accent:    #B6875A;
  --accent-lt: #EFDBC8;
  --focus:     #D59760;
  --text:      #3A2E26;
  --text-2:    #7A6A5A;
  --text-3:    #ADADAD;
  --divider:   #E5E5EA;
  --cta-top:   #FFB061;
  --cta-bot:   #FF9933;
  --cta-rim:   #EB5E29;
  --r-md: 16px;
  --r-lg: 24px;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'DM Sans', -apple-system, sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1000;
  opacity: .03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  background-size: 200px;
}

nav {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 18px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(250,245,240,.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--divider);
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  letter-spacing: .02em;
}

.nav-cta {
  background: linear-gradient(180deg, var(--cta-top), var(--cta-bot));
  border: 1px solid var(--cta-rim);
  color: #fff;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  padding: 10px 22px;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(185,107,52,.25);
  transition: transform .2s, box-shadow .2s;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(185,107,52,.35);
}

main {
  flex: 1;
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: 56px 40px 80px;
}

.page-eyebrow {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.page-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 6vw, 48px);
  font-weight: 500;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 16px;
}

.page-lead {
  font-size: 18px;
  color: var(--text-2);
  margin-bottom: 40px;
  max-width: 56ch;
}

.card {
  background: var(--surface);
  border: 1px solid var(--divider);
  border-radius: var(--r-lg);
  padding: 28px 32px;
  margin-bottom: 20px;
}

.card h2 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 500;
  margin-bottom: 12px;
  color: var(--text);
}

.card p {
  color: var(--text-2);
  margin-bottom: 12px;
}

.card p:last-child { margin-bottom: 0; }

.card ul {
  margin: 12px 0 0 1.1em;
  color: var(--text-2);
}

.card li { margin-bottom: 8px; }

.card a {
  color: var(--accent);
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid var(--accent-lt);
  transition: color .2s, border-color .2s;
}

.card a:hover {
  color: var(--focus);
  border-bottom-color: var(--focus);
}

.contact-email {
  display: inline-block;
  margin-top: 8px;
  font-size: 17px;
}

.link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-top: 16px;
}

.link-row a {
  font-size: 15px;
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}

.link-row a:hover { color: var(--focus); }

footer {
  padding: 48px 40px;
  background: var(--bg);
  border-top: 1px solid var(--divider);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
}

.footer-links {
  display: flex;
  gap: 28px;
  list-style: none;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 13px;
  color: var(--text-3);
  text-decoration: none;
  transition: color .2s;
}

.footer-links a:hover { color: var(--accent); }

.footer-copy {
  font-size: 12px;
  color: var(--text-3);
  width: 100%;
  text-align: center;
}

@media (max-width: 600px) {
  nav, main, footer { padding-left: 24px; padding-right: 24px; }
  .card { padding: 22px 20px; }
  footer { flex-direction: column; text-align: center; }
  .footer-copy { width: auto; }
}
