/* ── Landing-specific tokens ── */
:root {
    --max-w: 1100px;
    --section-gap: 96px;
}

/* ── Hero ── */
.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 80px 24px 64px;
    gap: 0;
}

.hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary);
    background: rgba(25, 118, 210, 0.08);
    border-radius: var(--radius-chip);
    padding: 5px 14px;
    margin-bottom: 28px;
}

.hero__eyebrow-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--secondary);
    animation: pulse 1.8s ease-in-out infinite;
}

.hero__title {
    font-size: clamp(2.25rem, 6vw, 3.75rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    color: var(--on-surface);
    max-width: 780px;
    margin-bottom: 24px;
}

.hero__title em {
    font-style: normal;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero__sub {
    font-size: clamp(1rem, 2.5vw, 1.1875rem);
    line-height: 1.65;
    color: var(--on-surface-muted);
    max-width: 580px;
    margin-bottom: 40px;
}

.hero__actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 64px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: var(--radius-chip);
    padding: 12px 28px;
    text-decoration: none;
    transition:
        transform 0.15s,
        box-shadow 0.15s,
        opacity 0.15s;
    cursor: pointer;
    border: none;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn--primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 4px 16px rgba(25, 118, 210, 0.35);
}

.btn--primary:hover {
    background: var(--primary-dark);
    box-shadow: 0 6px 24px rgba(25, 118, 210, 0.45);
}

.btn--ghost {
    background: transparent;
    color: var(--on-surface-muted);
    border: 1px solid var(--outline);
}

.btn--ghost:hover {
    color: var(--on-surface);
    border-color: rgba(28, 27, 31, 0.3);
}

/* ── Hero mock UI ── */
.hero__mock {
    width: 100%;
    max-width: 860px;
    background: var(--surface);
    border: 1px solid var(--outline);
    border-radius: 20px;
    box-shadow:
        0 4px 16px rgba(0, 0, 0, 0.06),
        0 20px 60px rgba(25, 118, 210, 0.1);
    overflow: hidden;
}

.mock__bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 14px 20px;
    border-bottom: 1px solid var(--outline);
    background: rgba(25, 118, 210, 0.02);
}

.mock__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.mock__dot--red {
    background: #ff5f57;
}
.mock__dot--amber {
    background: #febc2e;
}
.mock__dot--green {
    background: #28c840;
}

.mock__url {
    margin-left: 10px;
    font-size: 0.75rem;
    color: var(--on-surface-muted);
    background: var(--bg);
    border: 1px solid var(--outline);
    border-radius: 6px;
    padding: 3px 12px;
    font-family: ui-monospace, monospace;
}

.mock__body {
    display: flex;
    height: 460px;
}

/* Info panel */
.mock__info {
    width: 200px;
    flex-shrink: 0;
    padding: 24px 20px;
    border-right: 1px solid var(--outline);
    display: flex;
    flex-direction: column;
    text-align: left;
}

.mock__avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #7b1fa2;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.375rem;
    font-weight: 700;
    margin-bottom: 14px;
}

.mock__info-sub {
    font-size: 0.75rem;
    color: var(--on-surface-muted);
    margin-bottom: 2px;
}

.mock__info-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--on-surface);
    margin-bottom: 14px;
}

.mock__info-divider {
    border: none;
    border-top: 1px solid var(--outline);
    margin: 0 0 14px;
}

.mock__info-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8125rem;
    color: var(--on-surface-muted);
    align-self: flex-start;
}

.mock__info-icon {
    width: 16px;
    height: 16px;
    fill: var(--on-surface-muted);
    flex-shrink: 0;
}

/* Calendar panel */
.mock__calendar {
    flex: 1;
    padding: 20px 24px;
    border-right: 1px solid var(--outline);
    display: flex;
    flex-direction: column;
}

.mock__cal-section-label {
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--on-surface-muted);
    margin-bottom: 16px;
}

.mock__cal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    color: var(--on-surface);
}

.mock__cal-nav {
    background: none;
    border: none;
    width: 28px;
    height: 28px;
    cursor: default;
    font-size: 1.1rem;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.mock__cal-month {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--on-surface);
}

.mock__cal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    row-gap: 4px;
    text-align: center;
    flex: 1;
    align-content: start;
}

.mock__cal-day {
    padding: 6px 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8125rem;
    color: var(--on-surface-muted);
}

.mock__cal-day--header {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--on-surface-muted);
    padding-bottom: 8px;
}

.mock__cal-day--inner {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 0.875rem;
}

.mock__cal-day--available .mock__cal-day--inner {
    color: var(--on-surface);
    font-weight: 500;
}

.mock__cal-day--selected .mock__cal-day--inner {
    background: var(--primary);
    color: #fff;
    font-weight: 700;
}

.mock__cal-day--today .mock__cal-day--inner {
    border: 2px solid var(--primary);
    color: var(--primary);
    font-weight: 700;
}

.mock__cal-day--muted .mock__cal-day--inner {
    opacity: 0.25;
}

/* Slot picker panel */
.mock__slots {
    width: 220px;
    flex-shrink: 0;
    padding: 20px 16px;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.mock__slots-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.mock__slots-label {
    font-size: 0.625rem;
    font-weight: 700;
    color: var(--on-surface-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.mock__slots-toggle {
    display: flex;
    border: 1px solid var(--outline);
    border-radius: 6px;
    overflow: hidden;
    font-size: 0.6875rem;
}

.mock__slots-toggle span {
    padding: 3px 8px;
    color: var(--on-surface-muted);
    font-weight: 600;
}

.mock__slots-toggle span.active {
    background: var(--primary);
    color: #fff;
}

.mock__slot-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mock__slot {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--outline);
    border-radius: 8px;
    padding: 11px 12px;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--on-surface);
    text-align: center;
}

.mock__slot--selected {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    font-weight: 600;
}

@media (max-width: 700px) {
    .mock__body {
        flex-direction: column;
        height: auto;
    }
    .mock__info {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid var(--outline);
    }
    .mock__calendar {
        border-right: none;
        border-bottom: 1px solid var(--outline);
    }
    .mock__slots {
        width: 100%;
    }
}

/* ── Section wrapper ── */
.section {
    padding: 0 24px var(--section-gap);
}

.section__inner {
    max-width: var(--max-w);
    margin: 0 auto;
}

.section__label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 10px;
}

.section__title {
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.2;
    color: var(--on-surface);
    margin-bottom: 14px;
}

.section__sub {
    font-size: 1rem;
    line-height: 1.65;
    color: var(--on-surface-muted);
    max-width: 540px;
    margin-bottom: 48px;
}

/* ── Features grid ── */
.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

@media (max-width: 860px) {
    .features {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .features {
        grid-template-columns: 1fr;
    }
}

.feature-card {
    background: var(--surface);
    border: 1px solid var(--outline);
    border-radius: var(--radius-card);
    padding: 32px 28px;
    box-shadow: var(--shadow-card);
    transition:
        transform 0.2s,
        box-shadow 0.2s;
}

.feature-card:hover {
    transform: translateY(-3px);
    box-shadow:
        0 4px 16px rgba(0, 0, 0, 0.08),
        0 12px 40px rgba(25, 118, 210, 0.08);
}

.feature-card__icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-card__icon svg {
    width: 24px;
    height: 24px;
}

.feature-card__icon--blue {
    background: rgba(25, 118, 210, 0.1);
}

.feature-card__icon--blue svg {
    fill: var(--primary);
}

.feature-card__icon--teal {
    background: rgba(38, 166, 154, 0.1);
}

.feature-card__icon--teal svg {
    fill: var(--secondary);
}

.feature-card__title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--on-surface);
    margin-bottom: 8px;
}

.feature-card__body {
    font-size: 0.9rem;
    line-height: 1.65;
    color: var(--on-surface-muted);
}

/* ── How it works ── */
.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    position: relative;
}

.steps::before {
    content: '';
    position: absolute;
    top: 28px;
    left: calc(16.67% + 28px);
    right: calc(16.67% + 28px);
    height: 2px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
    opacity: 0.25;
}

.step {
    padding: 0 24px;
    text-align: center;
}

.step__num {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--surface);
    border: 2px solid var(--primary);
    color: var(--primary);
    font-size: 1.125rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    position: relative;
    z-index: 1;
}

.step__title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--on-surface);
    margin-bottom: 8px;
}

.step__body {
    font-size: 0.875rem;
    line-height: 1.65;
    color: var(--on-surface-muted);
}

@media (max-width: 600px) {
    .steps {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .steps::before {
        display: none;
    }
}

/* ── Security strip ── */
.security {
    background: var(--surface);
    border: 1px solid var(--outline);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-card);
    padding: 48px 56px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

@media (max-width: 860px) {
    .security {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 36px 24px;
    }
}

.security__title {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--on-surface);
    margin-bottom: 12px;
}

.security__body {
    font-size: 0.9375rem;
    line-height: 1.65;
    color: var(--on-surface-muted);
    margin-bottom: 24px;
}

.security__pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.security__pill {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 100px;
    background: rgba(25, 118, 210, 0.08);
    color: var(--primary);
    border: 1px solid rgba(25, 118, 210, 0.15);
}

.security__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

@media (max-width: 600px) {
    .security__grid {
        grid-template-columns: 1fr;
    }
}

.security__item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 16px;
    background: var(--bg);
    border-radius: 10px;
}

.security__item-icon {
    width: 20px;
    height: 20px;
    fill: var(--secondary);
    flex-shrink: 0;
    margin-top: 1px;
}

.security__item-text {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--on-surface);
    line-height: 1.4;
}

/* ── Stack section ── */
.stack-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

@media (max-width: 860px) {
    .stack-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .stack-list {
        grid-template-columns: 1fr;
    }
}

.stack-item {
    background: var(--surface);
    border: 1px solid var(--outline);
    border-radius: 12px;
    padding: 16px 18px;
    box-shadow: var(--shadow-card);
}

.stack-item__layer {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--on-surface-muted);
    margin-bottom: 4px;
}

.stack-item__tech {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--on-surface);
}

.stack-item__desc {
    font-size: 0.8125rem;
    color: var(--on-surface-muted);
    margin-top: 2px;
}

/* ── Roadmap ── */
.roadmap-group {
    margin-bottom: 40px;
}

.roadmap-group__label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--on-surface-muted);
    margin-bottom: 16px;
    padding-bottom: 10px;
}

.roadmap {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

@media (max-width: 860px) {
    .roadmap {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .roadmap {
        grid-template-columns: 1fr;
    }
}

.roadmap-item {
    background: var(--surface);
    border: 1px solid var(--outline);
    border-radius: var(--radius-card);
    padding: 16px 18px;
    box-shadow: var(--shadow-card);
    display: flex;
    align-items: center;
    gap: 12px;
}

.roadmap-item--shipped {
    border-color: rgba(38, 166, 154, 0.25);
    background: rgba(38, 166, 154, 0.03);
}

.roadmap-item__status {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    color: var(--on-surface-muted);
}

.roadmap-item__title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--on-surface);
    line-height: 1.4;
}

.roadmap-item--shipped .roadmap-item__title {
    color: var(--secondary);
}

.roadmap__footer {
    margin-top: 32px;
    font-size: 0.9375rem;
    line-height: 1.65;
    color: var(--on-surface-muted);
}

.roadmap__link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.roadmap__link:hover {
    text-decoration: underline;
}

/* ── CTA section ── */
.cta-wrap {
    background: linear-gradient(135deg, var(--primary) 0%, #1250a0 100%);
    border-radius: 24px;
    padding: 64px 56px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-wrap::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
}

.cta-wrap::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -40px;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: rgba(38, 166, 154, 0.15);
}

.cta__title {
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #fff;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.cta__sub {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 36px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

.cta__actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.btn--white {
    background: #fff;
    color: var(--primary);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.btn--white:hover {
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.2);
}

.btn--outline-white {
    background: transparent;
    color: #fff;
    border: 1.5px solid rgba(255, 255, 255, 0.45);
}

.btn--outline-white:hover {
    border-color: rgba(255, 255, 255, 0.8);
}

/* ── Responsive ── */
@media (max-width: 600px) {
    .mock__body {
        grid-template-columns: 1fr;
    }
    .cta-wrap {
        padding: 40px 20px;
    }
    :root {
        --section-gap: 64px;
    }
}

/* ── Inline code snippets ── */
.inline-code {
    font-size: 0.75rem;
    background: rgba(25, 118, 210, 0.07);
    color: var(--primary);
    padding: 1px 5px;
    border-radius: 4px;
}

.inline-code--sm {
    font-size: 0.8rem;
    background: rgba(25, 118, 210, 0.07);
    color: var(--primary);
    padding: 1px 5px;
    border-radius: 4px;
}

/* ── Main layout ── */
.main--column {
    display: flex;
    flex-direction: column;
    width: 100%;
}

/* ── Coming Soon Popup ── */
.cs-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(6px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.cs-card {
    background: var(--surface);
    border: 1px solid var(--outline);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-card);
    padding: 48px 40px 40px;
    max-width: 440px;
    width: 100%;
    text-align: center;
    position: relative;
    animation: cs-pop 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.cs-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.125rem;
    line-height: 1;
    color: var(--on-surface-muted);
    padding: 4px 8px;
    border-radius: 6px;
    transition: color 0.15s;
}

.cs-close:hover {
    color: var(--on-surface);
}

.cs-icon-wrap {
    width: 64px;
    height: 64px;
    background: rgba(25, 118, 210, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.cs-title {
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--on-surface);
    margin-bottom: 12px;
}

.cs-body {
    font-size: 0.9375rem;
    line-height: 1.65;
    color: var(--on-surface-muted);
    margin-bottom: 32px;
}

.cs-btn {
    background: transparent;
    border: 1px solid var(--outline);
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--on-surface-muted);
    padding: 10px 24px;
    border-radius: var(--radius-chip);
    transition:
        color 0.15s,
        border-color 0.15s;
}

.cs-btn:hover {
    color: var(--primary);
    border-color: var(--primary);
}

@keyframes cs-pop {
    from {
        opacity: 0;
        transform: scale(0.88) translateY(12px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* ── Legal pages ── */
.main--legal {
    align-items: flex-start;
}

.legal-p--mt {
    margin-top: 12px;
}

.legal-ul {
    margin-top: 12px;
}

.legal-li {
    margin-bottom: 10px;
}

.legal-li--lg {
    margin-bottom: 14px;
}

.legal-address--mt {
    margin-top: 12px;
}

.legal-footnote {
    font-size: 0.8125rem;
}
