/* DX Pro — dxpro.co.uk. One stylesheet for every page. Dark console look,
   finger-sized controls (44 px minimum), nothing that only works on hover. */
:root {
  --bg: #05070b;
  --bg2: #0a0f16;
  --panel: #0e151f;
  --panel2: #131c28;
  --line: #1d2a3a;
  --line2: #2a3b50;
  --text: #e6edf5;
  --dim: #93a4b8;
  --faint: #5d6f84;
  --accent: #39e0c8;
  --accent2: #ffb547;
  --hot: #ff5d73;
  --ok: #5be37d;
  --blue: #59a8ff;
  --radius: 12px;
  --hit: 44px;
  --max: 1180px;
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.6 var(--sans); overflow-x: hidden;
}
img, svg, canvas { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3.4vw, 2.3rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; color: var(--dim); }
code, .mono { font-family: var(--mono); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }
.accent { color: var(--accent); }
.amber { color: var(--accent2); }
.eyebrow {
  font: 600 .78rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 14px; display: inline-block;
}

/* ── Header ─────────────────────────────────────────── */
.site-head {
  position: sticky; top: 0; z-index: 50;
  background: rgba(5, 7, 11, .86); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-head .wrap { display: flex; align-items: center; gap: 12px; min-height: 64px; }
.brand { display: flex; align-items: center; min-height: 44px; gap: 10px; color: var(--text); font-weight: 800; font-size: 1.2rem; }
.brand:hover { text-decoration: none; }
.brand .mark {
  width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--accent), #1a7f9a); color: #021014;
  font: 800 .85rem var(--mono);
}
.nav { display: flex; gap: 2px; margin-left: auto; align-items: center; }
.nav a {
  color: var(--dim); padding: 0 12px; min-height: var(--hit); display: flex; align-items: center;
  border-radius: 8px; font-weight: 500; font-size: .95rem;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); background: var(--panel); text-decoration: none; }
.nav .btn { margin-left: 8px; }
.menu-btn {
  display: none; margin-left: auto; width: var(--hit); height: var(--hit);
  background: var(--panel); border: 1px solid var(--line2); border-radius: 10px; color: var(--text);
  font-size: 1.3rem; cursor: pointer;
}
@media (max-width: 900px) {
  .menu-btn { display: grid; place-items: center; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 64px; flex-direction: column;
    align-items: stretch; background: var(--bg2); border-bottom: 1px solid var(--line); padding: 8px 16px 16px;
  }
  .nav.open { display: flex; }
  .nav a { min-height: 52px; font-size: 1.05rem; }
  .nav .btn { margin: 8px 0 0; justify-content: center; }
}

/* ── Buttons ─────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: var(--hit); padding: 0 20px; border-radius: 10px; border: 1px solid var(--line2);
  background: var(--panel2); color: var(--text); font: 600 1rem var(--sans); cursor: pointer;
  text-decoration: none; touch-action: manipulation; user-select: none;
}
.btn:hover { text-decoration: none; border-color: var(--accent); }
.btn:active { transform: translateY(1px); }
.btn.primary { background: var(--accent); color: #021014; border-color: var(--accent); }
.btn.primary:hover { filter: brightness(1.08); }
.btn.amber { background: var(--accent2); color: #1d1200; border-color: var(--accent2); }
.btn.big { min-height: 56px; padding: 0 28px; font-size: 1.08rem; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ── Sections ────────────────────────────────────────── */
section { padding: 72px 0; }
section.tight { padding: 40px 0; }
.alt { background: var(--bg2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.lead { font-size: 1.15rem; color: var(--dim); max-width: 760px; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

.hero { padding: 64px 0 48px; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -40% -10% auto -10%; height: 120%;
  background: radial-gradient(60% 50% at 50% 0%, rgba(57, 224, 200, .16), transparent 70%);
  pointer-events: none;
}
.hero .wrap { position: relative; }
.hero p.lead { font-size: 1.22rem; }
.hero .btn-row { margin: 28px 0 18px; }
.hero .note { font-size: .92rem; color: var(--faint); }

.grid { display: grid; gap: 18px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) { .g3, .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } }

.card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px;
}
.card h3 { margin-top: 4px; }
.card p:last-child { margin-bottom: 0; }
.card .ico {
  width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center;
  background: rgba(57, 224, 200, .1); color: var(--accent); font: 700 1.15rem var(--mono); margin-bottom: 12px;
}
a.card { display: block; color: inherit; transition: border-color .15s; }
a.card:hover { border-color: var(--accent); text-decoration: none; }
a.card .more { color: var(--accent); font-weight: 600; font-size: .95rem; }

.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.split.rev > :first-child { order: 2; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 24px; } .split.rev > :first-child { order: 0; } }

.ticks { list-style: none; padding: 0; margin: 0 0 1em; }
.ticks li { padding: 6px 0 6px 30px; position: relative; color: var(--dim); }
.ticks li::before { content: "✓"; position: absolute; left: 4px; top: 6px; color: var(--accent); font-weight: 800; }
.ticks li strong { color: var(--text); }

.pill {
  display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 99px;
  font: 600 .74rem/1.6 var(--mono); letter-spacing: .04em; border: 1px solid var(--line2); color: var(--dim);
}
.pill.ok { color: var(--ok); border-color: rgba(91, 227, 125, .4); background: rgba(91, 227, 125, .06); }
.pill.dev { color: var(--accent2); border-color: rgba(255, 181, 71, .4); background: rgba(255, 181, 71, .06); }
.pill.plan { color: var(--blue); border-color: rgba(89, 168, 255, .4); background: rgba(89, 168, 255, .06); }

/* Mock screen frame used for illustrations */
.screen {
  background: #03050a; border: 1px solid var(--line2); border-radius: 14px; padding: 10px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .55), 0 0 0 1px rgba(57, 224, 200, .06);
}
.screen canvas { width: 100%; height: auto; border-radius: 8px; }

/* Tables */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; min-width: 640px; }
th, td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--panel2); font-size: .85rem; color: var(--dim); font-weight: 600; }
td { font-size: .95rem; color: var(--dim); }
td:first-child { color: var(--text); font-weight: 500; }
tr:last-child td { border-bottom: 0; }
.yes { color: var(--ok); font-weight: 700; }
.no { color: var(--faint); }
.part { color: var(--accent2); }

/* Forms */
label { display: block; font-weight: 600; margin: 0 0 6px; }
input[type=email], input[type=text] {
  width: 100%; min-height: 52px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--line2);
  background: var(--bg2); color: var(--text); font: 1.05rem var(--sans);
}
input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; font-weight: 400; color: var(--dim); }
.check input { width: 26px; height: 26px; flex: 0 0 26px; margin: 0; accent-color: var(--accent); }
.msg { padding: 14px 16px; border-radius: 10px; margin: 14px 0; display: none; }
.msg.show { display: block; }
.msg.err { background: rgba(255, 93, 115, .1); border: 1px solid rgba(255, 93, 115, .4); color: #ffc2cb; }
.msg.ok { background: rgba(91, 227, 125, .08); border: 1px solid rgba(91, 227, 125, .4); color: #c8f7d4; }

/* Price block */
.price { font: 800 3.4rem/1 var(--sans); color: var(--text); }
.price small { font-size: 1rem; font-weight: 500; color: var(--dim); }

/* FAQ */
details { border: 1px solid var(--line); border-radius: 10px; background: var(--panel); margin-bottom: 10px; }
summary { cursor: pointer; padding: 0 18px; min-height: 56px; display: flex; align-items: center; font-weight: 600; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; margin-left: auto; color: var(--accent); font: 700 1.3rem var(--mono); }
details[open] summary::after { content: "–"; }
details > div { padding: 0 18px 16px; color: var(--dim); }

/* CTA band */
.cta { text-align: center; padding: 64px 0; background:
  radial-gradient(50% 80% at 50% 100%, rgba(57, 224, 200, .14), transparent 70%), var(--bg2);
  border-top: 1px solid var(--line); }
.cta .btn-row { justify-content: center; margin-top: 22px; }

/* Breadcrumb on example pages */
.crumbs { font-size: .9rem; color: var(--faint); margin-bottom: 18px; }
.crumbs a { color: var(--dim); }

/* ── Footer ──────────────────────────────────────────── */
.site-foot { border-top: 1px solid var(--line); padding: 44px 0 32px; background: var(--bg); }
.site-foot .cols { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 24px; }
.site-foot h4 { margin: 0 0 10px; font-size: .85rem; color: var(--dim); text-transform: uppercase; letter-spacing: .1em; }
.site-foot a { display: flex; align-items: center; min-height: 44px; color: var(--dim); }
.site-foot a:hover { color: var(--text); }
.site-foot .small { color: var(--faint); font-size: .85rem; margin-top: 26px; }
@media (max-width: 760px) { .site-foot .cols { grid-template-columns: 1fr 1fr; } .site-foot .cols > :first-child { grid-column: 1 / -1; } }
