/* TaskLZ public language. Square, precise, cobalt as the only signal. */
:root {
    --tlz-blue: #005fee;
    --tlz-blue-deep: #0047b8;
    --tlz-navy: #091e53;
    --tlz-ink: #14181f;
    --tlz-muted: #5c6570;
    --tlz-line: #d5dbe3;
    --tlz-paper: #f6f7f9;
    --tlz-white: #ffffff;
    --tlz-ease: cubic-bezier(0.22, 1, 0.36, 1);
    --tlz-header: 4.75rem;
}

.public-body {
    margin: 0;
    color: var(--tlz-ink);
    background: var(--tlz-white);
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 1.0625rem;
    line-height: 1.55;
    letter-spacing: -0.011em;
}

.public-body h1,
.public-body h2,
.public-body h3 {
    letter-spacing: -0.04em;
    line-height: 1.02;
    font-weight: 500;
}

.public-body .btn {
    border-radius: 0;
    letter-spacing: -0.01em;
    padding: 0.85rem 1.15rem;
}

.public-body .btn-primary {
    background: var(--tlz-blue);
    border-color: var(--tlz-blue);
    color: #fff;
}

.public-body .btn-primary:hover,
.public-body .btn-primary:focus {
    background: var(--tlz-navy);
    border-color: var(--tlz-navy);
    color: #fff;
}

.public-body .btn-line {
    background: transparent;
    border: 1px solid currentColor;
    color: inherit;
}

.public-body .btn-line:hover {
    background: var(--tlz-ink);
    border-color: var(--tlz-ink);
    color: #fff;
}

.skip-link {
    position: absolute;
    left: 1rem;
    top: -3rem;
    background: #fff;
    color: var(--tlz-ink);
    padding: 0.5rem 0.75rem;
    z-index: 30;
}

.skip-link:focus { top: 0.75rem; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    height: var(--tlz-header);
    background: rgb(255 255 255 / 92%);
    border-bottom: 1px solid var(--tlz-line);
    backdrop-filter: blur(10px);
}

.site-header-inner {
    height: 100%;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.brand-logo { height: 36px; width: auto; }

.site-nav {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-left: auto;
}

.site-nav a {
    color: var(--tlz-ink);
    text-decoration: none;
    padding: 0.55rem 0.75rem;
}

.site-nav a[aria-current="page"] {
    box-shadow: inset 0 -2px 0 var(--tlz-blue);
}

.nav-toggle {
    display: none;
    margin-left: auto;
    border: 1px solid var(--tlz-line);
    background: #fff;
    padding: 0.45rem 0.7rem;
}

.hero-home {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
    min-height: calc(100vh - var(--tlz-header));
    border-bottom: 1px solid var(--tlz-line);
}

.hero-copy {
    padding: clamp(2.5rem, 6vw, 5.5rem) clamp(1.25rem, 4vw, 4.5rem);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 1.25rem;
}

.eyebrow {
    margin: 0;
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--tlz-blue);
    font-weight: 700;
}

.hero-copy h1 {
    margin: 0;
    font-size: clamp(3.1rem, 6.4vw, 6.4rem);
    max-width: 9ch;
}

.lede {
    margin: 0;
    max-width: 38rem;
    font-size: 1.2rem;
    color: var(--tlz-muted);
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.proof {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem 2rem;
    margin: 0.5rem 0 0;
    padding: 0;
    list-style: none;
    color: var(--tlz-ink);
    font-size: 0.95rem;
}

.proof li::before {
    content: "";
    display: inline-block;
    width: 0.55rem;
    height: 0.55rem;
    margin-right: 0.55rem;
    background: var(--tlz-blue);
    transform: translateY(-0.05rem);
}

.hero-visual {
    position: relative;
    overflow: hidden;
    background: var(--tlz-navy);
    min-height: 28rem;
}

.hero-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: drift 22s var(--tlz-ease) infinite alternate;
}

.hero-caption {
    position: absolute;
    left: 1.25rem;
    right: 1.25rem;
    bottom: 1.25rem;
    color: #fff;
    background: rgb(9 30 83 / 72%);
    padding: 0.9rem 1rem;
    backdrop-filter: blur(8px);
}

.hero-caption strong { display: block; font-size: 1rem; }
.hero-caption span { color: rgb(255 255 255 / 78%); font-size: 0.92rem; }

.band { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.band-paper { background: var(--tlz-paper); border-top: 1px solid var(--tlz-line); border-bottom: 1px solid var(--tlz-line); }
.band-navy { background: var(--tlz-navy); color: #fff; }
.band h2 { font-size: clamp(2.2rem, 4vw, 4rem); margin: 0 0 1rem; max-width: 14ch; }
.section-intro { max-width: 40rem; color: var(--tlz-muted); font-size: 1.15rem; }

.split {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: clamp(1.5rem, 4vw, 4rem);
    align-items: center;
}

.stage {
    background: var(--tlz-white);
    border: 1px solid var(--tlz-line);
    padding: 1rem;
}

.claim-stage { width: 100%; height: auto; display: block; }

.claim-card {
    animation: land-card 9s var(--tlz-ease) infinite;
}

.phase-open, .phase-claimed, .phase-done {
    opacity: 0.35;
    animation: phase 9s var(--tlz-ease) infinite;
}

.phase-open { animation-delay: 0s; }
.phase-claimed { animation-delay: 0s; }
.phase-done { animation-delay: 0s; }

.lane-open { animation-name: show-open; }
.lane-claimed { animation-name: show-claimed; }
.lane-done { animation-name: show-done; }

.feature-grid, .price-grid, .rule-grid {
    display: grid;
    gap: 1px;
    background: var(--tlz-line);
    border: 1px solid var(--tlz-line);
}

.feature-grid { grid-template-columns: 1.1fr 0.9fr; }
.rule-grid { grid-template-columns: repeat(3, 1fr); }
.price-grid { grid-template-columns: repeat(3, 1fr); }

.feature-copy, .rule-card, .price-card, .swatch, .specimen {
    background: #fff;
    padding: 1.5rem;
}

.feature-media { min-height: 100%; position: relative; overflow: hidden; background: var(--tlz-navy); }
.feature-media img { width: 100%; height: 100%; object-fit: cover; min-height: 22rem; }

.rule-card .index {
    display: block;
    color: var(--tlz-blue);
    font-weight: 700;
    letter-spacing: 0.08em;
    margin-bottom: 1.5rem;
}

.rule-card h3 { font-size: 1.7rem; margin: 0 0 0.75rem; }

.price-card { display: flex; flex-direction: column; min-height: 100%; }
.price-card.featured { background: var(--tlz-navy); color: #fff; }
.price-card.featured .muted, .price-card.featured li { color: rgb(255 255 255 / 82%); }
.price-card .amount { font-size: clamp(2.4rem, 4vw, 3.4rem); letter-spacing: -0.045em; display: block; margin: 0.4rem 0 1rem; }
.price-card ul { padding-left: 1.1rem; margin: 0 0 1.5rem; }
.price-card li + li { margin-top: 0.35rem; }
.price-card .btn { margin-top: auto; }

.muted { color: var(--tlz-muted); }

.quote-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.close-band {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    min-height: 28rem;
}

.close-copy { padding: clamp(2rem, 5vw, 4.5rem); display: flex; flex-direction: column; justify-content: flex-end; }
.close-copy h2 { color: #fff; max-width: 12ch; }
.close-visual { position: relative; overflow: hidden; }
.close-visual img { width: 100%; height: 100%; object-fit: cover; min-height: 22rem; }

.site-footer {
    border-top: 1px solid var(--tlz-line);
    padding: 2rem 0 2.5rem;
    color: var(--tlz-muted);
}

.site-footer a { color: var(--tlz-ink); text-decoration: none; }
.site-footer a:hover { color: var(--tlz-blue); }
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr auto;
    gap: 1.5rem;
    align-items: start;
}

.swatch-row, .type-stack { display: grid; gap: 1px; background: var(--tlz-line); border: 1px solid var(--tlz-line); }
.swatch-row { grid-template-columns: repeat(4, 1fr); }
.swatch { min-height: 8.5rem; }
.swatch.navy { background: var(--tlz-navy); color: #fff; }
.swatch.blue { background: var(--tlz-blue); color: #fff; }
.swatch strong { display: block; margin-top: 2.5rem; }

.ds-nav { display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; margin: 1rem 0 0; }
.ds-nav a { color: var(--tlz-ink); }

.auth-page {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
}

.auth-brand {
    background: var(--tlz-navy) url("/assets/images/marketing/runway.jpg") center/cover no-repeat;
    color: #fff;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

.auth-brand::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgb(9 30 83 / 35%), rgb(9 30 83 / 88%));
}

.auth-brand > * { position: relative; }
.auth-brand h1 { font-size: clamp(2.4rem, 4vw, 4rem); max-width: 12ch; }
.auth-panel { display: flex; align-items: center; justify-content: center; padding: 2rem 1rem; background: var(--tlz-paper); }
.auth-card { width: min(440px, 100%); background: #fff; border: 1px solid var(--tlz-line); padding: 1.75rem; }
.auth-card .form-control { border-radius: 0; border-color: var(--tlz-line); min-height: 3rem; }

@keyframes drift {
    from { transform: scale(1); }
    to { transform: scale(1.06); }
}

@keyframes land-card {
    0%, 16% { transform: translate(18px, 78px); }
    34%, 50% { transform: translate(226px, 78px); }
    68%, 84% { transform: translate(434px, 78px); }
    100% { transform: translate(18px, 78px); }
}

@keyframes show-open {
    0%, 20% { opacity: 1; }
    30%, 100% { opacity: 0.28; }
}

@keyframes show-claimed {
    0%, 28% { opacity: 0.28; }
    38%, 54% { opacity: 1; }
    64%, 100% { opacity: 0.28; }
}

@keyframes show-done {
    0%, 60% { opacity: 0.28; }
    72%, 88% { opacity: 1; }
    100% { opacity: 0.28; }
}

@media (max-width: 960px) {
    .nav-toggle { display: inline-block; }
    .site-nav {
        display: none;
        position: absolute;
        top: var(--tlz-header);
        left: 0;
        right: 0;
        background: #fff;
        border-bottom: 1px solid var(--tlz-line);
        flex-direction: column;
        align-items: stretch;
        padding: 0.5rem 1rem 1rem;
        margin: 0;
    }
    .site-nav.is-open { display: flex; }
    .hero-home, .split, .feature-grid, .rule-grid, .price-grid, .quote-row, .close-band, .auth-page, .footer-grid, .swatch-row {
        grid-template-columns: 1fr;
    }
    .hero-copy h1 { max-width: none; }
    .hero-actions { flex-direction: column; align-items: stretch; }
    .hero-actions .btn { width: 100%; text-align: center; }
    .proof { display: grid; gap: 0.65rem; }
    .auth-brand { min-height: 16rem; }
}

@media (prefers-reduced-motion: reduce) {
    .hero-visual img, .claim-card, .lane-open, .lane-claimed, .lane-done { animation: none; }
    .claim-card { transform: translate(226px, 78px); }
    .lane-claimed { opacity: 1; }
}
