/* Grayson Systems marketing landing — no build step */

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

html {
    height: 100%;
}

body {
    margin: 0;
    min-height: 100%;
    font-family: 'DM Sans', ui-sans-serif, system-ui, sans-serif;
    color: #fff;
    -webkit-font-smoothing: antialiased;
    background-color: #000;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Ctext x='12' y='20' fill='rgba(255,255,255,0.12)' font-size='11' font-family='system-ui,sans-serif'%3E%2B%3C/text%3E%3C/svg%3E");
}

a {
    color: inherit;
    text-decoration: none;
}

.wrap {
    position: relative;
    z-index: 1;
    max-width: 72rem;
    margin: 0 auto;
    padding: 2rem 1.25rem 6rem;
}

@media (min-width: 640px) {
    .wrap {
        padding: 2rem 2rem 6rem;
    }
}

@media (min-width: 1024px) {
    .wrap {
        padding: 3rem 2.5rem 6rem;
    }
}

/* Header */
.site-header {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .site-header {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

.brand {
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;
}

.brand-mark {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.04);
    font-size: 1.125rem;
    font-weight: 600;
}

.brand-mark:hover {
    border-color: rgba(255, 255, 255, 0.25);
}

.brand-text .name {
    margin: 0;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.9);
}

.brand-text .tag {
    margin: 0.35rem 0 0;
    max-width: 220px;
    font-size: 0.75rem;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.55);
}

.nav-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
}

@media (min-width: 640px) {
    .nav-actions {
        justify-content: flex-end;
    }
}

.pill-toggle {
    display: inline-flex;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(0, 0, 0, 0.4);
    padding: 0.25rem;
    backdrop-filter: blur(8px);
}

.pill-toggle a {
    border-radius: 9999px;
    padding: 0.375rem 0.75rem;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.9);
}

.pill-toggle a:hover {
    background: rgba(255, 255, 255, 0.1);
}

.pill-toggle a.active {
    background: #fff;
    color: #000;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

.pill-toggle a.active:hover {
    background: rgba(255, 255, 255, 0.9);
}

.link-login {
    padding: 0 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
}

.link-login:hover {
    color: #fff;
}

.btn-register {
    border-radius: 0.5rem;
    background: #fff;
    color: #000;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 600;
}

.btn-register:hover {
    background: rgba(255, 255, 255, 0.9);
}

/* Hero */
.hero {
    margin-top: 3.5rem;
    max-width: 56rem;
}

@media (min-width: 1024px) {
    .hero {
        margin-top: 5rem;
    }
}

.hero h1 {
    margin: 0;
    font-family: 'Fraunces', ui-serif, Georgia, serif;
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 500;
    line-height: 1.12;
    letter-spacing: -0.02em;
    color: #fff;
}

.hero p {
    margin: 1.5rem 0 0;
    max-width: 48rem;
    font-size: 1rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.65);
}

@media (min-width: 640px) {
    .hero p {
        font-size: 1.125rem;
    }
}

/* Cards grid */
.cards-section {
    margin-top: 4rem;
}

@media (min-width: 1024px) {
    .cards-section {
        margin-top: 5rem;
    }
}

.cards-grid {
    display: grid;
    gap: 1.25rem;
}

@media (min-width: 480px) {
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.app-card {
    position: relative;
    display: flex;
    flex-direction: column;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(24, 24, 27, 0.8);
    padding: 1.5rem;
    box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.85);
    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

.app-card:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 24px 60px -18px rgba(0, 0, 0, 0.9);
}

.app-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
}

.app-card-label {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
}

.app-card-label.accent {
    color: rgba(253, 230, 138, 0.75);
}

.icon-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.7);
}

.app-card:hover .icon-circle {
    border-color: rgba(255, 255, 255, 0.25);
    color: #fff;
}

.app-card h2 {
    margin: 1.5rem 0 0;
    font-family: 'Fraunces', ui-serif, Georgia, serif;
    font-size: 1.35rem;
    font-weight: 500;
    letter-spacing: -0.02em;
    color: #fff;
}

@media (min-width: 640px) {
    .app-card h2 {
        font-size: 1.5rem;
    }
}

.app-card .desc {
    margin: 0.75rem 0 0;
    flex: 1;
    font-size: 0.875rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.55);
}

.app-card .cta {
    margin-top: 1.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
}

.app-card:hover .cta {
    gap: 0.5rem;
}

/* Plans */
.plans-section {
    margin-top: 5rem;
}

@media (min-width: 1024px) {
    .plans-section {
        margin-top: 7rem;
    }
}

.plans-kicker {
    margin: 0;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
}

.plans-section h3 {
    margin: 0.5rem 0 0;
    font-family: 'Fraunces', ui-serif, Georgia, serif;
    font-size: clamp(1.35rem, 3vw, 1.75rem);
    font-weight: 500;
    color: #fff;
}

.plans-lead {
    margin: 0.5rem 0 0;
    max-width: 36rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.55);
}

.plans-grid {
    margin-top: 2.5rem;
    display: grid;
    gap: 1rem;
}

@media (min-width: 640px) {
    .plans-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .plans-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.plan-card {
    display: flex;
    flex-direction: column;
    border-radius: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(24, 24, 27, 0.6);
    padding: 1.25rem;
    transition: border-color 0.2s ease;
}

.plan-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
}

.plan-card h4 {
    margin: 0;
    font-family: 'Fraunces', ui-serif, Georgia, serif;
    font-size: 1.125rem;
    font-weight: 500;
    color: #fff;
}

.plan-card p {
    margin: 0.5rem 0 0;
    flex: 1;
    font-size: 0.875rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.5);
}

.plan-card .select {
    margin-top: 1.25rem;
    display: inline-flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.04);
    padding: 0.625rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #fff;
}

.plan-card .select:hover {
    border-color: rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.08);
}
