/* dealopy.com — one accent colour, dark text on light, mobile first. */
:root {
  --ink: #16181d;
  --ink-2: #4b5160;
  --muted: #6b7280;
  --line: #e5e7eb;
  --bg: #ffffff;
  --bg-alt: #f6f7fa;
  --bg-dark: #14161c;
  --accent: #5b3df5;
  --accent-ink: #ffffff;
  --accent-soft: #eeeafe;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(16, 18, 29, .06), 0 12px 32px -12px rgba(16, 18, 29, .18);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 2px; }
h1, h2, h3 { margin: 0; line-height: 1.15; letter-spacing: -.015em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; border-radius: 10px; border: 1px solid transparent;
  font-weight: 600; font-size: 15px; line-height: 1.2; cursor: pointer; text-decoration: none;
  transition: background-color .15s, border-color .15s, transform .05s;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: #4b2fd6; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink-2); }
.btn-sm { padding: 9px 14px; font-size: 14px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .6; cursor: default; }

/* Header */
.top { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.88); backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--line); }
.top-inner { display: flex; align-items: center; gap: 20px; min-height: 60px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; letter-spacing: -.01em; color: var(--ink); }
.brand:hover { text-decoration: none; }
.mark { width: 26px; height: 26px; border-radius: 7px; background: var(--accent); position: relative; flex: none; }
.mark::after {
  content: ""; position: absolute; left: 6px; top: 7px; width: 14px; height: 9px; border-radius: 4px 4px 4px 1px; background: #fff;
}
.nav { display: none; gap: 22px; font-size: 14.5px; font-weight: 500; }
.nav a { color: var(--ink-2); }
.nav a:hover { color: var(--ink); text-decoration: none; }
.top-inner .btn { margin-left: auto; }

/* Hero */
.hero { padding: 48px 0 32px; background:
  radial-gradient(900px 400px at 85% -10%, var(--accent-soft), transparent 70%); }
.hero-grid { display: grid; gap: 40px; align-items: center; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
h1 { font-size: clamp(32px, 6vw, 52px); font-weight: 800; }
.lead { margin-top: 18px; font-size: 18px; color: var(--ink-2); max-width: 54ch; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero-points { margin-top: 26px; display: grid; gap: 8px; color: var(--ink-2); font-size: 15px; }
.hero-points li { padding-left: 26px; position: relative; }
.hero-points li::before {
  content: ""; position: absolute; left: 0; top: 7px; width: 14px; height: 8px;
  border-left: 2.5px solid var(--accent); border-bottom: 2.5px solid var(--accent); transform: rotate(-45deg);
}

/* Widget mock */
.mock-wrap { justify-self: center; width: 100%; max-width: 380px; }
.mock {
  background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow);
  overflow: hidden; display: flex; flex-direction: column; font-size: 14px; line-height: 1.45;
}
.mock-head { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--accent); position: relative; flex: none; }
.avatar::before { content: ""; position: absolute; left: 12px; top: 8px; width: 12px; height: 12px; border-radius: 50%; background: #fff; }
.avatar::after { content: ""; position: absolute; left: 7px; top: 22px; width: 22px; height: 12px; border-radius: 11px 11px 0 0; background: #fff; }
.who { display: grid; line-height: 1.25; }
.who strong { font-size: 14.5px; }
.who span { font-size: 12px; color: var(--muted); }
.dots { margin-left: auto; display: inline-flex; gap: 3px; }
.dots i { width: 4px; height: 4px; border-radius: 50%; background: var(--muted); display: block; }
.mock-body { padding: 16px; display: grid; gap: 10px; background: var(--bg-alt); }
.msg { max-width: 86%; padding: 10px 13px; border-radius: 14px; }
.msg.them { justify-self: end; background: var(--accent); color: #fff; border-bottom-right-radius: 4px; }
.msg.me { justify-self: start; background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.card { display: grid; gap: 2px; margin-top: 10px; padding: 9px 11px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg-alt); }
.card-title { font-weight: 600; font-size: 13px; }
.card-meta { font-size: 12px; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; }
.chips span { font-size: 12.5px; font-weight: 600; color: var(--accent); background: #fff; border: 1px solid var(--accent); border-radius: 999px; padding: 5px 11px; }
.mock-foot { display: flex; gap: 8px; align-items: center; padding: 12px 14px 8px; border-top: 1px solid var(--line); }
.input { flex: 1; padding: 9px 12px; border: 1px solid var(--line); border-radius: 12px; color: var(--muted); font-size: 14px; }
.send { width: 36px; height: 36px; border-radius: 10px; background: var(--accent); position: relative; flex: none; }
.send::after { content: ""; position: absolute; left: 12px; top: 10px; width: 10px; height: 10px; border-top: 2.5px solid #fff; border-right: 2.5px solid #fff; transform: rotate(45deg); }
.mock-pow { font-size: 11px; color: var(--muted); text-align: center; padding: 0 14px 10px; }
.mock-note { margin-top: 12px; font-size: 13px; color: var(--muted); text-align: center; }

/* Proof strip */
.proof { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-alt); }
.proof-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 28px; min-height: 56px; font-weight: 600; }
.proof-label { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.proof a { color: var(--ink); font-size: 16px; }

/* Sections */
.section { padding: 64px 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--bg-dark); color: #e8e9ee; }
h2 { font-size: clamp(26px, 4vw, 36px); font-weight: 800; }
.sub { margin-top: 10px; font-size: 17px; color: var(--ink-2); max-width: 60ch; }
.section-dark .sub { color: #b4b8c6; }

/* Steps */
.steps { display: grid; gap: 28px; margin-top: 36px; counter-reset: step; }
.steps li { position: relative; padding-left: 56px; }
.num { position: absolute; left: 0; top: -2px; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); font-weight: 800; }
.steps h3 { font-size: 19px; font-weight: 700; }
.steps p { margin-top: 6px; color: var(--ink-2); }
.steps em { font-style: normal; font-weight: 600; color: var(--ink); }
.embed { margin-top: 36px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-alt); padding: 16px 18px; }
.embed-label { display: block; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; color: var(--muted); margin-bottom: 8px; }
pre { margin: 0; overflow-x: auto; font: 13.5px/1.5 var(--mono); color: var(--ink); }

/* Feature grid */
.grid { display: grid; gap: 16px; margin-top: 36px; }
.card-f { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card-f h3 { font-size: 17px; font-weight: 700; }
.card-f p { margin-top: 8px; color: var(--ink-2); font-size: 15px; }

/* Console */
.console-grid { display: grid; gap: 36px; align-items: center; }
.checks { display: grid; gap: 12px; margin-top: 24px; color: var(--ink-2); }
.checks li { position: relative; padding-left: 28px; }
.checks li::before { content: ""; position: absolute; left: 2px; top: 8px; width: 13px; height: 7px; border-left: 2.5px solid var(--accent); border-bottom: 2.5px solid var(--accent); transform: rotate(-45deg); }
.checks strong { color: var(--ink); }
.checks.light { color: #c6c9d4; }
.checks.light strong { color: #fff; }
.console-mock { border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; background: #fff; font-size: 13px; }
.cm-bar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; background: var(--bg-alt); border-bottom: 1px solid var(--line); }
.cm-bar span { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.cm-bar em { margin-left: 10px; font-style: normal; font-size: 12px; color: var(--muted); font-family: var(--mono); }
.cm-body { display: grid; grid-template-columns: 120px 1fr; min-height: 220px; }
.cm-side { border-right: 1px solid var(--line); padding: 10px 8px; display: grid; align-content: start; gap: 2px; }
.cm-side span { padding: 7px 10px; border-radius: 8px; color: var(--ink-2); display: flex; justify-content: space-between; }
.cm-side span.on { background: var(--accent-soft); color: var(--accent); font-weight: 600; }
.cm-side i { font-style: normal; font-size: 11px; background: var(--accent); color: #fff; border-radius: 999px; padding: 0 6px; }
.cm-main { padding: 10px; display: grid; align-content: start; gap: 8px; }
.cm-row { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; }
.cm-row b { font-size: 13px; }
.cm-row span { grid-column: 1; color: var(--ink-2); font-size: 12.5px; }
.cm-row em { grid-row: 1 / span 2; font-style: normal; color: var(--muted); font-size: 12px; align-self: start; }
.cm-row.dim { opacity: .6; }

/* Customers */
.customers { display: grid; gap: 16px; margin-top: 36px; }
.customer { display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; color: var(--ink); transition: border-color .15s; }
.customer:hover { text-decoration: none; border-color: var(--accent); }
.c-name { font-weight: 800; font-size: 20px; display: block; }
.c-url { color: var(--accent); font-size: 14px; font-weight: 600; }
.customer p { margin-top: 10px; color: var(--ink-2); font-size: 15px; }

/* Roadmap */
.next { display: grid; gap: 16px; margin-top: 36px; }
.next-item { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.tag { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; background: var(--accent); color: #fff; margin-bottom: 10px; }
.tag-soon { background: var(--accent-soft); color: var(--accent); }
.next-item strong { display: block; }
.next-item p { margin-top: 6px; color: var(--ink-2); font-size: 15px; }

/* Request access */
.request-grid { display: grid; gap: 36px; }
.section-dark h2 { color: #fff; }
.form { display: grid; gap: 16px; background: #fff; color: var(--ink); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.field { display: grid; gap: 6px; }
.field label { font-size: 14px; font-weight: 600; }
.field input, .field textarea { width: 100%; padding: 11px 13px; border: 1px solid var(--line); border-radius: 10px; background: #fff; font-size: 16px; }
.field textarea { resize: vertical; min-height: 84px; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: transparent; }
.field [aria-invalid="true"] { border-color: #d93025; }
.err { font-size: 13px; color: #b3261e; min-height: 0; }
.err:empty { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 13px; color: var(--muted); }
.form-status { font-size: 14px; color: #b3261e; }
.form-status:empty { display: none; }
.form-done { background: #fff; color: var(--ink); border-radius: var(--radius); padding: 28px 24px; box-shadow: var(--shadow); }
.form-done h3 { font-size: 22px; }
.form-done p { margin-top: 10px; color: var(--ink-2); }

/* Footer */
.foot { border-top: 1px solid var(--line); padding: 28px 0; font-size: 14px; }
.foot-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 18px; }
.foot nav a { color: var(--ink-2); }
.copy { margin-left: auto; color: var(--muted); }

/* Prose pages */
.prose-page { padding: 48px 0 72px; }
.prose { max-width: 720px; }
.prose h1 { font-size: clamp(30px, 5vw, 40px); }
.prose h2 { font-size: 22px; margin-top: 36px; }
.prose p, .prose li { margin-top: 12px; color: var(--ink-2); }
.prose ul { list-style: disc; padding-left: 22px; }
.prose strong { color: var(--ink); }
.muted { color: var(--muted); font-size: 14px; }

/* Larger screens */
@media (min-width: 720px) {
  .nav { display: flex; }
  .hero { padding: 72px 0 48px; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .customers, .next { grid-template-columns: repeat(2, 1fr); }
  .next { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .steps li { padding-left: 0; padding-top: 56px; }
  .num { top: 0; }
}
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 1.15fr .85fr; gap: 56px; }
  .mock-wrap { justify-self: end; }
  .grid { grid-template-columns: repeat(4, 1fr); }
  .console-grid { grid-template-columns: 1fr 1fr; }
  .steps-4 { grid-template-columns: repeat(4, 1fr); gap: 28px; }
  .request-grid { grid-template-columns: 1fr 1fr; align-items: start; }
  .form-done { grid-column: 2; }
  .section { padding: 88px 0; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }
