/* 27 Club Coffee Guest Portal
   Everything is served from the portal host so nothing depends on an
   external CDN reaching a client that is still pre-authorization. */

:root {
    --ink: #ffffff;
    --paper: #000000;
    --muted: #a8a8a8;
    --line: #3a3a3a;
    --field: #101010;
    --action: #9a9a9a;
    --action-ink: #000000;
    --alert: #ff6b6b;
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
    background: var(--paper);
    color: var(--ink);
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 17px;
    line-height: 1.45;
    min-height: 100vh;
    padding: 32px 22px 48px;
}

.wrap {
    max-width: 460px;
    margin: 0 auto;
    text-align: center;
}

.logo {
    display: block;
    width: 190px;
    max-width: 62%;
    height: auto;
    margin: 18px auto 26px;
}

h1 {
    font-size: 34px;
    line-height: 1.12;
    font-weight: 700;
    letter-spacing: -0.4px;
    margin: 0 0 18px;
}

p {
    margin: 0 0 18px;
    color: var(--ink);
}

p.terms {
    font-size: 16px;
    line-height: 1.45;
}

label {
    display: block;
    font-size: 15px;
    color: var(--muted);
    margin: 0 0 6px;
    text-align: center;
}

input[type="text"],
input[type="email"] {
    display: block;
    width: 100%;
    padding: 14px 12px;
    margin: 0 0 16px;
    font-size: 17px;
    font-family: inherit;
    color: var(--ink);
    background: var(--field);
    border: 1px solid var(--line);
    border-radius: 4px;
    text-align: center;
    -webkit-appearance: none;
    appearance: none;
}

input[type="text"]:focus,
input[type="email"]:focus {
    outline: 2px solid var(--ink);
    outline-offset: 1px;
    border-color: var(--ink);
}

button {
    display: block;
    width: 100%;
    padding: 15px 12px;
    margin: 8px 0 0;
    font-size: 17px;
    font-family: inherit;
    font-weight: 500;
    color: var(--action-ink);
    background: var(--action);
    border: 0;
    border-radius: 4px;
    cursor: pointer;
}

button:active { background: #7f7f7f; }

button:disabled {
    opacity: 0.55;
    cursor: default;
}

button:focus-visible {
    outline: 2px solid var(--ink);
    outline-offset: 2px;
}

.notice {
    border: 1px solid var(--line);
    border-left: 3px solid var(--alert);
    padding: 14px 14px;
    text-align: center;
    margin: 0 0 20px;
    font-size: 16px;
}

.consent {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.4;
    margin: 18px 0 0;
}

.consent a {
    color: var(--ink);
    text-decoration: underline;
}

.hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.link {
    color: var(--ink);
    text-decoration: underline;
}

@media (prefers-reduced-motion: reduce) {
    * { transition: none !important; animation: none !important; }
}
