/* Deliberately plain: white, system font, native-looking form. The only designed things on these
   pages are the screenshots of the newspaper-style profiles and the "Read on Mining Profiles"
   partner button. Elements marked .todo are content still to be supplied (README). */

:root {
  --bg: #ffffff;
  --text: #111111;
  --muted: #555555;
  --line: #dddddd;
  --field: #8f8f8f;
  --link: #0645ad;
  --btn: #0b57d0;
  --btn-hover: #0842a0;
  --btn-text: #ffffff;
  --todo: #b00020;
  --todo-bg: #fafafa;
  --hover: #f2f5fb;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121212;
    --text: #eeeeee;
    --muted: #aaaaaa;
    --line: #333333;
    --field: #777777;
    --link: #8ab4f8;
    --btn: #8ab4f8;
    --btn-hover: #aecbfa;
    --btn-text: #0b1a33;
    --todo: #ff8a9a;
    --todo-bg: #1c1c1c;
    --hover: #1e2633;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
[hidden] { display: none !important; }
p { margin: 0; }
a { color: var(--link); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--btn); outline-offset: 2px; }
.vh { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.wrap { max-width: 640px; margin: 0 auto; padding: 16px 16px 40px; text-align: center; }
.brand { font-size: 15px; font-weight: 700; }
.partner { margin-top: 4px; font-size: 15px; color: var(--muted); }
.kicker { margin: 32px 0 8px; font-size: 15px; color: var(--muted); }
.kicker--step { font-style: italic; }
h1 { margin: 0; font-size: 28px; line-height: 1.2; }
h1.booked { margin-top: 32px; line-height: 1.3; }
h2 { margin: 44px 0 12px; font-size: 21px; line-height: 1.3; }
h2.tight { margin-bottom: 4px; }
h3 { margin: 16px 0 2px; font-size: 17px; line-height: 1.4; }
.lead { margin-top: 16px; }
.strong { font-weight: 700; }
ol, ul { margin: 0; padding-left: 0; list-style-position: inside; }
li { margin: 0 0 6px; }
li:last-child { margin-bottom: 0; }

.btn {
  display: flex; align-items: center; justify-content: center;
  width: 100%; max-width: 420px; min-height: 52px; margin: 24px auto 0; padding: 12px 16px;
  background: var(--btn); color: var(--btn-text); border: 0; border-radius: 8px;
  font: inherit; font-size: 17px; font-weight: 600; text-align: center; text-decoration: none; cursor: pointer;
}
.btn:hover { background: var(--btn-hover); }
.btn[disabled] { opacity: 0.6; cursor: progress; }
.small { margin-top: 10px; font-size: 15px; color: var(--muted); }
.note { font-style: italic; }

.shots { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-top: 28px; }
.shots img { display: block; height: auto; border: 1px solid var(--line); }
.shots .desk { width: 66%; }
.shots .phone { width: 30%; }

/* The approved partner button (miningprofiles/tests/partner-demo/DESIGN.md): light on light pages. */
.pb { display: inline-block; line-height: 0; border-radius: 6px; text-decoration: none; border: 0; }
.pb img { border: 0; max-width: 100%; height: auto; }
.pb .light { display: block; }
.pb .dark { display: none; }
@media (prefers-color-scheme: dark) {
  .pb .light { display: none; }
  .pb .dark { display: block; }
}

/* How it works: a timeline, the same design as the warm German page. The block is centred,
   its text left-aligned so the line and dots read top to bottom. */
.timeline { list-style: none; max-width: 420px; margin: 20px auto 0; padding: 0 0 0 24px; border-left: 3px solid var(--btn); text-align: left; }
.timeline li { position: relative; margin: 0 0 20px; }
.timeline li:last-child { margin-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: -35px; top: 1px; box-sizing: content-box; width: 14px; height: 14px; border-radius: 50%; background: var(--btn); border: 3px solid var(--bg); }
.timeline .when { display: block; font-size: 13px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--btn); }
.timeline strong { display: block; font-size: 18px; }

.who { display: flex; flex-direction: column; align-items: center; gap: 14px; }

/* Landing hero, the same look as the warm German page (german.css): a dark bar on top, a badge,
   a big headline with a highlighted phrase and a big button. The bar stays dark in dark mode. */
.topbar { padding: 12px 16px 14px; background: #0b2233; color: #ffffff; text-align: center; }
.topbar-line { font-size: 13px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.topbar-hi { color: #f6d15f; }
.topbar-boxes { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.topbar-box { display: inline-block; margin-top: 10px; padding: 6px 14px 7px; border-radius: 8px; background: #ecf5f8; color: #0b2233; }
.topbar-box b { display: block; font-size: 18px; line-height: 1.2; font-variant-numeric: tabular-nums; }
.topbar-box-label { display: block; font-size: 10px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #3d5a68; }
/* Seat colours as on the German page: yellow in the middle third, red in the bottom third. */
.topbar-box[data-free-tier="yellow"] { background: #f6d15f; }
.topbar-box[data-free-tier="yellow"] .topbar-box-label { color: #4a3b00; }
.topbar-box[data-free-tier="red"] { background: #c5221f; color: #ffffff; }
.topbar-box[data-free-tier="red"] .topbar-box-label { color: #ffe3e0; }
.badge { display: inline-block; margin-top: 28px; padding: 6px 14px; border: 1px solid var(--field); border-radius: 999px; font-size: 14px; font-weight: 700; letter-spacing: 0.02em; }
.kicker--hero { margin-top: 16px; }
.h1--big { font-size: 32px; line-height: 1.15; font-weight: 800; letter-spacing: -0.02em; }
.hl { padding: 0 3px; background: linear-gradient(180deg, transparent 56%, #f6d15f 56%); -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.lead--big { font-size: 18px; font-weight: 600; line-height: 1.45; }
.muted { color: var(--muted); }
.btn--big { min-height: 60px; padding: 14px 16px; border-radius: 10px; font-size: 19px; font-weight: 700; box-shadow: 0 6px 18px rgba(11, 87, 208, 0.28); }
@media (prefers-color-scheme: dark) {
  .hl { background: linear-gradient(180deg, transparent 56%, #6b5400 56%); }
}

/* Imprint and privacy policy: long text reads better left-aligned. */
.legal { text-align: left; }
.legal h2 { margin: 32px 0 6px; }
.legal p + p { margin-top: 10px; }
.who .photo { display: block; width: 96px; height: 96px; border-radius: 50%; }

/* The booking calendar (Cal.com inline embed; it sets its own height). */
.cal { width: 100%; min-height: 480px; margin-top: 28px; text-align: left; }

/* Content still to be supplied. */
.todo { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 14px; color: var(--todo); background: var(--todo-bg); border: 1px dashed var(--todo); padding: 0 4px; }
.todo--box { display: flex; align-items: center; justify-content: center; width: 100%; margin-top: 20px; padding: 16px; min-height: 200px; aspect-ratio: 16 / 9; text-align: center; line-height: 1.5; }
.todo--tall { aspect-ratio: auto; min-height: 360px; margin-top: 28px; }
.todo--field { aspect-ratio: auto; min-height: 96px; margin-top: 12px; }
.todo--inline { white-space: nowrap; }
h1 .todo { font-size: 17px; font-weight: 400; padding: 2px 6px; white-space: nowrap; }

/* Form */
.step { margin: 0 0 6px; font-size: 14px; color: var(--muted); }
.bar { height: 4px; background: var(--line); }
.bar i { display: block; height: 4px; background: var(--btn); }
.w1 { width: 14.3%; } .w2 { width: 28.6%; } .w3 { width: 42.9%; } .w4 { width: 57.1%; }
.w5 { width: 71.4%; } .w6 { width: 85.7%; } .w7 { width: 100%; }
.q { display: block; margin: 24px 0 12px; font-size: 22px; font-weight: 700; line-height: 1.3; }
.q .opt-note { display: block; margin-top: 2px; font-size: 16px; font-weight: 400; color: var(--muted); }
.field {
  display: block; width: 100%; min-height: 46px; margin: 0; padding: 10px 12px; text-align: left;
  font: inherit; font-size: 17px; color: var(--text); background: var(--bg);
  border: 1px solid var(--field); border-radius: 4px;
}
.field:focus { outline: 2px solid var(--btn); outline-offset: 1px; }
.field[aria-invalid="true"] { border-color: var(--todo); }
.error { margin-top: 8px; font-size: 15px; color: var(--todo); }
.formwrap { margin-top: 28px; }
.back { margin-top: 16px; font-size: 15px; }
.back--choice { margin-top: 20px; }

.sugs { list-style: none; margin: 4px 0 0; padding: 0; border: 1px solid var(--field); border-radius: 4px; overflow: hidden; background: var(--bg); text-align: left; }
.sugs li { margin: 0; }
.sugs .hint { padding: 8px 12px 0; font-size: 13px; color: var(--muted); }
.sug {
  display: block; width: 100%; min-height: 48px; margin: 0; padding: 10px 12px;
  text-align: left; font: inherit; font-size: 17px; line-height: 1.35; color: var(--text);
  background: var(--bg); border: 0; border-top: 1px solid var(--line); cursor: pointer;
}
.sugs li:first-child .sug, .sugs .hint + li .sug { border-top: 0; }
.sug:hover, .sug:focus-visible { background: var(--hover); outline: none; }
.sug strong { font-weight: 600; }
.sug .detail { display: block; font-size: 15px; color: var(--muted); }
.sug--row { display: flex; align-items: center; gap: 6px; }
.sug--row .ticker { color: var(--muted); white-space: nowrap; }
.sug--row .use { margin-left: auto; padding-left: 12px; font-size: 13px; color: var(--muted); white-space: nowrap; }

fieldset { margin: 24px 0 0; padding: 0; border: 0; min-width: 0; }
legend { display: block; margin: 0 0 14px; padding: 0; font-size: 22px; font-weight: 700; line-height: 1.3; }
.opts { display: flex; flex-direction: column; gap: 8px; }
.opt {
  position: relative; display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 50px; padding: 0 44px;
  border: 1px solid var(--line); border-radius: 6px; color: var(--text); text-decoration: none;
}
.opt:hover { border-color: var(--field); }
.opt:active { background: var(--hover); }
/* The dot stays at the left edge so the centred labels line up. */
.dot { position: absolute; left: 14px; top: 50%; width: 18px; height: 18px; margin-top: -9px; border: 2px solid var(--field); border-radius: 50%; }
.opt:hover .dot, .opt:focus-visible .dot { border-color: var(--btn); }
.opt:active .dot { background: var(--btn); border-color: var(--btn); }

.foot { margin-top: 48px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 14px; line-height: 1.9; color: var(--muted); }
.foot .todo { font-size: 13px; white-space: nowrap; }

/* Spacing helpers last, so they win over the component margins above. */
.mt8 { margin-top: 8px; }
.mt12 { margin-top: 12px; }
.mt20 { margin-top: 20px; }
.mt24 { margin-top: 24px; }
.mt28 { margin-top: 28px; }
