/* JQFactory landing page. Same palette as the pitch deck. */
:root {
  --ink: #18212b;
  --paper: #f5f2ec;
  --paper-2: #ece7de;
  --card: #fbfaf7;
  --line: #ddd6ca;
  --muted: #4a4f57;
  --faint: #6a6f77;
  --accent: #d9541e;
  --accent-ink: #b8461a;
  --on-dark: #f5f2ec;
  --on-dark-muted: #b9c1cb;
  --radius: 16px;
  --shadow: 0 12px 40px rgba(24, 33, 43, 0.12);
  --head: "Manrope", "Inter", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.55 var(--body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--head); margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }

.wrap { width: min(1180px, 100% - 32px); margin: 0 auto; }

/* Header */
.nav { position: sticky; top: 0; z-index: 10; background: rgba(245, 242, 236, 0.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 24px; height: 64px; }
.logo { font-family: var(--head); font-weight: 800; font-size: 20px; text-decoration: none; display: flex; align-items: center; gap: 10px; }
.logo i { width: 12px; height: 28px; background: var(--accent); border-radius: 3px; display: inline-block; }
.nav nav { display: flex; gap: 20px; margin-left: auto; font-size: 15px; }
.nav nav a { text-decoration: none; color: var(--muted); }
.nav nav a:hover { color: var(--ink); }
.lang { display: flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; font-size: 14px; font-weight: 600; }
.lang a, .lang span { padding: 4px 12px; text-decoration: none; }
.lang span { background: var(--ink); color: var(--on-dark); }
@media (max-width: 760px) { .nav nav { display: none; } .lang { margin-left: auto; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 22px; border-radius: 10px; font-weight: 600; text-decoration: none; font-size: 16px; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-ink); }
.btn-ghost { border: 1px solid currentColor; }

/* Hero */
.hero { background: var(--ink); color: var(--on-dark); padding: 88px 0 0; overflow: hidden; }
.eyebrow { font-size: 14px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent-ink); }
.hero .eyebrow { color: #f08a5d; }
.hero h1 { font-size: clamp(36px, 5.4vw, 64px); line-height: 1.06; font-weight: 700; max-width: 900px; margin: 16px 0 20px; }
.hero p.lead { font-size: clamp(18px, 2vw, 21px); color: var(--on-dark-muted); max-width: 720px; }
.hero .cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 32px 0 56px; }
.hero .shot { border-radius: var(--radius) var(--radius) 0 0; box-shadow: 0 -10px 60px rgba(0, 0, 0, 0.35); border: 1px solid #2b3642; border-bottom: 0; }

.proof { background: var(--paper-2); border-bottom: 1px solid var(--line); }
.proof .wrap { padding: 18px 0; display: flex; gap: 10px; align-items: center; font-weight: 600; font-size: 15px; }
.proof .dot { width: 10px; height: 10px; border-radius: 50%; background: #1f9d55; flex: none; }

/* Sections */
section.block { padding: 88px 0; }
section.alt { background: var(--paper-2); }
.head { max-width: 760px; margin-bottom: 40px; }
.head h2 { font-size: clamp(28px, 3.6vw, 42px); line-height: 1.12; margin-top: 10px; }
.head p { color: var(--muted); margin-top: 14px; font-size: 18px; }

.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-2, .grid-4 { grid-template-columns: 1fr; } }

.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.card h3 { font-size: 20px; margin-bottom: 8px; }
.card p { color: var(--muted); }
.card .num { font-family: var(--head); font-size: 40px; font-weight: 800; color: var(--accent); line-height: 1; margin-bottom: 14px; }

/* Feature rows */
.feature { display: grid; grid-template-columns: 5fr 7fr; gap: 48px; align-items: center; padding: 40px 0; }
.feature > * { min-width: 0; }
.feature + .feature { border-top: 1px solid var(--line); }
.form-shot { width: 100%; max-width: 560px; justify-self: center; }
.feature.flip { grid-template-columns: 7fr 5fr; }
.feature.flip .text { order: 2; }
.feature h3 { font-size: clamp(24px, 2.6vw, 30px); line-height: 1.2; margin: 10px 0 14px; }
.feature ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.feature li { padding-left: 26px; position: relative; color: var(--muted); }
.feature li::before { content: ""; position: absolute; left: 0; top: 9px; width: 12px; height: 3px; background: var(--accent); border-radius: 2px; }
.feature li b { color: var(--ink); }
.shot { border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); background: #fff; }
.duo { display: grid; grid-template-columns: 1fr 0.38fr; gap: 16px; align-items: end; }
.duo .phone { border-radius: 24px; }
@media (max-width: 860px) {
  .feature, .feature.flip { grid-template-columns: 1fr; gap: 24px; }
  .feature.flip .text { order: 0; }
}

/* Dark band */
.dark { background: var(--ink); color: var(--on-dark); }
.dark .eyebrow { color: #f08a5d; }
.dark .head p, .dark .card p { color: var(--on-dark-muted); }
.dark .card { background: #1f2a36; border-color: #2b3642; }

/* Roles table */
.roles { width: 100%; border-collapse: collapse; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.roles th, .roles td { text-align: left; padding: 14px 20px; border-bottom: 1px solid var(--line); vertical-align: top; }
.roles th { font-family: var(--head); font-size: 15px; background: var(--paper-2); }
.roles tr:last-child td { border-bottom: 0; }
.roles td:first-child { font-weight: 600; white-space: nowrap; }
@media (max-width: 620px) { .roles td:first-child { white-space: normal; } .roles th, .roles td { padding: 12px 14px; } }

/* Contact */
.contact { text-align: center; }
.contact h2 { font-size: clamp(30px, 4vw, 46px); max-width: 760px; margin: 12px auto 16px; }
.contact p { color: var(--on-dark-muted); max-width: 620px; margin: 0 auto 28px; }
.contact .mail { display: block; margin-top: 18px; color: var(--on-dark-muted); }

footer { background: var(--ink); color: var(--on-dark-muted); border-top: 1px solid #2b3642; font-size: 14px; }
footer .wrap { padding: 24px 0; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; }
