:root {
    --lmt-meadow: #ebf9eb;
    --lmt-green: #277f12;
    --lmt-olive: #4e511e;
    --lmt-link: #4d4d80;
    --lmt-ink: #1f2a1d;
    --lmt-muted: #5d6758;
    --lmt-border: #d8e7d3;
    --lmt-surface: #ffffff;
    --lmt-soft: #f7fbf4;
    --lmt-apple: #a85f32;
    --lmt-sky: #dbeef7;
    --shadow: 0 18px 50px rgba(31, 42, 29, 0.12);
    font-family: "Quattrocento Sans", "Arimo", Arial, sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--lmt-meadow);
    color: var(--lmt-ink);
    line-height: 1.55;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: var(--lmt-link);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 78px;
    padding: 12px clamp(18px, 4vw, 56px);
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid var(--lmt-border);
    backdrop-filter: blur(12px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--lmt-ink);
    text-decoration: none;
}

.brand img {
    width: 52px;
    height: 52px;
    object-fit: contain;
}

.brand strong,
.brand small {
    display: block;
}

.brand small,
.eyebrow {
    color: var(--lmt-green);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
}

.site-header nav {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.site-header nav a {
    min-height: 38px;
    padding: 8px 11px;
    color: var(--lmt-ink);
    text-decoration: none;
    border-radius: 8px;
}

.site-header nav a:hover {
    background: var(--lmt-soft);
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
    min-height: calc(100vh - 78px);
    border-bottom: 1px solid var(--lmt-border);
}

.hero-media {
    min-height: 480px;
}

.hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 18px;
    padding: clamp(32px, 5vw, 72px);
    background: linear-gradient(180deg, #ffffff, #f7fbf4);
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2,
h3 {
    color: var(--lmt-olive);
    line-height: 1.08;
}

h1 {
    max-width: 12ch;
    font-size: clamp(2.5rem, 5vw, 5rem);
}

h2 {
    max-width: 14ch;
    font-size: clamp(2rem, 4vw, 3.4rem);
}

h3 {
    font-size: 1.45rem;
}

.hero-copy p {
    max-width: 58ch;
    color: var(--lmt-muted);
    font-size: 1.12rem;
}

.hero-actions,
.support-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 16px;
    border: 1px solid transparent;
    border-radius: 8px;
    font: inherit;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}

.button.primary {
    color: #ffffff;
    background: var(--lmt-green);
}

.button.secondary,
.button.ghost {
    color: var(--lmt-green);
    background: #ffffff;
    border-color: var(--lmt-border);
}

.button.text {
    color: var(--lmt-link);
    background: transparent;
    padding-inline: 0;
}

.band {
    padding: 26px clamp(18px, 4vw, 56px);
}

.metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    background: var(--lmt-border);
}

.metrics article {
    min-height: 112px;
    padding: 22px;
    background: #ffffff;
}

.metrics strong,
.admin-stats span {
    display: block;
    color: var(--lmt-apple);
    font-size: 2rem;
    line-height: 1;
}

.metrics span {
    color: var(--lmt-muted);
}

.section {
    padding: clamp(44px, 7vw, 92px) clamp(18px, 4vw, 56px);
}

.two-column,
.support-grid,
.admin-preview,
.contact-forms {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1.2fr);
    gap: clamp(28px, 5vw, 70px);
    align-items: start;
}

.event-stack {
    display: grid;
    gap: 18px;
}

.event-card,
.land-card,
.form-panel,
.admin-preview {
    background: #ffffff;
    border: 1px solid var(--lmt-border);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.event-card {
    padding: 20px;
}

.feature-event {
    display: grid;
    grid-template-columns: minmax(180px, 0.9fr) minmax(220px, 1fr);
    gap: 20px;
}

.feature-event img,
.land-card img {
    width: 100%;
    height: 100%;
    min-height: 220px;
    object-fit: cover;
    border-radius: 6px;
}

.badge {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 4px 9px;
    color: var(--lmt-apple);
    background: #fff3ea;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 700;
}

.cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    background: var(--lmt-soft);
}

.section-heading {
    grid-column: 1 / -1;
}

.land-card {
    padding: 14px;
}

.land-card h3,
.land-card p {
    padding-inline: 8px;
}

.support-copy {
    position: sticky;
    top: 104px;
}

.form-panel {
    padding: 18px;
}

.segmented {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    margin-bottom: 16px;
    padding: 5px;
    background: var(--lmt-soft);
    border-radius: 8px;
}

.segmented button {
    min-height: 38px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: var(--lmt-muted);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.segmented button.active {
    background: #ffffff;
    color: var(--lmt-green);
    box-shadow: 0 1px 7px rgba(31, 42, 29, 0.1);
}

.poc-form {
    display: none;
    gap: 14px;
}

.poc-form.active,
.stack {
    display: grid;
    gap: 14px;
}

label {
    display: grid;
    gap: 6px;
    color: var(--lmt-ink);
    font-weight: 700;
}

input,
select,
textarea {
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    color: var(--lmt-ink);
    border: 1px solid #cdddc8;
    border-radius: 8px;
    font: inherit;
}

textarea {
    resize: vertical;
}

.checkbox {
    grid-template-columns: auto 1fr;
    align-items: start;
    color: var(--lmt-muted);
    font-weight: 400;
}

.checkbox input {
    width: 18px;
    min-height: 18px;
    margin-top: 4px;
}

.hp {
    position: absolute;
    left: -100vw;
}

.form-status {
    min-height: 24px;
    margin: 0;
    color: var(--lmt-green);
    font-weight: 700;
}

.form-status.error,
.form-error {
    color: #a43122;
}

.admin-preview {
    align-items: center;
    background: var(--lmt-sky);
}

.contact-forms {
    background: var(--lmt-soft);
}

.contact-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.contact-form-grid .poc-form {
    padding: 18px;
    background: #ffffff;
    border: 1px solid var(--lmt-border);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.site-footer {
    padding: 28px clamp(18px, 4vw, 56px);
    color: var(--lmt-muted);
    background: #ffffff;
    border-top: 1px solid var(--lmt-border);
}

.modal {
    width: min(620px, calc(100vw - 28px));
    padding: 0;
    border: 0;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.modal::backdrop {
    background: rgba(31, 42, 29, 0.46);
}

.modal-card {
    position: relative;
    display: grid;
    padding: 24px;
}

.icon-button {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    border: 1px solid var(--lmt-border);
    border-radius: 999px;
    background: #ffffff;
    color: var(--lmt-ink);
    font-size: 1.4rem;
    cursor: pointer;
}

.admin-page,
.admin-shell {
    min-height: 100vh;
    background: var(--lmt-soft);
}

.auth-panel {
    width: min(460px, calc(100vw - 32px));
    margin: 8vh auto;
    padding: 28px;
    background: #ffffff;
    border: 1px solid var(--lmt-border);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.auth-logo {
    width: 82px;
    margin-bottom: 16px;
}

.admin-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 24px clamp(18px, 4vw, 56px);
    background: #ffffff;
    border-bottom: 1px solid var(--lmt-border);
}

.admin-header h1 {
    margin: 0;
    font-size: 2.4rem;
}

.admin-main {
    padding: 24px clamp(18px, 4vw, 56px);
}

.admin-stats {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 18px;
}

.admin-stats article,
.admin-table-wrap {
    padding: 16px;
    background: #ffffff;
    border: 1px solid var(--lmt-border);
    border-radius: 8px;
}

.admin-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.admin-tabs a {
    padding: 8px 12px;
    background: #ffffff;
    border: 1px solid var(--lmt-border);
    border-radius: 8px;
    text-decoration: none;
}

.admin-tabs a.active {
    color: #ffffff;
    background: var(--lmt-green);
}

.admin-table-wrap {
    overflow: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 860px;
}

.admin-table th,
.admin-table td {
    padding: 10px;
    border-bottom: 1px solid var(--lmt-border);
    text-align: left;
    vertical-align: top;
}

.admin-table code {
    display: block;
    max-width: 440px;
    margin-top: 6px;
    color: var(--lmt-muted);
    white-space: normal;
}

@media (max-width: 900px) {
    .site-header,
    .hero,
    .two-column,
    .support-grid,
    .admin-preview,
    .contact-forms,
    .feature-event {
        grid-template-columns: 1fr;
    }

    .site-header {
        position: static;
        align-items: flex-start;
        flex-direction: column;
    }

    .hero {
        min-height: 0;
    }

    .hero-copy {
        padding-block: 42px;
    }

    h1 {
        max-width: none;
        font-size: 2.6rem;
    }

    h2 {
        max-width: none;
        font-size: 2rem;
    }

    .contact-form-grid {
        grid-template-columns: 1fr;
    }

    .metrics,
    .cards,
    .admin-stats {
        grid-template-columns: 1fr 1fr;
    }

    .support-copy {
        position: static;
    }
}

@media (max-width: 560px) {
    .metrics,
    .cards,
    .admin-stats,
    .segmented {
        grid-template-columns: 1fr;
    }

    .hero-actions,
    .support-actions {
        flex-direction: column;
    }

    .button {
        width: 100%;
    }
}
