/* ============================================
   Kobu homepage and coaches page. Loaded after styles.css and brand.css.
   Every class is prefixed k- so nothing here collides with the older
   landing styles that styles.css still carries for other pages.
   ============================================ */

.k-home {
    background: #000;
    color: var(--text);
}

.k-wrap {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Type: the blunt heading and the wide micro-label. */
.k-micro {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 18px;
    color: var(--text-secondary);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.k-display {
    font-size: clamp(52px, 8.4vw, 104px);
    font-weight: 900;
    letter-spacing: -0.05em;
    line-height: 0.92;
    color: #fff;
    margin-bottom: 26px;
}

.k-h2 {
    font-size: clamp(34px, 4.8vw, 58px);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.02;
    color: #fff;
    margin-bottom: 20px;
    text-wrap: balance;
}

.k-lede {
    font-size: 19px;
    line-height: 1.55;
    color: var(--text-secondary);
    max-width: 34em;
    text-wrap: pretty;
}

.k-body {
    margin-top: 18px;
    font-size: 16px;
    line-height: 1.6;
    color: #8E8E93;
    max-width: 36em;
}

.k-center {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 56px;
}

.k-center .k-micro {
    justify-content: center;
}

.k-center .k-lede {
    margin: 0 auto;
}

/* Buttons. White is the one primary action; dark is the second. */
.k-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px;
}

.k-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 54px;
    padding: 0 24px;
    border-radius: 16px;
    font-size: 16px;
    font-weight: 600;
    transition: background 0.2s, transform 0.2s;
}

.k-btn svg {
    width: 18px;
    height: 18px;
    margin-top: -2px;
}

.k-btn:active {
    transform: scale(0.98);
}

.k-btn-primary {
    background: #fff;
    color: #000;
}

.k-btn-primary:hover {
    background: #E8E8EA;
}

.k-btn-dark {
    background: #1C1C1E;
    color: #fff;
}

.k-btn-dark:hover {
    background: #2A2A2C;
}

/* Hero */
.k-hero {
    position: relative;
    padding: 148px 0 96px;
    overflow: hidden;
}

.k-hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 48px;
}

.k-proof {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 36px;
    margin-top: 48px;
}

.k-proof li {
    display: flex;
    flex-direction: column;
}

.k-proof strong {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #fff;
    line-height: 1.1;
}

.k-proof span {
    font-size: 13px;
    color: var(--text-muted);
}

.k-hero-art {
    position: relative;
    display: flex;
    justify-content: center;
    padding: 40px 0 20px;
}

/* The one warm glow on the page: Kobu's spark behind the phone. */
.k-hero-art::before {
    content: "";
    position: absolute;
    inset: 8% 4% 10%;
    background: radial-gradient(closest-side, rgba(255, 106, 26, 0.22), transparent);
    filter: blur(20px);
    z-index: 0;
}

.k-phone {
    position: relative;
    z-index: 1;
    width: 300px;
    max-width: 100%;
    padding: 9px;
    border-radius: 50px;
    background: linear-gradient(160deg, #2C2C2E, #141416);
    box-shadow: 0 40px 90px rgba(0, 0, 0, 0.7);
}

.k-phone img {
    width: 100%;
    height: auto;
    border-radius: 41px;
}

.k-phone-hero {
    width: 320px;
}

.k-mascot-hero {
    position: absolute;
    z-index: 2;
    width: 290px;
    height: auto;
    left: -36px;
    bottom: -18px;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.6));
}

.k-bubble {
    display: flex;
    flex-direction: column;
    gap: 2px;
    background: #fff;
    color: #3A3A3C;
    border-radius: 20px;
    padding: 14px 18px;
    font-size: 15px;
    line-height: 1.4;
    max-width: 260px;
}

.k-bubble-name {
    color: #000;
    font-weight: 700;
    font-size: 15px;
}

.k-bubble-hero {
    position: absolute;
    z-index: 3;
    top: 0;
    right: -8px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
}

/* Sections */
.k-section {
    padding: 128px 0;
}

.k-section-alt {
    background: #0B0B0C;
}

.k-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 72px;
}

.k-split-reverse .k-split-copy {
    order: 2;
}

.k-list {
    list-style: none;
    margin-top: 30px;
    max-width: 36em;
}

.k-list li {
    padding: 16px 0;
    border-top: 1px solid #1C1C1E;
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.55;
}

.k-list strong {
    display: block;
    color: #fff;
    font-weight: 600;
    margin-bottom: 2px;
}

.k-pills {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 28px;
}

.k-pills li {
    background: #1C1C1E;
    color: #fff;
    border-radius: 999px;
    padding: 8px 14px;
    font-size: 14px;
    font-weight: 500;
}

.k-phone-single,
.k-phone-pair {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.k-phone-pair .k-phone-back {
    margin-left: -72px;
    margin-top: 72px;
    z-index: 0;
    filter: brightness(0.62);
}

/* Cards: lighter than the canvas, never outlined. */
.k-card {
    background: #171717;
    border-radius: 24px;
    padding: 26px;
}

.k-call-stack {
    display: grid;
    gap: 16px;
}

.k-call-card {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 18px 22px 0 10px;
    overflow: hidden;
    background: linear-gradient(180deg, #1F1F20, #171717);
}

.k-call-mascot {
    width: 150px;
    height: auto;
    align-self: flex-end;
    flex: none;
}

.k-call-card .k-bubble {
    margin-bottom: 18px;
}

.k-tiles-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.k-stat {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.k-stat .k-micro {
    margin-bottom: 4px;
}

.k-stat-value {
    font-size: 44px;
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1;
    color: #fff;
}

.k-stat-value small {
    font-size: 22px;
    color: var(--text-secondary);
    margin-left: 2px;
}

.k-stat-word {
    font-size: 36px;
}

.k-stat-note {
    font-size: 13px;
    line-height: 1.45;
    color: var(--text-secondary);
}

.k-bars {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    height: 72px;
    margin-top: 12px;
}

.k-bars i {
    flex: 1;
    height: var(--h);
    background: #3A3A3C;
    border-radius: 4px;
}

.k-bars .k-bar-now {
    background: #fff;
}

.k-chip {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 7px;
    margin-top: 12px;
    background: #262628;
    color: #fff;
    border-radius: 999px;
    padding: 6px 11px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.k-chip-inline {
    margin-top: 0;
}

/* Orange, spent on live state only. */
.k-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--spark);
}

/* Apple Watch */
.k-watch-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    max-width: 980px;
    margin: 0 auto;
}

.k-watch {
    padding: 10px;
    border-radius: 46px;
    background: linear-gradient(160deg, #2C2C2E, #141416);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
}

.k-watch img {
    width: 100%;
    height: auto;
    border-radius: 36px;
}

/* Feature grid */
.k-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.k-feature h3 {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #fff;
    margin-bottom: 8px;
}

.k-feature p {
    font-size: 15px;
    line-height: 1.55;
    color: var(--text-secondary);
}

.k-feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 13px;
    background: #262628;
    margin-bottom: 20px;
}

.k-feature-icon svg {
    width: 22px;
    height: 22px;
    fill: #fff;
}

.k-footnote {
    text-align: center;
    margin-top: 36px;
    font-size: 14px;
    color: var(--text-muted);
}

.k-footnote a,
.k-inline-link {
    color: #fff;
    text-decoration: underline;
    text-decoration-color: rgba(255, 255, 255, 0.35);
    text-underline-offset: 3px;
}

/* Coaches band */
.k-coach-band {
    position: relative;
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    align-items: end;
    gap: 24px;
    border-radius: 32px;
    padding: 64px 0 0 64px;
    overflow: hidden;
    background: linear-gradient(160deg, #1F1F20, #121213);
}

.k-coach-copy {
    padding-bottom: 64px;
}

.k-coach-mascot {
    width: 100%;
    max-width: 380px;
    height: auto;
    justify-self: end;
    margin-right: -20px;
}

/* Support */
.k-support {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 72px;
    align-items: start;
}

.k-mail {
    display: inline-block;
    margin-top: 28px;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #fff;
    text-decoration: underline;
    text-decoration-color: rgba(255, 255, 255, 0.3);
    text-underline-offset: 5px;
}

.k-faq {
    display: grid;
    gap: 10px;
}

.k-faq details {
    background: #171717;
    border-radius: 18px;
    padding: 0 24px;
}

.k-faq summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    min-height: 64px;
    font-size: 17px;
    font-weight: 600;
    color: #fff;
}

.k-faq summary::-webkit-details-marker {
    display: none;
}

.k-faq summary::after {
    content: "+";
    flex: none;
    font-size: 22px;
    font-weight: 400;
    color: var(--text-secondary);
    transition: transform 0.2s;
}

.k-faq details[open] summary::after {
    transform: rotate(45deg);
}

.k-faq details p {
    padding-bottom: 22px;
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.6;
}

/* Scroll reveal, only when scripts run and motion is welcome. */
.js .k-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.js .k-reveal.is-visible {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    .js .k-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* Tablet */
@media (max-width: 980px) {
    .k-hero-grid,
    .k-split,
    .k-support {
        grid-template-columns: 1fr;
        gap: 56px;
    }

    .k-split-reverse .k-split-copy {
        order: 0;
    }

    .k-hero-art {
        padding-top: 70px;
    }

    .k-grid-3 {
        grid-template-columns: 1fr;
    }

    .k-watch-row {
        grid-template-columns: repeat(2, 1fr);
        max-width: 480px;
    }

    .k-coach-band {
        grid-template-columns: 1fr;
        padding: 44px 32px 0;
    }

    .k-coach-copy {
        padding-bottom: 0;
    }

    .k-coach-mascot {
        max-width: 280px;
        justify-self: center;
        margin-right: 0;
    }
}

/* Phone */
@media (max-width: 600px) {
    .k-wrap {
        padding: 0 16px;
    }

    .k-hero {
        padding: 112px 0 64px;
    }

    .k-section {
        padding: 80px 0;
    }

    .k-lede {
        font-size: 17px;
    }

    .k-actions .k-btn {
        width: 100%;
    }

    .k-proof {
        gap: 24px;
        justify-content: space-between;
    }

    .k-proof strong {
        font-size: 24px;
    }

    .k-phone {
        width: 240px;
        border-radius: 40px;
        padding: 7px;
    }

    .k-phone img {
        border-radius: 33px;
    }

    .k-phone-hero {
        width: 250px;
    }

    .k-mascot-hero {
        width: 140px;
        left: -8px;
        bottom: -30px;
    }

    .k-bubble-hero {
        right: 0;
        max-width: 210px;
        font-size: 14px;
    }

    .k-phone-pair .k-phone {
        width: 52%;
    }

    .k-phone-pair .k-phone-back {
        margin-left: -12%;
        margin-top: 48px;
    }

    .k-tiles-2 {
        grid-template-columns: 1fr;
    }

    .k-call-mascot {
        width: 112px;
    }

    .k-card {
        padding: 22px;
    }

    .k-call-card {
        padding: 16px 16px 0 6px;
    }

    .k-watch-row {
        gap: 14px;
    }

    .k-watch {
        border-radius: 34px;
        padding: 7px;
    }

    .k-watch img {
        border-radius: 27px;
    }

    .k-coach-band {
        padding: 34px 20px 0;
        border-radius: 26px;
    }

    .k-mail {
        font-size: 19px;
    }
}

/* A numbered step on the coaches page. */
.k-step {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #fff;
    color: #000;
    font-weight: 800;
    font-size: 16px;
    margin-bottom: 18px;
}

.k-feature-icon svg[fill="none"] {
    fill: none;
}
