:root {
    --page-width: 1180px;
    --landing-bg: #ffffff;
    --footer-bg: #15326a;
    --ink: #07174b;
    --soft-line: #dfe7f4;
}

body {
    background: var(--landing-bg);
    padding-bottom: 0;
    overflow-x: hidden;
}

.site-header {
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid var(--soft-line);
    height: 66px;
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(16px);
}

.header-inner {
    max-width: var(--page-width);
    margin: 0 auto;
    height: 100%;
    padding: 0 32px;
    display: grid;
    grid-template-columns: 180px 1fr auto;
    align-items: center;
    column-gap: 30px;
}

.logo {
    margin: 0;
    font-size: 27px;
    line-height: 1;
    font-weight: 700;
    color: #0a1b43;
    letter-spacing: 0;
    justify-self: start;
}

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

.main-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 34px;
}

.main-nav a {
    line-height: 1;
    font-size: 13px;
    font-weight: 700;
    color: #1f3b72;
    letter-spacing: 0;
    text-decoration: none;
    transition: color 0.2s ease;
}

.nav-with-chevron::after {
    content: "\2304";
    margin-left: 7px;
    font-size: 12px;
}

.auth-actions {
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 24px;
}

.auth-actions form {
    margin: 0;
}

.auth-actions .signin {
    font-weight: 700;
    color: #1f3b72;
    letter-spacing: 0;
    text-decoration: none;
    transition: color 0.2s ease;
}

.auth-actions .signup {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 22px;
    border-radius: 12px;
    background: linear-gradient(180deg, #3b82f6 0%, var(--blue) 100%);
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0;
    text-decoration: none;
    transition: background 0.2s ease;
}

.auth-actions button.signup {
    border: 0;
    cursor: pointer;
    font: inherit;
}

.main-nav a:hover,
.auth-actions .signin:hover {
    color: var(--blue);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.auth-actions .signup:hover {
    background: var(--blue-dark);
}

.hero-section {
    background:
        radial-gradient(circle at 84% 30%, rgba(123, 181, 255, 0.25), transparent 32%),
        linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
    padding: 42px 0 58px;
}

.hero-inner {
    max-width: var(--page-width);
    margin: 0 auto;
    padding: 0 32px;
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: clamp(28px, 4vw, 54px);
    align-items: center;
}

.eyebrow,
.section-kicker {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin: 0 0 24px;
    padding: 7px 12px;
    border-radius: 999px;
    background: #edf5ff;
    color: var(--blue);
    font-size: 12px;
    line-height: 1;
    font-weight: 800;
    box-shadow: inset 0 0 0 1px #cfe1ff;
}

.hero-copy h1 {
    margin: 0;
    max-width: 650px;
    font-size: clamp(44px, 5vw, 68px);
    line-height: 1.02;
    letter-spacing: 0;
    color: var(--ink);
}

.hero-copy h1 span {
    display: inline-block;
    color: var(--blue);
    position: relative;
}

.hero-copy h1 span::after {
    content: "";
    position: absolute;
    left: 0;
    right: 12px;
    bottom: -5px;
    height: 8px;
    border-bottom: 4px solid var(--blue);
    border-radius: 50%;
    transform: rotate(-2deg);
}

.hero-copy p {
    margin: 28px 0 0;
    max-width: 500px;
    line-height: 1.35;
    color: #5d6f96;
    letter-spacing: 0;
}

.hero-cta-row {
    margin-top: 34px;
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-cta-row .primary-btn,
.secondary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    border-radius: 12px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: 0;
    text-decoration: none;
}

.hero-cta-row .primary-btn {
    gap: 12px;
    padding: 0 28px;
    background: linear-gradient(180deg, #3b82f6 0%, var(--blue) 100%);
    color: #ffffff;
    box-shadow: inset 0 0 0 1px #2465d4, 0 18px 34px rgba(37, 99, 235, 0.24);
}

.secondary-btn {
    gap: 14px;
    padding: 0 25px;
    border: 1px solid var(--soft-line);
    background: #ffffff;
    color: var(--ink);
    box-shadow: 0 12px 26px rgba(41, 72, 120, 0.08);
}

.secondary-btn span,
.bottom-secondary span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 999px;
    border: 1px solid #b8c9e8;
    color: var(--blue);
    font-size: 10px;
}

.hero-proof-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px;
    margin-top: 48px;
    max-width: 620px;
    color: #66789c;
    font-size: 12px;
    line-height: 1.45;
    font-weight: 700;
}

.hero-proof-row div {
    display: grid;
    grid-template-columns: 24px 1fr;
    gap: 9px;
}

.proof-icon {
    color: #6c83b5;
    font-size: 18px;
    line-height: 1;
}

.hero-visual {
    min-height: 520px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    overflow: visible;
}

.hero-orb {
    position: absolute;
    width: 430px;
    height: 430px;
    border-radius: 50%;
    background: linear-gradient(135deg, #d9ebff 0%, #b9d9ff 55%, #8ec0ff 100%);
    right: 22px;
    top: 50px;
    opacity: 0.86;
}

.dot-grid {
    position: absolute;
    width: 74px;
    height: 92px;
    right: 6px;
    top: 18px;
    background-image: radial-gradient(#2563eb 1.6px, transparent 1.6px);
    background-size: 14px 14px;
    opacity: 0.75;
}

.schedule-mockup {
    position: relative;
    z-index: 2;
    width: min(100%, 610px);
    min-width: 0;
    border: 1px solid #dce5f4;
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 34px 80px rgba(31, 59, 114, 0.18);
    overflow: hidden;
}

.mockup-topbar {
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 22px;
    border-bottom: 1px solid #dce5f4;
}

.mockup-topbar p {
    margin: 0;
    color: var(--blue);
    font-size: 24px;
    font-weight: 800;
}

.mockup-topbar span {
    color: #14306d;
}

.mockup-avatars {
    display: flex;
    align-items: center;
}

.mockup-avatars span,
.mockup-avatars strong {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 23px;
    height: 23px;
    margin-left: -5px;
    border: 2px solid #ffffff;
    border-radius: 999px;
    background: #ffe3d0;
    color: #14306d;
    font-size: 10px;
    font-weight: 800;
}

.mockup-avatars span:nth-child(2) {
    background: #d8f9e5;
}

.mockup-avatars span:nth-child(3) {
    background: #dbeafe;
}

.mockup-avatars span:nth-child(4) {
    background: #f1e8ff;
}

.mockup-avatars strong {
    background: #ffffff;
    border-color: #dce5f4;
}

.mockup-body {
    display: grid;
    grid-template-columns: 28px 1fr;
}

.mockup-sidebar {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
    padding-top: 22px;
    background: #07174b;
}

.mockup-sidebar span {
    width: 9px;
    height: 9px;
    border-radius: 3px;
    border: 1px solid rgba(255, 255, 255, 0.55);
}

.mockup-calendar {
    padding: 18px 20px 24px;
    overflow: hidden;
}

.calendar-head,
.calendar-row {
    display: grid;
    grid-template-columns: 72px repeat(7, minmax(54px, 1fr));
}

.calendar-head span {
    min-height: 38px;
    padding-top: 7px;
    border-left: 1px solid #e6edf8;
    color: #253d75;
    font-size: 10px;
    font-weight: 800;
    text-align: center;
}

.calendar-head span:first-child {
    grid-column: 2;
}

.calendar-row {
    min-height: 44px;
}

.member-name {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #253d75;
    font-size: 11px;
    font-weight: 800;
}

.member-name::before {
    content: "";
    width: 22px;
    height: 22px;
    border-radius: 999px;
    background: linear-gradient(135deg, #ffd6bd, #f4a57a);
}

.shift-cell {
    position: relative;
    border-left: 1px solid #e6edf8;
    border-top: 1px solid #e6edf8;
}

.shift-pill {
    position: absolute;
    left: 7px;
    right: 7px;
    top: 9px;
    display: block;
    min-height: 20px;
    padding: 5px 4px 0;
    border-radius: 5px;
    color: #ffffff;
    font-size: 8px;
    font-style: normal;
    font-weight: 800;
    text-align: center;
}

.shift-pill.blue { background: #4b8ff7; }
.shift-pill.cyan { background: #43c3eb; }
.shift-pill.green { background: #35d18a; }
.shift-pill.orange { background: #ff9c63; }
.shift-pill.purple { background: #8b6df6; }

.publish-toast {
    position: absolute;
    z-index: 3;
    right: 68px;
    bottom: 86px;
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 240px;
    padding: 18px 20px;
    border: 1px solid #dce5f4;
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 26px 60px rgba(31, 59, 114, 0.18);
}

.publish-toast > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: var(--blue);
    color: #ffffff;
    font-weight: 800;
}

.publish-toast strong,
.publish-toast small {
    display: block;
}

.publish-toast strong {
    color: var(--ink);
    font-size: 13px;
}

.publish-toast small {
    margin-top: 3px;
    color: #66789c;
    font-size: 11px;
    font-weight: 700;
}

.features-section {
    background: #ffffff;
    padding: 46px 0 72px;
}

.features-inner {
    max-width: var(--page-width);
    margin: 0 auto;
    padding: 0 32px;
    text-align: center;
}

.features-inner > h2 {
    margin: 0;
    color: var(--ink);
    font-size: clamp(28px, 3vw, 36px);
    line-height: 1.1;
}

.section-kicker {
    margin: 0 auto 18px;
    padding: 7px 13px;
}

.feature-grid {
    margin-top: 42px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
    text-align: left;
}

.feature-card {
    background: #ffffff;
    border: 1px solid var(--soft-line);
    border-radius: 13px;
    padding: 28px 24px 24px;
    box-shadow: 0 20px 50px rgba(29, 51, 90, 0.05);
}

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin: 0 0 28px;
    border-radius: 14px;
}

.feature-icon svg {
    width: 25px;
    height: 25px;
}

.feature-icon.blue {
    color: var(--blue);
    background: #eaf2ff;
}

.feature-icon.green {
    color: #06b66b;
    background: #e7fbf1;
}

.feature-icon.orange {
    color: #ff7a2f;
    background: #fff0e8;
}

.feature-icon.purple {
    color: #7c4dff;
    background: #f2ecff;
}

.feature-card h3 {
    margin: 0;
    color: #0f1e54;
    font-size: 18px;
    line-height: 1.15;
}

.feature-card p {
    margin: 18px 0 24px;
    color: #5d6f96;
    line-height: 1.5;
}

.feature-card a {
    font-size: 13px;
    font-weight: 700;
    color: var(--blue);
    text-decoration: none;
}

.bottom-cta {
    position: relative;
    overflow: hidden;
    margin-top: 50px;
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 34px;
    align-items: center;
    padding: 42px 48px;
    border-radius: 13px;
    background:
        radial-gradient(circle at 9% 118%, rgba(117, 190, 255, 0.45), transparent 30%),
        linear-gradient(135deg, #1e6bff 0%, #1958e7 100%);
    color: #ffffff;
    text-align: left;
}

.bottom-cta h2 {
    margin: 0;
    font-size: 26px;
    line-height: 1.12;
}

.bottom-cta p {
    max-width: 440px;
    margin: 14px 0 28px;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.5;
}

.cta-proof-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    max-width: 650px;
}

.cta-proof-row span {
    color: rgba(255, 255, 255, 0.82);
    font-size: 12px;
    line-height: 1.4;
    font-weight: 700;
}

.bottom-cta-actions {
    display: grid;
    gap: 14px;
}

.bottom-primary,
.bottom-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 800;
}

.bottom-primary {
    background: #ffffff;
    color: var(--blue);
}

.bottom-secondary {
    gap: 12px;
    border: 1px solid rgba(255, 255, 255, 0.55);
    color: #ffffff;
}

.bottom-secondary span {
    border-color: rgba(255, 255, 255, 0.7);
    color: #ffffff;
}

.bottom-cta-actions small {
    color: rgba(255, 255, 255, 0.86);
    font-size: 12px;
    font-weight: 700;
    text-align: center;
}

.site-footer {
    display: none;
}

@media (max-width: 1180px) {
    .site-header {
        height: auto;
        position: static;
    }

    .header-inner {
        grid-template-columns: 1fr auto;
        min-height: 64px;
        height: auto;
        padding: 18px 22px;
        row-gap: 18px;
    }

    .main-nav {
        grid-column: 1 / -1;
        grid-row: 2;
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 18px 24px;
    }

    .auth-actions {
        grid-column: 2;
        justify-self: end;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .hero-visual {
        min-height: 440px;
    }

    .schedule-mockup {
        max-width: 720px;
    }

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

    .bottom-cta {
        grid-template-columns: 1fr;
    }

    .bottom-cta-actions {
        max-width: 360px;
    }
}

@media (max-width: 640px) {
    .hero-section {
        padding: 0 0 36px;
    }

    .hero-inner,
    .features-inner,
    .header-inner {
        padding-left: 18px;
        padding-right: 18px;
    }

    .header-inner {
        min-height: 56px;
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .logo {
        font-size: 24px;
    }

    .auth-actions .signup {
        min-height: 40px;
        padding: 0 18px;
    }

    .eyebrow {
        margin-bottom: 38px;
    }

    .main-nav {
        display: none;
    }

    .auth-actions {
        gap: 14px;
    }

    .auth-actions .signin {
        display: none;
    }

    .hero-copy h1 {
        font-size: clamp(32px, 9.6vw, 38px);
        line-height: 1.08;
    }

    .hero-copy h1 span {
        display: block;
        width: fit-content;
    }

    .hero-copy h1 span::after {
        display: none;
    }

    .hero-copy h1 span {
        text-decoration: underline;
        text-decoration-color: var(--blue);
        text-decoration-thickness: 3px;
        text-underline-offset: 6px;
    }

    .feature-grid,
    .bottom-cta,
    .cta-proof-row {
        grid-template-columns: 1fr;
    }

    .hero-proof-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        margin-top: 30px;
        width: 100%;
        max-width: none;
        font-size: 10px;
        line-height: 1.35;
    }

    .hero-proof-row div {
        display: block;
        min-width: 0;
        overflow-wrap: anywhere;
    }

    .hero-proof-row div:nth-child(3) {
        grid-column: 1 / -1;
    }

    .proof-icon {
        display: block;
        margin-bottom: 8px;
        font-size: 14px;
    }

    .hero-visual {
        min-height: auto;
        justify-content: center;
        overflow: visible;
        padding-bottom: 8px;
    }

    .schedule-mockup {
        width: 100%;
        transform: none;
    }

    .mockup-topbar {
        height: 46px;
        padding: 0 14px;
    }

    .mockup-topbar p {
        font-size: 20px;
    }

    .mockup-avatars span,
    .mockup-avatars strong {
        width: 20px;
        height: 20px;
        font-size: 9px;
    }

    .mockup-body {
        grid-template-columns: 20px 1fr;
    }

    .mockup-sidebar {
        gap: 12px;
        padding-top: 18px;
    }

    .mockup-sidebar span {
        width: 7px;
        height: 7px;
    }

    .mockup-calendar {
        padding: 12px 10px 16px;
    }

    .calendar-head,
    .calendar-row {
        grid-template-columns: 42px repeat(7, minmax(26px, 1fr));
    }

    .calendar-head span {
        min-height: 26px;
        font-size: 8px;
    }

    .calendar-row {
        min-height: 30px;
    }

    .member-name {
        gap: 4px;
        font-size: 9px;
    }

    .member-name::before {
        width: 14px;
        height: 14px;
    }

    .shift-pill {
        left: 3px;
        right: 3px;
        top: 6px;
        min-height: 14px;
        padding-top: 0;
        font-size: 0;
    }

    .hero-orb {
        width: 260px;
        height: 260px;
        right: 0;
        top: 32px;
    }

    .dot-grid {
        display: none;
    }

    .publish-toast {
        display: none;
    }

    .bottom-cta {
        padding: 30px 22px;
    }

    .hero-cta-row a {
        width: 100%;
    }
}
