:root {
  --bg: #000000;
  --bg-2: #0b0b0a;
  --card: #141412;
  --line: #262522;
  --text: #f6f5f2;
  --muted: #a39f96;
  --brand: #f76d22;
  --brand-2: #f76d22;
  color-scheme: dark;
  --ok: #22c55e;
  --warn: #facc15;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6; -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* Nav */
nav { position: sticky; top: 0; z-index: 10; background: #000; border-bottom: 1px solid var(--line); }
nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: -0.02em; text-decoration: none; }
.logo-mark { width: 32px; height: 32px; border-radius: 9px; background: var(--brand); display: grid; place-items: center; color: #fff; font-size: 16px; }
.nav-links { display: flex; gap: 18px; font-size: 14px; color: var(--muted); white-space: nowrap; }
.nav-links a { text-decoration: none; }
.nav-links a:hover { color: var(--text); }

.btn { white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 12px; font-weight: 600; font-size: 15px; text-decoration: none; border: 1px solid transparent; transition: transform .15s ease, box-shadow .2s ease, background .2s ease; cursor: pointer; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: #000; }
.btn-primary:hover { background: #ff8746; }
.btn-ghost { border-color: var(--line); background: var(--card); }
.btn-sm { padding: 8px 14px; font-size: 14px; border-radius: 10px; }

/* Hero */
.hero { position: relative; padding: 88px 0 64px; overflow: hidden; }
.glow { display: none; position: absolute; inset: -40% -10% auto; height: 640px; background: radial-gradient(closest-side, color-mix(in srgb, var(--brand) 35%, transparent), transparent 70%); filter: blur(20px); pointer-events: none; animation: drift 14s ease-in-out infinite alternate; }
@keyframes drift { from { transform: translateX(-6%) } to { transform: translateX(6%) } }
.pill { display: inline-flex; gap: 8px; align-items: center; font-size: 13px; color: var(--muted); border: 1px solid var(--line); background: var(--card); padding: 6px 12px; border-radius: 999px; }
.pill b { color: var(--ok); }
h1 { font-size: clamp(36px, 6vw, 64px); line-height: 1.05; letter-spacing: -0.035em; margin: 20px 0 16px; font-weight: 800; }
h1 .grad { color: var(--brand); }
.lead { font-size: clamp(17px, 2vw, 20px); color: var(--muted); max-width: 640px; margin: 0 0 28px; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.fine { font-size: 13px; color: var(--muted); margin-top: 14px; }

/* Mock window */
.mock { margin-top: 56px; border: 1px solid var(--line); border-radius: 16px; background: var(--card); box-shadow: 0 40px 80px -40px rgba(0,0,0,.6); overflow: hidden; }
.mock-bar { display: flex; gap: 6px; padding: 12px 14px; border-bottom: 1px solid var(--line); background: var(--bg-2); }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.mock-body { display: grid; grid-template-columns: 220px 1fr; min-height: 280px; }
.mock-side { border-right: 1px solid var(--line); padding: 14px; display: grid; gap: 8px; align-content: start; }
.mock-side div { height: 30px; border-radius: 8px; background: var(--bg-2); }
.mock-side div.on { background: color-mix(in srgb, var(--brand) 25%, transparent); border: 1px solid color-mix(in srgb, var(--brand) 50%, transparent); }
.mock-grid { padding: 14px; display: grid; gap: 8px; }
.row { display: grid; grid-template-columns: 1fr 70px 70px; gap: 8px; align-items: center; height: 30px; padding: 0 10px; border-radius: 8px; background: var(--bg-2); font-size: 13px; color: var(--muted); }
.chk { width: 16px; height: 16px; border-radius: 4px; border: 2px solid var(--line); justify-self: center; }
.chk.on { background: var(--brand); border-color: var(--brand); }
.chk.dirty { background: var(--warn); border-color: var(--warn); animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 50% { transform: scale(1.18); } }

section { padding: 80px 0; }
.section-title { font-size: clamp(28px, 4vw, 40px); letter-spacing: -0.03em; margin: 0 0 12px; font-weight: 800; }
.section-lead { color: var(--muted); max-width: 640px; margin: 0 0 40px; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { border: 1px solid var(--line); background: var(--card); border-radius: 16px; padding: 22px; transition: transform .2s ease, border-color .2s ease; }
.card:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--brand) 60%, var(--line)); }
.card .ic { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; font-size: 20px; background: color-mix(in srgb, var(--brand) 18%, transparent); margin-bottom: 14px; }
.card h3 { margin: 0 0 6px; font-size: 17px; }
.card p { margin: 0; color: var(--muted); font-size: 14.5px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.shot { width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--line); box-shadow: 0 30px 80px -40px rgba(0,0,0,.6); display: block; }
.shot-cap { color: var(--muted); font-size: 13px; margin: 8px 2px 0; }
.howto { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 28px; }
.howto .card h3 { display: flex; gap: 8px; align-items: center; }
.howto .card ol { margin: 8px 0 0; padding-left: 20px; color: var(--muted); font-size: 14.5px; }
.howto .card a { font-size: 14px; }
.new { font-size: 11px; font-weight: 800; letter-spacing: .04em; padding: 2px 8px; border-radius: 999px; background: color-mix(in srgb, var(--ok) 20%, transparent); color: var(--ok); vertical-align: middle; margin-left: 6px; }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.stat { border: 1px solid var(--line); background: var(--card); border-radius: 14px; padding: 18px; }
.stat b { display: block; font-size: 28px; letter-spacing: -0.02em; }
.stat span { color: var(--muted); font-size: 13px; }
ul.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
ul.ticks li { padding-left: 30px; position: relative; color: var(--muted); }
ul.ticks li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 6px; display: grid; place-items: center; font-size: 12px; font-weight: 800; color: #fff; background: var(--ok); }
ul.ticks li b { color: var(--text); font-weight: 600; }

.steps { counter-reset: s; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.steps.four { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1100px) { .steps.four { grid-template-columns: repeat(2, 1fr); } }
.step { border: 1px solid var(--line); background: var(--card); border-radius: 16px; padding: 22px; }
.step::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--brand); color: #000; font-weight: 800; margin-bottom: 12px; }
.step h3 { margin: 0 0 6px; font-size: 17px; }
.step p { margin: 0; color: var(--muted); font-size: 14.5px; }

details { border: 1px solid var(--line); background: var(--card); border-radius: 14px; padding: 16px 20px; margin-bottom: 10px; }
summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
summary::after { content: "+"; color: var(--muted); transition: transform .2s ease; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--muted); margin: 10px 0 0; }

/* Developer team */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 1000px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .team-grid { grid-template-columns: 1fr; } }
.team-card { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; }
.team-avatar { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 10px; font-size: 26px; font-weight: 800; color: #fff; background: var(--brand); overflow: hidden; }
.team-avatar img { width: 100%; height: 100%; object-fit: cover; }
.team-role { color: var(--brand); font-weight: 600; font-size: 14px; }
.team-card p { margin: 6px 0 0; }
.team-li { margin-top: 14px; }

.final { text-align: center; border: 1px solid var(--line); border-radius: 24px; padding: 56px 24px; background: var(--card); }
footer { border-top: 1px solid var(--line); padding: 28px 0; color: var(--muted); font-size: 13px; }
footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
footer a { text-decoration: none; margin-left: 16px; }
footer a:hover { color: var(--text); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 860px) {
  .grid, .steps, .stat-row { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .howto, .steps.four { grid-template-columns: 1fr; }
  .mock-body { grid-template-columns: 1fr; }
  .mock-side { display: none; }
  .nav-links { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Extension switcher (Salesforce / NetSuite / Zoho) */
.ext-bar { border-bottom: 1px solid var(--line); background: var(--bg-2); }
.ext-bar .wrap { display: flex; align-items: center; gap: 8px; height: 48px; overflow-x: auto; scrollbar-width: none; }
.ext-bar .wrap::-webkit-scrollbar { display: none; }
.ext-bar .lbl { font-size: 13px; color: var(--muted); margin-right: 4px; white-space: nowrap; }
.ext-tab { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; font-size: 13.5px; font-weight: 600; text-decoration: none; color: var(--muted); border: 1px solid transparent; white-space: nowrap; }
.ext-tab:hover { color: var(--text); border-color: var(--line); }
.ext-tab[aria-current="page"] { color: var(--text); background: var(--card); border-color: color-mix(in srgb, var(--brand) 55%, var(--line)); }
.soon { font-size: 10.5px; font-weight: 800; letter-spacing: .04em; padding: 1px 7px; border-radius: 999px; background: color-mix(in srgb, var(--warn) 22%, transparent); color: var(--warn); }
.pill b.wait { color: var(--warn); }
.notify { display: flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 600px) {
  footer .wrap > span:last-child { display: flex; flex-wrap: wrap; gap: 6px 16px; }
  footer .wrap > span:last-child a { margin-left: 0; }
  nav .btn-ghost.btn-sm { padding: 7px 10px; font-size: 13px; }
}

/* ---------- Restraint pass (2026-11-27): must not look AI-made ----------
   Plain hierarchy instead of the generated-landing-page kit: no glowing pill
   badges, no orange second headline line, no fake window dots, no hover
   lifts, smaller corners, and orange kept for the main button only. */
.btn, .btn-sm { border-radius: 8px; }
.btn:hover { transform: none; box-shadow: none; }
.pill { border: 0; background: none; padding: 0; border-radius: 0; color: var(--muted); }
.pill b { display: none; }
h1 .grad { color: inherit; }
.mock { border-radius: 10px; box-shadow: none; }
.mock-bar i { display: none; }
.card, .step, .stat, details { border-radius: 10px; }
.card:hover { transform: none; }
.card .ic { background: var(--bg-2); border: 1px solid var(--line); border-radius: 8px; }
.card .ic:empty { display: none; }
.step::before { background: none; border: 1px solid var(--line); color: var(--text, #fff); font-weight: 700; }
ul.ticks li::before { background: none; color: var(--ok); }
.new, .soon { border-radius: 4px; letter-spacing: 0; }
.final { border-radius: 12px; }
.shot { border-radius: 10px; box-shadow: none; }
.ext-tab { border-radius: 6px; }
.logo { white-space: nowrap; }
