/* ==========================================================================
   QuickMeet — landing site
   ========================================================================== */

/* ---------- Fonts (self-hosted, no external requests) ---------- */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('fonts/fraunces.woff2') format('woff2');
}
@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 300 700;
  font-display: swap;
  src: url('fonts/fraunces-italic.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('fonts/inter-tight.woff2') format('woff2');
}

/* ---------- Theme tokens ---------- */
:root {
  --bg:            #F7F7F5;
  --text:          #171717;
  --muted:         #737373;
  --border:        #D9D9D4;
  --surface:       #EBEBE7;
  --accent:        #1a73e8;
  --accent-hover:  #1558b0;
  --accent-fg:     #ffffff;
  --accent-soft:   #E8F0FE;
  --focus-ring:    #1a73e8;

  --serif: 'Fraunces', 'Georgia', 'Iowan Old Style', 'Times New Roman', serif;
  --sans:  'Inter Tight', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --page-max: 1080px;
  --gutter:   32px;

  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg:            #1A1A1A;
    --text:          #F0F0EE;
    --muted:         #9E9E9C;
    --border:        #333331;
    --surface:       #242422;
    --accent:        #5AA0F0;
    --accent-hover:  #7AB5F5;
    --accent-fg:     #0A1E30;
    --accent-soft:   #1E3A5F;
    --focus-ring:    #5AA0F0;

    color-scheme: dark;
  }
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }

/* ---------- Skip link (a11y) ---------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  padding: 8px 16px;
  background: var(--accent);
  color: var(--accent-fg);
  border-radius: 4px;
  font-weight: 600;
  z-index: 100;
}
.skip-link:focus { left: 8px; }

/* ---------- Global focus ring ---------- */
:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------- Layout container ---------- */
.wrap {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- Header / nav ---------- */
.site-header {
  padding-top: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 72px;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 22px;
  letter-spacing: -0.01em;
  text-decoration: none;
  color: var(--text);
}
.wordmark::before {
  content: "✽";
  color: var(--accent);
  font-family: var(--sans);
  font-style: normal;
  font-size: 16px;
  position: relative;
  top: -1px;
}
.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
  list-style: none;
}
.nav-links a {
  color: var(--text);
  text-decoration: none;
  opacity: 0.72;
  font-size: 14px;
  font-weight: 500;
  transition: opacity 0.15s, color 0.15s;
}
.nav-links a:hover { opacity: 1; color: var(--accent); }
.nav-links .nav-cta {
  opacity: 1;
  color: var(--accent);
  font-weight: 600;
}
.nav-links .nav-cta:hover { color: var(--accent-hover); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  background: var(--accent);
  color: var(--accent-fg);
  padding: 13px 22px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.005em;
  transition: background 0.15s, transform 0.05s;
}
.btn:hover { background: var(--accent-hover); }
.btn:active { transform: translateY(1px); }
.btn::after {
  content: "→";
  margin-left: 10px;
  font-weight: 400;
}
.btn-secondary {
  display: inline-block;
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid var(--muted);
  padding-bottom: 2px;
  transition: color 0.15s, border-color 0.15s;
}
.btn-secondary:hover { color: var(--text); border-color: var(--text); }

/* ---------- Hero ---------- */
.hero {
  padding-bottom: 96px;
}
.eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 56px;
  align-items: center;
}
.hero-headline {
  font-family: var(--serif);
  font-weight: 350;
  font-size: clamp(40px, 6.4vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.03em;
}
.hero-headline em {
  font-style: italic;
  font-weight: 300;
  color: var(--accent);
}
.hero-sub {
  margin-top: 24px;
  font-size: 17px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 460px;
}
.cta-row {
  margin-top: 36px;
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}
.hero-visual {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 40px 24px;
  font-size: 13px;
  color: var(--muted);
  font-family: var(--serif);
  font-style: italic;
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* ---------- Section frame ---------- */
.section {
  padding: 80px 0;
  border-top: 1px solid var(--border);
}
.section-grid {
  display: grid;
  grid-template-columns: 3fr 9fr;
  gap: 48px;
  align-items: start;
}
.section-index {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 8px;
}
.section-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(28px, 3.4vw, 38px);
  letter-spacing: -0.02em;
  line-height: 1.08;
}
.section-title em {
  font-style: italic;
  color: var(--accent);
}
.section-lede {
  margin-top: 20px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
  max-width: 620px;
}

/* ---------- Value props (three cards) ---------- */
.props {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.prop {
  padding: 28px;
  background: var(--surface);
  border-radius: 10px;
  border: 1px solid var(--border);
}
.prop-icon {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: 34px;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 16px;
}
.prop-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 20px;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}
.prop-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

/* ---------- How it works (three steps) ---------- */
.steps {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.step {
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.step-num {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 32px;
  color: var(--accent);
  line-height: 1;
}
.step-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 20px;
  margin-top: 12px;
  letter-spacing: -0.01em;
}
.step-desc {
  font-size: 14px;
  color: var(--muted);
  margin-top: 8px;
  line-height: 1.6;
}

/* ---------- Providers ---------- */
.providers {
  margin-top: 40px;
  border-top: 1px solid var(--border);
}
.provider-row {
  display: grid;
  grid-template-columns: 40px 200px 1fr;
  gap: 24px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}
.provider-mark {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: var(--accent);
  opacity: 0.4;
}
.provider-mark.gmeet { background: #00832d; opacity: 1; }
.provider-mark.jitsi { background: #0376da; opacity: 1; }
.provider-mark.zoom  { background: #2d8cff; opacity: 1; }
.provider-mark.teams { background: #4b53bc; opacity: 1; }
.provider-mark.webex { background: #21a5aa; opacity: 0.35; }
.provider-mark.zoho  { background: #e04b3c; opacity: 0.35; }
.provider-name {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 18px;
  letter-spacing: -0.005em;
}
.provider-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}
.provider-desc .soon {
  display: inline-block;
  font-family: var(--sans);
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 3px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--muted);
  margin-right: 8px;
  vertical-align: middle;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
}

/* ---------- Privacy promise ---------- */
.promise {
  font-family: var(--serif);
  font-weight: 350;
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1.35;
  letter-spacing: -0.015em;
  max-width: 780px;
  margin-top: 24px;
}
.promise em { font-style: italic; color: var(--accent); }
.promise-link {
  display: inline-block;
  margin-top: 24px;
  color: var(--accent);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 2px;
}
.promise-link:hover { color: var(--accent-hover); border-color: var(--accent-hover); }

/* ---------- Platform / disclaimer callout ---------- */
.platform {
  margin-top: 40px;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  border-left: 3px solid var(--accent);
}
.platform-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 18px;
  margin-bottom: 8px;
  letter-spacing: -0.005em;
}
.platform-body {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

/* ---------- FAQ ---------- */
.faq {
  margin-top: 40px;
}
.faq-item {
  border-top: 1px solid var(--border);
  padding: 20px 0;
}
.faq-item:last-child { border-bottom: 1px solid var(--border); }
.faq-q {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 19px;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}
.faq-a {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  max-width: 720px;
}
.faq-a a { color: var(--accent); text-decoration: none; border-bottom: 1px solid currentColor; }
.faq-a a:hover { color: var(--accent-hover); }

/* ---------- Footer ---------- */
.site-footer {
  margin-top: 80px;
  padding: 40px 0 48px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--muted);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 32px;
  align-items: start;
}
.footer-brand .wordmark { font-size: 20px; }
.footer-tagline {
  margin-top: 12px;
  max-width: 300px;
  line-height: 1.5;
}
.footer-nav .footer-heading {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 14px;
  color: var(--text);
  margin-bottom: 12px;
  letter-spacing: -0.005em;
}
.footer-nav ul { list-style: none; }
.footer-nav li { margin-bottom: 8px; }
.footer-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
}
.footer-nav a:hover { color: var(--accent); }
.footer-legal {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  line-height: 1.6;
}
.footer-legal p + p { margin-top: 8px; }

/* ==========================================================================
   Privacy policy page — same shell, article typography
   ========================================================================== */

.article {
  max-width: 720px;
  margin: 0 auto;
  padding: 24px 0 80px;
}
.article-header {
  margin-bottom: 48px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.article h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(36px, 5vw, 52px);
  letter-spacing: -0.02em;
  line-height: 1.05;
}
.article .meta {
  font-size: 13px;
  color: var(--muted);
  margin-top: 12px;
}
.article h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.01em;
  margin-top: 40px;
  margin-bottom: 12px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border);
}
.article p {
  margin-bottom: 14px;
  color: var(--text);
  line-height: 1.7;
}
.article ul {
  margin: 8px 0 16px 22px;
}
.article li {
  margin-bottom: 6px;
  color: var(--text);
  line-height: 1.6;
}
.article a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}
.article a:hover { color: var(--accent-hover); }
.article code {
  font-family: ui-monospace, 'SF Mono', Menlo, Monaco, Consolas, monospace;
  font-size: 0.9em;
  background: var(--surface);
  padding: 1px 5px;
  border-radius: 3px;
}
.article .highlight {
  background: var(--accent-soft);
  border-left: 3px solid var(--accent);
  padding: 14px 18px;
  margin: 24px 0;
  border-radius: 0 6px 6px 0;
  font-size: 15px;
  line-height: 1.55;
}
.article .highlight strong { color: var(--text); }

/* ==========================================================================
   404 page
   ========================================================================== */
.notfound {
  max-width: 620px;
  margin: 0 auto;
  padding: 120px 0;
  text-align: center;
}
.notfound-code {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: 96px;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 24px;
}
.notfound h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 36px;
  letter-spacing: -0.015em;
  margin-bottom: 16px;
}
.notfound p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 32px;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 900px) {
  .site-header { padding-top: 24px; margin-bottom: 48px; }
  .nav-links { gap: 20px; }
  .nav-links a { font-size: 13px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .section-grid { grid-template-columns: 1fr; gap: 20px; }
  .props { grid-template-columns: 1fr; gap: 16px; }
  .steps { grid-template-columns: 1fr; gap: 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .provider-row { grid-template-columns: 40px 1fr; grid-template-rows: auto auto; }
  .provider-row .provider-desc { grid-column: 2; }
  .provider-row .provider-name { grid-column: 2; }
}

@media (max-width: 640px) {
  :root { --gutter: 20px; }
  .site-header .wrap { flex-wrap: wrap; }
  .nav-links { gap: 16px; }
  .nav-links a:not(.nav-cta) { display: none; }
  .section { padding: 56px 0; }
  .article { padding: 8px 0 56px; }
  .hero { padding-bottom: 64px; }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ---------------------------------------------------------------------------
   Contact email display + copy button
   Used in FAQ answers on index.html and in privacy.html Section 8.
   The email is shown as visible text so users without clipboard-API access
   can still select and copy manually; the button is a convenience.
   --------------------------------------------------------------------------- */
.email-block {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.email-address {
  font-family: var(--sans);
  font-size: 0.95em;
  color: var(--text);
  background: var(--surface);
  padding: 2px 8px;
  border-radius: 6px;
  user-select: all;   /* one-click select the whole address */
  word-break: break-all;
}
.copy-email-btn {
  font-family: var(--sans);
  font-size: 0.8em;
  font-weight: 500;
  padding: 3px 10px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.copy-email-btn:hover { background: var(--surface); color: var(--text); border-color: var(--muted); }
.copy-email-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.copy-email-btn.is-copied { color: var(--accent); border-color: var(--accent); background: transparent; }
.copy-email-btn:disabled { cursor: default; }
