/* PDTHUB — the product's own palette, so the site and the till look like one
   thing. Anything a visitor recognises here they will recognise on the screen
   in front of them at the counter. */

:root {
    --bg: #181a20;
    --surface: #21242c;
    --surface-alt: #2a2e38;
    --border: #3a3f4c;
    --text: #eceff4;
    --muted: #969eaf;
    --accent: #388ee0;
    --success: #2f9e63;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font: 16px/1.65 "Segoe UI", system-ui, -apple-system, sans-serif;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 780px; }
.center { text-align: center; }

/* ------------------------------------------------------------------ bar -- */

.bar {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 14px 24px;
    background: rgba(24, 26, 32, .92);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
}

.brand { flex: none; }
.brand img { width: 150px; }

.bar-links { display: flex; gap: 22px; flex: 1; }
.bar-links a { color: var(--muted); font-size: 14.5px; }
.bar-links a:hover { color: var(--text); text-decoration: none; }

.bar-right { display: flex; align-items: center; gap: 12px; }

#lang {
    background: var(--surface);
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 7px 10px;
    font: inherit;
    font-size: 14px;
    cursor: pointer;
}

/* --------------------------------------------------------------- buttons -- */

.btn {
    display: inline-block;
    padding: 13px 26px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 15px;
    border: 1px solid transparent;
    cursor: pointer;
}
.btn:hover { text-decoration: none; }

.btn-solid { background: var(--accent); color: #fff; }
.btn-solid:hover { background: #2f7fcc; }

.btn-ghost {
    background: transparent;
    color: var(--text);
    border-color: var(--border);
}
.btn-ghost:hover { border-color: var(--accent); }

.bar .btn { padding: 8px 16px; font-size: 14px; }

/* ----------------------------------------------------------------- hero -- */

.hero {
    padding: 96px 0 80px;
    /* A wash rather than a picture: the screenshots below are the evidence,
       and a stock photo above them would only get in their way. */
    background:
        radial-gradient(900px 400px at 50% -80px, rgba(56, 142, 224, .18), transparent 70%),
        var(--bg);
    text-align: center;
}

.eyebrow {
    color: var(--accent);
    font-size: 13.5px;
    font-weight: 600;
    letter-spacing: .09em;
    text-transform: uppercase;
    margin: 0 0 14px;
}

h1 {
    font-size: clamp(32px, 5.2vw, 52px);
    line-height: 1.12;
    margin: 0 0 20px;
    letter-spacing: -.02em;
}

h2 {
    font-size: clamp(25px, 3.4vw, 34px);
    line-height: 1.2;
    margin: 0 0 18px;
    letter-spacing: -.01em;
}

h3 { font-size: 19px; margin: 0 0 8px; }

.lead {
    font-size: 18px;
    color: var(--muted);
    max-width: 720px;
    margin: 0 auto 30px;
}

.hero .lead { margin-bottom: 34px; }

.cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------------------------------------------------------------- bands -- */

.band { padding: 78px 0; border-top: 1px solid var(--border); }
.band.alt { background: #1b1e25; }

.band h2 { text-align: center; }
.band .eyebrow { text-align: center; }
.band.alt .lead, .band .lead { text-align: center; }

.ticks { list-style: none; padding: 0; margin: 26px 0 0; }

.ticks li {
    position: relative;
    padding: 0 0 0 34px;
    margin-bottom: 14px;
    color: var(--muted);
}

/* A tick rather than a bullet: every line here is a thing it does, not an
   item on a list. */
.ticks li::before {
    content: "";
    position: absolute;
    left: 6px;
    top: 9px;
    width: 8px;
    height: 14px;
    border: solid var(--success);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.note {
    margin-top: 26px;
    padding-top: 18px;
    border-top: 1px solid var(--border);
    color: var(--muted);
    font-size: 14.5px;
}

/* -------------------------------------------------------------- figures -- */

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 34px;
    margin-top: 40px;
}

.split figure, .wide figure { margin: 0; }

.split img, .wide img {
    border-radius: 12px;
    border: 1px solid var(--border);
    background: var(--surface);
}

.split figcaption { padding-top: 18px; }
.split figcaption p { color: var(--muted); margin: 0; }

.wide {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 40px;
    align-items: center;
    margin-top: 40px;
}

.wide .lead { text-align: left; margin: 0 0 6px; }
.wide .ticks { margin-top: 18px; }

/* ----------------------------------------------------------------- grid -- */

.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.grid article {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
}

.grid p { color: var(--muted); margin: 0; font-size: 15px; }

/* --------------------------------------------------------------- footer -- */

footer {
    border-top: 1px solid var(--border);
    padding: 28px 0;
    color: var(--muted);
    font-size: 14.5px;
}

.foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.foot p { margin: 0; }

/* ------------------------------------------------------------ narrower -- */

@media (max-width: 900px) {
    .split, .wide, .grid { grid-template-columns: 1fr; }

    /* The links go before the language picker and the sign-in button do:
       on a phone the two that matter are "what does it cost" and "let me in". */
    .bar { flex-wrap: wrap; gap: 12px; }
    .bar-links { order: 3; width: 100%; overflow-x: auto; gap: 18px; }
    .bar-right { margin-left: auto; }

    .hero { padding: 64px 0 56px; }
    .band { padding: 56px 0; }
}

/* ------------------------------------------------------------------ form -- */

.form { max-width: 760px; margin: 34px auto 0; text-align: left; }

.row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.form label { display: block; }
.form label.full { margin-bottom: 18px; }

.form label span {
    display: block;
    margin-bottom: 7px;
    font-size: 14px;
    color: var(--muted);
}

.form input,
.form select,
.form textarea {
    width: 100%;
    padding: 12px 14px;
    background: var(--bg);
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: 9px;
    font: inherit;
    font-size: 15px;
}

.form textarea { resize: vertical; min-height: 96px; }

.form input:focus,
.form select:focus,
.form textarea:focus {
    outline: none;
    border-color: var(--accent);
}

/* Off-screen rather than display:none — some bots skip what is not rendered,
   and the point is that they DO fill it in. */
.trap {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.form-foot {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.form-foot .note {
    margin: 0;
    padding: 0;
    border: 0;
    flex: 1;
    min-width: 220px;
}

.form-foot .note.ok  { color: var(--success); }
.form-foot .note.bad { color: #d9534f; }

.form button[disabled] { opacity: .6; cursor: default; }

@media (max-width: 700px) {
    .row { grid-template-columns: 1fr; }
}
