/* Synclaps site — shared styles. Brand colors sampled from the app icon. */
:root {
  --blue: #287cfd;
  --indigo: #402ce3;
  --green: #43f28f;
  --orange: #fd9a1c;
  --bg: #ffffff;
  --bg-soft: #f5f7fc;
  --text: #111827;
  --muted: #5b6475;
  --border: #e3e7f0;
  --card: #ffffff;
  --shadow: 0 1px 2px rgba(17, 24, 39, 0.04), 0 8px 24px rgba(40, 60, 120, 0.08);
  --radius: 14px;
  --max: 1080px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d1117;
    --bg-soft: #131a24;
    --text: #e8ecf3;
    --muted: #9aa4b5;
    --border: #253041;
    --card: #161e2a;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 8px 24px rgba(0, 0, 0, 0.35);
  }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; color: var(--text); }
.brand:hover { text-decoration: none; }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.nav { display: flex; gap: 22px; align-items: center; font-size: 15px; }
.nav a { color: var(--muted); }
.nav a:hover { color: var(--text); text-decoration: none; }
.nav a.btn-primary, .nav a.btn-primary:hover { color: #fff; }
@media (max-width: 640px) { .nav a:not(.btn) { display: none; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 10px; font-weight: 600; font-size: 15px;
  border: 1px solid transparent; cursor: pointer; transition: transform .08s ease, box-shadow .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: linear-gradient(135deg, var(--blue), var(--indigo)); color: #fff; box-shadow: 0 6px 18px rgba(64, 44, 227, 0.28); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn-small { padding: 8px 14px; font-size: 14px; }
.btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }

/* Hero */
.hero { padding: 88px 0 72px; text-align: center; background:
  radial-gradient(900px 400px at 50% -120px, color-mix(in srgb, var(--blue) 18%, transparent), transparent 70%); }
.eyebrow {
  display: inline-block; padding: 5px 12px; border-radius: 999px; font-size: 13px; font-weight: 600;
  color: var(--indigo); background: color-mix(in srgb, var(--indigo) 10%, transparent); margin-bottom: 20px;
}
@media (prefers-color-scheme: dark) { .eyebrow { color: #a99cff; } }
.hero h1 { font-size: clamp(34px, 6vw, 56px); line-height: 1.1; letter-spacing: -0.02em; margin: 0 auto 18px; max-width: 820px; }
.hero h1 .grad { background: linear-gradient(135deg, var(--blue), var(--indigo)); -webkit-background-clip: text; background-clip: text; color: transparent; }
@media (prefers-color-scheme: dark) { .hero h1 .grad { background-image: linear-gradient(135deg, #5b9bff, #9d8cff); } }
.hero p.lead { font-size: 19px; color: var(--muted); max-width: 640px; margin: 0 auto 32px; }
.hero .ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero .note { margin-top: 14px; font-size: 14px; color: var(--muted); }

/* Mock of the in-chat panel */
.mock {
  margin: 56px auto 0; max-width: 720px; text-align: left; background: var(--card);
  border: 1px solid var(--border); border-radius: 18px; box-shadow: var(--shadow); overflow: hidden;
}
.mock-bar { display: flex; gap: 6px; padding: 12px 14px; border-bottom: 1px solid var(--border); background: var(--bg-soft); }
.mock-bar span { width: 10px; height: 10px; border-radius: 50%; background: var(--border); }
.mock-body { padding: 18px; display: grid; gap: 10px; }
.mock-item { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border: 1px solid var(--border); border-radius: 12px; }
.mock-item.active { border-color: var(--blue); background: color-mix(in srgb, var(--blue) 7%, transparent); }
.dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.mock-subject { font-weight: 600; font-size: 15px; }
.mock-meta { font-size: 13px; color: var(--muted); }
.mock-prompt { margin-top: 6px; padding: 14px; border-radius: 12px; background: var(--bg-soft); font-size: 14px; color: var(--muted); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; white-space: pre-wrap; }

/* Sections */
section { padding: 72px 0; }
section.soft { background: var(--bg-soft); }
.section-title { text-align: center; font-size: clamp(26px, 4vw, 36px); letter-spacing: -0.01em; margin: 0 0 12px; }
.section-sub { text-align: center; color: var(--muted); max-width: 620px; margin: 0 auto 44px; }

.grid { display: grid; gap: 18px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 860px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.card h3 { margin: 10px 0 6px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.step-num {
  width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-weight: 700; color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--indigo));
}
.icon-chip { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; font-size: 19px; }
.soon { font-size: 12px; font-weight: 600; color: var(--orange); margin-left: 6px; white-space: nowrap; }

/* Pricing */
.pricing { max-width: 760px; margin: 0 auto; }
.price-card { position: relative; display: flex; flex-direction: column; }
.price-card.featured { border: 2px solid var(--blue); }
.badge {
  position: absolute; top: -12px; right: 18px; background: var(--green); color: #063b1f; font-size: 12px; font-weight: 700;
  padding: 4px 10px; border-radius: 999px;
}
.price { font-size: 42px; font-weight: 800; letter-spacing: -0.02em; margin: 8px 0 2px; }
.price small { font-size: 16px; font-weight: 500; color: var(--muted); }
.price-card ul { list-style: none; padding: 0; margin: 18px 0 24px; display: grid; gap: 8px; color: var(--muted); font-size: 15px; }
.price-card li::before { content: "✓"; color: var(--blue); font-weight: 700; margin-right: 8px; }
.price-card .btn { margin-top: auto; width: 100%; }
.fineprint { text-align: center; color: var(--muted); font-size: 14px; margin-top: 22px; }

/* FAQ */
.faq { max-width: 760px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 16px 20px; }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--muted); font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); margin: 10px 0 0; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 36px 0; color: var(--muted); font-size: 14px; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.site-footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
.site-footer a { color: var(--muted); }
.trademarks { width: 100%; font-size: 12px; margin-top: 8px; }

/* Legal pages */
.legal { max-width: 760px; margin: 0 auto; padding: 56px 20px 80px; }
.legal h1 { font-size: 36px; letter-spacing: -0.01em; margin: 0 0 6px; }
.legal .updated { color: var(--muted); margin: 0 0 32px; font-size: 14px; }
.legal h2 { font-size: 21px; margin: 36px 0 10px; }
.legal p, .legal li { color: var(--text); }
.legal ul { padding-left: 22px; }
.legal li { margin: 6px 0; }
.legal .callout {
  border-left: 4px solid var(--blue); background: var(--bg-soft); padding: 14px 18px; border-radius: 8px; margin: 18px 0;
}
.legal table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 12px 0; }
.legal th, .legal td { text-align: left; border-bottom: 1px solid var(--border); padding: 10px 8px; vertical-align: top; }
.legal th { color: var(--muted); font-weight: 600; }
@media (max-width: 640px) { .legal table { font-size: 14px; } }

/* Three plans (Free / Pro Monthly / Pro Yearly) */
.pricing.grid-3 { max-width: 1040px; }
.pricing.grid-3 .price { white-space: nowrap; font-size: clamp(30px, 3.4vw, 40px); }
.price-card .btn { text-align: center; }
