/* contactsync.marcon.digital, styled after marcon.digital: Proxima Nova Light,
   primary blue #0066FF, text #333333, slate-900 hero and footer. */

@font-face {
  font-family: "ProximaNova-Light";
  src: url("/fonts/ProximaNova-Light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light dark;
  --primary: #0066ff;
  --primary-hover: #0052cc;
  --secondary: #333333;
  --bg: #ffffff;
  --fg: #333333;
  --heading: #0a0a0a;
  --muted: #525252;
  --line: #e5e7eb;
  --soft: #f8fafc;
  --card: #f5f5f5;
  --header-bg: rgba(255, 255, 255, 0.95);
  --wordmark-tail: #333333;
  --dark: #0f172a;
  --dark-fg: #ffffff;
  --dark-muted: #e5e7eb;
}

@media (prefers-color-scheme: dark) {
  :root {
    --primary: #3d85ff;
    --primary-hover: #66a0ff;
    --bg: #0a0a0a;
    --fg: #e5e5e5;
    --heading: #fafafa;
    --muted: #a3a3a3;
    --line: #262626;
    --soft: #111827;
    --card: #171717;
    --header-bg: rgba(10, 10, 10, 0.95);
    --wordmark-tail: #a3a3a3;
    --dark: #020617;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: "ProximaNova-Light", Arial, Helvetica, sans-serif;
  font-size: 18px;
  line-height: 1.6;
}

a { color: var(--primary); }
a:hover { color: var(--primary-hover); }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }

.container { max-width: 80rem; margin: 0 auto; padding: 0 1.5rem; }
.narrow { max-width: 48rem; }
@media (min-width: 1024px) { .container { padding: 0 2rem; } }

/* Wordmark: "contact" in blue, ".sync" in grey, as on the app icon and as
   marcon.digital sets "marcon" and ".digital". */
.wordmark { font-weight: 300; text-decoration: none; letter-spacing: 0; white-space: nowrap; line-height: 1; }
.wordmark .head { color: var(--primary); }
.wordmark .tail { color: var(--wordmark-tail); }
.site-footer .wordmark .tail { color: #ffffff; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--header-bg);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 1rem; padding-bottom: 1rem; flex-wrap: wrap; }
.site-header .wordmark { font-size: 2.25rem; }
.site-nav { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.site-nav a {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  font-weight: 600;
  color: var(--fg);
  text-decoration: none;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--primary); }
@media (max-width: 480px) {
  .site-header .wordmark { font-size: 1.875rem; }
  .site-nav { gap: 1rem; }
}

/* Buttons */
.button {
  display: inline-block;
  border-radius: 9999px;
  background: var(--primary);
  color: #ffffff;
  padding: 0.75rem 2rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.15s;
}
.button:hover { background: var(--primary-hover); color: #ffffff; }
.button.large { font-size: 1.125rem; }
.button.ghost { background: transparent; color: #ffffff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5); }
.button.ghost:hover { background: rgba(255, 255, 255, 0.1); }

/* Hero */
.hero { background: var(--dark); color: var(--dark-fg); }
.hero .container { padding-top: 6rem; padding-bottom: 6rem; }
.hero h1 { font-size: 2.25rem; line-height: 1.15; font-weight: 700; letter-spacing: -0.025em; margin: 0; max-width: 42rem; }
.hero p { color: var(--dark-muted); font-size: 1.125rem; line-height: 1.8; margin: 1.5rem 0 0; max-width: 40rem; }
.hero .actions { margin-top: 2.5rem; display: flex; gap: 1rem; flex-wrap: wrap; }
@media (min-width: 640px) { .hero h1 { font-size: 3.75rem; } .hero .container { padding-top: 8rem; } }

/* Sections */
.section { padding: 5rem 0; }
.section.soft { background: var(--soft); }
.eyebrow { font-size: 1.875rem; font-weight: 300; margin: 0 0 0.5rem; line-height: 1.3; }
.eyebrow .head { color: var(--primary); }
.eyebrow .tail { color: var(--heading); }
.lede { font-size: 1.5rem; font-weight: 500; color: var(--heading); margin: 0; letter-spacing: -0.01em; text-wrap: balance; }
.section .intro { font-size: 1.25rem; color: var(--muted); margin-top: 1.5rem; max-width: 42rem; }

.features { display: grid; grid-template-columns: 1fr; gap: 1.5rem; margin-top: 3rem; }
@media (min-width: 768px) { .features { grid-template-columns: 1fr 1fr; } }
.feature { background: var(--card); border-radius: 0.75rem; padding: 2rem; }
.feature h3 { font-size: 1.5rem; font-weight: 300; margin: 0 0 0.75rem; }
.feature h3 .head { color: var(--primary); }
.feature h3 .tail { color: var(--heading); }
.feature p { margin: 0; color: var(--muted); }
.example { display: inline-block; margin-top: 1rem; padding: 0.5rem 0.9rem; border-radius: 0.5rem; background: var(--bg); color: var(--heading); font-size: 0.95rem; border: 1px solid var(--line); }

.cta h2 { font-size: 1.875rem; font-weight: 700; letter-spacing: -0.025em; color: var(--heading); margin: 0; }
.cta p { font-size: 1.125rem; color: var(--muted); margin: 1.5rem 0 2.5rem; }
@media (min-width: 640px) { .cta h2 { font-size: 2.25rem; } }

/* Text pages */
.page { padding: 4rem 0 5rem; }
.page h1 { font-size: 2.25rem; font-weight: 300; line-height: 1.2; margin: 0 0 1rem; }
.page h1 .head { color: var(--primary); }
.page h1 .tail { color: var(--heading); }
.page h2 { font-size: 1.25rem; font-weight: 600; color: var(--heading); margin: 2.5rem 0 0.5rem; }
.page p, .page li { color: var(--fg); }
.page .lead { font-size: 1.25rem; color: var(--muted); }
.page .muted { color: var(--muted); }
.page ul { padding-left: 1.25rem; }
.page .card { background: var(--card); border-radius: 0.75rem; padding: 1.25rem 1.5rem; margin: 1.5rem 0; }
.badge { display: inline-block; font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; padding: 0.2rem 0.6rem; border-radius: 9999px; background: #fde68a; color: #422006; vertical-align: middle; }

/* Footer */
.site-footer { background: var(--dark); color: #ffffff; padding: 3rem 0; font-size: 0.875rem; }
.site-footer a { color: #ffffff; text-decoration: none; }
.site-footer a:hover { color: var(--primary); }
.site-footer .top { display: flex; flex-wrap: wrap; gap: 1.5rem; justify-content: space-between; align-items: center; }
.site-footer .wordmark { font-size: 2.25rem; }
.site-footer .links { display: flex; gap: 1.5rem; flex-wrap: wrap; font-size: 1rem; }
.site-footer .bottom { margin-top: 2rem; padding-top: 2rem; border-top: 1px solid rgba(255, 255, 255, 0.2); display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; }
.site-footer .by .wordmark { font-size: 1.25rem; }
.site-footer .by .wordmark .head { color: var(--primary); }
