/* public/assets/landing.css
   Public pages built on templates/home/_layout.html.twig (home, app catalogue,
   app pages). Uses the tokens and principles of tizz-ui.css, which is loaded
   first: square, ruled, aligned; numbers in monospace; one blue for action. */

body.tzl {
    margin: 0;
    font-family: var(--ui-sans);
    color: var(--ui-text);
    background: var(--ui-bg);
    line-height: 1.55;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}
.tzl h1, .tzl h2, .tzl h3, .tzl p, .tzl ul, .tzl dl, .tzl dd { margin: 0; }
.tzl a { color: var(--ui-link); }
.tzl a:focus-visible, .tzl select:focus-visible { outline: 2px solid var(--ui-primary-on-ink); outline-offset: 2px; }
.tzl .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.tzl-wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ── Nav ── */
.tzl-nav { background: var(--ui-ink); border-bottom: 1px solid var(--ui-ink-line); }
.tzl-nav-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 16px; min-height: 60px; }
.tzl-logo { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; }
.tzl-logo img { height: 26px; border-radius: 4px; background: rgba(255,255,255,.08); padding: 2px; }
.tzl-logo span { font-weight: 600; font-size: 18px; letter-spacing: -.01em; color: #fff; }
.tzl-nav-right { display: flex; flex-wrap: wrap; align-items: center; gap: 0 4px; }
.tzl-nav-right a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; color: var(--ui-on-ink); font-size: 14px; text-decoration: none; }
.tzl-nav-right a:hover { color: #fff; }
.tzl-nav-right a.tzl-btn-nav { background: var(--ui-primary); color: #fff; padding: 0 16px; min-height: 38px; border-radius: var(--ui-radius); font-weight: 600; margin-left: 8px; }
.tzl-nav-right a.tzl-btn-nav:hover { background: var(--ui-primary-hover); }
.tzl-select { position: relative; display: inline-flex; align-items: center; margin-right: 4px; }
.tzl-select select {
    appearance: none; -webkit-appearance: none; min-height: 34px;
    background: transparent; border: 1px solid var(--ui-ink-line);
    color: var(--ui-on-ink); border-radius: var(--ui-radius); padding: 4px 28px 4px 10px;
    font: inherit; font-size: 13px; cursor: pointer;
}
.tzl-select select option { color: var(--ui-text); }
.tzl-select::after { content: ''; position: absolute; right: 10px; top: 50%; width: 6px; height: 6px; border-right: 1.5px solid var(--ui-on-ink); border-bottom: 1.5px solid var(--ui-on-ink); transform: translateY(-70%) rotate(45deg); pointer-events: none; }

/* ── Buttons ── */
.tzl-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: var(--ui-radius); border: 1px solid transparent; font-weight: 600; font-size: 15px; text-decoration: none; white-space: nowrap; }
.tzl a.tzl-btn-primary { background: var(--ui-primary); color: #fff; }
.tzl a.tzl-btn-primary:hover { background: var(--ui-primary-hover); }
.tzl a.tzl-btn-outline { border-color: #55627D; color: #fff; }
.tzl a.tzl-btn-outline:hover { border-color: #fff; }
.tzl a.tzl-btn-ghost { border-color: var(--ui-line-strong); color: var(--ui-text); background: var(--ui-surface); }
.tzl a.tzl-btn-ghost:hover { border-color: var(--ui-text); }
.tzl-btn-sm { min-height: 40px; padding: 0 16px; font-size: 14px; }

/* ── Hero ── */
.tzl-hero {
    background-color: var(--ui-ink); color: #fff;
    /* swells that recede into a hazy horizon, after the wave in the logo */
    background-image: url('../images/hero-swell.svg?v=3');
    background-size: cover; background-position: center bottom; background-repeat: no-repeat;
    border-bottom: 1px solid var(--ui-ink-line);
}
.tzl-hero-in { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; padding-top: 72px; padding-bottom: 80px; }
.tzl-hero-copy { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.tzl-hero-wide .tzl-hero-copy { max-width: 860px; }
.tzl-pill { align-self: flex-start; font-family: var(--ui-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ui-primary-on-ink); padding: 4px 10px; border: 1px solid var(--ui-ink-line); border-radius: 3px; background: var(--ui-ink); }
.tzl-hero h1 { font-weight: 600; font-size: clamp(2.2rem, 4.6vw, 3.6rem); line-height: 1.06; letter-spacing: -.03em; }
.tzl-hero h1 em, .tzl-band h2 em { font-style: normal; color: var(--ui-primary-on-ink); }
.tzl-hl { color: inherit; }
.tzl-hero-sub { font-size: 1.1rem; color: var(--ui-on-ink); max-width: 600px; }
.tzl-ctas { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.tzl-note { font-family: var(--ui-mono); font-size: 12px; letter-spacing: .02em; color: var(--ui-on-ink); }

/* Hero data panel */
.tzl-visual { flex: 1 1 460px; min-width: 0; border: 1px solid var(--ui-ink-line); border-radius: var(--ui-radius-lg); background: var(--ui-ink-2); overflow: hidden; font-size: 14px; }
.tzl-vhead { display: flex; justify-content: space-between; gap: 12px; padding: 9px 14px; font-family: var(--ui-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--ui-on-ink); border-bottom: 1px solid var(--ui-ink-line); background: var(--ui-ink); }
.tzl-vrow { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 9px 14px; border-bottom: 1px solid var(--ui-ink-line); color: #fff; }
.tzl-vrow b { font-family: var(--ui-mono); font-variant-numeric: tabular-nums; font-weight: 500; white-space: nowrap; }
.tzl-vrow small { font-family: var(--ui-mono); font-size: 11px; color: var(--ui-on-ink); margin-left: 8px; }
.tzl-vtime { font-family: var(--ui-mono); font-variant-numeric: tabular-nums; font-size: 12px; color: var(--ui-primary-on-ink); white-space: nowrap; min-width: 108px; }
.tzl-vrow-start { justify-content: flex-start; }
.tzl-varrow { padding: 9px 14px; font-family: var(--ui-mono); font-size: 11px; letter-spacing: .04em; color: #7FD3A4; background: #0E1A2B; border-bottom: 1px solid var(--ui-ink-line); display: flex; align-items: center; gap: 8px; }
.tzl-varrow::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #3DBE7B; flex-shrink: 0; }
.tzl-vtotal { border-bottom: 0; background: var(--ui-ink); font-weight: 600; }

/* ── Sections ── */
.tzl-sec { padding: 72px 0; }
.tzl-sec-white { background: var(--ui-surface); border-top: 1px solid var(--ui-line); border-bottom: 1px solid var(--ui-line); }
.tzl-head { display: flex; flex-direction: column; gap: 8px; max-width: 720px; margin-bottom: 32px; }
.tzl-eyebrow { font-family: var(--ui-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ui-subtle); }
.tzl-title { font-weight: 600; font-size: clamp(1.6rem, 2.6vw, 2.1rem); line-height: 1.15; letter-spacing: -.02em; }
.tzl-lede { color: var(--ui-muted); }
.tzl-group-title { font-weight: 600; font-size: 1.1rem; margin: 32px 0 14px; }
.tzl-group-title:first-of-type { margin-top: 0; }

/* ── App cards ── */
.tzl-apps { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 20px; }
.tzl-app { display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: var(--ui-radius-lg); background: var(--ui-surface); border: 1px solid var(--ui-line); }
.tzl-app.is-soon { background: var(--ui-surface-2); border-style: dashed; border-color: var(--ui-line-strong); }
.tzl-app h3 { font-weight: 600; font-size: 1.25rem; line-height: 1.25; letter-spacing: -.01em; }
.tzl-app p { color: var(--ui-muted); font-size: .95rem; }
.tzl-app-features { list-style: none; margin: 6px 0 0; padding: 0; border-top: 1px solid var(--ui-line); }
.tzl-app-features li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 12px; padding: 10px 0; border-bottom: 1px solid var(--ui-line); font-size: .92rem; }
.tzl-app-links { margin-top: auto; padding-top: 16px; display: flex; flex-wrap: wrap; gap: 10px; }
.tzl-badge { align-self: flex-start; padding: 1px 8px; border-radius: 3px; font-family: var(--ui-mono); font-size: 11px; letter-spacing: .04em; text-transform: uppercase; border: 1px solid transparent; white-space: nowrap; }
.tzl-app-features .tzl-badge { align-self: center; }
.tzl-badge-standard { background: var(--ui-ok-tint); color: var(--ui-ok); border-color: var(--ui-ok-line); }
.tzl-badge-pro, .tzl-badge-premium { background: var(--ui-primary-tint); color: var(--ui-link); border-color: var(--ui-primary-line); }
.tzl-badge-soon { background: var(--ui-surface-2); color: var(--ui-muted); border-color: var(--ui-line-strong); }

/* ── Ruled grids: steps, features, values ── */
.tzl-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0; border: 1px solid var(--ui-line); border-radius: var(--ui-radius-lg); background: var(--ui-surface); overflow: hidden; }
.tzl-grid > * { padding: 24px; border-right: 1px solid var(--ui-line); border-bottom: 1px solid var(--ui-line); margin: 0 -1px -1px 0; }
.tzl-grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 860px) { .tzl-grid-3 { grid-template-columns: 1fr; } }
.tzl-step, .tzl-feat, .tzl-value { display: flex; flex-direction: column; gap: 8px; }
.tzl-step-num { font-family: var(--ui-mono); font-size: 12px; letter-spacing: .08em; color: var(--ui-link); }
.tzl-step h3, .tzl-feat h3, .tzl-value h3 { font-size: 1.05rem; font-weight: 600; letter-spacing: -.01em; }
.tzl-step p, .tzl-feat p, .tzl-value p { color: var(--ui-muted); font-size: .95rem; }
.tzl-feat .tzl-badge { margin-top: 4px; }

/* ── Two-up feature panels with a spec list ── */
.tzl-duo { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 20px; }
.tzl-panel { border: 1px solid var(--ui-line); border-radius: var(--ui-radius-lg); background: var(--ui-surface); display: flex; flex-direction: column; }
.tzl-panel-body { padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.tzl-panel h3 { font-size: 1.4rem; font-weight: 600; line-height: 1.2; letter-spacing: -.02em; }
.tzl-panel p { color: var(--ui-muted); }
.tzl-spec { margin-top: auto; border-top: 1px solid var(--ui-line); background: var(--ui-surface-2); border-radius: 0 0 var(--ui-radius-lg) var(--ui-radius-lg); }
.tzl-spec div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 28px; border-bottom: 1px solid var(--ui-line); font-size: .9rem; }
.tzl-spec div:last-child { border-bottom: 0; }
.tzl-spec dt { font-family: var(--ui-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--ui-subtle); align-self: center; }
.tzl-spec dd { font-weight: 600; text-align: right; }

/* ── Pricing ── */
.tzl-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.tzl-plan { position: relative; display: flex; flex-direction: column; padding: 28px 24px; border-radius: var(--ui-radius-lg); background: var(--ui-surface); border: 1px solid var(--ui-line); }
.tzl-plan.is-popular { border-color: var(--ui-primary); box-shadow: inset 0 3px 0 var(--ui-primary); }
.tzl-plan-badge { align-self: flex-start; margin-bottom: 10px; font-family: var(--ui-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--ui-link); }
.tzl-plan-name { font-weight: 600; font-size: 1.15rem; margin-bottom: 4px; }
.tzl-plan-desc { font-size: .9rem; color: var(--ui-muted); margin-bottom: 18px; }
.tzl-plan-amount { font-family: var(--ui-mono); font-variant-numeric: tabular-nums; font-weight: 500; font-size: 2.2rem; line-height: 1; letter-spacing: -.02em; }
.tzl-plan-period, .tzl-plan-seat { font-size: .85rem; color: var(--ui-subtle); }
.tzl-plan-seat { margin: 4px 0 18px; }
.tzl-plan ul { list-style: none; padding: 0; margin: 0 0 22px; border-top: 1px solid var(--ui-line); flex: 1; }
.tzl-plan li { padding: 8px 0; font-size: .9rem; color: var(--ui-muted); border-bottom: 1px solid var(--ui-line); }
.tzl-org-note { margin-top: 24px; color: var(--ui-muted); font-size: .95rem; }

/* ── Closing band ── */
.tzl-band { background: var(--ui-ink); color: #fff; padding: 80px 0; border-top: 1px solid var(--ui-ink-line); }
.tzl-band-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; }
.tzl-band-copy { flex: 1 1 420px; display: flex; flex-direction: column; gap: 10px; }
.tzl-band h2 { font-weight: 600; font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1.1; letter-spacing: -.03em; }
.tzl-band p { color: var(--ui-on-ink); max-width: 560px; }
.tzl-band-cta { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }

/* ── Footer ── */
.tzl-footer { background: #070C16; color: var(--ui-on-ink); padding: 48px 0 28px; border-top: 1px solid var(--ui-ink-line); }
.tzl-footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px 40px; }
.tzl-footer-brand { max-width: 300px; display: flex; flex-direction: column; gap: 10px; font-size: .9rem; }
.tzl-footer-col { display: flex; flex-direction: column; }
.tzl-footer-col h2 { font-family: var(--ui-mono); font-size: 11px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: #8A95A8; margin-bottom: 6px; }
.tzl-footer a { display: inline-flex; align-items: center; min-height: 34px; color: var(--ui-on-ink); text-decoration: none; font-size: .9rem; }
.tzl-footer a:hover { color: #fff; text-decoration: underline; }
.tzl-footer-bottom { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--ui-ink-line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; font-size: .8rem; color: #8A95A8; }

@media (max-width: 640px) {
    .tzl-hero-in { padding-top: 48px; padding-bottom: 56px; }
    .tzl-sec { padding: 52px 0; }
    .tzl-vtime { min-width: 0; }
    .tzl-vrow-start { flex-direction: column; gap: 2px; }
    .tzl-spec div { padding: 10px 20px; }
    .tzl-panel-body { padding: 20px; }
}

/* ── Extension page for Zoho Projects ── */
/* Hero: the four steps as a ruled panel */
.tzl-flow { list-style: none; margin: 0; padding: 0; }
.tzl-flow-row { display: flex; gap: 14px; padding: 14px 16px; border-bottom: 1px solid var(--ui-ink-line); color: #fff; }
.tzl-flow-row:last-child { border-bottom: 0; }
.tzl-flow-num { font-family: var(--ui-mono); font-size: 12px; letter-spacing: .08em; color: var(--ui-primary-on-ink); padding-top: 3px; }
.tzl-flow-body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.tzl-flow-body strong { font-weight: 600; }
.tzl-flow-body span { color: var(--ui-on-ink); font-size: .92rem; }
.tzl-flow-body small { font-family: var(--ui-mono); font-size: 11px; letter-spacing: .04em; color: #8A95A8; }

/* Hero: source -> Tizz -> destination */
.tzl-bridge { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0 0 56px; border: 1px solid var(--ui-ink-line); border-radius: var(--ui-radius-lg); background: var(--ui-ink-2); overflow: hidden; }
.tzl-bridge-cell { position: relative; padding: 14px 18px; border-right: 1px solid var(--ui-ink-line); display: flex; flex-direction: column; gap: 4px; }
.tzl-bridge-cell:last-child { border-right: 0; }
.tzl-bridge-cell.is-via { background: var(--ui-ink); }
.tzl-bridge dt { font-family: var(--ui-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: #8A95A8; }
.tzl-bridge dd { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; }
.tzl-bridge dd strong { font-weight: 600; color: #fff; }
.tzl-bridge .is-via dd strong { color: var(--ui-primary-on-ink); }
.tzl-bridge dd span { font-size: .88rem; color: var(--ui-on-ink); }
@media (max-width: 720px) {
    .tzl-bridge { grid-template-columns: 1fr; margin-bottom: 40px; }
    .tzl-bridge-cell { border-right: 0; border-bottom: 1px solid var(--ui-ink-line); }
    .tzl-bridge-cell:last-child { border-bottom: 0; }
}

/* Line of short facts under the hero */
.tzl-trust { background: var(--ui-surface); border-bottom: 1px solid var(--ui-line); }
.tzl-trust ul { list-style: none; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 6px 32px; padding-top: 16px; padding-bottom: 16px; }
.tzl-trust li { font-family: var(--ui-mono); font-size: 12px; letter-spacing: .02em; color: var(--ui-muted); display: flex; align-items: center; gap: 8px; }
.tzl-trust li::before { content: ''; width: 6px; height: 6px; background: var(--ui-ok); border-radius: 50%; flex-shrink: 0; }

/* About: text and figures beside a quotation */
.tzl-about { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 40px; align-items: start; }
@media (max-width: 900px) { .tzl-about { grid-template-columns: 1fr; } }
.tzl-about-copy { display: flex; flex-direction: column; gap: 14px; }
.tzl-about-copy .tzl-head { margin-bottom: 4px; }
.tzl-about-copy > p { color: var(--ui-muted); }
.tzl-stats { display: grid; grid-template-columns: repeat(2, 1fr); margin-top: 10px; border: 1px solid var(--ui-line); border-radius: var(--ui-radius-lg); overflow: hidden; background: var(--ui-surface-2); }
.tzl-stats > div { padding: 16px 18px; border-right: 1px solid var(--ui-line); border-bottom: 1px solid var(--ui-line); margin: 0 -1px -1px 0; display: flex; flex-direction: column; gap: 4px; }
.tzl-stats dt { font-family: var(--ui-mono); font-variant-numeric: tabular-nums; font-size: 1.6rem; font-weight: 500; line-height: 1.1; letter-spacing: -.02em; color: var(--ui-text); }
.tzl-stats dd { font-size: .88rem; color: var(--ui-muted); }
.tzl-quote { margin: 0; padding: 28px; border-radius: var(--ui-radius-lg); background: var(--ui-ink); color: #fff; border-left: 3px solid var(--ui-primary); display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.tzl-quote blockquote { margin: 0; font-size: 1.05rem; line-height: 1.6; }
.tzl-quote figcaption { font-family: var(--ui-mono); font-size: 12px; letter-spacing: .02em; color: var(--ui-on-ink); }

/* Tabs: plan type and team size */
.tzl-tabs { display: flex; flex-wrap: wrap; gap: 0; margin-bottom: 24px; border-bottom: 1px solid var(--ui-line-strong); }
.tzl-tab { appearance: none; background: none; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; min-height: 44px; padding: 0 18px; font: inherit; font-size: 15px; font-weight: 600; color: var(--ui-muted); cursor: pointer; }
.tzl-tab:hover { color: var(--ui-text); }
.tzl-tab.is-active { color: var(--ui-link); border-bottom-color: var(--ui-link); }
.tzl-tab:focus-visible { outline: 2px solid var(--ui-primary); outline-offset: -2px; }
.tzl-tabs-sm { border-bottom: 0; gap: 8px; }
.tzl-tabs-sm .tzl-tab { min-height: 38px; padding: 0 14px; margin: 0; font-family: var(--ui-mono); font-size: 12px; font-weight: 500; letter-spacing: .04em; border: 1px solid var(--ui-line-strong); border-radius: var(--ui-radius); background: var(--ui-surface); }
.tzl-tabs-sm .tzl-tab.is-active { border-color: var(--ui-primary); background: var(--ui-primary-tint); }
.tzl [role="tabpanel"][hidden] { display: none; }

/* Publisher */
.tzl-vendor { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 24px 48px; }
.tzl-vendor .tzl-head { margin-bottom: 0; flex: 1 1 360px; }
.tzl-vendor-card { padding: 16px; border: 1px solid var(--ui-line); border-radius: var(--ui-radius-lg); background: #f2f5f9; }
.tzl-vendor-card img { display: block; max-width: 100%; height: auto; }

/* ── Dark theme ── */
/* The ink bands (header, hero, closing band, footer) are dark in both themes;
   in dark they need a visible edge against the dark page. */
html.dark .tzl-hero, html.dark .tzl-band { background-color: #070C16; }
html.dark .tzl-select select option { color: #111827; }
html.dark .tzl-quote { background: var(--ui-surface-2); border: 1px solid var(--ui-line); border-left: 3px solid var(--ui-primary); }
html.dark .tzl-varrow { background: #0B1626; }
.tzl a.tzl-hero-link { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.tzl a.tzl-hero-link:hover { text-decoration-thickness: 2px; }

/* ── Product hero (app pages): short copy left, the product itself right ──
   Blue band; the Your week screen (home/_week_shot.html.twig, demo data) runs
   off the right edge of the page. The screen is the app's dark look in both themes. */
.tzl-hero-product {
    overflow: hidden;
    background-color: #0B1220;
    /* swells that recede into a hazy horizon, after the wave in the logo (images/hero-swell.svg) */
    background-image:
        url('../images/hero-swell.svg?v=3'),
        linear-gradient(115deg, #0B1220 0%, #0F2A6B 48%, #1746C7 100%);
    background-size: cover, auto;
    background-position: center bottom, 0 0;
    background-repeat: no-repeat;
}
html.dark .tzl-hero-product { background-color: #070C16; }
.tzl-hero-product .tzl-hero-in { display: grid; grid-template-columns: minmax(0, 11fr) minmax(0, 13fr); gap: 48px; align-items: center; }
.tzl-hero-product h1 { font-size: clamp(2.2rem, 3.9vw, 3.2rem); }
.tzl-hero-product .tzl-pill { background: rgba(11,18,32,.55); }
.tzl-hero-product .tzl-hero-sub { color: #D5DEEE; }
.tzl-hero-product a.tzl-btn-primary { background: #fff; color: #0B1220; }
.tzl-hero-product a.tzl-btn-primary:hover { background: #E6ECF8; }
.tzl-hero-product .tzl-bridge { background: rgba(11,18,32,.6); }

.tzl-shot {
    min-width: 0;
    margin-right: -24px; /* to the screen edge while the page fills the screen */
    border: 1px solid rgba(143,176,255,.28); border-right: 0;
    border-radius: var(--ui-radius-lg) 0 0 var(--ui-radius-lg);
    box-shadow: 0 30px 60px -20px rgba(0,0,0,.6), 0 0 0 6px rgba(255,255,255,.04);
    overflow: hidden; background: #0E1524;
}
.ws { min-width: 860px; color: #E6EAF2; font-size: 13px; line-height: 1.35; text-align: left; }
.ws-top { display: flex; align-items: center; gap: 18px; padding: 0 18px; height: 46px; border-bottom: 1px solid #243049; background: #0B1220; white-space: nowrap; }
.ws-logo { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; }
.ws-app { color: #AEB8CA; padding-left: 18px; border-left: 1px solid #243049; }
.ws-nav { display: flex; gap: 20px; height: 100%; color: #AEB8CA; }
.ws-nav > * { display: flex; align-items: center; }
.ws-nav b { color: #fff; font-weight: 500; box-shadow: inset 0 -2px 0 #8FB0FF; }
.ws-head { display: flex; flex-direction: column; gap: 4px; padding: 18px 18px 14px; }
.ws-eyebrow { font-family: var(--ui-mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: #8A95A8; }
.ws-h1 { font-size: 20px; font-weight: 600; letter-spacing: -.01em; color: #fff; }
.ws-grid { width: calc(100% - 36px); margin: 0 18px; border-collapse: collapse; border: 1px solid #243049; background: #121A2B; }
.ws-grid th, .ws-grid td { border-left: 1px solid #243049; border-bottom: 1px solid #243049; padding: 9px 10px; vertical-align: middle; }
.ws-grid th { font-weight: 400; text-align: left; vertical-align: top; }
.ws-grid th.ws-name, .ws-grid th.ws-total { font-family: var(--ui-mono); font-size: 10.5px; letter-spacing: .08em; color: #8A95A8; vertical-align: middle; }
.ws-day, .ws-hrs { display: block; font-family: var(--ui-mono); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: #8A95A8; white-space: nowrap; }
.ws-day em { font-style: normal; margin-left: 6px; }
.ws-hrs { margin-top: 4px; font-size: 11px; text-transform: none; }
.ws-hrs b { color: #fff; font-weight: 500; font-size: 13px; }
.ws-bar { display: block; height: 3px; margin: 6px 0 7px; border-radius: 2px; background: #4CC38A; }
.ws-chip { display: inline-block; padding: 1px 7px; border: 1px solid #2E3A57; border-radius: 3px; font-size: 11px; color: #C9D1DF; }
.ws-chip.is-sent { border-color: rgba(76,195,138,.45); color: #7FE0B0; background: rgba(76,195,138,.08); }
.ws-name { width: 30%; }
.ws-name strong { display: block; font-weight: 600; color: #fff; white-space: nowrap; }
.ws-name strong i { font-style: normal; margin-left: 6px; padding: 0 5px; border: 1px solid #3A4766; border-radius: 3px; font-family: var(--ui-mono); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: #AEB8CA; vertical-align: 1px; }
.ws-name span { display: block; color: #AEB8CA; font-size: 12px; margin-top: 2px; white-space: nowrap; }
.ws-grid td:not(.ws-name) { text-align: right; font-family: var(--ui-mono); font-variant-numeric: tabular-nums; }
.ws-h { border-bottom: 1px dotted #6B7891; }
.ws-total { text-align: right; color: #D5DEEE; }
.ws-grid tr.is-topup td { background-image: repeating-linear-gradient(135deg, rgba(255,255,255,.035) 0 6px, transparent 6px 12px); }
.ws-send { display: flex; align-items: center; gap: 18px; margin: 14px 18px 18px; padding: 10px 12px 10px 14px; border-radius: 6px; background: #070C16; font-family: var(--ui-mono); font-size: 12px; color: #AEB8CA; white-space: nowrap; }
.ws-send b { color: #fff; font-weight: 500; }
.ws-btn { margin-left: auto; padding: 7px 12px; border-radius: 4px; background: #2F5FE0; color: #fff; font-family: var(--ui-sans); font-size: 12.5px; font-weight: 600; }

/* Tizz Calendar's grid (home/_calendar_shot.html.twig): same frame as .ws, a week of events. */
.wc-head { flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 16px; }
.wc-head > div { display: flex; flex-direction: column; gap: 4px; }
.wc-ai { padding: 7px 12px; border-radius: 4px; background: linear-gradient(120deg, #7C3AED 0%, #4F46E5 55%, #C026D3 100%); color: #fff; font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.wc-ask { display: flex; align-items: center; gap: 10px; margin: 0 18px 12px; padding: 9px 10px 9px 14px; border: 1px solid rgba(167,139,250,.45); border-radius: 6px; background: rgba(124,58,237,.12); }
.wc-ask-text { flex: 1; min-width: 0; color: #E6EAF2; font-size: 13px; line-height: 1.4; }
.wc-ask-text::before { content: '“'; color: #C4B5FD; }
.wc-ask-text::after { content: '”'; color: #C4B5FD; }
.wc-ask-go { flex: none; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 4px; background: linear-gradient(120deg, #7C3AED 0%, #4F46E5 55%, #C026D3 100%); color: #fff; font-size: 13px; }
.wc-grid { margin: 0 18px; border: 1px solid #243049; background: #121A2B; }
.wc-row { display: grid; grid-template-columns: 52px repeat(5, minmax(0, 1fr)); }
.wc-days span { padding: 8px 10px; border-left: 1px solid #243049; border-bottom: 1px solid #243049; font-family: var(--ui-mono); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: #8A95A8; white-space: nowrap; }
.wc-days span:first-child { border-left: 0; }
.wc-gutter { position: relative; height: 272px; }
.wc-gutter span { position: absolute; right: 6px; margin-top: -6px; font-family: var(--ui-mono); font-size: 10px; color: #6B7891; }
.wc-gutter span:first-child { margin-top: 2px; }
.wc-col { position: relative; height: 272px; border-left: 1px solid #243049;
          background-image: linear-gradient(to bottom, #1E2840 1px, transparent 1px); background-size: 100% 34px; }
.wc-ev { position: absolute; left: 3px; right: 3px; overflow: hidden; padding: 3px 6px 2px 8px; border: 1px solid #2E3A57; border-left: 3px solid #4F7BFF; border-radius: 2px; background: #182238; font-size: 11.5px; line-height: 1.25; }
.wc-ev strong { display: block; color: #fff; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wc-ev em { display: block; font-style: normal; color: #AEB8CA; font-size: 10.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wc-t { display: block; font-family: var(--ui-mono); font-size: 10px; color: #8A95A8; }
.wc-ev i { position: absolute; top: 2px; right: 5px; font-style: normal; font-size: 11px; font-weight: 600; color: #7FE0B0; }
.wc-ev.k-catch_all { border-left-color: #E0A43A; }
.wc-ev.k-none { border-left-color: #FF8A80; background: #2A1B24; }
.wc-ev.k-ignored { border-style: dashed; border-left-style: solid; border-left-color: #4A5672; background: transparent; }
.wc-ev.k-ignored strong { color: #AEB8CA; font-weight: 500; }

@media (max-width: 900px) {
    .tzl-hero-product .tzl-hero-in { grid-template-columns: minmax(0, 1fr); gap: 36px; }
    .tzl-shot { margin-right: -24px; }
    .ws { min-width: 760px; font-size: 12px; }
}

/* Product pages are wider (1440px). Once the screen is wider than the page,
   the screen stops at the page edge, so both sides keep the same margin. */
.tzl-wide .tzl-wrap { max-width: 1440px; }
@media (min-width: 1489px) {
    .tzl-wide .tzl-shot { margin-right: 0; border-right: 1px solid rgba(143,176,255,.28); border-radius: var(--ui-radius-lg); }
    .tzl-wide .tzl-hero-product .tzl-hero-in { grid-template-columns: minmax(0, 1fr) 850px; gap: 40px; }
    .tzl-wide .ws { min-width: 0; }
}

/* ── Home: partner programs ── */
.tzl-partners { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.tzl-partner { display: flex; flex-direction: column; border: 1px solid var(--ui-line); border-radius: var(--ui-radius-lg); background: var(--ui-surface); overflow: hidden; transition: border-color .15s, transform .15s; }
.tzl-partner:hover { border-color: var(--ui-primary-line); transform: translateY(-2px); }
/* Logos always sit on white (the Zoho wordmark is black), in both themes */
.tzl-partner-logo { display: flex; align-items: center; justify-content: center; height: 136px; padding: 16px; background: #fff; border-bottom: 1px solid var(--ui-line); }
.tzl-partner-logo img { display: block; max-width: 100%; height: auto; }
.tzl-partner-logo img[height="96"] { height: 96px; width: auto; }
.tzl-partner-body { display: flex; flex-direction: column; gap: 4px; flex: 1; padding: 18px 22px 22px; }
.tzl-partner-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 4px; }
.tzl-partner-chip { font-family: var(--ui-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; padding: 3px 8px; border: 1px solid var(--ui-primary-line); border-radius: 3px; color: var(--ui-link); }
.tzl-partner-org { font-family: var(--ui-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ui-subtle); }
.tzl-partner h3 { font-size: 1.2rem; font-weight: 600; letter-spacing: -.01em; }
.tzl-partner-note { margin-top: 6px; color: var(--ui-muted); font-size: .92rem; }
.tzl-partner-links { margin-top: auto; padding-top: 12px; display: flex; flex-direction: column; gap: 4px; font-size: .92rem; }
.tzl-partners-legal { margin-top: 16px; font-size: .78rem; color: var(--ui-subtle); }
@media (max-width: 860px) { .tzl-partners { grid-template-columns: minmax(0, 1fr); } }

/* ── Home hero: the "Apps" panel ── */
.tzl-hero-home .tzl-hero-in { grid-template-columns: minmax(0, 1fr) minmax(0, 470px); gap: 56px; padding-top: 104px; padding-bottom: 112px; }
.tzl-launcher { border: 1px solid rgba(143,176,255,.28); border-radius: 10px; background: rgba(9,15,28,.78); box-shadow: 0 30px 60px -20px rgba(0,0,0,.6), 0 0 0 6px rgba(255,255,255,.04); overflow: hidden; color: #E6EAF2; }
.tzl-launcher-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid #243049; }
.tzl-launcher-title { display: inline-flex; align-items: center; gap: 10px; font-family: var(--ui-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: #AEB8CA; }
.tzl-launcher-title svg { color: #8FB0FF; }
.tzl-launcher-dots { display: inline-flex; gap: 6px; }
.tzl-launcher-dots i { width: 8px; height: 8px; border-radius: 50%; background: #2E3A57; }
.tzl-launcher ul { list-style: none; margin: 0; padding: 8px; }
.tzl-launcher li + li { margin-top: 4px; }
.tzl-hero .tzl-launcher a { display: flex; align-items: center; gap: 14px; padding: 14px 12px; border-radius: 8px; color: #fff; text-decoration: none; transition: background .15s; }
.tzl-hero .tzl-launcher a:hover, .tzl-hero .tzl-launcher a:focus-visible { background: rgba(143,176,255,.10); }
.tzl-launcher-glyph { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 8px; background: linear-gradient(135deg, #2F5FE0, #1746C7); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.15); }
.tzl-launcher-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.tzl-launcher-text strong { font-weight: 600; font-size: 1rem; }
.tzl-launcher-text small { color: #AEB8CA; font-size: .86rem; line-height: 1.4; }
.tzl-launcher-go { margin-left: auto; color: #8FB0FF; font-size: 1.1rem; transition: transform .15s; }
.tzl-hero .tzl-launcher a:hover .tzl-launcher-go { transform: translateX(3px); }
.tzl-launcher-foot { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-top: 1px solid #243049; background: rgba(7,12,22,.6); font-size: .86rem; color: #AEB8CA; }
.tzl-launcher-foot svg { flex: none; color: #8FB0FF; }
.tzl-launcher-foot b { color: #fff; font-weight: 600; }
@media (max-width: 900px) {
    .tzl-hero-home .tzl-hero-in { grid-template-columns: minmax(0, 1fr); gap: 36px; padding-top: 56px; padding-bottom: 64px; }
}
.tzl-launcher-soon { display: flex; align-items: center; gap: 14px; padding: 14px 12px; border-radius: 8px; color: #fff; }
.tzl-launcher-glyph.is-soon { background: #1B2540; color: #8FB0FF; box-shadow: inset 0 0 0 1px #2E3A57; }
.tzl-launcher-chip { display: inline-block; margin-left: 8px; vertical-align: 2px; font-family: var(--ui-mono); font-size: 11px; font-weight: 400; letter-spacing: .06em; padding: 2px 7px; border: 1px solid rgba(143,176,255,.45); border-radius: 3px; color: #C9D6FF; background: rgba(143,176,255,.10); white-space: nowrap; }
/* space between app families on the home page and the catalogue */
.tzl-apps + .tzl-group-title { margin-top: 48px; }

/* ── Tizz BI preview: the product drawn in HTML (home/_bi_shot.html.twig) ── */
.bi { min-width: 860px; color: #E6EAF2; font-size: 13px; line-height: 1.35; text-align: left; }
.bi-top { display: flex; align-items: center; gap: 22px; padding: 0 18px; height: 46px; border-bottom: 1px solid #243049; background: #0B1220; white-space: nowrap; }
.bi-tabs { display: flex; gap: 20px; height: 100%; color: #AEB8CA; }
.bi-tabs > * { display: flex; align-items: center; }
.bi-tabs b { color: #fff; font-weight: 500; box-shadow: inset 0 -2px 0 #8FB0FF; }
.bi-preview { margin-left: auto; font-family: var(--ui-mono); font-size: 11px; letter-spacing: .06em; padding: 2px 8px; border: 1px solid rgba(143,176,255,.45); border-radius: 3px; color: #C9D6FF; background: rgba(143,176,255,.10); }
.bi-body { display: grid; grid-template-columns: 400px 1fr; min-height: 300px; }
.bi-canvas { position: relative; height: 300px; border-right: 1px solid #243049; background-color: #0E1524; background-image: radial-gradient(rgba(143,176,255,.18) 1px, transparent 1px); background-size: 16px 16px; overflow: hidden; }
.bi-links { position: absolute; inset: 0; width: 100%; height: 100%; }
.bi-links path { fill: none; stroke: #8FB0FF; stroke-width: 1.6; stroke-dasharray: 4 3; opacity: .8; }
.bi-table { position: absolute; width: 136px; border: 1px solid #2E3A57; border-radius: 6px; background: #121A2B; box-shadow: 0 8px 18px -8px rgba(0,0,0,.6); overflow: hidden; }
.bi-table b { display: block; padding: 6px 9px; background: #1B2540; font-family: var(--ui-mono); font-size: 11.5px; font-weight: 500; color: #fff; border-bottom: 1px solid #2E3A57; }
.bi-table span { display: block; padding: 3px 9px; font-family: var(--ui-mono); font-size: 11px; color: #AEB8CA; border-bottom: 1px solid rgba(46,58,87,.5); }
.bi-table span:last-child { border-bottom: 0; }
.bi-check { position: absolute; left: 14px; bottom: 10px; display: inline-flex; align-items: center; gap: 7px; padding: 4px 9px; border: 1px solid rgba(76,195,138,.45); border-radius: 4px; background: rgba(76,195,138,.08); color: #7FE0B0; font-family: var(--ui-mono); font-size: 11px; }
.bi-ok { width: 7px; height: 7px; border-radius: 50%; background: #4CC38A; }
.bi-dash { display: flex; flex-direction: column; gap: 12px; padding: 16px 18px; }
.bi-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.bi-kpis > div { padding: 10px 12px; border: 1px solid #243049; border-radius: 6px; background: #121A2B; }
.bi-kpis small, .bi-chart small { display: block; font-family: var(--ui-mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: #8A95A8; }
.bi-kpis b { display: block; margin-top: 4px; font-size: 19px; font-weight: 600; color: #fff; font-variant-numeric: tabular-nums; }
.bi-kpis em { font-style: normal; font-family: var(--ui-mono); font-size: 11px; color: #7FE0B0; }
.bi-chart { padding: 10px 12px; border: 1px solid #243049; border-radius: 6px; background: #121A2B; }
.bi-bars { display: flex; align-items: flex-end; gap: 6px; height: 92px; margin-top: 10px; }
.bi-bars i { flex: 1; border-radius: 3px 3px 0 0; background: linear-gradient(180deg, #8FB0FF, #2F5FE0); }
.bi-split { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 14px; }
.bi-split div { display: grid; grid-template-columns: 44px 1fr; align-items: center; gap: 8px; font-size: 11.5px; color: #AEB8CA; }
.bi-split i { display: block; height: 7px; border-radius: 4px; background: #4CC38A; }
.bi-ask { display: flex; align-items: center; gap: 12px; margin: 0; padding: 12px 14px 12px 18px; border-top: 1px solid #243049; background: #070C16; white-space: nowrap; }
.bi-spark { color: #8FB0FF; font-size: 15px; }
.bi-prompt { overflow: hidden; text-overflow: ellipsis; color: #D5DEEE; }
.bi-ask .ws-btn { margin-left: auto; }
@media (max-width: 900px) { .bi { min-width: 760px; } }
@media (min-width: 1489px) { .tzl-wide .bi { min-width: 0; } }

/* Phones: the trial (or "Open app") button sits top-right beside the logo; the language
   menu and links form one row under it, scrolling sideways when a language's labels run long. */
@media (max-width: 640px) {
    .tzl-nav-in { position: relative; padding-top: 8px; padding-bottom: 6px; }
    .tzl-nav-right { flex: 1 0 100%; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -24px; padding: 0 24px; }
    .tzl-nav-right::-webkit-scrollbar { display: none; }
    .tzl-nav-right a { white-space: nowrap; flex: none; padding: 0 10px; }
    .tzl-nav-right .tzl-select { flex: none; }
    .tzl-nav-right a.tzl-btn-nav { position: absolute; top: 11px; right: 24px; margin: 0; }
}

/* Home: the strip above the menu that leads into the quick wizard ("Log last week").
   Same sunshine yellow and ink as the wizard's own pages, so the click lands somewhere familiar. */
.tzl-wz-strip { position: relative; display: flex; align-items: center; justify-content: center; background: #ffd23f; color: #1d2340; border-bottom: 2px solid #1d2340; }
.tzl-wz-strip[hidden] { display: none; }
/* .tzl a sets the page's link colour: the strip keeps its own dark ink. */
.tzl a.tzl-wz-strip-link { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 10px; min-height: 44px; padding: 6px 52px; color: inherit; text-decoration: none; font-size: 15px; text-align: center; }
.tzl-wz-strip-link span, .tzl-wz-strip-link strong { color: #1d2340; }
.tzl-wz-strip-link strong { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 2px; }
.tzl-wz-strip-link:hover strong { text-decoration-thickness: 3px; }
.tzl a.tzl-wz-strip-link:focus-visible { outline: 3px solid #1d2340; outline-offset: -5px; }
.tzl-wz-strip-dot { width: 10px; height: 10px; border-radius: 50%; background: #ff7aa8; border: 2px solid #1d2340; flex: none; }
.tzl-wz-strip-close { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border: 0; border-radius: 50%; background: transparent; color: #1d2340; font-size: 24px; line-height: 1; cursor: pointer; }
.tzl-wz-strip-close:hover { background: rgba(29, 35, 64, .12); }
@media (max-width: 560px) { .tzl a.tzl-wz-strip-link { padding: 6px 44px 6px 12px; font-size: 14px; } }
