/*
 * Traverse Bible landing page styles.
 *
 * Standalone by design, matching the Simple Sprite Maker static-section pattern:
 * no WordPress or theme dependency, scoped class names, and local assets only.
 */

* {
    box-sizing: border-box;
}

:root {
    --tb-primary: #087f8c;
    --tb-primary-dark: #075965;
    --tb-primary-soft: #e8f4f3;
    --tb-gold: #b7791f;
    --tb-gold-soft: #fbf2df;
    --tb-ink: #172027;
    --tb-ink-soft: #25313b;
    --tb-text: #2c343b;
    --tb-muted: #63707a;
    --tb-bg: #ffffff;
    --tb-bg-quiet: #f6f8f8;
    --tb-border: #dfe6e6;
    --tb-radius: 8px;
    --tb-shadow-sm: 0 1px 3px rgba(23, 32, 39, 0.08);
    --tb-shadow-md: 0 12px 30px rgba(23, 32, 39, 0.12);
    --tb-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

html,
body {
    margin: 0;
    padding: 0;
    background: var(--tb-bg);
    color: var(--tb-text);
    font-family: var(--tb-font);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    overflow-x: hidden;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
}

.tb-container {
    width: min(100% - 48px, 1180px);
    margin: 0 auto;
}

.tb-header {
    position: sticky;
    top: 0;
    z-index: 20;
    border-bottom: 1px solid rgba(223, 230, 230, 0.9);
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(18px);
}

.tb-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 66px;
    gap: 24px;
}

.tb-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--tb-ink);
    text-decoration: none;
    font-weight: 750;
}

.tb-brand__icon {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    box-shadow: var(--tb-shadow-sm);
}

.tb-brand__name {
    font-size: 16px;
}

.tb-nav {
    display: flex;
    align-items: center;
    gap: 22px;
}

.tb-nav a {
    color: var(--tb-muted);
    font-size: 14px;
    font-weight: 650;
    text-decoration: none;
}

.tb-nav a:hover {
    color: var(--tb-primary);
}

.tb-hero {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(180deg, #ffffff 0%, #f6f8f8 100%);
}

.tb-hero::before {
    position: absolute;
    inset: auto 0 0;
    height: 34%;
    background: var(--tb-primary-soft);
    content: "";
}

.tb-hero__inner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(460px, 1.08fr);
    align-items: center;
    gap: 56px;
    min-height: 760px;
    padding: 78px 0 82px;
}

.tb-hero__copy {
    max-width: 590px;
}

.tb-eyebrow {
    margin: 0 0 12px;
    color: var(--tb-primary-dark);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.tb-hero h1 {
    margin: 0 0 18px;
    color: var(--tb-ink);
    font-size: 64px;
    font-weight: 850;
    letter-spacing: 0;
    line-height: 1.02;
}

.tb-hero__tagline {
    max-width: 560px;
    margin: 0 0 30px;
    color: var(--tb-muted);
    font-size: 19px;
    line-height: 1.7;
}

.tb-hero__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 34px;
}

.tb-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 11px 20px;
    border-radius: var(--tb-radius);
    font-size: 15px;
    font-weight: 750;
    line-height: 1.2;
    text-decoration: none;
    transition: background 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease, color 0.16s ease, transform 0.16s ease;
}

.tb-btn--primary {
    border: 1px solid var(--tb-primary);
    background: var(--tb-primary);
    color: #ffffff;
    box-shadow: var(--tb-shadow-sm);
}

.tb-btn--primary:hover {
    background: var(--tb-primary-dark);
    border-color: var(--tb-primary-dark);
    box-shadow: var(--tb-shadow-md);
    transform: translateY(-1px);
}

.tb-btn--ghost {
    border: 1px solid rgba(8, 127, 140, 0.35);
    background: #ffffff;
    color: var(--tb-primary-dark);
}

.tb-btn--ghost:hover {
    border-color: var(--tb-primary);
    background: var(--tb-primary-soft);
}

.tb-hero__stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    max-width: 520px;
    margin: 0;
    padding-top: 34px;
    transform: translateY(24px);
}

.tb-hero__stats div {
    min-width: 0;
    padding: 14px 16px;
    border: 1px solid var(--tb-border);
    border-radius: var(--tb-radius);
    background: rgba(255, 255, 255, 0.76);
}

.tb-hero__stats dt {
    color: var(--tb-ink);
    font-size: 25px;
    font-weight: 850;
    line-height: 1.1;
}

.tb-hero__stats dd {
    margin: 4px 0 0;
    color: var(--tb-muted);
    font-size: 13px;
    font-weight: 650;
}

.tb-hero__visual {
    position: relative;
    min-height: 650px;
}

.tb-hero__icon {
    position: absolute;
    top: 34px;
    right: 88px;
    z-index: 4;
    width: 92px;
    height: 92px;
    border-radius: 18px;
    box-shadow: 0 18px 50px rgba(23, 32, 39, 0.22);
}

.tb-phone,
.tb-shot {
    margin: 0;
}

.tb-phone {
    overflow: hidden;
    border: 1px solid rgba(23, 32, 39, 0.12);
    border-radius: var(--tb-radius);
    background: #f3f4f5;
    box-shadow: var(--tb-shadow-md);
}

.tb-phone img {
    width: 100%;
}

.tb-hero__visual .tb-phone {
    position: absolute;
    width: 268px;
}

.tb-phone--front {
    left: 164px;
    top: 32px;
    z-index: 3;
}

.tb-phone--rear {
    left: 8px;
    top: 102px;
    z-index: 1;
    transform: rotate(-5deg);
    opacity: 0.9;
}

.tb-phone--side {
    right: 0;
    top: 142px;
    z-index: 2;
    transform: rotate(4deg);
    opacity: 0.92;
}

.tb-section {
    padding: 86px 0;
    background: var(--tb-bg);
}

.tb-section--quiet {
    background: var(--tb-bg-quiet);
}

.tb-section-header {
    max-width: 740px;
    margin: 0 auto 42px;
    text-align: center;
}

.tb-section-header h2,
.tb-split h2,
.tb-library h2,
.tb-download h2 {
    margin: 0 0 14px;
    color: var(--tb-ink);
    font-size: 38px;
    font-weight: 820;
    letter-spacing: 0;
    line-height: 1.14;
}

.tb-section-header p,
.tb-split p,
.tb-library p,
.tb-download p {
    margin: 0;
    color: var(--tb-muted);
    font-size: 17px;
    line-height: 1.75;
}

.tb-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.tb-feature {
    padding: 26px;
    border: 1px solid var(--tb-border);
    border-radius: var(--tb-radius);
    background: #ffffff;
    box-shadow: var(--tb-shadow-sm);
}

.tb-feature__label {
    display: inline-flex;
    margin-bottom: 16px;
    padding: 5px 10px;
    border-radius: 999px;
    background: var(--tb-gold-soft);
    color: #7a4b12;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.tb-feature h3 {
    margin: 0 0 10px;
    color: var(--tb-ink);
    font-size: 20px;
    line-height: 1.3;
}

.tb-feature p {
    margin: 0;
    color: var(--tb-muted);
    font-size: 15px;
    line-height: 1.75;
}

.tb-split {
    display: grid;
    grid-template-columns: minmax(300px, 0.86fr) minmax(0, 1.14fr);
    align-items: center;
    gap: 54px;
}

.tb-split__copy {
    max-width: 560px;
}

.tb-checklist {
    display: grid;
    gap: 13px;
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
}

.tb-checklist li {
    position: relative;
    padding-left: 28px;
    color: var(--tb-text);
    font-size: 16px;
    line-height: 1.65;
}

.tb-checklist li::before {
    position: absolute;
    top: 0.63em;
    left: 0;
    width: 10px;
    height: 10px;
    border: 2px solid var(--tb-primary);
    border-radius: 50%;
    background: #ffffff;
    content: "";
}

.tb-study-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    align-items: end;
}

.tb-study-strip .tb-phone {
    max-height: 620px;
}

.tb-study-strip .tb-phone:nth-child(2) {
    margin-bottom: 46px;
}

.tb-study-strip .tb-phone:nth-child(3) {
    margin-bottom: 92px;
}

.tb-section--ink {
    background: var(--tb-ink);
    color: #ffffff;
}

.tb-library {
    display: grid;
    grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
    gap: 44px;
    align-items: center;
}

.tb-section--ink .tb-eyebrow {
    color: #70d6d9;
}

.tb-section--ink h2,
.tb-section--ink p {
    color: #ffffff;
}

.tb-section--ink p {
    color: #c7d2d6;
}

.tb-library__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.tb-library__grid article {
    min-height: 176px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--tb-radius);
    background: rgba(255, 255, 255, 0.06);
}

.tb-library__grid strong {
    display: block;
    margin-bottom: 12px;
    color: #ffffff;
    font-size: 32px;
    font-weight: 850;
    line-height: 1.1;
}

.tb-library__grid span {
    color: #c7d2d6;
    font-size: 14px;
    font-weight: 650;
    line-height: 1.45;
}

.tb-shot-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 14px;
    align-items: start;
}

.tb-shot {
    overflow: hidden;
    border: 1px solid var(--tb-border);
    border-radius: var(--tb-radius);
    background: #ffffff;
    box-shadow: var(--tb-shadow-sm);
}

.tb-shot img {
    width: 100%;
}

.tb-shot figcaption {
    padding: 11px 12px 13px;
    border-top: 1px solid var(--tb-border);
    color: var(--tb-muted);
    font-size: 13px;
    font-weight: 750;
    text-align: center;
}

.tb-download {
    padding: 58px 0;
    background: linear-gradient(90deg, var(--tb-primary-soft), #ffffff 54%, var(--tb-gold-soft));
}

.tb-download__inner {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 26px;
}

.tb-download__icon {
    width: 86px;
    height: 86px;
    border-radius: 18px;
    box-shadow: var(--tb-shadow-md);
}

.tb-download h2 {
    font-size: 30px;
}

.tb-download p {
    max-width: 780px;
}

.tb-footer {
    padding: 30px 0;
    border-top: 1px solid var(--tb-border);
    background: #ffffff;
}

.tb-footer__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    color: var(--tb-muted);
    font-size: 14px;
}

.tb-footer p {
    margin: 0;
}

.tb-footer__nav {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

.tb-footer__nav a {
    color: var(--tb-muted);
    font-weight: 650;
    text-decoration: none;
}

.tb-footer__nav a:hover {
    color: var(--tb-primary);
}

@media (prefers-color-scheme: dark) {
    :root {
        --tb-bg: #12171b;
        --tb-bg-quiet: #172027;
        --tb-text: #e7ecef;
        --tb-muted: #aab5bb;
        --tb-ink: #f7fafb;
        --tb-ink-soft: #e7ecef;
        --tb-border: #293740;
        --tb-primary-soft: #123338;
        --tb-gold-soft: #332513;
    }

    .tb-header,
    .tb-footer,
    .tb-feature,
    .tb-shot,
    .tb-btn--ghost,
    .tb-hero__stats div {
        background: #172027;
    }

    .tb-header {
        border-bottom-color: rgba(41, 55, 64, 0.9);
    }

    .tb-hero {
        background: linear-gradient(180deg, #12171b 0%, #172027 100%);
    }

    .tb-feature__label {
        color: #e8c48e;
    }

    .tb-checklist li::before {
        background: #172027;
    }

    .tb-download {
        background: linear-gradient(90deg, #123338, #172027 54%, #332513);
    }
}

@media (max-width: 1020px) {
    .tb-hero__inner {
        grid-template-columns: 1fr;
        gap: 34px;
        min-height: 0;
        padding: 64px 0 72px;
    }

    .tb-hero__copy {
        max-width: 740px;
    }

    .tb-hero__visual {
        min-height: 560px;
        max-width: 720px;
        width: 100%;
        margin: 0 auto;
    }

    .tb-phone--front {
        left: 34%;
    }

    .tb-phone--rear {
        left: 8%;
    }

    .tb-phone--side {
        right: 7%;
    }

    .tb-feature-grid,
    .tb-library {
        grid-template-columns: 1fr;
    }

    .tb-split {
        grid-template-columns: 1fr;
    }

    .tb-shot-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .tb-download__inner {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .tb-download .tb-btn {
        grid-column: 2;
        justify-self: start;
    }
}

@media (max-width: 760px) {
    .tb-container {
        width: min(100% - 32px, 1180px);
    }

    .tb-header__inner {
        min-height: 60px;
    }

    .tb-nav {
        display: none;
    }

    .tb-hero__inner {
        padding: 48px 0 58px;
    }

    .tb-hero h1 {
        font-size: 44px;
    }

    .tb-hero__tagline {
        font-size: 17px;
    }

    .tb-hero__stats {
        display: none;
    }

    .tb-hero__cta {
        margin-bottom: 8px;
    }

    .tb-hero__visual {
        min-height: 410px;
    }

    .tb-hero__visual .tb-phone {
        width: 210px;
    }

    .tb-hero__icon {
        top: 20px;
        right: 12%;
        width: 72px;
        height: 72px;
        border-radius: 14px;
    }

    .tb-phone--front {
        left: 29%;
        top: 38px;
    }

    .tb-phone--rear {
        left: 0;
        top: 104px;
    }

    .tb-phone--side {
        right: 0;
        top: 128px;
    }

    .tb-section {
        padding: 62px 0;
    }

    .tb-section-header h2,
    .tb-split h2,
    .tb-library h2,
    .tb-download h2 {
        font-size: 30px;
    }

    .tb-section-header p,
    .tb-split p,
    .tb-library p,
    .tb-download p {
        font-size: 16px;
    }

    .tb-feature-grid,
    .tb-library__grid,
    .tb-study-strip {
        grid-template-columns: 1fr;
    }

    .tb-study-strip {
        max-width: 330px;
        margin: 0 auto;
    }

    .tb-study-strip .tb-phone:nth-child(2),
    .tb-study-strip .tb-phone:nth-child(3) {
        margin-bottom: 0;
    }

    .tb-shot-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tb-download__inner {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .tb-download .tb-btn {
        grid-column: auto;
    }

    .tb-footer__inner {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .tb-hero h1 {
        font-size: 40px;
    }

    .tb-hero__visual {
        min-height: 390px;
    }

    .tb-hero__visual .tb-phone {
        width: 178px;
    }

    .tb-phone--front {
        left: 26%;
    }

    .tb-phone--rear {
        left: -24px;
    }

    .tb-phone--side {
        right: -24px;
    }

    .tb-shot-grid {
        grid-template-columns: 1fr;
    }
}
