.landing-page {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

/* Header */

.landing-header {
    height: 92px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    position: relative;
    z-index: 5;
}

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

.terminal-brand .brand-mark {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 13px;
    background: linear-gradient(135deg, var(--green), var(--blue));
}

.terminal-brand .image-mark {
    padding: 0;
    background: transparent;
}

.terminal-brand .image-mark img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

.terminal-brand strong {
    display: block;
    color: var(--text);
    font-size: 15px;
    line-height: 1.1;
    font-weight: 900;
    letter-spacing: -0.03em;
}

.terminal-brand span {
    display: block;
    margin-top: 3px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1;
    font-weight: 800;
}

/* Old brand class support in case any older markup remains */

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.brand h1 {
    margin: 0;
    font-size: 17px;
    letter-spacing: -0.04em;
}

.brand p {
    margin: 4px 0 0;
    color: var(--muted);
    font-size: 12px;
}

.header-actions,
.hero-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Hero */

.hero {
    min-height: calc(100vh - 92px);
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    align-items: center;
    gap: 50px;
    padding: 40px 0 80px;
}

.hero-copy h2 {
    margin: 0;
    max-width: 620px;
    font-size: clamp(58px, 8vw, 108px);
    line-height: 0.88;
    letter-spacing: -0.09em;
}

.hero-text {
    max-width: 590px;
    margin: 28px 0 0;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.6;
    font-weight: 700;
}

.hero-actions {
    margin-top: 30px;
}

.trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}

.trust-row span {
    padding: 9px 12px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
}

.hero-visual {
    position: relative;
    min-height: 580px;
    display: grid;
    place-items: center;
}

.terminal-card {
    width: 100%;
    max-width: 620px;
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: 32px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent),
        rgba(18, 21, 27, 0.9);
    box-shadow: var(--shadow);
    backdrop-filter: blur(20px);
}

.terminal-top {
    display: flex;
    gap: 8px;
    margin-bottom: 18px;
}

.terminal-top span {
    width: 12px;
    height: 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.22);
}

.terminal-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 14px;
}

.preview-card {
    min-height: 150px;
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.055);
}

.preview-card.large {
    grid-row: span 2;
}

.preview-card p {
    margin: 0 0 12px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.preview-card strong {
    display: block;
    font-size: 38px;
    letter-spacing: -0.07em;
}

.preview-card.large strong {
    font-size: 64px;
}

.preview-card span {
    display: block;
    margin-top: 18px;
    font-weight: 900;
}

.trade-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 14px;
}

.trade-strip div {
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: rgba(0, 0, 0, 0.22);
}

.trade-strip span {
    display: block;
    margin-bottom: 8px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}

.trade-strip strong {
    font-size: 18px;
}

.orbit-card {
    position: absolute;
    padding: 16px 18px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: rgba(18, 21, 27, 0.9);
    box-shadow: var(--shadow);
}

.orbit-card span {
    display: block;
    margin-bottom: 4px;
    color: var(--muted);
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.14em;
}

.orbit-card strong {
    font-size: 18px;
}

.orbit-one {
    top: 90px;
    right: 20px;
}

.orbit-two {
    bottom: 90px;
    left: 10px;
}

/* Sections */

.feature-section,
.pricing-section {
    padding: 80px 0;
}

.section-heading {
    max-width: 760px;
    margin-bottom: 28px;
}

.section-heading h3,
.pricing-section h3 {
    margin: 0;
    font-size: clamp(42px, 6vw, 78px);
    line-height: 0.92;
    letter-spacing: -0.08em;
}

.feature-grid,
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.feature-card,
.price-card {
    min-height: 230px;
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: 28px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.07), transparent),
        var(--panel);
}

.feature-card span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
}

.feature-card h4,
.price-card h4 {
    margin: 34px 0 12px;
    font-size: 24px;
    letter-spacing: -0.06em;
}

.feature-card p,
.price-copy {
    margin: 0;
    color: var(--muted);
    line-height: 1.55;
    font-weight: 700;
}

.pricing-section {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 28px;
    align-items: start;
}

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

.price-card>p:first-child {
    margin: 0;
    color: var(--muted);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.16em;
}

.price-card strong {
    display: block;
    margin-top: 18px;
    font-size: 52px;
    letter-spacing: -0.07em;
}

.price-card strong span {
    color: var(--muted);
    font-size: 16px;
    letter-spacing: 0;
}

.price-copy {
    margin: 18px 0 34px;
}

.featured {
    box-shadow: inset 0 0 0 1px rgba(43, 220, 101, 0.25);
}

/* Colours */

.green {
    color: var(--green);
}

.red {
    color: var(--red);
}

.blue {
    color: var(--blue);
}

/* Buttons */

.ghost-button,
.light-button,
.secondary-button,
.primary-button {
    border: none;
    border-radius: 999px;
    padding: 12px 18px;
    font-weight: 900;
}

.ghost-button,
.secondary-button {
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
}

.light-button {
    background: var(--text);
    color: #050607;
}

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

.compact {
    min-width: 140px;
}

.full {
    width: 100%;
}

/* Auth modal */

.auth-modal {
    position: fixed;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 24px;
    background: rgba(0, 0, 0, 0.68);
    backdrop-filter: blur(16px);
    z-index: 20;
}

.auth-modal.hidden,
.hidden {
    display: none;
}

.auth-panel {
    position: relative;
    width: min(460px, 100%);
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: 28px;
    background: var(--panel);
    box-shadow: var(--shadow);
}

.close-button {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 34px;
    height: 34px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
    font-size: 22px;
}

.auth-tabs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-bottom: 24px;
    padding: 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
}

.auth-tab {
    border: none;
    border-radius: 999px;
    padding: 11px;
    background: transparent;
    color: var(--muted);
    font-weight: 900;
}

.auth-tab.active {
    background: var(--text);
    color: #050607;
}

.auth-form h3 {
    margin: 0;
    font-size: 34px;
    letter-spacing: -0.06em;
}

.auth-form p {
    margin: 8px 0 22px;
    color: var(--muted);
    font-weight: 700;
}

.auth-form label {
    display: grid;
    gap: 8px;
    margin-bottom: 16px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.auth-form input {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 14px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
    outline: none;
}

.auth-form input:focus {
    border-color: rgba(43, 220, 101, 0.55);
}

.auth-status {
    min-height: 22px;
    margin: 16px 0 0;
    color: var(--muted);
    text-align: center;
    font-weight: 800;
}

/* Responsive */

@media (max-width: 980px) {

    .hero,
    .pricing-section {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        min-height: auto;
    }

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

    .orbit-card {
        display: none;
    }
}

@media (max-width: 640px) {
    .landing-page {
        width: min(100% - 28px, 1180px);
    }

    .landing-header {
        height: auto;
        padding: 20px 0;
        align-items: flex-start;
        gap: 16px;
    }

    .terminal-brand .brand-mark {
        width: 40px;
        height: 40px;
        flex-basis: 40px;
    }

    .header-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-copy h2 {
        font-size: 58px;
    }

    .terminal-grid,
    .trade-strip,
    .feature-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }
}