/* Landing-page additions. Shared marketing pages keep their existing styles. */
.journe-landing {
    --color-text-main: #29332f;
    --section-padding: 88px;
}
.journe-landing .section.container { padding-inline: 24px; }
.journe-landing section[id] { scroll-margin-top: 112px; }
.journe-landing .nav-header { border-bottom-color: rgba(41, 51, 47, 0.08); }
.journe-landing :focus-visible { outline: 3px solid #a8582b; outline-offset: 5px; }
.journe-landing .hero-grid { gap: 64px; }
.journe-landing .hero-description { margin-bottom: 24px; }
.journe-landing .hero-actions { margin-top: 32px; flex-wrap: wrap; }
.journe-landing .hero-image { animation: none; }

/* App screenshots framed as an iPhone. Screenshots already include the status bar and Dynamic Island. */
.phone { --w: 290px; width: var(--w); margin: 0; padding: calc(var(--w) * .03); border-radius: calc(var(--w) * .165); background: #121614; box-shadow: inset 0 0 0 1.5px #3b423f, 0 0 0 1px rgba(0, 0, 0, .2), 0 40px 70px -30px rgba(18, 40, 33, .55); }
.phone img { display: block; width: 100%; height: auto; border-radius: calc(var(--w) * .135); }
.journe-landing .hero-section { overflow-x: clip; }
.hero-phones { display: grid; place-items: center; padding-block: 12px; }
.hero-phones .phone { grid-area: 1 / 1; }
.phone--front { z-index: 1; transform: translateX(14%) rotate(3deg); }
.phone--back { transform: translateX(-36%) translateY(5%) rotate(-7deg) scale(.86); filter: saturate(.9); }
.split-phone { align-self: stretch; display: grid; place-items: center; min-height: 500px; padding: 56px 24px; background: var(--color-brand-soft); }
.split-phone .phone { --w: 280px; }
.journe-landing .section-header { margin-bottom: 44px; max-width: 800px; }
.journe-landing .features-grid { gap: 24px; }
.journe-landing .feature-card { padding: 24px; }
.journe-landing .feature-card:hover { transform: none; box-shadow: none; border-color: var(--color-border); }
.journe-landing .feature-card p { font-size: 1rem; line-height: 1.75; }
.journe-landing .feature-card h3 { font-size: 1.35rem; line-height: 1.3; }
.feature-artwork { height: 132px; margin-bottom: 24px; border-radius: 18px; background: #eaf4f0; display: flex; justify-content: center; align-items: center; overflow: hidden; }
.feature-artwork img { width: 100%; height: 100%; object-fit: contain; }
.feature-artwork.paper { background: #f3eee5; }
/* Philosophy: each principle shows its idea in miniature above the copy. */
.principles-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.principle { display: flex; flex-direction: column; padding: 10px 10px 30px; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: 24px; box-shadow: var(--shadow-sm); }
.principle-visual { display: grid; place-items: center; height: 184px; margin-bottom: 26px; padding: 20px; border-radius: 16px; background: var(--color-brand-soft); overflow: hidden; }
.principle h3 { margin: 0 0 10px; padding-inline: 18px; font-size: 1.25rem; line-height: 1.3; color: var(--color-brand-dark); }
.principle p { margin: 0; padding-inline: 18px; font-size: 1rem; line-height: 1.7; color: var(--color-text-muted); }
.journey-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; max-width: 290px; }
.journey-chip { padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid rgba(29, 78, 67, .12); box-shadow: 0 2px 6px rgba(17, 48, 40, .06); font-size: .85rem; font-weight: 600; color: var(--color-brand-main); white-space: nowrap; }
.journey-chip--active { background: var(--color-brand-main); border-color: transparent; color: #fff; }
.principle-visual--deck { background: radial-gradient(120% 90% at 50% 0%, #1d4e43 0%, #113028 70%); }
.mini-card { grid-area: 1 / 1; display: flex; flex-direction: column; gap: 8px; width: 214px; padding: 16px 18px; border-radius: 16px; background: linear-gradient(160deg, #24594c, #16382f); border: 1px solid rgba(255, 255, 255, .14); box-shadow: 0 18px 32px rgba(0, 0, 0, .35); color: #fff; transform: rotate(-3deg); }
.mini-card--behind { height: 112px; background: var(--color-accent); border-color: transparent; transform: rotate(5deg) translate(16px, -8px); opacity: .92; }
.mini-card-tag { align-self: flex-start; font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #9fd3bf; }
.mini-card-title { font-size: 1rem; font-weight: 700; line-height: 1.3; }
.mini-card-journey { font-size: .75rem; color: rgba(255, 255, 255, .66); }
.moment-trail { display: flex; flex-direction: column; gap: 10px; width: 100%; max-width: 260px; }
.moment { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 12px; background: #fff; box-shadow: 0 2px 6px rgba(17, 48, 40, .06); font-size: .88rem; font-weight: 600; color: var(--color-brand-dark); }
.moment:nth-child(2) { margin-left: 14px; margin-right: -14px; }
.moment:nth-child(3) { margin-left: 28px; margin-right: -28px; }
.moment-dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--color-accent); }
.moment-day { margin-left: auto; font-size: .78rem; font-weight: 500; color: var(--color-text-muted); }
.journe-landing .split-section { gap: 24px; }
.journe-landing .split-content { padding: 56px 40px; }
.journe-landing .split-content > p { margin-top: 20px; }
.journe-landing .split-actions { margin-top: 32px; }
.journe-landing .benefit-item p { font-size: 1rem; margin-top: 4px; }

.threads-section { background: #edf3ed; padding-block: 88px; margin-top: 64px; }
.threads-section .section-header { max-width: 760px; }
.threads-section .hero-tag { background: #dae8dd; }
.thread-kind { display: inline-block; font-size: .75rem; font-weight: 600; letter-spacing: .1em; color: var(--color-brand-main); text-transform: uppercase; margin-bottom: 12px; }
.thread-example { margin-top: 16px; padding-top: 16px; border-top: 1px solid #e7ece6; }
.thread-example span { display: block; margin-bottom: 4px; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: #57534e; font-weight: 600; }
.thread-example p { color: #1d4e43; }
.threads-takeaway { margin: 32px auto 0; max-width: 800px; padding: 4px 0 4px 24px; border-left: 3px solid #b96d43; }
.threads-takeaway h3 { font-size: 1.25rem; margin-bottom: 8px; }
.threads-takeaway p { font-size: 1rem; max-width: 780px; }
.threads-footnote { max-width: 720px; text-align: center; margin: 28px auto 0; font-size: 1rem; }

.evidence-layout { display: grid; grid-template-columns: 1fr 1.1fr; gap: 88px; align-items: start; }
.journe-landing .evidence-layout .section-header { text-align: left; margin: 0; }
.evidence-list { border-top: 1px solid #cedbd2; }
.evidence-item { padding: 24px 0; border-bottom: 1px solid #cedbd2; }
.evidence-item h3 { font-size: 1.25rem; margin-bottom: 10px; }
.evidence-item p { font-size: 1rem; line-height: 1.75; }
.journe-landing #keep-what-matters { padding-top: 24px; }
.conversation-flow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); list-style: none; max-width: 960px; margin: 0 auto 40px; padding: 0; }
.conversation-step { position: relative; padding: 0 24px; text-align: center; }
.conversation-step:not(:last-child)::after { content: ''; position: absolute; top: 23px; left: calc(50% + 36px); width: calc(100% - 72px); height: 1px; background: #cedbd2; }
.conversation-step h3 { font-size: 1.2rem; line-height: 1.4; max-width: 240px; margin: 0 auto; }
.flow-number { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border: 1px solid #b6cabc; border-radius: 50%; color: #1d4e43; font-size: .85rem; font-weight: 500; margin: 0 auto 20px; }
.conversation-step:last-child .flow-number { background: #1d4e43; color: #fdfbf7; border-color: #1d4e43; }
.conversation-copy { max-width: 760px; margin: 0 auto; text-align: center; }
.conversation-copy p { font-size: 1.05rem; line-height: 1.8; }
.journe-landing .final-actions { justify-content: center; }
.journe-landing .footer { background: #113028; }
.journe-landing .footer-brand p, .journe-landing .footer-col a { color: #c4d5ca; }
.journe-landing .footer-bottom { color: #a8c1b3; flex-wrap: wrap; gap: 12px; }

/* Idea deck: a small, static rendering of the in-app card stack. */
.deck-section { background: linear-gradient(160deg, #113028 0%, #0b2420 70%, #16392f 100%); color: #f4f1ea; padding-block: 96px; }
.deck-layout { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 72px; align-items: center; padding-inline: 24px; }
.deck-section .hero-tag { background: rgba(159, 211, 193, 0.14); color: #9fd3c1; }
.deck-section h2 { color: #fff; margin: 16px 0 18px; }
.deck-lede { font-size: 1.125rem; line-height: 1.75; color: rgba(244, 241, 234, 0.86); }
.deck-points { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 18px; }
.deck-points li { padding-left: 22px; position: relative; font-size: 1rem; line-height: 1.7; color: rgba(244, 241, 234, 0.8); }
.deck-points li::before { content: ''; position: absolute; left: 0; top: 10px; width: 8px; height: 8px; border-radius: 50%; background: #c46e3d; }
.deck-points strong { display: block; color: #fff; font-weight: 600; }
.deck-section .hero-actions { margin-top: 36px; }
.deck-section .btn-primary { background: #c46e3d; border-color: #c46e3d; }
.deck-demo { scroll-margin-top: 110px; display: flex; flex-direction: column; align-items: center; }
.deck-stack { position: relative; width: 300px; height: 420px; }
.deck-card { position: absolute; inset: 0; border-radius: 26px; overflow: hidden; box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35); border: 1px solid rgba(255, 255, 255, 0.12); }
.deck-card--back { padding: 18px; }
.deck-card--listen { background: linear-gradient(135deg, #6b4f7a, #3b2a47); transform: translate(-34px, 18px) rotate(-9deg) scale(0.92); }
.deck-card--near { background: linear-gradient(135deg, #3A7E6F, #1d4e43); transform: translate(34px, 12px) rotate(8deg) scale(0.94); }
.deck-card--front { background: #8a4520 url('/images/deck-run-club.jpg') 40% center / cover no-repeat; transform: rotate(-2deg); display: flex; flex-direction: column; justify-content: space-between; padding: 18px; }
.deck-card--front::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 20, 17, 0.2) 0%, transparent 22%, rgba(8, 20, 17, 0.6) 45%, rgba(8, 20, 17, 0.92) 72%); pointer-events: none; }
.deck-card-top { display: flex; justify-content: space-between; position: relative; z-index: 1; }
.deck-chip { display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: 14px; font-size: .75rem; font-weight: 600; letter-spacing: .02em; color: #fff; background: rgba(8, 20, 17, 0.5); border: 1px solid rgba(255, 255, 255, 0.2); }
.deck-chip--quiet { background: rgba(8, 20, 17, 0.3); }
.deck-card-body { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 8px; padding: 4px 6px 8px; }
.deck-journey { font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: #9fd3c1; font-weight: 600; }
.deck-title { font-size: 1.6rem; line-height: 1.2; font-weight: 700; color: #fff; letter-spacing: -.01em; }
.deck-text { font-size: .95rem; line-height: 1.5; color: rgba(255, 255, 255, 0.86); }
.deck-hint { font-size: .75rem; color: rgba(255, 255, 255, 0.6); margin-top: 6px; }
.deck-stamp { position: absolute; top: 60px; left: 22px; z-index: 2; padding: 4px 12px; border: 3px solid #9fd3c1; border-radius: 10px; color: #9fd3c1; background: rgba(8, 20, 17, 0.45); font-weight: 700; font-size: 1.5rem; letter-spacing: .15em; text-transform: uppercase; transform: rotate(-14deg); opacity: .95; }
.deck-controls { display: flex; gap: 20px; margin-top: 36px; }
.deck-button { width: 64px; height: 64px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; }
.deck-button--pass { border: 1.5px solid rgba(243, 201, 179, 0.5); color: #f3c9b3; background: rgba(255, 255, 255, 0.06); }
.deck-button--keep { background: #c46e3d; color: #fff; box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3); }

@media (max-width: 1100px) {
    .journe-landing .hero-grid { gap: 32px; }
    .journe-landing .split-content { padding: 40px 28px; }
    .journe-landing .features-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
    .journe-landing .feature-card { padding: 20px; }
    .evidence-layout { gap: 48px; }
}
@media (max-width: 960px) {
    .journe-landing .hero-title { font-size: clamp(3rem, 7vw, 4.25rem); }
    .journe-landing .footer-grid { gap: 28px; }
}
@media (max-width: 960px) {
    .deck-layout { grid-template-columns: 1fr; gap: 56px; }
}
@media (max-width: 768px) {
    .journe-landing { --section-padding: 60px; }
    .deck-section { padding-block: 64px; }
    .deck-stack { width: 260px; height: 370px; }
    .deck-title { font-size: 1.4rem; }
    .deck-stamp { top: 52px; font-size: 1.2rem; }
    .journe-landing .hero-section { padding-top: 132px; padding-bottom: 48px; }
    .journe-landing .hero-grid { gap: 44px; }
    .journe-landing .hero-description { font-size: 1.125rem; }
    .hero-phones .phone { --w: 230px; }
    .phone--front { transform: translateX(16%) rotate(3deg); }
    .phone--back { transform: translateX(-30%) translateY(5%) rotate(-7deg) scale(.86); }
    .split-phone { min-height: 0; padding: 40px 24px; }
    .split-phone .phone { --w: 240px; }
    .journe-landing .features-grid, .conversation-flow { grid-template-columns: 1fr; }
    .principles-grid { grid-template-columns: 1fr; gap: 20px; }
    .evidence-layout { grid-template-columns: 1fr; gap: 32px; }
    .journe-landing .feature-card { padding: 24px; }
    .feature-artwork { height: 132px; }
    .threads-section { padding-block: 60px; margin-top: 32px; }
    .threads-takeaway { padding-left: 20px; }
    .conversation-step { display: grid; grid-template-columns: 48px 1fr; gap: 20px; padding: 0 0 32px; text-align: left; align-items: center; }
    .conversation-step:last-child { padding-bottom: 0; }
    .conversation-step:not(:last-child)::after { top: 56px; left: 23px; width: 1px; height: calc(100% - 64px); }
    .flow-number { margin: 0; }
    .conversation-step h3 { max-width: none; margin: 0; }
    .journe-landing .testimonial-section { padding: 60px 0; margin-inline: 16px; }
    .journe-landing .testimonial-quote { font-size: 1.85rem; }
}
@media (max-width: 380px) {
    .journe-landing .container, .journe-landing .section.container { padding-inline: 18px; }
    .journe-landing .btn { padding-inline: 24px; }
}
/* Creators and Moments: a creator's pick and a shared Moment, drawn as in the app. */
.together-section { padding-block: 104px 24px; }
.together-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; padding-inline: 24px; }
.together-copy h2 { margin: 16px 0 18px; }
.together-lede { font-size: 1.125rem; line-height: 1.75; }
.together-points { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 18px; }
.together-points li { padding-left: 22px; position: relative; font-size: 1rem; line-height: 1.7; }
.together-points li::before { content: ''; position: absolute; left: 0; top: 10px; width: 8px; height: 8px; border-radius: 50%; background: #1d4e43; }
.together-points strong { display: block; color: #113028; font-weight: 600; }
.together-visual { position: relative; min-height: 540px; }
.tg-pick, .tg-moment { position: absolute; display: flex; flex-direction: column; border-radius: 26px; }
.tg-pick { top: 0; left: 0; width: 76%; padding: 26px; background: #fdfbf7; border: 1px solid #e3e8e2; box-shadow: 0 30px 60px -34px rgba(17, 48, 40, .45); transform: rotate(-3deg); }
.tg-chip { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px 5px 5px; border-radius: 999px; background: #eaf4f0; color: #1d4e43; font-size: .85rem; font-weight: 600; }
.tg-avatar { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; background: #1d4e43; color: #fff; font-size: .75rem; }
.tg-title { margin-top: 18px; font-size: 1.45rem; line-height: 1.25; font-weight: 700; color: #113028; }
.tg-quote { margin-top: 14px; padding-left: 14px; border-left: 3px solid #c46e3d; font-size: 1rem; line-height: 1.6; font-style: italic; color: #3c4a44; }
.tg-journey { margin-top: 18px; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; color: #57706a; }
.tg-moment { right: 0; bottom: 0; width: 70%; padding: 24px; color: #fff; background: linear-gradient(150deg, #0b2420 0%, #1d4e43 100%); box-shadow: 0 40px 70px -30px rgba(11, 36, 32, .7); transform: rotate(2deg); }
.tg-status { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 999px; background: #c46e3d; font-size: .78rem; font-weight: 600; }
.tg-live { width: 7px; height: 7px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(255, 255, 255, .25); }
.tg-invite { margin-top: 16px; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: #9fd3c1; }
.tg-moment-title { margin-top: 6px; font-size: 1.6rem; line-height: 1.2; font-weight: 700; }
.tg-when { margin-top: 4px; font-size: .95rem; color: rgba(255, 255, 255, .78); }
.tg-crowd { display: flex; align-items: center; gap: 12px; margin-top: 20px; font-size: 1rem; color: rgba(255, 255, 255, .9); }
.tg-crowd strong { color: #fff; font-size: 1.2rem; }
.tg-dots { display: flex; }
.tg-dots i { width: 24px; height: 24px; border-radius: 50%; background: #9fd3c1; border: 2px solid #174237; }
.tg-dots i + i { margin-left: -9px; }
.tg-dots i:nth-child(2) { opacity: .8; } .tg-dots i:nth-child(3) { opacity: .6; } .tg-dots i:nth-child(4) { opacity: .45; } .tg-dots i:nth-child(5) { opacity: .3; }
@media (max-width: 960px) {
    .together-layout { grid-template-columns: 1fr; gap: 48px; }
    .together-visual { max-width: 480px; width: 100%; margin: 0 auto; }
}
@media (max-width: 768px) {
    .together-section { padding-block: 64px 8px; }
    .together-visual { min-height: 500px; }
    .tg-pick { width: 88%; padding: 22px; }
    .tg-moment { width: 84%; padding: 20px; }
    .tg-title { font-size: 1.25rem; }
    .tg-moment-title { font-size: 1.35rem; }
}
/* About and app pages. */
.about-hero { max-width: 820px; margin: 0 auto; text-align: center; }
.about-hero .hero-description { margin-inline: auto; max-width: 680px; }
.about-story { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 72px; align-items: start; }
.journe-landing .about-story .section-header { text-align: left; margin: 0; }
.about-story-copy p { font-size: 1.1rem; line-height: 1.8; margin: 0 0 18px; }
.founder { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 72px; align-items: center; }
.founder-photo { margin: 0; border-radius: 28px; overflow: hidden; box-shadow: 0 40px 70px -40px rgba(17, 48, 40, .5); }
.founder-photo img { display: block; width: 100%; height: auto; }
.founder-copy h2 { margin: 16px 0 20px; }
.founder-copy p { font-size: 1.1rem; line-height: 1.8; margin: 0 0 18px; }
.founder-copy .founder-sign { margin-top: 28px; font-family: 'Instrument Serif', serif; font-size: 1.75rem; line-height: 1.2; color: #113028; }
.founder-sign span { display: block; margin-top: 4px; font-family: 'DM Sans', sans-serif; font-size: .9rem; color: #57706a; }
.conversation-flow--four { grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 1120px; }
@media (min-width: 961px) {
    .split-section--flip .split-phone { order: 2; }
}
@media (max-width: 960px) {
    .about-story { grid-template-columns: 1fr; gap: 24px; }
    .founder { grid-template-columns: 1fr; gap: 36px; }
    .founder-photo { max-width: 460px; }
    .conversation-flow--four { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; }
    .conversation-flow--four .conversation-step::after { display: none; }
}
@media (max-width: 768px) {
    .conversation-flow--four { grid-template-columns: 1fr; row-gap: 0; }
    .conversation-flow--four .conversation-step:not(:last-child)::after { display: block; }
}
/* Get the App: a QR code on a computer, the App Store on an iPhone, the web on Android. */
.get-app { display: grid; place-items: center; }
.get-app-card { max-width: 560px; text-align: center; }
.get-app-card .hero-title { margin: 16px 0 18px; }
.get-app-card .hero-description { margin: 0 auto 28px; }
.get-app-qr { width: 200px; height: 200px; margin: 0 auto; padding: 18px; background: #fff; border: 1px solid #e3e8e2; border-radius: 24px; box-shadow: 0 30px 60px -40px rgba(17, 48, 40, .45); }
.get-app-qr svg { display: block; width: 100%; height: 100%; }
.get-app-caption { margin-top: 14px; font-size: .95rem; color: #57706a; }
.get-app-badge { display: inline-block; margin-top: 18px; }
.get-app-badge img { display: block; }
.get-app-web, .get-app-signin { margin-top: 22px; font-size: .95rem; color: #57706a; }
.get-app-web a, .get-app-signin a { color: #1d4e43; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.get-app-signin { margin-top: 12px; }
.get-app-android { display: none; }
.is-android .get-app-ios { display: none; }
.is-android .get-app-android { display: block; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .journe-landing *, .journe-landing *::before, .journe-landing *::after { animation: none !important; transition: none !important; }
}

/* Keep the Premium link readable against the dark deck section. */
.deck-points a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
