:root {
    --purple: #332a7d;
    --purple-dark: #17133d;
    --teal: #26bdbd;
    --ink: #17182f;
    --muted: #667085;
    --line: #d8dced;
    --surface: #ffffff;
    --soft: #eef9f9;
    --radius: 8px;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: #f7f8fc;
}

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

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

.brand,
.site-header nav,
.hero-actions,
.site-footer {
    display: flex;
    align-items: center;
}

.brand {
    gap: 10px;
    font-weight: 850;
    color: var(--purple);
}

.brand img {
    width: 105px;
    height: auto;
}

.site-header nav {
    gap: 18px;
    color: var(--muted);
    font-weight: 700;
}

.login-link,
.primary-button,
.secondary-button {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    padding: 10px 16px;
    font-weight: 800;
}

.login-link,
.primary-button {
    color: #061416;
    background: var(--teal);
}

.secondary-button {
    color: var(--purple);
    border: 1px solid rgba(51, 42, 125, 0.22);
    background: #ffffff;
}

.hero {
    min-height: calc(100vh - 76px);
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.75fr);
    align-items: center;
    gap: clamp(28px, 6vw, 80px);
    padding: clamp(48px, 8vw, 96px) clamp(20px, 5vw, 72px);
    background:
        linear-gradient(135deg, rgba(51, 42, 125, 0.97) 0%, rgba(51, 42, 125, 0.90) 46%, rgba(38, 189, 189, 0.90) 100%),
        url("/assets/img/comcal-logo.png") right 8% center / min(44vw, 520px) no-repeat;
    color: #ffffff;
}

.hero-copy {
    max-width: 760px;
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--teal);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.hero .eyebrow {
    color: #aef7f4;
}

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

h1 {
    margin-bottom: 18px;
    font-size: clamp(4rem, 12vw, 9rem);
    line-height: 0.9;
    letter-spacing: 0;
}

h2 {
    margin-bottom: 0;
    font-size: clamp(2rem, 5vw, 3.6rem);
    line-height: 1;
    letter-spacing: 0;
    color: var(--purple);
}

h3 {
    margin-bottom: 10px;
    color: var(--purple);
}

.lead {
    max-width: 680px;
    color: rgba(255, 255, 255, 0.88);
    font-size: clamp(1.15rem, 2vw, 1.5rem);
    line-height: 1.5;
}

.hero-actions {
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.product-preview {
    width: min(100%, 520px);
    justify-self: end;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.14);
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.26);
    backdrop-filter: blur(18px);
}

.preview-topbar {
    display: flex;
    gap: 7px;
    padding: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.preview-topbar span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.72);
}

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

.preview-grid article {
    min-height: 132px;
    padding: 18px;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.92);
    color: var(--ink);
}

.preview-grid .wide {
    grid-column: 1 / -1;
}

.preview-grid p,
.preview-grid small {
    color: var(--muted);
}

.preview-grid strong {
    display: block;
    margin-bottom: 8px;
    color: var(--purple);
    font-size: 1.25rem;
}

.section {
    display: grid;
    grid-template-columns: minmax(240px, 0.42fr) minmax(0, 1fr);
    gap: clamp(24px, 5vw, 64px);
    padding: clamp(54px, 8vw, 92px) clamp(20px, 5vw, 72px);
}

.feature-grid,
.package-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.feature-grid article,
.package-grid article {
    min-height: 210px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
}

.feature-grid p,
.package-grid p {
    color: var(--muted);
    line-height: 1.6;
}

.packages {
    background: var(--soft);
}

.package-grid strong {
    display: block;
    margin-bottom: 14px;
    color: var(--teal);
    font-size: 1.6rem;
}

.site-footer {
    justify-content: space-between;
    gap: 20px;
    padding: 26px clamp(20px, 5vw, 72px);
    color: #ffffff;
    background: var(--purple-dark);
}

.site-footer a {
    color: var(--teal);
    font-weight: 800;
}

@media (max-width: 900px) {
    .site-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .site-header nav {
        width: 100%;
        justify-content: space-between;
    }

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

    .product-preview {
        justify-self: stretch;
    }
}

@media (max-width: 560px) {
    .site-header nav {
        flex-wrap: wrap;
    }

    .preview-grid {
        grid-template-columns: 1fr;
    }
}
