/* kharaoke-ng.com - the app's own colours and shapes, so the website and the app read as one thing */
:root {
  --bg: #0f1115; --bg-elev: #171a21; --bg-elev-2: #1e222b; --border: #2a2f3a; --text: #eef1f7; --muted: #8a92a3;
  --primary: #6a5cff; --accent: #22c8a0; --amber: #ffa726; --pink: #ff3d8b; --danger: #ff5e5e; --radius: 14px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; }
a { color: var(--accent); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.wrap { max-width: 880px; margin: 0 auto; padding: 0 20px; }
header.top { border-bottom: 1px solid var(--border); background: var(--bg-elev); position: sticky; top: 0; z-index: 5; }
header.top .wrap { display: flex; align-items: center; gap: 18px; min-height: 60px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.brand img.mark { height: 30px; width: auto; }
.brand img.name { height: 20px; width: auto; }
nav a { color: var(--text); text-decoration: none; padding: 8px 4px; font-weight: 600; }
nav a[aria-current="page"] { color: var(--accent); }
nav { display: flex; gap: 14px; }
main { padding: 28px 0 56px; }
h1 { font-size: clamp(26px, 5vw, 38px); line-height: 1.2; margin: 8px 0 12px; }
h2 { font-size: 21px; margin: 30px 0 10px; }
h3 { font-size: 17px; margin: 18px 0 6px; }
p.lead { font-size: 18px; color: var(--muted); max-width: 62ch; }
.muted { color: var(--muted); }
.card { background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 20px; margin: 14px 0; }
.grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.grid .card { margin: 0; }
.card h3 { margin-top: 0; }
.tag { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--bg); background: var(--amber); border-radius: 999px; padding: 2px 10px; }
.tag.green { background: var(--accent); } .tag.pink { background: var(--pink); color: #fff; }
ul.plain { padding-left: 20px; margin: 8px 0; }
ul.plain li { margin: 4px 0; }
.btn { display: inline-block; background: var(--accent); color: #06231c; font-weight: 700; border: 0; border-radius: 12px; padding: 12px 20px; font-size: 16px; text-decoration: none; cursor: pointer; }
.btn.ghost { background: transparent; color: var(--text); border: 1px solid var(--border); }
.btn[disabled] { opacity: .6; cursor: default; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 18px 0; }
/* forms */
form .section { margin: 22px 0; }
form .section > h2 { margin: 0 0 4px; }
form .section > p.muted { margin: 0 0 12px; }
.fields { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.wide { grid-column: 1 / -1; }
label, legend { font-weight: 600; }
.hint { font-size: 14px; color: var(--muted); font-weight: 400; }
input[type=text], input[type=email], input[type=tel], select, textarea { width: 100%; background: var(--bg-elev-2); color: var(--text); border: 1px solid var(--border); border-radius: 10px; padding: 11px 12px; font: inherit; }
textarea { min-height: 110px; resize: vertical; }
input[aria-invalid=true], select[aria-invalid=true], textarea[aria-invalid=true] { border-color: var(--danger); }
fieldset { border: 0; padding: 0; margin: 0; }
.choice { display: flex; gap: 12px; align-items: flex-start; background: var(--bg-elev-2); border: 1px solid var(--border); border-radius: 12px; padding: 12px 14px; margin: 8px 0; cursor: pointer; }
.choice input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--accent); flex: none; }
.choice strong { display: block; }
.choice:has(input:checked) { border-color: var(--accent); }
.inline { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 8px; }
.inline label { display: flex; gap: 8px; align-items: center; font-weight: 400; cursor: pointer; }
.inline input { width: 18px; height: 18px; accent-color: var(--accent); }
.summary { width: 100%; border-collapse: collapse; }
.summary td { padding: 8px 0; border-bottom: 1px solid var(--border); vertical-align: top; }
.summary td:first-child { width: 58%; }
.summary td:last-child { text-align: right; padding-left: 16px; }   /* wraps: "confirmed with you before payment" is long on a phone */
.summary tr.total td { border-bottom: 0; font-weight: 700; font-size: 18px; }
.msg { min-height: 1.4em; margin: 10px 0; }
.msg.bad { color: var(--danger); }
.done { border-color: var(--accent); }
.done h2 { margin-top: 0; }
.ref { font: 700 20px/1.2 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .04em; user-select: all; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }   /* the field only a robot fills */
details.help { background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--radius); padding: 0 18px; margin: 10px 0; }
details.help > summary { cursor: pointer; font-weight: 700; padding: 14px 0; list-style-position: inside; }
details.help[open] > summary { border-bottom: 1px solid var(--border); margin-bottom: 10px; }
details.help ol, details.help ul { padding-left: 22px; }
details.help li { margin: 6px 0; }
footer { border-top: 1px solid var(--border); color: var(--muted); font-size: 14px; padding: 22px 0 40px; }
footer a { color: var(--muted); }
@media (max-width: 520px) { .brand img.name { display: none; } nav { gap: 10px; } }
@media (prefers-reduced-motion: no-preference) { .btn { transition: filter .15s; } .btn:hover { filter: brightness(1.08); } }
