/* MinePro 2026 lead capture — EM Consulting booth #529.
   Values transcribed from the design handoff; keep them in step with design_handoff_minepro_lead. */

:root {
    /* Surfaces */
    --page-bg: #0B1524;
    --surface: #101E31;
    --hairline: rgba(255, 255, 255, .1);
    --hairline-strong: rgba(255, 255, 255, .14);
    --divider: rgba(255, 255, 255, .18);
    --toggle-bg: rgba(255, 255, 255, .08);

    /* Brand */
    --brand-navy: #12233C;
    --cyan: #1DCCD8;
    --cyan-hover: #5FE3EC;
    --gold: #F5B301;
    --gold-border: rgba(245, 179, 1, .35);

    /* Microsoft Fluent action colours */
    --ms-blue: #0F6CBD;
    --ms-blue-hover: #115EA3;
    --ms-blue-active: #0C3B5E;

    /* Text on the dark page */
    --text: #DCE5F0;
    --text-muted: #A7B6C9;
    --text-secondary: #C3CFDE;
    --text-dim: #93A3BA;
    --text-dimmer: #7E8FA5;

    /* Text on the white form card */
    --ink: #1B1B1B;
    --ink-sub: #5C5B59;
    --ink-faint: #8A8886;
    --placeholder: #9AA6B6;

    /* Fields, validation, confirmation */
    --field-border: #A19F9D;
    --field-underline: #605E5C;
    --error: #C50F1F;
    --success-bg: #DFF6DD;
    --success-fg: #0E700E;
    --ticket-bg: #F0F5FA;
    --ticket-border: #D6E5F3;

    --font-heading: 'Onest', 'Segoe UI', system-ui, sans-serif;
    --font-body: 'Golos Text', 'Segoe UI', system-ui, sans-serif;

    --content-max: 1180px;
    --gutter: 24px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: var(--page-bg);
    color: var(--text);
    font-family: var(--font-body);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--cyan);
    text-decoration: none;
}

a:hover {
    color: var(--cyan-hover);
    text-decoration: underline;
}

input::placeholder,
textarea::placeholder {
    color: var(--placeholder);
}

::selection {
    background: var(--cyan);
    color: var(--page-bg);
}

.is-hidden {
    display: none;
}

.page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.shell {
    max-width: var(--content-max);
    margin: 0 auto;
    width: 100%;
    padding: 0 var(--gutter);
}

/* ---------- Header ---------- */

.site-header {
    border-bottom: 1px solid var(--hairline);
    background: var(--page-bg);
    position: sticky;
    top: 0;
    z-index: 20;
}

.site-header__inner {
    height: 66px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.site-header__logo {
    height: 30px;
    width: auto;
    display: block;
}

.lang-toggle {
    display: flex;
    gap: 2px;
    background: var(--toggle-bg);
    border-radius: 5px;
    padding: 3px;
}

.lang-toggle__button {
    border: none;
    background: transparent;
    color: var(--text-dim);
    font-family: inherit;
    font-weight: 600;
    font-size: 12.5px;
    letter-spacing: .6px;
    padding: 6px 13px;
    border-radius: 4px;
    cursor: pointer;
}

.lang-toggle__button.is-active {
    background: var(--cyan);
    color: var(--page-bg);
}

/* ---------- Event bar ---------- */

.event-bar {
    border-bottom: 1px solid var(--hairline);
    background: var(--surface);
}

.event-bar__inner {
    padding-top: 16px;
    padding-bottom: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 16px 28px;
    align-items: center;
    justify-content: space-between;
}

.event-bar__event {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
}

.event-bar__name {
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 600;
    color: #fff;
    letter-spacing: -.2px;
}

.event-bar__divider {
    width: 1px;
    height: 18px;
    background: var(--divider);
}

.event-bar__date {
    font-size: 14px;
    color: var(--text-muted);
}

.event-bar__booth {
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: .4px;
    color: var(--page-bg);
    background: var(--cyan);
    border-radius: 3px;
    padding: 5px 11px;
}

/* ---------- Countdown ---------- */

.countdown {
    display: flex;
    align-items: center;
    gap: 12px;
}

.countdown__label {
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: var(--text-dimmer);
}

.countdown__boxes {
    display: flex;
    gap: 8px;
}

.countdown__box {
    min-width: 54px;
    text-align: center;
    border: 1px solid var(--hairline-strong);
    border-radius: 6px;
    padding: 6px 8px;
}

.countdown__value {
    font-family: var(--font-heading);
    font-size: 19px;
    font-weight: 600;
    color: #fff;
    line-height: 1.1;
    font-variant-numeric: tabular-nums;
}

.countdown__unit {
    font-size: 10.5px;
    letter-spacing: .6px;
    text-transform: uppercase;
    color: var(--text-dimmer);
}

/* Replaces the boxes once the draw starts. */
.countdown__live {
    font-size: 14px;
    font-weight: 600;
    color: var(--cyan);
}

/* ---------- Main grid ---------- */

.main {
    flex: 1;
    max-width: var(--content-max);
    width: 100%;
    margin: 0 auto;
    padding: 52px var(--gutter) 72px;
    display: flex;
    flex-direction: column;
    gap: 56px;
}

/* Two columns on wider screens — pitch on the left, form on the right. Below this the layout is a
   single flex column and the form is lifted above the pitch (see .lead-card order), so mobile
   visitors reach the quick registration form first and can read the details afterwards. */
@media (min-width: 801px) {
    .main {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        align-items: start;
    }
}

/* ---------- Left column: pitch ---------- */

.pitch {
    min-width: 0;
}

.pitch__kicker {
    margin: 0 0 16px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2.4px;
    text-transform: uppercase;
    color: var(--cyan);
}

.pitch__title {
    margin: 0 0 18px;
    font-family: var(--font-heading);
    font-size: 40px;
    line-height: 1.14;
    font-weight: 600;
    letter-spacing: -1px;
    color: #fff;
    max-width: 14ch;
    text-wrap: pretty;
}

.pitch__title-accent {
    color: var(--cyan);
}

.pitch__lead {
    margin: 0 0 30px;
    font-size: 16.5px;
    line-height: 1.6;
    color: var(--text-muted);
    max-width: 52ch;
    text-wrap: pretty;
}

.pitch__points {
    list-style: none;
    margin: 0 0 28px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pitch__point {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    font-size: 15px;
    color: var(--text-secondary);
}

.pitch__point-icon {
    flex: 0 0 18px;
    margin-top: 3px;
}

.pitch__slogan {
    margin: 0 0 40px;
    font-size: 15px;
    font-style: italic;
    color: var(--text-secondary);
    border-left: 2px solid var(--cyan);
    padding-left: 14px;
}

.pitch__prizes-label {
    margin: 0 0 16px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-dimmer);
}

/* ---------- Prize cards ---------- */

.prizes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 14px;
}

.prize {
    background: var(--surface);
    border: 1px solid var(--hairline);
    border-radius: 8px;
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: relative;
}

.prize__badge {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 12px;
    font-weight: 600;
    color: var(--page-bg);
    background: var(--cyan);
    border-radius: 3px;
    padding: 3px 8px;
}

.prize__logo {
    width: 34px;
    height: 34px;
    object-fit: contain;
    display: block;
}

.prize__title {
    margin: 0;
    font-family: var(--font-heading);
    font-size: 15.5px;
    font-weight: 600;
    line-height: 1.3;
    color: #fff;
    max-width: 20ch;
}

.prize__desc {
    margin: 0;
    font-size: 13.5px;
    line-height: 1.5;
    color: var(--text-dim);
}

.prize__winner {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--cyan);
}

/* The "everyone wins" card. Its badge sits in the flex header rather than being absolutely
   positioned, so a long title can never run underneath it. */
.bonus {
    margin-top: 14px;
    background: var(--surface);
    border: 1px solid var(--gold-border);
    border-left: 3px solid var(--gold);
    border-radius: 8px;
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bonus__header {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    justify-content: space-between;
}

.bonus__title {
    margin: 0;
    font-family: var(--font-heading);
    font-size: 15.5px;
    font-weight: 600;
    line-height: 1.3;
    color: #fff;
    flex: 1;
    min-width: 0;
}

.bonus__badge {
    flex: 0 0 auto;
    font-size: 12px;
    font-weight: 600;
    color: var(--page-bg);
    background: var(--gold);
    border-radius: 3px;
    padding: 3px 10px;
}

.bonus__desc {
    margin: 0;
    font-size: 13.5px;
    line-height: 1.55;
    color: var(--text-dim);
    max-width: 60ch;
}

/* ---------- Draw note ---------- */

.draw-note {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--hairline);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.draw-note__label {
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: var(--text-dimmer);
}

.draw-note__body {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-muted);
    max-width: 62ch;
}

/* ---------- Right column: form card ---------- */

.lead-card {
    min-width: 0;
    background: #fff;
    color: var(--ink);
    border-radius: 10px;
    box-shadow: 0 18px 44px rgba(0, 0, 0, .34);
    padding: 36px;
    position: sticky;
    top: 90px;
}

/* Once the grid has collapsed to one column there is nothing to stick alongside, and the form is
   pulled above the pitch so a mobile visitor can register first. */
@media (max-width: 800px) {
    .lead-card {
        position: static;
        order: -1;
    }
}

.lead-form__badge {
    display: inline-block;
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--page-bg);
    background: var(--cyan);
    border-radius: 3px;
    padding: 5px 11px;
    margin-bottom: 16px;
}

.lead-form__title {
    margin: 0 0 6px;
    font-family: var(--font-heading);
    font-size: 23px;
    font-weight: 600;
    color: var(--brand-navy);
    letter-spacing: -.4px;
}

.lead-form__sub {
    margin: 0 0 26px;
    font-size: 14px;
    color: var(--ink-sub);
}

.lead-form__fields {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.lead-form__row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 18px;
}

.field__label {
    display: block;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--brand-navy);
    margin-bottom: 6px;
}

.field__required {
    color: var(--error);
}

.field__control {
    width: 100%;
    height: 42px;
    padding: 0 12px;
    font-family: inherit;
    font-size: 15px;
    color: var(--ink);
    background: #fff;
    border: 1px solid var(--field-border);
    border-bottom: 1px solid var(--field-underline);
    border-radius: 4px;
}

select.field__control {
    padding: 0 10px;
}

textarea.field__control {
    height: auto;
    min-height: 88px;
    padding: 10px 12px;
    line-height: 1.5;
    resize: vertical;
}

/* Fluent underline focus. */
.field__control:focus {
    outline: none;
    border-color: var(--ms-blue);
    border-bottom: 2px solid var(--ms-blue);
}

.field__error {
    margin: 6px 0 0;
    font-size: 12.5px;
    color: var(--error);
}

.field__error--consent {
    margin-left: 26px;
}

.consent {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 13.5px;
    line-height: 1.55;
    color: var(--ink-sub);
    cursor: pointer;
}

.consent__checkbox {
    margin-top: 2px;
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    accent-color: var(--ms-blue);
}

/* Consent shown as a plain note rather than a checkbox — submitting the form is the consent. */
.lead-form__consent {
    margin: 0;
    font-size: 13px;
    line-height: 1.55;
    color: var(--ink-sub);
}

/* Bot trap: off-screen rather than display:none, which some bots skip. */
.honeypot {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.lead-form__submit {
    width: 100%;
    height: 46px;
    margin-top: 24px;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    background: var(--ms-blue);
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.lead-form__submit:hover {
    background: var(--ms-blue-hover);
}

.lead-form__submit:active {
    background: var(--ms-blue-active);
}

.lead-form__submit:disabled {
    cursor: default;
}

.lead-form__error {
    margin: 14px 0 0;
    font-size: 12.5px;
    line-height: 1.5;
    color: var(--error);
    text-align: center;
}

.lead-form__privacy {
    margin: 14px 0 0;
    font-size: 12.5px;
    line-height: 1.5;
    color: var(--ink-faint);
    text-align: center;
}

/* ---------- Success state ---------- */

.success {
    text-align: center;
    padding: 34px 6px;
}

.success__icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin: 0 auto 20px;
    background: var(--success-bg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.success__title {
    margin: 0 0 10px;
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 600;
    color: var(--brand-navy);
}

.success__body {
    margin: 0 auto 18px;
    max-width: 40ch;
    font-size: 15px;
    line-height: 1.6;
    color: var(--ink-sub);
}

.success__ticket {
    display: inline-block;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--brand-navy);
    background: var(--ticket-bg);
    border: 1px solid var(--ticket-border);
    border-radius: 4px;
    padding: 9px 16px;
}

/* ---------- Footer ---------- */

.site-footer {
    border-top: 1px solid var(--hairline);
}

.site-footer__inner {
    padding-top: 22px;
    padding-bottom: 22px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 24px;
    justify-content: space-between;
    font-size: 12.5px;
    color: var(--text-dimmer);
}
