/* Tempo pages — page-scoped palette and blocks on top of the Hub theme.
   Type is the site's own (no separate heading face, Max 2026-09-02).
   Everything is scoped under body.tempo-page so nothing leaks into the
   homepage or the Triada landing. One accent: the book's orange. */

body.tempo-page {
    --tp-orange: #BF6B21;
    --tp-orange-deep: #8F4D14;
    --tp-ink: #151210;
    --tp-ink-soft: #2a2420;
    --tp-cream: #F6F1E8;
    --tp-sand: #ECE3D3;
    --tp-clay: #A8542F;
    --tp-paper: #FCFAF6;
    --tp-text: #1B1713;
    --tp-text-soft: #5E564E;
    --tp-line: rgba(27, 23, 19, .12);
    /* Same type as the rest of the site (the theme's body font). */
    --tp-font: var(--lqd-body-font-family);

    /* Theme tokens the Hub CSS reads. */
    --lqd-color-primary: var(--tp-orange);
    --lqd-color-gradient-start: var(--tp-orange);
    --lqd-color-gradient-stop: var(--tp-orange-deep);
    --lqd-heading-color: var(--tp-text);
    --lqd-body-color: var(--tp-text);

    background: var(--tp-paper);
    color: var(--tp-text);
}

/* ---- header: the site's own, on the same frosted white bar as Triada --- */
body.tempo-page #site-header {
    background: rgba(255, 255, 255, 0.82) !important;
    backdrop-filter: saturate(160%) blur(12px);
    -webkit-backdrop-filter: saturate(160%) blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}
body.tempo-page #site-header.is-stuck {
    background: rgba(255, 255, 255, 0.94) !important;
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.06);
}
/* Dark text on the desktop top bar; the sidebars stay dynamic-colour driven. */
body.tempo-page #site-header .lqd-head-sec-wrap .main-nav > li > a,
body.tempo-page #site-header .lqd-head-sec-wrap .navbar-brand,
body.tempo-page #site-header .lqd-head-sec-wrap .nav-trigger,
body.tempo-page #site-header .lqd-head-sec-wrap .nav-trigger .txt,
body.tempo-page #site-header .lqd-head-sec-wrap .module-button a { color: #1a1a1a !important; }
body.tempo-page #site-header .lqd-head-sec-wrap .link-sup { color: #888 !important; }
/* Custom JS-driven toggle (Bootstrap's collapse fights the Liquid theme bg),
   same mechanics as the Triada landing; .tp-menu-open is set in base.html. */
body.tempo-page #main-header-collapse { display: none; }
body.tempo-page #main-header-collapse.tp-menu-open {
    display: flex !important; flex-direction: row !important; align-items: center;
    height: auto !important; overflow: visible !important;
}
body.tempo-page #main-header-collapse .main-nav { flex-direction: row !important; align-items: center; gap: 4px; }
body.tempo-page #main-header-collapse .main-nav > li { padding: 0 14px; }
body.tempo-page #main-header-collapse .main-nav > li > a { white-space: nowrap; }
body.tempo-page #site-header .lqd-mobile-sec .navbar-brand { color: #1a1a1a !important; background: transparent !important; }
body.tempo-page #site-header .lqd-mobile-sec .bar { color: #1a1a1a !important; background: #1a1a1a; }
@media (max-width: 991px) {
    body.tempo-page #site-header .lqd-mobile-sec,
    body.tempo-page #site-header .lqd-mobile-sec-inner,
    body.tempo-page #site-header > .container,
    body.tempo-page #site-header > .container > .row {
        background: transparent !important; max-width: 100% !important;
        margin-left: 0 !important; margin-right: 0 !important;
    }
    body.tempo-page .lqd-mobile-sec .lqd-mobile-sec-inner { justify-content: flex-start !important; }
    body.tempo-page .lqd-mobile-sec .navbar-brand,
    body.tempo-page .lqd-mobile-sec .navbar-toggle {
        width: auto !important; max-width: none !important; flex: 0 0 auto !important; background: transparent !important;
    }
    body.tempo-page .lqd-mobile-sec .navbar-brand {
        display: inline-flex !important; justify-content: flex-start !important;
        margin-inline-start: 0 !important; margin-inline-end: 0 !important; order: 0 !important;
    }
    body.tempo-page .lqd-mobile-sec .navbar-toggle { margin-inline-start: auto !important; margin-inline-end: 0 !important; order: 99 !important; }
    body.tempo-page .lqd-mobile-sec .navbar-brand > div { flex-wrap: nowrap !important; white-space: nowrap; background: transparent !important; }
}

/* ---- sections -------------------------------------------------------- */
/* The site footer is sticky (fixed behind the page), so the content must be
   opaque all the way down or the footer bleeds through — main and every
   section paint a background. */
body.tempo-page #lqd-site-content { background: var(--tp-paper); position: relative; z-index: 2; }
body.tempo-page .tp-section { padding: 120px 0; background: var(--tp-paper); }
body.tempo-page .tp-doc-body { background: var(--tp-paper); }
body.tempo-page .tp-bg-cream { background: var(--tp-cream); }
body.tempo-page .tp-bg-sand { background: var(--tp-sand); }
body.tempo-page .tp-bg-ink { background: var(--tp-ink); color: #F3EDE3; }
body.tempo-page .tp-bg-clay { background: var(--tp-clay); color: #FFF7EF; }

body.tempo-page .tp-hero { padding: 200px 0 120px; }
body.tempo-page .tp-kicker {
    font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
    color: var(--tp-orange); margin: 0 0 22px; font-weight: 600;
}
body.tempo-page .tp-kicker--light { color: #E8A15E; }
body.tempo-page .tp-h1 {
    font-family: var(--tp-font); font-weight: 800; letter-spacing: -.02em;
    font-size: clamp(40px, 5.2vw, 68px); line-height: 1.05; margin: 0 0 24px;
}
body.tempo-page .tp-h1--hero { color: #FBF6EE; font-size: clamp(46px, 6.2vw, 84px); }
body.tempo-page .tp-h2 {
    font-family: var(--tp-font); font-weight: 800; letter-spacing: -.015em;
    font-size: clamp(32px, 3.6vw, 48px); line-height: 1.1; margin: 0 0 20px;
}
body.tempo-page .tp-h2--light { color: #FBF6EE; }
body.tempo-page .tp-lead {
    font-size: 19px; line-height: 1.55; max-width: 34em; margin: 0 0 18px;
    color: var(--tp-text-soft);
}
body.tempo-page .tp-lead--light { color: rgba(251, 246, 238, .78); }
body.tempo-page .tp-link--light { color: #E8A15E; text-decoration: underline; text-underline-offset: 3px; }
body.tempo-page .tp-muted { color: var(--tp-text-soft); font-size: 15px; }

body.tempo-page .tp-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin: 30px 0 14px; }
body.tempo-page .tp-actions__note { font-size: 14px; color: rgba(251, 246, 238, .65); }
body.tempo-page .tp-hero__promise { font-size: 14px; color: rgba(251, 246, 238, .55); margin: 0; }

body.tempo-page .tp-btn {
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--tp-orange); color: #fff !important; text-decoration: none !important;
    font-weight: 600; font-size: 15px; letter-spacing: .01em;
    padding: 15px 28px; border-radius: 8px;
    transition: background .15s ease, transform .15s ease;
}
body.tempo-page .tp-btn:hover { background: var(--tp-orange-deep); transform: translateY(-1px); }

/* Grey block — the screenshot slot until Max hands over the real view
   (his decision, 2026-09-02). Window proportions 1280×800. */
body.tempo-page .tp-shot {
    width: 100%; aspect-ratio: 16 / 10; border-radius: 12px;
    background: #D9D4CC;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .35);
}
body.tempo-page .tp-shot--sm { box-shadow: 0 18px 50px rgba(0, 0, 0, .14); }

/* ---- waiting list block (under the hero, until there is a download) --- */
body.tempo-page .tp-eyebrow {
    display: inline-block; font-size: 13px; letter-spacing: .18em; font-weight: 700;
    text-transform: uppercase; background: #FBF6EE; color: var(--tp-ink);
    padding: 6px 12px; border-radius: 4px; margin: 0 0 22px;
}
body.tempo-page .tp-sub-form { width: 100%; margin-top: 1.2em; display: flex; flex-direction: column; gap: 14px; }
body.tempo-page .tp-sub-form__row { display: flex; flex-wrap: wrap; gap: 10px; align-items: stretch; }
body.tempo-page .tp-sub-form input[type="email"],
body.tempo-page .tp-sub-form input[type="text"] {
    flex: 1 1 240px; min-width: 0; padding: 16px 18px; border-radius: 6px; border: none;
    font-size: 16px; background: #fff; color: #1a1a1a; font-family: inherit;
}
body.tempo-page .tp-sub-form input::placeholder { color: #999; font-weight: 400; }
body.tempo-page .tp-sub-form input[type="email"]:focus,
body.tempo-page .tp-sub-form input[type="text"]:focus { outline: 2px solid #FBF6EE; outline-offset: 0; }
body.tempo-page .tp-sub-form input.is-invalid { background: #fdeaea !important; outline: 2px solid #d23a3a !important; }
body.tempo-page .tp-sub-form input.is-valid { outline: 2px solid #2da44e !important; }
body.tempo-page .tp-sub-form .cf-err { display: none !important; }
body.tempo-page .tp-sub-form__hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
body.tempo-page .tp-sub-form button {
    flex: 0 0 auto; background: #FBF6EE; color: var(--tp-ink); font-weight: 900;
    padding: 16px 26px; border-radius: 6px; border: none; cursor: pointer;
    font-size: 14px; letter-spacing: .06em; text-transform: uppercase;
    transition: background .15s ease, color .15s ease;
}
body.tempo-page .tp-sub-form button:hover { background: #fff; color: var(--tp-orange-deep); }
body.tempo-page .tp-sub-form__captcha { display: flex; align-items: center; min-height: 65px; }
body.tempo-page .tp-sub-form__captcha .cf-turnstile { display: inline-block; }
body.tempo-page .tp-sub-form__lang { font-size: 13px; color: rgba(255, 247, 239, .8); margin-top: 1em; }
body.tempo-page .tp-sub-form__lang strong { color: #FBF6EE; }
body.tempo-page .tp-thanks { padding: 190px 0 80px; }
@media (max-width: 767px) {
    body.tempo-page .tp-sub-form__captcha { justify-content: center; }
    body.tempo-page .tp-sub-form__captcha .cf-turnstile { margin: 0 auto; }
}

/* ---- documents ------------------------------------------------------- */
body.tempo-page .tp-doc-head { padding: 190px 0 60px; }
body.tempo-page .tp-doc-body { padding: 60px 0 120px; }
body.tempo-page .tp-prose { font-size: 17px; line-height: 1.65; color: var(--tp-text); }
body.tempo-page .tp-prose h2 {
    font-family: var(--tp-font); font-weight: 700; font-size: 28px;
    margin: 44px 0 14px; letter-spacing: -.01em;
}
body.tempo-page .tp-prose h2:first-child { margin-top: 0; }
body.tempo-page .tp-prose p, body.tempo-page .tp-prose li { max-width: 40em; }
body.tempo-page .tp-prose ul, body.tempo-page .tp-prose ol { padding-left: 1.3em; margin: 0 0 18px; }
body.tempo-page .tp-prose li { margin: 0 0 8px; }
body.tempo-page .tp-prose a { color: var(--tp-orange); text-decoration: underline; text-underline-offset: 3px; }
body.tempo-page .tp-callout {
    background: var(--tp-cream); border-left: 3px solid var(--tp-orange);
    padding: 22px 26px; border-radius: 0 10px 10px 0; margin: 0 0 40px;
}
body.tempo-page .tp-callout p:last-child { margin-bottom: 0; }
body.tempo-page .tp-release + .tp-release { border-top: 1px solid var(--tp-line); padding-top: 32px; margin-top: 32px; }

/* ---- roadmap --------------------------------------------------------- */
body.tempo-page .tp-roadmap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
body.tempo-page .tp-roadmap__col { background: var(--tp-cream); border-radius: 12px; padding: 26px 26px 18px; }
body.tempo-page .tp-roadmap__col--next { background: var(--tp-sand); }
body.tempo-page .tp-roadmap__h {
    font-family: var(--tp-font); font-size: 22px; font-weight: 700; margin: 0 0 14px;
}
body.tempo-page .tp-roadmap ul { list-style: none; padding: 0; margin: 0; }
body.tempo-page .tp-roadmap li { padding: 7px 0; border-top: 1px solid var(--tp-line); font-size: 15px; line-height: 1.4; }
body.tempo-page .tp-roadmap li:first-child { border-top: 0; }
body.tempo-page .tp-roadmap__note { margin: 26px 0 0; color: var(--tp-text-soft); font-size: 15px; }

/* ---- faq ------------------------------------------------------------- */
body.tempo-page .tp-faq__item { border-top: 1px solid var(--tp-line); padding: 18px 0; }
body.tempo-page .tp-faq__item:last-child { border-bottom: 1px solid var(--tp-line); }
body.tempo-page .tp-faq__q {
    cursor: pointer; font-family: var(--tp-font); font-size: 21px; font-weight: 700;
    list-style: none; display: flex; justify-content: space-between; gap: 16px;
}
body.tempo-page .tp-faq__q::-webkit-details-marker { display: none; }
body.tempo-page .tp-faq__q::after { content: "+"; color: var(--tp-orange); font-family: var(--tp-font); }
body.tempo-page .tp-faq__item[open] .tp-faq__q::after { content: "–"; }
body.tempo-page .tp-faq__a { padding: 12px 0 4px; color: var(--tp-text-soft); font-size: 16px; line-height: 1.6; max-width: 40em; }

/* ---- Tempo links strip (above the site footer) ----------------------- */
body.tempo-page .tp-links { background: var(--tp-paper); border-top: 1px solid var(--tp-line); padding: 34px 0; }
body.tempo-page .tp-links__row { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
body.tempo-page .tp-links__list { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 0; padding: 0; }
body.tempo-page .tp-links__list a { color: var(--tp-text); text-decoration: none; font-size: 14px; }
body.tempo-page .tp-links__list a:hover { color: var(--tp-orange); }
body.tempo-page .tp-links__by { margin: 0; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
body.tempo-page .tp-links__by a { color: var(--tp-text-soft); text-decoration: none; }
body.tempo-page .tp-links__by a:hover { color: var(--tp-orange); }

/* Hero mark: the app icon + name, since the header is the site's. */
body.tempo-page .tp-hero__mark { display: flex; align-items: center; gap: 14px; margin: 0 0 26px; flex-wrap: wrap; }
body.tempo-page .tp-hero__mark img { width: 56px; height: 56px; border-radius: 14px; box-shadow: 0 8px 24px rgba(0,0,0,.35); }
body.tempo-page .tp-hero__name { font-family: var(--tp-font); font-size: 26px; font-weight: 800; color: #FBF6EE; letter-spacing: -.01em; }
body.tempo-page .tp-hero__by { margin: 0 0 0 6px; }

/* ---- responsive ------------------------------------------------------ */
@media (max-width: 991px) {
    body.tempo-page .tp-section { padding: 80px 0; }
    body.tempo-page .tp-hero { padding: 150px 0 80px; }
    body.tempo-page .tp-shot { margin-top: 40px; }
    body.tempo-page .tp-roadmap { grid-template-columns: 1fr; }
    body.tempo-page .tp-doc-head { padding-top: 140px; }
}

/* Dark mode follows the system for the light blocks; the ink blocks are
   already dark. */
@media (prefers-color-scheme: dark) {
    body.tempo-page {
        --tp-paper: #171412; --tp-cream: #1E1A17; --tp-sand: #262019;
        --tp-text: #EDE6DB; --tp-text-soft: #B3A99C; --tp-line: rgba(237, 230, 219, .14);
    }
    body.tempo-page .tp-shot { background: #3A342E; }
}

/* ---- landing blocks (task 6) ----------------------------------------- */
body.tempo-page .tp-h3 { font-family: var(--tp-font); font-weight: 700; font-size: 22px; line-height: 1.25; margin: 14px 0 8px; }
body.tempo-page .tp-copy { font-size: 16px; line-height: 1.6; color: var(--tp-text-soft); margin: 0 0 12px; max-width: 34em; }
body.tempo-page .tp-list { list-style: none; padding: 0; margin: 18px 0 0; max-width: 34em; }
body.tempo-page .tp-list li { position: relative; padding: 7px 0 7px 22px; font-size: 16px; line-height: 1.5; color: var(--tp-text-soft); border-top: 1px solid var(--tp-line); }
body.tempo-page .tp-list li:first-child { border-top: 0; }
body.tempo-page .tp-list li::before { content: ""; position: absolute; left: 0; top: 16px; width: 8px; height: 8px; border-radius: 50%; background: var(--tp-orange); }
body.tempo-page .tp-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 48px; }
body.tempo-page .tp-step__n { font-size: 12px; letter-spacing: .14em; color: var(--tp-orange); font-weight: 700; margin: 18px 0 0; }
body.tempo-page .tp-pair { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; margin-top: 40px; }
body.tempo-page .tp-shot--card { width: 60%; margin: -40px 0 0 auto; position: relative; aspect-ratio: 16 / 9; box-shadow: 0 24px 60px rgba(0,0,0,.28); }
body.tempo-page .tp-shot--xs { aspect-ratio: 16 / 10; border-radius: 8px; box-shadow: 0 10px 26px rgba(0,0,0,.12); }
body.tempo-page .tp-btn--ghost { background: transparent; color: var(--tp-text) !important; box-shadow: inset 0 0 0 2px var(--tp-orange); }
body.tempo-page .tp-btn--ghost:hover { background: var(--tp-orange); color: #fff !important; }
body.tempo-page .tp-btn--ghost-light { color: #FBF6EE !important; box-shadow: inset 0 0 0 2px rgba(251,246,238,.5); }
body.tempo-page .tp-btn--ghost-light:hover { background: #FBF6EE; color: var(--tp-ink) !important; }
/* live numbers */
body.tempo-page .tp-numbers .tp-h2 span { color: #E8A15E; font-variant-numeric: tabular-nums; }
body.tempo-page .tp-numbers__row { display: flex; gap: 28px; font-size: 18px; color: rgba(251,246,238,.8); margin: 8px 0 0; }
body.tempo-page .tp-numbers__row strong { color: #FBF6EE; font-size: 26px; font-weight: 800; margin-right: 6px; }
body.tempo-page .tp-numbers__note { color: rgba(251,246,238,.55); margin-top: 18px; }
/* plans */
body.tempo-page .tp-plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 44px; }
body.tempo-page .tp-plan { position: relative; background: var(--tp-cream); border-radius: 14px; padding: 30px 28px 26px; display: flex; flex-direction: column; gap: 4px; }
body.tempo-page .tp-plan--hi { background: var(--tp-ink); color: #FBF6EE; transform: translateY(-10px); box-shadow: 0 24px 60px rgba(0,0,0,.25); }
body.tempo-page .tp-plan__tag { position: absolute; top: -12px; left: 28px; background: var(--tp-orange); color: #fff; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; padding: 5px 10px; border-radius: 4px; }
body.tempo-page .tp-plan__price { font-family: var(--tp-font); font-size: 44px; font-weight: 800; line-height: 1; margin: 6px 0 0; letter-spacing: -.02em; }
body.tempo-page .tp-plan__period { font-size: 14px; color: var(--tp-text-soft); margin: 0 0 10px; }
body.tempo-page .tp-plan--hi .tp-plan__period { color: rgba(251,246,238,.7); }
body.tempo-page .tp-plan__note { font-size: 15px; line-height: 1.5; color: var(--tp-text-soft); margin: 0 0 22px; flex: 1 1 auto; }
body.tempo-page .tp-plan--hi .tp-plan__note { color: rgba(251,246,238,.8); }
body.tempo-page .tp-plan .tp-btn { justify-content: center; }
body.tempo-page .tp-plans__foot { margin-top: 28px; }
/* press kit */
body.tempo-page .tp-kit { display: grid; grid-template-columns: 160px 1fr; gap: 32px; align-items: start; margin: 36px 0 18px; }
body.tempo-page .tp-kit__icon { display: flex; flex-direction: column; align-items: center; gap: 10px; text-decoration: none; color: var(--tp-text-soft); font-size: 13px; }
body.tempo-page .tp-kit__icon img { width: 96px; height: 96px; border-radius: 22px; box-shadow: 0 10px 26px rgba(0,0,0,.18); }
body.tempo-page .tp-kit__shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
body.tempo-page .tp-support__side { padding-top: 54px; }
@media (max-width: 991px) {
    body.tempo-page .tp-steps, body.tempo-page .tp-plans, body.tempo-page .tp-pair { grid-template-columns: 1fr; }
    body.tempo-page .tp-plan--hi { transform: none; }
    body.tempo-page .tp-kit { grid-template-columns: 1fr; }
    body.tempo-page .tp-kit__shots { grid-template-columns: repeat(2, 1fr); }
    body.tempo-page .tp-shot--card { width: 80%; margin-top: -20px; }
    body.tempo-page .tp-support__side { padding-top: 0; }
}
