* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #f4f8fb;
    color: #163747;
    font-family: Arial, Helvetica, sans-serif;
    margin: 0;
    min-height: 100vh;
}

a {
    color: inherit;
}

.landing-header {
    align-items: center;
    background: #5298bc;
    color: #fff;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem;
    padding: 0.75rem max(1rem, calc((100vw - 1120px) / 2));
    position: relative;
    z-index: 4;
}

.landing-brand {
    align-items: center;
    display: inline-flex;
    gap: 0.45rem;
    text-decoration: none;
}

.landing-brand-text {
    font-family: "Zen Dots", Arial, Helvetica, sans-serif;
    font-size: 1.85rem;
    line-height: 1;
}

.landing-brand .material-symbols-rounded {
    font-size: 2.4rem;
}

.landing-nav {
    align-items: center;
    display: flex;
    gap: 0.45rem;
    justify-content: flex-end;
}

.landing-nav a {
    border-radius: 8px;
    color: #fff;
    font-weight: 800;
    padding: 0.45rem 0.7rem;
    text-decoration: none;
}

.landing-nav a:hover,
.landing-nav a:focus {
    background: rgba(255, 255, 255, 0.16);
    color: #fff7cf;
    outline: 0;
}

.landing-hero {
    align-items: center;
    background: #163747 url("/images/1674011669.jpg") center 28% / cover no-repeat;
    color: #fff;
    display: grid;
    min-height: calc(100svh - 6.5rem);
    overflow: hidden;
    padding: 3rem max(1rem, calc((100vw - 1120px) / 2));
    position: relative;
}

.landing-hero-overlay {
    background: linear-gradient(90deg, rgba(11, 35, 47, 0.94), rgba(11, 35, 47, 0.72) 46%, rgba(11, 35, 47, 0.25));
    inset: 0;
    position: absolute;
}

.landing-hero-content {
    max-width: 720px;
    position: relative;
    z-index: 1;
}

.landing-eyebrow,
.section-kicker {
    color: #f5c542;
    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: 0;
    margin: 0 0 0.6rem;
    text-transform: uppercase;
}

.landing-hero h1 {
    font-family: "Zen Dots", Arial, Helvetica, sans-serif;
    font-size: clamp(2.35rem, 7vw, 5.8rem);
    line-height: 1;
    margin: 0;
}

.landing-hero-copy {
    font-size: clamp(1.05rem, 2vw, 1.38rem);
    line-height: 1.5;
    margin: 1rem 0 0;
    max-width: 660px;
}

.landing-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.4rem;
}

.landing-message-row {
    align-items: stretch;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: flex-start;
    margin: 0.85rem 0 0;
    max-width: 720px;
}

.landing-message-row-single {
    max-width: 640px;
}

.landing-message-box,
.landing-trial-note {
    align-items: center;
    background: rgba(255, 255, 255, 0.13);
    border: 1px solid rgba(245, 197, 66, 0.48);
    border-radius: 8px;
    color: #fff7cf;
    font-weight: 800;
    line-height: 1.35;
    padding: 0.35rem 0.75rem 0.55rem;
}

.landing-message-box {
    display: block;
    flex: 1 1 215px;
    min-width: 0;
}

.landing-message-row-single .landing-message-box {
    flex: 0 1 640px;
}

.landing-trial-note {
    display: inline-flex;
    margin: 0.85rem 0 0;
    max-width: 640px;
}

.landing-message-title {
    color: #fff;
    display: block;
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

.landing-message-body p,
.landing-message-body ul,
.landing-message-body ol {
    margin: 0;
}

.landing-message-body p + p,
.landing-message-body ul + p,
.landing-message-body ol + p {
    margin-top: 0.4rem;
}

.landing-message-body ul,
.landing-message-body ol {
    padding-left: 1.1rem;
}

.landing-message-body a {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 0.18em;
}

.landing-lead-form {
    align-items: center;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.78);
    border-radius: 10px;
    box-shadow: 0 12px 28px rgba(16, 47, 70, 0.16);
    color: #123f60;
    display: grid;
    gap: 10px;
    grid-template-columns: minmax(180px, 1.2fr) minmax(180px, 0.9fr) auto;
    margin-top: 12px;
    max-width: 760px;
    padding: 10px;
}

.landing-lead-form strong,
.landing-lead-form span {
    display: block;
}

.landing-lead-form strong {
    font-size: 0.95rem;
}

.landing-lead-form span {
    color: #42667a;
    font-size: 0.82rem;
}

.landing-lead-form input {
    border: 1px solid rgba(18, 63, 96, 0.22);
    border-radius: 8px;
    box-sizing: border-box;
    font-size: 0.95rem;
    min-height: 38px;
    padding: 8px 10px;
    width: 100%;
}

.landing-lead-form button {
    background: #d8a62a;
    border: 0;
    border-radius: 8px;
    color: #fff;
    cursor: pointer;
    font-weight: 800;
    min-height: 38px;
    padding: 8px 12px;
    white-space: nowrap;
}

.landing-lead-form p {
    font-size: 0.84rem;
    font-weight: 800;
    grid-column: 1 / -1;
    margin: 0;
    min-height: 0;
}

.landing-lead-form p.is-success {
    color: #17623a;
}

.landing-lead-form p.is-error {
    color: #8a1c1c;
}

.sr-only {
    border: 0;
    clip: rect(0, 0, 0, 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.landing-button {
    align-items: center;
    border-radius: 8px;
    display: inline-flex;
    font-size: 1rem;
    font-weight: 900;
    justify-content: center;
    min-height: 44px;
    padding: 0.65rem 1rem;
    text-decoration: none;
}

.landing-button-primary {
    background: #f5c542;
    border: 1px solid rgba(64, 44, 0, 0.18);
    color: #1f2933;
}

.landing-button-primary:hover,
.landing-button-primary:focus {
    background: #ffd75a;
    outline: 0;
}

.landing-button-secondary {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.55);
    color: #fff;
}

.landing-button-secondary:hover,
.landing-button-secondary:focus {
    background: rgba(255, 255, 255, 0.2);
    outline: 0;
}

.landing-proof-row {
    display: grid;
    gap: 0.7rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 1.5rem;
    max-width: 720px;
}

.landing-proof-row div {
    border-left: 3px solid #f5c542;
    padding-left: 0.7rem;
}

.landing-proof-row strong,
.landing-proof-row span {
    display: block;
}

.landing-proof-row strong {
    font-size: 1.02rem;
}

.landing-proof-row span {
    color: rgba(255, 255, 255, 0.86);
    font-size: 0.9rem;
    line-height: 1.25;
}

.landing-intro,
.workflow-section,
.founder-section,
.story-section,
.landing-cta {
    display: grid;
    gap: 1.2rem;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    margin: 0 auto;
    max-width: 1120px;
    padding: 3rem 1rem;
}

.landing-intro h2,
.workflow-section h2,
.founder-section h2,
.story-section h2,
.landing-cta h2 {
    color: #163747;
    font-family: "Oswald", Arial, Helvetica, sans-serif;
    font-size: clamp(1.8rem, 3vw, 2.7rem);
    line-height: 1.12;
    margin: 0;
}

.landing-intro p,
.workflow-section p,
.founder-section p,
.story-section p,
.landing-cta p {
    color: #365463;
    font-size: 1.05rem;
    line-height: 1.6;
    margin: 0;
}

.feature-grid {
    display: grid;
    gap: 0.9rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 0 auto;
    max-width: 1120px;
    padding: 0 1rem 3rem;
}

.feature-card {
    background: #fff;
    border: 1px solid rgba(82, 152, 188, 0.22);
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(22, 55, 71, 0.08);
    min-height: 15rem;
    padding: 1.1rem;
}

.feature-card-wide {
    grid-column: span 2;
}

.feature-card .material-symbols-rounded {
    align-items: center;
    background: #e9f4fa;
    border-radius: 8px;
    color: #2f6f91;
    display: inline-flex;
    font-size: 2.1rem;
    height: 3rem;
    justify-content: center;
    margin-bottom: 0.8rem;
    width: 3rem;
}

.feature-card h3 {
    color: #163747;
    font-family: "Oswald", Arial, Helvetica, sans-serif;
    font-size: 1.45rem;
    line-height: 1.15;
    margin: 0 0 0.55rem;
}

.feature-card p {
    color: #365463;
    line-height: 1.52;
    margin: 0;
}

.workflow-section {
    align-items: center;
    background: #eaf4fb;
    border-bottom: 1px solid rgba(82, 152, 188, 0.2);
    border-top: 1px solid rgba(82, 152, 188, 0.2);
    max-width: none;
    padding-left: max(1rem, calc((100vw - 1120px) / 2));
    padding-right: max(1rem, calc((100vw - 1120px) / 2));
}

.workflow-steps {
    display: grid;
    gap: 0.75rem;
}

.workflow-steps div {
    align-items: center;
    background: #fff;
    border: 1px solid rgba(82, 152, 188, 0.22);
    border-radius: 8px;
    display: grid;
    gap: 0.75rem;
    grid-template-columns: auto 1fr;
    padding: 0.85rem;
}

.workflow-steps span {
    align-items: center;
    background: #f5c542;
    border-radius: 999px;
    color: #1f2933;
    display: inline-flex;
    font-weight: 900;
    height: 2rem;
    justify-content: center;
    width: 2rem;
}

.workflow-steps strong {
    color: #163747;
    line-height: 1.3;
}

.founder-section,
.story-section {
    align-items: start;
}

.story-section {
    border-top: 1px solid rgba(82, 152, 188, 0.18);
    padding-top: 2.7rem;
}

.story-copy {
    display: grid;
    gap: 0.9rem;
}

.story-signature {
    margin-top: 0.35rem;
}

.story-signature span {
    color: #163747;
    display: block;
    font-family: "Playwrite US Trad", "Brush Script MT", cursive;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.35;
}

.story-signature small {
    color: #365463;
    display: block;
    font-weight: 800;
    margin-top: 0.8rem;
}

.landing-cta {
    background: #163747;
    border-radius: 0;
    color: #fff;
    display: block;
    max-width: none;
    padding-left: max(1rem, calc((100vw - 900px) / 2));
    padding-right: max(1rem, calc((100vw - 900px) / 2));
    text-align: center;
}

.landing-cta h2,
.landing-cta p {
    color: #fff;
}

.landing-cta p {
    margin: 0.7rem auto 0;
    max-width: 760px;
}

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

.landing-footnote {
    color: rgba(255, 255, 255, 0.78) !important;
    font-size: 0.9rem !important;
}

.landing-discord-section {
    align-items: center;
    background: #f5f8fb;
    display: none;
    gap: 1.5rem;
    grid-template-columns: minmax(0, 1fr) auto;
    margin: 0 auto;
    max-width: 1120px;
    padding: 3rem 1rem;
}

.landing-discord-section h2 {
    color: #163747;
    font-family: "Oswald", Arial, Helvetica, sans-serif;
    font-size: clamp(1.8rem, 3vw, 2.7rem);
    line-height: 1.12;
    margin: 0;
}

.landing-discord-section p {
    color: #365463;
    font-size: 1.05rem;
    line-height: 1.6;
    margin: 0.65rem 0 0;
    max-width: 620px;
}

.landing-discord-section iframe {
    border: 0;
    border-radius: 8px;
    box-shadow: 0 14px 34px rgba(22, 55, 71, 0.14);
    max-width: 100%;
}

.landing-footer {
    align-items: center;
    background: #f8fbfd;
    color: #365463;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: space-between;
    padding: 1.2rem max(1rem, calc((100vw - 1120px) / 2));
}

.landing-footer span {
    font-weight: 900;
}

.landing-footer nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
}

.landing-footer a {
    color: #2f6f91;
    font-weight: 800;
    text-decoration: none;
}

.landing-footer a:hover,
.landing-footer a:focus {
    color: #1e526c;
    text-decoration: underline;
}

@media (max-width: 900px) {
    .landing-hero {
        background-position: 58% 26%;
    }

    .landing-hero-overlay {
        background: linear-gradient(90deg, rgba(11, 35, 47, 0.96), rgba(11, 35, 47, 0.78));
    }

    .feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .feature-card-wide {
        grid-column: span 2;
    }
}

@media (max-width: 700px) {
    .landing-header {
        grid-template-columns: 1fr;
        justify-items: center;
        padding: 0.7rem 1rem;
    }

    .landing-nav {
        justify-content: center;
    }

    .landing-nav a {
        padding: 0.38rem 0.45rem;
    }

    .landing-hero {
        min-height: calc(100svh - 5rem);
        padding: 2rem 1rem;
    }

    .landing-hero-content {
        max-width: 100%;
        min-width: 0;
        width: 100%;
    }

    .landing-eyebrow,
    .landing-hero h1,
    .landing-hero-copy,
    .landing-trial-note,
    .landing-message-row,
    .landing-message-box {
        max-width: 100%;
        overflow-wrap: anywhere;
        word-break: normal;
    }

    .landing-message-row {
        flex-direction: column;
    }

    .landing-lead-form {
        grid-template-columns: 1fr;
        max-width: 100%;
    }

    .landing-lead-form button {
        width: 100%;
    }

    .landing-message-box,
    .landing-message-row-single .landing-message-box {
        flex: 1 1 auto;
        width: 100%;
    }

    .landing-hero h1 {
        font-size: clamp(2rem, 12vw, 3.1rem);
        line-height: 1.08;
    }

    .landing-hero-copy {
        font-size: 1.02rem;
    }

    .landing-proof-row,
    .landing-intro,
    .workflow-section,
    .founder-section,
    .story-section,
    .feature-grid,
    .landing-discord-section {
        grid-template-columns: 1fr;
    }

    .feature-card-wide {
        grid-column: span 1;
    }

    .feature-card {
        min-height: 0;
    }

    .landing-intro,
    .workflow-section,
    .founder-section,
    .story-section,
    .landing-cta,
    .landing-discord-section {
        padding-top: 2.2rem;
        padding-bottom: 2.2rem;
    }

    .landing-discord-section iframe {
        width: 100%;
    }

    .landing-footer {
        justify-content: center;
        text-align: center;
    }
}
