/* The public face: landing, pricing, signup, terms. Same tokens as the app, so what someone sees before
   they sign up is what they get afterwards — the free tier is the product, not a stripped-down preview. */

.tz-public {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background:
        radial-gradient(1100px 560px at 12% -12%, var(--tz-accent-wash) 0%, transparent 62%),
        radial-gradient(820px 460px at 100% 8%, rgba(18, 181, 163, 0.10) 0%, transparent 58%),
        var(--tz-canvas);
}

/* ---------- Public top bar ---------- */

.tz-public__bar {
    position: sticky;
    top: 0;
    z-index: 1100;
    background: color-mix(in srgb, var(--tz-canvas) 82%, transparent);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    transition: border-color var(--tz-transition);
}

.tz-public__bar-inner {
    max-width: var(--tz-content-width);
    margin: 0 auto;
    padding: var(--tz-space-3) var(--tz-space-5);
    display: flex;
    align-items: center;
    gap: var(--tz-space-4);
}

.tz-public__nav {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: var(--tz-space-4);
}

/* :not(.tz-cta) so this doesn't out-specify the button's own white — a two-class selector beats one. */
.tz-public__nav a:not(.tz-cta) {
    color: var(--tz-ink-2);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 550;
    transition: color var(--tz-transition);
}

.tz-public__nav a:not(.tz-cta):hover {
    color: var(--tz-ink-1);
}

.tz-public__body {
    flex: 1;
    width: 100%;
    max-width: var(--tz-content-width);
    margin: 0 auto;
    padding: 0 var(--tz-space-5) var(--tz-space-7);
    box-sizing: border-box;
}

.tz-public__foot {
    border-top: 1px solid var(--tz-line);
    padding: var(--tz-space-5);
    text-align: center;
    color: var(--tz-ink-3);
    font-size: 0.8125rem;
}

.tz-public__foot a {
    color: var(--tz-ink-2);
    text-decoration: none;
    margin: 0 10px;
}

.tz-public__foot a:hover {
    color: var(--tz-accent);
}

/* ---------- Buttons ---------- */

.tz-cta {
    display: inline-block;
    padding: 13px 26px;
    font-weight: 620;
    font-size: 0.95rem;
    color: #fff;
    background: var(--tz-accent);
    border: none;
    border-radius: var(--tz-radius-pill);
    text-decoration: none;
    cursor: pointer;
    transition: background var(--tz-transition), transform var(--tz-transition), box-shadow var(--tz-transition);
}

.tz-cta:hover {
    background: var(--tz-accent-strong);
    box-shadow: var(--tz-shadow-accent);
    transform: translateY(-1px);
}

.tz-cta--quiet {
    background: transparent;
    color: var(--tz-ink-1);
    border: 1px solid var(--tz-line-strong);
    padding: 12px 25px;
}

.tz-cta--quiet:hover {
    background: var(--tz-surface-2);
    border-color: var(--tz-accent);
    box-shadow: none;
}

.tz-cta--sm {
    padding: 9px 18px;
    font-size: 0.875rem;
}

/* ---------- Hero ---------- */

.tz-hero {
    padding: var(--tz-space-7) 0 var(--tz-space-6);
    max-width: 46rem;
}

.tz-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px 6px 10px;
    margin-bottom: var(--tz-space-4);
    border-radius: var(--tz-radius-pill);
    background: var(--tz-accent-wash);
    border: 1px solid var(--tz-accent-wash-strong);
    color: var(--tz-ink-1);
    font-size: 0.8125rem;
    font-weight: 550;
}

.tz-hero__eyebrow strong {
    font-weight: 680;
    color: var(--tz-accent-strong);
}

.tz-hero h1 {
    margin: 0 0 var(--tz-space-4);
    font-size: clamp(2.25rem, 5.5vw, 3.5rem);
    font-weight: 660;
    line-height: 1.08;
    letter-spacing: -0.032em;
}

.tz-hero__lede {
    margin: 0 0 var(--tz-space-5);
    font-size: clamp(1.0625rem, 2vw, 1.1875rem);
    line-height: 1.62;
    color: var(--tz-ink-2);
    max-width: 38rem;
}

.tz-hero__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--tz-space-3);
}

.tz-hero__note {
    margin: var(--tz-space-4) 0 0;
    font-size: 0.875rem;
    color: var(--tz-ink-3);
}

/* ---------- Feature grid ---------- */

.tz-section {
    padding: var(--tz-space-7) 0;
}

.tz-section__head {
    max-width: 40rem;
    margin-bottom: var(--tz-space-6);
}

.tz-section__head h2 {
    margin: 0 0 var(--tz-space-2);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 640;
    letter-spacing: -0.025em;
}

.tz-section__head p {
    margin: 0;
    color: var(--tz-ink-2);
    line-height: 1.6;
}

.tz-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 15.5rem), 1fr));
    gap: var(--tz-space-4);
}

.tz-feature {
    background: var(--tz-surface-1);
    border: 1px solid var(--tz-line);
    border-radius: var(--tz-radius-lg);
    padding: var(--tz-space-5);
    transition: border-color var(--tz-transition), box-shadow var(--tz-transition), transform var(--tz-transition);
}

.tz-feature:hover {
    border-color: var(--tz-accent-wash-strong);
    box-shadow: var(--tz-shadow-1);
    transform: translateY(-2px);
}

.tz-feature__dot {
    width: 30px;
    height: 30px;
    border-radius: 9px;
    margin-bottom: var(--tz-space-3);
    background: var(--tz-accent-wash);
    border: 1px solid var(--tz-accent-wash-strong);
}

.tz-feature h3 {
    margin: 0 0 6px;
    font-size: 1rem;
    font-weight: 620;
}

.tz-feature p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--tz-ink-2);
}

/* ---------- Pricing ---------- */

.tz-plans {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr));
    gap: var(--tz-space-4);
    align-items: start;
    max-width: 54rem;
}

.tz-plan {
    position: relative;
    background: var(--tz-surface-1);
    border: 1px solid var(--tz-line);
    border-radius: var(--tz-radius-lg);
    padding: var(--tz-space-6);
    display: flex;
    flex-direction: column;
    gap: var(--tz-space-4);
}

.tz-plan--featured {
    border-color: var(--tz-accent);
    box-shadow: var(--tz-shadow-2);
}

.tz-plan__flag {
    position: absolute;
    top: calc(-1 * var(--tz-space-2));
    right: var(--tz-space-5);
    padding: 5px 12px;
    border-radius: var(--tz-radius-pill);
    background: var(--tz-accent);
    color: #fff;
    font-size: 0.6875rem;
    font-weight: 680;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.tz-plan__name {
    font-size: 0.8125rem;
    font-weight: 660;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--tz-ink-3);
}

.tz-plan__price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    font-family: var(--tz-font-numeric);
}

.tz-plan__amount {
    font-size: 2.75rem;
    font-weight: 660;
    letter-spacing: -0.03em;
    line-height: 1;
}

.tz-plan__per {
    font-size: 0.9rem;
    color: var(--tz-ink-3);
    font-family: var(--tz-font);
}

.tz-plan__blurb {
    margin: 0;
    color: var(--tz-ink-2);
    font-size: 0.9rem;
    line-height: 1.6;
}

.tz-plan__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tz-plan__list li {
    position: relative;
    padding-left: 26px;
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--tz-ink-1);
}

.tz-plan__list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.36em;
    width: 15px;
    height: 8px;
    border-left: 2px solid var(--tz-accent);
    border-bottom: 2px solid var(--tz-accent);
    transform: rotate(-45deg) scale(0.82);
    transform-origin: center;
}

.tz-plan .tz-cta {
    text-align: center;
    margin-top: auto;
}

/* ---------- Prose (terms, privacy) ---------- */

.tz-prose {
    max-width: 44rem;
    padding: var(--tz-space-6) 0 var(--tz-space-7);
}

.tz-prose h1 {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 650;
    letter-spacing: -0.025em;
    margin: 0 0 var(--tz-space-2);
}

.tz-prose__stamp {
    color: var(--tz-ink-3);
    font-size: 0.875rem;
    margin: 0 0 var(--tz-space-6);
}

.tz-prose h2 {
    font-size: 1.125rem;
    font-weight: 640;
    margin: var(--tz-space-6) 0 var(--tz-space-2);
}

.tz-prose p,
.tz-prose li {
    line-height: 1.7;
    color: var(--tz-ink-2);
}

.tz-prose li {
    margin-bottom: 8px;
}

.tz-prose strong {
    color: var(--tz-ink-1);
}

/* ---------- Signup card ---------- */

.tz-signup {
    max-width: 30rem;
    margin: var(--tz-space-6) auto var(--tz-space-7);
}

.tz-signup__card {
    background: var(--tz-surface-1);
    border: 1px solid var(--tz-line);
    border-radius: var(--tz-radius-lg);
    box-shadow: var(--tz-shadow-2);
    padding: var(--tz-space-6);
}

.tz-signup__title {
    margin: 0 0 var(--tz-space-1);
    font-size: 1.5rem;
    font-weight: 650;
    letter-spacing: -0.025em;
}

.tz-signup__sub {
    margin: 0 0 var(--tz-space-5);
    color: var(--tz-ink-2);
    font-size: 0.9rem;
}

.tz-signup__foot {
    margin: var(--tz-space-5) 0 0;
    text-align: center;
    font-size: 0.875rem;
    color: var(--tz-ink-3);
}

.tz-signup__foot a {
    color: var(--tz-accent);
    text-decoration: none;
}

/* ---------- Banners in the app shell ---------- */

.tz-banner {
    border-bottom: 1px solid var(--tz-line);
    background: var(--tz-accent-wash);
}

.tz-banner__inner {
    max-width: var(--tz-content-width);
    margin: 0 auto;
    padding: 10px var(--tz-space-5);
    display: flex;
    align-items: center;
    gap: var(--tz-space-3);
    font-size: 0.875rem;
    color: var(--tz-ink-1);
}

.tz-banner--warn {
    background: color-mix(in srgb, var(--tz-rose) 10%, transparent);
    border-bottom-color: color-mix(in srgb, var(--tz-rose) 30%, transparent);
}

.tz-banner__action {
    margin-left: auto;
    flex-shrink: 0;
}

.tz-banner__link {
    background: none;
    border: none;
    padding: 0;
    font: inherit;
    font-weight: 620;
    color: var(--tz-accent-strong);
    text-decoration: underline;
    cursor: pointer;
}

/* ---------- Billing usage ---------- */

.tz-usage {
    display: flex;
    flex-wrap: wrap;
    gap: var(--tz-space-6);
}

.tz-usage__label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--tz-ink-3);
    margin-bottom: 4px;
}

.tz-usage__value {
    font-size: 1.75rem;
    font-weight: 640;
    letter-spacing: -0.02em;
    line-height: 1;
}

.tz-usage__limit {
    font-size: 1rem;
    font-weight: 500;
    color: var(--tz-ink-3);
}

/* The Timzo family: one card per module, in the module's own colour — the same mark and colour as in the app,
   so the landing page already says "these belong together, and each is its own thing". */
.tz-family {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
    gap: var(--tz-space-4);
}

.tz-family__card {
    position: relative;
    overflow: hidden;
    background: var(--tz-surface-1);
    border: 1px solid var(--tz-line);
    border-radius: var(--tz-radius-lg);
    padding: var(--tz-space-5);
    display: flex;
    flex-direction: column;
    gap: var(--tz-space-2);
}

.tz-family__card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    background: var(--tz-mod-tile);
}

.tz-family__card h3 {
    margin: var(--tz-space-2) 0 0;
    font-size: 1.125rem;
    font-weight: 700;
}

.tz-family__tagline {
    margin: 0;
    color: var(--tz-ink-2);
    font-size: 0.9rem;
    line-height: 1.5;
}

.tz-family__card ul {
    margin: var(--tz-space-2) 0 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 0.9rem;
    line-height: 1.45;
}

.tz-family__card li {
    position: relative;
    padding-left: 18px;
}

.tz-family__card li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--tz-mod);
}

.tz-family__card li:last-child {
    color: var(--tz-ink-2);
}

a.tz-family__card {
    color: inherit;
    text-decoration: none;
    transition: transform var(--tz-transition), box-shadow var(--tz-transition), border-color var(--tz-transition);
}

a.tz-family__card:hover {
    transform: translateY(-3px);
    box-shadow: var(--tz-shadow-2);
    border-color: var(--tz-mod);
}

/* ---------- The hero as a showcase ---------- */
/* Text on the left, the three modules on the right, stacked like screens on a desk: the town in a browser, the swing
   on a phone in front of it, the running timer and a town notice floating over both. On a phone the stage goes
   under the text. */

.tz-hero.tz-hero--showcase {
    max-width: none;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: var(--tz-space-6);
    align-items: center;
}

.tz-hero__stage {
    position: relative;
    padding: 28px 0 40px 0;
}

.tz-hero__back {
    width: 86%;
    margin-left: auto;
    transform: rotate(1.5deg);
}

.tz-hero__front {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 34%;
    transform: rotate(-4deg);
    animation: tz-float 7s ease-in-out infinite;
}

.tz-hero__chip,
.tz-hero__toast {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border-radius: var(--tz-radius-pill);
    background: var(--tz-surface-1);
    border: 1px solid var(--tz-line);
    box-shadow: var(--tz-shadow-2);
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
}

.tz-hero__chip {
    top: 0;
    left: 6%;
    animation: tz-float 6s ease-in-out -2s infinite;
}

.tz-hero__chip b {
    font-family: var(--tz-font-numeric);
    font-variant-numeric: tabular-nums;
    color: var(--tz-mod);
}

.tz-hero__pulse {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--tz-mod);
    animation: tz-pulse 1.6s ease-out infinite;
}

.tz-hero__toast {
    right: 2%;
    bottom: 6px;
    border-left: 4px solid var(--tz-mod);
    animation: tz-float 8s ease-in-out -4s infinite;
}

@keyframes tz-float {
    0%, 100% { translate: 0 0; }
    50% { translate: 0 -8px; }
}

@keyframes tz-pulse {
    0% { box-shadow: 0 0 0 0 var(--tz-mod-wash-strong); }
    100% { box-shadow: 0 0 0 12px transparent; }
}

@media (max-width: 900px) {
    .tz-hero.tz-hero--showcase {
        grid-template-columns: minmax(0, 1fr);
    }

    .tz-hero__stage {
        max-width: 560px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .tz-hero__front,
    .tz-hero__chip,
    .tz-hero__toast,
    .tz-hero__pulse {
        animation: none;
    }
}

/* ---------- The drawn screenshots (Components/Public) ---------- */

.tz-shot {
    margin: 0;
    background: var(--tz-surface-1);
    border: 1px solid var(--tz-line-strong);
    box-shadow: 0 30px 60px -20px rgba(30, 27, 38, 0.35), var(--tz-shadow-2);
    overflow: hidden;
}

.tz-shot--browser {
    border-radius: 16px;
}

.tz-shot__chrome {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    background: var(--tz-surface-2);
    border-bottom: 1px solid var(--tz-line);
}

.tz-shot__chrome span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.tz-shot__chrome span:first-child { background: #F2766B; }
.tz-shot__chrome span:nth-child(2) { background: #F5C451; }
.tz-shot__chrome span:nth-child(3) { background: #5CC26B; }

.tz-shot__chrome em {
    flex: 1;
    margin-left: 10px;
    padding: 3px 12px;
    border-radius: var(--tz-radius-pill);
    background: var(--tz-surface-1);
    color: var(--tz-ink-3);
    font-size: 0.72rem;
    font-style: normal;
    max-width: 240px;
}

.tz-shot--phone {
    border-radius: 34px;
    border: 8px solid #1E1B26;
    background: #1E1B26;
}

.tz-shot--phone .tz-shot__screen {
    border-radius: 26px;
    overflow: hidden;
    background: var(--tz-surface-1);
}

/* Clock */
.tz-clockshot {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    font-size: 0.8rem;
}

.tz-clockshot__timer {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 12px;
    background: var(--tz-surface-2);
    border: 1px solid var(--tz-line);
}

.tz-clockshot__what {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 600;
}

.tz-clockshot__chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 2px 9px;
    border-radius: var(--tz-radius-pill);
    background: var(--tz-surface-1);
    border: 1px solid var(--tz-line);
    color: var(--tz-ink-2);
    white-space: nowrap;
}

.tz-clockshot__chip i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.tz-clockshot__time {
    font-family: var(--tz-font-numeric);
    font-variant-numeric: tabular-nums;
    font-size: 1.15rem;
    font-weight: 650;
}

.tz-clockshot__stop {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--tz-mod);
    position: relative;
    flex: none;
}

.tz-clockshot__stop::after {
    content: "";
    position: absolute;
    inset: 10px;
    border-radius: 2px;
    background: #FFFFFF;
}

.tz-clockshot__body {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 16px;
}

.tz-clockshot__day {
    display: flex;
    justify-content: space-between;
    color: var(--tz-ink-3);
    font-weight: 600;
    margin-bottom: 6px;
}

.tz-clockshot__day b {
    color: var(--tz-ink-1);
    font-family: var(--tz-font-numeric);
}

.tz-clockshot__row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    border-top: 1px solid var(--tz-line);
}

.tz-clockshot__row > span:first-child {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tz-clockshot__row b {
    font-family: var(--tz-font-numeric);
    font-variant-numeric: tabular-nums;
    min-width: 2.6em;
    text-align: right;
}

.tz-clockshot__bars {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    align-items: end;
    gap: 6px;
    height: 140px;
    padding-top: 6px;
    border-bottom: 1px solid var(--tz-line-strong);
}

.tz-clockshot__bar {
    display: flex;
    flex-direction: column-reverse;
    height: 100%;
    gap: 2px;
}

.tz-clockshot__bar i {
    display: block;
    border-radius: 3px;
}

@media (max-width: 520px) {
    .tz-clockshot__body {
        grid-template-columns: minmax(0, 1fr);
    }

    .tz-clockshot__timer .tz-clockshot__chip {
        display: none;
    }
}

/* Swing */
.tz-swingshot {
    display: flex;
    flex-direction: column;
}

.tz-swingshot__video {
    display: block;
    width: 100%;
    height: auto;
}

.tz-swingshot__panel {
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 7px;
    font-size: 0.72rem;
}

.tz-swingshot__score {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 2px;
}

.tz-swingshot__score strong,
.tz-swingshot__score em {
    display: block;
}

.tz-swingshot__score em {
    font-style: normal;
    color: var(--tz-ink-3);
}

.tz-swingshot__ring {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background:
        radial-gradient(closest-side, var(--tz-surface-1) 76%, transparent 78%),
        conic-gradient(var(--tz-mod) 0 82%, var(--tz-surface-3) 82% 100%);
    font-family: var(--tz-font-numeric);
    font-size: 0.95rem;
    flex: none;
}

.tz-swingshot__check {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 6px 9px;
    border-radius: 10px;
    background: var(--tz-surface-2);
    font-weight: 600;
}

.tz-swingshot__check::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex: none;
}

.tz-swingshot__check--good::before { background: var(--tz-mod); }
.tz-swingshot__check--work::before { background: #E8A33D; }


/* ---------- The tour: one row per module ---------- */

.tz-tour__row {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: var(--tz-space-7);
    align-items: center;
    padding: var(--tz-space-6) 0;
}

.tz-tour__row:nth-of-type(even) .tz-tour__text {
    order: 2;
}

.tz-tour__kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    color: var(--tz-mod);
}

.tz-tour__text h3 {
    margin: var(--tz-space-3) 0 var(--tz-space-2);
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    font-weight: 660;
    letter-spacing: -0.025em;
    line-height: 1.15;
}

.tz-tour__text p {
    margin: 0 0 var(--tz-space-4);
    color: var(--tz-ink-2);
    line-height: 1.65;
}

.tz-tour__text ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tz-tour__text li {
    position: relative;
    padding-left: 28px;
    line-height: 1.5;
}

.tz-tour__text li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.15em;
    width: 18px;
    height: 18px;
    border-radius: 6px;
    background: var(--tz-mod-wash-strong);
}

.tz-tour__text li::after {
    content: "";
    position: absolute;
    left: 6px;
    top: 0.42em;
    width: 6px;
    height: 9px;
    border: solid var(--tz-mod);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.tz-tour__shot {
    position: relative;
    isolation: isolate;
}

.tz-tour__shot::before {
    content: "";
    position: absolute;
    inset: 8% -4% -6% 6%;
    border-radius: 32px;
    background: var(--tz-mod-wash-strong);
    transform: rotate(-2deg);
    z-index: -1;
}

.tz-tour__row[data-module="swing"] .tz-shot--phone {
    max-width: 300px;
    margin: 0 auto;
}

.tz-tour__row[data-module="town"] .tz-shot {
    max-width: 560px;
    margin: 0 auto;
}

@media (max-width: 900px) {
    .tz-tour__row {
        grid-template-columns: minmax(0, 1fr);
        gap: var(--tz-space-5);
    }

    .tz-tour__row:nth-of-type(even) .tz-tour__text {
        order: 0;
    }
}

.tz-closer .tz-cta + .tz-cta {
    margin-left: var(--tz-space-3);
}

/* Cook: the real shelf and a scaled recipe card */
.tz-cookshot {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    padding: 16px;
    background: linear-gradient(180deg, #F6EBDD, #EFDFCB);
}

html.tz-dark .tz-cookshot {
    background: linear-gradient(180deg, #2A2420, #241F1B);
}

.tz-cookshot__case {
    padding: 10px 10px 0;
    border-radius: 10px;
    background: #5A3A25;
    box-shadow: inset 0 0 0 7px #8E5E3B;
}

.tz-cookshot .ck-shelf.tz-cookshot__shelf {
    --ck-wood: #8E5E3B;
    --ck-wood-dark: #6B4329;
    --ck-wood-light: #B07A4F;
    --ck-row: 186px;
    flex-wrap: nowrap;
    gap: 0 16px;
    padding: 0 12px;
    overflow: hidden;
}

.tz-cookshot__shelf .ck-book-btn {
    height: 150px;
    cursor: default;
}

.tz-cookshot__shelf .ck-book3d {
    --ck-w: 104px;
}

.tz-cookshot__shelf .ck-cover--standing {
    padding: 10px 8px;
    gap: 6px;
}

.tz-cookshot__shelf .ck-cover--standing .ck-cover__icon {
    width: 38px;
    height: 38px;
}

.tz-cookshot__shelf .ck-cover--standing .ck-cover__title {
    font-size: 0.76rem;
}

.tz-cookshot__shelf .ck-cat svg {
    width: 60px;
}

.tz-cookshot__card {
    position: absolute;
    right: 14px;
    bottom: -10px;
    width: min(215px, 48%);
    padding: 14px 16px;
    border-radius: 14px;
    background: var(--tz-surface-1);
    border: 1px solid var(--tz-line);
    box-shadow: 0 18px 36px -14px rgba(30, 20, 10, 0.45);
    transform: rotate(2deg);
    font-size: 0.78rem;
}

.tz-cookshot__title {
    display: block;
    font-family: "Iowan Old Style", "Palatino Linotype", Georgia, serif;
    font-size: 1.1rem;
}

.tz-cookshot__people {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 4px 0 6px;
    padding: 2px 10px;
    border-radius: var(--tz-radius-pill);
    background: var(--tz-mod-wash-strong);
    color: var(--tz-mod-strong);
    font-weight: 700;
}

.tz-cookshot__card ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.tz-cookshot__card li {
    padding: 3px 0;
    border-top: 1px solid var(--tz-line);
}

.tz-cookshot__card b {
    font-variant-numeric: tabular-nums;
}

.tz-cookshot {
    padding-bottom: 120px;
}

@media (max-width: 520px) {
    .tz-cookshot__card {
        position: static;
        width: auto;
        margin-top: 12px;
        transform: none;
    }

    .tz-cookshot {
        padding-bottom: 16px;
    }
}

.tz-tour__row[data-module="cook"] .tz-shot {
    max-width: 560px;
    margin: 0 auto;
}
