/* ==========================================================================
   RemoteMe — splash site styles
   Minimal. Pure black background on every page, white text, no shaded panels.
   ========================================================================== */

:root {
    --ink:       #ffffff;   /* primary text (white) */
    --ink-2:     #ffffff;   /* secondary text (white) */
    --muted:     #ffffff;   /* tertiary text (white) */
    --bg:        #000000;   /* black — the only page background */
    --line:      #ffffff;   /* hairlines for inputs / separators */
    --accent:    #ffffff;   /* link / focus accent */
    --error-ink: #ffffff;
    --success-ink: #ffffff;
    --radius:    8px;
    --container: 720px;
    --ease:      cubic-bezier(.2,.7,.2,1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--ink);
    background: var(--bg);
    line-height: 1.6;
    font-size: 17px;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
h1, h2, h3 { color: var(--ink); line-height: 1.2; letter-spacing: -0.01em; margin: 0 0 .5em; }
h1 { font-size: clamp(1.9rem, 4.5vw, 2.8rem); font-weight: 700; }
h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); font-weight: 600; }
h3 { font-size: 1.15rem; font-weight: 600; }
p  { margin: 0 0 1rem; }
a  { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

main { flex: 0 0 auto; }

.skip-link {
    position: absolute; left: -9999px; top: 0; z-index: 100;
    background: #fff; color: #000; padding: 10px 16px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

/* ---------- Header: centered logo only ---------- */
.site-header { background: var(--bg); }
.site-header__inner { display: flex; justify-content: center; padding: 28px 24px; }
.brand { display: inline-flex; }
.brand__logo {
    height: clamp(64px, 10vw, 96px); width: auto;   /* larger, unaltered white logo */
    max-width: 100%;
}
.brand:hover { text-decoration: none; }

/* ---------- Home ---------- */
.home__inner { text-align: center; padding: 8px 24px clamp(40px, 9vw, 90px); }
.home__title { margin: 0 0 .6em; }
.home__lead { color: var(--ink-2); font-size: 1.2rem; max-width: 42ch; margin: 0 auto;}
.home__lead2 { color: var(--ink-2); font-size: 0.9rem; max-width: 42ch; margin: 0 auto; text-align: left;}

/* ---------- Beta signup form (home): centered block, left-aligned text ---------- */
.beta { max-width: 420px; margin: 44px auto 0; text-align: left; border: 1px solid #fff; border-radius: var(--radius); padding: 28px; }
.beta__label { color: var(--ink); font-size: 1rem; font-weight: 600; margin: 0 0 18px; text-align: left; }
.beta .form { max-width: none; }
.beta .form__actions { margin-top: 4px; }
.beta .btn { width: 100%; }
.beta .g-recaptcha { display: flex; justify-content: flex-start; }
.home__b2b { margin: 22px 0 0; text-align: center; }
.home__b2b a { color: var(--ink); text-decoration: underline; font-size: .95rem; }

/* ---------- Generic content sections (contact + legal) ---------- */
.section { padding: 8px 0 clamp(40px, 7vw, 72px); background: var(--bg); }
.section--narrow .container { max-width: var(--container); }
.section__head { text-align: center; margin-bottom: 40px; }
.section__title { text-align: center; }
.section__intro { color: var(--ink-2); }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    font-weight: 600; font-size: 1rem; line-height: 1;
    padding: 14px 26px; border-radius: var(--radius);
    border: 1px solid #fff; background: #fff; color: #000; cursor: pointer;
    transition: opacity .15s var(--ease); text-decoration: none;
}
.btn:hover { opacity: .85; text-decoration: none; }
.btn--lg { padding: 16px 30px; font-size: 1.05rem; }

/* ---------- Forms (transparent fields on black) ---------- */
.form { max-width: var(--container); margin: 0 auto; }
.form__row { margin-bottom: 20px; }
.form__label { display: block; font-weight: 600; color: var(--ink); margin-bottom: 7px; font-size: .96rem; }
.form__input {
    width: 100%; font: inherit; color: var(--ink);
    padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius);
    background: transparent; transition: border-color .15s var(--ease);
}
.form__input::placeholder { color: var(--muted); }
.form__input:focus { outline: none; border-color: var(--accent); }
.form__input.has-error { border-color: var(--error-ink); }
.form__textarea { resize: vertical; min-height: 140px; }
.form__error { color: var(--error-ink); font-size: .88rem; margin: 6px 0 0; }
.form__actions { margin-top: 8px; }

/* Honeypot — visually hidden but present for bots */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Alerts (no fill, just coloured text + hairline) ---------- */
.alert { border-radius: var(--radius); padding: 16px 18px; margin: 0 auto 24px; max-width: var(--container); background: transparent; border: 1px solid var(--line); }
.alert p { margin: .3rem 0 0; }
.alert--success { background: #fff; color: #000; border-color: #fff; }
.alert--success strong { color: #000; }
.alert--error { color: var(--error-ink); border-color: var(--error-ink); }

/* ---------- Legal pages ---------- */
.legal h1 { text-align: left; }
.legal h2 { margin-top: 2rem; font-size: 1.25rem; }
.legal p { color: var(--ink-2); }
.legal .updated, .updated { color: var(--muted); font-size: .9rem; margin-top: 0; }

/* ---------- Footer ---------- */
.site-footer { flex-shrink: 0; background: var(--bg); padding: 28px 0; margin-top: 8px; }
.site-footer__inner {
    display: flex; flex-direction: column; align-items: center; text-align: center;
    gap: 14px;
}
.site-footer__copy { color: var(--muted); font-size: .9rem; margin: 0; }
.site-footer__nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }
.site-footer__nav a { color: var(--ink-2); font-size: .9rem; }
.site-footer__nav a:hover { color: var(--ink); text-decoration: none; }

/* ---------- Responsive ---------- */
@media (max-width: 560px) {
    body { font-size: 16px; }
    .site-footer__inner { flex-direction: column; align-items: center; text-align: center; }
    .site-footer__nav { justify-content: center; }
}
