/* GigHub holding site — standalone, no framework. */

:root {
    --black: #101010;
    --dark-gray: #1A1A1A;
    --light-gray: #292929;
    --border-gray: #333335;
    --icon-gray: #949494;
    --muted: #A2A2A3;
    --white: #FFFFFF;
    --yellow: #FDD835;
    --red: #DE3F34;
    --green: #3BEC71;
    --font: 'Baloo Paaji 2', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    background: var(--black);
    color: var(--white);
    font-family: var(--font);
    font-size: 17px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--yellow); text-decoration: none; }
a:hover, a:focus-visible { text-decoration: underline; }

:focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px; }

img { max-width: 100%; height: auto; }

.visually-hidden {
    position: absolute; width: 1px; height: 1px;
    margin: -1px; padding: 0; overflow: hidden;
    clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Holding page ---------- */

.hero {
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 48px 24px 32px;
    text-align: center;
    position: relative;
    /* Only clip sideways: the glow overhangs horizontally, but clipping
       vertically would eat the top of the content on short viewports. */
    overflow-x: hidden;
}

/* Auto margins centre the block when there's room and collapse to 0 when
   there isn't, so tall content never gets cut off the top (which is what
   justify-content: center would do). */
.hero-inner {
    margin: auto 0;
    width: 100%;
    position: relative;
}

/* Soft stage-light glow behind the content. */
.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    left: 50%;
    width: min(900px, 130vw);
    aspect-ratio: 1;
    transform: translateX(-50%);
    background: radial-gradient(circle, rgba(253, 216, 53, 0.13) 0%, rgba(253, 216, 53, 0.04) 38%, transparent 68%);
    pointer-events: none;
}

.hero-logo { display: block; width: 210px; margin: 0 auto 40px; }

.eyebrow {
    display: inline-block;
    margin: 0 0 20px;
    padding: 5px 14px;
    border: 1px solid var(--border-gray);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--yellow);
}

.hero h1 {
    margin: 0 auto 20px;
    font-size: clamp(2.1rem, 7vw, 3.6rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.01em;
    max-width: 16ch;
}

.hero h1 .accent { color: var(--yellow); }

.hero-copy {
    margin: 0 auto 36px;
    max-width: 54ch;
    color: var(--muted);
    font-size: clamp(1rem, 2.4vw, 1.15rem);
}

/* ---------- Signup form ---------- */

.signup { width: 100%; max-width: 480px; margin: 0 auto; }

.signup-label {
    display: block;
    margin-bottom: 12px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--icon-gray);
}

.signup-row { display: flex; gap: 10px; }

.signup input[type="email"] {
    flex: 1 1 auto;
    min-width: 0;
    padding: 13px 16px;
    background: var(--dark-gray);
    border: 1px solid var(--border-gray);
    border-radius: 6px;
    color: var(--white);
    font-family: inherit;
    font-size: 16px;
}

.signup input[type="email"]::placeholder { color: #6E6E70; }
.signup input[type="email"]:focus {
    border-color: var(--yellow);
    outline: none;
}

.signup button {
    flex: 0 0 auto;
    padding: 13px 24px;
    background: var(--yellow);
    border: 1px solid var(--yellow);
    border-radius: 6px;
    color: var(--black);
    font-family: inherit;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s ease, transform 0.15s ease;
}

.signup button:hover:not(:disabled) { background: #FFE066; }
.signup button:active:not(:disabled) { transform: translateY(1px); }
.signup button:disabled { opacity: 0.55; cursor: default; }

.signup-note {
    margin: 12px 0 0;
    font-size: 13px;
    color: #6E6E70;
}

.signup-status {
    margin: 14px 0 0;
    min-height: 1.6em;
    font-size: 15px;
}

.signup-status.is-success { color: var(--green); }
.signup-status.is-error { color: var(--red); }

/* Mailchimp honeypot — must stay in the DOM but off-screen. */
.hp-field { position: absolute; left: -5000px; }

/* ---------- Social ---------- */

.social {
    display: flex;
    gap: 22px;
    justify-content: center;
    margin: 44px 0 0;
    padding: 0;
    list-style: none;
}

.social a {
    display: block;
    color: var(--icon-gray);
    transition: color 0.15s ease, transform 0.15s ease;
}

.social a:hover { color: var(--yellow); transform: translateY(-2px); }
.social svg { display: block; width: 24px; height: 24px; fill: currentColor; }

/* ---------- Footer ---------- */

.site-footer {
    padding: 28px 24px 36px;
    text-align: center;
    font-size: 14px;
    color: var(--icon-gray);
}

.site-footer ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 22px;
    justify-content: center;
    margin: 0 0 14px;
    padding: 0;
    list-style: none;
}

.site-footer a { color: var(--icon-gray); }
.site-footer a:hover { color: var(--yellow); }

/* ---------- Interior (policy) pages ---------- */

.page-header {
    padding: 26px 24px;
    border-bottom: 1px solid var(--dark-gray);
    text-align: center;
}

.page-header img { width: 150px; }

.container {
    max-width: 760px;
    margin: 0 auto;
    padding: 48px 24px 24px;
}

.container h1 {
    margin: 0 0 28px;
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    font-weight: 700;
    line-height: 1.2;
}

.container h2 {
    margin: 40px 0 12px;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--yellow);
}

.container p, .container li { color: #D4D4D5; }
.container p { margin: 0 0 16px; }
.container ul { margin: 0 0 16px; padding-left: 22px; }
.container li { margin-bottom: 8px; }

.notice {
    margin: 0 0 32px;
    padding: 16px 18px;
    background: var(--dark-gray);
    border-left: 3px solid var(--yellow);
    border-radius: 4px;
    color: var(--muted);
    font-size: 15px;
}

.notice p { margin: 0; color: inherit; }

.contact-block {
    margin: 0 0 16px;
    padding: 20px 22px;
    background: var(--dark-gray);
    border: 1px solid var(--border-gray);
    border-radius: 8px;
    line-height: 1.8;
}

@media (max-width: 480px) {
    .signup-row { flex-direction: column; }
    .signup button { width: 100%; }
    .hero-logo { width: 170px; margin-bottom: 32px; }
}

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