/* Buy a Beer — landing page styles */

:root {
    --amber: #d98324;
    --amber-dark: #b56a15;
    --amber-light: #f6c667;
    --ink: #1c1a17;
    --ink-soft: #4a4640;
    --cream: #fdf8ef;
    --cream-deep: #f4ead8;
    --line: #e6dbc7;
    --success: #1f7a4d;
    --danger: #b3261e;
    --font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --radius: 12px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-family);
    line-height: 1.65;
    color: var(--ink);
    background-color: #fff;
}

h1,
h2,
h3 {
    line-height: 1.2;
}

a {
    color: var(--amber-dark);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: var(--amber);
}

.skip-link {
    position: absolute;
    left: -9999px;
}

.skip-link:focus {
    left: 1rem;
    top: 1rem;
    z-index: 200;
    background: #fff;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgb(0 0 0 / 20%);
}

/* EVENT ALERT BAR */
.event-alert-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.5rem 1rem;
    padding: 0.75rem 5%;
    background-color: var(--ink);
    color: #fff;
    text-align: center;
}

.event-alert-bar + .event-alert-bar {
    border-top: 1px solid rgb(255 255 255 / 15%);
}

.event-alert-bar p {
    margin: 0;
}

.event-alert-link {
    background-color: var(--amber);
    color: #fff;
    font-weight: 600;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    white-space: nowrap;
}

.event-alert-link:hover {
    background-color: var(--amber-dark);
    color: #fff;
}

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

/* NAVBAR */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1rem 5%;
    background-color: #fff;
    box-shadow: 0 1px 3px rgb(0 0 0 / 8%);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--ink);
    letter-spacing: -0.5px;
}

.logo span {
    color: var(--amber);
}

.logo-dot {
    font-weight: 400;
    font-size: 1.1rem;
}

.navbar nav {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.navbar nav a {
    font-weight: 600;
    color: var(--ink-soft);
}

.navbar nav a.cta-nav {
    background-color: var(--amber);
    color: #fff;
    padding: 0.5rem 1.1rem;
    border-radius: 8px;
}

.navbar nav a.cta-nav:hover {
    background-color: var(--amber-dark);
    color: #fff;
}

/* HERO */
.hero-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    padding: 4.5rem 5%;
    background: linear-gradient(160deg, var(--cream) 0%, #fff 70%);
}

.hero-content {
    max-width: 34rem;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--amber-dark);
    margin-bottom: 0.75rem;
}

.hero-content h1 {
    font-size: clamp(2.1rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero-content h1 strong {
    color: var(--amber);
}

.hero-content p {
    font-size: 1.1rem;
    color: var(--ink-soft);
    margin-bottom: 2rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Ticket mock */
.hero-card {
    flex: 0 1 22rem;
    display: flex;
    justify-content: center;
}

.ticket {
    width: 100%;
    max-width: 20rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: 0 18px 40px rgb(28 26 23 / 14%);
    transform: rotate(-2deg);
}

.ticket-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    border-bottom: 2px dashed var(--line);
    padding-bottom: 0.75rem;
    margin-bottom: 0.9rem;
}

.ticket-brand {
    font-weight: 700;
    color: var(--amber);
}

.ticket-number {
    font-size: 0.85rem;
    color: var(--ink-soft);
}

.ticket-to {
    font-weight: 600;
}

.ticket-from {
    color: var(--ink-soft);
    font-size: 0.95rem;
}

.ticket-qr {
    display: block;
    width: 7rem;
    height: 7rem;
    margin: 1rem 0 0.75rem;
    border: 0.4rem solid #fff;
    border-radius: 8px;
    box-shadow: 0 0 0 1px var(--line);
}

.ticket-validity {
    font-size: 0.8rem;
    color: var(--ink-soft);
    text-align: center;
}

/* BUTTONS */
.cta-button {
    display: inline-block;
    padding: 0.9rem 1.8rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    font-family: inherit;
    cursor: pointer;
    border: 2px solid transparent;
    transition: background-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.cta-button.primary {
    background-color: var(--amber);
    color: #fff;
    box-shadow: 0 6px 16px rgb(217 131 36 / 35%);
}

.cta-button.primary:hover {
    background-color: var(--amber-dark);
    color: #fff;
    transform: translateY(-2px);
}

.cta-button.ghost {
    background-color: transparent;
    border-color: var(--amber);
    color: var(--amber-dark);
}

.cta-button.ghost:hover {
    background-color: var(--cream-deep);
}

/* SECTION SHELL */
section h2 {
    font-size: clamp(1.7rem, 3vw, 2.2rem);
    margin-bottom: 2.5rem;
    text-align: center;
}

/* LEGAL PAGES */
.legal-section {
    padding: 3.5rem 5%;
}

.legal-card {
    max-width: 48rem;
    margin: 0 auto;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 2.5rem;
}

.legal-card h1 {
    font-size: clamp(1.6rem, 3vw, 2rem);
    margin-bottom: 0.5rem;
}

.legal-card .legal-updated {
    color: var(--ink-soft);
    font-size: 0.9rem;
    margin-bottom: 1.75rem;
}

.legal-card h2 {
    font-size: 1.2rem;
    margin: 1.75rem 0 0.6rem;
    text-align: left;
}

.legal-card p,
.legal-card li {
    color: var(--ink-soft);
    margin-bottom: 0.85rem;
}

.legal-card ul {
    padding-left: 1.25rem;
}

.steps-section,
.features-section,
.audience-section,
.contact-section {
    padding: 4rem 5%;
}

.steps-section {
    background-color: var(--cream);
}

/* STEPS */
.step-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
    gap: 1.5rem;
    list-style: none;
    max-width: 72rem;
    margin: 0 auto;
}

.step-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 1.75rem;
    border: 1px solid var(--line);
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    background: var(--amber);
    color: #fff;
    font-weight: 700;
    margin-bottom: 0.9rem;
}

.step-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
}

.step-card p,
.feature-card p {
    color: var(--ink-soft);
}

/* FEATURES */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
    gap: 1.5rem;
    max-width: 72rem;
    margin: 0 auto;
}

.feature-card {
    padding: 1.75rem;
    border-radius: var(--radius);
    background-color: var(--cream);
    border: 1px solid var(--line);
    transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgb(28 26 23 / 10%);
}

.feature-card h3 {
    font-size: 1.2rem;
    color: var(--amber-dark);
    margin-bottom: 0.5rem;
}

/* AUDIENCE */
.audience-section {
    background-color: var(--ink);
    color: #fff;
    text-align: center;
}

.audience-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    max-width: 60rem;
    margin: 0 auto;
}

.audience-list li {
    border: 1px solid rgb(255 255 255 / 25%);
    border-radius: 999px;
    padding: 0.5rem 1.25rem;
    font-weight: 600;
}

.audience-note {
    margin-top: 1.75rem;
    color: var(--amber-light);
}

/* CONTACT */
.contact-section {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    align-items: flex-start;
    justify-content: center;
    background: linear-gradient(200deg, #fff 0%, var(--cream) 100%);
}

.contact-intro {
    flex: 1 1 22rem;
    max-width: 30rem;
}

.contact-intro h2 {
    text-align: left;
    margin-bottom: 1rem;
}

.contact-intro p {
    color: var(--ink-soft);
    margin-bottom: 1rem;
}

.contact-direct {
    font-weight: 600;
}

.contact-form-wrap {
    flex: 1 1 26rem;
    max-width: 34rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: 0 12px 30px rgb(28 26 23 / 8%);
}

.form-notice {
    border-radius: 8px;
    padding: 0.85rem 1rem;
    margin-bottom: 1.25rem;
    font-weight: 600;
}

.form-notice-success {
    background-color: #e8f5ee;
    color: var(--success);
    border: 1px solid var(--success);
}

.form-notice-error {
    background-color: #fdeceb;
    color: var(--danger);
    border: 1px solid var(--danger);
}

.form-row {
    margin-bottom: 1.1rem;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
    gap: 0 1rem;
}

.form-row label {
    display: block;
    font-weight: 600;
    font-size: 0.92rem;
    margin-bottom: 0.35rem;
}

.req {
    color: var(--danger);
}

.form-row input,
.form-row select,
.form-row textarea {
    width: 100%;
    font-family: inherit;
    font-size: 1rem;
    padding: 0.65rem 0.75rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background-color: #fff;
    color: var(--ink);
}

.form-row textarea {
    resize: vertical;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
    border-color: var(--amber);
}

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

.form-fineprint {
    margin-top: 0.9rem;
    font-size: 0.85rem;
    color: var(--ink-soft);
}

/* FOOTER */
footer {
    text-align: center;
    padding: 1.75rem 5%;
    background-color: var(--ink);
    color: #cbc4b8;
    font-size: 0.9rem;
}

.footer-links a {
    color: var(--amber-light);
    margin: 0 0.5rem;
}

@media (max-width: 900px) {
    .hero-section {
        flex-direction: column;
        text-align: center;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-card {
        order: -1;
    }

    .navbar {
        flex-wrap: wrap;
    }

    .navbar nav {
        flex-basis: 100%;
        justify-content: space-between;
        gap: 0.5rem;
    }

    .navbar nav a {
        font-size: 0.9rem;
    }

    .contact-intro h2 {
        text-align: center;
    }
}
